Related
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
I'm not responsible for any damage to your device of any sort.
By flashing this you take responsibility of anything that happens.
Process at your own risk!
This firmware was developed for the p905. It doesn't apply to the p905v at this time because it's bootloader locked and a custom recovery isn't possible.
If you want to check firmware - please make backup. Better to store all partitions, at least efs and may be modem.
I'm using nano gapps.
Instructions
1. Install custom recovery
2. Download the zip(s) - firmware and Google Apps additional package (optional)
3. Backup all partitions (it least efs) and store somewhere - it need to do - because you can loose imei
4. Full wipe all
5. Flash firmware and gapps
Links
2: 20180118: remove Magisk, back su: https://drive.google.com/file/d/11V0Hmu9Jjib-oLERLXPNXbMMAie_iORq/view?usp=sharing
1: 20171231: https://drive.google.com/file/d/1m7t_7gntp9cDRRxGnJJqnwufnJxFVKUZ/view?usp=sharing
Gapps
http://opengapps.org/
Platform: ARM
Android: 7.1
Recovery
Official TWRP: http://forum.xda-developers.com/showthread.php?t=2706982
Sources
Sources: https://github.com/ResurrectionRemix/
Device: https://github.com/Valera1978/android_device_samsung_viennalte
Kernel: https://github.com/Valera1978/android_kernel_samsung_viennalte
Vendor: https://github.com/Valera1978/android_vendor_samsung_viennalte
Thanks again a lot for your work.
I wish you a happy new year!
@Valera1978
What such amazing gift for New Year!!!
Thanks for such awesome work my friend!
What is the different from this FW in compare to
https://forum.xda-developers.com/ga...-cyanogenmod-14-0-android-7-0-nougat-t3476335
? Does this thread continous the "old" one or it is a total other FW (other feature, Kernel .... ) ?
Mad07 said:
What is the different from this FW in compare to
https://forum.xda-developers.com/ga...-cyanogenmod-14-0-android-7-0-nougat-t3476335
? Does this thread continous the "old" one or it is a total other FW (other feature, Kernel .... ) ?
Click to expand...
Click to collapse
Hardware and config the same.
The idea is create another thread for custom firmwares, based on lineage\aosp.
Right now it's RR only, i'm working on OMNI rom, and later i'll build more firmwares.
please in other version don't insert the magisk.the rom to go in loop .and add in developer option the root gestion
Dagoncore93 said:
please in other version don't insert the magisk.the rom to go in loop .and add in developer option the root gestion
Click to expand...
Click to collapse
I'm taking a stab at what you are trying to express but the roms take 10 to 15 minutes to boot the first time because you are doing a full wipe. If you are not giving it at least that long magisk is not a likely cause.
Loakidog said:
I'm taking a stab at what you are trying to express but the roms take 10 to 15 minutes to boot the first time because you are doing a full wipe. If you are not giving it at least that long magisk is not a likely cause.
Click to expand...
Click to collapse
I received myself the error system ui crashed, and it got stuck on it.
Thanks Valera 1978, what a great new year gift!
I'm actually running Android 5.0.2, so is that Lollipop
Sent from my SM-G935F using XDA-Developers Legacy app
Albinoni said:
I'm actually running Android 5.0.2, so is that Lollipop
Click to expand...
Click to collapse
Yes
ralph_kl said:
I received myself the error system ui crashed, and it got stuck on it.
Click to expand...
Click to collapse
Send Valera1978 a bug report via Private Message. It is the only way developers can isolate the problem and fix it. In most Roms you can take a bug report via developer options.
help please Valera1978
i am updating from Resurrection Remix 5.8.5 version 20171231.
i wiped cache partitions
flashing rom 20180118 stuck on patching system unconditionally
theogalaxy said:
help please Valera1978
i am updating from Resurrection Remix 5.8.5 version 20171231.
i wiped cache partitions
flashing rom 20180118 stuck on patching system unconditionally
Click to expand...
Click to collapse
Try a full wipe magisk was removed with the latest version and super su added
A little help, please
Hello,
Sorry, but I need an help for understand.
How I can install this system?
I mean, can you explain to me what steps I need to do to install and which files to download?
sorry for my english, which is why I did not understand how to do it
Rosario
Valera1978 said:
I'm not responsible for any damage to your device of any sort.
By flashing this you take responsibility of anything that happens.
Process at your own risk!
This firmware was developed for the p905. It doesn't apply to the p905v at this time because it's bootloader locked and a custom recovery isn't possible.
If you want to check firmware - please make backup. Better to store all partitions, at least efs and may be modem.
I'm using nano gapps.
Instructions
1. Install custom recovery
2. Download the zip(s) - firmware and Google Apps additional package (optional)
3. Backup all partitions (it least efs) and store somewhere - it need to do - because you can loose imei
4. Full wipe all
5. Flash firmware and gapps
Links
2: 20180118: remove Magisk, back su: https://drive.google.com/file/d/11V0Hmu9Jjib-oLERLXPNXbMMAie_iORq/view?usp=sharing
1: 20171231: https://drive.google.com/file/d/1m7t_7gntp9cDRRxGnJJqnwufnJxFVKUZ/view?usp=sharing
Gapps
http://opengapps.org/
Platform: ARM
Android: 7.1
Recovery
Official TWRP: http://forum.xda-developers.com/showthread.php?t=2706982
Sources
Sources: https://github.com/ResurrectionRemix/
Device: https://github.com/Valera1978/android_device_samsung_viennalte
Kernel: https://github.com/Valera1978/android_kernel_samsung_viennalte
Vendor: https://github.com/Valera1978/android_vendor_samsung_viennalte
Click to expand...
Click to collapse
Compability
It is can flash for SM-P091 ?
i want the S Pen features and UI of Galaxy Tab S3 on my Galaxy Note 12.1 Pro Wifi. Am I right here and if yes how to do it please?
In terms of the little RAM I have I will use on microSD card as a RAM alternativ. is this a good idea in combination with a custom Rom?
Thx!
Best rom with custom kernel support for better gaming. Since stock miui is too heavy. PLease suggest
Unofficial LineageOS by nijel8, my script & pico Gapps.
Zola III said:
Unofficial LineageOS by nijel8, my script & pico Gapps.
Click to expand...
Click to collapse
which script exactly sir? there are number of them
This one, maybe
https://forum.xda-developers.com/mi...ce-kernel-tuning-tweaks-t3584897/post71739624
Scripts are in fifth post, you use one for a variant of the phone you have.
https://forum.xda-developers.com/showpost.php?p=71739624&postcount=5
You flash it like anything else from TWRP & if you don't like it you flash back stock one from same post.
Zola III said:
Scripts are in fifth post, you use one for a variant of the phone you have.
https://forum.xda-developers.com/showpost.php?p=71739624&postcount=5
You flash it like anything else from TWRP & if you don't like it you flash back stock one from same post.
Click to expand...
Click to collapse
Kernel? should i flash it over a stock miui kernel or can you suggest a kernel for miui9.2 global stable. Cheers
pg8286 said:
Kernel? should i flash it over a stock miui kernel or can you suggest a kernel for miui9.2 global stable. Cheers
Click to expand...
Click to collapse
I explicitly told you which ROM, Gapps & script you need to flash. Script won't work with MIUI! Their is no costume kernel for MIUI!
ROM:
https://forum.xda-developers.com/mi-max/development/rom-lineageos-14-1-t3529851
Why this one? Because it's rock stable & far less buggy than MIUI. It comes with semi costume kernel (only really needed things ware add & set as defaults) which is also much more secure than others available. Same kernel is adopted by all newer costume ROM's. It's also semi costume ROM & contains only fixes like full support for dual SIM, VOLTE status bar indicator that you won't find in official LineageOS builds, it also uses firmware property libs for hardware directory from Xiaomi MIUI builds. It doesn't contain any added apps or anything else different from official LineageOS. Reed the first post carefully before flashing!
Pico Gapps are the smallest one's & only ones that don't come with Google Asistent which alone saves 100MB of RAM.
So from TWRP as I assume you already have it if you don't find also nijel8 TWRP & install it first. You first flash the ROM, firmware, Pico Gapps (all linked in the first post for ROM), power/performance script. Let it boot in settings find & enable hotplug install your apps & games & enjoy.
Zola
Your script Does it work with..... RR-O v6.0.0 , micro gapp?
el.magic said:
Your script Does it work with..... RR-O v6.0.0 , micro gapp?
Click to expand...
Click to collapse
Gapps are Gapps. I told pico Gapps because they are smaller and lack Google assistant for sole gaming purpose that means 100MB free RAM. I don't know about RR (I doubt it) ask the author.
Hi folks
Since some of you asked me to make another thread for my TWRP build, here you go, the kernel is based on EWB5 (A13) but is compatible with all currenlty released Android versions.
WARNING/DISCLAIMER: Since the outer display isn't shut down this build can cause irreversible screen burns if used extensively. As such I take no responsabilities if you damage your device while using my TWRP build (and/or) other projects that may suffer from the same issues.
Edit: after some time the "screen burn" disappeared, so it seems that it's just a remanent image. In doubt stick to the warning.
TWRP Image
Sources:
Kernel
Device Tree (Forked from @shadow-of-leaf Z Flip 3 DT)
So just push it as the recovery to the active slot via adb?
Breaks dex? If Not its kompatible with latest one ui?
It doesn't break dex, you can backup your recovery partition, it should be compatible with latest Android, since recovery is contained
Mikowitsch said:
So just push it as the recovery to the active slot via adb?
Click to expand...
Click to collapse
Yes, the usual way works fine
is the link down.. i cant download it
miman04 said:
is the link down.. i cant download it
Click to expand...
Click to collapse
Fixed !
Azkali said:
Fixed !
Click to expand...
Click to collapse
Tq sir .. can i get a simple guide on how to get the TWRP works on my fold 3. im currently on a rooted fold 3 Android 13.
Should i use odin and put in AP then flash rite away or i use fastboot?
miman04 said:
Tq sir .. can i get a simple guide on how to get the TWRP works on my fold 3. im currently on a rooted fold 3 Android 13.
Should i use odin and put in AP then flash rite away or i use fastboot?
Click to expand...
Click to collapse
Yes in Odin putting recovery.tar in AP will work fine ^^
i cant download recovery and vbmeta
Azkali said:
Hi folks
Since some of you asked me to make another thread for my TWRP build, here you go, the kernel is based on EWB5 (A13) but is compatible with all currenlty released Android versions.
WARNING/DISCLAIMER: Since the outer display isn't shut down this build can cause irreversible screen burns if used extensively. As such I take no responsabilities if you damage your device while using my TWRP build (and/or) other projects that may suffer from the same issues.
Edit: after some time the "screen burn" disappeared, so it seems that it's just a remanent image. In doubt stick to the warning.
TWRP Image
Sources:
Kernel
Device Tree (Forked from @shadow-of-leaf Z Flip 3 DT)
Click to expand...
Click to collapse
404 page on TWRP and VBMETA
Using the DT from Azkali to build a new Release of TWRP, i'll make a new Thread for that
Thanks so much @Azkali for your Device Tree, i hope to help you soon
ROM-PacMe said:
Using the DT from Azkali to build a new Release of TWRP, i'll make a new Thread for that
Thanks so much @Azkali for your Device Tree, i hope to help you soon
Click to expand...
Click to collapse
I have a newer TWRP, maybe instead of a new build we could figure something out together
Join the discord and ping me there, I'll be available later
Release q2q-5337227142 · bm0x/twrp-actions-compiler
Recovery for q2q
github.com
based on minimal-twrp branch 12.1
and uses the DT from @Azkali
enjoy!
ROM-PacMe said:
Release q2q-5337227142 · bm0x/twrp-actions-compiler
Recovery for q2q
github.com
based on minimal-twrp branch 12.1
and uses the DT from @Azkali
enjoy!
Click to expand...
Click to collapse
is it compatible with SM-926B?
q2q is SM-926B?
google didnt know anything about "q2q samsung"
Can you try, If not working, only re install the recovery stock and vbmeta too
The other thread cites CVCA as a basis, but all I can find in the TWRP revision q2q-5337227142 in each. Is there an older build out that works better w/ BL 1, not 3?
thewayofwright said:
The other thread cites CVCA as a basis, but all I can find in the TWRP revision q2q-5337227142 in each. Is there an older build out that works better w/ BL 1, not 3?
Click to expand...
Click to collapse
the revision is a random number gived from Github Actions, nothing more my friend
thewayofwright said:
The other thread cites CVCA as a basis, but all I can find in the TWRP revision q2q-5337227142 in each. Is there an older build out that works better w/ BL 1, not 3?
Click to expand...
Click to collapse
only use the vbmeta and recovery tar of my own github releases, let me any update, ok?
i see soon any bug to help to fix
Did i can flash Project Blaze 2.5 Rom on my Moto G30 using TWRP?
I have the model with 6GB Ram.
Yes but:
You don't flash the ROM you flash a GSI so not as good or stable, I've been using one for a long time and its stable enough.
I suggest you DON'T flash with TWRP, not because it's not good but i don't have experience with it and I can't promise it will work.
I instead suggest you follow Sammm77's GSI Flash Guide
You should download the GSI ( Project Blaze ) and any updates for it from Phhusson's Generic System Image (GSI) list, at the moment the download link is : LINK
Headphones and Bluetooth might have problems but are easy to fix, see this thread : LINK
Any other problems you have and i might have I would be happy to help!
Also some GSI just do not work so don't stress if it does not boot, try another one from the GSI list above.
As always, keep in mind this is all third party community software so do your own research!