SparseBox icon indicating copy to clipboard operation
SparseBox copied to clipboard

idevicebackup2 exited with code -18

Open joseyskindaweird opened this issue 1 year ago • 10 comments

`'23:43:57 [TRACE] minimuxer::muxer: Handling ListDevices Executing args: ["idevicebackup2", "-n", "restore", "--no-reboot", "--system", "/var/mobile/Containers/Data/Application/E0FCE661-3496-4795-93BC-83DA8AFDA7EA/Documents/"] 23:43:57 [TRACE] minimuxer::muxer: Handling ListDevices Backup directory is "/var/mobile/Containers/Data/Application/E0FCE661-3496-4795-93BC-83DA8AFDA7EA/Documents/" 23:43:57 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:57 [TRACE] minimuxer::muxer: Handling ReadBUID 23:43:57 [TRACE] minimuxer::muxer: handle_packet error: UnknownMessageType 23:43:57 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:57 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:57 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:57 [TRACE] minimuxer::muxer: Handling ReadPairRecord Started "com.apple.mobilebackup2" service on port 52414. 23:43:57 [TRACE] minimuxer::muxer: Handling ReadPairRecord Negotiated Protocol Version 2.1 Reading Info.plist from backup. 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:58 [TRACE] minimuxer::muxer: Handling ReadBUID 23:43:58 [TRACE] minimuxer::muxer: handle_packet error: UnknownMessageType 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:58 [TRACE] minimuxer::muxer: Handling ReadBUID 23:43:58 [TRACE] minimuxer::muxer: handle_packet error: UnknownMessageType 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:58 [TRACE] minimuxer::muxer: Handling ReadBUID 23:43:58 [TRACE] minimuxer::muxer: handle_packet error: UnknownMessageType 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord Starting Restore... Restoring system files: Yes Rebooting after restore: No Don't copy backup: Yes Preserve settings of device: Yes Remove items that are not restored: No Backup password: No No Applications in Info.plist, skipping creation of RestoreApplications.plist Wrote RestoreApplications.plist Sending '/Status.plist' (488 Bytes) Sending '/Manifest.plist' (2.2 KB) Sending '/Manifest.mbdb' (367 Bytes) Sending '/Info.plist' (181 Bytes) Sending '/5d4fb285a3a8c4349cd1672bb6551066383db4df' (0 Bytes) Sending '/d9d5357af48079ffd6828954cd3915b0266ad2f1' (14.9 KB)

[==================================================] 100% Finished ErrorCode 18: _restoreRegularFiles:size: rename error: Cross-device link (18) at path "/private/var/.backup.i/var/root/Library/Backup/SystemContainers/Data/../../../../../../../../crash_on_purpose" (MBErrorDomain/18) Restore Failed (Error Code 18). 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:58 [TRACE] minimuxer::muxer: Handling ReadBUID 23:43:58 [TRACE] minimuxer::muxer: handle_packet error: UnknownMessageType 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord 23:43:58 [TRACE] minimuxer::muxer: Handling ReadPairRecord idevicebackup2 exited with code -18

is the console output, any solutions?

joseyskindaweird avatar Sep 14 '24 04:09 joseyskindaweird

crash_on_purpose

Expected behavior. Your device should reboot and changes should be applied.

khanhduytran0 avatar Sep 14 '24 04:09 khanhduytran0

crash_on_purpose

Expected behavior. Your device should reboot and changes should be applied.

how long do you have to wait, it stays on that screen for a long time

joseyskindaweird avatar Sep 14 '24 04:09 joseyskindaweird

Are you using latest build?

khanhduytran0 avatar Sep 14 '24 04:09 khanhduytran0

Are you using latest build?

yes, i'm using the latest ipa from the latest github action

joseyskindaweird avatar Sep 14 '24 04:09 joseyskindaweird

if it helps, i'm on the iPhone SE 3rd Generation on iOS 18 RC

joseyskindaweird avatar Sep 14 '24 05:09 joseyskindaweird

after it exits, reboot yourself manually

pengubow avatar Sep 14 '24 09:09 pengubow

after it exits, reboot yourself manually

after rebooting, changes do not apply

joseyskindaweird avatar Sep 14 '24 17:09 joseyskindaweird

after it exits, reboot yourself manually

after rebooting, changes do not apply

same issue here

4PERTURE avatar Sep 20 '24 17:09 4PERTURE

Same, iPhone SE 3 iOS 18.1 beta 4

But I read that we should use SideStore MDC version, you can grab it from their discord

image

I couldn't try it unfortunately, I've 0 App IDs, have to wait another week

arahmaneldesouki avatar Oct 11 '24 09:10 arahmaneldesouki

Worked!!

I did a new iCloud with a new windows user!!

iPhone SE 3 iOS 18.1 beta 4!

Ps: run it when you've three apps,

image

image

arahmaneldesouki avatar Oct 11 '24 21:10 arahmaneldesouki