[Q] How to increase swappiness of zram - Galaxy Ace S5830i Q&A, Help & Troubleshooting

Hii
First of all sorry if the thread already exist.
I am using stock xxkk5 rom and rafael.baugis kernel and i have 250 mb of zram in my galaxy ace (cooperve).
My question is how to increase swappiness of zram permanent as i have changed value with kernel adiutor and it works but after reboot swappiness automatically reverted to 40.
plzz help i want to change swappiness to 100
sorry for my bad eng....

Problem solved!

Related

Kernel][ICS] Devil3_1.1.0 [02/08/12] - Fascinate

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

[ROM/KERNEL][JB][14-09-12][0.6] AniDroid-JB-N7000 (CM10 | 3.0.15 | SLQB | OC/UC)

AniDroid-JB-N7000​
Short ROM/Kernel information:​
AniDroid-JB-N7000 is AOSP JellyBean ROM based on the latest CM10 source.
AniDroid-JB-N7000-Kernel is a kernel for AOSP JellyBean ROMs. It was built with the latest Linaro Toolchain (GCC 4.7.1)​
Provided Features:
Linux Kernel version 3.0.15 (safe to use, without MMC_CAP_ERASE-related BUG)
Kernel built with the latest Linaro Toolchain (GCC 4.7.1)
CWM Recovery v6.0.1.3
SLQB Memory Allocator instead of default SLUB
CPU Overclocking (OC) support up to 1600 MHz
CPU Overvolting (OV) and Undervolting (UV) support for every frequency
GPU MAX Frequency changed to 250 MHz to save more battery
GPU Voltages are decreased to save more battery
NEW CPU Frequence Scaling Governors: PegasusQ, Adaptive, MinMax, SmartAssV2, InteractiveX, ConservativeX, LagFree, LulzactiveV2, Intellidemand, Scary, LionHeart, Wheatley, SavagedZen, BrazilianWax
CPU Voltage Control - Undervolting/Overvolting (UV/OV, use with NSTools App)
Automatic Process Group Scheduling
USB OTG support (please use with special USB Host OTG Cable)
EXT4, CIFS filesystems support
init.d support
2048 Kb ReadAhead
CPU Frequence Scaling Governors:​
PegasusQ
Adaptive
Conservative
Userspace
Powersave
Ondemand
Performance
MinMax
SmartAssV2
InteractiveX
ConservativeX
LagFree
LulzactiveV2
Intellidemand
Scary
LionHeart
Wheatley
SavagedZen
BrazilianWax
IO Schedulers:​
SIO
CFQ
Noop(Default)
Deadline
Installation instructions:​
If you are coming from the previuos version of AniDroid-N7000:​
Download ZIP file with the version of AniDroid-JB-N7000 and put it on Internal/External SD-card
Download ZIP file with Google Apps and put it on Internal/External SD-card
Boot into ClockworkMod Recovery
Choose "Install ZIP from SD-card/External SD-card"
Choose ZIP file AniDroid-JB-N7000 ROM you've just put on SD-card
Choose "Yes" to flash the ZIP
Flash ZIP file with Google Apps in the same way (you must do it after flashing every new version of AniDroid-N7000!!!)
If you are coming from another ROM:​
Download ZIP file with the version of AniDroid-JB-N7000 and put it on Internal/External SD-card
Download ZIP file with Google Apps and put it on Internal/External SD-card
Boot into ClockworkMod Recovery
If you are on a leaked ICS kernel, please flash a known safe kernel from the sticky in the development section!!!
Do a Nandroid Backup to make full backup of your currently installed firmware
Choose "Wipe Data/Factory Reset" and choose "Yes" to do a full wipe
Choose "Install ZIP from SD-card/External SD-card"
Choose ZIP file with AniDroid-JB-N7000 ROM you've just put on SD-card
Choose "Yes" to flash the ZIP
Flash ZIP file with Google Apps in the same way (you must do it after flashing every new version of AniDroid-N7000!!!)
Changelog:​AniDroid-JB-N7000 v0.1 - v0.2:​
Initial version
AniDroid-JB-N7000 v0.2 - v0.3:​
Fixed BUG with CPU Frequency Scaling Governors availability
AniDroid-JB-N7000 Kernel v0.3 - v0.4:​
CPU Overclocking (OC) and Underclocling (UC) support from 100 MHz to 1600 MHz with 100 MHz step added
AniDroid-JB-N7000 Kernel v0.4 - v0.5:​
CPU Overvolting and Undervolting FIX
AniDroid-JB-N7000 Kernel v0.5 - v0.6:​
CPU UnderClock to 100 MHz temporarely removed
CPU voltage for 1600 MHz increased to improve stability
Support for Triangle Away enabled
KSM support enabled (Kernel Samepage Merging) to optimize memory usage
SIO I/O Scheduler support added
Download Links:​
ROM Binaries (v0.5):
AniDroid-JB-N7000-v0.5_10092012.zip
AniDroid-JB-N7000-v0.5_10092012.md5
Kernel Binaries (v0.6):
AniDroid-JB-N7000-Kernel_v0.6_14092012_CWM_Flashable.zip
AniDroid-JB-N7000-Kernel_v0.6_14092012_CWM_Flashable.md5
Previous versions:
Previous versions binaries
Kernel Source Code:
AniDroid-JB-N7000-Kernel on GitHub
Google Apps:
GApps
Donators: Petr Malek, Chasmodo, Lucian1, Dtswk, Mfractal, Jolillo, Antonius0809, Christian Murmann
​
Great Thanks to CyanogenMod for the ROM and kernel base!!!
Thanks to eugene373, koush, ezekeel, supercurio, morfic, franciscofranco, sztupy, reddv1, byeonggonlee!!!
​
First one...!!! Amazing...!!! Great to see more awesome roms on JB....
Yes!!!!
Sent from my GT-N7000 using xda premium
Ah, finally. Good to see AniDroid getting a JB upgrade, well done Novic.
Also, I get a new JB kernel to update in Kernel Repository.
Sorry, v02 kernel have a little BUG that prevents you from changing CPU Freq Governor...
Just fixed it and soon upload the new version of kernel..
Except for what you already stated, kernel works just fine on AOKP as well... I am on Half Illusion CP 3 currently.
Edit: Governor issue resolved with v.03 on HI AOKP, confirming.
Sent from my GT-N7000 using xda premium
Just uploaded the version of Kernel..
Please, install the latest one
Will you make O/C-ability kernel?
mbudh said:
Will you make O/C-ability kernel?
Click to expand...
Click to collapse
Yes, will include the OC functionality soon
was waiting for that
will report soon
thanks
Amazing, glad to see you back in action novic!
Just uploaded 0.4 version of kernel with OC and UC support (from 100 to 1600 MHz with 100 MHz step)
Thank you for OC and UV kernel.
I can change voltage from 1100 to 1600 MHz but for clock 1000 MHz and below I can not change the voltage lower. Whatever I press the slider down and save, it always comes back to default.
I use Voltage Control and System Tuner Pro.
Is that a bug or I made a mistake?
Btw, can you increase the thermal throttling clock higher than 800 MHz? 1200 MHz is still safe and we can get better performance. I used to have 1400 MHz with "Odin's son" kernel in CM9.
Thank you.
Thanks! Will fix it in the next versions!
PS: All voltages below 1000mhz are decreased to the most stable values to save battery
mbudh said:
Thank you for OC and UV kernel.
I can change voltage from 1100 to 1600 MHz but for clock 1000 MHz and below I can not change the voltage lower. Whatever I press the slider down and save, it always comes back to default.
I use Voltage Control and System Tuner Pro.
Is that a bug or I made a mistake?
Btw, can you increase the thermal throttling clock higher than 800 MHz? 1200 MHz is still safe and we can get better performance. I used to have 1400 MHz with "Odin's son" kernel in CM9.
Thank you.
Click to expand...
Click to collapse
Sent from my GT-N7000 using xda premium
Hi,
caming from anidroid ics, i flashed this JB anidroid yesterday but i got a bootloop... need to do a fullwipe, install anidroid v0.2, flash kernel 0.3, reboot in recovery, flash gapps and than everything was ok !!
I see new versions in 1st post, can i just flash the kernel v0.4 or do i need to flash the complete rom?
Atm, i had three issues:
- the clock was stucked, need to reboot the phone
- no deepsleep, changed governor to lulzactive then ok
- tried to change dpi to 280 with dpi changer but got a black screen (no bootanimation)
Other remark:
Contacts pictures during call still pixelized...
Anyway very good rom, thanks :victory:
++
You should flash 0.4 kernel over the ibstalled ROM, with no need to flash the complete ROM.
nogit said:
Hi,
caming from anidroid ics, i flashed this JB anidroid yesterday but i got a bootloop... need to do a fullwipe, install anidroid v0.2, flash kernel 0.3, reboot in recovery, flash gapps and than everything was ok !!
I see new versions in 1st post, can i just flash the kernel v0.4 or do i need to flash the complete rom?
Atm, i had three issues:
- the clock was stucked, need to reboot the phone
- no deepsleep, changed governor to lulzactive then ok
- tried to change dpi to 280 with dpi changer but got a black screen (no bootanimation)
Other remark:
Contacts pictures during call still pixelized...
Anyway very good rom, thanks :victory:
++
Click to expand...
Click to collapse
Sent from my GT-N7000 using xda premium
nogit said:
Hi,
...
Atm, i had three issues:
- the clock was stucked, need to reboot the phone
- no deepsleep, changed governor to lulzactive then ok
- tried to change dpi to 280 with dpi changer but got a black screen (no bootanimation)
...
Anyway very good rom, thanks :victory:
++
Click to expand...
Click to collapse
The only 2 ways for changing DPI without black screen
1) ROM Toolbox Lite/Pro
2) File Explorer with root access (e.g. Root Explorer) and manually edit build.prop in /system
ro.sf.lcd_density=XXX (<- your choice)
Paranoid on Belly Jean // HydraCore 4
Is there fast charge in this from? If not can we get a version with it implemented? It is highly essential at my workplace
novic_dev said:
You should flash 0.4 kernel over the ibstalled ROM, with no need to flash the complete ROM.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
ok done, any ideas about contact pictures bad aspect?? if i change the picture it looks good but after flashing rom the pictures are getting bad again...
AA1973 said:
The only 2 ways for changing DPI without black screen
1) ROM Toolbox Lite/Pro
2) File Explorer with root access (e.g. Root Explorer) and manually edit build.prop in /system
ro.sf.lcd_density=XXX (<- your choice)
Paranoid on Belly Jean // HydraCore 4
Click to expand...
Click to collapse
thanks dude, will give a try to rom toolbox
The good old lock screen delay we had in the early ics roms is back.If i remember it was a kernel issue.
Also the whole phone is somewhat slower in every aspect.I came directly from ics 1.0,no full wipe if that matters.
Will download 0.4 now.
Sent from my GT-N7000 using xda premium

[KERNEL][NEO/V] LuPuS GBv2 [STOCK GB][LINARO 4.7.3][20-06-13]

LuPuS GB Kernel - Stock
{
"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"
}
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]std.h[/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone*
* bootloops and alarm does not go off. Please do some research if you have any *
* concerns about features included in my kernel before using it! YOU and only*
* YOU are choosing to make these modifications.
*/
[COLOR="Magenta"]#ifdef[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience your [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]
Features
Added Io-schedulers --
- Noop
- Anticipatory
- Deadline
- CFQ
- BFQ
- SIO
- ROW
Added Governors -
- lagfree
- brazillianwax
- smoothass
- scary
- savagedzen
- smartass
- smartassv2
- smartassH3
- interactivex
- minmax
- powersave
- performance
- conservative
- ondemand
- interactive
- userspace
- lulzactive
- Virtuous
- Intellidemand
- Intellidemand2
- Lazy
- OndemandX
- Lionheart
- Badass
- Superbad
- Darkside
- SmartassH3
Other features
- SLQB
- UKSM
- Supports ext 2,3 & 4
- zRam
- Init.d support
- Tiny RCU
- Tweaked Governors
- Built with Linaro Toolchain
- Google Snappy Compression / Decompression
- Compaction
- Quick Key Reset
- Frandom
- CIFS
- USB-OTG
- NTFS
- TUN
- OC upto 1.6
- Under Volting
- Custom CWM
- TWRP
- LuPuS Menu
- USB Tether
LuPuS Menu --- Click to view info
To Run LuPuS Menu use either ScriptManager get it HERE on google playstore
Or
Use Terminal Emulator get it HERE on google playstore.
Code:
su
lupus
* information is in lupus menu
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ USB OTG *
Enable
Disable
5/ Clean and Remove tweaks
Remove init.d's
6/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
Clean all temp files
SQLITE optimizations
LMK Optimizations
Network optimizations
Defend against ARP spoofing
Remove android logger
SDcard speed tweak
Flag blocks as non-rotational
7/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
Set CPU frequencies
Set Governor
Set IO-Scheduler
Voltage Control
VM tweaks (explained below)
VM Tweaks
dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.
dirty_writeback_centisecs
This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.
min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.
0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.
Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
8/ Enable / Disable Quick Key Reset
- Reboot device quickly by Holding HOME and POWER Key (Disabled by default)
- Enable
- Disable
9/ Vendor Options
- Fix for Anzu and Hallon Vendor problem
- Mount
- Unmount
- Backup
- Restore
Show your support for the kernel and my work by putting this in your signature, its only a quick one I done up with my limited time
Code:
http://i.imgur.com/xtWNL.png
A big thanks to -
gu5t3r
DooMLoRD
Jimbo77
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
FXP Team
Jerpelea
[NUT]
Phil3759
CTCaer
Downloads
If you need root for STOCK ROM
Code:
[COLOR="Purple"]Root[/COLOR] : ( Flashable via recovery )
* SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
* Superuser : [URL="http://androidsu.com/superuser/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
LuPuS_haida_GingerBreadv2-full.img
md5 = 6e0511ef72d390a389225a29cef2b645
Wiif-Modules.zip
md5 = 31a235c767a73e34f23a85b873f06e01
Kernel source --- -branch master
https://github.com/garwedgess/LuPuS-GingerBread
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
Code:
[B]v2[/B]
- Added UKSM ( can enable it in LuPuS Menu)
- Set default swapiness to 20
- Removed fsync
- Removed Cleancache
- Removed zCache
- Removed ZEN IO-SCheduler
- Tweaked Entropy
- Stopped entropy from depleting
- Reduced lag in gaming
- Fix LEDs
- Updated CWM
* brought back reboot system and Power off options to main menu
* Fixed advanced restore menu
* updated to latest CWM source
- Fixed charging offline (on some devices)
- Fixed Google PLAY FC'ing (IYOKAN)
- Minor Clean-up of lupus menu
- Minor Ramdisk changes
Oc 1.6 ghz is slow please up to 1.8ghz like night-elf
---------- Post added at 09:54 PM ---------- Previous post was at 09:50 PM ----------
Omg so many Governors
Xperianeovuser said:
Oc 1.6 ghz is slow please up to 1.8ghz like night-elf
---------- Post added at 09:54 PM ---------- Previous post was at 09:50 PM ----------
Omg so many Governors
Click to expand...
Click to collapse
If you don't want some dead pixels, then I guess 1,6GHz are more than enough.
I am just wishing for a toggle in lupus menu for GPU overclock if possible, even though wedgess claims it that it'll cause lag.
Now I am thinking of creating LuPuS ROM optimized for this kernel based on GB...
I'll get my hands dirty after exams are over...
Sent from my Xperia Neo V using xda premium
Hi wedgess...thanks a lot for the kernel...but i have one request...can you build a lite version with more available ram? Like in nightelf 10.1lite kernel, available ram is 384mb...plz can you build a kernel with that much amount of free ram?
Sent from my MT11i
Very nice recovery All is good for now.
lupus kernel is good in gin2jellybean rom as always!
kagkouras said:
lupus kernel is good in gin2jellybean rom as always!
Click to expand...
Click to collapse
Isn't gin2jellybean rom based on CM7? I ask because it says it's based on 2.3.7 android and sony has given us only 2.3.4. If it is for CM7, I think that it is incompatible. How came that this rom is compatible and 2.3.7 as well?
Xperianeovuser said:
Oc 1.6 ghz is slow please up to 1.8ghz like night-elf
---------- Post added at 09:54 PM ---------- Previous post was at 09:50 PM ----------
Omg so many Governors
Click to expand...
Click to collapse
Not for the moment ill be keeping it at 1.6. You are ceazy if u keep your device running at 1.8ghz. And if its just to get higher benchmarks..... Its pointless.
unisol107 said:
Hi wedgess...thanks a lot for the kernel...but i have one request...can you build a lite version with more available ram? Like in nightelf 10.1lite kernel, available ram is 384mb...plz can you build a kernel with that much amount of free ram?
Sent from my MT11i
Click to expand...
Click to collapse
I need to free RAM so there will be more RAM in next version. I just want to fix any problems from first release first. As for a light version I will see. Is this with 720p recording disabled??
leajian said:
Isn't gin2jellybean rom based on CM7? I ask because it says it's based on 2.3.7 android and sony has given us only 2.3.4. If it is for CM7, I think that it is incompatible. How came that this rom is compatible and 2.3.7 as well?
Click to expand...
Click to collapse
Gin2JB is STOCK based. Not sure exactly of the changes between 2.3.4 and 2.3.7 but u could ask vokal my guess is its minimal. But ye g2jb is the ROM I use for testing GB kernels.
Don't disable 720p recording in ICS & GB kernels, we only use gb & ics ROMs for camera& HD recording only...
wedgess said:
Not for the moment ill be keeping it at 1.6. You are ceazy if u keep your device running at 1.8ghz. And if its just to get higher benchmarks..... Its pointless.
I need to free RAM so there will be more RAM in next version. I just want to fix any problems from first release first. As for a light version I will see. Is this with 720p recording disabled??
Gin2JB is STOCK based. Not sure exactly of the changes between 2.3.4 and 2.3.7 but u could ask vokal my guess is its minimal. But ye g2jb is the ROM I use for testing GB kernels.
Click to expand...
Click to collapse
no...NE10.1lite has 720p enabled...and HD recording works like charm...everything works great...you can check his thread to see differences b/w full and lite versions.
384mb for GB is more than enough.
unisol107 said:
Hi wedgess...thanks a lot for the kernel...but i have one request...can you build a lite version with more available ram? Like in nightelf 10.1lite kernel, available ram is 384mb...plz can you build a kernel with that much amount of free ram?
Sent from my MT11i
Click to expand...
Click to collapse
Omg thats a lot of ram how do u get that?. I use gb roms for my daily driver and nightelf for kernel. But the max ram is 230+ only both on lite and full version. Am I missing something?
Sent from my MT11i using xda app-developers app
chacharizard said:
Omg thats a lot of ram how do u get that?. I use gb roms for my daily driver and nightelf for kernel. But the max ram is 230+ only both on lite and full version. Am I missing something?
Sent from my MT11i using xda app-developers app
Click to expand...
Click to collapse
In NE 10.1 lite you get 384mb...can't say about other versions...go to codenameX thread to get mirror links for it.
Edit- Hey, you took it wrong...384mb is total available ram out of 512mb.
Sent from my MT11i
wedgess said:
Not for the moment ill be keeping it at 1.6. You are ceazy if u keep your device running at 1.8ghz. And if its just to get higher benchmarks..... Its pointless.
Click to expand...
Click to collapse
No, Doomlord released a gb kernel for xperia arc & play running stable at 2ghz and on xperia neo night-elf released gb kernel running stable at 1.8ghz
why dont you guys understand the long term adverse effects of OC...take smoking as example...a chain smoker may look perfectly fit and healthy(stable)...but you all know the long term effects of smoking on a person's health. same is OC...killing your device slowly.
make an engine designed to run on 4500rpm run at 8000rpm...you will love the speed...but eventually...early breakdown.
i keep max OC at 1200mhz...that too on ICS. GB not at all requires OC.
TeamWin recovery sucks... Can't even mount my USB in it. Had to push the wifi modules thru adb.
Anyway. Great to see you work on a GB Kernel I was wondering, which min clock freq is best? On the other kernels ive used, it was usually 245 mhz, I think, and not the lowest one. But here there is like 134-184-249 Mhz
unisol107 said:
why dont you guys understand the long term adverse effects of OC...take smoking as example...a chain smoker may look perfectly fit and healthy(stable)...but you all know the long term effects of smoking on a person's health. same is OC...killing your device slowly.
make an engine designed to run on 4500rpm run at 8000rpm...you will love the speed...but eventually...early breakdown.
i keep max OC at 1200mhz...that too on ICS. GB not at all requires OC.
Click to expand...
Click to collapse
Kocayine said:
TeamWin recovery sucks... Can't even mount my USB in it. Had to push the wifi modules thru adb.
Anyway. Great to see you work on a GB Kernel I was wondering, which min clock freq is best? On the other kernels ive used, it was usually 245 mhz, I think, and not the lowest one. But here there is like 134-184-249 Mhz
Click to expand...
Click to collapse
min 249mHz
max 460mHz
governor conservative
I/O scheduler sio or deadline
Only on Gingerbread of course! You'll notice the performance of JellyBean ROMs, the same "lag", but less, that all JB ROMs have. Still the device runs smoothly. Keep those values and play with governors, the frequencies are ideal! Below 249mHz more battery is consumed, again, the that minimum value is ideal.
Sent from my MT11i using xda premium
Isn't max clock of 460 MHz way too little ? Or do you man that the max min clock I should set, should be 460?
Kocayine said:
Isn't max clock of 460 MHz way too little ? Or do you man that the max min clock I should set, should be 460?
Click to expand...
Click to collapse
No, 600+ mHz are useless for Gingerbread. Trust me, I had a X10 mini pro with nAa kernel and 600mHz was more than enough.
Give a try min 249, max 460, gov Lionheart. And tell me the performance impact you notice. I am on these settings now and phone is just great on Gin2Jellybean.
Sent from my MT11i using xda premium
leajian said:
No, 600+ mHz are useless for Gingerbread. Trust me, I had a X10 mini pro with nAa kernel and 600mHz was more than enough.
Give a try min 249, max 460, gov Lionheart. And tell me the performance impact you notice. I am on these settings now and phone is just great on Gin2Jellybean.
Click to expand...
Click to collapse
Oc option for what if you can get performance on 460hz... only thing you will get is better battery, you unable to do multi tasking & play games on such settings
Kocayine said:
TeamWin recovery sucks... Can't even mount my USB in it. Had to push the wifi modules thru adb.
Anyway. Great to see you work on a GB Kernel I was wondering, which min clock freq is best? On the other kernels ive used, it was usually 245 mhz, I think, and not the lowest one. But here there is like 134-184-249 Mhz
Click to expand...
Click to collapse
leajian said:
No, 600+ mHz are useless for Gingerbread. Trust me, I had a X10 mini pro with nAa kernel and 600mHz was more than enough.
Give a try min 249, max 460, gov Lionheart. And tell me the performance impact you notice. I am on these settings now and phone is just great on Gin2Jellybean.
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Well, I was triyng out Smoothass with max 460 and ingame didn't feel very different. But it still seems really weird to UNDERCLOCK the phone like this without any performance loss. It can't be...

[KERNEL][3.0.101+][for Android 4.4.4] & [ROM][4.4.4] A2N Kernel & CM11 for Galaxy Ace 2 [R95]

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.4.4
GT-I8160
GT-I8160P
GT-I8160L
This Kernel and ROM 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
SELinux in permissive mode
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 or even 4.4.x installed, 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.
First of all, export all your contacts to your ext-sdcard. Later you will need this file in order to import your contacts into the new ROM because the new ROM CM11 has a small issue that it can't read SIM contacts.
Now copy the exported contacts to your PC and then 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.
CM11
A2N Kernel (choose normal version, or if you want to increase the space for apps, then choose "sdcard_only", but you need micro-sd-card and you should perform re-partition - very easy - step-by-step)
Optional re-partition:
cwm_cm11_partitions_layout_sdcard_only.zip (for sdcard_only version) OR
cwm_cm11_partitions_layout.zip (for normal kernel version):
gapps (required for Google Play)
Choose ARM - 4.4 - pico
OR
if it's no longer available, then use this version from FTP-Server
Swype_fix.zip
Explicit for GT-I8160P, download GT-I8160P_Support_Vx.x.zip
Explicit for GT-I8160L, download GT-I8160L_Support.zip
Step 2 (only required if your device has no cwm recovery)
Flash a2n_kernel_gt-i8160_ODIN.tar with ODIN in order to have CWM recovery or boot to stock recovery in order to flash temp_cwm.
Step 3 (optional)
Increase the available space for apps from 1,2 GB, up to 3 GB !
More Informations about the repartition: Post #3
This step is optional, so if you don't plan to install a lot of apps you can skip this and go to step 4.
flash cwm_cm11_partitions_layout.zip
OR
cwm_cm11_partitions_layout_sdcard_only.zip
press several times the soft back-key, then tap
"advanced"
"power off"
boot again to recovery
mounts and storage
format /system
format /storage/sdcard0 as "vfat" [it's like FAT 32]
Go back and "wipe data/factory reset"
"advanced"
"power off"
Boot to cwm
Go to step 5
Step 4
"mounts and storage"
"format /system"
format /storage/sdcard0 as "vfat" [it's like FAT 32]
Go back and "wipe data/factory reset"
"advanced"
"power off"
boot to recovery
Step 5
flash CM11 (GT-I8160_Support.zip already included)
in addition for GT-I8160P (for the NFC model):
flash GT-I8160P_Support_Vx.x.zip
in addition for GT-I8160L (for the latin version):
flash GT-I8160L_Support.zip
Flash latest kernel:
a2n_kernel_gt-i8160_4.4.4_sdcard_only.zip
OR
a2n_kernel_gt-i8160_4.4.4.zip
Flash open-gapps
Finally flash Swype_fix.zip
Reboot system now
Be patient, it takes around 5 minutes for the first boot.
DONE !
Current Bugs and Changelog
FAQ
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 CM11 & 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.4.4_cm11
Buglist - R95
None
Buglist - CM11 ROM 2022.03.05
Reading SIM contacts - but you can import contacts from sdcard
Stock browser is outdated - please use Chrome browser
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 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
Improved stability
A2N Kernel Control V8.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
SELinux: optimized "fake enforce" hack
Updated kernel config
A2N Kernel Control V. 8.0
RAM: LMK: added 16 MB choice,
added "Swappiness" tunable
Slightly theme changes
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
SELinux: added ability to fake enforce status (experimental - in demo app)
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
Fixed wrong displayed "Kernel Outdated" popup
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
CM11 ROM 2021.01.20:
Optimized build.prop
incl. A2N Kernel 2020.01.20 - normal version
CM11 ROM 20200823:
Updated build.prop - improved dalvik heap
incl. A2N Kernel 20200823 - normal version
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
CM11 ROM 20200328:
Updated build.prop - improved dalvik heap
incl. A2N Kernel 20200403 - normal version
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
CM11 ROM 20190918:
Updated build.prop - improved dalvik heap
incl. A2N Kernel 20190918 - normal version
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)
CM11 ROM 20190202 RELOADED:
Updated build.prop
incl. A2N Kernel 20190718 - normal version
AUTO wipe dalvik-cache
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
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:
MCDE: WS2401 Updated Delays - Fix for LPM
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
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
CM11 ROM 20181023:
Optimized Dalvik heaps
incl. A2N Kernel 20181023 - normal version
AUTO wipe cache and dalvik-cache
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
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
CM11 ROM 20180901:
Optimized Dalvik
build.prop tweaks
Fast boot
added ART Flags*
incl. A2N Kernel 20180901 - normal version
AUTO wipe cache and dalvik-cache
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.10 (specific for Android 4.4.4)
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
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
CM11 ROM 20180809:
Fixed SafetyNet - Passed
SafetyNet will PASS even with root enabled like it's done on "Magisk"
Reworked the whole SuperUser implementation
Play Store: Phone is now "Certified"
incl. A2N Kernel 20180809 - normal version
AUTO wipe cache and dalvik-cache
Kernel 20180809:
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 25% OPP even for screen ON on idle
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 25% 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
Kernel 20180711:
swap: improved zram
cpu: interactive governor sync to AK 3.4.67
i/o: deadline scheduler sync to AK 3.4.67
Fixed Kernel Headers
binder, lmk: sync to AK 3.4.67
mcde: updated lcd driver
disabled some tracing
updated ramdisk
A2N Kernel Control [GT-I8160] V4.2
Screen: updated lcd freq stuff
use it ONLY with latest A2N Kernel
A2N Kernel Control [GT-I8160] V4.1
Misc: added reboot dialog for pllddr oc
use it ONLY with latest A2N Kernel
CM11 ROM 20180601:
Updated Dalvik Heaps
disabled "persist.sys.dalvik.multithread" - due of some race condition
incl. A2N Kernel 20180601 - normal version
AUTO wipe cache and dalvik-cache
Kernel 20180615:
Updated "interactive" cpu governor
Mali-400 GPU: set down_threshold to 20%
CPU: set cpufreq_opp_delay to "0"
Higher efficiency
A2N Kernel Control [GT-I8160] V4.0
CPU: added 400Mhz Step
use it ONLY with latest A2N Kernel
Kernel 20180612:
Updated interactive gov
Higher efficiency
Real-Time Kernel
CPU: added 400Mhz step
updated /perf.profiles.rc
Updated ramdisk
Kernel 20180601:
updated CPU/GPU Driver
cpu: added 600Mhz step
removed old workaround for powersave profile with 500Mhz
gpu: removed 250Mhz Step
updated interactive gov
updated /perf.profiles.rc
less battery draining - because of decreased cpu voltages and 600Mhz step
higher efficiency
Updated ramdisk
A2N Kernel Control [GT-I8160] V3.8
Updated CPU/GPU/Profile stuff according to the latest A2N Kernel
Both CPU/GPU Undervolting control are allowed up to -200mV
swap/zram: use 1/2 of available RAM
use it ONLY with latest A2N Kernel
A2N Kernel Control [GT-I8160] V3.7
removed SELinux control - since google don't want this
Kernel 20180525:
updated android kernel config up to AK 3.10 - for the needed kitkat specific kernel options
full ipv4 / ipv6 support
enabled SELinux support in permissive mode
BLN: adjusted delays
switched to interactive gov
interactive gov: sync to Android kernel 3.0.72
interactive gov: disabled tracing
interactive gov: adjusted tunables for max performance and battery duty :good:
mali: pre_allocated_ram set by 16MB by default
RAM: re-added extra_free_kbytes tunable - improves real-time workloads
more smooth and responsive
Updated ramdisk
CM11 ROM 20180524:
Enabled SELinux
Updated Dalvik Config (heaps) - once again
Lesser ram usage, more smooth and more stable
Fixed ramdom Apps FC by 99.99%
Updated NovaLauncher and BetterBatteryStats to the latest Version
removed OG-YouTube App - R.I.P.
incl. A2N Kernel 20180525 - normal version
AUTO wipe cache and dalvik-cache
A2N Kernel Control [GT-I8160] V3.6
removed mobile data comp (enabled by default in kernel now)
re-added SELinux control
storage: add swap storages switch (available for normal kernel version)
adjusted some defaults
Kernel 20180511:
RAM Management: Reverted Minfree Values to CM11 default
Final #3
CM11 ROM 20180324 reloaded:
Updated Dalvik Config (heaps)
Lesser ram usage
incl. A2N Kernel 20180328 - normal version
Inkl. A2N Kernel Control [GT-I8160] Demo V3.5
AUTO wipes, except wipe data and format /system
A2N Kernel Control [GT-I8160] V3.5
CPU: increased UV from -100mV to -150mV
Bug Fix
Kernel 20180508:
Some Kernel tweaks - updated rcu config
RAM Management: Merged Minfree Values from S. G. S8 Oreo Kernel
Increased Stability
Higher Performance
Better Battery Lifetime
Final #2
Kernel 20180405:
Sweep2Wake: fixed on LPM
Updated /ramdisk
Some Kernel tweaks
Final build
Kernel 20180328:
Sweep2Wake: removed auto-enable if charger is present - was unstable
Fixed permissions on /ramdisk
A2N Kernel Control [GT-I8160] V3.4
Re-added USB Power - ability to connected some gadgets to your phone (no otg)
Kernel 20180324:
Fixed USB Driver
Updated kernel config
Kernel 20180307:
Wifi: [re-added] reduced wakelock time of RX packet by half - thanks @ zwliew
Revert: "disable sia & sva wakelock" - caused reboot
[re-added] Fix "Dirty Cow" vulnerability - thanks @ Linus
CM11 ROM 20180128:
Fixed PC USB Connection on a clean installation
Updated Dalvik Config (heaps)
Lesser ram usage
incl. A2N Kernel 20180128 - normal version
Inkl. A2N Kernel Control [GT-I8160] Demo V3.2
AUTO wipes, except wipe data and format /system
Kernel 20180303:
Re-added USB Power Interface (output voltage to the usb port)
Reduced kernel size a bit
Disabled all the usb host & otg stuff (lack of proper driver)
Disabled tv-out feature (not supported)
Changed and updated Native Language Support to European Languages inlc. € (it's for properly showing file names)
Increased/Updated lpa/vape2 voltage - should fix wake up issues and improve Sound Quality (louder + cleaner)
Removed tunable "extra_free_kbytes" once again - it doesn't make things better
Re-enabled compaction-retry - forced compaction on high memory pressure to avoid oom
Updated ramdisk
Kernel 20180222:
Abb-charger: tiny update
MCDE: Reverted previous update
Swap: re-added "backport zram code from LK 3.10.103" (zsmalloc - lz4)
Memory Management: re-added extra_free_kbytes tunable for more free RAM
HID: re-added UHID Support from LK 3.4.67
Disabled SIA & SVA Wakelock - Battery drain Fix!
Small Kernel updates and stability fixes
A2N Kernel Control [GT-I8160] V3.3
Updated zRam Info Text - LZO @ LZ4
A2N Kernel Control [GT-I8160] V3.2
Added new Button "Mobile Data Compression"
Adjusted CPU/GPU Voltages for higher Stability + better undervolting
Removed "usb-vbus power" Button
Bug Fixes
Stability Fix
Kernel 20180128:
Source Code clean up - some left overs
Adjusted CPU Voltage show
GPU OC Stability Fix
Removed USB-Vbus power - driver clean up for OTG Support
Updated Touch Driver - stability fix
Reworked the full kernel config from scratch
Reduced Code Size
Optimized zRam
Enabled missing VPN - "TUN" Module (built-in)
Cpuidle driver - reverted some changes
Updated Memory Management
Updated Charger and Battery Driver
MCDE: Updated Delays for S6D27A1 - faster
Reduced black screens for S6D... on cwm + LPM
Added ability to change the LPM Battery animation (/ramdisk/charger/*)
Enabled TV-OUT Support - untested!
Updated ramdisk and various scripts
And many more tweaks
Inkl. A2N Kernel Control [GT-I8160] Demo V3.2
Kernel 20171230:
Fixed Wifi Tether
Optimized Wifi Driver / disabled debugging
Compiled VPN L2TP Support Built-in
Reverted the high level memory management to stock CM11
Switched to deadline I/O Scheduler
Updated Kernel Config
Inkl. A2N Kernel Control [GT-I8160] Demo V3.1
A2N Kernel Control [GT-I8160] V3.1
GPU: added ability to adjust mali-pre-allocated-memory-size
CM11 ROM 20171230:
Removed "soft reboot" - (breaks wifi)
Removed some more debugging - (-DDEBUG)
Re-added OGYouTube6.apk
incl. A2N Kernel 20171230 - normal version
Inkl. A2N Kernel Control [GT-I8160] Demo V3.1
AUTO wipes, except factory reset
CM11 ROM 20171213:
Re-added "Soft Reboot"
Disabled SELinux
Re-compiled with higher optimizations level
Higher Performance
incl. A2N Kernel 20171216 - normal version
Inkl. A2N Kernel Control [GT-I8160] Demo V3.1
AUTO wipes, except factory reset
Cut ... It doesn't fit here ... too long ...
Useful Tips / FAQ
Activate Developer Options
Go to Settings ---> "about phone" and tap several times to "build number".
3-Way Reboot Menu
Go to settings ----> developer options and enable: "advanced reboot menu".
Faster Animations
in developer options set all 3 animator times from 1.0x to 0.5x.
How to Setup SpiritFMFree
Open SpiritFMFree app, go to setting ----> audio ----> method ----> "Galaxy S3/Note/S2_ICS"
Changes After the Repartition
cwm_cm11_partition_layout_sdcard_only.zip
The total space from sdcard0 will moved to /data - so that's why a real sdcard is mandatory here.
/data is 3 GB for apps - max. possible!
No problems with apps installations
No wasted space !
cwm_cm11_partition_layout.zip
sdcard0 will be added with 1 GB size... and you're able to use also micro-sdcard (sdcard1)
/data is 2 GB for apps.
No wasted space !
For reference purposes, the original partition layout has following setup:
sdcard0 is 1,1 GB
/data is 1,2 GB for apps
Some wasted space and too low free space for installing apps.
How to Disable EOC(end-of-charge) BLN(backlight notification) for LPM(offline-charging) + Recovery
Open "FileManager" ---> Settings ---> "General settings" ---> access mode --> "root access mode"
go back and navigate to the root "/" open the file "user_lpm.rc" and check the content.
The same procedure is for "user_recovery.rc" if want to disable it as well in recovery mode.
Also there you can do other things like enable/disable sweep2wake or change the lcd brightness for LPM or recovery.
FAQ
Q: Is this Kernel 100 % Safe ?
A: Yes.
Q: Will this Kernel Overheat the Phone if I use Highest Settings ?
A: No, you can't do anything wrong. Your phone has hard- and software overheat protection.
Q: How to Revert all Changes Made by this Kernel ?
A: Flash latest 3-parted stock ROM with ODIN.
Q: How i can Tune this Kernel ??
A: Everytime you install or update this kernel you will face an red (demo) app "A2N Kernel Control..." open this app, and it'll redirect you to Google Play to get the full version (blue app).
Q: Can i use and Tune your Kernel with other Kernel Manager Apps ?
A: Yes, but you need first to unlock kernel with the A2N app full version.
Q: I've Installed the Full Version of the App, Will it Change any Kernel Settings by Default if i do not Change them ?
A: No, default app settings = default kernel settings.
Q: I've the Full Version of the A2N Kernel Control App, Do i still need the Demo Version of the App ?
A: Yes, there are some special features in-app-menu like "Fake Enforce" and debugging features for easy bug reports.
Q: How to Charge from 10 % to 100 % In just 1 h ?
A: E.g. set "AC Current Max" and "Maximum Charging Temperature" to the Max.
Q: Can i use your Kernel Control App with other Custom Kernels ?
A: No, it's not universal kernel manager app.
Q: My A2N App shows: "Please check your internet connection" - But i've good internet connection. - How to fix it ?
A: Settings --> network settings --> use private DNS server like "dns.adguard.com" - confirmed to work by user @Arnz09 - see his post here.
Q: My A2N App is Crashing after an Update, how to fix it ?
A: Re-install it. If it doesn't help, wipe dalvik-cache in recovery.
Q: How to Report Bugs ?
- Please DO NOT report bugs if you are:
--- using "unsafe" Freqs
--- not using the latest release !
--- not using Samsung stock ROM (based stock ROMs are custom ROMs !)
A: Open the red A2N Kernel Control demo app and check in-app-menu (3 dots) then "Debug" and then on "logcat and dmesg" if you faced an app crash or if some features didn't work.
If the phone rebooted randomly, then tap on "last_kmsg". You will find the logs in your internal storage. After that you can attach them here in your bug report, by clicking "Attach files".
ROM:
Kernel version:
A2N app version:
BUG:
How to reproduce:
BUG REPORTS THAT DO NOT FOLLOW THESE RULES WILL BE IGNORED !!!
Any download links for kernel?
Nice to have another kernel. Is it really stable yet?
where is build 27.10? I cant find it, only build p1 for now.
I'm actually writing in the Thread.. sorry..... Downoad link added.
20141028 Version, shall be the first very stable Kernel Version.. because of CPU / GPU Stock Voltages and freq.
10/27 never exists.. and 10/28 I'll upload it in 1 Hour....
Please be patient.. let me finish writing the Changelog..
Hi @ace2nutzer!
First of all, thank you very much for your work!!
Can you explain how to install kernel and ROM?? (i've never flashed a kernel... i have no idea...)
The Procedure is the same like Rox's CM11 ... just download the right Kernel / Build / ROM.. and copy this in your sdcard1 ... do not unpack it.. as .zip is fine. Then turn your Phone Off... And press together till it will vibrate: Volume up + Home + Power.
Chose now:
Wipe Cache
Go advanced
wipe dalvik cache
go back
install zip from sdcard
install zip from sdcard1
choose the Kernel and flash it..
go back and reboot system..
That's it !
If u like clean install, then choose wipe data instead of wipe cache ! But all your apps and settings are gone.
If u are running CM 11 .. then wipe data is not needed... even if u like to flash my ROM Builds... wipe cache and wipe dalvik is enough... but if u have 10.1 or 10.2 .. u need to wipe data first !
PS: Kernel for codina and codinap 20141028 online !!!!!!!!!!!
Another Great Kernel for Ace 2. NUFF SAID!
Keep it up ace2nutzer. Good job.
@ace2nutzer I cant falsh new build, because I cant go to cwm, I use p1 kernel from you and cant go to cwm, always blackscreen.
did u stuck at samsung boot logo ??
ace2nutzer said:
did u stuck at samsung boot logo ??
Click to expand...
Click to collapse
No, just cant go to cwm, I get blackscreen. My device boot normally.
diference ?
what is the main diference between 3.2 and 3.0 that you make ?
how distinguish these two kernels ?
BTW we evolve so no need to make kernel for 4.3.x because all apps are optimizing for 4.4.x OS slowly so more need is to work on kernels I appreciate that ...
Will there be ART support in kernel ? so we can later adapt L 5.0 ?
Could you also include OndemandPlus governor? Its best on Galaxy Nexus devices. May be here as well.
Github link
exodius48 said:
No, just cant go to cwm, I get blackscreen. My device boot normally.
Click to expand...
Click to collapse
Ok.. I' don't have this Problem... perhaps it is related to the famous s6d Driver
I've builded a odin Version for u.. it is the same kernel ----> 10/28 .. flash this with odin.. and tell me if u can enter in CWM...
I've uploaded it for u.. : codina_kernel_ODIN_cm11_20141028_ace2nutzer.tar - 10.99 MB
If not, i can do nothing.. but don't worry.. i can always do separate Odin Kernels.. then u can flash at this way my kernel updates.
An another way is over ADB... just check also if u have access with ADB.... just boot into CWM.. and even with black screen.. connect the Phone and start ADB.. try if u have access... u can do all the things with ADB.. that's all the same.. and u can even wipe cache and dalvik cache with FileManager.. all no problem
Good job @ace2nutzer
Gonna try it as soon as the f2fs support is ready
Is your ROM compatible with f2fs???
Sent from my GT-I8160 using XDA Free mobile app
ace2nutzer said:
Ok.. I' don't have this Problem... perhaps it is related to the famous s6d Driver
I've builded a odin Version for u.. it is the same kernel ----> 10/28 .. flash this with odin.. and tell me if u can enter in CWM...
I've uploaded it for u.. : codina_kernel_ODIN_cm11_20141028_ace2nutzer.tar - 10.99 MB
If not, i can do nothing.. but don't worry.. i can always do separate Odin Kernels.. then u can flash at this way my kernel updates.
An another way is over ADB... just check also if u have access with ADB.... just boot into CWM.. and even with black screen.. connect the Phone and start ADB.. try if u have access... u can do all the things with ADB.. that's all the same.. and u can even wipe cache and dalvik cache with FileManager.. all no problem
Click to expand...
Click to collapse
may be
btw, if i flash this codina_kernel_ODIN_cm11_20141028_ace2nutzer.tar via odin will this kernel increase counter bin?
I can't enter CWM too. I wrote lots of post about that and no one really care about it.
I'll tell you what happened:
I bought my Ace II, stock recovery works great. I've installed temporary CWM and everything was ok. I've installed old CM11 TC and Nova versions and everything was ok.
When Chrono made his first kernel version with a CWM built in, i had the first black screen issue. Since there, i cannot enter any recovery (CM11 cwm, chrono cwm, stock cwm). Only TWRP works good but it can't mount external SD and i don't feel comfortable with it. I never had screen issue, never had a problem since now.
Solution: it randomly let me enter on recovery, but it's a pain in the ***.
I've tried to format everything, i also installed GB stock with stock repartition, nothing to do.
With this version i've tried lots of time but still cannot enter. Can you try changing CWM version? Maybe a older one, or just a different one. I can test it if you need help.
Actual situation: i've installed this kernel with your CM11, i had some bugs that i can fix formatting some partition, nothing bad. But i can't enter on recovery, so i have to flash stock version with odin -.- I suggest to make a stable version and then focus on those issues, i bet other users have them.
I've tried to flash kernel via Odin... Failed, dunno why

[KERNEL][STOCK][CM11][CM12.1][CM13][SM-G313HZ][R8.5] OC Kernel for Samsung Galaxy V

As you could see in our CM11 thread, there's a custom kernel that we've integrated in latest CM11 builds
Now as CM11 was stable, I decided to cut the kernel to seperate system unit - The new custom kernel
Now let's make a start
Post 1: Introduction
Post 2: Features and Bugs
Post 3: How to post bugs
Post 4: Download links
Post 5: Changelog
[NOTE] This kernel is just for SM-G313HZ only. For G313H/ML users, since our CM11 works with those phone models, you can try this kernel. NOT COMPATIBLE with SM-G313HN or SM-G313HU
XDA:DevDB Information
OC Kernel for Galaxy V SM-G313HZ, Kernel for the Samsung Galaxy Ace 4
Contributors
doesntexits
Source Code: https://github.com/koquantam/android_kernel_oc_vivalto3gvn
Kernel Special Features: Described in post 2
Version Information
Status: Testing
Created 2016-03-09
Last Updated 2016-06-14
What's new in this kernel versus stock CM11 one?
Upgraded to latest Linux mainline version (not yet, but it will)
Overclock support, up to 1,3GHz (HOT)
Ultra Kernel Samepage Merging (saves RAM)
Logcat toggle (enable/disable) through sysfs interface
zRAM with LZ4/ZLIB compressor, multiple zRAMs
New IO schedulers: ROW, DEADLINE, FIOPS, BFQ, ZEN, SIOPLUS (will be added more on future builds)
Governor: interactive, ondemand, userspace, performance, powersave, smartassv2, lulzactive2, intelliactive
zswap support (swap compression)
LZ4 kernel compression (CRYPTO, COMPRESS/DECOMPRESS,...)
F2FS support
Dalvik-cache on system partition (save internal storage space)
Something more!... will be continued
BUG(S):
For some users, camera is dead (here means not working)
Change zRAM size directly from userspace causes hard reboot immediately sometimes
How to post bugs
As you know, this is a kernel, so logcat is useless. We use "dmesg" to track what the kernel do and how it's done, what it's fault...
If you post logcat to a kernel dev, no helps. So now, a single rule: No logcats
To post bugs, please do this:
1. Make sure you have a computer running any Linux distros (e.g Ubuntu) (ignore this if you already have)
2. Plug your phone with USB cable plugged to computer
3. Open Terminal, type these (DO NOT MISS ANYTHING)
Code:
adb shell dmesg | tee dmesg.txt
The "tee" command will export your "dmesg" (driver messages) to your /home/<USER> folder (e.g from mine: /home/a1/dmesg.txt)
4. Post the full dmesg text logs to this thread
Download link & F.A.Q
Download link: Google Drive folder
F.A.Q (to be continued)
1. Can I include your kernel to my ROM?
A: Sure, you can. Because the kernel is completely open-source (due to GPL License), so no credits is needed
2. What's included in this kernel vs stock?
A: Check above
CHANGELOG
Release 1
Initial release
Release 2
Re-enabled zCache
Added KSM (Kernel Samepage Merging)
Fixed lags, underclocked to 1,4GHz and GPU to 300MHz
Reserved zRAM size to 90MB (explain later)
Re-enabled memory cgroups (better memory allocation)
Release 3
zswap revert back to LZO compression (you can change this through sysfs)
zRAM moved to block driver, also reverted to LZO compression by default (thanks to @psych.half)
Disabled zCache (this does nothing but lags)
Added new governors: smartassv2, lulzactive
zRAM now compresses 18% of RAM (this is the main cause of lags, and our device only have 512MB RAM, not much so multitasking only possible if we use ordinary swap)
ZSMALLOC moved to kernel mainline (ported from Linux 3.18)
Random reboots disappeared (yay!)
Minimum clock speed now 500MHz
Snappy compression algorithm, will be implemented on zRAM
Release 4
Switched from KSM to UKSM (Ultra Kernel Samepage Merging)
zRAM increased to 35% of RAM (161MB)
Logcat now can be disabled through sysfs interface
ROW IO scheduler as default
Increased IO readahead to 1024KB
....
Release 5
Decreased IO readahead to 128KB by default (this fixes massive lag as our device can't handle too many IO operations)
Fixed giant hole memory. Now every task managers shows correct results
Release 6
Re-compiled with Linaro 5.2 toolchain
Allow setting zRAM disksize, compressor and swappiness through build.prop
New governor: intelliactive
Release 7.1
Upgraded to Linux 3.10.20
New TCP algorithms: westwood, reno, bic, htcp, veno
Dalvik-cache on /system partition (CM-11.0 only) (significantly save internal storage space) (NEW!) (thanks to @ngoquang2708 for this idea)
Release 7.2
Upgraded to Linux 3.10.22
Release 8
Upgraded to Linux 3.10.31
(NEW!) Stock support
Support LZ4HC (high compression) for zRAM
/tmp folder added, in case some root apps need that and mounted as tmpfs
Improved memory management
Release 8.1
Added 250MHz minimum clock speed
zswap disabled by default (enable through build.prop by adding "ro.config.zswap.enabled=true")
Disabled unaligned memory access for faster memory operations
Release 8.2
Fix bootloop on CM12.1
Release 8.3
Upgraded to Linux 3.10.34
[CM-11.0] Switched dalvik-cache location to /cache to prevent ROM reinstalling when you want to wipe dalvik-cache, also fix app installation issue
Release 8.4
Maximum OC clock decreased to 1.3GHz (as 1.4GHz causes random crashes/reboots)
Added zlib compressor for zRAM, switched back to default lzo compressor
(AGAIN) zswap enabled by default
Multiple zRAMs are back, now is 2 zRAMs for better performance
[CM-11.0] Permanently mounted /system partition RW, moved dalvik-cache to /system partition (this fixes apps instalation issue, and because /cache partition is too small)
Can use on SM-G313HU?
gsrq said:
Can use on SM-G313HU?
Click to expand...
Click to collapse
Nope. G313HZ and HU are different hardwares. Installing this kernel would soft brick your device
@hendrulll @JeffersonCaf
Weird. The kernel really works with build 20160213. Why the hell it doesn't work with you guys? Or... I've to give a simple boot.img which is be able to flash over TWRP only?
You should see in "Kernel version", it was being built yesterday LOL
doesntexits said:
@hendrulll @JeffersonCaf
Weird. The kernel really works with build 20160213. Why the hell it doesn't work with you guys? Or... I've to give a simple boot.img which is be able to flash over TWRP only?
You should see in "Kernel version", it was being built yesterday LOL
Click to expand...
Click to collapse
Yeah the boot.img it's better i think, and what recovery you use?
JeffersonCaf said:
Yeah the boot.img it's better i think, and what recovery you use?
Click to expand...
Click to collapse
I use TWRP 3.0 from @cleverior.ipul
doesntexits said:
I use TWRP 3.0 from @cleverior.ipul
Click to expand...
Click to collapse
Ok i will flash that too
Can you give the boot.img?
Hmm, I still got soft brick with my device after installing your kernel, even if I install from build 20160213 after wipe everything, but when I try to flash @cleverior.ipul kernel a.k.a getux kernel its worked like a charm. Any reason?
hendrulll said:
Hmm, I still got soft brick with my device after installing your kernel, even if I install from build 20160213 after wipe everything, but when I try to flash @cleverior.ipul kernel a.k.a getux kernel its worked like a charm. Any reason?
Click to expand...
Click to collapse
You know what, his kernel is completely based on stock CM11, just adds a lower CPU frequency (1100MHz)
And new kernel build will be released after some minutes, just waiting for it to compiling and I'll release it as a boot.img (flash through TWRP)
This time it's completely compatible with CM11 build 20160213
New kernel build! Changes:
Re-enabled zCache
Added KSM (Kernel Samepage Merging)
Fixed lags, underclocked to 1,4GHz and GPU to 300MHz
Reserved zRAM size to 90MB (explain later)
Re-enabled memory cgroups (better memory allocation)
Boot image added to downloads section. Please choose the latest boot image to make sure you're in latest kernel build. Flash through TWRP recovery
doesntexits said:
New kernel build! Changes:
Re-enabled zCache and disable zswap, since zswap only applies on swap file or ordinary swap partition (not RAM-based swap partition)
Added KSM (Kernel Samepage Merging)
Fixed lags, underclocked to 1,4GHz and GPU to 300MHz
Reserved zRAM size to 90MB (explain later)
Re-enabled memory cgroups (better memory allocation)
Boot image added to downloads section. Please choose the latest boot image to make sure you're in latest kernel build. Flash through TWRP recovery
Click to expand...
Click to collapse
Well it's working on SM-G313ML, but i noticed when the CPU frequency goes to 384 MHz the phone freezes
Edit: and some random reboots too.
JeffersonCaf said:
Well it's working on SM-G313ML, but i noticed when the CPU frequency goes to 384 MHz the phone freezes
Edit: and some random reboots too.
Click to expand...
Click to collapse
Well, switch the min CPU freq to 600MHz in Performance Settings section, and tick "Set on boot" too
Edit: Random reboots due to the old build with 1,5GHz, the CPU voltage is too high, leads to the phone randomly reboots
doesntexits said:
Well, switch the min CPU freq to 600MHz in Performance Settings section, and tick "Set on boot" too
Click to expand...
Click to collapse
I alderay made that XD
Yeah, now we have smartassv2 :good:
R3 has released! Changes:
zswap revert back to LZO compression (you can change this through sysfs)
zRAM moved to block driver, also reverted to LZO compression by default (thanks to @psych.half)
Disabled zCache (this does nothing but lags)
Added new governors: smartassv2, lulzactive
zRAM now compresses 18% of RAM (this is the main cause of lags, and our device only have 512MB RAM, not much so multitasking only possible if we use ordinary swap)
ZSMALLOC moved to kernel mainline (ported from Linux 3.18)
Random reboots disappeared (yay!)
Minimum clock speed now 500MHz
Snappy compression algorithm, will be implemented on zRAM
Boot image added to Downloads section. Please choose the latest boot image to make sure you're in latest kernel build. Flash through TWRP recovery
doesntexits said:
R3 has released! Changes:
zswap revert back to LZO compression (you can change this through sysfs)
zRAM moved to block driver, also reverted to LZO compression by default (thanks to @psych.half)
Disabled zCache (this does nothing but lags)
Added new governors: smartassv2, lulzactive
zRAM now compresses 18% of RAM (this is the main cause of lags, and our device only have 512MB RAM, not much so multitasking only possible if we use ordinary swap)
ZSMALLOC moved to kernel mainline (ported from Linux 3.18)
Random reboots disappeared (yay!)
Minimum clock speed now 500MHz
Snappy compression algorithm, will be implemented on zRAM
Boot image added to Downloads section. Please choose the latest boot image to make sure you're in latest kernel build. Flash through TWRP recovery
Click to expand...
Click to collapse
Yeah it's working (SM-G313ML) but i noticed when the CPU frequency go to 500MHz the phone freezes (i've changed the min to 1GHz, but shows 768MHz on SetCPU ) and freezes too when change the governor to interactive, well the random reboots has dessapeared (yay!²) thx for all that work bro

Categories

Resources