Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP srsdani

2nd June 2014, 08:04 PM   |  #1  
OP Senior Member
Galati
Thanks Meter: 101
 
110 posts
Join Date:Joined: Jan 2011
More
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
Last edited by srsdani; 9th August 2014 at 02:59 PM.
The Following 60 Users Say Thank You to srsdani For This Useful Post: [ View ]
5th June 2014, 10:30 PM   |  #2  
OP Senior Member
Galati
Thanks Meter: 101
 
110 posts
Join Date:Joined: Jan 2011
More
Reserved
The Following User Says Thank You to srsdani For This Useful Post: [ View ]
5th June 2014, 10:32 PM   |  #3  
pandasa123's Avatar
Senior Member
Flag South Grafton
Thanks Meter: 1,222
 
1,512 posts
Join Date:Joined: Jul 2013
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, 10:39 PM   |  #4  
Senior Member
Thanks Meter: 76
 
462 posts
Join Date:Joined: Dec 2012
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, 10:53 PM   |  #5  
joshuabg's Avatar
Senior Member
Thanks Meter: 461
 
1,266 posts
Join Date:Joined: May 2012
Donate to Me
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, 11:07 PM   |  #6  
OP Senior Member
Galati
Thanks Meter: 101
 
110 posts
Join Date:Joined: Jan 2011
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 ]
5th June 2014, 11:17 PM   |  #7  
Ricky Divjakovski's Avatar
Recognized Contributor
Flag Sydney
Thanks Meter: 5,371
 
3,625 posts
Join Date:Joined: Feb 2013
Donate to Me
More
!
great tutorials! any chnce of one compiling with GCC?
also man! YOUR COMPUTE IS ON STEROIDS!!!
5th June 2014, 11:39 PM   |  #8  
OP Senior Member
Galati
Thanks Meter: 101
 
110 posts
Join Date:Joined: Jan 2011
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 ]
5th June 2014, 11:42 PM   |  #9  
Ricky Divjakovski's Avatar
Recognized Contributor
Flag Sydney
Thanks Meter: 5,371
 
3,625 posts
Join Date:Joined: Feb 2013
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, 11:57 PM   |  #10  
OP Senior Member
Galati
Thanks Meter: 101
 
110 posts
Join Date:Joined: Jan 2011
More
What's your device? Some have a slightly different configuration(Samsung or Sony/Sony Ericsson etc.).

Post Reply Subscribe to Thread

Tags
kernel, linaro, tutorial
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes