yashsingh1/xdaforums huggingface dataset:
[Magisk] BostonDan:
Did you go into the app and set execute on boot in scheduler?

Cheers,

B.D.
[Magisk] Thisnameisepic:
I haven't tested with the app. Only the magisk module, since I think it's the recommended method. I will try with the app and report back. Thanks!

EDIT: So I found the issue and it's on my side. I am using the Riru core and Edxposed magisk modules. There is currently a bug (it's documented in edxposed githubs) which is that the Edxposed module crashes magisk' s startup sequence, preventing service.d scripts for running, both the ones from modules and the ones in magisk's service.d folder. Disabling edxposed module obviously allows magisk to continue normal startup sequence and the acc service.sh runs on startup. This script creates the folder missing on my screenshot and runs accd, which is what I was doing to get it to work manually after a reboot. I am sorry to come here and report an issue without first doing the simple thing of searching if any other magisk module is causing it.

I will add some keywords in-case anyone else has the same issue: not found, not running, no such file or directory, /dev/.acc/, /system/bin/acc

Extra info: Magisk 20.4 (tried 20.2 too), MIUI 11 Android 9 (Note 8 Pro), ACC v2020.7.3 magisk module, Riru - Core v21.3, Riru - EdXposed v0.4.6.1 (SandHook)
[Magisk] lm089:
I see you're using termux. For some reason you'll have to use a special su command "tsu" instead. It's been a while that the OP explained the reasons for that and as far as I remember you'll have to install some termux plugin for that. Do some googling for termux, Plugins and tsu, it's easy. Good luck

=== update ===

Just found the post where the OP is giving hints about tsu and tsudo, see here:

or go back to April 5 this year (it's in an answer to a question of mine)
[Magisk] seities:
problems experienced recently:

I've learned earlier that ACCA and ACC magisk modules are two separate entities and must be installed separately. So I usually install the module and then install the ACCA app.

However lately I've discovered that ACCA seems to be bundled with a previous RC version of the ACC, and this is where the erratic behavior started.

ACC would stop running, and then I went to Magisk to remove the module, rebooted, and the ACCA would suddenly show that it's running fine. Seems as if the magisk module would conflict with the ACCA's bundled module or something?

Then settings started going erratic as well. Changing profiles would not save, selecting profiles would not highlight, or the select profile settings (e.g. stop charging at 65%) would suddenly revert to some other settings like 76%.

i also made the mistake of reducing charging current in attempt to protect battery, to less than 1000mA. now i can't seem to restore the charging current to default no matter what I do. adjusting parameters has either no effect, or the numbers on the interface reverts itself after saving, even if the reverted setting has nothing to do with the charging current (which is stuck at 1A, but stuck setting can be 1500mA). This is verified with a USB meter.

I thought of removing ACC completely and do over. However, short of uninstalling ACCA, uninstalling ACC module, I also tried to run the uninstall-acc zip from recovery to a 455? error (system was mounted). Uninstalling both magisk module and ACCA and then reinstalling them didn't seem to solve the issue.

I'm not sure what the solution is to this erratic behavior, where before the "double install" it has been working fine with a clean install after ROM flashing. I'm using Xiaomi Mi9t running Xiaomi.eu 12. ACCA was v1.0.24

First off, does anyone know how to uninstall ACC completely?
[Magisk] BostonDan:
I have also found that there is an issue with profiles where I remove temperature control (turn it off) yet when I save and go back, it is still in the profile.

Cheers,

B.D.
[Magisk] Revontheus:
PSA: For anyone using the Samsung Galaxy S9 (on Android 10). Use the AccA application and revert to v6.16. For some reason, the newer version has bugs with the service not starting.
[Magisk] blushrts:
Yeah, I don't know what's going on. Daemon keeps stopping for me, phone continues to charge past the limit of 75 which I've set to stop charging. I'm going to reflash my whole setup from scratch tonight
[Magisk] gonzo1963:
Good afternoon,

It seems that I have found a possible "Charge switch" for the Motorola One Vision smartphone, it seems to work OK.

I have the AccA app version 1.0.24 installed, and Acc the one that installs the application by default (v2020.5.4-rc).

Can you include it among the "Load switch" options?

The location is:

/sys/devices/platform/13840000.i2c/i2c-8/8-003d/s2mu00x-battery/power_supply/battery/charging_enabled 1 0

Regards

Enviado desde mi unknown mediante Tapatalk
[Magisk] micanki:
Same for me after updating to V2020.7.22 daemon kills itself, it's not showing in releases anymore latest is v2020.7.19
[Magisk] BostonDan:
Looking at the logs, there seems to be a typo where the log states:

+ exxit

Wonder if this is causing the error.

Edit: disregard. Exxit is the name of a function in acc, not to confuse it with the shell command.

Cheers,

B.D.
[Magisk] blushrts:
Found the solution for me in the telegram group. Deleting a config file worked.

Advanced Charging Controller

Official ACC and ACC App (AccA) support group

Companion channel: https://t.me/vr25_xda

https://t.me/acc_group

Join and type #daemon_not_running
[Magisk] Darth Bidder:
I have a question regarding the pause and resume capacity command.

Is that the command I need to change to stop charging at a certain percentage?

I want to do the 80% for stopping the charging and 20% for resume.
[Magisk] blushrts:
Spoke too soon as I watched my battery charge right past the percent I had set. This thing used to be rock solid
[Magisk] negatyw001:
Is the ACCA application enough to install or do you also need the ACC flash zip? What to uninstall zip ACC?
[Magisk] Scarr3:
You can install the ACCA alone. You can also update ACC since the version that came with ACCA is outdated, but be aware that some of those lastest versions may be not rock solid and have some minor bugs. So I recommend using version 2020.06.16 until those minor bugs are fixed.

Have in mind that you still have to get magisk installed before you install ACCA.
[Magisk] negatyw001:
Unfortunately, an attempt to flash this zip (via twrp) - ends with an error.
[Magisk] guest4711:
Recovery log should be helpful for analyzing your problem.
[Magisk] KaMyKaSii:
From documentation:

If you're going to flash from recovery, mount system first. Otherwise, recovery will throw error 255.
[Magisk] heithered:
After the latest update whenever I run AccA it prompts with installing acc window. Is this expected behavior?
[Magisk] negatyw001:
Where can I find this TWRP log?
[Magisk] BhNeP:
I had the same problem on my Galaxy tab S2. I also use Riru and EdXposed. Using the app.and selecting version 6.16 fixed the problem for me.
[Magisk] gonzo1963:
Good morning,

It only works for me, with the Acc version that originally comes with AccA 1.0.24, which is the version: acc_v2020.5.4-rc_.202005040.

And of course with the "Alternative Charge Switch" that I have located for my smartphone.

Regards

Enviado desde mi unknown mediante Tapatalk
[Magisk] lysiong:
anyone encounter DJS can't install on the latest ACC app v1.0.26 ? I upgrade from previous version & found up got problem, then I remove ACC apps & ACC module from magisk & reboot, after reboot, install back ACC app then found up DJS cant install back anymore, keep on prompt DJS is required when install button is press.
[Magisk] swieder711:
I updated to the latest ACCA via Magisk and all my settings were reset to the defaults. Not a big deal. Just saying.
[Magisk] negatyw001:
Isn't it slower after that?
[Magisk] nihilista:
I upgraded magisk module first, but i had to remove app (new app won't install) and install new app again but that works.
[Magisk] lysiong:
I try to install previous version then upgrade it to latest version. It seem to be working too.
[Magisk] rusm:
Hi. Is it possible to apply profiles made in ACCA, via Tasker?
[Magisk] herlgl:
I installed via Magisk, then installed the app and it tells me the daemon is not running, so I start it in the app. Then after a few seconds, the daemon stops again.

Xiaomi Redmi Note 9S, Android 10, MIUI 11.0.10
[Magisk] LukeFisher:
did you get the version from F-drioid ? try installing the one from github which is more recent, solved that issue for me
[Magisk] herlgl:
Anyone got this successfully running on a Xiaomi Redmi Note 9S?

Installing it will soft-brick my phone after a reboot and I have to re-install Android.

Thank you. Github version works fine. Well except the soft-brick :)
[Magisk] Macusercom:
Anyone else has a bug where changing the cooldown capacity to 101 (to disable it) it will revert to 60 at some point.

Seems to do the same with (false, false) for resetting the battery stats. Using v2020.07.27.

EDIT: Uninstalling ACC via terminal and installing it again worked for me.
[Magisk] LukeFisher:
Sorry to hear that. I had the exact same problem as you and the github version fixed that. Tested it already and it stops charging at defined levels, rebooted few times without bootloops. Maybe it has some issues with miui since I'm running it on LineageOS 17.1 (Mi8)
[Magisk] herlgl:
Ah, yes it's only MIUI (only .EU?) seemingly. Somehow /system gets corrupted and can no longer be mounted. You then have to reinstall the OS. https://xdaforums.com/showpost.php?p=83185677&postcount=312

No idea if that ever gets fixed, .EU devs do not really seem to care.
[Magisk] lysiong:
I want to know this too
[Magisk] ricardofago:
It's also happening with the POCO F2 Pro (latest Xiami.eu stable). Other modules are fine, but acc breaks the system and bootloops into fastboot.
[Magisk] Sk1t:
Hello, I'm not sure if this is from my ROM or this but I have a pop up camera (OnePlus 7 Pro) and when it reaches the shutoff capacity the camera will stay popped out when it loses power. This does not happen when I shutdown via the normal interface. This has happened twice.

Again I'm not too sure if this is caused by this or just low battery shutting down the phone. I have set this to 4% and this is on a relatively new phone so I don't think it's because of low battery and instead a software issue.
[Magisk] Trakost:
Hi everybody, I've just found out the existence of ACC.

I have some doubts about the Max Current (mA) setting: while I've found out the best voltage should be 3.92V, I didn't find any infos about recommended current values (mA). Could someone help me?

The value I'm looking for should let me to charge my phone not too slow (so, not 500mA), since I often charge it during the day (so usually I cannot wait lots of hours) and not during the night (so: as soon as charge reaches 80%, I unplug it).

Thanks for your help!
[Magisk] slgooding:
I have the same device and never experience this. However, I never let my phone fully drain. Fact: That is one of the fastest way to degrade the capacity of your battery. It is very stressful on it.
[Magisk] Haz3:
Hello all, was wondering if anyone has a pixel 4 XL and set up an Apply-on-plug command for wireless charging(specifically the Pixel stand, if it even possible at all)? I would love to be able to have my phone charge to 80%, stop, and only resume if it hits 40%. Any help would be appreciated, thanks?.
[Magisk] ndep:
just stuck in bootloop on a POCO F2 Pro, very frustrating. Prior to flashing I read the whole document just in case some module doesn't work with MIUI12, nothing is mentioned and it was released 2 weeks ago, so I went ahead. Now the system is gone and I am doing a nandroid backup in desperation.

If reinstalling the system is the only way out, is there a way to keep the app data? I haven't made a backup for a month and lots of work happened. I really cannot afford to lose everything. Thanks a million!!!!
[Magisk] gonzo1963:
Good morning,

I'm sorry to report that, the latest AccA and Acc updates do not work on my smartphone (charging does not stop, despite being set to 80%).

I don't understand why every time you update them, they get worse.

I continue with the versions Acc (v2020.5.4-rc) and for AccA (1.0.24), which are the only ones that work.

Regards

Enviado desde mi unknown mediante Tapatalk
[Magisk] BostonDan:
MatteCarra,

I would respectfully request a switch on the acc version to permit us to use the current installed version (check if acc is installed) and not automatically install a version of acc.

The reason I am requesting this is because VR-25 has released the latest version (8.06.2020) but if using acca, it automatically installs the version specified in settings, which then overwrites the version desired in this case.

Again, this is only a suggestion. The app is great and I appreciate all the effort you have put into this app.

Cheers,

B.D.
[Magisk] Snah001:
I am running ACCA on my (EU) Poco F2 Pro as well as on Miui 11 and now 12 and have no problems at all with it.

Verstuurd vanaf mijn SHIELD Tablet met Tapatalk
[Magisk] Sk1t:
Yes I'm aware of this, it's been 2 times when I've been calling people on Snapchat and then the battery just dies on me leading to the camera still sticking out. I am able to boot the phone again immediately so it leads me to think this is a software shutdown problem (i.e. this or maybe a ROM bug) and not just the battery draining.
[Magisk] slgooding:
Oh yeah, that is bizarre. Definitely not normal behavior. I don't use Snapchat so I'm not sure if it is related to that.
[Magisk] zzenyoo:
Camera is one of most energy demanding thing so with dying battery it leads to shutdowns. I was able to boot immediately too.
[Magisk] droople:
Hi

I'm using the Poco F2 pro, and got the same issue, I reflashed system in twrp, and everything in your phone untouched. So I think you can reflash the system and reflash the magisk.

One thing to notice, the acc module still in your magisk, so you need to uninstall it and the system will be ruined again. You need to reinstall the system and magisk again. Then, everything become normal.

This was what I just did this afternoon:fingers-crossed:
[Magisk] ACardAttack:
Anyone know of a kernel for the Galaxy s8 that supports Prioritize battery idle mode?
[Magisk] ace2nutzer:
A2N Kernel

Instant battery idle

Or when reaching a certain batt Level e.g. 95 %
[Magisk] ACardAttack:
So by instant battery idle you mean it will run off usb power?

And sounds like I'd just need your app and kernel? Right? No need for ACC?
[Magisk] goRt:
The app is a front end on top of acc, you can run with just acc and the command line, but not the other way round
[Magisk] ace2nutzer:
No, it'll just stop to charge/discharge the battery, so the Phone is only powered from the USB Cable.

It's useful, if u've to run for days your phone with Cable, so to prevent battery all the time at 100% which is quite painful for Li-on Batteries, you can set to hold the charge at 50% to have lowest battery stress.

For daily charging it's already enough to stop charging at 95 % which will already double the amount of charge cycles.

(Stopping at 95 % reduces the batt voltage by approx. 0,1 V.)

First of all, try with ACC, read carefully how it works here:

https://github.com/VR-25/acc/blob/master/README.md

If it doesn't work, report here, and may you can also try with my kernel and App.

But the App is not for free. But you can use terminal emulator, then it's also for free. :)

For the required commands, you can ask in my thread.
[Magisk] ACardAttack:
Well according to acc when I run a test my kernel doesnt support it or are you saying if I install A2N kernel I can just use acc then?
[Magisk] goRt:
My posted unrelated to that, I was clarifying the relationship between acc (the required magisk module) and ACCA the optional app.
[Magisk] Keule-Tm:
That's wrong.
[Magisk] cbendot:
sorry sir this module have charging limit feature? like smart charging feature in custom roms
[Magisk] guest4711:
Indeed. But only if supported by your kernel.
[Magisk] cbendot:
great, this charge limit work fine, I flash acc module magisk and accA apk. . thanks for [MENTION=5228676]VR25[/MENTION] sir and team
[Magisk] ace2nutzer:
I meant my App is not for free, but works 100% for S8 / S8+. (it's independent with this ACC App)
[Magisk] goRt:
AccA is the app, ACC is the magisk module that does all the work, the app (AccA) is optional, ACC is required.
[Magisk] ace2nutzer:
OK got it, but a few users reported to me that ACC doesn't work on S8, because Ampere App should show 0 mA, but it didn't.

So i've added support for battery idle and battery care natively in kernel. Works even without root. ;)

That's all from me. :)
[Magisk] 7604timo:
Wireless Charging Starts and Stops Repeatedly

Hello,

I have a strange issue:

When wireless charging and my battery reaches the finish charge level (75%), acc successfully turns the charging off, but a few seconds later the charging starts again. This process repeats endlessly, resulting in my battery very slowly creeping up over 75%.

If I restart acc, it is able to stop the charging properly, but if I remove the phone from the wireless charger and then replace it, the on/off/on/off/... starts again.

I've changed a lot of settings to try and fix the problem, but I'm not getting anywhere.

My device is a new Xiaomi Mi 9 [cepheus] running the latest crDroid ROM, with Magisk.

My charging switch (determined by acc -t) is

dc/input_suspend 0 1

I've also got the (acc recommended)

prioritizeBattIdleMode=true

I've tried setting

resume_capacity = pause_capacity - 1

as well, but I can't make charging completely stop.

I don't see anything that looks like another process is re-starting the charging in my logs, so I don't know what else to try.

Does anyone have any pointers that I could try out next?

Thank you,

Tim
[Magisk] Rainick:
meet the same problem as you described

I have installed DJS,but it keeps showing that DJS is required when I turn on DJS in the app

the problem remains after trying reboot and reinstall the app and module

ACCA v.1.0.26(30)

ACC v.202007260

Oneplus 8,OOOS v10.5.11
[Magisk] BostonDan:
I had this problem. I reverted to a previous build, installed DJS, and once installed I went back to the latest build, with DJS remaining.

Hope this helps.

Cheers,

B.D.
[Magisk] Rainick:
Sorry but it does not work for me

but thanks to your reply I surprisingly found that the previous version works pretty well with all the features I want(new to ACC)

Cheers!
[Magisk] Koushik87:
Can anyone suggest a kernel that supports idle battery in Oneplus 6T. I have already tried Omega, MCD, blu_spark and can confirm these doesn't have support. Thanks in advance.
[Magisk] ratelutz:
Are you shure?

Mcd supports battery idle mode and radioactive too
[Magisk] Koushik87:
I am currently on mcd and using Acc via the ACCA app. When i test battery idle mode, it says your kernel doesn't support battery idle mode. Not sure if its my OP 6T limitations coz i m aware 6T hardware should support battery idle mode.
[Magisk] ratelutz:
i actually switched to MCD and battery idle mode works here.

[battery/op_disable_charge 0 1 battery/input_supsend 0 0] works - battIdleMode=true
[Magisk] Koushik87:
Mine doesn't seem to work. Can you share your version and setting snapshot, would be helpful.
[Magisk] ratelutz:
Im using the module version 2020.8.6 not acca and latest mcd kernel

Maybe there is your issue
[Magisk] Flashby:
The wireless charging doesn't work with acca, The charge isn't stopped, i have the samsung wireless charger, and it doesn't turn off and keep turn on while the phone "stop" the charge. The phone can't cool down and ruin battery so sad...
[Magisk] Trakost:
Hi guys, tell me if I'm wrong: charging at max 3.92V up to 80% means that your battery capacity doesn't actually reach that 80%? I noticed that when I set a maximum voltage limit (3.92V) the battery lasts less than before.
[Magisk] android_53:
Hi guys

I have acc installed. It works like a charm, but now i have a Problem: i have activated shutdown_capacity (sc). It powers down my device when sc is reached, but unfortunnatly whithout warning. I tried to set asac explictly, but that had no effect. Has someone a solution? Thanks in advance.

P..S the vesion is v2020.8.6
[Magisk] Timm002:
Hey everyone , someone who knows why i have only one type of charging switch un the acc config ?

(I only can select battery/charging_enabled 0 1) . Thanks :)
[Magisk] guest4711:
Probably your kernel supports this one only.

But if this works don't worry!
[Magisk] Koushik87:
I am not aware if acc pops up warning message before shutdown. It always works at backend. By the way what kind of warning are you talking. Your phone should ideally have this setting to apply power saver on reaching preset value.
[Magisk] android_53:
in the config the following parameter can be set:

autoShutdownAlertCmd=(vibrate 5 0.1)

but maybe it only works together with the Termux API
[Magisk] Koeties:
Hi

I agree on this. I'm having the same issues when running the 2020.8.6 module version. That makes the app unusable as on startup it installs a different module version with no way of stopping the installation.
[Magisk] goRt:
You can specify which version of acc gets downloaded within ACCA settings
[Magisk] Koeties:
It doesn't have the 2020.8.6 version in the module list in the acca app.
[Magisk] gonzo1963:
Good evening,

For me the best versions, and they are the only ones that work ok for me are:

AccA: 1.0.24 (28)

Acc: 2020.5.4-rc

Regards

Enviado desde mi unknown mediante Tapatalk
[Magisk] goRt:
Have you tried latest or master (I no longer use the app so can't be specific)
[Magisk] Koeties:
The best the ACCA app can do is to install the latest version in the app's settings list of modules. It overwrite's the 2080.8.6 version that you can install/update from within Magisk.
[Magisk] anonxlg:
question:

I have a phone right now that I'm constantly plugged into the computer's usb. It's plugged in probably 95% of the time, and I occasionally take it off.

I use scrpy to control my phone from my computer to play games. I would say most of the time, it's able to maintain a neutral charge. If I play for (say) over 20 mins, the battery will start to drain ever so slightly.

Anyways, I'm getting worried for the battery. When I first had the phone, the battery was good. Now after half a year of doing this, I'm noticing that the phone will die when it goes below 10%, so I'm worried the battery is going to **** quick.

So what I'm wondering is, is it possible to use this bypass the battery and have the phone directly use usb power. If not, is this a kernel/android/vendor limitation. We know it's possible because there are a handful of phones that can do this.

Also, would it make a difference if i set the 'full' charge to max out at 80%, how does me leaving it constantly plugged in affect the phone? (charge to 80% -> stop charge -> drop down to 79% -> start charge, loop forever?)
[Magisk] brackenhill_mob:
I can't answer the 1st question (but if you can remove the battery it should work) but I use acc for the 2nd with a max charge of 80% and a restart setting of 70% which works well for me. I'm using an old phone as a webcam so it's powered from my pc about 16 hours a day.
[Magisk] anonxlg:
yeah, I watched a guide and I understand how it works now.

I'm wondering now is, say i'm playing a game or whatever on the phone. For said period of time, say 2 hours, the phone is constantly charging up to 80% discharging to 75% and so on repeatedly, what kind of effect does that have on the battery?

and regarding your point on removing the battery, android phones for a long time now is unable to turn on without battery. Also, my phone does not have a removable battery so that's not an option.
[Magisk] brackenhill_mob:
That is one for someone more clever than me !!
[Magisk] jaggillararla:
Did you ever find a way to do this? I'm interested as well