Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erasure fails on iPhone 7 Plus (Unable to send iBEC) #363

Closed
skortela opened this issue Sep 2, 2020 · 1 comment
Closed

Erasure fails on iPhone 7 Plus (Unable to send iBEC) #363

skortela opened this issue Sep 2, 2020 · 1 comment

Comments

@skortela
Copy link
Contributor

skortela commented Sep 2, 2020

Hi,
I have problem with iPhone 7 Plus erasure.
It always fails on two computers, and always succeeds on with one pc.

Last lines of failed erasure:

found device with ECID 0005799e04fa8326
Setting to interface 0:0
WARNING: set interface failed, error -8
DEBUG: tss_response_get_path_by_entry: No entry 'iBEC' in TSS response
NOTE: No path for component iBEC in TSS, will fetch from build_identity
Extracting iBEC.d11.RELEASE.im4p...
Personalizing IMG4 component iBEC...
Tag found
Sending iBEC (458120 bytes)...
ERROR: Unable to send iBEC component: Unable to upload data to device
ERROR: Unable to send iBEC to device.
ERROR: Unable to send iBEC

Latest sources used.
Windows 10 environment.

Full debug logs with failed and succeeded cases:
idevicerestore_failed.log
idevicerestore_ok.log

What might be the root cause of failures?

@skortela
Copy link
Contributor Author

skortela commented Sep 4, 2020

The root cause seems to be on libirecovery project side.

Could be related to Apple device drivers from windows update.
See libimobiledevice/libirecovery#41

I changed deviceIOControlCode from 0x220195 to 0x2201B6 and that resolves the issue.

Fix-for-erasure.patch.txt

@skortela skortela closed this as completed Sep 4, 2020
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

No branches or pull requests

1 participant