LinusHenze / Fugu14

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

Sleep/Wake-up issue - Testers wanted #61

Closed LinusHenze closed 2 years ago

LinusHenze commented 2 years ago

Hey everyone,

I'm currently trying to fix the sleep issue some of you have and need testers who are having this issue and are willing to try out some stuff. First of all, I need to find out if the bug is caused by one of the kernel exploits or if it is caused by replacing analyticsd. If you want to help, could you please try the following: Update: Enough people tested this.

  1. Install irecovery (brew install libirecovery)
  2. Connect your iPhone to your Mac via USB and put the iPhone into recovery mode (From The iPhone Wiki: Press and quickly release the volume up button. Press and quickly release the volume down button. Then, press and hold the side button until you see the recovery mode screen.)
  3. Run irecovery -s and enter the following commands:
    • setenv boot-args no_untether
    • saveenv
    • reboot

This should disable the untether (you can test that by trying to run unc0ver, if it says unsupported or if the unc0ver Untether App crashes the untether is disabled). Please use your iPhone normally for about an hour or so and comment whether or not you still experience the sleep issue (please also include which iPhone and iOS version). To re-enable the untether, perform steps two and three again, but instead of entering setenv boot-args no_untether enter setenv boot-args x instead.

MarkMeretz commented 2 years ago

I also have this error on my iphone 12 14.4.1 when I do this, should uncover still work? Only semi or does the JB not work at all? I had first reversed Fugu14

MarkMeretz commented 2 years ago

Okay, I think I got it, I'll test it for an hour

trapguard commented 2 years ago

Trying on a iPhone 12 Pro with iOS 14.4.1. Successfully added no_untether to boot arguments and unc0ver says "unsupported".

No wake issues so far (20-30 minutes in), will report back in about an hour.

MarkMeretz commented 2 years ago

okay test is now running Fugu14 shows Restore FS and Unc0ver shows Unsupported Start test: 14:06

Merculous commented 2 years ago

I have installed the untether and unc0ver 7.0.0 on an iPhone XS Max running 14.3. First of all, I'd like to point out that this issue exists whether or not the untether is actually installed. First thing is, I was unable to install the untether due to issue #1, but a patch https://github.com/LinusHenze/Fugu14/issues/1#issuecomment-950534432 was given which ended up solving that issue for me after I had restored the root fs, so unc0ver was not installed until later.

I'm saying that this issue began before the untether was even installed because I had noticed that it started before I had installed the untether successfully, but the issue persisted even with the untether installed. So, even with the patch mentioned, the bug has to be before "installing untether.." was printed to the screen.

I have also noticed that there were several, at least 10 or more, crash logs from analyticsd, two of which are symbolicated. Anyhow, I did jailbreak with unc0ver and everything is working in order. Aside from this issue, there's only one other issue I have also found.

When connected via netcat, I am unable to use the exec command as it gives me:

child: Failed to launch! Error: No such file or directory
exec: Child status: 255

Also when trying to enter the bash command, if I'm assuming it spawns a bash shell which you can use like a regular shell, nothing happens, instead:

Running bash.
Although you might not see a prompt, you can still run commands.
exec: Bash exit status: 0

I have not experienced any issues after disabling the untether so far.

Forgot to mention, feel free to ask for logs as I've had been trying to find a likely culprit myself, but I'm no expert so I may not see it. I can send the crash logs I have and or syslogs.

thekio1984 commented 2 years ago

14.3 SE2020, 15mins after untether disabled, no issues so far, whereas almost every other unlock was delayed while jailbroken.....are you sure its even the untether, it might be u0...but what do I know :)

MarkMeretz commented 2 years ago

for me it now runs just under 30 minutes without unether without problems

LinusHenze commented 2 years ago

Thanks everyone for testing! I'm currently assuming that it might be one of the exploits. I'll update the instructions in a few hours...

thekio1984 commented 2 years ago

Thanks everyone for testing! I'm currently assuming that it might be one of the exploits. I'll update the instructions in a few hours...

From every grateful person out here...thanks for your work, time & effort 🙏 its like xmas , early 🎄at least we can still jb with a semi in the meantime 😂 so its all good 👌

ghost commented 2 years ago

Waittng for fix.LinusHenze is really good

Karimlmao commented 2 years ago

hi imm using a iphone 11 14.4.2 and i wasnt having any issues with the jailbreak until today (which is when the sleep issue started) and thats the only issue for me i have followed your instructions and have not had any issues but ive only had it for 10 minutes if anything happens i will be sure to post it on here

EchoSkill commented 2 years ago

Waiting boss, thank you so much for your effort

Karimlmao commented 2 years ago

hi im back after about a hour and the issue is gone without a trace ive had no bugs at all im going to try the untether again and check if it comes back will try to post updates regularly

iphone 11 ios 14.4.2

EchoSkill commented 2 years ago

2 hours later without the untheter, The problem has not returned, there are no locks and the screen responds instantly

iPhone 11, iOS 14.3

Quasar0117 commented 2 years ago

Hi, on my side without the untheter for about an hour, everything is working perfectly.

iPhone 12, iOS 14.5

jayandcourt commented 2 years ago

how are you still jailbreaking after following the commands

Karimlmao commented 2 years ago

in the last paragraph it says how to get it back

jayandcourt commented 2 years ago

yeah but then untether comes back and its back to not waking

Karimlmao commented 2 years ago

yea ik i was just testing maybe it couldve worked

Karimlmao commented 2 years ago

im just gonna wait until it gets fixed

IMLR commented 2 years ago

Disabled untheter for an hour, everything is working perfectly.

iPhone 12 Pro, iOS 14.5.1

ps: I didn't find analyticsd crash records in cr4shed

This issue won't happened while playing music

jayandcourt commented 2 years ago

but uncover is unsupported in 14.4.2

CodeWithJeeens commented 2 years ago

@jayandcourt

Uncover say in the News tag :

Add iOS 14.4-14.5.1 support for A12-A14 devices with Fugu14 (Fugu14 must be manually installed and ran by following the instructions at https://github.com/LinusHenze/Fugu14 before installing and running unc0ver)

jayandcourt commented 2 years ago

yes i have fugu installed but then minute i disable untether my uncover syas unsupported

CodeWithJeeens commented 2 years ago

@jayandcourt

that's right uncover need fugu14

i means disable untether = disable fugu14

Volstagg-the-Valiant commented 2 years ago

No sleep bug after disabling. Iphone 12 Pro Max on 14.4.2.

CodeWithJeeens commented 2 years ago

@Volstagg-the-Valiant

is your phone jailbroken ?

Volstagg-the-Valiant commented 2 years ago

@CodeWithJeeens

When fugu isnt disabled it is

CodeWithJeeens commented 2 years ago

@Volstagg-the-Valiant

can you help me about discord?

Volstagg-the-Valiant commented 2 years ago

@CodeWithJeeens

what about discord??

YomiDr0go commented 2 years ago

Update: Enough people tested this.

Install irecovery (brew install libirecovery) Connect your iPhone to your Mac via USB and put the iPhone into recovery mode (From The iPhone Wiki: Press and quickly release the volume up button. Press and quickly release the volume down button. Then, press and hold the side button until you see the recovery mode screen.) Run irecovery -s and enter the following commands: setenv boot-args no_untether saveenv reboot This should disable the untether (you can test that by trying to run unc0ver, if it says unsupported or if the unc0ver Untether App crashes the untether is disabled). Please use your iPhone normally for about an hour or so and comment whether or not you still experience the sleep issue (please also include which iPhone and iOS version). To re-enable the untether, perform steps two and three again, but instead of entering setenv boot-args no_untether enter setenv boot-args x instead.

"Official" Fix? @LinusHenze

wahguzman commented 2 years ago

Update: Enough people tested this. Install irecovery (brew install libirecovery) Connect your iPhone to your Mac via USB and put the iPhone into recovery mode (From The iPhone Wiki: Press and quickly release the volume up button. Press and quickly release the volume down button. Then, press and hold the side button until you see the recovery mode screen.) Run irecovery -s and enter the following commands: setenv boot-args no_untether saveenv reboot This should disable the untether (you can test that by trying to run unc0ver, if it says unsupported or if the unc0ver Untether App crashes the untether is disabled). Please use your iPhone normally for about an hour or so and comment whether or not you still experience the sleep issue (please also include which iPhone and iOS version). To re-enable the untether, perform steps two and three again, but instead of entering setenv boot-args no_untether enter setenv boot-args x instead.

"Official" Fix? @LinusHenze

@YomiDr0go No, It´s a test only to know if fugu made this issue

ET02 commented 2 years ago

Still have this problem even after this „fix“. iPhone 12 Pro Max iOS 14.5.1 :(

trapguard commented 2 years ago

Still have this problem even after this „fix“. iPhone 12 Pro Max iOS 14.5.1 :(

This is not a fix but a guide to test the sleep/wake issue by removing the untether state from your iPhone. Linus is working on a fix, be patient and make sure to check github for new updates.

ghycn commented 2 years ago

2 hours later without the untheter, the screen-lock sleep problem not recur iPhone xs max, iOS 14.4

xibici commented 2 years ago

same problem

albertjson commented 2 years ago

same problem,About four or five times a day

adameboy commented 2 years ago

Same problem apparently is fugu problem when I deactivate setenv boot-args no_untether my phone works normal again but I can't do the jalibreak again

elie8888 commented 2 years ago

Same here

MarkMeretz commented 2 years ago

He wrote above he has enough data for everything as soon as it is fixed he reports that it is no use even if everyone continues to write does not work ^^

thekio1984 commented 2 years ago

Like really, so many noobs posting on here...linus will fix it when hes fixed it...& half the posts on this thread are issues that are easily solved by a r/jailbreak or google search...really, if you have install issues like xcode signing, or cant even tell if your jailbroken....This is NOT the place to be asking & tbh you shouldnt even have tried installing...think spamming git is going to get a fix quicker??

Edit here: Temp Solution, (not found by me), but if you install the AoD tweak "Tritium" (paid tweak) it keeps device semi awake, after having (albeit a cracked version**) installed for over an hour, I've not had even 1 black screen/wake issue & my device is perfectly responsive, at expense of a lil more battery.

Edit 2: appears that 'Tritium' cause the LS Camera to glitch out & crash...not a big deal for myself, but maybe other it is.

Edit3 Please buy the tweak, support the devs, i have, its cheap enough & i actually like it

AllCanor commented 2 years ago

Like really, so many noobs posting on here...linus will fix it when hes fixed it...& half the posts on this thread are issues that are easily solved by a r/jailbreak or google search...really, if you have install issues like xcode signing, or cant even tell if your jailbroken....This is NOT the place to be asking & tbh you shouldnt even have tried installing...think spamming git is going to get a fix quicker??

Edit here: Temp Solution, (not found by me), but if you install the AoD tweak "Tritium" (paid tweak) it keeps device semi awake, after having (albeit a cracked version) installed for over an hour, I've not had even 1 black screen/wake issue & my device is perfectly responsive, at expense of a lil more battery.

Offtopic, but which settings are you using in the tweak as temporary fix?

thekio1984 commented 2 years ago

Like really, so many noobs posting on here...linus will fix it when hes fixed it...& half the posts on this thread are issues that are easily solved by a r/jailbreak or google search...really, if you have install issues like xcode signing, or cant even tell if your jailbroken....This is NOT the place to be asking & tbh you shouldnt even have tried installing...think spamming git is going to get a fix quicker?? Edit here: Temp Solution, (not found by me), but if you install the AoD tweak "Tritium" (paid tweak) it keeps device semi awake, after having (albeit a cracked version) installed for over an hour, I've not had even 1 black screen/wake issue & my device is perfectly responsive, at expense of a lil more battery.

Offtopic, but which settings are you using in the tweak as temporary fix?

These settings seem to work best, obviously screen stays on, well active, unless proximity sensor is covered (eg put device in pocket) then it fully blacks out, but not had any wake/black screen issues, near 2hrs now...yes itll use a lil more battery, but keep the AoD features to a minimum & should hardly notice tbf

3A7A4B84-3DBA-4A34-9F69-B68FEBCE0983 2D119362-AB7E-441C-BC50-07006C3839EC

EDIT:: notfi ui settings: Notif identifier - ON Notif style - icons

at least this way theres a visual notif when silent 👌

Edit2: Tweak causes LS Camera to crash/not work, normal camera.app is fine though.

Volstagg-the-Valiant commented 2 years ago

139056458-5ffc53f1-03b3-44f9-aee3-b385183bbc8a

@thekio1984 how you gonna let your phone roast you like that?

MarkMeretz commented 2 years ago

Seems to work with tritium thx for this Workaround

thekio1984 commented 2 years ago

139056458-5ffc53f1-03b3-44f9-aee3-b385183bbc8a

@thekio1984 how you gonna let your phone roast you like that?

😂😂😂😂sims £2 a month on top of my broadband...40mbps mobile data uncapped + free calls/txts, i dont care what they called for that price, not the worst named provider ive had...was one called SheBang 😂😂😂

Volstagg-the-Valiant commented 2 years ago

@thekio1984

lol that's awesome! Think I may change my carrier name to SheBang lmao

xz1c commented 2 years ago

真的,很多菜鸟在这里发帖......linus 会在他修复它时修复它......这个线程上的一半帖子都是可以通过 ar/jailbreak 或谷歌搜索轻松解决的问题......真的,如果你有安装问题,例如 xcode 签名,或者甚至无法判断您是否越狱....

在这里编辑:临时解决方案,(我没有找到),但是如果您安装 AoD 调整“氚”(付费调整),在安装(尽管是破解版**)一个多小时后,它会使设备保持半清醒状态,我甚至没有出现 1 个黑屏/唤醒问题,我的设备反应灵敏,但代价是增加了一点电池。

编辑 2:似乎“氚”会导致 LS 相机出现故障并崩溃……对我自己来说没什么大不了的,但也许是其他问题。

Edit3请购买调整,支持开发人员,我有,它足够便宜而且我真的很喜欢它

Everything like you said ‘Tritium’paid tweak Working well Problem improved [爱心]🥳Thx!!!

jayandcourt commented 2 years ago

anyone having a issue with tritium where the screen doesnt light up when you get a call have to double tap the screen to accept the call

thekio1984 commented 2 years ago

anyone having a issue with tritium where the screen doesnt light up when you get a call have to double tap the screen to accept the call

Yes this is part of the tweak, for me its not an issue, if you uncheck the 'double tap' toggle in settings, it will just be 1tap then answer calls, but i can see why it could be for annoying for some....i only suggested it as i saw it posted elsewhere, ive tried other AoD tweaks & none work as good as tritium at stopping the wake delay,

ive tried lastlook tweak (works until 'inactive' & even if you disable that feature in-tweak settings, it still goes inactive, then wake bug happens). Notifs look good though as long as aod doesnt go inactive, face down/in pocket make it go inactive also.

same with photon, when screen blacks out (AoD inactive), wake bug still persists....

I would try deja vu, but repo is gone.

tritium is the only tweak, so far, that even when screen blacks out (like leaving in pocket/face down), even after hours/overnight, phone still seemingly remains unaffected by the bug...

If tritium & lastlook combined, that would be a savage tweak lol

Tbh tho, id rather a couple small complaints, than 1 big issue where my phone takes forever to unlock, 99% of the time 😂

And remember, this isnt a permanent solution, just something to get ya by until issues been fixed by linus, or whoever else (pwn, CS, Mr A Random)....at least like this ya aint resigning weekly....small price to pay i think 👍