[ROM][DEV][BrickedRom][Feb.02]-[CM9Kang]-[v4]-[KSM]-[Touchscreen-fixes] - TouchPad Development

##DISCLAIMER##
Though this is tested and I am using this, and nothing evil happened until now, it might slap you so hard in your face that not even google is able to find you anymore.
No kidding: !Experimental! This does not fix one bug of CM9 nor does it attempt to do so. So don't b*t*h me about that. This is meant as a test for KSM, to see if any problems arise and how much use (performance gain / more free ram) this gives on Android. (theoretically it should be very useful)
For everyone who wants to give it a try:
Bricked-CM9Kang v4
based on AOSP CM9 #Kangified
What does it give you:
Everything from CM9 + Touchscreen fixes (Dees_Troy27) + KSM (Kernel Samepage Merging) + fixed init.d script autoexecution on bootup (turl)
Bricked v0.4 with KSM support, Default clocks @ 1566/192 ondemand
- OC up to 1914Mhz, Voltage Control via sysfs (SystemTuner, etc), etc, etc.... Look here.
Install:
Do you want a fresh install? Wipe data/factory reset & just flash from recovery.
Already on cm9 and don't want to loose your data? Just flash over your current install without wiping (don't forget to reinstall gapps afterwards).
Download:
v4
ROM + Kernel:
mediafire.com: Click Me
http mirror: Click me
SHA1: 14db526c93962359995ea260c80d2811ba32eaae
Gapps: Click Me
SHA1: 1d277d2d7e802eb13975757df46c09afbaafcd2c
Gappsfixer: Click Me
This removes bad <shared-user> elements from packages.xml and lets android regenerate them. This fixes a problem with gapps signatures. (Just flash it after gapps, there can nothing go wrong)
SHA1: 5b66a2e160922626d67b30b459b5323deb8f549d
#cyanogenmod-touchpad Readme and Gapps:
http://ergh.org/cmtp/
Mirror (Folder by jassycliq):
mediafire.com, adfree: Click Me
What is KSM - Kernel Samepage Merging?
From Wikipedia, the free encyclopedia
Kernel SamePage Merging (KSM) (also: Kernel Shared Memory, Memory Merging) lets system share identical memory pages amongst different processes or virtualized guests. This is done by scanning through the memory finding duplicate pages. The duplicate pair is then merged into a single page, and mapped into both original locations. The page is also marked as "copy-on-write", so the kernel will automatically separate them again should one process modify its data.[1]
KSM was originally intended to run more virtual machines on one host by sharing memory between processes as well as virtual machines. Upon implementation, it was also found to be useful for non-virtualized environments where memory is at a premium [2][3]. An experimental implementation of KSM by Red Hat found that 52 virtual instances of Windows XP with 1GB of memory, could run on a host computer that had only 16GB of RAM [4].
KSM first appeared in the version 2.6.32 Linux operating system kernel [2]. To be effective, the operating system kernel must find similar memory pages held by different processes. As well it needs to decide whether the pages are going to update infrequently enough that SamePage Merging would be an efficient use of processor resources [3]. When first proposed, there were concerns that this feature could be exploit as a security vulnerability (this concern has since been addressed). Another concern is that although memory usage is reduced, CPU usage is increased, thus negating potential increases in performance [1].
References
^ a b "Home Page". lwn.net. kernel.org. Retrieved 2010-08-21.
^ a b "Home Page". IBM DeveloperWorks. IBM. Retrieved 2010-08-21.
^ a b "Home Page". kernel.org. kernel.org. Retrieved 2010-08-21.
^ "Home Page". kernelnewbies. kernelnewbies. Retrieved 2010-08-21.
more to KSM: http://bitcube.co.uk...merging-and-kvm
How to see the Magic happening?
Code:
cat /sys/kernel/mm/ksm/full_scans
cat /sys/kernel/mm/ksm/pages_shared
cat /sys/kernel/mm/ksm/pages_sharing
cat /sys/kernel/mm/ksm/pages_to_scan
cat /sys/kernel/mm/ksm/pages_unshared
cat /sys/kernel/mm/ksm/pages_volatile
cat /sys/kernel/mm/ksm/run
cat /sys/kernel/mm/ksm/sleep_millisecs
or just:
Code:
cat /sys/kernel/mm/ksm/*
to get all at once.
Check your RAM stats with:
Code:
free
Source for KSM implementation:
Android source modifications: Click Me
Kernel source modifications: Click Me
(ofc KSM must be enabled in your kernel config)
Source for Bricked:
Click Me
Thanks to everyone who ever contributed anything (even only a whitespace) to any of the used software.

Code:
[B][U][SIZE="5"]Changelog:[/SIZE][/U][/B]
[B]*** v4 ***[/B]
ROM:
synced with CM9 repo @ 05:04 PST 31/01/12
KSM code cleanup. Testing new configuration
Tweaking KSM, lowering CPU usage
Fixing restore of gapps after install (my fault, c&p was being a b*tch)
Allow reboot to recovery (http://review.cyanogenmod.com/#change,12311)
Allow power options menu (http://review.cyanogenmod.com/#change,12315)
Added CombinedBar Auto Hide (http://review.cyanogenmod.com/#change,12281)
SurfaceFlinger: Set the buffer size in the GraphicBufferAlloc (http://review.cyanogenmod.com/#change,12263)
Preference to disable bootanimation for faster boot (http://review.cyanogenmod.com/#change,12169)
Kernel:
ksm update from bricked-pyra source
Lowered min voltage once again (now: 700mV)
Updated KGSL driver with bricked-pyramid:
msm: kgsl: 8Stages 3D scaling, highest @ 300Mhz (fraction 33)
msm: kgsl: 6stages 2D scaling, highest @ 266,7Mhz, 33,35% Overclocked (fraction 100)
msm: kgsl: GPU off while screen off!
msm: kgsl: improved KGSL suspend
msm: kgsl: Use the correct virtual address for pmem regions
msm: kgsl: Delay 30ms to make sure GPU is ready during resume time
msm: kgsl: Update pwrlevel_change
msm: kgsl: Add sysfs attribute to turn GPU DCVS off/on
msm: kgsl: Early Suspend drivers
msm: kgsl: Turbo Mode
msm: kgsl: Don't check for idle while suspended
msm: kgsl: Make kgsl_idle_check check if a nap is allowed
msm: kgsl: fix parameter checking in adreno_ringbuffer_issueibcmds
msm: kgsl: Abort kgsl_pwrctrl_wake() when in KGSL_STATE_INIT
msm: kgsl: create singlethread wq instead of per-cpu wq
msm: kgsl: Fixing earlysuspend/lateresume for multiple devices.
msm: kgsl: run kgsl_idle_check after resuming a device
msm: kgsl: fix coding derp for init pwrctrl
[B]*** v3 ***[/B]
repo synced with CM9 (18:00 CET, 27/01/12)
touchscreen fixups by Dees_Troy, ts: lower touch threshold to help with light touches
touchscreen optimization by Dees_Troy, remove unneeded code and optimize filter
disable_dock_switch, fixes touchstone freezes, thanks to nomadman
hq bootanimation, by Kevin1981 from #cyanogenmod-touchpad on freenode
new quicksettings options, optimized for tablets, http://review.cyanogenmod.com/12162
External Bluetooth GPS support, http://review.cyanogenmod.com/#change,12095
...and many more stuff from the sync, take a look under settings ;)
[B]*** v2 - installfix ***[/B]
*fix setting Bricked as default kernel.
*delete uImage.CyanogenMod
[B]*** Initial Release - v2 ***[/B]
Based on cm9 a0.5
Touchscreen fix by Dees_Troy27
init.d script on boot execution fix by Turl
KSM support kernel & rom side
_

Nice
Sent from my Touchpad using xda premium

sweet dude. I was wondering when the custom ROMs would start showing up. East coast so too late to flash tonight but I will definitely try this out tomorrow. Nice work on the kernel btw.

Any sod fixes on this?
Sent from my Galaxy Nexus using xda premium

Bed time now, I will download and install tomorrow. Thanks!

Great stuff! If we are already using your kernel with CM9, can we just wipe and flash this, or is there something more that needs to be done?

OP updated.
v2 - installfix
###########################################
hotts23 said:
Great stuff! If we are already using your kernel with CM9, can we just wipe and flash this, or is there something more that needs to be done?
Click to expand...
Click to collapse
show-p1984 said:
Install:
Do you want a fresh install? Wipe data/factory reset & just flash from recovery.
Already on cm9 and don't want to loose your data? Just flash over your current install without wiping (don't forget to reinstall gapps afterwards).
Click to expand...
Click to collapse

When I saw the word "bricked" I was utterly scared.
Thanks for all your hard work.

Installed and its AMAZINGLY FAST.
But no WIFI working.. Bummer.
Going back to 0.5
Sent from Epic Touch HD with Tapatalk

axiapc said:
Installed and its AMAZINGLY FAST.
But no WIFI working.. Bummer.
Going back to 0.5
Sent from Epic Touch HD with Tapatalk
Click to expand...
Click to collapse
It has wifi Oo
gimme adb shell uname -a please
Or if you installed the v2 without the "installfix" in it's name, just download the installfix one and flash it over, flash gapps, done.

what is the gappsfixer file for?
Sent from my cm_tenderloin using xda premium

brigked said:
what is the gappsfixer file for?
Sent from my cm_tenderloin using xda premium
Click to expand...
Click to collapse
It removes bad <shared-user> elements from packages.xml and lets android regenerate them. This fixes a problem with gapps signatures. (Just flash it, there can nothing go wrong )

show-p1984 said:
It removes bad <shared-user> elements from packages.xml and lets android regenerate them. This fixes a problem with gapps signatures. (Just flash it, there can nothing go wrong )
Click to expand...
Click to collapse
OK. Thanks for quick response. Just wondering because i didnt see an explanation on the op. Anyways, flashed it and its working great. wifi is working for me. Thanks!
Sent from my cm_tenderloin using xda premium

show-p1984 said:
It has wifi Oo
gimme adb shell uname -a please
Or if you installed the v2 without the "installfix" in it's name, just download the installfix one and flash it over, flash gapps, done.
Click to expand...
Click to collapse
K brb
Sent from Epic Touch HD with Tapatalk

Just flashed over alpha 0 with the hotfixes, no wipe. Got a kernel panic when it finished booting right after I unlocked it. A quick power+home button reboot got me back to normal. Didn't remember to get a log and haven't been able to reproduce it again, so I'll just attribute the bug to not wiping.
Other than that, everything seems to be working very smooth so far! Thank you!

Reflashed and now WiFi uppppppp...
ICS HP Touchpad using Tapatalk HD

it might be early to request, but can we have the option to permanently enable OTA ADB? please?

Good work dude
I'll flash it later in the evening (GMT).
what's the change log for Bricked V0.34 coz dedicated thread states v.0.31 as latest?
Sent from my Desire HD

question about installing:
If I am still on CM7, do I need to use ACME installer to install your rom?
I know you stated that for fresh install we can just use recovery, but for CM9 it was suggested to use acme installer instead of recovery
thank you

Related

[KERNEL][FEB.28] Bricked-Kernel|2.6.35.14|v0.6|cm9|[email protected]/192|CIFS|L2PUSH|UV|KSM

DISCONTINUED
Bricked-Kernel v0.6 for CM9-ICS
ENJOY!
Default clocks: 1566Mhz max / 192Mhz min
OverClockable till 2.16Ghz (2157Mhz) !NOT ALL DEVICES CAN HANDLE THIS!
​Be EXTREMELY careful when setting something ABOVE 1914Mhz!
L2 Performance Boost @ 1566Mhz (original by faux123)
Disabled above 1890Mhz for stability reasons
GPU 3D Overclock @ 320Mhz
GPU 2D Overclock @ 266Mhz
Features:
Code:
[B]* based on the outstanding work of dalingrin and the cm-team[/B]
* Kernel base 2.6.35.14
* KSM support
* CIFS
* UTF8 encoding (included for CIFS)
* Overclocking to 1566Mhz default (max. 1914Mhz)
* Min Clock @ 192Mhz default
* basic NTFS support
* Tweaked ondemand settings to react better while letting cpu1 jump in later
* Snapdragon compiler optimization
* Global CPU Voltage table used for adjusting voltage table (by snq-)
...- Using System Tuner (or any other compatible app) you can now change the
.....Voltage @ each frequency.
* ~8% Undervolted till 1566Mhz
* L2 Performance Push @ 1566Mhz (Original by faux123)
* Overclock till 2157Mhz possible. ALL FREQUENCIES ABOVE 1782Mhz ARE CONSIDERED UNSTABLE!
--(I don't want to increase Voltage any further, this will increase the risk of burning your cpu. So if it is unstable, choose a lower clock!)
* cleaned code, improved performance
Changelog @ 2nd Posthttp://forum.xda-developers.com/showpost.php?p=21603709&postcount=2
How to install/unistall?
Just flash from recovery. If you can't boot the kernel (invalid size) you probably have installed some other stuff that put kernels in /boot. Currently we are limited to 30MB on that partition, so the kernel could not be written completely. From recovery, mount /boot and just do:
Code:
adb shell rm /boot/uImage.CyanogenMod
From booted CM-Stock kernel do:
Code:
adb shell
mount -o remount,rw /boot
rm /boot/uImage.CyanogenMod
Then flash the kernel again from recovery.
This will delete the original stock cm9 kernel and make room for Bricked.
This is, per default, installed as an additional kernel, so your cm9 default kernel will still be there as a fallback.
However it will automatically be set as the default boot option.
If you want to boot into the cm9 kernel for just one time, just choose it. Though wifi will be broken because the modules differ. (pushing the cm9 modules will fix that but break Bricked wifi , how that is done is written a few lines down)
If you want to permanently fallback to the CM9 Kernel for whatever reasons, just extract the ar6000.ko from the cm9 install zip (/system/lib/modules) and do this:
Code:
adb shell
mount -o remount,rw /boot
echo "CyanogenMod" > /boot/moboot.default
mount -o remount,rw /system
exit
adb push C:\path\to\the\cm9\ar6000.ko /system/lib/modules/ar6000.ko
adb reboot
This should set the default kernel as default bootoption, as well as replace the Bricked-Wifi-Module with the original cm9 one.
If you had previously removed the CM Stock kernel, extract it from the latest cm update and add this line before adb reboot in the above list:
Code:
adb push C:\path\to\the\cm9\uImage.CyanogenMod /boot
If you want to completely remove bricked, add
Code:
rm /boot/uImage.CM_Bricked-Kernel
before the 'exit' line above.
Where to complain about errors/bugs?
Please use the Issuetracker for bugs/errors/feature wishes!
Issuetracker @ https://code.google.com/p/bricked/issues/entry
IRC Chat: Freenode IRC #bricked
Download:
No Guarantees! If it kills your grandmother or your device, I am NOT responsible! If you understand this:
(If you download, please hit Thanks below my post! Thank you!)
*v0.6* [ondemand, PREEMPTIBLE] Click me
Current Downloads: Click Me
All Downloads: Click Me
Use System Tuner or SetCPU to overclock!
Source:
Changelog:
Code:
[B][U][SIZE="4"]***** v0.6 *****[/SIZE][/U][/B]
Simple:
* Blackscreens fixed (gigantic PM changes from caf)
* Use max L2 Frequency from 1728000Hz to 1890000Hz too (disabled over 1890Mhz for stability reasons)
* fix pmem for HD playback on cm9 A2
* fix boot hang when USB is connected (apparently 64GB Touchpads only)
* see below for the rest :P
* GPU OC @ 320Mhz 3D / 266,67Mhz 2D
* pushed max OC to !2,16Ghz! (2157Mhz) - !!use with caution!!
** I suggest you don't play with it
** unless you know EXACTLY what you are doing.
** This may very well brick a touchpad that cannot handle it. (but 2 of my 3 can :P)
** Default max remains 1566Mhz, during bootup: 1188Mhz.
** If you have no clue: Leave it to the defaults! :P
Detailed:
* bd73231 : max8903b: fix warning: function declaration isn't a prototype [-Wstrict-prototypes]
* 6560d8a : max8903b: print out an error if the device is not set up
* 0da4555 : max8903b: avoid crash in _current_setup if device not setup
* 18aef20 : board: Initialize max8903b_charger_device before USB This should fix some problems occuring while booti
* 1600ebb : PMEM changes required for MSM gralloc to work correctly.
* e4cd4e7 : acpu: Use max L2 Frequency from 1728000Hz to 1890000Hz
* 81f0951 : acpu: Raise max OC up to 2157Mhz +minor comment cleanup
* bc6c08e : change INIT_CONNECTED_PS_DELAY: 30 to 60
* 4b66792 : klog: copy logbuf on init
* 9d6e569 : PM / Core: Introduce struct syscore_ops for core subsystems PM
* f7bbacd : PM: Fix printing IRQ names for pending wakeup IRQs
* c5f2cbb : PM: Wait for completion of the parent resume before resuming
* 9f6ace8 : PM: Introduce library for device-specific OPPs (v7)
* ac959f3 : PM: Prototype the pm_generic_ operations
* 31b5c99 : PM: Remove redundant checks from core device resume routines
* e7f7366 : PM: Use a different list of devices for each stage of device suspend
* 14a931d : PM: Use proper ccflag flag in kernel/power/Makefile
* dd36b42 : PM: Lock PM device list mutex in show_dev_hash()
* abc8f02 : PM: Fix signed/unsigned warning in dpm_show_time()
* 5c29b42 : PM / Suspend: Fix ordering of calls in suspend error paths
* e04c902 : PM / Hibernate: Make default image size depend on total RAM size
* e0a2974 : PM / Hibernate: Improve comments in hibernate_preallocate_memory()
* d2dc39e : PM / Hibernate: Return error code when alloc_image_page() fails
* cda6734 : PM / Runtime: Fix pm_runtime_suspended()
* b4de71f : PM / Hibernate: Fix PM_POST_* notification with user-space suspend
* 02f03c7 : PM / Suspend: Fix bug in suspend statistics update
* 4068f99 : PM / Sleep: Remove pm_runtime_suspended() from __pm_generic_call()
[B][U][SIZE="4"]***** v0.5 *****[/SIZE][/U][/B]
Removed three 2D/3D scaling steps
Raised 3D GPU OC to 320Mhz (was 300 before, stock 266.67Mhz)
Fixed screen/sleep of death
Fixed a coding derp
[B][U][SIZE="4"]***** v0.4 *****[/SIZE][/U][/B]
ksm update from bricked-pyra source
Lowered min voltage once again (now: 700mV)
Updated KGSL driver with bricked-pyramid:
msm: kgsl: 8Stages 3D scaling, highest @ 300Mhz (fraction 33)
msm: kgsl: 6stages 2D scaling, highest @ 266,7Mhz, 33,35% Overclocked (fraction 100)
msm: kgsl: GPU off while screen off!
msm: kgsl: improved KGSL suspend
msm: kgsl: Use the correct virtual address for pmem regions
msm: kgsl: Delay 30ms to make sure GPU is ready during resume time
msm: kgsl: Update pwrlevel_change
msm: kgsl: Add sysfs attribute to turn GPU DCVS off/on
msm: kgsl: Early Suspend drivers
msm: kgsl: Turbo Mode
msm: kgsl: Do not check for idle while suspended
msm: kgsl: Make kgsl_idle_check check if a nap is allowed
msm: kgsl: fix parameter checking in adreno_ringbuffer_issueibcmds
msm: kgsl: Abort kgsl_pwrctrl_wake() when in KGSL_STATE_INIT
msm: kgsl: create singlethread wq instead of per-cpu wq
msm: kgsl: Fixing earlysuspend/lateresume for multiple devices.
msm: kgsl: run kgsl_idle_check after resuming a device
msm: kgsl: fix coding derp for init pwrctrl
[B][U][SIZE="4"]***** v0.35 *****[/SIZE][/U][/B]
init.rc: New /data dalvik cache
init.rc: Fix permissions for new dalvik cache
KSM updates.
Works with CM9 Alpha 0.6
[B][U][SIZE="4"]***** v0.34 *****[/SIZE][/U][/B]
init.rc: Fix init.d script execution @ boot-time by Turl
acpu: Change min/max limits to provide a wider scale range for the enduser
- Increased default voltage @ 1914Mhz (+25mV)
- You can now undervolt until 750mV and overvolt up until 1,425V.
- Don't cook eggs. Please.
msm8960: qdsp6v2: include the HW audio decoder and encoder
msm: audio: qdsp6v2: Acquire wakelocks during record.
msm: 8660: audio: Fix check for out of bound exception
Kernel Samepage Merging (KSM) for ROMs with support for it
[B][U][SIZE="4"]***** v0.31 *****[/SIZE][/U][/B]
Fixed KGSL page faults (Titanium Backup, etc...)
Thanks to dalingrin for finding the missing commit from CAF!
[B][U][SIZE="4"]***** v0.3 *****[/SIZE][/U][/B]
Too much to list here.
Changelog: [URL="http://pastebin.com/raw.php?i=cPS5d3p4"]http://pastebin.com/raw.php?i=cPS5d3p4[/URL]
Change statistics: [URL="http://pastebin.com/raw.php?i=DQsfsSwd"]http://pastebin.com/raw.php?i=DQsfsSwd[/URL]
Summary:
Improves UI reaction.
Improves overall performance.
Fixed a few bugs.
Decreased kernel file-size, we only got 30megs on /boot =/
Optimization Level 3
Addressed total stop of playback when device is going to sleep.
Increased CRC performance, this should speed up everything.
Decreased boot-time.
Increased read/write on disk.
[B][U][SIZE="4"]***** v0.21 *****[/SIZE][/U][/B]
* Bluetooth fixed
[B][U][SIZE="4"]***** v0.2 *****[/SIZE][/U][/B]
ar6000:
* switched to an older android driver version
This is a test for the Wifi issues
Kernel:
* Updated Kernel base to 2.6.35.14, no more palm :P
* Tweaked ondemand settings to react better while letting cpu1 jump in later
* added Snapdragon compiler optimization
* added Global CPU Voltage table used for adjusting voltage table (by snq-)
...- Using System Tuner (or any other compatible app) you can now change the
.....Voltage @ each frequency.
* Let MMFPB drop to 27MHz when processor power-collapsed (by Matt Wagantall)
* cpufreq: adding mfreq override sysfs value
...- Using this will override any governor to the max frequency currently set
* cpufreq: exposing scaling_available_frequencies to sysfs
[B][U][SIZE="4"]***** v0.1 *****[/SIZE][/U][/B]
This is a very early build.
* 2.6.35.palm
* based on the outstanding work of dalingrin and the cm-team
* CIFS
* UTF8 encoding (included for CIFS)
* Overclocking to 1566Mhz default (max. 1914Mhz)
* Min Clock @ 192Mhz default
* basic NTFS support
* Userspace driven configuration filesystem
* ~8% Undervolted till 1566Mhz
* L2 Performance Push @ 1566Mhz (Original by faux123)
* Overclock till 1914Mhz possible. ALL FREQUENCIES ABOVE 1782Mhz ARE CONSIDERED UNSTABLE!
--(I don't want to increase Voltage any further, this will increase the risk of burning your cpu. So if it is unstable, choose a lower clock!)
* cleaned code, improved performance
ReservedReservedReservedReservedReserved
is this for cm7 or cm9?
Its for cm9/ics..
hockey4life0099 said:
is this for cm7 or cm9?
Click to expand...
Click to collapse
For cm9-ics
Thank you, good catch! it's 7:45am here and I was awake all night doing stuff for the tp and for the sensation so I guess this mistake can be forgiven
remove post.
Probably a dumb question, but is the kernel backed up in a nandroid backup? Incase we run into a problem? I have a feeling it is, just wanna be sure.
vinscuzzy said:
Probably a dumb question, but is the kernel backed up in a nandroid backup? Incase we run into a problem? I have a feeling it is, just wanna be sure.
Click to expand...
Click to collapse
yes it is
----------
vinscuzzy said:
Probably a dumb question, but is the kernel backed up in a nandroid backup? Incase we run into a problem? I have a feeling it is, just wanna be sure.
Click to expand...
Click to collapse
I think nandroid does a backup of /boot.
But even if not it is installed as an additional kernel and set as default, should you run into any problem, just choose the default Cynogenmod kernel from moboot and push the ar6000.ko from cyanogenmod9 (zip file) to /system/lib/modules
I see it says shooter in the near future...
We gotta get cm first ehh...
Sent from my PG8610000 using xda premium
added uninstall information to #1 post.
gunfromsako said:
I see it says shooter in the near future...
Sent from my PG8610000 using xda premium
Click to expand...
Click to collapse
Yes it says so @gcode but this is not a shooter thread
is it me or does this kernel @ 1.5 have better/smoother app transition than the default kernel at 1.7?
have have had a few forced reboots that i wasnt experiencing with the cm kernel though. I don't know if it's the new gapps i installed or the this kernel.. will post back after a few hours.
Back to the old kernel for now. It seems a tad slower to me. Is battery life better or worst?
Sent from my HTC Glacier using xda premium
nomadman said:
is it me or does this kernel @ 1.5 have better/smoother app transition than the default kernel at 1.7?
have have had a few forced reboots that i wasnt experiencing with the cm kernel though. I don't know if it's the new gapps i installed or the this kernel.. will post back after a few hours.
Click to expand...
Click to collapse
jayb222 said:
Back to the old kernel for now. It seems a tad slower to me. Is battery life better or worst?
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
There are only a bunch of compile fixups, clock+voltage changes and cleanups present which differs this kernel from the cm9 one. I am also prefering ondemand over conservative as a governor.
The real stuff will be done once I got some sleep, like fixing the pagefaults that are forcing reboots on our devices with both kernels (since this is based on cm9, it has all it's pros and cons). It is at this moment not possible that this is noticeable slower or faster than cm9, nor that it reboots more often
Benchmarks may be better due to the L2 Boost, which is not relevant for me.
All issues you are experiencing (if present with cm9 default kernel or not) should be reported to the issue tracker with as much information as humanly possible
not using OC app. so default at 1.5GHz. sitting idle, it auto reboots. i need my tablet the today so back to the CM kernel for now. Thanks for the info show-p! i'll be back here when you update the kernel.
nomadman said:
not using OC app. so default at 1.5GHz. sitting idle, it auto reboots. i need my tablet the today so back to the CM kernel for now. Thanks for the info show-p! i'll be back here when you update the kernel.
Click to expand...
Click to collapse
You will still experience reboots now and then, deactivating "force 2D rendering" seems to significantly decrease the amount. But it still will happen
Awww YEee good to see showp up in here! love your kernels for the sensation!
how is the L2 Cache thing done ? Got a link for that ?
dakdroid said:
how is the L2 Cache thing done ? Got a link for that ?
Click to expand...
Click to collapse
It's in the kernel, what link?

[Kernel][JellyBean] Devil3_1.7.5 [17/10/12] - Cappy

This kernel is based on teamhacksung's kernel for Jellybean
This kernel is meant be working on every Rom based on cm10
Many Thanks to:
Teamhacksung
Zacharias.maladroit
Onecosmic
ytt3r
TK Glitch
Ezekeel
Eugene373
franciscofranco
Sunra
scheichuwe
perka
sztupy, for his great work, to get usb host mode driver
mialwe
stratosk
F4k for the idea to flash bigmem libs
...
sources:
https://github.com/DerTeufel
Click to expand...
Click to collapse
Working on this kernel is taking many hours almost every day. With a small donation, you show me, that my work is appreciated by you.
If you like this kernel, please donate to me
Download link and changelog can be found here:
http://www.hellybean.com/jelly.html
Click to expand...
Click to collapse
Kernels with VC in the name are coming with Voodoo Color
Changelog:
changelog 02.08.2012:
- bug fix to bln, to prevent kernel panic in some situations (thx to thalamus)
- switched from deep_idle 2 to idle2 (also thx to thalamus)
- updated kernel to linux 3.0.38
- dockaudio sysfs for captivate and fascinate
IDLE2 can be enabled with the following command:
echo 0 > /sys/module/cpuidle/parameters/idle2_disabled
IDLE2 can be disabled with the following command:
echo 1 > /sys/module/cpuidle/parameters/idle2_disabled
Stats can be obtained from the standard cpuidle interface, which, for
IDLE2 is located at:
/sys/devices/system/cpu/cpu0/cpuidle/state*/time
where * = 1, 2, 3
Click to expand...
Click to collapse
changelog 27.07.2012:
- hack mfc driver, to give all available mem to an application, if the requested mem is more than the max. available (maybe useful later, does not change anything right now (afaik))
- fix execution of boot-patch.sh, disabled twice execution of init.d, enabled tv-out server for all devices (i9000 already had this)
- battery: fix charging display for car dock
- increase read-ahead on moviNAND
changelog 25.07.2012 part2:
- fixed cwm backup and restore for kernels without /datadata partition
changelog 25.07.2012:
- updated recovery (no "sdcard format"-bug anymore, external sd card is named correctly)
- vibrant: hopefully fixed froyo ril
- jellybean: galaxy s settings working now
changelog 22.07.2012:
- updated kernal base to linux 3.0.36
- updated "block" to linux 3.3
- readded fiops io scheduler (kept cfq this time)
- updated cwm recovery to 6.0.1.0 (please create a new nandroid, because of possible incompatibilities between old/new recovery)
- compiled with linaro toolchain (gcc 4.7.1) and O3 compiler flags
- made uksm scan less often (save cpu time and power)
- at first boot: only delte init.d scripts created by other kernels
- increased usb write performance
- lowered ram and display voltages a little bit
- fixed some bugs related to devil settings (they should stick now after reboot, if set by one of the devil apps)
- support for scripts in /system/etc/shutdown.d (thx to Efpophis)
all scripts placed at /data/local/shutdown.d or /system/etc/shutdown.d get executed at shutdown/reboot
you can use this, to play a shutdown sound for example.
by default 00shutdown gets created, which plays a music file, when it is placed at one of these folders/places
/system/media/audio/ui/shutdown.ogg
/data/media/audio/ui/shutdown.ogg
Click to expand...
Click to collapse
- disabled some debugging options
- audio (and for fascinate: camera fixes) by Efpophis+
- patch for improving batterie life by CML
- nfts read/write driver built in (for use with usb host mode)
- reverted refreshrate_mod and gpu_oc mod, as both weren't working
changelog 18.06.2012:
- some changes to load balancing
- added ultra ksm (metioned by zach thx for this my friend)
- readded fiops io scheduler (still experimental and could cause instablilities)
- using snappy compression for zram now (2 times faster, but only 2% less compression)
- added the possibility to change zram size (at /data/local/devil/zram_size, with valid values: 50, 75, 100 and 150 (all in mb))
- fixed the applying of user_min/max freq after reboot
- vibrant: fixed gps
- fascinate: fixed nandroid in cwm recovery
what is ksm? http://en.wikipedia.org/wiki/Kernel_SamePage_Merging_(KSM)
uksm is more optimized and also working for single core systems. using this should give much better ram usage, but at the cost of more cpu usage
############# most probably not working (yet)##############
i have added seperate gpu oc from jt1134's galaxy_tab (to switch between 200 and 250 mhz), but i did not get any improvements in antutu...further tests needed
echo 1 > /sys/kernel/pvr_oc/pvr_oc (for 250 mhz)
echo 0 > /sys/kernel/pvr_oc/pvr_oc (for 200 mhz), no reboot needed
and also have changend default screen refreshrate from 60 to 56, with the possibility to change it:
echo 1 > /sys/kernel/refreshrate/enable (60 hz)
echo 0 > /sys/kernel/refreshrate/enable (56 hz)
######################################################
changelog 10.06.2012:
cwm recovery:
- fixed mounting of external sd card to pc
kernel:
- picked two commits from linux 3.0.32 (avoid a possible memory leak, small fix to ext4 driver)
fascinate:
- fixed wrong mount points
changelog 09.06.2012:
- updated Zram and Zcache from linux 3.3
- updated android binder driver from linux 3.3
- fixed restoring of backups within TWRP recovery
- added virtual buttons to cwm recovery (Attention: they still don't work!)
- call vol hack from tk glitch (take a look at init.d folder and edit the script to make changes to call vol hack)
- bigmem values get applied at first boot after power on (if there is a value at /data/local/devil/bigmem, 1 for 391 mb and 2 for 403 mb (the last one breaks 720p)
- prevent phantom key presses (from tk glitch)
changelog 24.05.2012:
- Smooth_ui included to ondemand, conservative, smartass, lulzactive, lagfree and lazy governor (only one setting for activating/deactivating it in general)
- 3 cpu governor presets (smooth, normal, powersave) for ondemand, conservative, smartass, lulzactive, lagfree (only one setting for switching the mode in general)
- no need for activating/deactivating of selective live_oc anymore --> just change target low and target high
- BLX back in
- fixes to devil idle to be more stable while in call
- 1,5 mb more ram (thanks to mialwe)
- added aroma filemanager to cwm recovery
- added fully working TWRP recovery optional to cwm recovery (to use TWRP, just create a file named "twrp" at /cache)
- added option to select ram config in kernel --> no need for flashing an other kernel to get more ram (thanks to stratosk)
- switched to new initramfs from stratosk and mialwe ( now there will be cmw zip and odin tar file of every kernel version)
- added possibility to use Zram instead of Swap
- no need for flashing/using special scripts to make swap/zram working anymore
- added zcache
- added frontpage
- added cleancache
- added fudgeswap (thanks to ezterry and faux123)
changelog 01.05.2012:
- all changes from cm9 stock kernel (including mount points option)
- some fine tuning to deadline and sio
- Devil Idle: limiting bus/ram/gpu speed to 100 mhz for 100-800 mhz cpu freq, while screen off (automatic mode) or always (permanet), both modes automatically reduce the int voltages of the affected freq by 50 mV
- compiled with swap support
- added stratosk's smooth_ui to lulzactive governor (activated by default)
- rest oc_value to 100 while screen off, and back when screen turns on (combined with devil idle automatic, can't be turn on/off without devil idle)
- added posibility for different voltages while screen off (also bundled with devil_idle, with default settings, stock arm voltages are applied, because of live_oc set to 100)
- added the possibility to set freq limits while screen off (min and max freq)
19.04.2012
- even better fix to selective live_oc (last one (in test kernel) generated some overhead)
- fixed sampling rate of ondemand and conservative (have ported mialwe's/stratosk's sleep multipliers)
- new tunables for ondemand and conservativ
sleep multiplier and tunables:
mialwe and stratosk had the great idea, to change the sampling rate of conservative and ondemand governor while display of. for this, he introduced the sleepmultiplier (in his case factor 3). this means, if you set sampling rate to 20000, it changes to 60000 while screen off, and back, when screen on.
for ondemand and conservative:
i have made this multipliers tunable. proper values are between 1 and 5, because one could want a higher multiplier while screen off, if sampling rate is very low while screen on (higher sampling rate means, less checking for work load --> better batterie, worse performance). with this tunables you get better batterie, without making the performance worse while screen on.
two other tunables: up_threshold_min_freq and responsiveness_freq
the first one is a very low threshold while on low freq (by default 40), to make the governor scale up faster, until the responsiveness_freq is reached.
the responsiveness_freq is set to 400000 (400 mhz) by default. while the freq is below this value, up_threshold is the same as up_threshold_min_freq, and freq jumps to responsiveness_freq, with skipping the freq between the actual one and the responsiveness_freq. (conservative governor does not jump up to this step)
responsiveness_freq can be set to values between 100000 and 1400000
up_threshold_min_freq can be set to the same values as the normal up_threshold.
not tunable: while screen off, up_threshold is set to 95, no matter your other settings, to save more batterie.
up_threshold_min_freq is disbaled by default for conservative governor
for lulzactive:
for this governor, i did similar things, but they are not tunable till now.
when screen off:
- inc_cpu_load is set to 90, and back to the original value, when screen turns on
- up_sample_time is set to 50000, and back to the original value, when screen turns on
- down_sample_time is set to 40000, and back to the original value, when screen turns on
other changes:
- fix to touchwake from ezekeel, and another fix from stratosk
- upstream fix to compass
- building for i9000B now, too (big thanks to F4k for the hints by pn )
- removed some typos from recovery
- removed some annoying "no's" and "yes" from recovery in misc menu
- fixed wifi mode switch (pm_fast is the one with better signal)
14.04.2012:
- new b versions (only stock ram) changend to 377 mb, VC version needs the 720p fix from my ftp server. cmc version already patched
13.04.2012:
- updated wifi driver
- added the possibility to switch between wifi PM_Fast and PM_Max mode (Pm_Fast = better signal, PM_Max = better batterie, default is PM_Max)
- user interface to disable fsync (this gives more performace, at the risk of data loss on a crash, taken from ezekeel, so it should be ok ), default is off, to be safe
- fixed voodoo color kernels (these have the VC in their names)
10.04.2012:
- added vibrator intensity control (by mialwe), presets can be changend in recovery
- stock ram version now available (348 mb ram), XL (390 mb), XL_bm (402 mb)
- removed 1080 mhz freq for now
- small correction to touchwake
- small correction to selective live_oc (now the low freq really are not live_oc'ed)
05.04.2012:
- fixed bug in selective live_oc, which caused the target high not taking affect to the highest freq, if highest freq equals target high
- fixed another bug in selective live_oc, which could lead to gpu crashes due to overclocking the ram, but not the cpu freq (for low steps)
- added a switch to change between "normal" and selective live_oc
by changing the live_oc mode while using it, live_oc value is set back to 100, to prevent strange things
- added possibility to set max. freq for boot (in recovery). This freq is set until init.d is executeted (it is automatically set to 1000 at this point, to make sure there are no conflicts with other cpu settings from users)
#Already in the last version, but i forgot about it:
- deep idle fixes from stratosk (many thanks)
- added possibility to underclock by using live_oc (limit is 90 now, which means lowering all freq and bus speed by 10%, to save more batterie when really needed)
03.04.2012:
For now there are three different RAM versions:
- stock mem kernel has 379 mb ram, everything working
- "slim ics" (XL) kernel comes with 390 mb, this is breaking playback of some high resolution videos
- XL_BM is coming with 402 mb ram, but breaking 720p
(while flashing the kernel, the modded rom files are also flashed, so you don't need to flash a new rom to get 379 or 390 mb)
-added new frequency: 1080 mhz (1100 does not like live_oc)
- fixed SmartassV2 for live_oc (after changing live_oc value, you have to change the smartass values, too, but then they automatically apply to the live_oc value (although you can only select 800 mhz in nstools (for example))
- touch recovery with custom devil menu (for some reason it takes a few seconds to load the first time, missing virtual keys is a warning, because there are no virtual keys yet)
-fast charge (thx to chad0989 for this), disabled by default.
you also can use the widget from chad (to place on homescreen) to toggle the fast_charge mode
https://play.google.com/store/apps/d...stchargewidget
Click to expand...
Click to collapse
while fast charge is activated you cannot connect as usb device
- added datafix script to init.d (this script is deactivated by deafult. to make it work, you have to creat a file named datafix and placed in /data/local/)
- reworking and cleaning many parts to get more ram, speed, and stability
05.03.2012:
- updated sio i/o scheduler to latest version
- small updates to ondemand and conservative governor from linux 3.2
- bettter performance for CFS kernel due to tuning and patches
- tuning to deadline scheduler
- better i/o performance
- changed bootlogo (probably not the last time )
28.02.2012
- finally working bln V9 (no need for LED2 anymore)
- fixed lockscreen freezes
- reverted memory tweaks, which could be the reason for lagging after using a day
- again wlan fixes from tk-glitch
- tweaked conservative and ondemand governor (conservative still is not too aggressive)
- added dm-cache again (who has removed this from my github? )
- improve usb signal quality
- xcaliburinhand's dock audio support (untested, do not have a dock)
- less debugging
- fixed kernel version not displayed under "about phone"
12.02.2012
- Added newest Fiops scheduler (tuned for more performance)
- When Gpu is active, min CPU freq is set to second lowest step
- fixes to live_oc and custom voltage
- default mount parameter NOATIME and NODIRATIME (faster)
- updated Wifi drivers (thanks to tk-glitch)
- tuned intellidemand for better performance
- removed some stuff (zram, swap, tweaks to cpufreq untill I know what was causing the instabilities of last build)
05.02.2012
- added Touchwake
- added BLX
- upgraded BLN from V8 to V9 (working for missed calls, blinking or static light, configurabel by using NSTools or BLN Pro App)
- added Intellidemand governor
- added mdnie settings to voodoo color version
- readded deep idle v2 again (I think it is the best/only working one, although
- version with CFS (instead of BFS) now also available (maybe better multitasking and batterie life, but slower)
- removed BFQ I/O Scheduler
- tons of smaller fixes and improvements
30.01.2012
-revert: Voodoo Sound now to be set with DSP Manager
29.01.2012
- Linux kernel 3.1.10
- Deep Idle from Eugene373 (always enabled, no stats)
- added BFQ v 3.1 I/O Scheduler
- Voodoo Sound now to be set with DSP Manager
- Zram (can be disabled by removing Zram file from init.d)
- Zcache and Cleancache (not working yet?)
- optimized rwsem algorithm
- USB Host V5
24.01.2012
- init.d support (the folder is not created by the kernel. You have to do it for yourself)
- Deep Idle V2 back in
- new Cpu governors: MinMax, Lagfree, Lulzactiv
- LED V2 (you can set blinking by using nstools, also working for missed calls in most cases (sometimes it is not working for missed calls, don't know why at the moment))
- Backlight Dimmer (only LED version): used to turn led backlight of, while screen is on, after defined period of time. Deactivating it, makes your backlight stay on all the time
- I/O-less dirty throttling completely backported from kernel 3.2
- Ext4 with 3.2 patches
- Proportional Rate Reduction for TCP - by Google
- USB Host V 4
19.01.2012
- Usb Host drivers integrated
- Cm9 Color adjustment
- Removed Deep Idle because of Bluetooth problems (hopefully it will come back, still testing)
16.01.2012:
- Updated Kernel basis to Linux 3.1.9
15.01.2012:
- fixed bug in cpu spy, caused by live_oc
- still using voodoo color for now, maybe two additional kernel versions tomorrow
[/quote]
files with .zip have to be flashed within recovery (twrp or cwm)
files with .tar can be flashed by using odin or heimdall (they are placed at the end of post 3)
Downloads:
http://rootaxbox.no-ip.org/divers/jellybean/ many thanks to Rootax
http://devil.haxer.org/ many thanks to SysTem-X (not updatet yet)
just in case ...
First
Sent from my Cappy powered with Jelly Bean using Tapatalk 2
Continuing my discussion from ICS thread here. Either I effed up enabling Idle2 or running a internal Cat of kmsg is not letting my phone drop to idle . Can Idle 2 be enabled from the app or that needs to be implemented?
Edit: Got everything to work. Here is the KMSG that I got. The problem is, if I use ADB the phone doesn't activate Idle2 but i feel like making my phone cat kmsg while I'm trying to crash it might not get the whole txt? I could be wrong. Hope it provides more info.
Idle2kmsg.txt
Wait so what's the difference between deep_idle 2 and idle2? Anyways I'm going to flash it and see what's the difference!
Sent from my SGH-I897 using xda app-developers app
@DerTeufel
Apparently I don't get SoD with idle2, my phone locks up. Screen Actually showed lockscreen this time when I attempted to wake it up while playing music. Sadly my computer doesn't see the device during this state. Any advice? Did you take a look at the kmsg I provided in my earlier post?
Thanks for your contribution .
Can't get to recovery?
Hello all, first time in Devil kernel.
First flash went well, I flashed and tested it was working by rebooting back into recovery. I set a few options (such as vibrate intensity) and rebooted, everything was OK (even better even, because Waze started working finally).
I did a 'touch /data/twrp' to try to enable the TWRP recovery, and rebooted, but now I'm kinda stuck at the kernel logo. Capacitive buttons do light up (but don't vibrate the phone), and I can reboot by holding all three hard buttons for ten seconds.
I noticed in the changelog that "for some reason" it takes a few seconds to start TWRP, but I waited for ten minutes (and dropped by battery 43%) before giving up. Coincidentally, now I'm getting the "android.process.media" has stopped error, waiting to see if a appdata wipe will help on that one...
Thing is, even after deleting the file I touched, it's still not letting me into Recovery (the normal CWM). Are there any hints at this? Or should I look at trying to get Heimdall working to try reflashing the kernel?
Tsaukpaetra said:
Hello all, first time in Devil kernel.
First flash went well, I flashed and tested it was working by rebooting back into recovery. I set a few options (such as vibrate intensity) and rebooted, everything was OK (even better even, because Waze started working finally).
I did a 'touch /data/twrp' to try to enable the TWRP recovery, and rebooted, but now I'm kinda stuck at the kernel logo. Capacitive buttons do light up (but don't vibrate the phone), and I can reboot by holding all three hard buttons for ten seconds.
I noticed in the changelog that "for some reason" it takes a few seconds to start TWRP, but I waited for ten minutes (and dropped by battery 43%) before giving up. Coincidentally, now I'm getting the "android.process.media" has stopped error, waiting to see if a appdata wipe will help on that one...
Thing is, even after deleting the file I touched, it's still not letting me into Recovery (the normal CWM). Are there any hints at this? Or should I look at trying to get Heimdall working to try reflashing the kernel?
Click to expand...
Click to collapse
yes, i think best would be to reflash the kernel, and then try to get to recovery.
DerTeufel1980 said:
yes, i think best would be to reflash the kernel, and then try to get to recovery.
Click to expand...
Click to collapse
Yeah, on the thoughts that it might have been a bad flash, I did try that. Now I've downloaded the 8/1 version for testing, we'll see what results. TWRP should be rom-independent, right?
I just don't know what else I might be doing wrong. Perhaps it's reading the TWRP information from a previous version and hanging up? Oh well, I supposed it can wait.
I renamed the TWRP file from a previous kernel's version and tried to reflash, but still no go...
Tsaukpaetra said:
Yeah, on the thoughts that it might have been a bad flash, I did try that. Now I've downloaded the 8/1 version for testing, we'll see what results. TWRP should be rom-independent, right?
I just don't know what else I might be doing wrong. Perhaps it's reading the TWRP information from a previous version and hanging up? Oh well, I supposed it can wait.
I renamed the TWRP file from a previous kernel's version and tried to reflash, but still no go...
Click to expand...
Click to collapse
i think twrp is not working at the moment with jellybean. i try to fix this tomorrow.
till then, you have to go to cache and delte the twrp file from there. if this file isn't present, then please attch your /boot.txt
DerTeufel1980 said:
i think twrp is not working at the moment with jellybean. i try to fix this tomorrow.
till then, you have to go to cache and delte the twrp file from there. if this file isn't present, then please attch your /boot.txt
Click to expand...
Click to collapse
Ok. Somehow the Devil Kernel Config app wasn't properly deleting the file, once I used an actual command to delete it, it worked OK to be in CWM recovery.
Just for kicks, I attached my /boot.txt log.
Tsaukpaetra said:
Ok. Somehow the Devil Kernel Config app wasn't properly deleting the file, once I used an actual command to delete it, it worked OK to be in CWM recovery.
Just for kicks, I attached my /boot.txt log.
Click to expand...
Click to collapse
Boot.txt is fine now
Gesendet von meinem GT-I9000 mit Tapatalk 2
Just for clarification, doesn't the boot.txt file get overwritten each boot? So if I'm having issues getting into TWRP, and I reboot to get out of recovery mode, the boot.txt file will only give information about the current boot (not the broken TWRP)?
Tsaukpaetra said:
Just for clarification, doesn't the boot.txt file get overwritten each boot? So if I'm having issues getting into TWRP, and I reboot to get out of recovery mode, the boot.txt file will only give information about the current boot (not the broken TWRP)?
Click to expand...
Click to collapse
Yes. That's right. It would have been helpful, if you grep it with adb, while stuck. I already did this now, and it wasn't helpful
Gesendet von meinem GT-I9000 mit Tapatalk 2
DerTeufel1980 said:
Yes. That's right. It would have been helpful, if you grep it with adb, while stuck. I already did this now, and it wasn't helpful
Gesendet von meinem GT-I9000 mit Tapatalk 2
Click to expand...
Click to collapse
One thing that always frustrated me was the fact that there is literally no way to watch the kernel messages on the display as it boots. That's one of my most trusted debug methods on the computer: Have it show what it's doing on the console.
Of course, there is a serial port somewhere, but it's apparently not easily accessible without special hardware...
Something just occurred to me: What if we could manually load the TWRP ramdisk and chroot into it? Would that allow us to interactively watch it? or (since stuff is already loaded and junk) that may not be possible? I noticed that adb starts, but we can't get a shell, so...
There is 1.1.3 kernel uploaded.
http://rootaxbox.no-ip.org/derteufel/jellybean/Cappy/113/
Sent from my SGH-I897 using xda premium
Search Button not working. Press it, not working, no response.. Have to go to the search app instead.
---------- Post added at 05:39 PM ---------- Previous post was at 05:38 PM ----------
Please click one of the Quick Reply icons in the posts above to activate Quick Reply.
---------- Post added at 05:40 PM ---------- Previous post was at 05:39 PM ----------
Please click one of the Quick Reply icons in the posts above to activate Quick Reply.
The search button no longer invokes the normal search function in an app, instead it launched Google Now in Jelly Bean. If that feature is missing in your ROM, nothing will happen when you press it, you must press-and-hold instead.

[DEV][KERNEL][UNOFFICIAL]godmachine81 A500 Kernel - oc,uv,cpugovs,ioscheds,much more!

Current release: Version 2.0 (stable) [09/08/2012]
SOURCE CODE: Available at GitHub
*WARNING PLEASE USE AT YOUR OWN RISK*​
DISCLAIMER​
FIRST OF ALL THIS IS NOT AN OFFICIAL KERNEL, IT IS NOT SUPPORTED BY OFFICIAL CM10 ROMS OR ANY PREVIEW ROMS.
ONCE YOU INSTALL THIS KERNEL YOU WILL NOT BE SUPPORTED IN THE CM10 / CM9 OFFICIAL/UNOFFICIAL DEVELOPMENT THREADS
OF ANY FORUM i.e XDA, SLATEDROID, etc.. THIS MEANS THAT YOU MUST NOT REPORT ANY ANDROID / CM BUGS TO THE ORIGINAL
COMMUNTIY THREADS FOR THE ROM YOU USE! YOU MAY HOWEVER REPORT ANY CM/ANDROID/KERNEL RELATED ISSUES TO THIS THREAD ONLY!
Click to expand...
Click to collapse
Features
CPU Overclocking up to 1500mHz (default is set at stock 1000mhz)
Stable GPU Overclock @ 450mhz (scales from 300 - 450)
Userspace CPU undervolting support
Brick prevention/precaution - disabled MMC_CAP_ERASE function from kernel
I/O Schedulers: BFQ, CFQ, SIO, DEADLINE, NOOP, V(R) (Default VR as of v1.3 - prior to 1.2 default = deadline)
Autogroup Scheduler patched to work with Android via User ID task grouping
CPU Governors: Lionheart, SavagedZen, Lazy, Scary, Intellidemand, LagFree, Wheatley, Lulzactive, SmartAssv2, Interactive, Ondemand, Powersave, Userspace, Performance (depending on ROM - interactive governor is usually set as default gov from userspace during init)
ARM libs from Linux 3.x (v2.0+)
Android Drivers from Linux 3.x (v2.0+)
Linux Security from Linux 3.x (v2.0+)
Cleancache + Zcache Support (v2.0+)
Working Zram - to enable see instructions below (v2.0+)
Fixed Video driver glitches (v1.4+)
Cleaned up tons dmesg errors and warnings (v2.0+)
Memory management fixes and patches from 3.x (v2.0+)
Alsa SoC Tiny HAL patch for better compatibility with Jelly Bean and ICS (reduces/eliminates popping sounds)
Plus various other improvements to kernel configuration and code.
Downloads
Current Release:
v2.0
Previous Releases:
v1.6
RC3
RC2
RC1
Tools:
Code:
[URL="https://github.com/downloads/godmachine81/Acer-A100-JellyBean-Custom-Kernel/toggle-ag.sh"]toggle-ag[/URL] Tool to Enable/Disable Autogroup and check the status.
'toggle-ag' now included with kernel zip as of 1.3a and is located at /system/xbin/toggle-ag - You may run from a terminal or create Script Manager widgets for each of the script arguments:
Code:
toggle-ag status
toggle-ag on
toggle-ag off
toggle-ag help
Please remember that this script has to be ran as root if you plan to enable/disable autogroup, however you may run as regular user to check the status or get the help dialog.
Important info on toggle-ag script usage (from the script comments):
#**Please note that toggling back and forth the scheduler will
#produce undesired effects, as it takes the system a few minutes
#to switch the process scheduler each time effectively. Imagine
#all processes that run in the backround are rearranged each time
#you switch the process scheduler. In other words you shouldn't
#toggle back and forth to make comparisons as they WILL NOT be
#effective immediately!!
Click to expand...
Click to collapse
Goo Manager Support (NEW!)
You can now download my custom kernels, tweaks, etc from Goo Manager, available on the Play Store. Goo Manager is similar to ROM Manager, except it works very well with TWRP 2.x
First time use instructions:
Set Download path to: /sdcard/goomanager/ in "Settings" (This is important as the location on Android and TWRP need to both be exact same!)
Go back to the main screen in Goo Manager and click Browse Compatible Roms
Choose 'godmachine81'
For kernels choose a500_kernel (you are welcome to look around in my other directories)
Choose the release you wish to download
Choose 'begin download'
You will see a notification for 'Download Finished' - Tap on it
It will prompt you to Select Zip(s) to flash, you may choose more than 1!
After you have selected all the zips you want to flash, go to the option 'Order and flash selected' or if you want to add a zip from a custom location, choose the 'Add zip from another location option'
Once in the Order and flash menu, it is important that you set the order to flash in the proper order, when you are sure it is right, then click Flash (First time you use Goo Manager, it will prompt you that an OpenRecovery is needed, choose that you already have one)
After You click flash, the system will reboot to TWRP, flash your .zip files, and reboot back to android without any user interaction.
ZRAM
What is it?
Zram was developed so that systems with a limited amount of physical ram may allocate a percentage of that to a system swap device using compression. By compressing the data that is in the swap space you can fit more data into the same amount of ram. For example App#1 is consuming 500mb of a total 725mb ram, this leaves you with 225mb free. If you have Zram enabled then App#1 may begin to swap to the zram device, when doing this you will have an advantage, because any amount of data from App#1 that gets swapped out to Zram will be compressed meaning it is actually using less physical ram. So instead of only 225mb free of 725mb you may now end up with something more like 400mb free because data from App#1 is compressed in Zram, in this example thanks to compression you cut the 500mb memory usage of App#1 to 325mb. Zram should have a minimal impact on performance while giving you the benefit of fitting more data into the amount of physical ram your device has.
HOWTO
This kernel includes functional ZRAM support, however to take advantage of it you must enable it from userspace (Android). Cyanogen Mod has an option in Settings > Performance > Memory to enable Zram, however it doesn't properly work - I'm not sure exactly how it is coded in the cm sources, but when you enable zram it doesn't create the zram swap device like it should. To work around this I wrote the following flashable .zip files that contain a script to automatically create the zram swap device at boot, please download and flash the size you wish to allocate to zram:
Zram - 100MB (14% ram)
Zram - 150MB (20% ram)
Zram - 200MB (28% ram)
Zram - 250MB (34% ram)
Zram - 300MB (41% ram)
Zram - 350MB (~50% ram)
To Disable/Remove Zram
In the event that you want to disable Zram then just remove the file(s) at:
/system/etc/init.d/50zram-*
After the 50zram- file has been removed, just reboot your device and you will no longer have Zram enabled. To re-enable just reflash one of the above files.
ChangeLog:
2.0
Backport several bits mainline code from Linux 3.5 - including Security, ARM Libs, MM, and Android specifics
Zcache + Cleancache added
Ability to concatenate kernel cmdline configuration to Bootloader's cmdline without breaking compatibility with any bootloaders ( needed for zcache/cleancache to work)
Zram patches and updates
Clean up dmesg logs
Deadline IO Sched tweak (1:1 ratio writes/fifo) - VR remains default IOsched
CONFIG: turn off some verbose logging/debugging to reduce overhead, enabled Load Lens Correction Data to smooth out camera operation
TweakIO init script included by default to optimize disk read/write performance
Several other small patches and tweaks to underlying sources
1.6
Minor update adds support for USB-DVB devices, provided in two separate files for convenience to users who do not wish to use DVB-USB all that is needed is the kernel package, for users who wish to use DVB please flash both the USB-DVB and the Kernel pkgs. **Warning please only install the USB-DVB package if you have the matching kernel pkg installed. This may require you download firmware for your DVB device to work, also for the modules to load automatically you will need an init script that loads the needed modules for the device - reason I didn't do this is because there are 79 different modules for universal support, it would be crazy to load them all for everyone all the time, so if you want this feature please do some research on how to get the proper modules (and firmware if needed) to load properly automatically via init script. For help join #iconia-dev on irc.freenode.net and look for godmachine81.
1.5
Add support for USB devices [USB Audio, game controllers, mice, keyboards, etc]
Adjust GPU/CPU voltages and frequencies - should have impact on GPU performance
Interactive governor default again and backported from Nexus 7 / NVidia Grouper kernel v 3.1
1.3a
Script: toggle-ag now included in zip, installs to /system/xbin/toggle-ag
Default IO Scheduler V(R)
Default CPU Governor Lulzactive
1.2b
Bug Fix release for 1.2 - BFQ randomly causing "black screen" issue immediately after boot animation, preventing full boot - reboot resolved issue in most cases, but comes back at random on boot - Setting default I/O scheduler to NOOP until BFQ issue is resolved.
1.2
Autogroup per UID instead of TTY task (huge improvement to autogroup on android)
Set BFQ as default I/O Scheduler
Allocator: Switch to SLUB from SLAB
Remove verbose debugging symbols
Set proper firmware/calibration paths for WiFi in configuration
1.1
Add userspace support for undervolting
GPU OC (400mHZ) on CPU OC > 1000mHZ
Fix "Recent Apps" bug - The glitchy behavior when loading an app cached in the "Recent Apps" menu. Pointed out by DarkNight
Tune SmartassV2 for better behavior and ideal freq set at 760mHZ
Add the following CPU Governors: Lionheart, SavagedZen, Lazy, Scary, Intellidemand, LagFree, Wheatley
Deprecated the non-autogroup release also known as (default)
various other improvements to CPU, voltage, video.
1.0.1b
Add SmartAssv2 CPU Governor
Fix LOCALVERSION
1.0.1
Patched MMC_CAP_ERASE as precautionary to avoid hard brick
1.0-pre
V(R) I/O scheduler Added
SIO I/O scheduler Added
Zram sources backported from 3.0 resolved compile issue
Alpha (First public download)
Overclock added: Min Freq: 216 Max Freq: 1504
CPU Governors: Lulzactive, Ondemand, Interactive, Conservative, Userspace, Performance, Powersave
IO Schedulers: Noop, Deadline, CFQ, BFQ
Autogroup or Default Kernel available
Patch for Tiny HAL - resolves popping in audio on JB/ICS
Click to expand...
Click to collapse
To cut down on general discussion in this thread please note that I have been in the Freenode IRC Dev channel a lot lately. server: irc.freenode.net channel: #iconia-dev My IRC handle is godmachine81 Join me there for general discussion if you don't mind. Thanks!
If you would like to help out with the continuance of kernel development for your Acer Iconia Tab A500 please consider a small donation to help out with bills, baby formula, wipes, diapers, etc. All donations are very appreciated by my family and I! Thanks
​
Well,
I'm always looking to flash things. I suppose it doesn't include 3g and GPS for the 501?
Should be a simple merge to use ICS 501 source from Acer.
However, I'll throw in a flash just to check install. Will report back later. Supermarket trip first.
MD
EDIT: I am to assume this is for ICS. Also, I noticed in your install script, there is no provision to delete current module files. I would suspect this would cause an issue if you already have an OC/UV kernel with modified ko files?
Probably is best to modify the IS to delete current lib/module files, and replace them with the required ones.
Hi,
I flashed the kernel over cm10 preview with TWPR and it boots up fine.
I found one bug yet:
when selecting lagfree governor the tablet freezes and reboots.
Moscow Desire said:
Well,
I'm always looking to flash things. I suppose it doesn't include 3g and GPS for the 501?
Should be a simple merge to use ICS 501 source from Acer.
However, I'll throw in a flash just to check install. Will report back later. Supermarket trip first.
MD
Click to expand...
Click to collapse
PSensor3G the appropriate driver for what you are wanting? It isn't a default in the A500 config, but I can definitely recompile it with it turned on.
**Edit - I had already merged in the A501 code drop, so if those things are not working it should be as simple as altering the config. I build simdetect in static instead of a module - it was a new feature in the 501 code drop, if it has issues being built in statically please let me know, as far as gps goes, it is included and *should* work, however I have no way of testing these things first to make sure.
GPS should work, don't see why it wouldn't.
KennyWuLee said:
Hi,
I flashed the kernel over cm10 preview with TWPR and it boots up fine.
I found one bug yet:
when selecting lagfree governor the tablet freezes and reboots.
Click to expand...
Click to collapse
Interesting as that isn't happening with the A100. I'll check into it or maybe remove lagfree, it's kind of misleading anyway, because imho it produces more lag than any of the other governors..
linuxsociety said:
PSensor3G the appropriate driver for what you are wanting? It isn't a default in the A500 config, but I can definitely recompile it with it turned on.
**Edit - I had already merged in the A501 code drop, so if those things are not working it should be as simple as altering the config. I build simdetect in static instead of a module - it was a new feature in the 501 code drop, if it has issues being built in statically please let me know, as far as gps goes, it is included and *should* work, however I have no way of testing these things first to make sure.
GPS should work, don't see why it wouldn't.
Click to expand...
Click to collapse
Thanks Mate. Will check it out in a few hours. The issue with GPS, is 501 uses a different radio than the 500.
But I'll check it out as soon as I can. Thanks!
MD
Moscow Desire said:
Well,
I'm always looking to flash things. I suppose it doesn't include 3g and GPS for the 501?
Should be a simple merge to use ICS 501 source from Acer.
However, I'll throw in a flash just to check install. Will report back later. Supermarket trip first.
MD
EDIT: I am to assume this is for ICS. Also, I noticed in your install script, there is no provision to delete current module files. I would suspect this would cause an issue if you already have an OC/UV kernel with modified ko files?
Probably is best to modify the IS to delete current lib/module files, and replace them with the required ones.
Click to expand...
Click to collapse
The script will remove modules from system/lib/modules and replace them with 1 module which is the wifi module, everything else is built into this kernel, it WILL NOT cause an issue at all, when you reflash a different kernel it should overwrite the modules installed by mine. Aside from that nothing in the ramdisk will be touched. And this is for HC/ICS/JB, it should run on any of roms you have as this entire kernel is built static, except for the wifi module.
Moscow Desire said:
Thanks Mate. Will check it out in a few hours. The issue with GPS, is 501 uses a different radio than the 500.
But I'll check it out as soon as I can. Thanks!
MD
Click to expand...
Click to collapse
Recompiled with the Psensor3G support built in, you may download here and give it a test: https://github.com/downloads/godmac...ustom-Kernel/gm-a500-v1.5-alpha-3g-signed.zip
I would like to see extreme edition and yes lagfree makes it freeze, also smartassV2 made it freeze ones , I use SavagedZen and it is very smooth.
So cif and other are build in kernel.
civato said:
I would like to see extreme edition and yes lagfree makes it freeze, also smartassV2 made it freeze ones , I use SavagedZen and it is very smooth.
So cif and other are build in kernel.
Click to expand...
Click to collapse
Thanks for reporting, I will check into what the differences would be between how the A500 and A100 boards handle the cpufreq transistions between gov. Not sure why they are causing issues with A500 and not with A100/A200 since they are all tegra2 and the cpufreq drivers are all tuned for the same processor, that's a bit weird, but thanks for reporting they are having issues, I will take note of that with A500 and may remove them or may patch whatever is necessary causing the lockup on gov change. Thanks again
**edit: yes all the FS supports are built in - if you have need for them being modules due to problems being built in statically let me know and I can just rebuild them as .ko instead of static. - Not had issues with any of the SMB/CIFS connections with A100 and static CIFS. Also NTFS is built in for whoever might have a weird sd card that is formatted with ntfs instead of fat32, or if they need to mount NTFS partition in any other manor
**edit2: haven't built A500 Xtreme edition yet, A100/A200 are working with xtreme until 100% load is reached for a duration of around 2-3 minutes and then freq nose dives to 216-456 and never raises back, has to do with the voltages clocks in dvfs / tegra2_clocks It's on my todo list of things to fix, and if I get it fixed I'll compile for A500. Kinda doing the A500 work in the blind, but doing the best I can to not have the device present.
Gotta clear something, not smartass V2 made it freeze it is caused by switching from interacriveX to SavageZen.
civato said:
Gotta clear something, not smartass V2 made it freeze it is caused by switching from interacriveX to SavageZen.
Click to expand...
Click to collapse
Thanks, that makes more sense now, as I just added interactiveX into my sources today and I haven't fully tested it. That's why there isn't a new release to the A100/A200 guys yet and I have done a few more things also as tests. If interactiveX is an issue it can be removed, I can just build again out of a 1.3 / 1.4 tag and eliminate that issue. I will be testing on my a100 to try to reproduce the problem. appreciate the info
**Edit and yes I can reproduce that bug on my A100 - I greatly appreciate the info civato! It isn't just switching to smartassv2 from interactiveX it is when switching to any other governor from interactiveX - I will check the sources for how interactiveX is handling the handoff right now
**Here is what I have concluded on: interactiveX has a serious bug when switching to another governor, I have looked at the sources and tried to debug dmesg/logcat info while the switch occurs and can't come up with any relevant information needed to pin point what the exact cause is with interactiveX - I made a few modifications on how the governor gets disabled when switching to another governor - didn't help... Still happens. Good news is: The regular 'interactive' driver that we have is backported from the nv grouper 3.1 kernel and should be much better at powersave/performance ratio than the older 2.6.3x interactive governors we have been using. So what I am going to do for you guys is the same thing I'll do for the A100/A200 guys (which never had this problem because interactiveX was never released to their devices - A500 kernel got compiled before I have pushed anything upstream to github or made other flashables.) I am going to take out interactiveX completely, keep the backported interactive assuming that you guys aren't experiencing any issues with 'interactive', and we'll make the release 1.5. Hopefully that will clear up any bugs you may have with this alpha test and people can begin to use this as a daily driver on their tabs. I appreciate all the help you guys have given me with this alpha release, not only have you helped me to find a bug with the A500 but also with A200/A100 before I released the downloads of 1.5. Thanks guys!
ntfs usb stick is not recognized , if I switch back to ezterry's oc kernel it works again. Even adding ufsd.ko acer ntfs module doesn't work.
civato said:
ntfs usb stick is not recognized , if I switch back to ezterry's oc kernel it works again. Even adding ufsd.ko acer ntfs module doesn't work.
Click to expand...
Click to collapse
Of course that wouldn't work since the ntfs module is built in (would conflict). I will make it module and recompile, need to see what is in the user land that depends on ntfs being a module and not static.
Civato: see how this works please.. InteractiveX has been removed, and NTFS is a module. thanks
download: https://github.com/downloads/godmac...Custom-Kernel/gm-a500-v1.5-alpha-2-signed.zip
I did not add the ufsd.ko to the modules. If you could tell me if the mainline ntfs.ko is not working, could you get me dmesg output on the ufsd.ko when trying to load it. Thanks in advance!
linuxsociety said:
Civato: see how this works please.. InteractiveX has been removed, and NTFS is a module. thanks
download: https://github.com/downloads/godmac...Custom-Kernel/gm-a500-v1.5-alpha-2-signed.zip
I did not add the ufsd.ko to the modules. If you could tell me if the mainline ntfs.ko is not working, could you get me dmesg output on the ufsd.ko when trying to load it. Thanks in advance!
Click to expand...
Click to collapse
No , no luck , ntfs is not working , I did 2 tests . One without modding the ramdisk and one where I added the following line "insmod system/lib/modules/ntfs.ko" .
Did you try with the ufsd.ko module that comes with the acer A500 stock kernel?
If you download the kernel from my flexreaper thread , see my sig you can find it there.
civato said:
No , no luck , ntfs is not working , I did 2 tests . One without modding the ramdisk and one where I added the following line "insmod system/lib/modules/ntfs.ko" .
Did you try with the ufsd.ko module that comes with the acer A500 stock kernel?
Click to expand...
Click to collapse
if you have that handy can u stick it in /system/lib/modules and reboot to see if it loads, not sure why there is a problem as i have module support for other versions enabled.
Civato: not exactly sure why this would be any different if you have the same .ko file and have already placed it in system/lib/modules/ and rebooted, but here is a download that contains the ntfs.ko and ufsd.ko in the modules if you don't mind testing it:
https://github.com/downloads/godmac...Custom-Kernel/gm-a500-v1.5-alpha-3-signed.zip
Just an initial look see. 3g and GPS work for the 501.
A little sluggish on first boot for a minute, but settled down. Will take a couple days to do battery rundown, and to check on 3g screen freeze and SOD. These issues haunted the 501 when it came to UV kernels. It's a lot less tolerant to UV than the 500 due to the 3g.
MD
linuxsociety said:
Civato: not exactly sure why this would be any different if you have the same .ko file and have already placed it in system/lib/modules/ and rebooted, but here is a download that contains the ntfs.ko and ufsd.ko in the modules if you don't mind testing it:
https://github.com/downloads/godmac...Custom-Kernel/gm-a500-v1.5-alpha-3-signed.zip
Click to expand...
Click to collapse
sorry , still no go

[Kernel][01/03/2013] CoCore 4.1

This custom kernel is base on diego-ch's TWRP kernel.
I call it CoCore.
( Responsibility )
I'M IN NO WAY RESPONSIBLE OF ANY DAMAGE CAUSED BY USING THIS CUSTOM KERNEL.
( Compatibility )
This kernel works well on i9070.
I am sorry that it causes high cpu load on i9070P!
( What is needed )
* An I9070 (Andorid 2.3.6)
* Some Android experience
* Know some knowledge of how to use Android Terminal
* More patience
( Features )
TWRP Recovery 2.2.1
28 CPU Governers
8 I/O Schedulers
IO Unlocked (increased a bit speed)
Init.d Script
Custom Bootanimation
Deeper Sleep Mode
zRAM, SWAP Supported
NTFS(Read Only)
CIFS
ARM ThumbEE
ARM VFP with neon
Optimized RWSEM Algorithm
Mali GPU Tweakes/Controls
LZO Kernel Compression ( for faster boot )
Removed Useless Drivers ( for faster boot )
SLUB Memory Allocator
Automatic readahead cache size
Audio Boost*
Linaro GCC Toolchain
And many miscellaneous tweaks, it's hard to make a list for them.
Maybe i also forgot them.
A ton of new features in my updates,please Check the updated version.( See below )
( Detailed explanation )
CPU Governers Supported:
Code:
Performance, OnDemand(default), Lionheart, Powersave, Userspace,
Conservation, OndemandX, SmartassV2, Interactive, Scary, Sakuractive,
PegasusQ, Intellidemand, Lazy, Wheatley, HotPlug,
SmartAss, LagFree, BrazilianWax, InteractiveX, MinMax, SavagedZen,
Aggressive, AggressiveX, Gallimaufry, GallimaufryX, AbyssPlug, Skywalker
* To get stable scores, please use Performance to run benchmarks.
* For daily using, i recommend PegasusQ.
* Please test the governors by yourself.
* And the PegasusQ will hotplug the second cpu when screen turns off,that might cause music skip when system load is heavy.
* If unsure,please use ondemand(default)
IO Schedulers Supported:
Code:
NOOP, Deadline, CFQ, BFQ(default), SIO, VR, anticipatory, ZEN
* To get more information about governers/io schedulers, here:
http://forum.xda-developers.com/showthread.php?t=1369817
* For daily using, i recommend SIO/BFQ/ZEN
* Please choose a best io scheduler by yourself.
Init.d Script:
* Please make sure there is a latest busybox in your system.I found that init.d didn't work properly on some devices which have old version busybox.
* The init.d folder (/system/etc/init.d) must have 0755 permissions.
* If the scripts dont have execution permissions,it wont be execute automatically.
Custom Bootanimation:
* Please put the bootanimation.zip in /system/media with right permissions(0644).
* If there isn't any custom bootanimation, kernel will load Samsung official bootanimation.
DeepSleep Mode:
* Default mode is State4, i changed it to State5. Increased standby life time.
* If you use a hotplug governor,it might be unstable when you use the deepest sleep mode.
* Some users reported that ondemand works well with deepest sleep mode.
* If you mind the standby time of the phone,please give it a try.
* You can get information about CPU sleep states:
Code:
cat /d/cpuidle/stats
* To change the allowed deepest sleep mode: (e.g. Allow State6)
Code:
#echo 6 > /d/cpuidle/deepest_state
zRAM & SWAP:
* zRAM must be enabled by script/command.
Code:
mkswap /dev/block/zram0
swapon /dev/block/zram0
* SWAP must use with a SWAP partition in sdcard.
Code:
mkswap /dev/block/mmcblk1p2
swapon /dev/block/mmcblk1p2
* Because we have a large memory, the zRAM/SWAP is low activity.
* Some users said that zRAM/SWAP wont help the performance of games,they might drop more battery.
NTFS:
* Need a binary called "ntfs-3g" to read/write ntfs sdcard. Built-in NTFS feature only can read.
* Stock Android 2.3 cannot mount NTFS sdcard automatically.
Mali GPU:
* Allowed larger memory.
* Allowed larger OS memory for buffer. ( 6m -> 10m )
* L2 cache max reads tweakable
* Enabled some features in Makefile.
* Disable a big debugging checking
Audio Tweaks:
* Enabled directly rendering
* Enabled 32k_clk ( a feature of AB8500 )
* Volume Boost! ( v3.6-3.8rc,optional in v4.0 )
* Dynamic Range Enhanced! ( v3.6-3.8rc,optional in v4.0 )
( Installation )
Method 1
1. Flash the kernel which has TWRP via Odin. You can flash diego-ch's TWRP kernel, or flash "GT-I9070-Kernel-CoCore.tar.md5" in attachments.
Here diego-ch's TWRP kernel: http://forum.xda-developers.com/showthread.php?t=1873119
( flash custom kernel will increase binary counter!! )
2. Run Odin, Put the md5 files in PDA, Pit files doesn't need.
3. Only check "Auto Reboot" and "F.Reset Time"
4. Click Start to flash, wait for phone reboot.
5. Boot into TWRP, Tap Install, Select i9070_kernel_CoCore_TWRP.zip, Flash it.
And, if you have TWRP kernel already, flash the zip via TWRP directly.
Method 2 (Experienced users only)
This method will not increased binary counter, but ROOT permission is needed.
1. Get kernel.bin.md5 from i9070_kernel_CoCore_TWRP.zip
2. Put kernel.bin.md5 in sdcard
3. Run your favourite terminal app, type these codes
Code:
$su
#dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
4. Reboot
If you typed a wrong patition number, perhaps it will brick your phone!!!
Think twice before you hit Enter.
( Updates )
01/03/2013 Update: CoCore v4.1
Hmm,This is BETA version.
Block: Added ZEN io scheduler (Bases on noop,deadline and sio)
CPUFreq: Added Skywalker governor (FreqTable tweaked)
Mali: Increased the default l2 max reads 28kb -> 48kb
Mali: Disabled a big debugging tracking
RCU: jRCU -> TreeRCU (For better CPU/RAM throughput!)
NWFPE: Enabled ex-nwfpe
Please remove the mali l2 init.d script tweaks,guys
CoCore-mini 1.4 is at #842 post.
12/23/2012 Update: CoCore v4.0
Mali: Driver updated, re-tweak the parameters
ASoC/ab8500: Driver updated
NET/conf: Enable HSTCP(high-speed tcp),Westwood+,Veno,Hybla,YeAh configs. Cubic(stock) conf is default.
Block: Set BFQ as default io scheduler
Block: Automatic readahead cache size limit (depend on the size of your sdcard)
Block: Re-tweak SIO/VR/Deadline for flash nand devices
MM: SLQB -> SLUB
SCHED: Remove fair_sleepers, revert the parameters back to stock
MISC: Remove a ton of juck!!!, Highest complie optimization level, boot faster(compare to old versions,8800ms~9100ms now)
PS.
The cifs.ko and smbfs.ko have been put out ramdisk.They will be installed to /system/lib/modules (for faster boot)
And i forgot the changes,see my source on my github.There is a changelog.
To change the net configs:
Create a new init.d script:
Change the 'highspeed' to other confs.
Use `sysctl -a | grep cubic` to know what conf you can change to.
`ping` is the simple way to test whether the conf you use fix you or not.
For me,i am using highspeed now. If unsure,keep default(Cubic)
Code:
#!/system/bin/sh
sysctl -w net.ipv4.tcp_congestion_control=highspeed;
I have set the mali l2 cache back to 28kb by default.
To set it to 48kb(max).Use an init.d script.
Code:
#!/system/bin/sh
echo 0x00000030 > /sys/module/mali/parameters/mali_l2_max_reads;
The game fps should be improved a bit,
The values you `echo` must be HEX
BUT,if it doesnt or feels lagged,remove this script.
For me,48kb works well.
The volume++ version is volume boosted. (Someone requires this)
The lagged sound will be increased,too!
12/09/2012 Update: CoCore v3.9Beta8
This is BETA VERSION!!
CpuFreq: Added AbyssPlug (Base on OnDemand+Hotplug)
Mali: Increased the priority of OSMEM (5 -> 1) (See the dmesg)
Mali: Unlocked mali_l2_max _reads in sysfs (You can tweak this parameter now) (Dont set over 48)
(If you find a good value,please share with us!)
Mali: Misc tweaks
Kernel/hz: Fix the defconfig issue (Thanks! @hafidzduddin)
Net/SCH: Reverted back to stock (To experiment the latency of enabling mobile data)
Makefile: More optimization flags
PS.
The Mali parameters are in /sys/module/mali/parameters/
Use scripts/terminal to set them.
12/07/2012 Update: CoCore v3.9Beta3
This is BETA VERSION!
J4FS: J4FS driver works! Bugfree now!
CpuIdle: Revert the ApDeepSleep to stock,and added ApSleep++ custom state
(ApSleep++ and ApDeepSleep only works with non-hotplug governors,e.g: ondemand)
(New sleep state is disabled by default.You can enable them by yourself,if you prefer longer battery.)
CpuFreq: Added Aggressive, AggressiveX, Gallimaufry and GallimaufryX (These are optimazed version of Conservation/OnDemand)
CpuFreq: Fix a hotplug bug of PegasusQ
FS/SYNC: Removed Dynamic Fsync Control,added Ezekeel FSync Control
ASoc/ux500: Raise the pcm buffer size to MAX
NET/Scheduler: Re-tweaked, to experiment the latency of mobile data
Unknown: Fix the touchscreen sudden lost response (According to my using these days,it has been happended again!)
PS.
The FSYNC is enabled by default.Disabling FSYNC can improve IO performance.
In AnTuTu IO Test: Enabled: 350-400 Disable: 540-560
But disabling FSYNC can cause losing data!! It is at your own risk!!
Check the TIPS part to get how to disable it.
12/02/2012 Update: CoCore v3.9Beta1
This is BETA version, at #344 post.
12/02/2012 Update: CoCore v3.8.6rc
ASoC/ab8500: Use another gain mode in order to fix the terrible audio issue.
Sched: Reduce the latency of CFS Scheduler
PS.
The dyn_fsync will casue screen lag when you turn off the screen and there is a heavy io load.
If there isnt any heavy io load,it goes normally.
If you hate this,see the Tips part (#2 post) to get HOW TO disable dyn_fsync.
12/01/2012 Update: CoCore v3.8rc
CpuFreq: Tweaked the freq table of PegasusQ
Blcok: Updated BFQv1 -> BFQr2-1,Fixed the latency of BFQ issue. (BFQv5 is incompatible with Linux 2.6.35)
Sched: Tuned the patamerters of CFS scheduler (Use ThunderBolt's)
Sched_features: Enable Fair_Sleepers,Disable HRTICK
Mali: L2 cache max reads -> 48kb,Fix the mem leak issue.
NET: Set WestWood+ as default CONFIG
fs/sync: Added Dynamic FSync Control
(Improve IO performance greatly.When the screen is on,fsync is off.When the screen is off,fsync is on.)
ASoc/ab8500: Fixed the FMRadio volume balance issue. (Thanks @shut_down)
MISC: Removed a TON of JUNK!!!,And added a workaround to flash kernel quickly.
PS.
The benchmark screenshot is in the #304 post.
How to disable DYN_FSYNC? Check the TIPS part. (#2 post)
What is the flash kernel workaround?
In TWRP,use the Terminal fucntion,SELECT the folderr which has a kernel named "kernel.bin.md5",Start the Terminal,
And just type "fkernel"(No quotes),it will flash the kernel.bin.md5 automatically.
And i found that V(R) is a good io scheduler too.
The BFS CPU Scheduler is incompatible with our kernel.I am about to introduce this in the JellyBean kernel.
11/25/2012 Update: CoCore v3.7
RamDisk/TWRP: Added a temporary workaround to mount emmc(internal memory)
Block: SIO io scheduler updated. (2012 version) (Thanks @hafidzduddin)
CpuFreq: Fixed the name issues of governors (SetCPU cannot tune the parameters of governors, now fixed)
CpuFreq: Added LagFree, BrazilianWax, InteractiveX, MinMax and SavagedZen governors
(New governors havent been tested fully!If unsure, PegasusQ is recommended.)
I have tweaked the freq tables of most governors.
Mali: L2 cache max reads: 48kb -> 44kb , FPS increases (1-8fps) in simple scenes.
(Reserved 4kb for buffering, perhaps it will fix the sudden lag in games)
Sched: Fix SAMSUNG source code errors
Sched: Added AutoGroup Scheduler v4
Net/Sched: Re-changed the scheduler of net
android/logger: Reduced the logger size
ASoc/ab8500: Headset Volume adjusted, Dynamic Range enhanced! (i recommend using PowerAMP/RockBox)
PM(PowerManagement): Added a new feature, Operating Performance Point (OPP) Layer library
MISC: Disabled something useless(for faster boot),
Added GenLock API, MM&DMA hacked,
Added a new feature DM_CACHE,
more GCC optimizations in MakeFile
PS.
Dont use high volume to listen to music over 1 hour, it it not good for your ears.
Just reduce some volume.And i havent gained the speaker volume, dont worry.
The TWRP has some grapics issues when entering the emmc folder(it happends soemtimes, not always),
if it happended just tap back button and enter again.
(Some guys required this becaues them havent an external sdcard! )
And about the SetCPU issues. If you cannot tweak the parameters of some governors,
go to /sys/devices/system/cpu/cpufreq/(governor_name)/, you can tweak them here.
Make a script to tweak them quickly.
I think there is no point in updating to 2.6.35.14, because it updates a lot of useless drivers.
11/18/2012 Update: CoCore v3.6
Block: Added anticipatory io scheduler
CpuFreq: Added HotPlug and SmartAss governors
CpuFreq: Tweaked SmartAss and SmartAssV2 freqtable in order to match our device
Kernel: Adjusted many parameters
Lernel: Built with optimized compiler options
Sched: Added Fair_Sleepers feature,
disabled Gentle_Fair_Sleepers feature,
enabled HRTICK feature
MM: Increased Min readahead 16k -> 32k
JHash: Added JHash v3 speed tweak
Mali: Use another timestamp mode
ab8500/asoc: Headset volume gain boosted! (Sounds perfectly.My ears will be satisfied with i9070+Edifier H850. )
11/11/2012 Update: CoCore v3.5
Kernel: Revert LZO compression ( LZO is the fastest, but it makes kernel largest )
Kernel: Removed some bad tweaks
Kernel: Compile with Linaro GCC 4.4.5 ( The final version of Linaro GCC 4.4 series )
Ramdisk: For power saving, cifs.ko and smbfs.ko will not be loaded by default
Block: SIO, V(R) and Deadline io scheduler tweaked ( Better IO throughput )
FS: EXT2, EXT3 and EXT4 speed up
JHash: Updated to JHash v3
Sched: Enabled HRTICK
RCU: Added and use JRCU
TCP: Change TCP_Config to VENO ( Faster on wireless network ), and enabled HSTCP ( High-speed TCP )
NET: Net schedulers tweaked, in order to work with VENO config
NET: Introduce u64_stats_sync infrastructure
MM: Added vzalloc() and vzalloc_node() helpers
MM: Added and use SLQB memory allocator
MM: Added fudgeswap
SYNC: Added synchronization framework
BCM4330(WLAN): Enabled PM_FAST mode in standby
CGroup: Enabled FREEZER feature
PS. And many misc tweaks.
And i added some modules in /lib.
I tweaked mali parameters again (MEM -> 48MB OSMEM -> 8MB).
Because i find that when the memory is too big, it feels lag.
According to my test, in simple scence, fps increases (1-2fps); in complex scence, fps reduces (1-2fps).
But UI is faster in low frequencies! ( i often use signle core at 800Mhz )
10/28/2012 Update: CoCore v3.1
Mali: Fixed the fps issue.
RCU: Use Tiny-PREEMPT RCU (To reduce memory footprint, and feel more smooth)
Kernel: Removed some bad tweaks.
10/28/2012 Update: CoCore v3.0
Bug Fixed: Rolled back to old ramdisk (TWRP 2.2.1) in order to fix wifi hotspot issue.
MM: Increased sdcard max read ahead to 2048kb. (It's nice to work with my class-4 sdcard)
FS: Added AUFS,AutoFS4 support.
FS: Improved a bit perfromance of ext4.
RCU: Added Tiny-PREEMPT RCU.
RCU: Boosted. (Prefered real-time response)
CFS: Boosted.
Log: Reduced the log buffer size.
TCP: Enabled some features, optimized.
Net: Removed some schedulers.
Kernel: Removed some bad tweaks.
CGroup: Boosted.
CGroup: Added timer slack subsystem feature.
CpuIdle: ApDeepSleep(State6) worked! (Experimental,enable by yourself. Default is State5.)
LIB/CRC32: Added optimized CRC32 algorithm.
And lots of misc tweaks.
10/23/2012 Experimental Update
CpuIdle: State6( ApDeepSleep ) works!! Added "ARM_OFF" to State5!!
10/21/2012 Small Update
Update: TWRP 2.3.1.1 ( Thanks! @diego-ch )
Mali: Increase OS memory for buffer ( 8M -> 16M )
init.d: Make it as service
LIB: Add memcopy macoros and functions
ARM: Add optimized AES and SHA1 routines
ARM: Add optimized SHA1 implementations ( boot faster )
ARM: Enable ICache feature
ARM: Enable BPredict feature
ARM: VFP hard+neon float flag
ARM: JIT network Compiler ( experimental )
CPUIDLE: Add a custom sleep state ( state6,experimental )
Kernel: Use LZMA compresstion ( boot faster )
Kernel: Add XZ compresstion support
CFS: Tweaked
Revert: Gentle_Fair_Sleepers ( for smooth UI )
Compatible with JetMOD now
( Old versions downloads )
*** These have j4fs bug! ***
CoCore v3.1 http://d-h.st/1Q5
CoCore v3.5 http://d-h.st/qKY
CoCore v3.6 http://d-h.st/wvi
CoCore v3.7 http://d-h.st/48k
CoCore v3.8rc http://d-h.st/Eui
CoCore v3.8.6rc http://d-h.st/XEf
( Thanks )
Thanks to everyone who helped me.
Special Thanks:
@diego-ch
@varun.chitre15
@hafidzduddin
@shut_down
@hackbob
@Adi_Pat
@JackStow
The source code is available on my github now.
If there are any issues, please report.
And if you like my work, Press THANKS Button Please. It encourages me.
( Tips )
1. For performance, please remove libGLES_android.so in /system/lib/egl to disable weak CPU rendering.
2. Flash your kernel quickly via Ternimal.
Creat a new file (named `ddkernel`) with RootExplorer.
Write these codes:
Code:
#!/system/bin/sh
source=`busybox realpath kernel.bin.md5`;
echo "DD: Flashing $source";
busybox dd if=kernel.bin.md5 of=/dev/block/mmcblk0p15;
Save , and set right permissions (0777), put it in /system/xbin
Now, you can `cd` to the folder where stores `kernel.bin.md5`, and use `ddkernel` command to flash kernel.
3. Mount your NTFS sdcard
Firstly, you need a binary called "ntfs-3g". Put this binary in /system/xbin
Open your terminal app.
Code:
mkdir sdcard-ntfs
ntfs-3g /dev/block/mmcblk1p1 /sdcard-ntfs
4. My sysctl.conf
Code:
vm.dirty_expire_centisecs=3000
vm.dirty_writeback_centisecs=500
vm.dirty_background_ratio=40
vm.dirty_ratio=80
vm.vfs_cache_pressure=1
vm.highmem_is_dirtyable=1
To use this file,you must have installed busybox,and put this file in /system/etc
Go to /system/etc/init.d/,create a new file(Any name you like),write this(Remember to set right permissions(rwxrwxrwx) of new file):
Code:
#!/system/bin/sh
busybox sysctl -p;
Now your sysctl.conf will be loaded automatically in every boot.
5. How to disable Dynamic FSync Control? (CoCore v3.8-v3.8.6 ONLY)
In your /system/etc/init.d/,create a new file
Code:
#!/system/bin/sh
echo 0 > /sys/kernel/dyn_fsync/Dyn_fsync_active;
Now,this function will be disabled in every boot.
6. How to Control the FSYNC? (CoCore v3.9+)
In your /system/etc/init.d/,create a new file(any name you like)
Code:
#!/system/bin/sh
# Disable FSYNC
echo 0 > /sys/class/misc/fsynccontrol/fsync_enabled;
# Enable FSYNC
#echo 1 > /sys/class/misc/fsynccontrol/fsync_enabled;
Or you can control the FSYNC via terminal realtime.
Good work!
Just I have a request
Can you try this on JetMOD and tell me if Power menu options of Reboot, and Reboot recovery works?
I am planning to ship this kernel in next update of JetMOD
varun.chitre15 said:
Good work!
Just I have a request
Can you try this on JetMOD and tell me if Power menu options of Reboot, and Reboot recovery works?
I am planning to ship this kernel in next update of JetMOD
Click to expand...
Click to collapse
ok, i will try today.
Sent from my GT-I9070 using xda premium
Looks nice. Got the I9070 today. Will test it out soon.
Btw, which users are working on CM ? I would like to contribute. I have already forked hackbob's source. Will look into it sometime later.
Edit : Removed. Double post.
Shaaan said:
Looks nice. Got the I9070 today. Will test it out soon.
Btw, which users are working on CM ? I would like to contribute. I have already forked hackbob's source. Will look into it sometime later.
Click to expand...
Click to collapse
If i got it right, @diego-ch @hackbob @Adi_Pat are working on CM.
cocafe said:
If i got it right, @diego-ch @hackbob @Adi_Pat are working on CM.
Click to expand...
Click to collapse
Thanks.
Is there any known method to reset the binary counter ? Does triangle away work ?
Shaaan said:
Thanks.
Is there any known method to reset the binary counter ? Does triangle away work ?
Click to expand...
Click to collapse
No, there isn't. Triangle Away only works on ICS/JB
When get JB source code, we can have a try.
Sent from my GT-I9070 using xda premium
tnx allot dude, i`m sad that i am at the office and can`t test your kernel :|
I have made CWM. Should i include it in the boot image and flash ?
I dont see any zip which includes the .img format..
after flashing it by TWRP, it stuck on boot logo :S
i was using jetmob rom before, and need to restore the backup.. i'v tries twice, and same boot logo stuck..
JackStow said:
after flashing it by TWRP, it stuck on boot logo :S
i was using jetmob rom before, and need to restore the backup.. i'v tries twice, and same boot logo stuck..
Click to expand...
Click to collapse
Yes this is incompatible for JetMOD.
Wait for next update of JetMOD
Shaaan said:
I have made CWM. Should i include it in the boot image and flash ?
I dont see any zip which includes the .img format..
Click to expand...
Click to collapse
Great, You have made CWM for i9070?
i9070 kernel format is zImage, not boot.img.
You can fork the kernel repo of diego, replace the recovery files, and complie kernel.
Put it in dev thread.
We will test it.
Sent from my GT-I9070 using xda premium
JackStow said:
after flashing it by TWRP, it stuck on boot logo :S
i was using jetmob rom before, and need to restore the backup.. i'v tries twice, and same boot logo stuck..
Click to expand...
Click to collapse
Try to delete/rename the init.d folder in /system/etc.
Some scripts of JetMOD stuck booting.
Please report me if it works.
Sent from my GT-I9070 using xda premium
i have flashed your kernel and i am happy to see that drop of fps is gone, the rest is working splendit as well, tnx again
installing these kernel?
hi cocafe.
your custom bootanimation work?
in my kernel custom bootanimation loops never stop.
i use diego-ch ramdisk
im a user of galaxy ace 2
What is that CPU/b2r2 rendering?
Is that audio tweak included without flashing " optional scripts? If I do not want to enable "Deepest Sleep" and "Mount" from optional scripts zip, is it enough to delete them from the zip?
hafidzduddin said:
hi cocafe.
your custom bootanimation work?
in my kernel custom bootanimation loops never stop.
i use diego-ch ramdisk
im a user of galaxy ace 2
Click to expand...
Click to collapse
Yes, several weeks ago, i fixed that loop bug.
You can check the ramdisk of my kernel. There is a small workaround in post_boot.sh.
Here the method:
in init.ux500.post_boot.sh, write these code
# fix custom bootanimation loop
sleep 4;
bootani=`ps | grep bootanimation | cut -b 10-16`;
kill $bootani;
Sent from my GT-I9070 using xda premium

[KERNEL] [2.6.35] 2157MHz CPU/320MHz GPU Overclocked Touchpad CM Kernel

Here's a custom kernel for you all to try out. It should work with any CM10.1 (some nightlies, but not all), CM10 or CM9 ROM that loads from moboot with uImage.CyanogenMod (if you don't understand what this means, don't use it). Pick your specific ROM. Not tested with all ROM's, so YMMV.
Here's a few facts:
Compiled with Linaro 4.7 toolchain
Complete with jcsullins patches for low power demand, wifi sleep, etc.
Complete with _Dorregaray's_ camera hooks
Improved entropy depletion routines speed file reads
Optimized AES and SHA1 encryption routines speed boot up and file decryption
Overclockable to 2157MHz if your ROM allows frequency settings
Level 2 frequency OC to 1914MHz
Stepped 2D & 3D GPU up to 320Mhz
Additional governors and schedulers
Use Kernel Tuner for tuneable parameters in the kernel
READ HERE FOR INFORMATION ABOUT GOVERNORS AND SCHEDULERS: Guide Link
Instructions: Download and flash the ROM version you currently have installed. No system/full wipes or cache clearing required.
CM9:
http://goo.im/devs/shumash/tenderloin/CM9_OC320-2157MHz_Kernel_08_23_2013.zip
CM10:
http://goo.im/devs/shumash/tenderloin/CM10_OC320-2157MHz_Kernel_08_30_2013.zip
CM10.1:
http://goo.im/devs/shumash/tenderloin/CM10.1_OC320-2157MHz_Kernel_08_22_2013.zip
http://goo.im/devs/shumash/tenderloin/CM10.1_OC320-2157MHz_Kernel_09_08_2013_Fixed_Rotation.zip
[CM10.1_xxxxNightly (should work with any nightly on or after each nightly date (_xxxxNightly part of the filename). It may work with other nightlies):
http://goo.im/devs/shumash/tenderloin/kernel/
[CM10.2_093013Nightly] :
http://goo.im/devs/shumash/tenderloin/kernel/CM10.2_0930nightly_OC320-2157MHz_Kernel_09_30_2013.zip
CHANGELOG
Code:
-> 30SEP13
- CM10.2 nightly build
-> 08SEP13
- CM10.1 build without Dorregaray MPU3050 updated driver (fixes rotation issue)
-> 22AUG13
- Properly enable gpu overclocking (milaq)
- Incorporate updated gyroscope userspace drivers (dorregaray)
-> 02AUG13
- remove abyssplug governor
- enable sysfs for GPU settings
- change to Linaro 4.7 toolchain
-> 26JULY13
- DERP: Fixed frandom number generator module not implemented in defconfig.
-> 25JULY13
- tune savagedzen governor
- add frandom number generator module
- Merge milaq: distinct localversion (nightlies only)
-> 24JULY13
- Add savagedzen governor (a modified smartassv2)
- Merge milaq: link and sync cpu governors (excluding policy refactor)
-> 15JULY13
- Incorporate ramdisk changes in 10.1 kernels
- Change scaled min power shutdown from 3% to 5%
- Allow L2 boost up to 1914MHz
- Remove hotplug governor
-> 27JUNE13
- Update deadline scheduler for improved android performance (milaq)
- Disable GENTLE_FAIR_SLEEPERS (milaq)
- rtc: alarm: Update hrtimer if alarm at the head of the queue is reprogrammed
- Add hotplug governor
-> 15JUNE13
- Change to arm-eabi-4.3.3 toolchain
- Cleanup frequency tables
- Add sio and vr schedulers
- Ramp processors up to 1512MHz at startup to decrease boot time
-> 02JUNE13
- Add lagfree governor
-> 11MAY13:
- Improve read speed of deadline scheduler
- Add badass governor
-> 06MAY13:
- Incorporate version specific ramdisk for CM9, CM10, & CM10.1
-> 04MAY13:
- Allow L2 overclocking up to 1890MHz
-> 22APR13:
- Stepped overclocking of GPU to 320MHz
-> 20MAR13: Initial upload
shumash said:
Here's a custom kernel for you all to try out. It should work with any ROM that loads from moboot with uImage.CyanogenMod (if you don't understand what this means, don't use it. You can, however, modify the update_script in the zip file to change the name to whatever you want.).
Here's a few facts:
Complete with jcsullins patches for low power demand, wifi sleep, etc.
Complete with _Dorregaray's_ camera hooks
Improved entropy depletion routines speed file reads
Optimized AES and SHA1 encryption routines speed boot up and file decryption
Overclockable to 2157MHz if your ROM allows frequency settings
Instructions: Download and flash. No system/full wipes or cache clearing required.
http://goo.im/devs/shumash/tenderloin/SKZ_OC2157MHz_Kernel-032013.zip
Click to expand...
Click to collapse
Just installed it. Running SGA's 03/08 cm10 unofficial. Everything running well.
Should you note that is this for CM10 or CM9? Does it work on both? I would be very surprised if you say yes!
Does it have the GPU O/C?
Gembino said:
Should you note that is this for CM10 or CM9? Does it work on both? I would be very surprised if you say yes!
Does it have the GPU O/C?
Click to expand...
Click to collapse
Don't know, but it's same kernel as CM9
No
shumash said:
Here's a custom kernel for you all to try out. It should work with any ROM that loads from moboot with uImage.CyanogenMod (if you don't understand what this means, don't use it. You can, however, modify the updater_script in the zip file to change the name to whatever you want, but it may not work).
Here's a few facts:
Complete with jcsullins patches for low power demand, wifi sleep, etc.
Complete with _Dorregaray's_ camera hooks
Improved entropy depletion routines speed file reads
Optimized AES and SHA1 encryption routines speed boot up and file decryption
Overclockable to 2157MHz if your ROM allows frequency settings
Instructions: Download and flash. No system/full wipes or cache clearing required.
http://goo.im/devs/shumash/tenderloin/SKZ_OC2157MHz_Kernel-032013.zip
Click to expand...
Click to collapse
I flashed it a couple hours ago over SGA's latest JB ROM. And I can't get the clock to steady step over ~1.89GHz on any governor. And the performance at 1.89GHz is worse than 1.78 as per my Antutu scores. I tried using the built in CM CPU settings, SetCPU and System Tuner and the situation is about the same.
There are times when it looks like I got the CPU to step up to 2.1GHz but when it's actually stuck at 1.188GHz.
So the setting are there but they're unusable. Any suggestions?
Gembino said:
Should you note that is this for CM10 or CM9? Does it work on both? I would be very surprised if you say yes!
Does it have the GPU O/C?
Click to expand...
Click to collapse
FWIW, I'm running the latest CM9 nightly and after I flash this kernel my Touchpad gets stuck on a black screen after the second boot splash image. The bootanimation would never start. I would have to hard reboot into moboot then flash a different kernel to get the TP to boot.
iamsamsamiam said:
I flashed it a couple hours ago over SGA's latest JB ROM. And I can't get the clock to steady step over ~1.89GHz on any governor. And the performance at 1.89GHz is worse than 1.78 as per my Antutu scores. I tried using the built in CM CPU settings, SetCPU and System Tuner and the situation is about the same.
There are times when it looks like I got the CPU to step up to 2.1GHz but when it's actually stuck at 1.188GHz.
So the setting are there but they're unusable. Any suggestions?
Click to expand...
Click to collapse
1. Have you tried setting to the performance governor? I had the same problem when I set to 2.157 GHz it didn't actually go above 1.836 GHz.
2. Also try rebooting and then try to set it again. Try using No Frills CPU Control.
3. Overclocking above 1.782 GHz doesn't seem to present any HUGE benefits right now. It will drastically lower your battery life.
4. Benchmarks don't really equate to real life performance.
Remolten said:
1. Have you tried setting to the performance governor? I had the same problem when I set to 2.157 GHz it didn't actually go above 1.836 GHz.
2. Also try rebooting and then try to set it again. Try using No Frills CPU Control.
3. Overclocking above 1.782 GHz doesn't seem to present any HUGE benefits right now. It will drastically lower your battery life.
4. Benchmarks don't really equate to real life performance.
Click to expand...
Click to collapse
1. I've tried every CPU speed above 1.782GHz in performance. And tried multiple of different speeds on interactive and ondemand. If I set it to anything over 1.782GHz it would get stuck 1.188GHz. Basically, CPU stepping is broken above 1.782GHz.
2. I've rebooted between all runs with different CPU apps. I don't know about No Frill CPU Control, but how would it be any different from the apps I've already used or the built in CM CPU control settings. I will try it out in a bit but I'm pretty sure it wouldn't really change anything.
3. Attempting to overclock over 1.782GHz seems to make the device slower in general.
4. Sure, benchmarks don't equal real world performance, but we're talking about less than half the score. Also, the entire device was just less responsive in general.
I set mine to 1.512 (which is the tp's true capacity), and 384, to deal with sod. I use the unofficial cm10, 03/08.Works well, so far.....
chicle_11 said:
I set mine to 1.512 (which is the tp's true capacity), and 384, to deal with sod. I use the unofficial cm10, 03/08.Works well, so far.....
Click to expand...
Click to collapse
1.5GHz is the TouchPad's true 'factory maximum CPU clock speed'. Who knows what its "true capacity" is. Many devices with very good SoCs have an overclock threshold of about 30-50% and it may get even higher and more stable with proper voltage controls. Right now we only have about a 20% overclock at 1.78GHz so the device should be able to handle a little more stress than we're giving it.
Re: [KERNEL][2.6.35] 2157MHZ Overclocked Touchpad CM Kernel
I flashed this kernel with cm9 but it doesn't mount the sdcard partition. Is there a fix? I really want to use the low power draw fix!
Sent from my Nexus 10 using Tapatalk HD
newellj79 said:
I flashed this kernel with cm9 but it doesn't mount the sdcard partition. Is there a fix? I really want to use the low power draw fix!
Sent from my Nexus 10 using Tapatalk HD
Click to expand...
Click to collapse
Here is CM9 with the low power draw fix:
http://goo.im/devs/jcsullins/cmtouchpad/testing/cm-9-20130318-UNOFFICIAL-tenderloin.zip
Re: [KERNEL][2.6.35] 2157MHZ Overclocked Touchpad CM Kernel
newellj79 said:
I flashed this kernel with cm9 but it doesn't mount the sdcard partition. Is there a fix? I really want to use the low power draw fix!
Sent from my Nexus 10 using Tapatalk HD
Click to expand...
Click to collapse
I used an updater script for CM10 that mounts the sdcard as sdcardd0. I should be able to put together a flushable zip that doesn't for CM9 users.
Sent from my skz_tenderloin using Tapatalk 2
jcsullins said:
Here is CM9 with the low power draw fix:
http://goo.im/devs/jcsullins/cmtouchpad/testing/cm-9-20130318-UNOFFICIAL-tenderloin.zip
Click to expand...
Click to collapse
Thanks so much for all your work, and for thinking of those of us still on CM9.
Is there an easy flashable (or pushable) implementation for the lower power draw, that could be applied by us to the nightly builds? Last I heard, the fix was not yet added to the nightlies.
waylo said:
Thanks so much for all your work, and for thinking of those of us still on CM9.
Is there an easy flashable (or pushable) implementation for the lower power draw, that could be applied by us to the nightly builds? Last I heard, the fix was not yet added to the nightlies.
Click to expand...
Click to collapse
Extract the boot.img from jcsullins zip. Take the latest nightly and unzip (when it asks to replace the terminfo stuff, select "no" or "no to all"). Delete the boot.img file in the unzipped nightly. Copy the jcsullins boot.img in its place (you can try copying mine if you want, but it may not boot). Rezip the files and flash.
shumash said:
Extract the boot.img from jcsullins zip. Take the latest nightly and unzip (when it asks to replace the terminfo stuff, select "no" or "no to all"). Delete the boot.img file in the unzipped nightly. Copy the jcsullins boot.img in its place (you can try copying mine if you want, but it may not boot). Rezip the files and flash.
Click to expand...
Click to collapse
Ahh, so essentially a kernel swap? I was unaware the power fixes were solely located here.
Thanks, will try.
iamsamsamiam said:
1.5GHz is the TouchPad's true 'factory maximum CPU clock speed'. Who knows what its "true capacity" is. Many devices with very good SoCs have an overclock threshold of about 30-50% and it may get even higher and more stable with proper voltage controls. Right now we only have about a 20% overclock at 1.78GHz so the device should be able to handle a little more stress than we're giving it.
Click to expand...
Click to collapse
I heard that a touchpad with a good SoC could OC to 2.4 Ghz if we had a proper kernel.
[UPDATE]New Upload
I've uploaded a kernel with CPU overclock to 2157MHz and GPU overclocked at 320MHz. Enjoy.
this was many months ago but i seem to recall that -sga- mentioned he saw no performance gains past a certain point. i think it was 1.7ghz but since it was a while back i don't really recall the exact number. or maybe he said diminishing returns past a certain point.
edit: i found his post about it http://forum.xda-developers.com/showpost.php?p=33883333&postcount=53
maybe he was talking about the ability to o/c past 1.7 was more difficult and not in regards to the performance gains?
HAH!
Flashed this!
in a fraction second by one after one the processes SystemUI And com.process.android.phone is Stopping.
I can't even use a single app.
using SCHIZOID 2.00 JB 4.2.2
plz help

Categories

Resources