Post Reply

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

OP trailblazerz11

12th February 2013, 07:05 PM   |  #1  
trailblazerz11's Avatar
OP Senior Member
Flag Hong Kong
Thanks Meter: 1,337
 
1,236 posts
Join Date:Joined: Apr 2011
More
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
Last edited by trailblazerz11; 2nd April 2013 at 08:03 AM.
The Following 81 Users Say Thank You to trailblazerz11 For This Useful Post: [ View ]
12th February 2013, 07:06 PM   |  #2  
trailblazerz11's Avatar
OP Senior Member
Flag Hong Kong
Thanks Meter: 1,337
 
1,236 posts
Join Date:Joined: Apr 2011
More
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
Last edited by trailblazerz11; 8th June 2013 at 06:36 AM.
The Following 28 Users Say Thank You to trailblazerz11 For This Useful Post: [ View ]
12th February 2013, 07:07 PM   |  #3  
trailblazerz11's Avatar
OP Senior Member
Flag Hong Kong
Thanks Meter: 1,337
 
1,236 posts
Join Date:Joined: Apr 2011
More
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, 249 views)
Last edited by trailblazerz11; 26th April 2013 at 05:06 PM.
The Following 37 Users Say Thank You to trailblazerz11 For This Useful Post: [ View ]
12th February 2013, 07:12 PM   |  #4  
75markus's Avatar
Recognized Contributor
Flag ★★ 127.0.0.1 Device : Nexus, what else ★ born to be root ★
Thanks Meter: 1,578
 
1,669 posts
Join Date:Joined: Mar 2010
More
1st

finally you started your own thread !

keep the builds coming
The Following User Says Thank You to 75markus For This Useful Post: [ View ]
12th February 2013, 07:12 PM   |  #5  
android88's Avatar
Senior Member
Thanks Meter: 4,807
 
5,743 posts
Join Date:Joined: Jan 2012
More
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
Last edited by android88; 13th February 2013 at 05:59 AM.
12th February 2013, 07:14 PM   |  #6  
Senior Member
Thanks Meter: 273
 
1,413 posts
Join Date:Joined: Mar 2011
Woops, disregard this post.
Last edited by EvoXOhio; 12th February 2013 at 07:18 PM.
12th February 2013, 07:17 PM   |  #7  
trailblazerz11's Avatar
OP Senior Member
Flag Hong Kong
Thanks Meter: 1,337
 
1,236 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by EvoXOhio

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
The Following User Says Thank You to trailblazerz11 For This Useful Post: [ View ]
12th February 2013, 08:30 PM   |  #8  
Senior Member
Flag Linden, GER
Thanks Meter: 44
 
151 posts
Join Date:Joined: Dec 2009
More
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.
12th February 2013, 08:33 PM   |  #9  
Senior Member
Flag Copenhagen
Thanks Meter: 68
 
616 posts
Join Date:Joined: Oct 2009
More
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
12th February 2013, 08:40 PM   |  #10  
Senior Member
Thanks Meter: 273
 
1,413 posts
Join Date:Joined: Mar 2011
Quote:
Originally Posted by hoseth0711

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: [ View ]
Post Reply Subscribe to Thread

Tags
cm 10.1 linaro, cm 10.1 unofficial
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Nexus 4 Android Development by ThreadRank