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

UPDATE: I really no longer have the time to update the custom kernels, I now work 16 hours days, 5-6 days weekly. With travelling time added, I barely have time to sleep.
Battery optimization is about choosing the right rom, tuning cpu governor interactive, disabling Google Play Services (use microG & tune GCM), forcing doze immediately, disabling ads, using black/white screen, app optimization (disable analytics, instant messaging), plus many other things.
Identify the rom, the base (aosp or lineage), can choose to use any of the kernels below if it is based on the same base. A backup of your original rom's kernel is in the rom.zip file, simply extract it and restore if encounter any problems.
I have created a guide here
(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]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)
v05
added cpu hotplug: autosmp
v04
added USB Fast Charge, credits to @ENGstk
v03
removed CRC Check for 30% Performance Boost
v02
added SeLinux: Set to permissive
v01
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 BOOT partition), re-flash SuperSU if you use it, reboot directly.
(Note: if you need to revert to original kernel, either use :
v00 of my kernel - its the same as your stock rom boot.img,
or extract boot.img from the rom)
If you use Magisk, refer to this thread 1st post - Installation Instructions, section "If you're not rooted, or something went wrong and you need a clean start"
Marshmallow
Lineage OS 13, latest is v05 for ROM lineage-13.0-20170226-UNOFFICIAL-Z00L.zip
Kernel Source
Nougat
AOSP-based Slim7 Nougat, latest is v05 for ROM Slim-Z00L-7.1.1.build.0.13-UNOFFICIAL-20170227-1643.zip
Kernel Source
Note: Rom's dev recommend Slim7 as the best battery backup ROM (AOSP-based) under his care
AOSP-based Tesla Nougat, latest is v05 for ROM Tesla-Z00L-7.1.1.Beta.v3.6-UNOFFICIAL-20170224-0757.zip
Kernel Source
LineageOS-based AOKP Nougat, latest is v05 for ROM aokp_Z00L_nougat_unofficial_2017-02-07_1615.zip
Kernel Source
Note: Rom's dev recommend AOKP as the best battery backup ROM (LineageOS-based) under his care
LineageOS-based OctOS Nougat, latest is v05 for ROM OCT-N-WEEKLY-20170224-2334-Z00L.zip
Kernel Source
LineageOS-based Resurrection Remix Nougat, latest is v05 for ROM RR-N-v5.8.2-20170218-Z00L-OFFICIAL.zip (note: this rom is not the latest one from RR-N, I didn't manage to download it coz it was released yesterday (Feb 28th), maybe next update. Could probably use this kernel on the latest rom, if nothing major was released, check the rom dev changelog)
Kernel Source

After flashing kernel, configure using Kernel Adiutor

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

reserved 3

reserved 4

Finally
Finally pokipokipxorn is back with his awesome kernels
Nice work bro :good: We all are waiting your kernels
I suggest you to create a poll on this thread, as we are doing all our work for our beloved users and let them decide for which rom they want your battery saver kernel

prakharluv said:
Finally pokipokipxorn is back with his awesome kernels
Nice work bro :good: We all are waiting your kernels
I suggest you to create a poll on this thread, as we are doing all our work for our beloved users and let them decide for which rom they want your battery saver kernel
Click to expand...
Click to collapse
Agreed with @prakharluv, he's right @pokipokipxorn add a poll here that will be more handy for us

I'm getting problems trying to upload to Google Drive, if any of u experience file corruption after downloading the kernels, please post.

Kernel are up for roms
- LineageOS 13 Marshmallow
- Slim7 Nougat
- OctOS Nougat

Polls will be up much later, gotta collect rom list, ty for the suggestion.

pokipokipxorn said:
Kernel are up for roms
- LineageOS 13 Marshmallow
- Slim7 Nougat
- OctOS Nougat
Click to expand...
Click to collapse
Do we have to wipe cache or just reboot directly after flash kernel img?

HanszRN said:
Do we have to wipe cache or just reboot directly after flash kernel img?
Click to expand...
Click to collapse
Just reboot directly, but if you use SuperSU, you have to flash it again
Did you make a backup of your critical partitions? follow 1st post.

pokipokipxorn said:
I'm getting problems trying to upload to Google Drive, if any of u experience file corruption after downloading the kernels, please post.
Click to expand...
Click to collapse
pokipokipxorn said:
Kernel are up for roms
- LineageOS 13 Marshmallow
- Slim7 Nougat
- OctOS Nougat
Click to expand...
Click to collapse
Flashed OctOS kernel on latest OctOS weekly build and its working fine Nice work bro :good:

pokipokipxorn said:
Just reboot directly, but if you use SuperSU, you have to flash it again
Did you make a backup of your critical partitions? follow 1st post.
Click to expand...
Click to collapse
hai,brother
please u can compile this kernel for device ZE500KL aka Z00ED too?
thanks

Kernel are up for roms
- Tesla Nougat
- Resurrection Remix Nougat

Adhe_88 said:
hai,brother
please u can compile this kernel for device ZE500KL aka Z00ED too?
thanks
Click to expand...
Click to collapse
Which ROM? Note that I don't own the device, and I need you to post a screenshot of the kernel version or commits if any. (Phone Settings > About Phone > Kernel Version). I won't be able to flash or test the kernel.

pokipokipxorn said:
Which ROM? Note that I don't own the device, and I need you to post a screenshot of the kernel version or commits if any. (Phone Settings > About Phone > Kernel Version). I won't be able to flash or test the kernel.
Click to expand...
Click to collapse
maybe u can compile AICP rom and this source kernel my device https://github.com/Rygebin/android_kernel_asus_msm8916
thanks ?i appreciate it ?

Adhe_88 said:
maybe u can compile AICP rom and this source kernel my device https://github.com/Rygebin/android_kernel_asus_msm8916
thanks i appreciate it
Click to expand...
Click to collapse
So it's AICP 7.1.1 for Z00ED? Kernel source should be this one, note the commit gba1e18b from your screenshot.
I will try, it's 2am now, I got to go. cyall tomorrow.

pokipokipxorn said:
So it's AICP 7.1.1 for Z00ED? Kernel source should be this one, note the commit gba1e18b from your screenshot.
I will try, it's 2am now, I got to go. cyall tomorrow.
Click to expand...
Click to collapse
yeah ??
thanks brother ?

There is two files. Which one have to flash?.
prakharluv said:
Flashed OctOS kernel on latest OctOS weekly build and its working fine Nice work bro :good:
Click to expand...
Click to collapse

Related

[ROM][5.0.2][26/03]SlimUberLP[OPTIMISED SlimLP builds] for jfltexx

SlimUberLP​Hello! i'am happy to present my build for S4 : GT-i9505 (jfltexx).
I am not a developer, and i have to learn how to make it work. The goal of this build SlimUberLP, built from SlimLP source with Uber 4.8 compiler, is to make the ROM even faster and smoother.
Huge thanks to : Kantjer, AntaresOne, Alucard, Synergy510, Ezio, aow1980 (for the Toolchain repositories), Freak_97, letmedanz, Ralph (to add me in Slimbuilder collective) and all other i missed!
SlimUberLP is built from SlimLP source with Uber 4.8 compiler for rom, and 4.9 compiler for kernel (alucard and stock) to make the ROM even faster and smoother!
DISCLAIMER: I am not responsible for any damages to your device, bricked devices, dead SD cards, thermonuclear war, zombi walking near you...
Download the Rom :
For the moment, you have the choice :
- Using slimLP build optimised with stock (CM) kernel : all build with uber toolchain
- Using slimLP build optimised with alucard kernel inside : all build with Uber toolchain
Personaly, i choose with alucard inside!
With Alucard Kernel build with Uber Toolchain :
Slim-jfltexx-5.0.2.UberLP.Alpha.1.0-Alucard.zip
With stock (CM) kernel build with Uber Toolchain:
Slim-jfltexx-5.0.2.UberLP.Alpha.1.0-UNOFFICIAL-20150324-1424.zip
Download the gapps :
Official Slim GApps & Custom GApps
Download SuperSU :
https://www.androidfilehost.com/?fid=95916177934546965
Installation Instructions:
Upgrading from a previous build:
Wipe /system
Flash the ROM
Flash GApps
Flash SuperSU
Flash any add-ons you want (kernel for exemple)
Reboot into ROM
Upgrading from any other ROM (even SlimLP build):
Nandroid
Full wipe /system, /data and /cache
Flash the ROM
Flash GApps
Flash SuperSU
Flash any add-ons you want (kernel for exemple)
Reboot into ROM
First boot after install/update takes a while, wait at least 5 minutes for it to boot.
Contributors
Angelcalibur
alucard_24
Testers
Jimsilver73
wonsky21
Version Information
Status: Stable
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: SlimLP 5.0.2 last source
Toolchain: Uber
Created 2015-16-03
Last Updated 2015-26-03
Changrlog:
24/03/2015 :
-update with last slim source (nothing really merge for the moment)
-change name release
-build rom with last uber toolchain source 3-22-15
-build stock kernel with last uber toolchain source 3-22-15
16-03-2015
initiale release
reserved 2
Good luck in future development
Is this build based on the 17.02.2015 slimLP build? Or it has newer sources?
kofe said:
Good luck in future development
Is this build based on the 17.02.2015 slimLP build? Or it has newer sources?
Click to expand...
Click to collapse
Hello kofe!
thx for encouragement!
The build was made with the last source i can had before the slim gerrit server crashed. last source were merged on 21-02-2015.
for the future, i will make another build like kantjer did, based on last slim source.
when a official slim weekly will came, you will have the build made with UBER toolchain.
At the start developpement, i wanted to use sabermod, but after some discution with slim builder, i choose UBER Toolchain.
And that release work really fine!
You finally did it , bravo
Sent from my Beast using XDA Free mobile app
Here we go again - good work @angelcalibur
Waiting impatiently for more builds
flashed but had to change rom again because menu button bug, 50% od aosp roms have this bug, when screen is on on lockscreen and you press menu button device unlock
That's the first one but a good one!
Thumbs up!:good:
fedef12evo said:
flashed but had to change rom again because menu button bug, 50% od aosp roms have this bug, when screen is on on lockscreen and you press menu button device unlock
Click to expand...
Click to collapse
Hum... strange.
sorry but i don't have any bug like this, on all build i had test (cm12 optimised and official, slimlp official, google play ed...).
Did you make a full wipe (system, data, cache, pre-load...) ?
Soufiansky said:
You finally did it , bravo
Sent from my Beast using XDA Free mobile app
Click to expand...
Click to collapse
thank you mate!
it was hard for me (not a developper and a little noob on android building) but i like to learn how to do it.
i will make my possible to make this build the most perfect i can!
angelcalibur said:
Hum... strange.
sorry but i don't have any bug like this, on all build i had test (cm12 optimised and official, slimlp official, google play ed...).
Did you make a full wipe (system, data, cache, pre-load...) ?
Click to expand...
Click to collapse
yes, i dont use any security lockscreen just normale lockscreen try it
fedef12evo said:
yes, i dont use any security lockscreen just normale lockscreen try it
Click to expand...
Click to collapse
me too, no security lockscreen.
we are 3 testers for this build, no issus like this for us!
angelcalibur said:
me too, no security lockscreen.
we are 3 testers for this build, no issus like this for us!
Click to expand...
Click to collapse
really? maybe i have this issue because i use alucard kernel?
fedef12evo said:
really? maybe i have this issue because i use alucard kernel?
Click to expand...
Click to collapse
Don't think too! 2 testers on alucard, one on stock slim kernel...
If you want, try with the stock kernel and watch if bug is always here.
angelcalibur said:
Don't think too! 2 testers on alucard, one on stock slim kernel...
If you want, try with the stock kernel and watch if bug is always here.
Click to expand...
Click to collapse
ok going to clean flash again to see if something change
fedef12evo said:
ok going to clean flash again to see if something change
Click to expand...
Click to collapse
tried again super clean flash same result, menu button on lockscreen unlock device, maybe it is my recovery? im using twrp 2.8.4.0
fedef12evo said:
tried again super clean flash same result, menu button on lockscreen unlock device, maybe it is my recovery? im using twrp 2.8.4.0
Click to expand...
Click to collapse
did you try to go in properties, security, lock screen and in screen security, watch if you have :
nothing
pin
password...
choose option what you want to use...
fedef12evo said:
tried again super clean flash same result, menu button on lockscreen unlock device, maybe it is my recovery? im using twrp 2.8.4.0
Click to expand...
Click to collapse
Mines fine, I do use xposed additions though when I have time I will try without, but of you use xposed anyway, it may be a short term solution - also I highly recommend as it's much better even than old slim hardware key remapping!

[KERNEL][r6.1/r1]Reviver Kernel [7.1/9.0][08 Dec 2018]

Introduction
NOTE:
Hello everyone, this is my first kernel for the Moto G4 Plus. I will try to maintain a stable kernel however bugs might arise since I'm not a super star kernel developer. I hope you enjoy the releases.
Important information
I will not reply to complains that do not include clear steps to reproduce the bug, a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this.
Features
Here are the major features of the kernel (feel free to explore Github)
Update to date with the latest Linux upstream version (3.10.108-EOL)
Westwood as the default congestion algorithm with many more to choose from
Several subsystems converted to use power efficient workqueues
Compiled with Google's arm-eabi 4.9 toolchain
Audio control from flar2
Downloads
Oreo 8.0 : https://sourceforge.net/projects/babyfish-kernel/files/athene/oreo_caf/
Nougat 7.1 : https://sourceforge.net/projects/babyfish-kernel/files/athene/nougat_caf/
Nougat 7.0 Stock :https://sourceforge.net/projects/babyfish-kernel/files/athene/stock_nougat/
Installation:
NOTE: Please make sure that you return to the stock kernel of the ROM before flashing this kernel. The kernel is unified for Moto G4 and the Plus variant so everything should be working fine.
Install the latest adb and fastboot: https://developer.android.com/studio/releases/platform-tools.html#download
Grab the boot image from the download links above
Method 1:
Using adb and fastboot
Reboot into the bootloader using either restart and hold power button and volume down or adb:
Code:
adb reboot bootloader
Flash the boot image. Run the following command in the folder with the boot image and ensure fastboot is in your PATH:
Code:
fastboot flash boot <boot_image_name>.img
Reboot and profit!
Method 2: TWRP
Keep the bootimage on your phone's storage and boot to TWRP.
Install > Select Install Image > Choose the image > Boot partition > Reboot
Changelog
28 November 2017
Oreo-CAF:
Code:
Initial Release
Introduce Tossug Baby Fish kernel
Add Sound Control
Add TCP congestion algos
Disable crc check for 30% performance improvement in I/O
Linux 3.10.108
Nougat-CAF:
Code:
Initial Release
Introduce Tossug Baby Fish kernel
Add Sound Control
Add TCP congestion algos
Disable crc check for 30% performance improvement in I/O
Linux 3.10.108
Stock N:
Code:
FAQs
1.1 Q Can you help me I have this problem?
1.1 A I will surely try to help if proper bug reporting is done as per the fashion described above.
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not add any useless governors or features that I don't find practical.
1.3 Q: How do I control the kernel?
1.3 A: I recommend using EX Kernel Manager or Kernel Auditor (Both need root)
1.4 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
1.4 A: The kernel doesn't drain any battery unless you have overclocked it, I have kept it at stock frequencies and voltages. Use an app like BetterBatteryStats to figure out what app is screwing with your phone.
Thanks to:
The various other developers for their patches (if you want a specific mention, please let me know)
All of you guys for viewing the thread
Thiago Neves @lcrd512 and Abhijeet Bohra.
Kernel source links.
8.0.0 CAF : https://github.com/tywinlannister7/android_kernel_motorola_msm8952/tree/oreo_caf
7.1 CAF : https://github.com/tywinlannister7/android_kernel_motorola_msm8952/tree/nougat_caf
7.0 Stock :
If you like my work, buy me an Appy Fizz or whatever you like
https://www.paypal.me/tywinlannister7 :good:
XDA:DevDB Information
Reviver Kernel, Kernel for the Moto G4 Plus
Contributors
tywinlannister7
Source Code: https://github.com/tywinlannister7/android_kernel_motorola_msm8952
Kernel Special Features:
Version Information
Status: Stable
Created 2017-11-28
Last Updated 2018-12-10
Screenshots
Some Screenshots
Will work on LOS, right? Sorry for asking this nooby question. I just want to be confirm before flashing. ?
tywinlannister7 said:
Some Screenshots
Click to expand...
Click to collapse
Which ROM is this?
Ayan Uchiha Choudhury said:
Which ROM is this?
Click to expand...
Click to collapse
DU 12 oreo
@tywinlannister7 Any plans on making some Device Specific ROM for Athene.? Since Invicta is out of scene now.
Thanks for the new addition in the family.
I hope this will be the favorite member of the family:laugh:
Where is the love for stock user?
thorin0815 said:
Where is the love for stock user?
Click to expand...
Click to collapse
There is a link for stock rom in the op though?
thorin0815 said:
Where is the love for stock user?
Click to expand...
Click to collapse
Stock version won't be released any sooner. I don't have the time for it right now and compilation process of stock kernel is a bit different than CAF kernels. Maybe before the second week of January.
briatide said:
There is a link for stock rom in the op though?
Click to expand...
Click to collapse
Empty as of now
ganeshkmr21 said:
@tywinlannister7 Any plans on making some Device Specific ROM for Athene.? Since Invicta is out of scene now.
Click to expand...
Click to collapse
IDK I don't have the time, we already have so many ROMs available. Creating a new ROM will be adding it to the huge list already available, from AOSP to LineageOS to Dirty Unicorns. I would rather work on optimizing what we have. Quality > Quantity.
jyoti.id said:
Will work on LOS, right? Sorry for asking this nooby question. I just want to be confirm before flashing.
Click to expand...
Click to collapse
Yes. 7.1 version for all N custom ROMs and 8.0 for all the O custom ROMs
DU 12 oreo
Blueman1990 said:
DU 12 oreo
Click to expand...
Click to collapse
about DU 12 oreo where can i get it ?
many thanks
i love new system
Does not boot on LOS15. Can anyone else confirm? Cant do logs cause my data port on my phone is broken. It sits on the boot screen like its loading but never fully boots.
Thank you bro!! finally an oreo kernel!
Where I can get DU 12?
Does this have color management?
And which kennel manager should i use with this?
Thanks
harshal2234 said:
Where I can get DU 12?
Click to expand...
Click to collapse
Its not out yet I guess
---------- Post added at 01:35 PM ---------- Previous post was at 01:33 PM ----------
Ashishliterally said:
Does this have color management?
And which kennel manager should i use with this?
Thanks
Click to expand...
Click to collapse
Bro its just a 2 page thread. At least read. That question has been answered, in the OP!
Can't I get the unofficial build?
Tried it but I got bootloop.
Using latest Resurrection Remix Rom With Stock kernel on XT-1643.
Missed the logcat.
Should I have to flash the magisk again after installing kernel?, may be this was the reaseon I got bootloop because boot.img was changed and again installing magisk could help with that.
Same for me. On LOS 14.1, XT1643
---------- Post added at 05:17 PM ---------- Previous post was at 05:16 PM ----------
ramansehra said:
Tried it but I got bootloop.
Using latest Resurrection Remix Rom With Stock kernel on XT-1643.
Missed the logcat.
Should I have to flash the magisk again after installing kernel?, may be this was the reaseon I got bootloop because boot.img was changed and again installing magisk could help with that.
Click to expand...
Click to collapse
I don't think so. If magisk is installed/flashed once, then no need of flashing ever again until you freshly install the rom. (AFAIK)
ramansehra said:
Tried it but I got bootloop.
Using latest Resurrection Remix Rom With Stock kernel on XT-1643.
Missed the logcat.
Should I have to flash the magisk again after installing kernel?, may be this was the reaseon I got bootloop because boot.img was changed and again installing magisk could help with that.
Click to expand...
Click to collapse
Same happened with me I was on Invicta os 8.0

[ROM][Mi5][7.1.2][EAS] JDC Nougat Revived

Hey there,
good news for everyone who is missing the great JDC Nougat!
With smeroni68's authorization I'm offering you the latest version of the ROM, built from source, with some changes to keeping it up to date and maintained.
These changes are:
Latest security bulletins and changes from AOSP​Kernel upstreams from Linux Stable​Updates from Code Aurora Forum (CAF)​Some smallish modifications of standard apps or behavior​
All credit goes to the JDC team!
(Check attachment for a list of team members).
They are the geniuses behind this awesome ROM and kernel, and I'm only making basic and minor modifications to it.
Besides a huge thanks to each member of the JDC team, thanks to Google, Lineage, Linux, CAF, Github & everyone else involved!
And many thanks also to DennySPB who helped me a lot with all the building stuff!
Have fun and enjoy!
Downloads
ROM / Kernel
Hashes
Recommended firmware
Last and latest Oreo firmware for our Mi 5:
8.11.22
ROM installation
Install latest TWRP
Make backups and store them externally
Wipe dalvik, cache, system, vendor, data
When coming from any android version other than Nougat 7.1.2:
Make external backups of your internal storage content
Format data (type "yes" way)
Reboot to recovery to access the data partition correctly again
Flash adequate firmware
No reboot in between the following and the optional steps
Flash ROM
Optionally:
Flash Gapps for 7.1.x arm64. I recommend OpenGapps Pico with additions (1) OR Stock with gapps-config.txt file (2):
(1) Flash Gapps additions (for example these by @Deltadroid)
(2) Check post_#128
Flash ThemeReady GApps package for Nougat arm64 (I don't)
Flash root (Latest Magisk is working fine for me)
After the first boot
Follow the gapps assistant (in case you installed gapps)
Wait 2 - 5 minutes to let everything settle in
Reboot to system
Kernel installation
You'll only wanna install the kernel separately when there's a kernel-only update later than the last ROM version!
Wipe dalvik and cache
Flash the kernel zip-file
Optionally: Re-flash root (if you were rooted before or now wanna be rooted)
GPL
All repos are forked from AOSP-JF-MM or LineageOS
Device tree source code:
https://github.com/PhilSmith31/platform_device_xiaomi_gemini/tree/aosp-7.1.2_r36
Kernel source code:
https://github.com/PhilSmith31/platform_kernel_xiaomi_msm8996/tree/bb
XDA:DevDB Information
AOSP, ROM for the Xiaomi Mi 5
Contributors
Phil_Smith
Source Code: https://github.com/PhilSmith31
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.x
ROM Firmware Required: 8.1.18
Based On: AOSP
Version Information
Status: Stable
Created 2018-08-28
Last Updated 2020-03-20
Changelogs
20.03.2020
March 2020 security updates from LineageOS
Synced Lineage repos
Kernel is up to date with relevant commits to android/common
02.03.2020
Security bulletins up to Februrary 2020 (no more source.android updates coming from here on)
Updated everything in aosp.xml to latest android tag r39
Updated HALs and all externals under CAF to tag LA.UM.5.5.c25-04600-8x96.0
Upstreamed kernel with all changes to android/common up to date
Merged LA.UM.5.5.c25-04600-8x96.0 into qcacld-2.0
Synced Lineage repos
Kicked opencv
Kernel compiled with latest Linaro toolchain 7.5.0
17.09.2019
ROM:
Security updates from August and September 2019
Merged in CAF tag LA.UM.5.5.c25-03100-8x96.0 into externals, hals, and some vendors
Synced system/gatekeeper with LOS
Kernel:
B--B-Kernel-N-[2019-09-17]-[20:17]-Mi5
From now on always also present in kernel_only folder
Cherry-picked all relevant aosp's kernel/common/android-3.18 commits up to date
Merged in security related changes from aosp
Merged CAF tag LA.UM.5.5.c25-03100-8x96.0 into qcacld-2.0
Wrote simple python script to filter out warnings from compile output
Check extract_warnings.py and changes to build_kernel.sh
Vendor/aosp:
Monitor changelog under Dropbox link only
all changelogs
.
FAQ
I'm having general problems with the ROM installation or don't know what steps to perform to move from x to y or to restore or undo z. What shall I do, Dr. Phil?
Dr. Dr. Phil said:
First read the intro and then see whether your problem is covered here:
Standard Installation Types
Still issues? Then feel free to post in this thread!
Click to expand...
Click to collapse
Gcam mod has green lines in portrait mode or even in general
Dr. Dr. Phil said:
Settings -> advanced -> Fix Camera API2 -> support level override
and set it to "Zsl reprocessing"
Click to expand...
Click to collapse
Gcam mod video recording is force closing all the time.
Dr. Dr. Phil said:
This problem is present in Arnova's cam versions > 8, while photo shooting is working fine with the support level override fix above. You could use stock camera for video recording or use Arnova's gcam mod in versions 7.9 till 8.
Click to expand...
Click to collapse
Proximity sensor lets the screen get black while making a phone call
Dr. Dr. Phil said:
Use the recommended firmware (Oreo 8.11.22).
If that doesn't help, here is a fix that I used once successfully when I had the same problem.
Thanks to Mi5 Arsenal!:
flash zcx twrp
make a backup of your persist partition (let's call that x)
store x externally in case the fix shouldn't work or make anything worse (which I don't believe, but still)
download this zip file and place it where x had been stored (replace x with it)
hit restore in twrp, and select the new backup file you just put in place where x was
reboot to system
You can switch to official twrp afterwards without any problem!
Click to expand...
Click to collapse
Xposed isn't working or producing issues, what to do?
Dr. Dr. Phil said:
In my experience, xposed is very powerful, but can produce all kinds of weird and untraceable behaviour.
I don't recommend using it if not completely nessecary, and cannot support it.
Click to expand...
Click to collapse
Reserved
Hi mate... thanks for your dedication on our work!
Inviato dal mio Xiaomi Mi5 utilizzando Tapatalk
This is exactly what I was looking for N Rom with latest patches:laugh: .Ty so much for your work, will try it soon. :laugh:
What is for boot.img?
XxFatiHxX said:
What is for boot.img?
Click to expand...
Click to collapse
Just so you could flash back stock kernel separately.
Nothing you need for the ROM installation.
Thanks for this great work! Can I dirty flash it on latest original JDC nougat? And can I flash B-B Kernel or better not to do this?
ERRORR2 said:
Thanks for this great work! Can I dirty flash it on latest original JDC nougat? And can I flash B-B Kernel or better not to do this?
Click to expand...
Click to collapse
You should be able to dirty flash, although I think that a clean flash is advisable.
B-B-kernel should be working, but keep in mind that I am gonna keep updating the stock kernel and the B-B one is getting more and more outdated.
Edit:
This info is outdated!
B--B-kernel is even built into the ROM now!
The ol' but gold rom has waken up from long sleep
This rom is eas or hmp ?
Kyru said:
This rom is eas or hmp ?
Click to expand...
Click to collapse
EAS
Phil_Smith said:
EAS
Click to expand...
Click to collapse
Will it work with latest beta firmware ?
Will try soon
Kyru said:
Will it work with latest beta firmware ?
Click to expand...
Click to collapse
I would suggest Nougat-based firmware, but maybe on Oreo-based everything is working as well - can't say.
You need to try that out (on your own risk).
Thanks very much @Phil_Smith
Finally.. must try this one.. thanks @Phil_Smith
I can't believe this is perfect.
Can you add more status bar customizations?
Does alarm from switched off work with this rom?
Inviato dal mio MI 5 utilizzando Tapatalk

[KERNEL] FASAK Custom Kernel [ beta: XX1]

This kernel supports ROMS based on Android 10-(Custom ROMS) only.
Fasak is aimed at smooth performance and longer battery life.
This kernel is GSI / AOSP only. Don't flash it on RUI based roms unless you are suicidal or want to lose some features, in which case you're free to do as you please and I'm free to ignore your posts, right?
Main features:
- Upstreamed to Linux 4.9.218
- Clang compiled
- Kcal and Klapse
- BLU_schedutil and Pixel governer
- Power Efficient Workqueue
- Switch to exfat file system for performance
- Spectrum profiles (soon)
- Flash and forget
- Boeffla wakelocks control
- Maple, Zen, Anxiety, DFQ (default) IO schedulers
- Wiregaurd supported
- Adrenoboost fine tuning Algorithm
CPU features:
- CPU Governors: Schedutil, blu_schedutil, Pixutil
- Schedutil updated with patches from newer Linux versions
- CPU idle improvements by kerneltoast
- CPU input boost
Network features:
- Westwood set as default TCP algorithm
- TTL
Other features:
- Wireguard
- Unused Drivers And Logging removed for a smaller image
Sources: link
Installation Instructions
1.) Download the kernel from here
2.) Dirty flash the kernel (this means flashing the kernel without wiping anything)[/SIZE]
XDA:DevDB Information
Fasak -Only_once, Kernel for the Realme XT
Contributors
Krishrocks, krishrocks, sagarmakhar, thesprintster
Source Code: https://github.com/saikrishnawanted/android_kernel_realme_sdm710
Kernel Special Features:
Version Information
Status: Beta
Beta Release Date: 2020-04-11
Created 2020-04-11
Last Updated 2020-04-15
TriedAntutu Benchmark
compared with Antutu stock custom rom kernel, gives a bit improved performance with very less battery drain.
Thanks Developer
congrats, now you may rest at peace sar. lol
Sent from my Realme XT using Tapatalk
Sar noice.batiful karnal sar. Love it
where is the 'Restore stock boot partition guide'
Thanks.
coldfear00 said:
where is the 'Restore stock boot partition guide'
Thanks.
Click to expand...
Click to collapse
Thats a typo, you can flash this on any custom rom Dirty. No wipe needed.:good:
Krishrocks said:
Thats a typo, you can flash this on any custom rom Dirty. No wipe needed.:good:
Click to expand...
Click to collapse
Says no ramdisk found to unpack & fails.
on lineage 17.1 & TWRP.
coldfear00 said:
Says no ramdisk found to unpack & fails.
on lineage 17.1 & TWRP.
Click to expand...
Click to collapse
restore boot image from any backup, flash magisk then this kernel
Krishrocks said:
restore boot image from any backup, flash magisk then this kernel
Click to expand...
Click to collapse
Only backup i have is of Lineage OS 17.1, tried restoring boot & flashing but still ramdisk error.
Does it need stock boot or something?
If possible can u direct me to the boot file needed to flash this kernel.
Thanks.
coldfear00 said:
Only backup i have is of Lineage OS 17.1, tried restoring boot & flashing but still ramdisk error.
Does it need stock boot or something?
If possible can u direct me to the boot file needed to flash this kernel.
Thanks.
Click to expand...
Click to collapse
New Los release 12th APR build has this kernel default, enjoy that.
Sar,
Please add rui support
Very sax kernel sar, noticeable difference in both the SoT and performance as well...???
Can you update it for rui based devices?
Any chance you would be willing to try building a kernel with the Project Halium patches so we can try and test the UBports GSI? Probably a long shot but I'd love to play around with an Android alternative.
Does it support wifi packet injection and HID attack in Kali nethunter???
Help please???????
I was running custom rom evolution x I flashed this kernel successfully through orangefox recovery now mobile starts into fastboot mode please anybody help can anyone give me evolution x recovery please so I can get my phone back to life
No ramadisk found error when flshing kernal...Please help ...Realme xt
coldfear00 said:
Says no ramdisk found to unpack & fails.
on lineage 17.1 & TWRP.
Click to expand...
Click to collapse
Same Problem with my devices
Download link send me sir plz fast

[KERNEL] [Android 11/12] Dora kernel for OP7 series

Introduction
Dora kernel is a successor of popular nem0 kernel for A10/A11 ROMs.
Dora Kernel is CAF based kernel aiming to provide great stability and performance while maxing out battery life!
Code:
// Your warranty is now void.
//
// I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
// Please do some research if you have any concerns about features included in this Kernel before flashing it!
// YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Main Features:
- Unified for OOS 11 and Android 11 Custom ROMs (Check with your maintainer if they have R blobs merged in)
- Based and upstreamed to latest CAF tags for the SD855
- Upstreamed to latest Linux-Stable
- Upstreamed to latest F2FS stable
- Compiled with Clang 13 and -O3 speed optimizations flags
- Compiled with Clang Polyhedral Loop Optimizations (Polly)
- Simple LMK driver from kerneltoast
- BBR2 TCP congestion algorithm
- 675 MHz GPU step
- Custom energy-freq scheduling model for maximizing performance and battery life
- Custom frequencies setup (dropping to CAF default minimums during idle)
- S2idle suspend mechanism with patches from Google P4/P5 kernels
- PELT scheduling mechanism
- Many scheduler backports from mainline and/or 4.19 Google kernel
- Zip made using latest AnyKernel3 release, retains root on flash (Stable Magisk 21.4 or higher reccommended)
- Zip flashable through EXKM/FKM/Smartpack/TWRP
- Integrated OTA updates in Franco's Kernel Manager *(link for the json: JSON)
- Many more features I don't remember right now, check source if you're interested or contact me on Telegram!
Bug reports:
- If you want to report a bug, please provide some sort of logs (logcat, dmesg)
Flashing instructions:
- Just flash it through TWRP or EX or Franco's Kernel Manager apps
- No sorts of configs needed, flash and be happy out of the box
-There are 2 versions per release: one with SDCARD_FS disabled (default) and one with it enabled. Motivation behind this is recent updates to AOSP 11 ROMs (Yaap, Derp, etc.) that have disabled the support for it. And even though that builds with SDCARD_FS could still work, it's not recommended.
So, in layman terms, if you are running OOS or any custom ROM that still hasn't followed the path of those custom ROMs, please use the sdcard-fs zip or update through OTA.
Downloads
Stable and Test builds: Google Drive
Kernel being actively tested in this group: Telegram
Donations
If you would like to keep this project going with more improvements, feel free to support it: PayPal
Thank you to:
@osm0sis for AnyKernel
@nathanchance for help with upstreams
@topjohnwu for Magisk
@idkwhoiam322, @KuranKaname for being good friends
@BobAzzon, @npv12, @Gabyrx7, @Reechings and rest of my dear friends that tested the kernel (really, wouldn't be possible without you guys <3)
Contributors
nem0 aka AnnoyingZlatan
Source Code: GitHub
Version Information
Status: Stable
Created 2021-05-01
Last Updated 2021-07-20
Reserved
Reserved #2
really pru kernel, I like it
my sot tripled
jk, best kernel on here!
Best kernel ever since Nemo,,now Dora,,congrat bro,,awesome kernel,,work perfect with new official PE rom,,,
Best for A11 on OOS11 blobs and OOS11 !!!!
Ex-nem0 Kernel user here, thank you so much @AnnoyingZlatan for this one
I've just installed 1.0 with adb sideload on latest PixelExperience, all good
Love ur kernel looking forward to help u testing hehe
Toutatis_ said:
Ex-nem0 Kernel user here, thank you so much @AnnoyingZlatan for this one
I've just installed 1.0 with adb sideload on latest PixelExperience, all good
Click to expand...
Click to collapse
I'd like to try it on YAAP, but I didn't know how to go back to stock kernel. I read somebody says to restore boot.img & dtbo but not sure how to do it
Zhuang zhuang said:
I'd like to try it on YAAP, but I didn't know how to go back to stock kernel. I read somebody says to restore boot.img & dtbo but not sure how to do it
Click to expand...
Click to collapse
In Franko kernel manager you can make a backup of your current kernel. Then flash this, then restore kernel if you want it back.
Of fastbootd flash boot img from yaap, same as you most likely did when you originally installed it if you used that method. (Ps, make sure it's matching your ROM though, so you're not updated to the latest but flashing a boot image from a previous version..)
Currently using your Nemo kernel. I flashed this kernel via Franco's kernel manager but I get kicked back to my recovery..any ideas? Tia your kernels are awesome
This kernel is awesome. With Dora Freq i've the best UI performance with AOSP like LOS/CrDroid , another world compared to OOS. Thanks Dev.
bushninja07 said:
Currently using your Nemo kernel. I flashed this kernel via Franco's kernel manager but I get kicked back to my recovery..any ideas? Tia your kernels are awesome
Click to expand...
Click to collapse
Yes, this is meant for OOS 11 and A11 ROMs that switched to R blobs, as it's stated in the OP. It won't be compatible with the builds you've run Nemo on
Amazing experience out of the box, super thanks !
tested with OP7 on oos 11.0.0.2
super smooth and really impressive battery
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
Zhuang zhuang said:
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
Click to expand...
Click to collapse
Yaap has a built in logcat, perhaps check to see if there's any traces of the error. It might help Zlatan if you post that..
I have OOS 11 and and currently using a custom kernel. Should I flash OOS 11 again before your kernel? Thanks in advance.
Zhuang zhuang said:
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
Click to expand...
Click to collapse
I am aware of the issue. Will be fixed in next update, just a bit busy atm.
Teso79 said:
I have OOS 11 and and currently using a custom kernel. Should I flash OOS 11 again before your kernel? Thanks in advance.
Click to expand...
Click to collapse
Nope, just flashing a kernel is enough.
I have tried this version of the kernel and it feels very good! But the memory of my phone is too small, I hope there will be swap space in the future. Does the developer have plans to add zram or zswap in the future?

Categories

Resources