libimobiledevice-win32 / imobiledevice-net

.NET (C#, VB.NET,...) bindings for libimobiledevice
GNU Lesser General Public License v2.1
307 stars 76 forks source link

unable to restore for iphone 12 #178

Open prateeksingh22 opened 3 years ago

prateeksingh22 commented 3 years ago

Hi, I am unable to restore iPhone 12

i am using the cmd as administrator in windows10 64 bit i got his error.

C:\Users\%UserName%\source\repos\BitRaserMobileEraser\BitRaserMobileEraser\bin\x86\Debug\win-x86>idevicerestore.exe -e -d -l -y -C "C:\Users\%UserName%\Desktop\restore" 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:650 lockdownd_client_new(): device udid: 00008101-000338A111F0001E 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:379 lockdownd_query_type(): called 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:132 internal_plist_send(): sending 287 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 4 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 4, sent 4 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 287 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 287, sent 287 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:137 internal_plist_send(): sent 287 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:138 internal_plist_send(): printing 287 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Label idevicerestore Request QueryType

16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:205 internal_plist_receive_timeout(): initial read=4 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:211 internal_plist_receive_timeout(): 297 bytes following 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:224 internal_plist_receive_timeout(): received 297 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:253 internal_plist_receive_timeout(): printing 297 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Request QueryType Type com.apple.mobile.lockdown

16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:395 lockdownd_query_type(): success with type com.apple.mobile.lockdown 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:132 internal_plist_send(): sending 333 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 4 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 4, sent 4 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 333 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 333, sent 333 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:137 internal_plist_send(): sent 333 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:138 internal_plist_send(): printing 333 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Label idevicerestore Key UniqueChipID Request GetValue

16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:205 internal_plist_receive_timeout(): initial read=4 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:211 internal_plist_receive_timeout(): 336 bytes following 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:224 internal_plist_receive_timeout(): received 336 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:253 internal_plist_receive_timeout(): printing 336 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Key UniqueChipID Request GetValue Value 906689371963422

16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:448 lockdownd_get_value(): success 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:459 lockdownd_get_value(): has a value idevice_event_cb: device 000338a111f0001e (udid: 00008101-000338A111F0001E) connected in normal mode Found device in Normal mode 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:650 lockdownd_client_new(): device udid: 00008101-000338A111F0001E 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:379 lockdownd_query_type(): called 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:132 internal_plist_send(): sending 287 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 4 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 4, sent 4 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 287 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 287, sent 287 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:137 internal_plist_send(): sent 287 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:138 internal_plist_send(): printing 287 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Label idevicerestore Request QueryType

16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:205 internal_plist_receive_timeout(): initial read=4 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:211 internal_plist_receive_timeout(): 297 bytes following 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:224 internal_plist_receive_timeout(): received 297 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:253 internal_plist_receive_timeout(): printing 297 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Request QueryType Type com.apple.mobile.lockdown

16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:395 lockdownd_query_type(): success with type com.apple.mobile.lockdown 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:650 lockdownd_client_new(): device udid: 00008101-000338A111F0001E 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:379 lockdownd_query_type(): called 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:132 internal_plist_send(): sending 287 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 4 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 4, sent 4 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 287 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 287, sent 287 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:137 internal_plist_send(): sent 287 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:138 internal_plist_send(): printing 287 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Label idevicerestore Request QueryType

16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:205 internal_plist_receive_timeout(): initial read=4 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:211 internal_plist_receive_timeout(): 297 bytes following 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:224 internal_plist_receive_timeout(): received 297 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:253 internal_plist_receive_timeout(): printing 297 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Request QueryType Type com.apple.mobile.lockdown

16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:395 lockdownd_query_type(): success with type com.apple.mobile.lockdown 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:132 internal_plist_send(): sending 335 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 4 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 4, sent 4 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 335 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 335, sent 335 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:137 internal_plist_send(): sent 335 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:138 internal_plist_send(): printing 335 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Label idevicerestore Key ProductVersion Request GetValue

16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:205 internal_plist_receive_timeout(): initial read=4 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:211 internal_plist_receive_timeout(): 325 bytes following 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:224 internal_plist_receive_timeout(): received 325 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:253 internal_plist_receive_timeout(): printing 325 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Key ProductVersion Request GetValue Value 14.2

16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:448 lockdownd_get_value(): success 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:459 lockdownd_get_value(): has a value 16:35:33 D:\a\1\s\libimobiledevice\common\userpref.c:198 userpref_read_system_buid(): using 30607803-58223711186019804 as SystemBUID 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:132 internal_plist_send(): sending 432 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 4 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 4, sent 4 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 432 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:548 idevice_connection_send(): internal_connection_send 432, sent 432 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:137 internal_plist_send(): sent 432 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:138 internal_plist_send(): printing 432 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Label idevicerestore Request StartSession HostID 2EA0E7E1-C39D-A107-8144-6BE8A024DE86 SystemBUID 30607803-58223711186019804

16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:205 internal_plist_receive_timeout(): initial read=4 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:211 internal_plist_receive_timeout(): 354 bytes following 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:224 internal_plist_receive_timeout(): received 354 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:253 internal_plist_receive_timeout(): printing 354 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

EnableSessionSSL Request StartSession SessionID 82E4BCBC-DB9D-4738-BD05-74F52BB3F9DF

16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:1167 lockdownd_start_session(): Session startup OK 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:1179 lockdownd_start_session(): SessionID: 82E4BCBC-DB9D-4738-BD05-74F52BB3F9DF 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:1186 lockdownd_start_session(): Enable SSL Session: true 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:1007 idevice_connection_enable_ssl(): Performing SSL handshake 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:1031 idevice_connection_enable_ssl(): SSL mode enabled, TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:132 internal_plist_send(): sending 334 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 4 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:531 idevice_connection_send(): SSL_write 4, sent 4 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 334 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:531 idevice_connection_send(): SSL_write 334, sent 334 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:137 internal_plist_send(): sent 334 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:138 internal_plist_send(): printing 334 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Label idevicerestore Key HardwareModel Request GetValue

16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:649 idevice_connection_receive_timeout(): SSL_read 4, received 4 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:205 internal_plist_receive_timeout(): initial read=4 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:211 internal_plist_receive_timeout(): 326 bytes following 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:649 idevice_connection_receive_timeout(): SSL_read 326, received 326 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:224 internal_plist_receive_timeout(): received 326 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:253 internal_plist_receive_timeout(): printing 326 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Key HardwareModel Request GetValue Value D52gAP

16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:448 lockdownd_get_value(): success 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:459 lockdownd_get_value(): has a value 16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:261 lockdownd_stop_session(): stopping session 82E4BCBC-DB9D-4738-BD05-74F52BB3F9DF 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:132 internal_plist_send(): sending 366 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 4 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:531 idevice_connection_send(): SSL_write 4, sent 4 16:35:33 D:\a\1\s\libimobiledevice\src\service.c:144 service_send(): sending 366 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:531 idevice_connection_send(): SSL_write 366, sent 366 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:137 internal_plist_send(): sent 366 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:138 internal_plist_send(): printing 366 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Label idevicerestore Request StopSession SessionID 82E4BCBC-DB9D-4738-BD05-74F52BB3F9DF

16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:649 idevice_connection_receive_timeout(): SSL_read 4, received 4 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:205 internal_plist_receive_timeout(): initial read=4 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:211 internal_plist_receive_timeout(): 238 bytes following 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:649 idevice_connection_receive_timeout(): SSL_read 238, received 238 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:224 internal_plist_receive_timeout(): received 238 bytes 16:35:33 D:\a\1\s\libimobiledevice\src\property_list_service.c:253 internal_plist_receive_timeout(): printing 238 bytes plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

Request StopSession

16:35:33 D:\a\1\s\libimobiledevice\src\lockdown.c:277 lockdownd_stop_session(): success 16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:1123 idevice_connection_disable_bypass_ssl(): Skipping bidirectional SSL shutdown. SSL error code: 5

16:35:33 D:\a\1\s\libimobiledevice\src\idevice.c:1138 idevice_connection_disable_bypass_ssl(): SSL mode disabled ERROR: Unable to discover device type