Mine at stuck at 1h18min. Xm 12s ultraXiaomi 12s Ultra Time remaining frozen on 6h 5min
adb shell
su
setprop persist.sys.power.fuel.gauge 0
Is this something you guys can fix for future releases for the ones without root, or can only Xiaomi fix it? Thanks in advance!The issue seems like a bug that is triggered by a prop dynamically set by the system.
For those with root, for now you can set it to 0 and remaining time will be showing correctly.
Code:adb shell su setprop persist.sys.power.fuel.gauge 0
It's not known why this prop was even set on these devices, it's only supposed to be set on specific devices, and Xiaomi 14 isn't one of them.Is this something you guys can fix for future releases for the ones without root, or can only Xiaomi fix it? Thanks in advance!
A clean install did not fix the problem.It's not known why this prop was even set on these devices, it's only supposed to be set on specific devices, and Xiaomi 14 isn't one of them.
There's nothing to fix from our side, and those who already have this prop set - it's not possible for us to unset it (it's called a "persist" prop for a reason).
The users either have to unset it themselves or clean flash.
- Once you have root, the commands in this thread will not fail (namely the "su" command will ask permission in your phone, and it will work).fastboot flash init_boot_ab root/magisk_patched-27000_6snSA.img
fastboot reboot
More info about rooting, mostly everything extracted from there:fastboot flash init_boot_ab images/init_boot.img
fastboot reboot
Much appreciatedSummary: issue fixed with the commands shared above, with root.
Long story (steps for noobs):
- Install Magisk
- Get the file images/init_boot.img from the zip of the last version of the rom you installed (the one you have running).
- Copy it to the phone
- In magisk, use that img file to generate a patched one, that will have root.
- Reboot into fastboot, attach the phone to the computer with a cable, and flash that file in fastboot (I'm using the path and filename for my example, any other will be different). Also the command to flash might be different depending on the model, I have a X14 Global, so check the the link at the end for full details):
- Once you have root, the commands in this thread will not fail (namely the "su" command will ask permission in your phone, and it will work).
- As I don't needed root any more and I don't want to hide to apps, I'm removing it. So I simply flashed back the original init_boot.img file:
More info about rooting, mostly everything extracted from there:
Installing Magisk and Play Integrity Fix
As you are aware, new Stable releases (including rebuilds that are currently in the works) do not include our fix for passing SafetyNet/Play Integrity checks. There's the guide how to flash Magisk and relevant fix on these ROMs. NOTE: You have to repeat the process (at least installing Magisk)...xiaomi.eu
A new situation has arisen. Clean installation ROM 24.5.13. (XM 14 Global)The issue seems like a bug that is triggered by a prop dynamically set by the system.
For those with root, for now you can set it to 0 and remaining time will be showing correctly.
Code:adb shell su setprop persist.sys.power.fuel.gauge 0
We use essential cookies to make this site work, and optional cookies to enhance your experience. Cookies are also used for ads personalisation