[Q] TWRP crashing when trying to restore System partition

Search This thread

GroovyDoovy

New member
May 26, 2014
1
0
I'm using TWRP 2.7.0.0. I have a rooted Sprint Samsung Note 2 with 4.3 installed.

I created a backup of the Boot, System, and Data partitions. I can restore the Boot partition fine. If I try to restore the System partition TWRP immediately reboots.

I tried running Fix Permissions but that did not help. I have not tried doing any kind of Wipe for Factory Reset

The contents of my recovery log are below. Any ideas?


[RESTORE STARTED]

Restore folder: '/data/media/0/TWRP/BACKUPS/42f7c2042478af13/stockrom2'
Skipping MD5 check based on user setting.
Restoring 3 partitions...
I:Restore filename is: boot.emmc.win
I:Restore file system is: 'emmc'.
Restoring Boot...
I:Restore command: 'dd bs=4096 if='/data/media/0/TWRP/BACKUPS/42f7c2042478af13/stockrom2/boot.emmc.win' of=/dev/block/mmcblk0p8'
2048+0 records in
2048+0 records out
8388608 bytes (8.0MB) copied, 0.675245 seconds, 11.8MB/s
I:dd bs=4096 if='/data/media/0/TWRP/BACKUPS/42f7c2042478af13/stockrom2/boot.emmc.win' of=/dev/block/mmcblk0p8 process ended with RC=0
[Boot done (1 seconds)]

I:Restore filename is: system.ext4.win
I:Restore file system is: 'ext4'.
Wiping System...
Formatting System using make_ext4fs function.
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
Starting TWRP 2.7.0.0 on Mon May 26 12:56:37 2014
BOARD_HAS_NO_REAL_SDCARD := true
I:Internal path defined: '/data/media'
I:External path defined: '/external_sdcard'
I:Mount: Unable to find partition for path '/data'
SP1_NAME := efs
SP2_NAME := modem
RECOVERY_SDCARD_ON_DATA := true
TW_NO_USB_STORAGE := true
TW_INCLUDE_CRYPTO := true
I:TW_BRIGHTNESS_PATH := /sys/devices/platform/s5p-dsim.0/s6evr02/backlight/panel/brightness
Starting the UI...Pixel format: 720x1280 @ 16bpp
Pixel format: BGR_565
framebuffer: fd 4 (720 x 1280)
=> Linking mtab
=> Processing recovery.fstab
I:processing '/efs'
I:processing '/boot'
I:processing '/recovery'
I:processing '/cache'
I:processing '/system'
I:processing '/data'
I:mount '/data/media/0' '/sdcard' process ended with RC=0
I:mount '/data/media/0' '/sdcard' process ended with RC=0
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/42f7c2042478af13'
I:Settings storage is '/data/media/0'
I:processing '/preload'
I:processing '/modem'
I:processing '/external_sdcard'
I:processing '/usb-otg'
Updating partition details...
I:Data backup size is 1255MB, free: 6083MB.
I:cmd: /sbin/exfat-fuse -o big_writes,max_read=131072,max_write=131072 /external_sdcard
Usage: /sbin/exfat-fuse [-d] [-o options] [-V] <device> <dir>
I:exfat-fuse failed to mount with result 'FUSE exfat 1.0.0
', trying vfat
I:Unable to mount '/external_sdcard'
I:Actual block device: '', current file system: 'vfat'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Unmounting main partitions...


