Siguza / ios-kern-utils

iOS Kernel utilities
MIT License
240 stars 54 forks source link

ipad air 9.0.2 #10

Closed brymonster closed 7 years ago

brymonster commented 7 years ago

recently trying to run nvpatch (experimental and master) im getting crashes. got it work a few days ago. but not anymore. of course running it after ./cl0ver

brymonster commented 7 years ago

my bad. wrong command. successful patch. still hangs at restore. waiting for nonce: 56 33 79 b5 27 5c fd 07 66 76 93 f5 ff d6 2b 52 d9 27 2f 66

Siguza commented 7 years ago

Last I checked, you manually go to recovery mode before trying to restore, right? What if you don't do that (futurerestore should do it automatically)? Maybe that "uses up" the first nonce...
But as I've said before, probably the only one who can really help here is tihmstar.

brymonster commented 7 years ago

im not sure. good point. seems it does check, n might b able to do it itself. running now.. newest.txt

brymonster commented 7 years ago

seems like the master kern utils worked out 1 of 5. but honestly i dont think thats the problem. directly after reboot and ./cl0ver i can run nvram com.apple.system.boot-nonce=0x16720224aed2294e with no error.. so is my nonce patched? lol idk.

brymonster commented 7 years ago

just as u suggested in normal mode. futurerestore will pop her into Recovery np. still no joy tho.

screen shot 2017-03-05 at 1 46 25 pm

weird joojoo with the generator i believe, when i first started trying this it would change, and then for a time it showed two, the valid one and target generator. now i just get the correct one.. all the time. but it doesnt work.

Siguza commented 7 years ago

Uppercase. The System needs to be in uppercase. You're setting an NVRAM variable that no-one is looking for. -.-

nvram com.apple.System.boot-nonce=0x16720224aed2294e
brymonster commented 7 years ago

ive tried both. then why is my generator always set? is that strange?

brymonster commented 7 years ago

just rechecked my blobs.

screen shot 2017-03-05 at 1 52 24 pm
Siguza commented 7 years ago

What do you mean "always set"? You can set any NVRAM variable you like, e.g. herp=derp and it'll persist across reboots. Doesn't mean anyone's looking for them. Just get to it and use an uppercase S.

brymonster commented 7 years ago

ok i was under the impression your had to set NVRAM every boot. my bad. so after the cl0ver patch theres no need to set the generator or use nonceEnablers again n again.

brymonster commented 7 years ago

i changed the generator, then back to the correct one. started to restore!! but got error 11. n now my nonce is 'set' but i cant recreate the same success. nvpatch com.apple.System.boot-nonce is crashing my device everytime.. strange boot-args now too.

iBad:/var/mobile/Downloads/kern root# nvram -p backlight-level 1607 com.apple.System.fp-state %00%00%00%00`%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00 boot-args rd=md0 nand-enable-reformat=1 -progress auto-boot true com.apple.system.boot-nonce 0x16720224aed2294e

Siguza commented 7 years ago

Alright, since restoring isn't my field and the technical issue is the same as in ticket #2, I'm closing this as a duplicate of it. If your issues with kern-utils persist, please comment on the other ticket.