yashsingh1/xdaforums huggingface dataset:
[Moto G Original Android Development] sangysp:
How to roll back changes? My phone is lagging after flashing this zip in my moto g1(falcon) in marshmallow.
[Moto G Original Android Development] munturule:
usefull for night charging. how about 95, i set my phone on that value and stop charging at 94.

anyway it become nice with terminal apps. sorry for just can say thanks
[Moto G Original Android Development] elrod16:
Yeah it stops at 95 but at the very instant it reaches it, so the draw from the phone quickly lowers it down to 94. 95 will still prolong your battery life by preventing the saturation charge. If nothing surprising happens, a GUI should be available by the end of the week.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.
[Moto G Original Android Development] the_poolee:
Bring it on bud... Long time coming...

Here at xda, people hit the Thanks button ? for showing their gratitude. What a strange place! ?
[Moto G Original Android Development] Guru.Eclairs:
latest version of mod was working perfectly for last couple of weeks. Then i tried the combination of amplify+powernap+greenify which significantly improved my battery life by blocking wakelocks. But now Maxlife is not working anymore. Phone doesn't stop charging and reaches at 100%. it remains completely in deep sleep while screen is off. I have whitelisted some apps in powernap but could not find Maxlife GUI. So what should i whitelist in amplify/powernap in order to enjoy the services of this awesome tool again?
[Moto G Original Android Development] elrod16:
Unfortunately those apps don't list processes running as native daemons, so the only way right now is just to temporarily disable them while charging until a fix can be found out

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.
[Moto G Original Android Development] dhruvpaul:
Can I use it on cyanogenmod 12.1 unofficial by fonz? It's 5.1.1 and I wanted to know if this has to be just flashed via recovery nd what are the pros and cons!
[Moto G Original Android Development] the_poolee:
Go ahead. This mod should work with most of the Qualcomm chips out there, as our beloved [MENTION=6190802]elrod16[/MENTION] himself has mentioned, and doesn't have any problem with any ROM for our MotoG, at least as far as I know. As for pros and cons, unless you do something really stupid with the command line values, nothings going haywire. [emoji2]

Here at xda, people hit the Thanks button ? for showing their gratitude. What a strange place! ?
[Moto G Original Android Development] munturule:
just do it, tested by me or do backup if you scared :good:
[Moto G Original Android Development] ronyscomparim:
I could never make it work Maxlife Moto x play RR 5.6.8 kernel squid

Sent fron my Moto X Play - XDA -
[Moto G Original Android Development] elrod16:
Have you tried the_poolee's guide? Or does it work when manuallt launched from terminal?

It is confirmed to work on Motorola, OnePlus, Huawei, and Samsung devices.

Every Qualcomm based system I've seen uses the same blob and interface for the charging driver, and MaxLife is designed to find and work with slightly modified versions if the driver.

Also a test version of the GUI will be going up tomorrow afternoon Eastern Standard Time.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.
[Moto G Original Android Development] elrod16:
Ok here is the test release if the GUI. You need to install the apk with MaxLife, it doesn't contain the actual binary in the OP, just a front end for it. This is definitely not production quality yet. The menu doesn't show your current settings when you open it yet, just default values (will be fixed next update). Simply use the number picker for percent and just click the name of the mode and it will be added.

https://drive.google.com/file/d/0B_hgNZE_j5sVV29QT2NzZlREZVk/view?usp=drivesdk

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.
[Moto G Original Android Development] ronyscomparim:
do not know how to make it work manually or activate it through the terminal, w does not know how to check if it is active! can you help me?

Sent fron my Moto X Play - XDA -

---------- Post added at 08:44 PM ---------- Previous post was at 08:00 PM ----------

I will try this!

Sent fron my Moto X Play - XDA -
[Moto G Original Android Development] elrod16:
Run "maxlife set 75 turbo" or whatever you choose first, then just run maxlife in the terminal.

The MaxLife UI is just for managing the settings of the already installed and running package.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.
[Moto G Original Android Development] ronyscomparim:
You do not need to change any Permissions?

Sent fron my Moto X Play - XDA -
[Moto G Original Android Development] ronyscomparim:
which the command line I use to run MaxLife terminal?

Sent fron my Moto X Play - XDA -
[Moto G Original Android Development] elrod16:
New test version of the UI, displays your current settings, makes a default settings file on new maxlife installs that haven't been configured yet. Leave feedback.

Edit: Newer UI, close to release quality. Check it out.

https://drive.google.com/file/d/0B_hgNZE_j5sVUXltSHlSZDRtTHM/view?usp=drivesdk

Let me know if you guys think this is ready to be merged into the main package.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.
[Moto G Original Android Development] ronyscomparim:
I could not make it work! Thank you for your help

Sent fron my Moto X Play - XDA -
[Moto G Original Android Development] elrod16:
[MENTION=3335876]ronyscomparim[/MENTION] I will try to help you over the weekend when i have more time. Until i am able to help, checkin with some of the experienced users of this project, some of them have found solid work arounds and helped with lots of debugging on this.

To everyone else: the test versions of the UI I uploaded didnt set the charge mode correctly. The release version of the UI, which is now included in flashable zip for the mod in the OP has that bug fixed and hasnt given me any issues. Again, v1.0.8a includes the fixed UI.

Edit: I can't be 100% sure, but I'd recommend uninstalling the test UI before flashing the new version.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] ronyscomparim:
I give up, for me does not work! Thank you for your help[emoji30] [emoji30] [emoji30]

Sent fron my Moto X Play - XDA -
[Moto G Original Android Development] cichy1173:
Can i use 100% slowly? or 100% turbo? It is safe?
[Moto G Original Android Development] elrod16:
Yeah, just you wont get the full benefits of extending your battery lifespan. It will still help sonewhat however. And when using slow, it is best used with no apps running and screen off, because too much of a power load will actually prevent charging on slow since it throttles the charger current so much. Hope that helps.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] the_poolee:
Hi pal [MENTION=6190802]elrod16[/MENTION]. Just tried out the v1.0.8a broken init.d version on my CM13 (no init.d, I assume??). But soon after flashing, phone become laggy as hell, couldn't even grab a log. Just about managed to uninstall the UI app and then deleted the maxlife files from /system/bin and priv-app from TWRP file manager. No 91bms for this version I think (uninstall guide in OP failed to mention this) since I couldn't find any. Going to check out the normal one today.

Here at xda, people hit the Thanks button ? for showing their gratitude. What a strange place! ?
[Moto G Original Android Development] elrod16:
The broken init version never made it past experimental. I do believe i know where the problem is though. There is a conditional loop in part of it, and if that condition goes wrong, it has the capacity to behave like a fork bomb. I'll investigate that.

Edit: I also will be adding an uninstall button the next update I make to the GUI portion of the project.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] elrod16:
[MENTION=6626737]the_poolee[/MENTION] Did the standard version still work for you?

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] the_poolee:
Sorry. Been busy with work. Just tried out the app and everything seems to be working fine. Just gotta try it out for a few more days and will report any new bugs
[Moto G Original Android Development] elrod16:
Also, in the mean time while debugging the "broken init" experimental version, i am taking suggestions for new features or changes to existing features in the mainline version.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] lucastracq:
what version should i use on cm13?
[Moto G Original Android Development] the_poolee:
v1.0.8a will do fine.

Here at xda, people hit the Thanks button ? for showing their gratitude. What a strange place! ?
[Moto G Original Android Development] lucastracq:
sorry i meant which one between init.d or no init.d

also, i use kernel adiutor and there is an option to emulate init.d that runs the scripts after boot, can it work?
[Moto G Original Android Development] elrod16:
The broken init version has been taken down temporarily, too many people had issues with it. And yes, that should work, you just need some form of init.d. If that *doesnt* work for you, try Universal Init.d and SManager, I know people have had good results with SManager when normal init.d function doesnt work.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] dhruvpaul:
After using this 1.08a or previous one also, my phone doesn't charge beyond 80%+ pls help!!
[Moto G Original Android Development] dingermtb:
Open Terminal Emulator. type the following:

su

maxlife set (pick a percentage) (pick a speed, as stated in OP)

example:

su

maxlife set 95 normal

I believe 80 is the default

Sent from Outside the 9 using my Zombiefied Exodus OnyX
[Moto G Original Android Development] lucastracq:
alright it's working, but i had to open kernel adiutor and manually execute the script, i will test more.

also if i set the two values from GUI or from terminal, the file 91bms doesn't change, is this normal?
[Moto G Original Android Development] elrod16:
When using either the built in terminal settings editor or the GUI settings are stored in a different way, to prevent having to frequently remount the system partition. And yeah, for some reason a lot of the newer kernel/ROM combos seem to have an init.d problem, but a substitute like kernel aduitor or SManager will suffice.

[MENTION=5910917]dhruvpaul[/MENTION] Also make sure you have busybox, if you have busybox, just use the GUI to set your percentage. The mod is designed to prevent a full charge and only charge to what you set, thereby extending the operational lifetime of the internal battery. Full charges produce excess wear. Before knowing that, i already ruined one battery and had to replace it, and I created this mod to prevent that from happening again.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] elrod16:
Update to the main MaxLife engine. Now every 10 boots MaxLife forcea the battery guage to synchronize with the battery's internal reading to prevent drift in readings from not allowing full charge cycles. So depending on your charging and usage patterns, your battery reading may jump considerably after syncing up. MaxLife doesnt do the calibration calculations itself, it activates the in kernel/in driver feature provided by Qualcomm or whoever actually coded the battery/power management system and drivers MaxLife exploits. From my testing it isnt perfect, but does improve the accuracy considerably, especially after a few cycles of the 10 reboot calibrations.

Also, it doesn't calibrate your system using the disproven "delete batterystats.bin" method, it uses a new one.

Edit: The next revision of the GUI will include an indicator that the next boot will be a battery synchronizing boot and another indicator saying that the current boot the synchronization event has been done.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] ronyscomparim:
I will try one more time

Rony Scomparim for Moto X Play - XDA-Premiun
[Moto G Original Android Development] elrod16:
The issue with roms/kernels with init.d troubles isnt resolved yet. You will need to set up SManager to run it on boot or try Universal Init.d app.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] ronyscomparim:
and how I do it?

Rony Scomparim for Moto X Play - XDA-Premiun
[Moto G Original Android Development] BryanByteZ:
There is kernel adiutor too
[Moto G Original Android Development] ronyscomparim:
this function is active from the first day I installed and still does not work

Rony Scomparim for Moto X Play - XDA-Premiun
[Moto G Original Android Development] elrod16:
Do you have busybox installed? Cuz for some reason you're the lone hold out still having trouble.

And have you tried other options like Universal Init.d or SManager?

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] ronyscomparim:
Rony Scomparim for Moto X Play - XDA-Premiun
[Moto G Original Android Development] elrod16:
That would be the source of your problem. People without init.d have the best luck with SManager. Init.d or a substitute is listed as a requirement of the mod. Earlier in the thread someone explained how they got around this with SManager though.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] harpin14789:
I just installed maxlife on my Nexus 6 MM rom but the maxlife GUI doesn't launch when I open. I just asked for root access when I clicked on maxlife icon in app drawer. Is that supposed to happen?
[Moto G Original Android Development] dingermtb:
After I install, I open terminal and type:

su

maxlife set (percentage you want) (speed you want)

ex: mine is like this:

su

maxlife set 95 normal

Then when I open the maxlife app, it tells me what it's set at. Actually not sure if you can set it with the app right now, but I always do mine manually in terminal emulator and it works perfect for me.

Sent from Outside the 9 using my Zombiefied Exodus OnyX
[Moto G Original Android Development] ronyscomparim:
Yes....[emoji1] [emoji1] [emoji1] [emoji1] [emoji1]

