[Guide]AOSP Kernel before and after CM Graphic Changes ( Graphic Errors ) - Galaxy S 4 General

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

Related

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

kernel questions

are there any new kernels or older kernels that will work with the 4.2 bootlader and the latest .27 firmware? i just finally updated from 4.1 bootloader to 4.2 and latest firmware. did this so i could update cm10.1 from a old june version i had to the latest and greatest 10.2 . on my old setup i ran perf kernel. does anyone know of any kernels i can run on new setup?
Are you looking for a kernel for .27 firmware or a kernel for CM10.2?
hardslog said:
Are you looking for a kernel for .27 firmware or a kernel for CM10.2?
Click to expand...
Click to collapse
more for cm10.2 does perf kenel still work?
No, perf kernel is not working anymore. Hasn't for a while.
I have been able to get some stock based kernels modified for CM10.1, one of them has overclocking abilities too. As for CM10.2, right now you are out of luck, as builds for it are still so new.
Sbdags has O/C kernels that work with CROMI, but those are all stock based.
hardslog said:
No, perf kernel is not working anymore. Hasn't for a while.
I have been able to get some stock based kernels modified for CM10.1, one of them has overclocking abilities too. As for CM10.2, right now you are out of luck, as builds for it are still so new.
Sbdags has O/C kernels that work with CROMI, but those are all stock based.
Click to expand...
Click to collapse
Ya sucks I was happy with perfect and cm10.1 but of course cm force me to update as it wasn't supporting new 4.1 bootloader anymore. I figured if I was going to do it I'd go big. IL just wait it out. Cm 10.2 is running OK with exception of gas issue.
Sent from inside my mkv.
I got Hundsbuah's kernel working in CM10.1 with O/C
hardslog said:
I got Hundsbuah's kernel working in CM10.1 with O/C
Click to expand...
Click to collapse
Good ****. Let me know if you need testers on 10.2
Sent from inside my mkv.

Which kernel to use [Bacon - Aosp - Caf] - Marshmallow

when i was using lollipop i always went with ak kernel but since ak kernel stopped supporting oneplus one when marshmallow roms began to come i became a bit confused as to which kernel i should use.
so i did a bit of searching with kernels that existed. and the kernels i found that i could use was
1. Sultan
2. Tyr Kernel
3. Andy Kernel
4. Radioactive Kernel
so i was wondering what kernel is the best alternative to ak kernel and if so does that kernel have any problems which makes so i should avoid it?
p.s im open to discussions and even having an idea of what i should do will probly help more then it hurts
calionte said:
when i was using lollipop i always went with ak kernel but since ak kernel stopped supporting oneplus one when marshmallow roms began to come i became a bit confused as to which kernel i should use.
so i did a bit of searching with kernels that existed. and the kernels i found that i could use was
1. Sultan
2. Tyr Kernel
3. Andy Kernel
4. Radioactive Kernel
so i was wondering what kernel is the best alternative to ak kernel and if so does that kernel have any problems which makes so i should avoid it?
p.s im open to discussions and even having an idea of what i should do will probly help more then it hurts
Click to expand...
Click to collapse
It's pretty simple actually CAF kernels usually stated in the title of the kernel thread work on CAF ROMs e.g. Sultan, and any ROM that states CAF in its title works with these kernels.
CM kernel such as Lightning, Boeffla and Andy all state specifically CM12/13 in the thread title and those work with stock CM and ROMs derived from CM source and kernel trees.
Finally Omni based kernels only one works properly (Donkey Kernel) also states Omni in the thread title.
The common denominator is that they all clearly state in the thread title what they are for so there's nothing to discuss on which ones to be used for which ROM. In regards to quality that's a bit trickier as we all like different things in a kernel and personally I'm a big fan of Boeffla when I'm on CM13 cause it works great and the app is very intuitive. I've also tried Andy kernel and its got a good mix of features. I'm on Omni 5.1.1 nightlies so I'm on the stock kernel but when I move back to Marshmallow I can update on kernels
Sent from my A0001 using Tapatalk
Renosh said:
It's pretty simple actually CAF kernels usually stated in the title of the kernel thread work on CAF ROMs e.g. Sultan, and any ROM that states CAF in its title works with these kernels.
CM kernel such as Lightning, Boeffla and Andy all state specifically CM12/13 in the thread title and those work with stock CM and ROMs derived from CM source and kernel trees.
Finally Omni based kernels only one works properly (Donkey Kernel) also states Omni in the thread title.
The common denominator is that they all clearly state in the thread title what they are for so there's nothing to discuss on which ones to be used for which ROM. In regards to quality that's a bit trickier as we all like different things in a kernel and personally I'm a big fan of Boeffla when I'm on CM13 cause it works great and the app is very intuitive. I've also tried Andy kernel and its got a good mix of features. I'm on Omni 5.1.1 nightlies so I'm on the stock kernel but when I move back to Marshmallow I can update on kernels
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
which kernels works with which rom i already knew but i still respect the answer i got. well the main concern i had was about the quality of the roms and which roms is good for what.
It depends on what you want. For example some devs here around merge a bunch of patches to improve sth. Sometimes i dont know what they are doing. I also started with that but soon i have learned less is more. Than there are kernels with gazillion oft features to choose. Thousond hotplugs and governors etc. Than there are small and simple kernels without such experimental features close to stock. I for example dont want to tune 5 days to improve me results i like it simple. So you have 3 or more different types to choose.
1. experimental maybe unstable kernels with lots of patches
2. kernels with lots of features
3. small and simple and more stable kernel close to stock
There is no best or better kernel. Choose the one you like best.
Its your choice.
You also missed the CAF lightning Kernel built off of AK's caf kernel. It's the best kernel for CAF right now IMO. It's basically all of AK kernel's great features just updated to support CAF marshmallow and bug fixes/ latest commits. Works with synapse and all of the original AK CAF kernel profiles.

CM 11 experimental builds?

I noticed an experimental CM 11 build dated 12.01.2016; what's updated? Is the scanning bug fixed by any chance?
after flashing cm11...flash the latest thunderzap kernel using twrp....Scanning bug will be solved....I prefer using omni rom (4.4) by oliver and then flashing latest thunderzap kernel using twrp.....very nice and stable performance for kitkat
where did you find this 2016 cm11 build for xperia l?
Maybe he found it through OTAs on the CM11..

Kernel for Exodus

Which kernels is there for Exodus? It's AOSP but it doesnt have sultans caf kernel so I'm not sure which to look for? cm13 or caf? or is there none that work?
Stock
the_rooter said:
Stock
Click to expand...
Click to collapse
......I wouldnt ask if I wanted stock. Phone gets too hot with normal use and there isn't many tweaks I can make to make it cooler.
The kernel is cm based.
Btw. there is no aosp kernel for the oneplus one. We have 4 different types. Based on CM; based on Sultans CAF kernel; based on omnirom; based on Color OS.
Sent from my A0001 using XDA-Developers mobile app
idonttakedrugs said:
Which kernels is there for Exodus? It's AOSP but it doesnt have sultans caf kernel so I'm not sure which to look for? cm13 or caf? or is there none that work?
Click to expand...
Click to collapse
Lightning Kernel v22 (updated to 23 now) and Lightning kernel based on Linux kernel v3 works for me with exodus. Personally prefer the latter. Boeffla didnt boot for me with exodus and i didnt try any caf kernels.
If you have heating issues you may want to try the 6th June build if you arent using it already
Heat issue does exist in build may 23 - june 1.. Even if you change the kernel.
Check your current build.. Update to the latest one
onitsuka. said:
Heat issue does exist in build may 23 - june 1.. Even if you change the kernel.
Check your current build.. Update to the latest one
Click to expand...
Click to collapse
Thankyou, I'm on the may the 1st build. I'll try the newest! What was causing the heat? My phone was reaching 60-70c!!!
Aniket.t20 said:
Lightning Kernel v22 (updated to 23 now) and Lightning kernel based on Linux kernel v3 works for me with exodus. Personally prefer the latter. Boeffla didnt boot for me with exodus and i didnt try any caf kernels.
If you have heating issues you may want to try the 6th June build if you arent using it already
Click to expand...
Click to collapse
Yeah I'll try the lastest, I'll also try Lightning Kernel. Thanks!!
DerRomtester said:
The kernel is cm based.
Btw. there is no aosp kernel for the oneplus one. We have 4 different types. Based on CM; based on Sultans CAF kernel; based on omnirom; based on Color OS.
Sent from my A0001 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks for that bro, cleared things up :good:

Categories

Resources