[ROM] Unofficial Linaro CM 10.1 + Bionic Nightlies *Tutorial Compile yourself!!* - Nexus 7 Android Development

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

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

Tutorial Revamped Feedback please
Tackle_berry was able to compile it and modified the tutorial http://forum.xda-developers.com/showpost.php?p=39567944&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

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.

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....

New 2/6 build tested and uploaded. Synced fresh from CM and also added some ARMv7 optimizations to bionic

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

2/15 Grouper Uploaded, 4.2.2 merged.
Was too busy to find new blobs(if there are any?) but works fine for me

Re: [ROM][CM10.1][KANG] Linaro CM 10.1 + Bionic *2/15 Nightly 4.2.2*
trailblazerz11 said:
2/15 Grouper Uploaded, 4.2.2 merged.
Was too busy to find new blobs(if there are any?) but works fine for me
Click to expand...
Click to collapse
Thanks this is awesome
Sent from my SGH-T999 using xda app-developers app

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!

trailblazerz11 said:
2/15 Grouper Uploaded, 4.2.2 merged.
Was too busy to find new blobs(if there are any?) but works fine for me
Click to expand...
Click to collapse
HI, as you know I'm building cm-10.1 with basically the same mods you are using. Just wanted to ask you if bluetooth works in this rom, because, since the 4.2.2 update, bluetooth is broken on my builds.,

wonder if it works on nexus 7 3g

Re: [ROM][KANG] Linaro CM 10.1 + Bionic *2/16 Nightly 4.2.2*
eug89 said:
HI, as you know I'm building cm-10.1 with basically the same mods you are using. Just wanted to ask you if bluetooth works in this rom, because, since the 4.2.2 update, bluetooth is broken on my builds.,
Click to expand...
Click to collapse
Flashing this in recovery should fix bluetooth.
https://www.dropbox.com/s/omjuuielei3z5p6/4-2-2BluetooohFix-Fix.zip
Sent from my Nexus 7 using Tapatalk HD

RobertsDF said:
Flashing this in recovery should fix bluetooth.
https://www.dropbox.com/s/omjuuielei3z5p6/4-2-2BluetooohFix-Fix.zip
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
Thanks, this fixes it.

Re: [ROM][KANG] Linaro CM 10.1 + Bionic *2/16 Nightly 4.2.2*
This is really great! Thanks
Sent from my Nexus 7 using Tapatalk HD

Re: [ROM][KANG] Linaro CM 10.1 + Bionic *2/16 Nightly 4.2.2*
Will upload 2/18 nightly when I get home.
Didn't know about the Bluetooth issues, hopefully new nightly fixes. Thanks for the fix
Sent from my Nexus 7 using Tapatalk HD
EDIT: Uploaded

R: [ROM][KANG] Linaro CM 10.1 + Bionic *2/18 Nightly 4.2.2*
trailblazerz11 said:
Will upload 2/18 nightly when I get home.
Didn't know about the Bluetooth issues, hopefully new nightly fixes. Thanks for the fix
Sent from my Nexus 7 using Tapatalk HD
EDIT: Uploaded
Click to expand...
Click to collapse
Did you have to use the bluetooth.default.so file contained in the zip posted above to get the Bluetooth to work or It was already working fine in your builds?

Re: [ROM][KANG] Linaro CM 10.1 + Bionic *2/18 Nightly 4.2.2*
eug89 said:
Did you have to use the bluetooth.default.so file contained in the zip posted above to get the Bluetooth to work or It was already working fine in your builds?
Click to expand...
Click to collapse
Not fixed in 2/18 had to flash it too
Sent from my Nexus 7 using Tapatalk HD

R: [ROM][KANG] Linaro CM 10.1 + Bionic *2/18 Nightly 4.2.2*
trailblazerz11 said:
Not fixed in 2/18 had to flash it too
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
Does your build for the nexus 4 have the same issue?
bluetooth.default.so gets compiled from external/bluetooth/blue droid but I haven't made any changes from cyanogenmod's source in that repo and in the official nightlies BT seems to work fine. It could be some compiler flag, next time I'll try building without the -03 optimizations.

Re: [ROM][KANG] Linaro CM 10.1 + Bionic *2/18 Nightly 4.2.2*
eug89 said:
Does your build for the nexus 4 have the same issue?
bluetooth.default.so gets compiled from external/bluetooth/blue droid but I haven't made any changes from cyanogenmod's source in that repo and in the official nightlies BT seems to work fine. It could be some compiler flag, next time I'll try building without the -03 optimizations.
Click to expand...
Click to collapse
It works fine on mako. Yeah, probably something with linaro or O3
Sent from my Nexus 4 using Tapatalk 2

Related

[RECOVERY][LINARO][4.1.2] TWRP-UNOFFICIAL 2.3.1.1 touch recovery [11/5/12]

