FORUMS

[Kernel][Jan 24]Experimental v12 [ICS 4.0]

381 posts
Thanks Meter: 1,445
 
By etch04, Senior Member on 11th September 2013, 12:25 AM
Post Reply Email Thread
This kernel is self-used.
So something has not been added.
If you want,just tell me and problem you encounter.

Kernel Features:

General:
- Kernel version 3.0.y
- 390MB RAM
- Useful optimization flags
- jRCU [Joe Korty]
- Dynamic dirty page writebacks
- Timer slack controller
- Dynamic management of the minimal timer slack value during suspend/resume
- LowMemoryKiller management of not killable processes
- Android Logger Disabled(++Performance) (Check HOW TO on how-to enable)
- Frandom Read Me!
- Entropy tweaks.
- Cleaned off Debug stuff, which slows down the Kernel (FRAME POINTER, Log Buffer Size is 64KB).
- CWM 5
- LZ4 for Zram swap.
- Elf.3 included for better battery.
- DVFS(Dynamic Voltage and Frequency Scaling).What is DVFS? [Cocafe]
- Disable sched debug stuff
- Optimized SLUB memory allocator
- Optimized ARM RWSEM
- Low memory killer updated to Android 3.10
- Do not kill process
- ARM ThumbEE
- Build with neon
- Remove old version sha1 implementation
- Optimized AES and SHA1 routines for ARM cpu architecture
- Optimized string and memcopy libs
- Ram Console support
- L2 cache max reads writable
- Disable mali state tracking

I/O and Filesystem
SIOplus
CFQ
Deadline
ROW
V(R)
Zen
Noop


CPU
Pegasusq
Conservative
Ondemand
Performance
Interactive
Lazy
Wheatley
Sakuractive
Hotplug
SmartAssV2
Lionheart
Lulzactiveq
Nightmare
Dyninteractive

Download:

STOCK:
Experimental-12

CM:
ExperimentalCM9-12

Module Content::
Logger(Read How-to enable it)
CIFS(Required for SAMBA server)
Frandom(Read How-to enable it)
TUN(Required by VPNs like OpenVPN or DroidVPN)
and other non essential module

Credits:
cocafe
Mujeni
alivanov79
stratosk
Christopher83

Source:
Github
The Following 38 Users Say Thank You to etch04 For This Useful Post: [ View ] Gift etch04 Ad-Free
11th September 2013, 12:26 AM |#2  
etch04's Avatar
OP Senior Member
Thanks Meter: 1,445
 
More
Changelog:
20/12/2013
-removed all experimental stuff
-removed DVFS
-updated source to 3.0.101
-changed default lmk values
-KSM
-fix and tweaks

04/09/2013
-Clean Source
-Kexec support
-Automatic zipalign and fstrim
-Not Killable Processes

08/08/2013
-DVFS
-zcache updated to 3.8
-ZRAM updated to 3.8
-replace xvmalloc with zsmalloc used by zcache and zram from 3.8 kernel
-tweak and fixes

31/07/2013
-added dyninteractive
-Tweak and fixed (rwsem,mutex,binder,etc)
-390MB RAM
-Removed DVFS
-XZ kernel compression

20/07/2013
-600mhz added back again
-added HotplugX and Lazy governor
-revert back to 385MB RAM(since lots of user are having random reboot problem)

18/07/2013
-fined tune DVFS...so no more lag with lower freq
-no more random reboot
-added Sakuractive governor
-added SIOplus IO
-increased RAM to 390MB

01/07/2013
-DVFS(Dynamic Voltage and Frequency Scaling)
-Fixes the freq bug(you can now set max and min.check out HOW-TO)
-Better Battery Life
-Hotplug governor cleanup
-388RAM(Much Stable)
-Tweaks
-Added reference 05exp init.d script

25/06/2013
Verison 7.0
-Updated kernel to 6.2.A.1.100
-Auto Hotplug
-CWM5
-Optimized crypto for ARM
-OOM Fixes
-Removed some governor
-Added some governor
-Bug and Fixes

12/06/2013
Version 6b
-390MB RAM
-added Lulzactivew,Lulzactiveq and Lazy Governor
-added zen and row IO
-minor fixes

