Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP kejar31

5th February 2013, 02:45 AM   |  #1  
OP Recognized Developer
Thanks Meter: 2,450
 
1,937 posts
Join Date:Joined: May 2010
Donate to Me
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.
Last edited by kejar31; 7th February 2013 at 04:53 AM.
The Following 14 Users Say Thank You to kejar31 For This Useful Post: [ View ]
5th February 2013, 02:55 AM   |  #2  
laxattack's Avatar
Senior Member
Thanks Meter: 21
 
180 posts
Join Date:Joined: Dec 2009
More
think i could flash on top of nightlies?
5th February 2013, 03:03 AM   |  #3  
Breezer23's Avatar
Senior Member
Flag Arlington Heights
Thanks Meter: 90
 
909 posts
Join Date:Joined: Nov 2009
More
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
5th February 2013, 03:09 AM   |  #4  
OP Recognized Developer
Thanks Meter: 2,450
 
1,937 posts
Join Date:Joined: May 2010
Donate to Me
Quote:
Originally Posted by laxattack

think i could flash on top of nightlies?

Yea should not be a problem
5th February 2013, 03:09 AM   |  #5  
Senior Member
Thanks Meter: 44
 
188 posts
Join Date:Joined: Jan 2010
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
5th February 2013, 03:13 AM   |  #6  
OP Recognized Developer
Thanks Meter: 2,450
 
1,937 posts
Join Date:Joined: May 2010
Donate to Me
Quote:
Originally Posted by Breezer23

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.
Last edited by kejar31; 5th February 2013 at 03:15 AM.
The Following User Says Thank You to kejar31 For This Useful Post: [ View ]
5th February 2013, 03:31 AM   |  #7  
Ohh_Trenton's Avatar
Recognized Contributor
Flag ▂ ▃ ▅ ▆ █
Thanks Meter: 2,970
 
1,156 posts
Join Date:Joined: May 2010
Donate to Me
More
Hey Kejar, is it safe to flash over AOKP/CM roms?
5th February 2013, 03:36 AM   |  #8  
OP Recognized Developer
Thanks Meter: 2,450
 
1,937 posts
Join Date:Joined: May 2010
Donate to Me
Quote:
Originally Posted by trentb12

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


most likly but have not tried it soooo I can not really say
5th February 2013, 03:37 AM   |  #9  
Ohh_Trenton's Avatar
Recognized Contributor
Flag ▂ ▃ ▅ ▆ █
Thanks Meter: 2,970
 
1,156 posts
Join Date:Joined: May 2010
Donate to Me
More
I'll try it out.
5th February 2013, 03:47 AM   |  #10  
fallingd0wn's Avatar
Senior Member
Flag IN
Thanks Meter: 104
 
337 posts
Join Date:Joined: Apr 2010
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?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes