yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 Guides, News, & Discussion] JarkMackson:
So basically this doesn't actually work? I've been reading through the pages and it doesn't look like this really does anything.
[Samsung Galaxy S8 Guides, News, & Discussion] Mundo Hackz:
so mine is 990 batter capacity what should i set it too??
[Samsung Galaxy S8 Guides, News, & Discussion] JOGG1:
Rooted Note 8

I am not sure if it matters because this thread is for the S8, but I have the note 8 and every time I try to complete these instructions, my phone crashes! It goes to a screen saying "[upload mode] subsystem crashed" I am using ubuntu gnome, any ideas?
[Samsung Galaxy S8 Guides, News, & Discussion] seandop:
You are correct, it does absolutely nothing. This entire thread really should be deleted.
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
lol if u read the posts ud see this doesnt work.. not even on S8 or S8+
[Samsung Galaxy S8 Guides, News, & Discussion] TheMadScientist:
So after long time watching I am deciding to close this as it does not work apparently,If anyone has objections please feel free to PM me and tell me otherwise.....I cant delete it as peoples Thanks will also be deleted but we will close it.:good::good::good:
[Samsung Galaxy S8 Guides, News, & Discussion] peachpuff:
That I know, it's the * 1.2 that is incorrect, someone else already pointed that out too.
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
What you are seeing is after I did step 3b; this shows how the percentage is reset.
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
I don't want to turn my galaxy s8 into a note 7...
[Samsung Galaxy S8 Guides, News, & Discussion] boostnek9:
This is just to change the number in your status bar.

You can change to whatever value you want but if you plug your phone in, it's still discharging.

Again, this does not work.
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
Wrong, this tricks the kernel into thinking you battery capacity is larger than it is. If you do steps 1, 2, and 3a it will still only show 80%. But the battery will charge to 100% of its capacity.
[Samsung Galaxy S8 Guides, News, & Discussion] boostnek9:
You're wrong.. Actually.

Set it to whatever you want.. I made mine 95% and plugging it in, it's discharging.

this doesn't trick the kernel, this tricks the user.

EDIT: sorry that sounded condescending, wasn't my intention. My bad dude.
[Samsung Galaxy S8 Guides, News, & Discussion] MrBriggs:
But step 3b is to undo what you just did, right? Indicator will show 100% but if you use your phone and it gets down to, say, 400 (whatever are those units) and tries to charge it again, it won't go up to 800.

Then it would make sense.
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
mine wont even change visually and immediately switches back to 1000 so not sure how you even get it to stick lol
[Samsung Galaxy S8 Guides, News, & Discussion] MINTED7:
yes mine is 1000 too and it changes back to 1000 when I change it.
[Samsung Galaxy S8 Guides, News, & Discussion] ironbesterer:
For example, mine was 990, so 990 * 1.2=1188.

---------- Post added at 03:07 PM ---------- Previous post was at 03:02 PM ----------

Regardless of that, this does not work. Mine still shows 80% and completely stops at that point.
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
the screenshot also doesnt show the phone charging as well as he is on eng system.img as i can see security log agent and service mode in his notifications

---------- Post added at 09:44 PM ---------- Previous post was at 09:42 PM ----------

you cannot change that file as it instantly reverts back to original number

also, you are changing a symlink file, the real path is in the soc:battery section..

the real file however also reverts back instantly for me
[Samsung Galaxy S8 Guides, News, & Discussion] mikeyinid:
I'm 99% sure the file you guys are trying to edit is

in

the ramdisk. Change it all you want, it won't stick.

*edit*

When we rooted the S6 with the boot.img we had trouble running scripts so we had to just edit existing /system files to run with a wait time. That may work here. Just need to figure out which file to use then add the code just like you would an init.d script.

*edit 2*

I haven't rooted yet, I'm OCD and 80% charge would make me crazy, I'm just throwing some things out there.
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
So this workaround isn't a working workaround correct?
[Samsung Galaxy S8 Guides, News, & Discussion] HanMan5000:
lmao **** Samsung for this bull****. One of the reasons I switched to the S8 was for fexibility and rooting (jailbreaking was becoming more and more impossible) and now it seems like it's the same **** but even worse with the S8. I'll be switching back to iPhone if the next one has an edge to edge display.
[Samsung Galaxy S8 Guides, News, & Discussion] mikeyinid:
I've never understood why people feel the need to post these things :confused:
[Samsung Galaxy S8 Guides, News, & Discussion] Saythis:
Cool :) and I've setup an su.d script to run at bootup.
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
sucks you still have knox installed lmao
[Samsung Galaxy S8 Guides, News, & Discussion] hack.causality:
We've had several people say this method works and several people say it doesn't. What's the consensus? Has anyone runs battery benchmarks before and after to confirm it is working?
[Samsung Galaxy S8 Guides, News, & Discussion] Saythis:
Correction: You are right. I missed one lmao.
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
loooks like the whole shebang to me lol
[Samsung Galaxy S8 Guides, News, & Discussion] Saythis:
Oh sh*t you're right lmao. I guess I removed it on a previous flash. Okay, removed lol. My bad. Also, I really appreciate all of your efforts for achieving root.
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
Wait what?

We should remove the Knox packages after installing a new build?
[Samsung Galaxy S8 Guides, News, & Discussion] boostnek9:
Don't waste your time, this doesn't work
[Samsung Galaxy S8 Guides, News, & Discussion] boostnek9:
Am I completely retarded? I haven't been able to find any KNOX in titanium. Yes I can see system apps.
[Samsung Galaxy S8 Guides, News, & Discussion] eelsid:
I don't know if you're retarded or not, but I only have two entries regarding Knox in TiB, referring to secure folder, which I froze. I selected to disable Knox when first running SuperSU, and I also still have the Knox versions listed in the About screen.
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
I don't remember a disable Knox SuperSU option, and I don't see one now...
[Samsung Galaxy S8 Guides, News, & Discussion] Saythis:
I'm beginning to believe the 80% is really 100%. I got about the same SoT as before root with 80%. Though it does show 100% with this.
[Samsung Galaxy S8 Guides, News, & Discussion] g4nj4b4by:
+1
[Samsung Galaxy S8 Guides, News, & Discussion] eelsid:
I don't know how to see it again either at this point. The first time you ran SuperSU you should have seen a popup about Samsung Knox detected, this may cause issues with root, do you want to disable.
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
lol this thread still open? has anyone actually replicated ops instructions??

it nvr worked for me and instantly reverted back
[Samsung Galaxy S8 Guides, News, & Discussion] suzook:
I'm surprised myself. It's a waste of time.
[Samsung Galaxy S8 Guides, News, & Discussion] daddymikey1975:
What if Samsung only charges the battery to 80% so it doesn't turn into a note 7...what if they have us duped into believing its 100% via a workaround on stock firmware and on the ENG firmware it reports correctly?

Thoughts?
[Samsung Galaxy S8 Guides, News, & Discussion] geoff5093:
I'd definitely see it as possible, for the size battery of the S8 it sure doesn't last long for me.
[Samsung Galaxy S8 Guides, News, & Discussion] daddymikey1975:
I get close to 5 hrs SOT before rooting. Today is my first day of use tater rooting. I'll know more by this evening.

I'm already unplugged 10hrs 41 minutes with 4hr 56m SOT which is fine for me. I still have 50% life left as well.
[Samsung Galaxy S8 Guides, News, & Discussion] Kjc99:
How are you checking your screen on time per charge... The battery stats don't reset?... Do the stats reset if we use this method...? I know it doesn't give us 100% but does it think it's 100%?
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
the status certainly reset with this. Unless you keep your phone plugged in which seemed to keep them.
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
not to say you are wrong but no matter what i do i only get it to change for half a second on stock as well as rooted eng
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
I realize everyone is having difficulty with this, I will make a tut video tonight so people can actually get it working.
[Samsung Galaxy S8 Guides, News, & Discussion] HighOnLinux:
I'm interested into this. Even though i do have a portable charging case to help me, i'm down to do this trick but am unweary to do this still. I'm gonna wait for a video to get posted up then i'll do it.
[Samsung Galaxy S8 Guides, News, & Discussion] HighOnLinux:
Forgot to put my battery life for the past 8 hours up here. Should i still do the 100% trick?
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
if u can eben get it to work.. i think op is the only one saying he was successful so far.. hes posting video soon then ill try it again if it works
[Samsung Galaxy S8 Guides, News, & Discussion] d33dvb:
this is the argument carriers use against root, mofos gonna splode the battery burn down the house and sue
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
I haven't gotten home yet, I'll record when my battery is at 80%
[Samsung Galaxy S8 Guides, News, & Discussion] daddymikey1975:
Can we use BSE to run the script at boot?

Link to BSE here:

https://xdaforums.com/showthread.php?t=2664645

And, how would we flash this, could we flash it or install it via flash fire?
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
no offense but you just restated your initial theory which sounds potentially correct but at the same time no one can change the file and have it stick except for you lol

i think theres plenty of us on here that can do simple math but even then a theory is just a theory if it cannot be proven or replicated or even a proof of concept (video proof its possible) being provided.. until then ppl will continue to doubt you

---------- Post added at 03:25 PM ---------- Previous post was at 03:24 PM ----------

was directed to op, not u 1st second lol
[Samsung Galaxy S8 Guides, News, & Discussion] daddymikey1975:
I used Tasker to make an app out of the script in the op so I can run it after boot.

Right now, I am charging my phone (because I've been using it quite a bit) but I pulled my current capacity and took a screen shot (I have mine set to 960)

I hope this helps.

---------- Post added at 12:08 PM ---------- Previous post was at 12:01 PM ----------

After a reboot (I did NOT run my app that I exported from Tasker)

Persists at 960
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
Check the Original post for video links now.

I was thinking; maybe it doesn't work depending on whether you have the "Update Bootloader" greyed out in ODIN when you perform the root method. Is this possible?
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
dunno.. doubt it cuz ive flashed well over 100 times and i dont always check any boxes
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
Did you get this to work now?
[Samsung Galaxy S8 Guides, News, & Discussion] sabresfan:
I bought a charging case off Amazon for about $20 to help fix the 80% charge. I'm at 48% 7 hours later with moderate usage. Not my best spent $20
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
Seeing as how that is controlled by a character in a text file on your PC I highly doubt it ;). Nice idea though!
[Samsung Galaxy S8 Guides, News, & Discussion] highaltitude:
hmm mine already said 980 when I checked it with the first step. It doesn't let you go over 1000
[Samsung Galaxy S8 Guides, News, & Discussion] the1stSecond:
Yeah, full_cap remains 81 regardless of this method, for me.

FULL_COUNT":"81","CAP_MAX":"11406","CAP_MIN":"3304","CAP_ONCE":"11406","LEAKAGE_A":"14","LEAKAGE_B":"0","LEAKAGE_C":"0","LEAKAGE_D":"0","CAP_PER_TIME":"0","ERRCAP_LOW":"7","ERRCAP_HIGH":"127","OVER_VOLTAGE":"0","LEAKAGE_E":"0","LEAKAGE_F":"0","LEAKAGE_G":"0","RECHARGING_TIME":"2147483647","VALERT_COUNT":"0","BATT_CYCLE":"60","WIRE_COUNT":"308","WIRELESS_COUNT":"14","HIGH_SWELLING_COUNT":"0","LOW_SWELLING_COUNT":"0","SWELLING_CHARGING":"0","SAFETY_TIMER_3":"0","SAFETY_TIMER_5":"0","SAFETY_TIMER_10":"0","AICL_COUNT":"25","BATT_THM_MAX":"434","BATT_THM_MIN":"153","CHG_THM_MAX":"573","CHG_THM_MIN":"151","WPC_THM_MAX":"434","WPC_THM_MIN":"153","UNSAFE_VOLTAGE":"84","UNSAFE_TEMPERATURE":"0","SAFETY_TIMER":"0","VSYS_OVP":"0","VBAT_OVP":"0","WATER_DETECT":"0","AFC_FAIL":"0","ALG_INDEX":"6"
[Samsung Galaxy S8 Guides, News, & Discussion] ililaoban:
Can it work G955U?
[Samsung Galaxy S8 Guides, News, & Discussion] highaltitude:
Any other ideas? this doesn't seem to work. I need my battery fixed! :)
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
The whole point of the method isn't to raise the cap but instead trick the cap into thinking the cap isn't reached until a higher battery capacity. Think if it this way; it's like convincing a European driver to drive faster by switching their units from km/h to mph
[Samsung Galaxy S8 Guides, News, & Discussion] Rally517:
So it works or no? Haven't rooted in a while
[Samsung Galaxy S8 Guides, News, & Discussion] highaltitude:
ok, so I guess what I'm really wanting to know is;

Is 80% just the number the phone shows but is considered what 100% charged and was before rooting etc.?

So is this method to just fix the number to read correctly of 100%, or is this in fact raising the amount the battery can get charged?

In the first step OP shows their phone was at "800" so they changed it to "960" Before I messed with any of this process my original # was "980" but reading 80%.

This process doesn't allow for more than a number of "1000" so it doesn't really change anything on mine. If going by the calculations of OP, mine should be "1176" in order to get 100%. Am I wrong or missing something?
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
If you do 3a it will fix the battery (until reboot). 3b will show you the correct percentage.
[Samsung Galaxy S8 Guides, News, & Discussion] daddymikey1975:
[MENTION=5171078]nm1557[/MENTION]

Maybe this is something, maybe it's nothing but I got a notification from ES file explorer that my battery level was at 0% and at the same time android notified me that it was at 15% - with 15% showing on the status bar.

I failed to get a screen shot of the notifications but I'll try to do that tomorrow.

Just FYI
[Samsung Galaxy S8 Guides, News, & Discussion] highaltitude:
That still doesn't really answer my questions I asked above.

Is it reading 80% after rooting a glitch?

Does any of this ever fix it to say 100%?

Is 80% in reality what the phone used to report as 100%?

Is the mod/fix purely to just add more charge capacity to the battery than actually setup by the factory?
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
It lets your phone charge to full battery capacity if you have then engineering bootleader flashed.
[Samsung Galaxy S8 Guides, News, & Discussion] highaltitude:
OK thanks. One last thing, does that mean it still says 80% even though it charges 100%?
[Samsung Galaxy S8 Guides, News, & Discussion] nm1557:
Yep, still says 80. You can change it back by reverting the changes you make in the first place. (3b)
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
the sampwnd files do not contain engineering bootloader.. i didnt release the eng bootloader bcuz it wont work with permissive boot.img

the bl on the sampwnd is from combo firm.. u can tell bcuz it says "user".. the eng one will say "eng"
[Samsung Galaxy S8 Guides, News, & Discussion] swoley:
OP, it didn't work for me. Also want to pledge a $20 bounty to whoever can bring the 80% back to 100%
[Samsung Galaxy S8 Guides, News, & Discussion] LookAlive:
For now, if you're a morning shower kinda person, put your phone into upload mode (power off, hold power+vol up+vol down until screen comes on, let off power) and plug it back on till after your shower. That's what I'm doing. Gets me to 100 every morning. PITA but works.
[Samsung Galaxy S8 Guides, News, & Discussion] latech4832:
Can you please let me know the name of the case??
[Samsung Galaxy S8 Guides, News, & Discussion] sabresfan:
I bought this one. Works great for me.
[Samsung Galaxy S8 Guides, News, & Discussion] r2DoesInc:
Really tired now, but thanks for the info. Just rooted my phone and noticed this issue.

Will have an app to do this automatically built tomorrow, just too sleepy to go for it now. Opensource is always good stuffs.
[Samsung Galaxy S8 Guides, News, & Discussion] MrSteelX:
Would putting this in /system/etc/init.d

su

echo 960 > /sys/class/power_supply/battery/batt_capacity_max

Work every time after a reboot
[Samsung Galaxy S8 Guides, News, & Discussion] rootmirror:
anyone test the above?
[Samsung Galaxy S8 Guides, News, & Discussion] swoley:
Tested it, did not work for me
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
You should not need surgery. Init runs as root
[Samsung Galaxy S8 Guides, News, & Discussion] tenthousandfeet:
I put this in a Tasker shell command triggered by a boot profile. Seems to work well.
[Samsung Galaxy S8 Guides, News, & Discussion] sabresfan:
Is your phone charging beyond 80% now?
[Samsung Galaxy S8 Guides, News, & Discussion] tenthousandfeet:
I can't say. I only just got the phone so I don't have a battery performance benchmark to compare. All I can say is that scripting with Tasker retains my set value for batt_capacity_max after reboot, and that it still only charges to an indicated 80%.
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
EDIT: Just realized i alfeady made this point lol.. im on a hiatus, just popped in for a quick sec

thats impossible since the engineering bootloader was never released.. it doesnt work with sampwnd files.. the bl in sampwnd is from the combo firm lol.. thats why it says "user" on the splash screen instead of "eng"

download mode would also look similar to the attached screenshot if on ENG bl:
[Samsung Galaxy S8 Guides, News, & Discussion] DEFNUB:
Mine read 990 so do I need to do anything? There is a hurricane coming my way and I need all the battery I can get
[Samsung Galaxy S8 Guides, News, & Discussion] mdiaz33685:
Haha, I'm in Tampa Fl, it's supposed to be a direct hit for us now, it slowed so much by Cuba, that now we have to be til Monday night or so on watch for disaster.

And having 80% battery in case of an emergency kinda sucks. I'm trying not to use it to much I case we lose power. :D
[Samsung Galaxy S8 Guides, News, & Discussion] DEFNUB:
Lol that's crazy I'm In Brandon fl it's like 15 miles out from the city. If I do the 990 x 1.2 I get something like 1134 unless I'm doing something wrong
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
it probably wont eve n work, i couldnt get it to work lol good luck

---------- Post added at 12:59 AM ---------- Previous post was at 12:58 AM ----------

u dont have backup battery supply? or portable chargers etc?
[Samsung Galaxy S8 Guides, News, & Discussion] mdiaz33685:
I have 2 battery backup, at home with my computer and my tv so I don't have any interruptions, phone lasts me more than 1 day, all i tool was my 4tb hd with all my data and most important is kids and family pics.

Weirdest thing 10 min, my phone froze, had to shut down with power and vol down..

I had it charging during the day. I'm good til tomorrow,

I'm on 71 %
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
Maybe it's just me, but I kind of feel like I'd pick a long working battery to have a lifeline to family or for help if my life was at stake over root for a few more days....
[Samsung Galaxy S8 Guides, News, & Discussion] highaltitude:
Mine was like that (980). The max you can get is 1000, so not much of any increase.
[Samsung Galaxy S8 Guides, News, & Discussion] MrSteelX:
Since we do have root now. Could we flash our bl for our rom to try and get 100 back without having to mod files
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
no

if it were that easy it would have nvr been an issue

---------- Post added at 05:51 PM ---------- Previous post was at 05:50 PM ----------

everyone has their own opinion.. for me its a no brainer to have root over battery no matter the circumstance
[Samsung Galaxy S8 Guides, News, & Discussion] bill10:
How is it a no brainer just curious no judgement. It just seems to me that there are so many non root alternatives but no battery alternative???
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
you can do so much more with root and 80% battery on a rooted device can last longer than a non rooted device with 100% battery if u know what youre doing.. no brainer for me, im basically saying myself, would pick root over anything bcuz it allows for more..

ppl saying they can remove bloat on unrooted devices is a flat out lie.. disabling IS NOT the same as removing bloat and yes, there is a difference even with battery and overall snappiness.. this is just one common misinterpretation
[Samsung Galaxy S8 Guides, News, & Discussion] bill10:
Well I hate to say it but I had my phone rooted and debloated with titanium and now have the same apps frozen on my non rooted phone and get 2 more hours screen on time. So that is incorrect
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
lmaooo it is correct.. u have to remember every phone and every person and every modification reacts differently.. so saying my opinion and my own personal experience is incorrect is just stupid

thats why battery life threads are useless and just cause ppl to argue..

again, IN MY CASE AND MY OWN OPINION, I get better battery life rooted at 80% then i did unrooted at 100%.. so what you have experienced is 100% irrelevant to me, simple as that.. there has already been many others say the same or say they dont notice the 20% difference and hell, theres even those that never charge their phone past 80% anyways bcuz they think its better for the battery to go full charge..

and u missed my previous comments where i say debloating/removing IS NOT THE SAME as disabling apps.. this is a known fact
[Samsung Galaxy S8 Guides, News, & Discussion] the1stSecond:
With root and 80%

Never have had more on screen time.

6hours+ SOT and had another 40% battery life remaining fwiw.
[Samsung Galaxy S8 Guides, News, & Discussion] bill10:
Sorry for my wording. Battery life is erelevent anyway as this phones battery is a Beast.

---------- Post added at 01:18 AM ---------- Previous post was at 01:16 AM ----------

I get 10 hrs with my non rooted phone religiously. Never once could I get that on rooted with the exact same setup. Good on ya
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
Damn I need to work on mine it's been sucking.

You went back to the US (non U1) rom right? I've been thinking of porting an install over to one and a/b comparing. I'm starting to have my suspicions as to the interaction of U1 w/ the now ancient eng kernel
[Samsung Galaxy S8 Guides, News, & Discussion] Rally517:
What's your settings
[Samsung Galaxy S8 Guides, News, & Discussion] elliwigy:
theres updated permissive boot.img lol just pull from newest combo firm...

i am actually on original eng firmware
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
What really? Hahaha wow I didn't know the combo firm had permissive.

I only looked at it once when the first time I rooted I ****ed up and installed that in phase 2 hahahahaha.

I was SO confused for a minute.