Version 5
-Started from sratch
-Added 600Mhz
Experimental:
-ported and tweaked some Governor(Hyper,Dynainteractive,InteractiveX,Pegasu sq,Hotplug,Interactive) for sola from latest Nexus kernel.
-Tweaks and fixes

07/06/2013
Version 4
-Added some new governor
-Remove some mali tweak
-Removed some governor
-Fixes

05/06/2013
Version 3
-Compiled using latest Linaro 4.8 with optimisation
-Frandom as module
-Logger compiled as module(free up some memory)
-other fix and tweak

04/06/2013
Version 2
-Fix Mali Tweak

03/06/2013:
Version 1
-Initial Version
The Following 11 Users Say Thank You to etch04 For This Useful Post: [ View ] Gift etch04 Ad-Free
11th September 2013, 12:26 AM |#3  
etch04's Avatar
OP Senior Member
Thanks Meter: 1,445
 
More
HOW TO:
Here are some intructions/tips about how to play with the kernel.
Terminal is needed.
If you want to change the values,it needs su permission.
If you get 'Permisson denied',you need su permisson.
If the devices lost responses,hold power button 8s to reboot.
You can cd to the folder first,then do echos.

( CPU Freqs )

With DVFS,we cannot tweak min/max scale freqs via apps like SetCPU or nofrill.
Here is the method.
Quote:
Quote:

cd /sys/power

For example: set 800Mhz as max limited
Quote:
Quote:

echo 800000 > cpufreq_max_limit

* When you switch on/off,power saving mode,this tweak will be overrided.
* If you want it to be permanet edit 05exp file in init.d.

No-fills CPU shows a wrong freqs
Quote:

This is NOT issue. No-fills will show you Dynamic Min/Max scaling freqs,DVFS(dynamic voltage and frequency system) will adjust Min/Max freq according to system load.
Open SetCPU,it shows you real freqs.Or check sysfs directly.



Not Killable Processes

Logcat

I have made android logger(logcat) as module to free more RAM.
Create a new init.d script:
Quote:
Quote:

#!/system/bin/sh
insmod /system/lib/modules/logger.ko

Then you can use logcat command.


EGL Driver

To use Mali hardware egl driver only:
Edit /system/lib/egl.cfg
Quote:
Quote:

0 0 android
0 1 mali

To
Quote:
Quote:

0 0 mali



Init.d script

Please install busybox in system first
I recommend you install busybox via apps
Create a new folder named 'init.d' in /system/etc
Set the permisson of init.d foler to 0777(rwxrwxrwx) (at least has read and exec permission)
Set the owner to 0.0 (root root)
Put some scripts (any name you like) in init.d folder with permisson 0777 (rwxrwxrwx) (at least has read and exec permission)
Scripts with right permisson will be runned when system boots.


zRAM SWAP

[zRAM]
zRAM is optimized for Android.
It is not lazy anymore.
Using zRAM will take a little CPU,because it needs to compress/decompress memory.

Setup disksize first: (example: 96mb= 96×1024×1024)
Quote:
Quote:

echo 100663296 > /sys/block/zram0/disksize

* Lager size more RAM will be compressed.

Enable:
Code:

Quote:

mkswap /dev/block/zram0
swapon /dev/block/zram0

To check how many does it use:
Quote:
Quote:

cat /sys/block/zram0/num_reads
cat /sys/block/zram0/num_writes

* You can get other info in its sysfs

[SWAP]
Format/resize your SdCard via computer first.
Enable:
Quote:
Quote:

mkswap /dev/block/mmcblk1p1
swapon /dev/block/mmcblk1p1



Last_dmesg
Some Help about posting kernel bugs -last_kmsg:
After you have a random reboot do this to get last_kmsg.txt file:
- via Terminal Emulator apk form play store : do
this:
Open the app, type:
Quote:

su

hit enter.
type(withoutall the spaces) :
Quote:

cat(space)/proc/last_kmsg(space)>(space)/sdcard/last_kmsg.txt

and hit enter.Then go to your internal memory with any
file explorer and you will finde the last_kmsg file
and please post it here.
The Following 8 Users Say Thank You to etch04 For This Useful Post: [ View ] Gift etch04 Ad-Free
11th September 2013, 12:44 AM |#4  
etch04's Avatar
OP Senior Member
Thanks Meter: 1,445
 
More
guys...initial version for ics is out.
it build from same source as jb.so all the features and patches are included in it.
for do not kill process features ,now you don,t need to mess around with terminal or init.d script.
Use this app to prevent app or process from being killed.
Performance Control [v2.1.1] - Open Source
The Following 4 Users Say Thank You to etch04 For This Useful Post: [ View ] Gift etch04 Ad-Free
11th September 2013, 06:01 AM |#5  
Senior Member
Thanks Meter: 51
 
More
hi good kernel but i cant tun on wifi what should i do?
11th September 2013, 06:54 AM |#6  
ShoaibAhmed's Avatar
Senior Member
Flag Ahmedabad
Thanks Meter: 763
 
Donate to Me
More
Downloading ..........

Why that app says [4.2.2.+] ?

EDIT:Status 7 abort in CWM ,please check update script

EDIT:WiFi isn't working ,I flashed kernel in fastboot and placed all modules in right place with right (644) PERMISSION but still it's not working.

Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-09-11-11-39-30.jpg
Views:	11225
Size:	24.1 KB
ID:	2249597  
The Following User Says Thank You to ShoaibAhmed For This Useful Post: [ View ] Gift ShoaibAhmed Ad-Free
11th September 2013, 08:00 AM |#7  
johnism89's Avatar
Member
Thanks Meter: 8
 
More
[CM9] Very smooth, everything working, thanks dev..

Sent from my Xperia Sola using xda app-developers app
11th September 2013, 09:40 AM |#8  
inunxelex's Avatar
Senior Member
Thanks Meter: 139
 
More
Quote:
Originally Posted by SuperX002

Downloading ..........

Why that app says [4.2.2.+] ?

EDIT:Status 7 abort in CWM ,please check update script

EDIT:WiFi isn't working ,I flashed kernel in fastboot and placed all modules in right place with right (644) PERMISSION but still it's not working.

remove these lines
assert(getprop("ro.product.device") == "MT27i" || getprop("ro.build.product") == "MT27i" ||
getprop("ro.product.device") == "MT27a" || getprop("ro.build.product") == "MT27a" ||
getprop("ro.product.device") == "pepper" || getprop("ro.build.product") == "pepper");
then try to flash via cmw again.

wifi worked on cm9 fxp216
11th September 2013, 09:52 AM |#9  
ShoaibAhmed's Avatar
Senior Member
Flag Ahmedabad
Thanks Meter: 763
 
Donate to Me
More
Quote:
Originally Posted by inunxelex

remove these lines
assert(getprop("ro.product.device") == "MT27i" || getprop("ro.build.product") == "MT27i" ||
getprop("ro.product.device") == "MT27a" || getprop("ro.build.product") == "MT27a" ||
getprop("ro.product.device") == "pepper" || getprop("ro.build.product") == "pepper");
then try to flash via cmw again.

wifi worked on cm9 fxp216

Wifi isn't working on Stock
11th September 2013, 09:52 AM |#10  
inunxelex's Avatar
Senior Member
Thanks Meter: 139
 
More
HW encoder problem CM9 + MX Player
now i can play 720p mkv videos using HW encoder using MX Player, but when play button disappear the video is gone, only substitle and sound, when i touch the screen the video is showing again
11th September 2013, 01:09 PM |#11  
Senior Member
Thanks Meter: 51
 
More
Quote:
Originally Posted by inunxelex

remove these lines
assert(getprop("ro.product.device") == "MT27i" || getprop("ro.build.product") == "MT27i" ||
getprop("ro.product.device") == "MT27a" || getprop("ro.build.product") == "MT27a" ||
getprop("ro.product.device") == "pepper" || getprop("ro.build.product") == "pepper");
then try to flash via cmw again.

wifi worked on cm9 fxp216

where to remove?
The Following User Says Thank You to chessmanyaki For This Useful Post: [ View ] Gift chessmanyaki Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes