FORUMS
Remove All Ads from XDA

[TUTORIAL][VIDEO]KernelANDROID[LINARO][SABERMOD][NDK]build from source

131 posts
Thanks Meter: 144
 
Post Reply Email Thread
Here is a complete tutorial about:Android Kernel(compile)+ Linaro/Sabermod/NDK.


//In the future I will add a tutorial related to undervolt., overclock, cpu governor, and others.(only Snapdragon CPU)

Kernel Features HERE
Youtube channel(if you have troubles).
Part 1: vmware+ubuntu+Installing the required files:
Linaro


Part 2: download kernel source files+ setup toolchain+jdk+abootimg


Part 3: kernel+ boot.img file


Part 4: test


Part 2/3 SABERMOD

Part 2/3 Android NDK


More:
extract .config via ADB:


compile-speed:


dump boot.img:


Change bootimg.cfg size-hex:


Create boot.img via script.sh. Much faster!!!


Linaro vs NDK:


I'll keep you updated, so stay tuned
The Following 69 Users Say Thank You to srsdani For This Useful Post: [ View ] Gift srsdani Ad-Free
 
 
5th June 2014, 09:32 PM |#3  
pandasa123's Avatar
Senior Member
Flag South Grafton
Thanks Meter: 1,566
 
Donate to Me
More
Thank you so much for this guide! before people had to learn from strictly written ones and it was difficult for a lot of us to pick up

oh and congrats on Portal feature!
5th June 2014, 09:39 PM |#4  
Senior Member
Flag Bucharest
Thanks Meter: 392
 
Donate to Me
More
Thank you for this guide . I can wait to try it .

Sent from my GT-I9100G using XDA Premium 4 mobile app
5th June 2014, 09:53 PM |#5  
Hashbang173's Avatar
Recognized Developer / Recognized Contributor
Thanks Meter: 3,163
 
More
Sorry if its already been answered but can I use Ubuntu 14.04 to do this? what advantage does 12.04 have?
5th June 2014, 10:07 PM |#6  
srsdani's Avatar
OP Senior Member
Galati
Thanks Meter: 144
 
More
You can use either Ubuntu 14. However this does not affect anything(about kernel). But I preferred the version 12 because it is more popular, and if problems "arise", it's easier to find solutions.
The Following User Says Thank You to srsdani For This Useful Post: [ View ] Gift srsdani Ad-Free
5th June 2014, 10:17 PM |#7  
Ricky Divjakovski's Avatar
Recognized Developer / Recognized Contributor
Flag Sydney
Thanks Meter: 6,130
 
Donate to Me
More
!
great tutorials! any chnce of one compiling with GCC?
also man! YOUR COMPUTE IS ON STEROIDS!!!
5th June 2014, 10:39 PM |#8  
srsdani's Avatar
OP Senior Member
Galati
Thanks Meter: 144
 
More
Maybe, but in summer(I'm still busy with school). GCC needs to be changed in Part II.
Quote:

also man! YOUR COMPUTE IS ON STEROIDS!!!

Configuration is:
Asus k53sv
-Intel Core I7 2630QM
-12 GB Ram (1333 mhz cl9)
-HDD: 750GB WD Black;
-GPU Intel HD 3000+Nvidia GT540M 2gb ddr3;
+1080p tv(monitor) but only for tutorials.
The Following 2 Users Say Thank You to srsdani For This Useful Post: [ View ] Gift srsdani Ad-Free
5th June 2014, 10:42 PM |#9  
Ricky Divjakovski's Avatar
Recognized Developer / Recognized Contributor
Flag Sydney
Thanks Meter: 6,130
 
Donate to Me
More
Quote:
Originally Posted by srsdani

Maybe, but in summer(I'm still busy with school). GCC needs to be changed in Part II.

Configuration is:
Asus k53sv
-Intel Core I7 2630QM
-12 GB Ram (1333 mhz cl9)
-HDD: 750GB WD Black;
-GPU Intel HD 3000+Nvidia GT540M 2gb ddr3;
+1080p tv(monitor) but only for tutorials.

yeah ive been having problems with GCC on ubuntu 14.04, on my last installation(also 14.04) all compiled fine, yet this fresh installation theres no errors but doesnt boot(stock unmodified sources) :/
5th June 2014, 10:57 PM |#10  
srsdani's Avatar
OP Senior Member
Galati
Thanks Meter: 144
 
More
What's your device? Some have a slightly different configuration(Samsung or Sony/Sony Ericsson etc.).
5th June 2014, 11:21 PM |#11  
Ricky Divjakovski's Avatar
Recognized Developer / Recognized Contributor
Flag Sydney
Thanks Meter: 6,130
 
Donate to Me
More
Quote:
Originally Posted by srsdani

What's your device? Some have a slightly different configuration(Samsung or Sony/Sony Ericsson etc.).

after days of troubleshooting i finally just found the problem..
i had exported PATH to JDK 8 in my .bashrc, i just compiled and it worked
thanks to your video making me look in .bashrc!
LEGEND!!!!
Post Reply Subscribe to Thread

Tags
kernel, linaro, tutorial

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes