[WORKAROUND][SamPWND] Charge to 100% Snapdragon Root

Status
Not open for further replies.

nm1557

Member
Mar 13, 2013
42
29
0
Boston, MA
One thing that I didn't get.

Okay, the phone will think the maximum is 1000 and will try to charge the battery up to 800, which is the real target. Great.

The screenshot, though, shows the indicator on the notification bar close to 100%, in the rooted phone.

So, the routine that checks the phone charge and limits it to 80% is independent from the check embedded on the indicator charge, right? Otherwise the indicator would never reach 100% even on the rooted phone, and even though the battery was actually 100% charged.
What you are seeing is after I did step 3b; this shows how the percentage is reset.
 

boostnek9

Senior Member
Feb 12, 2010
570
272
93
Toronto
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.
 

nm1557

Member
Mar 13, 2013
42
29
0
Boston, MA
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.
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.
 

boostnek9

Senior Member
Feb 12, 2010
570
272
93
Toronto
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.
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.
 

MrBriggs

Member
Aug 21, 2011
28
1
0
Toronto, ON
What you are seeing is after I did step 3b; this shows how the percentage is reset.
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.
 

MINTED7

Senior Member
Jan 11, 2016
131
22
0
great find! i figured it had something to do with that file but wasnt sure how it was calculated as mine says 1000 but others was different lol..

but our idea was if this was in fact the case that you create an init.d script that runs on each boot that will automagically correct it each time you reboot the phone

---------- Post added at 07:35 AM ---------- Previous post was at 07:34 AM ----------

to add, this is also why we releaeed it as is, we figured someone in the community would figure it out!

thanks again!

---------- Post added at 08:26 AM ---------- Previous post was at 07:35 AM ----------

actually, changing that file instantly changes back to its original setting for me
yes mine is 1000 too and it changes back to 1000 when I change it.
 

ironbesterer

Senior Member
Feb 8, 2012
435
82
0
Chicago
That's the thing, The 800 value has nothing to do with percentage. It's variable across devices and its coincidence thats its 800.
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.
 

elliwigy

Forum Moderator / Recognized Developer
Staff member
Mar 16, 2011
12,953
8,823
253
Phoenix
www.sampwnd.com
One thing that I didn't get.

Okay, the phone will think the maximum is 1000 and will try to charge the battery up to 800, which is the real target. Great.

The screenshot, though, shows the indicator on the notification bar close to 100%, in the rooted phone.

So, the routine that checks the phone charge and limits it to 80% is independent from the check embedded on the indicator charge, right? Otherwise the indicator would never reach 100% even on the rooted phone, and even though the battery was actually 100% charged.
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 ----------

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.
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
 

mikeyinid

Senior Member
Sep 4, 2010
8,875
4,000
0
Boise
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.
 
Last edited:

HanMan5000

Senior Member
Nov 6, 2010
147
41
0
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.
 

mikeyinid

Senior Member
Sep 4, 2010
8,875
4,000
0
Boise
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.
I've never understood why people feel the need to post these things :confused:
 
Status
Not open for further replies.