Skip to content

Releases: VR-25/acc

**v2020.10.1 (202010010)**

01 Oct 06:09
Compare
Choose a tag to compare
- Fixed automatic charging switch management issues.
- Fixed ghost charging problem related to cooldown and capacity_sync/capacity_freeze2.
- General optimizations
- Persistent data is now saved in /sdcard/vr25/acc/.
- Workaround for EdXposed's service.sh bug

Release Notes

- Confirmed: the MIUI bootloop issue is gone.
- If you face any other issue, run `rm /sdcard/vr25/acc/config.txt; accd` to reset the config and restart accd.

**v2020.9.24 (202009240)**

24 Sep 10:01
Compare
Choose a tag to compare
- Cooldown no longer interferes with capacity_sync.
- Delay accd initialization (5 minutes) to prevent conflicts with fbind.
- Do not auto-shutdown if charging was disabled by accd itself at temp >= max_temp.
- Do not remount / rw if it's not tmpfs.
- Fixed cooldown_custom.
- Major optimizations
- MTK and Razer specific tweaks
- New charging switch for Motorola One Vision
- Removed obsolete features.
- Simplified config.
- Updated documentation.

Release Notes

- Config will be reset.
- MIUI bootloop issue possibly fixed.

**v2020.9.14 (202009140)**

14 Sep 08:39
Compare
Choose a tag to compare
- Ensure releae-lock.sh does not cause unwanted acc/d termination.
- General fixes & optimizations
- mv /data/adb/acc-data /sdcard/Download/acc
- Reapply voltage limits on plug.

Release Notes
  - All persistent acc data is now stored in /sdcard/Download/acc/.
  - "mx4pro" users, please send me a new log archive after installing this version.
  - Nothing was done in regards to the "MIUI 12" bootloop issue. The root cause is still unknown.

Unannounced Releases (@romanegunkov)
  - v2020.9.01 (202009010): Fixed --upgrade bug.
  - v2020.8.24 (202008240): Prevent auto shutdown if system has been running for less than 15 minutes.

**v2020.7.26 (202007260)**

27 Jul 13:44
Compare
Choose a tag to compare
- General cleanup and optimizations
- Moved acc files in /sdcard/ to /sdcard/Download/acc/.
- Removed acc-init.sh in favor of service.sh.

**v2020.7.19 (202007190)**

19 Jul 13:51
Compare
Choose a tag to compare
- accd stop timeout set to 15 seconds (more time for graceful termination).
- Do not remount /sbin/.
- Faster accd termination
- Fixed "--upgrade not recognizing the latest version is already installed".
- Fixed "max_temp_pause not honored".
- General optimizations
- Minor changes to default config, for convenience
- Note: config will be reset to fix the accd crash issue several users have been facing.

**v2020.7.3 (202007030)**

03 Jul 09:40
Compare
Choose a tag to compare
- Blacklisted problematic MTK charging switch.
- Fixed "battery saver mode can't be turned off".
- Fixed network issues.
- General optimizations
- Prepend /data/adb/bin to PATH (executables or links to these can be placed in that dir to override defaults).
- Updated documentation (prerequisites and troubleshooting sections).

**v2020.6.16 (202006160)**

16 Jun 06:13
Compare
Choose a tag to compare
- Magisk related fixes

**v2020.6.15.2 (202006152)**

15 Jun 15:09
Compare
Choose a tag to compare
- Fixed Magisk related issues
- General fixes & optimizations

**v2020.6.14 (202006140)**

14 Jun 11:53
Compare
Choose a tag to compare
- `acca --set var="value"` runs asynchronously
- Android 11 support (absolute path required until system reboots (e.g., `/dev/acc`, `/dev/acca`))
- capacity_freeze2 (cft): prevents Android from getting capacity readings below 2%; useful on systems that shutdown before battery level drops to 0 or 1%
- `ctrlFileWrites=(times interval)`, defaults are 3 and 0.3
- Current and voltage limits can be set from AccA, but not restored; until AccA is updated, use `acc -s<c|v> -` to revert changes
- Daemon stop actions run asynchronously to speed up the process
- Dynamically determine battery uevent path
- Enforce max switch_delay 20 for mtk devices; `acc --test` will use that (7 is default for other devices)
- Exclude parallel/ control files
- Fallback busybox (`/data/adb/bin/busybox`) is now used as primary
- `fg_full_voltage` ctrl file
- Fixed `acc -ss` "extra values" issue
- Fixed AccA log activity
- Fixed MediaTek specific bugs
- Idle mode for Pixel 2/XL and devices with similar hardware
- If AccA is installed, `install.sh` ensures `/data/data/mattecarra.accapp/files/` exists before installing/upgrading acc; this prevents unwanted acc downgrades
- Job control based on lock file
- Legacy support (Android 4.0+)
- loop_cmd: extends accd's functionality (advanced users, details in the readme)
- Non-Magisk users can enable acc auto-start by running /data/adb/$id/service.sh, a copy of, or a link to it - with init.d or an app that emulates it
- Place temporary files in /dev, rather than /sbin (deprecated)
- Potential workaround for "graceful shutdown not working"
- Power supply logger: learn to skip reading troublesome /sys files (prevents kernel panic); [re]generate log file only on errors and when the log exporting command is executed
- Prevent future AccA versions from downgrading/reinstalling modules
- Removed capacitySync (already automatic) and capacityOffset controls
- Static binaries like busybox and curl can simply be placed in /data/adb/bin/; acc sets 0700 permissions as needed
- The first argument to acc -t can be switch_delay, e.g., `acc -t 15 /proc/mtk_battery_cmd/current_cmd 0::0 0::1 /proc/mtk_battery_cmd/en_power_path 1 0`
- Updated readme
- Workaround for "can't exit terminal after starting/restarting accd"
- Works in recovery mode (system must be mounted first)
> Release note: refer to the readme for a full list of changes and features

**v2020.5.4-rc (202005040)**

04 May 17:55
Compare
Choose a tag to compare
Pre-release
`--set` can now set (var=value) and restore (var=) current and voltage limits as well, e.g., `acc -s mcc=1800 mcv= pc=75 rc=70`
- `--set [[a-z]|--opt]` commands can alternatively be written as `-s[a-z]`, e.g., `acc -sv 3920 --exit`
- Current & voltage limit and battery idle mode test now work in AccA 1.0.23 (27)
- Enhanced "charge once to a given capacity without restrictions" feature
- Major fixes & optimizations
- Send SIGKILL 5 seconds after SIGTERM to forcibly terminate stubborn acc processes
- Write to each ctrl file 3 times (with 200 milliseconds delays in-between) instead of just once; this is an attempt to force changes that don't take effect immediately or at all