Which ROMs and kernels support double tap to wake? - Moto G 2015 Q&A, Help & Troubleshooting

The kernel in PureNexus and xPerience supports DT2W. What other ROMs and kernels support it?

xMotoDA said:
The kernel in PureNexus and xPerience supports DT2W. What other ROMs and kernels support it?
Click to expand...
Click to collapse
UD kernel and SomeFeak kernels also support DT2W.
Here's the link for -
UD kernel : https://forum.xda-developers.com/2015-moto-g/development/ultradevs-kernel-osprey-t3512361/page14
SomeFeak kernel :
https://forum.xda-developers.com/20...l-somefeak-moto-g-2015-3rd-gen-t3622936/page6

Be aware that dt2w is a big battery consumer with the hardware in this device, to do it the digitizer must be kept powered all the time, meaning an additional 2-3% per hour idle drain in battery above "normal".

Related

[KERNEL] [CM11] [S2W/DT2W] Sweep2Wake/DoubleTap2Wake Kernel for CM11 | 2014-11-30

I ported Sweep2Wake and DoubleTap2Wake features to CM11 kernel.
(S2W/DT2W kernel for Sense rom is here: http://forum.xda-developers.com/showthread.php?p=52678000)
Features:
- Sweep2Wake
Sweep2wake (S2W) allows you to wake up your device by swiping your finger across the capacitive buttons from left to right.
Swiping from right to left will put it back to sleep (sweep2sleep).
/sys/android_touch/sweep2wake
0=disabled
1=enable sweep2wake and sweep2sleep (default)
2=enable sweep2sleep only​
- DoubleTap2Wake
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the screen.
/sys/android_touch/doubletap2wake
0=disabled
1=enable doubletap2wake (default)​
Credits and Thanks:
All credits and thanks go to the original authors: CyanogenMod team and @flar2.
Disclaimer:
I am not responsible if you "brick" your device or in anyway damage it or void your warranty.
Proceed at your own risk.
Installation:
1. Install CM11.
2. Flash the attached boot-m4-cm11-s2w-2014mmdd.img which supports both old and new partition layouts.
# fastboot flash boot boot-m4-cm11-s2w-2014mmdd.img​
Source:
The attached kernel_htc_msm8960-2014mmdd.patch is a patch to the CM11 source.
Enjoy!
Build Date: 2014-11-30
Created 2014-04-27
Last Updated 2014-11-30
Many thanks for your support of our One mini's. Would this work on other builds of CM11 like the SlimKat port that has just surfaced, or is this just for standalone CM11?
Sent from my GT-I9000 using Xparent Green Tapatalk 2
thanks! S2W and T2W are working just fine! but the cpu governor is stuck at performance, you can't change it.
Can you port your kernel to our sense 6 port ROM?
It would be awesome
Is this kernel are compatible with stock 4.4.2 ROM? If not, is possible to port it?
Im a big sense fan on 5.5....but these features along is really making me want to switch to c,11
another problem: I can't install any App. via play store and apks. "invalid file package" or something similar.
changed back to another kernel and everything was working. back to this and problem was back.
I also wiped play store cache & data - not helping.
RuffBuster said:
Many thanks for your support of our One mini's. Would this work on other builds of CM11 like the SlimKat port that has just surfaced, or is this just for standalone CM11?
Click to expand...
Click to collapse
MirageBlader said:
Can you port your kernel to our sense 6 port ROM?
It would be awesome
Click to expand...
Click to collapse
IncubusUA said:
Is this kernel are compatible with stock 4.4.2 ROM? If not, is possible to port it?
Click to expand...
Click to collapse
This kernel is just for standalone CM11 and is not compatible with stock 4.4.2 ROM. Sorry.
I have no plan to port S2W/DT2W to the stock 4.4.2 kernel. My patch will be helpful for porting.
By the way, stock Sense 6.0 will have Motion Launch gestures that support S2W/DT2W.
theodorius123 said:
thanks! S2W and T2W are working just fine! but the cpu governor is stuck at performance, you can't change it.
Click to expand...
Click to collapse
theodorius123 said:
another problem: I can't install any App. via play store and apks. "invalid file package" or something similar.
changed back to another kernel and everything was working. back to this and problem was back.
I also wiped play store cache & data - not helping.
Click to expand...
Click to collapse
I am using 0424 nightly with my kernel and there is no problem.
Please update to the latest nightly and retry.
I was using the same nightly.
maybe it's caused by flashify. just started to use this a week ago. will test with normal fastboot flashing when back home from work. I should really install ADB in our office
EDIT: the governor problem was only with CM internal settings. kernel tuner was able to change the gov.
theodorius123 said:
maybe it's caused by flashify.
Click to expand...
Click to collapse
yes, it was flashify! everything is working fine now after flashing via fastboot.
Do these features affect battery life somehow?
morschesholz said:
Do these features affect battery life somehow?
Click to expand...
Click to collapse
There seems to be no major negative impact on battery life.
Sync and build with the latest kernel source (2014-05-01). See the opening message.
Sync and build with the latest kernel source (2014-05-05). See the opening message.
kyasu said:
Sync and build with the latest kernel source (2014-05-05). See the opening message.
Click to expand...
Click to collapse
thanks! kernel works great so far. will flash the new version later!
I can confirm that this kernel works flawlessly!!!
I wish I had the same kernel for STOCK SENSE-based ROM.
Many thanks to @kyasu.
Sync and build with the latest kernel source (2014-05-15).
Source (patch) is slightly modified for working with m4 and m7.
See the opening message.
Czechnolog said:
I can confirm that this kernel works flawlessly!!!
I wish I had the same kernel for STOCK SENSE-based ROM.
Many thanks to @kyasu.
Click to expand...
Click to collapse
I ported S2W/DT2W to sense kernel.
See: http://forum.xda-developers.com/showthread.php?p=52678000
@kyasu - thanks for this kernel. I have a question - did you also experience this?
a) When I drive and have Google Maps on, the phone is constantly discharging even if it is connected to my car charger. (app. minus 5 % in 30 minutes)
b) When I do the same, but I am on any SENSE-based ROM, the phone is charging. (app. plus 7% in 30 minutes.)
Do you have any ideas?

SpaceLemon [KERNEL][6.0.1][EXTENDED BATTERY][N910 C/H/U][N910-N915-N916 S/K/L]

Hello everybody and welcome to the SpaceLemon Kernel thread !!!​
Disclaimer:
Your warranty is now void.
I am not responsible for any bricked devices, dead SD cards, nuclear war, or any kind of damage to your phone whether soft or hard brick.
Click to expand...
Click to collapse
What is SpaceLemon Kernel ?
It is a custom kernel for Samsung Galaxy Note 4 (N910H/C) devices.
It comes in 02 versions:
for standard battery
for extended battery (Zerolemon, Kranich, Hyperion etc.)
Features
Double Tap To Wake and Swipe To Sleep check this video to see how to activate them
Full synapse support
Mass-storage function in synapse
PERMISSIVE Selinux
Extended battery support (NO CALIBRATION NEEDED)
Recommendations for "extended battery"
Disable fast charging (Settings>Battery>Untick Fast Charge) check this link to see why
Let the phone charge to 100% it can take a lot of time (around 6~8 hours for Zerolemon)
Contributor: LukasAddon
Kernel Sources: https://github.com/LukasAddon/SpaceLemon-N910H-Kernel/releases
Latest versions downloads
Download links for N910C/H
Standard battery (v 2.91.45), Rooted Version and Non Rooted version
Extended battery (v 2.91.45), Rooted Version and Non Rooted version
Download links for N910S/K/L
Standard battery (v 2.91.45), Rooted Version and Non Rooted version
Extended battery (v 2.91.45), Rooted Version and Non Rooted version
Download links for N915S/K/L
Standard battery (v 2.91.45), Rooted Version and Non Rooted version
Extended battery (v 2.91.45), Rooted Version and Non Rooted version
Download links for N910U
Standard battery (v 2.91.45), Rooted Version and Non Rooted version
Extended battery (v 2.91.45), Rooted Version and Non Rooted version
Download links for N916S/K/L
Standard battery (v 2.16.3), Rooted Version and Non Rooted version
Extended battery (v 2.16.3), Rooted Version and Non Rooted version
Feel free to donate to @LukasAddon for this amazing kernel, here is his paypal address [email protected]
See Post #2 for Changelogs.
Changelogs
SpaceLemon Kernel v2.91.45 N910C/H/U (20/08/2017)
I2c_exinos5 reverted to modded again, to prevent black screen after call.
in synapse you can see all freq stats for CPU
SpaceLemon Kernel v2.73.1 N910C/H/U (20/08/2017)
add Color Saturation controll, now only saturation and sharpness
add i\o governors
gpu now use 100MHz if you set it.
A57 - 400-2100MHz , A53 - 200-1300MHz
Voltage for new cpu freq
SpaceLemon Kernel v2.40.1 N910C/H/U (17/07/2017)
Fix compile error if old configs are not deleted
N910C-H-U-S-K-L support
Latest samsung sources, security patches, speed and optimizations
Device tree updated! compilled all device tree revisions.
SpaceLemon Kernel v2.16.3 N916S/K/L (12/07/2017)
Magisk Support
Synapse config fixes
SpaceLemon Kernel v2.16.1 (29/05/2017)
Full rewrite DT2W and S2S (can work with deepsleep mode)
Disable extra log in release
More stable kernel - deleted all event handlers from DT2W and S2S, use only static functions
SpaceLemon Kernel v2.12 (23/03/2017)
Dt2w: update to 1.6
Add S2W function
Remove powersuspend from Dt2w and S2W
L2C-exynos - fix loop retries to send data to bus
Add LED control
Add screen control
GPS region choice support
Add scenario lock control
Add VM sysctrl to synapse
Add log export
Update superSU root to 2.79
Some optimizations in kernel code
SpaceLemon Kernel v2.5.5 (19/12/2016)
ADB Fixes
DT2W (Double Tap To Wake in Beta version): Please note that you'll have to double Tap twice the first to wake the Processor and the second to wake the screen (maybe it can save battery)
S2S (beta version)
Add TCP wifi algoritms (westwood default)
LCD power reduction (beta version)
TTL can be changed (add TTL module)
GPS region choice support
TCP tweaks
SpaceLemon Kernel v2.4.18/19 (25/11/2016)
Update root to 2.78
Remove red alert when phone boot
Fix install root with kernel (now root installs with kernel)
PERMISIVE mode. (some fixes)
SpaceLemon Kernel v2.3.2 (16/09/2016)
Android 6.0.1 - TouchWiz + UX support
remove interextrem governor
Add mass-storage function in synapse (to activate After every connection)
SpaceLemon Kernel v2.1.0 (06/09/2016)
Android 6.0.1 - TouchWiz + UX support
SpaceLemon Kernel v2.1.0 N910H(C)
full synapse support
Init.d support
Add UX support
TouchBoost from Note5
Dynamic Fsync
SpaceLemon Kernel v1.3.2 (27/08/2016)
Add root 2.76
Add busybox
Add bioshok gov
Fix wifi passwords
ISO & UDF CDROM support
Add NTFS support
Disable DVFS
Awesome!!! Thanks a lot @LukasAddon
Keep it up!
Hoping for 2.4.18 standard battery..
Thnak you so much to OP and Developers for this awesome kernel. Have been using it for 2 months and it is the best of the best :'D
radz_ said:
Awesome!!! Thanks a lot @LukasAddon
Keep it up!
Hoping for 2.4.18 standard battery..
Click to expand...
Click to collapse
All the credits goes to him. For the standard battery version it will come soon according to him.
TheBuduLord said:
Thnak you so much to OP and Developers for this awesome kernel. Have been using it for 2 months and it is the best of the best :'D
Click to expand...
Click to collapse
Absolutely awesome !
@danecr7
Responded to the other thread. But this thread here looks good too me, thanks for taking the time to post it for the community.
Thanks,
Bajanman
Sent from my SM-N930F using XDA Labs
I added kernel with standart battery driver to github =)))
Hi all.
Thanks for nicely heart for my n910c.
I had to install SU by TWRP cause no root after dirty flash on Ditto Note 7 ROM v0.1.
After that all work fine.
I shall try report any bugs.
Thanks for synapse btw Cheers !
LukasAddon said:
I added kernel with standart battery driver to github =)))
Click to expand...
Click to collapse
OP updated !
best_bitt said:
Hi all.
Thanks for nicely heart for my n910c.
I had to install SU by TWRP cause no root after dirty flash on Ditto Note 7 ROM v0.1.
After that all work fine.
I shall try report any bugs.
Thanks for synapse btw Cheers !
Click to expand...
Click to collapse
Which version did you try ? Because for the latest version, the kernel is pre-rooted. But you Can still flash supersu.zip file.
danecr7 said:
Which version did you try ? Because for the latest version, the kernel is pre-rooted. But you Can still flash supersu.zip file.
Click to expand...
Click to collapse
I can confirm that the phone loses root. I flashed the latest SpaceLemon (non-extended) on my N910C, which is running Ditto Note 7 0.1.
Tauras said:
I can confirm that the phone loses root. I flashed the latest SpaceLemon (non-extended) on my N910C, which is running Ditto Note 7 0.1.
Click to expand...
Click to collapse
I tested on stock firmware only. I try to fix that or debug.
Tauras said:
I can confirm that the phone loses root. I flashed the latest SpaceLemon (non-extended) on my N910C, which is running Ditto Note 7 0.1.
Click to expand...
Click to collapse
[emoji42] just flash Supersu.zip, done!
This supported all custom Rom? Doola v11?
Sent from my SM-N930F using Tapatalk
Thank bro. Keep it up
Sent from my SM-N930F using Tapatalk
Tauras said:
I can confirm that the phone loses root. I flashed the latest SpaceLemon (non-extended) on my N910C, which is running Ditto Note 7 0.1.
Click to expand...
Click to collapse
It worked for me on eRobot which is a ported ROM as DITTO, but you Can flash supersu.zip until it gets fixed.
machoguy said:
This supported all custom Rom? Doola v11?
Click to expand...
Click to collapse
Just try it and report back.
machoguy said:
This supported all custom Rom? Doola v11?
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
Worked on dooola v11
Sent from my SM-N930F using Tapatalk
Which kernel u re using @danecr7.
Tks so much for ur help.
Why don't you support n910u model?

