Stuck at "Getting device info and pwning... this may take a second"
I'm on Ubuntu 22.04.3 with an iPhone 5S running iOS 11.4.1. I have no idea what's going on but when I run sudo ./sshrd.sh 12.0 I get this output and the story does not change with different versions of iOS specified in the command. I did the Linux notes at the start, but I don't know if there's a specific point that it needs to be done?
Output with sudo:
[*] Waiting for device in DFU mode
[*] Getting device info and pwning... this may take a second
It just sits there and the device disappears from lsusb.
When running it without sudo it does this:
[*] Waiting for device in DFU mode
[*] Getting device info and pwning... this may take a second
ERROR: Unable to connect to device
ERROR: Unable to connect to device
ERROR: Unable to connect to device
jq: error (at <stdin>:1): Cannot index number with string "firmwares"
parse error: Invalid numeric literal at line 1, column 9
Any help is greatly appreciated! Also, it would be nice to know the significance of the iOS version specified. Does it need to fit certain criteria?
EDIT: The device does not disappear when running without sudo.
I have the same problem
I have the same problem VMware Ubuntu20.04 + iPhone6S(iOS15.8) or iPhoneX(iOS14.4)
[] Waiting for device in DFU mode [] Getting device info and pwning... this may take a second
and a hour later no message
This issue happens because irecovery can not see the device, and to solve this issue you need to run the script as root !
sudo ./sshrd.sh boot
However If script still hangs after running it as root then probably it's another issue.
Try to cd into irecovery folder and then run sudo ./irecovery -v -q and see If it can query device info or not.
Solution: unplug and replug fast when it gets stuck