[GUIDE]Extreme Battery Saving Method* - Verizon Samsung Galaxy S 4

Since I received so many inquires into how I chose to save a moderate volume of battery power via trial and error, I decided to write up a little "this is what has worked for me" post.
First off, like I said, "this is what has worked for me," so I'm not held accountable if you manage to kcuf up your phone...cool? Ok.
Second, I take no credit in the development, research, exploits and other such methods used to obtain the following masterpieces of Android Development: Kernel Auduitor's devs, @klabit87 for his awesome work and support (as well as those who preceded his work), and @stang5litre for a brilliant ROM (v3) that allows such flexibility.
Now...keep in mind battery life greatly depends on what apps you have and frequent, location, sleep patterns...basically how you use your device. Ok, enough blabbering...
Once you have followed the instructions from http://forum.xda-developers.com/showthread.php?t=3321587 to a tee you must first read and study how each governor/io is structured and why.
Here are the basic parameters I'm running:
*Version 1 Configuration
Governor = darkness
I/O = fiops
Multi-core Powersaving = Aggressive
MP Decision = off
TCP Congestion Algorithm = reno*
Entropy - Read = 1024
Write = 2048
Low Memory = Aggressive
And I pulled the VFS Cache Pressure down to 5 in Virtual Memory.
Here are the basic parameters I'm running:
*Version 2 Configuration
Governor = alucard
I/O (Internal) = fiops
(External) = vr
Multi-core Powersaving = Disabled
MP Decision = off
*Thermal = SoC Temperature Throttle*
TCP Congestion Algorithm = cubic
Entropy - Read = 256
Write = 1024
Low Memory = Medium
Return VFS Cache Pressure to its default value of 10 in Virtual Memory
In addition to all of that, I use Greenify, Recently, Coolify and various native settings (i.e. Auto-bright -3, screen timeout, no transition animations).
The Version 2 Configuration is a great, harmonically balanced tapestry of performance and energy conservation.
I have tested this particular set-up fairly extensively, with a little tweaking along the way. And I feel that this is the optimal configuration, given the parameters. You guys may wanna play a little bit with the Entropy, because I did so and am still playing with it just to see what kind of performance I can achieve.
Below are a few screenshots of my set up (Version 1 Config).
Screenshots for Version 2 Config http://forum.xda-developers.com/showpost.php?p=66528774&postcount=15
Device: SCH-I545
ROM: stang5litre 5.0 Edition v3
Bootloader: NK4
System: OC1
Xposed: v65 _ Version3.0Alpha4
**NOTE: You WILL have to play around a bit to find out what works best for your style of use.
*EVERY DEVICE/EXPERIENCE METHOD WILL BE DIFFERENT!
***UPDATE: I have discovered that setting TCP Congestion Algorithm to reno has a *POSSIBLE* negative effect on battery life over a certain period of time (1 week to be approximate). I've specifically related this to streaming content on YouTube via background playback (Red or Xposed).
*Thermal* PLEASE READ! I did encounter and record abnormally high temperatures when this setting was set to Core Control.
Feel free to post info, screenshots or feedback that document your device's performance!
Sent from my stang5litre Edition 5.0 using Tapatalk

How yo setting gpu, thermal and low memory killer

3link22 said:
How yo setting gpu, thermal and low memory killer
Click to expand...
Click to collapse
Core control only for thermal..And Aggressive for low memory killer
Sent from my stang5litre Edition 5.0 using Tapatalk

ATGkompressor said:
Core control only for thermal..And Aggressive for low memory killer
Sent from my stang5litre Edition 5.0 using Tapatalk
Click to expand...
Click to collapse
CPU like this or no..

3link22 said:
CPU like this or no..
Click to expand...
Click to collapse
Can't get the link
Sent from my stang5litre Edition 5.0 using Tapatalk

hey bruh can you pls tell me how to fix the wifi ? i flashed the kernel without problem but can you give me more instruction how to properly flash via ff maybe i do some mistakes ? my wifi doesnt work .. any help ??? : S my firmware is also OF1

Samsung love said:
hey bruh can you pls tell me how to fix the wifi ? i flashed the kernel without problem but can you give me more instruction how to properly flash via ff maybe i do some mistakes ? my wifi doesnt work .. any help ??? : S my firmware is also OF1
Click to expand...
Click to collapse
I'm on NK4 bootloader with OC1 system, so I'm not sure exactly what could be causing a Wi-Fi issue. If u go to the thread I linked in the OP, you should use the search function to search "Wi-Fi" and read thru them. Also, what ROM are u running? That could have something to do with it as well. If I recall correctly, I saw where someone had the same issue. Always make sure you follow the instructions and deviate not one iota of them.
Sent from my stang5litre Edition 5.0 using Tapatalk

ATGkompressor said:
I'm on NK4 bootloader with OC1 system, so I'm not sure exactly what could be causing a Wi-Fi issue. If u go to the thread I linked in the OP, you should use the search function to search "Wi-Fi" and read thru them. Also, what ROM are u running? That could have something to do with it as well. If I recall correctly, I saw where someone had the same issue. Always make sure you follow the instructions and deviate not one iota of them.
Sent from my stang5litre Edition 5.0 using Tapatalk
Click to expand...
Click to collapse
well there was eitehr an instruction he just said *flash those kernels via FF* and i toke exactly the same firmware i had also for the OF1 and there was writen that this is fixing the Wifi ... it is not cause the roms i tried in both also stock and custom same ****t .. i had Oc1 system to ... your lucker but bruh if you search there woult be any type of devices but not for the s4 verizon it alll different hardware right ? i dont think i coult fix it in other way only if someon coult give me an advice or an well instruction on how to flash those kernels for the OF1 and how they got work it with a *working wifi* ofc but thanks for your reply appreciate it if someon coult help me woala

I will be updating the OP in a few days! I have discovered an awesome new set-up (I HOPE!). This one is performance driven and it has made a HUGE difference in network performance, as well as great multitasking performance. But it has a very small impact on battery life, given the aggressiveness of the CPU scaling. Stay tuned!
Sent from my stang5litre Edition 5.0 using Tapatalk

ATGkompressor said:
I will be updating the OP in a few days! I have discovered an awesome new set-up (I HOPE!). This one is performance driven and it has made a HUGE difference in network performance, as well as great multitasking performance. But it has a very small impact on battery life, given the aggressiveness of the CPU scaling. Stay tuned!
Sent from my stang5litre Edition 5.0 using Tapatalk
Click to expand...
Click to collapse
How long now?

XxD34THxX said:
How long now?
Click to expand...
Click to collapse
Couple days. I need to have a high degree of certainty that these settings hold up thru a wide spectrum of variable situations. So...it is my opinion that this set up delivers a very harmonic balance of performance and battery life with impeccable stability. I've still got a few things I wanna test before I give the verdict. But I'll give a little clue, two actually...alucard and entropy.
Sent from my stang5litre Edition 5.0 using Tapatalk

ATGkompressor said:
Couple days. I need to have a high degree of certainty that these settings hold up thru a wide spectrum of variable situations. So...it is my opinion that this set up delivers a very harmonic balance of performance and battery life with impeccable stability. I've still got a few things I wanna test before I give the verdict. But I'll give a little clue, two actually...alucard and entropy.
Click to expand...
Click to collapse
Argh fine make us wait >.<
Jk take your time. I'm just running your current config with my CPU only going up to 11-whatever

I had the Wi-Fi problem too, but a reboot fixed it. Something might not have applied correctly I'm guessing.
Actually it would make sense if it had to do with TCP, because Wi-Fi was fine until I messed with it.

whowatchlist said:
I had the Wi-Fi problem too, but a reboot fixed it. Something might not have applied correctly I'm guessing.
Actually it would make sense if it had to do with TCP, because Wi-Fi was fine until I messed with it.
Click to expand...
Click to collapse
Yeah, I had some issues with mobile data signal dropping randomly with the algorithm set to reno. But as far as the kernel modules, I've not one problem.
I'm getting ready to update the OP with this new configuration. Should be up within the hour.
Sent from my stang5litre Edition 5.0 using XDA Labs

Sorry guys, someone or thing doesn't want to co-operate with how I want my OP strutured, So, here are the Screenshots for Version 2 Config. As well as some shots from Better Battery Stats as comfirmation of the type of insane battery live I'm achieving.

So I might have messed up somewhere, but immediately after applying your new config, my device experienced multiple, constant freezes, and up until half and hour ago and before a full wipe, loss of bluetooth... No clue how the bluetooth is related... I'll try it again after this final

XxD34THxX said:
So I might have messed up somewhere, but immediately after applying your new config, my device experienced multiple, constant freezes, and up until half and hour ago and before a full wipe, loss of bluetooth... No clue how the bluetooth is related... I'll try it again after this final
Click to expand...
Click to collapse
Ooo. Not good. Don't see any reason why it would be doing all that. Are u running in Global mode or LTE/CDMA? I had to switch from global to lte because I was having data drops. But they only occurred at work at a certain time of the day. Also, a good FlashFire backup and a Rom reinstall works wonders. I been running stang's v3 since beginning of February and have put it thru the ringer. App installs/uninstalls, bootloops, and all that. Write possibly the most stable Rom and kernel set up I've ever ran. .
Sent from my stang5litre Edition 5.0 using XDA Labs

Good battery saving for ultra note5 please...

3link22 said:
Good battery saving for ultra note5 please...
Click to expand...
Click to collapse
Since I'm not on that ROM, it would be at least a month before I could give any assessment and positive results. If you have tried both methods on Ultra N5 and are not satisfied, play around with it...I explicitly advocate for ppl to play around according to the base parameters I set forth, or even completely different templates. 9 times out of 10, battery life is relative to the user's style of use, as well as what modifications [emphasis on Xposed] you may be implementing.
Sent from my stang5litre Edition 5.0 using XDA Labs

ATGkompressor said:
Ooo. Not good. Don't see any reason why it would be doing all that. Are u running in Global mode or LTE/CDMA? I had to switch from global to lte because I was having data drops. But they only occurred at work at a certain time of the day. Also, a good FlashFire backup and a Rom reinstall works wonders. I been running stang's v3 since beginning of February and have put it thru the ringer. App installs/uninstalls, bootloops, and all that. Write possibly the most stable Rom and kernel set up I've ever ran. .
Sent from my stang5litre Edition 5.0 using XDA Labs
Click to expand...
Click to collapse
Yeah, I'm on V3 as well... No clue atm since my phone is dead(just heavy gaming while my new drivers install)

Related

[Mod][6.x/7.x] Xthermal Mod -Fast Charging + Some CPU/GPU Tweaks