Partition Logs:
/efs | /dev/block/mmcblk0p3 | Size: 19MB Used: 4MB Free: 15MB Backup Size: 4MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p3
Display_Name: EFS
Storage_Name: EFS
Backup_Path: /efs
Backup_Name: efs
Backup_Display_Name: EFS
Storage_Path: /efs
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/boot | /dev/block/mmcblk0p8 | Size: 8MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p8
Display_Name: Boot
Storage_Name: Boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/recovery | /dev/block/mmcblk0p9 | Size: 8MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p9
Display_Name: Recovery
Storage_Name: Recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/cache | /dev/block/mmcblk0p12 | Size: 1259MB Used: 25MB Free: 1234MB Backup Size: 25MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p12
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/system | /dev/block/mmcblk0p13 | Size: 1763MB Used: 1386MB Free: 376MB Backup Size: 1386MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p13
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/data | /dev/block/mmcblk0p17 | Size: 11311MB Used: 1255MB Free: 6083MB Backup Size: 1255MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p17
Length: -32768
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/preload | /dev/block/mmcblk0p14 | Size: 19MB Used: 4MB Free: 15MB Backup Size: 4MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p14
Display_Name: Preload
Storage_Name: Preload
Backup_Path: /preload
Backup_Name: preload
Backup_Display_Name: Preload
Storage_Path: /preload
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/modem | /dev/block/mmcblk0p10 | Size: 88MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p10
Display_Name: Modem
Storage_Name: Modem
Backup_Path: /modem
Backup_Name: modem
Backup_Display_Name: Modem
Storage_Path: /modem
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/external_sdcard | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: External SDCard
Storage_Name: External SDCard
Backup_Path: /external_sdcard
Backup_Name: external_sdcard
Backup_Display_Name: External SDCard
Storage_Path: /external_sdcard
Current_File_System: vfat
Fstab_File_System: exfat
Backup_Method: files

/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB-OTG
Storage_Name: USB-OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB-OTG
Storage_Path: /usb-otg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

I:Loading package: TWRP (/script/ui.xml)
I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading package: TWRP (/res/ui.xml)
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page selectstorage
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezone
I:Loading page screen
I:Loading page Vibrate
I:Loading page advanced
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page installsu
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
No file contexts for SELinux
Full SELinux support is present.
E:Cannot load volume /misc!
E:Cannot load volume /misc!
Startup Commands: I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/42f7c2042478af13'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/external_sdcard'
I:Actual block device: '', current file system: 'vfat'
I:Switching packages (TWRP)
I:Set page: 'restore'
I:Set page: 'restore_read'
I:Set page: 'restore_select'
I:Set page: 'restore_run'

[RESTORE STARTED]

Restore folder: '/data/media/0/TWRP/BACKUPS/42f7c2042478af13/stockrom2'
Skipping MD5 check based on user setting.
Restoring 1 partitions...
I:Restore filename is: boot.emmc.win
I:Restore file system is: 'emmc'.
Restoring Boot...
I:Restore command: 'dd bs=4096 if='/data/media/0/TWRP/BACKUPS/42f7c2042478af13/stockrom2/boot.emmc.win' of=/dev/block/mmcblk0p8'
2048+0 records in
2048+0 records out
8388608 bytes (8.0MB) copied, 0.665723 seconds, 12.0MB/s
I:dd bs=4096 if='/data/media/0/TWRP/BACKUPS/42f7c2042478af13/stockrom2/boot.emmc.win' of=/dev/block/mmcblk0p8 process ended with RC=0
[Boot done (1 seconds)]

Updating partition details...
I:Data backup size is 1255MB, free: 6083MB.
I:Unable to mount '/external_sdcard'
I:Actual block device: '', current file system: 'vfat'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Unmounting main partitions...
[RESTORE COMPLETED IN 1 SECONDS]

I:Set page: 'action_complete'
I:Set page: 'clear_vars'
I:Set page: 'restore_select'
I:Set page: 'restore_run'

[RESTORE STARTED]

Restore folder: '/data/media/0/TWRP/BACKUPS/42f7c2042478af13/stockrom2'
Skipping MD5 check based on user setting.
Restoring 1 partitions...
I:Restore filename is: system.ext4.win
I:Restore file system is: 'ext4'.
Wiping System...
Formatting System using make_ext4fs function.
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
Starting TWRP 2.7.0.0 on Mon May 26 12:56:55 2014
BOARD_HAS_NO_REAL_SDCARD := true
I:Internal path defined: '/data/media'
I:External path defined: '/external_sdcard'
I:Mount: Unable to find partition for path '/data'
SP1_NAME := efs
SP2_NAME := modem
RECOVERY_SDCARD_ON_DATA := true
TW_NO_USB_STORAGE := true
TW_INCLUDE_CRYPTO := true
I:TW_BRIGHTNESS_PATH := /sys/devices/platform/s5p-dsim.0/s6evr02/backlight/panel/brightness
Starting the UI...Pixel format: 720x1280 @ 16bpp
Pixel format: BGR_565
framebuffer: fd 4 (720 x 1280)
=> Linking mtab
=> Processing recovery.fstab
I:processing '/efs'
I:processing '/boot'
I:processing '/recovery'
I:processing '/cache'
I:processing '/system'
I:processing '/data'
I:mount '/data/media/0' '/sdcard' process ended with RC=0
I:mount '/data/media/0' '/sdcard' process ended with RC=0
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/42f7c2042478af13'
I:Settings storage is '/data/media/0'
I:processing '/preload'
I:processing '/modem'
I:processing '/external_sdcard'
I:processing '/usb-otg'
Updating partition details...
I:Data backup size is 1255MB, free: 6083MB.
I:cmd: /sbin/exfat-fuse -o big_writes,max_read=131072,max_write=131072 /external_sdcard
Usage: /sbin/exfat-fuse [-d] [-o options] [-V] <device> <dir>
I:exfat-fuse failed to mount with result 'FUSE exfat 1.0.0
', trying vfat
I:Unable to mount '/external_sdcard'
I:Actual block device: '', current file system: 'vfat'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Unmounting main partitions...


Partition Logs:
/efs | /dev/block/mmcblk0p3 | Size: 19MB Used: 4MB Free: 15MB Backup Size: 4MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p3
Display_Name: EFS
Storage_Name: EFS
Backup_Path: /efs
Backup_Name: efs
Backup_Display_Name: EFS
Storage_Path: /efs
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/boot | /dev/block/mmcblk0p8 | Size: 8MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p8
Display_Name: Boot
Storage_Name: Boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/recovery | /dev/block/mmcblk0p9 | Size: 8MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p9
Display_Name: Recovery
Storage_Name: Recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/cache | /dev/block/mmcblk0p12 | Size: 1259MB Used: 27MB Free: 1232MB Backup Size: 27MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p12
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/system | /dev/block/mmcblk0p13 | Size: 1763MB Used: 1386MB Free: 376MB Backup Size: 1386MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p13
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/data | /dev/block/mmcblk0p17 | Size: 11311MB Used: 1255MB Free: 6083MB Backup Size: 1255MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p17
Length: -32768
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/preload | /dev/block/mmcblk0p14 | Size: 19MB Used: 4MB Free: 15MB Backup Size: 4MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p14
Display_Name: Preload
Storage_Name: Preload
Backup_Path: /preload
Backup_Name: preload
Backup_Display_Name: Preload
Storage_Path: /preload
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/modem | /dev/block/mmcblk0p10 | Size: 88MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p10
Display_Name: Modem
Storage_Name: Modem
Backup_Path: /modem
Backup_Name: modem
Backup_Display_Name: Modem
Storage_Path: /modem
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/external_sdcard | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: External SDCard
Storage_Name: External SDCard
Backup_Path: /external_sdcard
Backup_Name: external_sdcard
Backup_Display_Name: External SDCard
Storage_Path: /external_sdcard
Current_File_System: vfat
Fstab_File_System: exfat
Backup_Method: files

/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB-OTG
Storage_Name: USB-OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB-OTG
Storage_Path: /usb-otg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

I:Loading package: TWRP (/script/ui.xml)
I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading package: TWRP (/res/ui.xml)
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page selectstorage
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezone
I:Loading page screen
I:Loading page Vibrate
I:Loading page advanced
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page installsu
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
No file contexts for SELinux
Full SELinux support is present.
E:Cannot load volume /misc!
E:Cannot load volume /misc!
Startup Commands: I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/42f7c2042478af13'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/external_sdcard'
I:Actual block device: '', current file system: 'vfat'
I:Switching packages (TWRP)
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log