[Samsung Galaxy S8 Themes, Apps, and Mods] TheMadScientist:
So without further ado, I bring you a manual way to charge past 80% and with the new root s9 this should work for you guys to. Let me know and we can or will adjust accordingly.

First off, The good stuff.

I Nor anyone else is responsible for what you do to your devices.This is all done at your own risk.This "manual" charge is basically one small hack allowing us to charge so far up to 98% I have yet to be able to charge fully to 100%

So for starters,Obviously We need a U.S. Snapdragon rooted S8 There are several guides in either the General sections and or the Development sections, Quite easy to find with Xda's wonderful search bar at the top of each page.

Now that where all on the same page first of let me explain what is going on and what we are going to be doing about this.

We all rooted users know that Samsung implemented a safety feature starting back with the note 7. They limited charging to 80% While using any Boot-loader other than pure stock User Release.

What we are going to be doing is basically once we charge our devices to 80% We are then going to fake the battery gauge out into thinking the device is dead.

The file we have to modify is,First off undone by every Reboot as it lies in /SYS/Class/Power_Supply_Battery Which is a non persistent partition...So any modifications will be undone with this file on Reboot.

More Disclaimers

Will be installing a Xposed module called Critical battery shutdown disabler. You need the version I will list Further down below, and this one exactly!!!!The one in Xposed and other sources are of a different make and are not what is needed...

So with this modded Module,If your battery does ever reach 0% it will not shutdown it will not reboot...So you can truly flat-line your battery if you do not pay attn...... Which is double bad for us Samsung users, As we also face a known bug called Deep discharge. Which in means if your battery flat-lines. There is a chance which it will not power on and will not charge... This sometimes can be remedied by placing device on wireless charger and USB at the same time.

I will post ScreenShots down below, Hopefully in order as well So you can follow a bit better.​

So first off Download this version of Critical Battery Shutdown Disabler here... CriticalBatteryShutdownDisable

Now that that's installed Activate and reboot. Charge your device as normal to 80%. As shown below in the First SS

So once we hit 80% We need to navigate in a Root file explorer to this directory /SYS/CLASS/POWER_SUPPLY_BATTERY_battery_capacity_max. Open as a text file and is will show some value 1000 being the highest. Well with this module installed and This file open You can now change this value which mine is 1000 To 0 And save.... As in second third and fourth screen shots

I have had to click save several times on occasion. This should take up to 10 to 15 seconds and you battery gauge will drop to 0 and low power mode may come on... But if you now notice, Since we are charged to 80% and now it claims 0 The device now begins to charge... As you can see in the 5th screenshot below

So now your device is charging At first impressions it just sits at 0% while charging But I have learned even though this is true Several tests revealed once I get to a actual 94 to 95 % the gauge begins to climb rapidly back up...

So I am assuming there is another safety net in place, As I figured this would possibly lead to over charges if left unattended for long periods......But no matter how many times i try about 95% it always reverts the file and Max capacity back to 1000 Almost making this a Foolproof design.... So far....

You can see in other screen shots i reverted the file back and forth to show it charging and such

I just know Those of us that say are on [MENTION=8360749]partcyborg[/MENTION]s Rom We get awesome battery life with several of us hitting well over 8 or 9 hours of SOT....

Now just imagine what we can achieve with a extra 15% plus more since in the end the device will not reboot at low battery.....

I want to see 11 hours of SOT And I think I can hit it.:good::good::good:

Hey remember the Thanks button goes a long way And Make sure to go out and thank all of our local heros That keep our S8s alive.​

Credits

[MENTION=3844620]firefds[/MENTION] For modifying CbSd for our device to make this all possible.

[MENTION=8360749]partcyborg[/MENTION] For finding a root method and for a wonderful Rom

[MENTION=1949695]jrkruse[/MENTION] For getting us a root method on Bit 5 bootloaders and several nice roms

[MENTION=3812611]elliwigy[/MENTION]For the countless hours he has put in, and suffering of dealing with me

On a side note this should work for any samsung note 7 or higher on a US eng or combo bootloader.

I hit 97% this morning and felt confident enough i fell asleep not watching it. And just as several times before. It trickled of to the point of not charging any more. A t 97%.

Today has been the best day ever for battery. Om at 59% since about 530 am. Youtube most of the day for music while doing yard work. Screen on since 8 am its a little after 2 now. Im aiming for 11 hours SOT?????