libimobiledevice / idevicerestore

Restore/upgrade firmware of iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v3.0
1.33k stars 393 forks source link

iPod4: Unable to successfully restore device #574

Open jvoisin opened 1 year ago

jvoisin commented 1 year ago

On latest git:

$ LD_LIBRARY_PATH=/usr/local/lib/ /usr/local/bin/idevicerestore -l -y
idevicerestore 1.0.0-128-g7b89019-dirty
Found device in Recovery mode
ECID: 663539973391
Identified device as n81ap, iPod4,1
NOTE: Running non-interactively, automatically selecting latest available version
Selected firmware 6.1.6 (build 10B500)
Verifying 'iPod4,1_6.1.6_10B500_Restore.ipsw'...
Checksum matches.
Extracting BuildManifest from IPSW
Product Version: 6.1.6
Product Build: 10B500 Major: 10
INFO: device serial number is C3TDHYCZDCP7
Device supports Image4: false
Variant: Customer Upgrade Install (IPSW)
This restore will update the device without erasing user data.
Checking IPSW for required components...
All required components found in IPSW
Using cached filesystem from 'iPod4,1_6.1.6_10B500_Restore/058-2543-001.dmg'
Getting ApNonce in recovery mode... 67 e0 c9 e5 ee b9 cf a6 91 e4 c9 d1 58 8c f6 70 58 ef 41 d1 
Trying to fetch new SHSH blob
Getting SepNonce in recovery mode... 
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Sending APTicket (2764 bytes)
Extracting iBEC.n81ap.RELEASE.dfu (Firmware/dfu/iBEC.n81ap.RELEASE.dfu)...
Personalizing IMG3 component iBEC...
reconstructed size: 272857
Sending iBEC (272857 bytes)...
Getting ApNonce in recovery mode... 67 e0 c9 e5 ee b9 cf a6 91 e4 c9 d1 58 8c f6 70 58 ef 41 d1 
Sending APTicket (2764 bytes)
Recovery Mode Environment:
iBoot build-version=iBoot-1537.9.55
iBoot build-style=RELEASE
Sending RestoreLogo...
Extracting applelogo@2x.s5l8930x.img3 (Firmware/all_flash/all_flash.n81ap.production/applelogo@2x.s5l8930x.img3)...
Not personalizing component RestoreLogo...
Sending RestoreLogo (15172 bytes)...
ramdisk-size=RELEASE
Extracting 058-2541-001.dmg (058-2541-001.dmg)...
Personalizing IMG3 component RestoreRamDisk...
reconstructed size: 9951577
Sending RestoreRamDisk (9951577 bytes)...
Extracting DeviceTree.n81ap.img3 (Firmware/all_flash/all_flash.n81ap.production/DeviceTree.n81ap.img3)...
Not personalizing component RestoreDeviceTree...
Sending RestoreDeviceTree (65028 bytes)...
Extracting kernelcache.release.n81 (kernelcache.release.n81)...
Personalizing IMG3 component RestoreKernelCache...
reconstructed size: 7271449
Sending RestoreKernelCache (7271449 bytes)...
Waiting for device to enter restore mode...
About to restore device... 
Connecting now...
Connected to com.apple.mobile.restored, version 12
Device 58cab9d0fa2242e0d8b2bf479186c388a68a4b81 has successfully entered restore mode
Hardware Information:
BoardID: 8
ChipID: 35120
UniqueChipID: 663539973391
ProductionMode: true
Previous restore exit status: 0x100
Starting Reverse Proxy
Could not create Reverse Proxy
Waiting for NAND (28)
Previous Restore Log Received:
-version was found and it's set to 1
diag-bits is supplied by AppleNANDFTL
[FTL:MSG] Apple NAND Driver (AND) RW
[FTL:MSG] FIL_Init            [OK]
[FTL:MSG] BUF_Init            [OK]
[FTL:MSG] FPart Init          [OK]
AppleAP3GDL::probe -- Failed to Probe hardware or not the right version res=device error, ID=0x0
AppleEmbeddedI2CGyro::free .. why is someone calling free on me
BSD root: md0, major 3, minor 0
com.apple.AppleFSCompressionTypeZlib kmod start
com.apple.AppleFSCompressionTypeZlib load succeeded
virtual bool AppleMobileFileIntegrity::start(IOService *): built Feb 11 2014 20:55:23
L2TP domain init
L2TP domain init complete
PPTP domain init
AppleCLCD, fMapper: 0x87a13300
+ AppleCLCD(0x8374f000)::start_hardware 
 virtual bool AppleCLCD::start_hardware(IOService *) - Registers->virtual = 0x86f6c000 
