LukeZGD / Legacy-iOS-Kit

An all-in-one tool to restore/downgrade, save SHSH blobs, and jailbreak legacy iOS devices
GNU General Public License v3.0
1.2k stars 111 forks source link

Issue with Restoring to iOS 4.2.x on iPhone3,3 #345

Closed Jefferyat closed 10 months ago

Jefferyat commented 10 months ago

i downgraded my iPhone3,3 to iOS 4.2.8 with Jailbreak and verbose boot options enabled with Legacy iOS Kit and it doesn't restore successfully it doesn't go past 43% on flashing firmware and then i get error unable to successfully restore device and then my iPhone goes into a endless spinning wheel loop and then when i hard reset the phone it goes into DFU Mode

Legacy iOS Kit

[Input] Memory Option for creating custom IPSW

[Input] Verbose Boot Option

[Log] Found existing saved 7.1.2 blobs: ../saved/shsh/1813165454710_iPhone3,3_n92ap_7.1.2-11D257_3a88b7c3802f2f0510abc432104a15ebd8bd7154.shsh2 [Log] Found existing Custom IPSW. Skipping IPSW creation. [Log] Found existing saved 7.1.2 blobs: ../saved/shsh/1813165454710_iPhone3,3_n92ap_7.1.2-11D257_3a88b7c3802f2f0510abc432104a15ebd8bd7154.shsh2 [Input] PwnDFU Tool Option

AUD10::start: 0x82511000, highland-park mIISNub: 0x829aa900, sampleRate = 44100, ol=10, oi=12 AppleSerialMultiplexer: debugparams::init: Parsed flags "" ( 0 ) AppleSerialMultiplexer: !! mux::setPowerStateGated: Skipping power state change

AppleBaseband: inconsistent mux function setup (0 0 0 0 0 0) AppleRGBOUT: TVOUT device is detected virtual bool AppleCLCD::start_hardware(IOService*), ditherCfg: 0x80000001 mIsDitherFor8Bits: 1 IOReturn AppleCLCD::set_ditherTable_state(bool), mIsDitherFor8Bits is true, no dynamic dither table. IOSurface: buffer allocation size is zero AppleM2ScalerCSCDriver: Added framebuffer device: AppleCLCD id: c8012000IOSDIOController::enumerateSlot(): Searching for SDIO device in slot: 0

IOSDIOController::enumerateSlot(): Found SDIO I/O device. Function count(1), memory(0) AppleS5L8920XIOPFMI: Found Chip ID 0x7A94D7EC on FMI0:CE0 AppleS5L8920XIOPFMI: Found Chip ID 0x7A94D7EC on FMI0:CE1 AppleS5L8920XIOPFMI: Found Chip ID 0x7A94D7EC on FMI1:CE8 AppleS5L8920XIOPFMI: Found Chip ID 0x7A94D7EC on FMI1:CE9 AppleMultitouchN1SPI: successfully started IOSDIOIoCardDevice::parseFn0CISTuple(): Device manufacturer ID 0x2d0, Product ID 0x4329 IOSDIOIoCardDevice::parseFn0CISTuple(): Manufacturer: "" IOSDIOIoCardDevice::parseFn0CISTuple(): Product: "" IOSDIOIoCardDevice::parseFn0CISTuple(): ProductInfo0: "s=C0" IOSDIOIoCardDevice::parseFn0CISTuple(): ProductInfo1: "P=N92 m=2.2 V=m" AppleBCMWLAN::init(): AppleBCMWLAN-76.3 Dec 30 2010 19:56:03 AppleBCMWLAN::init(): Starting with debug level: 4, debug flags: 00000000 AppleBCMWLAN::init(): AppleBCMWLAN-76.3 Dec 30 2010 19:56:03 AppleBCMWLAN::init(): Starting with debug level: 4, debug flags: 00000000 AppleD1815PMUPowerSource: AppleUSBCableDetect 1 AppleD1815PMUPowerSource: AppleUSBCableType USBHost AppleEmbeddedUSBArbitrator::handleUSBCableTypeChange : Connected to a USB host, entering device mode AppleEmbeddedUSBNub::withProvider : allocated new nub 0x82a92900 AppleEmbeddedUSBNub::initWithProvider : finished nub init AppleEmbeddedUSBArbitrator::_publishNubs : nub published AppleSynopsysOTGDevice::init : Logging Buffer Length = 4K AppleSynopsysOTGDevice::start : object is 0x82ec2000, registers at 0xd3a70000, 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::start : start finished AUD10::start: 0x82511000, highland-park mIICNub: 0x822e0f00, mIISNub: 0x829aa900, mSerialNub: 0x8298ca00, sampleRate = 44100, ol=10, oi=12 AppleMultitouchN1SPI: detected HBPP. driver will be kept alive AppleNANDLegacyFTL started with IOFlashStoragePartition provider AppleNANDLegacyFTL located at physical nand block offset 16 metadata-whitening was found and it's set to 1 default-ftl-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] display-scale = 2 display-rotation = 0 found suitable IOMobileFramebuffer: AppleCLCD display: 640 x 960 found PTP interface recv(10, 4) failed: connection closed unable to read message size: -1 could not receive message close(caller = 0x5d2f): remote port = 49152 close(caller = 0x5d2f): remote port = 49153 unrecognized request 'GetValue' unrecognized request 'GetValue' 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: Dec 30 2010 19:54:08 init_waste AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBMux AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBEthernet AppleUSBEthernetDevice::start: Host MAC address = 8e:58:77:53:98:11 read new style signature 0x43313100 (line:407) [FTL:MSG] VSVFL Register [OK] [WMR:MSG] Metadata whitening is set in NAND signature [FTL:MSG] VFL Init [OK] [WMR:INF] Epoch update in progress. AppleSynopsysOTGDevice::gated_registerFunction Register function PTP AppleSynopsysOTGDevice::gated_registerFunction all functions registered- we are ready to start usb stack AppleS5L8930XUSBPhy::powerUp : with_hsic: 0 AppleEmbeddedUSBArbitrator::enableDeviceClock : enable: 1, index: 0 AppleS5L8930XUSBPhy::enableDeviceMode : enable: 1 IOReturn AppleUSBDeviceMux::setPropertiesGated(OSObject) setting debug level to 7 AppleSynopsysOTGDevice::handleUSBReset AppleSynopsysOTGDevice::stallBadSetupRequest request: 80 06 0f00 0000 0005 AppleUSBDeviceMux::handleConnectResult new session 0x84447100 established 62078<-lo0->49152 62078<-usb->2058 void AppleUSBDeviceMux::handleMuxTCPInput(mbuf*) received reset, closing 0x84447100 AppleUSBDeviceMux::handleConnectResult new session 0x844a3f80 established 62078<-lo0->49153 62078<-usb->2314 AppleUSBDeviceMux::handleConnectResult new session 0x84447100 established 62078<-lo0->49154 62078<-usb->2570 AppleUSBDeviceMux::handleConnectResult new session 0x844a3f00 established 62078<-lo0->49155 62078<-usb->2826 void AppleUSBDeviceMux::handleMuxTCPInput(mbuf) received reset, closing 0x844a3f80 AppleUSBDeviceMux::handleConnectResult new session 0x82f6ff00 established 62078<-lo0->49156 62078<-usb->3082 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 [FTL:MSG] VFL_Open [OK] [FTL:MSG] YAFTL Register [OK] yaFTL::YAFTL_Open(l:2988): CXT is not valid . Performing full NAND R/O restore ...
void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 recv(11, 4) failed: connection closed unable to read message size: -1 could not receive message close(caller = 0x5d2f): remote port = 49155 [FTL:MSG] FTL_Open [OK] AppleS5L8930XUSBArbitrator::handleUSBCableTypeChange : no change in cable-type void AppleUSBDeviceMux::handleMuxTCPInput(__mbuf) received reset, closing 0x844a3f00 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 AppleImage3NORAccess::start imageVersion: 3 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession*, errno_t) new session to port 1082 failed: 61 client protocol version 12 unable to open /usr/local/share/restore//options.n92.plist: No such file or directory UUID C9D7BA54-6F2B-D227-E938-8165B6820187 Restore options: UpdateBaseband => <CFBoolean 0x20a460 [0x2099fc]>{value = false} UUID => <CFString 0xc262e0 [0x2099fc]>{contents = "C9D7BA54-6F2B-D227-E938-8165B6820187"} MinimumSystemPartition => <CFNumber 0xc25ff0 [0x2099fc]>{value = +1082, type = kCFNumberSInt64Type} SystemPartitionSize => <CFNumber 0xc26280 [0x2099fc]>{value = +1082, type = kCFNumberSInt64Type} CreateFilesystemPartitions => <CFBoolean 0x20a458 [0x2099fc]>{value = true} entering partition_nand_device device supports boot-from-NAND nand device is already partitioned entering wait_for_storage_device entering format_effaceable_storage effaceable storage is formatted, clearing it void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 effaceable storaged cleared entering ramrod_probe_media find_filesystem_partitions: storage=/dev/disk0 system= data= update= entering check_for_restore_log partition path has not been populated (partition may not exist) entering clean_NAND NAND format complete entering ramrod_probe_media find_filesystem_partitions: storage=/dev/disk0 system= data= update= entering format_storage_for_LwVM use-lwvm property not found entering create_filesystem_partitions unable to open : No such file or directory creating 2 partitions creating encrypted data partition entering ramrod_probe_media device partitioning scheme is GPT find_filesystem_partitions: storage=/dev/disk0 system=/dev/disk0s1 data=/dev/disk0s2s1 update= wipe entire partition: 1 (old = 0 new = 1082) block size for /dev/disk0s1: 8192 /sbin/newfs_hfs -s -v System -b 8192 -n a=8192,c=8192,e=8192 /dev/disk0s1 executing /sbin/newfs_hfs -s -v System -b 8192 -n a=8192,c=8192,e=8192 /dev/disk0s1 Initialized /dev/rdisk0s1 as a 1 GB HFS Plus volume block size for /dev/disk0s2s1: 8192 /sbin/newfs_hfs -s -v Data -J -P -b 8192 -n a=8192,c=8192,e=8192 /dev/disk0s2s1 executing /sbin/newfs_hfs -s -v Data -J -P -b 8192 -n a=8192,c=8192,e=8192 /dev/disk0s2s1 Initialized /dev/rdisk0s2s1 as a 14 GB HFS Plus volume with a 8192k journal entering restore_images executing /usr/sbin/asr -source asr://localhost:12345 -target /dev/disk0s1 -erase -noprompt --chunkchecksum --puppetstrings ASR STATUS: start 223 multicast-client ASR: Waiting for connection attempt from server void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 12345 failed: 61 recv(10, 4) failed: connection closed unable to read message size: -1 could not receive message close(caller = 0x5d2f): remote port = 49154 unrecognized request 'GetValue' void AppleUSBDeviceMux::handleMuxTCPInput(mbuf*) received reset, closing 0x84447100 AppleUSBDeviceMux::handleConnectResult new session 0x84d50f80 established 62078<-lo0->49168 62078<-usb->6154 ASR STATUS: setup ASR: Validating target... ASR: done ASR STATUS: metadata ASR: Validating source... AppleUSBDeviceMux::handleConnectResult new session 0x84d50a00 established 12345<-lo0->49169 12345<-usb->6410 ASR: done ASR: Warning: You may not be able to start up a computer with the target volume. ASR: Retrieving scan information...done ASR: Validating sizes... ASR: done ASR STATUS: restore ASR RESTORE PROGRESS: 2% ASR RESTORE PROGRESS: 4% ASR RESTORE PROGRESS: 6% ASR RESTORE PROGRESS: 8% ASR RESTORE PROGRESS: 10% ASR RESTORE PROGRESS: 12% ASR RESTORE PROGRESS: 14% ASR RESTORE PROGRESS: 16% ASR RESTORE PROGRESS: 18% ASR RESTORE PROGRESS: 20% ASR RESTORE PROGRESS: 22% ASR RESTORE PROGRESS: 24% ASR RESTORE PROGRESS: 26% ASR RESTORE PROGRESS: 28% ASR RESTORE PROGRESS: 30% ASR RESTORE PROGRESS: 32% ASR RESTORE PROGRESS: 34% ASR RESTORE PROGRESS: 36% ASR RESTORE PROGRESS: 38% ASR RESTORE PROGRESS: 40% ASR RESTORE PROGRESS: 42% ASR RESTORE PROGRESS: 44% ASR RESTORE PROGRESS: 46% ASR RESTORE PROGRESS: 48% ASR RESTORE PROGRESS: 50% AppleBCMWLAN::handleIOKitBusyWatchdogTimeout(): Error, no successful firmware download after 60000 ms!! Giving up... recv(10, 4) failed: connection closed unable to read message size: -1 could not receive message close(caller = 0x5d2f): remote port = 49168 ASR RESTORE PROGRESS: 52% void AppleUSBDeviceMux::handleMuxTCPInput(mbuf) received reset, closing 0x84d50f80 ASR RESTORE PROGRESS: 54% ASR RESTORE PROGRESS: 56% ASR RESTORE PROGRESS: 58% ASR RESTORE PROGRESS: 60% ASR RESTORE PROGRESS: 62% ASR RESTORE PROGRESS: 64% ASR RESTORE PROGRESS: 66% ASR RESTORE PROGRESS: 68% ASR RESTORE PROGRESS: 70% ASR RESTORE PROGRESS: 72% ASR RESTORE PROGRESS: 74% ASR RESTORE PROGRESS: 76% ASR RESTORE PROGRESS: 78% ASR RESTORE PROGRESS: 80% ASR RESTORE PROGRESS: 82% ASR RESTORE PROGRESS: 84% ASR RESTORE PROGRESS: 86% ASR RESTORE PROGRESS: 88% ASR RESTORE PROGRESS: 90% ASR RESTORE PROGRESS: 92% ASR RESTORE PROGRESS: 94% ASR RESTORE PROGRESS: 96% ASR RESTORE PROGRESS: 98% ASR: asr: Image passed signature verification void AppleUSBDeviceMux::handleMuxTCPInput(__mbuf) received reset, closing 0x84d50a00 ASR RESTORE PROGRESS: 100% ASR: Copied 887096320 bytes in 53.39 seconds, 16227.44 KiB/s ASR STATUS: verify ASR VERIFY PROGRESS: 2% ASR VERIFY PROGRESS: 4% ASR VERIFY PROGRESS: 6% ASR VERIFY PROGRESS: 8% ASR VERIFY PROGRESS: 10% ASR VERIFY PROGRESS: 12% ASR VERIFY PROGRESS: 14% ASR VERIFY PROGRESS: 16% ASR VERIFY PROGRESS: 18% ASR VERIFY PROGRESS: 20% ASR VERIFY PROGRESS: 22% ASR VERIFY PROGRESS: 24% ASR VERIFY PROGRESS: 26% ASR VERIFY PROGRESS: 28% ASR VERIFY PROGRESS: 30% ASR VERIFY PROGRESS: 32% ASR VERIFY PROGRESS: 34% ASR VERIFY PROGRESS: 36% ASR VERIFY PROGRESS: 38% ASR VERIFY PROGRESS: 40% ASR VERIFY PROGRESS: 42% ASR VERIFY PROGRESS: 44% ASR VERIFY PROGRESS: 46% ASR VERIFY PROGRESS: 48% ASR VERIFY PROGRESS: 50% ASR VERIFY PROGRESS: 52% ASR VERIFY PROGRESS: 54% ASR VERIFY PROGRESS: 56% ASR VERIFY PROGRESS: 58% ASR VERIFY PROGRESS: 60% ASR VERIFY PROGRESS: 62% ASR VERIFY PROGRESS: 64% ASR VERIFY PROGRESS: 66% ASR VERIFY PROGRESS: 68% ASR VERIFY PROGRESS: 70% ASR VERIFY PROGRESS: 72% ASR VERIFY PROGRESS: 74% ASR VERIFY PROGRESS: 76% ASR VERIFY PROGRESS: 78% ASR VERIFY PROGRESS: 80% ASR VERIFY PROGRESS: 82% ASR VERIFY PROGRESS: 84% ASR VERIFY PROGRESS: 86% ASR VERIFY PROGRESS: 88% ASR VERIFY PROGRESS: 90% ASR VERIFY PROGRESS: 92% ASR VERIFY PROGRESS: 94% ASR VERIFY PROGRESS: 96% ASR VERIFY PROGRESS: 98% ASR VERIFY PROGRESS: 100% ASR: Verified SHA-1 checksum 887096320 bytes in 23.22 seconds, 37302.88 KiB/s ASR STATUS: finish entering mount_filesystems executing /sbin/fsck_hfs -fy /dev/disk0s1 unrecognized request 'GetValue' AppleUSBDeviceMux::handleConnectResult new session 0x844a3080 established 62078<-lo0->49170 62078<-usb->6666 /dev/rdisk0s1 Executing fsck_hfs (version diskdev_cmds-488.1.7~442). Checking non-journaled HFS Plus Volume. Detected a case-sensitive volume. Checking extents overflow file. Checking catalog file. Checking multi-linked files. Checking catalog hierarchy. Checking extended attributes file. Checking volume bitmap. Checking volume information. The volume Phoenix8E401.N92OS appears to be OK. executing /sbin/mount -t hfs /dev/disk0s1 /mnt1 executing /sbin/fsck_hfs -fy /dev/disk0s2s1 disk0s2s1: ioctl(_IOW,'d',24,4) is unsupported. /dev/rdisk0s2s1 Executing fsck_hfs (version diskdev_cmds-488.1.7~442). Checking Journaled HFS Plus volume. Detected a case-sensitive volume. Checking extents overflow file. Checking catalog file. Checking multi-linked files. Checking catalog hierarchy. Checking extended attributes file. Checking volume bitmap. Checking volume information. The volume Data appears to be OK. executing /sbin/mount -t hfs /dev/disk0s2s1 /mnt2 entering install_kernel_cache writing kernelcache to /mnt1/System/Library/Caches/com.apple.kernelcaches/kernelcache entering install_secure_vault_daemon entering get_hardware_platform platform-name = s5l8930x linking /mnt1/usr/sbin/securekeyvaultd to /mnt1/usr/sbin/securekeyvaultd.s5l8930x no securekeyvaultd for s5l8930x entering fixup_var remove_path /mnt1/private/var executing /bin/rm -rf /mnt1/private/var creating directory (owner=0 mode=755) /mnt1/private/var entering modify_fstab entering clear_persistent_boot_args executing /usr/sbin/nvram boot-args= entering update_device_firmware entering update_iBoot write_image3_data: flashing LLB data (length = 0x209d9) write_image3_data: flashing NOR data (length = 0x388dc) write_image3_data: flashing NOR data (length = 0x4418c) write_image3_data: flashing NOR data (length = 0xe444) write_image3_data: flashing NOR data (length = 0x60c4) write_image3_data: flashing NOR data (length = 0x23184) write_image3_data: flashing NOR data (length = 0xaa4c) write_image3_data: flashing NOR data (length = 0x80c) 0: RamrodErrorDomain/3e9: update_iBoot: error writing image 1: NSMachErrorDomain/e00002c2: write_image3_data: AppleImage3NORAccess returned an error when writing image3 object attempting to dump restore log writing log file: /mnt1/restore.log

MsgType
<string>StatusMsg</string>
<key>Status</key>
<integer>37</integer>

Log is available: L8900XSerial: Identified Serial Port on ARM Device=uart3 at 0x82800000(0xd2bde000)AppleS5L8900XSerial: Identified Serial Port on ARM Device=uart6 at 0x82b00000(0xd2d26000) BasebandSPIDevice::exitLowPower: Invalid state inactive AppleSerialMultiplexer: adap::start: Frame size is 2048, Rx Buffer count is 16 AppleSerialMultiplexer: mux::start: created new mux (13) for spi-baseband with adapter BasebandSPIDevice

AUD10::start: 0x82511000, highland-park mIISNub: 0x829aa900, sampleRate = 44100, ol=10, oi=12 AppleSerialMultiplexer: debugparams::init: Parsed flags "" ( 0 ) AppleSerialMultiplexer: !! mux::setPowerStateGated: Skipping power state change

AppleBaseband: inconsistent mux function setup (0 0 0 0 0 0) AppleRGBOUT: TVOUT device is detected virtual bool AppleCLCD::start_hardware(IOService*), ditherCfg: 0x80000001 mIsDitherFor8Bits: 1 IOReturn AppleCLCD::set_ditherTable_state(bool), mIsDitherFor8Bits is true, no dynamic dither table. IOSurface: buffer allocation size is zero AppleM2ScalerCSCDriver: Added framebuffer device: AppleCLCD id: c8012000IOSDIOController::enumerateSlot(): Searching for SDIO device in slot: 0

IOSDIOController::enumerateSlot(): Found SDIO I/O device. Function count(1), memory(0) AppleS5L8920XIOPFMI: Found Chip ID 0x7A94D7EC on FMI0:CE0 AppleS5L8920XIOPFMI: Found Chip ID 0x7A94D7EC on FMI0:CE1 AppleS5L8920XIOPFMI: Found Chip ID 0x7A94D7EC on FMI1:CE8 AppleS5L8920XIOPFMI: Found Chip ID 0x7A94D7EC on FMI1:CE9 AppleMultitouchN1SPI: successfully started IOSDIOIoCardDevice::parseFn0CISTuple(): Device manufacturer ID 0x2d0, Product ID 0x4329 IOSDIOIoCardDevice::parseFn0CISTuple(): Manufacturer: "" IOSDIOIoCardDevice::parseFn0CISTuple(): Product: "" IOSDIOIoCardDevice::parseFn0CISTuple(): ProductInfo0: "s=C0" IOSDIOIoCardDevice::parseFn0CISTuple(): ProductInfo1: "P=N92 m=2.2 V=m" AppleBCMWLAN::init(): AppleBCMWLAN-76.3 Dec 30 2010 19:56:03 AppleBCMWLAN::init(): Starting with debug level: 4, debug flags: 00000000 AppleBCMWLAN::init(): AppleBCMWLAN-76.3 Dec 30 2010 19:56:03 AppleBCMWLAN::init(): Starting with debug level: 4, debug flags: 00000000 AppleD1815PMUPowerSource: AppleUSBCableDetect 1 AppleD1815PMUPowerSource: AppleUSBCableType USBHost AppleEmbeddedUSBArbitrator::handleUSBCableTypeChange : Connected to a USB host, entering device mode AppleEmbeddedUSBNub::withProvider : allocated new nub 0x82a92900 AppleEmbeddedUSBNub::initWithProvider : finished nub init AppleEmbeddedUSBArbitrator::_publishNubs : nub published AppleSynopsysOTGDevice::init : Logging Buffer Length = 4K AppleSynopsysOTGDevice::start : object is 0x82ec2000, registers at 0xd3a70000, 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::start : start finished AUD10::start: 0x82511000, highland-park mIICNub: 0x822e0f00, mIISNub: 0x829aa900, mSerialNub: 0x8298ca00, sampleRate = 44100, ol=10, oi=12 AppleMultitouchN1SPI: detected HBPP. driver will be kept alive AppleNANDLegacyFTL started with IOFlashStoragePartition provider AppleNANDLegacyFTL located at physical nand block offset 16 metadata-whitening was found and it's set to 1 default-ftl-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] display-scale = 2 display-rotation = 0 found suitable IOMobileFramebuffer: AppleCLCD display: 640 x 960 found PTP interface recv(10, 4) failed: connection closed unable to read message size: -1 could not receive message close(caller = 0x5d2f): remote port = 49152 close(caller = 0x5d2f): remote port = 49153 unrecognized request 'GetValue' unrecognized request 'GetValue' 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: Dec 30 2010 19:54:08 init_waste AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBMux AppleSynopsysOTGDevice::gated_registerFunction Register function AppleUSBEthernet AppleUSBEthernetDevice::start: Host MAC address = 8e:58:77:53:98:11 read new style signature 0x43313100 (line:407) [FTL:MSG] VSVFL Register [OK] [WMR:MSG] Metadata whitening is set in NAND signature [FTL:MSG] VFL Init [OK] [WMR:INF] Epoch update in progress. AppleSynopsysOTGDevice::gated_registerFunction Register function PTP AppleSynopsysOTGDevice::gated_registerFunction all functions registered- we are ready to start usb stack AppleS5L8930XUSBPhy::powerUp : with_hsic: 0 AppleEmbeddedUSBArbitrator::enableDeviceClock : enable: 1, index: 0 AppleS5L8930XUSBPhy::enableDeviceMode : enable: 1 IOReturn AppleUSBDeviceMux::setPropertiesGated(OSObject) setting debug level to 7 AppleSynopsysOTGDevice::handleUSBReset AppleSynopsysOTGDevice::stallBadSetupRequest request: 80 06 0f00 0000 0005 AppleUSBDeviceMux::handleConnectResult new session 0x84447100 established 62078<-lo0->49152 62078<-usb->2058 void AppleUSBDeviceMux::handleMuxTCPInput(mbuf*) received reset, closing 0x84447100 AppleUSBDeviceMux::handleConnectResult new session 0x844a3f80 established 62078<-lo0->49153 62078<-usb->2314 AppleUSBDeviceMux::handleConnectResult new session 0x84447100 established 62078<-lo0->49154 62078<-usb->2570 AppleUSBDeviceMux::handleConnectResult new session 0x844a3f00 established 62078<-lo0->49155 62078<-usb->2826 void AppleUSBDeviceMux::handleMuxTCPInput(mbuf) received reset, closing 0x844a3f80 AppleUSBDeviceMux::handleConnectResult new session 0x82f6ff00 established 62078<-lo0->49156 62078<-usb->3082 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 [FTL:MSG] VFL_Open [OK] [FTL:MSG] YAFTL Register [OK] yaFTL::YAFTL_Open(l:2988): CXT is not valid . Performing full NAND R/O restore ...
void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 recv(11, 4) failed: connection closed unable to read message size: -1 could not receive message close(caller = 0x5d2f): remote port = 49155 [FTL:MSG] FTL_Open [OK] AppleS5L8930XUSBArbitrator::handleUSBCableTypeChange : no change in cable-type void AppleUSBDeviceMux::handleMuxTCPInput(__mbuf) received reset, closing 0x844a3f00 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 AppleImage3NORAccess::start imageVersion: 3 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession*, errno_t) new session to port 1082 failed: 61 client protocol version 12 unable to open /usr/local/share/restore//options.n92.plist: No such file or directory UUID C9D7BA54-6F2B-D227-E938-8165B6820187 Restore options: UpdateBaseband => <CFBoolean 0x20a460 [0x2099fc]>{value = false} UUID => <CFString 0xc262e0 [0x2099fc]>{contents = "C9D7BA54-6F2B-D227-E938-8165B6820187"} MinimumSystemPartition => <CFNumber 0xc25ff0 [0x2099fc]>{value = +1082, type = kCFNumberSInt64Type} SystemPartitionSize => <CFNumber 0xc26280 [0x2099fc]>{value = +1082, type = kCFNumberSInt64Type} CreateFilesystemPartitions => <CFBoolean 0x20a458 [0x2099fc]>{value = true} entering partition_nand_device device supports boot-from-NAND nand device is already partitioned entering wait_for_storage_device entering format_effaceable_storage effaceable storage is formatted, clearing it void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 1082 failed: 61 effaceable storaged cleared entering ramrod_probe_media find_filesystem_partitions: storage=/dev/disk0 system= data= update= entering check_for_restore_log partition path has not been populated (partition may not exist) entering clean_NAND NAND format complete entering ramrod_probe_media find_filesystem_partitions: storage=/dev/disk0 system= data= update= entering format_storage_for_LwVM use-lwvm property not found entering create_filesystem_partitions unable to open : No such file or directory creating 2 partitions creating encrypted data partition entering ramrod_probe_media device partitioning scheme is GPT find_filesystem_partitions: storage=/dev/disk0 system=/dev/disk0s1 data=/dev/disk0s2s1 update= wipe entire partition: 1 (old = 0 new = 1082) block size for /dev/disk0s1: 8192 /sbin/newfs_hfs -s -v System -b 8192 -n a=8192,c=8192,e=8192 /dev/disk0s1 executing /sbin/newfs_hfs -s -v System -b 8192 -n a=8192,c=8192,e=8192 /dev/disk0s1 Initialized /dev/rdisk0s1 as a 1 GB HFS Plus volume block size for /dev/disk0s2s1: 8192 /sbin/newfs_hfs -s -v Data -J -P -b 8192 -n a=8192,c=8192,e=8192 /dev/disk0s2s1 executing /sbin/newfs_hfs -s -v Data -J -P -b 8192 -n a=8192,c=8192,e=8192 /dev/disk0s2s1 Initialized /dev/rdisk0s2s1 as a 14 GB HFS Plus volume with a 8192k journal entering restore_images executing /usr/sbin/asr -source asr://localhost:12345 -target /dev/disk0s1 -erase -noprompt --chunkchecksum --puppetstrings ASR STATUS: start 223 multicast-client ASR: Waiting for connection attempt from server void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession, errno_t) new session to port 12345 failed: 61 recv(10, 4) failed: connection closed unable to read message size: -1 could not receive message close(caller = 0x5d2f): remote port = 49154 unrecognized request 'GetValue' void AppleUSBDeviceMux::handleMuxTCPInput(mbuf*) received reset, closing 0x84447100 AppleUSBDeviceMux::handleConnectResult new session 0x84d50f80 established 62078<-lo0->49168 62078<-usb->6154 ASR STATUS: setup ASR: Validating target... ASR: done ASR STATUS: metadata ASR: Validating source... AppleUSBDeviceMux::handleConnectResult new session 0x84d50a00 established 12345<-lo0->49169 12345<-usb->6410 ASR: done ASR: Warning: You may not be able to start up a computer with the target volume. ASR: Retrieving scan information...done ASR: Validating sizes... ASR: done ASR STATUS: restore ASR RESTORE PROGRESS: 2% ASR RESTORE PROGRESS: 4% ASR RESTORE PROGRESS: 6% ASR RESTORE PROGRESS: 8% ASR RESTORE PROGRESS: 10% ASR RESTORE PROGRESS: 12% ASR RESTORE PROGRESS: 14% ASR RESTORE PROGRESS: 16% ASR RESTORE PROGRESS: 18% ASR RESTORE PROGRESS: 20% ASR RESTORE PROGRESS: 22% ASR RESTORE PROGRESS: 24% ASR RESTORE PROGRESS: 26% ASR RESTORE PROGRESS: 28% ASR RESTORE PROGRESS: 30% ASR RESTORE PROGRESS: 32% ASR RESTORE PROGRESS: 34% ASR RESTORE PROGRESS: 36% ASR RESTORE PROGRESS: 38% ASR RESTORE PROGRESS: 40% ASR RESTORE PROGRESS: 42% ASR RESTORE PROGRESS: 44% ASR RESTORE PROGRESS: 46% ASR RESTORE PROGRESS: 48% ASR RESTORE PROGRESS: 50% AppleBCMWLAN::handleIOKitBusyWatchdogTimeout(): Error, no successful firmware download after 60000 ms!! Giving up... recv(10, 4) failed: connection closed unable to read message size: -1 could not receive message close(caller = 0x5d2f): remote port = 49168 ASR RESTORE PROGRESS: 52% void AppleUSBDeviceMux::handleMuxTCPInput(mbuf) received reset, closing 0x84d50f80 ASR RESTORE PROGRESS: 54% ASR RESTORE PROGRESS: 56% ASR RESTORE PROGRESS: 58% ASR RESTORE PROGRESS: 60% ASR RESTORE PROGRESS: 62% ASR RESTORE PROGRESS: 64% ASR RESTORE PROGRESS: 66% ASR RESTORE PROGRESS: 68% ASR RESTORE PROGRESS: 70% ASR RESTORE PROGRESS: 72% ASR RESTORE PROGRESS: 74% ASR RESTORE PROGRESS: 76% ASR RESTORE PROGRESS: 78% ASR RESTORE PROGRESS: 80% ASR RESTORE PROGRESS: 82% ASR RESTORE PROGRESS: 84% ASR RESTORE PROGRESS: 86% ASR RESTORE PROGRESS: 88% ASR RESTORE PROGRESS: 90% ASR RESTORE PROGRESS: 92% ASR RESTORE PROGRESS: 94% ASR RESTORE PROGRESS: 96% ASR RESTORE PROGRESS: 98% ASR: asr: Image passed signature verification void AppleUSBDeviceMux::handleMuxTCPInput(__mbuf) received reset, closing 0x84d50a00 ASR RESTORE PROGRESS: 100% ASR: Copied 887096320 bytes in 53.39 seconds, 16227.44 KiB/s ASR STATUS: verify ASR VERIFY PROGRESS: 2% ASR VERIFY PROGRESS: 4% ASR VERIFY PROGRESS: 6% ASR VERIFY PROGRESS: 8% ASR VERIFY PROGRESS: 10% ASR VERIFY PROGRESS: 12% ASR VERIFY PROGRESS: 14% ASR VERIFY PROGRESS: 16% ASR VERIFY PROGRESS: 18% ASR VERIFY PROGRESS: 20% ASR VERIFY PROGRESS: 22% ASR VERIFY PROGRESS: 24% ASR VERIFY PROGRESS: 26% ASR VERIFY PROGRESS: 28% ASR VERIFY PROGRESS: 30% ASR VERIFY PROGRESS: 32% ASR VERIFY PROGRESS: 34% ASR VERIFY PROGRESS: 36% ASR VERIFY PROGRESS: 38% ASR VERIFY PROGRESS: 40% ASR VERIFY PROGRESS: 42% ASR VERIFY PROGRESS: 44% ASR VERIFY PROGRESS: 46% ASR VERIFY PROGRESS: 48% ASR VERIFY PROGRESS: 50% ASR VERIFY PROGRESS: 52% ASR VERIFY PROGRESS: 54% ASR VERIFY PROGRESS: 56% ASR VERIFY PROGRESS: 58% ASR VERIFY PROGRESS: 60% ASR VERIFY PROGRESS: 62% ASR VERIFY PROGRESS: 64% ASR VERIFY PROGRESS: 66% ASR VERIFY PROGRESS: 68% ASR VERIFY PROGRESS: 70% ASR VERIFY PROGRESS: 72% ASR VERIFY PROGRESS: 74% ASR VERIFY PROGRESS: 76% ASR VERIFY PROGRESS: 78% ASR VERIFY PROGRESS: 80% ASR VERIFY PROGRESS: 82% ASR VERIFY PROGRESS: 84% ASR VERIFY PROGRESS: 86% ASR VERIFY PROGRESS: 88% ASR VERIFY PROGRESS: 90% ASR VERIFY PROGRESS: 92% ASR VERIFY PROGRESS: 94% ASR VERIFY PROGRESS: 96% ASR VERIFY PROGRESS: 98% ASR VERIFY PROGRESS: 100% ASR: Verified SHA-1 checksum 887096320 bytes in 23.22 seconds, 37302.88 KiB/s ASR STATUS: finish entering mount_filesystems executing /sbin/fsck_hfs -fy /dev/disk0s1 unrecognized request 'GetValue' AppleUSBDeviceMux::handleConnectResult new session 0x844a3080 established 62078<-lo0->49170 62078<-usb->6666 /dev/rdisk0s1 Executing fsck_hfs (version diskdev_cmds-488.1.7~442). Checking non-journaled HFS Plus Volume. Detected a case-sensitive volume. Checking extents overflow file. Checking catalog file. Checking multi-linked files. Checking catalog hierarchy. Checking extended attributes file. Checking volume bitmap. Checking volume information. The volume Phoenix8E401.N92OS appears to be OK. executing /sbin/mount -t hfs /dev/disk0s1 /mnt1 executing /sbin/fsck_hfs -fy /dev/disk0s2s1 disk0s2s1: ioctl(_IOW,'d',24,4) is unsupported. /dev/rdisk0s2s1 Executing fsck_hfs (version diskdev_cmds-488.1.7~442). Checking Journaled HFS Plus volume. Detected a case-sensitive volume. Checking extents overflow file. Checking catalog file. Checking multi-linked files. Checking catalog hierarchy. Checking extended attributes file. Checking volume bitmap. Checking volume information. The volume Data appears to be OK. executing /sbin/mount -t hfs /dev/disk0s2s1 /mnt2 entering install_kernel_cache writing kernelcache to /mnt1/System/Library/Caches/com.apple.kernelcaches/kernelcache entering install_secure_vault_daemon entering get_hardware_platform platform-name = s5l8930x linking /mnt1/usr/sbin/securekeyvaultd to /mnt1/usr/sbin/securekeyvaultd.s5l8930x no securekeyvaultd for s5l8930x entering fixup_var remove_path /mnt1/private/var executing /bin/rm -rf /mnt1/private/var creating directory (owner=0 mode=755) /mnt1/private/var entering modify_fstab entering clear_persistent_boot_args executing /usr/sbin/nvram boot-args= entering update_device_firmware entering update_iBoot write_image3_data: flashing LLB data (length = 0x209d9) write_image3_data: flashing NOR data (length = 0x388dc) write_image3_data: flashing NOR data (length = 0x4418c) write_image3_data: flashing NOR data (length = 0xe444) write_image3_data: flashing NOR data (length = 0x60c4) write_image3_data: flashing NOR data (length = 0x23184) write_image3_data: flashing NOR data (length = 0xaa4c) write_image3_data: flashing NOR data (length = 0x80c) 0: RamrodErrorDomain/3e9: update_iBoot: error writing image 1: NSMachErrorDomain/e00002c2: write_image3_data: AppleImage3NORAccess returned an error when writing image3 object attempting to dump restore log writing log file: /mnt1/restore.log

ERROR: Unable to successfully restore device ERROR: Unable to restore device

[Log] Restoring done! Read the message below if any error has occurred:

LukeZGD commented 10 months ago

Yeah figures it would have an error like that... It's similar to the error I get when I try restoring to 4.2.1 on my 3,1. I'm still looking into lower 4.x support for now.

Did you also try 4.2.10 and see if that works?

Jefferyat commented 10 months ago

iOS 4.2.10 still did not work, exact same error as restoring to iOS 4.2.8

systemd11 commented 10 months ago

Idk but Restoring to 3.1.3 on iPhone 2,1 will fail as well after some time. I'll open an issue tomorrow.

Great software keep going. I see you are very passionate about it. Great work!

LukeZGD commented 10 months ago

so now fixing 4.0-4.2.1 becomes fixing 4.0-4.2.10.. for now ill be closing this. ill look into it again on a later date