I have enabled a lock on this site to keep trollz out. This is a team of Android hackerz that believes in teamwork. So, Kinfolk if you wouldn't mind, please register and log in and help us grow. A.S.A.P...


We Are Legion
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in


 Part2 for Source tut for kernels

Go down 

Posts : 195
Points : 3002253
Thanks : 7
Join date : 2014-01-02
Age : 41
Location : In da Swamps

Part2 for Source tut for kernels Empty
PostSubject: Part2 for Source tut for kernels   Part2 for Source tut for kernels Icon_minitimeSun Jan 12, 2014 6:18 pm

My kernel tutorial

This is an additional tutorial, If you are starting at step one,
$TOP afro Go to my source tutorial

go to google
"specs for "your device name and/or device number"
ex: specs for N9510

find the device chipset info
ex: qualcomm adreno 305 400 snapdragon msm8960

the part that helped me was qualcomm msm8960 0r 8930

now i know i need qualcomm msm source.


you can check for warplte kernel source @ zte's website

either way works.

If you went to my source tutorial

1.) You now have your PC setup with Linux
2.) You have all the libs and toolz
3.) You should have the source for the custom rom
{Maybe you don't want to build source, o well, do you. lol}

$et things up android/system to add your source
add source in system.

After a couple hours.........................

cd android
mkdir kernel
{i put it here to keep it away from my source}
{I also added a "clean" kernel source inside android/system}
cd kernel
now download your source

get a root browser
find your config.gz in your phone
extract it to the desktop
open it with Gvim in ubuntu or wtfe you have
copy/paste into a text editor
save as "your device name here"_defconfig
ex: warplte_defconfig
put this file in android/kernel/arch/arm/configs

open a terminal
cd android
cd kernel
git clone https://github.com/DooMLoRD/android_prebuilt_toolchains

so, now we have a
1.) kernel source
2.) libs & toolz
3.) custom toolchain 4.6.2


fire up a terminal
cd android
cd kernel

$ export ARCH=arm
$ export CROSS_COMPILE=~/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-
$ make "your device name"_defconfig
ex: make warplte_defconfig

$ make menuconfig
{for tweaks}
$ make -j2 {# of cores}
{this will give you the zimage, not prebuilt kernel}
$ make modules

then go to ubuntu file manager
enter into kernel folder root
type in the search box ".ko" without quotations
it produced all 17 modules and i copy
and pasted them into a folder with the zimage.

to build a prebuilt kernel from this
https://github.com/koush/AnyKernel or
git clone https://github.com/pbatard/bootimg-tools.git or
do it in command line


do it inside a source build, like i did for cwm & the kernel

The end

Part2 for Source tut for kernels MVPmTnH

Last edited by WARP3D420Admin on Mon Jan 13, 2014 1:08 am; edited 3 times in total
Back to top Go down
View user profile http://legionmodz.forumotion.com/u1
Part2 for Source tut for kernels
Back to top 
Page 1 of 1
 Similar topics
» Octochess
» UCI2WB 1.9 released
» How to compile sourcecode for stockfish?
» Tankist 1.7!
» Gaviota 0.83 Released

Permissions in this forum:You cannot reply to topics in this forum
Jump to: