Lightning kernel cm11 - Xperia Tablet Z Original Android Development

Lightning kernel
this kernel is made for cyanogenmod 11 roms and i take no responsibility if you brick,destroy your device due to this kernel
features
sound control 3.2
gpu overclock to 627mhz
intelli thermal
cpu overclock upto 1836mhz(disable mpdecision)
compiled with linaro 4.9.1
added intelliactive,intellidemand,preservative,hyper,wheatley,lionheart governors
row,fiops,tripndroid io schedulers
undervolting
sweep to wake and double tap to wake
auto mpdecision (turn off stock qcom mpdecession)
sound stuttering fixed(zzz sound while hearing music)
Motorola MSM memcpy enhancements
cpu unallingnment access
kernel mode neon
exfat support
gpu voltage control
multi rom byOlivier (sony 233 blobs)
more to come
source code https://github.com/nikhil18/android_kernel_sony_apq8064
installation instructions
flash the zip in recovery
for extreme overclocking disable qcom mpdecision
Setting custom GPU Voltages via sysfs
NB:
- Safe lock is present on MIN/MAX values:
Quote:
#define GPU_MIN_VDD 900000
#define GPU_MAX_VDD 1200000
The default GPU voltages are:
Quote:
+ [VDD_DIG_NONE] = 0,
+ [VDD_DIG_LOW] = 975000,
+ [VDD_DIG_NOMINAL] = 1075000,
+ [VDD_DIG_HIGH] = 1175000
Verify the actual settings:
Quote:
cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
975000
1075000
1175000
Adjust to desired values and verify:
Quote:
echo "930000 1000000 1100000" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
credits
doomlord for kernel building instructions
jeroenqui for meow kernel
thomas1991_12 for linux patches and features
cyanogenmod for kernel source
Tommy-Geenexus for guidance
faux123 - For almost all kernel features
Alx31TLse-for ramdisk
XDA:DevDB Information
Lightning kernel, Kernel for the Sony Xperia Tablet Z
Contributors
nikhil18
Kernel Special Features:
Version Information
Status: Testing
Created 2014-09-20
Last Updated 2014-09-20

changelog
version 1-initial release with all features
downloads

nikhil18 said:
changelog
version 1-initial release with all features
Click to expand...
Click to collapse
Awesome but which do I use for tablet z 312

cantenna said:
Awesome but which do I use for tablet z 312
Click to expand...
Click to collapse
pollux windy is wifi and pollux is wifi and 3g

.....

Does it also work on omnirom?also which app should we use to control cpu/gpu overclock?trickster mod or setcpu?

pangiotis24 said:
Does it also work on omnirom?also which app should we use to control cpu/gpu overclock?trickster mod or setcpu?
Click to expand...
Click to collapse
no it wont work on omni rom because its not cm based you can try carbon rom and use trickstermod kernel app available on playstore for cpu and gpu settings

gpu acceleration
Nog possible to use hardware acceleration in video. Used bsplayer and xbmc. Device resets. No overclock, just default settings. Pollux windy.

adoe said:
Nog possible to use hardware acceleration in video. Used bsplayer and xbmc. Device resets. No overclock, just default settings. Pollux windy.
Click to expand...
Click to collapse
Doesn't seem to work with multi rom, is it possible?

cantenna said:
Doesn't seem to work with multi rom, is it possible?
Click to expand...
Click to collapse
it should work because the kernel is multirom patched but only the twrp recovery is missing

if only CM have working GPS... daamn

Using this kernel the app animations lag a lot, also it seems like even though I'm forcing the min and max CPU clock to 1836mhz, It's still maxing out at the default 1.5ghz. Using the latest CM11 nightly on the pollux with a clean install. Any suggestions?

ok guys version 1 reuploaded the problem was the voltages which i did not change for the tabs and please use simple gpu governor because ondemand drains more battery.
Rootk1t said:
and what about interactive governor?
Click to expand...
Click to collapse
Could not find a proper commit for the governor but I had put one from nexus 4 but it did not work

nikhil18 said:
ok guys version 1 reuploaded the problem was the voltages which i did not change for the tabs and please use simple gpu governor because ondemand drains more battery.
Click to expand...
Click to collapse
and what about interactive governor?

I Love you OP! thanks for a custom kernel for my pollux windy will Try tomorrow

This is a really good kernel! Possible to make it compatible with aero control from play store? Cheers

cantenna said:
This is a really good kernel! Possible to make it compatible with aero control from play store? Cheers
Click to expand...
Click to collapse
It is compatible but trickster mod app is still better
Sent from my C6603 using XDA Premium HD app

Seems to be one of the best kernel
As title say, it's true. I installed this kernel o cm11.pollux10072014 and everything is just great. I was made my root with a help by xzdualrecovery. Put some mods as a beats 2.0 and voilà... Everything is a perfect. CPU is ticking on 1728 MHz with a governor INTERACTIVE and GPU is on 627 MHz and the governor is PERFORMANCE. I'm using 3c toolbox pro, formerly called Android Tuner to set all clocks, governors and build.prop and the stuff include OOM, SD Card boost, Entropy etc. etc. So now, I have in a new Antutu benchmark (5.1) score about 25500 points. So big thanks to the developer for this great kernel. Have a great time, Peter :good: :laugh:

nikhil18 said:
It is compatible but trickster mod app is still better
Sent from my C6603 using XDA Premium HD app
Click to expand...
Click to collapse
Any chance for an aosp kernel?
I find omnirom the smoothest rom for pollux_windy.

varben said:
Any chance for an aosp kernel?
I find omnirom the smoothest rom for pollux_windy.
Click to expand...
Click to collapse
No bro I need to make the kernel from scratch and I don't have time but I am going to make a kernel for omni ROM when lolipop comes out which will be also compatible with cm12

Related

[KERNEL] vta2-kernel for Nexus S Jelly Bean #130

I built this kernel for my daily use, now i decided to share it here!
Work with Nexus World Wide Version (i9023/i9020t).
※ Basically it is made for Official Stock ROM (JRO03E/JZO54K). it may NOT work with other ROMs.
Not working with CyanogenMod!
Main features of this kernel:
1.25GHz
Based on Linux Kernel 3.0.73
Based on AOSP
Touchwake ADVANCED (allowing you wake up your phone by touching screen when you got a notification ) (based on Ezekeel's work)
10-point multitouch
Force AC charging by chad0989
UKSM (Ultra Kernel Samepage Merging)
MTP (thanks to bedalus and Krarvind!)
High Bigmem
BLN by Ezekeel
BLD by Ezekeel
Powerkey Presses Counter
init.d support
Optimized CRC32 algorithm
SLUB
Custom Voltage by Ezekeel
mount dalvik-cache to /cache
undervolted
RCU Boost
Voodoo by supercurio
included busybox
USB OTG v5 by sztupy Read this. (not sure if this work on Jelly Bean)
CRT-off animation fix from CyanogenMod team.
PM_FAST
...
Default: interactive / sio
Thanks to all contributors of this kernel!
And welcome to fork it on my github.
Download vta2-kernel / Changelog
TODO:
Bluetooth battery drain fix.
ROW I/O scheduler ( kernel module )
...
Any Suggestion? Tell me here
hi crt is fix ?
leap_ahead said:
hi crt is fix ?
Click to expand...
Click to collapse
yes.
Thanks for the share.. works great.
krfoy said:
I built this kernel for my daily use, now i decided to share it here!
Tested on my Nexus S i9023 and it should also works on i9020.
Main features of this kernel:
1.24GHz
Based on Linux Kernel 3.0.38
Based on AOSP
for Nexus S JRO03E stock ROM
Bigmem
Touchwake
BLN
BLD
init.d support
Optimized CRC32 algorithm
SLUB
Custom Voltage
mount dalvik-cache to /cache
undervolt
Deep Idle
RCU Boost
Voodoo
included busybox
USB OTG v5
FSync control
CRT-off animation fix from CyanogenMod team.
This kernel uses smartassV2 and SIO as default governor and I/O schedulers.
Thanks to all contributors of this kernel!
And welcome to fork it on my github.
Download vta2-kernel #11 here.
Click to expand...
Click to collapse
Can you make a version with also fast charge? Anyway working great
Inviato dal mio Nexus S con Tapatalk 2
I'd like to see more feedback about this kernel as it looks promising. Thank you
Sent from my Nexus S using xda app-developers app
Kernel is good.. snappy.. nice performance..
There is no 1000mhz on the clock, so it's always on 1.24ghz ..
Pls add interactive governor.. I can't change the governor, only shows smartassv2 ...
Battery life not gr8.. But runs well.. power hungry games are smooth.. good overall..
Sent from my Nexus S using xda app-developers app
spupuz said:
Can you make a version with also fast charge? Anyway working great
Inviato dal mio Nexus S con Tapatalk 2
Click to expand...
Click to collapse
may be included in next stable release.
siddhesh.raikar said:
Kernel is good.. snappy.. nice performance..
There is no 1000mhz on the clock, so it's always on 1.24ghz ..
Click to expand...
Click to collapse
This is inspired by SAMSUNG Infuse 4G, which use the same CPU and do not have 1.0GHz step in its stock kernel.
when there are both 1.24 and 1.0GHz, the governor will prefer to use 1.24GHz. And i thought it may help governor switch between steps faster.
so it won't eat more battery in this case.
siddhesh.raikar said:
Pls add interactive governor.. I can't change the governor, only shows smartassv2 ...
Click to expand...
Click to collapse
I only built smartassV2(tweaked) into kernel. because it balance between battery life and performance.
There are also include kernel module of ondemand and conservative, you could load them by insmod if you like.
Thank you very much and must try it .
krfoy said:
This is inspired by SAMSUNG Infuse 4G, which use the same CPU and do not have 1.0GHz step in its stock kernel.
when there are both 1.24 and 1.0GHz, the governor will prefer to use 1.24GHz. And i thought it may help governor switch between steps faster.
so it won't eat more battery in this case.
I only built smartassV2(tweaked) into kernel. because it balance between battery life and performance.
There are also include kernel module of ondemand and conservative, you could load them by insmod if you like.
Click to expand...
Click to collapse
Thanks... Pls try and include HighBigMem in the next version...
thanks for your kernel! i will try it now and report back
EDIT: unfortunately kernel doesn't work for me - i use it with paranoidandroid and rom was really sluggish at first (maybe cache-related...). then i startet setcpu for adjustments and the phone stopped responding with "colorful snow" on the screen. i pulled battery to reboot. - maybe my 9023 doesn't like 1,24 ghz (it is a bit picky, but 1,2 ghz at stock vol was never a problem).
invd said:
thanks for your kernel! i will try it now and report back
EDIT: unfortunately kernel doesn't work for me - i use it with paranoidandroid and rom was really sluggish at first (maybe cache-related...). then i startet setcpu for adjustments and the phone stopped responding with "colorful snow" on the screen. i pulled battery to reboot. - maybe my 9023 doesn't like 1,24 ghz (it is a bit picky, but 1,2 ghz at stock vol was never a problem).
Click to expand...
Click to collapse
Not so sluggish at my side.
invd said:
thanks for your kernel! i will try it now and report back
EDIT:i startet setcpu for adjustments and the phone stopped responding with "colorful snow" on the screen. i pulled battery to reboot. - maybe my 9023 doesn't like 1,24 ghz (it is a bit picky, but 1,2 ghz at stock vol was never a problem).
Click to expand...
Click to collapse
same here with nstools
@OP or @DaXmax: Is there anything I can do to help at finding the problem? logcat? or is it just my phone being picky?
Deep idle? Are u sure it's fully working?
Sent from my Nexus S using xda app-developers app
ioplkj13 said:
Deep idle? Are u sure it's fully working?
Sent from my Nexus S using xda app-developers app
Click to expand...
Click to collapse
Its working.
I may replace deep idle with CPUidle or IDLE2 by _thalamus in the future.
invd said:
@OP or @DaXmax: Is there anything I can do to help at finding the problem? logcat? or is it just my phone being picky?
Click to expand...
Click to collapse
try stock kernel or raise up voltage?
krfoy said:
try stock kernel or raise up voltage?
Click to expand...
Click to collapse
can you update OP with to do list feature that are you going to add?
krfoy said:
try stock kernel or raise up voltage?
Click to expand...
Click to collapse
yea, well, with stock kernel (and thalamus and matr1x and air kernel) everything runs fine, but i wanted to know, if there is a way to find out what exactly causes the problem with your kernel and my phone (which also might help somebody else). - raising the vol does not help that much, still some freezes from time to time (even though i'm above stock vols).

[Kernel][AOSP][4.3/4.4][Linux 3.0.101][TWRP 2.6.3]aidfarh's kernel (updated 13-12-20)

WARNING!!
This kernel allows you to set the CPU frequency beyond the stock rated frequencies. Do this at your own risk! I will not be responsible for any damage to your device if you do so!
INTRODUCTION
It seems there's a dearth of kernels for JB 4.3 AOSP-based ROM for the i9100g. So I'm deciding to share my own custom kernel for those who want some alternative to the the built-in kernels on the AOSP/CM10.2-based ROMS.
I can't think of a fancy name for this, so let's just call it aidfarh's kernel for now.
Any feedback is welcome.
FEATURES
Based on Mokee v43 kernel, which is based on CM10.2 kernel
Updated to Linux version 3.0.98
TWRP 2.6.3 recovery
USB fastcharge available (disabled by default)
Governors:
Ondemand
Hotplug
Userspace
Interactive V2 by imoseyon
InteractiveX by imoseyon
Performance
Powersave
Conservative
Lulzactive
PegasusQ
AbyssPlug
I/O schedulers:
cfq
noop
deadline
row
Dynamic management of dirty page writebacks
Some optimisations - hard float, some cache optimisations, disabled tracing
CHANGELOG
20131010:
Added 200 & 1350 MHz CPU frequencies. Overclock/underclock at your own risk!
Updated row scheduler to V4 and tweaked default settings.
Modified power.t1.so and included in kernel zip.
20131013:
Prevent omap4 duty cycle from overriding user selected cpu max_frequency.
Optimize cpufreq transition latency.
20131023:
Update to make it work with new multi-sim feature in CM-10.2.
20131113:
Updated to Linux kernel version 3.0.101.
Added SIO scheduler.
20131220:
Android 4.4 (built on Omnirom 4.4 source tree).
20131222:
Released different versions for Omnirom 4.4 and CM11.
Omnirom 4.4 version - fix max frequency behaviour (power.t1.so)
REQUIREMENTS
Android 4.3
This kernel should work with any CM10.2 based ROM. Tested on CM10.2 and Mokee
It would probably also work with non-CM AOSP 4.3 based ROM, but due to differences in implementation, some features might not work 100%.
Android 4.4
I've produced two versions of this kernel. One is compatible with Omnirom 4.4 and the other is compatible with CM11. Compatibility with other Android 4.4 roms is unknown.
INSTRUCTIONS
Flash the zip in CWM or TWRP recovery.
CREDITS
Thanks to:
codeworkx and the cyanogenmod team
Omnirom team
Ryuinferno and the Mokee team - this kernel uses the Mokee kernel as the starting point
imoseyon and leanKernel devs - some commits were cherry picked from the leanKernel source
Team Win Recovery Project Team
Google and Samsung
Linus Torvalds and all Linux developers
DOWNLOAD
Android 4.3
20131004: Download
20131010: Download
20131013: Download
20131023: Download
20131113: Download
Android 4.4
Omnirom 4.4 compatible:
20131220: Download
20131222: Download
CM11 compatible:
20131222: Download
SOURCE CODES
Kernel source code
My github (device settings etc.)
TO-DO
Add more CPU frequencies/overclock/underclock
Tweak default governor tuneables - suggestions welcome
Update ROW scheduler to V4
Further optimisations
P.S. For some reason I can't edit the first post. Is there a problem with the server? (Edit: solved by using Firefox instead of Chrome)
Showing some support here......are you editing using Tapatalk? I face that from time to time...
You forgot this: https://github.com/aidfarh/android_kernel_samsung_t1/commit/6faac1345139ea7301dd4c98d7bf200b77167a9a
And just a heads up, the last time when I tired to apply interactiveX, I faced random reboots in recovery...
Ryuinferno said:
Showing some support here......are you editing using Tapatalk? I face that from time to time...
You forgot this: https://github.com/aidfarh/android_kernel_samsung_t1/commit/6faac1345139ea7301dd4c98d7bf200b77167a9a
And just a heads up, the last time when I tired to apply interactiveX, I faced random reboots in recovery...
Click to expand...
Click to collapse
I was using Chrome. After clicking the Edit/Delete button I just got that cursor spinning on and on. Editing using Firefox was fine.
And yeah, I also had the same problem with interactiveX, but that was back during ICS days. The reason was interactiveX didn't coexist well with interactive, so my solution back then was to use only interactiveX and disable interactive. I'll do some more tests and hopefully the newer versions work well.
Whats the frequences of overclocking ? .thanks...
Στάλθηκε από το GT-I9100G μου χρησιμοποιώντας Tapatalk 2
spirosbakos said:
Whats the frequences of overclocking ? .thanks...
Στάλθηκε από το GT-I9100G μου χρησιμοποιώντας Tapatalk 2
Click to expand...
Click to collapse
No overclocking yet.
this kernel can be used on crdroid rom or not ?
peped94 said:
this kernel can be used on crdroid rom or not ?
Click to expand...
Click to collapse
If it's based on CM10.2 it should be compatible. How about you try it and see?
aidfarh said:
If it's based on CM10.2 it should be compatible. How about you try it and see?
Click to expand...
Click to collapse
okayy. but im so afraid to try it first. im worried my device will get into bootloop. and i am lazy to do a nandroid backup. haha
I tried it and it works on Avatar rom latest , thanks for this kernel
how about battery ???
i heard that the linux kernal not battery friend ??
madoooz said:
how about battery ???
i heard that the linux kernal not battery friend ??
Click to expand...
Click to collapse
==…all Android kernels are linux based...
Flashed on Cm10.1.3 so far no issue
Is there any way i can enable fast charge (default is disabled) or no way if rom dont support.
Sent from my GT-I9100G using xda premium
Just what I've been waiting for. I'm gonna test wright away. Can wait. Tnx!
Verstuurd van mijn GT-I9100G met Tapatalk
nainaabd said:
Flashed on Cm10.1.3 so far no issue
Is there any way i can enable fast charge (default is disabled) or no way if rom dont support.
Sent from my GT-I9100G using xda premium
Click to expand...
Click to collapse
so it's working on 4.2.2 too?
game4life said:
so it's working on 4.2.2 too?
Click to expand...
Click to collapse
Yes (Cm10.1.3 =4.2.2)
Sent from my GT-I9100G using xda premium
Boots good on Slim. interactivex + cfq 0 critical issues so far.
Sent from my GT-I9100G using XDA Premium 4 mobile app
Suo.Eno said:
Boots good on Slim. interactivex + cfq 0 critical issues so far.
Sent from my GT-I9100G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Is vibration intensity working on slim with this kernel?
iXanza said:
Is vibration intensity working on slim with this kernel?
Click to expand...
Click to collapse
Woopsies didn't check that on Slim bro sorry. Now flashing this to that other ROM that shall not be named if you get my whiff. Yeah can't find vibration intensity in settings here either if that helps.
nainaabd said:
Flashed on Cm10.1.3 so far no issue
Is there any way i can enable fast charge (default is disabled) or no way if rom dont support.
Sent from my GT-I9100G using xda premium
Click to expand...
Click to collapse
Use TricksterMOD...
iXanza said:
Is vibration intensity working on slim with this kernel?
Click to expand...
Click to collapse
Slim still uses old code, so until it updates, newer kernels won't have vibration control in Slim...

[KERNEL]elementaryKernel v1.4

This month I created a new kernel to compensate for the lost stability in Badass, and I thought it would be nice to share it with you.
Based on the original 2.6.35 source from Samsung OpenSource Software, this kernel is cleaner than Badass, without unnecessary hybrid updates and risky mods.
Features:
3-step Undervolted
Brain F*ck Scheduler 0.413 with O(1) complexity instead of O
UltraKSM 0.122
Sweep2Wake
DoubleTap2Wake (on the upper half of the screen)
DoubleTap2Play/Pause (on the lower half of the screen)
DoubleTap2Lock (on the StatusBar)
SwipeBack
Pocket Keyguard (to avoid accidental unlocks when the phone is inside the pocket)
SIOPlus I/O Scheduler
Optimized Wheatley CPU Governor
Fast Random Generator (frandom)
LowMemoryKiller 3.4
Entropy tweaks (haveged service, binfmt_elf.c code optimization)
Dynamic Readahead, cache pressure and writeback parameters
Adaptive Overclock
Changelog:
v1.4
New Adaptive Overclock feature
Fully functional LowMemoryKiller from 3.4 kernel
LZ4 compression for ZRam, kernel and ramdisk
v1.3
Fix multitouch
Add 825MHz and 844MHz overclock frequencies
v1.2
Improve branch prediction for Tass drivers
Add Dynamic Overclock
Implement Dynamic cache pressure and writeback parameters
Global SwipeBack feature (swipe left from the right side of the action bar)
Disable kernel logs (printk)
Add modified Wheatley governor
Update Zram and ZsmAlloc drivers from androidarmv6 sources
Make most launcher unkillable
Use different minfree/adj configuration for improved multitasking
Add a NoSweep kernel version
v1.1
Add Landscape mode for DoubleTap2Lock
Update BFS to 0.416
Add AOKP build
Downloads​
What is Adaptive Overclock?
If the max frequency is higher then 600 MHz, the CPU will be allowed to use that frequency only in extreme cases, when it is actually needed. (e.g. gaming, surfing internet, heavy multitasking)
This feature works only with the Wheatley governor.
Don't use scripts/perfomance packs/Crossbreeder on this kernel. Just don't.
XDA:DevDB Information
elementary Kernel, a Kernel for the Samsung Galaxy Mini
Contributors
alin.p
Kernel Special Features: Sweep2Wake, DoubleTap2Wake/Lock, Undervolting
Version Information
Status: Stable
Current Stable Version: 1.4
Created 2014-01-12
Last Updated 2014-02-03
Badass kernel 2.1? LOL.
I know it's not, but this is how I take it.
And a question: Will you release it for all CM versions?
I honourably request for such kernels for Cyanogenmod 10.2 and 11.
Sent from my SM-N9005 using XDA Premium 4 mobile app
ast00 said:
Badass kernel 2.1? LOL.
I know it's not, but this is how I take it.
And a question: Will you release it for all CM versions?
Click to expand...
Click to collapse
It's a completely different source actually, but yeah, it contains most of the badass features in an upgraded form.
Yes I'll compile for other CM versions too in the near future.
jamesmuking5 said:
I honourably request for such kernels for Cyanogenmod 10.2 and 11.
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I already have a CM10.2 and CM11 build in the works. Stay tuned
alin.p said:
It's a completely different source actually, but yeah, it contains most of the badass features in an upgraded form.
Yes I'll compile for other CM versions too in the near future.
I already have a CM10.2 and CM11 build in the works. Stay tuned
Click to expand...
Click to collapse
Log disabled or enabled?
Edit-Enabled(checked myself)
Can you explain dynamic read ahead.isnt read aheads located in sys/devices/virtual/bdi/..
Sent from my GT-S5570 using XDA Premium 4 mobile app
alin.p said:
This month I created a new kernel to compensate for the lost stability in Badass, and I thought it would be nice to share it with you.
Based on the original 2.6.35 source from Samsung OpenSource Software, this kernel is cleaner than Badass, without unnecessary hybrid updates and risky mods.
Features:
3-step Undervolted
Brain F*ck Scheduler 0.413 with O(1) complexity instead of O
UltraKSM 0.122
Sweep2Wake
DoubleTap2Wake (on the upper half of the screen)
DoubleTap2Play/Pause (on the lower half of the screen)
DoubleTap2Lock (on the StatusBar)
Pocket Keyguard (to avoid accidental unlocks when the phone is inside the pocket)
SIOPlus I/O Scheduler
Optimized OnDemand CPU Governor
Fast Random Generator (frandom)
LowMemoryKiller 3.4
Entropy tweaks (haveged service, binfmt_elf.c code optimization)
Dynamic Readahead
Downloads:
elementarycm9.zip - 4.86 MB (only CM9 based ROMs for now)
XDA:DevDB Information
elementary Kernel, a Kernel for the Samsung Galaxy Mini
Contributors
alin.p
Kernel Special Features: Sweep2Wake, DoubleTap2Wake/Lock, Undervolting
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2014-01-12
Last Updated 2014-01-12
Click to expand...
Click to collapse
you can add monitor mode to this kernel?
its a badass new feature.
arpitkh96 said:
Log disabled or enabled?
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Log enabled.
SMOKERBUNNY said:
you can add monitor mode to this kernel?
its a badass new feature.
Click to expand...
Click to collapse
Never quote whole OP. Make a mention instead if you want me to get notified of your reply.
Monitor mode is already there, you can use Shark for Root from Playstore to get this functionality.
alin.p said:
Log enabled.
Never quote whole OP. Make a mention instead if you want me to get notified of your reply.
Monitor mode is already there, you can use Shark for Root from Playstore to get this functionality.
Click to expand...
Click to collapse
I have an init.d script which set sdcard read ahead to 128kb.will this effect dynamic read ahead of your kernel
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
I have an init.d script which set sdcard read ahead to 128kb.will this effect dynamic read ahead of your kernel
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Dynamic readahead works with the RAM readahead not the Sd-card values. But please don't use any scripts on this kernel if you want full stability and performance. I only recommend Greenify for improving the performance.
alin.p said:
Dynamic readahead works with the RAM readahead not the Sd-card values. But please don't use any scripts on this kernel if you want full stability and performance. I only recommend Greenify for improving the performance.
Click to expand...
Click to collapse
Ok thanks. I noticed that after installing kernel sdread ahead values are 2048.shouldn't they be lesser like 512 or 128.i experienced better performance and battery on 128.even cm11 have 128kb by default.
Sent from my GT-S5570 using XDA Premium 4 mobile app
@alin.p
glad to meet u again, keep ur hard work on new kernel
is this kernel same as u sent before or it's newer version?
Anyone else having trouble with Dev-Host today? It took me half an hour to download it without timeout.
arpitkh96 said:
Ok thanks. I noticed that after installing kernel sdread ahead values are 2048.shouldn't they be lesser like 512 or 128.i experienced better performance and battery on 128.even cm11 have 128kb by default.
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
In my R/W speed tests 2048 and 3072 got the best results. 128kb gave me very slow reading speeds, even 4 times slower than with 2048.
magmini said:
@alin.p
glad to meet u again, keep ur hard work on new kernel
is this kernel same as u sent before or it's newer version?
Click to expand...
Click to collapse
It is a much newer version.
Does it work on Miui Caspian Series?
XDRdaniel said:
Does it work on Miui Caspian Series?
Click to expand...
Click to collapse
I don't remember what that ROM is based on. If it is based on CM9 it will work. Ask @magmini
It's AOSP...
XDRdaniel said:
It's AOSP...
Click to expand...
Click to collapse
New AOSP build. Check the OP.
alin.p said:
I don't remember what that ROM is based on. If it is based on CM9 it will work. Ask @magmini
Click to expand...
Click to collapse
XDRdaniel said:
It's AOSP...
Click to expand...
Click to collapse
yes, it's AOSP but both AOSP&CM kernels working on my miui :silly:
alin.p said:
New AOSP build. Check the OP.
Click to expand...
Click to collapse
And what now? CM 10.2 or CM11? BTW I would appreciate having an app to turn off doubletap to wake/sleep. I tried typing CM11 and it made my phone go sleep. In landscape the button 1 is where the detection zone is.
Sent from my GT-S5570 using xda premium
@alin.p please dont neglect galaxy fit . We r waiting for u

[KERNEL][Z] Rojak Kernel (v5) for Omnirom (20141105)

Rojak Kernel for Xperia Z
WARNING!!
This kernel allows you to set the CPU frequency beyond the stock rated frequencies. Do this at your own risk! I will not be responsible for any damage to your device if you do so!
INTRODUCTION
This is a kernel for Xperia Z running Omnirom. It may or may not work on other roms.
Any feedback is welcome.
FEATURES
Linux 3.4.86
Gamma control
Sweep 2 Wake
Doubletap 2 wake
USB Fastcharge
CPU overclocking up to 1836 MHz
Intelli-Plug
Additional CPU governors - intellidemand, intelliactive, preservative
Additional I/O scheduler - bfq, sio, fiops
GPU overclocked to 450 MHz
Additional GPU governor - simple
Voltage control
Sound control
Intellithermal (NEW)
REQUIREMENT
This kernel work with Omni 4.4 for Xperia Z. It's tested on Omni 4.4.4 nightly build 20141031. Please update your rom if you're using an older version.
INSTRUCTION
Make sure you're using Omnirom build 20140324 or later. Download here. Flash the zip in CWM or TWRP recovery.
NOTES
To change CPU governor or min/max cpu frequency (i.e. over/underclocking), first disable MPDecision and enable Intelliplug using an app like Fauxclock or Trickster Mod. To over/underclock, use Omnirom's performance setting. Third-party apps might not work.
To use Gamma control, see this post: http://forum.xda-developers.com/showpost.php?p=45436325&postcount=3. Credits to alnikki25k.
.
SOURCE CODE
https://github.com/aidfarh/android_kernel_sony_apq8064/tree/rojak_kk
CREDITS
This kernel is based on Omnirom kernel for yuga. Various codes were copied from kernels by DoomLord, alnikki25k, maxwen and faux123. Thanks to all other kernel developers who's contributed codes to various linux and android kernels.
XDA:DevDB Information
Rojak Kernel for Yuga, Kernel for the Sony Xperia Z
Contributors
aidfarh
Kernel Special Features:
Version Information
Status: Stable
Created 2014-03-26
Last Updated 2014-11-05
Reserved
CHANGELOG
v1 (2014-03-25)
Gamma control
Sweep 2 Wake
Doubletap 2 wake
USB Fastcharge
CPU overclocking up to 1836 MHz
Intelli-Plug
Additional CPU governors - intellidemand, intelliactive
Additional I/O scheduler - bfq
v2 (2014-03-27)
Added sio and fiops I/O schedulers
Overclock GPU to 450 MHz
Include wlan firmware in kernel zip
v3 (2014-04-12)
Added voltage control
Added preservative CPU governor
Updated GPU drivers (copied from xzaosp kernel)
Added simple GPU governor
Kernel updated to Linux 3.4.86
Compiled using Linaro 4.7-2014.01 toolchain
Various optimisations (mostly cherry-picked from xzaosp kernel by alnikki25k) (see github for details)
Added sound control (doesn't seem to work)
v4 (2014-05-05)
Added sound control v3.2
Compiled using Linaro 4.8-2014.03 toolchain
Enabled some linaro optimisations
v5 (2014-11-05)
Synced with updated omnirom kernel source code
Compiled using Christopher83's 4.9.2-2014.09 toolchain
Added intellithermal (disabled by default; enable using Trickster Mod, Fauxclock or similar app)
Updated intelliplug to ver 3.8
Modified preservative governor for extra smoothness
Also see the notes in this post: http://forum.xda-developers.com/showpost.php?p=56506979&postcount=134
Congrats on your kernel, mate! Looks good, will try this
Will this work on ROM based on Omnirom like for example Dirty Unicorn...
Sent from my C6603 using Tapatalk
Vishalkris said:
Will this work on ROM based on Omnirom like for example Dirty Unicorn...
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
I honestly don't know. Please try and provide feedback.
K will do it
Sent from my C6603 using Tapatalk
Im wondering the same thing.Tell us when you test please.
FakeSmile said:
Im wondering the same thing.Tell us when you test please.
Click to expand...
Click to collapse
ok first im updating my rom DU...new test build then once booted in to the system will flash the kernel and update how things go...:angel:
---------- Post added at 02:40 AM ---------- Previous post was at 02:17 AM ----------
flashed the kernel on Dirty Unicorn Build 25...every things good...no graphic glitches like Meow Kernel...
Bugs:
1) WiFi doesn't work. @aidfarh it would be good if you provide a Wifi module zip file till u find a way to resolve the issue.
2) A little digestible lag... while scrolling list view in settings and i also while scrolling side wise in the app drawer...
Suggestions.
1) More CPU governors. i know will happen today or tomorrow
2) Release Wifi Modules till the kernel is compatible with omni based roms
3) GPU overclocking can be peaked a little more higher (meow kernel had achieved it 450Mhz u can look in to it)
4) Never leave devloping this kernel as its the first for Omni and we got limited choice when it comes to kernel based on aosp and cm
But still for this stage the kernel is "remarkably good". lots of high expectations from all the omni rom and omni rom based rom users
Keep up the good work
I can confirm that it perfectly working with aslyum rom latest..nothing find unusual.. Post it soon regarding the battery life..
Edit: wifi reception was lower than stock omini..
Sent from my C6603 using Tapatalk
Vishalkris said:
ok first im updating my rom DU...new test build then once booted in to the system will flash the kernel and update how things go...:angel:
---------- Post added at 02:40 AM ---------- Previous post was at 02:17 AM ----------
flashed the kernel on Dirty Unicorn Build 25...every things good...no graphic glitches like Meow Kernel...
Bugs:
1) WiFi doesn't work. @aidfarh it would be good if you provide a Wifi module zip file till u find a way to resolve the issue.
2) A little digestible lag... while scrolling list view in settings and i also while scrolling side wise in the app drawer...
Suggestions.
1) More CPU governors. i know will happen today or tomorrow
2) Release Wifi Modules till the kernel is compatible with omni based roms
3) GPU overclocking can be peaked a little more higher (meow kernel had achieved it 450Mhz u can look in to it)
4) Never leave devloping this kernel as its the first for Omni and we got limited choice when it comes to kernel based on aosp and cm
But still for this stage the kernel is "remarkably good". lots of high expectations from all the omni rom and omni rom based rom users
Keep up the good work
Click to expand...
Click to collapse
I expected that wifi might not work with other roms or older omnirom builds. The latest omnirom kernel has updated wlan drivers but it also need updated wlan firmware to work. Try flashing the attached zip that contains the updated wlan firmware and see if it works.
Lags are hard to quantify and hard to fix. Try other CPU governors or I/O schedulers and see if things improve.
What CPU governor to do you want?
GPU overclocking is planned, but I can't promise anything.
FINALLY!!!! When i sow the thread title i couldn't believe my eyes
Long time we are waiting for a kernel that support Roms that are not based on stock, specially when u bring to us Gamma control and fast charge pleasure.
So i want to say thank u aidfarh from all of my heart, and yes plz don't stop this, keep the development up as much as u can cuz we need u
(now i feel like i am a little girl who asking too much LOL).
I am about to flash PA today, will flash it and I'll try your kernel to see how it goes, and if it doesn't then i'll back to my favorite ROM Dirty Unicorns then i'll try again.
Thank U :victory:
works good in DU
Sent from my C6603 using Tapatalk
off-topic: hahaha ROJAK kernel. typical orang malaysia in naming mixed things!
back to topic, could you include FIOPS IO scheduler by faux123? According to faux, intellidemand/active works the best when combine with FIOPS scheduler.
kingrion88 said:
off-topic: hahaha ROJAK kernel. typical orang malaysia in naming mixed things!
back to topic, could you include FIOPS IO scheduler by faux123? According to faux, intellidemand/active works the best when combine with FIOPS scheduler.
Click to expand...
Click to collapse
Thanks for your suggestion. I'll take it under consideration.
Will this kernel work on Paranoid Android??
acutraaq said:
Will this kernel work on Paranoid Android??
Click to expand...
Click to collapse
Try the pacman kernel will work
Sent from my C6603 using Tapatalk
OK.. It's working on DU 15/03/2014 build, had no WIFI but after flashing wlan firmware the WiFi get fixed.
I don't have any random errors, FC's, Reboots, lags... everything is perfect.
One thing I've noticed is Gamma control, the sittings doesn't stick after reboot and i don't now if that is the same for fast charge or for the
o/u clocking.
Will keep testing...
Its working flawless on infected's omni build 0324. Hope u keep updating this Bad ass. No issues at all so far. Cant wait for the sound control! Thank you dude.
Gesendet von meinem C6603 mit Tapatalk
I need to buy the app to use gamma control,right?
FakeSmile said:
I need to buy the app to use gamma control,right?
Click to expand...
Click to collapse
Yes faux clock
Sent from my Xperia Z using Tapatalk

[KERNEL][Z][6.0.1][CM/AOSP] Airless Kernel

Introduction
The idea for creating this kernel came up around a year ago, during early LP custom ROM builds. I thought it would be a nice idea to fork the most advanced kernel at the time, EvoMix, developed by our renowned Olivier, Joe (SuperHanns) and Alex, and add to it the latest upstream 3.4 patches as well as mix its features with another good kernel, KMA.
After that experiment turned out not so bad, me and fellow xda user BrateloSlava got an idea to continue developing that mixed kernel with our own cherry-picks from the best kernels available for various devices, and use it in my builds of RR and later GZR Tesla ROM.
Now, one year later, I continued the development that BrateloSlava did on the kernel for the last months for my Tesla and Validus ROMs, and I thought it would be a nice idea to extend this kernel's availability to the users of all custom ROMs around at the moment.
So, here is Airless Kernel for Xperia Z, compatible with all CM/AOSP based Marshmallow ROMs.
Features:
CPU
- Governors: ondemand, interactive, performance, intellimm, yankactive, yankdemand, zzmoove, barry_allen
- Multicore Power Saving - tries to group tasks into the least cores possible
- Schedule workqueues on awake CPUs
- CPU Frequency underclock (192 MHz) and overclock (1.7 GHz) capability
- Voltage regulation
Thermal management
- Simplified and efficient thermal driver
- Flexible ramp threshold temperature
GPU
- Governors: simple, ondemand, performance
- 27 MHz idle frequency for ideal power saving
- Overclocked to 487 MHz
Sound
- Faux Sound Control allowing amplified speaker, headphones and microphones volume
Misc
- RGB subtractive color control
- I/O Schedulers: sioplus, bfq, fiops, zen, row, deadline, noop
- Dynamic FSYNC
- Kernel Samepage Merging
- ARM Auto Hotplug (mpdecision replacement) - no tunables
- Gentle Fair Sleepers
- PM: Power Suspend as a replacement to Early Suspend
- TCP congestion protocols: westwood, highspeed, cubic, reno
- Disabling of some well known wakelocks (e.g. msm_hsic_host)
- Double Tap to Wake
- Fast Charge
- Vibration Strength control
- Compiled with latest UBER 5.x GCC toolchain
- Latest upstream patches: 3.4.112
- Many build flag optimizations (graphite, Ofast)
Download
Latest version (20160901)
Installation:
- Make sure you're running a CM or AOSP-based Marshmallow ROM (Resurrection Remix, AOKP, etc..)
- Flash the zip in TWRP 3.0 (tested, recommended) or other compatible recovery
- Reboot
Source code
Github link
Bug reporting rules
Only use the DevDB bug report tool for reporting bugs, provide proper logs and state the ROM, its XDA thread and version you're using. All other reports will be ignored!!
You assume all responsibility for anything that may happen
and I cannot and will not be held responsible
for anything that may happen to your device as a result of flashing a kernel.
*FLASH AT YOUR OWN RISK*
XDA:DevDB Information
Airless Kernel, Kernel for the Sony Xperia Z
Contributors
airlessproject, BrateloSlava
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2016-09-01
Created 2016-05-09
Last Updated 2016-09-01
Tunables for reducing minimal brightness:
Code:
### Reduce backlight brightness
## to revert to default - enter 0
echo "8" > /sys/module/leds_lm3533_ng/parameters/lm3533_bl_reduction;
## values of brightness, lower than lm3533_bl_brightness_min, are being decreased by lm3533_bl_reduction
echo "30" > /sys/module/leds_lm3533_ng/parameters/lm3533_bl_brightness_min;
Important: disable mpdecision in Kernel Adiutor. This kernel has its own hotplugging driver.
Oh god thanks, i can't wait to try this kernel :fingers-crossed:
Sent from my D6503 using Tapatalk
THX! works great! on AOKP
Sent from my Xperia Z using XDA-Developers mobile app
Thanks bro.Good work.
@airlessproject
RGB subtractive color control
Click to expand...
Click to collapse
How do I make make use/activate it?
Also, could you please add pre-tuned Gamma settings like Tommy-Geenexus did for his Zombie Kernel? As you are well aware, the XZ screen by default is very dull and could do with extra constract/saturation.
Thanks
Edit--
After flashing this kernel, it feels a bit sluggish as if it's saving too much power.
Will install it now. Can you add lower brightness like in zombie kernel?
There is already lower brightness, you'll just need to set up a init.d script with these lines:
Code:
### Reduce backlight brightness
## to revert to default - enter 0
echo "8" > /sys/module/leds_lm3533_ng/parameters/lm3533_bl_reduction;
## values of brightness, lower than lm3533_bl_brightness_min, are being decreased by lm3533_bl_reduction
echo "30" > /sys/module/leds_lm3533_ng/parameters/lm3533_bl_brightness_min;
I may add pre-tuned gamma for next builds, until then use the RGB control in Kernel Adiutor -> Screen.
If you feel it's slow, just tune some parameters in kernel adiutor, like up_threshold in the cpu governor, disable multicore power saving etc. Also check if there's a stuck throttled cpu max frequency, that can happen sometimes if it throttles during boot.
Anyway for me it's not sluggish at all, I wouldn't have published it if it was.
Also I'd like to kindly remind all to use the devdb feature and at least provide logs for any problems you encounter and state the ROM you use and its version.
Devs are not psychic to know what's going on with your usage.
Sent from my E6553 using Tapatalk
Please make this kernel for Xperia ZL!
Zotmen said:
Please make this kernel for Xperia ZL!
Click to expand...
Click to collapse
Sorry, I'm not planning to make blind builds.
If there's any dev that owns odin and is willing to do it, he can freely rebuild my kernel for it, just keep the source references and filename.
Sent from my E6553 using Tapatalk
Nice to see a Custom Kernel for our old phone . Thank you for your hard work, it really made a difference in speed on my phone running the latest version of RR.
As a request, can you add to the GPU the 400Mhz option? I mean I'm not fond of overclocking, and prefer to use the stock speed regarding the CPU and the GPU.
DragosBad said:
As a request, can you add to the GPU the 400Mhz option?
Click to expand...
Click to collapse
Unfortunately an additional frequency cannot be added due to known problems with frequency decisions of the driver when it's added, so it would have to be fully non-overclocked if we want to have 400 MHz.
I can assure you that there's no significant battery drain with 487 MHz nor any other issue, but if you totally insist on having stock max frequency, I can provide an optional version of the kernel with GPU OC disabled.
Sent from my E6553 using Tapatalk
airlessproject said:
Unfortunately an additional frequency cannot be added due to known problems with frequency decisions of the driver when it's added, so it would have to be fully non-overclocked if we want to have 400 MHz.
I can assure you that there's no significant battery drain with 487 MHz nor any other issue, but if you totally insist on having stock max frequency, I can provide an optional version of the kernel with GPU OC disabled.
Sent from my E6553 using Tapatalk
Click to expand...
Click to collapse
No need to do this. I will just downclock to 320Mhz, since the difference in performance isn't that big to affect my daily use. Anyway you are awesome for making this offer.:good: You don't see this kind of thing everyday.
Sd card corrupted error after flash((
How to fix?(
I don't want to format it
I tried sd card on computer and it worked...
Is it safe for those who are on customized rom??
mohamadtigre said:
Sd card corrupted error after flash((
How to fix?(
I don't want to format it
I tried sd card on computer and it worked...
Click to expand...
Click to collapse
Logs please, also which ROM and version did you use it with.
pedro.pambasag said:
Is it safe for those who are on customized rom??
Click to expand...
Click to collapse
This is only for custom Marshmallow ROMs (RR, AOKP, CM etc.)
Sent from my E6553 using Tapatalk
How to unlock BL.?
I wish to going MM rom..:'(
Sent from my C6603 using XDA-Developers mobile app
Xzborneo87 said:
How to unlock BL.?
Click to expand...
Click to collapse
http://forum.xda-developers.com/xperia-z/development/tutorial-xperia-z-zl-bootloader-t2153261
Great job mate. Is it compatible with cm 12.1 nighlty?

Categories

Resources