LinusHenze / Fugu14

Fugu14 is an untethered iOS 14.3-14.5.1 jailbreak
MIT License
1.41k stars 314 forks source link

The battery usage details not showing up #148

Open 520xcy opened 2 years ago

520xcy commented 2 years ago

iPhone 12 pro,iOS14.4 E3ABEB95-6D08-40AB-98D5-CD66EA34461A

jaygee562 commented 2 years ago

I'm sure it's a bug in the exploit or perhaps unc0ver itself. Be on the lookout for updates by fugu14/altstore/or unc0ver

RiskyAppleJuice commented 2 years ago

And also did you use iCleaner?

jaygee562 commented 2 years ago

try icleaner pro and report back

520xcy commented 2 years ago

try icleaner pro and report back

Do I need to use it to clean battery usage data?

520xcy commented 2 years ago

And also did you use iCleaner?

I haven't used it

Phorofor commented 2 years ago

I also had this issue and the Battery stats doesn't seem to work out of the box with Fugu14 and unc0ver. A work around is to use the Choicy tweak from opa334 (repository: https://opa334.github.io), after installing:

From the Settings app:

  1. Navigate to Choicy > Daemons
  2. Tap on Show All Daemons. Wait for the page to finish loading if it's not finished.
  3. In the search box, type "power"
  4. Select powerlogHelperd and toggle Disable Tweak Injection so it's switched on.
  5. Go back and repeat the previous step for PowerUIAgent. Disable Tweak Injection should be switched on for this too.
  6. Reboot the device and re-jailbreak OR run launchctl userspace reboot from a Terminal. Run ldrestart. (Note: Unloading and reloading the daemons might also fix this without having to ldrestart)

Edit: Recommended to use launchctl reboot userspace instead of ldrestart, see: https://old.reddit.com/r/jailbreak/comments/qjougs/tutorial_potential_fix_for_not_receiving_imessages/hirop5l/ as it's considered old. It doesn't require root access.

Edit 2: "userspace" and "reboot" was arranged the other way around.

Edit 3: It seems that launchctl userspace reboot or rebooting doesn't fix the battery graph, only after running ldrestart.

muyesen commented 2 years ago

5. rUIAgent. Disable Twe I tried and nothing happened battery usage details still stoped It should not be a simple replacement, or the kernel problem

Phorofor commented 2 years ago

Can you confirm whether this is related to rebooting (with and without the launchctl reboot userspace command) (without having to run ldrestart)? I've just had a graph with nothing and it seems running ldrestart resumes the graph statistics appearing.

If this is the case then I assume that restarting or killing those daemons after everything has loaded would fix it temporarily.

muyesen commented 2 years ago

Can you confirm whether this is related to rebooting (with and without the launchctl reboot userspace command) (without having to run ldrestart)? I've just had a graph with nothing and it seems running ldrestart resumes the graph statistics appearing.

If this is the case then I assume that restarting or killing those daemons after everything has loaded would fix it temporarily.

Yes, Just running ldrestart.

davidrozen76 commented 2 years ago

Choicy daemons list does not show powerlogHelperd nor PowerUIAgent (page refreshed and show all daemons clicked)

Any ideas?

ghost commented 2 years ago

Waiting Linus Henze fix

badger200 commented 1 year ago

Waiting Linus Henze fix

@Ghost @jaygee562 The root cause fix is in Issue #242