How to Compile Android Kernel(arm64) in Android(arm64) Device
Автор: Pro L!nux
Загружено: 2020-09-05
Просмотров: 10919
Описание:
1) Install Linux Deploy with following :
UBUNTU BIONIC (ARM64)
2) Install Termux ,Open and execute :
apt update && apt upgrade
apt install openssh
3) start linux deploy and open termux
ssh usr@ip
4) install git and clone ur kernel
5) install packages :
apt install libncurses5-dev make python gcc g++ grep bc curl gcc-arm-linux-gnueabi
6) export ARCH=arm64
export CROSS_COMPILE_ARM32=arm-linux-gnueabi-
7) go to kernel directory and
make clean && make mrproper
8) ls arch/arm64/configs
and look for u config file (for my redmi note 4 its mido_defconfig)
9) make {ur config} (for me = make mido_defconfig)
10) make menuconfig (for any modifications)
11) make -j(number of cores)
make -j8 (to get max compilation speed)
make -j8 0=out (to seperate source and build files)
12) fix error to get zImage(for arm) and image.gz-dtb(for arm64)
kernel will be built in arch/arm64/boot when u finished compiling
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: