[KERNEL][OC][STOCK/CROMI] JB 4.2.1 ★ Hundsbuah ★ 10.6.1.14.10 ★ v3.4.0 ★ BETA v3.4.4 - Asus Transformer TF700

[KERNEL][OC][STOCK/CROMI] JB 4.2.1 ★ Hundsbuah ★ 10.6.1.14.10 ★ v3.4.0 ★ BETA v3.4.4
1Thanks to: _that, sbdags, steveman29 and all testers out here
If you like my work you can donate by clicking the link below:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BGD8ETXAPXNEQ
Please tell me your xda nickname in the donation!
Donators: steveman29, bads3ctor, Douglas Wing, pastorbob62, Yamir Gonzalez, ziggy71, sbdags, Mackis, Daruniafx, MotoFlasher, tijsva, JoinTheRealms, faustus1005, ubefuct, LetMeKnow
IMPORTANT:
Please always try to undervolt the CPU as much as you can/as its running stable! Less VCORE, less heat, more batterylife!
If you get reboots and/or cpu gov scaling errors, you have undervolted too much!
PLL Calculation Excel:
I have also made a cpu pll calculation excel sheet. there you can calculate your correct M,N values for a specific freq
Download here: http://www29.zippyshare.com/v/35204606/file.html
Printout hexdumps from edp.c:
I also wrote a small c-programm to print out the content of the edp hex-dump.
just copy the hex values from your edp.c in edplimits.c. look in the file and you know how to.
Its an eclipse project.
The output is a file called: edp_entrys.txt
Check out your speedo_id and regulator id and search for it in the .txt file
Download here: http://www58.zippyshare.com/v/40584147/file.html
Source:
Kernel:
https://github.com/Hundsbuah/tf700t_10_6_1_14_4
MyApp:
https://github.com/Hundsbuah/HundsbuahsKernelTweaks
If you dont make any changes to my kernel here my recommendation:
- Use asus batterysaver for (as the name sais: powersaving)
- use asus balanced mode for gaming or heavy loaded apps (this is not oc too much so it wont burn ur hand away)
- use asus normal/performance mode for daily use (surfing, browsing apps, just the normal daily use (except gaming!!)
- if you have our own frequency setting, i recommend for gaming: 1600MHz CPU Quadcore max. and 600MHz GPU max
Need help - Still something unclear?: THX lucius.zen
http://forum.xda-developers.com/showthread.php?t=2232715
Android App for my Kernel:
v2.3
Code:
- init.d file will be created if it not exists before my app is using it (initd error messages should be gone now )
- fixed bug that causes a force close in the cpu uv section when trying to change cpu voltages
[URL]http://d-h.st/fEm[/URL]
v2.4
Code:
- added boot to linux tab (you need the latest beta kernel!! and you need to flash the linux installer zip)
[URL]http://d-h.st/Y3T[/URL]
Linux Installer (needed by my App):
v1.0
Code:
[URL]http://d-h.st/GBy[/URL]
BETA RELEASES JB4.2:
v3.4.1
Code:
- kexec hardboot support
- dynamic fsync added
[URL]http://d-h.st/7jX[/URL]
New app v2.4:
- added boot to linux tab (you need the latest beta kernel!!)
[URL]http://d-h.st/Y3T[/URL]
What do i have to do when i want to boot to linux from your Hundsbuah App?
- Just download this linux installer zip, flash it in recovery and be sure that you are on the latest beta kernel (v3.4.1 from 2013-10-29)
- You can install Linux as a virtual image and use all the default settings during installation!
[URL]http://d-h.st/GBy[/URL]
v3.4.2
Code:
- added a lot of tcp congestions
[URL="http://d-h.st/bXd"] http://d-h.st/bXd[/URL]
v3.4.3
Code:
- added bfq io scheduler
- added sio io scheduler
[URL]http://d-h.st/ACY[/URL]
v3.4.4
Code:
- Removed frequencies from the frequency table: 1.28 Ghz, 1.33 Ghz, 1.37 Gh, 1.54 Ghz
[URL]http://d-h.st/ILo[/URL]
STABLE RELEASES JB4.2:
v3.4.0
Code:
normal+data2sd
(this is kernel is for both versions, normal and data2sd - if you dont install the data2sd patch from below it is working as normal "non data2sd version")
[URL]http://d-h.st/hyD[/URL]
data2sd patch:
Code:
just format the 2nd partition of ur sdcard with ext2 or ext4 and set the 2nd partition as active or boot
install this patch: [URL]http://d-h.st/xbU[/URL]
and use the normal+data2sd kernel from above
big thanks to _that!
Bugs:
- you tell me
Please report any problems / feedback

Will have a quick play today
---------- Post added at 09:56 AM ---------- Previous post was at 09:44 AM ----------
OK first problem this causes DSP manager to continually force close. On CROMI 3.2.2 deodex
---------- Post added at 10:18 AM ---------- Previous post was at 09:56 AM ----------
OK more issues to report I'm afraid. Went into system tuner. Default governor was set to conservative. Changed it to pegasusq and system tuner froze. Then went to the market to update some apps, started downloading and tab rebooted on its own. Had another reboot when it finished loading.
Back to _that 2 kernel and all OK again. This kernel needs a bit more testing mate. Let me know if you need some help.

Hi Hundsbuah,
I'm testing out your latest kernel and found many options for cpu govenor and scheduler. Is it possible you could provide a quick summary for them, so I have an idea how to test and the combo I should be using. Thanks
Govenor:
brazukkabwax
oegasysq
Smartassv2
lulzactive
Schedule:
sio
row
vr
Thanks again.

Re: [KERNEL][OC] Hundsbuah ★ 10.4.4.25
buhohitr said:
Hi Hundsbuah,
I'm testing out your latest kernel and found many options for cpu govenor and scheduler. Is it possible you could provide a quick summary for them, so I have an idea how to test and the combo I should be using. Thanks
Govenor:
brazukkabwax
oegasysq
Smartassv2
lulzactive
Schedule:
sio
row
vr
Thanks again.
Click to expand...
Click to collapse
Learn to search there are multiple threads here on xda that give detailed descriptions of governors, io schedulers, and even tcp congestion algorithms.

ejhart said:
Learn to search there are multiple threads here on xda that give detailed descriptions of governors, io schedulers, and even tcp congestion algorithms.
Click to expand...
Click to collapse
I think it's good to keep all here in this thread. I don't want "technical" details,but a simple common sense for common users. For example:
SmartassV2 - For heavy multi-task users but still save on battery.
Got my point?

buhohitr said:
I think it's good to keep all here in this thread. I don't want "technical" details,but a simple common sense for common users. For example:
SmartassV2 - For heavy multi-task users but still save on battery.
Got my point?
Click to expand...
Click to collapse
i havent tested much atm because i dont have as much time as i wish and my free time is testing new kernel features/versions. but pegasusq and row/vr should run great with also good battery.
brazilianwax is a more aggressiv smartassv2 version.
here are some gov explained:
http://www.alliance-rom.com/community/wiki/governors-explained/

Hundsbuah said:
i havent tested much atm because i dont have as much time as i wish and my free time is testing new kernel features/versions. but pegasusq and row/vr should run great with also good battery.
brazilianwax is a more aggressiv smartassv2 version.
here are some gov explained:
http://www.alliance-rom.com/community/wiki/governors-explained/
Click to expand...
Click to collapse
OK, thanks, I can do the testing myself, not a problem.

I like this thread with explanations, although it is technical in nature:
http://forum.xda-developers.com/showthread.php?t=1369817
And with a search I stumbled onto this one:
http://forum.xda-developers.com/showthread.php?t=1631894
which I have to read myself as well. On first glace much information seems copypasta'd, but hey, you never know.

Hundsbuah,
Thank you for the new update, I have a favor to ask, is it possbile you can make a data2sd version of this kernel? I'm runing data2sd and it's definitely smoother than the regular, I would like to keep the data2sd andn try out with your kernel. I already tried your kernel version 1.2 and it's pretty smooth.

buhohitr said:
... a data2sd version of this kernel?
Click to expand...
Click to collapse
+1
Please incorporate d2sd versions into your releases , at least major updates.
So many TF700 users are now using this mod to help relieve some 'issues' ...

Cpuquiet
Hello Hundsbuah, thanks for your kernel. I posted this in _That's kernel section. I installed a kernel on my HTC ONE X that has nvidia's cpu Cpuquiet driver driver implemented and it makes a huge difference in battery life (20%-30%) without sacrificing performance. I don't know if it can be implemented to tf700t, but it would be great if it did. Here is some info:
http://www.linuxplumbersconf.org/2012/wp-content/uploads/2012/08/cpuquiet.pdf
https://github.com/pboonstoppel/

ive asked mr.muffin/_that if the changes in fstab.cardhu are the only changes to make a data2sd version of the kernel

steveman29 said:
Hello Hundsbuah, thanks for your kernel. I posted this in _That's kernel section. I installed a kernel on my HTC ONE X that has nvidia's cpu Cpuquiet driver driver implemented and it makes a huge difference in battery life (20%-30%) without sacrificing performance. I don't know if it can be implemented to tf700t, but it would be great if it did. Here is some info:
http://www.linuxplumbersconf.org/2012/wp-content/uploads/2012/08/cpuquiet.pdf
https://github.com/pboonstoppel/
Click to expand...
Click to collapse
i have already activated that feature but i have disabled it again (i havent seen any improvements) but i didnt looked at batterylife. i will compile a version with Cpuquiet and send you a pm with the link

Hundsbuah said:
i have already activated that feature but i have disabled it again (i havent seen any improvements) but i didnt looked at batterylife. i will compile a version with Cpuquiet and send you a pm with the link
Click to expand...
Click to collapse
Thanks i will test battery life and will report to you. In my HTC ONE X i have to use fauxclock program to activate cpuquiet. Do you know if it can be activated by a script?
edit: I had 2 reboots with the test kernel. I don't know if it is because of cpuquiet or if you added other features too. I didn't have any reboots with the normal kernel.

steveman29 said:
Thanks i will test battery life and will report to you. In my HTC ONE X i have to use fauxclock program to activate cpuquiet. Do you know if it can be activated by a script?
Click to expand...
Click to collapse
afaik its managed by the kernel and the cpuq gov
steveman29 said:
edit: I had 2 reboots with the test kernel. I don't know if it is because of cpuquiet or if you added other features too. I didn't have any reboots with the normal kernel.
Click to expand...
Click to collapse
just for the others: reboot is fixed with version 1.4.1

Hundsbuah said:
ive asked mr.muffin/_that if the changes in fstab.cardhu are the only changes to make a data2sd version of the kernel
Click to expand...
Click to collapse
Your data2sd version is not working. The data should look like this in the fstab.cardhu file:
/dev/block/mmcblk0p1 /system ext4 noatime,noauto_da_alloc,nodiratime,barrier=0,nobh,ro wait
/dev/block/mmcblk0p2 /cache ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh,errors=panic wait
/dev/block/mmcblk1p2 /data ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh,errors=panic wait,encryptable=footer
/dev/block/mmcblk0p8 /data2 ext4 noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh,errors=panic wait,encryptable=footer

i havent released a data2sd version yet
if these are the only changes, give me 5 min i will make an data2sd version
/edit: data2sd version added in first post

Hundsbuah said:
i havent released a data2sd version yet
if these are the only changes, give me 5 min i will make an data2sd version
/edit: data2sd version added in first post
Click to expand...
Click to collapse
I will give it a try and report back. Your kernel is getting better and better, I think it's going to be one of the best custom kernel since Clemsyn. Good work!!

AW: [KERNEL][OC] Hundsbuah ★ 10.4.4.25
buhohitr said:
I will give it a try and report back. Your kernel is getting better and better, I think it's going to be one of the best custom kernel since Clemsyn. Good work!!
Click to expand...
Click to collapse
thank also _that. i read his howto and then i wanted to make my own kernel
Gesendet von meinem ASUS Transformer Pad TF700T mit Tapatalk 2

Re: [KERNEL][OC] Hundsbuah ★ 10.4.4.25
Is this for cm or stock
Sent from my MB865 using xda app-developers app

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][STOCK-CROMi][OC][LINARO]MaxKernel V4 RC2 (10.6.1.14.8) [Reloaded][July 7]

So I'm presenting my kernel today I didn't sleep because it was so fun to compile and compile all night so I make my own kernel and yesterday I made some questions and I need to thanks "_that" because he help me to compile the kernel.
Reloaded version done from Zero again will put the features missing later.
Now I will do extensive test of a version and will know exactly what changes from version to version.
I will start to add the featurer that were on my previous kernel later..
Features:
ISO 9660 Support
UDF Support
CIFS Support
Dynamic Fsync
No more crash when reading /sys/bus/nvhost/drivers/tegradc/tegradc.0/nvdps
Companion Core OC to it's full potential 620 MHz
Thalamus hot-plugging
Compiler With Linaro 4.7 using -O3 Optimizations
I/O Schedulers
noop
deadline
row - default
cfq
bfq
sio
CPU Governors:
lagfree
smartassH3
touchdemand
lulzactive
pegasusq
interactive - default
And the default ones.
Ramdisk:
DPI Unlocked
ADBD with Root (ro.secure=0 )
Coming next:
data2sd Support
CPU Overclock
GPU Overclock
Github:
https://github.com/maxrdlf95/tf700t_maxkernel
Source for V1
Comming
Source for V2
https://docs.google.com/file/d/0B0UY4U-rpxjsekI5TVp1SUNRNkU/edit?usp=sharing
Soon I will only include patch files to older versions as I will be using Github..
Changelog Reloaded:
V1
Made from zero
Dynamic Fsync
ROW Scheduler
Compiled with latest Linaro 2013.04
V2
Added Thalamus Hotplug
Added Voltage Control
Improved lowmemorykiller
Added Improved glibc, memcpy, memmove Functions
Optimized ARM RWSEM Algorithm
Added SmartAss H3 Governor
Added lagfree Governor More to come
Added Optimized CRC32 Algorithm
Added Optimized AES and SHA1 routines
V3
GPU Overclock 666 MHz
LP Core Overclock 620 MHz
V4
Add SIO scheduler
Add Touchdemand governor
Changes on TCP
Optimization of ondemand and interactive and CFQ
Optimization to code
BFQ & SIO are back
Improvements to I/O
Compiled now using O3 Flag
Fixed CIFS thanks to the guy that posted the patch here
Still working on GPU OC Issue and CPU OC
Some fixes
RC Release:
Updated to 10.6.1.14.8 Source code
Added CPU OC up to 1.9 GHz Please use Trickster or Franco.app latest version which works fine
Some updates to ext3 and ext4 filesystem
Lots of changes to come yet tomorrow will do more work
Credits:
Ezekeel, faux123, _that, Metallice, David McCullough & lupohirp
Thanks:
buhohitr So much for checking all test version of kernel I send and help me to fix this
wingdo For testing some kernel versions also
Changelog Old Version:
V1
First version
Lot of optimizations and patches that I don't remember now.
V2
init.d Support
Linaro 4.7 2013.03 Compiled
Updates to lowmemorykiller
Some changes in governors
V2.1
Fixed Clocks Speed
Fixed Companion Core Overclock
GPU Overclock 666 MHz
V3
Optimizations to EXT4 Filesystem
Added improved version of glibc, memcpy & memmove
Added optimized AES and SHA1
Added support to hardboot to a kexec kernel
Some fixed in code of Thalamus Hotplug
More things that I don't remember
V4
Removed some unnecesary code
Added Dynamic Fsync
Fixed Reboot issues
Some other things I don't remember, so busy now..
First!
maxrdlf95 said:
So I'm presenting my kernel today I didn't sleep because it was so fun to compile and compile all night so I make my own kernel
Click to expand...
Click to collapse
Cool, another kernel. :good: I think I can retire soon.
maxrdlf95 said:
Lot of optimizations and patches that I don't remember now.
Click to expand...
Click to collapse
Remember you have to offer the source code of your kernel because it's under GPL license.
_that said:
First!
Cool, another kernel. :good: I think I can retire soon.
Remember you have to offer the source code of your kernel because it's under GPL license.
Click to expand...
Click to collapse
Oh yes.. Will upload it tonight untill I learn how to use github
P.D Don't retire yet I'm still learning
Cool
That´s great news, thanks! Downloading now...
maxrdlf95 said:
Oh yes.. Will upload it tonight untill I learn how to use github
Click to expand...
Click to collapse
Ah, github ... it's great, but I will only start using it when I know how to use it correctly.
maxrdlf95 said:
P.D Don't retire yet I'm still learning
Click to expand...
Click to collapse
That was, of course, a joke - I will continue to maintain my stable stock kernel, presumably as long as I own the device, maybe even a bit longer. It's great that we now have multiple devs who bring variety.
great to see that someone else is finally seeing the potential of thalamus' hotplugging routines.
Which ones are you using (modified from franco or the original ones)?
Good to see another dev!
bryce09 said:
great to see that someone else is finally seeing the potential of thalamus' hotplugging routines.
Click to expand...
Click to collapse
Do you understand how hotplugging works together with the lp/g cluster switching? And well enough that you can explain it to me?
maxrdlf95 said:
Oh yes.. Will upload it tonight untill I learn how to use github
P.D Don't retire yet I'm still learning
Click to expand...
Click to collapse
With the fortune _That made from publishing his kernels and giving good advices to everyone in this community, he can sure retire from his regular work and help us more here..
bryce09 said:
great to see that someone else is finally seeing the potential of thalamus' hotplugging routines.
Which ones are you using (modified from franco or the original ones)?
Good to see another dev!
Click to expand...
Click to collapse
Im using original Thalamus THanks!:good:
So I got already init.d Support wil upload next version with that and kexec suport for mutiboot
Source code will also be with that version
Is it possible you're going to release a version for data2sd like Hund's kernel? That would be great. Thanks.
With quadrant your kernel is about 150point more than that V2 stock kernel and it's flying when I put on performance mode (as fast as Hund's OC kernel). I ran about 10 quadrant and the cpu temp is about 42C. Good job for your first time!!
Edit: I set the governor to lagfree and balance mode, pretty smooth and fast, very nice for daily driver, but once I set it on performance mode this thing is flying...kid you not!
buhohitr said:
Is it possible you're going to release a version for data2sd like Hund's kernel? That would be great. Thanks.
Click to expand...
Click to collapse
Yes I can do that
Next version will be Linaro 4.7 2013.03 Compiled so if should fly!
So far, this kernel (V1) is running really smooth with interactive and SIO. I tweaked interactive a bit to improve battery.
I noticed minimum freq never drops under 513 MHz and there is hotplug tuning vs just "max active cores" like in stock.
Questions:
Why minimum freq at 513?
Is there a way to tune hotplug to only use 2 cores?
When flashing V2 over V1, should I wipe cache and dalvik?
I'd love to know, and appreciate you guys helping me learn more about kernels and settings (I don't mean for the questions to be demanding or rude, I just wanted to ask in a straightforward manner, right to the point).
Greatly appreciate your work, flashing V2 now!!
Sent from my ASUS Transformer Pad TF700T using xda app-developers app
uberbania said:
So far, this kernel (V1) is running really smooth with interactive and SIO. I tweaked interactive a bit to improve battery.
I noticed minimum freq never drops under 513 MHz and there is hotplug tuning vs just "max active cores" like in stock.
Questions:
Why minimum freq at 513?
Is there a way to tune hotplug to only use 2 cores?
When flashing V2 over V1, should I wipe cache and dalvik?
I'd love to know, and appreciate you guys helping me learn more about kernels and settings (I don't mean for the questions to be demanding or rude, I just wanted to ask in a straightforward manner, right to the point).
Greatly appreciate your work, flashing V2 now!!
Sent from my ASUS Transformer Pad TF700T using xda app-developers app
Click to expand...
Click to collapse
1 I think I know why minimun its at 513 will check that later
How that of tuning to use 2 cores only
Hotplug turn on/off CPUs automatically based on frequency..
V2 over V1 no you will be ok just flashing on top of it
Always good to see another kernel for our infinity :good: Just wondering what everyone's experience with battery life has been compared to stock or that's kernel?
Great work! Are you on with me to include in CROMi-X? :cyclops:
sbdags said:
Great work! Are you on with me to include in CROMi-X? :cyclops:
Click to expand...
Click to collapse
Yes Im with you no problem to include let me fix the Clocks and you can use V3
Thanks! :highfive:
Max, I have a question, is it possible to make the powersaver/balance/performance mode stick after a reboot by just using the UI?
Edit: Also your kernel is only using the following frequencies: 1700, 1600, 1000, 620, 513 and deep sleep.
buhohitr said:
Max, I have a question, is it possible to make the powersaver/balance/performance mode stick after a reboot by just using the UI?
Edit: Also your kernel is only using the following frequencies: 1700, 1600, 1000, 620, 513 and deep sleep.
Click to expand...
Click to collapse
There was an error on frequency table I fixed it already and now min its 475 again

[KERNEL][KK4.4][3.0.101] UBER KERNEL BETA2 | 1.78 GHz OC

Hey Everyone,
I'm by no means a pro at kernel building but I've put lots of effort into these kernels so I thought I'd share them with you. For the record, I use TWRP 2.6.1.0 for installation so if you encounter errors of installation it may be because you are using a different recovery than me.
If you flash one of these Kernels your warranty is void and I AM NOT RESPONSIBLE for any data loss or bricked devices etc. Please make sure to read the changelogs I post in post number 2 below. before you flash!
A Clean install is ALWAYS recommended. That does not necessarily mean you can't install these kernels on you current build it just means that you might have problems if you do.
[AOSP 4.4.2 UBER KERNEL LINK]
UBER BETA2 for SKYROCKET AOSP 4.4.2 ROMS
Installation Instructions
1. For best results a install these kernel after a fresh ROM install
2. Reboot into recovery
3. Flash Kernel Zip
4. Reboot and let settle for ~10 minutes before use.
5. Install Trickster MOD from the App Store for access to all of the options.
6. Change the settings to something other than INTERACTIVE (Especially if you run it with BFQ worst screen lag ever). Then enable "Set at Boot" or else you will lose your configurations.
7. Enjoy!!!
You can also install Hercules ROMs as long as you flash this kernel and fix the install script. Feel free to try any of my ROMs on my Goo.im account. If you take the time to fix up the build.prop and install script so that it is a legitimate port feel free to drop the boot.img and modules out of this kernel into the port and post it. You'll probably need to remove system/bin/mpdecision and system/bin/thermald because they conflict with the kernel.
​
SPECIAL THANKS TO
Samsung - for the source code to build the Tiberius Kernel (and for making the phone)
CarvsDriver - Authoring a number of commits that you'll find in this kernel.
Ayysir - for his wonderful tutorial on making a bash script to build kernels and for helping me out all of the time with everything!
Elbermu - For Bringing Thermal and Sweep2Wake to this device and for the help!
KERNEL SOURCES
My kernel Repositories can be found at https://github.com/Cl3Kener/HERC-KERNELS and are properly labeled for your convenience (see the branches)
Informational Links
Develop NOW! - A Guide for Beginning Developers!
Here is a fantastic guide on "Innards" of Kernels
Optimizing Linaro Keychains
Building a Bash Script to make Kernels
​​
XDA:DevDB Information
[KERNEL][KK4.4][3.0.101] UBER KERNEL BETA2 | 1.78 GHz OC, a Kernel for the AT&T Samsung Galaxy S II Skyrocket SGH-I727
Contributors
Cl3Kener
Kernel Special Features:
Version Information
Status: Beta
Created 2013-09-30
Last Updated 2014-01-30
UBER SKYROCKET BETA2 KERNEL​
Changelog UBER SKYROCKET BETA (AOSP 4.4.2 ONLY)
- ONLY FOR ANDROID 4.4!!!
- Kernel Version 3.0.101 - LINARO 4.7.4
- More TCP Congestion options than stock default is veno.
- USB fastcharge
- Fsync toggle - disable for better performance but beware that if your phone crashes you will lose data.
- Overclocked CPU 1782/ GPU 3D = 320 2D = 266
- IO Schedulers - cfq, bfq, row, noop, deadline, sio, vr, and zen
- CPU Governors - intellidemand, interactivex, lazy, wheatley, smartass, badass, lionheart, minmax, fantasy, savagedzen, scary, HYPER, and samsung.
- Frandom Lag Reducer
- Smaller sized kernel due to xz compression.
- CPU link - elbermu
- Sweep2wake - thanks dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- Thermal - thanks once again to dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- IO Booster
- CPU Power - Vincent Guittot
- Frontswap Support
- KGSL GPU Control - carvsdriver
- Voltage Control - carvsdriver
- Ability to mount mass storage as CD ROM - FrozenCow​
Terminal commands to enable/change a kernel features if you are don't like kernel tuning apps
Fsync
To enable - echo 1 > /sys/module/sync/parameters/fsync_enabled
To disable - echo 0 > /sys/module/sync/parameters/fsync_enabled
USB Fast Charge
To enable - echo 1 > /sys/kernel/fast_charge/force_fast_charge
To disable - echo 0 > /sys/kernel/fast_charge/force_fast_charge
Set Thermal Values
Go to /sys/kernel/msm_thermal/conf/ in a root file browser and change the values
Set MPDecision Values
Go to /sys/kernel/msm_mpdecision/conf/ in root file browser and change the values
Disable CPU Link
echo 0 > /sys/kernel/cpu_gov_sync/force_cpu_gov_sync​
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Recommended CPU Govs by Category
For Performance
Performance Governor - Full OC
Lionheart - Full OC
HYPER - Full OC
For good battery life with decent performance use
Intellidemand
Interactivex
Ondemand
Ondemandx
Samsung
Lazy
Moderately Conservative
Badass
Conservative
Wheatley (debatable could be in the above category)
Very Conservative
Powersave
SavageZen
not sufficient info? checkout out this op​
The Skyrocket is looking forward to this - and Thank You :thumbup:
Sent from my SGH-I317 using Tapatalk 4
Nice work! Thanks Will flash shortly.
No issues so far, running InteractiveX/CFQ 1.62GHz with Carbon ROM. Thanks!
JimmyD_92 said:
No issues so far, running InteractiveX/CFQ 1.62GHz with Carbon ROM. Thanks!
Click to expand...
Click to collapse
what does your kernel version say
edit: mine says 3.0.93 plus it didn't fix my rotation issues with a t989 rom
bzzybfrm313 said:
what does your kernel version say
edit: Mine says 3.0.93 plus it didn't fix my rotation issues with a t989 rom
Click to expand...
Click to collapse
3.0.93-uber-beta
Now I gotta search for rotation fix for skyrocket.
SGH-I727 Peace
Rotation is off for me also. I normally keep it locked, so I didn't catch that.
So far so good on my end, rotation is backwards but I keep my auto-rotate off so this isn't a problem for me. Though I wonder if flashing the T989 fix would work?
Running 192/1512 with Badass/noop
Hey Skyrocketeers!
I think I've figured out how to fix the rotation. I just uploaded Beta 2 with my attempt to fix the rotation. Let me know if that work for you ASAP! I hope that I can actually get out of Betas here shortly so more souls will be actually dare use this kernel!
Cheers!
Cl3Kener
PS If this does in fact fix rotation on even Hercules ROMs feel free to checkout out here (http://goo.im/devs/Cl3Kener/WICKED-4.3) for all sorts of exotic ROMs you might consider flashing
Tried dirty flashing beta 2 over beta 1 and never got to the boot animation. Dirty flash beta 1 afterward didn't boot either. Reflashed ROM and beta 2 and still no boot. Unfortunately I won't be able to test anymore tonight, but I'm sure you'll get more volunteers. Thanks!
@Cl3Kener. Thank you for supporting skyrocket. I have been porting black liquid from t989 for months and it runs awesome. Downloading uber kernel now. Very eager to try.
Edit: tried beta 1 and 2, both do not boot on my port of black liquid 09-23-13 and wantowan2s newest beanstock build.
Giving Beta 2 a flash now, will update on rotation status
---------- Post added at 04:10 AM ---------- Previous post was at 04:05 AM ----------
So same results here, beta 2 will not boot. Flashing back to beta 1 doesn't boot either. Going to try a clean flash with beta 2 now
---------- Post added at 04:23 AM ---------- Previous post was at 04:10 AM ----------
After a clean flash of PAC 9/28 nightly and the Beta 2 kernel, still no boot. Back to beta 1 for now
I guess this was more challenging than I would have thought! :/
So I just updated Beta 3. I think this time I've got it right finally! Try it and see!
Thanks for being patient with me!
Cl3Kener
Thunder22 said:
@Cl3Kener. Thank you for supporting skyrocket. I have been porting black liquid from t989 for months and it runs awesome. Downloading uber kernel now. Very eager to try.
Edit: tried beta 1 and 2, both do not boot on my port of black liquid 09-23-13 and wantowan2s newest beanstock build.
Click to expand...
Click to collapse
Any chance of making your port public?
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Beta 3 booted on carbon. Rotation fixed.
SGH-I727 Peace
---------- Post added at 09:15 AM ---------- Previous post was at 09:12 AM ----------
Thunder22 said:
@Cl3Kener. Thank you for supporting skyrocket. I have been porting black liquid from t989 for months and it runs awesome. Downloading uber kernel now. Very eager to try.
Edit: tried beta 1 and 2, both do not boot on my port of black liquid 09-23-13 and wantowan2s newest beanstock build.
Click to expand...
Click to collapse
I think beanstalk is cm based not aosp.
SGH-I727 Peace
berniesteven said:
Beta 3 booted on carbon. Rotation fixed.
SGH-I727 Peace
---------- Post added at 09:15 AM ---------- Previous post was at 09:12 AM ----------
I think beanstalk is cm based not aosp.
SGH-I727 Peace
Click to expand...
Click to collapse
Everything except for TW etc, is AOSP based - Parts of CM 's device tree may be used - but it's still AOSP ultimately.
Sent from my SGH-I317 using Tapatalk 4
Beta 3 working properly for me as well. Thanks!

[KERNEL] Kernel Sapec 2.6 TW_KK_Update 7_N9005

Hello
ThIs is a kernel for N9005 (International Note 3 LTE). This kernel is for TouchWiz rom's.
This kernel is for all those who like the stock kernel, but appreciate some extra features.
It's not a"racing" kernel or a kernel for "battery".
This kernel has the same performance and battery consumption as stock kernel.
This kernel does not have any tweak for performance or something else. When installed, this kernel has the same configuration as the stock kernel.
Kernel RE-based on Samsung sources update 7 (N9005XXUENB7 - N9005)
Differences for kernel stock:
1 - Support to init.d
2 - Selinux permissive
3 - kernel insegure
4 - Francisco Franco Sound
5 - Display Control
6 - Led Control
7 - Synapse support
8 - CPU OverClock (2.803Mhz Max.) (2.265MHz default)
9 - Added some governors (intelliactive, intelidemand, lionheart, dancedance and smartmax)
10 - Added some schedulers (Bfq, Sio, fiops, fifo, vr and zen)
11 - Tweak menu if Synapse is used
12 - Fast charge configurable
13 - Simple GPU algorithm
14 - GPU Overclock (578MHz Max) (450MHz default)
15 - Added some Wifi TCP algorithms (Westwood, bic and Htcp+)
16 - Backup of Synapse data available (see that)
17 - Added new hardlimit, from yank555, much more versatile than the previous version
Changelog:
Version 1.7 - Initial release on XDA
Version 1.8 - Changed sound mod from FauxSound to Francisco Franco Sound
Versión 1.8.1 - Ramdisk of XXUEND3
Version 2.0 - OverClock (2.803Mhz Max.) (2.265MHz default); added some governors (intelidemand, lionheart, dancedance and smartmax); added some schedulers (Sio, fiops, fifo, vr and zen); Fast charge USB (1200 mV Max.); Tweak menu, if Synapse is used
Version 2.1 - Fast Charge 1.1 by yank555
Version 2.6 - New Menu on Synapse for GPU and CPU governor, Simple GPU algorithm, new hardlimit version 1.6a, Added some Wifi TCP algorithms (Westwood, bic and Htcp+), Added Bfq scheduler, Added Intelliactive governor, GPU Overclock (578MHz Max) (450MHz default), More options and information on Synapse, Backup of Synapse data available (See that)
Credits:
All this kernel mods were written by developers. Credits are to them Thanks to Yank555, Faux123, AndreiLux, Wootever. franciscofranco, civato, Imoseyon, apb_axel, UpInTheAir, and others. if I forgot someone, please send me a P.M.
Download
Download (Mediafire):
To flash with Recovery
To flash with Odin
Mega Mirror:
To flash with Recovery
To flash with Odin
goo Mirror: thanks to joluke
To flash with Recovery
To flash with Odin
Bugs:
nothing so far
Suggestion:
The governor default is interactive. If you want to use other governor, not interactive based, to avoid freezes and randomly reboots, please turn off DVFS with DVFS Disabler or with Wanam Xposed, and reboot your phone, before change the governor.
Any freeze or reboot reported in several days of use, with ondemand.
Apk to configure this kernel:
You can use your prefered application. I think the best option is Synapse. This kernel is fully compatible with Synapse. You can download it free, at Play Store:
https://play.google.com/store/apps/details?id=com.af.synapse
Warning:
This kernel is properly tested, and is working on my phone for several days.
I am not liable for any damage to your phone, just because you use this kernel
Sources
Sources at Mediafire
Sources at Mega
First Will report back on the performance.
Running it right now. As expected, very limited options in terms of tweaking, but it's pretty smooth so far. Going to run a few tests and see how it holds up, have you tested its ability to initialize deep sleep mode?
Hypercore said:
First Will report back on the performance.
Running it right now. As expected, very limited options in terms of tweaking, but it's pretty smooth so far. Going to run a few tests and see how it holds up, have you tested its ability to initialize deep sleep mode?
Click to expand...
Click to collapse
Thanks for your impressions. About deep sleep, nothing wrong to report, it going normally in deep sleep.
zamcum said:
Thanks for your impressions. About deep sleep, nothing wrong to report, it going normally in deep sleep.
Click to expand...
Click to collapse
So far everything is looking good, no wakelocks, good performance for an initial release and it knows how to stay in sleep and on low clock speeds. Good work!
Working great, thanks for smooth kernel
Sent from my SM-N9005
Very smooth so far, now see the battery.
Check this out..so far very fast and stable kernel.. :good:
I think you should host the sources @ github... instead of mediafire
Thanks!:good:
Working just great!!!
I love this baby.
Thank you.
Great.
Sent from my SM-N9005 using Tapatalk
---------- Post added at 04:10 AM ---------- Previous post was at 04:10 AM ----------
Pm sent
Sent from my SM-N9005 using Tapatalk
Here are some mirrors @ goo.im, because mediafire usually is blocked in some countries and SUCKS a lot:
Odin version:
http://goo.im/devs/zylor/SM-N9005/KERNELS/Zancum/Sapec_kernel_N9005_update_7_V_1.7.tar.md5
MD5: c920cbc3f1fc7a87c70c3f9b9a27756f
Click to expand...
Click to collapse
CWM:
http://goo.im/devs/zylor/SM-N9005/KERNELS/Zancum/Zancum_1.7_CWM.zip
MD5: 7c34da83db38fe0a6f541a15ba153ff4
Click to expand...
Click to collapse
Sources:
http://goo.im/devs/zylor/SM-N9005/KERNELS/Zancum/sources_sapec_1.7.tar.gz
MD5: 7205dd52c0a72294346483fac11da3e6
Click to expand...
Click to collapse
@zamcum: add it to OP
Can somebody show their battery usage?
It seems that ODIN package is broken. (Error in Odin 3.09)
I tried from both sources (MF and Goo)
Zamcum, I've sent you a PM.
If all goes well there will be only MEGA links to the kernel from here on out hosted off a premium account. No more wait times and slow download speeds.
i used it n like it
Firstly, I would like to thanks all who have tried this kernel. An extra thanks, to those who gave their feedback
AldrichDSaints said:
Can somebody show their battery usage?
Click to expand...
Click to collapse
the battery depends on usage. It's different for everyone. Try the kernel and see for yourself, do not you'll regret
andyro78 said:
It seems that ODIN package is broken. (Error in Odin 3.09)
I tried from both sources (MF and Goo)
Click to expand...
Click to collapse
Thanks. is already fixed
joluke said:
I think you should host the sources @ github... instead of mediafire
Click to expand...
Click to collapse
the code used in this kernel is already on github. Just search a bit.
In the future, perhaps I publish only the changes to the samsung kernel, which allows a more friendly consultation.
I don't know if it's allowed by the rules of the forum. A kernel must always be accompanied by their sources
@joluke Can you made a new link at goo, for the correct odin package, please?
AldrichDSaints said:
Can somebody show their battery usage?
Click to expand...
Click to collapse
You should just get the same battery life as the stock kernel.
Sent from my SM-N9005 using Tapatalk
zamcum said:
@joluke Can you made a new link at goo, for the correct odin package, please?
Click to expand...
Click to collapse
odin package fixed:
http://goo.im/devs/zylor/SM-N9005/KERNELS/Zancum/Sapec_kernel_N9005_update_7_V_1.7.tar.md5
Noma: Sapec_kernel_N9005_update_7_V_1.7.tar.md5
CRC-32: 3397adb5
MD4: 1e4e06d10dc3ae948c2790069164e1f8
MD5: c9359277b15304000b9290d561cc33a1
SHA-1: 5e5fb695967dd55b05325f45c28de82e73d1bb69
PS: It's the same link that it is on OP... just deleted the file and reuploaded it
joluke said:
odin package fixed:
http://goo.im/devs/zylor/SM-N9005/KERNELS/Zancum/Sapec_kernel_N9005_update_7_V_1.7.tar.md5
Noma: Sapec_kernel_N9005_update_7_V_1.7.tar.md5
CRC-32: 3397adb5
MD4: 1e4e06d10dc3ae948c2790069164e1f8
MD5: c9359277b15304000b9290d561cc33a1
SHA-1: 5e5fb695967dd55b05325f45c28de82e73d1bb69
PS: It's the same link that it is on OP... just deleted the file and reuploaded it
Click to expand...
Click to collapse
Hi
many thanks for the mirror at goo
still about sources at github
If you (or someone else) want the sources (commit) of any feature of this kernel, let me know, I can provide this information with pleasure
regards
zamcum said:
Hi
many thanks for the mirror at goo
still about sources at github
If you (or someone else) want the sources (commit) of any feature of this kernel, let me know, I can provide this information with pleasure
regards
Click to expand...
Click to collapse
you are welcome. anything i'll PM you
Enviado do meu SM-N9005 através de Tapatalk

[KERNEL][AOSP/CM13/CM14.1/LOS] NxKernel r4 [03.01.2017]

NxKernel
r4​
Yeah, jet another kernel for the falcon!
Why? You might ask and you are right.
I have been experimenting with kernel features, fixes and (alleged) improvements and always tried to create a kernel which I would be happy to use every day on my device. You know the usual stuff: long lasting battery with lag-free performance... It's not easy at all I have to tell. I am not a developer but know my way around Git and programming and researched a lot of sources on the internet looking for kernel stuff. Some patches offer improvements in speed and response time etc, but in reality, many of them do more harm than good when it comes to real-life praxis. In the end, I had a great collection of fixes and patches which I tried (nearly) one-by-one examining the gains and losses of 'em.
All the credits go to the developers of the features - and a little of it to me for putting them together and bringing them to the Moto G.
Features
Compiled with UBERTC 4.9.4 and O2 optimization level
Overclocked [email protected], [email protected], [email protected]
Intelliplug 4.0 CPU hotplug
Intelliactive and Intellidemand CPU governor
PowerSuspend 1.5
Intellithermal v2
Simple GPU Algorithm
Adreno Idler
Power Efficient Workqueues
Fast Charge v2
Dynamic fsync
Enabled NEON mode
Westwood TCP congestion control
Frandom fast random number generator
Wakelock toggles
Click to expand...
Click to collapse
Installation
Download the kernel to your device from the link below
Reboot to recovery
Flash the kernel
(optional) Wipe cache & dalvik cache (recommended)
Reboot
(optional for CM13 - bootloop on CM14) If you would like to enable frandom, copy the 20frandom script (by Ryuinferno, see attached) to system/etc/init.d and change its permissions to 0755.
Click to expand...
Click to collapse
Download
CM14.1/Lineage OS: r4 - https://www.androidfilehost.com/?fid=673368273298920933
CM13: r2 - v1.1 - https://www.androidfilehost.com/?fid=385035244224396903
Please do not mirror any of my files!
I switched to "r" naming scheme which means r1 (v1.0) and r2 (v1.1) are for CM13 and releases from r3 upwards for CM14.1 and Lineage OS.
Click to expand...
Click to collapse
Sources
https://github.com/NStep/android_kernel_motorola_msm8226/tree/cm-14.0-nx
Click to expand...
Click to collapse
Recommended settings in 2nd post.
Changelog in 3rd post.
Many thanks go to:
The CM Team
faux123
arter97
Hurtsky, Kaminari, pinkflozd, alinp, BryanByteZ
soniCron
...and the community for keeping alive a 3-year-old device :highfive:
Click to expand...
Click to collapse
If you would like to help or thank me, you might buy me a beer/coffe/coke to fuel the development.
XDA:DevDB Information
NxKernel, Kernel for the Moto G
Contributors
NxStep
Source Code: https://github.com/NStep/android_kernel_motorola_msm8226/tree/cm-14.0-nx
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r4
Stable Release Date: 2017-01-03
Created 2016-10-21
Last Updated 2017-01-03
Recommended settings
I suggest Kernel Adiutor to edit the kernel settings. See attached screenshots for the details. The settings that cannot be seen on the pictures are untouched.
I've attached the two json files to import for the two custom controls in Kernel Adiutor, bluedroid_wakelock and USB_fast_charge. To be able to import directly just change the extensions to json.
*For CM13 only! Causes bootloop on CM14 for now.*
Also attached the frandom enabler script (20frandom) that is to be placed in system/etc/init.d wit the permission 0755. Make sure you remove the txt extension first!
Sorry for the extension messing, xda does not allow to upload json files or files without extension... I might move the files to my file host soon.
CPU governor tunables
*to be updated for CM14*
Optimized governor tunables based on soniCron's superb guide. It works with interactive and intelliactive as well and scales fine with overclocking enabled and disabled too.
Basically, it uses 4 optimal frequencies: 300MHz, 998MHz, 1190MHz and 1593MHz if OC enabled. It prevents the CPU jumping a lot between frequencies that do not provide enough performance for a given task. I managed to get 4-5 hours of screen on time with these settings.
Tunables are as following:
Code:
above_hispeed_delay: 20000 998400:60000
boost: 0
boostpulse_duration: 80000
go_hispeed_load: 75
hispeed_freq: 998400
io_is_busy: 1
min_sample_time: 40000
sampling_down_factor: 0
sync_freq: 0
target_loads: 98 384000:56 600000:31 787200:27 998400:82 1094400:9 1190400:95 1305600:3 1344000:4 1401600:7 1497600:6 1593600:85
timer_rate: 25000
timer_slack: 80000
two_phase_freq: 998400,998400,998400,998400
up_threshold_any_cpu_freq: 998400
up_threshold_any_cpu_load: 95
Changelog
r4 - 03.01.2017
merged latest CM14.1 kernel sources
update to latest prebuilt toolchain UBERTC 4.9 by mdalexca
added some additional patches, see Github
r3 - 25.11.2016
intial release for CM14.1
merged latest CM14.1 kernel sources
switched to "r" naming scheme
r2 - v1.1 - 11.11.2016
merged latest CM13 sources
r1 - v1.0 - 21.10.2016
initial release
Reserved another just in case.
NxStep said:
NxKernel
v1.0​
Created 2016-10-21
Last Updated 2016-10-21
Click to expand...
Click to collapse
Downloaded and installed a couple of hours ago.
Feels smooth and snappy. Have not encountered any glitches.
I'm running [7.0.0_r14]AOSP+OM
Thank you for bringing another kernel to this old device.
this kernel have multirom support?
thanks for your amazing work
Pretty nice idea man, I'll test it. Thanks for this kernel
Thank your for your feedback!
aldanopolis said:
this kernel have multirom support?
thanks for your amazing work
Click to expand...
Click to collapse
No, it doesn't. I haven't really examined this feature as I use only one ROM on my phone. But I might add it in the future if it is requested.
NxStep said:
Thank your for your feedback!
No, it doesn't. I haven't really examined this feature as I use only one ROM on my phone. But I might add it in the future if it is requested.
Click to expand...
Click to collapse
IMHO, As we have no kexec workaround in last version of multirom , this is not mandatory.
Any way to backup the stock kernel of Orion Os in case I find any issue with this kernel?
Guillosd said:
Any way to backup the stock kernel of Orion Os in case I find any issue with this kernel?
Click to expand...
Click to collapse
Use Flashify
It has the option to backup the current kernel and can also flash imgs, zips and stuff.
Good to see another kernel available for our old (but seemingly immortal?) phone. Best of luck to you!
Like Kamin4ri said thanks for the kernel i really hope that moto g be immortal best phone that i used for sure, good enough for what i need.
Would be great if it has dt2w...
Aayushya said:
Use Flashify
It has the option to backup the current kernel and can also flash imgs, zips and stuff.
Click to expand...
Click to collapse
nandroid restore would work as well ,right?
Hiraethic said:
nandroid restore would work as well ,right?
Click to expand...
Click to collapse
Yes
everything works awesome on aosp 7.0 by srisuriya
Skarni said:
Downloaded and installed a couple of hours ago.
Feels smooth and snappy. Have not encountered any glitches.
I'm running [7.0.0_r14]AOSP+OM
Thank you for bringing another kernel to this old device.
Click to expand...
Click to collapse
Did you change any settings in Kernel Auditor?
---------- Post added at 10:48 AM ---------- Previous post was at 10:46 AM ----------
NxStep said:
Recommended settings
~snip
[/CODE]
Click to expand...
Click to collapse
Those pictures on second post are recommended settings?
kamesh_kraken said:
Did you change any settings in Kernel Auditor?
---------- Post added at 10:48 AM ---------- Previous post was at 10:46 AM ----------
Those pictures on second post are recommended settings?
Click to expand...
Click to collapse
I did apply some of the settings from the pictures. I chose different scheduler and network TCP algorithm.
I do not have the paid version of Kernel Adiuitor, so I was not able to use the .json files.
Skarni said:
I did apply some of the settings from the pictures. I chose different scheduler and network TCP algorithm.
I do not have the paid version of Kernel Adiuitor, so I was not able to use the .json files.
Click to expand...
Click to collapse
Use a mod, kernel adiutor is open source

Categories

Resources