SmartPack [Kernel] project for LOS-14.1 [G901F] / [G906S/K/L]

This project is now maintained by @wilmsn. The new thread can be found here.
/* Introduction */
I haven’t found any suitable kernel that supports Lineage-OS 14.1 (and likely other aosp nougat ROMs) for these variants of S5 though many custom kernels are available for many other devices with the same APQ8084 chipset (e.g.: shamu). So, I made one by simply picking a lot of good features from other existing APQ8084 kernels. All the credits go to many developers those create several kernels for this platform and eventually made my job very easy. Here I’m sharing the output of my work and hope you guys like this.
/* DISCLAIMER!! */
Code:
I am not responsible for any damage to your device. Everything you are doing on your device is on your own risk.
I only own lentislteskt (Korean variant). Hence, kernels under the category 'lentislte' are only tested by myself.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Supported devices */
lentislte: SM-G906S/K/L
kccat6: SM-G901F
/* Compatibility */
This kernel is only meant for Lineage-OS 14.1. It may or may not work on other LOS-14.1 (and AOSP) based Nougat ROMs (Please try in your own risk).
This kernel will NOT work in Samsung Stock and other TW ROMs.
/* How-to-Install */
1. Go to recovery (TWRP recommend)
2. Flash Kernel
3. Reboot and enjoy​
/* Features */
Build from latest Lineage OS source code.
Build using Google arm-eabi 4.9 toolchain.
Anykernel concept for compatibility with maximum devices.
Kernel tweaker app recommend: Offical Kernel Auditor.
Added features include...
CPU voltage control
CPU_input boost
CPU Freq Gov: Intelliactive, Lionheart, Nightmare, Alucard, Blu_Active, Yankactive, & Ondemandplus.
CPU hotplugs: Intelli plug and mako hotplug.
TCP congestion algorithms: Westwood, reno, cubic etc.
IOScheds: SIO & FIOPS
IOSched_switcher
FSync enable/disable support
Fastcharge
Sound Control
Simple GPU Algoritham
FRandom
KCAL v2 advanced colour management
a lot more...​
/* Features likley added in the future */
1. More cpufreq govs
2. More ioscheds
3. Overclocking/Underclocking
4. Intelli_thermal
5. Suggest me?
/* Downloads */
SM-G906S/K/L
SM-G901F
/* Special note to ROM developers */
You are allowed to include my kernel in any ROMs. Feel free to contact me, if you need any assistance from my side.
/* Acknowledgements */
@cvxda
@franciscofranco
@faux123
@flar2
@Imoseyon
@savoca
@Lord Boeffla
@Sultanxda
@Grarak
@osm0sis
@Alucard24
Many other XDA developers
XDA:DevDB Information
SmartPack, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: Beta
Beta Release Date: 2017-10-10
Created 2017-10-09
Last Updated 2017-11-26
Frequently Asked Questions (FAQ)
Q1: Is this kernel compatible with ROM(s) a/b/c?
Ans: I do not know. All of my kernels are based off and tested only on Lineage-OS. However, if your ROM(s) a/b/c are based on Lineage-OS (and uses the same kernel source code), it will most probably work
Q2: Is this kernel better than stock/‘xyz’ kernel(s)?
Ans: Regarding stock, Yes, It should be better in many aspects (Otherwise it will never been published). Regarding ‘xyz’ kernels, I don’t know. I even may not used your mentioned ‘xyz’ kernels.
Q3: How about performance/SOT?
Ans: Since SOT, performance etc. are largely based on several factors such as ROM, installed apps etc. No one else can exactly predict the performance/SOT of your mobile. So, you should test and find out that by yourself.
Q4: Can you tell me the best settings for performance/SOT?
Ans:Again, that depends on several factors. I can only say my favorite settings that gives me best results in my favorite ROM.
Q5: Could you add feature x and y to your kernel?
Ans: Not sure. It depends on the feature and the capability of device. Anyway, I’m happy to check and add, if possible, any useful features (unless it is too experimental or dangerous) to my kernel. Please give your suggestions in the official xda thread.
Q6: When will you release a new version of this kernel?
Ans: New updates will arrive whenever I have something new to present in-front of you (such as I managed to add new useful features, or fix some existing issues or along with each LOS release with some changes in the kernel source code).
Q7: I found a bug, what do I do?
Ans: Please provide as much information as possible (such as what feature, what didn\'t work, screenshots or logcat if possible) and post in the xda thread.[/hide]
Please also note:
Guys... I'm pretty new to this device (and in fact to android development itself). So, it is very likely that I break some already available stuffs. If you found so, please let me know.
1. Please make sure to disable mpdecission if you decided to enable other hotplus (only one hotplug at a time).
2. Do not use any CPU hotplug while using zzmove cpufreq governor (since zzmove uses its own hot-plugging profiles).
3. Do not use Adreno_Idler and Simple_GPU algorithm together (that will likely make issues).
Change-logs
Nougat
men, i will try your kernel today, but already thanks for not forgeting this device, have a nice day.
well, im using the last rom version, and all that i can see is that it breaks the wifi, my device is G901F
New builds...
Release status: beta-v1
Changes: CPU voltage control is updated (all the frequencies are now accessible via KernelAuditor). Some other fixes (mainly for wifi)...
Download links cane be found here... enjoy...
/* Downloads */
SM-G906S/K/L
SM-G901F
@Juanchito16 any updates?
heyyy man, now im tryong your last version of the kernel with the RR on my G901F, and now wifi works, thanks for your time and your project !!!!!
Juanchito16 said:
heyyy man, now im tryong your last version of the kernel with the RR on my G901F, and now wifi works, thanks for your time and your project !!!!!
Click to expand...
Click to collapse
Thanks for the reply and nice to know that it is working.
Btw, it could be nice if you test everything and made a detailed review. It will be useful for me to make it better as well as other users. I really like to know its status from an SM-G901F user (since I only own SM-G906S)... Thanks, anyway, for the early testing...
@sunilpaulmathew, right now im using a lg g6 so for now i will test how is the drain battery with stock kernel of RR and then with yours.
so actually wich settings i should let on in the phone for the standby test ? or wich you suggest me.
Honestly, I do not know since it is difficult for me to test the standby time due to my building and flashing habit
However, I'm presently satisfied with 1. cpugreq (nightmare), 2. cpu hotplug (intelli_plug), 3. undervolted (up to -50), 4. TCP algo (westwood) and 5. All other available features like fastcharge, sound control etc. enabled...
Juanchito16 said:
@sunilpaulmathew, right now im using a lg g6 so for now i will test how is the drain battery with stock kernel of RR and then with yours.
so actually wich settings i should let on in the phone for the standby test ? or wich you suggest me.
Click to expand...
Click to collapse
exactly what i tough so i do have time to try this, im waiting for phone to charge fully (now 55%), i will set 1. cpugreq (nightmare), and turn on wifi, bluetooth, gps, and in airplane mode bc i dont have sim for the phone.
well i dont have many apps installed ,so i will do every test with exactly same settings and apps
workload
Thank you for your Kernel,
The fist Look seems to be good, the CPU workload shows 3 Cores are OFF (kernel adiutor), one by 50% by default LOS with no Apps in the Background, with the settings you are posted.
Thank you for the the first costum kernel for sm-g901f on LOS 14.1.
best regards
so i did the "test" with your kernel, with the default kernel configurations, wifi, bluethoot, gps in high accuracy, full brightness, and youtube all the time with video playng, so it gives me 4 hours, wich i think is just exelent thinking its a old battery.
its a really nice work man, about the fast charge, its nice, i charged it with everithing, but unfortunately i cant say how fast its yet
deollz said:
Thank you for your Kernel,
The fist Look seems to be good, the CPU workload shows 3 Cores are OFF (kernel adiutor), one by 50% by default LOS with no Apps in the Background, with the settings you are posted.
Thank you for the the first costum kernel for sm-g901f on LOS 14.1.
best regards
Click to expand...
Click to collapse
Thanks for testing and review. It become much better in the next updates once I add cpu input boost...
Juanchito16 said:
so i did the "test" with your kernel, with the default kernel configurations, wifi, bluethoot, gps in high accuracy, full brightness, and youtube all the time with video playng, so it gives me 4 hours, wich i think is just exelent thinking its a old battery.
its a really nice work man, about the fast charge, its nice, i charged it with everithing, but unfortunately i cant say how fast its yet
Click to expand...
Click to collapse
Thanks for the really detailed review... As per its source code, it only increases the USB charging speed to 900mA and nothing else. Probably you can try ampere to test the charging speed. Btw, I hope more people test this kernel soon.
Testing now, thank you ! My phone g906s
i did try with ampere, im testing it in norway, and actually without any modification, and right cable i get 1.200 mA
kotobodj said:
Testing now, thank you ! My phone g906s
Click to expand...
Click to collapse
Juanchito16 said:
i did try with ampere, im testing it in norway, and actually without any modification, and right cable i get 1.200 mA
Click to expand...
Click to collapse
Thank you very much friends. Was busy with my klte kernel. I'll probably push an updated version tomorrow, if everything goes as expected.
Btw, anybody tested the sound control (Kernel Auditor ---> Sound)? Is it worth?
Thanks in advance...
I have tried to use the sound option, however it crashes my device. I can make some logs later if that's helpfull.
BorrelNootje said:
I have tried to use the sound option, however it crashes my device. I can make some logs later if that's helpfull.
Click to expand...
Click to collapse
Ahh, yes, please provide a log if possible... Thanks for reporting...
New builds (beta-v2)...
Release status: beta-v2
Added: SIO and FIOPS ioscheds, CPU input boost, iosched switcher & FSync enable/disable support...
Changes: Interactive cpufreg gov, sound control (default gain marginally increased, PS: it might still crash the device if you touch the sound tab, but give significant gain by default), recent commits in the LOS kernel source code...
Download links are here... enjoy
/* Downloads */
SM-G906S/K/L
SM-G901F
Code:
[B][COLOR="Red"]Please remember to download the latest build (dated 20171012)...[/COLOR][/B]
One more build...
One more update before the weekend...
Release status: beta-v3
Changes: Changes: zzmove cpufreq gov. All the commits in the LOS kernel source code till date...
Download links are here... enjoy
/* Downloads */
SM-G906S/K/L
SM-G901F
Code:
[B][COLOR="Red"]Please remember to download the latest build (dated 20171013)...[/COLOR][/B]

[Kernel] Project T Kernel for ZTE Axon 7 Mini

Hi guys,
I know that this forum is not widely used by ZTE Axon 7 Mini owners, but I still want to share my work the kernel used by the stock firmware.
Most of the parts were of course already based on the work of others, so I will give credits at the end of this thread of course.
Pre-requisites:
Unlocked bootloader
TWRP flashed
Knowledge you do this all at your own risk! I tested this kernel with my EU model, so I don't know if this will work on the US models, too.
Features:
- Based on latest kernel source shared by ZTE (ZTE B2017G Nougat(7.1.1) Kernel(3.10.84))
- Built with GCC 4.9 toolchain
- UC to 499MHz for BIG and 403 MHz for LITTLE (thanks to @flar2)
- OC to 1651 for BIG (again @flar2)
- Additional governors: yankactive, blu-active, impulse
- Additional IO schedulers: Sioplus, Zen, FIOPS. Tweaked Row is set as default
- Additional TCP congestion algorithms with westwood being the default one
- Approx. 30% faster due to CRC calculation and auditing disabling
- Sweep2Sleep on the navigation bar
- frandom RNG
- Sound Control by @flar2
- ZRAM using LZ4 optimized for ARM by default
- Optimized power management driver by @Yank555
- Native exFAT support without needing fuse @dorimanx)
- KCAL
- Vibration control
- uses higher power CPUs to boot (got roughly 3s faster boot time)
- Dynamic Fsync
- Gentle Fair sleepers can be toggled via sysfs and Kernel Adiutor
- Smaller tweaks
To do:
- Switch toolchain
- Remove "dirty" from the kernel name Apparently I need to push all changes to github before compiling(or recompiling the same kernel as soon as I pushed everything)
- Set the phone to accept the lower frequencies without having to set this up in Kernel adiutor
- Alter interactive governor to use full frequency range
- Add D2TS for screen and fingerprint sensor, S2W
- Wakelock reductions
- Maybe BLX, KCAL (even though I don't get the point to implement it) I was curious and did it now, looks nice
- LED and vibration control
- Switch hotplugging mechanism to Lazyplug, hotplugging is not that energy efficient anymore
See the attached picture regarding the CPU stats when using yankactive for example
Credits go to:
@Lord Boeffla @flar2 @dorimanx @Yank555
Unfortunately I didn't give proper credits on my github, I want everyone to know, that none of the features were designed and written by myself, just adapted to work on our phones!
Download here:
https://drive.google.com/drive/folders/0B0mn6OUqIDzBZG1DM1Y4dmxUV2c
Flash in TWRP, root and every other ramdisk modification will be preserved (Anykernel2 by osmosis)
Github:
https://github.com/TheSSJ/tulip_kernel
Changelog
V1.1: Initial version for public release!
V1.2: KCAL support
V1.3: Changed boot CPUs to higher power ones, added dynamic Fsync, added Quick Wakeup driver
V1.4: Gentle Fair Sleepers can be toggled now, ROW scheduler tweaked
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
TheSSJ said:
V1.1: Initial version for public release!
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
Click to expand...
Click to collapse
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Askael said:
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Click to expand...
Click to collapse
I wouldn't exclude this, but as I am running on stock, I can't confirm or deny...
You could make a backup of your boot and flash it and see what happens, worst thing is that you need to reboot to recovery and restore your backup
TheSSJ said:
V1.1: Initial version for public release!
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
Click to expand...
Click to collapse
TheSSJ said:
I wouldn't exclude this, but as I am running on stock, I can't confirm or deny...
You could make a backup of your boot and flash it and see what happens, worst thing is that you need to reboot to recovery and restore your backup
Click to expand...
Click to collapse
Thank you for replay, what governor you use?
You will need to try and see.
It uses anykernel which is good. But aokp and lineage are on android 7.1.2 while stock is on android 7.1.1. There was at least one kernel api change that may cause problems. But I'm not sure.
I'm assuming this package has the wlan module also...?
Askael said:
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Click to expand...
Click to collapse
@ssj @tdm
Guys, try flash kernel, AOKP, don't work.
W8 kernel version from customs
tdm said:
I'm assuming this package has the wlan module also...?
Click to expand...
Click to collapse
You mean the prima wifi stuff I have seen in you github? Honestly I didn't feel the need...does it improve the wifi experience or is it just for making it compatible with LineageOS?
No, I mean the kernel module for wifi, /system/lib/modules/pronto/pronto_wlan.ko. If that doesn't match your kernel, it won't load and you won't have wifi.
Note stock has a handful of other kernel modules, but I don't think any of them are needed Most look like they are for testing.
TheSSJ said:
You mean the prima wifi stuff I have seen in you github? Honestly I didn't feel the need...does it improve the wifi experience or is it just for making it compatible with LineageOS?
Click to expand...
Click to collapse
tdm said:
No, I mean the kernel module for wifi, /system/lib/modules/pronto/pronto_wlan.ko. If that doesn't match your kernel, it won't load and you won't have wifi.
Note stock has a handful of other kernel modules, but I don't think any of them are needed Most look like they are for testing.
Click to expand...
Click to collapse
Oh, ok...pronto driver is built into the kernel though, all other modules are really for debugging and testing as far as I could gather, so they are not included (and the phone works fine)
@Askael: As for a custom kernel for Lineage/AOKP etc: as I won't have these OS's on my phone I use as my daily driver, I can of course create one, but it is always published as untested, so there is no point IMHO.
TheSSJ said:
Oh, ok...pronto driver is built into the kernel though, all other modules are really for debugging and testing as far as I could gather, so they are not included (and the phone works fine)
@Askael: As for a custom kernel for Lineage/AOKP etc: as I won't have these OS's on my phone I use as my daily driver, I can of course create one, but it is always published as untested, so there is no point IMHO.
Click to expand...
Click to collapse
But we can test this. But if you not want - don't worry! :good:
Askael said:
But we can test this. But if you not want - don't worry! :good:
Click to expand...
Click to collapse
Will think about it
Version 1.2 is out, now with KCAL screen control support!
I'm building a kernel with many of these features for the LineageOS ROM. Want me to make a thread, and then you can link it for people interested in using it in your OP? Source is here: https://github.com/djkazic/sombrax_kernel
kevincai96 said:
I'm building a kernel with many of these features for the LineageOS ROM. Want me to make a thread, and then you can link it for people interested in using it in your OP? Source is here: https://github.com/djkazic/sombrax_kernel
Click to expand...
Click to collapse
Hi,
Feel free to open a new thread it is important to push this phone amd its potential as good as possible!
Development will go on, i still have some items to implement :good:
@TheSSJ
Hi! Any news about update?
@TheSSJ
Good to see you in Axon mini from zenfone 2
Askael said:
@TheSSJ
Hi! Any news about update?
Click to expand...
Click to collapse
You mean a custom kernel for CM builds or an update for this stock kernel?
For the CM based one I didn't start, although applying the modifications I applied to my kernel should be working
Druboo666 said:
@TheSSJ
Good to see you in Axon mini from zenfone 2
Click to expand...
Click to collapse
I was spotted It's a great phone, let's get the most out of it
TheSSJ said:
You mean a custom kernel for CM builds or an update for this stock kernel?
For the CM based one I didn't start, although applying the modifications I applied to my kernel should be working
I was spotted It's a great phone, let's get the most out of it
Click to expand...
Click to collapse
For this stok kernel
I was spotted It's a great phone, let's get the most out of it
Click to expand...
Click to collapse
i am using Axon 7 and yeah its a great phone i must miss you in axon 7
Updated version uploaded and available on G-Drive, boot time increased by 3s (you take what you can get )
/EDIT: Next version out, small enhancements and adding the possibility to enable/disable gentle fair sleepers

[KERNEL][P9][8.0+] ECOKernel 2020 [EOL]

ECO Kernel - Where not done yet
Compatibility Notes:
This kernel is tested to work with EMUI 8 and OpenKirin 8.x ROMs. All other GSI builds aren't guaranteed to boot.
GPL Notice:
This kernel is used and licensed under GPLv2 and visible on my git: https://github.com/dcionline/eco_kernel_hi3650_eva
Recommended Apps:
To tweak most of the settings in the kernel, I recommend using EX Kernel Manager: https://forum.xda-developers.com/gen...nager-t3560850 and Kernel Adituor: https://play.google.com/store/apps/d...ladiutor&hl=en
Features:
Compiled with UberTC 4.9 / Linaro 4.9 / GCC 4.9 toolchain with Cortex A53 and O2 optimizations
Upstreamed to v4.4.130 (where not done yet)
Added blu_active governor and more
Enabled sched CPU governor
Enabled Scene Aware, Performance, and Powersave GPU governors
Enabled HiSilicon GPUFreq Hotplug and Frequency Hopping feature
Disabled useless drivers and features
Say no to Huawei D.U.B.A.I analytics and root scan feature
Disabled Huawei OASES and Livepatching feature
Disabled Swap and zRAM for much smoother operations
Mali GPU tweaks for improved performance
Added zen, FIOPS IO Schedulers
Added westwood and other advanced TCP algorithms
Fingerprint boost driver for quick recognition
Added CPU boost driver to reduce input lag
Reduced allowed wakelocks and better timer frequency
Boeffla Wakelock Blocker to kill unecessary wakelocks that interrupt your device sleep
Dynamic Sched Tune CPU support
Fast USB Charging support
Option to toggle FSync
... and more which I didn't note down or forgot xD
Installation:
Installing the kernel is pretty easy. Reboot your device to fastboot and execute the following command:
Code:
fastboot flash kernel <kernel-name.img>
Downloads available here: UBER - Linaro - Stock
Latest stable Version: 04.05.20 build with Linaro
Latest working upstream applied: 4.4.206
testing channel: under review 4.4.207
dev channel: 4.4.208 debug
XDA:DevDB Information
[KERNEL][P9][8.0+] ECOKernel 2020, Kernel for the Huawei P9
Contributors
dkionline
Source Code: https://github.com/dcionline/eco_kernel_hi3650_eva
Kernel Special Features:
Version Information
Status: EOL
Created 2018-10-21
Last Updated 2021-07-03
The folder is empty :/
PS: What is the difference between UBER / Linaro / Stock? Is there any?
Charnooh said:
The folder is empty :/
PS: What is the difference between UBER / Linaro / Stock? Is there any?
Click to expand...
Click to collapse
Push on UBER my friend!!
Kernel is there....
Regards!!
Who
Charnooh said:
The folder is empty :/
PS: What is the difference between UBER / Linaro / Stock? Is there any?
Click to expand...
Click to collapse
I will push it until tomorrow.
Stock u should know, sources from Huawei/Google.
UBER + Linaro are modified toolchains to give the kernel a better touch in working state on the phone. Im aware, that there are newer versions up to GCC8.x, but not working on EMUI8 yet.
I've just installed the kernel (UBER) on my P9 running OpenKirin Lineage OS. Everything seems to be good so far. I was wondering if you had done any benchmarks regarding stock kernel battery life vs ECO kernel battery life? Also, can enabling fast charging damage the battery?
Ankush.P said:
I've just installed the kernel (UBER) on my P9 running OpenKirin Lineage OS. Everything seems to be good so far. I was wondering if you had done any benchmarks regarding stock kernel battery life vs ECO kernel battery life? Also, can enabling fast charging damage the battery?
Click to expand...
Click to collapse
I didnt tested any benchmarks. It depends mostly on Governor.
Fast Charging should work, but never used.
dkionline said:
I didnt tested any benchmarks. It depends mostly on Governor.
Fast Charging should work, but never used.
Click to expand...
Click to collapse
I tried the fast charging, and I *think* it charged faster, but maybe I imagined it ?. I'll know for sure the next time I do a full charge. Do you have an idea for what additional features you want to put into the next update?
What about deep sleep on OK ROMs? Does it work properly with this kernel?
Is there any way you could add a feature to change the vibration intensity? It's very low on Lineage OS, almost can't feel it.
Antix2835 said:
What about deep sleep on OK ROMs? Does it work properly with this kernel?
Click to expand...
Click to collapse
Mostly encountered issues are by Google Play Services. On Stock Deepsleep has no issues. On OK ROMs i didnt tested it yet.
Ankush.P said:
Is there any way you could add a feature to change the vibration intensity? It's very low on Lineage OS, almost can't feel it.
Click to expand...
Click to collapse
We had some talk about that, but dont know how it ended, think it didnt what we wanted to.
Everything good so far, i did antutu test ~145k.
Is it ok also for EVA-AL10c00b535 (or only for b528)?
dkionline said:
Features:
Compiled with UberTC 4.9 / Linaro 4.9 / GCC 4.9 toolchain with Cortex A53 and O2 optimizations
Upstreamed to v4.4.130 (where not done yet)
Added blu_active governor and more
Enabled sched CPU governor
Enabled Scene Aware, Performance, and Powersave GPU governors
Enabled HiSilicon GPUFreq Hotplug and Frequency Hopping feature
Disabled useless drivers and features
Say no to Huawei D.U.B.A.I analytics and root scan feature
Disabled Huawei OASES and Livepatching feature
Disabled Swap and zRAM for much smoother operations
Mali GPU tweaks for improved performance
Added zen, FIOPS IO Schedulers
Added westwood and other advanced TCP algorithms
Fingerprint boost driver for quick recognition
Added CPU boost driver to reduce input lag
Reduced allowed wakelocks and better timer frequency
Boeffla Wakelock Blocker to kill unecessary wakelocks that interrupt your device sleep
Dynamic Sched Tune CPU support
Fast USB Charging support
Option to toggle FSync
Click to expand...
Click to collapse
Thats pretty good ! :good:
I will test and report with EVA-b535 (btw: which seems to be a good Firmware)
zgfg said:
Is it ok also for EVA-AL10c00b535 (or only for b528)?
Click to expand...
Click to collapse
It needs a small edit for newer patch.
dkionline said:
It needs a small edit for newer patch.
Click to expand...
Click to collapse
My friend @dkionline!!!
Could this kernel for DL00 8.0.0.535 be permissive?
Thanks in advance!!
Rergards!!
im interested in this but im new to kernel stuff. im currently in rros for p9. what are the disadvatages if i install this? can i still normally update my rros rom if i install this?
iammitee said:
im interested in this but im new to kernel stuff. im currently in rros for p9. what are the disadvatages if i install this? can i still normally update my rros rom if i install this?
Click to expand...
Click to collapse
Generally, this is Kernel while Open Kirin ROMs flash System partition
zgfg said:
Generally, this is Kernel while Open Kirin ROMs flash System partition
Click to expand...
Click to collapse
so there are no issues on rom updates even with a modified kernel?
can i restore the old kernel if ever this turns out weird for me?
iammitee said:
so there are no issues on rom updates even with a modified kernel?
can i restore the old kernel if ever this turns out weird for me?
Click to expand...
Click to collapse
I don't know if they are compatible, just saying they are independent
Why not, you can always flash stock kernel back

Categories

Resources