Build Your Own Android Custom Kernel | fossfrog

Описание к видео Build Your Own Android Custom Kernel | fossfrog

#fossfrog #kernel #kernel_modding

In this video tutorial, I'm going to build the kernel for my Samsung S4 (I9506) codename: ks01lte
PREREQUISITE

☐ 64bit Linux system (you can also install it in vmware or virtualbox)
☐ kernel source of your phone (you can download it from the manufacturer's site)
☐ toolchain (download it from googlesource or build your own from source)
☐ android image kitchen (for repacking kernel)
☐ and some patience

BUILD ENV
apt install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev \
gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev \
x11proto-core-dev libx11-dev lib32z-dev libgl1-mesa-dev \
libxml2-utils xsltproc unzip bc

Kernel-source links:
Samsung: https://opensource.samsung.com/
Sony: https://developer.sony.com/develop/op...
htc: https://www.htcdev.com/devcenter/down...

Google is your best friend in finding sources

AIK link: https://github.com/Shubhamvis98/AIK

backup boot.img from phone using dd command
$ dd if=/dev/block/by-name/boot of=/sdcard/boot.img

flash boot.img using dd*
$ dd if=/sdcard/boot.img of=/dev/block/by-name/boot

If your phone not booting after flashing new boot.img then reflash original boot.img

if you got any issue, let me know

I HOPE YOU LIKE THIS VIDEO
IF YOU LIKE IT THEN $ ./thumbs_up && service subscribe_fossfrog start

Комментарии

Информация по комментариям в разработке