[KERNEL][3.0.72][TouchWiz] •∞ CYMBALINE •∞ RD04 •∞ 3.5 •∞ [12-APR-2013] - AT&T Samsung Galaxy S II Skyrocket SGH-I727

[KERNEL][3.0.72][TouchWiz] •∞ CYMBALINE •∞ RD04 •∞ 3.5 •∞ [12-APR-2013]
WARNING: This Kernel is for Samsung Jellybean (4.1.2) TouchWiz ROMS only. Do NOT flash this on aftermarket AOSP derivatives. You can flash this on any ROM based off Samsung Jellybean Release or leak (UCMC1, UCLL3, UCLK4, UXUMA7, Embryo 6, etc.)​
AND FOR GOD'S SAKE, IF YOU ENABLE BLN IT REQUIRES AMPERAGE, ITS OHMS LAW, SO DONT TALK ABOUT BAT. LIFE. AND GOVERNORS ARE ALSO NUMBER ONE CAUSE FOR RANDOM REBOOTS OR COMPLETELY BORKING IF MISCONFIGURED. YOU HAVE BEEN WARNED. THE ONLY GOVERNORS I WILL SUPPORT OR ONDEMAND or SAMSUNG, PERIOD. ALL OTHER GOVERNORS ARE CRAP AND REALLY NOT NEEDED (UNLESS YOU HAVE AN EXTREME USAGE PATTERN, THEN WRITE ONE YOURSELF). I ONLY INCLUDED A FEW AS I KEEP GETTING REQUESTS AND AS LONG AS IT DOES NOT HARM THE BUILD, I WILL INCLUDE IT.
EDIT: Post updated 12-APR-2013
Do NOT ask about the BLN hack. I have not incorporated it, I believe the JB platform supports it without Kernel Hack, I will think about it. Availble from 3.5 onwards.
Posting Protocol
Click to expand...
Click to collapse
First and foremost this is a dev thread. If you cannot contribute to the advancement of the kernel don't post here, post it in the general thread here. Things I expect are:
* dmesg or kmsg (adb shell dmesg) logs for the kernel. Also a full logcat will help for any issues.
* Accurately describing the setup include how to replicate it.
* If you wish to share your configuration, I am ok with it.
DISCLAIMER
Click to expand...
Click to collapse
You are solely responsible for flashing this kernel.
Tuning
Click to expand...
Click to collapse
A lot of kernel features (O/C) can you tuned via sysfs userspace interface. You can script them or if your
ROM provides it (like my Embryo 6) use it.
FEATURES/CHANGELOG
Click to expand...
Click to collapse
(I will update this as I find time). Please use sysfs interface for tuning or if running Embryo 6, use the ROMCustomizer. Note: this is a high quality and no warning build, i.e it needs to meet my standards and upstream linux grinder.
* [RD03][3.3] Cymbaline-JB-RD04-3.5
Code:
- [B]BLN[/B] added. Please note: Embryo-6.11 it can enabled via ROMCustomizer (see pics in Post #2).
The interface is CM version 10, implemented to SR by me.
You would need an external app for fine grain control of the notification (i.e. per app),
in general android 4.1.2 already has support for Notification LED.
- Skipped internal release 3.4
- updated Ramdisk to UCMC1 (RD04), official ATT/Samsung JB release.
- merged to upstream linux (3.0.72).
- enabled hotplug, lagfree governor.
- cherry-pick from caf.
* [RD03][3.3] Cymbaline-JB-RD03-3.3
Code:
- Added latest (v4) row io-scheduler.
* [RD03][3.2] Cymbaline-JB-RD03-3.2 (UNRELEASED)
Code:
* Added USB fast charge option. NOTE: Embryo-6.7 will have the option in ROM Customizer. Or, you can change it via sysfs
[CODE]
# echo 1 > /sys/power/fast_charge/force_fast_charge
NOTE: Since this will force to draw more power, please be mindful of the repercussions.
* Disabled lulzactive governor. I will look at incorporating it later.
* cherry-picked various upstream patches. the source should be current.
[/CODE]
* [RD03][3.0] Cymbaline-JB-RD03-3.1
Code:
* Disabled intellidemand governor. It appears that may cause some devices to not boot. I will look at incorporating it later.
* more upstream cherry-picks.
* [RD03][3.0] Initial release Cymbaline-JB-RD03-3.0
Code:
* per CPU O/C : Upto 1.83GHz (Note: 1.83GHz will be unstable in lot of situations).
* per CPU B/W : Bandwidth boost for all O/C frequencies.
* per cpu Governors: Added a bunch of governors. NOTE: The default is "samsung" (and which is the only one I useI have NOT tested any of the other governors or use it)
* GPU O/C:
3D Mode: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D Mode: 266667000, 228571000, 200000000, 160000000, 96000000, 27000000
* I/O Schedulers: BFQ v6, SIO, V/R added.
* merged to linux upstream 3.0.68.
* updated wireless driver.
* cherry-picked various patches from upstream caf sources.
* ExFat proprietrary modules included and loaded.
Download
Click to expand...
Click to collapse
Flashing Instructions: Just download the zip and flash, don't do anything else. Let the kernel settle for couple of days. NOTE: the default is STOCK samsung settings, use scripts or ROMCustomizer (Embryo 6) to tune or change.
update 05-NOV-2016: Please see this post
Credits
Click to expand...
Click to collapse
Code:
* samsung of course for releasing the source.
* faux123 for the voltage table sysfs interface.
* tamcore for most of the governors. (cherry-picked and adapted for celox)
Source
Click to expand...
Click to collapse
The kernel was based of Samsung I727R sources. Sources are up in my github repo (branch: celox-jb, repo: kernel_samsung_msm8x60-celox)
* My github repository: https://github.com/mohankr
* Samsung Source Link.SGH-I727R_NA_JB_Opensource.zip

Pictures
Pictures from Embry 6 ROM - showing controls via ROMCustomizer (wrapping the sysfs ops)

2nd one
just in case

Re: [KERNEL][3.0.68][TouchWiz] •∞ CYMBALINE •∞ RD03 •∞ 3.0 •∞ [09-MAR-2013]
Awesome Mohan I will put this on my sons phone
A.R.H.D. 3.6 ICS Custom KingBeatz Audio

Am I the only one seeing a notification on the status bar, but when i pull down the notification bar, there is nothing there?

Re: [KERNEL][3.0.68][TouchWiz] •∞ CYMBALINE •∞ RD03 •∞ 3.0 •∞ [09-MAR-2013]
When I boot the kernel for the first time all I get is a black screen. I'm on the 2nd jb leak ucl3 I think.
Sent from my SAMSUNG-SGH-I727 using xda premium

ian1 said:
When I boot the kernel for the first time all I get is a black screen. I'm on the 2nd jb leak ucl3 I think.
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
It could be that you are out of space in system. Are you running stock UCLL3? It has no space I believe in /system. I need to confirm. But if you can paste the recovery.log (that will usually tell you)

3.1 released
Uploaded 3.1. See changelog. Basically disabled intellidemand governor, probably the cause for the blank screen.

3.3 released
3.3 released (please read the changelog in Post #1)
- If you are on Embryo 6 I will release 6.7 later..that will include the new kernel.

req
Will you put up a version of the Hercules? We have couple of touchwiz job ROMs that could use the vibration fix

username2013 said:
Will you put up a version of the Hercules? We have couple of touchwiz job ROMs that could use the vibration fix
Click to expand...
Click to collapse
Yup once I get back...

Would love to see BLN come back into the picture, been waiting for JB to support it, still sitting on 5.4 Things take time I realize that, hope it gets incorporated. Thank you

unibombz said:
Would love to see BLN come back into the picture, been waiting for JB to support it, still sitting on 5.4 Things take time I realize that, hope it gets incorporated. Thank you
Click to expand...
Click to collapse
Yeah..been busy and have a personal situation going on..it will come...as soon as things settle down for me...

Looking forward to it, I know things take time, and for sure focus on you first obviously..... can't wait to try the JB ROM
Reed make any scripts for this kernel here ?
On another note ... Whatever hardware / phone you move to next in the years to come, I will be following suit because that is just how good of a dev you are. All the best !

mohan_kr said:
Yeah..been busy and have a personal situation going on..it will come...as soon as things settle down for me...
Click to expand...
Click to collapse
hmmmm.... I see 3.4 in your sig.... something coming soon?

wolverine9827 said:
hmmmm.... I see 3.4 in your sig.... something coming soon?
Click to expand...
Click to collapse
he is testing it

wolverine9827 said:
hmmmm.... I see 3.4 in your sig.... something coming soon?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=40165092&postcount=12

Right on, hope to see BLN packed with it

Will you bln posters please read the op?
Sent from my SGH-I727R using Tapatalk 2

I realize it is there in the OP, and was discussed above, sorry about talking about a feature I miss, basically looking forward to it so I can kick into gear and use 6.**

Related

[kernel][3.0.46][ics] •∞ CYMBALINE •∞ RD04 •∞ 2.8 •∞ [16-OCT-2012]

[kernel][3.0.46][ics] •∞ CYMBALINE •∞ RD04 •∞ 2.8 •∞ [16-OCT-2012]
PLEASE READ THE ENTIRE POST #1 and POST #2, UNDERSTAND, READ IT AGAIN, BEFORE YOU DECIDE TO FLASH.
* THIS KERNEL IS ONLY FOR ICS (Android 4.0.x) TouchWiz (Samsung/ATT ICS releases, i.e any UCLF6, UCLF5, UXLF3, UCLD2, UCALC2) ROMS. It is NOT for after market ROMS like CyanogenMod or AOKP.
* The ONLY device that it has been tested is ATT SGH-I727 and Rogers SGH-I727R.
* CYMBALINE 2.X is a complete overhaul from 1.X series, if you have been using 1.X series, I would strongly recommend to upgrade to 2.X series.
Click to expand...
Click to collapse
DISCLAIMER
Click to expand...
Click to collapse
KERNEL FLASHING, OVERCLOCKING, UNDERVOLTING, ETC CAN POTENTIALLY DAMAGE YOUR PHONE. YOU ARE SOLELY RESPONSIBLE FOR FLASHING THIS KERNEL.
​
TUNING SCRIPTS
Click to expand...
Click to collapse
For Gov/OC/UV/UC tuning scripts for various governors. If you don't like to use an app (as lot of them cannot do fine grained tuning) you would like to use init scripts, then please see @ReedX50v scripts in this thread. The only requirement is "busybox run-parts init.d supports", most custom ROM's with modified Ramdisk kernel image should have that built-in. If it not, then bang your ROM author to provide one.
* For Cymbaline 2.6 and above (any ramdisk version, i.e. any of the RDNN) use the information in following post #574. You might also read the post #249, for some background information. Please thanks ReedX50v.
* For Cymbaline 2.5 and BELOW (any ramdisk version). use the scripts (again thank Reed50Xv). Use the scripts from the following post #249.
​
​
FEATURES/CHANGELOG
Click to expand...
Click to collapse
You can use 3rd Party APPS for CPU and Voltage Control. For Voltage, it is using the Faux VDD tables, so the app MUST be able to understand that. (See ADDONS section below).
[RD04][2.8]
updated to linux 3.0.46 upstream.
Experimental, ported CM10 bln with blink support (updates your lights lib in ROM). Not sure how great this is but feedback is appreciated.
WiFi sensitivity restored to stock.
[RD04][2.7]
updated to linux 3.0.42 upstream.
Ramdisk updated to support boot sounds. (remove /system/etc/PowerOn.ogg if you don't want it)
merged to latest (09/09/2012) CAF relevant changes.
[RD03][2.6]
Changed Ramdisk (def. governor changed from "ondemand_sammy" to "ondemand".
updated to linux 3.0.40 upstream.
updated WiFi stack to 1.15.55
Skipped internal releases 2.4 and 2.5.
FIX: Now overclock should be fully supported.
[RD02][2.3] Minor release, only one version now. Hacked to ensure that the max. boot ramp up is only 1.566GHz. If your phone can't handle that, sorry return it .
Added two more governors as modules : "savagedzen" and "hotplug"
Unified release, hack in place to not ramp up to the MAX allowed i.e. (1.836Ghz) so all phones should boot, as the boot max is set to 1.566GHz.
merged some bt code from Cymbaline 1.5 branch.
[RD02-2.2] Please note RAMDISK change, see below
Samsung ondemand governor moved as "ondemand_sammy", did this so that I can merge the standard ondemand and mods w/o creating a merge headache. Due, to this, the SAMMY settings in the RAMDISK modified to reflect the new name.
using linux ondemand with faux mods. (thanks faux123)
added faux's intellidemand as a built-in gov, since I like it (thanks faux123).
reverted the wi-fi optimization, which was causing tethering issues. (hopefully this is fixed)
pre-emptive strike: merged all Govs from 1.5. Please don't complain that I am missing one. As usual all these are in /system/lib/modules. so you would need to "insmod" (see ReedX50v scripts for samples). Here is the remaining ones (please see RD01-2.1 ChangeLog for others)
Code:
/system/lib/modules/cpufreq_brazilianwax.ko
/system/lib/modules/cpufreq_lionheart.ko
/system/lib/modules/cpufreq_lulzactive.ko
/system/lib/modules/cpufreq_ondemandx.ko
/system/lib/modules/cpufreq_wheatley.ko
[RD01-2.1]
BLN Fix: reverted 2.0 changes, should work now
Providing two CWM flashable zips. One OC to 1.8366GHz and another with OC Capped at 1.566GHz.
Upped the voltage to 1350mV as per ReedX50v testing results and recommendation (hit his thanks button).
IMPORTANT: ALL CUSTOM GOVERNORS are compiled a Kernel Modules. Please use init script to enable the ones you want. I have done this so as to eliminate any interference from them.
This version has the following Governors: (Please see Post #420)
Code:
/system/lib/modules/cpufreq_adaptive.ko
/system/lib/modules/cpufreq_badass.ko
/system/lib/modules/cpufreq_lagfree.ko
/system/lib/modules/cpufreq_lazy.ko
/system/lib/modules/cpufreq_pegasusq.ko
/system/lib/modules/cpufreq_smartass2.ko
[RD01-2.0] Major version change. REMOVED SOME GOVERNORS, please restore to stock ondemand before flashing (i.e. disable init scripts or apply on boot settings in whatever app you are using).
Updated to upstream Kernel 3.0.38
Bunch of NetFilter kernel modules in /system/lib/modules for the interested users.
I have removed some governors, please reset to default governor "ondemand", before flashing.
cherry-picked key changes from CAF.
GPU OC (NOTE: please use sysfs interface to change the frequency the default is stock values, see post #2)
3D Mode: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D Mode: 266667000, 228571000, 200000000, 160000000, 96000000, 27000000
Cherry Picked various bits from Samsung Code released for our device.
CPU OC: 192KHz - 186300KHz.
Cleaned up BLN code.
Added some WiFi fixes.
This is mainly a release based of the major overhaul.
Added more I/O Schedulers: BFQ (v3r4), Simple I/O, VR.
[1.5] Please see the posts for the evolution of this version, the last post should detail the final changes (208) #151 , #161 and #208
[1.4] Scaled down the defaul ondemand governor to 1.566 (slight oc). Should perform really well for people satisfied with the defaults.
[1.4] Added more governors for people to play around with, note, I would like to trim it down in futures versions of cymbaline. The newly added ones are (thanks to whoever developed them):
brazilianwax
ondemandx
lionheart
SavagedZen
wheatley
scary
[1.4] Moved init.qcom.post_boot.sh into the ramdisk, to not depend on ROM variances. You should use the /system/etc/init.d hook (of course busybox must be installed).
[1.3] bugfix: the max. freq. was not enabled in 1.2, fixed in this release.
[1.3] some compiler tweaks added building this version of kernel.
[1.2] Restored settings to Stock Governor & I/O scheduler.(ondemand/cfq)
[1.2] BUGFIX: BLN and TouchKey backlight interactions for the "on" settings were conflicting. restored to UCLD2 behavior.
[1.1] Default Governor is tegraks lulzactive.
[1.1] Default CPU Scaling Max. is 1.566MHz.
[1.1] Available Governors (Most governors tuning via sysfs interface please google)
smartass V2
badass
lazy
intellidemand
lagfree
interactive
lulzactive (default)
[1.1] Using Faux's CPU and Voltage table
[1.1] Faux's GPU Overclock (not tunable from userspace)
[1.1] Max Overclockable Frequency: 1.728MHz
[1.0] BLN support.
[1.0] UTF-8 Support.
[1.0] Kernel symbols enabled (some apps require it)
[1.0] init.d: via busybox run-parts, place your scripts in /system/etc/init.d/ (chown root.shell) (chmod 755)
[1.0] insecure (ro.secure=0)
[1.0] adb root
[1.0] adb default shell bash.
[1.0] All IPV6 options enabled.
[1.0] CIFS is a kernel module (/lib/modules/cifs.ko)
[1.0] bootanimation support, drop your favorite bootanimation.zip in /system/media.
[0.0-0.6] Front Camera fully functional WITHOUT any lib hacks for Skyrocket ICS ROMS. Which means keep dont change the libs.
[0.0-0.6] Back Camera working.
[0.0-0.6] Completely removed MMC_ERASE capability, that means with the running kernel any erase to internal sdcard will error out. This is implemented as per the "brickbug" recommendation.
[0.0-0.6] General code merges and cleanup.
​
DOWNLOADS
Click to expand...
Click to collapse
Always, download the latest one, unless you have a need to be on a older version.
[16-OCT-2012] [RD04][2.8] Please read the changelog above.
CYMBALINE-RD04-2.8-cwm5.zip
[16-SEP-2012] [RD04][2.7] Please read the changelog.
CYMBALINE-RD04-2.7-FINAL-cwm5.zip
[12-AUG-2012] [RD03][2.6] Please read the changelog, this post again and post #2 again.
CYMBALINE-RD03-2.6-cwm5.zip
[09-AUG-2012] [RD01-2.3] Please read the changelog, this post again and post #2 again.
CYMBALINE-RD02-2.3-cwm5.zip
[07-AUG-2012] [RD01-2.2] Please read the Changelog and post #2. Again providing two versions, if the 1.8366GHz causes problem booting (e.g. bootloops) flash the 1.566GHz one..
CYMBALINE-RD02-2.2-cwm5-1.836GHz.zip
CYMBALINE-RD02-2.2-cwm5-1.566GHz.zip
[06-AUG-2012] [RD01-2.1] Two versions available for download. If your phone cannot handle the 1.8366GHz (bootloop) then flash the 1.566GHz version
CYMBALINE-RD01-2.1-cwm5-1.836GHz.zip
CYMBALINE-RD01-2.1-cwm5-1.566GHz.zip
[06-AUG-2012] [RD01-2.0] No Overclock version. That is max. CPU is capped at 1.512GHz, use this if you are having bootloops flashing the overclockable to 1.83GHz version. CYMBALINE-RD01-2.0-NO-OC-cwm5.zip (1.512GHz Max.).
[05-AUG-2012]: [RD01-2.0] CYMBALINE-RD01-2.0-cwm5.zip. Please see the change log. (Overclockable upto 1.836GHz).
[27-JUN-2012]: (3.0.8-1.5) CWM Flashable (TouchWiz based ROMS only). Download
[24-JUN-2012]: (3.0.8-1.4) CWM flashable. ICS ROMS (SAMSUNG TouchWiz based) ONLY. NOTE: THIS WILL REPLACE YOUR /system/lib/modules with a symlink to kernel modules (Please see revert section). (installation, just flash in CWM nothing else). CYMBALINE-1.4-cwm5.zip
REVERTS
Click to expand...
Click to collapse
[STOCK-UCLF6] (Official Samsung/ATT Stock Kernel). CWM5 flashable. kernel-sgh-i727-UCLF6-cwm5.zip
[STOCK-UCLE2]: CWM flashable. ATT SKYROCKET, ICS BUILDS ONLY. Download
KNOWN ISSUES/BUGS
Click to expand...
Click to collapse
None as of now.
ADD ON/APPS
Click to expand...
Click to collapse
​
As far as I know (not tried it), only SystemTuner provides the "lipstick" for reading the voltage table and allowing you granular control of the voltage for each frequency.
Most of the other apps, can I believe allow you to change the CPU/IO scheduler/Govs, safely.
Or, if you are hardcore, please see this post 249 by ReedX50v (hit his thanks button), for graciously providing flashable init scripts, you can use one as a template to what works for you.
SOURCE AND OTHER INFO
Click to expand...
Click to collapse
As per GPL requirements, I will post the source as soon as I have me repo setup. The current version is built straight from SAMSUNG Sources for the Korean SKYROCKET LTE. You can build it yourself from here:
Source Git Hub Repo: https://github.com/mohankr/android_kernel_samsung_msm8x60.git
CREDITS/THANKS
Click to expand...
Click to collapse
Although, there was a lot of effort involved in bringing this kernel, but without the following people doing the heavy lifting, it would not be possible..to bring it so quickly.
Faux123 (for majority of the heavy lifting) (gov, oc, uv and gpu). I just ported it over to our device kernel.
tegrak (lulzactive governors)
creams (bln)
romanbb (bln)
DaG (bln)
ReedX50v for providing flashable scripts.
samsung, for at least releasing the source for a similar device, so i could bring this..
whoever were the original authors for the governors included, that were not part of the source.
Click to expand...
Click to collapse
reserved
1) ROM Developers Info.
If you are planning to bundle this kernel in your ROM. The Samsung init.qcom.post_boot.sh has been disabled and moved to the ramdisk. Your changes should be incorporated in /system/etc/init.d scripts (of course need busybox installed). NOTE: the init scripts always execute after the above script, so you can always override the values there.
2) How do I find the available governors?
Below adb command, will tell you what the available governors in the kernel are (assumes adb/rooted) (shown in 1.4 kernel):
Code:
$ adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
brazilianwax ondemandx SavagedZen wheatley scary smartassV2 badass lazy intellidemand lagfree lulzactive interactive conservative ondemand userspace powersave Lionheart performance
3) Sysfs interface for GPU OC?
The GPU OC Modes are supported:
Available frequencies:
Code:
3D: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D: 266667000, 228571000, 200000000, 160000000, 96000000, 27000000
The default (and the default in CYMBALINE Version 2.0 and above) stock values are:
Code:
3D @266MHz and [email protected]
To change the values use the sysfs interface here are the relevant samples to max it all out. (you can make an init script to make it permanent)
Code:
#!/system/bin/sh
echo "Overclocking GPU"
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk
echo "End"
exit 0
4) Why does the CPUSpy show reaching max. CPU frequency, even though the bundled values 1.52GHz?
This is caused by SAMMY ROM ramping up the CPU's to the Max. during boot. I am looking for a clean way for this to not happen, once I find the source (I have few things narrowed down)...
This is really exciting! Read about this in your other thread and started to pitch a tent.
Bluetooth is not a deal breaker for me so let me know if you need a tester for camera.
Can test on whatever rom needed. Stock, etc.
Sent from my SAMSUNG-SGH-I727 using xda premium
Can't wait to download this when Bluetooth & camera are fixed.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Some more great work from you mohan. Have you been looking for any possible bln/overclock patches now that you have the source? I'm happy to help in any way I can.
jomeister15 said:
Some more great work from you mohan. Have you been looking for any possible bln/overclock patches now that you have the source? I'm happy to help in any way I can.
Click to expand...
Click to collapse
Thanks. Yes, those will be the first in the TODO list..Also, people have pointed to other interesting kernel mods (like siyah)..Once the source is up I am hoping it will spur involvement from everyone, that will be great..
BLN support?
raviluke said:
BLN support?
Click to expand...
Click to collapse
Umm, look up one post?
The cm9 and aokp guys are gonna love this.
Sent from my SAMSUNG-SGH-I727 using xda premium
if da_G or faux123 does their magic with the kernel for aokp/cm9 now that teh source is avail that would be lovely .
truly
Those guys are long gone..
Sent from my SAMSUNG-SGH-I727 using xda premium
Well, good thing folks like the OP are still around then...
Thought I was noticing a theme in your rom/kernel names and was going to ask if this (and Embryo) were named for Pink Floyd songs.
But then I thought I'd use Google before asking and I found your post stating that Embryo was in fact named as a dedication to the Pink Floyd song (here: http://forum.xda-developers.com/showpost.php?p=25925976&postcount=287 ).
Would love to see you do something -- anything -- with the song, "Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a Pict"
ReedX50v said:
Well, good thing folks like the OP are still around then...
Click to expand...
Click to collapse
Agreed
Sent from my SAMSUNG-SGH-I727 using xda premium
mindmajick said:
Those guys are long gone..
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Da_g is gone, he got a g-note i believe? But i'm sure faux will make an ICS kernel once the official i727 kernel source is released.
T989 source is here.
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T989
3rd one down.
Sent from my SAMSUNG-SGH-I727 using xda premium
Wow thanks, mohan you rock
mindmajick said:
T989 source is here.
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T989
3rd one down.
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Thanks..let's see if they left the the key bluetooth files..i got camera to work w/o preview..
EDIT: cool..the bits are there ..now to compile and boot..
oh crap I forgot about mohan . apologies
Nice. Nice. Nice. Nice. Nice.
Uc/UV here we come
sent from my I727 TROLLING DEVICE using XDA premium.

[KERNEL][12/31] rohan.kernel.b7 [Linux 3.0.57][GCC 4.7][2.0ghz][S2W][INTELLI][SIO]

rohan.kernel alpha builds
for the HTC One XL​
Meant for AOSP JB 4.1.X ROMs ONLY
THIS WILL NOT WORK ON 4.2.X ROMS!!!​
Features:
Code:
-Overclock-able to 2.0ghz
-Undervolted
-Loads of CPU Governors (recommended: intellidemand)
-Loads of I/O Schedulers (recommended: simple i/o)
-User controllable voltage table based off of sysfs
-XZ Compression
-sweep2wake
-Linux 3.0.57 (latest release from 3.0.x branch)
-GCC 4.7.2 Linaro Toolchain Compilation
-lowmemorykiller fixes
-Tweaked I/O Schedulers
-zRAM enabled
-Tweaked KSM
-Disabled fsync
-Increased readahead buffer
-self-powered OTG support
-NTFS read/write support
-decreased cache pressure for faster fs
-camera app flash till 5%
-various other tweaks for stability and performance
HOW TO INSTALL:
If you are on the older HBoot:
1) Flash the kernel zip in recovery
2) Wipe dalvik cache
3) Reboot and configure it to your liking
If you are on the newer HBoot:
1) Flash the kernel boot.img from the zip using fastboot
2) Reboot into recovery
3) Flash the kernel zip to install the modules
4) Wipe your dalvik cache
5) Reboot and configure it to your liking
Want to see this kernel in action? Watch this video!
Thanks to XsMagical and Team Nocturnal for the video!​
What is coming soon:
Code:
-Fast Charge for ROMs that support it (such as AOKP JB)
What I hope to add but no promises:
Code:
-MSM DCVS governor
-GPU control
-Gamma/Color control (tightly integrated... there is loose integration with current 3rd party apps)
What is never coming so don't ask:
Code:
-BS patches and features
Download: http://code.google.com/p/rohan-kernel-evita/downloads/list
b6 and onwards include two versions: a NORMAL version and a NOVC version. First try the NORMAL version. If that does not work correctly, then try the NOVC version, which includes all features except voltage control.
Click to expand...
Click to collapse
Recommended values:
192mhz Minimum
1.98ghz Max
I/O: sio
CPU Gov: intellidemand
Use an app like No Frills CPU Control and set the values you want at boot.
These are extremely alpha builds. They are not fully tested and may brick your device. If something does happen to your device, you are not to blame myself or any others involved in this kernel. Flashing this is solely your responsibility and if something happens, blame yourself. Always make a backup before flashing. Making a nandroid of your boot partition takes a few seconds but could help you save your device from bricking.
--------------------------------------------------------------------------------------------------​
My goal for this kernel is to make it simply an enhanced stock JB kernel.
If you enjoy my work or would like to encourage further development, then please consider donating. All of my money comes from donations as I am currently in high school. They are never required but always appreciated. My link is under my name on the left.
GPL: https://github.com/rohanmathur/rohan.kernel.elite
Changelog:
Dec 31 - rohan.kernel.b7
Code:
Changelog:
-Updated to Linux 3.0.57 (most recent from kernel.org)
-Includes many bug fixes & improvements
-Stability increased greatly
-Proper CPU1 Control Workaround (thanks jrior001)
-Tweaked KSM values
-Bumped GPU frequencies very slightly for smoothness
-Several cache improvements
-Many CPU frequency and GPU frequency scaling improvements
-Optimized cryptology algorithms (thanks faux123)
-Compiled with GCC 4.7.2 Linaro toolchain (thanks vanja_z... really nice work with this)
Nov 25 - rohan.kernel.b6
Code:
Changelog:
-Updated to CM status:
*Linux 3.0.52
*Switched to ION audio instead of pmem and a new memory setup
-Allow flash to work till 5% battery (previous was 15%)
-Decreased the cache pressure on certain fs
-Reverted to stock voltage values
-Other various tweaks and fixes
Nov 02 - rohan.kernel.b5
Code:
Changelog:
-sweep2wake implemented; still needs some tweaking
-deadline I/O scheduler tweaked for optimum performance
Oct 29 - rohan.kernel.b4
Code:
-Updated to latest CM kernel status which entails:
* Linux version 3.0.48
* USB OTG support (self-powered)
* NTFS read/write support
-Attempted to fix some of the cpufreq issues some people were having
-Removed a little more junk from the kernel
Oct 12 - rohan.kernel.b3
Code:
-Completely rebased off of CM10's new unified kernel, which brings with it:
100mb more RAM
Linux 3.0.45
Various other fixes and changes
-User-controllable voltage table for AOKP's ROM Control (other apps may work too)
-Removed 0.5mb of junk from the kernel (now 3.8mb in total)
-Various other fixes, tweaks, and mods
Sept 26 - rohan.kernel.b2
Code:
-Overclock up to 2.0ghz (user-selectable)
-Set intellidemand as the default CPU governor
-Removed interactiveX and brazillianwax (causing issues)
-Tweaked Deadline I/O Scheduler
-Linaro -O2 compiliation and various optimizations
-XZ Compression (reduced kernel size by nearly 20%!)
-AC Charging mode for unknown chargers
-Improved kernel logic
-Better lowmemorykiller values
-Various other smaller tweaks
-Undervolted
Sept 17 - Initial Release
--------------------------------------------------------------------------------------------------​
Thanks to:
h8rift - for being inspirational in his charge for CM and his fantastic work on CM10 and the stock kernel
intervigil - for his fantastic work on the msm8960 kernel and his work on ville (the One S)
show-p1984 - for his initial sweep2wake goodness on the international HOX
sbryan12144 - for his great work in porting sweep2wake over to our device, and for other misc commits
zarboz - for his great work in porting sweep2wake over to our device
faux123 - for being an inspiration for kernel development and a master at what he does, along with some misc commits
jrior001 - proper CPU1 control
vanja_z - GCC 4.7.2 Linaro compilation
Donators - you guys rock!
HOX Community - for always providing feedback, whether good or bad, and encouraging me to continue
Can I ask why only for AOSP?
Sent from my HTC One XL using xda premium
austinsnyc said:
Can I ask why only for AOSP?
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Because I do not want to manage 2 kernels at the same time, on top of my three ROMs. I will be including some ramdisk tweaks in the future, and the ramdisks vary between AOSP and Sense.
austinsnyc said:
Can I ask why only for AOSP?
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Because who uses Sense when you have AOSP
Sent from my One X using xda app-developers app
Rohan, you gonna implement the kernel into your ROMs once its more stable... and OTG would be great! Awesome work :thumbup:
Sent from my One XL Evita
C3RGIOSE1 said:
Rohan, you gonna implement the kernel into your ROMs once its more stable... and OTG would be great! Awesome work :thumbup:
Sent from my One XL Evita
Click to expand...
Click to collapse
Nope, I'll be keeping this kernel separate. If a user wants this kernel, then they can flash it on top of my builds I don't want to force the user to use anything they don't want.
Wow Rohan, you have been busy lately!
:highfive:
---------- Post added at 02:28 PM ---------- Previous post was at 02:26 PM ----------
Any chance we'll see the additional free RAM from the Android 4.0.4 Sense ROMs, or is that not a kernel thing?
Silellak said:
Wow Rohan, you have been busy lately!
:highfive:
---------- Post added at 02:28 PM ---------- Previous post was at 02:26 PM ----------
Any chance we'll see the additional free RAM from the Android 4.0.4 Sense ROMs, or is that not a kernel thing?
Click to expand...
Click to collapse
Most probably not, its not worth the effort IMO. Unless its something easy, that is.
Running great on build 2 of AOKP. Got a good solid base here to work with. I would like to say thanks to u and h8 for all the hard work.
Sent from my One X using Tapatalk 2
oh hell yea, going to give it a try now
Yes if OTG could be made to work that would be amazing, imagien being able to hook up a USB stick to transfer files or be able to use apps that make use of OTG yummy
Sent from my HTC One XL using xda premium
Getting a lot of reboots... Restored to backup
I must say that I am thoroughly impressed with you rohan!! You are putting in so much blood, sweat and tears into this community, and I (and I know others) are immensely grateful! Keep up the great work! Will try the kernel again beta 2!!!
Sent from my One X using Tapatalk 2
throwing this bad boy onto a fresh and fully wiped install of your AOKP Build 2, i'll check back in with some feedback soon !
rohan32 said:
Most probably not, its not worth the effort IMO. Unless its something easy, that is.
Click to expand...
Click to collapse
Makes sense! Thanks
mikelebz said:
Getting a lot of reboots... Restored to backup
I must say that I am thoroughly impressed with you rohan!! You are putting in so much blood, sweat and tears into this community, and I (and I know others) are immensely grateful! Keep up the great work! Will try the kernel again beta 2!!!
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
Yeah I got like 2 or 3 initially but it seems fine. I think it happens right after you tweak the CPU settings. I'll be looking into it.
rohan32 said:
Nope, I'll be keeping this kernel separate. If a user wants this kernel, then they can flash it on top of my builds I don't want to force the user to use anything they don't want.
Click to expand...
Click to collapse
Respekt, thanks for all hard work!
Sent from my One XL Evita
Benchmark screenshots added to 2nd post for those who care about them.
Nice work thanks. A few reboots for me too.
Sent from my One X using xda premium
And here I was thinking H8 was running this AOSP show...
Sent From My JellyBean That Eats Apples And Poops Awesomeness

[Kernel][5.1][Stock/GPE][Linaro 5.3] KaminariKernel R3 [7 July 2016]

KaminariKernel​
Code:
#include "std_disclaimer.h"
/*
* Your already voided warranty is now void again.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh my *** off at you.
* Really hard.
*/
Yo! This thread contains two kernels (regular and SuperLite). If you wanna see what SuperLite is, then go here. You should read everything before moving onto the downloads section.​
Hiya fellas.
This is my modded kernel for our loved Moto G 1st gen. In the beginning I decided to keep it for my personal use only, but then I decided to share it with you guys since there was no custom kernel compatible with the 5.1 stock rom.
Features:
Sources & Optimizations
- Based on Motorola's shared falcon/peregrine source
- Compiled with generic Linaro 5.3 toolchain
- Compiled with -O3 optimization & some more flags (e.g. Pipe flag)
- Optimized ARM RWSEM & Square Root algorithms
- Kernel-side NEON mode
- Some miscellaneous armv7 tweaks
Click to expand...
Click to collapse
Hotplugging Drivers
- Ye Olde MPDecision
- AutoSMP
Click to expand...
Click to collapse
Extra CPU Governors
- Bioshock
- Dancedance
- Impulse
- Lionheart
- Smartmax
- Yankactive
- Yankdemand
- Zzmoove
Click to expand...
Click to collapse
Extra I/O Schedulers
- Bfq
- Fiops
- Sio
- Vr
- Zen (Default)
Click to expand...
Click to collapse
Sound
- Faux's Sound Control
- Headset High Performance Mode
Click to expand...
Click to collapse
Screen/GPU
- Kcal Screen Control
- Dt2w/s2w
- State Notifier driver
- Adreno Idler
- GPU overclock & underclock (533MHz/100MHz)
Click to expand...
Click to collapse
Extra Sh*t
- USB Fast Charge
- Disabled gentle fair sleepers
- Extra TCP Congestion Controllers
- HID Driver (Use your phone as a USB keyboard/mouse)
- Compass & Accelerometer drivers now use State Notifier
- Fsync enabled by default
- Kexec-hardboot patch (for multirom compatibility)
- Power-efficient workqueues
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads:
Regular Version
Overclock-Ready Version
Click to expand...
Click to collapse
Looking for previous releases?
- All releases until 1.2.3: Go here
- All releases from 1.3 onwards: Go here
- KaminariLite (discontinued): Go here
- KaminariSL (previously Optimized Stock): Go here
Click to expand...
Click to collapse
Got into trouble and need to go back to the stock kernel?
Then you should click this link here, bud!
Click to expand...
Click to collapse
Flashing & Tweaking Instructions (Follow this very carefully!!!):
- Place the zip at the root of your phone's internal storage (This is very important! If you flash the zip from a subfolder, you'll be left without wi-fi!!!)
- Reboot into recovery
- Flash the zip
(Another way: Reboot into recovery without copying the zip, and flash it via adb sideload)
- (Optional) Wipe cache and/or ART cache
- Reboot and have fun!
Coming from another kernel? Then I suggest you to (at least!!!) dirty flash your stock rom and kernel in order to avoid any issues!
Wanna tweak it? Use Kernel Adiutor! (I do NOT support Synapse!!!)
Click to expand...
Click to collapse
Want some info on what this kernel offers you?
Then go here! (Credits to @AssToast for suggesting and to @gsstudios for creating the site!)
Click to expand...
Click to collapse
"Thank You" Section
- Motorola/Lenovo, for putting up them sources
- The CyanogenMod team
- @Flashhhh, his work kinda inspired me to do this
- @Aayushya, he provided the initial cherry-picks
- @faux123, for Sound Control & Intellithermal
- @savoca, for Kcal Screen Control
- @hurtsky, a huge load of cherry-picks came from his sources
- @Alberto97, for the Linux version bumps (.43 up to .109)
- @YoshiShaPow, for some more stuff
- Some more fellas whose names I can't remember
Click to expand...
Click to collapse
XDA:DevDB Information
KaminariKernel (Lollipop-Falcon), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/tree/L
Kernel Special Features: Read above!!!
Version Information
Status: Stable
Current Stable Version: R3
Stable Release Date: 2016-07-07
Created 2015-09-07
Last Updated 2016-07-09
F.A.Q. (Read this before crying!!!!)
Q: Why did you develop this kernel?
A: Read the OP.
Q: ERMAHGERD DIS KERNEL SUCKZ, MAH BATTERY IS DEAD IN 30 MINS, PLZ HALP!
A: When I created this kernel, I never had the intention to have it decrease battery life. So before / instead of complaining, go check your f***ing wakelocks and fix them! The kernel isn't responsible for this, your apps and/or services are.
Q: Will this kernel work on AOSP/CM12.1/CM13 ROMs?
A: Go here for that.
Q: Will this kernel work on the GPE ROM?
A: Yes. And it'll also allow you to use this ROM without having to format /data to ext4.
Q: How do I report bugs?
A: If you wanna report a bug, then grab your kernel log - either by pulling /proc/last_kmsg (in case of a random reboot / kernel panic or oops) or copying the output of "dmesg" via shell - and paste it at pastie.org and link it in your post (or save it to a text file and attach it to your post). Don't bother getting logcats, they don't apply for kernel debugging purposes.
Q: How do I flash this?
A: I suggest you scroll up and read the OP. The instructions are there.
Q: How do I tweak this kernel?
A: Download Kernel Adiutor from the Play Store and have fun. For Synapse, scroll up and read the OP first.
Q: This kid is such a n00b!
A: Oh well then, why don't you go work on a kernel yourself, instead of criticizing my work and, by doing so, wasting your time?
Click to expand...
Click to collapse
Kaminari SuperLite (previously "Optimized Stock Kernel")​
Since KaminariLite has been discontinued, and Kaminari has become cleaner regarding features, I've been working on a version closer to the stock kernel, only more optimized.
Enter Kaminari SuperLite!
Diferences between this & the stock kernel:
- Compiled using generic Linaro 5.3 toolchain
- Bumped to Linux version 3.4.112
- Compiled with -O3 and misc optimization flags flags (Same as Kaminari)
- Most if not all of Kaminari's optimizations have been applied
- All governors except Interactive removed
- Supports both stock and GPE roms, regardless of filesystem (f2fs or ext4) used on /data
- Adds init.d support
- Default ZRAM size changed to 400MB
Click to expand...
Click to collapse
Differences between this & Kaminari:
- All governors except Interactive removed
- AutoSMP removed
- All TCP congestion algorithms except Westwood and Reno removed
- Additional I/O schedulers (zen, vr, sio, fiops, bfq) removed
- All non-essential features (FauxSound, Kcal, Dt2w...) have been removed
- Stock PowerHAL has been re-enabled
- Compressed using LZO (Kaminari uses XZ)
Click to expand...
Click to collapse
Wanna give it a try?
Click this link here!
Click to expand...
Click to collapse
Flashing & Tweaking Instructions:
Same as Kaminari.
Coming from regular Kaminari? Wipe your Kernel Adiutor data first! If you can flash the stock kernel before flashing this, it's even better!
Click to expand...
Click to collapse
Reserved!!!
Reserved again
null
Wow m first...
---------- Post added at 08:25 AM ---------- Previous post was at 08:17 AM ----------
Just flashed it...buttery smooth...smartmax works like charm and yeah happy to see the kcal screen control...thanks kaminari for this amazing kernel...
So it is only for stock 5.1 right?
Edit: Working smoothly on stock 5.1
Keep it up.
Working great on XT1031 with stock 5.1. Nice job!
@kingkaminari thanks for kernel. Any chance in future to add support for Aosp roms? that would be great.
Sent from my Moto G using Tapatalk
akshayk01 said:
@kingkaminari thanks for kernel. Any chance in future to add support for Aosp roms? that would be great.
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
No, no plans for aosp/cm support yet - mainly because of my limited knowledge. But i'll consider making a version supporting these two
New build in the works! Just trying to fix a bug where all CPU cores stay online (needless to say that this causes a gigantic battery drain)
New build up!
https://www.androidfilehost.com/?fid=24052804347811341
https://www.androidfilehost.com/?fid=24052804347811344 - "Mori" version - with S2W/DT2W
Changelog here.
I'm getting an update binary execution error with TWRP, with both new builds. I tried disabling the device check in the anykernel.sh but no go. Also, I noticed in the init.kaminari.rc file in the zip, there is a typo in the power mode lines. It has 2 lines for cpu2 and none for cpu3. I just noticed the same thing with Optimus V41 Prime earlier today.
amarc78 said:
I'm getting an update binary execution error with TWRP, with both new builds. I tried disabling the device check in the anykernel.sh but no go. Also, I noticed in the init.kaminari.rc file in the zip, there is a typo in the power mode lines. It has 2 lines for cpu2 and none for cpu3. I just noticed the same thing with Optimus V41 Prime earlier today.
Click to expand...
Click to collapse
The previous zips i made here worked fine (i flash them through adb sideload). And i just fixed the init.kaminari.sh. Plus i've fixed s2w/s2s in the Mori version (dt2w is still partly broken though).
New build up!
Version: 0.96b
Download: Regular Version | "Mori" Version (DT2W)
Changelog here, but for those who don't wanna go there:
- Fixed s2w (dt2w halfscreen is still broken)
- Fixed derp in init.kaminari.sh
GPE users, please test my builds if you can / feel courageous enough to do it
I give up, except for the first build, they won't flash in recovery for me.
amarc78 said:
I give up, except for the first build, they won't flash in recovery for me.
Click to expand...
Click to collapse
I'll upload a zip without anykernel later. Btw, which version of twrp are you on? And do you have sufficient space in /system? Because this kernel pushes modules to it. I'm on twrp 2.8.7.0 + a modified stock rom, and i've had zero flashing errors so far
For those who are having problems with anykernel, i've uploaded special flashable zips without it.
Version is still 0.96b.
Downloads: Regular | DT2W
Version 096b flashed without any problems.
Just put the zip in the root of internal storage.
cool everything is just superb @kingkaminari hope you keep updating this kernel

[Discontinued][Kernel][AOSP/LineageOS/MIUI] KaminariKernel R12 [04 March 2018]

This project is no longer being maintained. I'm no longer developing for the G1/G2 family.
KaminariKernel​
Code:
#include "std_disclaimer.h"
/*
* Your warranty is now more void than it already was.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will simply grab my popcorn and laugh at you.
*
* Tl;dr: if your device crashes and burns, and if that gets you in trouble, it's entirely your fault. [STRIKE]Might be my fault as well, because I'm not a developer, but I don't care. lol[/STRIKE]
*/
Hiya fellas.
This is a sister project to my original (and ridiculously outdated) kernel for stock ROMs only. The version in this thread is the one designed to work with anything that isn't the stock firmware, i.e., AOSP, AospExtended, LineageOS, Resurrection Remix,... You name it. Even MIUI, which can be a b**** to get custom kernels supported on.
Features:
Sources & Optimizations
- Based on Lineage's shared falcon/peregrine/titan/thea sources
- Compiled with Linaro 4.9
- Optimized ARM RWSEM & Square Root algorithms
- Kernel-side NEON mode
- Some miscellaneous armv7 tweaks
Click to expand...
Click to collapse
Hotplugging Drivers
- MSM Hotplug
Click to expand...
Click to collapse
Extra CPU Governors
- Impulse
- Smartmax
- Yankactive
- Zzmoove
Click to expand...
Click to collapse
Extra I/O Schedulers
- Bfq
- Fiops
- Sio
- Vr
- Zen
Click to expand...
Click to collapse
Sound
- Faux's Sound Control
- Headset High Performance Mode
Click to expand...
Click to collapse
Screen/GPU
- Kcal Screen Control
- Dt2w/s2w
- Simple GPU Algorithm
- GPU overclock & underclock (533MHz/100MHz)
Click to expand...
Click to collapse
Extra Sh*t
- CPU Overclock (up to 1.6 GHz) (Overclocked version only)
- USB Fast Charge
- Disabled gentle fair sleepers
- Extra TCP Congestion Controllers
- Fsync enabled by default
- Kexec-hardboot patch (for multirom compatibility)
- Power-efficient workqueues
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads:
Unified Marshmallow & Nougat (CM/LineageOS 13 & 14.x)
Click to expand...
Click to collapse
Looking for previous releases?
Go here.
Click to expand...
Click to collapse
Flashing & Tweaking Instructions (Follow this very carefully!!!):
- Place the zip at the root of your phone's internal storage
- Reboot into recovery
- Flash the zip
(Another way: Reboot into recovery without copying the zip, and flash it via adb sideload)
- Reboot again and have fun!
Coming from another kernel which isn't mine? Don't worry, no need to dirty flash the ROM/kernel anymore. The install script now does all the dirty work for you.
If you wanna "tweak ALL the things", use Kernel Adiutor! (Synapse is NOT supported!)
Click to expand...
Click to collapse
Want some info on what this kernel offers you?
Then go here! (Credits to @AssToast for suggesting and to @gsstudios for creating the site!)
Click to expand...
Click to collapse
"Thank You" Section
- Motorola/Lenovo
- Qualcomm/CodeAurora
- The CyanogenMod team
- @Flashhhh, his work kinda inspired me to do this
- @faux123, for Sound Control & Intellithermal
- @savoca, for Kcal Screen Control
- @hurtsky, a huge load of cherry-picks came from his sources
- @YoshiShaPow, for some more stuff
- Some more fellas whose names I can't remember
Click to expand...
Click to collapse
XDA:DevDB Information
KaminariKernel (AOSP/LineageOS, Falcon), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/
Kernel Special Features:
Version Information
Status: Abandoned
Current Stable Version: R12
Stable Release Date: 2018-03-04
Created 2016-01-13
Last Updated 2018-05-17
F.A.Q. (Read this before crying!!!!)
Q: Why did you develop this kernel?
A: Because I wanted to
Q: ERMAHGERD DIS KERNEL SUCKZ, MAH BATTERY IS DEAD IN 30 MINS, PLZ HALP!
A: When I created this kernel, I never had the intention to have it decrease battery life. So before / instead of complaining, go check your f***ing wakelocks and fix them! The kernel isn't responsible for this, your apps and/or services are.
Q: Will this kernel work on AOSP/CM12.1/CM13 ROMs?
A: Works on any ROM as long as it isn't stock . So yes, it does. AOSP, CM LineageOS, RR... Any of these.
Q: How do I report bugs?
A: If you wanna report a bug, then grab your kernel log - either by pulling /proc/last_kmsg (in case of a random reboot / kernel panic or oops) or copying the output of "dmesg" via shell - and paste it at pastie.org and link it in your post (or save it to a text file and attach it to your post). Don't bother getting logcats, they don't apply for kernel debugging purposes.
Q: How do I flash this?
A: I suggest you scroll up and read the OP. The instructions are there.
Q: How do I tweak this kernel?
A: Download Kernel Adiutor from the Play Store and have fun. No Synapse support!
Q: This kid is such a n00b!
A: Oh well then, why don't you go work on a kernel yourself, instead of criticizing my work and, by doing so, wasting your time?
Click to expand...
Click to collapse
Reserved
Reserved
Okay... Last reserved.
Our first test build is up! Link is at the OP.
It's still a very early test build and it may (and probably does) contain issues (serious or not). You've been warned.
This build should fix PowerHAL not being disabled.
Great work. Zero bugs in the short time since flashing. Thanks.
Hello King Kami Nari , , , Kami nari Kami Nari
What hotlplug is provides in your kernel ??
King Kami Nari
BhavikRB said:
Hello King Kami Nari , , , Kami nari Kami Nari
What hotlplug is provides in your kernel ??
King Kami Nari
Click to expand...
Click to collapse
MPDecision.
Sir King Kami Nari ,
Have you modified Interactive ?
kingkaminari said:
Created 2016-01-13
Last Updated 2016-01-12
Click to expand...
Click to collapse
Lol? xd
So far so good with the kernel thanks!
@kingkaminari Wow, finally! flashing it right now, thank you so much!
I hope to see the rest of the features present on 5.1 here on M and Thank you so much!
@kingkaminari
Will not let me change the minimum frequency of the CPU whenever I lay below 787 MHz to 5 minutes switches to the same, Tube to disable the "MPDecision" so that the frequency is not changed (sorry my english im use google traductor)
espaciox99 said:
Lol? xd
So far so good with the kernel thanks!
Click to expand...
Click to collapse
Yeah . There's this little derp with the dates lol
espaciox99 said:
@kingkaminari
Will not let me change the minimum frequency of the CPU whenever I lay below 787 MHz to 5 minutes switches to the same, Tube to disable the "MPDecision" so that the frequency is not changed (sorry my english im use google traductor)
Click to expand...
Click to collapse
Didn't have that problem here. My phone's minimum frequency stays at 300MHz all the time. Try another governor. And don't disable mpdecision
BhavikRB said:
Sir King Kami Nari ,
Have you modified Interactive ?
Click to expand...
Click to collapse
No. Interactive has been left untouched.
If you come from Hurtsky's Hybrid Kernel or Flashhhh's Optimus Kernel, don't forget to re-enable MPDecision - just rename /system/bin/mpdecisionbak to /system/bin/mpdecision.
kingkaminari said:
Didn't have that problem here. My phone's minimum frequency stays at 300MHz all the time. Try another governor. And don't disable mpdecision
Click to expand...
Click to collapse
Try and several governors and feel the same, the only solution is to disable "MPdecision"
EDIT: The problem is when you lock the phone, no matter how infrequently the minimum of changes to 787mhz cpu and if I turn off the mpdecision not happen
espaciox99 said:
Try and several governors and feel the same, the only solution is to disable "MPdecision"
EDIT: The problem is when you lock the phone, no matter how infrequently the minimum of changes to 787mhz cpu and if I turn off the mpdecision not happen
Click to expand...
Click to collapse
I actually was having a similar problem to this not long ago but not this particular kernel.
Just fooling around I found that if I flashed any kernel after rebooting system I would have the problem you described, however if I flashed the ROM, Gapps, and kernel in recovery all together before initial boot everything works as it should.
Not sure why this is but I have experimented and it is the only solution I have found so far.

