[Oct 24][KERNEL][UC][UV][PATCH]koneu kernel - Galaxy Y GT-S5360 Android Development

There are many great kernels for the Y floating around. I stopped working publicly on this one.
Disclaimer:
I'm not responsible for any damage done to your phone.
Use the following materials at your own risk only!
Read the whole post carefully before asking me why your phone lags at 156 MHz and why it force reboots when using BaCeM-tweak.​
Main Idea:
No support for filesystems your device doesn't use.
No I/O schedulers and frequency governors you will never use.
The first kernel which underclocks reliably with included undervolt.
No buggy Busybox and Superuser included which are in any viable custom ROM anyway.
Based on the Linux kernel source code released by Samsung and the stock ramdisk.
Bugs: (All fixed!)
(fixed)Underclock is unstable, sometimes the right MHz value applies and sometimes it doesn't - sometimes it even applies to the 312 MHz setting and sometimes the conservative governor won't leave 208 MHz no matter what you do unless you tell it to via (for example) No Frills CPU control.
(fixed)[416 MHz is now below 312 MHz - still working on it…] - now a feature!
(fixed -thanks to kurotsugi and irfanbagus-)You have to use BaCeM tweak by irfanbagus to enable ondemand governor
([email protected]/7) Deep Sleep doesn't work
If you find any new bugs, tell me and I will try to fix them.
Features:
156 MHz - 312 MHz - 624 MHz - 832 MHz frequency scaling!
That means it's a clean underclock!(=laggy but cool) Note: System clock may lag behind (but will catch up) if you lock the CPU on 156 MHz and put a big workload on it (no idea why you would work at 156 MHz, just noticed it when benchmarking, maybe it was also caused by the other running apps)​
Modified CPU driver to undervolt automatically.
Modified SDHC driver to allow deep sleep.
init.d support (V6 SuperCharger, a2sd, etc.)
iptables (firewall) support (without logging)
Modified conservative frequency governor optimized for battery (I think that's sufficient. I thought about adding smart***V2 instead, even had it implemented in a version I didn't publish. But then again, conservative does the same job and is smaller than smart***V2.)
SIO I/O scheduler
If you find any new features, tell me and I will add them to the list.
{
"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"
}
ATTENTION
This kernel is incompatible with BCM-tweak and BaCeM-tweak! Do not undervolt - the CPU driver is modified to undervolt automatically. Your phone will hang and force reboot if you undervolt it any further.
It is compatible with all other modules, including savie's governor and I/O scheduler mods.
If you want a less aggressive (less laggy) configuration for the conservative governor, a flashable zip can be found here.
Downloads:
These two files are constantly being updated as long as I am not satisfied. Feel free to get the thanks flowing. ^^
The kernel: boot.img (Version Oct 24 @ 10:02:30)
Use SGYbiCWM in CWM to flash it. (Note: You should flash SGYbiCWM two times (without reboot) for the boot.img to stick.)
Use CPU Spy to check your current version. (If you are using it and are not sure if you have to update.)
Refer to the repo for a patch file with the complete list of changes I applied to the sources.
Please be aware that the patch file is my property and you may use it in other projects but please give me credit.
If you do not know what a patch is, then you do not need it.
Thanks for pointing that out, I.M.G​

first blood... what's the features?

init.d
iptables(without logging)
ondemand governor
deadline scheduler
312 - 416 - 624 - 832 MHz frequency scaling (will possibly include UV and minimum brightness in the sources)
But first you should check if it actually boots
via XDApp

MarcoToo said:
init.d
iptables(without logging)
ondemand governor
deadline scheduler
312 - 416 - 624 - 832 MHz frequency scaling (will possibly include UV and minimum brightness in the sources)
But first you should check if it actually boots
via XDApp
Click to expand...
Click to collapse
Not bad, I'll try it now (with my rom) and fb u later:fingers-crossed:

shocklads said:
Not bad, I'll try it now (with my rom) and fb u later:fingers-crossed:
Click to expand...
Click to collapse
Great man, I'm excited
If it doesn't boot I'll probably have to re-compile all the modules in the ramdisk. So don't let me down

Doesn't work for CyanogenMod(stuck on black screen,probably bootanimation) :s
Will check for/on stock rom tomorrow.

CharsiBabu said:
Doesn't work for CyanogenMod(stuck on black screen,probably bootanimation) :s
Will check for/on stock rom tomorrow.
Click to expand...
Click to collapse
Can you still get into recovery?
Can you get me a logcat?

MarcoToo said:
Can you still get into recovery?
Can you get me a logcat?
Click to expand...
Click to collapse
No.
No,it shows waiting for device.
_
Doesn't work on stock rom either
stuck on blank bootscreen.
Stock rom: DDLE1

CharsiBabu said:
No.
No,it shows waiting for device.
_
Doesn't work on stock rom either
stuck on blank bootscreen.
Stock rom: DDLE1
Click to expand...
Click to collapse
OK, many thanks. Now I know I did something wrong.

MarcoToo said:
OK, many thanks. Now I know I did something wrong.
Click to expand...
Click to collapse
Yes, for me it's the same problem.
If you fix this issue then please let me know how you fixed it.
I am working for cm.
Sent from my GT-S5360 using xda app-developers app

well..if you give more details about what you did to your kernel and how did you built it I might can help find the problem

kurotsugi said:
well..if you give more details about what you did to your kernel and how did you built it I might can help find the problem
Click to expand...
Click to collapse
Kernel built from cm kernel source on git hub.
.config for galaxy y.
Make file edited for 2.6.35.7 kernel.
It is strictly for cm. Testers reported waiting for device error.
Sent from my GT-S5360 using xda app-developers app

I'm not sure if we can make a kernel directly from cm source. you can start with samsung's source code then integrate some of the cm component into it. if the kernel version is same, basicly both of them isn't different. however, we still need the driver and and some device spesific source code which can only obtained from samsung's source. that's why we should start from samsung's source code. one more thing...we can't use cm ramdisk since samsung kernels are unique, the recovery stuff is stored inside the ramdisk. in order to make a bootable kernel you'll need sgy's ramdisk.

kurotsugi said:
I'm not sure if we can make a kernel directly from cm source. you can start with samsung's source code then integrate some of the cm component into it. if the kernel version is same, basicly both of them isn't different. however, we still need the driver and and some device spesific source code which can only obtained from samsung's source. that's why we should start from samsung's source code. one more thing...we can't use cm ramdisk since samsung kernels are unique, the recovery stuff is stored inside the ramdisk. in order to make a bootable kernel you'll need sgy's ramdisk.
Click to expand...
Click to collapse
I used samsung ram disk.
Kernel image was from cm but as close to stock as possible.
Even stock kernel image had same problem. Not booting.
Sent from my GT-S5360 using xda app-developers app

lets do a simple test. try to build a kernel from stock samsung source with irfan's guide. see if it can boot.

Could you give it another shot? Link still the same in OP. Samsung sources are so ****ed. But I think the problem is not due to the sources but my set up.
I'll just share my patch file with you so you can try compiling the zImage ('cd' to common and do a 'patch -p3 < koneu.patch').
Ramdisk is stock with CM's sysinit in /sbin and init.rc modified to execute it to assure init.d support. Maybe this is actually the problem. If this version doesn't boot either I'll remove sysinit from /sbin and use /system/bin instead.
Please be aware that the patch file is my property and you may use it in other projects but please give me credit.
Included in this patch (has to be applied to unmodified Samsung sources or some parts will bug(not the important ones though)) :
- custom .config
- 312 - 416 - 624 - 832 MHz frequency scaling (original idea by savie but didn't provide a patch afaik )
- CPU stats file fix (by irfanbagus)
- modified backlight driver to allow lower screen brightness (original idea by mikstev, bugfixed and included into the sources by me)
Please tell me (and also send me the zImage ) if you got it to boot!

Section mismatches are just so damn hard to fix…

MarcoToo said:
Could you give it another shot? Link still the same in OP. Samsung sources are so ****ed. But I think the problem is not due to the sources but my set up.
I'll just share my patch file with you so you can try compiling the zImage ('cd' to common and do a 'patch -p3 koneu.patch').
Ramdisk is stock with CM's sysinit in /sbin and init.rc modified to execute it to assure init.d support. Maybe this is actually the problem. If this version doesn't boot either I'll remove sysinit from /sbin and use /system/bin instead.
Please be aware that the patch file is my property and you may use it in other projects but please give me credit.
Included in this patch (has to be applied to unmodified Samsung sources or some parts will bug(not the important ones though)) :
- custom .config
- 312 - 416 - 624 - 832 MHz frequency scaling (original idea by savie but didn't provide a patch afaik )
- CPU stats file fix (by irfanbagus)
- modified backlight driver to allow lower screen brightness (original idea by mikstev, bugfixed and included into the sources by me)
Please tell me (and also send me the zImage ) if you got it to boot!
Click to expand...
Click to collapse
I think I may have got a solution.
My z image is only for cm 7 as it is compiled from source.
I need a stock ram disk which I am pulling from my device. Lets see how it turns.
If you need a working stock z image, I already have one. About 3+ mb stock image.
You need it ? I'll upload it if you want.
Sent from my GT-S5360 using xda app-developers app

Is it a self-compiled stock zImage or a zImage from a stock boot.img?
If it's a self-compiled stock zImage you can probably apply my koneu.patch to the stock sources and compile it. The changes are really very few and I think if compiling works for you the zImage will boot.
If it's a zImage from a stock boot.img I won't need it, I got plenty of those

MarcoToo said:
Is it a self-compiled stock zImage or a zImage from a stock boot.img?
If it's a self-compiled stock zImage you can probably apply my koneu.patch to the stock sources and compile it. The changes are really very few and I think if compiling works for you the zImage will boot.
If it's a zImage from a stock boot.img I won't need it, I got plenty of those
Click to expand...
Click to collapse
It's a compiled one. I ain't working for stock. This was just to make sure that z images boot.
I am working for cm 7.2
I need to get the compiled from source boot up in abominable galaxy y.
Sent from my GT-S5360 using xda app-developers app

Related

[KERNEL] kuro kernel for all rom

this is my compiled kernel, builded from samsung source code (GT-S5360_GB_Opensource_Update2.zip). please read this whole post before you install this kernel in your device and don't expect something "WOW" from this kernel since its only my kernel for my daily usage.
the main interest of this kernel is to build a kernel which:
1. compatible to all rom (custom n stock)*.
2. simple, light, yet still customizable
3. save more batteries
4. decent performance
if you're looking for a kernel as described above, then this thread will give what you want.
the link :
Click to expand...
Click to collapse
special built kernel with a2sd full support -- for advance user
note: clearly stated for advance user. don't ask me why it didn't boot up in your rom.
Click to expand...
Click to collapse
basic feature:
1. init.d script support
2. Advance Power Management enabled (not 100% working but it solve the screen issue)
3. built in droidwal support and bacem tweak
4. 4 freq
5. a few more gov and io sched
how to: flash the file via CWM.
credits:
1. irfanbagus for the patch and bacem tweak
2. savie for the help for 4 freq
3. marcotoo for the nice discussion about kernel on his thread and the solution for deep sleep from his patch thread.
4. harish for the tools
5. maroc aka yahya, edoko, tegrak, sdadier, droidzone @github for source code
6. last but not least you...for support and nice development atmosphere here. keep follow the rules guys.
TERM OF USE AND SHARING:
this thread intent is for sharing. feel free to use, edit, distribute all material inside this thread which came from me. if there any parts of this mod which comes not from me please refer to the original dev I've mentioned in this thread. if want to share it to another forum or modify it you don't have to ask my permission. no need to credits, put links or whatsoever. you'll only need to remember that you should held all the responsibility by using this mod, modify it or distribute it. DO IT WITH YOUR OWN RISK
Click to expand...
Click to collapse
IMPORTANT NOTES:
1. please don't ask anything about CWM. I prefer to never put it on my kernel.
2. trying to fix the 3rd freq but still no luck. we have 312-x-624-832 freq but the (x) freq is still buggy and imperfect. I think we need some help to fix it. already tried with 416, 442, 468, 520 but the bug is still there.
3. sorry, no a2sd support at this moment. you can use dsixda's kitchen or harish's tools to build a kernel with repencis's ramdisk to make this kernel support a2sd by yourself. the good thing is that your a2sd will work but it will also make your device boot (a lot) longer. I prefer to not use it on my kernel since I never use a2sd.
4. I give you three 'cats' gov in this kernel
powercats = lazy --> performance
blackcats = smartassv2 --> balanced setting
activecats = intellidemand --> battery saver
they have been tweaked and renamed just to make you easier when choosing the govs.
5. if you have a2sd running in your device, please uninstall it before installing this kernel. or else, you'll get bootloop
changelog
v0.1 :
first released version
v0.2 :
- swap
- ext4
- more iosched
- optimized conservative for battery saving
- ciffs (not really needed but it will be usefull if someone might want to use it)
v0.3 :
- new freq configuration (312-468-624-832). less sudden jumped out freq from 312 to 624 but it still imperfect yet.
- new govs, wheatley removed. now conservative is set as default for battery saving option.
- configured iosched, sio as default.
- now it use a part of koneu patch to fix deep sleep problem
v0.4 :
- minor tune on the kernel source and configuration
- as requested, OTG stuff added**.
v0.5:
- minor tune on battery management
- tun.ko build in
- few sound API and driver added
- as requested, NTFS modules built in
v0.5.1:
- lil bit tuning. trying to fix ntfs problem
- KSM for page merging support
- HID support
v0.5.2:
- alternate version of 0.5.1 without any OTG related stuff
v0.6.9:
- 6 frequencies
- setting for conservative and blackcats modified to match the new freqs.
v1:
- 5 frequencies. 780mhz almost never used so I removed it (468 is a buffer to prevent the freq suddenly jump to max freq. it actually working at 312mhz)
- HID driver removed (you don't even know what it is)
- few API removed for lightweightness
- CIFS removed since almost no one use it.
- deepsleep bug from v0.6.9 fixed
- screen problem fixed (never happened on mine but need report from users)
- battery APM
v1.1
- black screen bug fixed
* CM is not supported. sorry.
** OTG stuff still untested. the driver and NTFS modules required is inside it but I don't have the equipment to test it.
Click to expand...
Click to collapse
IMPORTANT STUFF: INCOMPATIBILITY ISSUE REPORT
# DXLF deodexed ROM (reported count: 1)
reason : error due to tweak inside it. already fixed.
please report here if you find my kernel doesn't boot. specify your system in details like : the rom, tweaks, a2sd/non a2sd, kernel version. I'm trying my best to make this kernel compatible with all rom (except CM). all kernel kernel here is already tested in my device before I uploaded it. however, my work might not perfect yet so that it might won't boot in several ROM.
Click to expand...
Click to collapse
kernel source link: http://www.mediafire.com/?bgh79kbcof9jctf (it only contain the modified files. you need to download the whole source code from samsung at opensource.samsung.com. I'm using update 2 for european region).
Finally
BTW Freq,Governors,IO working?
Will test now
Edit : Sio not included, noticed Speed in booting, nice Kernel, expecting more, but not too much..LOL
{
"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"
}
its actually already uploaded several days ago (lol)
yeah finally
this not support dualboot it mean support a2sd, right ?
reserved..
Sent from my GT-S5360 using xda premium
@ron: why don't you try to build your kernel. you already on linux, don't you?
kurotsugi said:
@ron: why don't you try to build your kernel. you already on linux, don't you?
Click to expand...
Click to collapse
yes, i was on ubuntu 12.04, but i recently formatted my PC to Windows since i need it for school for my class presentations, i have a lot of work and i also need it for my part time job, so basically ubuntu was eating space, so switched to windows for a while, will be going back to ubuntu next year after graduation:highfive:
Noticed that frequencies 416 is rarely used
from 312 it jumps to 624 and rarely on 416..observation only, will test more
yup...416 is tend to not stable and it easily jumped out to 624. thats a bug from 4 freq mode using 0x0d. it can solved but we should underclock it too 104. its not a good option for me.
Wow downloading!!!!!
Sent from my GT-S5360 using xda premium
@ kuro, does it supports A2SD? nice kernel buddy. :good::good:
Ha! finally..
Great job my friend.
sent while doin' some burnouts
Benchmark for 416 MHz? How did you manage to fix the incapability of the CPU to reach that frequency?
kurotsugi said:
this is my compiled kernel, builded from samsung source code. please don't expect something wonderfull from this kernel since its only my kernel for my daily usage.
feature:
1. init.d script support
2. Advance Power Management enabled
3. built in droidwal support and bacem tweak
4. 4 freq
5. a few more gov and io sched
how to: flash the file via CWM.
credits:
1. irfanbagus for the patch and bacem tweak
2. savie for the help for 4 freq
3. marcotoo for the nice discussion about kernel on his thread
4. harish for the tools
5. edoko, tegrak, for source code
6. last but not least you...for support and nice development atmosphere here. keep follow the rules guys.
PS: please don't ask anything about CWM. I prefer to never put it on my kernel.
Click to expand...
Click to collapse
Reserved master...
Sent from my GT-S5360 using xda app-developers app
@marco: that freq isn't fixed yet. the benchmark and bogoMIPS score tend to give unstable value between 416 and 624. I think the freq for 0x0d isn't 416. it might a lil bit higher than it.
You could try 520…
Awesome. Flashing right away. Kuros stuff is always awesome. Was expecting this kernel. Thanks man
@marco: yup...I'll try that later. now I'm stil experimenting with something else.
@hitme: this kernel only give some basic stuff. it can't be compared to maroc's, repencis's, savie's or marco's kernel.
kurotsugi said:
@hitme: this kernel only give some basic stuff. it can't be compared to maroc's, repencis's, savie's or marco's kernel.
Click to expand...
Click to collapse
Thats exactly what I want. I dont use a2sd/swap and dont like ext4 auto mount. Was using rev54 savies till now as it has the exact one. Used rev 60 v2 for some time(it had ext4, inbuilt CWM etc) but it was draining battery some what since it got ext4 and inbuilt CWM etc. I need a kernel which is light, fast, battery saving and I only want droidwall. So this one exactly suits me
As far as CWM is concerned, as we can flash the same with just two clicks why so much rush to integrate to kernel? Its best not included imo
this kernel is already support swap and ext4 partition. I never used it but I think it will be usefull for someone who might want to use it. I'm still testing several stuff with the gov here and io sched here. got some interesting gov but it doesn't work at this moment. I'll upload it when I finished with this one.
EDIT: this kernel was my last stable kernel built. I can't clearly remember all stuff inside it. can you tell me the govs inside it?
Hmm then this isn't a basic kernel just flashed it and looks good. I'll give my detailed report later

[CM10/ICS/MIUI][KERNEL][GPL][rc-3] ♫♫ Titanium.Kernel ♫♫ An All in one Kernel! ♫

[CM10/ICS/MIUI][KERNEL][GPL][rc-3] ♫♫ Titanium.Kernel ♫♫ An All in one Kernel! ♫
Whats up guys!
So.. you'll already know me
SO no Introductions.
For those who don't know me, I am a Kernel Developer, Check the links in my signature to see my work
Now.. Getting back to topic!
Presenting.........
★★★ Titanium Kernel for Galaxy R - GT-I9103 ★★★
Remember,
Code:
[B]/* DISCLAIMER */ [/B]
[SIZE="5"][FONT="Arial Black"][COLOR="Red"][U]I do not own the device![/U][/COLOR][/FONT][/SIZE]
[COLOR="Red"][B][FONT="Arial Black"]You are choosing to make the modifications at your own risk.[/FONT][/B][/COLOR]
This Kernel is for Samsung ICS ROMs or any ROM based on Samsungs stock ROMs.
★ What my Kernel is made up of ★
★ This Kernel will work on every ROM, look into Downloads section and select your Kernel. ICS Kernel will work on Angeeks ROM
eMMC Brick bug cleaned up.
Based on Samsung ICS Update 2 Sources
Compiled with Linaro 4.6.2 toolchain
Overclock upto 1.2 Ghz
GPU Overclock upto 410 Mhz
All Linux memory Management Parameters tuned up for best performance.
Optimized ARM RWSEM Algorithms.
ARCH Power Enabled
JRCU (Joe's RCU, best suited for small SMP Systems!)
Proportional Rate Reduction for TCP by Google.
RAM Console Debugging Removed (More RAM)
Reclaimed RAM from Android Logger(logcat) (More RAM)
RAM Hack based on my old GB Kernel patch(+56 MB)
Voodoo Sound
Enabled NTFS Filesystem
Auto Brightness Fixes (ardatdat)
TCP/IP Tweaks
XZ Compression for Kernel (++speed,--size)
Using SLUB Memory Allocator (I always prefer this!)
Unneeded Stuff cleaned up in defconfig
EXT4 is default, EXT4 is used for mounting EXT2 and EXT3 (Faster)
NOATIME NODIRATIME Mounts set as default
Governers: Hotplug, Smartass2, Performance, Ondemand, Conservative.
IO Schedulers: Noop and CFQ (Default)
..
ROW IO Scheduler
BLN Support w/ liblights loaded from ramdisk
WIFI MAC Address Changing support
Lots of Makefile Optimizations + GCC 4.6 Optimizations
Dynamic FSYNC Control (faux123)
Stochastic Fair Blue Net Scheduler
Optimised swahb32() byteswap helper
Code cleanups done where necessary
IO Patches
TUN/TAP Driver built in
--
Cleancache Support
KSM Enabled
Disabled unnecessary drivers
LZMA Compressed Ramdisk (--size)
N1 Board and Touchscreen driver fully cleaned up of all Samsung **** ups and warnings!
Lots more stuff! Flash and see for yourself.
Ramdisk Mods:
Auto-root (SuperSU)
BLN Liblights loaded from ramdisk itself
Auto-EFS Backup
init.d scripts run on boot
Custom Bootanimation support (ICS ROM)
Other misc stuff.
TODO:
[*]Fix all Kernel warnings and crap samsung code.
[*]Get rid of TEGRA CPU LOCK.
[*]Set up Custom Voltage sysfs.
[*]Fix all game lags.(Which is present on stock Samsung sources and ROMS)
[*]Port some more Tegra specific mods from other Tegra devices.
{
"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"
}
★ I plan to contribute a lot to this Kernel in the near future! Test it and let me know. ★
★ Also, I plan to clean up lots of Samsung **** code and **** ups in the source ★
★ Remember, I do not have the device so it will take me time to fix up bugs (If there are any) ★
Credits ,
☑ Many of the patches on my source which I have incorporated may not be programmed by me, I have credited them on my github.
☑ Adam77Root, ardatdat (Kernel patches, credited on my github)
☑ faux123
☑ parmarket,shaheen(For testing this first on their phone)
☑ and MEEEeeee .. of course!
Changelogs
Code:
[B]Kernel rc-1[/B]
Initial Release
[B]Kernel rc-2[/B]
CM10 Support
AOSP Vibrator fix
KXTF9 Sensor driver for CM10
BLN Support w/ liblights which will be loaded by ramdisk
Enabled Wifi MAC Address Changing ability
Makefile Optimizations
SYNC Frameworks and SW Sync
XZ Compression for Kernel
ARM CPU Topology
Dynamic FSYNC Control (faux123)
ROW IO Scheduler ~Enabled by default (Meant for mobile devices)
Added ARM NET JIT Compiler
Add optimised swahb32() byteswap helper
Lots more stuff, too technical to explain, check my github.
[B]Kernel rc-3[/B]
---COMING UP-----
Stability fixes, fixed hangs,lags from rc-2.
Lots of Code Cleanups for better optimized code!
Board-n1 cleaned up of all warnings
Atmel MXT-224E driver cleaned up of all warnings.
GCC 4.6 (Linaro) Optimizations
MIUI Support
Reverted SYNC,SW_SYNC,ARM NET JIT Compiler (Will have to do testing!)
Enabled KSM
Enabled CLEANCACHE
Disabled a lot of unnecessary drivers to reduce memory footprint in Kernel.
LZMA Compressed Ramdisk (--size)
Bumped reserved memory to 200MB
Asynchronous I/O latency to a solid-state disk greatly increased (cherry-picked)
Downloads
Download: Titanium Kernel rc-3 - ICS
Download: Titanium Kernel rc-3 - CM10
Download: Titanium Kernel rc-3 - MIUI
-------- OLD VERSIONS NOT RECOMMENDED! -------------
Download: Titanium Kernel rc-2 - ICS
Download: Titanium Kernel rc-2 - CM10
Download: Titanium Kernel rc-1
FAQ's
FAQ:
1) Do not use 3rd party init.d scripts! If you wish to use any ask in the thread. I will tell you if you can.
2) How to flash the Kernel?
A: Flash the zip via CWM ... duhhh! :victory:
3) Why only 4 governers ?
A: Too many Governers bloat the Kernel, many are quite similar.
Best Governer for Battery: Conservative
Best Governer for Performance: Smartass2 or Performance
4) Can you add support to turn off one cpu core?
A: You don't need to do it manually, Hotplug governer knows when to turn off one core.
5) Will you overclock more?
A: No, 1.2 Ghz is enough. We wan't stability and not problems.
6) I got X bug, I got Y bug.
A: I will fix it, recreate the problem and give me a logcat. Remember, it may take time and testing to fix a bug since I do not have the device.
7) Will this support CM in future?
A: Ofcourse! I will also be helping in CM development soon.
8) My phone does not enter deep sleep.
A: Some app is constantly waking up your phone.
9) DO NOT USE ANY SET CPU PROFILES! .
A note on How-to report bugs.
Great one buddy. Unfortunately over CM10. will b waiting for CM10 kernel. thanks again.:fingers-crossed:
Great work Buddy :good:. Cud u add the stopbootanimation service at end of script in init.rc so that v can use this kernel for custom bootanimation.:highfive:
thanks
thanks buddy, nice work, all feature sounds great :good:
I particularly like of have only 4 governers which is simple and useful , too much confuse most of the time. :laugh:
thanks again and keep it up :good:
I wish u had kept interactive governer. Anyways, will try this after college.
Sent from my GT-I9103 using xda app-developers app
kataria.vikesh said:
Great one buddy. Unfortunately over CM10. will b waiting for CM10 kernel. thanks again.:fingers-crossed:
Click to expand...
Click to collapse
Will add CM support post the CM10 boot.img here.
selva.simple said:
Great work Buddy :good:. Cud u add the stopbootanimation service at end of script in init.rc so that v can use this kernel for custom bootanimation.:highfive:
Click to expand...
Click to collapse
Yeah, can do it. Will build my own ramdisk in the next release.
gitanshu said:
I wish u had kept interactive governer. Anyways, will try this after college.
Sent from my GT-I9103 using xda app-developers app
Click to expand...
Click to collapse
I will drop ondemand and add interactive, Interactive governer is an improved version of ondemand.. anyways.. this is first release ... lots to come still!
will it work on angeeks rom??
kunaal2580 said:
will it work on angeeks rom??
Click to expand...
Click to collapse
No. Currently this does not support custom boot animation which if u flashed on angeek's rom will result in bootanimation loop.
Adi_Pat said:
Will add CM support post the CM10 boot.img here.
Click to expand...
Click to collapse
Edit: here is the link of cm10 kernel
http://db.tt/lrOpqrxL :victory:
kataria.vikesh said:
Edit: here is the link of cm10 kernel
http://db.tt/lrOpqrxL :victory:
Click to expand...
Click to collapse
Gimme a few mins, making it CM Compatible , just need to pack teh ramdisk with my Kernel .. (Hopefully nothing more, someone will have to test it)
kataria.vikesh said:
Edit: here is the link of cm10 kernel
http://db.tt/lrOpqrxL :victory:
Click to expand...
Click to collapse
Does it have bln mod?
Sent from my GT-I9103 using Tapatalk 2
Benchmarks
these are some benchmarks of this Kernel (With Geeky Engine)
CPU speed 1Ghz
Governer: smartass2
CPU speed 1.2Ghz
Governer: smartass2
Good work! Waiting for the anti boot loop kernel support for the angeeks ROM.
Enviado desde mi GT-I9103 usando Tapatalk 2
@Adi_Pat: To make the kernel compatible with CM10, do the followings:
1. Implement vibrator fix. (https://github.com/epsylon3/android...mmit/720914d5009039d3ba9898361eea1ad8ab09d326)
2. Add raw KXTF9 accelerometer sensor. (https://raw.github.com/epsylon3/android_kernel_samsung_i9103/gingerbread/drivers/input/misc/kxtf9.c Put it into drivers/sensors, modify Makefile and KConfig accordingly and enable it in defconfig.)
3. Take the ramdisk.
You don't have to compile two different kernels for the two roms, only change the ramdisk. The kernel works quite well in hybrid mode with the modifications included.
Also, if you have time please include these patches into your kernel. I'd really appreciate them. Thanks!
Adam77Root said:
@Adi_Pat: To make the kernel compatible with CM10, do the followings:
1. Implement vibrator fix. (https://github.com/epsylon3/android...mmit/720914d5009039d3ba9898361eea1ad8ab09d326)
2. Add raw KXTF9 accelerometer sensor. (https://raw.github.com/epsylon3/android_kernel_samsung_i9103/gingerbread/drivers/input/misc/kxtf9.c Put it into drivers/sensors, modify Makefile and KConfig accordingly and enable it in defconfig.)
3. Take the ramdisk.
You don't have to compile two different kernels for the two roms, only change the ramdisk. The kernel works quite well in hybrid mode with the modifications included.
Also, if you have time please include these patches into your kernel. I'd really appreciate them. Thanks!
Click to expand...
Click to collapse
Thanks! Sure I will. Will merge your patches soon.
Still studying the source.. looks like lots can be improved!
Super cool.. awesome kernel..
Working great.. thanks
Sent from my GT-I9103 using xda premium
parmarket said:
these are some benchmarks of this Kernel (With Geeky Engine)
CPU speed 1Ghz
Governer: smartass2
CPU speed 1.2Ghz
Governer: smartass2
Click to expand...
Click to collapse
Hi Ketan, Are you using Adi's kernel on miui rom? or CM10? was curious if it works fine on Paraj's miui rom.

SueMax-kernel-Combo-Stable-For TW , MIUI Roms and IUNI os Roms(fixed and Updated)

Welcome.!!!! to Another its Not the End for our N900 as (SueMax) New Kernel thread is here ! Nice to share my N900 Daily driver Kernel :laugh:
Main idea to build this kernel for my own use,tho and secondly poor development support for our Exynos n900 out of our 4 kernel developers
only 2 are active but i feel like not giving up till i move to new Note -4 (upcoming)
So i made some Hand picked tweaks only and tried my best to stick as much Stock kernel with Minimal tweaks Possible and
Also tried my best to get Rid of that Heating Issue while Gaming and Heavy Usage .
If you liked my hard-work and Story kindly Hit THANX button it cost nothing + for Donation please must vist :http://www.cry.org (even 1$ contribution) will Make me Happy :good:
FEATURES
Based on latest -SM-N900_KK_Opensource_Update4
init.d support (Optimized and Built in kernel)
ramdisk- N900XXUENI1 and got rid of those Annoying Folders (KNOX FREE)
Selinux Permissive
Governor:
Conservative - more Optimized for Balance power
Ondeman -Been More superly Oprimized for Extra Power-Savings (I personally recommend for users who want more Battery in cost more Performance)
userpace
Interractive -Been optimized for sync frequency with Power -Savings( set as Default )
I/O:
Zen (removed)
Sio
BFQ
noop
deadline
FIOPS (I personally recommend for users who want more Battery in cost more Performance as scheduler is similar to CFQ )
cfq(default)
Note : Also various other Power related drivers also been re-optimized for more Battery friendly .
CPU- 200mhz to 2100 ghz OC and UV support (Default 250mhz to 1900 Ghz)
A-7 Cpu - 200mhz unlocked= more power saving at deepsleep (Default on kernel was 500mhz)
Stock Powersaving Mod (Fixed and working on any cpu Governor you choose ) for e.g conservative , or Ondemand too ....its stick to 1400 mhz default
OTHERS:
1) android: lowmemorykiller: implement task's adj rbtree
2)EXYNOS5420 MIF: unlock MIF 933 MHz & set for CPU 2.0+ GHz freq [halaszk]
3)clocksource: allow clocksources to be selected earlier during boot [Andrew Bresticker]
4)opp: De-obscurify OPP structs and disclose find_device_opp [AndreiLux]
5)battery: add MAX77803/UNIVERSAL5420 charger control [AndreiLux] (Canceled ) added Fast-charging :good:
added synapse :
1.CPU (OC,Gov and UV) control
2.GPU (OC and UV) Control
3.INT/MIF (Full Voltage ) Control
4.THERMAL (Values ) Control
5.POWER-SUSPEND(To have better control Over devise to get the best out of Battery )
6.IO. (Full control)
7.BACKUP RESTORE (Now can Mange different profiles +Flash or Back up any boot.img which supports Synapse-UCI only)
Rest Change log will post SOOOOON .!!!!! I do not even Remember
Download links for Latest kernels :
News MiUi all bugs been resolved including wifi and Snapse No frequency issue here is the review to cheer you all my hard work paid of
MIUI Final Build : REMOVED
1)For those Guys wifi still not working kindly download the latest Firmware Sammobile and flash it via Pc Odin probably you need to Update your Bootloader and Modem to Support Latest Kernel. (Sorry guys there is no other option you need to start from scratch and then install Custom recovery and flash others)
2) watch the video i posted step by step To Install BusyBox before you Flash My new Kernel (When you Install BusyBox you need to wait until prosses Finish then reboot and flash my Kernel next that will Solve Snapse Issue )
3)Full init.d Script support -for MIUi and touchwiz kernels (Kernel automatically Manages scripts at System >etc>init.d at 1st Boot :fingers-crossed: )
3) you should Be rooted on MiUI very important .!
Video : https://www.youtube.com/watch?v=8BJ7GmUBRZY&feature=youtu.be
SueMax-Kernel-TW-Stable-v2B for kitkat 4.4.2 : REMOVED
SueMax-Kernel-Ultra-Core-v2 For Lollipop Towchwiz Changelog + Download : http://forum.xda-developers.com/showpost.php?p=61332141&postcount=794
SueMax-kernel-V1 Touchwiz Rom + Change log link : http://forum.xda-developers.com/showpost.php?p=60432570&postcount=501
Opentesting for Cm12 and CM12.1 + Change log link : http://forum.xda-developers.com/showpost.php?p=61050085&postcount=608
Special Thanx and credits to
@halaszk88 and @UpInTheAir
IMPORTANT REQIREMENTS :
1) Root
2)BusyBox
3) Must have CWM recovery Installed to flash zip
4) Use only Synapse to Control kernel setting of My new Combo-kernel (it automatically Install each Boot)
(Old-kernels) with non snaypse Support
DOWNLOAD LINK for Touchwiz :- link removed
Miui-Final-build-wifi-fixed v2 - link removed
(Wifi-fixed done some re-work on wifi drivers :good
Link will be Updated to an regular File-share (Next Update)
Github- https://github.com/djmax81/android_kernel_samsung_exynos5420 (Uploading and updating Depending on internet speed )
Kernel Source: https://github.com/djmax81/android_kernel_samsung_exynos5420_LL
Good...
good to see new developements...
Thanx guys.!!!! For your love which Inspired me hehehe here are some Settings for UV
Im using 200 mhz to 1900ghz (io and Gov just Stock) iget 5 hrs + screen time and 1day + standby
2100mhz: 1312 mV
2000mhz: 1237 mV
1900mhz: 1212 mV
1800mhz: 1150 mV
1700mhz: 1112 mV
1600mhz: 1075 mV
1500mhz: 1037 mV
1400mhz: 1012 mV
1300mhz: 987 mV
1200mhz: 962 mV
1100mhz: 937 mV
1000mhz: 912 mV
900mhz: 887 mV
800mhz: 862 mV
650mhz: 1137 mV
600mhz: 1087 mV
550mhz: 1037 mV
500mhz: 987 mV
450mhz: 950 mV
400mhz: 925 mV
350mhz: 850 mV
300mhz: 800 mV
250mhz: 750 mV
200mhz: 725 mV
150mhz: 725 mV
100mhz: 725 mV
Now also testing my Miui Kernel at moment will post results +kernel in few days ... cheers n stay tuned
Edited : i need some beta testers for Miui kernel as i'm away from home ..... plz pm i will inbox you the link
Keep it up bro...thanks for your effort.
Please share your source with us.
Spitwista said:
Please share your source with us.
Click to expand...
Click to collapse
For sure i'll as its my 1st release..... will upload it to github soon with next release of my kernel , as this kernel based on .... stock opensource update 4 ...
so happy to see another DEV. many thanks to djmax81~~
Thanks testing...:silly:
Hi.!!! Guys at moment we are testing .... Miui custom kernel ...if you want to use be little care full as its beta version .... and thanx to @sawgent for testing 1st Miui custom kernel...cheers and will post Miui stable release soon after testing ..
Kernel source code in github?
We need you to post your kernel sources in the OP of your kernel thread, in order to be in compliance with GPL. You can read everything you need to know about GPL here.
THX....
halaszk88 said:
Kernel source code in github?
We need you to post your kernel sources in the OP of your kernel thread, in order to be in compliance with GPL. You can read everything you need to know about GPL here.
THX....
Click to expand...
Click to collapse
Thank you for Reminder ...I will soon post as I mentioned ...at my previous post ...will post it ...my next release,tho ...cheers ?
@djmax81. Hi and thanks for your kernel. Can I just ask a request? Could you please make the stock kernel (without any changes) compatible with cuatom roms? The stock kernels are not compatible and when you flash them, the Rom won't boot or maybe it will boot, but with so much force close that will make you change the kernel immediately! Could you do that please? With stock values, no oc, no uv, just compatible with custom roms. TIA.
Sent from my SM-N900 using XDA Premium 4 mobile app
siavash2death said:
@djmax81. Hi and thanks for your kernel. Can I just ask a request? Could you please make the stock kernel (without any changes) compatible with cuatom roms? The stock kernels are not compatible and when you flash them, the Rom won't boot or maybe it will boot, but with so much force close that will make you change the kernel immediately! Could you do that please? With stock values, no oc, no uv, just compatible with custom roms. TIA.
Sent from my SM-N900 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
siavash2death : i understand that but my kernel has all the Cpu settings +UV table as stock values .(Until you change it)..coz its just an option for power users ,tho my whole idea to build this kernel ..is stay as close to stock and get better battery and no useless tweaks which make kernel unstable eg: lag or FC or heating issues ::angel:
can someone share the battery stats /usage ?
I will share after ....as now charging my phone but its 4 hrs + screen time and 1 day + standby with normal settings
some informations about miui tests.
antutu score after overclocked 2.1ghz with stock voltage. lower than stock rom+stock kernel. but may be miui affects it.
{
"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"
}
deep sleep is good.
sawgent said:
some informations about miui tests.
antutu score after overclocked 2.1ghz with stock voltage. lower than stock rom+stock kernel. but may be miui affects it.
View attachment 2971730
deep sleep is good.
View attachment 2971731
Click to expand...
Click to collapse
Cool .!!! Seems be fine ... as its beta version .+1st ever miui base kernel for n900 .. will fix minor bugs for wifi -delay and will add universal charger too ...in final release .... thanx ...for test... at moment im also using miui flashed it last night to test ...for stable release ...
@sawgent would ya like to have gpu kick at 600mhz or 667mhz for miui ? As it gonna cut on battery but more performance .... as my intentions to make kernel more stable n less tweaky battery friendly as im not planning to make benchmark scale
Like your kernel as since yesterday after installation no heatup issue. But request can you add support for S-Covers (the non compliant ones ?)
tjkhattak61 said:
Like your kernel as since yesterday after installation no heatup issue. But request can you add support for S-Covers (the non compliant ones ?)
Click to expand...
Click to collapse
For sure I plan to add 3rd party s-view support + universal charging control support in my next release.
But mean while I suggest you to use xposed module call s-view all support .if you rooted . im using it too

[KERNEL] [AOSP] [ArchiToolchain] [14/04/15] ArchiKernel V2.X

{
"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"
}
Info from me (Hbo): these are test releases of ArchiKernel freshly compiled with i9305 defconfig. I have tested it for few days and it's running really fine. However, consider that it may contain some undiscovered bugs etc. Then, just tell me what's wrong and I'll check if I can do anything about that. Please check flashing and updating instructions
Base: Samsung N7100XXUFNI1 Sources (NOT smdk4x12)
Linux 3.0.31
Compiled using latest ArchiToolchain
ArchiDroid Optimizations
Using AnyKernel method (compatible with all ROMs AOSP)
And many other awesome things I have no time to list
Other kernel's features:
Boeffla Sound
Configurable touchboost
Configurable touchwake
Zzmoove governor with default Moderate profile
BFQ i/o scheduler
GPU UV/OC
CPU UV/OC, idle modes
Charging interface
LED interface
Android and Kernel logcats switches
Mdnie control
Vibration control
ArchiDroid Optimizations:
- Fully optimized for Samsung Galaxy S3 (-marm -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp)
- Compiled with O3 optimization level (-O3)
- Performed interprocedural pointer analysis and interprocedural modification and reference analysis (-fipa-pta)
- Performed loop invariant motion on trees. It also moved operands of conditions that are invariant out of the loop, so that we can use just trivial invariantness analysis in loop unswitching. The pass also includes store motion (-ftree-loop-im)
- Created a canonical counter for number of iterations in loops for which determining number of iterations requires complicated analysis. Later optimizations then may determine the number easily (-ftree-loop-ivcanon)
- Performed induction variable optimizations (strength reduction, induction variable merging and induction variable elimination) on trees (-fivopts)
- Tried to reduce the number of symbolic address calculations by using shared “anchor” symbols to address nearby objects. This transformation can help to reduce the number of GOT entries and GOT accesses on some targets (-fsection-anchors)
- Assumed that loop indices do not overflow, and that loops with nontrivial exit condition are not infinite. This enables a wider range of loop optimizations even if the loop optimizer itself cannot prove that these assumptions are valid (-funsafe-loop-optimizations)
- Moved branches with loop invariant conditions out of the loop (-funswitch-loops)
- Attempted to avoid false dependencies in scheduled code by making use of registers left over after register allocation. This optimization most benefits processors with lots of registers (-frename-registers)
- Re-ran common subexpression elimination after loop optimizations are performed (-frerun-cse-after-loop)
- Didn't keep the frame pointer in a register for functions that don't need one. This avoids the instructions to save, set up and restore frame pointers; it also makes an extra register available in many functions (-fomit-frame-pointer)
- Made a redundant load elimination pass performed after reload. The purpose of this pass is to clean up redundant spilling (-fgcse-after-reload)
- Ran a store motion pass after global common subexpression elimination. This pass attempts to move stores out of loops (-fgcse-sm)
- Eliminated redundant loads that come after stores to the same memory location, both partial and full redundancies (-fgcse-las)
- Constructed webs as commonly used for register allocation purposes and assigned each web individual pseudo register. This allows the register allocation pass to operate on pseudos directly, but also strengthens several other optimization passes, such as CSE, loop optimizer and trivial dead code remover (-fweb)
- Performed tail duplication to enlarge superblock size. This transformation simplifies the control flow of the function allowing other optimizations to do a better job (-ftracer)
Click to expand...
Click to collapse
What to expect:
- Awesome stock battery life on AOSP ROMs (due to Samsung sources and not smdk4x12)
- Blazing fast (Deep advanced optimizations, Linaro toolchain, this is the beast)
- High compatibility (AnyKernel method, the kernel should work on all ROMs)
What to NOT expect:
- Many CPU or I/O governors # We don't need overhead, you can achieve nearly the same just by tweaking governor to your needs
- Features I don't like/need
- Dualboot (see above ^)
- F2FS (see above ^, however this one depends on kernel upstreaming, as f2fs is merged)
Flashing instructions:
1. Make sure that you have stock kernel already flashed (the one which comes with your ROM), if you're running custom kernel already, reflash your ROM without wipe, this will also flash stock kernel. This is ultimately important, DON'T FLASH ARCHIKERNEL ON ANOTHER CUSTOM KERNEL, you may face various issues you've never seen before.
* This is because ArchiKernel uses AnyKernel method - it pulls ramdisk from your current kernel. If you brick your phone by flashing AK on top of custom kernel, you know who will be responsible for that.
2. Flash ArchiKernel zip.
3. Profit!
Updating instructions:
1. If you arleady have older ArchiKernel version flashed properly with above instructions, and changelog doesn't state otherwise, just flash the .zip with new version of AK.
2. No wipes, cleaning dalvik cache or anything else is required, flashing zip is enough.
3. Profit!
Bugs:
None known
Contributors
JustArchi, Moster2
Source Code: https://github.com/ArchiDroid/ArchiKernel
Download the newest version:
CLICK
Some older version download:
This one for me, reserved.
First version, dated 14/03/2015 is out. Download, flash on STOCK kernel of your Lollipop rom and report It should work on Nameless and AICP for sure, interesting if it works on CM and RR.
Working fine with todays RR O3 Test Build (which is in upload at the moment).
Great Kernel so far after a few minutes, many thanks.....whether the kernel is also working on normal or official RR, I will test soon, but I am quite sure that he does .
rodman01 said:
Working fine with todays RR O3 Test Build (which is in upload at the moment).
Great Kernel so far after a few minutes, many thanks.....whether the kernel is also working on normal or official RR, I will test soon, but I am quite sure that he does .
Click to expand...
Click to collapse
That is really, really, really good!
I found ArchiKernel a really good, comfortable to configure and universal kernel
Hbohd said:
That is really, really, really good!
I found ArchiKernel a really good, comfortable to configure and universal kernel
Click to expand...
Click to collapse
hi, can i just flash this kernel after I flash the aicp rom? becasue I dont' know if the kernel come with aicp rom is stock or custom.
It's stock, so you can directly flash this kernel after flashing rom. Every AOSP Lollipop rom that we have comes with a stock, unmodded kernel
Very nice can't wait to testing it looking forward to it.
Just flashed. Seems fine so far, but does it need also LMK corrections?
Sent from mobile
This kernel is real beast 27500 on antutu @Stock
I know that archi won't add governors/schedulers but if you mate could edit the kernel just to add zzmoove or smartass for battery saving and zen scheduler , it'd be very very great.
I'd love to test some OC @1600 for cpu and @666 for gpu just to see where it could go with such a kernel if you have time .
anguslaw said:
hi, can i just flash this kernel after I flash the aicp rom? becasue I dont' know if the kernel come with aicp rom is stock or custom.
Click to expand...
Click to collapse
does it work on acip? i have aicp but i dont know if this works on it
klemen241 said:
does it work on acip? i have aicp but i dont know if this works on it
Click to expand...
Click to collapse
If you read 3rd post in this thread you will know the answer
I'm sorry if my question is stupid but is this work with rooted touchwiz kitkat 4.4.4 rom?
aaz03 said:
This kernel is real beast 27500 on antutu @Stock
I know that archi won't add governors/schedulers but if you mate could edit the kernel just to add zzmoove or smartass for battery saving and zen scheduler , it'd be very very great.
I'd love to test some OC @1600 for cpu and @666 for gpu just to see where it could go with such a kernel if you have time .
Click to expand...
Click to collapse
Yeah, I was thinking just about the same. I am testing right now experimental kernel with 1600 OC and some more optimizations. I may share it as experimental release soon
However, I think that Archi may add zzmoove in future, so I won't double his work [emoji14] (I am missing it too!)
I might add zen in next release though, it shouldn't be too much work. However, isn't bfq running just fine? How can you tell if zen is better than bfq?
amigoloco said:
I'm sorry if my question is stupid but is this work with rooted touchwiz kitkat 4.4.4 rom?
Click to expand...
Click to collapse
As for now: not
To my mind, it will be possible in not-far future
Hbohd said:
If you read 3rd post in this thread you will know the answer
Click to expand...
Click to collapse
i actualy read all the posts but third one. I feel like total retard haha. Thanks for answer man
voyteckst said:
Just flashed. Seems fine so far, but does it need also LMK corrections?
Sent from mobile
Click to expand...
Click to collapse
LMK permission's fix won't do any harm, therefore it's better to keep it in. Moreover it allows any apps to see and modify them.
klemen241 said:
i actualy read all the posts but third one. I feel like total retard haha. Thanks for answer man
Click to expand...
Click to collapse
Happens ! No problem at all
Wich app I Have to use to con figure the kernel?
With synapse for example which is coming with the kernel zip.
The ASV level showing on synapse, does it tell me if my chip in particular is bad? I have level 2, which is pretty bad...

[Kernel][Stock][KK] Lenovo A6000 MoStock-v1.48 [EOL]

The Background:
I got this phone as a replacement to Galaxy Grand and soon I realised it's not sufficient to be on the stock kernel for all obvious reasons.
I'm used to great kernels like Dorimanx on SII.
So I searched on the Lenovo and XDA forums and soon realised that Lenovo was releasing incomplete sources for their devices(Specially A6000). Soon they released LP build for A6000 along with complete kernel source. The LP source builds well but KK source was still incomplete. But the wait was over and they release complete source for Kitkat release.
I'm still using KK on this device because their LP builds are not yet mature and couple of features like Encryption are still missing on LP (I need them)
DISCLAIMER:
ONLY FOR KK 4.4.4 Stock ROM
I'm not responsible for bricked devices or flashing wrong version
You are using this kernel at your own responsibility
NO Lollipop Support, Don't ask for it
——— !!!!!!!! YOU HAVE BEEN WARNED !!!!!!!! ———
FEATURES:
This kernel include the following additional features:
* Built on Linaro 4.9.4, (Stock kernel is on 4.7)
* Cortex-A53 Optimizations
* Additional Governors, Alucard, Hyper, darkness, OnDemandPlus and others.
CREDITS:
Dorimanx (for all his kernel sources, SII, LG)
Alucard_24(for Alucard Governor)
Torvalds (Kernel 3.6.Y maintainer)
Stelistcristi (Contents of this post)
osm0sis (For Android Image Kitchen)
Kiran Anto (for his Razor kernel sources)
Download
http://chhapil.github.io
KERNEL SOURCE:
Source code of the kernel can be found here:
https://github.com/chhapil/Kernel-Lenovo-A6000-KK
TO Do List:
I'm planning to add following features, but NOT ETA
1. Create flashable zip instead of boot.img
2. Add SuperSU and busybox to the build
3. Add additional IO schedulers
4. Add Synapse Support
5. Overclocking
6. Other mods that I see fit
Steps:
1. adb reboot bootloader
2. For temporary flash, fastboot boot boot.img
3. For permanent flash, fastboot flash boot boot.img
4. The phone will reboot automatically.
5. The Stock Rom doesn't show Kernel version on about page, here is the command to verify the kernel.
PHP:
adb shell cat /proc/version
Linux version 3.10.28-Kernel-MoStock-V1.1-A6000+ ([email protected]) (gcc version 4.9.4 20150629 (prerelease) (crosstool-NG 1.20.0 - Linaro GCC 2015.06) ) #1 SMP PREEMPT Fri Nov 20 18:53:31 IST 2015
Click to expand...
Click to collapse
​
Changelog
ChangeLog
1.48
Added FauxSound
Added KCAL control
1.45
1. Now I'll be compiling and publishing modules also, flashable zip in to-do list
2. Latest prima wlan driver module in modules.zip
3. Fixed FM crashing issue.
1.44
kernel updated to mainline linux 3.10.94
lz4 compression on zram, ramdisk and kernel
Toolchain updated to UBERTC 5.3.x
1.25
This is GPU centric release
Added GPU frequency range from 100Mhz to 465Mhz.
Updated Adreno governor and Idler
Other tweaks related to build files.
Fixed FM Issue
This will result in longer standby time and less power usage during use.
I have been testing this kernel for a while now
1.22
1. Vibration control added
2. PowerSuspend Drivers updated
3. Some debuggers turned off
4. Logger size reduced
5. Some other optimizations
Thanks to @Kiran Anto I have been cherry picking is his commits recently.
1.18
Fsync option added to controls
Alucard hotplug + Power Suspend driver
Disabled MMC CRC check for faster performance
USB Fast charging support
1.12
Uber 6.0 Toolchain
Updated to 3.10.31
Other changes related to builds
1.7
This is a test build, I have updated the toolchain from Linaro 4.9.4 to Uber 5.2.
1.6
1. Busybox reverted, was causing issue with battery status,
2. recovery perms fixed, adb should work fine now
3 .Flashable script pulled from Dorimanx's LG G2 build, thanks for all his work till date
4 .I/O schedulers added, zen, fiops
5. Build script and tools updated
Currently recovery flashable zip also add Stweaks, but it won't work
1.3
busybox added
TCP congestion controls enabled
init.d support
more changes to build files
FAQs
1. Can I use it with MIUI ROM?
Honestly I don't know, people of reported that it works, better search the thread of relevant details
2. I bricked my phone!
Safest procedure to check whether your phone works with this kernel is not flash it in first attempt.
just put command "fastboot boot boot.img"
This temporarily boots phone with new kernel,
If phone fails to start with newer kernel it automatically falls back to older kernel.
If it works well, then you can permanently flash it with "fastboot flash boot boot.img"
3. My Wifi/FM not working
This is the issue with the kernel modules.
This issue has been laying around, here is the cause,
FM, Wifi drivers are loaded as modules by the kernel as per need. It has its own advantages in terms of kernel size and memory utilizations.
On stock ROM these modules are loaded from /system/lib/modules
My efforts had been till date to minimise the changes on the ROM to keep it working with existing modules. But it seems with optimizations and newer toolchains the hack wont work anymore and hence is FM crashes while loading the FM driver. (WLAN driver is still working though with the hack)
So I'm publishing the latest compiled modules. (Find them in attached zip) They would resolve this FM issue. Also the wifi modules
Here are the steps,
1. Download and extract the modules zip on your phone.
2. Backup existing radio-iris-transport.ko from /system/lib/modules
3. Copy and replace radio-iris-transport.ko from the modules folder in /system/lib/modules
4. Alternatively you can replace all the existing .ko files with the one i have provided. Make sure you backup them before replacing.
5. You can Use Es Explorer or ADB to follow these steps.
6. Set correct permissions 644 (either chmod 644 or ES Explorer-> file ->Properties->permissions)
new version released.
see change-log in second OP and on release page.
One more thing,
Please don't use my github for QnA, use XDA
Is anybody actually using the kernel?
There are no comments, nor i see any good traffic on the github downloads.
In case no response or activity, probably I'll stop posting the builds.
Let me know guys
Please don't stop making I will post your kernel in whatsapp
---------- Post added at 10:23 AM ---------- Previous post was at 10:20 AM ----------
Please post this on main thread of lenovo a6000
---------- Post added at 10:25 AM ---------- Previous post was at 10:23 AM ----------
Also please make this kernel for the cm11 compatible
WhatsApp? What's that for?
I have reported this thread to admin for not being visible in devices thread. It will be visible soon.
I can not make kernel for cm11. I'm not using cm11 and don't have to time to make flash and test on it.
Uber 5.2
I have created a build with Uber 5.2 to test overall smoothness, battery life and other factors.
Please let me know which build you feel better after testing (Linaro or Uber)
let me test on my k30t with miui7.
{
"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"
}
'It supports fast charging upto 1380 mah and this kernel is suitable for miui 7.I experienced it in stock kitkat rom and a user posted ss of this kernel in Miui 7 as above.please mention it in your page or on github page so that users can attract with this incredible kernel made by you.!!
Rahulraj943472 said:
'It supports fast charging upto 1380 mah and this kernel is suitable for miui 7.I experienced it in stock kitkat rom and a user posted ss of this kernel in Miui 7 as above.please mention it in your page or on github page so that users can attract with this incredible kernel made by you.!!
Click to expand...
Click to collapse
What is max charging current in stock lollipop kernel? I find charging to be slow. And when I checked it shows 600 mA while charging and thats a bit slow.
chhapil said:
I have created a build with Uber 5.2 to test overall smoothness, battery life and other factors.
Please let me know which build you feel better after testing (Linaro or Uber)
Click to expand...
Click to collapse
I would like to see the kernel optimised for Lollipop
averagegeek said:
I would like to see the kernel optimised for Lollipop
Click to expand...
Click to collapse
Me too!!
Waiting for lollipop version.
I'm waiting for lollipop version too ?
I'm not using lollipop build yet. But I can build it for you guys, but you will have to test and report
Finally some developer is doing work on this device, goo to see!
Yes, we will test your LP kernel & if possible please add OC support.
new build is up.
grab it from github
I dont have yet the bandwidth for LP builds
chhapil said:
new build is up.
grab it from github
I dont have yet the bandwidth for LP builds
Click to expand...
Click to collapse
Waiting for LP build for A6000 plus (64 bit).
Keep up the good work.!
Can I install this kernel on CM11.??
Thanks for creating this great custom kernel for our device.
your custom kernel works on MIUI 7. Great. It gives long battery life (about 25-30 hours on normal usage). Performance is good too.
Please add more custom governor and hotplug.
And please Lollipop build
Thanks
---------- Post added at 10:25 AM ---------- Previous post was at 10:21 AM ----------
Iqbal Ansari said:
Can I install this kernel on CM11.??
Click to expand...
Click to collapse
I've tested on CM11. Yes you can use it on CM11 (but you must create your own boot.img file, using CM11 ramdisk and MoStock kernel). But I found one bug (for now), WiFi will stuck on turning on. I don't know about other bugs.
I hope chhapil can fix wifi bug on CM11.
This kernel works like a charm on MIUI 7. No bug

Categories

Resources