🔍 What Was Found The module intercepts the shutdown threshold computed by the driver and replaces it with a configurable value. At the same time, it changes the "0%" point for the ADSP controller using the formula: termination voltage = shutdown threshold − max(0, 3060 − threshold). For the default value of 2800 mV, this yields 2540 mV. Additionally, the module disables the forced super power saving mode at 1% via an OPPO policy (the oplus_diable_super_power_saving_mode key) and displays the real chip_soc charge level in the status bar instead of the system-smoothed one. The author ran an automated set of 33 scenarios on real devices: ColorOS 15 (15.0.0.821 with kernel 6.6.30, 15.0.0.861 with kernel 6.6.66), ColorOS 16 (16.0.5.701 with kernel 6.6.89, 16.0.10.501 with kernel 6.6.118), and ColorOS 17 (17.0.0.101 with kernel 6.6.118). With the standard boot scheme, 31 tests pass; in jailbreak mode — 28. Exceptions: on ColorOS 16.0.10.501 only the T10 subset was run, and on ColorOS 17 jailbreak was not tested. At boot, the module verifies key driver instructions — if they don't match, it simply doesn't load, so on unverified firmware the worst that can happen is no effect.
💡 Why It Matters This is not "battery overclocking" via third-party apps, but a coordinated modification: the shutdown threshold, the "empty" point, and the percentage indicator are changed together, with the recalculation done by the battery controller itself. For a OnePlus 13 owner, this is a way to use the capacity reserve the manufacturer leaves as a safety shutdown margin. The default threshold is 2800 mV; it can be changed in /data/adb/uv2800_backup/target_mv (range 2800–3060 mV); values outside the range are ignored and 2800 is used. A reboot is required after saving changes, and a full charge after installation. The modification remains third-party and requires care: for example, removal requires performing the "execute" action at a charge level above 30%, otherwise the driver will be left with corrupted parameters.
The repository is structured as a full-fledged project: besides the ready-made zip package, it contains the uv2800.c module sources, a fetch-kernel.sh script for downloading the kernel tree, automated tests (run.sh), and notes on driver reverse engineering (RE-A through RE-F). For diagnostics, the module writes a log to /data/adb/uv2800_backup/uv2800.log and duplicates it in the kernel (dmesg). The code is distributed under GPL-2.0; third-party major components such as kernel sources and the jailbreak tool in the repo
Source: github.com · post in Telegram