[i9305][KERNEL][CM13][BOEFFLA]UNOFFICIAL Boeffla Kernel ported to i9305

Hi all,
this is the thread about the CM version of the well-known Boeffla-Kernel for the Samsung Galaxy S3 lte.
Note: This kernel is only for CM based roms!!! Do not install it on a Samsung based rom!!!
For Omnirom, please do not use the CM kernel but the separate Omnirom kernel I also provide.
If you have questions to settings, presets, others configuration and wanna share your configuration, head over to the unofficial Boeffla-Config App Config sharing thread:
http://forum.xda-developers.com/showthread.php?t=2621308
Support
First read about "Known Issues" in 2nd post!
FirstSecondly read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app.
Click here to learn about using the config app.
I will refuse any support if you do any undervolting and experience freezes or hot reboots.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it. Test w/o Xposed first, if issue still occurs then report here. If issue doesn't occur anymore, also report here so I can list under "Xposed known issues"
Lastly, if you are using one of the latest versions with anykernel, please read this before proceeding
Lord Boeffla said:
Hi all,
it is time for the first CM13 kernel with the new anykernel concept.
Before you start, make sure you have read and understood the following:
http://boeffla-kernel.de/index.php/7...new-anykernels
If you ask questions which are addressed in this article, or you have issues which are a consequence of not reading the article, I will not answer. It is your responsibility to understand what you do BEFORE you do it.
(and also read this for more background: http://boeffla-kernel.de/index.php/6...ernels-new-app)
Side note:
Although the kernel is now likely to be much more compatible with custom roms using CM basis, I will not change my support conditions at all. If you report an issue on a non-original CM rom, do not expect me to react (http://boeffla.de/index.php/support/support)
Ensure you update to latest Boeffla-Config App 2.3.1 BEFORE you flash the new kernel !!!
Enough threatening now, here we go:
Version 5.1-beta1
12.07.2016
Note: This is the first Boeffla-Kernel with the new anykernel concept.
Make sure you read and understand the basics: Boeffla-Anykernel Know-How and New concept kernels/New app
Note: You have to use Boeffla-Config version 2.3.1 or newer in order to use all functionality !!
This kernel as exactly the same functionalities as the last stable kernel release
Enjoy
Andi
Click to expand...
Click to collapse
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Features
* To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from here: DOWNLOAD
* Support for generic framework naming convention framework-2.jar instead of proprietary rom framework names
* Upstreamed to Linux 3.0.101(www.kernel.org)
* CPU "soft" overclocking to 1500 or 1600 MHz
* CPU undervolting interface
* GPU frequencies configurable (underclocking, overclocking up to 700 MHz)
* GPU voltages configurable (undervolting, overvolting)
* Configurable zRam
* Configurable touch-to-wake
* Configurable touch boost frequency
* Configurable early suspend time (for screen off animations, 100ms default)
* Configurable LED for fading mode, speed and brightness
* Softkey touch button LEDs controllable
* Configurable charger rate for AC, USB and wireless (default increased to 1100 mA for ac charging)
* Charge information display support via Boeffla-Config V2 app
* Charging logic supports ignore unstable power and remove safety margin
* Boeffla-Sound engine V1.7.1 to unleash the power of the Galaxy S3 audio chip
* Additional governors: zzmoove 0.8, pegasusqplus, smartassv2 and lulzactiveq
* Governor profiles for pegasusq, pegasusqplus and zzmoove for performance, battery saving etc.
* Additional schedulers: ROW, ZEN, BFQ (v6r2) and SIO
* Schedulers configurable separate for internal and external SD memory
* Hardcore speedmod sharpness fix implemented (default is off)
* Black crush fix for better balanced display
* SD card read ahead buffer configurable separate for internal and external SD memory (default increased to 256 kB)
* Ext4 File system tweaks (default to on, can be disabled)
* System Tweaks predefined supported (default is off, new Mattiadj tweak set included)
* WIFI Multicast filter for better battery life
* WIFI wakelock times reduction
* Proportional rate reduction for TCP
* TCP congestion changed from Cubic to Westwood
* Wifi mac address change support
* Dynamic fsync 1.2 implemented
* Timeout for external SD card changed to improve handling of crappy SD cards
* Swap supported (but not recommended, use zRam instead)
* init.d support (in /system/etc/init.d - set correct permissions!)
* NTFS (read-only access only!) compiled as a module
* CIFS compiled as a module
* NFS compiled as a module
* XBox controller support as module
* exFat support (if supported by used firmware)
* Battery monitor wakelocks reduced
* Android logger can be disabled
* Disabled various debug logs and traces
* Frandom compiled as a module (for mods like Crossbreeder)
* Triangle away supported
* Automatic EFS backup to external (priority) or internal SD Card (fallback) - now compatible with tools like kTool
* Kernel initialisation log file (with history of 3 log files)
* Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
* Compatibility to common standard apps (Voltage Control, SetCPU, System tuner etc.)
* Compiled with Google arm 4.8 toolchain
* Internal kernel busybox version 1.24.2
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
Downloads over at my AFH Folder
History
Basically I created the Samsung version of Boeffla-Kernel as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!! Which in fact for the CM kernel means now... close to CM kernel sources.
This said, I will definitely NEVER implement:
dual boot (I do not need it)
color "calibration"
real hard overclocking higher than 1600 MHz as this is outside of Exynos specs
f2fs - it is known to cause various issues and compatibility problems
a CAF based kernel
[*] anykernel method to use the ramdisk of the installed rom
anything that requires upstreaming of kernel parts to a higher kernel major version
Any TC other than google's
So do not even ask for it. Everything else I am happy to check and decide.
Compatibility
To reiterate it again: This kernel is only for CM13 based ROMs. It is not designed to run on Samsung based roms! AOSP based is not tested, though it should work.
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
Donation
If you like my work, feel free to donate: Donation-Link
You will receive a personal donation code which unlocks some nice comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Lord Boeffla's Github repository: http://github.com/andip71
My source can be found below, at "DevDB Information"
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* Lord Boeffla (For providing kernel in the first place )
* Yank555
* ZaneZam
* Hardcore
* Chainfire
* Harunjo
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Supercurio
* Mialwe
* Entropy512
* Faux
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in TWRP recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
XDA:DevDB Information
Boeffla Kernel, Kernel for the Samsung Galaxy S III I9300
Contributors
limjh16, n0aaz, aaz03, ZaneZam, Lord Boeffla
Source Code: https://github.com/limjh16/boeffla
Kernel Special Features:
Version Information
Status: Beta
Current Stable Version: 5.0
Stable Release Date: 2016-07-04
Current Beta Version: 5.1-b7
Beta Release Date: 2016-08-30
Created 2016-06-09
Last Updated 2016-08-30
Known Issues
Known Issues NOT involving Xposed
1. SuperSU and Superuser other than Stock DOES NOT WORK on Temasek ROM and possibly all other CM13 ROMs
2. F2FS WILL NOT WORK, AND WILL NOT EVER WORK, AS DESCRIBED IN OP
Known Issues involving Xposed
None I have experienced thus far.
To-Do List
1. Fix SuperSU because I really love it.
2. Archi Optimisations Test Doesn't work
3. Make file names correspond to "beta" tag
1. Attempt bug fixing Archi Opti Test
1. Test on AOSP ROMs
2. Dragon TC??
Installation
Dirty flash works fine, just remember to clear cache.
If you are coming from another kernel e.g. agni kernel, you must wipe /system (not just flash ROM zip for the updater script) and flash everything accordingly.
If you need specifics on what to do first, follow ROM installation instructions and right after you flash ROM zip just flash boeffla ZIP
If you still don't understand you should not be here and should be reading up on what flashing zip is...
Credits & a History Lesson
Credits other than those listed in OP:
1. @Lord Boeffla for allowing me to port, and post this thread.
2. @ZaneZam for guidance
3. @aaz03 YES I DID IT
I take absolutely no credit, all work was done by @aaz03 and all I did was follow his instructions and pester @ZaneZam a bit, and I got a flashable zip that works.
A very, very unimportant history lesson
So, I was looking at github.com/n0aaz and I saw he was trying to port boeffla. I PM'ed aaz, and he told me his laptop broke so he couldn't continue. He then asked me to help him continue and that he was very close to completion. However he rarely responds to PM, so I contacted @ZaneZam to ask for more guidance. He was very helpful and kind of guided me through how I should use the build script/edit the build script, and how to manage the boot.img
Well, @aaz03 you were very very close to completion indeed, you just had to take a new boot.img from CM. Uber toolchain was probably another factor.
Boeffla 5.0beta34 will be built this weekend or when I have time.
I will not be providing new Boeffla Builds where the changes do not concern i9305 (eg, just source updates for other devices) I will only be providing when there are universal updates.
Feel free to post bug reports here instead of the bug reports tab (I don't even recall if I enabled that tab)
If you want screenies tell me, I got stuff to do for now
Can someone help test with other ROMs and especially AOSP ROMs?
limjh16 said:
Credits other than those listed in OP:
1. @Lord Boeffla for allowing me to port, and post this thread.
2. @ZaneZam for guidance
3. @aaz03 YES I DID IT
I take absolutely no credit, all work was done by @aaz03 and all I did was follow his instructions and pester @ZaneZam a bit, and I got a flashable zip that works.
A very, very unimportant history lesson
So, I was looking at github.com/n0aaz and I saw he was trying to port boeffla. I PM'ed aaz, and he told me his laptop broke so he couldn't continue. He then asked me to help him continue and that he was very close to completion. However he rarely responds to PM, so I contacted @ZaneZam to ask for more guidance. He was very helpful and kind of guided me through how I should use the build script/edit the build script, and how to manage the boot.img
Well, @aaz03 you were very very close to completion indeed, you just had to take a new boot.img from CM. Uber toolchain was probably another factor.
Click to expand...
Click to collapse
Heh, very good job i couldn't be very active on xda because of all my exams. Even though i don't have a 9305 anymore i'm glad that you managed to fix issues i had to face . Good continuation
aaz03 said:
Heh, very good job i couldn't be very active on xda because of all my exams. Even though i don't have a 9305 anymore i'm glad that you managed to fix issues i had to face . Good continuation
Click to expand...
Click to collapse
See that you got yourself a redmi note 3 pro... wanted to get that too except i realised I rather save up for a Nexus
P.S. don't quote OP, I got this thread subscribed
limjh16 said:
...
Also, (a little advertising) what is the behavior of button backlight in boeffla?
Click to expand...
Click to collapse
Your advertising worked fine
I didn't know you've just started a Boeffla thread! Well done! Thanks for your work.
My answer to "what is the behavior of button backlight in boeffla?" is: I don't know, I didn't test.
FLooDW said:
Your advertising worked fine
I didn't know you've just started a Boeffla thread! Well done! Thanks for your work.
My answer to "what is the behavior of button backlight in boeffla?" is: I don't know, I didn't test.
Click to expand...
Click to collapse
Oh haha
Just felt lonely here.
I'm sorry if I was breaching any xda rules haha
Sent from my GT-I9305 using XDA Labs
Had time after dinner, here's beta34: https://www.androidfilehost.com/?fid=24572369242686106
Accessible via folder link in 1st post too. Now I bother to change zip names so it will be beta34 instead of alpha1 haha...
Anyways, as I was playing around trying to find a fix for supersu, I made backups and flashed while taking a log. Well, after I booted to system and prepared adb for a log, it booted, and surprisingly no bootloops! And it's a wierd solution that I found: Don't charge phone while booting. I attempted this 2 times, and the 2nd time it worked because I was not charging phone. Wierd? I know right...!
Great to see that development is still strong after all those years. Congrats on getting it all done and thanks to all your work you did the last few weeks/months.
Whats your problem whit f2fs?
The original boeffa support it.
Its really good future and really improve the performance.
F2FS has noting todo with the mentioned optimizations. Both can survive next to each other .
---------- Post added at 07:34 PM ---------- Previous post was at 07:12 PM ----------
Which kernel or sound app are you using or recommend to configure the beoffla sound settings? Can you link it?
Its already linked in op, sorry.
Running this on CM13 (pan's build, set to Muppett's RIL).
All seems to be working OK so far.
I'm using the Boeffla Control App V2 linked to in the OP. This has Boeffla sound settings in it, all seems to be working fine.
Now I just have to wait and see if the network issues I get when I use AGNi kernel on CM13 (but not CM own kernel) stay away.
Sorry haven't seen it in op. I am a newbie and didn't read the op proper .
Small issue - I set the charging current to 1500mA and turned on ignore unstable charging etc.
When I do this on AGNi, the 'Galaxy Charging Current' app says 1500 for 'reference', 'maximum' and 'average'.
On Boeffla it says 1500 for 'reference' but only 1000 for the other two numbers.
I had a bootloop when try boefla kernel with cyanide latest version.
So I try it with temasek and everything's working fine here, will test to see if the ril problem is fixed. Good work ! Thanks for bringing back this awesome kernel.
Mrxyzl said:
I had a bootloop when try boefla kernel with cyanide latest version.
So I try it with temasek and everything's working fine here, will test to see if the ril problem is fixed. Good work ! Thanks for bringing back this awesome kernel.
Click to expand...
Click to collapse
Seems like doesn't work with aosp.
Sent from my GT-I9305 using XDA Labs
Glenn2 said:
Small issue - I set the charging current to 1500mA and turned on ignore unstable charging etc.
When I do this on AGNi, the 'Galaxy Charging Current' app says 1500 for 'reference', 'maximum' and 'average'.
On Boeffla it says 1500 for 'reference' but only 1000 for the other two numbers.
Click to expand...
Click to collapse
Try using ampere or just the built in on the 1st page of boeffla config app, it'll correspond.
Also, now you can set charging current to 1600
Edit: http://i.imgur.com/IMlEiau.png
Sent from my GT-I9305 using XDA Labs
rodman01 said:
Sorry haven't seen it in op. I am a newbie and didn't read the op proper .
Click to expand...
Click to collapse
If you're a newbie all of us have not been born yet
Sent from my GT-I9305 using XDA Labs
Temasek + boeffla i cant hear any voice when call nor people can hear me.. Not even in loud speaker.. Or am i missing something? But boeffla rock!
I had this prob on unicorn aokp + agni4.5.5. So i stay stock. But because of boeffla, i went back to cm
Thank for porting.
Sent from my GT-I9305 using XDA-Developers mobile app

Categories

Resources