Related
Since today, I'm not gonna compile a new build for telus fascinate due to personal events ( studying, working, enjoying my life, girl friend, etc..)
Please use Glitch Kernel
BIG FAT WARNING
WARNING: TELUS ONLY
This is zach's 2.3.4 kernel for Telus Fasinate.
Since zach doesn't have Telus Fasinate to test his kernel out, he won't make kernels for Telus Fasinate. So I decided to compile it for you guys!!!
You guys should Thanks to Zach for all his great works and thanks little bit to me for compiling it for you
Also all the credits goes to zacharias.maladroit
For the CM7/MIUI installing guide
[TELUS ONLY] [GUIDE] How to Flash 2.3.4 MIUI/CM7 Rom into your TELUS Fascinate
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓Original Thread↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
[KERNEL][CM7/MIUI] [test-kernels] 10/05,platypus; SECURITY,VOODOO,OC/UV,nodebug,more
zacharias.maladroit said:
If you're switching kernels, have issues with auto-rotation, the cam, bootloops or other sorts of problem (failed overclock attempt),
please use lippol94's script-cleansing update (apply via CWM recovery) : http://www.multiupload.com/922KMXMMVJ
kudos to lippol94 !
Hi guys,
this is my first modded kernel for the SGS (CM7/MIUI only)
I first needed to test it to make sure that it'll be stable & boot at the first place
so far it's very fast & responsive & smooth
This thread shall serve as the center for my testing kernels (stability & functionality-wise)
DISCLAIMER: the kernel (binary) and driver modules are provided as is. If problems occcur they most probably are from upstream and can be fixed with the newest version. Since I'm doing this in my free spare time as a hobby (quenching my thirst for tweaks & performance) updates will occur irregularly as time permits and I see fit (most probably when new features & bugfixes arrive). YOU are responsible for the actions that you take (such as over- or underclocking), etc. You agree that I can not be held liable for any potential damage that arises from your actions in combination with or the usage of this kernel and other related parts.
Kudos:
* Google & the whole Android crew
* Linus Torvalds & the kernel hackers for upstream Linux
* cyanogen & all the devs out there hacking on this
* Supercurio for enriching our media experience of this smartphone
* codeworkx, coolya, guiper
* laststufo & hardcore and all the other kernel hackers on the SGS forum
* zen-kernel team for inspiration to create a kernel, too
* all other contributors (devs, users, etc.) who make this possible
The purpose of these kernels is extensive stability testing addressing the following sticking points:
- overall stability & functioning of the kernel and phone
- call drops, missed calls, etc.
- lags (suggestions for improvements are welcome)
- auto-rotation, sensors, etc.
- Voodoo Control Plus [any crashes ? compatibility problems ?]
- working on CM7 or MIUI ?
- scheduler, sound, video synchronisation & lags: Tap Tap Revenge 4 (especially at the beginning of songs)
- scheduler, sound, video synchronisation and any other issues: doodle dash (while shooting & sound activated)
- proper pmem memory layout & settings: proper functioning of Google Googles
for those who love SAUCE (Source): ALL MY SAUCE for QUORRA KernalZ ^^
(latest changes sometimes might not be in [yet] but in the whole repo everything should be available)
my current UV (undervolt) stable Values :
1300000 0 (haven't tested 1.3 GHz much yet)
1200000 -25
1000000 -50
800000 -75
600000 -100
400000 -100
200000 -125
100000 -150
Click to expand...
Click to collapse
I will post updates right here.
1) Quorra r6 (05/09/2011) [compatible with MIUI (Android 2.3.4; RC8)]
CM7_Fascinate_platypus-kernel_20110511_r0_quorra-r6.zip
1) quorra r8 (05/11/2011) [compatible with MIUI (Android 2.3.4; RC8)]
WIFI, stability & security (test) release
[316 -> now 330 MB RAM]
1st mirror:
XDA-Forum
includes:
- conservative [probably most battery efficient]
- interactive [most smoothest operation - perhaps some hickups from time to time; phone gets quite warm with it; prefers higher over lower frequencies]
- ondemand [ondemand governor - compromise between speed & battery efficiency - in a perfect world the best ]
- smartass [further evolution of interactive governor keeps the frequency at 600 MHz while idle (screen on) to ensure smoothest operation (need feedback, stability, etc.)]
1) Calvin2 ( still named quorra r8 !) (05/14/2011) [compatible with MIUI (Android 2.3.4; RC8)]
1st mirror:
XDA-Forum
1) Quorra r9 (05/16/2011) [compatible with MIUI (Android 2.3.4)]
1st mirror:
XDA-Forum
(Quorra r10 Changes for CM7_SGS_platypus-kernel_20110518_r0_quorra-r10 (Android 2.3.4)]
[matches with 05062011 and 05092011 and 05112011 and 05152011 update from CM7])
[use this kernel with latest nightly unless you have a good reason to use older ones]
Mirrors (for kernel):
Mirror #1:
its post
Changelogs
zacharias.maladroit said:
2nd backup post (Changelogs)
(04/27/2011) Changes for platypus-kernel_20110427_18_quorra_r1:
- based on top of bilboa1's kernel (Voodoo Sound v8, LED notification, etc.)
- fsync performance improvements for CFQ with small files
- CONFIG_PVR_ACTIVE_POWER_LATENCY_MS set to 10
- Nick Piggin's filesystem performance improvements
- toolchain switch to Codesourcery 2010.09
(04/27/2011) Changes for platypus-kernel_20110427_18_quorra_r2:
- mainly config changes [from bilboa1's default config to release "alice" config with changes]
- config_embedded re-activated
- config_aio disabled for now
- optimized for speed than for size
- still SLUB (SLQB not added yet)
- bumped the timer to 512
- tweaked cpufreq conservative governor for responsiveness; while screen is off: now also using conservative governor (different settings from while screen is on)
- config_ksm disabled for now
- CONFIG_UACCESS_WITH_MEMCPY disabled for now
- CONFIG_BINFMT_MISC disabled for enhanced security (new)
- re-enabled FM Radio drivers (needs support in userspace / the CM7 or MIUI system to get Radio working)
- added "Automatic ZipAlign by Wes Garner" v1.1 to the scripts
(04/29/2011) Changes for CM7_SGS_platypus-kernel_20110429_19_quorra-r3 [NOT compatible with MIUI (MIUI needs new drivers)]:
• morfic stable optimizations flags (mfloat, neon, etc.)
∘ + switch to mfloat=hard
• CPUFREQ: Fix power suspend cpu frequency (re-add)
• upstream ARM cpufreq governor delay fixes (re-add)
• cpuidle (sleep, battery runtime) improvements
• jhash3 re-added
• add more cfq improvements (re-add)
• CFS scheduler load balancing & granularity improvements re-added
• BFQ re-added [option]; CFQ is default (unless you've set otherwise in VoltageControl, etc.)
• vmscan stalls fix re-added [less lags during heavy writing]
• ondemand governor: added sampling factor [more efficient & aggressive scaling]
• battery polling intervall to 30 seconds
• new (improved) interactive cpufreq governor from upstream
• new SavagedZen cpufreq governor from upstream + tweaks to it [minimum frequency at 400 MHz]
• lots of memory management improvements (+ stability fixes)
• SLQB (re-add)
• fadvise support; deactivate invalidated pages, reclaim invalidated pages
• simple I/O scheduler (re-add)
• (potential) better battery runtime & deeper sleep (re-add)
• writeback fixes (re-add)
• inactive file ratio (re-add) at 20
• re-activated heap randomization [security improvements; ASLR] [new - thanks to nikademus for the inspiration / "fugu mod style"]
• re-add fugu mod security improvements [in the kernel]
• back to 256 Hz High_Res_Timer [need feedback on responsiveness & lags]
∘ if stuff is getting too slow & laggy I might switch to 512 again
• back to USER_HZ 100 (default)
• fixed Google Goggles (thanks bilboa1 !)
(05/01/2011) Changes for CM7_SGS_platypus-kernel_20110501_19_quorra-r4_2 (needs new drivers)]:
• upstream changes: Nexus S 2.3.4 Kernel merge
• display reset (support) for the panel
• OOM rework/fixes [need feedback on: available RAM, app behavior, etc.] (leads to lags)
• changed governor to "ondemand" while screen is on
(05/03/2011) Changes for CM7_SGS_platypus-kernel_20110503_17_quorra-r4_exp (needs new drivers)] [experimental speed & stability testing release]:
• circumvented a compiler bug to let it compile with super-optimized flags
• AIO re-enable (whatever uses that)
• oabi-support deactivated (need feedback on [old !] apps breaking)
• OOM rework [better memory management & out of memory handling, need feedback]
• light sensor polling interval from 0.2 s to 1 s
• new CodeSourcery toolchain 2011.03 [better & more efficient code, less battery usage with new compiler flags]
• some more GPIO improvements from upstream (potential battery savings, probably especially for CAPTIVATE & VIBRANT) [sdcard & audience-chip related]
• FFcamera fixes from upstream [camera app still hanging while trying to take pics; better picture ?]
• WIFI fix / improvement: Clean ARP offload table on IP update
• deactivated GPU debug stuff
(05/03/2011) Changes for CM7_SGS_platypus-kernel_20110504_r0_quorra-r5 (needs new drivers)]
[matches with 05042011 and 05032011 update from CM7]
• AIO re-enable (whatever uses that)
• oabi-support deactivated [less overhead] (need feedback on [old !] apps breaking)
• OOM rework [better memory management & out of memory handling, need feedback]
• light sensor polling interval from 0.2 s to 1 s
• new CodeSourcery toolchain 2011.03 [better & more efficient code, less battery usage with new compiler flags]
• some more GPIO improvements from upstream (potential battery savings, probably especially for CAPTIVATE & VIBRANT) [sdcard & audience-chip related]
• FFcamera fixes from upstream [camera app still hanging while trying to take pics; better picture ?]
• WIFI fix / improvement: Clean ARP offload table on IP update
• deactivated GPU debug stuff
• doubled size of Kernel log buffer size for easier troubleshooting
• disabled Android kernel panic handler (we have last_kmsg for that)
• disabled CONFIG_DM_UEVENT [udev ?! not needed on Android], less events, less overhead, more (?) battery runtime
• enabled TRACE_UNDERRUN for s3c fb (stability)
• enabled CONFIG_SCHEDSTATS for better research on what is nagging our battery
• enabled "null" encryption key/algorithm for IPSec support
• enabled NTFS read & write support (basic)
• circumvented a compiler bug to let it compile with more optimized flags with cache size in mind [need feedback if these affect battery runtime negatively]
• fixed WIFI compile failure (2 array problems this time for good; kudos to LeeDroid for his help !)
• deactivated SYSVIPC (less overhead and we don't have it available on Android)
(05/06/2011) Changes for CM7_SGS_platypus-kernel_20110506_r0_quorra-r6 (needs new drivers; Android 2.3.4)]
[matches with 05062011 update from CM7])
• camera rework + gpio changes from upstream
• some recovery improvements from upstream
• WIFI drivers now compiled with O2 (optimized for speed than for size - no workaround needed anymore)
• some small fixes to the CPU scheduler
• disabled radio FM drivers on captivate & vibrant (less overhead, space savings)
• writeback fix for heavy writing & livelock avoidance
(05/09/2011) Changes for CM7_SGS_platypus-kernel_20110508_r0_quorra-r6+ (needs new drivers; Android 2.3.4)]
[matches with 05062011 and 05092011 update from CM7])
• added tweaked SavagedZen governor [option]
• added tweaked smartass governor [option]
• fixed regression with scheduler - phone is smoother now again
• raised sampling rate of the ondemand governor with the above change - smoother phone
• added 2 [testing] fixes to improve battery runtime
• [safety] added an overvolting cap with 50 mV - thanks to Xan & TheEscapist !
• [upstream] added fix to properly suspend the serial port - thanks to atinm !
please also try these kernels with my nightly update (still using old lightsensor driver)
update-cm-7-05062011-NIGHTLY-GalaxyS-signed_homecooked.zip (91.77 MB)
whether you get same, better or worse battery runtime [need feedback]
(05/09/2011) Changes for CM7_SGS_platypus-kernel_20110509_r0_quorra-r6_plus_V2 (needs new drivers; Android 2.3.4)]
[matches with 05062011 and 05092011 update from CM7])
Changelog:
• fixed short-term & long-term lags with ondemand governor
• no change with interactive
• conservative + conservative; ondemand + conservative governor
• sampling_rate of ondemand governor at default (35.000)
(05/10/2011) Changes for CM7_SGS_platypus-kernel_20110510_r0_V7_quorra-r7_V7_config (needs new drivers; Android 2.3.4)]
[matches with 05062011 and 05092011 update from CM7])
Changelog:
• [regression] fixed frame drops & jumps (inconsistencies) for graphics-intensive apps (e.g. quadrant & games)
• [regression] fixed stuttering during shooting / SFX with doodle dash
• MOAR MEMORY: 326 MB (needs testing, feedback)
• tweaks to the scheduler with stricter timings for smoother overall experience
(05/10/2011) Changes for CM7_SGS_platypus-kernel_20110510_r0_t4_ffc / quorra-r7_mem-WIP (needs new drivers; Android 2.3.4)]
[matches with 05062011 and 05092011 update from CM7])
Changelog:
• [regression] fixed frame drops & jumps (inconsistencies) for graphics-intensive apps (e.g. quadrant & games)
• [regression] fixed stuttering during shooting / SFX with doodle dash
• MOAR MEMORY: 330 MB (needs testing, feedback)
• tweaks to the scheduler with stricter timings for smoother overall experience
(05/11/2011) Changes for CM7_SGS_platypus-kernel_20110511_r0_quorra-r8 (needs new drivers; Android 2.3.4)]
[matches with 05062011 and 05092011 and 05112011 update from CM7])
Changelog:
• [upstream] TV-out support (does this even work with CM7 ? )
• [upstream] ifdef cleanups in mach-aries.c
• [upstream] reverted back to previous samsung_modemctl - this should solve delays with 3G, 2G and/or data acquisition
• fixed network security enhancements (several settings didn't get applied) - now your phone should be even safer; enabled syncookies [no performance hit with transfer rate]
• dropped intersectRaven's bcm4329 / WIFI drivers [older version than the previous used] - ALL WIFI channels should work now again [need feedback]
(05/13/2011) Changes for CM7_SGS_platypus-kernel_20110513_r0_calvin2 [still named quorra-r8] (needs new drivers; Android 2.3.4)]
[matches with 05062011 and 05092011 and 05112011 update from CM7])
Changelog:
- kernel comes pre-packaged with tweaked ondemand governor
- [EXPERIMENTAL] - make an nandroid backup before testing & using: for switching to other governor (while screen is on - screen off = conservative) apply additional "screenstate_scaling switcher" script
# see attachments# <-- *Link* inside
- added interactiveX cpufreq governor from leanKernel-tbolt/imoseyon (adds sleep & wake code) - (probably) better (less) battery usage than conventional interactive governor [need feedback]
- tweaked interactive governor to scale down to lower frequencies faster (less battery usage & still very smooth)
- fixed & tweaked SavagedZen [*very* laggy - for those battery runtime fetishists ^^] [needs more testing & feedback]
- [upstream] wifi driver now supports channel 12, 13 and 14 again (thanks to atinm !)
- [upstream] added recovery 2e checks for initial update
- [upstream] accurate battery gauge display (thanks to atinm !)
- [upstream] improvements in recovery-handling with the /cache partition (thanks codeworkx !)
(05/18/2011) Changes for CM7_SGS_platypus-kernel_20110518_r0_quorra-r10 (Android 2.3.4)]
[matches with 05062011 and 05092011 and 05112011 and 05152011 update from CM7])
[use this kernel with latest nightly unless you have a good reason to use older ones]
Changelog:
(from quorra r9)
- enabled support for [external] SD-card suspend (battery savings) - make sure you don't have files on external SD in use when you use it for longer periods and want to save some additional energy
- additional optimization flags for improved overall speed & NEON (multimedia) usage (tested on fascinate & Nexus S - so should be somewhat stable & proven)
- several small fixes & adjustments in the config
- re-enabled kernel error messages for better bug diagnosis & troubleshooting [practically no overhead]
- iptables - built as modules; full iptables support for ipv4 & ipv6 now
- [EXPERIMENTAL] higher charging temperatures (values from GB Samsung source + lower low recovery settings) [especially useful in warmer regions & the summer]
- [testing] add support for Apple Wireless keyboard and other wireless stuff
- enabled more BT options & settings
- CFS scheduler fix with load weight calculation (potentially fixing issues & allowing to safe more battery juice)
- [upstream] some fixes for initial installation (not applicable here since not used for initial kernel installation)
Click to expand...
Click to collapse
modem
zacharias.maladroit said:
3rd backup post (modems list)
modems:
* cm7-galaxys-radio-JL2.zip (3.98 MB)
md5sum:
1bc9380e4e238b33f26444c5be7cc6be cm7-galaxys-radio-JL2.zip
* cm7-galaxys-radio-JVK.zip (3.91 MB)
md5sum:
d857d0fe9bd81cca3c4110e4c0bb400e cm7-galaxys-radio-JVK.zip
* cm7-galaxys-radio-JP5.zip (3.98 MB)
md5sum:
759e9cddeb29abc8cff4643b55fae6bb cm7-galaxys-radio-JP5.zip
* cm7-galaxys-radio-JPB.zip (4.27 MB)
md5sum:
22ecabcb57224cc63392d9b860c9038a cm7-galaxys-radio-JPB.zip
* cm7-galaxys-radio-JPE.zip (3.98 MB)
md5sum:
0953173e490ddaee4a79710628bd1586 cm7-galaxys-radio-JPE.zip
* cm7-galaxys-radio-JPG.zip (3.91 MB)
md5sum:
031b759d69f11cbcb22d5f255d1aa4a8 cm7-galaxys-radio-JPG.zip
* cm7-galaxys-radio-JPM.zip (3.98 MB)
md5sum:
591d4104008265dd9388fdd970c04c98 cm7-galaxys-radio-JPM.zip
* cm7-galaxys-radio-JPY.zip (3.98 MB)
md5sum:
2bfb299a707ad975e7b9a78bb0375c86 cm7-galaxys-radio-JPY.zip
* cm7-galaxys-radio-JQ1.zip (3.99 MB)
md5sum:
9a74dc5814ba8da97b861f0f74592b17 cm7-galaxys-radio-JQ1.zip
* cm7-galaxys-radio-JV1.zip (3.98 MB)
md5sum:
3a055fde84cecfa72851aac3e6a6440c cm7-galaxys-radio-JV1.zip
* cm7-galaxys-radio-KC1.zip (4 MB)
md5sum:
4d7110c4f85bad54e51f6899514c3bbf cm7-galaxys-radio-KC1.zip
* cm7-galaxys-radio-JVO.zip (3.99 MB)
md5sum:
1b779846dcbd9a523fb318dea5a89d26 cm7-galaxys-radio-JVO.zip
* cm7-galaxys-radio-JVE.zip (3.92 MB)
md5sum:
268da0c8b5a624220711dfa56f69e231 cm7-galaxys-radio-JVE.zip
Click to expand...
Click to collapse
And people who want to use telus JL3 modem see the attachment on this post
I hope i hear results from you guys whether this is working fine or not
If you find any bugs please post so
*subscribes*
thanks harimgs for maintaining this thread & porting it over to the Telus Fascinate
hope you guys enjoy the kernels and CM7 / MIUI
as much as I do ^^
Hi harimgs,
I just posted a new release:
(05/11/2011) Changes for CM7_SGS_platypus-kernel_20110511_r0_quorra-r8 (needs new drivers; Android 2.3.4)]
[matches with 05062011 and 05092011 and 05112011 update from CM7])
Changelog:
• [upstream] TV-out support (does this even work with CM7 ? )
• [upstream] ifdef cleanups in mach-aries.c
• [upstream] reverted back to previous samsung_modemctl - this should solve delays with 3G, 2G and/or data acquisition
• fixed network security enhancements (several settings didn't get applied) - now your phone should be even safer; enabled syncookies [no performance hit with transfer rate]
• dropped intersectRaven's bcm4329 / WIFI drivers [older version than the previous used] - ALL WIFI channels should work now again [need feedback]
Got it, Thanks again
zacharias.maladroit said:
Hi harimgs,
I just posted a new release:
(05/11/2011) Changes for CM7_SGS_platypus-kernel_20110511_r0_quorra-r8 (needs new drivers; Android 2.3.4)]
[matches with 05062011 and 05092011 and 05112011 update from CM7])
Changelog:
• [upstream] TV-out support (does this even work with CM7 ? )
• [upstream] ifdef cleanups in mach-aries.c
• [upstream] reverted back to previous samsung_modemctl - this should solve delays with 3G, 2G and/or data acquisition
• fixed network security enhancements (several settings didn't get applied) - now your phone should be even safer; enabled syncookies [no performance hit with transfer rate]
• dropped intersectRaven's bcm4329 / WIFI drivers [older version than the previous used] - ALL WIFI channels should work now again [need feedback]
Click to expand...
Click to collapse
Now trying this out I'm very new to Android though so my feedback might not be the most accurate lol
fcnz said:
Now trying this out I'm very new to Android though so my feedback might not be the most accurate lol
Click to expand...
Click to collapse
lol android system is easy, but sometimes it is complicated. I hope you enjoy MIUI Rom with your fascinate. If you have any questions please let me know
After test CM7_Fascinate_platypus-kernel_20110511_r0_quorra-r6.zip on CM7 05092011 built
Only one thing to said it works very well
Radio i use JL3
Only one thing to do remap home (158) / back key (102)
Headset jack mapped correctly now and working fine
CMW now with good key mapping to
Trying OC and other stuff
alexrod73 said:
After test CM7_Fascinate_platypus-kernel_20110511_r0_quorra-r6.zip on CM7 05092011 built
Only one thing to said it works very well
Radio i use JL3
Only one thing to do remap home (158) / back key (102)
Headset jack mapped correctly now and working fine
CMW now with good key mapping to
Trying OC and other stuff
Click to expand...
Click to collapse
Good for you . Try the newest build quorra r8. With r8 you dont need key map thing
Sent from my T959D-MIUI using XDA Premium App
harimgs said:
Good for you . Try the newest build quorra r8. With r8 you dont need key map thing
Sent from my T959D-MIUI using XDA Premium App
Click to expand...
Click to collapse
if you guys get reboots and other trouble due to the scripts included in quorra r8 (very aggressive cpu scheduler timings)
try the "fix" from:
http://forum.xda-developers.com/showpost.php?p=13722555&postcount=393
also:
try out the "smartass" governor while screen is on & conservative while screen is off
this should give amazing results in battery runtime & smoothness
harimgs said:
lol android system is easy, but sometimes it is complicated. I hope you enjoy MIUI Rom with your fascinate. If you have any questions please let me know
Click to expand...
Click to collapse
I'm actually using the kernel (quorra-r8) with CM7 20110509
By the way, I'm having an issue with Wi-Fi, it simply won't connect and keeps disconnecting when I try to log into any wifi area, any ideas? I remember seeing posts about this in the Platypus kernel post that you made about installing MIUI/CM7 on T-959D's
Oh and btw, I work at Telus and we just got our Fascinate 4G's today, model number is the same as T-Mobile's 4G so I guess those of us who will upgrade (I'm waiting on the GS2, personally) won't be stuck in our own little realm like it is now
And btw, many thanks for the effort and work you put into this, it is very appreciated!
just downloading now... you guys rock! thanks so much...ive been missing using my phone for music in the car...
edit: seems to work fine, although im out and dont have anything to plug into the 3.5mil jack but I am wondering... where do I set up having a diff governor for screen on and screen off? is it a separate app? if so someone please recommend which one you think is best.
never mind answered my own question.
nosaj97 said:
just downloading now... you guys rock! thanks so much...ive been missing using my phone for music in the car...
edit: seems to work fine, although im out and dont have anything to plug into the 3.5mil jack but I am wondering... where do I set up having a diff governor for screen on and screen off? is it a separate app? if so someone please recommend which one you think is best.
Click to expand...
Click to collapse
I dont get the question. What do u mean by diffrent governor? for screen on and off?
Sent from my T959D using XDA Premium App
Grondinm said:
never mind answered my own question.
Click to expand...
Click to collapse
???
Sent from my T959D using XDA Premium App
I'm having an issue with Wi-Fi, it simply won't connect and keeps disconnecting when I try to log into any wifi area, any ideas? I remember seeing posts about this in the Platypus kernel post that you made about installing MIUI/CM7 on T-959D's
Additionally, my bluetooth also is having issues.
I'm using quorra-r8 with CM7 20110509
This kernel is based on teamhacksung's kernel, with updated Linux base to 3.0.38
This kernel is working with every ICS based Rom
Features:
- 378, 391 and 403 Mb Ram available (selectable in kernel, no need for a patch (403 mb breaks 720p) only reboot required)
- 2 different recoveries included (cmw touch recovery + twrp recovery (to use TWRP, just create a file named "twrp" at /cache))
- SIO scheduler (default)
- V(R) scheduler (maybe even faster than SIO, can be set as default by using NSTools for example)
- init.d
- Voodoo Sound and CM9 Color Adjusment / Voodoo Color (VC version)
- Devil Idle
- BLN V9 (thx to mialwe)
- USB Host mode driver (for more information about this, and for saying thanks to the guy, who ported this for our phone, please visit this thread: http://forum.xda-developers.com/showthread.php?t=1450298 )
-Ezekeel's Live_Oc
- Ezekeel's Deep Idle V2
- Touchwake
- vibrator intensity control (by mialwe)
- BLX (Batterie Life Extender, I don't think we need it, but maybe one feels better by using it )
- backports from Linux 3.2 and 3.3
- Swap/Zram support
- Zcache, Cleancache and Frontswap
- Uksm
- Fiops io scheduler
- 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)
- many other small features and improvements
Donwload and Changelog post 2
FAQ and known issues in post 3
Click to expand...
Click to collapse
Many of the features (like Live_OC) require NSTools, which can be found at market for free.
NEW:
Devil kernel Config: http://forum.xda-developers.com/showthread.php?t=1715383
Devil Kernel Manager: http://forum.xda-developers.com/showthread.php?t=1723222
Both Apps are really great. Please try on your own, which one you like more.
you still can use the previous methods of setting up the kernel:
Please also try this app http://forum.xda-developers.com/showthread.php?p=22430406, for setting many of the options which are only available with my kernel.
a pre configured file for use with command center can be found here: http://forum.xda-developers.com/showpost.php?p=27353078&postcount=240 (you have to remove .zip extension)
a good explination/example of how to use it, can be found here: http://forum.xda-developers.com/showpost.php?p=26301176&postcount=4842
if you don't like additional apps (or are having problems with command center), i recommend using this init.d script: http://forum.xda-developers.com/showpost.php?p=26683004&postcount=5346
Click to expand...
Click to collapse
Kernels with VC in the name are coming with Voodoo Color
oliva94 said:
IF the kernel zip name contains _JB_, THEN and only then you can use it IF you do NOT have datadata partition
ELSE if you HAVE datadata, then use one WITHOUT _JB_ in the name
if you use it otherwise, it will boot but system is eventually going to crash/not load due to partition table (thus blockdevice naming) mismach
Click to expand...
Click to collapse
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
This kernel is also available for:
Captivate, Fascinate and Vibrant
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
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
- automated symlinking from data to system: if one wants to free up some space at /system, without removing an app completely, just copy it from /system/app to /data/sys-parts/app (create the folder if not there), and reboot. during reboot, the app from system gets deleted, and the app from /data/sys-parts/app gets symlinked to system. this is working for almost every app, but i don't recommend doing this with apps, needed for android to work (framework, media provider, settings,...)
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
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:
This kernel is for use with ICS only, if you are looking for a kernel, running on teamhacksung cm10 build, visit my jellybean kernel thread[/url]
- 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
Click to expand...
Click to collapse
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)
ICS:
http://rootaxbox.no-ip.org/divers/ICS/ many thanks to Rootax
JellyBean (with default cm10 partition layout for use with teamhacksung's rom):
http://rootaxbox.no-ip.org/divers/jellybean/
http://devil.haxer.org/ many thanks to SysTem-X (not updatet yet)
Known issues:
- virtual buttons in cwm recovery not working
fascinate specific:
nothing
Click to expand...
Click to collapse
How to:
you can change ram setting by doing the following ( to make these settings even stick after power off, you also have to echo the same value to to /data/local/devil/bigmem):
echo 1 > /sys/kernel/bigmem/enable (this gives you xl mem of 391 mb)
echo 2 > /sys/kernel/bigmem/enable (this gives you bm mem of 403 mb (this is breaking 720p))
echo 0 > /sys/kernel/bigmem/enable (this gives you cm9 default mem of 378 mb)
you have to reboot to make changes work
Click to expand...
Click to collapse
With setting this, your desired swap mode gets automatically applied at boot time. For swap, you have to create a swap partition at your external sd card before
echo 1 > /data/local/swap_use (for using swap partition on external sd card, you have to create this partition before)
echo 2 > /data/local/swap_use (for using Zram, no other modifications required)
you have to reboot to make changes active. You can't use swap and Zram at the same time
Click to expand...
Click to collapse
These are the settings for devil idle:
activate automatic:
echo 1 > /sys/devices/virtual/misc/devil_idle/bus_limit
permanent on:
echo 2 > /sys/devices/virtual/misc/devil_idle/bus_limit
deactivate
echo 0 > /sys/devices/virtual/misc/devil_idle/bus_limit_automatic
Click to expand...
Click to collapse
to set different voltages while screen off (this only is working, if devil idle automatic mode is activated)
this is an example, how to apply screen_off arm voltages:
echo 1450 1400 1350 1275 1075 975 875 800 > /sys/class/misc/customvoltage/arm_volt_screenoff
this way, it is possible to undervolt while screen off, but overvolt and overclock while screen on
for now, the int voltages can not be changend
Click to expand...
Click to collapse
set freq limits while screen off (min and max freq)
enable the limits:
echo 1 > /sys/devices/virtual/misc/devil_idle/user_min_max_enable
disable:
echo 0 > /sys/devices/virtual/misc/devil_idle/user_min_max_enable
set values to be applied if activated:
echo 100000 > /sys/devices/virtual/misc/devil_idle/user_min
echo 800000 > /sys/devices/virtual/misc/devil_idle/user_max
both are independent from devil_idle, and get applied when screen turns off
by default 100 and 1000 mhz are set.
values which can be put here are all "stock" freq (without live_oc level) multiplied with 1000. live_oc values get applied automatically.
Click to expand...
Click to collapse
to set responsiveness_freq, up_threshold_min_freq or sleep_multiplier for ondemand and/or conservative governor, you have to do it like this:
echo VALUE > /sys/devices/system/cpu/cpufreq/ondemand/VARIABLE_NAME
and
echo VALUE > /sys/devices/system/cpu/cpufreq/conservative/VARIABLE_NAME
example:
echo 400000 > /sys/devices/system/cpu/cpufreq/ondemand/responsiveness_freq
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_min_freq
echo 5 > /sys/devices/system/cpu/cpufreq/ondemand/sleep_multiplier
up_threshold_min_freq is disbaled by default for conservative governor
(to disable it for ondemand you have to set up_threshold_min_freq to 100.
Click to expand...
Click to collapse
switch between wifi PM_Fast and PM_Max mode (Pm_Fast = better signal, PM_Max = better batterie, default is PM_Max)
echo 1 > sys/module/bcmdhd/parameters/uiFastWifi (pm_fast)
echo 0 > sys/module/bcmdhd/parameters/uiFastWifi (pm_max)
Click to expand...
Click to collapse
user interface to disable fsync (this gives more performace, at the risk of data loss on a crash, taken from ezekeel), default is on, to be safe
echo 1 > /sys/devices/virtual/misc/fsynccontrol/fsync_enabled (fsync enabled)
echo 0 > /sys/devices/virtual/misc/fsynccontrol/fsync_enabled (fsync disabled)
Click to expand...
Click to collapse
to set the values for vibrator intensity:
echo value > /sys/class/timed_output/vibrator/duty (where value is between 20000 and 43640)
if you want the changes to be applied at boot, you have to use one of the presets from recovery, use an init.d script, or:
echo value > /etc/devil/vibrator (where value is between 20000 and 43640)
Click to expand...
Click to collapse
activate fast charge: echo 1 > /sys/kernel/fast_charge/force_fast_charge
Click to expand...
Click to collapse
deactivate fast charge
echo 0 > /sys/kernel/fast_charge/force_fast_charge
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
Click to expand...
Click to collapse
Questions and Answers:
Q: What the hell are all these governors?
A: here you should find the answer: http://forum.xda-developers.com/showthread.php?p=19846297
Q: What's a good setup for live_oc??
A: No one knows. Every phone is different. It seems like the folling setup is running well for some (many?) users. If you get reboots with it, you have to find the setup for yourself.
if you are satisfied with this configuration, please hit the thanks button of Crack: http://forum.xda-developers.com/showpost.php?p=22194160&postcount=1246
.:Crack:. said:
OK, these are mine. Rock stable
LiveOC 117% -> 1200 MHz -> 1404 MHz
Freq/ARM/Init
1200/1400/1150
1000/1325/1125
800/1250/1125
400/1025/1100
200/900/1100
100/875/1000
low freqs could possibly be tweaked harder but stability was my fist goal
Click to expand...
Click to collapse
Q: How can I set up swap?
A: Take a look at this thread: http://forum.xda-developers.com/showthread.php?t=1610835, and especially at this post:
http://forum.xda-developers.com/showpost.php?p=25578231&postcount=83
Q: What is Touchwake? Can you explain it?
A: With Touchwake, the touchscreen still recognices your fingers, after turning off (for a predefined time (NSTools)). For a detailed explenation, take a look at Ezekeel's thread: http://forum.xda-developers.com/showthread.php?t=1239240
Q: How can I make Voodo Color settings been saved after reboot?
A: You have to use Voodoo Pro App, because of changes between Gingerbread and ICS, and only the Pro app is updated till now.
Q: Which is the best IO Scheduler?
A: I think SIO and V(R) are the fastest.
Q: How can I enable DeepIdle/Live_Oc?
A: You have to use NSTools. You find it on market. It's free.
Deep Idle Questions:
Q: How can I activate the deep idle stats?
echo 1 > /sys/class/misc/deepidle/stats_enabled
Q: What's the meaning of TOP=Off and TOP=On when I look at the Deep Idle status?
A: When TOP=Off is used, the best powersaving state is used. TOP=ON will be shown, when bluetooth or gps are running.
Q: In Idle status I only see TOP=On. What's wrong here? I don't use Bluetooth or Gps.
A: You have to flash the modded framework-res.apk, because ICS does not fully deactivate bluetooth by default. Even if you never use it.
Q: Idle Stats only are showing Idle, but no Deep Idle. Why?
A: An App is preventing the use of Deep Idle. At first, you should try closing the cam, running in the background. Also rebooting should solve this problem.
Q: What is fudgeswap?
A:
Setting this to a very large positive number will indicate swap ought
to be fully used as free (and will slow the system down)
smaller numbers will allow you to put some pressure on SWAP without
slowing the system down as much.
small negitive numbers will allow the system to be faster at the same
minfree level.
default is 512 to give a very little bit of pressure to use some swap
but this can be modified at runtime via:
/sys/module/lowmemorykiller/parameters/fudgeswap
Up and running just fine on AOKP B38.
Sent from my SCH-I500 using Tapatalk 2
Just read your pm. I'll flash it to my test phone and play with it for a bit.
Sent from my Glitched AOKP Unicorn.
my apologies on not getting back sooner...after the first attempt and getting a bad download, i got busy and have not had time. flashing now and will report back!
Stephen.k.spear said:
Just read your pm. I'll flash it to my test phone and play with it for a bit.
Sent from my Glitched AOKP Unicorn.
Click to expand...
Click to collapse
please falsh the version from this thread. it's newer than the one i sent you via pn
droidstyle said:
my apologies on not getting back sooner...after the first attempt and getting a bad download, i got busy and have not had time. flashing now and will report back!
Click to expand...
Click to collapse
np. finally there is my kernel now.
please also take the one from this thread
Flashed without issue. Nice boot splash btw. All the big stuff works camera, wifi. Looks like about 378 usable ram to start. Feels pretty smooth. I'm gonna flash to my primary phone so I can use it all day. Just wanted to let peeps know they can flash it boots. I'll play with it today and get back to you.
Sent from my Glitched AOKP Unicorn.
Stephen.k.spear said:
Flashed without issue. Nice boot splash btw. All the big stuff works camera, wifi. Looks like about 378 usable ram to start. Feels pretty smooth. I'm gonna flash to my primary phone so I can use it all day. Just wanted to let peeps know they can flash it boots. I'll play with it today and get back to you.
Sent from my Glitched AOKP Unicorn.
Click to expand...
Click to collapse
all seems to work here aswell. one thing, im wondering if i need a kernel cleaning script since i can not change my i/o & scheduler settings in nstools?
droidstyle said:
all seems to work here aswell. one thing, im wondering if i need a kernel cleaning script since i can not change my i/o & scheduler settings in nstools?
Click to expand...
Click to collapse
no, i never use this script...weird, that you can't change it...
I can change it. I'm getting weird artifact on the NSTools side. Prolly not kernel related. So far pretty impressed. I'll be in touch with you soon about a few things. I like what I see though.
Sent from my Glitched AOKP Unicorn.
Thanks for this. Testing right now and no issues so far. Seems snappy. Glad to see more options coming back to the fascinate these days. Keep up the work!
Sent from my SCH-I500 using Tapatalk 2
just uploaded a new version...i believe the first one was having the twrp recovery twice, but missing the cwm one
Just waiting for someone to ask "what's the difference between this and glitch...." (slap hand to face)
Sent from my SCH-I500 using Tapatalk 2
Thanks for this...
DerTeufel1980 said:
just uploaded a new version...i believe the first one was having the twrp recovery twice, but missing the cwm one
Click to expand...
Click to collapse
This looks like pretty solid work, thanks man! Would you mind if I look into .. leveraging (pronounced: kang) .. some of your stuff for the Glitch kernel? With proper credit, of course. I'm thinking some of the schedulers / governors to start with... I miss having a CFQ that compiles, lol.
Thanks again.
Looks great. You might want to update the OP to say "fascinate" rather than "vibrant" however
Sent from my SCH-I500 using xda premium
ssewk2x said:
This looks like pretty solid work, thanks man! Would you mind if I look into .. leveraging (pronounced: kang) .. some of your stuff for the Glitch kernel? With proper credit, of course. I'm thinking some of the schedulers / governors to start with... I miss having a CFQ that compiles, lol.
Thanks again.
Click to expand...
Click to collapse
Cfq is not compiling because of fiops. If you disable it, cfq should compile again.
Of course you can take some stuff. I also do this, for example it took his/yours initramfs for this kernel.
I just had not enough time to change the OP. I just copied it from my other threads. ;-)
Gesendet von meinem GT-I9000 mit Tapatalk 2
DerTeufel1980 said:
Cfq is not compiling because of fiops. If you disable it, cfq should compile again.
Of course you can take some stuff. I also do this, for example it took his/yours initramfs for this kernel.
I just had not enough time to change the OP. I just copied it from my other threads. ;-)
Gesendet von meinem GT-I9000 mit Tapatalk 2
Click to expand...
Click to collapse
Oh! I will try that, thank you.
Also, I just posted a new skunkworks kernel which has an updated initramfs. If you're interested, check out the thread and kang at will
_motley kernel for the Nexus 4
Disclaimer: You know the gig...I am not responsible for damaging your device or voiding your warranty. Play at your own risk!
ROM devs/cooks: If you want to use this kernel in your ROM, I am fine with that, but please include a "thanks" AND a link back to this thread. Thanks!
Features
Highly customizable with scripts. See post #2 for all the tuning options.
Google 3.4 base. All stock features are of course supported (camera, NFC etc.)
Compiler optimizations (-O2 + others) - using 2012.12 Linaro toolchain
Full ramdisk install with init.d support for stock/AOSP (CM already has support, for stock you must install busybox!)
CPU Overclock steps 1.56, 1.62, and 1.67GHz (default freq is still stock on boot, OC is optional)
304MHz lowest CPU freq step added with lower voltage than stock, since the device spends a lot of time at this frequency.
Safe UV by default for nominal, fast, and faster binned chips.
Voltage control - be careful to not save the setting on boot until you are 100% sure it is stable! (thanks faux123! + my tweaks)
In-kernel auto_hotplug (thanks to thalamus). I have added and exposed all the tuning parameters and a debug mode to userspace.
Customized in-kernel thermal solution smart scaling, dynamic polling, and configurable throttle temp.
Custom PowerHAL module (spam-free Android log from PowerHAL events)
Controllable touchboost frequency and duration
Gamma and Sound control (thanks faux123!)
Fsync control (3 modes)
USB Force Fast Charge
I/O schedulers - SIO(optimized), deadline (optimized), row, cfq, noop, and fiops
TCP Congestion Control (several choices available) - veno is the default
Governors - Interactive (default), OnDemand, PowerSave, Conservative
CIFS, NFS, NTFS r/w, TUN - built-in, no need for any kernel modules
Other misc patches and tweaks (see github link at the bottom of this post)
GPL compliant - source is kept up to date at github.com and released at the time the kernel is released to the public via this post. Demand that other devs do the same!
Requirements (please read carefully and visit the other dev threads as necessary)
Boot-loader must be unlocked and you must have a custom recovery installed (CWM or TWRP).
Have your ROM zip on your /sdcard so you can restore your whole ROM if necessary.
Do a complete backup using custom recovery so you can restore your boot.img and ROM if necessary!
System Tuner is recommended for monitoring/tuning the CPU, especially for voltage control. Other kernel apps like faux123's will likely work as well, but they have not been tested.
AOSP ROMs including stock - for init.d support, you must have a working busybox install in /system/xbin.
Installation
Check the requirements above and read release notes below for the build # you are installing for any extra instructions!
If coming from another kernel, read the instructions in red below and follow them before flashing.
Flash the the kernel zip using your custom recovery.
Optional: if you want to revert back to what you had, restore your backup of your boot.img in recovery. Another option for reset back to stock is to flash the stock reset zip above. For other custom ROMs, dirty flash your custom ROM in recovery to get your default kernel and ramdisk back.
If you have issues and are coming from another custom kernel or ROM, follow these instructions first before the install. Many custom kernels are changing the ramdisk or other binaries that require a reset before moving back to stock or another kernel.
Reset for Stock ROM - flash this reset package that includes the stock kernel, ramdisk, thermald, mpdecision, and PowerHAL binary. This can also be used if you are using the stock ROM and want to go back to stock.
4.2.1 View attachment N4_421_stock_kernel_and_components.zip
4.2.2 View attachment N4_422_stock_kernel_and_components.zip
Reset for any non-stock ROMs like CM, AOKP etc - dirty flash your current ROM or nightly zip then your gapps in recovery (just flash, no wiping). This will give you back your original ramdisk, kernel, and other binaries that other kernel devs may have tweaked, renamed, replaced etc.
Builds
Build 49 - 2013-03-10 (stable) - Android 4.2.2
Added faux123's "Sound Control: Sound control for WCD93xx codec" for testing (thanks!)
AnyKernel UPDATE ONLY - must already be on b37 or higher first! Anykernel is the same for both Stock/AOSP and CM 10.1
View attachment motley_anykernel_422_nexus_4_build_49.zip
Build 48 - 2013-03-09 (stable) - Android 4.2.2
Turned off touchscreen accuracy filter by default and allow users to turn them on via the same interface (see git for all the details). In the commit comments on github, I also document how the stock kernel already allows these adjustments, but now we have easier control of them individually. Let me know if this fixes issues for those having them.
Reverted back the changes for notification delays. They didn't fix anything. If you swapped out your prime WiFi INI file, I recommend changing back to stock for now.
AnyKernel UPDATE ONLY - must already be on b37 or higher first! Anykernel is the same for both Stock/AOSP and CM 10.1
View attachment motley_anykernel_422_nexus_4_build_48.zip
Build 44 - 2013-03-04 (beta) - Android 4.2.2
Updated touchscreen Accuracy Filter Control with franco's cleanup patch. Reverting back to a single threaded workqueue should hopefully help fix the touchscreen issues some reported.
Per Google's kernel devs, we should not have CONFIG_NF_CONNTRACK_SIP/CONFIG_NF_NAT_SIP turned on in the config. Testing is under way (introduced in b43 posted in the thread).
AnyKernel UPDATE ONLY - must already be on b37 or higher first! Anykernel is the same for both Stock/AOSP and CM 10.1
View attachment motley_anykernel_422_nexus_4_build_44.zip
Build 42 - 2013-03-02 (beta) - Android 4.2.2
Added faux123 Speaker Amp Control by request for testing (thx!)
Added franciscofranco touchscreen Accuracy Filter Control by request for testing (thx!)
Reverted "Mako Gamma: allow values greater than 31 for array positions 5 and 6". Brought to faux's attention and his app is now fixed, so this is no longer needed. Values should be capped at 31 like we have always known.
AnyKernel UPDATE ONLY - must already be on b37 or higher first! Anykernel is the same for both Stock/AOSP and CM 10.1
View attachment motley_anykernel_422_nexus_4_build_42.zip
Build 40 - 2013-02-25 (stable) - Android 4.2.2
Added upstream smp patches from 4.2.1 back into 4.2.2 build
Added optimized ARM RWSEM algorithm backin into 4.2.2 build
AnyKernel UPDATE ONLY - must be on b37 or higher first! Anykernel is the same for both Stock/AOSP and CM 10.1
View attachment motley_anykernel_422_nexus_4_build_40.zip
Build 39 - 2013-02-20 (stable) - Android 4.2.2
Added usb/hsic patches into 4.2.2 build
Turned off prima debugging in 4.2.2 build
AnyKernel UPDATE ONLY - must be on b37 or higher first! Anykernel is the same for both Stock/AOSP and CM 10.1
View attachment motley_anykernel_422_nexus_4_build_39.zip
Build 38 - 2013-02-17 (stable) - Android 4.2.2
Loosen up validation for gamma interface to allow values greater than 31 for array positions 5 and 6.
AnyKernel UPDATE ONLY - must be on b37 or higher first! Anykernel is the same for both Stock/AOSP and CM 10.1
View attachment motley_anykernel_422_nexus_4_build_38.zip
Build 37 - 2013-02-17 (stable) - First build with 4.2.2 support added
4.2.2 - rebased upon android-msm-mako-3.4-jb-mr1.1, ramdisk updated etc.
All major features added back in, but I have left a few patches out (hsic etc.) so we can evaluate before adding them back in.
Back to b32 colors, from here out you are on your own using the gamma interface of choice.
Fixed issue where fsync was still on like in previous builds. Dynamic fsync is now the default (see post 2)
Added franco gamma interface, so the kernel can support all popular interfaces until/if a standard interface is adopted.
Added refresh_screen sysfs (see post 2). This should only be called by apps or scripts while adjusting colors "live" with the motley or faux interface and NOT implemented on startup via init.d or apps since it will compete with the normal power on process and the colors will be set twice.
Use a 4.2.2 ROM and binaries. I will not troubleshoot any issues if you use this on 4.2.1 ROMs and binaries
Stock/AOSP with init.d support: View attachment motley_422_n4_exp_build_37_initd.zip
-or-
CM 10.1: View attachment motley_422_build_37_CM.zip
Previous builds and release notes:
Exp build 35 - 2013-02-11 (stable) - Last build for 4.2.1 for now
New default gamma values (this is an experiment, so let's see how everyone likes it)
cifs support for 4.2 (no modules required) - make sure you pass unc=\\\\server_name\\share_name as a mount option, or it will not work. It is a problem in the mainline kernel for 3.4 where they seem to have accidentally made the unc option mandatory. Also, no promises that the mount will be solid after the device sleeps. For now, I suggest you unmount after you are done using the file system unless we find a workaround. I have tested with cifsmanager from the app store. Other apps may or may not work.
Vibrator default is now 80 in init.mako.rc. This thing was anemic and it was about time.
FIOPS io scheduler added for testing by request
Applied several kernel\sched patches
auto_hotplug tweaks, nothing major.
Added dynamic fsync (thanks faux123) - I will update post 2 with the 3 different FSYNC options. Both toggles were left in the kernel since they are both available in different apps. If someone liked it the way it was, I didn't want to take that away.
Stock/AOSP with init.d support: View attachment motley_n4_exp_build_35_initd.zip
-or-
CM 10.1: View attachment motley_exp_build_35_CM.zip
Exp build 32 - 2013-02-03 (stable)
Merged Google's latest kernel patches for off-mode charging (from android-msm-mako-3.4-jb-mr1)
Interactive governor default tweaks - seems to give better user experience in testing thus far.
One other patch from Google's common 3.4 repo (sync: Fix race condition between merge and signal)
AnyKernel UPDATE ONLY - You must already be on exp b31. If not flash that first, then flash this. This works for both Stock/AOSP and CM
View attachment motley_anykernel_nexus_4_EXP_build_32.zip
Exp build 31 - 2013-01-28 (stable)
Added support for generic gamma control via sysfs with scripts (will update post #2 with details and examples). Again, thanks to faux123 for sharing his code.
Back on Linaro toolchain. Touch Control (PGM) support is still working fine.
TCP Congestion Control default changed to "veno" to see if it helps achieve faster speeds for some. Also added cubic, bic, illinois, and yeah for testing. Westwood+, reno, and vegas still available.
Stock/AOSP with init.d support: View attachment motley_n4_exp_build_31_initd.zip
-or-
CM 10.1: View attachment motley_exp_build_31_CM.zip
-or-
AnyKernel UPDATE ONLY - If you already on this kernel exp b17 or higher. For both Stock/AOSP and CM (keep this around for those who may want it for some reason)
View attachment motley_anykernel_nexus_4_EXP_build_31.zip
Exp build 28 update - 2013-01-24 (alpha 3)
Added support for gamma control (thanks to faux123, the faux123 app is required). Will likely provide something more generic in the future for tuning via sysfs without a 3rd party app.
Added some modest CPU OC steps of 1.56, 1.62, and 1.67GHz (voltages are scaled by bin but might not yet be optimal as the defaults). It still boots to the stock 1.5GHz, so it won't affect those that don't want to OC.
Giving the Google 4.7 toolchain a try. This base will give Touch Control a chance to work when the dev has a change to take a look. I am also inquiring to see if he thinks we can give Linaro a try. Google has made a lot of strides in this latest version, but I don't think it is yet on par with Linaro. I may do another alpha build with Linaro so we can compare. Perhaps I don't have the proper optimizations in place. we will see where this goes.
Thermal throttling improvements (new tuneable "min_freq_index" - what freq does it throttle down to before returning to max?)(default = 7 = 1.13GHz). This is the index in the frequency table as seen in Trickster MOD, System Tuner etc. It is zero based (i.e. 304MHz is zero). Several other changes, see my git commits for details.
Touch Control (PGM) support now available (thanks to bponury for his support!)
AnyKernel UPDATE ONLY - If you are not on b17 or higher already, flash build 17 first (Stock/AOSP or CM), then flash the AnyKernel zip for both Stock/AOSP and CM
Exp build 22 update - 2013-01-19 (stable)
Added hsic/usb patches (thanks to code aurora, harsh, thracemerin, and all the other kernel devs that helped with testing and troubleshooting)
See this post for some more info and why it was first released. It is now considered beta and not alpha.
AnyKernel UPDATE ONLY - If you are not on it already, flash build 17 first (Stock/AOSP or CM), then flash the AnyKernel zip for both Stock/AOSP and CM
motley_anykernel_nexus_4_EXP_build_22.zip
Exp build 21 update - 2013-01-19 (stable)
I am hoping this has us back to the b12 smoothness and we have settled in on some good defaults for moving forward.
Upgraded prima WLAN driver to 3.2.1.13 (connected to 3 different WiFi networks yesterday and it is working flawless for me)
Interactive gov tweaks based upon testing and feedback (boostpulse freq is now stock)
Default throttle temp now 67C
Other minor patches: auto_hotplug kick start on resume, update L2 voltage table, etc. (see github)
AnyKernel UPDATE ONLY - If you are not on it already, flash build 17 first (Stock/AOSP or CM), then flash the AnyKernel zip for both Stock/AOSP and CM
View attachment motley_anykernel_nexus_4_EXP_build_21.zip
Exp build 17 - 2013-01-16 (stable)
Back to new 3.4 Google interactive governor base like in b12
PowerHAL and boostpulse setup from b12 is also back. Touchboost default settings have been tweaked based on user feedback (how long does it boost? boostpulse_duration, what freq to boost to? hispeed_freq). If you want to use OnDemand, or don't want any touchboost, then you can flash the "inert" PowerHAL at the bottom of this post.
auto_hotplug enhancements rev 3 (see github) - I will update post #2 as soon as I can. We now have control over how many cpu cores you want online (for battery or performance). Thanks to mathkid for the min_online_cpus commit. It gave me the idea for max_online_cpus.
Back to the partial mako display partial revert by popular demand. My RBG tweak was reverted back to stock (255,255,255). Remember, the RGB can be changed in this kernel and it will persist after screen off/on without an app (see post #2). Trickster MOD can be used to tweak RGB.
OnDemand gov - latest patches from Code Aurora.
Note: Make sure you test with out of the box voltages, especially in the mid-range! There is already a healthy amount of under-volting in this kernel for all binned chips except "slow".
Stock/AOSP with init.d support: View attachment 1651464
-or-
CM 10.1: View attachment 1651468
Exp build 14 - 2013-01-14 (beta)
Reverted back to stock interactive governor base.
Added touchboost changes into stock interactive gov base and tweaked touchboost default settings based on user feedback.
Reverted back to b10 inert PowerHAL (same a separate flash I provided for b12 for those having issues)
Reverted one other scheduler patch that I thought could be playing a role in the reboot. I also didn't think it showed benefits after testing.
Notes: you can control touchboost using the interactive gov (turn off/on touchboost: input_boost, length of boost pulse: above_hispeed_delay, freq to boost to: hispeed_freq)
Stock/AOSP with init.d support: View attachment 1645970
-or-
CM 10.1: View attachment 1645993
Exp build 12 - 2013-01-13 (beta)
Touchboost control - connected custom Android PowerHAL module with interactive touchboost. Then, I married interactive touchboost with autoplug touchboost. If you want to tune tune interactive governor touchboost differently, you can use sysfs scripts, Trickster MOD or other capable apps (how long does it boost? boostpulse_duration, what freq to boost to? hispeed_freq)
Added touchscreen patch (thanks faux123) - seems to make the touchscreen more usable and responsive in my testing.
autoplug enhancements rev 2 - added ability to change # of sampling_periods on the fly using a module parameter (whilst preserving past history). Added get/set methods for all module parameters to make them safe. See github for all the details.
Added "row io scheduler by request - SIO is still the default for now.
Some other misc patches
Stock/AOSP with init.d support: View attachment 1641515
-or-
CM 10.1: View attachment 1641518
Exp build 10 - 2012-12-30 (stable)
Important: Since freqs have been added at the high end below 1.5GHz for smoother scaling, if you use voltage control make sure voltage data is not applied on start-up since you won't have the values for the new freqs.
Userspace tuning for thermal and hotplug (see post 2 for details shortly)
Enhanced thermal throttling and frequency scaling (see github commits for details, too many changes to list here)
Merged Code Aurora HSIC patches that hopefully will reduce duration of the infamous wakelock (and revert of prior trial workaround)
Added optimized ARM RWSEM algorithm
SMP patches from 3.5 that address hotplug efficiency and lay the foundation for other future patches I am studying.
Some other minor patches and changes (see github)
Stock/AOSP with init.d support: View attachment 1604553
-or-
CM 10.1: View attachment 1604557
Exp build 8 - initial release
Same base features as build 57 mainline
ARM auto hotplug v0.220 by _thalamus
Custom PowerHAL (chatter-free Android log)
Interactive (default) - with input boost
MSM-thermal in-kernel solution
thermald and mpdecision are disabled (services are not started in the ramdisk)
Inert PowerHAL library
This is a shell PowerHAL library that allows Android to function and stops the input boostpulse requests
(same as included in b8 and b10 Exp kernels).It was originally released for testing b12, but can be used in other builds. Personally, I would only flash the "inert PowerHAL" if you are using OnDemand full-time and no longer using interactive (set on boot), OR if you are using interactive and want to completely remove the boostpulse requests coming from Android. In the later case, UI performance may be sacrificed a bit for better battery.
View attachment motley_inert_powerhal.zip
Mirror site - thanks tlongren! - will typically be updated within a day after I post
http://www.longren.org/nexus4/motley
Git repo:
https://github.com/motley-git/kernel-Nexus4
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(http://www.gnu.org/copyleft/gpl.html)
Setting custom RGB color settings via sysfs
This can be done from the adb shell on your PC, or any terminal app. If you change them, they will not persist after a reboot. However, you can set them in an init.d script if you found another color combination that you like better than the one I have used.
Code:
echo "255 255 255" > /sys/devices/platform/kcal_ctrl.0/kcal
echo 1 > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl
Command 1 sets the color and Command 2 commits them. Stock is 255 255 255.
Setting custom Gamma settings via sysfs - Exp kernel build 31+ only - thanks to faux for sharing his code
Warning: changing these values can be potentially be dangerous to your display if you make a mistake. For those that feel comfortable with what they are doing and want to experiment, please report back and share your findings.
Important, please read!
There are ten digits in the string separated by one space
First digit is a checksum and is never stored. The checksum is simply the sum of the other 9 numbers. This is to make it harder to so the interface is respected and you are forced to think about what you are doing.
There are 3 sysfs interfaces for gamma, one for each color:
Code:
#!/system/bin/sh
# Show the current configuration and the checksum
cat /sys/devices/platform/mipi_lgit.1537/kgamma_red
cat /sys/devices/platform/mipi_lgit.1537/kgamma_green
cat /sys/devices/platform/mipi_lgit.1537/kgamma_blue
Update:
Recently molesarecoming started opening this up and showing us what the values can be used to adjust. Franco then suggested that the white and grays should be swapped in moles original work. So, for init.d values using this interface, we have the following "banks" if values if we agree with Franco on the swap of the whites and grays.
Code:
R: checksum, g_white, g_mids, g_black, 0, g_contrast, g_brightness, g_saturation, g_grey, 2
G: checksum, g_white, g_mids, g_black, 0, g_contrast, g_brightness, g_saturation, g_grey, 2
B: checksum, g_white, g_mids, g_black, 0, g_contrast, g_brightness, g_saturation, g_grey, 2
(the zero in position 5's and the 2's in position 10 are recommended to be left alone since they are currently unknowns)
Minus the checksum, the 27 values mirror the 3 color arrays (3 x 9 = 27) in the actual LG LCD driver. Minus the unknowns, we are left with 21 values. Note that every one of the variables can have their value tweaked by color (saturation for red, saturation for green etc.), however, it is recommended that you start with all the values of one type being the same and then tweak from there if you really want to fine tune.
You have a lot of power in your hands even without fine tuning. Many will argue that fine tuning isn't required. If you look at the stock settings by Google in post 2, they took advantage of fine tuning for whatever reason. Even though many don't like these settings by Google, it shows how flexible the interface can be.
Instructions:
1) Start with a preset config (LG or Google) as shown further below. This is a set of 3 lines, 10 numbers for each line.
2) Tweak columns for their values as above. For example, we tweak contrast and brightness as in faux's original app. We could also do the same for saturation, blacks, whites, grays etc.
Example: start with LG presets with numbers to adjust:
383 114 21 118 0 10 4 80 48 2
383 114 21 118 0 7 4 80 48 2
383 114 21 118 0 5 1 80 48 2
3) Now update the checksum in column 1 (first digit = sum of last 9 digits)
397 114 21 118 0 10 4 80 48 2
394 114 21 118 0 7 4 80 48 2
389 114 21 118 0 5 1 80 48 2
4) Create a script inside a text file - my recommendation for your first test
Code:
#!/system/bin/sh
# Set data color pro presets from shared Google spreadsheet (thanks user acer73!)
# Use LG presents as your starting values and then adjust columns 6 & 7 from the spreadsheet
echo "397 114 21 118 0 10 4 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo "394 114 21 118 0 7 4 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "389 114 21 118 0 5 1 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_blue
#Set the complimentary RGB values for this calibration
echo "248 248 248" > /sys/devices/platform/kcal_ctrl.0/kcal
echo 1 > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl
5) Run the script (or you can echo each line manually to test from adb if you prefer).
6) Turn the screen off and on for the gamma change to take effect.
7) Check the dmesg output for any clues and to see the output of the result.
8) Place the script into your /system/etc/init.d/ folder (or equivalent) for a permanent color change!
Screen refresh (added in b37) - this should only be called by apps or scripts while adjusting and testing colors "live" with the motley or faux sysfs interface. It should NOT be implemented on startup via init.d or by apps since it will compete with the normal power on process.
Code:
echo 1 > /sys/devices/platform/mipi_lgit.1537/refresh_screen
Presets:
Code:
#!/system/bin/sh
# Set LG presets (motley stock) - i.e. popular partial revert of Google's tweaks just before release
echo "383 114 21 118 0 0 0 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo "383 114 21 118 0 0 0 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "383 114 21 118 0 0 0 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_blue
Code:
#!/system/bin/sh
# Set stock Google presets (from kernel source code)
echo "332 64 68 118 1 0 0 48 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo "332 64 68 118 1 0 0 48 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "364 32 35 116 0 31 16 80 51 3" > /sys/devices/platform/mipi_lgit.1537/kgamma_blue
Code:
#!/system/bin/sh
# Set faux Google presets (not sure why his numbers differ)
echo "460 64 68 118 1 32 96 48 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo "461 64 68 118 1 33 96 48 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "445 32 35 116 0 32 96 80 51 3" > /sys/devices/platform/mipi_lgit.1537/kgamma_blue
Spreadsheet with shared settings
https://docs.google.com/spreadsheet/ccc?key=0AoDp2qRui0u0dGE4T2gtSDBTRHVFSldPS2RrX1Rya0E#gid=0
FSYNC Control
Notes: I thought about combining these options, but many kernel apps already support these two options. So, I have them both and they can be controlled in combination to give us the 3 modes. If you set fsync_enabled = 0 it will be OFF regardless of how Dyn_fsync_active is set.
3 Modes:
Dynamic (default in b35 and higher)- fsync is asynchronous when screen is on, when screen is off it is committed synchronously
dynamic fsync ON
fsync ON
Code:
echo 1 > /sys/kernel/dyn_fsync/Dyn_fsync_active
echo 1 > /sys/class/misc/fsynccontrol/fsync_enabled
Off (best performance, less safe) - fsync is always asynchronous (b32 and prior builds)
dynamic fsync OFF
fsync OFF
Code:
echo 0 > /sys/kernel/dyn_fsync/Dyn_fsync_active
echo 0 > /sys/class/misc/fsynccontrol/fsync_enabled
Stock (safest) - fsync is always committed synchronously
dynamic fsync OFF
fsync ON
Code:
echo 0 > /sys/kernel/dyn_fsync/Dyn_fsync_active
echo 1 > /sys/class/misc/fsynccontrol/fsync_enabled
There is a lot of info out there on fsync, that will not be discussed here. I have run fsync off on several devices for awhile now and haven't experienced any issues. If you are using a device that is not stable and crashes alot, I recommend enabling it via init.d or script manager on boot. Hopefully your N4 is as stable as is mine.
USB Force Fast Charge
You can turn it on with popular apps (like Trickster MOD) that support the common sysfs toggle as shown below.
If you don't like it or don't want to use it, it is off by default.
Turn ON:
Code:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
Turn OFF:
Code:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
Notes:
When it is ON, you will not be able to connect your phone to your PC (adb, mtp etc.). This is expected behavior.
To start charging: turn fast charge ON, plug the USB cable into your PC, and charge up.
To stop charging: unplug the USB cable and turn fast charge OFF. Now you can plug back into your PC for normal trickle charging, adb/mtp etc.
Tip: if you see it connect to your PC (media device or adb), it isn't working. Unplug the cable, wait a couple seconds and plug it in again.
Boostpulse control - Experimental build only
Trickster MOD works great to play with these.
How long does it boost when Android senses touch? (in b10 and b14 it is above_hispeed_delay)
Code:
/sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration
What freq does it boost to?
Code:
/sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
Turn touchboost OFF/ON (in b10 and b14 only)
Code:
/sys/devices/system/cpu/cpufreq/interactive/input_boost
Thermal Throttling and Hotplug Control - Experimental build only
Warning: these do not have to be changed from the defaults and could potentially be dangerous if you make a mistake. For those that know what they are doing and want to experiment with settings, scripts etc. please report back your findings.
msm_thermal:
Throttle temp in C. Default is 70, valid range is 45 to 80 (recommend to not go over 75):
Code:
/sys/module/msm_thermal/parameters/throttle_temp
Minimum freq used in throttle down before returning to max, default is 7 = 1.13GHz. Range is 4 to 8 (810Mhz to 1.24GHz)
This is the index in the frequency table as seen in Trickster MOD, System Tuner etc. It is zero based (i.e. 304MHz is zero).
Code:
/sys/module/msm_thermal/parameters/min_freq_index
Turn on thermal debugging so you can see what is happening in the kernel log:
Code:
/sys/module/msm_thermal/parameters/thermal_debug
auto_hotplug:
Load based hotplugging parameters. I have taken _thalamus' base (thanks!) and have exposed most of the tuning parameters to userspace.
Turn off/on hot_plug debugging Y/N, default N, this spams the kernel log like crazy, turn on only when troubleshooting/testing
Code:
/sys/module/auto_hotplug/parameters/debug
Load at which a CPU is taken offline, 40-125, default 80:
Code:
/sys/module/auto_hotplug/parameters/disable_load_threshold
Load at which an extra CPU is put online, 130-250, default 200:
Code:
/sys/module/auto_hotplug/parameters/enable_load_threshold
Load at which all CPU's are enabled, 270-550, default is 400 (or 100 x number of cores):
Code:
/sys/module/auto_hotplug/parameters/enable_all_load_threshold
Sample rate in milliseconds, converted to jiffies at runtime, 10-50ms, default 20:
Code:
/sys/module/auto_hotplug/parameters/min_sampling_rate
Number of samples in the circular buffer, 5-50, default 10 (more samples = less aggressive; less samples = more aggressive):
Code:
/sys/module/auto_hotplug/parameters/sampling_periods
Maximum number of cores online (regardless of load) when screen is on, 1-4, default 4 (tune down for battery savings):
Code:
/sys/module/auto_hotplug/parameters/max_online_cpus
Minimum number of cores online (regardless of load) when screen is on, 1-4, default 1 (tune up for performance/bench-marking):
Code:
/sys/module/auto_hotplug/parameters/min_online_cpus
Vibration Intensity
You can also use Trickster MOD to set this.
Example increase intensity:
Code:
echo "90" > /sys/class/timed_output/vibrator/amp
To go back to stock:
Code:
echo "70" > /sys/class/timed_output/vibrator/amp
Why are the base voltage tables different on some phones
What CPU do you have? Nominal, Fast, Faster ...or Slow
The phones with the lower default voltage values use the "fast" or "faster" frequency table, consider yourself lucky. This explains why some can't UV as much as others since they are starting with lower mV's to start. These are built in factory tolerances that depend upon the binning of your chip. I am familiar with the same thing in the tegra3 world where I have had more experience. So, don't worry as this is commonly done in this industry. Hopefully folks don't go freaking out because they have a nominal chip like I do. It's probably good for a dev to have a nominal chip so we can better honor the limits.
http://en.wikipedia.org/wiki/Product_binning
How do I tell what I have?
If you boot up your phone fresh and look at the dmesg output (kernel log) while the messages are still there, you will find one of the following output messages where it selects it's frequency plan depending on the binning of the chip.
Code:
adb shell dmesg | grep PVS
acpuclk-8064 acpuclk-8064: ACPU PVS: Nominal
-or-
acpuclk-8064 acpuclk-8064: ACPU PVS: Fast
-or-
acpuclk-8064 acpuclk-8064: ACPU PVS: Faster
-or-
acpuclk-8064 acpuclk-8064: ACPU PVS: Slow
I have tweaked all the frequency tables nominal, fast, and faster (as well as slow to compensate for the lower freq) to keep them similarly scaled relative to stock. If you don't like the safe defaults (already UV'ed), then use voltage control and come up with your own preferred values.
SWEET!
Sweetness! New kernel!
Sent from my Galaxy Nexus using Tapatalk 2
I definitely giving this s try out.
Thanks for your work.
Sent from my Nexus 4 using xda premium
On my phone the zip is showing duplicate files inside?
Sent from my Nexus 4 using Tapatalk 2
stormtroopercs said:
On my phone the zip is showing duplicate files inside?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
File looks fine on a computer.
stormtroopercs said:
On my phone the zip is showing duplicate files inside?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
hol17 said:
File looks fine on a computer.
Click to expand...
Click to collapse
That is odd. I just looked at it on my phone with ES zip viewer and it looks fine. Also looks good in Linux and flashes fine using CWM touch. Does Root Explorer officially support JB4.2?
I've just added this kernel to the Nexus 4 Complete Index
Sent from my GT-I9100 using xda premium
KidCarter93 said:
I've just added this kernel to the Nexus 4 Complete Index
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Thx, appreciate it!
Nice work motley. I'm not an overclocker so I'll probably be running this often. Can you look at tweaking the voltage table a bit, 800 mV is not low enough. I think the lower steps will be able to go as low as 600 stable. Just a thought. Thanks for your work.
Sent from my Nexus 4 using xda premium
_motley said:
That is odd. I just looked at it on my phone with ES zip viewer and it looks fine. Also looks good in Linux and flashes fine using CWM touch. Does Root Explorer officially support JB4.2?
Click to expand...
Click to collapse
No idea but it flashed correctly! Good job!
Sent from my Nexus 4 using Tapatalk 2
Running great on the latest Xylon build .. Thanks
Sent from my Nexus 7 using Tapatalk 2
mikeyinid said:
Nice work motley. I'm not an overclocker so I'll probably be running this often. Can you look at tweaking the voltage table a bit, 800 mV is not low enough. I think the lower steps will be able to go as low as 600 stable. Just a thought. Thanks for your work.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thx, definitely will try to push it down for us so we can test it out what works best. Heading to bed now, but should be able to do some tweaks tomorrow and over the weekend.
stormtroopercs said:
No idea but it flashed correctly! Good job!
Click to expand...
Click to collapse
joshnichols189 said:
Running great on the latest Xylon build .. Thanks
Click to expand...
Click to collapse
Awesome, thanks for the quick feedback guys!
Wooow linaro!!! Amazing!!!!
Enviado desde mi Nexus 4 usando Tapatalk 2
mikeyinid said:
Nice work motley. I'm not an overclocker so I'll probably be running this often. Can you look at tweaking the voltage table a bit, 800 mV is not low enough. I think the lower steps will be able to go as low as 600 stable. Just a thought. Thanks for your work.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I noticed that Faux kernel's minimum is also 800mv. I wonder if this is some hard coded limit or something
Sent from my Nexus 4 using xda app-developers app
Glad to see you here motley! Your N7 kernel is legendary.... Can't wait to use this!
Sent from my Nexus 4 using Tapatalk 2
Logi_Ca1 said:
I noticed that Faux kernel's minimum is also 800mv. I wonder if this is some hard coded limit or something
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I don't think it's a limit, as such, I think that's the lower they know is definitely stable at the moment.
As motley said, he'll do some more testing when he's got time, so he'll be able to know for sure if lower would still be stable.
Sent from my GT-I9100 using xda premium
Usb otg work with this kernel?
Sent from my MyTouch 4G using Tapatalk 2
pnut22r said:
Usb otg work with this kernel?
Sent from my MyTouch 4G using Tapatalk 2
Click to expand...
Click to collapse
Features
304MHz lowest CPU freq step added with lower voltage than stock, since the device spends a lot of time at this frequency. 432 MHz removed since it doesn't seem to use it much.
Google 3.4 base. All stock features are of course supported (camera, OTG, NFC etc.)
Fsync disabled by default for performance and battery saving - enable/disable switch is available if you want to turn back on (see below).
Voltage control (thanks faux123!) - be careful to not save the setting on boot until you are 100% sure!
Compiler optimizations (-O2) - using 2012.10.22 Linaro 4.7.1 ARM toolchain
I/O schedulers - SIO(default), deadline (optimized), cfq, noop
Governors - OnDemand (stock ramdisk will set on boot), Interactive (my favorite, responsive + good standby battery usage), PowerSave, Conservative
CIFS, NFS, NTFS r/w, TUN - built-in, no need for any kernel modules
Increased mm read-ahead buffer to 1024
XZ compression
GPL compliant - source is kept up to date at github.com and released at the time the kernel is released to the public via this post. See github link at the bottom of this post.
Other misc patches and tweaks (see github)
[KERNEL] [SM-N9005 HLTE] [03 July] SkyHigh TW Kernel [v3.3]
THIS PROJECT IS NOW ABANDONED DUE TO MY OTHER COMMITMENTS FOR FAMILY, WORK & OTHER DEVICES IN XDA. THERE IS JUST NOT ENOUGH TIME IN THE DAY. SEE YOU ALL AROUND XDA & HAPPY MODDING !!
N9005 HLTE TW supported only. (No S5 ROM port. Newer ROMs based on NFx firmware may not be compatible )
I don't have time to build and debug for other variant devices I can't test or a ROM I don't use - sorry.
Let get it straight, I am not a real Developer, but I am UpInTheAir, former part time kernel “hack” of SGT 7.7 JB & ICS Kernels. I now share with you my first SELinux TW N9005 LTE Kernel compiled from official Samsung sources.
* I don't pretend to know everything, so if you can be constructive and help out this project, please do so. You will find allot of answers by searching gitHub, XDA and SEARCH Just like I do …......
>> SCREENSHOTS << v2.8 (21-June) ONLY A GUIDE - MAY NOT BE ALWAYS UP-TO-DATE
FEATURES
✔ Based on official Samsung source: SM-N9005 KK Opensource Update7
✔ ramdisk source: N9005XXUEND3
✔ Built with Stock ARM Toolchain 4.7
✔ KNOX WARRANTY VOID: 0X1
✔ SELinux PERMISSIVE
✔ adb insecure
✔ init.d script support
✔ busybox v1.22.0-Dream-IRC installed to /sbin
✔ Synapse app support for almost all kernel configurations + more !!
Many descriptions are in the app ! If you require more info, don't be lazy, please SEARCH like I did !
SYNAPSE FEATURES
CPU HARD LIMIT v2.0a
OC to 2880 MHz
Max screen on/off CPU frequency
Min screen on/off CPU frequency
Wake up settings
wake up kick frequency
wake up delay
Touch boost frequency settings high/low
Userspace DVFS lock
VOLT
Global CPU voltage control (0 > -30 mV)
CPU frequency voltage (adjust individual voltage steps)
GOV
CPU governor
interactive (default)
intelliactive
intellidemand
on-demand
powersave
userspace
conservative
performance
CPU governor tunables
DRIVERS
Intelli-Hotplug
Profiles: Balanced Performance Conservative Eco-Performance Eco-Conservative
Hysteresis
Screen OFF Max Frequency
Touch boost active
Dynamic FSYNC
Powersuspend
Hybrid_hook (default)
Userspace_trigger
Autosleep_hook
CPU_Boost
GPU
GPU governor
msm-adreno-tz (default)
simple_ondemand
performance
Simple GPU Algorithm
Laziness
Ramp up threshold
GPU max OC freq 587 MHz
Default 462.4 MHz (stock = 450 MHz)
GPU min-initial freq (Default 200 MHz)
GPU idle freq 27 MHz
MEMORY
I/O Schedulers
BFQ v7r4 (default)
CFQ
NOOP
ROW
DEADLINE
FIOPS
Int & ext storage scheduler
Int & ext storage read-ahead
General I/O
I/O scheduler
Kernel SamePage Merging (KSM)
Pages to Scan
Scan Delay Interval
Deferred Timer
Dynamic Dirty Page Writeback
Dirty Writeback Active
Dirty Writeback Suspend
Virtual memory
Adaptive VFS Cache Pressure
BATTERY
Fast Charge v1.2
AC
USB
Wireless (maybe not working?)
Fuel gauge reset
battery stats
SOUND
Faux Sound v3.2
LED
LED eXtended ConTRoLs v1.2
SCREEN
MDNIe lite control v1.3
TOUCH WAKE
Touch Wake v1.4b (S-PEN working only)
ADVANCED
Low Memory Killer (LMK)
LMK Whitelist
Do-Not-Kill System Processes List
Do-Not-Kill User Processes List
entropy
sched_mc_power_savings control
performance = 0 (default)
balanced = 1
battery = 2
Gentle Fair Sleepers
peformance = disabled (default)
battery = enabled
NETWORK
TCP congestion algorithm
Cubic (default)
Reno
Bic
HTCP
Westwood plus
TCP security
TCP/IP speed tweak
3G DNS speed & security tweak
Google, OpenDNS, Comodo, Level3, Norton_DNS, Smart_Viper
GPS Region
Default, Asia, Europe, Oceania, North America, South America, Africa
SYSCTL
proc.sys.fs
proc.sys.kernel
proc.sys.net
proc.sys.vm
USB
Default
MTP > Media Transfer Protocol
UMS > USB Mass Storage
PTP > Camera
USB Keyboard / Mouse (with USB Keyboard app)
BACKUP & RESTORE
Restore - Delete - Backup
kernel
profile
REBOOT
Reboot device
Reboot to Recovery
Reboot to Download Mode
LOGS
Android logger_mode toggle (default: off)
logcat
dmesg
last_kmsg
✔ OC BUS (931 > 1000 MHz @ CPU 2.88 GHz)
✔ XZ kernel compression - reduce size during initial builds
✔ Asynchronous Fsync from HTC
✔ Frandom (in-built)
✔ ram console enabled
✔ Reduced logging
✔ Disable GENTLE_FAIR_SLEEPERS - improve UI responsiveness
✔ Mount partitions NOATIME and NODIRATIME by default
✔ exFAT v1.2.8 FS R/W support
✔ F2FS support
✔ NTFS R/W support with app
✔ CIFS support
✔ Slimbus OC mkII (better sound)
✔ 2-way stereo call recording (not tested)
✔ /proc/.config.gz support
✔ glibc memcopy
CREDITS
* My family !!
* civato - many commits and intitial port of synapse config
* Wootever -
* Faux123 - loads
* Yank555.lu - heaps
* myfluxi -
* imoseyon -
* angelom -
* CM -
* AndreiLux - synapse
* apbaxel -
* zeppelinrox - TCP/IP network security & speed values
* dorimanx & pelya - USB keyboard / mouse
* XDA
* Samsung OSRC
* and many others!
* check github source credits
* IF I'VE FORGOTTON ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh Note 3 Kernel, Kernel for the Samsung Galaxy Note 3
Contributors
UpInTheAir
Kernel Special Features:
Version Information
Status: Abandoned
Current Stable Version: v3.3
Stable Release Date: 2014-07-03
Created 2014-05-20
Last Updated 2014-08-16
Requirements - installation - download
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !
REQUIREMENTS
N9005 HLTE device
TW Kit Kat 4.4.2
Rooted
Custom recovery installed
CHANGE-LOG
v3.3 [03-July-2014]
ramdisk :
synapse - remove sweep2sleep control
ramdisk: init.rc: ensure post boot defaults are set
kernel :
config: disable sweep2sleep. Causing slow bootup
v3.1 [27-June-2014]
ramdisk :
synapse - KSM Deferred Timer
synapse - CPU OC max 2880 MHz
kernel :
OC bus to 1000 MHz
OC CPU 2.88 GHz step @ 1000 MHz bus
hard limit max freq now 2.88 GHz
ksm: Provide support to use deferred timers for scanner thread
drivers: slimbus: slimbus enhancements mkII (better sound)
v3.0 [25-June-2014]
ramdisk :
sbin: busybox v1.22.0-Dream-IRC (for fix titanium app freeze issue)
synapse - Sweep2Sleep control only (Sweep2Wake not working)
synapse - add stats & clean up
ramdisk: init.rc: stop noop scheduler being set as default scheduler
kernel :
Sweep2Wake: v1.5 & support for powersuspend
v2.9 [24-June-2014]
ramdisk :
sbin: busybox v1.22.1-Stericson + applets
file_contexts: add busybox to file_contexts to allow via SELinux
synapse - USB keyboard control
synapse - tidy up storage
kernel :
various intelli-thermal commits (not yet compiled with kernel as unable to get freq temp control working as it should))
various msm-thermal commits - freq control not actually working, so not implemented synapse control
drivers: usb: Use Android device as USB keyboard/mouse
USB KEYBOARD/MOUSE: Added on/off trigger to driver.
USB KEYBOARD/MOUSE: fix compile error
config: disable FSFS stat
Allow WIFI Driver to use PowerSuspend code, and remove debug
WIFI: much better solution for POWERSUSPEND
cpufreq: ondemand: fix a bug that when a user selected a max frequency
v2.8 [21-June-2014]
ramdisk :
synapse - backup & restore kernel / profiles
synapse - adaptive vfs_cache_pressure
synapse - dynamic dirty page writeback control
synapse - UKSM > KSM. UKSM causing long boot time (+10 sec)
synapse - apply/discard bug. remove another dynamic variable
kernel :
mm: Dynamic management of dirty page writebacks
fs/dcache.c: adaptive vfs_cache_pressure on suspend / resume
config: UKSM > KSM. UKSM causing long boot time (+10 sec)
v2.7 [20-June-2014]
ramdisk :
synapse - LMK do not kill processes control
init.rc/synapse - gentle fair sleepers control & default disabled for performance
kernel :
Revert "kernel/sched: disable GENTLE_FAIR_SLEEPERS - improve UI responsiveness
sched: add sysfs interface for GENTLE_FAIR_SLEEPERS
lowmemorykiller: make default lowmemorykiller debug message useful
staging: android: lowmemorykiller: Management of not killable processes
v2.6 [16-June-2014]
Payload :
Synapse v0.36 > v0.37 [Andrei F - please rate his app ☆☆☆☆☆ in Google Play !]
ramdisk :
init.rd / synapse - KSM > UKSM control & default off
synapse - GPS Time Zone for faster GPS lock
synapse - fuel gauge reset (unsure if actually works)
kernel :
Ultra Kernel Samepage Merging (UKSM) v0.1.2.2
v2.5 [17-June-2014]
ramdisk :
synapse - storage mode control > Default, MTP, UMS (USB Mass Storage) & PTP (camera) modes
kernel :
usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
v2.4 [16-June-2014]
Payload :
Synapse v0.35 > v0.36 [Andrei F - please rate his app ☆☆☆☆☆ in Google Play !]
ramdisk :
synapse - TCP security options now just one switch!.
TCP/IP speed & 3G DNS tweaks
synapse - add Simple GPU alorithm laziness tunable
synapse - clean up layout (much neater) and add more descriptions etc
kernel :
Asynchronous Fsync: initial extraction of Async Fsync from HTC
2-way stereo call recording patch for msm8974 (not tested on my stock ROM)
v2.3 [14-June-2014]
ramdisk :
synapse - sched_mc_power_savings control (advanced tab) & cleanup
synapse - remove thermal control
kernel :
Revert "MSM thermal sysfs interface (Post #218)
slimbus: initial overclocking of slimbus (better sound)
v2.2 [11-June-2014]
ramdisk :
synapse - touchwake control
synapse - fix apply/discard bug. remove some tunables for now
kernel :
block: deadline: Optimize for non-rotational
AIO: Don't plug the I/O queue in do_io_submit()
add FIOPS I/O scheduler
TouchWake implementation v1.4b (S-PEN working only) [Yank555.lu]
intellidemand governor v5.0 [faux123]
v2.1 [09-June-2014]
kernel :
cpufreq: CPU max. hardlimit v2.0a (wake-up kick freq fixed)
v2.0 [09-June-2014]
ramdisk :
synapse - fast charge wireless control
init.rc/synapse - set some more boot defaults
userspace_dvfs_lock = 1
randomize_va_space = 0
kernel :
Forced Fast Charge for Samsung Note 3 v1.2 (wireless fast charge).
v1.9 [09-June-2014]
ramdisk :
synapse - CPU max. hardlimit v2.0 control (removed previous controls)
synapse - intelli_plug controls v2.2 > v2.6
synapse - cleanup
kernel :
cpufreq: CPU max. hardlimit v2.0 [Yank555.lu]
intelli_plug: v2.2 > v2.6
fs: mount partitions NOATIME and NODIRATIME by default (may break some apps)
mdnie lite control: small cleanup
v1.8 [06-June-2014]
ramdisk :
synapse - LED eXtended ConTRoLs v1.1 > v1.2
synapse - Simple GPU algorithm driver control
kernel :
LED eXtended ConTRoLs v1.2
v1.7 [05-June-2014]
ramdisk :
init.rc: set some boot defaults
kernel :
FS: import F2FS
f2fs: data: AIO optimization compatibility fixup
config: disable more debugging
fs: exfat: Update to v1.2.8
exfat: AIO Optimization compatibility fixup
config: set interactive CPU governor back as default
add & enable BFQ scheduler v7r4
config: enable BFQ IO scheduler & set as default
GPU: snapdragon 801 values (Max freq 600 >587 MHz - Default: 450 > 462.4 MHz)
Simple GPU Algorithm: Initial coding for devfreq based Adreno Drivers
v1.6 [03-June-2014]
ramdisk :
synapse - remove sysctrl vm.drop_caches for now. Does not reset
kernel :
deadline: Allow 0ms deadline latency, increase the read speed
msm: Fix high load average from uninterruptible waits
cpufreq: ondemand: Set MIN_LATENCY_MULTIPLIER to 20
Clean up compiler warnings in DT
lib/memcopy: use glibc version
lib/string: use glibc version
cpufreq: intelliactive: initial coding and introduction! - patched to latest [faux123]
config: set intelliactive CPU governor as default
v1.5 [01-June-2014]
ramdisk :
synapse - add powersupend options
synapse - lower refresh rate for live values
synapse - add logger_mode toggle
init.rd: logger default OFF
kernel :
kernel/sched: disable GENTLE_FAIR_SLEEPERS - improve UI responsiveness
logger: modify for synapse app compatibility (0 - 1)
GPU: increase Max frequency OC 550 > 600 MHz (default: 450 MHz)
v1.4 [30-May-2014]
ramdisk :
synapse - add descriptions, clean up & corrections etc
synapse - add TCP security
synapse - add sysctl FS tunables
synapse - add sysctl kernel tunables
synapse - add sysctl net tunables
synapse - add sysctl VM tunables
synapse - add I/O tunables [apbaxel]
synapse - add further CPU governor tunables
v1.3 [26-May-2014]
ramdisk :
synapse - add advanced tab: tuneable low memory killer (LMK), entropy & tweaks etc
synapse - moved battery info to fast charge
synapse - reboot options: reboot, recovery, download mode
synapse - logs: logcat, dmesg, last_kmsg
kernel :
add frandom [Eli Billauer]
v1.2 [25-May-2014]
ramdisk :
add KSM tuning variables to synapse
remove max limit on boot, now set in config
kernel :
enable kernel level CPU throttling
reduce logspam [imoseyon]
PowerSuspend driver v1.2 > v1.5
deadline scheduler tweak
calculate load based on current freq limit
make scheduler aware of cpu frequency state
do not detect faults when GPU core is idle
v1.1 [22-May-2014]
ramdisk :
voltage control for individual CPU frequencies in synapse
VFS_cache_pressure control in synapse
CPU governor tuning in synapse
remove custom governor tweak values for now - possibly causing some synapse instabilty on boot
move synapse CPU governor from CPU > CPU GOV tab
v1.0 Initial release
INSTALLATION
Uninstall any CPU control apps, tweaks and scripts etc.
- synapse app will be installed on flash and other apps may conflict !
Uninstall your current busybox with https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Flash .zip package in custom recovery
Re-boot
Any issues, please check Post #3 and search the thread BEFORE posting
DOWNLOAD
Mod Edit: Links Removed
SOURCE
>> github <<
.
HELP & FAQ
HELP & FAQ
"SYNAPSE BOOT CANCELLED"
Wait for the kernel to stabilize and device to cool
Open synapse app
Synapse app menu > select all globally > undo > apply ✔
Re-boot
If still issues > try again after #1
Still issues > Manually set config after boot (open synapse app > syanapse app menu > settings > disable apply on boot)
ISSUES
Uninstall any CPU control apps, tweaks and scripts etc.
Uninstall your current busybox with https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Reboot recovery
Flash kernel
Boot and allow things to stabilize
Open Synapse & tap :
"understood" message about unstable boot
"select all globally"
"undo" button
"apply" ✔
Reboot and ensure "synapse boot completed" toast message
You should be good to go
BOOT-LOOP
Power off & let device cool
Wipe cache & dalvik-cache in recovery
Re-flash kernel
Re-boot
Let things stabilize and cool before touching anything
S5 ROM PORT / NFx BASED ROMs
Not supported
I will only build using the latest official N9005 HLTE (international) source fully compatible with firmware I'm currently using on my own device
"WHAT ARE THE BEST SETTINGS FOR BATTERY LIFE"
There are no best settings. User "habit" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
This kernel is built to be balanced with a good mix of battery whilst keeping performance
Some extra tips to increase battery life without UV:
Synapse:
- Max screen OFF scaling freqency = 652 MHz
- Touch boost high freq = 1574 MHz
- Touch boost low freq = 960 MHz
- Intelli-Hotplug = enable
- Intelli-Hotplug Profile = Eco-Conservative > Eco-Performance > Conservative > Balanced > Performance
- Intelli-Hotplug Touch Boost = Disabled (may cause slight lag if disabled)
- sched_mc_power_savings = 2:Aggressive
- Gentle fair sleepers = enabled
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats app & use Greenify app to stop unwanted apps self starting and running in the background
INTELLI_PLUG PROFILES
Max cores in use:
Eco-Conservative = 2
Eco-Performance = 2
Conservative = 4
Balanced = 4
Performance = 4
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available.
This is due to the implementation of the CPU HARD LIMIT Userspace DVFS lock.
Synapse is the recommended and has everything you need
WHAT IS THE USERSPACE DVFS LOCK
If set to 1 or 2, userspace_dvfs_lock will prevent userspace (ROM as well as any APP, including CPU controlling apps) to change CPU min/max, that is normal and intended !.
* 0 = allow changes to scaling min/max.
* 1 = ignore (don't apply, but don't return an error).
* 2 = refuse (don't apply, return EINVAL).
Post # 192
RANDOM REBOOT
Don't UV
If using custom CPU governor > set Userspace DVFS lock to 0
Use SkyHigh defaults
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place (Thanks to XDA) - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
TCP/IP NETWORK SECURITY
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
AnTuTu CRASHES WITH CPU OC
If OC CPU > set Userspace DVFS lock to 0
Don't OC too much
Don't UV
Try increase voltage to higher frequencies
DO NOT KILL PROCESSES
This feature allows the user to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
When a the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
You can find the [Synapse] folder on your internal sdcard and add one process name per line. Lists updated on reboot.
Max 25 processes
Example only:
Code:
com.ea.games_r3_row
com.quoord.tapatalkxda.pre.activity
BACKUP & RESTORE
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
Read "ISSUES" & "SYNAPSE BOOT CANCELLED" above
SEGMENTATION FAULT
I don't believe it's kernel related, but rather busybox
Try uninstall your ROM busybox with this app. https://play.google.com/store/apps/details?id=stericson.busybox and reboot.
Re-flash kernel
Use the busybox that comes with the kernel located in /sbin
Also try to update your SuperSu and su binary if it asks and reboot.
USB KEYBOARD / MOUSE
Base project: https://github.com/pelya/android-keyboard-gadget
Required app: USB KEYBOARD
For best results, enable & use Hacker's Keyboard
Steps:
Ensure device USB debugging
Connect device to system via USB cable
Enable in Synapse > USB > USB Keyboard / Mouse >> Enable & apply
Start USB KEYBOARD app
..
Great. Another kernel is coming to note 3
Good! I attended the link of download!
Thanks so much! !
Inviato dal mio SM-N9005 utilizzando Tapatalk
Great
Sent from my SM-G900T using XDA Premium 4 mobile app
v1.0 is released. Please read Posts #1-3 before flashing.
I'll post initial changelog somewhere in due course, but time to get working on v1.1
Reminds me, I'll post a disclaimer...........
Edit: I'll upload a flashable stock boot.img
finally after your awesome kernel back then in 7.7...congrat and tq for this kernel
arinsms said:
finally after your awesome kernel back then in 7.7...congrat and tq for this kernel
Click to expand...
Click to collapse
Your welcome. :good:
Big thanks to the real devs here and hard-working forum members that also contribute to the various features and commits etc !
More to come of this simple kernel yet But don't expect it to be full works. I can only do my best with my limited knowledge and the time I can afford. I just see it as a challenge and share accordingly. Also big thanks to @civato with many of his initial commits and base synapse config.
Cheers,
UITA
Screenshots
Added some screenshots :good:
Doesn't cover all options, but users should get the idea
Next release, user will be able to set CPU voltage for individual frequency (as in screenshot). I've kept the Global CPU voltage control in case user prefer that.
Baby steps...........
GPU oc doesnt work properly
Sent from my SM-N9005 using XDA Premium 4 mobile app
alexander1995 said:
GPU oc doesnt work properly
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you're going to post in development section with a percieved "bug", please in future give full details allowing to replicate.
Reflashed v1.0 & tested with Antutu GPU test. GPU OC - works fine. It scales to 550 MHz if load requires. If you want to lock the frequency, set the min to the same as max.
Edit: I use cool tool app to observe "live" frequencies during testing etc
Edit 2: I believe (could be wrong. Need time to study code) that the GPU may have thermal limiting, reducing frequency under high temp, just like the CPU. This would also be normal.
Sent from my SM-N9005 using XDA Premium 4 mobile app
v1.1 released
v1.1 is now released
Change-log in Post #2.
Seems to be a lot more stable for synapse boot (under SkyHigh default conditions).
Enjoy :good:
Cheers,
UITA
Update to v1.2 sometime today or tonight. I'm really busy, so no time for release. .....
Sent from my SM-N9005 using XDA Premium 4 mobile app
v1.2 released
v1.2 is now released
Change-log in Post #2.
Enjoy :good:
Cheers,
UITA
edit: just updated the download link for anyone who might have DL v1.1 instead ........
.
u have another mirror ??
currently its not working
503 Service Temporarily Unavailable
xinfinityoO said:
u have another mirror ??
currently its not working
503 Service Temporarily Unavailable
Click to expand...
Click to collapse
I just checked and all is good.
I like to keep this project in one place. Great idea by XDA.
Please try again, sometimes the XDA is a little "finicky" to UL, so maybe same for DL too. Refresh your page and try again :good:
I have to go away for a few days, I have plenty of ideas and additions for next release. Until return......
Cheers,
UITA
v1.3 released
v1.3 is now released
Change-log in Post #2.
Enjoy :good:
Cheers,
UITA
.
Hey buddy. Gr8 Job mate..
I have V1.3 on my device since dis mornin, and I can say it's gr8....!!!! Thx
I just need some info about the settings in wifi & Advanced section in Synapse. It would be so cool If u could explain more about diz parts.... :good:
msa_6292 said:
Hey buddy. Gr8 Job mate..
I have V1.3 on my device since dis mornin, and I can say it's gr8....!!!! Thx
I just need some info about the settings in wifi & Advanced section in Synapse. It would be so cool If u could explain more about diz parts.... :good:
Click to expand...
Click to collapse
Thanks. The kernel is still a "work in progress", and trying to keep it stable but with a number of mods and exposed configurable options.
I'm still not sure if I'll add any custom governors or schedulers, easy to do but the stability of stock is great. Maybe intellidemand though?
I'm away for a few days, so I will try and add some info into post 3 and synapse as I progress with further builds when I return home.
Wifi - use cubic or Westwood plus. Edit: Maybe I'll look at adding option to use Google dns server, tcp speed tweaks etc from V6SuperCharger.
Personally, I haven't yet had to tweak the LMK minfree values on Note 3 (unlike my Galaxy Tab 7.7 with 1GB RAM and multi-window mod). It's just got so much RAM and great multi-tasker. I haven't got around to playing with entropy values either. A lot of tunable values are just exposed so if user "wants" or "needs" to tweak, it's there anyway.
There is a lot of info on the Internet that can explain things better than I ever will or pretend to understand. In that case 99/100 times I leave the values at stock.
My personal value for randomize VA space =0. Supposedly helps with GUI smoothness. ..... Somethings are hard to tell or placebo.
I've got lots of things on the "to do list", Enjoy v1.3 and beyond
Sent from my SM-N9005 using XDA Premium 4 mobile app
Revive your Samsung Galaxy Ace 2 phone in 2023!
Fastest custom kernel world-wide with lots of innovative features!
Supports all Ace 2 Variants Running Android 4.1.2
GT-I8160
GT-I8160P
GT-I8160L
This Kernel Aims are to
reduce the power consumption
improve the performance
make it more smooth
reduce RAM usage
improve RAM management
extend device features
and many more ....
A2N Kernel Special Features
SafetyNet: OK
Google Play: device is certified
Charger control for faster charging
Battery care
Stable CPU OC up to 2 x 1,3 GHz
Stable GPU OC up to 1 x 750 MHz
Adjustable Battery Max Temp
CPU / GPU / RAM OC / UC / OV / UV
Audio Gain
Ability to set different CPU Freq while screen ON/OFF
Kernel modules for CIFS and NFS
Enabled zRam (RAM compression) - with fast LZ4 compressor
Flashlight tuning (torch)
A2N Kernel Control - App Features
Best way to tune this kernel to your needs
Note: 3-party kernel manager apps do not work with this kernel.
-- Charger control
-- Battery care
-- Battery thermal control
-- Audio Low-level gain control
-- Sweep2Wake
-- CPU/GPU OC control with voltage control
-- Limit CPU max_freq on suspend
-- CPU/GPU governor tuning incl. input-booster
-- Performance profiles
-- SWAP/zRam
-- Backend Network stuff like NFS, CIFS etc..
-- Torch brightness control
-- Notification LED through the soft-touch-keys - adjust blink_on, blink_off delay
-- Accelerometer calibration
-- Advanced Power Menu - ability to reboot to recovery / download-mode
-- And many more!
Installation
Step 0
This step is only needed if your Android version is lower than 4.
If you have already Android 4.1.2, then go to step 1.
Update to the latest Samsung stock ROM 4.1.2 with ODIN.
Make sure your battery level is at least 70 % before you proceed.
I'm a noob, please show me more details:
Download needed files for Windows (for other OS, please search the web):
Samsung USB Driver for Mobile Phones
odin3_v3.07.zip offline flasher
Stock ROM
For the GT-I8160 you need:
I8160XXMB4.zip (3-parted)
and
ONE-I8160XXNF2-20140930142454.zip (Latest stock ROM)
For the GT-I8160P you need:
CODE_GT-I8160P_I8160PXXLK2_CL1211774_REV00_user_SEC_KEY_XLK2_4G.zip ( first 3-parted)
and
CODE_GT-I8160P_I8160PXXME1_DBT_1106830_REV00_user_low_ship.zip (second 3-parted)
and
DBT-I8160PXXMG2-20130820164646.zip (Latest stock ROM)
For the GT-I8160L you need:
GT-I8160L-3parted.zip (3-parted)
and
PGU-I8160LUBMK2-20140603151522.zip (Latest stock ROM)
After you've downloaded the needed files and you've unpacked and installed the Samsung USB Driver, you can proceed wit the upgrade.
Note: All your data will be deleted, so it's recommended to backup some important files to your computer, including the content of your sdcard.
Format the sdcard as FAT32 if you can, if you don't know how to do that, it's also (for now) enough to simply delete all files and folders from the sdcard.
Unpack Odin3_v3.07.zip and open the program inside, it's: Odin3 v3.07.exe
Unpack the ROM, for example we unpack the ROM: I8160XXMB4.zip for the GT-I8160 which is a 3-parted stock ROM.
Well, now power off the phone and remove the sdcard.
Press and hold at the same time: volume down + home + power button.
The phone will boot directly to "Download Mode", now press "Volume +" to enter "Download Mode".
Connect the phone with your PC with the USB cable (important: during flashing don't turn off your pc or phone, also don't touch the phone or the USB cable)
Your phone should be recognized by ODIN .. you can see this in "ID:COM"
if not, then the USB drivers for Samsung mobiles are not properly installed !
Don't change the check boxes !!!
Now load the *.tar.md5 files as follows into ODIN:
PDA = HOME OR CODE (*.tar.md5)
Wait until the MD5 check is done and proceed by adding the next package in ODIN.
CSC = CSC (*.tar.md5)
PIT = *.pit File (the checkbox Re-Partition is now checked )
Before you press "Start", make sure everything looks like this:
For 3-parted stock ROM:
http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/odin_3parted.png
For latest Stock ROM:
http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/odin.png
Finally press "Start", be patient ... this takes around 7 minutes.
The phone will reboot several times. When you see the pad for entering the SIM PIN ... then the (3-parted) ROM was flashed successfully and you can now remove the USB cable and reset ODIN and you should flash the next ROM with ODIN which is:
ONE-I8160XXNF2-20140930142454.zip (Latest Stock ROM)
flash it exactly like the 3-parted one, with the difference that it's only one file to add in ODIN .... see the screenshot "For latest stock ROM" which is odin.png.
Step 1
Download required files and copy them to your micro sdcard without to unpack them:
Temp_CWM_6.0.2.8.zip to your sd-card, do not unpack it.
A2N Kernel (choose latest rooted)
Step 2
boot to stock recovery ...
Navigate with volume keys to "apply update from external storage" and confirm always with "Power-Key"
Choose "Temp_CWM_6.0.2.8.zip" and confirm.
"install zip from sdcard" and confirm.
"choose zip from sdcard" and confirm.
Choose "a2n_kernel_gt-i8160_4.1.2_rooted.zip" and confirm
Tap "back key" few times and select "reboot system now"
When the screen is black immediately boot directly to recovery again.
Now the cwm version should be 6.0.5.0.
Step 3
Flash (again) latest kernel:
a2n_kernel_gt-i8160_4.1.2_rooted.zip
Reboot system now
DONE !
Current Bugs and Changelog
Disclaimer
I am not responsible for anything that happens after flashing the work provided here.
Sharing is caring, so according to the (much unwelcomed) rule 12 you can use my open source on GitHub without my explicit consent or credits. But this is where the caring stops as I do not allow you to use any of my own provided files (except for unmodified stock files). Section 3 of this rule states that you can try to bypass my explicit consent by releasing it as your own when you succeed to make significant changes to the work, otherwise i'll report you and your thread will be removed.
Credits
@dh.harald and @hafidzduddin for contribution on codina sources
@ Team Canjica for a base for this perfect kernel
@ All users whose have tested this kernel and direct the development along the right path
CyanogenMod Team for CWM Recovery
SAMSUNG for opening kernel source
ST-Ericsson for codina patches
Google for android kernel patches
Linus Torvalds for Linux Kernel
@S.AMU for FTP-Server
Contributors
ace2nutzer, cocafe, zwliew, mkaluza, Rox, Meticulus, ChronoMonochrome, TeamCanjica
Source Code: Samsung_codina_Kernel/tree/4.1.2_stock
Buglist - R95
None
Changelog
A2N Kernel R95
GPU: removed buggy gaming-mode
CPU/GPU: updated ondemand gov
CPU: added input-booster
RAM: optimized memory management
A2N Kernel Control V95
GPU: replaced "Gaming Mode" with "Boost"
CPU: added input-booster into "Boost"
Older Changelogs
A2N Kernel R94
RAM: Fixed regression from R93 in memory management
RAM: improved multitasking
A2N Kernel Control V94
RAM: optimized zRam routine
Updated strings (help text)
A2N Kernel R93
LMK: updated driver for better memory management - by me
LMK: updated minfree values to work more efficient with updated LMK driver
Init: removed init.d.a2n - instead we use now default init.d folder
A2N Kernel Control V93
GPU: improved "Gaming Mode"
RAM: simplified swap control
Updated defaults & fixed bugs
A2N Kernel R91
Source update - Linux 3.0.31 -> 3.0.101
CPU/GPU: disabled boost by default
GPU: added gaming mode
PLLDRR: set Freq from 1,1 GHz @ 1,0 GHz (1,1 GHz was not stable)
A2N Kernel Control V92
Fixed bugs
A2N Kernel Control V91
GPU: added gaming mode
CPU/GPU: Boost disabled by default
Kernel R90
GPU: reverted block_size to 256KB (stock)
zRam: updated driver
PLLDDR_OC: improved stability
Reduced lags and crashes
Overall improvements (battery life, performance and memory management)
A2N Kernel Control V89
Fixed bugs
Improved app performance
A2N Kernel Control V88
Fixed "reboot to recovery" etc
Fixed bugs
Improved app performance
Kernel R89
Updated LCD driver
Defconfig: disabled PCRYPT
Kernel R88
Improved RAM OC
Kernel 2022.10.14
Updated kernel config
CPU/GPU: updated governor, removed useless freq steps
Improved OC stability
Updated LCD driver - stability fix
Recalibrated LCD driver to fix out-of-sync related lags
RAM OC by default 800 MHz @ 1100 MHz for better I/O throughput
A2N Kernel Control V8.7
Updated all performance profiles
Updated defaults
Fixed bugs
Improved app performance
Kernel 2022.05.13
Enabled CONFIG_NAMESPACES support
Disabled CONFIG_SYSVIPC - security fix
Improved stability
A2N Kernel Control V. 8.6
Debug: added "fix permissions" (useful if you use this app with other kernel manager apps)
Improved stability
Fixed bugs
A2N Kernel Control V. 8.5
Improved stability
Fixed bugs
Kernel 2022.04.20
Switched to HZ_500
Improved stability
Improved memory management
Improved multitasking
CPU/GPU: gov update
enabled namespaces
enable zRam 100 % by default
A2N Kernel Control V. 8.4
Source update
Reduced startup time
Improved stability
Fixed bugs
Note: latest A2N kernel version required.
Kernel 2022.04.06
Compiled with -O3 - for higher speed
Optimized memory management
Improved multitasking
Enabled CONFIG_SYSVIPC - required for some emulator apps
A2N Kernel Control V. 8.3
Stability fix
Improved startup time
Updated defaults
Kernel 2022.03.12
Fixed lags and freezes
CPU/GPU: updated ondemand gov
CPU/GPU: reduced Freq switching delay from 40 to 20 ms
RAM: optimzed memory management (multitasking)
LCD: updated Freq for S6D27A1 model
I/O: increased throughput - read_ahead_kb 32 @ 128 KB
zRam: updated script
A2N Kernel Control V. 8.2
RAM: added page-cluster tunable
RAM: I/O: added read_ahead_kb tunable
Updated defaults
Kernel 2022.03.05
Improved stability - needs some testing now
Fixed apps force close (at least on kernel side)
Improved memory management
Improved deep sleep
CPU/GPU: updated boost logic - uses now only min/max freq to reduce freq switching related lags ! (if enabled in the A2N app)
Charger control: update
LCD: updated driver
SWAP: zRam: sync with AK 3.10.106
Lib: sync LZ4, LZO & ZLIB with LK 5.16.2
Binder, lmk & ashmem: sync with AK 3.4
GPU: optimized memory allocation
A2N Kernel Control V. 8.1
Network: added L2TP support
Re-added autostart
Updated defaults
Bug fixes
Improved stability
Kernel 2021.10.29
Improved stability
Fixed apps force close (at least on kernel side)
Improved memory management - especially multitasking
CPU/GPU: optimized ondemand governors
Updated zRam driver
Disabled "CONFIG_RT_GROUP_SCHED" as suggested by Google AOSP upstream, for the proper handling of real-time tasks
Supports now NFS V.4.1
CIFS: updated driver
Updated kernel config
A2N Kernel Control V. 8.0
RAM: LMK: added 16 MB choice,
added "Swappiness" tunable
Theme: switched to Holo - Dark-Mode
Bug fixes
Improved stability
Reduced mobile data usage
Updated defaults
Kernel 2021.05.22
zRam: set to 50 % size by default
improved driver
Memory Management: optimized low-memory-killer to have min 48 MB free RAM
for quick response even if RAM is in high pressure state
CPU: updated ondemand gov for the better smoothness and battery life - up_threshold 95 by default
CPU: up_threshold=95 and disabled boost always fixed on suspend for more power saving
CPU: increased min_freq to 400 MHz, but on suspend it'll use 200 MHz for power saving
GPU: updated ondemand gov for more powersaving - up_threshold 95 - boost enabled
GPU: driver update for better memory allocations
A2N Kernel Control V. 7.9
New: check for new A2N Kernel release on app launch
Updated defaults
Bug fixes
Removed redundant buttons
Reduced network traffic and debugging
Kernel 2021.03.24:
CPU: use 200 MHz step only with screen OFF
Set swappiness to 150
Some souce code update to android kernel 3.0.72
zRam, zsmalloc and lz4: update from LK 3.10.103 to 3.18.140
RAM: removed KSM support
Added more TCP congestion algorithm
defconfig: allow CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS to be enabled
lib/lz4: update to LK 4.11.12 (for zRam)
zRam: decreased overhead and memory usage
Added support for kernel mode NEON
Added support for WQ_POWER_EFFICIENT
Added support for ARM/NEON optimizations for crypto in SHA/AES modes
A2N Kernel Control V. 7.8
Profiles: Performance Plus: allow custom Freqs
Network: added more TCP congestion algorithm
Advanced Power Menu: update
Updated defaults
Kernel 2021.02.06:
Swap: added more optimizations for zRam - easily 10x faster than before !
A2N Kernel Control V. 7.7
Power: added "Maximum Charging Temperature"
CPU: added "Suspend Max Freq"
CPU/GPU: added more governor tunables
RAM: added "Low Memory Killer" (for min free RAM) & "Drop Caches & Buffers"
Power: added "Battery Temperature / Voltage Check"
Added a quick 4-way reboot menu
Stability fix
Updated defaults
Fixed grammar
Cleanup
Kernel 2021.01.20:
GPU/GPU: updated ondemand governor
Source update
RAM: 631 MB @ 632 MB
CPU: switched to ondemand governor
Timer: HZ=300 @ HZ=250
Charger Control: added "Max Charging Temperature" default: 40 °C - range: 35 - 45 °C
and set ac_curr_max=800 @ 1000 mA - range: 100 - 1500 mA
also added better support for 3rd-party batteries with 3.7 V (auto detection)
LCD: driver update for stability and smoothness
Wi-Fi: added better support for 80211n
Full support for IPsec
A2N Kernel Control V. 7.6
Source update
Kernel 20200823:
RAM: optimized memory management
Extended Support for Mouse, Keyboard and Joysticks
A2N Kernel Control V7.5
Source update
Kernel 20200513:
RAM: optimized memory management
zRam: improved stability
init.d Fix
Updated Demo App installation
A2N Kernel Control V7.4
init.d Fix
Kernel 20200509:
RAM: optimzed memory management
Enabled CRYPTO_SHA256 && CRYPTO_SHA512
init.d Fix
Kernel 20200427:
RAM: optimzed memory management - especially multitasking
ABB-Charger: driver update
Binary Code Optimizations
A2N Kernel Control V7.3
CPU/GPU: increased max up_threshold 99 -> 100 %
Updated defaults
Bug Fix
A2N Kernel Control V7.2
Requests root permission on App startup
Kernel 20200403:
Updated Kernel Config
PLLDDR OC: driver update
LCD: driver update
NET: enabled congestion protocols: cubic, new reno, bic, westwood+
SWAP: optimized zRam
BOOT: improved boottime - boots with 1 GHz
GPU: added a real dynamic governor for more powersavings
CPU: conservative gov update
CPU/GPU: added a "boost" tunable in order to switch from min to max freq immediately
RAM: optimzed memory management - especially multitasking
ABB-Charger: driver update
A2N Kernel Control V7.1
GPU: allows to UV all steps
Profiles: added Performance Plus Profile
Network: added TCP Congestion Control
CPU/GPU: added Boost Control - in order to switch from min to max freq immediately
Updated defaults
Fixed back-arrow
Bug fixes
License Check: added Retry Button
Kernel 20191114:
Optimized memory management
CPU/GPU/SXA: optimized Governors
Set vm_swappiness to 200 (patched)
Updated kernel config
FSB/DDR_OC: updated for lower power consumption and stability
Charger: Set AC Current to 800 mA by default
MCDE: LCDs: updated for quick wakeup + stability
Improved performance, responsiveness, and battery life
More smoothly
A2N Kernel Control V7.0
Updated defaults and strings
Minor Fixes
Kernel 20191017:
VM: patched swappiness to be tuned up to 200 - (kernel default)
USB OTG Power: allowed output power 300 @ 500 mA
LCD's: increased stability against potential black-screen issues
LCD's: decreased wakeup latency from suspend
CPUFREQ: updated logic - auto set lower cpu_min_freq for suspend
updated ramdisk
A2N Kernel Control V6.9
Misc: removed swappiness control (it's set @ 200 by default)
USB OTG Power: allowed output power 300 @ 500 mA
Minor Fixes
Kernel 20190918:
CPU/GPU: updated governors
Charger: tiny update
Sweep2Wake: Fixed Touchscreen not waking up on incoming notification or call (if Sweep2Wake was enabled)
Mali-GPU-400: Fixed memory allocation failures - alloc_order 6 --> 0 / block_size 256 KB --> 4 KB
Re-added zRam Support with fast LZ4 Compressor
Set GPU/SXA governor up_threshold to 95 % for better powersavings
CPU: added a better control for managing CPU suspend_freqs - (for more info check the kernel release notes in the thread)
Bug Fixes
Source cleanup
A2N Kernel Control V6.8
Misc: added zRam switch and
swappiness control
Full overhaul and
Bug Fixes
Kernel 20190817:
Reverted back overclocked wifi module from 100 to 50 MHz - Caused system to freeze
CPU/GPU/SXA: updated governors to be more clean and smooth
Sweep2Wake: updated driver, added the ability to use it now even without extra wakelock
CPU: re-added the ability to set min_freq for screen ON regardless the used min_freq for Suspend (which is by default 200 MHz)
MCDE: added LCD workaround tunable to workaround wakeup issue on some broken LCD's. (it's useful if u've to press power button 3 times to wakeup the phone from suspend or deep sleep)
Source code cleanup - Fixed all leftover compiler warnings
A2N Kernel Control V6.7
Power --> Charger Control AC/USB: allowed up to 1500 mA input Current
Screen --> Added ability to use Sweep2Wake even without extra wakelock
CPU: added ability to set min_freq up to 200 MHz for Screen ON
CPU/GPU: added ability to tune the governor for more performance or more powersaving (very easy to use)
Kernel 20190718:
CPU/GPU/SXA: updated all 3 Governors - should improve performance and smooth scrolling
KSM: reduced pages_to_scan for the first 2 scans - reduces some overhead on boot
A2N Kernel Control V6.6
Power: fixed restoring of charging current on boot
Kernel 20190619:
GPU: fixed a bug in dynamic_down_threshold logic
MCDE --> LCD's: updated drivers, improved stability especially for S6D Model (should fix the blurred screen issue)
fixed lags caused by MCDE/LCD
CPU --> conservative_gov: updated up and down thresholds to reduce lags caused by the governor itself
Installer: fixed issues with /ramdisk partition that caused Offline-charging (LPM) and FSB/DDR (PLLDDR) OC not to work properly
Reduced feedback latency
More smooth
A2N Kernel Control V6.5
Audio --> Headphones: added digital gain control
Screen: removed LCD Freq Control (redundant)
CPU: removed suspend_max_freq limit (redundant)
Kernel 20190521:
I/O: switched to CFQ Scheduler
cpufreq_conservative: updated to fix some micro laggs
PLLDDR_OC: fixed audio issues - re-added recal. of SXA Clocks
PLLDDR_OC: fixed permission for A2N Kernel Control
Kernel 20190503:
MCDE: LCD's: improved stability
LCD S6D27A1: fixed Offline-charging Battery animation
Kernel 20190427:
LCD WS2401: fixed wakeup issue when using PLLDDR OC
PLLDDR OC Module: update
CPU: conservative gov - update
A2N Kernel Control V6.4
Screen: fixed restoring of ape opp 100 on boot
Screen: LCD WS2401: use 50 MHz by default
Kernel 20190418:
GPU: Driver update - added dynamic_down_threshold for better power efficiency
CPU: gov conservative: added dynamic_down_threshold for better power efficiency
LCD WS2401: updated screen on/off delays - fix for LPM
LCD: fix user LCD Freq on late_resume
LCD: Driver update - improved stability, more smooth
LCD: added flicker-free support - by using highest LCD Freq + APE 100 requirement (to work stable)
FSB/DDR: updated Driver to work fine with 250/1000 MHz
I/O: Removed swap && zRam support - now we use KSM instead
BLN: Bug fix
Charger: changing charger current is now (again) possible "on-the-fly" (without to unplug the cable)
Rear Flash LED: updated Torch Brightness Control
A2N Kernel Control V6.3
Power: updated Charger Control
Screen: updated LCD Freq Control
Misc: removed zRam (now we use KSM instead)
Misc: KSM: added "pages to scan" choice
Msc: updated FSB/DDR OC Control
Misc: updated Torch Brightness Control
Minor bug fixes and improvements
Kernel 20190324:
Replaced Stock LPM with CM LPM - shows Battery Level in %
Kernel Config: tiny update
Updated Ramdisk and user Ramdisk
Moved LPM charger binary & /res/images/charger to user /ramdisk - allows to use custom charger binary and/or custom /res/images/charger
Kernel 20190319:
Fixed "move apps to sdcard"
Enabled KSM Support - optimized for Android
Enabled UHID Support
Switched to Conservative cpu governor - higher powersaving
Updated Mali GPU Driver
Mali: updated gpu freq table for higher efficiency - removed too low steps
CPU: use 200 MHz Step only on Suspend
LCD: Reworked lcd type detection and split interface for each of lcd type
LCD: Recalibrated video.modes and LCD Freq - more smooth
LCD: fixed custom_lcdclk interface
Use: OPP 25% only on suspend
CPU: Conservative gov fine tuning
Optimized binary code optimizations - -O2 globally
Updated PLLDDR OC Module - improved stability
Reworked the whole VAPESEL2 & LPA(low-power-audio) Voltage Logic
Updated suspend_max_freq interface
Use the full Freq of 100 MHz instead the Half of 50 MHz for sdi1 as well - WLAN
BT: fixed file transfer issue
Disabled CRYP Engine - caused shutdown issue
Fixed Virtual memory layout
Disabled APEAT & APETRACE Clocks for Lauterbach Debugging - For powersaving
MCDE: re-enabled MCDE_DPI_UDERFLOW Patch
Updated Ramdisk and scripts
A2N Kernel Control V6.1
Screen: Fixed LCD detection
A2N Kernel Control V6.0
Misc: added KSM Control
CPU/GPU: updated Freq's according to the latest A2N Kernel
Audio: added LPA Undervolting - Low-Power-Audio on Suspend
Debug: removed LCD Type Detection - moved to "Screen"
Screen: added LCD Freq Control
Misc: removed BLN - not supported on Stock 4.1.2
Power: added 90% Charge - stop and hold charging at 90%
CPU: Suspend_max_freq: removed 200 MHz Choice - 200 MHz is the default min_freq on suspend
Kernel 20190206:
Reverted "MCDE: WS2401: stock delays" - caused LPM issue
Charger: reduced time for 99% -> 100%
Updated ramdisk - use kernel default min_free_kbytes
Kernel 20190202:
Reworked the whole kernel config
removed kmsg spam raw_soc from abb_fg
Android Kernel 3.0.31 -> 3.0.72
Improved Security
Minor bug fixes
Kernel Sched: enabled HRTICK
Mali 400 GPU: optimized driver
MCDE: WS2401: stock delays
Improved Memory management - Multitasking
Fixed memory allocation failures
Higher efficiency - Battery, Performance
Improved stability - No FC, no reboots
and some more tiny kernel optimizations
A2N Kernel Control [GT-I8160] V5.9
Moved "storage" and "debugging" to the demo version
Kernel 20181218:
FS: Revert to stock iocharset
Disabled Memory Resource Controller
Multitasking is now much better
Added Assistive Light Control for the LED Torch - Full Range from 1 - 16 !
A2N Kernel Control [GT-I8160] V5.7
Misc: moved "advanced root" to the demo version
Updated App permissions
Misc: Added Assistive Light Control - Torch LED power Control
Kernel 20181202:
Charger: tiny fixes, reduced lowbat_wake_lock time
A2N Kernel Control [GT-I8160] V5.4
Power: updated Charger Control, reduced max charge Current to 1 A.
Kernel 20181117:
Charger: updated charger logic - set ac current max @ 700 mA by default,
- improved security aka SIOP, - driver cleanup
A2N Kernel Control [GT-I8160] V5.3
Power: updated Charger Control
Kernel 20181105:
Charger: updated the whole Driver. - Relaxed a lot of limits to be able to charge up to 1500 mA Current for any Chargers AC/USB. - Added better support for 3.7 V (optimized for 1700 mA) 3rd-party batteries. - Better Support for very old Batteries from 2012 - 2013. - Refresh and recover some lost Battery power and update the Battery Gauge to Stock. - Driver Clean up .. removed useless sysfs interfaces and added new interface for checking actual real current drawn from the power source.
- fixed also occasionally wakelock issues after unplugging charger cable (battery drain fix).
USB Gadgets power: set in kernel proper max drawn current to 300 mA
Charger: enable BLN on eoc_real instead of eoc_first if suspended (if enabled in the App or over init.d script)
MCDE / LCD: tiny stability fix for s6d27a1
A2N Kernel Control [GT-I8160] V5.2
Power: Added Check (real) input Current Button
Layout update
Kernel 20181023:
Charger: set ac_chg_current to stock
Optimized Dalvik heaps
A2N Kernel Control [GT-I8160] V5.1
Power: Adjusted AC Current to Stock
Layout update
Kernel 20181012:
LiveOPP: 400Mhz Step: ape/ddr 25% @ 50% - this is
useful for "Suspend Max Freq"
RAM: optimized memory management
Higher Performance, Better Battery lifetime and more smooth
A2N Kernel Control [GT-I8160] V5.0
Audio: added Volume Control
Screen: added go to suspend button
Layout update
Fixed some minor bugs
Kernel 20181006:
MCDE: both LCD Drivers set in fail-safe mode for now - chuck norris mode
NET: xt_qtaguid updated to 3.0.72
Updated kernel config to 3.4 (specific for Android 4.1.2)
defconfig: enabled memory resource controller - saves up to 30MB/app
MALI: updated memory management - use 4kb block size
LIB: updated LZ4 Compressor Module to 4.4
BOOT: switched from LZO to LZ4 for faster booting (re-implemented)
RAM: updated memory management
Overall improvements - performance, battery and stability!
A2N Kernel Control [GT-I8160] V4.9
misc: added swappiness control
misc/zram: removed reboot workaround for Android 4.1.2 - fixed in kernel
Kernel 20180922:
Updated the following kernel drivers to 3.0.72:
drivers/gpu/ion
mm (basic memory management)
arch/arm/vfp (vector floating point and processor instructions)
drivers/hid/uhid
fs/fat
fs/ext4
block
drivers/block
drivers/staging/android: lowmemorykiller & binder
-
Added the following new drivers as needed by Android:
SYNC (Hardware mode)
SW_SYNC (actually disabled, because we're testing hardware-sync instead software-sync)
DMA_SHARED_BUFFER
-
Optimized memory management
Updated adj & minfree values
Set Swappiness=0 by default
Mali: optimized memory management
Removed some obsoleted drivers
Source cleanup
Kernel 20180901:
Fixed Apps crash
MCDE: WS2401: improved stability
cpufreq: updated suspend_max_freq interface
Mali: driver update & fixed memory allocation failures
Tiny Kernel update & tweaks
Optimized Dalvik
Fast boot
Added cwm recovery
A2N Kernel Control [GT-I8160] V4.8
reduced overhead on boot
A2N Kernel Control [GT-I8160] V4.7
GPU: removed mali_pre_allocated_mem_size_max - it's now 32MB by default
Screen: removed "Tuned Freq" & "Chuck Norris mode" - rebasing driver ....
Misc: added "Advanced Root" for CM11
Tiny Bug fixes
Kernel 20180809:
Fixed SafetyNet - Passed
Safety will PASS even with root enabled like it's done on "Magisk"
Reworked the whole SuperUser implementation
Play Store: Phone is now "Certified"
block/deadline-iosched: reset to AK3.0.72 and patched
Reworked all APE/DDR OPP requirements
PLLDDR OC Module: tiny updates - should fix boot animation failures when using it
Mali 400 GPU: reduced Voltages
Reduced also Voltage for LowPowerAudio
Cleaned Source
Updated EOC BLN
Updated BLN
Removed "sva" kernel wakelock - battery drain fix on suspend!
cpufreq: added suspend_max_freq interface
Use APE/DDR 50% OPP for screen ON on idle instead previously APE 100% OPP
Reduced LCD Freq*
Fixed most of the compiler warnings for cleaner code
Updated Ramdisk in order to hide su binary - SafetyNet Fix
* = "Tuned Freq" disabled, means stock lcd freq and will work stable,
but with enabled "Tuned Freq" it can cause some screen glitches caused by APE 50% OPP,
on the other hand, lower lcd freq and lower OPP states will save a lot of battery power.
A2N Kernel Control [GT-I8160] V4.6
misc: fix zram on 4.1.2 stock
A2N Kernel Control [GT-I8160] V4.5
CPU: add suspend_max_freq control
A2N Kernel Control [GT-I8160] V4.4
Fixed Support for GT-I8160L
Storage: Fixed compatibility
Misc/PLLDDR OC: fix restore on boot
source update
A2N Kernel Control [GT-I8160] V4.3
Updated API to 28
(if u miss some changelogs here, then check the CM11 Thread, since it's the same kernel)
Kernel 20170819:
Compiled with latest GCC Linaro 7.1.1
Higher machine code optimizations
Fully reworked kernel config
Some Clean ups
Disabled some debugging
Reduced kernel size
Fixed a few kmsg errors
Optimized memory management
Reverted hwmem size to stock
630mb ram for user apps
Improved Security
Removed SELinux implementation
increased log buffer
Better I/O Speed
Updated Network Config
Updated Sound Config and many more
Fixed "data usage and limits"
Full Hardware Acceleration for Crypto
VPN: added L2TP Support
Fixed poor 2D/3D Performance
Optimized VFP
Removed old and buggy fsync control
BLN: Enabled wakelock & blink by default
Enabled Sim hot swap detection support
Updated cpu-idle driver
Fixed deep sleep issue - Better Battery LifeTime with Screen OFF
More responsive and overall higher performance
And many more optimizations
Inkl. latest A2N Kernel Control [GT-I8160] V2.6
A2N Kernel Control [GT-I8160] V2.6
Simplified BLN Config (removed wakelock & blink control)
A2N Kernel Control [GT-I8160] V2.5
Renamed back "free options" to "settings"
Removed SELinux Control
Fixed "Refresh Battery Stats" (Battery Level Calibration)
Fixed "Accelerometer Calibration"
Kernel 20170701:
Updated zRam script - multicore optimization
Better Memory Management - more smooth, responsive and faster
Fixed BLN Driver
Replaced sioplus scheduler with CFQ - for best multitasking performance
Updated kernel defconfig
Enabled support for XBox Gamepad
Optimized for Real-Time Workloads
Wifi: disabled pm_fast by default - saves battery
Reverted an very old commit that caused Apps to FC and maybe even File System errors
More efficient zRam Driver - Maximum power - Lowest power consumption
Removed obsolete CONFIG_ZRAM_FOR_ANDROID patch - Recent zRam Backport from Android Kernel 3.10 doesn't need it
Updated Binder and LMK Driver (and some other Source for memory management) - just a sync with original Google Source Code
Fixed occasionally Apps FC - I hope so - So far after 2 Days of testing = Zero App FC !
Better Performance and Battery Lifetime
Cleaned Source Code
Inkl. latest A2N Kernel Control [GT-I8160] V2.4
A2N Kernel Control [GT-I8160] V2.4
Renamed menu entry "Settings" to "Free Options"
Moved "LCD Type", "Logcat" and "SELinux" switches to "Free Options"
Added ability to export debugging Logs to sdcard0 with a single Tap - logcat, dmesg and last_kmsg - available in "Free Options"
Kernel 20170618:
Added more build.prop tweaks
Compiled bthid.ko & exfat.ko & lz4_(de)compressor built-in
Updated defconfig
Enabled all supported Cryptographic API's
Mali GPU Optimizations
OS RAM Optimization
Increased Torch Lux - max. fail-safe
Cleaned Source code a bit
Inkl. latest A2N Kernel Control [GT-I8160] V2.3
A2N Kernel Control [GT-I8160] V2.3
Advanced: added ability to enable/disable Androids logger (logcat)
Removed high performance profile and torch modes
20170606:
Updated updater-script for build.prop tweaks (dalvik config)
Reverted unstable zRam & zsmalloc backport from 3.5 Branch
zRam zsmalloc lz4 driver: backport from stable 3.10 Branch
Moved zRam script from init.d to the A2N App
zRam, zsmalloc, lz4_compress and lz4_decompress moved to modules
zRam: disabled by default
Compiled with latest GCC-Linaro-6.3.1
Inkl. latest A2N Kernel Control [GT-I8160] V2.2
A2N Kernel Control [GT-I8160] V2.2
Advanced: replaced "Swap aggressive" Switch with "Use zRam"
For properly enabling and disabling zRam
20170522:
Higher binary code optimization
Re-enabled zRam by default - but only low usage - swappiness=50
LCD: [WS2401] stock delays - should fix wakeup issues
Memory allocator: back to SLUB
Ramdisk: optimized scripts, ram management and clean up
Faster I/O Speed
Inkl. latest A2N Kernel Control [GT-I8160] V2.1
A2N Kernel Control [GT-I8160] V2.1
LCD: Chuck Norris mode: fixed description
A2N Kernel Control [GT-I8160] V2.0
Swappiness=50 by default
LCD: [WS2401] added Chuck Norris support - also for powersaving
A2N Kernel Control [GT-I8160] V1.9
Updated swap config
Fixed performance profile
Added "high performance" profile
20170426:
Set back swappiness to Zero for default (no zRam)
Fixed "sva" deep sleep issue
Set dalvik.vm.heapsize=512m
Better Battery Lifetime
Overall improvements
Inkl. latest A2N Kernel Control [GT-I8160] V1.8
A2N Kernel Control [GT-I8160] V1.8
Renamed to "A2N Kernel Control [GT-I8160]"
Updated all Dialog texts for the better understanding
Added Switch "Use zRam" (sets swappiness from 0 to 100)
20170415:
Memory Management: Fixed some left over issues
Minfree: use ROM defaults
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
A2N Kernel Control Ace 2 V1.6
Minor Bug Fixes
Renamed to "A2N Kernel Control Ace 2"
20170414:
More Memory Management improvements
SLAB allocator: switched from SLUB to SLAB
Some Kernel Tweaks
Updated the whole VM Setup
Optimized swap/zRam behavior - the system will swap only if there is no other way
Updated Minfree Values for maximum multitasking - uses the whole RAM except the last 1 MB, needed for a stable system
Re-enabled CONFIG_ANDROID_LOW_MEMORY_KILLER - Fixes bad performance from previous Version
Decreased zRam size to 1/4 of RAM - only used to avoid an OOM :good:
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
20170411:
Renamed to "A2N"
Updated Network config
Some Kernel Tweaks
Improved Binary Code Optimizations
Minor Kernel Config update
Big Memory Management improvements
Disabled CONFIG_ANDROID_LOW_MEMORY_KILLER
Increased zRam size to 1/2 of RAM - but only used to avoid an OOM
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
20170323:
Reduced zRam Size from 1/3 to 1/4 of Total RAM
Updated /ramdisk/perf.profiles.rc.(bak)
Better Stability - normalized CPU Voltages
Slightly Reduced Kernel Size
Small binary code optimization
Re-introduced page-cluster logic, but reduced for small RAM devices
Revert swappiness to the Linux default of "60"
Removed some useless ARM/APE/DDR requirements
Optimized Battery Charger
Updated Minfree Values
Better Performance & Battery Lifetime
Compiled with latest Linaro GCC 6.3.1
Inkl. latest A2N Kernel Control APK V1.5
Ace2Nutzer Kernel Control V1.5
Updated CPU Voltages accordingly to the Kernel
Better System Stability
20170207:
Changed SELinux checkreqprot default value to "0" - App to Kernel
Updated RAM Management (Minfree Values)
Updated Dalvik Config
Reduced RAM usage
Better Performance
Inkl. latest A2N Kernel Control APK V1.4
Ace2Nutzer Kernel Control V1.4
Updated App Icon
20170118:
LCD: S6D27A1: Fixed issues for Recovery + LPM and use stock LCD Freq.
Charger: stop charging @ 100% and recharge @ 95% - Better for the Battery Care
MCDE: don't use DDR_OPP 25% for Screen ON - Caused black screen when using WhatzApp Camera
Inkl. latest A2N Kernel Control APK V1.3
Ace2Nutzer Kernel Control V1.3
LCD: added "Chuck Norris mode" for S6D27A1 - For Fixing hard LCD issues
Bug Fixes
I have a question. After installing this kernel, is there an easy way to go back and reinstall the original samsung kernel, without reflashing the ROM or making a backup ?
galac44 said:
I have a question. After installing this kernel, is there an easy way to go back and reinstall the original samsung kernel, without reflashing the ROM or making a backup ?
Click to expand...
Click to collapse
Yes it's possible.
Have u any Problems with this custom Kernel ?
I have no specific problem with this kernel. I wanted to do some test and see about battery life. I installed it and it works fine. Responsiveness is better than original kernel.
But maybe I will switch to CM11.
Bug
It works very well:good::good:. I think this is the fastest-ROM. But there is a little problem when I use Facebook latest version. "system_server" is working and make phone restarts.
.
Sorry I'm not good at English.
Hmm strange .... it's not the fastest ROM ... but i think u mean it's the fastest kernel instead
As for the Bug: without any logs it's impossible to say what's the problem ....
LG L9 II with stock 4.1.2 runs quite good, but it happens the same many times (1 of 4 times) when using or just opening Facebook.
I tried lots of things to solve the problem, including reflashing stock JB, but nothing helped. So finally I upgraded to slow 4.4.4 LG stock and Facebook now runs properly.
Maybe it has somethig to do with Android 4.1.2 and latest updates of Facebook.
Yeah ... probably it's not compatible ... anyway the facebook app is really buggy ... many times the CPU Freq stuck at max. freq because of facebook update .. before and after the update process ... i just facing this over terminal emulator by typing "top" ... really annoying app!
New Version is Up !!
Changelog:
20170207:
Changed SELinux checkreqprot default value to "0" - App to Kernel
Updated RAM Management (Minfree Values)
Updated Dalvik Config
Reduced RAM usage
Better Performance
Inkl. latest A2N Kernel Control APK V1.4
Ace2Nutzer Kernel Control V1.4
Updated App Icon
Enjoy !
cm11 for ace 2 :good:
with kernel app
is this app work with other galaxy devices with cm roms
rony raj said:
cm11 for ace 2 :good:
with kernel app
is this app work with other galaxy devices with cm roms
Click to expand...
Click to collapse
Nope ... only for Ace 2 ... it's just very Kernel + Hardware specific
New Build is Up !!
Changelog:
20170323:
Reduced zRam Size from 1/3 to 1/4 of Total RAM
Updated /ramdisk/perf.profiles.rc.(bak)
Better Stability - normalized CPU Voltages
Slightly Reduced Kernel Size
Small binary code optimization
Re-introduced page-cluster logic, but reduced for small RAM devices
Revert swappiness to the Linux default of "60"
Removed some useless ARM/APE/DDR requirements
Optimized Battery Charger
Updated Minfree Values
Better Performance & Battery Lifetime
Compiled with latest Linaro GCC 6.3.1
Inkl. latest A2N Kernel Control APK V1.5
Ace2Nutzer Kernel Control V1.5
Updated CPU Voltages accordingly to the Kernel
Better System Stability
Enjoy !!
New Kernel is Up !!
20170411:
Renamed to "A2N"
Updated Network config
Some Kernel Tweaks
Improved Binary Code Optimizations
Minor Kernel Config update
Big Memory Management improvements
Disabled CONFIG_ANDROID_LOW_MEMORY_KILLER*
Increased zRam size to 1/2 of RAM - but only used to avoid an OOM
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
* Probably the first Android Kernel world-wide that is powered without the Android LMK Driver.
Works now with a typical very simple Linux Memory Management.
Benefits: No wasted RAM, more efficient, more responsive, more stable (reduced the impact of Kernel Oops and NULL Pointer Bugs.)
A2N Kernel Control Ace 2 V1.6
Minor Bug Fixes
Renamed to "A2N Kernel Control Ace 2"
Install and Enjoy !
A2N Kernel Control Ace 2 V1.6 - app freeze problem
Hi, i have GT-I8160 with stock android 4.1.2
What i did:
- downloaded and installed lastest firmware for my country from sammobile - 2014-04-03 Poland 4.1.2 I8160XXNB1 I8160OXXNB4
- cleared cashe and factory reset
- i made everything like in Your instructions "HOW TO INSTALL KERNEL ON STOCK ROM 4.1.2" - downloaded CWM_6.0.2.8.zip & a2n.kernel.4.1.2_20170411_codina_PRE_ROOTED and so on...
And i have problem with your aplication - A2N Kernel Control Ace 2 V1.6
When i click on scrout application is opening, i see menus like "Power", "Audio" etc... but when i click on any menu aplication freeze and i cant do anything, i need to remove battery and power phone again. Im also wondering why aplication dont ask about supersu privilages
When I set option in supersu - "trust system user" and again trying to click on sth in this application after few seconds im getting error - unfortunately A2N Kernel Control Ace 2 has stopped working
Will everything working well without that application ? Im only dont have access to advanced options right ?
Slawas87 said:
Hi, i have GT-I8160 with stock android 4.1.2
What i did:
- downloaded and installed lastest firmware for my country from sammobile - 2014-04-03 Poland 4.1.2 I8160XXNB1 I8160OXXNB4
- cleared cashe and factory reset
- i made everything like in Your instructions "HOW TO INSTALL KERNEL ON STOCK ROM 4.1.2" - downloaded CWM_6.0.2.8.zip & a2n.kernel.4.1.2_20170411_codina_PRE_ROOTED and so on...
And i have problem with your aplication - A2N Kernel Control Ace 2 V1.6
When i click on scrout application is opening, i see menus like "Power", "Audio" etc... but when i click on any menu aplication freeze and i cant do anything, i need to remove battery and power phone again.
Click to expand...
Click to collapse
Sorry for inconvenience ....
Fix: uninstall the A2N Kernel Control app and download it from Play Store.
Im also wondering why aplication dont ask about supersu privilages
Click to expand...
Click to collapse
This App don't need root access.
When I set option in supersu - "trust system user" and again trying to click on sth in this application after few seconds im getting error - unfortunately A2N Kernel Control Ace 2 has stopped working
Click to expand...
Click to collapse
This happens because of missing license, this App isn't for free.
Will everything working well without that application ?
Click to expand...
Click to collapse
Yes.
Im only dont have access to advanced options right ?
Click to expand...
Click to collapse
Yeah
Tip: revert to the previous Kernel for now, because the latest one has buggy memory management.
Actually i'm Fixing it.
New Kernel 20170414 is Up !!
Changelog:
20170414:
More Memory Management improvements
SLAB allocator: switched from SLUB to SLAB
Some Kernel Tweaks
Updated the whole VM Setup
Optimized swap/zRam behavior - the system will swap only if there is no other way
Updated Minfree Values for maximum multitasking - uses the whole RAM except the last 1 MB, needed for a stable system
Re-enabled CONFIG_ANDROID_LOW_MEMORY_KILLER - Fixes bad performance from previous Version
Decreased zRam size to 1/4 of RAM - only used to avoid an OOM :good:
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
Version information:
Please test this Build and report here how it goes compared to the Version of 23.03.2017.
New Kernel 20170415 is Up !!
Changelog:
20170415:
Memory Management: Fixed some left over issues
Minfree: use ROM defaults
Overall improvements
Inkl. latest A2N Kernel Control Ace 2 V1.6
Version Information:
Please Immediately update to this Version because previous Version is buggy and lead to Filesystem Errors !!
Sorry for the inconvenience Guys !!
Well, now it should work very well.
Pls test how it goes now.
New Build is Up !!
Changelog:
20170426:
Set back swappiness to Zero for default (no zRam)
Fixed "sva" deep sleep issue
Set dalvik.vm.heapsize=512m
Better Battery Lifetime
Overall improvements
Inkl. latest A2N Kernel Control [GT-I8160] V1.8
A2N Kernel Control [GT-I8160] V1.8
Renamed to "A2N Kernel Control [GT-I8160]"
Updated all Dialog texts for the better understanding
Added Switch "Use zRam" (sets swappiness from 0 to 100)
Hi,
to start wanted to thank you fo the nice rom. Works much better then the stock one.
I have only one concern - after the installation the GSM only network mode is missing. (had i t before)
There are only 2 now avalible:
* GSM/WCDMA (Auto mode)
* WCDMA only
To preserve battery life i've always switched to 2g only when i knew i won't be using.
Would you be so kind and perhaps reconsider adding it to the future releases ? or is is just missing in my phone?
or is there an relativly easy way to access it ? (tried *#*#4636#*#* - but ain't doing nothing)
thx