Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,687 Members 40,656 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
srsdani
Old
(Last edited by srsdani; 9th August 2014 at 01:59 PM.)
#1  
Senior Member - OP
Thanks Meter 90
Posts: 105
Join Date: Jan 2011
Location: Galati
Clock [TUTORIAL][VIDEO]KernelANDROID[LINARO][SABERMOD][NDK]build from source

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
Sorry for my english.
k810-2*k850-Xperia X8(10w48+2*12w03)-Acer Cloudmobile.
Donate for a good cause
The Following 57 Users Say Thank You to srsdani For This Useful Post: [ Click to Expand ]
 
srsdani
Old
#2  
Senior Member - OP
Thanks Meter 90
Posts: 105
Join Date: Jan 2011
Location: Galati
Reserved
Sorry for my english.
k810-2*k850-Xperia X8(10w48+2*12w03)-Acer Cloudmobile.
Donate for a good cause
The Following User Says Thank You to srsdani For This Useful Post: [ Click to Expand ]
 
pandasa123
Old
#3  
pandasa123's Avatar
Senior Member
Thanks Meter 1,031
Posts: 1,392
Join Date: Jul 2013

 
DONATE TO ME
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!
My work:

For the HTC One XL:

SlimKat 4.4.4 | TWRP 2.7.0.8 | How to Update to 2.15 firmware | Accidentally Wiped Your Internal Storage?

For the HTC One Max:

SlimKat 4.4.4

For the HTC One Mini:

SlimKat 4.4.4

For the HTC Droid DNA:

SlimKat 4.4.4

For the Xiaomi Mi3:

SlimKat 4.4.4 | AOSP Flashing Guide

Other:

How To Get An Invite for the OnePlus One | Zoe Beta App for All Devices

Donate to me if you like my work or found anything I said helpful
 
NexusGTS
Old
#4  
Senior Member
Thanks Meter 76
Posts: 459
Join Date: Dec 2012

 
DONATE TO ME
Thank you for this guide . I can wait to try it .

Sent from my GT-I9100G using XDA Premium 4 mobile app
 
joshuabg
Old
#5  
joshuabg's Avatar
Senior Member
Thanks Meter 389
Posts: 1,087
Join Date: May 2012

 
DONATE TO ME
Sorry if its already been answered but can I use Ubuntu 14.04 to do this? what advantage does 12.04 have?
If you find this post helful, Click the "Thanks" button, Or if you really like what I have done you can click the "Donate to Me" button.

My works
 
srsdani
Old
#6  
Senior Member - OP
Thanks Meter 90
Posts: 105
Join Date: Jan 2011
Location: Galati
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.
Sorry for my english.
k810-2*k850-Xperia X8(10w48+2*12w03)-Acer Cloudmobile.
Donate for a good cause
The Following User Says Thank You to srsdani For This Useful Post: [ Click to Expand ]
 
Ricky Divjakovski
Old
#7  
Ricky Divjakovski's Avatar
Recognized Contributor
Thanks Meter 5,282
Posts: 3,592
Join Date: Feb 2013
Location: Sydney

 
DONATE TO ME
Default !

great tutorials! any chnce of one compiling with GCC?
also man! YOUR COMPUTE IS ON STEROIDS!!!
Like my blog on facebook, add me to your circles, follow me on twitter or donate to me with paypal
 
srsdani
Old
#8  
Senior Member - OP
Thanks Meter 90
Posts: 105
Join Date: Jan 2011
Location: Galati
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.
Sorry for my english.
k810-2*k850-Xperia X8(10w48+2*12w03)-Acer Cloudmobile.
Donate for a good cause
The Following 2 Users Say Thank You to srsdani For This Useful Post: [ Click to Expand ]
 
Ricky Divjakovski
Old
#9  
Ricky Divjakovski's Avatar
Recognized Contributor
Thanks Meter 5,282
Posts: 3,592
Join Date: Feb 2013
Location: Sydney

 
DONATE TO ME
Quote:
Originally Posted by srsdani View Post
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) :/
Like my blog on facebook, add me to your circles, follow me on twitter or donate to me with paypal
 
srsdani
Old
#10  
Senior Member - OP
Thanks Meter 90
Posts: 105
Join Date: Jan 2011
Location: Galati
What's your device? Some have a slightly different configuration(Samsung or Sony/Sony Ericsson etc.).
Sorry for my english.
k810-2*k850-Xperia X8(10w48+2*12w03)-Acer Cloudmobile.
Donate for a good cause

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

Advanced Search
Display Modes