r/jailbreak • u/Rishanan iPhone 7, iOS 10.1.1 • Feb 03 '17
Tutorial [Tutorial] Load your generator/nounce on your iDevice before it's too late. Step by step tut.
This tut shows you how to set your nvram to your specific nonce so that you can upgrade/downgrade with Prometheus.
Requirements:
MTerminal
Filza
Jailbroken phone with tfp=0 (iOS 9.1 & 10.0.1-10.2 b7)
If I'm not wrong on 9.3.x when you jb with jbme.qwertyoruiop.com , should be tfp=0 (Heard before, not sure)
1) Open Filza to root directory and create new file.
2) Now change its permission to 755 by pressing the "i" icon beside the file.
3) Now copy the code below and paste it in that file(open with any text editor) along with your nonce/generator from your shsh2 after "=" as per picture below.
Code:
nvram com.apple.System.boot-nonce=
nvram -p
4) Now open terminal and enter 'su' without the open inverted commas and type your root password. Default Password: alpine
5) Now enter 'cd /' as per pic below
6) Now enter './nounce'
7) If you see your nonce after 'com.apple.System.boot-nonce' as per picture below you're all good and ready incase a boot loop slams you in the face.
Luca wrote the code so that the Kernal should not overwrite the nonce. (That smart ass boy, thanks) So if you reboot your phone and run 'nvram -p' in terminal your nonce will still be there. If it's not there just repeat steps 4-6, you will be all good. Just reinstalled 10.2 and it works like a charm instantly. No waiting time. Good luck.
Rishanan
Edit: The correct spelling is nonce not nounce. My bad.
16
u/[deleted] Feb 03 '17
What is the purpose of this?
10
u/eRa_Tension iPhone XS, iOS 12.1.1 Feb 03 '17 edited Feb 03 '17
An alternate way to do this
Make sure you have:
Instructions:
If all went well you should see this when you run "nvram -p"
backlight-level <your backlight level> com.apple.System.boot-nonce <your generator> boot-args auto-boot true com.apple.System.tz0-size <your tz0 size? Not exactly sure what this is> <your username>:/var/mobile root#
If you see something like this
<your username>:/var/mobile root# nvram -p oblit-begins OblitType: ObliterateDataPartition. No reason given. obliteration handle_message: Obliteration Complete backlight-level <your backlight level> com.apple.System.boot-nonce <your generator> boot-args auto-boot true com.apple.System.tz0-size <your tz0 size? Not exactly sure what this is> <your username>:/var/mobile root#
instead I can't help you, I'm having the same issue. As far as I can tell it doesn't effect your nonce and I haven't noticed any problems with my device that seem to be link to this
1
u/Rishanan iPhone 7, iOS 10.1.1 Feb 05 '17
The shsh2 which generator you store in the nvram
1
u/[deleted] Feb 03 '17
Which beta did you test it on?
1
u/thejailbreaker102 iPhone 6s, iOS 10.2 Feb 03 '17
How can I find my nounce?
1
u/sjkuksee iPhone X, 13.5 | Feb 03 '17
Is it safe to do this?
1
u/adhiindra iPhone 11, 13.3 | Feb 03 '17
How to find nonce ?
1
u/Karnage420 iPhone 11 | Feb 03 '17
Can you explain why I want to do this? I'm confused.
1
u/Sly-Fi Feb 03 '17
Can I use this on 9.3.3 jailbroken by jbme.qwertyoruiop.com, then use futurerestore to get to 10.2 with my saved blobs?
1
u/ImTheJP iPhone XS Max, iOS 12.4 Feb 03 '17
Will this work for an IP7 on 10.1 b3?
1
u/marcusgx iPhone 11 Pro Max, iOS 13.3 Feb 03 '17
Do I still go about using Prometheus the same way?
1
u/legosrock8282 iPhone 6s, iOS 10.1.1 Feb 03 '17
What does tfp=0 mean?
Also, I just got an i6s on 10.1.1 from apple. Because that's not signed, i can't save the blobs, so this is useless, correct?
1
u/jonatansuarez Feb 03 '17
is this ok ??? http://imgur.com/a/glND8
1
u/SLUSHMONKEY_ Feb 03 '17
I'm not seeing the code that's supposed to be there
1
u/MNR_Franklin Feb 03 '17
How to get nonce/generator. I had saved shsh2 blobs any idea
1
u/thrash2burn iPhone 6s, iOS 12.1.1 beta Feb 03 '17
I cannot find the term "generator" in any of my .shsh2 files, why is this?
1
u/Lauwie007 iPhone 6, iOS 10.2 Feb 03 '17
Why would you do this now? You only need it for restore right? You could set your nounce when you are going to restore...
1
u/Razieal121 Feb 03 '17
"Jailbroken phone with tfp=0 (iOS 9.1 & 10.0.1-10.2 b7)"
What about iphone 7/Plus jailbroken on 10.1.1 with Beta 3???
1
u/Tommyboy008 Feb 03 '17
Hi, thanks for the tuto. Could you tell me if it's ok ? https://imgur.com/a/4Lbia Many thanks
1
u/Domixin iPhone 8 Plus, iOS 11.3.1 Feb 03 '17
So this is only useful if you saved blobs, correct? So if I didn't save blobs before the signing window closed there is no need to do this?
1
u/supernovasghost iPhone 6s, iOS 10.2 Feb 03 '17
Did this as a precaution and it worked easily.
Note: you should edit your instructions. The part where you say then add you code/generator to the file wasn't very clear. You should let them know they have to pull up the text view and add it through that. If your not familiar with filza it can be tricky
1
u/vichuu iPhone 6s Plus, iOS 10.1.1 Feb 03 '17
how can I do the 3rd step? I tried opening saved shsh2 file in notepad.
1
u/[deleted] Feb 03 '17
how do i get my nonce/generator? yes, i have saved my blobs
1
u/wrightmf iPhone 11 Pro Max, 13.5 | Feb 03 '17
Ugh I hate asking questions here, but I've searched and sorted through multiple posts and still can't find the answer.
I saved my blobs using 1Conan's tool. The resulting package contained several "NONCE_..." folders, with each folder containing 4 .shsh2 files for my iPhone 6 (10.1, 2 separate files for 10.1.1, and 10.2). In searching through each file, I never see the word "generator". Searching the folder for the word "generator" comes up with nothing as well. Checking the files on 1Conan's site reveals them to be valid and shows me my Apnonce, with a valid rosi tag.
All that being said, what string do I store using nvram?
1
u/YumGT Feb 03 '17
i don't understand what this does. can you dumb it down for me lol
1
u/2teeman2 iPhone 8 Plus, 13.3.1 | Feb 03 '17 edited Apr 09 '25
ruthless nine reach slap simplistic zephyr soft pause ad hoc mindless
This post was mass deleted and anonymized with Redact
1
u/[deleted] Feb 03 '17
Noob here, 2 question .. so this will help you downgrade to 10.2 if you lose your jailbreak in bootloop ? And secondly, do u need to do this every reboot ( it's not clear for me).
Don't shoot me and thank u
1
u/SBI-boy iPhone XS Max, 14.8 | Feb 03 '17
Still don’t understand which is the advantage of doing this instead of using the nonce generator package on mac. Can somebody explain pls??
1
u/Shrapnel77 iPhone 6 Plus, iOS 12.4 Feb 03 '17
What do you mean "before its to late" ?
Are you referring to an upcoming deadline? or just warning people to do it before they accidentally bootloop/etc their phone and need to restore?
1
u/TopCheddar27 iPhone 6s, iOS 10.2 Feb 03 '17
This is why I get after setting my nonce through mterminal. http://i.imgur.com/If1drjK.png . Does this look normal? Because it doesn't look like your screenshot at the end of the post.
1
u/dducanhlee iPhone X, iOS 13.3 Feb 03 '17
If I restore with Prometheus, my touch ID will lost, right?
1
u/shrikeonabranch Feb 03 '17
I'm on 10.2 now, can I still save necessary info in case of a boot loop? Also, is it possible to restore from a previous backup that was made while on 10.2 without having to upgrade? The topic of this post has always been confusing to me, anyone willing to explain it like I'm five would be greatly appreciated.
1
u/[deleted] Feb 03 '17
Do I need to this I have my shsh2 blobs saved first 10.2 and 10.2.1
1
u/failly Feb 03 '17
I have backed-up my SHSH blobs with a tool that was on this sub reddit a week ago. It was a tool for the Mac to save SHSH Blobs. The application had two different 10.2 SHSH blobs, named 'Erase' and 'Update'. Both have different nonce generators when I open them, which one should I use?
1
u/failly Feb 03 '17
Should I use the generator from the .SHSH (not SHSH2) file from one of the 'apnonce' folders or should I use the generator from the .SHSH2 file from the 'noapnonce' folder?
1
u/iampatricktan Feb 03 '17
Btw bro, after changing permissions the created file turns exec file, idk why.
1
u/toniqyteza iPhone 6s, iOS 11.4.1 Feb 03 '17
does futurerestore work for window yet
1
u/SeaSkully Feb 03 '17
Can someone confirm that this is alright please? I didn't not know what to black out so i scribbled http://i.imgur.com/Ffzy6Y2.jpg thank you
1
u/tk_ios iPhone 11 Pro, 17.0 Feb 03 '17
Rishanan, is it true that this is only a temporary option to fix boot loop? I understand that because of the way Prometheus works, that a restore to 10.2 will not work, or that Touch ID may break, if Prometheus is attempted when 10.2.1 is no longer signed. Is that correct?
1
u/Sk1rm1sh Feb 03 '17
Thanks for the effort of putting all this together! I see your edit, can I please confirm that all instances of 'nounce' in this tutorial should be replaced with 'nonce'?
1
u/xgreybaron iPhone 13 Pro, 16.6.1 Feb 03 '17
I can't write the boot-nonce to the NVRAM, I get this error:
nvram: Error setting variable - 'com.apple.System.boot-nonce=0xh4x0r1337f420' (iokit/common) general error
Does anyone have a recommendation on how to fix? iPhone 6, iOS 10.2, Yalu b7
1
u/Methaxetamine iPhone 6s, iOS 10.2 Feb 04 '17
http://i.imgur.com/WBH1C5x.jpg this looks wrong doesn't it?
1
u/blackjackel iPhone X, iOS 11.4 beta Feb 04 '17 edited Feb 04 '17
How do i get my nonce? I used the online blob generator to make blobs and also made blobs using the local method, I used the public nonces that yalu released but the nonce number does not contain a 0xwhatever and is much longer than what is in this tut, here is one of the nonces i used: 9804d99e85bbafd4bb1135a1044773b4df9f1ba3
you can see it doesn't look like the one in the tut
i get a general error when running the nonce file
edit: ok, the files that i made locally didn't have the generator output, but the one i made with the online shsh blob maker did have the generator thing, i input it and saved and ran again and I get:
error setting variable, general error, i copied the generator string exactly as shown
edit2 SOLVED I just had to update to beta 7!
1
u/blackjackel iPhone X, iOS 11.4 beta Feb 04 '17
do we have to do this every time we reboot?
1
u/Furby8704 iPhone 13 Pro, 15.0.1 Feb 04 '17
this doesnt work on iphone 7 yalu beta 3 for 10.1.1 right??. i dont think tfp=0 is enabled
1
u/MadFive Feb 04 '17
Do you have any idea why this error happens?
MadFive:/ root# nvram com.apple.System.boot-nonce=0x353x01x19xd9x6xx nvram: Error setting variable - 'com.apple.System.boot-nonce': (iokit/common) general error
Of course, I used my real generator
1
u/henry_reinhold iPhone 8, iOS 11.0.2 Feb 05 '17
Filza crashes for me Ios 10.2 iP5s Any ideas?
1
u/Alanb8642 Feb 05 '17 edited Feb 06 '17
is this rightis this ok
1
u/[deleted] Feb 05 '17
Well, i do all steps with the file "nounce" not "nonce"? Its ok? After restart executing "nvram -p" i have the same nonce generator, i think its all ok... But my question is: What i need to do in case of bootloop? Thanks for the guide :)
1
u/brampower iPhone 6, iOS 10.2 Feb 05 '17
I have both of these files: http://i.imgur.com/88si9Xm.png
Both have different generators. Which of these files should I use?
Thanks in advance for any help! :)
1
u/ihateCarl iPhone SE, iOS 10.2 Feb 05 '17
Thank u. great tutorial. I'm a first time jailbreaker and I understood it
1
u/MegaRodeon iPhone XR, 13.5 | Feb 06 '17
Dear Rishanan please clarify, at the end of this post you say the correct spelling is 'nonce' not 'nounce', then what about the file that you say we're required to create at the beginning (nounce.file)?
1
u/jarj75 iPhone X, iOS 11.1.2 Feb 06 '17
iP7+ 10.1.1, Yalu Beta 3 "Error setting variable - 'com.apple.System.boot-nonce': (iokit/common) general error" I know that tfp=0 is not enabled. But how can i set the nonce then ? I just can't do it ? i have one 10.2 blob
1
u/manuyzmani iPhone 14 Pro Max, 16.3.1 Feb 06 '17
Thank you very much for your detailed tutorial but for me, after I followed all the steps, I keep getting this: top screen is my MTerminal, bottom the content of the nonce file [img]http://i.imgur.com/ZVM94cT.png[/img]
I read that others got the same problem so I tried many times, rebooting and jailbreaking over and over again with jbme.qwertyoruiop.com, to no avail. Do you or someone else have an idea how to solve this?
Thanks
1
u/MrTwerk247 iPhone 8 Plus, iOS 11.1.2 Feb 06 '17
How do I find my shsh2 generator or whatever it's called?
1
u/NgXAlex iPad Pro 11, M1, 17.0 Feb 10 '17
So the file on root is "nounce" or "nonce" ?
Because you say "The correct spelling is nonce not nounce" and on pictures the file is "nounce"
;)
3
u/andreashenriksson Developer Feb 03 '17 edited Feb 03 '17
What no one have said anywhere in this thread is that you should validate the SHSH2 blob since tihmstar didn't realize Apple changed some things when iOS 10 came out. The blob may be invalid. You do this with his img4tool. Read more here.
Edit: you can also do this with 1Conan's site. Haven't done that myself but you can read about it here.
1
u/-MTAC- Developer Feb 03 '17
Nounce? It's nonce
1
u/kbessayli iPhone XS Max, iOS 12.4 Feb 03 '17
Ok so I want to do this but I have like 6 folders in my 10.2 blobs folder. 5 of them start with apnonce-random numbers and one of them is just noapnonce. Which one do I get my generator from?
1
u/[deleted] Feb 03 '17
Thanks for posting this tutorial. I'm all set in case things go pear shaped.
1
u/morriscox iPhone 5S, iOS 10.2 Feb 03 '17
I made a mistake with the generator value for the nonce and I now get an error about setting the value when I try to correct it. I am using MTerminal. What do I do?
1
u/c4curtis iPhone 13 Pro Max, 15.3.1 Feb 03 '17
What does this exactly do?
1
u/nayidrag Feb 03 '17
can someone guide me how to do this at pangu 9.1 ?
1
u/Aero_Z iPhone 8 Plus, iOS 12.4 Feb 03 '17
Why not just execute the nvram command as root in terminal? You could also save the whole command with your generator into your Notes app or w/e incase you need it later.
1
u/legosrock8282 iPhone 6s, iOS 10.1.1 Feb 03 '17
Oh yeah, it's already jailbroken...
1
u/dogerthat Feb 03 '17
I got 2 files in the "noapnonce" folder with a different nonce (<key>generator</key><string>I_think_this_is_the_nonce?</string>:
which one should I use?
1
u/huxain iPhone 6, iOS 11.1.2 Feb 03 '17
is tfp0 enabled on ios 8.1.2 taig version 1.3 cant seem to run nonceEnabler
when I try to run it gives me
and amfid crashes on my phone help :P
1
u/Old_Man_Scope Feb 03 '17
Thank you mate been waiting for a guide so I could better grasp the concept.
1
u/Tmellema91 iPhone XR, iOS 12.4 Feb 04 '17
Worked perfectly! Thank youuuu
1
u/esezen iPhone X, iOS 11.1.2 Feb 04 '17
RemindMe! 6 hours
1
u/[deleted] Feb 04 '17
--> Noob here again
so i did this and it works perfectly, now (question) this will help in case my 6s went into boot loop ? (it helps downgrade to 10.2) ???
1
u/smurf3310 iPhone 15 Pro Max, 18.1 Feb 04 '17
tihmstar said that the collision thing is patched, futurerestore will only find collisions for iphone 5s and some ipad 2 i think edit: im talking about downgrading without jailbreak on unsigned os
1
u/[deleted] Feb 05 '17
So if you successfully restore, would the nonce you set then change and you would need to do these steps again to get ready for the next boot loop?
1
u/mefistos iPhone 6s Plus, iOS 10.2 Feb 05 '17
thank you! you just saved my ass from bootloop and updating to 10.2.1!
1
u/[deleted] Feb 05 '17
would this work on a iPhone 6S on 10.1.1? I heard that the generator online didn't save the blobs for the 6S on 10.1.1 correctly. But since this is the nonce, would this still work? I am on 10.1.1 right now
1
u/obyboby iPhone 12 Pro, 14.7 Feb 05 '17
I have so many SHSH's saved using different methods, that I am now confused about which ones are the correct ones to use, should I end up in a bootloop or so. How can I tell if an SHSH2 is "correct" for a restore?
1
u/Brlala Feb 06 '17
If I have all the time in the world, what does this method benefits me?
1
u/the_maan iPhone X, iOS 11.2.1 Feb 06 '17
Am getting this error ( bash-4.0$ cd "/";./nonce nvram: Error setting variable - 'com.apple.system.boot-nonce': (iokit/common) general error bash-4.0$ )
1
u/Anchello iPhone X, 13.5 | Feb 11 '17
Tried it on 8.1 but this appears after I hit enter in Terminal sh: ./nounce: No such file or directory I did it exactly like in the tut
Any ideas ?
1
u/rupert3k iPhone 7 Plus, 13.4 | Feb 12 '17
Thanks Rishanan, works perfectly.
1
u/fredsiu Feb 12 '17 edited Feb 12 '17
I am on 8.1.2 jailbroken iPhone6 using TaiG, successfully installed nonceEnabler Patch version 1.0-1. Been trying different methods such as via terminal SSH, MTerminal on iPhone, even creating the "nounce" file, but still getting (iokit/common) general error. Is there any chance I can patch the tfp0 for iOS8.1.2 using TaiG 8.0-8.1.X Untether? Been searching on google but nothing really about this topic. Can someone help? I need to upgrade to 10.2 and jailbreak desperately. I have the SHSH2 blob saved but looks like I can't force the nonce in the device because of tfp0 issue?
1
u/MK3SUM Jul 14 '17 edited Jul 14 '17
Ok, I know this is an old post and what I'm about to ask has probably been answered but I'm just not understanding.
I'm on blueyalu i6 10.2, no saved blobs for 10.2 but have 10.3.2 blobs.
Can I use the nonce from the 10.3.2 and still be able to restore 10.2?
And
Could I somehow get my onboard blobs and get the nonce from them and do this? Basically is there any other way to do this without saved blobs for 10.2 at time they where being signed?
0
u/ShadyBlisss iPhone 6, iOS 11.3.1 Feb 03 '17
I haven't got a clue what any of this means. I normally just jailbreak my phone and that's it. Been doing it for years and never had issues nor needed to do what ever this is.