ipwndfu icon indicating copy to clipboard operation
ipwndfu copied to clipboard

Assertion error in ipwndfu when flashing NOR

Open MattStar45 opened this issue 5 years ago • 3 comments

when flashing NOR, I get this error

assert len(payload) <= MAX_SHELLCODE_LENGTH AssertionError

I am running a 3gs New BR. can anyone help or fix this issue?

MattStar45 avatar Nov 08 '19 20:11 MattStar45

any Solution?

abderraouf2che avatar Dec 16 '19 18:12 abderraouf2che

same problem I just change MAX_SHELLCODE_LENGTH = 132 (dfuexec.py, line 278), since the ibss-flash-nor-shellcode.bin is 132 bytes currently (but in early commit it was 128). After that everything works as expected, green screen etc...

Btw, @axi0mX, why that got 4 bytes extra?

However I have to note that after this procedure my device stubbornly remains in DFU and I have to do 'Just Boot' in redsn0w on each reboot. I’m not sure that this is due to the described problem, but nevertheless considered it would be useful to mention it here as well.

shalnoff avatar Apr 05 '20 06:04 shalnoff

hello to Anyone replying, I forked ipwndfu with the old version of flashing nor, I have confirmed it works fine.

MattStar45 avatar Apr 11 '20 02:04 MattStar45