AppleRGBOUT, fMapper: 0x87a13000
DisplayPipe fRegisters virtual = 0x86f72000  
void AppleRGBOUT::verify_swap_gated(IOMFBSwapIORequest *, bool *) failed mIsDPOut: 0 mDPDriver: 0 fTVOUTDelegate: 0
AppleRGBOUT verify_swap failed
void AppleRGBOUT::verify_swap_gated(IOMFBSwapIORequest *, bool *) failed mIsDPOut: 0 mDPDriver: 0 fTVOUTDelegate: 0
AppleRGBOUT verify_swap failed
virtual bool AppleM2ScalerCSCHal::init(uint32_t, IOService *, IOService *, IOWorkLoop *): scalerNumber=0, IOKitProvider=0x87ca2b00, powerProvider=0x87ca2b00
bool AppleM2ScalerCSCHal::mapRegisterMemory(IOService *): Scaler 0 RegisterMemoryMap[0x89ae7478]: base=0x86fa8000 physical address = 0x89300000 length = 4096
Scaler 0 enableDeviceClock(true,HALF_CLOCK_INDEX) = 0x0 
Scaler 0 enableDeviceClock(true,FULL_CLOCK_INDEX) = 0x0 
Scaler 0 enableDevicePower(true,0,HALF_CLOCK_INDEX) = 0x0 
Scaler HW version at start is 0x20007 
Scaler 0 enableDeviceClock(false,FULL_CLOCK_INDEX) = 0x0 
AppleM2ScalerCSCDriver: Added framebuffer device: AppleRGBOUT  id: 8023e000
virtual bool AppleM2ScalerCSCDriver::start(IOService *) Object=0x894e0900: Provider=0x87ca2b00: Register Service
virtual bool AppleM2ScalerCSCDriver::start(IOService *):  this=0x894e0900, Added Scaler Number = 0
DisplayPipe fRegisters virtual = 0x86fa9000  
AppleSamsungSerial: Identified Serial Port on ARM Device=uart1 at 0x82600000(0x86fb6000)
AppleSamsungSerial: Identified Serial Port on ARM Device=uart2 at 0x82700000(0x86fb8000)
AppleARMBacklight::start: _minDACLevel=456 _maxDACLevel=1971
ApplePinotLCD: _lcdPanelID: 0xa1d10b88 _lcdPanelClass: 2
virtual bool AppleCLCD::start_hardware(IOService *), clcdDitherCfg: 0x80000001 mIsCLCDDitherFor8Bits: 1
IOReturn AppleCLCD::set_ditherTable_state(bool), mIsCLCDDitherFor8Bits is true, no dynamic dither table.
AppleM2ScalerCSCDriver: Added framebuffer device: AppleCLCD  id: 8374f000
AppleRGBOUT: TVOUT device is detected
AppleMultitouchN1SPI: successfully started
AppleD1815PMUPowerSource: AppleUSBCableDetect 1
AppleD1815PMUPowerSource: AppleUSBCableType USBHost
AppleSynopsysOTGDevice::init : Logging Buffer Length = 4K
AppleSynopsysOTGDevice::start : buffer-options 0x00000400
AppleSynopsysOTGDevice::start : object is 0x80362c00, registers at 0xce3c5000, 0x86100000 physical
AppleSynopsysOTGDevice::findMaxEndpoints: in EPs: 7, out EPs: 7, max_endpoint: 8, num_endpoints: 14 
AppleSynopsysOTGDevice::handleUSBCableConnect cable connected, but don't have device configuration yet
AppleSynopsysOTGDevice::handleUSBCableConnect cable connected, but don't have device configuration yet
AppleMultitouchN1SPI: detected HBPP. driver will be kept alive
display-scale = 2
display-rotation = 0
found suitable IOMobileFramebuffer: AppleCLCD
display: 640 x 960
patchd: ramrod_register_plugin(3015): built Mar  9 2013 05:37:06.
loaded plugin: patchd
plugin contains 1 handlers
    patchd_patch (AUTONOMOUS HANDLER)
skipping USB initialization
patchd: patch(2211): Started patchd.
Searching for NAND service
Found NAND service: IOFlashStoragePartition
NAND Status: Initializing. Waiting...
patchd: run_fake_media_progress(2032): starting fake media progress
read new style signature 0x43313132 (line:389)
[FTL:MSG] VSVFL Register  [OK]
[WMR:MSG] Metadata whitening is set in NAND signature
[FTL:MSG] VFL Init            [OK]
IOSDIOController::enumerateSlot(): Searching for SDIO device in slot: 0
IOSDIOController::enumerateSlot(): Found SDIO I/O device. Function count(1), memory(0)
IOSDIOIoCardDevice::parseFn0CISTuple(): Device manufacturer ID 0x2d0, Product ID 0x4329
IOSDIOIoCardDevice::parseFn0CISTuple(): Manufacturer: ""
IOSDIOIoCardDevice::parseFn0CISTuple(): Product:      ""
IOSDIOIoCardDevice::parseFn0CISTuple(): ProductInfo0: "s=B1"
IOSDIOIoCardDevice::parseFn0CISTuple(): ProductInfo1: "P=N81 m=2.2 V=m"
AppleBCMWLANBusInterfaceSdio::start(): Started by: IOSDIOIoCardDevice, AppleBCMWLANV2-169.10 Feb 13 2013 22:10:14
AppleBCMWLANCore::init(): AppleBCMWLANV2-169.10 Feb 13 2013 22:10:17
000011.597962 wlan.W[0] AppleBCMWLANProvisioningManager::parseApplePrivateCIS():  @24 - Invalid 2.4 GHz Cal data in tuple 0x02
000011.599462 wlan.N[1] AppleBCMWLANProvisioningManager::handleBluetoothRegistrationGated():  Wrote bluetooth Mac Addr 18:e7:f4:2b:45:6f
000011.601845 wlan.N[2] AppleBCMWLANConfigManager::gatherParameterData():  AWDL is not supported.
000011.606835 wlan.N[3] AppleBCMWLANCore:start(): Starting with MAC Address: 18:e7:f4:2c:c6:68
000011.607145 wlan.W[4] AppleBCMWLANCore::apple80211Request():  Rejecting ioctl 80, error 61 (state 0x20)
IO80211PeerManager::initWithInterface cant add monitoring timer
IO80211PeerManager::initWithInterface: inited peer manager
IO80211Interface::init peerManager=0x8a25a000
000011.608991 wlan.N[5] AppleBCMWLANCore::setPowerStateGated():   powerState 1, fStateFlags 0x20, dev 0x837f4000 (this 1, provider 0)
000011.609108 wlan.N[6] AppleBCMWLANCore::setPowerStateGated():  Received power state change before driver has initialized, ignoring
[FTL:MSG] VFL_Open            [OK]
[FTL:MSG] YAFTL Register  [OK]
[FTL:MSG] FTL_Open            [OK]
[NAND] _publishServices:255 FTL capabilities: 0x00000000
AppleDiagnosticDataAccess started: 0x8b1dbc60
AppleDiagnosticDataAccess started with AppleNANDConfigAccess
[nand_part_core:INF@ 157] published partition 0
[nand_part_core:INF@ 157] published partition 1
[nand_part_core:INF@ 157] published partition 2
[nand_part_core:INF@ 157] published partition 3
[nand_part_core:INF@ 157] published partition 5
[nand_part_core:INF@ 157] published partition 6
[effaceable:INIT] found current generation, 34, in group 1
[effaceable:INIT] started
[effaceable:INIT] started
AppleARMBacklight::start: Found the CLCD service.. required for AAP
AppleSynopsysOTGDevice::handleUSBCableConnect cable connected, but don't have device configuration yet
LwVM::_partitionsFromConfig - loaded configuration for 3 partitions
NAND initialized. Waiting for devnode.
entering ramrod_probe_media
device partitioning scheme is GPT
unexpected partition 'Update' - skipping
patchd: patch(2240): internal media ready.
patchd: patch(2241): 4 seconds elapsed so far
device supports boot-from-NAND
nand device is already partitioned
executing /usr/sbin/nvram
patchd: patch(2256): nvram variable 'boot-command' cleared.
executing /usr/sbin/nvram
patchd: patch(2267): nvram variable 'auto-boot' reset.
patchd: patch(2276): no baseband updater debug args present
executing /sbin/fsck_hfs
** /dev/rdisk0s1s1
    Using cacheBlockSize=32K cacheTotalBlock=1024 cacheSize=32768K.
   Executing fsck_hfs (version diskdev_cmds-558.1~378).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
   The volume name is Telluride9A405.N81OS
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** Trimming unused blocks.
** The volume Telluride9A405.N81OS appears to be OK.
executing /sbin/mount_hfs
patchd: patchdProgressCallback(1976): progress: 5%
/dev/disk0s1s1 mounted on /mnt1
executing /sbin/fsck_hfs
patchd: patchdProgressCallback(1976): progress: 10%
** /dev/rdisk0s1s2
    Using cacheBlockSize=32K cacheTotalBlock=1024 cacheSize=32768K.
   Executing fsck_hfs (version diskdev_cmds-558.1~378).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
   The volume name is Data
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
   Incorrect number of file hard links
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** Repairing volume.
   Limited repair mode, not all repairs available
   Orphaned file inode (id = 197971)
   Orphaned file inode (id = 231900)
   Orphaned file inode (id = 288776)
   Orphaned file inode (id = 321602)
   Previous ID in a hard link chain is incorrect (id = 335855)
   (It should be 0 instead of 335857)
   Invalid first link in hard link chain (id = 335853)
   (It should be 335855 instead of 335857)
   Indirect node 335853 needs link count adjustment
   (It should be 1 instead of 2)
** The volume Data could not be repaired.
fsck failed on /dev/disk0s1s2
patchd: mount_all_filesystems(1839): data partition should already be mounted
patchd: patch(2311): system and data partition mounted.
patchd: patch(2312): 59 seconds elapsed so far
patchd: patch(2314): disks mounted.
patchd: patch(2321): done waiting for fake media progress thread.
patchd: unknown filesystem protection level
patchd: patch(2341): could not load patchd options from '/mnt1/var/MobileSoftwareUpdate/Update.plist'. errno=2.
executing /usr/sbin/nvram
patchd: patch(2958): nvram variable 'ramrod-display-width' cleared.
executing /usr/sbin/nvram
patchd: patch(2968): nvram variable 'ramrod-display-height' cleared.
executing /usr/sbin/nvram
patchd: patch(2978): nvram variable 'ramrod-display-rate' cleared.
patchd: patch(2984): attempting to dump update log
patchd: entering checkForRestoreLogFile
patchd: restore log (/mnt1/private/var/MobileSoftwareUpdate/restore.log) does not exist
patchd: write_update_log(1998): writing log file: /mnt1/restore.log

Checking for inappropriate bootable partitions (33)
Got status message
Status: Disk Failure
Log is available:
e::init(): AppleBCMWLANV2-169.10 Feb 13 2013 22:10:17
000116.374040 wlan.W[0] AppleBCMWLANProvisioningManager::parseApplePrivateCIS():  @24 - Invalid 2.4 GHz Cal data in tuple 0x02
000116.375507 wlan.N[1] AppleBCMWLANProvisioningManager::handleBluetoothRegistrationGated():  Wrote bluetooth Mac Addr 18:e7:f4:2b:45:6f
000116.377421 wlan.N[2] AppleBCMWLANConfigManager::gatherParameterData():  AWDL is not supported.
000116.382626 wlan.N[3] AppleBCMWLANCore:start(): Starting with MAC Address: 18:e7:f4:2c:c6:68
000116.382865 wlan.W[4] AppleBCMWLANCore::apple80211Request():  Rejecting ioctl 80, error 61 (state 0x20)
IO80211PeerManager::initWithInterface cant add monitoring timer
IO80211PeerManager::initWithInterface: inited peer manager
IO80211Interface::init peerManager=0x8c25e600
000116.384724 wlan.N[5] AppleBCMWLANCore::setPowerStateGated():   powerState 1, fStateFlags 0x20, dev 0x83957000 (this 1, provider 0)
000116.384842 wlan.N[6] AppleBCMWLANCore::setPowerStateGated():  Received power state change before driver has initialized, ignoring
display-scale = 2
display-rotation = 0
found suitable IOMobileFramebuffer: AppleCLCD
display: 640 x 960
found PTP interface
read new style signature 0x43313132 (line:389)
[FTL:MSG] VSVFL Register  [OK]
[WMR:MSG] Metadata whitening is set in NAND signature
[FTL:MSG] VFL Init            [OK]
[FTL:MSG] VFL_Open            [OK]
[FTL:MSG] YAFTL Register  [OK]
AppleSynopsysOTGDevice - Configuration: PTP
AppleSynopsysOTGDevice          Interface: PTP
AppleSynopsysOTGDevice - Configuration: iPod USB Interface
AppleSynopsysOTGDevice          Interface: USBAudioControl
AppleSynopsysOTGDevice          Interface: USBAudioStreaming
AppleSynopsysOTGDevice          Interface: IapOverUsbHid
AppleSynopsysOTGDevice - Configuration: PTP + Apple Mobile Device
AppleSynopsysOTGDevice          Interface: PTP
AppleSynopsysOTGDevice          Interface: AppleUSBMux
AppleSynopsysOTGDevice - Configuration: PTP + Apple Mobile Device + Apple USB Ethernet
AppleSynopsysOTGDevice          Interface: PTP
AppleSynopsysOTGDevice          Interface: AppleUSBMux
AppleSynopsysOTGDevice          Interface: AppleUSBEthernet
AppleSynopsysOTGDevice::gated_registerFunction Register function USBAudioControl
AppleSynopsysOTGDevice::gated_registerFunction Register function USBAudioStreaming
IOAccessoryPortUSB::start
AppleSynopsysOTGDevice::gated_registerFunction Register function IapOverUsbHid
virtual bool AppleUSBDeviceMux::start(IOService *) build: Feb 13 2013 22:02:59
init_waste
AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBMux
AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBEthernet
AppleSynopsysOTGDevice::gated_registerFunction Register function PTP
AppleSynopsysOTGDevice::startUSBStack Starting usb stack
IOReturn AppleUSBDeviceMux::setPropertiesGated(OSObject *) setting debug level to 7
recv(9, 4) failed: connection closed
unable to read message size: -1
could not receive message
unrecognized request 'GetValue'
client protocol version 12
*** UUID 39C5674B-443E-B01C-AF5A-F2C96AF3D686 ***
Restore options:
    UUID                           => <CFString 0x1c5569e0 [0x382100]>{contents = "39C5674B-443E-B01C-AF5A-F2C96AF3D686"}
    MinimumSystemPartition         => <CFNumber 0x1c555640 [0x382100]>{value = +1152, type = kCFNumberSInt64Type}
    SystemPartitionSize            => <CFNumber 0x1c556ad0 [0x382100]>{value = +1152, type = kCFNumberSInt64Type}
    SystemPartitionPadding         => <CFBasicHash 0x1c5560e0 [0x382100]>{type = mutable dict, count = 5,
entries =>
    2 : <CFString 0x1c54fdc0 [0x382100]>{contents = "128"} = <CFNumber 0x1c556ca0 [0x382100]>{value = +1280, type = kCFNumberSInt64Type}
    3 : <CFString 0x1c5561a0 [0x382100]>{contents = "16"} = <CFNumber 0x1c556130 [0x382100]>{value = +160, type = kCFNumberSInt64Type}
    4 : <CFString 0x1c556140 [0x382100]>{contents = "32"} = <CFNumber 0x1c556050 [0x382100]>{value = +320, type = kCFNumberSInt64Type}
    5 : <CFString 0x1c555fd0 [0x382100]>{contents = "8"} = <CFNumber 0x1c555f90 [0x382100]>{value = +80, type = kCFNumberSInt64Type}
    8 : <CFString 0x1c556000 [0x382100]>{contents = "64"} = <CFNumber 0x1c555fc0 [0x382100]>{value = +640, type = kCFNumberSInt64Type}
}

entering partition_nand_device
device supports boot-from-NAND
nand device is already partitioned
entering wait_for_storage_device
Searching for NAND service
Found NAND service: IOFlashStoragePartition
NAND initialized. Waiting for devnode.
entering format_effaceable_storage
effaceable storage is formatted, nothing to do
entering ramrod_probe_media
device partitioning scheme is GPT
unexpected partition 'Update' - skipping
find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2
entering check_for_restore_log
executing /sbin/fsck_hfs -fy /dev/disk0s1s1
[FTL:MSG] FTL_Open            [OK]
[NAND] _publishServices:255 FTL capabilities: 0x00000000
AppleDiagnosticDataAccess started: 0x8d618738
AppleDiagnosticDataAccess started with AppleNANDConfigAccess
[nand_part_core:INF@ 157] published partition 0
[nand_part_core:INF@ 157] published partition 1
[nand_part_core:INF@ 157] published partition 2
[nand_part_core:INF@ 157] published partition 3
[nand_part_core:INF@ 157] published partition 5
[nand_part_core:INF@ 157] published partition 6
[effaceable:INIT] found current generation, 34, in group 1
[effaceable:INIT] started
[effaceable:INIT] started
AppleARMBacklight::start: Found the CLCD service.. required for AAP
LwVM::_partitionsFromConfig - loaded configuration for 3 partitions
AppleUSBDeviceMux::handleConnectResult new session 0x8d6185d8 established 62078<-lo0->49152 62078<-usb->1
void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0x8d6185d8
AppleUSBDeviceMux::handleConnectResult new session 0x8d6186e0 established 62078<-lo0->49153 62078<-usb->2
AppleUSBDeviceMux::handleConnectResult new session 0x8d6185d8 established 62078<-lo0->49154 62078<-usb->3
AppleUSBDeviceMux::handleConnectResult new session 0x8b065d68 established 62078<-lo0->49155 62078<-usb->4
void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0x8b065d68
AppleUSBDeviceMux::handleConnectResult new session 0x8d618688 established 62078<-lo0->49156 62078<-usb->5
void AppleUSBDeviceMux::handleMuxTCPInput(mbuf_t) received reset, closing 0x8d618688
AppleUSBDeviceMux::handleConnectResult new session 0x8d618630 established 62078<-lo0->49157 62078<-usb->6
AppleUSBEthernetDevice::messageGated: kIOUSBDeviceInterfaceMessageTypeSetAlternateSetting, new alt-setting 1
void AppleUSBDeviceMux::handleConnectResult(struct BulkUSBMuxSession *, errno_t) new session to port 1082 failed: 61
AppleD1815PMUPowerSource: limiting USB input current to 300 mA
** /dev/rdisk0s1s1
    Using cacheBlockSize=32K cacheTotalBlock=1024 cacheSize=32768K.
   Executing fsck_hfs (version diskdev_cmds-558.1~378).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
   The volume name is Telluride9A405.N81OS
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** Trimming unused blocks.
** The volume Telluride9A405.N81OS appears to be OK.
executing /sbin/mount -t hfs /dev/disk0s1s1 /mnt1
found restore log (size = 10036)
entering clean_NAND
entering format_storage_for_LwVM
entering ramrod_probe_media
device partitioning scheme is GPT
unexpected partition 'Update' - skipping
find_filesystem_partitions: storage=/dev/disk0s1 system=/dev/disk0s1s1 data=/dev/disk0s1s2
entering check_for_suspicious_partitions
executing /sbin/fsck_hfs -fy /dev/disk0s1s2
** /dev/rdisk0s1s2
    Using cacheBlockSize=32K cacheTotalBlock=1024 cacheSize=32768K.
   Executing fsck_hfs (version diskdev_cmds-558.1~378).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
   The volume name is Data
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
   Incorrect number of file hard links
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** Repairing volume.
   Limited repair mode, not all repairs available
   Orphaned file inode (id = 197971)
   Orphaned file inode (id = 231900)
   Orphaned file inode (id = 288776)
   Orphaned file inode (id = 321602)
** The volume Data could not be repaired.
error checking filesystem: 8
security check for partition /dev/disk0s1s2 failed: 8

ERROR: Unable to successfully restore device
ERROR: Unable to restore device
$     
tihmstar commented 10 months ago

Try erase install with -e