5,815,133 Members 38,852 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:05 AM.)
#1  
trailblazerz11's Avatar
Senior Member - OP
Thanks Meter 1,337
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 and bionic optimizations and keep CM10.1 unaltered for the most part. I did no work whatsover, 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 previous 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 4 Thread

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

Credits:
Cyanogenmod
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 17 Users Say Thank You to trailblazerz11 For This Useful Post: [ Click to Expand ]
 
trailblazerz11
Old
(Last edited by trailblazerz11; 24th May 2013 at 04:58 AM.)
#2  
trailblazerz11's Avatar
Senior Member - OP
Thanks Meter 1,337
Posts: 1,236
Join Date: Apr 2011
Location: Hong Kong
Changelog (besides cm changes)

5/24- libm: sqrt and sqrtf via ARM vsqrt instruction.
5/13- mvectorize-with-neon-quad
4/24- -mcpu=cortex-a9
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/4-Updated kernel to Googles 4.2.2 tag
2/23-Grouper bluetooth fix, Thanks Eug
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
 
trailblazerz11
Old
(Last edited by trailblazerz11; 26th April 2013 at 05:07 PM.)
#3  
trailblazerz11's Avatar
Senior Member - OP
Thanks Meter 1,337
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

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, 28 views)
The Following User Says Thank You to trailblazerz11 For This Useful Post: [ Click to Expand ]
 
pastalero
Old
(Last edited by pastalero; 5th February 2013 at 08:36 PM.)
#4  
Senior Member
Thanks Meter 3
Posts: 142
Join Date: May 2011
Default Re: [ROM] [KANG] Linaro CM 10.1

I'm gonna give it a whirl,I dig the Linaro Kernel, its a monster on the 10.1 nightlies. I'm bummed about the bugs with cifs mounting on 4.2 but Subsonic is awesome so its doing the trick for now.
 
DesertVelo
Old
#5  
DesertVelo's Avatar
Senior Member
Thanks Meter 111
Posts: 309
Join Date: Jan 2011
Default Re: [ROM] [KANG] Linaro CM 10.1

Using it on Nexus 4 since this morning with Franco #61 kernel. No issues so far but still early.

Sent from the singletrack....
As long as it's a singlespeed...
 
trailblazerz11
Old
#6  
trailblazerz11's Avatar
Senior Member - OP
Thanks Meter 1,337
Posts: 1,236
Join Date: Apr 2011
Location: Hong Kong
New 2/6 build tested and uploaded. Synced fresh from CM and also added some ARMv7 optimizations to bionic
Device: neXus 5
Rom:AOSP
Kernel:Franco

In Christ Alone..
The Following 3 Users Say Thank You to trailblazerz11 For This Useful Post: [ Click to Expand ]
 
trailblazerz11
Old
(Last edited by trailblazerz11; 13th February 2013 at 09:57 AM.)
#7  
trailblazerz11's Avatar
Senior Member - OP
Thanks Meter 1,337
Posts: 1,236
Join Date: Apr 2011
Location: Hong Kong
Default Re: [ROM] [KANG] Linaro CM 10.1 Nexus 4&7 *2/6*

2/8 nightly uploading
Synced and mako has new pow() optimization fixed.

Sent from my Nexus 4 using Tapatalk 2
Device: neXus 5
Rom:AOSP
Kernel:Franco

In Christ Alone..
The Following 4 Users Say Thank You to trailblazerz11 For This Useful Post: [ Click to Expand ]
 
trailblazerz11
Old
#8  
trailblazerz11's Avatar
Senior Member - OP
Thanks Meter 1,337
Posts: 1,236
Join Date: Apr 2011
Location: Hong Kong
2/15 Grouper Uploaded, 4.2.2 merged.
Was too busy to find new blobs(if there are any?) but works fine for me
Device: neXus 5
Rom:AOSP
Kernel:Franco

In Christ Alone..
The Following 3 Users Say Thank You to trailblazerz11 For This Useful Post: [ Click to Expand ]
 
tdizzle404
Old
#9  
tdizzle404's Avatar
Senior Member
Thanks Meter 1,088
Posts: 4,466
Join Date: Nov 2010
Location: North Georgia

 
DONATE TO ME
Default Re: [ROM][CM10.1][KANG] Linaro CM 10.1 + Bionic *2/15 Nightly 4.2.2*

Quote:
Originally Posted by trailblazerz11 View Post
2/15 Grouper Uploaded, 4.2.2 merged.
Was too busy to find new blobs(if there are any?) but works fine for me
Thanks this is awesome

Sent from my SGH-T999 using xda app-developers app
Htc Droid DNA
Grouper
A Must Read for Noob to Dev!
^^^^A good read while you let your phone sit for 10
If Ive helped you please hit THANKS
The Following User Says Thank You to tdizzle404 For This Useful Post: [ Click to Expand ]
 
GeyerA
Old
#10  
GeyerA's Avatar
Senior Member
Thanks Meter 969
Posts: 703
Join Date: Apr 2009
Location: Germany, Gerolzhofen

 
DONATE TO ME
Hi trailblazerz11, I was flashing too many things the past week since I was not happy on the smoothness. So I decided to return on CM and try your ROM. I just started to use but it feels already very smooth. I will feedback more in a few days. However, thanks so far!

The Following User Says Thank You to GeyerA For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes