Error 255 in TWRP when I try to restore a stock Android 6.0

kikirimai

Member
Mar 15, 2013
30
1
0
Hello, I have my M8 with Android 6.0 and software version 6.16.708.1 , I installed TWRP 3.0.2-0 and I downloaded the backup 6.16.708.1_ckpv5 , when I 'm in the step of the restore the backup, jumps to me an error ( attached image error) extractTarFork () enden process with error : 255, and then it does not continue, could someone help me ?. I'm trying to install a previous version of android, but it still with the error :S.
 

Attachments

ckpv5

Recognized Contributor
Feb 11, 2008
14,359
18,290
0
Kuala Lumpur
Try fastboot erase cache after install TWRP ...

Can you post your fastboot getvar all without serial & imei no. ?

Usually this error is related to partition problem .. maybe flashing the firmware, then TWRP follow by fastboot erase cache command can fix this.
 

kikirimai

Member
Mar 15, 2013
30
1
0
Try fastboot erase cache after install TWRP ...

Can you post your fastboot getvar all without serial & imei no. ?

Usually this error is related to partition problem .. maybe flashing the firmware, then TWRP follow by fastboot erase cache command can fix this.
I tried to install TWRP and then I did fastboot erase cache, but it doesn't work, I'm posting the fatboot getvar all, what more can I do, if I flash system in CMD it can works?

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.16.708.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B63000
(bootloader) cidnum: HTC__622
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 205bdca3
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
 

ckpv5

Recognized Contributor
Feb 11, 2008
14,359
18,290
0
Kuala Lumpur
I tried to install TWRP and then I did fastboot erase cache, but it doesn't work, I'm posting the fatboot getvar all, what more can I do, if I flash system in CMD it can works?
First - a stupid question (because it happened before) - you do flash a correct version TWRP meant for HTC M8, right ? The one that you downloaded from https://dl.twrp.me/m8/

If the answer is yes for the above, try flashing firmware.

Get the firmware fw_6.16.708.1.zip and read how-to in my thread here : http://forum.xda-developers.com/showpost.php?p=60218734&postcount=5

Then unlock the bootloader with the unlock_code.bin .. when successfully unlocked, the system will reboot but it will fail .. press both power + volume up button .. when the screen goes black, release both buttons but press and hold volume down button. This will get you to hboot, press power once to get to bootloader/fastboot ... flash TWRP then try to restore backup.
 

kikirimai

Member
Mar 15, 2013
30
1
0
First - a stupid question (because it happened before) - you do flash a correct version TWRP meant for HTC M8, right ? The one that you downloaded from https://dl.twrp.me/m8/

If the answer is yes for the above, try flashing firmware.

Get the firmware fw_6.16.708.1.zip and read how-to in my thread here : http://forum.xda-developers.com/showpost.php?p=60218734&postcount=5

Then unlock the bootloader with the unlock_code.bin .. when successfully unlocked, the system will reboot but it will fail .. press both power + volume up button .. when the screen goes black, release both buttons but press and hold volume down button. This will get you to hboot, press power once to get to bootloader/fastboot ... flash TWRP then try to restore backup.
Bro, thanks a lot for you help, I really really appreciate it. I fixed my problem with flashing the nandroid 4.16.708.1 with TWRP 2.8.7.0 but I have the same error that it makes me to flash my cellphone, I dont have signal and the cellphone doesnt show to me the imei, do you think if I put the imei in fastboot can it works? (Sorry for my english) and one more time thank you for all your support :D.
 

ckpv5

Recognized Contributor
Feb 11, 2008
14,359
18,290
0
Kuala Lumpur
....but I have the same error that it makes me to flash my cellphone, I dont have signal and the cellphone doesnt show to me the imei, do you think if I put the imei in fastboot can it works?
So .. that's your actual problem. If it is not hardware problem, you can fix this by flashing firmware as I mentioned above. A few people succeed to fix the same problem by flashing firmware.
 

kikirimai

Member
Mar 15, 2013
30
1
0
So .. that's your actual problem. If it is not hardware problem, you can fix this by flashing firmware as I mentioned above. A few people succeed to fix the same problem by flashing firmware.
Perfect, Im going to do all your instructions and then reply, thank you for all :)
 

kikirimai

Member
Mar 15, 2013
30
1
0
Man, you are amazing, thanks for your support :), I did all your instructions and it works, my cellphone now has signal and all its correct, only one thing, the backup 6.16.708.1_ckpv5 maybe its wrong, I couldn't flash it, but it doesn't matter, I installed nandroid 4.xxx, thank you one more time :), greetings! :)