5,605,026 Members 34,672 Now Online
XDA Developers Android and Mobile Development Forum

[ROM] Unofficial Linaro CM 10.1 + Bionic Nightlies *Tutorial, Compile Yourself!!*

Tip us?
 
trailblazerz11
Old
(Last edited by trailblazerz11; 2nd April 2013 at 08:03 AM.)
#1  
trailblazerz11's Avatar
Senior Member - OP
Thanks Meter 1338
Posts: 1,236
Join Date: Apr 2011
Location: Hong Kong
Default [ROM] Unofficial Linaro CM 10.1 + Bionic Nightlies *Tutorial, Compile Yourself!!*

After trying other ROM's, I would always come back to CM 10.1 for its infrastructure, stability and clean features, however I still wanted experimental bleeding edge optimizations like the Linaro toolchain.
These releases will only feature Linaro toolchain, bionic optimizations and other minor changes, generally keeping CM10.1 unaltered for the most part. I did next to no work, just compiled with patches by others. If you want to learn how, there's a tutorial on post #3

Instructions

NANDroid
Wipe/Factory Reset if coming from anything other than CM 10.1 (Seems to be okay to dirty from from non-linaro cm nightlies)
Wipe Cache
Flash .zip
Flash custom kernel
Flash gapps if needed
Reboot

Download

www.trailblazerz11.com

Goo.im Also Availible on GooManager

Nexus 7 Thread

Disclaimer: I am not responsible for anything that may happen.

Credits:
Cyanogenmod Donate
Linaro
Google
Eug39 for help with errors
Evan McClain for cm10.1 gerrit patches
codeworkx for patches
bricked for kernel patches
EvoXOhio for helping get this whole thing started

Github
https://github.com/trailblazerz
Device: neXus 5
Rom:AOSP
Kernel:Franco

In Christ Alone..
The Following 81 Users Say Thank You to trailblazerz11 For This Useful Post: [ Click to Expand ]
 
trailblazerz11
Old
(Last edited by trailblazerz11; 8th June 2013 at 06:36 AM.)
#2  
trailblazerz11's Avatar
Senior Member - OP
Thanks Meter 1338
Posts: 1,236
Join Date: Apr 2011
Location: Hong Kong
Changelog (besides cm changes)

6/6- Updated to 2013.05 Linaro 4.7
5/24- libm: sqrt and sqrtf via ARM vsqrt instruction.
5/18- optimistic pow
5/13- mvectorize-with-neon-quad
4/24- Added keymaster blobs to fix Security FC
4/14- Updated to 2013.04 Linaro Thanks kszaq again
4/4- Arch specific strcmp from Google
4/3- Updated to 2013.03 Linaro Thanks kszaq
3/11- mcpu a15
2/26-Applied fix for wilhelm, reverted O2 to wilhelm
2/25-Reduce Wilhelm flags
2/21-Memspy for krait optimizations much fast than A-15 memspy
2/19-Revert to old memspy with krait optimizations corrected for testing
2/18-ARMv7 optimized memchar()
A-15 memspy
Change Krait flag value
2/13-Added bionic improvement to memspy from paranoid android
Added vfpv4 flag
2/11-Added bionic optimizations for A-9 from CM gerrit
Added some flags
2/8-All widgets now work in lockscreen
2/6-Added ARMv7 optimizations to bionic
2/5-Initial Release patched to compile with linaro
Device: neXus 5
Rom:AOSP
Kernel:Franco

In Christ Alone..
The Following 28 Users Say Thank You to trailblazerz11 For This Useful Post: [ Click to Expand ]
 
trailblazerz11
Old
(Last edited by trailblazerz11; 26th April 2013 at 05:06 PM.)
#3  
trailblazerz11's Avatar
Senior Member - OP
Thanks Meter 1338
Posts: 1,236
Join Date: Apr 2011
Location: Hong Kong
Tutorial Revamped Feedback please
Tackle_berry was able to compile it and modified the tutorial http://forum.xda-developers.com/show...&postcount=623
Currently has some bad objects in the cherry-picks because I keep rebasing to make sure commits won't have conflicts, will think of a better format, for now manually cherry-pick from my github sowwy

Set up CM build environment - CM wiki
Best to compile a build so you know everything is working before adding Linaro
note: My build enviroment is on Arch Linux on latest RC kernel.

Download and set up Linaro toolchain
http://www.linaro.org/downloads/ Components, Android, Linaro 4.7 ICS/JB
Extract and rename the folder to linaro-4.7 and place it in /prebuilts/gcc/linux-x86/arm

