verygenericname / SSHRD_Script

Shell script that creates a ssh ramdisk
BSD 3-Clause "New" or "Revised" License
420 stars 164 forks source link

[iPad Mini 4] unable to connnect to device #125

Open joshuah345 opened 2 years ago

joshuah345 commented 2 years ago

Trying to run on macOS 12.4 Monterey. The ramdisk gets created successfully but after running sshrd.sh boot, only two progress bars complete before ERROR: Unable to connect to device occurs

At this point, the device is in recovery (screen on, but no image) as reported by irecovery -q

joshuah345 commented 2 years ago

i've discovered the problem: The irecovery command for iBSS (or whatever is after it) is being sent far too quickly, which is why irecovery is unable to connect. sleeping for 10 seconds seems to be enough

Han111 commented 2 years ago

Trying to run on macOS 12.4 Monterey. The ramdisk gets created successfully but after running sshrd.sh boot, only two progress bars complete before ERROR: Unable to connect to device occurs

At this point, the device is in recovery (screen on, but no image) as reported by irecovery -q

can you solve it?

fbiego commented 1 year ago
ERROR: Unable to connect to device
[-] An error occurred

I also have the same issue, any solution to this?

knh1 commented 1 year ago

https://github.com/verygenericname/SSHRD_Script/blob/22552d5d6b0626e787fa6806c2776316204c7ac3/sshrd.sh#L151

I had the same issue on my iPad Air 2. Increasing the sleep time after "$oscheck"/irecovery -f sshramdisk/iBEC.img4 to 10 seconds fixed it. Thanks @joshuah345!