5,596,857 Members 49,164 Now Online
XDA Developers Android and Mobile Development Forum

[ROM]CM10.1 Linaro O3 Build With Basic Kernel 02/06

Tip us?
 
kejar31
Old
(Last edited by kejar31; 7th February 2013 at 03:53 AM.)
#1  
Recognized Developer - OP
Thanks Meter 2268
Posts: 1,867
Join Date: May 2010

 
DONATE TO ME
Default [ROM]CM10.1 Linaro O3 Build With Basic Kernel 02/06

Thought I would share this. Its a build of CM10.1 from 02/04 with the Linaro updates added and compiled with linaro's 4.7 toolchain oh and it had O3 turned on

Notes:
All Credit got to the CM team and Sbrissen who got CM working for our phones

If CM doesn't include the commits and people like this enough I will most likely provide weekly updates


Features:

ROM
Compiled with Linaro's GCC 4.7.3 toolchain (01/13)
O3

KERNEL
Compiled with Linaro GCC 4.7.3
Updated wifi driver
Unofficial Voodoo sound driver (otherwise this has not been reviewed and approved by Supercurio)
OverClock up to 1.8 Ghz
CPU Undervolting
Downgrade to mali r2p4 which fixed graphic glitches

ChangeLog:

02/04 - initial release

02/06
Updated with CM base 02/06 at 7PM
Compiled kernel with the Linaro GCC 4.7.3 toolchain
Complete base has now been compiled the wtih Linaro GCC 4.7.3 toolchain (many things moved from 4.6)

Source:
Kernel source https://github.com/kejar31/android_k...msung_smdk4412

Credit:
gokhanmoral
codeworkx
sbrissen
CyanogenMod
supercurio
Tk-Glitch

Install:
Boot to recovery and make a backup
Wipe data/cache/dalvik
Flash ROM
Flash GAPPS
Reboot


Downlaods:
GAPPS

ROM FOR THE VZW NOTE 2 ONLY




Quick rundown from a Phoronix artificial that does a pretty good job of a quick breakdown on the differences.. It even includes some benchmarks

Note that Android is normally compiled with O2 and Os


For those unfamiliar with the different optimization flags, see the GCC optimize options documentation. The tested flags used in this article include:

-O0 - Reduce compilation time and make debugging produce the expected results. This is the default.

-O1 - Optimize. Optimizing compilation takes somewhat more time, and a lot more memory for a large function.

-O2 - Optimize even more. GCC performs nearly all supported optimizations that do not involve a space-speed tradeoff. As compared to -O, this option increases both compilation time and the performance of the generated code.

-O3 - Optimize yet more. -O3 turns on all optimizations specified by -O2 and also turns on the -finline-functions, -funswitch-loops, -fpredictive-commoning, -fgcse-after-reload, -ftree-vectorize, -fvect-cost-model, -ftree-partial-pre and -fipa-cp-clone options.

-Os - Optimize for size. -Os enables all -O2 optimizations that do not typically increase code size. It also performs further optimizations designed to reduce code size.

-Ofast - Disregard strict standards compliance. -Ofast enables all -O3 optimizations. It also enables optimizations that are not valid for all standard-compliant programs. It turns on -ffast-math and the Fortran-specific -fno-protect-parens and -fstack-arrays.
You know that guy who made Liberty and Gummy but is just lazy now :P
The Following 14 Users Say Thank You to kejar31 For This Useful Post: [ Click to Expand ]
 
laxattack
Old
#2  
laxattack's Avatar
Senior Member
Thanks Meter 8
Posts: 145
Join Date: Dec 2009
think i could flash on top of nightlies?
 
Breezer23
Old
#3  
Breezer23's Avatar
Senior Member
Thanks Meter 82
Posts: 842
Join Date: Nov 2009
Location: Arlington Heights
Default Re: [ROM]CM10.1 Linaro O3 Build With Basic Kernel 02/04

No clue what O3 is but sound fancy. Thanks for posting.

Sent from my SCH-I605 using Tapatalk 2
 
kejar31
Old
#4  
Recognized Developer - OP
Thanks Meter 2268
Posts: 1,867
Join Date: May 2010

 
DONATE TO ME
Quote:
Originally Posted by laxattack View Post
think i could flash on top of nightlies?
Yea should not be a problem
You know that guy who made Liberty and Gummy but is just lazy now :P
 
lilpeezy23
Old
#5  
Senior Member
Thanks Meter 36
Posts: 158
Join Date: Jan 2010
Default Re: [ROM]CM10.1 Linaro O3 Build With Basic Kernel 02/04

Wasn't really keen to the specifics of O3 but googled it and it definitely helped my understanding (to a certain extent). Pretty interesting stuff. Either way thanks for this build

Sent from my SCH-I605 using Tapatalk 2
 
kejar31
Old
(Last edited by kejar31; 5th February 2013 at 02:15 AM.)
#6  
Recognized Developer - OP
Thanks Meter 2268
Posts: 1,867
Join Date: May 2010

 
DONATE TO ME
Quote:
Originally Posted by Breezer23 View Post
No clue what O3 is but sound fancy. Thanks for posting.

Sent from my SCH-I605 using Tapatalk 2

Quick rundown from a Phoronix artificial that does a pretty good job of a quick breakdown on the differences.. It even includes some benchmarks

Note that Android is normally compiled with O2 and Os


For those unfamiliar with the different optimization flags, see the GCC optimize options documentation. The tested flags used in this article include:

-O0 - Reduce compilation time and make debugging produce the expected results. This is the default.

-O1 - Optimize. Optimizing compilation takes somewhat more time, and a lot more memory for a large function.

-O2 - Optimize even more. GCC performs nearly all supported optimizations that do not involve a space-speed tradeoff. As compared to -O, this option increases both compilation time and the performance of the generated code.

-O3 - Optimize yet more. -O3 turns on all optimizations specified by -O2 and also turns on the -finline-functions, -funswitch-loops, -fpredictive-commoning, -fgcse-after-reload, -ftree-vectorize, -fvect-cost-model, -ftree-partial-pre and -fipa-cp-clone options.

-Os - Optimize for size. -Os enables all -O2 optimizations that do not typically increase code size. It also performs further optimizations designed to reduce code size.

-Ofast - Disregard strict standards compliance. -Ofast enables all -O3 optimizations. It also enables optimizations that are not valid for all standard-compliant programs. It turns on -ffast-math and the Fortran-specific -fno-protect-parens and -fstack-arrays.
You know that guy who made Liberty and Gummy but is just lazy now :P
The Following User Says Thank You to kejar31 For This Useful Post: [ Click to Expand ]
 
Ohh_Trenton
Old
#7  
Ohh_Trenton's Avatar
Recognized Contributor
Thanks Meter 2609
Posts: 1,062
Join Date: May 2010
Location: ▂ ▃ ▅ ▆ █

 
DONATE TO ME
Hey Kejar, is it safe to flash over AOKP/CM roms?

Click Banner for Links
AllianceRom Maintainer(4.1)
AOSP MMS on TW
AOSP Contacts on TW
The Great Optimistic; I Will Find The Positives In Everything.

 
kejar31
Old
#8  
Recognized Developer - OP
Thanks Meter 2268
Posts: 1,867
Join Date: May 2010

 
DONATE TO ME
Quote:
Originally Posted by trentb12 View Post
Hey Kejar, is it safe to flash over AOKP/CM roms?

most likly but have not tried it soooo I can not really say
You know that guy who made Liberty and Gummy but is just lazy now :P
 
Ohh_Trenton
Old
#9  
Ohh_Trenton's Avatar
Recognized Contributor
Thanks Meter 2609
Posts: 1,062
Join Date: May 2010
Location: ▂ ▃ ▅ ▆ █

 
DONATE TO ME
I'll try it out.

Click Banner for Links
AllianceRom Maintainer(4.1)
AOSP MMS on TW
AOSP Contacts on TW
The Great Optimistic; I Will Find The Positives In Everything.

 
fallingd0wn
Old
#10  
fallingd0wn's Avatar
Senior Member
Thanks Meter 85
Posts: 311
Join Date: Apr 2010
Location: IN
Default Re: [ROM]CM10.1 Linaro O3 Build With Basic Kernel 02/04

Flashed over today's nightly with no problems. On another note, how did you get around the missing extractfiles.sh script in the i605 device directory when trying to pull the proprietary files from the phone to do your builds?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes