[KERNEL][Z00L][Oreo]Better Battery Backup v3 - Zenfone 2 Laser Android Development

(Please don't quote the original 1st post when replying, as everything is in progress, not written yet,
Please don't ask for ETAs, I'm only doing this in my limited spare time, thank you)
My kernels are NOT flash-and-forget, please READ through post #1, then CONFIGURE using Kernel Adiutor Mod (see post #2)
[Z00L][KERNEL]Better Battery Backup v2 the original thread
[Z00L][KERNEL]Enhancements For Increased Battery Backup v1 the original thread (now locked/closed)
DISCLAIMER
I bear no responsibility towards any malfunction of your device. Use my kernels at your own risk.
BACKUP YOUR PARTITIONS!!!
Before attempting to flash any kernel/rom, backup your critical partitions! It's meaningless to ask for help when disaster strikes. Follow the links below, root is required.
Partition Dump - Complete STEP 1
Partition Backup by wanam (save as both .img & tar.gz, plus the 1st 100MB - see 'spanner tool')
There's no need to backup the System or Data partition.
Credits & Thanks
abhishekr700 | source
Fabb2303 | source
LuK1337 | source
prakharluv | source
For Z00L & variants only, meaning these kernels are for Asus Zenfone 2 Laser models
- ZE550KL
- ZD550KL
- ZE600KL
Change Log (nothing new)
v03
added cpu hotplug: autosmp
v02
added USB Fast Charge, credits to @ENGstk
v01
removed CRC Check for 30% Performance Boost
v00
added tcp-algorithm: westwood (default), bic, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois
added memory: samepage merging, frontswap, cleancache
added filesystem: ntfs
added config: kernel config.gz can be found at /proc
removed hotplug: msm performance
removed cpu: touch boost
v00
same as stock boot.img from rom
DOWNLOAD
Unzip, copy to phone, then flash kernel via TWRP (select "Install Image", point to BOOT partition), re-flash SuperSU (ver. SR5 for Oreo) if you use it, reboot directly.
(Note: if you need to revert to original kernel, extract boot.img from the rom)
If you use Magisk (14.3 for Oreo), refer to this thread 1st post - Installation Instructions, section "If you're not rooted, or something went wrong and you need a clean start"
DOWNLOAD KERNEL
LineageOS 15.0 build 0922
LineageOS 15.0 build 1017
Kernel source, it's from LineageOS 15.0
tested successfully on LineageOS-v15, AospExtended, XenonHD but bear in mind the sources are from LineageOS 15.0, if it doesn't work or get cranky on your AOSP rom, revert to your original boot.img (found inside your rom.zip)

After flashing kernel, configure using Kernel Adiutor

if you can't wait, maybe try your hand in compiling a kernel, full workflow HERE

Alternative to Greenify, ForceDoze: BREVENT
My Android Tools (use this app to disable background services)
Interested users may follow below threads to manage background services
[GUIDE] Stop Google Play Services Wakelocks (AppMeasurement, net_scheduler, etc.)
Another post to help pinpoint unnecessary background services
I use all of the above, plus microG, to remove Google Play Services totally, this require SigSpoof support on the ROM you are using.
But if the ROM do NOT have SigSpoof support, simply patch it with NanoMod-patcher-14.4.20171014.zip from NanoMod, patch it using TWRP immediately after flashing your ROM, patching might take 5-15 mins.

reserved 4

working for LineageOS 15 build 1017
Kernel Adiutor, CPU, governor Interactive, with Hotplug AutoSMP, will turn off unused cpu cores. Must configure as described in post #2

Thank you so much <3

Thanks for the kernel. May I know how's the performance of this kernel compare to stock lineageOS 15 kernel? I'm using snapdragon 615 variant

when properly configured as described in post #2,
hotplug AutoSMP will turn off unused CPU cores, lineageos default kernel will run all 4 cores non stop coz it uses touch boost & inefficient msm performance hotplug
the interactive governor will increase CPU clock speed & activate more cores as load increases, but as load goes down, will turn off cores & reduce clock speed to minimum
details in post #2

as lineageos 15 is in alpha stages, performance & battery endurance will differ across builds
my observations
build 0922 have just slightly better battery endurance than build 1017, but the ROM is progressing in other areas, so its a good tradeoff
hope the ROM goes to stable status soon

Please add KCal color control and faux audio

will only add battery related commits to kernel
BTW, use better battery stats (bbs) to check for abnormal battery drainage
anything below 0.5%/hr is very good for idle drain overnight
bbs must be set to "not optimized" under battery optimization
my screenshot shows idle drain of 0.3%/hr overnight, with WiFi on, no GPS, approx 11 hours, on lineageos 15 Oreo build 0922, no gapps, microG only with Playstore, Google Calendar, Drive, Keep & WhatsApp
WhatsApp is "Not Optimized" (battery)
Brevent mode is "Standby, the Force-Stop"
microG GCM ping is 15 mins for all network types
my custom kernel configured as post #2

I know its not battery related but pls add color control and faux audio it will be great.. or start a new thread and make a new kernel that include everything... pls brooo... hopefully waiting

Does fast charging require a separate quick charge compatible charger? Or is the stock charger enough?
I was reading about it online but I'm not sure whether this fast charging and Quick Charge 2.0 are one and the same.

fast charge is just normal USB charging, but with slightly higher voltage
quick charge support for Asus Zenfone is totally ZERO!!! It is not implemented by Asus on the Zenfone 2 series

pokipokipxorn said:
fast charge is just normal USB charging, but with slightly higher voltage
quick charge support for Asus Zenfone is totally ZERO!!! It is not implemented by Asus on the Zenfone 2 series
Click to expand...
Click to collapse
Okay thanks for the quick reply, I was confused as the Snapdragon processor seemed to support QC 2.0 but I doubted the existence of QC 2.0 battery charging circuitry here.
Btw Great Work with this kernel, we finally don't have to run all four cores all the time now.

@pokipokipxorn thank you for your amazing work
I just wanna request that if you could make a profile in kernal auditor with all the tweaks applied and make it available in the thread that we can download and easily import to our kernal auditor
It will be lot easier and will avoid confusion
Thank you:angel:

gavinfernandes2012 said:
Okay thanks for the quick reply, I was confused as the Snapdragon processor seemed to support QC 2.0 but I doubted the existence of QC 2.0 battery charging circuitry here.
Btw Great Work with this kernel, we finally don't have to run all four cores all the time now.
Click to expand...
Click to collapse
For shorter charging times, consider using a short micro-USB cable. I am using a 6 inch cable, charging time is much quicker.

pokipokipxorn said:
For shorter charging times, consider using a short micro-USB cable. I am using a 6 inch cable, charging time is much quicker.
Click to expand...
Click to collapse
Okay thanks, I'll see if I can get my hands on one

What toolchain do you use to compile this kernel? Is it still the uber-4.9 one? Would the GCC 7.2.1 GNU one be fine? What about Linaro?
Edit: Ok I got an answer to first question, you're using the uber-4.9 one (kernel adiutor), but can we use Linaro? Do you think it'll work?

Related

[KERNEL] [09 MAR 2011] --Kernel GL_Core v11-- 1190 / uv EXT2/3/4 CIFS EB -magldr+cLK-

Presenting, my HD2 NAND Android kernel!​
Summary
To provide, stable, fast and up to date kernels for our HD2s running either DFT or CWM nand android
Features
- 1190, 1190 Undervolt auto scaling versions available. listed is kernel MAX speed, it will scale to anything less depending on demand and ROM installed. Default max seepd is 998 without the use of an overclocking app
- Faster IO tweak taken from hastarins kernel tree
- Latest YAFFS driver
- Always built from latest source tree
- Very responsive kernel configuration
- Battery efficient
- Supports EXT 2 / 3 / 4, depending our your chosen ROM
- RMNET / PPP both supported, depending on your chosen ROM
- Bluetooth, WiFi, LED notifications all working correctly
- Smartass (default), Interactive and all standard CPU governors supported
- CIFS supported
- MAX defualt speed is 998, use setCPU or similar to overclock if you so wish
- cLK supported
- Automatic Extended Battery Support
Choosing your kernel
1190Mhz
This should work perfectly on nearly every HD2. It offers good speed at a slight cost to battery life. It will, depending on how your chosen ROM implements it, scale anywhere between 245-1190 Mhz depending on load
1190Mhz Undervolt
Same performance as 1190Mhz above, but with lower CPU voltage settings. It will work perfectly on most phones, but not all. If you experience FCs or random reboots then chose one of the aforementioned versions. This kernel offers significant battery life improvements if it works for you.
About the source and GPL compliance
The kernel is built direct from main GIT. You can access the commit logs and sources here on gitorious
The changes and modifications as mentioned in the changelog, and my build .config are all in my separate patch file, which you can download here
Download
All the kernels are supplied on one zip package. Contained within the package are the 2 kernel zImages and the associated modules. Chefs and advanced users will know what to do with these.
Download v11 (files only) --> http://htcfanboys.com/CleanEx/Kernel/DISTRIBUTION KERNELv11.zip
Download CWM ZIPs FOR NON TYPHOON ROMS (*series A*)
http://forum.xda-developers.com/showpost.php?p=11968195&postcount=408
Download CWM ZIPs FOR TYPHOON ROMS / ROMS SHIPPED WITH TYTUNG v6 (*series B*)
these include the wpa_supplicant fix for Wifi / bootlooping
http://forum.xda-developers.com/showpost.php?p=11974837&postcount=471
(the RAM named ones are for typhoon ram build)
Flash under cwm.
Wipe Cache and Dalvik Cache.
~~~~IMPORTANT~~~~
If you are not sure you need the WiFi patch, flash the *series A* kernel. If you find your phone bootlooping / wifi crashing, flash the *series B* kernels
As a backup, the wifi patch remains attached to this post
Changelogs
v11
- Pulled new updates from GIT
- Automatic Extended Battery support
- cLK patches and support built in
- some cleanups
- config changes, more responsive (quadrant wont improve thats IO bound)
v10
- Bug fixes, WiFi should work for everyone without the patch
- Imported the i2c, gsensor, GPU decoupling driver patches to new build tree
- Removed all debugging from kernel (99.9% people dont need it)
- Some build config changes, little more responsive
v9
- Fixed WiFi driver for non GB builds
- Fixed default CPU speed @ 998 max
- Fixed crashes / bootloops / random reboots
v8
- Switch to main branch, import speed mods from previous version
- Fix WiFi for GB / non-GB builds
- config changes for better response times
v7
- Switched to tytungs branch
- Swapped tytungs GB only WiFi driver for main one from primary GIT
- Added CIFS support
- Removed 998 / 1536 speeds
- 1190 Normal is not undervolted and will work for everyone
- 1190 uv is undervolted and might not work for everyone
- Reverted to SLAB, should fix bootlooping
- Other minor config changes
v6
-First public release
Disclaimer
I am not responsible for any damage, loss of data or earnings resulting from the use of my kernels. Users who wish to use an overclock kernel do so on the understanding that running any device outside its normal operating parameters may have damaging consequences
Credits:
Cotulla, Bepe, Hastarin, Tytung, Rafpigna, Markinus and all other kernel source contributors as mentioned on the GIT Commit logs.
Fadzy, JoPlayer, Dave and Jan-Willem for their never ending support, friendship, help and good laughs.
First! This is in a kleandroid 2.55?
yes....and no
its just been recompiled, and i added pure 998mhz for people who have phones that cant take the faster speeds!
Awesome! This is the best kernel, have been using it for like three days and it gives me the best battery life and performance. I loved it. I'll pack this one into cwm zip when I get home and flash it.
Edit: how much does battery life actually improve with the uv one? Now I'm torn between the uv and oc to 1.5ghz. Battery or performance?
Sent from my HD2 running Android on NAND
Can anyone test this on sergio's coredroid 1.4 and post results? I would but dont have my computer for a couple days.
g.lewarne
Please add 998Mhz kernel to next update CleanDroid!
Derek0228 said:
Awesome! This is the best kernel, have been using it for like three days and it gives me the best battery life and performance. I loved it. I'll pack this one into cwm zip when I get home and flash it.
Edit: how much does battery life actually improve with the uv one? Now I'm torn between the uv and oc to 1.5ghz. Battery or performance?
Sent from my HD2 running Android on NAND
Click to expand...
Click to collapse
you might get maybe possible 15% more battery time out of the UV kernel. in ideal circumstances in a perfect world of course
CWM
How to use that? :-(
Any zip to use on cwr?
felipemadox said:
How to use that? :-(
Any zip to use on cwr?
Click to expand...
Click to collapse
Not yet, it is still underway.
I made some cwm zips, before going to sleep. I wasn't able to test them because it's late, but they should work. If g.lewarne wants to post them in the OP, i have no problem. Inside the zip, after you download, there are 4 more zips, one for 998, 1190, 1536(this one doesn't work for me) and 1190 UV. Just flash the one you like and enjoy!
http://www.multiupload.com/DPR3F7TW7J
http://www.mediafire.com/?sqg55hze9evgchb
If you find this useful donate me a click on my thanks button.
Thanks derek.
g.lewarne said:
Thanks derek.
Click to expand...
Click to collapse
Once tested, please update, i will test a rom on it.
raviluke said:
Once tested, please update, i will test a rom on it.
Click to expand...
Click to collapse
I can't test anything now as im off to bed . Its 2am and I did a 14 hour day. Yawn!
report
Derek0228 said:
I made some cwm zips, before going to sleep. I wasn't able to test them because it's late, but they should work. If g.lewarne wants to post them in the OP, i have no problem. Inside the zip, after you download, there are 4 more zips, one for 998, 1190, 1536 and 1190 UV. Just flash the one you like and enjoy!
Please give feedback, again I say, they should work but haven't tested them. I've made all his previous kernel versions cwm zip, and flashed them successfully.
http://www.multiupload.com/DPR3F7TW7J
http://www.mediafire.com/?sqg55hze9evgchb
Click to expand...
Click to collapse
Thank you!
1190Mhz Undervolt its working here.
1536 does not work for ne! Causes random reboot on boot. If you want to test it, do so, but i'm pretty sure it's a problem with the kernel, not with the zip, because the one g.lewarne uses on his rom had 1536 and caused random reboots too, cant be a coincidence . Also, youre welcome!
I flashed the 1190 to test, now off to flash the UV one!
Sent from my HD2 running Android on NAND
raviluke said:
Once tested, please update, i will test a rom on it.
Click to expand...
Click to collapse
It works, but not the 1536 one, or at least not for me.
Sent from my HD2 running Android on NAND
Might I just point out that in real world situations the 1190 kernels are just as fast. 1536 is really just a gimmick but some people want it so there you to. Myself, I run my own personal 1305
Sorry for spamming this thread, but I must ask, is uv dangerous? If so, what are some steps I have to follow to prevent my phone from getting fu'd? Like for example,i know that for the 1536, we shouldn't have it always o/c'd to the 1.5ghz.
Sent from my HD2 running Android on NAND
Derek0228 said:
Sorry for spamming this thread, but I must ask, is uv dangerous? If so, what are some steps I have to follow to prevent my phone from getting fu'd? Like for example,i know that for the 1536, we shouldn't have it always o/c'd to the 1.5ghz.
Sent from my HD2 running Android on NAND
Click to expand...
Click to collapse
Uv Isn't dangerous in the same way, the only problem is possible crash, cpu is safe
Derek0228 said:
I made some cwm zips, before going to sleep. I wasn't able to test them because it's late, but they should work. If g.lewarne wants to post them in the OP, i have no problem. Inside the zip, after you download, there are 4 more zips, one for 998, 1190, 1536(this one doesn't work for me) and 1190 UV. Just flash the one you like and enjoy!
http://www.multiupload.com/DPR3F7TW7J
http://www.mediafire.com/?sqg55hze9evgchb
If you find this useful donate me a click on my thanks button.
Click to expand...
Click to collapse
Installed the UV Kernel on Coredroid v1.4 TMOUS ver its getting stuck at GO GO GO

Custom Lollipop kernel for Zenfone 5 & Zenfone 6 by BORETS24.(Intel only)

Disclaimer: I am not responsible for your broken phone , broken memory card, etc. All my kernels I test first on my own phones , and then upload here
If you like my works please do not forget donate to me(PayPal account you may find in my profile)
Very often people not read full description(then write me to email "device not start, help me" even in the middle of the night) therefore write here with giant words:
UNLOCKED BOOTLOADER REQUIRED OTHERWISE DEVICE CAN'T START WITH CUSTOM KERNEL (YOU GET USB LOGO PICTURE OR TO YOU THROW INTO RECOVERY OR BOOTLOADER)
I never add fake overclock and overclock, because for now(or forever) no method for real overclock and underclock
Random reboots for most users probably fixed in 16.04.2016 and higher
For max stability I recommend to use Interactive governor
Kernel features:
1) USB Mass Storage Support
2)
3) DT2W support (to activate it, you should install Zenmotion)
4) KVM support (Kernel Virtual machine for Intel)
5) Added support of init.d. scripts
6) Added support of exFAT file system for external sd card.
7) ZRAM is disabled for old versions, on version of December 6 and higher- ENABLED.
8) Added CD emulating feature
9) Added SWAP support(need create swap partition on sdcard)
10)
12) Add more governors and I/O schedulers
13) USB-HID mouse & keyboard function(required USB Keyboard app from GPhttps://play.google.com/store/apps/details?id=remote.hid.keyboard.client&hl=en)
14) Support joysticks (DragonRise, Inc ang others)
15) Add more TCP IPv4 congestion algorithms (May change via TricksterMod or Kernel Auditor apps)
16) Reduce min display backlight for autobrightness. For use min backlight level you should to use autobrightness and set it to the left
Deprecated features:
1. Overclock to 2000 Mhz (for A501CG only) and Overclock to 2400 Mhz (for A500CG only). Idea and work by @TheSSJ (it have been removed since 26.12.2015)
2. Based on Asus Zenfone 2 ZE551ML 2.20.40.44(more than 50%) + Asus Zenfone 6 3.24.40 sources
3. Underclock to 667 Mhz. Idea and work by @TheSSJ
4.Hotplug for all governors
5. Frandom Linux kernel generator
Note: This kernel will work on stock Lollipop firmware only like 3.24.40.87, 3.24.40.78 or 3.23.40.60 or 3.23.40.52
This kernel was created by BORETS24 So if you need more information you can pm to him.
How to flash this kernel:​Method 1(via PC)​Step 0:
Bootloader unlock is required for every custom rom. You can use this tool for unlock:
https://drive.google.com/file/d/0B-Fin8UxrD6PRU9MM1lQZkV0SG8/view
Step 1:
You should download files for flashing:
ADB v1.0.32: Download from Google Drive
Step2:
You should reboot your phone in the droidboot mode. (turn off you gadget then press Turn off button and volume + button)
Then go to the ADB folder and hold Shift + Right Mouse button and write this command:
Code:
fastboot flash boot new_bootXX.XX.img
,where XX.XX- numbers after words "new_boot"
Step3:
Reboot to Android.
Method 2(through CWM/TWRP, without PC)​1. Download Flashable ZIP archive on phone
2. Go to recovery mode
3. Click Install ZIP and choose this archive
4. Then reboot
Archieves You make take from this post http://forum.xda-developers.com/showpost.php?p=64640638&postcount=364(Thanks to @Don No 1)
How to install Zenmotion:​(it needed for DT2W)​1) Download this file (asus.hardware.touchgesture.double_tap.xml) :
https://drive.google.com/file/d/0B-Fin8UxrD6PWWRBT1gwak16Tnc/view?usp=sharing
2) Put this file into system/etc/permissions
Set file permissions. It is a 0644 rw- r-- r--
3) Reboot the phone
4) Find Zenmotion in the Settings and activate it.
(It will work if you flash this kernel)
Changelog:
25.10.2016
I not remember that I removed, let's start that I changed and added
USB Mass Storage mode
Removed few unstable governors
I started to compile with use Zenfone 2 source code for Marshmallow
Existed governors from 6.0.1 source
Removed lz4- caused bugs, drain battery, very slow interface
Added bootboost feature into ramdisk such as Zenfone 2
Now drain battery less and interface speed is high
12.06.2016
Reduce min display backlight brightness to 5(no need to set to 2, no difference between 5 and 2- I checked).For use min backlight level you should to use autobrightness and set it to the left
ZRAM now turn on automatically only for 1 Gb RAM devices, for 2 Gb it disabled by default
Return to "1 core per modules" CPU mode
Return Interactive Pro and Intel governors
Remove InteractiveX and Hotplug governors(sometime caused problems)
Replace WI-FI from module into kernel
03.06.2016
Full NTFS support for SD card
NTFS OTG full support by sibling Asus File Manager(read/write), from others file managers you can to see OTG NTFS devices, may see OTG NTFS devices from file chooser but you can't edit data. But you can edit platform.xml via NextAPP SDfix and can write on NTFS OTG devices with any apps
14.05.2016
Full ExFAT SDcard support such as stock kernel(Now you can see ExFAT sdcard in file chooser, can modified data even without Next APP SDfix)
Remove UKSM and disable KSM
16.04.2016
Fixed: restore signal after long dissapear
Fixed: random reboots in phone calls
Standart processor mode "2 cpus per module"
Remove Intel, Lagfree governors and FIFO scheduler(caused reboots)
Compile with standart GCC 4.9, remove -O3 optimization(unuseless, placebo effect)
Add idle from Linux 4.6
17.03.2016
LZ4 kernel compress
LZ4 zram compress/decompress
Remove Hotplug(caused reboots, overheats) driver and return Hotplug governor
Speed-up interface
More less battery drain
Compile with SaberMod 4.9.3
Others optimizations
05.03.2016
Added again hotplug driver but modified, cores not jumping, not dancing, strongly CPU0+CPU1 always online
Approximately 90% sibling source 3.24.40
Hybrid ramdisk from 87+60 firmware
Some changes in dt2w code
Fixed CD emulation
14.02.2016
Based on Asus Zenfone 2 ZE551ML 2.20.40(more than 50%) + Asus Zenfone 6 3.24.40 sources, remove hotplug driver, return Hotplug governor
06.02.2016
Hotpluging for all governors via MSM hotplug driver(I set 2 cores always online by default, you may tuning this driver via Kernel Auditor, point CPU Hotplug), possible fix the impossibility of restoring the network signal after a long stay outside the network, remove Hotplug governor(is no longer needed)
31.01.2016
Add Hotplug governor and set it by default, without load on CPU 1,2 or 3 cores will go to offline https://www.youtube.com/watch?v=WBbCBahSgrM&feature=youtu.be
30.01.2016
Remove hotplugging from Interactive governor again, add InteractiveX V2 governor with adaptation for Quad core devices( 1 phisical core= 2 threads CPU go to offline, when screen off)
27.01.2016
Interactive governor from Asus ZenPad S 8.0 with adding hotplugging(2 threads=1 core go to offline, when screen off), underclock to 533 MHz, many code and drivers from source Asus Zenfone 2 ZE500CL, Ofast optimization
19.01.2016
Add and turn on Ultra kernel samepage merging(UKSM) technology a place of KSM, underclock to 450 MHz, may be fixed all random reboots besides during long phone calls, when dt2w is on(or fix? I don't know)
16.01.2016
Use new source code 3.24.40
Tweak Interactive governor: hispeed_freq and touchboost_freq down to 1333 Mhz
09.01.2016
May be, fix all random reboots
04.01.2016
Fixed freezes and reboots on third-party governors, when connection speed faster than 20 Mbit/s, return hotplugging to Interactive governor, return Intel and Yankactive governors, some bug fixes
02.01/2016
Compile without Ofast optimization, removed Hotplugging from Interactive governor, removed Yankactive governor, may be, this actions fix random reboots.
31.12.2015
Compile without Ofast optimization, processor works now in '1 core per modules' mode, now disable 3 core(3 threads), when screen off, on Interactive governors, try at random fix reboots on all version of devices
28.12.2015
Try to fix reboots on 1 Gb RAM modifications(return stock process drivers)
28.12.2015
a)Change toolchan from stock GCC to SaberMod 4.8.5
b) Add Hotpluging to Interactive governor, when screen off
c) Add F2FS support
d) Fix some warnings during compilations
25.12.2015
Attempt to fix screen freeze or reboots during long phone calls: change process.c driver on modifity driver from Zenfone 2. Read about it here https://github.com/kirananto/ZENFONE2/commit/044ad3da5263ba256a59b517e96a272b4e3f19f6, Fix almost all warnings in proximiry/lightsensor driver "ISO C90 forbids mixed declarations and code" during compiling, remove "fake" overclock
23.12.2015
Fix freeze and reboots of device, when chaging governors and/or schedulers, add more TCP IPv4 congestion algorithms and set Westwood by defauls in place of stock Cubic
Add some joysticks support, now may use device as keyboard and mouse for PC, move KVM from kernel to modules
15.12.2015
Underclock to 316 MHz, add Adaptive, Yankactive(with Hotplugging implementation by @TheSSJ] ) and conservativeX governors
12.12.2015
Add if.bin into kernel, to attempt fix screen freezing, push also if.bin to system/etc/firmware and reboot phone.
if.bin
11.12.2015
1. Add frandom Linux kernel generator
2. Add Bioshock, Lagfree, lionheart, Wheatley governors
3. Add BFQ, SIO, SIOplus, FIFO, FIOPS, VR I/O schedulers
06.12.15
Add ZRam support
10.11.15
1. Add SWAP support
2. Kernel build with Ofast optimization.
Now I will upload new versions on Yandex Disk
https://yadi.sk/d/tBN8eYlVr3mVZ
XDA:DevDB Information
Custom Lollipop kernel for Zenfone 5 & Zenfone 6 by BORETS24(Intel only), Kernel for all devices (see above for details)
Contributors
tank0412, BORETS24
Source Code: https://github.com/BORETS24/Kernel-fo-Zenfone-6-by-BORETS24
Kernel Special Features:
Version Information
Status: Stable
Current Beta Version: 1.0
Created 2015-11-02
Last Updated 2016-10-25
Bugs:
Some users reported that they have random reboots or screen freezes after call.
This issue have not solved yet.
Btw @tank0412 did u tried contacting borets if he can update this kernel for rr rom [emoji14]
Sent from my ASUS_T00J using Tapatalk
no_name said:
Btw @tank0412 did u tried contacting borets if he can update this kernel for rr rom [emoji14]
Click to expand...
Click to collapse
Yeah. I drop him a line on 4PDA. It looks like he stoped developing because he do not have device and he can not fix freezes after call + random reboots.
Actually in his kernel there's no freeze btw I think if he can release source then someone may work on it to make it compatible with rr rom ?
Sent from my ASUS_T00J using Tapatalk
no_name said:
Actually in his kernel there's no freeze btw I think if he can release source then someone may work on it to make it compatible with rr rom
Sent from my ASUS_T00J using Tapatalk
Click to expand...
Click to collapse
But he did this yesterday
https://github.com/BORETS24/Kernel-fo-Zenfone-6-by-BORETS24
Wow great ?
Sent from my ASUS_T00J using Tapatalk
What apps can i use to underclock overclock this kernel?
geepee410 said:
What apps can i use to underclock overclock this kernel?
Click to expand...
Click to collapse
Kernel auditor.
But this kernel has a default underclock/overclock. (400mhz/2000Mhz)
tank0412 said:
Bugs:
Some users reported that they have random reboots or screen freezes after call.
This issue have not solved yet.
Click to expand...
Click to collapse
Hi mate I am using this custom kernel and dt2w and its in ON state for three days now and I can confirm I don't have any freezes or reboots.... I had flashed internal data, system and cache before installing, and also had first installed. 44. Version KitKat..... During installing KitKat I relocked boot loader and flashed stock recovery. Then I installed. 54 version then lollipop. 60 and finally. 78 lollipop.. After this i unlocked bootloader and flashed twrp... Then flashed custom kernel and zen motion, no lags [emoji2]. Only my phone wakes everytime when I am on 2G data enabled and WiFi off..
Sent from my ASUS_T00F using Tapatalk
tank0412 said:
But he did this yesterday
https://github.com/BORETS24/Kernel-fo-Zenfone-6-by-BORETS24
Click to expand...
Click to collapse
U should share this to Quanqanh
kunalshah912 said:
Hi mate I am using this custom kernel and dt2w and its in ON state for three days now and I can confirm I don't have any freezes or reboots.... I had flashed internal data, system and cache before installing, and also had first installed. 44. Version KitKat..... During installing KitKat I relocked boot loader and flashed stock recovery. Then I installed. 54 version then lollipop. 60 and finally. 78 lollipop.. After this i unlocked bootloader and flashed twrp... Then flashed custom kernel and zen motion, no lags [emoji2]. Only my phone wakes everytime when I am on 2G data enabled and WiFi off..
Sent from my ASUS_T00F using Tapatalk
Click to expand...
Click to collapse
Hello there heheh i can see rr members here hahah
Yerp i am using it for 2 days, everything ok. Only screen freeze when temp high up to 42 degree.
Might be bootloader unlock. Later will try relock back and see wat will happen
Sent from my ASUS_T00J using XDA Forums
mshazrul82 said:
Hello there heheh i can see rr members here hahah
Yerp i am using it for 2 days, everything ok. Only screen freeze when temp high up to 42 degree.
Might be bootloader unlock. Later will try relock back and see wat will happen
Sent from my ASUS_T00J using XDA Forums
Click to expand...
Click to collapse
For relocking you need to install stock recovery
Sent from my ASUS_T00F using Tapatalk
@quanganh2627 if you interested in sources of borets kernel then you can see sources are released by him and one thing to tell you that in his kernel "no freeze after call" or any such type of bug,his kernel is supper smooth so maybe you can do something to make it work on our rr rom ?
Sent from my ASUS_T00J using Tapatalk
hey @tank0412 what new on update 2/11 ,sir ?
ChungVan said:
hey @tank0412 what new on update 2/11 ,sir ?
Click to expand...
Click to collapse
Nothing. i just created own topic for it on XDA.
Is this the same kernel that you post in the rr thread? @tank0412
myrul said:
Is this the same kernel that you post in the rr thread? @tank0412
Click to expand...
Click to collapse
Yeah, it is a same.
kunalshah912 said:
For relocking you need to install stock recovery
Sent from my ASUS_T00F using Tapatalk
Click to expand...
Click to collapse
R u using stock .78 with dt2w kernel, if yes then what type of settings r u using as my battery is draining very fast and r u also using power saver? Please reply.
Thanks
tank0412 said:
Bugs:
Some users reported that they have random reboots or screen freezes after call.
This issue have not solved yet.
Click to expand...
Click to collapse
with this kernel , no random reboots or screen freezes after call.
i think it have only one problem was limited 3 minutes when call . after 3 minutes , the call will auto end

[KERNEL] Lightly Modified Zenwatch Kernel

This is a (lightly) modified, based on stock, kernel for the 1st gen Asus Zenwatch; repacked from the stock boot.img (by replacing zImage).
See the changelog below for changes from stock and between versions.
NOTE: This kernel is only for the MEC23S (Android Wear 1.4) build, and is still experimental. I have not tested this on the newest build (and it's likely not compatible), but I'll probably do a final build for the latest version as a sendoff.
To download the kernel, go to the Downloads tab at the top of the OP, and download the file (version)-ondemand.img.
I can provide a mirror if the DevDB download doesn't work for some people.
I'm not entirely sure what else I can test/add to this kernel (without needing root, since it's not flawless on this watch), so if anyone has some suggestions, I can try adding those things to the kernel, so for now, new builds will come as there are new features to add.
If you want to try out this kernel, I recommend that you try just booting it through fastboot first:
Code:
fastboot boot (version)-ondemand.img
If something goes wrong, I am also including the stock kernel (boot_original.img in the downloads tab).
If you decide that you want to flash the kernel, you need to unlock your bootloader first (it will wipe all your data, so backup first), then run this command:
Code:
fastboot flash boot (version)-ondemand.img
To check if the custom kernel actually loaded, run an ADB shell, and type:
Code:
uname -a
The kernel version number should have "(version)-ondemand" right after it.
Notes:
For now, I am mainly planning to test out features that I can add or modify on the kernel without compromising stability or battery life, and I will also be testing each build on my own Zenwatch.
If there is enough interest, I can try and add custom CPU governors or set a different included one as default, but since there's no way to change the governor without root, I'll need to upload separate kernel images for each new default governor.
Vibration intensity is pretty easy to increase, so if 3100 mV still feels a bit weak, I can try bumping it up a bit more, like to 3150 or 3200 mV (I don't want to risk raising it too much and damage hardware).
Building the kernel doesn't take too long, so if there are any bugs or features to be added, I can compile and upload a new kernel pretty quickly.
XDA:DevDB Information
Custom ZW Kernel, Kernel for the Asus ZenWatch
Contributors
itechnoguy
Source Code: https://github.com/iTechnoguy/zwkernel
Kernel Special Features:
Version Information
Status: Testing
Current Beta Version: v2
Beta Release Date: 2016-04-10
Created 2016-03-30
Last Updated 2016-04-10
Changelog:
v2 - 04-10-2016
Changes:
I/O Scheduler no-op added (and made default; stock kernel default was CFQ)
Compiled with Linaro GCC 4.9
Note: So far, ondemand is one of the only CPU governors other than performance that don't cause the Zenwatch to bootloop (including 3rd party governors), so for now, ondemand will remain the default (a couple of other governors, like interactive remain compiled in, but bootloop when made default)
v1 - 03-29-2016
Changes from stock kernel:
Uses the ondemand governor by default (instead of performance)
Slightly increased vibration strength (measured in mV; increased from 3000 to 3100 mV)
To-Do/Look into:
Implementing CPU (and IO schedulers?) governors without having to create a separate kernel image for each governor, meaning needing systemless root to avoid needing to reflash the system partition before an OTA
Possibly add init.d support so that scripts can change the governor on boot (without needing an app, which would probably be hard to use on the ZW's small screen)
Kernel-level support for disabling the default low-bit ambient mode (since build.prop edits don't work)
If you have the opportunity when you are looking around in there see if there is anything in the kernel that forces low bit ambient. I have tried changing the build.prop to turn it off as you would on other devices and it has not been successful.
hecksagon said:
If you have the opportunity when you are looking around in there see if there is anything in the kernel that forces low bit ambient. I have tried changing the build.prop to turn it off as you would on other devices and it has not been successful.
Click to expand...
Click to collapse
I'll look into it, but from what it looks like so far, it seems that low bit ambient mode isn't a kernel-level feature. I'll keep digging around though, and see if there is something within the kernel that controls it.
Maybe ability to disable 2 cores to increase battery life?
Sent from my SM-G925F using Tapatalk
macia10 said:
Maybe ability to disable 2 cores to increase battery life?
Click to expand...
Click to collapse
I can implement that; it's more of a ramdisk edit (as seen in tiny4579's discontinued kernel for this same watch).
I guess there's also the parameter CONFIG_NR_CPUS to set the max number of CPU cores (like setting maxcpus in the ramdisk), but on a kernel level. I'll take a look and test it out.
I've been testing a couple of builds with reduced cores, and I've been running into issues. Any dual core setup I've tried so far (either by limiting the CPUs within the kernel or just the ramdisk) seems to be unstable, causing the watch to reboot within a couple of minutes of finishing boot. I guess the ramdisk editing worked on a previous kernel/build of Android Wear, but it's causing some sort of instability on Marshmallow now.
I also tested with tri-core builds, but none of those even made it past the boot logo.
I have flashed the kernel and will run it for a few days to see if there is any battery improvment. As far as CPU goes maybe using a hotplugging governor is the way to go? Not sure if there are any modern ones out there but I recall back in the day before hotplugging was done with a stand alone module.
hecksagon said:
I have flashed the kernel and will run it for a few days to see if there is any battery improvment. As far as CPU goes maybe using a hotplugging governor is the way to go? Not sure if there are any modern ones out there but I recall back in the day before hotplugging was done with a stand alone module.
Click to expand...
Click to collapse
I've been watching the CPU usage using AIDA64, and it seems like most of the cores are inactive most of the time, so I think the kernel might already be using Qualcomm's built in hotplug driver.
I might have to add in a separate hotplugging governor, which shouldn't be too much of a problem, since the default CPU governors were just performance, ondemand, userspace, and conservative (interactive is also available, which I may make default next if a hotplug governor doesn't work well).
In terms of battery life, I noticed that ondemand does help increase idle/screen-off battery time, but screen-on time seems to be about the same as when using performance.
get about an extra day with ambient off and tap to wake. I'm at the end of day 2 with ~30% left.
I recall back when we had root that previous versions of the official software ran only single core on performance governor. I think the CPU was limited to like 800 or 1000 MHz too.
Yeah, the default max clock speed is set to roughly 787 MHz, and the minimum (in this kernel version) was at 300 MHz.
I think I may make the next build with interactive instead of ondemand, to see if interactive offers any better battery life, since hotplug governors basically refuse to compile with a newer kernel. I'm also considering making the new default minimum clock speed to 250 MHz (or lower, if it doesn't get unstable).
New build is up (v2), available on the DevDB Downloads tab (full name: v2-ondemand.img). See the second post for changes.
I just realized that my watch updated to Android Wear build MWD48B by itself, which also brings a new kernel (Asus posted the new sources a few days ago). I don't know if there's still interest in a modified kernel, but I can try building a new kernel with the updated sources (which may take a bit since I don't have access to my normal build system).
itechnoguy said:
I just realized that my watch updated to Android Wear build MWD48B by itself, which also brings a new kernel (Asus posted the new sources a few days ago). I don't know if there's still interest in a modified kernel, but I can try building a new kernel with the updated sources (which may take a bit since I don't have access to my normal build system).
Click to expand...
Click to collapse
col you have latest build already.
Partners watch has not recieved the update... But she has twrp and the OPs Kernel flashed so may be thats the reason..
Could someone confirm if going back to stock recovery on kernel will allow the update and proved instructions and downloads to restore them
lohtse said:
col you have latest build already.
Partners watch has not recieved the update... But she has twrp and the OPs Kernel flashed so may be thats the reason..
Could someone confirm if going back to stock recovery on kernel will allow the update and proved instructions and downloads to restore them
Click to expand...
Click to collapse
You'll have to restore the stock recovery to install the OTA update (I made a backup of the stock recovery from the last update here: https://drive.google.com/open?id=0B6eYQrCg9u-bUTA2d3dRdEZBbXM).
In terms of having the custom kernel flashed, I don't think that affects the update, because my Zenwatch stealth updated without me noticing (even though I had the kernel flashed), since I had the stock recovery installed, not TWRP.
I would love continued effort on a kernel but it doesn't look like this device has much life left here at XDA. If you don't personally believe you will benefit from your effort, don't make it for others.
hecksagon said:
I would love continued effort on a kernel but it doesn't look like this device has much life left here at XDA. If you don't personally believe you will benefit from your effort, don't make it for others.
Click to expand...
Click to collapse
I am considering doing one final kernel for this watch (no ETA, because I've been really busy lately), since it's very likely that Wear 1.5 will be the final update, so the kernel won't need updating past that (if it's stable, of course). It might not see much use, but it'll still be here for people that continue to use this watch past its official support life.

[KERNEL] [EOL] [OnePlus3T] [OOS 5, 4, 3] Boeffla-Kernel (16-01-2019)

*** This kernel is now end-of-life, not supported and developed anymore !!! ***
Hi all,
some of you know me from the other OnePlus or Samsung devices areas, where I provide my kernels already for more than three years to OnePlus 3, 2, one and X, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other, good existing kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Compatibility
Important: This kernel is only meant to be compatible with official OnePlus OOS and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
To add: An open beta (aka community build) is NOT an official build supported here. If you use a community build and have issues, don't complain or even report. I am not merging any kernel changes from open betas into my kernels !!
Important notes
When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
This kernel is ONLY compatible to OxygenOs stock, nothing else !!!
If you are using a custom rom that bases on OxygenOs, it might work. However, if it does not work, do not expect me to do tweak to make the kernel running with your favorite rom. I would not do it - my one and only reference is OxygenOs stock.
It is not supposed to be compatible to CM, HydrogenOS etc.
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Installation
Read the install instructions in the support section on the Boeffla Site.
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app (outdated at the moment).
Click here to learn about using the config app (outdated at the moment).
I will refuse to give support if you do any undervolting/overclocking and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for OxygenOS 4.x.x kernel - Click here
Change log for OxygenOS 3.x.x kernel - Click here
Known issues
none
Features
Note: This kernel only runs on OOS 3.x.x for the OnePlus 3T - nothing else !!!
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 (you need at least version 2.4.21 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
Dash charging fully supported
The two CPU clusters (big and little cpu) can be configured completely separate in terms of min/max frequencies, governors and CPU core profiles
Additional governors: Impulse, zzmoove, elementalx, conservative, ondemand, blu_active
Additional schedulers: fiops, bfq, sio, sioplus, fifo, vr, tripndroid, zen, maple
No CPU overclocking and voltage interface, no GPU overclocking and voltage interface
USB charge rate bumped up to 900 mA
Boeffla charge analysis (display of charger type and charge current in Boeffla-Config app in real time)
Boeffla touchkey LED control (LEDs fully off, LED on screen touch, configurable duration)
CPU core profiles to restrict number of CPU cores being used (the OP3 does not hotplug based on load)
Notification LED control (effect + speed for blinking/fading, brightness for continuous notification like battery charging etc.)
Boeffla-Sound engine: Headphone volume and speaker volume (only lowering volumes for speaker)
Dynamic FSync (activated if screen on, deactived if screen off), configurable
Input boost frequencies and duration configurable per CPU cluster, input boost switch
Show CPU frequency usage per CPU and frequency in Boeffla-Config
Show GPU frequency usage per frequency in Boeffla-Config
KCal V2 Color control
Display backlight limits configurable (to avoid display brightness gets too low in some situations)
Display backlight dimmer
Swipe2wake gestures
Control haptic feedback of gestures (except fingerprint)
Haptic feedback intensity control
Swipe2sleep gestures
Boeffla generic wakelock blocker V1.1.0 (documentation)
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (only when data volume is formated with ext4, stock default is f2fs)
Kernel logger (dmesg) configurable
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Many additional TCP congestion algorithms available
Entropy values configurable
Hardware touch keys are locked as long as screen is in use (touched) for better usability
Swap supported
Doze mode switchable
Verifiedbootstage flag remove to avoid triggering safetynet
Various minor kernel tweaks
Doze mode configurable in Boeffla-Config
Full selinux strict support (switchable to permissive on demand)
Show speedbin information (PVS level) in Boeffla-Config app
init.d support (in /system/etc/init.d - set correct permissions!)
Entropies configurable
Automatic EFS backup
Integrated full busybox 1.27.2 (own compilation)
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Security patches included, which are not in the official repo
Google gcc 4.9 toolchain (64 bit) used for best stability
Always based on latest OOS kernel sources (https://github.com/OnePlusOSS/androi...neplus_msm8996)
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the kernel only if you are running a compatible rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
You need at least version 2.4.21 or higher for the OnePlus 3T Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Github repository: http://github.com/andip71
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* ZaneZam
* Grarak
* Yank555
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Mialwe
* Entropy512
* Faux
* Harunjo
* FranciscoFranco
* Ak
* Osm0sis
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
Latest change log:
OOS4
http://kernel.boeffla.de/oneplus3t/boeffla-kernel-oos/oos4xx/changelog.htm
OOS3
http://kernel.boeffla.de/oneplus3t/boeffla-kernel-oos/oos3xx/changelog.htm
--- Reserved 2 ---
Here we go!
First beta is online for you guys.
As always, find everything on www.boeffla.de
And just to stress it again: It is the VERY FIRST beta, so expect bugs!
Have fund
Andi
nice! downloading right now!
so happy to see you again andi! your kernel was simply the best on my galaxy S5 and I missed your affords in my S7!
so happy flashing to everyone!
Sent from my ONEPLUS A3003 using XDA-Developers mobile app
After jumping from kernel to kernel (since there are many more kernel devs here than on the OP2) with various minor niggles, finally back to the one I feel fits my needs best. This release brings me relief, as now I don't have to go kernel hopping again, and I think Boeffla provides the best support of all. No bugs so far, multirom boot menu works, everything runs great.
Out of curiosity, is the kernel systemless? (Can I revert to stock by just flashing stock boot.img from latest ROM zip?) I ask because flashing the entire stock ROM takes a long time, and the TWRP loading time is also long.
Also, ext4 tweaks is not hidden for me and is enabled when a profile is reset to default settings. I'm on the default filesystems. (f2fs data, ext4 everything else)
Should I leave ext4 tweaks on or off?
PS: I was probably the first person to like and subscribe to this thread. (within 5 minutes of thread creation)
Edit: Flashable stock kernels? Perfect, thank you @Lord Boeffla ! Does it revert any custom kernel to stock kernel?
Been with Boeffla since S3 and via OPO this will be my third phone with the kernel.
Thanks!
Skickat från min ONEPLUS A3003 via Tapatalk
knpk13 said:
After jumping from kernel to kernel (since there are many more kernel devs here than on the OP2) with various minor niggles, finally back to the one I feel fits my needs best. This release brings me relief, as now I don't have to go kernel hopping again. No bugs so far, multirom boot menu works, everything runs great.
Out of curiosity, is the kernel systemless? (Can I revert to stock by just flashing stock boot.img from latest ROM zip?) I ask because flashing the entire stock ROM takes a long time, and the TWRP loading time is also long.
Click to expand...
Click to collapse
This is not possible on OOS in a clean way.
The kernel comes with modules which are placed in /system/lib/modules too.
So only flashing stock boot.img would not replace the kernel modules by stock ones. So it is only a "half-good" solution.
But, as most of the time, I have a solution for you
Look here: http://boeffla.de/index.php/downloads/downloads-general
Flashable stock kernels for the 3T, which also include the modules.
Guess this is what you need.
Andi
knpk13 said:
Also, ext4 tweaks is not hidden for me and is enabled when a profile is reset to default settings. I'm on the default filesystems. (f2fs data, ext4 everything else)
Should I leave ext4 tweaks on or off?
Click to expand...
Click to collapse
This is something I might need to correct in the app then. Leave them off, there is no ext4 anymore on /data volue with stock OOS (but the f**inkg f2fs).
I will look into that over the next days then.
EDIT: Just tried it - cannot replicate that. Maybe your /data partition is indeed formatted in ext4???
(you can check by firing the following command in a terminal: mount | grep data)
Andi
Lord Boeffla said:
This is something I might need to correct in the app then. Leave them off, there is no ext4 anymore on /data volue with stock OOS (but the f**inkg f2fs).
I will look into that over the next days then.
Andi
Click to expand...
Click to collapse
I reopened the app, and ext4 tweaks was off. But when I click on reset profile settings, it turns on. But on reopening again, it turns off automatically every time, so I guess it's working fine. Yes I'm sure I'm on f2fs.
knpk13 said:
I reopened the app, and ext4 tweaks was off. But when I click on reset profile settings, it turns on. But on reopening again, it turns off, so I guess it's working fine.
Click to expand...
Click to collapse
Yep, and also means, your data partition is not formatted with f2fs (my op3t came with /data on f2fs)... lucky you. I love ext4 much more, I even consider reformatting /data with ext4 soon, hehe.
Andi
Ok guys, evening hours here in Germany.
I am off for today. If you have any questions, you can also move over and read in the OP3 thread. The devices are - concerning my kernel - 99,99% the same.
So you would most probably find all answers to your questions already there.
Tomorrow I will catch up again.
Andi
Lord Boeffla said:
Yep, and also means, your data partition is not formatted with f2fs (my op3t came with /data on f2fs)... lucky you. I live ext4 much more, I even consider reformatting /data with ext4 soon, hehe.
Andi
Click to expand...
Click to collapse
I'm sure I'm on f2fs. Even TWRP says I'm on f2fs. 3T comes stock with f2fs. This is the output of mount | grep data, but since I'm using magisk I think the output has many partitions and I can't make sense of it.
I think the ext4 tweaks toggle is working fine since it reverts to off automatically when the app is restarted. Thanks!
Here is the output: https://hastebin.com/iwokiramek.hs
Welcome to the 3t Lord Boeffla.. Enjoyed having your kernels and support on the s5 when I was running that phone.. Look forward to the same here..
Sent from my ONEPLUS A3000 using Tapatalk
Lord Boeffla said:
But, as most of the time, I have a solution for you
Look here: http://boeffla.de/index.php/downloads/downloads-general
Flashable stock kernels for the 3T, which also include the modules.
Guess this is what you need.
Andi
Click to expand...
Click to collapse
nice, been waiting for this since day one. :good:
So it is not oos 4.0.0 compatible
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
inzaghi75 said:
So it is not oos 4.0.0 compatible
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
Click to expand...
Click to collapse
No. OOS 4 has not yet been officially released and no kernel source has been released.
christmas is here since andi is our santa.
welcome to the 3T world.
loyalists like me have been waiting for you perhaps since the device was launched.
glad OnePlus and XDA did such an awesome thing to distribute devices to devs.
been following your work for a while now.
your kernel turned my OpO into a beast.
just flashed onto my 3T.
will report issues as and when(and if) I can find them.
cheers
Glad to see you here Andy!
finally you will develope on 3T:good:
Glad to see you here Andi:victory:
I use your kernel since Galaxy S3, also flashed it on my opo and my wife's opt.
:good: Now the kernel it's running very well on my new op3t.

[Kernel]Reaper Darkness Edition[UBERTC][Zenfone 2 Laser ZE550KL]

This is an initial build it may contain some bugs.
HTML:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, dead cats,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and no point
* in pointing the finger at me for messing up your device
*/
OH BOY HERE WE GO!​
CHANGELOG​
V1.0
Tweaked MSM Thermal And Enabled Temprature Control
Powersuspend Better Battery Saving in sleep
Gentle Fair Sleeper
Compiled with UBERTC 4.9 (Uber uses the latest of every component as well as increases the Battery-Life too).
Enabled cleancache and frontswap to boost performance.
Gpu Overclocked to 720mhz!.
Added Lionfish Governor
Added Kcal Control(optimized settings set by default "MORE BRIGHTER,MORE COLOR FULL,DEEPER BLACKS")
Added Sound Control(optimized settings set by default "MORE LOUDER WITHOUT ANY DISTORTION")
Added Wakelock Control(optimized by default)
Added ARCH POWER(should improve battery life)
Added USB Fastcharge(Faster Charge While Connected Pc Via USB)
Added Schedule Workqueues(should improve battery life)
Added Dynamic Fsync
Added Gentle Fair Sleepers(should improve battery life)
Added FRANDOM(random number generator 50X faster than stock)
ZRAM Enabled By Default.
State_helper/Notifier.
INSTALLATION INSTRUCTIONS​
I Would highly recommend clearing data of your current kernel adiutor/any other apps that you use to control features or better yet since this is a "FLASH AND FORGET" kernel uninstall them you don't need it now.
Download the .zip file from the downloads section.
Reboot into recovery.
Select the zip file and flash.
this kernel is "FLASH AND FORGET" meaning everything is set and optimized by default if you mess up by changing default settings i won't provide any help
DOWNLOADS
Removed
NOW FOR SOME GROUND RULES :silly:
PLEASE USE GIVEN SECTIONS ABOVE TO SORT EVERYTHING YOU HAVE IN YOUR MIND FOR EXAMPLE IF YOU WANT TO REPORT A BUG USE BUG REPORT SECTION ANY BUG REPORTS GIVEN IN THE COMMENT SECTIONS WILL BE IGNORED SAME GOES FOR EVERYTHING.
IF YOU WANT TO REPORT A BUG PLEASE EXPLAIN IT IN DETAILS AND STEPS OF HOW THAT BUG OCCURED AND WITHOUT LOGCATS I CAN'T DO ANYTHING.
WANNA HELP US?​
Be A Regular User And Give Feedbacks Every Week With Logs And Battery Stats.
Drop A Like.:fingers-crossed:
XDA:DevDB Information
Reaper-Darkness, Kernel for the Zenfone 2 Laser
Contributors
ShadowReaper1, audahadi, commits i used from other dev's repo
Source Code: https://github.com/ShadowReaper1/android_kernel_asus_Z010D.git
Kernel Special Features: A Better And Feature Full Replacement For Stock Kernel.
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2017-01-01
Created 2017-01-01
Last Updated 2017-01-01
Reserved
Kernel Settings?
i prefer to use stock settings but if you want more battery then change the governor to lionfish but it might lag so i will just ignore those whinny comments about lagging.
Warning -> if you flash this kernel on stock rom! wifi will stop working.
Having problems? or anything you wanna ask? Mention me on your comment.
How to use the features that are implemented in the kernel?
Download kernel adiutor from playstore and give it root permissions.
Explore!.
Saw a feature in some other kernel and you want the same feature too? then request for it in Feature Requests section I'll try my best to bring it for you.
Reserved
How To Build Your Own Kernel?
*Each Step Is Very Important Be Sure To Follow Each Steps And Do As I Said.
*You Are Gonna A 64bit Linux OS Any Will Do I Use Ubuntu 16.04 LTS.
*Let's Setup Your Build Environment.
*Open Terminal(ctrl+alt+T).
*Now Type "sudo apt-get update" Then Hit Enter And Let It Complete.
*Refer To This Awesome Guide By @akhilnarang To Automatically Install All The Proprietary Things.
*Where "<name-of-script>" Type "ubuntu1604linuxmint18.sh" If You Have Ubuntu 16.04 Then Hit Enter And Let It Complete.
*You'll Need Kernel Sources Again Open Terminal And Type "git clone https://github.com/ShadowReaper1/android_kernel_asus_Z010D.git" And Let It Complete It'll Take A While Depends On Your Internet Speed.
*Now To Compile The Kernel Download A arm64/aarch64 Toolchain You Can Use Any Gcc 4.9 Toolchain I Prefer Google or UBER Toolchain.
*Open Kernel Directory It Should Be Named Like "android_kernel_asus_Z010D" And Open build.sh And Edit The Parts Where "change" Is Written According To Your Toolchain Path And Cpu Cores After Editing Save It.
*It's Time To Compile The Kernel Open Terminal Inside Kernel Directory And Type "bash build.sh" or "./build.sh" Then Choose The Appropriate Options And Sit Back And Wait For It To Complete And You'll Find Your Kernel.zip inside "base_files" Folder.
*What To Do Next? Flash It .
*Add Features As You Like And Fix Bugs.
*Don't Come To Me Crying How To Add This And That I Won't Help In That Matter See Other Kernel's Of Other Devices With Same Specifications Use That As Reference And Cherry Picks Features From Them Resolve The Conflicts For More Information Refer To This Excellent Guide By @eagleeyetom.
*One More Thing Leave A Like And Press That Thanks Button .
Can it be used on cm13?
Trying now on my ZE550KL
followed thread for future updates
---------- Post added at 01:55 PM ---------- Previous post was at 01:39 PM ----------
UPDATE
flashed it in my ZE550kl usig twrp
device failed to boot.
After the asus logo, there was nothing but a plain black screen.
I hard to remove battery and reboot to twrp to restore the previous kernal.
btw i m on CM13.0 december snapshot.
Going to install on zenfone laser 550kl
tested:
after flashing device stuck at asus logo
iam using Resurection remix nougat 5.8.0 22nd december build
I also got the plain black screen after asus logo
Then i Flashed my roms boot.img solved
Trying on XOSP N and it's failed. Not even booting. Same case as 2 post above.
The commits in the source code says its for Zenfone Max
but here it says Zenfone 2 Laser
mate?
Figures.....
PaViTrA14 said:
The commits in the source code says its for Zenfone Max
but here it says Zenfone 2 Laser
mate?
Click to expand...
Click to collapse
both devices are same and we've tested that a compiled kernel from our source works well on ze500kl as well.
I already tried this on cm13 21st snapshoot, didnt work. It wont boot.
It's kernel for Z00ED/Z00RD
ShadowReaper1 said:
both devices are same and we've tested that a compiled kernel from our source works well on ze500kl as well.
Click to expand...
Click to collapse
So will it work in ze550kl we got lot bootloops here
thread deleted for the sake of your device.
ShadowReaper1 said:
thread deleted for the sake of your device.
Click to expand...
Click to collapse
ShadowReaper1 said:
both devices are same and we've tested that a compiled kernel from our source works well on ze500kl as well.
Click to expand...
Click to collapse
550kl and 500kl are different i guess?
I will upload a custom kernel for z00l, in time. Be patient.
The last time I compiled a kernel for linux (pc desktop) was like... 10 years ago, lol. Need some time to get used to the protocol now.
here's a guide, everyone should try their hand at compiling a custom kernel, but make a full phone backup, just in case.
https://forum.xda-developers.com/galaxy-s6/general/guide-how-to-build-samsung-kernel-july-t3429355
based on CM13-snapshot-20161221
- gpu adreno idler
- usb fast charging
- i/o scheduler: fiops, sio, tripndroid etc
- tcp congestion westwood, reno etc
work in progress: cpu governor, hotplug
btw, the following phone models uses the same kernel
zd550kl (snapdragon 8939)
ze550kl (snapdragon 8916 or 8939)
ze600kl (snapdragon 8939)
pokipokipxorn said:
I will upload a custom kernel for z00l, in time. Be patient.
The last time I compiled a kernel for linux (pc desktop) was like... 10 years ago, lol. Need some time to get used to the protocol now.
here's a guide, everyone should try their hand at compiling a custom kernel, but make a full phone backup, just in case.
https://forum.xda-developers.com/galaxy-s6/general/guide-how-to-build-samsung-kernel-july-t3429355
based on CM13-snapshot-20161221
- gpu adreno idler
- usb fast charging
- i/o scheduler: fiops, sio, tripndroid etc
- tcp congestion westwood, reno etc
work in progress: cpu governor, hotplug
btw, the following phone models uses the same kernel
zd550kl (snapdragon 8939)
ze550kl (snapdragon 8916 or 8939)
ze600kl (snapdragon 8939)

Click to expand...
Click to collapse
Wait for ur update
PaViTrA14 said:
550kl and 500kl are different i guess?
Click to expand...
Click to collapse
Indeed 550KL & 500KL are different.
Dev,please, don't delete kernel source. I can support this kernel for Z00ED and Z00RD, if u can't support this device

Categories

Resources