Город МОСКОВСКИЙ
00:13:45

How to compile android kernel using android terminal termux

Аватар
JavaScript с Нуля: Видеокурсы
Просмотры:
33
Дата загрузки:
04.12.2023 15:06
Длительность:
00:13:45
Категория:
Лайфстайл

Описание

How to compile android kernel using android terminal such as termux

https://t.me/alaskalinuxuser_romdevelopment
https://t.me/bestandroiddevs
for building and developing custom roms

donation link https://www.paypal.com/paypalme/EngMoh89
support me if you see my work is good enough :)

1- First you need to install any rootfs
Such as Ubuntu or Kali or debian
There is many guide on how to install any of these os on termux

2- install dependencies for kernel and rom development ..

apt-get update --fix-missing && apt-get install bc bison build-essential zstd clang flex gnupg gperf ccache liblz4-tool libsdl1.2-dev libstdc++6 libxml2 libxml2-utils lzop pngcrush schedtool squashfs-tools xsltproc zlib1g-dev libncurses5-dev bzip2 git gcc g++ libssl-dev openssl -y && apt-get install gcc-aarch64-linux-gnu && apt-get install gcc-arm-linux-gnueabihf && apt-get install lld gcc-arm-linux-gnueabi llvm clang-12

3- you can go to lineage wiki and install dependencies from there but I'll write them ..


bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev

4- start to compile in this guide am using Kali nethunter rootfs on termux I'll leave everything in description.
This guide you can use the Linux installed clang or you can use proton clang but different between using the installed clang on this rootfs and cloning proton clang is you need to export the proton path but in this guide we aren't going to export path for the clang bin path since we are using built in clang am using alioth poco f3 kernel ...

Now let's open termux
As you can see kernel compiling started all u need leave it till it's done then your image could be found in out path
Thanks for watching

Рекомендуемые видео