Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,274 Members 39,522 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Error During TWRP Restore

Tip us?
 
svnyster
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Jul 2014
Default [Q] Error During TWRP Restore

I am a newly registered user, but I have been actively reading the forums for the past few months.

I have a factory unlocked M8 (cid BS_US001) that I have been experimenting with. I have unlocked the bootloader, S-OFF, flashed the recovery with TWRP, and installed a few custom ROMs (ViperOneM8, ARHD, stock GPE). I have had no issues (thanks to all of the helpful posts on the forum) until today.

I decided that I wanted to go back to my stock ROM, so I loaded up TWRP, performed a factory reset, and attempted to restore my original backup. The restore failed during the system restore, and here's the relevant part of the recovery log:

Code:
    tar_extract_all(): calling tar_extract_file(t, "//system/media/audio/notifications/")
item name: '/system/media/audio/notifications/'
dir
  ==> extracting: //system/media/audio/notifications/ (mode 40755, directory)
mkdir(): No space left on device
FAILED RESTORE OF FILE i: //system/media/audio/notifications/
E:Unable to extract tar archive '/external_sd/TWRP/BACKUPS/FA43RWM01711/original/system.ext4.win000'
I:Error extracting '/external_sd/TWRP/BACKUPS/FA43RWM01711/original/system.ext4.win000' in thread ID 0
E:Error extracting split archive.
I:extractTarFork() process ended with ERROR=255
I:Failed to reset capabilities of /system/bin/run-as binary.
I noticed the line about "No space left on the device", so I formatted the internal storage and tried again. This time, it created the notifications folder, but failed on the next file:

Code:
    tar_extract_all(): calling tar_extract_file(t, "//system/media/audio/notifications/Amaranth.flac")
item name: '/system/media/audio/notifications/Amaranth.flac'
reg
==> tar_extract_regfile(t=0x1401b8, realname="//system/media/audio/notifications/Amaranth.flac")
  ==> extracting: //system/media/audio/notifications/Amaranth.flac (file size 73305 bytes)
FAILED RESTORE OF FILE i: //system/media/audio/notifications/Amaranth.flac
E:Unable to extract tar archive '/external_sd/TWRP/BACKUPS/FA43RWM01711/original/system.ext4.win000'
I:Error extracting '/external_sd/TWRP/BACKUPS/FA43RWM01711/original/system.ext4.win000' in thread ID 0
E:Error extracting split archive.
I:extractTarFork() process ended with ERROR=255
I:Failed to reset capabilities of /system/bin/run-as binary.
I noticed that both of these errors seemed to be a problem with extracting the system.ext4.win000 file. I was able to find another TWRP backup of the stock ROM for my device, so I tried that and got the same error. I then tried reinstalling ARHD. The install seemed to complete, but after rebooting the device, it booted back into the TWRP recovery after the splash screen. The only way I've been able to get the device working was to flash the GPE RUU from adb.

Any ideas as to why I'm having these issues? I've searched the forums and Google and can't find an answer.
 
an0ther
Old
(Last edited by an0ther; 5th July 2014 at 01:40 PM.)
#2  
an0ther's Avatar
Senior Member
Thanks Meter 190
Posts: 584
Join Date: Sep 2013
Well. A simple "fastboot erase cache" may have fixed it but now you have changed the partitions from flashing gpe ruu. You need to flash sense ota firmware to fix partitions, then format data and try again. Follow the guide on getting back to sense from gpe conversion.

Sent from my HTC One_M8 using XDA Premium 4 mobile app
The Following 2 Users Say Thank You to an0ther For This Useful Post: [ Click to Expand ]
 
svnyster
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Jul 2014
Quote:
Originally Posted by an0ther View Post
Well. A simple "fastboot erase cache" may have fixed it but now you have changed the partitions from flashing gpe ruu. You need to flash sense ota firmware to fix partitions, then format data and try again. Follow the guide on getting back to sense from gpe conversion.

Sent from my HTC One_M8 using XDA Premium 4 mobile app
That's exactly what I needed. Thanks!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes