PyBoot icon indicating copy to clipboard operation
PyBoot copied to clipboard

The device has no langid

Open person4268 opened this issue 5 years ago • 3 comments

person4268@mbp-i-guess ~/PyBoot (git)-[master] % python3 pyboot.py -i iPhone8,2 13.3 -d disk0s1s6
PyBoot - A tool for tether booting Checkm8 vulnerable iOS devices by Matty, @mosk_i

Current version is: Beta 0.6
User choose to boot 13.3 from /dev/disk0s1s6.
Make sure your device is connected in DFU mode
Checking theiphonewiki for 13.3 keys...
Found Keys!
Found a keys page with multiple models...
Which is your device?
1: N66AP
2: N66mAP
Enter 1 or 2: 2
User chose N66mAP, grabbing those keys...
Keys for the other device model are present but not for your model.
PyBoot will place your device into PWNDFU mode and retrieve the needed keys...
Please ensure your device is connected in DFU mode...
Traceback (most recent call last):
  File "./ipwndfu", line 75, in <module>
    checkm8.exploit_a8_a9()
  File "/Users/person4268/PyBoot/resources/ipwndfuKeys/checkm8.py", line 539, in exploit_a8_a9
    device.serial_number
  File "/Users/person4268/PyBoot/resources/ipwndfuKeys/usb/core.py", line 830, in serial_number
    self._serial_number = util.get_string(self, self.iSerialNumber)
  File "/Users/person4268/PyBoot/resources/ipwndfuKeys/usb/util.py", line 314, in get_string
    raise ValueError("The device has no langid")
ValueError: The device has no langid
*** checkm8 exploit by axi0mX ***
Found: CPID:8003 CPRV:01 CPFM:03 SCEP:01 BDID:06 ECID:[redacted] IBFL:1C SRTG:[iBoot-2234.0.0.2.22]

Traceback (most recent call last):
  File "pyboot.py", line 496, in <module>
    main()
  File "pyboot.py", line 475, in main
    img4.img4stuff(args.ios[0], args.ios[1], useCustomLogo, logopath, arewelocal, bootOtherOS, bootArgs, amfiPatches)
  File "/Users/person4268/PyBoot/resources/img4.py", line 214, in img4stuff
    pwndfumodeKeys()
  File "/Users/person4268/PyBoot/resources/pwn.py", line 121, in pwndfumodeKeys
    serial_number = device.serial_number
  File "/usr/local/lib/python3.7/site-packages/usb/core.py", line 830, in serial_number
    self._serial_number = util.get_string(self, self.iSerialNumber)
  File "/usr/local/lib/python3.7/site-packages/usb/util.py", line 314, in get_string
    raise ValueError("The device has no langid")
ValueError: The device has no langid
python3 pyboot.py -i iPhone8,2 13.3 -d disk0s1s6  3.53s user 4.04s system 23% cpu 32.708 total

iPhone 6s+ n66map, dualbooting 13.3 with 13.3.

person4268 avatar Jun 03 '20 20:06 person4268

The same device, IOS 13.6, want to dualboot to IOS 13.5. And the same problem.

lifr0m avatar Aug 05 '20 20:08 lifr0m

@Lifr0m I solved this issue by using one of the KVM USB passthrough solutions on Linux from when checkra1n was OSX only. Using another computer should work too.

The issue was on a mid-2012 MBP btw

person4268 avatar Aug 09 '20 00:08 person4268

@Lifr0m I solved this issue by using one of the KVM USB passthrough solutions on Linux from when checkra1n was OSX only. Using another computer should work too.

The issue was on a mid-2012 MBP btw

I have MBP late 2011 lol :(

lifr0m avatar Aug 16 '20 20:08 lifr0m