Original thread for Nexus 6P is located here:
http://forum.xda-developers.com/nex...t/xthermal-mod-fast-charging-cpu-gpu-t3433784
Hi Guys,
I'm back with the Xthermal Mod.
But this time it is for Nexus 5x.
Introduction:
Nexus 5x is one of the best handsets we have now. No doubts about that.
Nexus 5x has also got one of the best Fast Charging.
But why I always get around 800-1100 mA current while charging?
Max to max I get 1400-1500 mA current.
Is this the best fast charging I can get?
Then I opened my thermal engine file and started working on it.
Goal:
Xthermal_Fast_Charge: Here I tried to boost my charging current/speed while keeping rest values to their default.
Xthermal_Performance: Here I tried to boost my charging current/speed + Same basic CPU & GPU tweaks are also applied.
Also tested with roms based on "N" aka Android 7.x.
Downloads:
Links for Marshmallow and for Nougat: See the attachments.
How to apply:
1. Download the zip
2. Reboot to TWRP recovery
3. Flash the zip and reboot.
Wait let it settle a bit...
Now check the difference using Ampere app...
Credits:
Google
Notepad++
@keaheng for testing
Note to mods: Please kick it to related section if I missed it.
Reserved...
Thank you, I'll try out and give feedback. Are this values modifying the governor? I'm on elemental x with silver fish profile. And can you specify what should we expect from it? More battery? More performance? Sounds promising
Edgarngg said:
Thank you, I'll try out and give feedback. Are this values modifying the governor? I'm on elemental x with silver fish profile. And can you specify what should we expect from it? More battery? More performance? Sounds promising
Click to expand...
Click to collapse
Faster charging...
more better cpu and gpu performance in day to day tasks...
This is purely thermal engine based mod which works on tweaking the initial throttling values so that we can delay throttling a bit ...
Charges faster, thanks....
Works like a charm! Thanks for the work man! Much appreciated!
Never saw a mod like this lol, will try thanks
TW1ST3D1NS4N3 said:
Works like a charm! Thanks for the work man! Much appreciated!
Click to expand...
Click to collapse
I have flashed all 3 zips and no matter which one is flashed the script always reads inside of TWRP "Back To Stock"?
Cool tweaks, pretty similar to the thermal throttling tweaks detailed in this thread months ago: http://forum.xda-developers.com/nexus-5x/general/guide-thermal-throttle-tweaking-t3395681
I'm not too wild about the battery temperature tweak here. Li-Ion batteries shouldn't really exceed 45 Celsius when being charged. The problem with these batteries is that the hotter they get, the worse rate they charge at. On top of this, higher temps reduce the battery's overall lifespan. Bottom Line: The temperature threshold for the battery in our phones is there for a reason.
Thanks for posting. I am currently on ElementalX with various over clocking enabled. Will this interfere with that in anyways or cause instability?
this changes whatever changes i may have already done to thermal.conf?
---------- Post added at 12:13 PM ---------- Previous post was at 12:00 PM ----------
another question when i flashed the 5x xthermal performance fast charge is it supposed to say back to stock ?
TW1ST3D1NS4N3 said:
I have flashed all 3 zips and no matter which one is flashed the script always reads inside of TWRP "Back To Stock"?
Click to expand...
Click to collapse
No issues at all as files inside the zips are correct...
Might be copy paste issue ... will check the same...
Thx for reporting...
Edit: just checked...
Forgot to modify updater script lol...
Will edit it in evening... rtnw at office
How? I get 3000 without doing anything
Can this affect to battery life?
axiel7 said:
Can this affect to battery life?
Click to expand...
Click to collapse
I haven't noticed anything...Been using for a couple days now
Wich one makes the phone charging faster (I want the fastest)
Without Rules said:
Wich one makes the phone charging faster (I want the fastest)
Click to expand...
Click to collapse
Read the OP
Confirming this definitely works... I'm impressed truthfully. My charging speed was always crap, 300 mah with the 2.5 charger from Google, now it's 1750~ mah
Because I'm not sure, say I have a custom kernel, will this alter or negatively affect anything I already have going on? Or does this just modify only the charging?
Sent from my Nexus 5X using XDA-Developers mobile app
Does this tweak work alongside the Thermal Throttling Tweak by Razorless. Lost my charging brick and using an iPad one and the speeds never get to what it used to be, would love to try this out. Thanks

Android auto on MTCB

http://www.xda-developers.com/andro...every-car-through-updated-app-on-smartphones/
Looks like it may run on LP ROMs. Didn't tried yet.
That looks really interesting. Might be the reason I've been waiting for to upgrade to 5.1
Sent from my SM-G920F using Tapatalk
pa.ko said:
http://www.xda-developers.com/andro...every-car-through-updated-app-on-smartphones/
Looks like it may run on LP ROMs. Didn't tried yet.
Click to expand...
Click to collapse
Not installing on my LP unit running @dsa8310 October ROM. Starts the installation and after a few seconds - App not installed. At first I thought it's location-based but installed OK on my Samsung phone (Marshmallow)
m00n61 said:
Not installing on my LP unit running @dsa8310 October ROM. Starts the installation and after a few seconds - App not installed. At first I thought it's location-based but installed OK on my Samsung phone (Marshmallow)
Click to expand...
Click to collapse
i think you installed the arm64 version. You need the arm version. Mine is working. Make sure you installed the google app and google play music app before installing. Normally android auto is installing this in its installation, but than it goes in a loop (in mine case). So install them first.
For the rest android auto is slow, because it's using google maps, which is slow in the android 5.1 version. Spotify is working fine btw.
I'm working for a MAnufacture which produces HU for cars. Right now there is a native Android System for cars in discussion.
Source:
http://www.computerworld.com/articl...auto-making-your-car-a-big-mobile-device.html
I installed this on my Joying RK3188 running the latest Malaysk 5.1.1 ROM. Unfortunately, the ROM itself is so slow, Android Auto is almost unusuable. It does work, mind you, but the ROM seems to be the problem. Anyone know any bare-bones 5.1.1 ROMs that run quick? Thanks.
dcdttu said:
I installed this on my Joying RK3188 running the latest Malaysk 5.1.1 ROM. Unfortunately, the ROM itself is so slow, Android Auto is almost unusuable. It does work, mind you, but the ROM seems to be the problem. Anyone know any bare-bones 5.1.1 ROMs that run quick? Thanks.
Click to expand...
Click to collapse
try DSA room, its best 5.1 rom I used
dcdttu said:
I installed this on my Joying RK3188 running the latest Malaysk 5.1.1 ROM. Unfortunately, the ROM itself is so slow, Android Auto is almost unusuable. It does work, mind you, but the ROM seems to be the problem. Anyone know any bare-bones 5.1.1 ROMs that run quick? Thanks.
Click to expand...
Click to collapse
It's not exactly the ROM. It's the combination Google Maps + Google Now + Android Auto. I tried it on a clean ROM with only root and pretty much everything removed and it's unusable.
I also noticed that a 5.1 ROM will run OK as long as you only have either Google Maps or Google Now. When you have both it's barely working.
m00n61 said:
It's not exactly the ROM. It's the combination Google Maps + Google Now + Android Auto. I tried it on a clean ROM with only root and pretty much everything removed and it's unusable.
I also noticed that a 5.1 ROM will run OK as long as you only have either Google Maps or Google Now. When you have both it's barely working.
Click to expand...
Click to collapse
Don't know if it is only RAM related. These units have very poor CPU profile - throttling. stepup clock control settings which use highest clock only rarely so most of the time CPU is running slow so many processes suffer especially when multiple apps are running in background.
I'm not using 5.1 ROM (as I see still issues and people complaining) so I cannot test if and what apps mix causes issues.
You may try some kernel tools for testing different governors, CPU throttling (yes I would try also thermal throttling if you want to be on the safe side as rumours are Chinese used above mentioned downclocked setup in order to save CPU from overheating as there is no heat sink).
It would be interesting to open new thread for this. Much improvements may be achieved only by tuning kernel. And that needs some experimenting and practising.
Also, regarding 5.1 it is well known that it is 'heavy' and one of the main points of 6 (MM) was to reduce resource usage. So instead jumping to LP and having resource issues, I'll wait to see if there will be progress on MM which may resolve much of the problems around.
pa.ko said:
Don't know if it is only RAM related. These units have very poor CPU profile - throttling. stepup clock control settings which use highest clock only rarely so most of the time CPU is running slow so many processes suffer especially when multiple apps are running in background.
I'm not using 5.1 ROM (as I see still issues and people complaining) so I cannot test if and what apps mix causes issues.
You may try some kernel tools for testing different governors, CPU throttling (yes I would try also thermal throttling if you want to be on the safe side as rumours are Chinese used above mentioned downclocked setup in order to save CPU from overheating as there is no heat sink).
It would be interesting to open new thread for this. Much improvements may be achieved only by tuning kernel. And that needs some experimenting and practising.
Also, regarding 5.1 it is well known that it is 'heavy' and one of the main points of 6 (MM) was to reduce resource usage. So instead jumping to LP and having resource issues, I'll wait to see if there will be progress on MM which may resolve much of the problems around.
Click to expand...
Click to collapse
I agree. From monitoring resource usage under 5.1 I have to say that while RAM usage will rarely go over 700 MB CPU is aggressively downclocked. However, I need to first add a heatsink and then play with governors.
However, not sure how much would that really help with Android Auto, it's so damn slow it takes like 20 seconds just to start
m00n61 said:
I agree. From monitoring resource usage under 5.1 I have to say that while RAM usage will rarely go over 700 MB CPU is aggressively downclocked. However, I need to first add a heatsink and then play with governors.
However, not sure how much would that really help with Android Auto, it's so damn slow it takes like 20 seconds just to start
Click to expand...
Click to collapse
Heatsink issue is to be investigated also. For instance many phones do not have heatsinks and still endure very heavy usage. So it may be not necessary. For instance, thermal throttling may be sufficient.
Thus, both governor and thermal control should be investigated. I believe it is possible with little effort to tune these units to work very nicely without much hw poking.
SW in these units is just so bad and poor it is almost unbelievable! Beside designers didn't have basic knowledge on architecture, they even 'tuned' many things in just opposite of what is needed. They could have better situation if only leaves everything by default in AOSP

[TIPS] This setup will make your beloved Mi3 run like a champ!

Hello folks!
This thread is intended for sharing, please be kind. Any suggestions would be appreciated
A few days ago I was tired of having my Mi3 running on stock global dev MIUI 8, it was inefficient system with really bad memory management. On my experience, the MIUI tend to run out of memory. In some case, after a few hours of usage the system cannot reclaim the occupied RAM, thus making the system lags a lot and generate excessive heat!
Yes, MIUI is a feature-rich ROM, and the Mi ecosystem is a pretty mature ecosystem. However, those all greatness needs a lot of power to run on our 3 year old device. After a few research I decided to switch to CM13 ROM.
With efficiency in mind, I do my research and tinkering with my device to get the best setup possible without losing performance. The results are AMAZING! I can use my phone for a whole day without recharge in the mid day. All of this with huge improvement on performance, Real Racing 3 highest graphic setting without any noticeable lag! CPU and battery temperature are now significantly lower (43-47C idle / light tasks, 55-57C heavy gaming). Now that I've found the best setup, I want to share it with you folks! Here we go:
Mi3W 64GB
CM13 ROM snapshot build
CM kernel (automatically flashed while flashing CM13 zip through TWRP)
Screen resolution changed to 720x1280 use this guide
Modded interactive CPU governor (see screenshot below)
Undervolt (see screenshot below, this one really helps reduce CPU working temperature)
Noop I/O scheduler
Reduce aggresiveness of LMK (see screenshot below)
Thats all folks, hope this guide will get our Mi3 having another year of flagship-grade experience! Cheers! :highfive:
How did u undervolt
kingnikpic said:
How did u undervolt
Click to expand...
Click to collapse
It depends on the kernel used. Cm kernel that he used supports undervolt. Careful when undervolting though as too much of it can cause cpu instability and reboots.
kingnikpic said:
How did u undervolt
Click to expand...
Click to collapse
Yes, it depends on the kernel used. Some kernel support undervolting while others don't. You need to flash kernel that support undervolt.
solazz said:
It depends on the kernel used. Cm kernel that he used supports undervolt. Careful when undervolting though as too much of it can cause cpu instability and reboots.
Click to expand...
Click to collapse
While testing CPU voltage value, don't tick "apply on boot" option until you find the most stable voltage without causing system reboot or crashes. Every CPU has different limit on how far you can undervolt, but you can use the values on my screenshot as guidance (Snapdragon 801 / MSM8974-AB only)
Wow!! Thanks a lot bro. I'll fiddle now with my phone.
miui8polska,i cant root it .can you give me a supersu.zip?
Sent from my MI 4LTE using XDA Labs
Random reboot after setting undervolt just likes yours
z1d4n21 said:
Random reboot after setting undervolt just likes yours
Click to expand...
Click to collapse
Undervolting (and clock adjustment, in general) pretty much is a case-per-case basis, so different handsets (even if it's the same type of device) may have different setup. Try lowering it first incrementally and test it, until you have it stable enough.
rxl.noir said:
Undervolting (and clock adjustment, in general) pretty much is a case-per-case basis, so different handsets (even if it's the same type of device) may have different setup. Try lowering it first incrementally and test it, until you have it stable enough.
Click to expand...
Click to collapse
Ok thanks i will test it later

[GUIDE] The Set-And-Forget setup for easy update, no worries battery and performance

UPDATED FOR MARCH SECURITY PATCH! 08/03/2017​
Hey folks!
Today I decided to share my actual setup for everyone to try and report back.
Mind that is still WIP, absolutely far from perfect and it's based on my personal preference, since it's built around the way I use the phone. But it can be easily adopted for many people here since it's pretty flexible.
The main goal of this setup is to provide consistency, both in battery and performance. Also, I mind security a bit, this is why I update the phone often; Because of that I want to flash the least possibile .zip files in recovery after updating to the latest security image (I'm lazy and I like things done nice once, and I never do them twice when it's not needed)
With this setup you should go between 10%/h to 15%/h SOT, consistently. I've seen some of my friends dropping to 9%/h, but no guarantees
Also, added bonus: It DOESN'T trips SafetyNet, so you can use Pay and your beloved Pokemon go!
Also note that english isn't my native language, but I try my best to write as readable that I can. Sorry about that.
This require an unlocked bootloader, but not necessary a rooted phone.
The Setup:
1) First things first: Clean your phone from junk around (I suggest a pretty hard wipe) and since this require to be on the stock system (which IMO works best) flash latest N build.
2) Convert your data and cache to F2FS. It's pretty good, and even if in your opinion it doesn't boost performance THAT much, take in mind that it requires no trimming (which EXT4 does need). Mind not converting /system, this is UNSUPPORTED on stock system. It needs a custom rom.
3) Flash "Flash Kernel" from here. You can literally use any kernel you prefer, but I found this rich enough to use it. Mind it does support F2FS, if you converted to it in step 2.
4) Flash Magisk. This way you have root out-of-the-box and safetynet isn't tripped (for you Pay users!) Also, it plays nice with the mods in the next steps. Don't forget to activate "magisk hide" in the app!
5) Flash this magisk mod (increases media volume steps to 30, in call volume steps to 15)
6) Reboot your phone and set it up.
7) Install Magisk App, WakeBlock, and your kernel manager for the kernel you chose. In this setup, I use EX Kernel Manager.
8) Now, from your favourite root file manager go to /cache and create this directory structure: magisk_mount/system/framework/oat/arm64/ then place in the last folder (arm64) this file. It's from this mod, called WakeBlock. (It basically acts like amplify, but doesn't need xposed NOR root)
9) Reboot the phone.
The setup it's done, you can now tweak it as you prefer or just follow the below steps.
The Kernel tweaking:
1) Open up EX Kernel App and go to CPU, set both governors to Interactive and tick stick on reboot
2) Go to governor options and choose your governor. I use AmanuensisOne v1.0, which gives me around 6-7h sot. Load it, stick it on reboot and back to CPU.
3) Go to CPU Boost options, and disable everything (set everything to 0/disabled) and tick stick on reboot. Then back to CPU.
4) Enable core_control and disable msm_thermal, stick them on reboot.
5) Go to Memory and Disable UKSM stick on reboot.
6) Go to Miscellaneous set I/O Scheduler to FIOPS, stick on reboot, Readahead to 1024 with stick on reboot, disable fsync, also set it to reboot.
Done!
Blocking those nasty wakelocks and save the battery! (aka R.I.P. NlpCollectorWakelock):
It's reccomanded to use the phone for a while before doing this. Wakeblock collects informations on wakelocks only when they fire the first time, so a bit of use it's needed.
1) Open wakeblock app and check if it says "service bound". If it doesn't you may have missed something on the "The setup" part, check point #8.
2) Go to wakelocks and block this wakelocks (the time is expressed in ms in the app - Don't enter spaces, of course.) if you don't have a wakelock, skip it:
- NlpWakeLock -- 600 000ms
- GCoreFlp -- 600 000ms
- RILJ -- 800 000ms
- UrlDispSvcFastWL -- 600 000ms
- CMWakeLock -- 600 000ms
- *net_scheduler* -- 3 600 000ms
- Wakeful StateMachine: GeofencerStateMachine -- 600 000ms
- LocationManagerService -- 600 000ms
- SyncLoopWakeLock -- 600 000ms
- NetworkStats -- 800 000ms
- Icing -- 3 600 000 ms
- ULR_BarometerReading_WakeLock -- 600 000ms
- NfcService:mRoutingWakeLock -- 3 600 000ms
- NlpCollectorWakeLock -- 600 000ms
Take in mind that this wakelocks are blocked without impacting ANY functionality of the phone. You may want to increase the time if don't use geolocation at your own risk
More tweaks (improve smoothness and perceived UI speed):
This is a highly WIP part, setting anything different might break your system or get your phone into bootloop (happend twice to me). I highly suggest to have a backup if you want to fiddle more with these settings. You are advised. If you find something useful, please share.
1) Download HEBF and L Speed. These two apps have many tweaks to improve UX and saves a little bit more juice.
2) Open up L Speed and set it this way:
- Main tweaks: Activate Kernel sleepers optimization, Improve scrolling, Liquid smooth UI
- Battery: Activate Battery improvement
- LNET Optimizer: Activate all the tweaks and set NET Buffers to small (or big, but it wastes more battery)
- Seeder: Set to Enlarger mode
- Settings: apply on boot delay set to 60 sec.
3) Open up HEBF and set it this way:
- Set user type to "Chuck Norris" and proceed.
- Battery: Activate Google play services drain fix (Master) and usage report
4) Go into Settings > Developer options and scale all animations to 0.5x
Done, if you done all of this correctly you should see a dramatic improvement on battery life and performance.
I still reccomend to use Naptime, or better, Greenify to save some extra juice.
Have a good day, and enjoy your phone!
Please comment with your battery stats or suggestions if you wish to improve this topic.
Today's battery performance pic
Well, pretty good for me!
CappyT said:
Today's battery performance pic
Well, pretty good for me!
Click to expand...
Click to collapse
What's your average SOT?
Inviato dal mio Pixel XL utilizzando Tapatalk
giovanto98 said:
What's your average SOT?
Inviato dal mio Pixel XL utilizzando Tapatalk
Click to expand...
Click to collapse
Normally i go for 6-7h pretty consistently, i touched 8h, but it was a day were i kept my screen on pretty much all the time with really quick screen offs.
The average sot may vary, but with my friends we've tested around 6h
As you can see from the screen i've installed accubattery few hours ago, but is already almost accurate in battery reading.
I can provide more accurate averages in a week or two
CappyT said:
Normally i go for 6-7h pretty consistently, i touched 8h, but it was a day were i kept my screen on pretty much all the time with really quick screen offs.
The average sot may vary, but with my friends we've tested around 6h
As you can see from the screen i've installed accubattery few hours ago, but is already almost accurate in battery reading.
I can provide more accurate averages in a week or two
Click to expand...
Click to collapse
Why don't you use a custom rom? Any reason in particular?
DEVILOPS 007 said:
Why don't you use a custom rom? Any reason in particular?
Click to expand...
Click to collapse
Using a custom rom has for sure some advantages, but:
- It may (and possibly will) be unstable or certain features bugged out
- Doesn't provide much more than stock rom already does (and if it does, are just secondary things like looks and customization that you can live without)
- No wakeblock for it, which saves a TON of battery (i might compile it, but hell, takes a lot of time)
- You can switch Android versions easily (and mostly without wiping /data)
- Much more support (even the official one)
- The feel and look of a clean android version
- I often don't like crap integrated with other roms based on stock
- Odexed it's faster and saves a little little juice (i don't do app modding, so...)
That's pretty much why.
Take in mind that this is my thought, and doesn't universally qualify as truth.
CappyT said:
Using a custom rom has for sure some advantages, but:
- It may (and possibly will) be unstable or certain features bugged out
- Doesn't provide much more than stock rom already does (and if it does, are just secondary things like looks and customization that you can live without)
- No wakeblock for it, which saves a TON of battery (i might compile it, but hell, takes a lot of time)
- You can switch Android versions easily (and mostly without wiping /data)
- Much more support (even the official one)
- The feel and look of a clean android version
- I often don't like crap integrated with other roms based on stock
- Odexed it's faster and saves a little little juice (i don't do app modding, so...)
That's pretty much why.
Take in mind that this is my thought, and doesn't universally qualify as truth.
Click to expand...
Click to collapse
Okay thanks, I appreciate your opinion. I mainly prefer custom roms not for customisability and features but roms (mainly Chad's uber) is faster and snappier than any rom out there and is on Clang 4.0 unlike any other roms I think. Also custom roms typically have less bloat and all and has more support for themes and stuff. Can you use substratum and what wakelocks do you block? If you do ever look at getting wakeblock on custom roms could you please look into Chad's uber. I contacted him but he hasn't responded. I'd be happy to help and do it myself but I don't know how to unfortunately.
---------- Post added at 07:03 PM ---------- Previous post was at 06:58 PM ----------
CappyT said:
Using a custom rom has for sure some advantages, but:
- It may (and possibly will) be unstable or certain features bugged out
- Doesn't provide much more than stock rom already does (and if it does, are just secondary things like looks and customization that you can live without)
- No wakeblock for it, which saves a TON of battery (i might compile it, but hell, takes a lot of time)
- You can switch Android versions easily (and mostly without wiping /data)
- Much more support (even the official one)
- The feel and look of a clean android version
- I often don't like crap integrated with other roms based on stock
- Odexed it's faster and saves a little little juice (i don't do app modding, so...)
That's pretty much why.
Take in mind that this is my thought, and doesn't universally qualify as truth.
Click to expand...
Click to collapse
I was also wondering, are there any great custom roms that currently work with wakeblock? So odexed custom roms
CappyT said:
Normally i go for 6-7h pretty consistently, i touched 8h, but it was a day were i kept my screen on pretty much all the time with really quick screen offs.
The average sot may vary, but with my friends we've tested around 6h
As you can see from the screen i've installed accubattery few hours ago, but is already almost accurate in battery reading.
I can provide more accurate averages in a week or two
Click to expand...
Click to collapse
What % of battery health accubattery shows you?
Inviato dal mio Pixel XL utilizzando Tapatalk
DEVILOPS 007 said:
Okay thanks, I appreciate your opinion. I mainly prefer custom roms not for customisability and features but roms (mainly Chad's uber) is faster and snappier than any rom out there and is on Clang 4.0 unlike any other roms I think. Also custom roms typically have less bloat and all and has more support for themes and stuff. Can you use substratum and what wakelocks do you block? If you do ever look at getting wakeblock on custom roms could you please look into Chad's uber. I contacted him but he hasn't responded. I'd be happy to help and do it myself but I don't know how to unfortunately.
Click to expand...
Click to collapse
Yeah, I understand custom rom may be compiled with different toolchains to be faster, but the speed gain is between negligible and placebo, to me. The stock with these settings is buttery smooth and fast. Also, to have a faster look, go to developer settings and set all the animations to 0.5x. I know it doesn't affect performance, but the percieved smoothness is increased.
I tried many custom roms. It's mostly a fight than a good experience for me, so I gave up on it (I used to have cyanogemod on all my phones, for years and I was a big fan of it)
For WakeBlock, I don't plan to compile it for other roms, I'm just currently working on a LineageOS version, but that's it. It's up to your rom dev to integrate it.
BTW Yes, I can use substratum themes, but only in legacy mode. Keep in mind that this will OFC trigger SafetyNet. (like all substratum themes)
giovanto98 said:
What % of battery health accubattery shows you?
Inviato dal mio Pixel XL utilizzando Tapatalk
Click to expand...
Click to collapse
96%, right now.
Solid guide, similar to what i'm already doing but i use Uber as my ROM. Flash kernel is great, although for some reason i universally have a problem on my 6P where my android system usage is as high if not higher than my screen usage? Has anyone else had this issue regardless of their ROM etc? Tried multiples of combos, including stock/dark rom/Stock+ w/ different kernels. Any help would be appreciated!! Good guide none the less!
mrgenie1 said:
Solid guide, similar to what i'm already doing but i use Uber as my ROM. Flash kernel is great, although for some reason i universally have a problem on my 6P where my android system usage is as high if not higher than my screen usage? Has anyone else had this issue regardless of their ROM etc? Tried multiples of combos, including stock/dark rom/Stock+ w/ different kernels. Any help would be appreciated!! Good guide none the less!
Click to expand...
Click to collapse
Lot of users had this problem, check out the tread "nougat battery life" here on xda.
Inviato dal mio Pixel XL utilizzando Tapatalk
mrgenie1 said:
Solid guide, similar to what i'm already doing but i use Uber as my ROM. Flash kernel is great, although for some reason i universally have a problem on my 6P where my android system usage is as high if not higher than my screen usage? Has anyone else had this issue regardless of their ROM etc? Tried multiples of combos, including stock/dark rom/Stock+ w/ different kernels. Any help would be appreciated!! Good guide none the less!
Click to expand...
Click to collapse
I had a similar problem and I found out that it was my WiFi signal too low.
I used "Battery Historian" to see that.
iI's a gui that helps you find what is draining your battery giving you a graph and very detailed stats.
You can also see the wakelocks that wake your device and how much you doze in screen off.
It's located in bathist.ef.lc and it needs a bugreport from your device(to get it you need to run "bugreport > /sdcard/bugreport.txt or you can use the dedicated function into "Developer options")
SimoIanni said:
I had a similar problem and I found out that it was my WiFi signal too low.
I used "Battery Historian" to see that.
iI's a gui that helps you find what is draining your battery giving you a graph and very detailed stats.
You can also see the wakelocks that wake your device and how much you doze in screen off.
It's located in bathist.ef.lc and it needs a bugreport from your device(to get it you need to run "bugreport > /sdcard/bugreport.txt or you can use the dedicated function into "Developer options")
Click to expand...
Click to collapse
okay thanks, ill look into it! my WiFi router is right outside my room, but i still get 3 bars so maybe that's the issue.. the wifi chip's dying or something similar.
mrgenie1 said:
Solid guide, similar to what i'm already doing but i use Uber as my ROM. Flash kernel is great, although for some reason i universally have a problem on my 6P where my android system usage is as high if not higher than my screen usage? Has anyone else had this issue regardless of their ROM etc? Tried multiples of combos, including stock/dark rom/Stock+ w/ different kernels. Any help would be appreciated!! Good guide none the less!
Click to expand...
Click to collapse
It could be even ART JIT, since in 7.x apps aren't optimized at installation time, but at runtime. It may take a week to have everything ok.
Anyway thanks, the only difference I made here is the fact that I'm using wakeblock, a mod that I co-developed in the absence of xposed (and amplify)
Saves a ton of battery, so if you are wakelocking, check it out
Do you use adaptive brightness, set it manually, or what do you do?
HTC_Phone said:
Do you use adaptive brightness, set it manually, or what do you do?
Click to expand...
Click to collapse
Adaptive/automatic, the bar is set just a little before the middle
Some updates on the average battery life
CappyT said:
Some updates on the average battery life
Click to expand...
Click to collapse
Would you recommend using ForceDoze in place of Greenify/L Speed/NapTime?
I know ForceDoze works better with 6.0 since with stock Doze, it only works when the device is at a still position for at least 30 mins and ForceDoze has the ability to alleviate that, letting the device set into Doze mode regardless how much the device moves around, but with 7.0/7.1+, its like an improved Doze v2. So...
explorer-10 said:
Would you recommend using ForceDoze in place of Greenify/L Speed/NapTime?
Click to expand...
Click to collapse
I personally use greenify and l speed for some additional tweaks.
Take in mind that you can use whatever you feel it's right, depending on your needs (greenify for example is selective, while the others aren't)
Anyway all of these will provide only a little bit of reduction of screen off drain, so the difference (for me, at least) it's pretty negligible.
The real deal in screen off performance is limiting the wakelocks, this way you can doze a lot more.

✨MysticBlaze347's "Let's Be Friend's Mod"✨ Updated: 02/07/20 [Real Absolute Final]

✨MysticBlaze347's "Let's Be Friend's Mod"✨ Updated: 02/07/20 [Real Absolute Final]
This is a Mod is a Magisk Module that I have been working on for awhile and do to time and other life related endeavors, this will be my last mod. It has been a interesting ride. But I have to put my energy into other things.
The mod I bring to you is based off of LKT™ so it's universal for phones that it's own v1.8 supports so please refer to that thread for more information, but this NOW allows for most - if not all - other kernel tweakers to be compatible upon user customization choices. Allows for other features to be embedded for more battery life with no performance loss on top of your mod choices. Just be careful like usual.
I personally cannot update much further so please don't expect normal updates. I only modded original code, but I only know how to do so much as I am self teaching.
The Module self decryption after install will decribe more in detail on what it does.
If you do not like or want to use anymore, just reflash and it will uninstall.
I hope you enjoy and that this is beneficial to you as it is to me. ?
New Year with a bang
Universal: https://www.androidfilehost.com/?fid=4349826312261628131
Adds a few more tweaks. Can't guarantee GPU/CPU info in prop. Have no idea how to fully fix for universal showing. Feel free to try yourself.
V20 Enhanced: https://www.androidfilehost.com/?fid=4349826312261718754
Change Log for the V20
- Finally fixed GPU info for V20
- added SeLinux State
NEW:
- added some battery improving GPU tweaks {not controls} (still other k.t's compatible)
- added systematic read battery mAh capacity
- added boot timer (about 3 minutes after full boot)
- added low audio flinger tweak for better battery
- added doze enhancement while screen off
- slightly more cleaned up look
- other kernel tweaks may show depending on kernel such as adreno idler, gentle fair sleepers disabling, arch power, and many more.
- all located in LBFM.prop
- New added install method described below
Newest Change
- Removed accidentally re-enabled (NOT enabled anymore) Counteracting CPU/GPU controls. No longer an issue with other K.T's
- Enjoy
Test Results (at least for my cell):
The 7h 24m = 3200 mAh battery
The 10h 44m = 4200 mAh battery
The 1d 3h (27 hours) = 10000 mAh battery
These results are while on a Live wallpaper, lowlighting auto brightness, WiFi, Comfort View, no GPS, no Bluetooth, several Mods running such as - This (LBFM), Device resources monitor, Second screen Status bar, LSpeed for (scheduled boosting, OOM killer, disabled multitasking limiting flag, and forced GPU rendering stuff), AKT (Self-Customized Xana Extreme profile), various build.prop tweaks (Camera, Power, and Rendering related) 3C for notification readings of battery status's, and many others.
These readings are AT MOST SOT (screen-on time). I would have done average, but it's was lil difficult since too many factors can happen. You will just have to do that yourself ?.
INSTALL/UNINSTALL METHOD:
If you flash this over the previous version, it will uninstall that Version. After reboot, then you have to reflash your desired version again for it to correctly install. I know, reboots suck.
OR
You can go to TWRP and double flash this to install in one boot instead of two.
THIS IS AN AT MOST SOT PIC FOR MY CELL - YOURS MAY DIFFER.
Would love to see your results for this mod if you are willing .
Link is broken.
Did you make any specific tweaks for the v20?
aygross1929 said:
Link is broken.
Did you make any specific tweaks for the v20?
Click to expand...
Click to collapse
Should be fixed now and no, except for the now added AKT compatibility
Not able to download, anyone have any luck?
Sent from my LG-H910 using XDA Labs
cnjax said:
Not able to download, anyone have any luck?
Sent from my LG-H910 using XDA Labs
Click to expand...
Click to collapse
Downloads seems to be messing up, I just added a link, here it is... https://www.androidfilehost.com/?fid=1899786940962599261
Mysticblaze347 said:
Should be fixed now and no, except for the now added AKT compatibility
Click to expand...
Click to collapse
So I can run this with AKT?
If so, I'm on one of the battery saving profiles on AKT, will this help save even more battery (perhaps more SOT)?
baldybill said:
So I can run this with AKT?
If so, I'm on one of the battery saving profiles on AKT, will this help save even more battery (perhaps more SOT)?
Click to expand...
Click to collapse
It is now compatible with AKT and throws in some additional battery saving features...so hopefully anyway. That's the goal.
Mysticblaze347 said:
It is now compatible with AKT and throws in some additional battery saving features...so hopefully anyway. That's the goal.
Click to expand...
Click to collapse
Thank you. I only asked since you said it was based on LKT and usually LKT and AKT cannot be run together.
baldybill said:
Thank you. I only asked since you said it was based on LKT and usually LKT and AKT cannot be run together.
Click to expand...
Click to collapse
Usually, but that's why this is called the "Let's Be Friends Mod" . I got tired of everyone fighting so, I decided to make this. Let's one have full control to do as they wish.
Can you explain a but more how your doing it?
aygross1929 said:
Can you explain a but more how your doing it?
Click to expand...
Click to collapse
I pretty much removed most of CPU, GPU, and memory control. Not all, but the counteracting parts.
Quick Info
So after testing some more, just found out that this is also compatible with FDE. I know in the modules description it says no other A.I in K.T's, but this still works. If I update module again I will update that part also.
I'm sorry, I don't fully understand what does this mod do.
Salvaparalyzer said:
I'm sorry, I don't fully understand what does this mod do.
Click to expand...
Click to collapse
It takes some mods from other kernel tweakers and mashes into one KT that stiil allows use for other KT's that you decide to use. It is compatible with most of if not all other mods unlike most other KT's.
Updated
h918: works very well with FDE to increase battery life!
scottyrick said:
h918: works very well with FDE to increase battery life!
Click to expand...
Click to collapse
Didn't know what FDE was about until your comment.
Installed FDE along this mod and my battery life bumped from half a day to a full day without charging. :good: :good: :good:
Salvaparalyzer said:
Didn't know what FDE was about until your comment.
Installed FDA along this mod and my battery life bumped from half a day to a full day without charging. :good: :good: :good:
Click to expand...
Click to collapse
I'm guessing you still ment FDE (Fera Droid Engine) and not FDA lol. Anyway glad that it is working for you and whoever else. Sweetness ?
Final Update. Refer to OP ?️
Can i used V20 in another phone?

Categories

Resources