Skip to content

Update usbexec.py fix --dump-rom crash iPhone 8#181

Open
luapp wants to merge 1 commit intoaxi0mX:masterfrom
luapp:master
Open

Update usbexec.py fix --dump-rom crash iPhone 8#181
luapp wants to merge 1 commit intoaxi0mX:masterfrom
luapp:master

Conversation

@luapp
Copy link
Copy Markdown

@luapp luapp commented Oct 22, 2019

Change USB_READ_LIMIT = "0x8000" to "0xFF0"
This fix error when using "sudo ./ipwndfu --dump-rom" on Linux Mint
Device >> iPhone 8 (iOS 13.1.2)

Error:

Traceback (most recent call last):
File "./ipwndfu", line 200, in
securerom = pwned.read_memory(pwned.platform.rom_base, pwned.platform.rom_size)
File "/home/dev/ipwndfu/usbexec.py", line 89, in read_memory
response = self.command(self.cmd_memcpy(self.cmd_data_address(0), address + len(data), part_length), self.cmd_data_offset(0) + part_length)
File "/home/dev/ipwndfu/usbexec.py", line 108, in command
response = device.ctrl_transfer(0xA1, 2, 0xFFFF, 0, response_length, CMD_TIMEOUT).tostring()
File "/home/dev/ipwndfu/usb/core.py", line 1043, in ctrl_transfer
self.__get_timeout(timeout))
File "/home/dev/ipwndfu/usb/backend/libusb1.py", line 883, in ctrl_transfer
timeout))
File "/home/dev/ipwndfu/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 22] Invalid parameter

@luapp luapp changed the title Update usbexec.py Update usbexec.py fix --dump-rom iPhone 8 Oct 23, 2019
@luapp luapp changed the title Update usbexec.py fix --dump-rom iPhone 8 Update usbexec.py fix --dump-rom crash iPhone 8 Oct 23, 2019
@l-arcj
Copy link
Copy Markdown

l-arcj commented Oct 27, 2019

Hello, I would like to ask for help to remove the iphone 6 s plus account, I don't know why you don't recognize me, could someone tell me?

Copy link
Copy Markdown

@rtridz rtridz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants