5,596,568 Members 41,876 Now Online
XDA Developers Android and Mobile Development Forum

[Kernel][ION+PMEM][CM10.1] HurtSky's Kernel REV2 27/12/2013

Tip us?
 
hurtsky
Old
#1  
Senior Member - OP
Thanks Meter 2510
Posts: 1,139
Join Date: Jul 2012

 
DONATE TO ME
Default [Kernel][ION+PMEM][CM10.1] HurtSky's Kernel REV2 27/12/2013

CM10.1 Section

ONLY USE THIS KERNEL WITH ROM BASED ON [ROM][JB][4.2.2][JDQ39E] CyanogenMod 10.1 BETA (Build 2)

I'm not a developer, im taking effort to put more choices of kernel for our community


Disclaimer

Code:
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
Features

List of Governors Available :-
- Lulzactive
- Powersave
- SmartAssV2
- interactive
- interactiveX
- conservative
- ondemand
- performance

IO Scheduler
- noop
- deadline
- row
- cfq
- bfq
- sio
- vr

Additional Features
- Compiled with Linaro GCC 4.7.3-2013.11 toolchain optimized for Cortex-A8 cpu with Neon technology support
- CPU voltage control VDD sys interface (voltage adjustable)
- Overclock support
- Added NEON compilation flag to VFP module
- SnapDragon Optimization
- dynamic read-ahead
- frandom
- Lowered display panel voltage
- Lowered wifi voltage
- Increase audio loudness
- Dynamic management of dirty page writebacks credit to Christopher83
- Dynamic Fsync
- Fixed 100% battery notification after charger unplug credits to Christopher83
- LowMemoryKiller management of not killable processes - credits to christopher
- Asynchronous I/O latency to a solid-state disk greatly increased
- CK3 tweaks (Credits to Con Kolivas) - adapted by Christopher
- Snappy Google Zram
- Added 518Mhz
- Random Tweaks
- Reduce WIFI wakelocks - credits to DerTeufel
- Implement Suspend Freeze (more battery friendly)
- Allowed IPv6 over WIFI in general, we control it in ROM, + no wakelock! (reduce battery consumption)
- exfat support




Explanation of Android Governors



Installation Guide:
1. Reboot To Recovery Mode
2. Wipe Cache & Dalvik Cache
3. Flash the kernel
4. Fix Permissions
5. Reboot (normal boot)
6. Reboot to recovery again
7. Fix permissions again
8. Reboot (normal boot)


Code:
Credit to :-

- Our Master Arco for his kernel source ( go press thanks for any posted by arco :D without he, this kernel wont existed )
- AriesVE-DevCon-TEAM that make ION and PMEM can co-existed together.. big thanks for them :)
- educk for his tutorial and governors
- biagio7xD for extra governors and SnapDragon Optimization
- Christopher83 that helping me teach how to correct the error and advising me and thanks for his new linaro :)
- Xistance for his teaching
- CastagnaIT for his useful sources
- CyanogenMod developers that developing our CM
- Linaro GCC developers let me using this powerful compiler
- hadidjapri hadiconfig (more RAM)
- keff for governors code fixes
- FelixMG for youtube video
- arsradu for kernel.zip
- others developer on GitHub
- xda-developers.com for all the teaching and members
XDA:DevDB Information
[Kernel][ION+PMEM][CM10.1] HurtSky's Kernel REV2 27/12/2013, a Kernel for the Samsung Galaxy W I8150

Contributors
hurtsky
Kernel Special Features: To optimize performance and battery usage capability

Version Information
Status: Stable
Current Stable Version: REV2
Stable Release Date: 2013-12-27

Created 2013-12-25
Last Updated 2013-12-27
The Following 33 Users Say Thank You to hurtsky For This Useful Post: [ Click to Expand ]
 
hurtsky
Old
(Last edited by hurtsky; 27th December 2013 at 03:55 PM.)
#2  
Senior Member - OP
Thanks Meter 2510
Posts: 1,139
Join Date: Jul 2012

 
DONATE TO ME
Default Changelogs of Kernel version



ONLY USE THIS KERNEL WITH ROM THAT BASED ON [ROM][JB][4.2.2][JDQ39E] CyanogenMod 10.1 BETA (Build 2)

DOWNLOAD LINK > HERE

Changelogs of Revision Version

Do not expect me to explain all the commits/changes. i wont entertain your question unless for some reason

Code:
REV2 27/12/2013
- inject VM tweaks, frandom hack, and improve touch sensitiveness from project Lard into ramdisk
- Update zcache sources
- Implement frontswap into kernel
- Implement ZBUD : thanks Seth Jennings
- Implement ZSWAP : thanks Seth Jennings
- Add zRam for Android paging and LMK.
- mm: Improved Swap logic
- Add the Snappy-c compressor : thanks to Andi Kleen
- lib: add support for LZ4-compressed kernels : thanks to Kyungsik Lee
- arm: add support for LZ4-compressed kernels : thanks to Kyungsik Lee
- lib: Add lz4 compressor module : thanks to Chanho Min
- crypto: Add lz4 Cryptographic API : thanks to Chanho Min
- other updates

REV 1 25/12/2013
- built with Linaro GCC 4.7.3-2013.11 toolchain optimized for Cortex-A8 cpu with Neon technology support
- initial changes - look at GitHub (too much commit had been done)
- based on new kernel from sir arco
- thanks to arsradu for kernel.zip because the new CM10.1 use same concept as CM10.2
The Following 16 Users Say Thank You to hurtsky For This Useful Post: [ Click to Expand ]
 
hurtsky
Old
(Last edited by hurtsky; 26th December 2013 at 09:12 AM.)
#3  
Senior Member - OP
Thanks Meter 2510
Posts: 1,139
Join Date: Jul 2012

 
DONATE TO ME
Default Reserved

All start on boot default for - Dynamic management of timer slack , LowMemoryKiller management of not killable processes and UKSM Already been removed !
- USE PERFORMANCE CONTROL to enable it > http://forum.xda-developers.com/show....php?t=2401988


Quote:
Settings of The Available Features
partly been taken from Christopher explanation thread - http://forum.xda-developers.com/show....php?t=2172148 all credit go to Christopher83 please thank he for prepare this detail of function

LowMemoryKiller management of not killable processes
This feature allows to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.

This feature exposes four new lowmemorykiller parameters:
- donotkill_proc, is the flag to enable / disable this feature for the processes chosen by the user
- donotkill_sysproc, is the flag to enable / disable this feature for the system processes chosen by the user
- donotkill_proc_names, is the list of process names (comma separated) chosen by the user to be preserved from killing
- donotkill_sysproc_names, is the list of user system process names (comma separated) chosen by the user to be preserved from killing

When the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.

How to customize the white lists of processes to preserve from killing:
 

On HurtSky's Kernel the feature is enabled by default and the provided processes white lists are the following:
- donotkill_proc_names = "com.cyanogenmod.trebuchet,com,android.inputmethod .latin"
this means that Trebuchet Launcher,stock keyboard will be preserved from killing
- donotkill_sysproc_names = "android.process.acore,com.android.phone,com."
this means that the system process, the phone process will be preserved from killing

1) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)
- Download the script named 80dnkp
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred status and processes list
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
2) By directly editing the files inside /sys/module/lowmemorykiller/parameters (note that set values will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set values will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands if you want to enable the feature
Code:
# To enable this feature for the processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To enable this feature for the system processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run these commands if you want to disable the feature

Code:
# To disable this feature for the processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To disable this feature for the system processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run this command if you want to add, for example, Trebuchet Launcher (CM default launcher) and the default keyboard to the processes white list

Code:
echo "com.cyanogenmod.trebuchet,android.inputmethod.latin" > /sys/module/lowmemorykiller/parameters/donotkill_proc_names
- Run this command if you want to add, for example, the system process, the phone process and DSP Manager to the system processes white list

Code:
echo "android.process.acore,com.android.phone,com.bel.android.dspmanager" > /sys/module/lowmemorykiller/parameters/donotkill_sysproc_names
ONLY USE THIS KERNEL WITH ROM BASED ON [ROM][JB][4.2.2][JDQ39E] CyanogenMod 10.1 BETA (Build 2)
The Following 10 Users Say Thank You to hurtsky For This Useful Post: [ Click to Expand ]
 
FelixMG
Old
#4  
FelixMG's Avatar
Senior Member
Thanks Meter 128
Posts: 415
Join Date: Jan 2013
Location: Brazil
Nice Hurtsky! You are the best.

Thanks for this kernel. I'll try ASAP.

Sent from my GT-I8150 using Tapatalk
 
hotheabilly
Old
#5  
hotheabilly's Avatar
Senior Member
Thanks Meter 1058
Posts: 1,490
Join Date: May 2012
Location: padang

 
DONATE TO ME
So now ION works? Wow developers really pushing beyond the limits
The Following 2 Users Say Thank You to hotheabilly For This Useful Post: [ Click to Expand ]
 
hurtsky
Old
#6  
Senior Member - OP
Thanks Meter 2510
Posts: 1,139
Join Date: Jul 2012

 
DONATE TO ME
Quote:
Originally Posted by hotheabilly View Post
So now ION works? Wow developers really pushing beyond the limits
Yup. AriesVE-DevCon-TEAM make all this become reality.. thanks to them.. and also sir arco that make it suit with our monster
The Following 2 Users Say Thank You to hurtsky For This Useful Post: [ Click to Expand ]
 
ghost141
Old
#7  
Senior Member
Thanks Meter 63
Posts: 447
Join Date: Dec 2012
Location: Jakarta
downloading~ and thank you-ing~ LOL
 
hack4er
Old
#8  
hack4er's Avatar
Senior Member
Thanks Meter 73
Posts: 190
Join Date: Oct 2013
Location: Isparta
Quote:
Originally Posted by hurtsky View Post
Yup. AriesVE-DevCon-TEAM make all this become reality.. thanks to them.. and also sir arco that make it suit with our monster
thanx mate well done

but may i ask what is ram size?(377 mb)?
 
hurtsky
Old
#9  
Senior Member - OP
Thanks Meter 2510
Posts: 1,139
Join Date: Jul 2012

 
DONATE TO ME
Quote:
Originally Posted by hack4er View Post
thanx mate well done

but may i ask what is ram size?(377 mb)?
i did not increase the RAM size.. it is default 351mb
 
ghost141
Old
#10  
Senior Member
Thanks Meter 63
Posts: 447
Join Date: Dec 2012
Location: Jakarta
BIGMEM make lag. it just a number, no performances increase at all.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes