r/jailbreak • u/JonSingleton iPhone XR, 13.3 | • Feb 02 '17
Tutorial [Tutorial] Add nonce to NVRAM in case of a bootloop
http://techuptake.com/preemptive-bootloop-escape-route/
96
Upvotes
r/jailbreak • u/JonSingleton iPhone XR, 13.3 | • Feb 02 '17
11
u/JonSingleton iPhone XR, 13.3 | Feb 02 '17
I had a hosting plan I wan't using as well as this domain from a project I intended to start but never did. I saw a bunch of questions being answered and scattered around that aren't yet on the wiki, so I figured hell why not.
If you find it useful, yay! If not, or if I'm missing something - please let me know and I'll fix it up.
Also, there is no revenue stream on this page, no ads or anything. This is genuinely just a hope of being helpful.
4
u/[deleted] Feb 02 '17
I've rebooted my iPhone and rejailbroken it to see if it still was there with "nvram -p" and it was still there, so I don't believe it has to be done "every reboot" but I guess it couldn't hurt to have tweak of this to do this automatic every time. (To be sure)
3
u/Ahanank Feb 02 '17
Thank you for this. Very useful indeed.
2
u/lulgate iPhone 5S, iOS 10.2 Feb 02 '17
Can you help this user.
1
u/jvstt Feb 02 '17
Didn't get 10.1.1 shsh2 blobs i have a problem right? Did get my 10.2 blobs though but im on i7 so yeah thats a loss
1
u/ThisIsMeRightThere iPhone 6s, iOS 10.2 Feb 02 '17
So, is this the best alternative to secure the jb for those (us), who didn't save their blobs?
1
u/eRa_Tension iPhone XS, iOS 12.1.1 Feb 02 '17
So did I do this right? I was kinda confused on whether or not to retype the command on nvram -p or if I should just type nvram -p because you said to verify it in the "<>" so I just typed nvram -p
But here's what I got
Spicy-Boi:~ mobile$ su Password: Spicy-Boi:/var/mobile root# nvram com.apple.System.boot-nonce= (My generator, don't know if it's bad to share so censoring it) Spicy-Boi:/var/mobile root# nvram -p oblit-begins OblitType: ObliterateDataPartition. No reason given. obliteration handle_message: Obliteration Complete backlight-level 1532 com.apple.System.boot-nonce (my generator, don't know if it's bad to share so censoring it) boot-args auto-boot true com.apple.System.tz0-size (6 digits and a upper and lower case letter, again don't know if it's bad to share) Spicy-Boi:/var/mobile root#
1
u/SBI-boy iPhone XS Max, 14.8 | Feb 02 '17
what’s the difference between doing this method and using the noncenabler package??
1
u/derpherp128 iPhone 5S, iOS 10.2 Feb 02 '17
For 5S, since we have multiple nonces, which one should we choose?
1
u/pedrofer8290 Feb 02 '17
In my noapnonce folder of 10.2 I have 2 shsh2 files, which should I use? Thanks
1
u/masterofwasabi iPhone 7, iOS 11.0.1 Feb 02 '17
Almost positive Luca built this into b4/b5/bwhatever
1
u/keveeeezy iPhone 6s Plus, iOS 12.1.1 Feb 02 '17
I've never been stuck in a bootloop and I have my blobs saved. Do I do this to prevent a bootloop from happening or do I do this if I'm in a bootloop. Sorry, I'm not quite understanding what is being done or needs to be done.
1
u/[deleted] Feb 02 '17
getting
after step 5 part 3
1
u/zenithy iPhone 8 Plus, iOS 11.3 Feb 02 '17
How can I know my generated id works or not ?
2
u/[deleted] Feb 02 '17
i m jailbroken on 9.3.3 via Luca's jailbreak me method.....can i also use this method??
1
u/ThisIsMeRightThere iPhone 6s, iOS 10.2 Feb 02 '17
Oh, thanks!
1
u/keveeeezy iPhone 6s Plus, iOS 12.1.1 Feb 03 '17
Am I doing this wrong? I'm getting a "darkboot false."
keveeeezy:~ mobile$ su root Password: keveeeezy:/var/mobile root# nvram com.apple.System.boot-nonce=0xXXXXXXXXXXXXX keveeeezy:/var/mobile root# nvram -p boot-args com.apple.System.boot-nonce 0xXXXXXXXXXXXXXX darkboot false auto-boot true backlight-level 1527 keveeeezy:/var/mobile root#