Hi all, so I've been wanting a really nice optimized Linaro recovery and have not been able to find one. So I decided to build my own and have found it to be very nice and stable, and of course to share with all of you xda peps
First off if you don't know what TWRP recovery is the original nexus 7 thread is HERE
Please read all of the original thread before flashing this recovery.
More info on how this recovery was built
Built using Linaro gcc 4.7 toolchain. I also built the toolchain from Linaro's gcc source. The toolchain source is HERE
This toolchain source gets update almost daily from linaro sources, but I don't normally have the time to build new toolchains daily. When I have time I will update it quite frequently.
Built off my own 4.1.2 kernel source. The kernel used to build this recovery was also compiled using the Linaro 4.7 toolchain.
I've added a few linaro recovery patches for interfaces to libpng. Those changes are HERE and HERE.
Built using Linaro bionic string routines optimizations.
Installation
Download the recovery image and flash in fastboot
Initial release 2.3.1.1 touch recovery
10.28.12 release 2.3.1.1 touch recovery
Kernel changes
Removed a lot of bloat from the kernel. I disabled GPU overclocking, user voltage control, cpu overclocking, a bunch of useless debugging stuff.
A short kernel changelog is HERE
Toolchain changes
Not much here. I included a static library to be used in the toolchain libiberty
A short changelog for the toolchain is HERE
Recovery changes
Built as engineering instead of userdebug.
11.5.12 release 2.3.1.1 touch recovery
Final android 4.1.2 linaro recovery version
Kernel changes
Mainline linux kernel upstream changes from linux-3.2.y
Changed kernel compression mode to GZIP and optimization level to -Os
Toolchain changes
Updated to latest linaro changes
Recovery changes
-O3 optimization level
Linaro strict-aliasing compiler flags optimization
Android-4.1.2 (This version is a final release, no more updates)
Size: 6.95 MB
MD5: e0f46f01556156b052b3779c9ed60e01
What? A Linaro recovery? I did not know there was such thing. I am downloading this now very excitedly.
Thank you. Very very helpful and nice.
OK... Now I need more info! I sorta understand the Linaro concept but my knowledge is limited. What's the reasons to base Recovery on it at this point? Any advantages, possible concerns? Will there be any noticeable differences? Just curious & wondering cause you said "you'd been wanting to make a recovery based on linaro".
Thank!
Sent from my Nexus 7 using Tapatalk 2
Hi men!
Thanks for your recovery.
But i experience some strange visual effects like distortion of the image or some lag effects.
---------- Post added at 04:21 PM ---------- Previous post was at 04:16 PM ----------
djd338 said:
OK... Now I need more info! I sorta understand the Linaro concept but my knowledge is limited. What's the reasons to base Recovery on it at this point? Any advantages, possible concerns? Will there be any noticeable differences? Just curious & wondering cause you said "you'd been wanting to make a recovery based on linaro".
Thank!
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
There is a discussion on this subject regarding some tests Ezekeel (XDA developper) made with different cross-compiler toolchains and those tests prooved that none of the compilers is better than another.
We heard a lot about linaro because when ICS was released, it was very laggy and linaro and is new compiler version 4.7 made ICS much smoother than before.
But for the pur performance linaro give no improvement if you compare with another one.
EDIT: I found the link of the test for you: http://forum.xda-developers.com/showpost.php?p=19872366&postcount=1
i remember this test,and also in my home test when i tried to build kernel,i don't see improvement using linaro or others toolchains..anyway it's great to have another thing to play on and see if it's best that the ufficial!
sert00 said:
i remember this test,and also in my home test when i tried to build kernel,i don't see improvement using linaro or others toolchains..anyway it's great to have another thing to play on and see if it's best that the ufficial!
Click to expand...
Click to collapse
Agree with you.
It wasn't for discredit the work of sparksco. I'm glad to test his work.
Just answer the question for the cross-compiler.
Thanks for the work sparksco
[email protected]_OC said:
Hi men!
There is a discussion on this subject regarding some tests Ezekeel (XDA developper) made with different cross-compiler toolchains and those tests prooved that none of the compilers is better than another.
We heard a lot about linaro because when ICS was released, it was very laggy and linaro and is new compiler version 4.7 made ICS much smoother than before.
But for the pur performance linaro give no improvement if you compare with another one.
EDIT: I found the link of the test for you: http://forum.xda-developers.com/showpost.php?p=19872366&postcount=1
Click to expand...
Click to collapse
That's one test with one toolchain by one developer. As far as I can tell he tested everything with one of linaro's really old toolchaons when they first released 4.6. So by looking at the dates I would guess linaro didn't add much to the toolchain at that point. There's also the GCC version to consider. This is using 4.7 and not 4.6. And lastly there's rom patches that linaro puts out that have nothing to do with the kernel but are used in the ROM building process when building recoveries. It's all debatable. I find this to be a bit smoother and backups seems to be a little faster but maybe it's just me.
[email protected]_OC said:
Hi men!
Thanks for your recovery.
But i experience some strange visual effects like distortion of the image or some lag effects.
Click to expand...
Click to collapse
Your going to have to provide more info than that. Your method of installing, what bootloader you have ect. Thanks.
Edit: flashing zip in recovery causes issues so I removed that method of installing.
sparksco said:
That's one test with one toolchain by one developer. As far as I can tell he tested everything with one of linaro's really old toolchaons when they first released 4.6. So by looking at the dates I would guess linaro didn't add much to the toolchain at that point. There's also the GCC version to consider. This is using 4.7 and not 4.6. And lastly there's rom patches that linaro puts out that have nothing to do with the kernel but are used in the ROM building process when building recoveries. It's all debatable. I find this to be a bit smoother and backups seems to be a little faster but maybe it's just me.
Click to expand...
Click to collapse
thanks.after give a try to this recovery,i agree with you with fact of possible quickest backup time.the general use is good,don't know if it's real an improvement,but i did a backup and at first look it seemed quicker..possible placebo effect,let's see what others say..
why you pulled cwm install version...bugged?
There's a lot of factors to consider. Just the fact that this is using a kernel I built with 4.7 from my own source code could improve things as well. FYI the kernel includes GPU overclocking.
sert00 said:
why you pulled cwm install version...bugged?
Click to expand...
Click to collapse
Read one post above yours...
Sent from my Nexus 7 using Tapatalk 2
sparksco said:
There's a lot of factors to consider. Just the fact that this is using a kernel I built with 4.7 from my own source code could improve things as well. FYI the kernel includes GPU overclocking.
Read one post above yours...
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
oh thanks,not saw the edit in the post!
New version is up.
Sent from my Nexus 7 using Tapatalk 2
I installed last night using goomanager, so I assume I have the previous version?
Anyway, it works great, so thanks.
stonebear said:
I installed last night using goomanager, so I assume I have the previous version?
Anyway, it works great, so thanks.
Click to expand...
Click to collapse
I am pretty sure you get the Official TWRP version from goomanager not this. Please correct me if I am wrong but I think that is what the Unofficial means.
zedorda said:
I am pretty sure you get the Official TWRP version from goomanager not this. Please correct me if I am wrong but I think that is what the Unofficial means.
Click to expand...
Click to collapse
Yea, I just realised that myself when I saw there were two threads.
What's the difference between this and ClockWorkMod? Is it more stable?
Neo3D said:
What's the difference between this and ClockWorkMod? Is it more stable?
Click to expand...
Click to collapse
Some more features on TWRP I think, especially the queue to flash multiple ZIP files. Flash it and see for yourself
modstorm said:
Some more features on TWRP I think, especially the queue to flash multiple ZIP files. Flash it and see for yourself
Click to expand...
Click to collapse
That, and I like the fact that you have an option to wipe cache/dalvik after flashing something
markj338 said:
That, and I like the fact that you have an option to wipe cache/dalvik after flashing something
Click to expand...
Click to collapse
That and TWRP can also be themed however I never found any themes :/

[KERNEL] vz-oc-linaro kernel v4: CM10.1 overclocking kernel - Linaro build

Introduction
This is a replacement kernel for CyanogenMod 10 and 10.1 evita builds. The kernel is designed to be as close as possible to the stock CyanogenMod kernel with a few improvements.
Linaro toolchain:
The kernel is compiled with the latest Linaro toolchain based on gcc 4.7 rather than the default Android toolchain. This may provide performance improvements in some situations. I have made a few patches applied to make it compatible with gcc 4.7.
Overclock:
The highest frequency now available under Settings -> Performance with these kernels is,
Code:
CPU: 1782 MHz 1.25 V
L2: 1350 MHz 1.15 V
BUS: 532 MHz
I've also included a modified thermald.conf in the flashable zip.
Refresh rate:
I've reverted the refresh rate to the original value from the sense source code (57 Hz). This works better when "Disable HW overlays" is selected.
Downloading and installing
Download the flashable zip,
cm10.1_vz-oc-linaro.4.zip MD5=7233ccffa17fa16a2dc6292ecf755fb4
mega.co.nz
ubuntuone.com
Older versions:
cm10.1_vz-oc-linaro.3.zip MD5=5e0efdfd0390f3f923090a574d142808
mega.co.nz
ubuntuone.com
cm10.1_vz-oc.2.zip MD5=cf2c4ee8ba09627e598b78dcea225d39
cm10.1_vz-oc-linaro.2.zip MD5=2931cc59515949fa461a89ea17c99328
vz-oc.1.zip MD5=2f1740d67cd1d5c02a7ac5489bafe7a0
vz-oc.2.zip MD5=4e4d444130e8eb71c27cc23fed65fc88
vz-oc-linaro.1.zip MD5=ca674641e05595e64698afda8aa02943
vz-oc-linaro.2.zip MD5=2b01472d00e069c53f934c30b49475d1
cm10.1_vz-oc.1.zip MD5=576db9e99b2289dae7fc5b548a0d61b4
cm10.1_vz-oc-linaro.1.zip MD5=1a5f3b50608e6b44da50829b2c04ec5c
If you have HBOOT earlier than 1.14 or have S-OFF, then you can just flash the zip from recovery. This will flash the kernel as well as all required modules and thermald.conf. Otherwise, HBOOT 1.14 users will need to extract the boot.img, enter bootloader mode and run
Code:
fastboot flash boot boot.img
Then you will also need to flash the zip to get modules and themald.conf.
Compatability
cm10.1_vz-oc-linaro.4 is compatible with CM10.1 UNOFFICIAL build from 16/04/2013 onwards.
cm10.1_vz-oc-linaro.3 is compatible with CM10.1 NIGHTLY build from 01/03/2013 onwards.
cm10.1_vz-oc.2 (and linaro) are compatible with CM10.1 NIGHTLY build from 19/02/2013 only.
cm10.1_vz-oc.1 (and linaro) are compatible with CM10.1 UNOFFICIAL build from 06/02/2013 only.
vz-oc.2 (and linaro) are compatible with CM10 NIGHTLY builds from 26/12/2012 to 13/01/2013.
vz-oc.1 (and linaro) are compatible with CM10 NIGHTLY builds from 28/11/2012 to 25/12/2012.
Future development
I hope to introduce GPU overclocking soon and there will be updated builds as
soon as changes come into the main CyanogenMod repo.
Building the kernel
For those who would like to build the kernel themselves, here are some basic
instructions. First you will need to acquire some tools. You can get the default
toolchain from the CM10 source code at,
Code:
system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/
Otherwise, if you want to use the Linaro toolchain, you can get it at
Linaro toolchain
You will also need a working boot image to get the ramdisk from. You can build
mkbootimg using these instructions
building mkbootimg
Finally, you can get split_bootimg_pl from William Encks site
download split_bootimg_pl
Clone the repo and change to your desired branch
Code:
git clone https://github.com/vanja-zecevic/android_kernel_htc_msm8960.git
git checkout jellybean-oc
Now export an environmental variable pointing to your desired toolchain
Code:
export CCOMPILER=$PATH_TO_TOOLCHAIN/bin/arm-eabi-
Copy the config file, run menuconfig once and start the build replacing -j12
with your desired number of threads
Code:
cp ./config-oc ./.config
make ARCH=arm SUBARCH=arm CROSS_COMPILE=$CCOMPILER menuconfig
make ARCH=arm SUBARCH=arm CROSS_COMPILE=$CCOMPILER -j12
Extract a ramdisk from a working boot image and repack with your freshly built
kernel using the following command for cm10,
Code:
./split_bootimg_pl ./boot.img
./mkbootimg --base 0x80400000 --ramdiskaddr 0x81800000 \
--cmdline 'console=ttyHSL0,115200,n8' \
--kernel arch/arm/boot/zImage --ramdisk boot.img-ramdisk.gz \
-o boot_vz-oc.img
cm10.1 will need the following cmdline
Code:
--cmdline 'console=ttyHSL0,115200,n8 androidboot.hardware=qcom'
You are ready to flash your new kernel!
Contact
I hope you enjoy using this kernel! Please also visit the github page for this project for alternative download links and for the source code.
GitHub
Cheers,
Vanja
Looks good will give it a shot next time I'm on a CM10 based ROM. Will this only work on CM10 or will it work with other AOSP builds too?
Sent from my HTC One X using Tapatalk 2
1. Could you post flash able zips for the majority of us who can flash these in recovery?
2. Very few users including myself have issues with kernels without stock voltage values. The device will just not boot, any way to have separate versions without different voltages just to rule that issue out when people ask why their device won't boot?
Sent from my One X using Tapatalk 2
superchilpil said:
1. Could you post flash able zips for the majority of us who can flash these in recovery?
2. Very few users including myself have issues with kernels without stock voltage values. The device will just not boot, any way to have separate versions without different voltages just to rule that issue out when people ask why their device won't boot?
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
+1 thank you
Straight talked from my HOX!
I like the idea of a stockish CM10 OC kernel, Me myself i underclock. I would give this a go see how it holds up. the increase in clock speed is usually a nice thing to have even if not used. Also a 2.0GHz version would be awesome too.
Nice job!
Sent from my Nexus 7
ChummyDays said:
Fastboot flash boot boot.img
Sent from my One X using Tapatalk
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
Re read my post, I know how to use fastboot
Sent from my One X using Tapatalk 2
Thanks for the feedback people!
I'm currently running HBOOT 1.14, so I will need to downgrade to 1.09 before I can make/test flashable kernel zips. I think I will get around to this in the next week.
I will also look into some other requests.
Is anyone running the kernel? Are you happy with it? Any benchmarks?
rohan32 said:
Nice job!
Click to expand...
Click to collapse
Thanks Rohan, I was inspired by your work!
Quick question: Sweep2Wake support?
I know OP stated 'as close to stock as possible,' searched thread for 'sweep' and turned up nuffin, so I'm just curious. Glad to see another kernel option (and prospective CM10 material!).
superchilpil said:
1. Could you post flash able zips for the majority of us who can flash these in recovery?
2. Very few users including myself have issues with kernels without stock voltage values. The device will just not boot, any way to have separate versions without different voltages just to rule that issue out when people ask why their device won't boot?
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
I don't plan on maintaining them, but if newer versions come out, just rename to boot.img and swap out the file in the zips:
With Linaro toolchain
without Linaro toolchain
Vanja, if you want these gone, let me know.
hands on CM boot screen animation
running stable build cm10, and like the title says, hangs on boot screen animation. Do you have to configure the thermald.conf first?
thanks
taylor.fowler said:
I don't plan on maintaining them, but if newer versions come out, just rename to boot.img and swap out the file in the zips:
Click to expand...
Click to collapse
Thanks Taylor! I've included zips now.
nespid said:
running stable build cm10, and like the title says, hangs on boot screen animation. Do you have to configure the thermald.conf first?
thanks
Click to expand...
Click to collapse
Hi nespid, unfortunately, these kernels currently only support builds from 28/11/2012 onward. I've re-written the "Compatibility" section to make that more clear.
I will put up a build compatible with the "stable" build in a few days if you like.
vanja_z said:
Hi nespid, unfortunately, these kernels currently only support builds from 28/11/2012 onward. I've re-written the "Compatibility" section to make that more clear.
I will put up a build compatible with the "stable" build in a few days if you like.
Click to expand...
Click to collapse
That would be absolutely great!
Thank you!
Sent from my HTC One X+ using xda app-developers app
just wondering ,when and if are you goin make one for cm10.1? because the one for cm10 just flatout smokes :good! really makes your phone move!! :good:
Re: [KERNEL] vz-oc kernel: CM10 overclocking, normal & Linaro builds
Any feedback on battery life with this one? And how does it play with No Frills CPU and such?
Thanks for the hard work!
Sent from my CM10ified Beast (a.k.a. HTC One XL)
I've put up cm10.1 kernels!
ps. cm10.0 stable kernel is coming soon, I haven't forgotten, sorry for the delay
vanja_z said:
I've put up cm10.1 kernels!
ps. cm10.0 stable kernel is coming soon, I haven't forgotten, sorry for the delay
Click to expand...
Click to collapse
That's awesome, I will be testing this soon. I know it was asked before but I'm also very interested to know, any plans on implementing sweep2wake? After using it for even a little bit it spoils you, it really is an awesome feature. Otherwise thank you for your hard work, I'll leave feedback in a couple days after testing!
Thanks much, got the kernel running on CM10.1 with 1.14 hboot no problems. Modified thermald.conf and seems to allow oc to stick thus far.
great work,
dbd
UPDATE: this kernel is working wonderfully with cm10.1. +1 for linaro toolchain.

[KERNEL][JB 4.1.2][AOSP][Canuck][v2.4][s2w]Linaro][Cortex-A15][03/21/2013]

******************Sources up at https://github.com/AKToronto/Canuck ********************************
****currently working off the testing branch I created****************
Hi folks,
Im posting this kernel because there might be a number of people who want to use a custom CM10 base ROM and just want to get some better battery life. Basically its for someone who would be interested in a kernel synced with the latest CM10 sources for 4.1.2 JB and who doesn't want to go to CM10.1 ROMS yet until they become more stable.
Huge thanks goes out to Zarboz as well as ShowP1984
ShowP1984 and Zarboz are real kernel masters. I am still just a simple padawan learner, lol.
Most of the custom source code for this kernel is either cherry-picked, merged or inspired by their work.
For more information on custom kernel settings, governors, schedulers, modules, etc, please check out:
http://forum.xda-developers.com/showthread.php?t=1369817
Please let me know if anything doesn't work! ie reboots or other programs not working. Give the kernel some time to settle too before reporting.
And dont blame me if your device gets borked, lol. "Insert standard disclaimer here"
v1.0 Canuck Kernel
-CM10 JB Kernel sources synced 3.0.61 linux
-Governors included (and code cleaned up a bit) - brazilianwax, intellidemand, SavagedZen, interactiveX, smartass, smartassV2, lagfree, interactive, conservative, userspace, powersave, Lionheart, ondemand, performance (originally from klin's source)
-mpdecision using ShowP's code from Zarboz's AOZP source added
-Force MHL @720p60hz (also from Zarboz's AOZP)
-regular 4.6 eabi toolchains for now
v1.1
Synced with latest 3.0.62 linux
**GPS appears to be fixed and locking properly
v1.2
-Added Undervolting and Overclocking to 1.89gz (1.89 seems the most stable for folks) (taken from Zarboz Beastmode Bricked sources)
v1.3
-various fixes to undervolting, gpu overclock and to default on demand governor (also removed 2 phase on it for now).
v1.4
-removed some more problematic governors (that I also noticed were not compiled in Beastmode)
-enabled two phase ondemand
-added badass governor and cleaned up some of the badass code so that default phase frequency settings stick
v1.5
-thermald added to userspace (allows user to configure settings for when the device gets hot! ie lower cpu clock speed, etc)
-added lower default values to badass governor
**an experimental 2.1 ghz overclock version is also compiled, but that is experimental***
v1.6
-Wheatley governor added (likely the last governor I will add)
-enabled xz compression
-Fixed GPU OC so that settings stick (i recommend 266 for 2d and 320 or 400 for 3d)
-both 1.89 and 2.1 ghz versions added 2.1 ghz seems stable, just make sure you are undervolting correctly (dont undervolt a lot at the higher frequencies)
v2.0 ***Huge update thanks to Zarboz
-Rebuilt with Linaro 4.7 toolchains with -O3 compression flags
-Updated ThermalD and mpdecision source code (hot off the press stuff here!)
-Latest sweep 2 wake added
-various other fixes
v2.1
-Real -O3 compression this time ( on v2.0 it was really only -O compression)
-updated to latest CM10 sources and 3.0.63 linux
v2.2
-Added force mhl to ville defconfig for compile (feel free to test)
-Synced with 3.0.66 linux sources
v2.3
-Faux tweaked intellidemand
-Dynamic fsync enabled (by faux)
-Fastcharge enabled
v2.4
-Removed faux tweaked intellidemand (I didnt like the faux tweaks personally. Im just not sure that governors that try tie in to GPU clocks have
the right default settings to work well on the One S, regular intellidemand could be combined with other the other governors and not introduce instability. I had issues with tweaked plus smartass v2 for example)
-rebuilt using rmbq's cortex-a15 optimized toolchain (this seemed pretty cool, and I thought I would try it out. Seems like the device boots faster now too)
To use sweep to wake, when your screen is off, put your finger on the back button, then sweep all the way to the right in one motion. It works best when you do it fast. To turn the screen off, sweep in the opposite direction.
Compatible ROMs currently include (all CM10 base, not CM10.1):
-Latest CM10 nightlies http://goo.im/devs/cm/ville/nightly
-Latest PAC Man ROM
-Latest AOKP http://forum.xda-developers.com/showthread.php?t=2141549
-Latest Dark Jelly (I think)
-Any other CM10 AOSP ROM that is synced with the latest jellybean branch (not the old jellybean-stable branch) of https://github.com/CyanogenMod/android_kernel_htc_msm8960
Install instructions:
1. Navigate to your /system/bin folder and rename the file mpdecision to something else like mpdec_backup (IMPORTANT)
2. Navigate to your /system/bin folder and rename the file thermald to something else like therm_backup (IMPORTANT)
2. Fastboot flash the boot image from your bootloader
*step one and two is needed because the kernel uses its own mpdecision and thermald controls and the ones included in your ROM are not needed and can only cause problems.
DOWNLOAD LOCATION:
http://www.androidfilehost.com/?a=show&w=files&flid=3192
****BE CAREFUL WITH UNDERVOLTING... Just want to give a fair warning... Undervolting too much, especially below 900, etc on the low end is not recomended. Read up on undervolting before doing too much more. In fact, if you are experienceing issues, try increasing the voltages.
Also recommend using kernel tuner to tweak (found in the app store), following Zarboz's suggestion. It's a good program and let's you set governors for individual cpus, tweak governors, mpdecision, gpu overclock and thermald, and settings tend to stick well.
hello there i was just going to tell you i fastbooted the kernel and it does not go past the splash screen.
Nerd019 said:
hello there i was just going to tell you i fastbooted the kernel and it does not go past the splash screen.
Click to expand...
Click to collapse
Interesting. What ROM are you on? Seems to work just fine with latest PAC Man ROM on my HTC One S. Again, not much was edited at all from the CM10 Jelly Bean source. If stock AOSP JB doesnt boot for you, then neither would this. But it should work just fine on ROMs like JellyBam and PACMan, etc, etc... If it still doesnt work I will double check my upload and the boot.img.
Also, not sure if legacy files from other kernels are causing issues for folks switching over... Using http://forum.xda-developers.com/showthread.php?t=2121584 might help too....
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
I'm on Baked Blackbean 7.1 im actually building the rom as we speak
Sent from my HTC One S using xda app-developers app
Nerd019 said:
I'm on Baked Blackbean 7.1 im actually building the rom as we speak
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Ahhh theres the answer (I think). I think 7 and 7.1 of your awesome baked ROM already use the CM10.1 base.
This kernel was not built off of the CM10.1 base, but just the straight up CM10 Jellybean. It should work with 4.1.2, but no guaruntees on 4.2.1. Does that make sense?
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
yes it does as well i want to thank you for a new kernel
Sent from my HTC One S using xda app-developers app
AW: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
Always nice to see some new things here in the one s forum.
Gesendet von meinem Nexus 7 mit Tapatalk 2
support mhl ?
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
Good to see a new face around man don't hesitate to reach out if you need anything
And who cares who else is building kernels ate fun
Sent from my HTC One XL using xda app-developers app
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
Very pleased to see this new development after Klin announced his fusion kernel obsolete today!
I have recently switched to a sense based ROM to satisfy my need for custom kernels, but can't wait to switch back to CM10 once you get this up and running.
I will be following this thread closely
Sent from my HTC One S using xda app-developers app
Successful boot on Jellybam 4.1.0! Govs and SIO showing up properly, going to start testing them individually.
For a first step, you've done an awesome job! I'm really looking forward to more releases from you. You have some serious potential. I'd be happy to test anything you need tested!
Edit: Still testing, so far so good. No broken governors!
Protip: Change your title up a bit. Replace "first build" with V1.0 and throw in an [AOSP] to draw attention.
awesome job got it to boot with jellybam 4.1.0.
Everything seemed fine but i couldnt get the Wifi to turn on.
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
Hmm interesting with the wifi... Did you have those issues with the stock CM10 kernel too? Wifi seems to work just fine on PACMan Rom for me and worked when I tried Jellybam too... I wonder if the kernel cleaner app would help you, if you had been flashing lots of other kernels on your Rom build?
Sent from my HTC One S using xda premium
With the latest nightly WiFi works fine. 2 days of use with out any problems . Thanks you for your work
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
AKToronto said:
Hmm interesting with the wifi... Did you have those issues with the stock CM10 kernel too? Wifi seems to work just fine on PACMan Rom for me and worked when I tried Jellybam too... I wonder if the kernel cleaner app would help you, if you had been flashing lots of other kernels on your Rom build?
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
I actually only tried out the kernel with the jellybam ROM I had installed already.
kernel cleaner? I'm going to check that out when I have time.
and i did do a couple of flashes before trying out your kernel.
I'm going to try it out on a clean install of jellybam and PAC man and I'll let you know what works for me. thanks for the response
No wifi problems here, it's likely caused by legacy kernel files. Try out the solution in Post #3 before you wipe everything. If that doesn't work, post what HBOOT you're device has.
Very nice. Thanks.
Is there a chance of getting s2w?
Kernel updated. Main update was some cleanup of some code around the governors and adding of kernel based mpdecision. This is mainly off of Zarboz's work and of course ShowP and his awesome mpdecision coding.
I know folks will want sweep to wake and a few other settings too im sure. Those things will come in time. Any other governors that people find useful? I have heard badass can be pretty good too...
Re: [KERNEL][JB 4.1.2][AOSP][Canuck][v1.0][3.0.61 linux]
can i use it on baked rom?
Sent from my HTC One S using xda app-developers app
Nerd019 said:
can i use it on baked rom?
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
depends on what version of baked. If your already at CM10.1 or v 4.2.1 of Android then no. You should go for one of the other two new kernels floating around for CM10.1 They look promising.

[KERNEL][4.2.2] Kernel+ for d2vzw | Linaro 4.7 | Bleeding Edge | (7/23/13)

Kernel+ for AOSP 4.2.2 ROMs​
This is a kernel that I have been compiling and using on my own device for a while, and I want to share this with the community. I enjoy the CM10.1 stock kernel, but I want to keep up to date with the newest Linux version and CodeAuroraForum source. I also want the most optimized experience possible, along with a few extra features. Kernel+ is always built with the latest Linux kernel and Qualcomm CAF sources to provide a fast, stable, and bleeding edge experience. The source can be found on my GitHub here Enjoy .
What is this?
This is a kernel based off of CyanogenMod's 'cm-10.1' branch of the Galaxy S III kernel.
Kernel+ is built with the goals in mind:
To always be up to date with the latest source from CodeAuroraForum and Kernel.org
To optimize as much as possible for the smoothest user experience
To base closely off of the CM10.1 kernel for optimal stability, not features
To provide a fast, stable, and bleeding edge experience for users
Features
Linux 3.4.54
always up to date with the latest source straight from Qualcomm's CodeAuroraForum
latest Linaro 4.7 toolchain compiled
CPU frequency from 384Mhz - 1.5Ghz
FauxSound App support
FRandom built-in
GPU overclocked to 480 Mhz default
custom voltage control
excellent battery life
optimized and stable
small kernel size
more coming soon...
Click to expand...
Click to collapse
Downloads
All downloads can be found here: CLICK ME
Click to expand...
Click to collapse
Instructions for Installing
1. Download the kernel.
2. Copy it to your phone.
3. Flash with TWRP or CWM.
Note: Kernel+ is packaged with invisiblek's AnyKernel, meaning that it will unpack your current ramdisk and repack it with this kernel during the flashing process. This means that it will be compatible with any AOSP 4.2.2 ROM, even if they have different ramdisks. Also, please make sure that you are currently running a stock AOSP kernel (CM10.1, AOKP, SlimBean, etc) before flashing Kernel+ so that your ramdisk will be compatible.
Click to expand...
Click to collapse
ChangeLog
7/23/13​
Linux 3.4.54
pulled in updates from CM
lots of updates from CAF
pulled in latest CodeAuroraForum and Kernel.org patches
7/5/13​
Linux 3.4.52
fixed voltage control (I compiled with the wrong defconfig before...my fault)
pulled in a few updates from CM
synced with latest CAF
pulled in latest CodeAuroraForum and Kernel.org patches
7/3/13​
fixed a bug where init.d script permission was not set correctly
7/2/13​
Linux 3.4.51
GPU 3D overclocked to 480 Mhz default
custom voltage control
lots of CAF updates...look at GitHub and see how many times I've merged CAF over week long period!
changed min CPU frequency to 384 MHz
synced with CyanogenMod source
pulled in latest CodeAuroraForum and Kernel.org patches
6/24/13​
Linux 3.4.50
lots of updates straight from CAF
many updates from CyanogenMod source; merged 'next' branch for support for media-caf
fixed frandom in build
added init.d script to enable frandom at boot - feel the speed increase!
pulled in latest CodeAuroraForum and Kernel.org patches
6/19/13​
fixed flickering (last time, I promise )
added frandom (Entropy Seeder - increases overall smoothness)
lots of updates from CodeAuroraForum
pulled in latest CodeAuroraForum and Kernel.org patches
6/16/13​
Linux 3.4.49
lowered MDP bandwidth values - flickering is gone now with the original values after the CAF merge
reverted Bluetooth "revert" code from CM - BT seems to be fixed from the latest CAF merge now
Updated FauxSound to v2.1 with PowerAmp Amplifier Controls
updated display code
sync'ed with CyanogenMod source
pulled in latest CodeAuroraForum and Kernel.org patches
Bleeding Edge!!
6/12/13​
adjusted MDP bandwidth values - no more flickering
fixed bluetooth
added support for FauxSound
added 189Mhz step with lowered voltage
sync'ed with CyanogenMod source
pulled in latest CodeAuroraForum and Kernel.org patches
6/8/13​
initial release
Linux 3.4.48
pulled in latest CodeAuroraForum and Kernel.org patches
compiled with the latest Linaro 4.7 toolchain
already 200+ commits ahead of the stock CM10.1 kernel
Click to expand...
Click to collapse
Thanks to:
CyanogenMod for their work and source for d2's
invisiblek for his AnyKernel package
Kernel.org
CodeAuroraForum
AndroidFileHost
...if I forgot you, please let me know!
Click to expand...
Click to collapse
FAQ
Frequently Asked Questions​
How do I disable GPU overclock?
By default, the GPU is allowed an extra 480 Mhz freq step, whereas stock only allowed up to 400 Mhz. If you feel that you do not need the extra GPU 3D power, then you can disable it by adding the line:
Code:
echo 1 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_pwrlevel
to the file /system/etc/init.d/98kernelplus. Then reboot.
How do I adjust the voltages?
You can control the CPU freq voltages by using an app such as Trickster, System Tuner, SetCPU, etc.
What is frandom? How do I enable it?
Frandom is basically a more efficient random generator. It can be used in place of /dev/urandom and is 10 - 50 times faster. Using frandom will use very little of the kernel's Entropy pool, which in turn will provide better performance and smoothness. Frandom is already built-in to the kernel and enabled via an init.d script. No need to manually enable it.
one more...
First!
Sent from my SCH-I535 using xda app-developers app
I've never done this...
But SECOND!
Looks awesome!
Edit: I'm getting some screen flicker with this kernel.
sivarticus85 said:
I've never done this...
But SECOND!
Looks awesome!
Edit: I'm getting some screen flicker with this kernel.
Click to expand...
Click to collapse
I have noticed this too...but I think I had it in the CM kernel too if I remember correctly. Anyways, I am currently testing different MDP bandwidth parameters to get it fixed.
But for now, the flicker seems to go away if you check disable hw overlays in developer options.
Sent from my SGH-T999 using Tapatalk 4 Beta
klin1344 said:
I have noticed this too...but I think I had it in the CM kernel too if I remember correctly. Anyways, I am currently testing different MDP bandwidth parameters to get it fixed.
But for now, the flicker seems to go away if you check disable hw overlays in developer options.
Sent from my SGH-T999 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Right. It's actually gone in the CM 10.1 kernels... a bug that was squashed some time ago. Other than that though, this kernel is really good! I've noticed better battery after using it last night into this morning.
What governors and schedulers is included?
Sent from my SCH-I535 using Tapatalk 2
masri1987 said:
What governors and schedulers is included?
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
I haven't added any yet other than the ones included in CM.
Sent from my SGH-T999 using Tapatalk 4 Beta
any way you can add a fast charge capability? thank you for the kernel
Aashiqmunda said:
any way you can add a fast charge capability? thank you for the kernel
Click to expand...
Click to collapse
No, because drawing anything more than 500mA through USB is dangerous and not recommended.
Sent from my SGH-T999 using Tapatalk 4 Beta
About to flash. Does it support fauxsound?
Sent from my SCH-I535 using Tapatalk 2
TheBurgh said:
About to flash. Does it support fauxsound?
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Not yet, but I will be adding support for that soon. Note that there is an occasional flicker with this kernel on a handful of apps...it shouldn't be too bad, and I'm currently trying to fix it. But if it gets annoying you can disable hw overlays to fix it.
Sent from my SGH-T999 using Tapatalk 4 Beta
I just finished tweaking the MDP bandwidth parameters, and I think I have found the sweet spot. There is no more flickering at all. Just a few more things I need to add and it will be ready for a new release, probably tomorrow.
Sent from my SGH-T999 using Tapatalk 2
Which gov/sch do u recommend?
Sent from my SCH-I535 using Tapatalk 4 Beta
juancaperez2000 said:
Which gov/sch do u recommend?
Sent from my SCH-I535 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I recommended interactive with row if you want performance and alright battery life. But if you are willing to sacrifice a bit of performance for battery life, I recommend conservative with row.
Sent from my SGH-T999 using Tapatalk 2
klin1344 said:
I recommended interactive with row if you want performance and alright battery life. But if you are willing to sacrifice a bit of performance for battery life, I recommend conservative with row.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Thanks!!
Sent from my SCH-I535 using Tapatalk 4 Beta
Sorry guys, I got really busy today, so I wasn't able to release the update...
I'll try my best to find some time tomorrow to build and upload them.
6/12/13 Update
The new update is out! Below are the changes from 6/8/13.
Changes:
6/12/13​
adjusted MDP bandwidth values - no more flickering
fixed bluetooth
added support for FauxSound
added 189Mhz step with lowered voltage
sync'ed with CyanogenMod source
pulled in latest CodeAuroraForum and Kernel.org patches
Click to expand...
Click to collapse
klin1344 said:
The new update is out! Below are the changes from 6/8/13.
Changes:
Click to expand...
Click to collapse
Running solid so far. Apparently there's an update for the fauxsound drivers to 2.1, while this one has 2.0. Just thought I'd throw that out there.
Sent from my SCH-I535 using xda premium

[Guide]AOSP Kernel before and after CM Graphic Changes ( Graphic Errors )

Hello ,
Currently I see in all AOSP kernel threads which kernel mess with what now build successfully, so I want to make a short list, maybe it will help one or the other. People have Graphic Error after flashing a kernel.
This is my first thread here, so please ignore my bad school English , i am out of it since 20 Years and i learn now again
CM Changed a few things in the Graphics ( Video Output ) so not all Kernel will work with Weekly 1.9 , i think with next week Build 2.0 the Commits are in Slimbean too.
This are the CM Commits
https://github.com/CyanogenMod/andr...mmit/361d5ab106fc7b1278058b83e927a8c05aa60cb4
https://github.com/CyanogenMod/andr...mmit/de142806214fcc559d780fe012586a280ae3cdb2
if you use a newer Kernel you will have Graphic Bugs with CM Base Builds ( Slimbean, Aokp, Carbon and more )
For now what is working :
Faux Kernel
Builds before 10/20/2013
11 and 12 and work with older Builds
Faux Kernel 13 only work with CM Based Builds after the 10/20/2013
http://faux.androidro.ms/jflte/jb43/
Chronic Kernel
You can use Build 2.3 and older http://www.chronic-buildbox.com/jf/ for Builds before CM changes
Build 2.31 for newer Builds.
KT Kernel
Build 10/20/2013 and later doesn't work with CM Base Builds before 10/20/2013
All older Builds will work.https://www.copy.com/s/4ZzqCaMCwfDx/...4.3 Versions with CM Base Builds before 10/20/2013
If such changes occur again in the future I will of course keep the thread up to date.
I hope one or the other, it helps a little with the selection of the suitable kernel.
Best Regards
Tylog
Hi. I guess Chronic 2.3.2 doesn't work with 1.9?
GT-I9505 | SlimBean 4.3 build 1.6
wonsky21 said:
Hi. I guess Chronic 2.3.2 doesn't work with 1.9?
GT-I9505 | SlimBean 4.3 build 1.6
Click to expand...
Click to collapse
Right, you have to wait at tomorrow slimbean 2.0
GT-I9505 ~ SlimBean / Aosp 4.3.1

Categories

Resources