"Linarize" Automated now
Start a linaro branch if you are going further add to it otherwise you can skip the following and work off branch and just apply the script every time.
Code:
repo start linaro --all
Download the attached script and run it. It will cherry-pick all the linaro patches (with the exception of bionic which is pulled)

Done

Updating
repo sync to sync from CM then run the script again if you didnt make a linaro branch. If you did repo sync should automatically update your branches

I cannot control repo syncs causing conflicts or new commits from CM (or by you) cause build errors. I will try to fix and upload changes asap.

IMO the most enjoyable part of compiling your own build is banging your head on an error then eventually finding a fix and having everything work as its suppose to. It's about the journey
Attached Files
File Type: bz2 cherrypick.sh.tar.bz2 - [Click for QR Code] (2.2 KB, 244 views)
The Following 37 Users Say Thank You to trailblazerz11 For This Useful Post: [ Click to Expand ]
 
75markus
Old
#4  
75markus's Avatar
Recognized Contributor
Thanks Meter 1550
Posts: 1,666
Join Date: Mar 2010
Location: ★★ 127.0.0.1 Device : Nexus, what else ★ born to be root ★
1st

finally you started your own thread !

keep the builds coming
The Following User Says Thank You to 75markus For This Useful Post: [ Click to Expand ]
 
android88
Old
(Last edited by android88; 13th February 2013 at 05:59 AM.)
#5  
android88's Avatar
Senior Member
Thanks Meter 4802
Posts: 5,743
Join Date: Jan 2012
Default Re: [ROM] [KANG] Linaro CM 10.1 Nexus 4 & 7 *2/11*

Nice job OP! I I just built a ROM, let's see if I can stop testing for a bit .

Sent from my Nexus 4 using xda premium
 
EvoXOhio
Old
(Last edited by EvoXOhio; 12th February 2013 at 07:18 PM.)
#6  
Senior Member
Thanks Meter 267
Posts: 1,406
Join Date: Mar 2011
Woops, disregard this post.
 
trailblazerz11
Old
#7  
trailblazerz11's Avatar
Senior Member - OP
Thanks Meter 1338
Posts: 1,236
Join Date: Apr 2011
Location: Hong Kong
Quote:
Originally Posted by EvoXOhio View Post
Will you be keeping the patch in that allows all lockscreen widgets?
Yes, I like having it and feel its just a minor change from CM
Device: neXus 5
Rom:AOSP
Kernel:Franco

In Christ Alone..
The Following User Says Thank You to trailblazerz11 For This Useful Post: [ Click to Expand ]
 
xploder270
Old
#8  
Senior Member
Thanks Meter 44
Posts: 143
Join Date: Dec 2009
Location: Linden, GER
This is exactly what I was talking about in your old thread - very clean and to the point.
Perfect!

Thanks for adding the tutorial about compiling a linaro ROM aswell.
I'll look into it at the end of the week.

Now let's see when CM10.1 merges the new 4.2.2 stuff from AOSP.
 
hoseth0711
Old
#9  
Senior Member
Thanks Meter 68
Posts: 599
Join Date: Oct 2009
Location: Copenhagen
Default Sv: [ROM] [KANG] Linaro CM 10.1 Nexus 4 & 7 *2/11*

So guys... I just read that a linaro build should be a lot faster than stock but that article was about a Gnex so what is the situation when it comes to linaro and Nexus 4? Im asking because i rooted my phone 2 weeks ago just to realize that i found all the custom roms to be much more laggy than stock so i unrooted again a week ago. So to avoid the same scenario i want to ask you guys what you think. Thank you in advance

Sendt fra min Nexus 4 med Tapatalk2
 
EvoXOhio
Old
#10  
Senior Member
Thanks Meter 267
Posts: 1,406
Join Date: Mar 2011
Quote:
Originally Posted by hoseth0711 View Post
So guys... I just read that a linaro build should be a lot faster than stock but that article was about a Gnex so what is the situation when it comes to linaro and Nexus 4? Im asking because i rooted my phone 2 weeks ago just to realize that i found all the custom roms to be much more laggy than stock so i unrooted again a week ago. So to avoid the same scenario i want to ask you guys what you think. Thank you in advance

Sendt fra min Nexus 4 med Tapatalk2
I've tried 5-6 different ROMs and they're all the same speed as stock or faster.

The Following User Says Thank You to EvoXOhio For This Useful Post: [ Click to Expand ]
Tags
cm 10.1 linaro, cm 10.1 unofficial
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes