Post Reply

[Q] Error During TWRP Restore

OP svnyster

5th July 2014, 11:07 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Jul 2014
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.
5th July 2014, 01:36 PM   |  #2  
an0ther's Avatar
Senior Member
Thanks Meter: 206
 
594 posts
Join Date:Joined: 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
Last edited by an0ther; 5th July 2014 at 01:40 PM.
The Following 2 Users Say Thank You to an0ther For This Useful Post: [ View ]
5th July 2014, 08:14 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Jul 2014
Quote:
Originally Posted by an0ther

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!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in One (M8) Q&A, Help & Troubleshooting by ThreadRank