Rony Scomparim for Moto X Play - XDA-Premiun
[Moto G Original Android Development] elrod16:
You need to grant root access then try opening again. And the current UI version does allow setting the options FROM the UI.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] Ænimal:
Same here on my z1c running MM DU..
[Moto G Original Android Development] elrod16:
There is a possible 5 sec lag when opening. If it still doesn't work, you can use the terminal app settings mode described in the OP to get around that.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] cichy1173:
What's the command for fast and medium?
[Moto G Original Android Development] harpin14789:
There is only slow, normal and fast. please check OP, the commands are there.
[Moto G Original Android Development] cichy1173:
Command for slow is working but for fast isn't

S7 Edge and Taptalk
[Moto G Original Android Development] elrod16:
It can only go as fast as your charger can supply current. If your charger doesnt have the current for fast, it'll only supply as much as it physically can.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] the_poolee:
Hi [MENTION=6190802]elrod16[/MENTION], just tried out the latest build on my new set up with Dirty Unicorns 10.3 (MM 6.0.1_r46). Hate to say it but the app fails to launch (I understand that there is some delay but nothing works even then) and then everything goes into super slow stutter mode - the same scenario I encountered in your no_initd version. Went straight to recovery mode and deleted the maxlife files from the file manager there. So, again, no logs, sorry.

Here at xda, people hit the Thanks button ? for showing their gratitude. What a strange place! ?
[Moto G Original Android Development] elrod16:
I believe i found the problem. Completely uninstall the GUI like a normal app, then reflash.

Future versions of the installer will fix this.

The issue is because of a bug in Tasker, which the UI is an applet of.

Edit: actually, future releases may have the main mod separate from the GUI, so the GUI could be downloaded and installed/updated how apps normally are, bypassing the issue.

Edit 2: The package in its split form is available to download. For some reason Tasker apps don't seem to like being flashed over each other, the reason for the GUI bug. The GUI apk included hasn't been altered since 5/17/2016 so that is the only cause I have found. The new package with the main mod also has a small update to the main engine, should increase reliability at stopping on target (i had a couple misses since the last update)

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] the_poolee:
So I assume the stuttering also was due to the same issue then. Let me try...

Here at xda, people hit the Thanks button ? for showing their gratitude. What a strange place! ?
[Moto G Original Android Development] elrod16:
Later this evening I'll be uploading a new test version of the GUI. It should be a little snappier and with more testing, should hopefully be flash safe and be able to be included in the main package again.

Edit: Here is the new test GUI. The actual interface hasn't changed, just how things work under the hood. The Tasker Project Code has small tweaks and then some additional changes were done on the apk Tasker produced. Let me know if it works when installed like a normal app, and then, if it passes that trial, I'll upload it in flashable zip form phase II trials.

LINK!!

https://drive.google.com/file/d/0B_hgNZE_j5sVeXRLbFVFOGprN2M/view?usp=drivesdk

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] elrod16:
[MENTION=2921997]dingermtb[/MENTION] [MENTION=5478526]Ænimal[/MENTION]

How is the trial with the test version of the GUI going? Loading up and responding well? Lemme know and we'll step this up to phase 2, flashable package trials.

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)
[Moto G Original Android Development] dingermtb:
So far, I'm having zero issues. Working exactly how it should. Looks pretty damn cool as well. I prefer the colored background vs. transparent. I know, functionality is the main thing, and for me, functions perfectly. If this helps, i'm on a OnePlus X running Exodus 6.0.1 with blu_spark kernel.

Sent from Outside the 9 using my Zombiefied Exodus OnyX
[Moto G Original Android Development] Ænimal:
:good: App is responding now and the script is executed fine, thanks
[Moto G Original Android Development] nereis:
I think it might be a good idea to label the current version in the app gui, otherwise it's kind of hard to keep track.
[Moto G Original Android Development] elrod16:
Good suggestion, that'll appear in the next build

---------------------------------------------------

Please thank if my software has helped you and please leave logs and descriptions of problems if my software did not work for you.

Please donate at:

http://www.PayPal.me/elrod16

Every bit helps, thanks! :)