R Clean Install: - Be on OOS 13.1.0.581 or .582 firmware with an unlocked bootloader - Have the OnePlus/Qualcomm fastboot and the latest Google ADB Interface drivers installed, along with the latest official Android SDK Platform tools - Download the recovery, boot it with "fastboot boot path/to/recovery.img" - Navigate to adb sideload with the volume keys and press the power button - Run "adb sideload /path/to/aospa.zip" - Wipe data using the volume and power keys if coming from another rom and reboot Updating: - Power off the device and hold Power + Volume Down - Navigate to "RECOVERY" on the bootloader screen using the volume keys and hit the Power key - Wait for the device to reboot, hit Power + Volume Up to get past the "No Command" screen and enter the Recovery interface - Navigate to adb sideload using the volume keys, tap Power to select it - Run "adb sideload /path/to/aospa.zip" - Reboot to system
R Run these commands in termux in sequence, having granted it root access beforehand su cat /sys/class/oplus_chg/battery/battery_fcc Then you can use this formula to calculate an estimated percentage. Replace 3644 with the output of the command above, and 4500 with 4320 if you have an OnePlus 8. 3644÷4500×100