A kernel for AOSP roms based on 4.2.2 source
Main features:
- Based on both Nexus 5 4.4.2 kernel source and G2
- In kernel thermal (Bricked)
- In kernel mpdecision hotplug (Bricked)
- Powersuspend, Dynamic Fsync, Intellidemand, Intelliactive, FauxSound (Faux123)
- Overclocking (2.8ghz), Underclocking, Voltage control
- RGB color control
- Additional Gov's and I/O scheds
- All TCP congestion types
- Many other Improvements
--------------------------------------------------------------------
Additional Info:
Trickster stock thermal / mpdecision settings are already tuned.
Don't turn on mpdecision in the main trickster menu (Defaults off) . Don't set a touchboost on cpu0
It is recommended you don't mess with any thermal/mpdecision settings unless you are 100% sure you know what you are doing and why you are doing it. I tuned stock to be good and will always improve it.
Please do not post anything about battery life in this thread. If you have battery issues check your apps and wake locks. Also please keep Sod reports to a minimum, some device variants have issues with Sods on all kernels and its something I'm always trying to fix. Currently CM rom has many issues, please do not report issues related to CM here.
-------------------------------------------------------------------
Current Release Downloads
Downloads Mirror
Source
Code:
Changelog ([I]specifics found on git[/I])
V7
- Add overclocking up to 2.8 GHZ
- Add Faux sound (Shouldn't cause audio issues but I will be watching)
- Reverted overvolted tables, now follows standard voltages based on your PVS
- Misc Improvements
V6:
- Add support for PAC / CM (phone UI crash fix)
- Intelliactive fix
- Misc improvements found on my git
V5:
- Updates to board specific source files from 4.4 kernel
- Remove some junk debugging from the kernel
- Ramdisk updates
- Power updates
- Misc updates
V4:
- Enable all TCP congestion control options (Use Google to find out what they do)
- Faux's brand new governor, Intelliactive. Read more [URL="https://github.com/faux123/Nexus_5/commit/7067c4bdd043ff8fe53fef61a47f3d374e452b47"]here[/URL] at the top of the page
- Power and voltage 4.4 updates everywhere, I suggest you try this if you get sod's and reboots on kitkat
Bug fixes:
Enabled Dynamic Fsync again
V3:
- CPU Hotplug improvements
- Revert exp sound, will fix sound issues for people who tried v2(exp)
- Lower temp throttle a bit
- Enable BFQ i/o sched on all variants - Accidentally only on d801 before
- Update CPU voltages to one stock table - this could be no change, +25 or +50 depending on what your chip is binned. This may help sod's and reboots on AOSP.
- Misc optimizations
Bug Fixes:
- Max volume bug
- Attempt to fix occasional mount bug in recovery
Code:
Credits:
Faux123
Houstonn
FranciscoFranco
Savoca
Showp-1984
RMCC
Many other android/linux devs
reserved.
Oooohhhh. Nice another feather in your hat sir_, cheers
Sent from my LG-d801 using XDA Premium 4 mobile app
Awesome, bro! Thanks for the love! It's always good to have options! :good:
@dr87 Kernel seems really smooth so far. Definitely like it. I made a little screen record. Minimum clock speed doesn't seem to be sticking for me. https://www.youtube.com/watch?v=E8DJfiNsvPs&feature=youtube_gdata_player
JRJ442 said:
@dr87 Kernel seems really smooth so far. Definitely like it. I made a little screen record. Minimum clock speed doesn't seem to be sticking for me. https://www.youtube.com/watch?v=E8DJfiNsvPs&feature=youtube_gdata_player
Click to expand...
Click to collapse
Yea the touchboost on cpu0 (default 300mhz) will always override the min freq
This is why I set cpu1 to do the touchboost and cpu0 is on stock setting.
It's something I'm going to fix, have a lot of other stuff to do on the kernel also :good:
dr87 said:
Yea the touchboost on cpu0 (default 300mhz) will always override the min freq
It's something I'm going to fix, have a lot of other stuff to do on the kernel also :good:
Click to expand...
Click to collapse
Awesome. The only reason I bump it up is because V4a acts up sometimes if I clock under 652. Thanks so much for this
JRJ442 said:
Awesome. The only reason I bump it up is because V4a acts up sometimes if I clock under 652. Thanks so much for this
Click to expand...
Click to collapse
For a fix go into mpdecision settings and bump the cpu0 boost to the min freq you want
I will work on unlinking them soon!
@dr87 i get a loki error when flashing vs980. TWRP 2.6.3.3
?
dr87 said:
For a fix go into mpdecision settings and bump the cpu0 boost to the min freq you want
I will work on unlinking them soon!
Click to expand...
Click to collapse
Got it! That worked.
philsfan said:
@dr87 i get a loki error when flashing vs980. TWRP 2.6.3.3
?
Click to expand...
Click to collapse
What does the error say? it might be because you are using old twrp, I will update the binary to something that will work on older twrps... give me a few mins
dr87 said:
What does the error say? it might be because you are using old twrp, I will update the binary to something that will work on older twrps... give me a few mins
Click to expand...
Click to collapse
i thought 2.6.3.3 was the standard/accepted recovery? i've been using it all along.
i derped and accepted 12B baseband OTA about a month back. I remember I was getting this same loki flash error in recovery immediately after that before devs updated their scripts. I was told it's an easy fix but I have zero clue what to do on my own
philsfan said:
i thought 2.6.3.3 was the standard/accepted recovery? i've been using it all along.
i derped and accepted 12B baseband OTA about a month back. I remember I was getting this same loki flash error in recovery immediately after that before devs updated their scripts. I was told it's an easy fix but I have zero clue what to do on my own
Click to expand...
Click to collapse
http://www.mediafire.com/download/t4nd4bh28mgdb3p/vs980-dr87-v1-test.zip
let me know if that works before I update all the binaries
dr87 said:
http://www.mediafire.com/download/t4nd4bh28mgdb3p/vs980-dr87-v1-test.zip
let me know if that works before I update all the binaries
Click to expand...
Click to collapse
failed
assert failed: run_program(" /tmp/loki.sh") ==0
E:error executing updated binary in zip
philsfan said:
failed
assert failed: run_program(" /tmp/loki.sh") ==0
E:error executing updated binary in zip
Click to expand...
Click to collapse
Which rom are you able to flash? I will try using their update binary
philsfan said:
i thought 2.6.3.3 was the standard/accepted recovery? i've been using it all along.
i derped and accepted 12B baseband OTA about a month back. I remember I was getting this same loki flash error in recovery immediately after that before devs updated their scripts. I was told it's an easy fix but I have zero clue what to do on my own
Click to expand...
Click to collapse
Are you using the TWRP for 12B? There's a specific thread for it in the vzw section
dr87 said:
Which rom are you able to flash? I will try using their update binary
Click to expand...
Click to collapse
Mahdi :good:
DU :good:
nameless, vanir, carbon, CM11. honestly all of them. but i know people who took the 12B update had trouble a while back when ayysir first introduced PAEK 5.2
---------- Post added at 12:21 AM ---------- Previous post was at 12:20 AM ----------
JRJ442 said:
Are you using the TWRP for 12B? There's a specific thread for it in the vzw section
Click to expand...
Click to collapse
i'll give it a shot.
do you have the 12B OTA bootloader tho?
@philsfan I edited my reply because I reread yours. No I don't have the 12B bootloader. I just flashed the radio. Still if you haven't I'd try that 12B TWRP
JRJ442 said:
@philsfan I edited my reply because I reread yours. No I don't have the 12B bootloader. I just flashed the radio. Still if you haven't I'd try that 12B TWRP
Click to expand...
Click to collapse
thanks @JRJ442
i tried flashing that a few weeks back but it didn't take. flashed successfully but wouldn't boot into recovery after a reboot. not sure what else to do. Don't wanna cause too much of a headache for the Dr if I'm the only one with this problem! :good:
Does the Aospa kernel stay up to date with CM kernel source?
Related
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 by Olivier (sony 233 blobs)
81mhz lowest cpu frequency
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
compatible roms
carbon rom
beanstalk rom
AICP kk rom
aokp rom
cm11 rom
more testing needed
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
BrateloSlava-for many features and guidance
naitik2012-for testing
twrp ramdisk-Angel bob
XDA:DevDB Information
Lightning kernel, Kernel for the Sony Xperia Z
Contributors
nikhil18
Kernel Special Features:
Version Information
Status: Testing
Created 2014-07-10
Last Updated 2014-09-22
changelog
sony 233 blobs.
version 0-initial release
version 1-added intelliplug,gpu overclocking,linux patch to 103,gpu simple governor,gpu voltage control,cd rom emulation .
version 2 - added lot of governors,f2fs support,exfat support and hopefully wifi fixed
version 3-added gpu overclock 627mhz,added tweaked CPU auto_hotplug driver,patches for improved CPU hotplug efficiency and at last finally wifi 100% fixed and this is the biggest update of this century
version 4-added kexec hard boot(multi rom) thanks to Olivier ,added multirom twrp recovery,fixed gpu simple governor,changed to xz compression.
version 5-fixed multirom,added row schedule and i have released two versions with autosmp and intelliplug.
version 6-added row sched,500ma charging for unknown chargers,fast charge,disabled some debugging for better performance,fixed sound stuttering if its there.
version 7 - added 81 and 270 mhz cpu frequencies,vfp hardfloat for better performance,set westwood tcp as default added many tcp congestion controls eg reno,highspeed,htcp,illinois,scalable and many more.
version 8-.283 blobs added,added interactive gpu governor,anykernel,fixed cd rom emulation,sound control 3.6 and for more you can check the commits.
downloads
Ok guys uploaded version 8 autosmp version here http://d-h.st/FwM enjoy
faq
Q1 low frequencies like 81mhz not sticking
Ans turn on frequency lock in trickstermod
Q2 if you are having random reboots?
Ans lower the max freq to 1512000 and increase the min frequency to 384mhz
nikhil18 said:
can any one please upload latest cyanogenmod boot.img so that i can extract the ramdisk and upload the kernel
Click to expand...
Click to collapse
http://www.infectedbuilds.net/downloads/yuga/cm_11/latest_boot_img/
Maybe this could help.
Very interesting. I'll test it as soon as you upload.
Can you add "true CD-ROM emulation interface" feature? DriveDroid is very useful for me.
version 1 uploaded
i dont have an xperia z so i am not sure it will boot or not
m0b said:
Very interesting. I'll test it as soon as you upload.
Can you add "true CD-ROM emulation interface" feature? DriveDroid is very useful for me.
Click to expand...
Click to collapse
i will try to add this if the kernel boots
nikhil18 said:
version 1 uploaded
i dont have an xperia z so i am not sure it will boot or not
Click to expand...
Click to collapse
It boots but GSM doesn't work (returns error while searching network). Everything else seems fine.
Tested on Beanstalk 4.4.4.001 which is based on CM11. I'll test on CM11 later if it's necessary.
m0b said:
It boots but GSM doesn't work (returns error while searching network). Everything else seems fine.
Tested on Beanstalk 4.4.4.001 which is based on CM11. I'll test on CM11 later if it's necessary.
Click to expand...
Click to collapse
thats a very old build try the latest cm
guys any one else having this problem
Graphic bugs (screen tearing when scrolling) and wifi not turning on on Thomas' CM11.
Testing on Infected's CM11 now.
guys try carbon rom by Alx31TLse
@nikhil18
You shouldn't use -Ofast Optimisations.
They do more harm rather than bringing any benefits.
Gesendet von meinem C6603 mit Tapatalk 2
---------- Post added at 04:32 PM ---------- Previous post was at 04:30 PM ----------
olex195 said:
Graphic bugs (screen tearing when scrolling) and wifi not turning on on Thomas' CM11.
Testing on Infected's CM11 now.
Click to expand...
Click to collapse
You shouldn't use this kernel on thomas rom, the new drivers aren't added.
Gesendet von meinem C6603 mit Tapatalk 2
nikhil18 said:
thats a very old build try the latest cm
guys any one else having this problem
Click to expand...
Click to collapse
First of all Thank you so much... i cant believe on my eyes when i saw first thread in OG development forum with name "lightning kernel cm11 " ..
your kernel have all the features i wanted , specially Sound control , CPU OC & Undervolting..
m really happy to see that we have working CM11 custom kernel with so many features.
btw Thomas's latest CM11 kernel source > https://github.com/daeiron/android_kernel_sony_apq8064 may be it will help u
Keep developing and Thanks again
delete
Working flawlessly on Carbon ROM :good:
Performance has increased at least 2x.
Just one issue, GPU overclock does not stick, it resets to 400 after a while. (I use trickster mod)
PS: Doesn't work with PAC ROM.
Also works with Beanstalk( Fastboot flashed the boot.img)
venky716 said:
Working flawlessly on Carbon ROM :good:
Performance has increased at least 2x.
Just one issue, GPU overclock does not stick, it resets to 400 after a while. (I use trickster mod)
PS: Doesn't work with PAC ROM.
Click to expand...
Click to collapse
are you using carbon rom by Alx31TLse?
how about battery life?
@nikhil18, i cant express my grattitude for your kernel, i confirmed alls working on latest AICP 4.4.4 KK, has everything i wanted, super fast, response is just simply amazing, i do also however face clocks reverting over time even when i manually clock via system files, but probably os doing it, thank you so much finally a KK kernel that supports everything.. If i can do anything to contribute or help please let me know, will bug report in a couple of days.
Sent from my Xperia Z using XDA Premium 4 mobile app
corpsegrinder62 said:
@nikhil18, i cant express my grattitude for your kernel, i confirmed alls working on latest AICP 4.4.4 KK, has everything i wanted, super fast, response is just simply amazing, i do also however face clocks reverting over time even when i manually clock via system files, but probably os doing it, thank you so much finally a KK kernel that supports everything.. If i can do anything to contribute or help please let me know, will bug report in a couple of days.
Sent from my Xperia Z using XDA Premium 4 mobile app
Click to expand...
Click to collapse
just copy the sysmon file i have uploaded in the second post to system/etc for proper overclock or you can edit the file yourself but dont burn your cpu and turn off stock mpdecision
nikhil18 said:
just copy the sysmon file i have uploaded in the second post to system/etc for proper overclock or you can edit the file yourself but dont burn your cpu
Click to expand...
Click to collapse
Thanks i will do, the 192mhz on standby is surprisingly very stable, everything is great so far only things not working that i see are d2w and s2w.. You can enable them , i did with trickster mod, but doesnt work.. Only bugs ive spotted..Thanks again xD
Sent from my Xperia Z using XDA Premium 4 mobile app
nikhil18 said:
just copy the sysmon file i have uploaded in the second post to system/etc for proper overclock or you can edit the file yourself but dont burn your cpu and turn off stock mpdecision
Click to expand...
Click to collapse
Hi
m facing graphic and wifi issue in latest CM11.. can u pls solve those issue
Thanks
naitik2012 said:
Hi
m facing graphic and wifi issue in latest CM11.. can u pls solve those issue
Thanks
Click to expand...
Click to collapse
If you installed custom kernel with custom WiFi libs then just reflash ROM and then install this kernel and WiFi will work.
Hey guys
As you already might have read in either the CM11 dev thread or the Q&A section, I am working on a custom kernel for our T210(R) and T211. It's still in a pretty early stage, but the current build is fully stable, so I thought why not share it
As I'm pretty new to this community, a few words about myself: My (only) device I have been working on is the LG Optimus 4x HD, for which I also made a custom kernel (also named werewolf kernel, who would have thought of that ). Me and 2 other fellow RDs were able to "switch" many blobs with the ones from grouper, which fixed many, many issues we were facing in 4.4 with the stock 4.1 blobs. I am the official maintainer of namelessROM and vanir for the 4x HD, and am also compiling GummyROM, LegoROM, unofficial CM 11 (using grouper blobs) and SlimKat for the 4x HD on a nightly base. And as soon as we have a proper device tree for our tab, I'm sure I can port the Tab3 to all those ROMs
Now, enough chit chatting, let's talk about the kernel
It's based on @ketut.kumajaya's blackhawk kernel (thanks again, mate ) From v004 on we are based on official KitKat sources, with some additions such as:
Features:
Various network tweaks
Entropy tweaks
I/O speed improvements
cortex a9 and neon omtimizations
Added frandom
Tweaked vm dirty ratios
Dynamic read-ahead values
Added I/O schedulers: ROW, SIO, BFQ, FIOPS, V(R)
Optimized AES and SHA1 routines
Added CPU governors: Lionheart, Adaptive, Intellidemand, Hotplug, Hyper
Reduced RAM usage from logger
Updated lowmemkiller
Overclocked to 1.420 GHz by default
Disabled vsync for better 2D performance
Overclocked GPU up to 624MHz (default 416MHz)
Custom user voltage control (CPU)
Undervolted by default (-25mV)
S2W and DT2W (WIP)
Fast Charging
KSM
Bugs:
You tell me!
Installation:
Download the kernel from HERE
Reboot into recovery (recommended to make a nandroid)
Flash the kernel zip
Recommended to wipe /cache
Reboot and enjoy!
And remember to remove phservice if you want to change some CPU/GPU settings yourself
Notes:
See 2nd post
GPL:
Kernel sources
Kernel Modules (only for v001 - v003)
Used defconfig
Used build script
Thanks:
@ketut.kumajaya for the initial kernel base
@gr8nole for general help, info and testing
XDA:DevDB Information
Werewolf kernel SM-T210/T211, Kernel for the Samsung Galaxy Tab 3
Contributors
laufersteppenwolf
Kernel Special Features: Tuned for best possible performance
Version Information
Status: Stable
Created 2014-07-21
Last Updated 2015-05-25
Tweaks and other stuff
Since v002, we have an updated lowmemorykiller. It behaves a bit snappier than the old one, also with the default minfree values. However, in case you like to tweak your device a bit to make it even more snappy (like me ), I tweaked the minfree values a bit to slightly increase the free RAM without really affecting the multitasking experience. The script can be found in the attachment. All you need to do is to extract the script and place it in your /system/etc/init.d/ folder and that's it. The values will be automatically set on boot.
UV interface
The min possible voltage is 1000mV for now, and the max one is 1400mV. If you want me to lower the min voltage, please let me know.
Also, please note, that the voltage has to be changed in 12.5mV steps. If you apply for example 1110mV, it will be rounded down to 1100mV.
Fast Charge interface
The main interface is inside /sys/kernel/fast_charge/*
/sys/kernel/fast_charge/force_fast_charge (rw)
0 - disabled (default)
1 - use custom mA configured through the sysfs interface (see below)
/sys/kernel/fast_charge/ac_charge_level (rw)
rate at which to charge when on AC (1.8A to 2.3A)
/sys/kernel/fast_charge/usb_charge_level (rw)
rate at which to charge when on USB (0.5A to 1.0A)
/sys/kernel/fast_charge/failsafe (rw)
0 - disabled - allow anything up to 2.3A to be used as AC / USB custom current (USE WITH CAUTION!)
1 - enabled - behaviour as described above (default)
/sys/kernel/fast_charge/version (ro)
display fast charge version information
New kmsg layout
From v008 onwards the kmsg looks a tiny bit different. Instead of displaying the time since boot, it logs the actual time and date.
Now, you may ask yourself: "does that any good?" Sure it does. When you encounter an issue and grab a log, you can send it my way saying "the issue happened at 15:35". It is way harder to find out the exact time (in seconds) since the device booted, right?
When changing the CPU gov, you might want to keep THIS (4.1) or THIS (4.4) in mind
Changelog:
v008 [15/02/15]
- Disabled zcache
- Added KSM (including deferred timer to save battery)
- Tweaked zRAM
- New kmsg log layout (see 2nd post for more details)
- Fixed kernel version in settings
- Disabled S2W and DT2W by default
When you flash this version, please wipe cache, otherwise bad things could happen
v007 [08/12/04] RIP Beth
- Slightly more RAM from logger
- S2W and DT2W (Still WIP)
- Decreased min possible CPU voltage to 800mV
- Undervolted by default (-25mV)
- Fast Charge support
v006 [01/11/14] MOAH CPU
- Added CPU UV interface
- OC'ed further to 1420MHz
- Max GPU freq limited to 624MHz until all issues are resolved
- Fixed init.d support on T211
v005a Minor fix
- Fixed DeviceControl GPU support
- Output all GPU freqs in Hz instead of KHz
v005 [18/10/2014] SM-T211 support
- Added support for the T211 variant (thanks to @sscsps for testing)
- Merged latest Sammy updates
- Enabled I/O accounting (only needed for devs)
- zcache enabled by default
- GPU OC up to 624MHz (default is 416MHz)
v004 [25/09/2014] Android 4.4 support
- Re-based on latest KitKat sources
- Re-added almost all features from v003
- Removed 156MHz freq step (causing trouble for still unknown reasons)
- Overclocked to 1.344 GHz (instead of 1.205GHz)
- Disabled vsync for better 2D performance
- Disabled "reboot recovery" to avoid being stuck in recovery on old recoveries (special version)
v003 [31/08/2014]
- new govs: Hotplug, Hyper
- new freq step @ 156MHz
v002 [25/07/2014]
- reduced RAM usage from logger
- new/updated lowmemkiller (see attachment in 2nd post for init.d script with tweaked minfree values)
v001 [18/07/2014]
- initial release
good work you link where ? and nice job workıng 4.1.2 ???? 4.2.2 .4.4.2 kernel android version what? @safariking [MENTION=3034891]gr8nole[/MENTION
not working dont flash ı using ultimate rom safarinking by 4.1.2 soft brick device
Not working yet hope you get it working good luck
Sent from my SPH-L720 using XDA Premium 4 mobile app
sorry guys, I just found the issue... my last commit breaks the GPU module so it doesn't compile, doesn't get copied over into the zip and so does not get replaced on your system, but the new kernel cannot load the stock module as I used another defconfig name...
Will be fixed ASAP
EDIT: Fixed and uploaded
laufersteppenwolf said:
sorry guys, I just found the issue... my last commit breaks the GPU module so it doesn't compile, doesn't get copied over into the zip and so does not get replaced on your system, but the new kernel cannot load the stock module as I used another defconfig name...
Will be fixed ASAP
EDIT: Fixed and uploaded
Click to expand...
Click to collapse
Nice work. This kernel works. Will monitor battery life and game performance.
Sent from my SM-T210R using XDA Free mobile app
laufersteppenwolf said:
When changing the CPU gov, you might want to keep THIS in mind
Click to expand...
Click to collapse
is there anyway to flash it on tab 3 t211 kk 4.4.2 firmware
big job thank can you add overclock gpu ? downclock?
gr9nole said:
big job thank can you add overclock gpu ? downclock?
Click to expand...
Click to collapse
You can check if there is OC available by installing "No-Frills CPU Control" from the google play store
a question about toolchain
@laufersteppenwolf
hi, i would like to know which toolchain you used to build this kernel, a direct link to it would be helpful.
also, using the supplied defconfig can i make [defconfig] and then make -j# or are there additional things to do?
i build kernel for tab3 10 fine but setting up my system for sm-t210 is proving stubborn. there is another project going on
that i would like to learn from and help with, your help would be appreciated.
thank you for reading.
m
Anil Shovo said:
is there anyway to flash it on tab 3 t211 kk 4.4.2 firmware
Click to expand...
Click to collapse
I do not think so, as I'm using the ramdisk from t210, which most likely isn't compatible with t211, and sure not with 4.4.2
gr9nole said:
big job thank can you add overclock gpu ? downclock?
Click to expand...
Click to collapse
step by step
moonbutt74 said:
@laufersteppenwolf
hi, i would like to know which toolchain you used to build this kernel, a direct link to it would be helpful.
also, using the supplied defconfig can i make [defconfig] and then make -j# or are there additional things to do?
i build kernel for tab3 10 fine but setting up my system for sm-t210 is proving stubborn. there is another project going on
that i would like to learn from and help with, your help would be appreciated.
thank you for reading.
m
Click to expand...
Click to collapse
for this build, I used CM's 4.6 toolchain, but that'll change soon
I will also push the build script and modules to github ASAP, so just wait for that, as setting up the modules and stuff isn't the most pleasant thing to do
Werewolf is not playing lol so what your saying is that we will be having cm 11 and aosp all the good stuff soon ?
Sent from my SM-T210 using XDA Premium 4 mobile app
I've used this kernel for 2 days. I have noticed the screen flickers on the 2nd day and while watching a movie (while plugged in) the tab was battery drained battery was 30% when I started watching. Can others confirm this?
Goodside. Battery life is enhanced and performance is the same. Nice work on this
Sent from my SM-T210R using XDA Free mobile app
trazfer said:
I've used this kernel for 2 days. I have noticed the screen flickers on the 2nd day and while watching a movie (while plugged in) the tab was battery drained battery was 30% when I started watching. Can others confirm this?
Goodside. Battery life is enhanced and performance is the same. Nice work on this
Sent from my SM-T210R using XDA Free mobile app
Click to expand...
Click to collapse
I was experiencing the exact same flickering myself as well, but on stock kernel
This flickering isn't kernel related, but ROM related. Sammy must have screwed up the auto backlight handling, as it only happens at some certain brightness values
No ir blaster
Edit: This is what I get when I open peel smart remote
laufersteppenwolf said:
I was experiencing the exact same flickering myself as well, but on stock kernel
This flickering isn't kernel related, but ROM related. Sammy must have screwed up the auto backlight handling, as it only happens at some certain brightness values
Click to expand...
Click to collapse
He is tottaly right, also sometimes when you are using this tab, the screen locks by itself
Ripshock said:
No ir blaster
Edit: This is what I get when I open peel smart remote
Click to expand...
Click to collapse
Check your build.prop to see what the ro.build.product shows.
gr8nole said:
Check your build.prop to see what the ro.build.product shows.
Click to expand...
Click to collapse
I am using stockrom series with a build for sm-t210 but I have used device spoofer and spoofed my original build sm-t210r
Ripshock said:
I am using stockrom series with a build for sm-t210 but I have used device spoofer and spoofed my original build sm-t210r
Click to expand...
Click to collapse
It works for me with the stock firmware/rom with this kernel.
Introduction
Hello dear developers and android hackers,
On this thread, I will share with you a project I am developing as I am learning kernel programming / hacking. This kernel is based on Sony kernel sources with some enhancements for battery saving and performance.
Click to expand...
Click to collapse
Features
Based on Sony 23.5.A.0.570 kernel sources
Compiled with linaro GCC 4.9.1 toolchain, -O3
Governors : interactive, ondemand, performance, conservative, smartassV2, intellidemand2 and intelliactive.
Fast hotplug
CPU overclock up to 2.8 GHz Thank's to Faux123 and DooMLoRD
Changed GPU frequency table to 27 - 657 MHz Thank's to Myself5
Sony RIC disabled
Undervolt
TWRP recovery included, fota partition support
Breathing notification light thank's to glocklee
Force Fast Charge
KCAL Advanced color control Thank's to savoca
Click to expand...
Click to collapse
Installation instructions
Code:
Use this kernel at you own risk !
I am not responsible for any damage or problem.
Flash the zip via recovery
Reboot
Click to expand...
Click to collapse
Download
Please read FAQ and second post if you have any issue
Recovery flashable zip :
Abricot kernel v8.1.zip
mirror
Kernel Source :
Kernel
Ramdisk
Click to expand...
Click to collapse
Changelog
Abricot kernel v8.1 : 12.05.16
Disable RIC at kernel level (Fixes partition mounting in recovery)
Add KCAL Advanced color control Thank's to savoca
Abricot kernel v8 : 10.05.16
Based on Sony sources 23.5.A.0.570
Updated TWRP to version 3.0.2-0
Abricot kernel v7 : 01.04.15
Updated to Lollipop kernel sources 23.1.A.0.690
Update TWRP to 2.8.5.0
Add Force Fast Charge
Removed splash screen
Abricot kernel v6 : 24.12.14
Fix default freq not applying for all cores at boot
Fix -O3 compiler optimization
Fast hotplug : plug in cores in descending order
Abricot kernel v5 : 15.12.14
Increase voltage of higher frequency for better stability
Add support for displaying the number of tasks running
Add VR, SIO and FIFO schedulers
Add lagfree governor
Update TWRP to 2.8.1.0
Fix scaling_max_freq permissions
Set default frequency to 2.3GHz
Abricot kernel v4 : 11.12.14
Add CPU overclock up to 2.8 GHz (Thank's to Faux123 and DooMLoRD)
Change GPU frequency table to 27 - 657 MHz (Thank's to Myself5)
Disable Sony RIC
Remove msm_mpdecision
Set qcom mpdecision as default
Abricot kernel v3 : 07.12.14
First public release
Check my github to see all the changes.
Click to expand...
Click to collapse
FAQ
Q : With what ROM can I use this kernel ?
A : With any ROM based on Sony stock Marshmallow
Q : Your kernel isn't working / My phone isn't booting anymore
A : Read this whole post once more, search for your problem in thread and report it if you haven't found a solution.
Q : Can I install this kernel on locked bootloader ?
A : No ! This kernel is only for unlocked bootloader.
Q : Does this kernel include recovery ?
A : Yes ! You can access by pressing buttons when the led is lighting. Volume down to go to TWRP and Volume up to load recovery from FOTA..
Q : What are mpdecision and fast hotplug ?
A : This is what manage your cpu cores and decide which core will be online. Fast hotplug is a brand new hotplug that I wrote. See next post for more information
Click to expand...
Click to collapse
Thanks To/Credits
* Sony for their sources and device
* @DooMLoRD
* @thewadegeek for his Tutorial
* @show-p1984 for his mpdecision
* @glocklee for his breating notification mod
* @Envious_Data for his help and links
* @dssmex
* @Androguide.fr for Pimp my Z1
* bbedward
* Erasmux
* faux123
* The xda community for making me discover android and for answering so many of my questions
* Google for kernel sources and its search engine
* Apple for making expensive phone so that I never bought one of theirs
Click to expand...
Click to collapse
Please let me know per pm if there is any mistake or misspelled word in this thread. Automatic correction does a great job but since english isn't my mother thongue I'm pretty sure I made mistakes.
XDA:DevDB Information
Abricot kernel, Kernel for the Sony Xperia Z2
Contributors
pec0ra
Source Code: https://github.com/pec0ra/abricot
Kernel Special Features:
Version Information
Status: Testing
Created 2014-12-07
Last Updated 2016-05-20
About Fast hotplug
Motivation
I wasn't convinced by show-p's msm_mpdecision nor faux123's intelli_plug ( I don't even talk about qcom mpdecision ). I also wanted to start working on a bigger programming project to learn more about kernel developing so I decided to write my own hotplug.
Main features
I tried to make fast hotplug the lightest possible, so that it consumes the less resources possible when it is not needed (mainly at idle). One of the second goals was to make it customizable.
How to use
Deactivate qcom mpdecision (Pimp my Z1 will do this automatically when you choose fast hotplug)
Activate fast_hotplug
Code:
adb shell "echo 1 > /sys/module/fast_hotplug/parameters/fast_hotplug_enabled"
Tune it to your liking
How to configure
Unfortunately, there isn't yet any user friendly application to configure fast hotplug. The only way to configure it is to manually edit the module files with adb or a file editor.
I modified Pimp my Z1 to be compatible with fast hotplug. You can find the modified version at post 12
You can also find all the parameters at
Code:
/sys/module/fast_hotplug/parameters/
and edit them with adb command
Code:
adb shell "echo [COLOR="Navy"]<value>[/COLOR] > /sys/module/fast_hotplug/parameters/[COLOR="Navy"]<variable_name>[/COLOR]"
You can configure the following parameters :
fast_hotplug_enabled : 0 for disabled, 1 for enabled
boost_duration : Duration of boost in ms when screen is touched
threshold_to_boost : Instead of automatically pluging in cores on touch, fast hotplug checks that the load is above this threshold. This avoid cores coming online when reading file or website.
max_cpu_on : Maximum number of online cpu when screen is on
min_cpu_on : Minimum number of online cpu when screen is on
idle_threshold : Threshold under which fast_hotplug will remain almost idle and won't perform any check. This applies when only 1 core is online
plug_in_core_X_threshold : with X between 1 and 3. This is the threshold to plug in coreX.
plug_in_core_X_delay : This is the number of fast_hotplug cycles (see refresh_rate) to skip before pluging in coreX.
plug_out_core_X_threshold : Like plug_in_core_X_threshold but to plug out.
plug_out_core_X_delay
refresh_rate : Time in ms between fast hotplugs checks
screen_off_singlecore : 1 for activated, 0 for deactivated; Allows only one core to be online when screen is off.
If you are using linux, you can easily change the configuration with this small program : https://github.com/pec0ra/fast_hotplug_controller
You will probably want to create init.d script to make your configuration stay after reboot. If enough users want it, I can create an example of script.
Bugs / stability
Due to some conflicts with qcom mpdecision, it is possible that you encounter some bugs / reboots when both are enabled.
Configuration doesn't stick after reboots
Help needed
If you are a java developer (or want to learn ) and want to help in developing an app (or editing an already existing one) to control the hotplug, please send me a pm
Please tell me your impression, your custom configuration and / or your recommendation so that I can make it better in future releases.
Good luck.
Will try as soon as I can. :good:
Welcome! :good:
pec0ra said:
Help needed
If you are a java developer (or want to learn ) and want to help in developing an app (or editing an already existing one) to control the hotplug, please send me a pm
Click to expand...
Click to collapse
Regarding this, there is already an app out there that is FOSS, licensed under the GPLv2 license, looks sexy and should be easy to modify. It's called Pimp My Z1, I think it offers pretty much everything you want.
Other than that, cool that you're developing something new, I'll give it a shot!
Edit:
You may want to disable Sony's RIC it prevents you from writing to /system. This should help you.
I can't seen to get notification breath effect,i didn't do the mpdecision step,so could this make the diference?
Is this kernel compatible with franco kernel apps?
Sent from my D6503 using XDA Free mobile app
B1nny said:
Regarding this, there is already an app out there that is FOSS, licensed under the GPLv2 license, looks sexy and should be easy to modify. It's called Pimp My Z1, I think it offers pretty much everything you want.
Other than that, cool that you're developing something new, I'll give it a shot!
Edit:
You may want to disable Sony's RIC it prevents you from writing to /system. This should help you.
Click to expand...
Click to collapse
Thank you for the link
I'll see if I can do something with this app when I have more time (I've never made any android app).
Disabling ric is a good idea I'll do this for next version.
FrosteezBR said:
I can't seen to get notification breath effect,i didn't do the mpdecision step,so could this make the diference?
Click to expand...
Click to collapse
No, mpdecision won't affect it. Have you tried it on YadliKernel ? Did it work for all the notifications ? It seems like on abricot kernel they work for most of the notifications but not for sms.
vendetta718 said:
Is this kernel compatible with franco kernel apps?
Sent from my D6503 using XDA Free mobile app
Click to expand...
Click to collapse
It is probably compatible (I didn't tried it) but you will probably not be able to change most of the configurations since they are not implemented in my kernel. Some configuration from my kernel (like fast hotplug) are also not implemented in the app so you can't change them from there.
pec0ra said:
Thank you for the link
I'll see if I can do something with this app when I have more time (I've never made any android app).
Disabling ric is a good idea I'll do this for next version.
No, mpdecision won't affect it. Have you tried it on YadliKernel ? Did it work for all the notifications ? It seems like on abricot kernel they work for most of the notifications but not for sms.
It is probably compatible (I didn't tried it) but you will probably not be able to change most of the configurations since they are not implemented in my kernel. Some configuration from my kernel (like fast hotplug) are also not implemented in the app so you can't change them from there.
Click to expand...
Click to collapse
i try with facebook,whatsapp,messaging and gmail
with a led tester its the same blink as stock
would i send you a dsmeg or anything?
FrosteezBR said:
i try with facebook,whatsapp,messaging and gmail
with a led tester its the same blink as stock
would i send you a dsmeg or anything?
Click to expand...
Click to collapse
There's no printing in the mod I think so dmesg would be useless. I'll try again with WhatsApp. Have you tried it on other kernels? Was it working ?
Edit : ok, maybe there is an error... In this case dmesg could be useful. If you have time you can send it, yes.
And I reconfirm that it works for telegram
Hey, can someone show us the notification mod?
Pimp my Z1
As @B1nny suggested, I tried editing Pimp my Z1 to add fast hotplug support. Everything seems to work and I even added some tweaks for a better support for our Z2 ( some default values were not really compatible with our device ). There are probably bugs for configurations other than fast hotplug. If I have time, I will fix them but for now, please use another app to set your frequencies / governors / voltage or live with the bugs. If you have questions about the app, you could also take a look at the official thread to see if it is already there or maybe just to give the dev a thanks.
I'll probably make a pull request to @Androguide.fr with the changes but until then you can use my own build linked to this post. If you already have the app installed, you will have to uninstall it first because signature is different.
You can see the full source and the changes on my github : https://github.com/pec0ra/Pimp_my_Z1
Special thanks to @Androguide.fr for his great app and to @B1nny for his link
@pec0ra
Good news to have a new kernel dev for our beloved Z2 !
However, I've tried to flash your kernel, the flashing process seems to work correctly but actually I stay stuck to the last doomlord advanced stock kernel. Any suggestion ?
nreuge said:
@pec0ra
Good news to have a new kernel dev for our beloved Z2 !
However, I've tried to flash your kernel, the flashing process seems to work correctly but actually I stay stuck to the last doomlord advanced stock kernel. Any suggestion ?
Click to expand...
Click to collapse
You should try to extract the .elf from the zip and flash it via fastboot
Code:
fastboot flash boot <name>.elf
Anyone else experiencing the same issue ? Maybe I did something wrong in my zip.
pec0ra said:
You should try to extract the .elf from the zip and flash it via fastboot
Code:
fastboot flash boot <name>.elf
Anyone else experiencing the same issue ? Maybe I did something wrong in my zip.
Click to expand...
Click to collapse
I think you mean the .img file instead of .elf.
Other than that, the kernel works fine for me. I did manually flash it via fastboot. (because I prefer to flash it via fastboot)
I took a quick look at your updater-script and compared it to Doomlord's updater-script and this is what I found:
Your script tries to write the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/Kernel
While Doomlord's script writes the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/boot
Maybe that's the culprit?
B1nny said:
I took a quick look at your updater-script and compared it to Doomlord's updater-script and this is what I found:
Your script tries to write the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/Kernel
While Doomlord's script writes the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/boot
Maybe that's the culprit?
Click to expand...
Click to collapse
I was going to post the same thing
Waiting for confirmation...
B1nny said:
I think you mean the .img file instead of .elf.
Other than that, the kernel works fine for me. I did manually flash it via fastboot. (because I prefer to flash it via fastboot)
I took a quick look at your updater-script and compared it to Doomlord's updater-script and this is what I found:
Your script tries to write the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/Kernel
While Doomlord's script writes the kernel to this partition:
Code:
/dev/block/platform/msm_sdcc.1/by-name/boot
Maybe that's the culprit?
Click to expand...
Click to collapse
Thank you
Yes, I meant .img. It seems like it'll take some time to get used to this new device. The kernel destination you pointed out is probably the issue, yes. And that's probably the notification problem too. Seems like the kernel never got flashed so it's logical that notification mod doesn't work...
I'll change this tomorrow morning
Maybe someone can test it until then.
pec0ra said:
Thank you
Yes, I meant .img. It seems like it'll take some time to get used to this new device. The kernel destination you pointed out is probably the issue, yes. And that's probably the notification problem too. Seems like the kernel never got flashed so it's logical that notification mod doesn't work...
I'll change this tomorrow morning
Maybe someone can test it until then.
Click to expand...
Click to collapse
Yes, this was indeed the issue, I've just succesfully flashed your kernel changing "Kernel" to "boot" in the script.
Now testing
I can't rename mpdecision.. I tried with root explorer and root browser
sh4d1t0 said:
I can't rename mpdecision.. I tried with root explorer and root browser
Click to expand...
Click to collapse
That's due to Sony's RIC being enabled by default. If you look at my previous post where I mention it there is a command you can run in ADB to temporarily disable it, not ideal but it will help you rename the file.
KaminariKernel
Code:
#include "std_disclaimer.h"
/*
* Your already voided warranty is now void again.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh my *** off at you.
* Really hard.
*/
Hiya fellas.
This is my modded kernel for our loved Moto G 1st gen (LTE version). I decided to resume developing it since I realized I was wrong (I thought no one was interested in it). So here we are again.
Features:
Sources & Optimizations
- Based on Motorola's shared falcon/peregrine source
- Compiled with generic Linaro 5.3 toolchain
- Compiled with -O3 optimization & some more flags (e.g. Pipe flag)
- Optimized ARM RWSEM & Square Root algorithms
- Kernel-side NEON mode
- Some miscellaneous armv7 tweaks
Click to expand...
Click to collapse
Hotplugging Drivers
- Ye Olde MPDecision
- AutoSMP
Click to expand...
Click to collapse
Extra CPU Governors
- Bioshock
- Dancedance
- Impulse
- Lionheart
- Smartmax
- Yankactive
- Yankdemand
- Zzmoove
Click to expand...
Click to collapse
Extra I/O Schedulers
- Bfq
- Fiops
- Sio
- Vr
- Zen (Default)
Click to expand...
Click to collapse
Sound
- Faux's Sound Control
- Headset High Performance Mode
Click to expand...
Click to collapse
Screen/GPU
- Kcal Screen Control
- Dt2w/s2w
- State Notifier driver
- Adreno Idler
- GPU overclock & underclock (533MHz/100MHz)
Click to expand...
Click to collapse
Extra Sh*t
- USB Fast Charge
- Disabled gentle fair sleepers
- Extra TCP Congestion Controllers
- HID Driver (Use your phone as a USB keyboard/mouse)
- Compass & Accelerometer drivers now use State Notifier
- Fsync enabled by default
- Kexec-hardboot patch (for multirom compatibility)
- Power-efficient workqueues
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads:
Regular Version
Overclock-Ready Version Soon™
Click to expand...
Click to collapse
Looking for previous releases?
- All releases until 1.2.x: Go here
- All releases from 1.3 onwards: Go here
- KaminariLite (discontinued): Go here
- KaminariSL (previously Optimized Stock): Go here
Click to expand...
Click to collapse
Got into trouble and need to go back to the stock kernel?
Then you should click this link here, bud!
Click to expand...
Click to collapse
Flashing & Tweaking Instructions (Follow this very carefully!!!):
- Place the zip at the root of your phone's internal storage (This is very important! If you flash the zip from a subfolder, you'll be left without wi-fi!!!)
- Reboot into recovery
- Flash the zip
(Another way: Reboot into recovery without copying the zip, and flash it via adb sideload)
- (Optional) Wipe cache and/or ART cache
- Reboot and have fun!
Coming from another kernel? Then I suggest you to (at least!!!) dirty flash your stock rom and kernel in order to avoid any issues!
Wanna tweak it? Use Kernel Adiutor! (I do NOT support Synapse!!!)
Click to expand...
Click to collapse
Want some info on what this kernel offers you?
Then go here! (Credits to @AssToast for suggesting and to @gsstudios for creating the site!)
Click to expand...
Click to collapse
"Thank You" Section
- Motorola/Lenovo, for putting up them sources
- The CyanogenMod team
- @Flashhhh, his work kinda inspired me to do this
- @Aayushya, he provided the initial cherry-picks
- @faux123, for Sound Control & Intellithermal
- @savoca, for Kcal Screen Control
- @hurtsky, a huge load of cherry-picks came from his sources
- @Alberto97, for the Linux version bumps (.43 up to .109)
- @YoshiShaPow, for some more stuff
- Some more fellas whose names I can't remember
Click to expand...
Click to collapse
XDA:DevDB Information
KaminariKernel (Lollipop-Peregrine), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/tree/L
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R3
Stable Release Date: 2016-07-07
Created 2015-10-15
Last Updated 2016-07-09
Hey!!! Are you looking for the changelogs?
I'm moving them to this page here! So please wait!
F.A.Q. Read this before moaning!!!!!!
Q: ERMAHGERD DIS KERNEL SUCKZ, MAH BATTERY IS DEAD IN 30 MINS, PLZ HALP!
A: When I created this kernel, I never had the intention to have it decrease battery life. So before / instead of complaining, go check your f***ing wakelocks and fix them! The kernel isn't responsible for this, your apps and/or services are.
Q: Will this kernel work on AOSP / CM12.1 ROMs?
A: No.
Q: Will this kernel work on xyz rom?
A: No. Non. Nein. Title clearly says: STOCK.
Q: How do I report bugs?
A: If you wanna report a bug, then grab your kernel log - either by pulling /proc/last_kmsg (in case of a random reboot / kernel panic or oops) or copying the output of "dmesg" via shell - and paste it at pastie.org and link it in your post (or save it to a text file and attach it to your post). Don't bother getting logcats, they don't apply for kernel debugging purposes.
Q: How do I flash this?
A: I suggest you scroll up and read the OP. The instructions are there.
Q: How do I tweak this kernel?
A: Download Kernel Adiutor from the Play Store and have fun. For Synapse, scroll up and read the OP first.
Q: This kid is such a n00b!
A: Oh well then, why don't you go work on a kernel yourself, instead of criticizing my work and, by doing so, wasting your time?
Optimized Stock Kernel (aka "Kaminari SuperLite")
Since KaminariLite has been discontinued, and Kaminari has become cleaner regarding features, I've been working on a version closer to the stock kernel, only more optimized.
So here is my Optimized Stock kernel.
Differences in relation to the stock kernel:
- Compiled using my custom Linaro 5.2 toolchain
- Bumped to Linux version 3.4.110
- Compiled with -O3 and Graphite flags (Same as Kaminari)
- Most if not all of Kaminari's optimizations have been applied
- All governors except Interactive removed
- Default I/O scheduler changed to cfq
- Default TCP congestion algorithm changed to Westwood
- Supports both stock and GPE roms, regardless of filesystem (f2fs or ext4) used on /data
- Adds init.d support
- Default ZRAM size changed to 400MB
Differences in relation to Kaminari:
- All governors except Interactive removed
- All TCP congestion algorithms except Westwood and Reno removed
- Additional I/O schedulers (zen, vr, sio, fiops, bfq) removed
- Bricked Hotplug has been replaced by MPDecision
- All non-essential features (FauxSound, Kcal, Dt2w...) have been removed
- Stock PowerHAL has been re-enabled
- Version bump to 3.4.110 (Kaminari has been kept at 3.4.42)
- Compressed using LZO (Kaminari uses XZ)
Download it from here.
This one is mostly flash-and-forget. No need to tweak anything.
If you're coming from Kaminari, and you're using Kernel Adiutor, you MUST clear the app's data before flashing this build. If you can flash the stock kernel before flashing this, it's even better.
One more reserved...
Okay. Last reserved.
Oh guys... Can someone provide me their init.rc? So I can add proper init.d support
kingkaminari said:
Oh guys... Can someone provide me their init.rc? So I can add proper init.d support
Click to expand...
Click to collapse
Here the mine, :good:
Second test build is up! https://www.androidfilehost.com/?fid=24052804347838189
Changelog is in the second post.
pretty stable kernel as far as i can tell. There is just one thing.. how do i get the over clock to stick? no matter if i have intelliplug on or off it always changes back to default frequencies after a while
EpiccSkillZz said:
pretty stable kernel as far as i can tell. There is just one thing.. how do i get the over clock to stick? no matter if i have intelliplug on or off it always changes back to default frequencies after a while
Click to expand...
Click to collapse
Try a different governor. Interactive likes to reset the frequencies to their default values. Or the chipset may be incompatible (despite it still being - technically - only an msm8226 with lte support).
kingkaminari said:
Try a different governor. Interactive likes to reset the frequencies to their default values. Or the chipset may be incompatible (despite it still being - technically - only an msm8226 with lte support).
Click to expand...
Click to collapse
Could you please recommend me a governor?
EpiccSkillZz said:
Could you please recommend me a governor?
Click to expand...
Click to collapse
Either intelliactive or yankactive
Sent from my XT1033 using Tapatalk
Woww! Finally CPU overclock! It works very good! Thankyou man
I had read that overclock was virtually impossible because our phone was locked to a maximum CPU freq, it wasn't true? It's nice to have other options, thank you for the development.
rodsayd said:
I had read that overclock was virtually impossible because our phone was locked to a maximum CPU freq, it wasn't true? It's nice to have other options, thank you for the development.
Click to expand...
Click to collapse
I also believed that. But I once ran two Antutu benchmark tests, one with the default freq (1.2GHz) and the other with an increased freq (1.6GHz), and in the second test, I got a slightly higher score (which leads me to assume that the overclock actually works). Plus, my overclock implementation is different from the previous ones.
kingkaminari said:
I also believed that. But I once ran two Antutu benchmark tests, one with the default freq (1.2GHz) and the other with an increased freq (1.6GHz), and in the second test, I got a slightly higher score (which leads me to assume that the overclock actually works). Plus, my overclock implementation is different from the previous ones.
Click to expand...
Click to collapse
The phone has a locked multiplier, but it still have FSB overclock (like the old AMD athlom XP Days)
Dirty flashed on xt1039, it works. It's now time for tuning.
Thanks a lot! I was waiting for a kernel like this.
Is there the possibility to add the undervolting feature?
sclcn12 said:
Dirty flashed on xt1039, it works. It's now time for tuning.
Thanks a lot! I was waiting for a kernel like this.
Is there the possibility to add the undervolting feature?
Click to expand...
Click to collapse
I've tried to do that with falcon. I had to solve the merge conflicts manually, but in the end the phone wouldnt boot - it went into a red screen saying "watchdog reset detected" right after the motorola logo. So, with that being said, we wont have undervolting for now, at least till i manage to solve that conflict
Third test build up!
Download
Changelog is in the second post.
Thanks for the work, it's a great kernel. Working really great
Enviado desde mi XT1040 mediante Tapatalk
Hello!
I want to introduce my first custom kernel for the Essential PH-1. This is based of several sources, I cherry-picked commits to make improvements to the stock LOS kernel. I'm not a developer, but i really like to port stuff over .
Kernel is suitable for AOSP based ROMS such as RR/AICP/CARBON/LOS etc... If you want to request for specific features, let me know and i'll do my best to bring them over.
Special Features:
Updated to lastest LOS Stock Kernel
Added a few governors like: cultivation / impulse
added a few IO Schedulers: Maple
Kcal Color Control driver
USB Fast Charge - pending will be added in R2
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
a little Overclock - will be added in R2
Motorola Quickwake - Will be added in R2
and manny other small fixes (you can check the commits in the sources)
Download
Disclaimer: I am not responsible if you use this and brick your device or if your device blows up, implodes, flames start shooting from it or it kills your neighbor's dog. Flash at your own risk. I am not responsible.... It was the other guy... I swear....
Latest Release: SMF-Kernel R2
Known issues:
05.17.2018 - CPU Freq don't always stick, known issue caused by other drivers. Phone will eventually set your frequencies, dont' panic.
Installation:
Obviouly you have a Unlocked Bootloader since you're running a custom rom (make sure to never lock your bootloader in this state)
Boot into Bootloader (adb reboot Bootloader)
If you want to root flash the "Magisk" version of the kernel, it's been prerooted with the latest Magisk Beta available.
Code:
fastboot flash boot SMF-Kernel-R1-Magisk.img
reboot
If you want to manually root, first flash twrp, then from twrp flash the 'non magisk' version and after that flash the magisk zip.
Special Thanks to:
jcadduono
franciscofranco
bedalus
lord_boeffla
flar2
sultanxda
...and many others from whom i cherry pick commits... Sorry if I forgot to mention anyone!
XDA:DevDB Information
SMF-KERNEL, Kernel for the Essential Phone
Contributors
jimbo77
Source Code: https://github.com/Jimbo77/android_kernel_essential_msm8998
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R1
Stable Release Date: 2018-05-17
Created 2018-05-17
Last Updated 2018-05-17
Changelog 05.23.2018
Enabled Motorola QuickWake Driver - This will enable system to do checks or syncs without fully resuming the device, main objective is battery life.
Enabled Dynamic Sync Control by default
OverClock
USB Fast Charge to up 900ma (Original is 500ma)
Disabled Gentle Fair Sleepers
Enabled Boefla Wakelocks - Check the ammount of wakelocks you can block now!
Enabled Wireguard
Enabled several TCP Options - "Westwood" is enabled by default
Min/Max Brightness options is now configurable as well, to avoid the screen go too dim or to bright.
Somehow camera has been fixed! haha
Changelogs 05.17.218
Updated to lastest LOS Stock Kernel
Added a few governors like: cultivation / impulse
added a few IO Schedulers: Maple
Kcal Color Control driver
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
and manny other small fixes (you can check the commits in the sources)
Reserved
Looks awesome! I'll give it a try soon!
(For anyone wondering about overclocking the CPU, he committed some changes to the github that would apply this and it should appear in the next revision of the kernel.)
Just installed and so far it's buttery smooth.
WARpig5 said:
Just installed and so far it's buttery smooth.
Click to expand...
Click to collapse
I'm glad is running fine for you!
Good stuff, thanks for this! Could you tell me a little more about cultivation? I can't seem to find much information online about it
Also a request, if possible vibration level control would be super appreciated
pantherking said:
Good stuff, thanks for this! Could you tell me a little more about cultivation? I can't seem to find much information online about it
Also a request, if possible vibration level control would be super appreciated
Click to expand...
Click to collapse
I found Cultivation to be really great in terms of perfornance. It's a little bit agressive with the CPU so you get buttery smooth experience with Screen On but it may cost a few % on battery at the end of the day. The good thing is that it has specific tunables and you can set a low cpu freq for when the screen is off.
Specific details from its developer:
-based off of caf 4.4 commits
-uses per-pcu timers
-use state_notifier for screen off timer
option to set different timer rate when screen off
-improrted fastlane with threshold from blu_active
In regards of vibration control. It should be there. I'm using EX Kernel Manager and i can see the vibration option under "Miscellaneous"
jimbo77 said:
I'm glad is running fine for you!
Click to expand...
Click to collapse
Thanks for this. It's running amazing so far. Performance has been great and I'll see how battery life is, but so far it's great.
I can't wait for further updates. I really wanna see what Moto quickwake is haha
jimbo77 said:
In regards of vibration control. It should be there. I'm using EX Kernel Manager and i can see the vibration option under "Miscellaneous"
Click to expand...
Click to collapse
Thanks for the info on cultivation, I don't mind trading some battery life for butter so I'm using it now
For the vibration control, it doesn't actually work/stick. I've tried kernel auditor and EX Kernel Manager. To be fair, so far it has only worked on LOS and I think invisiblek may have rewritten the stock controller or something so no worries if it isn't a high priority haha
pantherking said:
Thanks for the info on cultivation, I don't mind trading some battery life for butter so I'm using it now
For the vibration control, it doesn't actually work/stick. I've tried kernel auditor and EX Kernel Manager. To be fair, so far it has only worked on LOS and I think invisiblek may have rewritten the stock controller or something so no worries if it isn't a high priority haha
Click to expand...
Click to collapse
I'll take a look at the latest commits but I've used the latest los kernel base so I'm not sure why is not sticking maybe it needs rom support too (not sure honestly) hahaha
I've been testing R2 since yesterday. Will update after y he weekend!
Just out of curiosity, was anything involving the camera done to this kernel? I am now able to record videos without the bug, on any of the affected ROMs, with this kernel.
stompysan said:
Just out of curiosity, was anything involving the camera done to this kernel? I am now able to record videos without the bug, on any of the affected ROMs, with this kernel.
Click to expand...
Click to collapse
Nothing related to camera. Are you sure it works with no issues?
What roms have you tested?
jimbo77 said:
Nothing related to camera. Are you sure it works with no issues?
What roms have you tested?
Click to expand...
Click to collapse
So far, AICP and LOS, both with Essential camera app and GCAM port, HD and 4K, 30 and 60 fps where applicable. Issues presented before flashing very consistently, and so far I have been unable to replicate after flashing this kernel.
stompysan said:
So far, AICP and LOS, both with Essential camera app and GCAM port, HD and 4K, 30 and 60 fps where applicable. Issues presented before flashing very consistently, and so far I have been unable to replicate after flashing this kernel.
Click to expand...
Click to collapse
Sp you were right. Honestly don't know what happened but I installed the latest RR (clean install) put R2 on top of it and bam recording works as you mentioned lol..
I guess it was a lucky strike!
after flashing the kernel with magisk, stuck on "AICP is starting"
is this normal?
update: the phone works but no magisk (pre root) after flashing the kernel.....
sinkoo1979 said:
after flashing the kernel with magisk, stuck on "AICP is starting"
is this normal?
update: the phone works but no magisk (pre root) after flashing the kernel.....
Click to expand...
Click to collapse
Hey!
Have you booted once and setup everything before flashing the prerooted image?
I've had that error but having all set and then flashing the image will get me rooted. Try to see if you can find magisk manager in the apps list from the settings if you do, reboot and there will be magisk
Double post... Sorry
jimbo77 said:
Hey!
Have you booted once and setup everything before flashing the prerooted image?
I've had that error but having all set and then flashing the image will get me rooted. Try to see if you can find magisk manager in the apps list from the settings if you do, reboot and there will be magisk
Click to expand...
Click to collapse
Thank you for the reply.
the phone was running AICP and I wanted root so I flash the kernel. I can't find the magisk manager or in the settings about magisk. I guess you have to clean install from the beginning to get the root. Thank you for the Kernel
sinkoo1979 said:
Thank you for the reply.
the phone was running AICP and I wanted root so I flash the kernel. I can't find the magisk manager or in the settings about magisk. I guess you have to clean install from the beginning to get the root. Thank you for the Kernel
Click to expand...
Click to collapse
Shouldn't. If you flashed the prerooted magisk image try downloading the magisk manager app manually from xda and see if magisk works