HTC 10 stuck boot loop I feel like a dumbass :(

techsavvy01

Well-Known Member
I own a rooted htc 10. My dumbass self thought selecting dalvik cache cache & system was the correct way to wipe cache partition in twrp. I was so incorrect. I shouldn't have selected system now my HTC 10 is stuck in boot loop & I wonder if all my personal data on internal storage is gone? Now When I go into twrp I recive this message, twrp mount decrypt data password, what is the password?
 

James L

Android Expert
As far as the password you should be able to press cancel and then get to the main menu of twrp. From there restore a backup if you had one on your PC or uploaded to a cloud. If not well you could use a RUU or flash a rom.

Data is gone, you wiped everything. Unless you have a backup, not sure if the HTC 10 supports a SD card or not, never seen one in person. If it does and had you had a backup saved to it you ought to be okay.
 

techsavvy01

Well-Known Member
Thread starter
As far as the password you should be able to press cancel and then get to the main menu of twrp. From there restore a backup if you had one on your PC or uploaded to a cloud. If not well you could use a RUU or flash a rom.

Data is gone, you wiped everything. Unless you have a backup, not sure if the HTC 10 supports a SD card or not, never seen one in person. If it does and had you had a backup saved to it you ought to be okay.

How is my data gone? I did not select data in twrp wipe option. I tapped on advanced wipe cache I selected dalvik cache, cache, & system only.
 

techsavvy01

Well-Known Member
Thread starter
In twrp I see Keep system read only swipe to allow modifications what do I do now? Aw man today is just not my day :(
 

James L

Android Expert
Ok scratch the data part, sorry i look at the forums and work at the same time. So for anyone reading system wipe, wipes the rom.
 

James L

Android Expert
Ok S off or S on? Swipe to allow then download a rom or a Twrp backup for your device and the same model.

If you don't have a backup make one in twrp to create the twrp backup folder. Then transfer the backup into the twrp backup folder.
Restore the backup you copied to the Twrp backup folder on the device. Or flash a rom.
 

James L

Android Expert
Ok S off or S on? Swipe to allow then download a rom or a Twrp backup for your device and the same model.

If you don't have a backup make one in twrp to create the twrp backup folder. Then transfer the backup into the twrp backup folder.
Restore the backup you copied to the Twrp backup folder on the device. Or flash a rom.


If you have S off then you could flash a firmware zip with the HTC-fastboot file.
 

James L

Android Expert
adb sideload should work as well for flashing a stock or custom rom. Advanced, adb sideload, swipe to start. then type adb sideload and drag the rom zip into cmd and press enter.
 

techsavvy01

Well-Known Member
Thread starter
Is there a zip file like in this video that will work for htc 10? The zip file from the video is only for xiomi phones. I don't want to hard brick my phone.


 

James L

Android Expert
Is it a no verity-opt-encrypt zip? Didn't watch the video but if your storage shows 0 mbs then a file like the zip listed above is used with the advanced wipe, format data.
 

techsavvy01

Well-Known Member
Thread starter
Is it a no verity-opt-encrypt zip? Didn't watch the video but if your storage shows 0 mbs then a file like the zip listed above is used with the advanced wipe, format data.

Ok how do I backup internal storage when it shows 0mb in twrp?
 

James L

Android Expert
You could try the backup option but i doubt it would do anything. If sideload works sideload a easy to boot rom like Lineage then backup your data to a cloud.

Then RUU and restore it. If sideload fails well data is gone as you will have to decrypt the storage.
 

techsavvy01

Well-Known Member
Thread starter
You could try the backup option but i doubt it would do anything. If sideload works sideload a easy to boot rom like Lineage then backup your data to a cloud.

Then RUU and restore it. If sideload fails well data is gone as you will have to decrypt the storage.

So I use adb sideload to flash lineage rom? Couldn't I just flash lineage rom through twrp? So once I flash lineage rom I will be able to recover the data successfully?
 

James L

Android Expert
So there is a possibility of recovering my data by flashing lineage rom in twrp adb sideload ?
When you flash Lineage you may just get the error 7 message. if not it'll boot into Lineage. As far as data, if you haven't done anything to wipe it then it should be fine.
 

techsavvy01

Well-Known Member
Thread starter
When you flash Lineage you may just get the error 7 message. if not it'll boot into Lineage. As far as data, if you haven't done anything to wipe it then it should be fine.

Ok good news did not receive error 7 message. Lineage does boot up so no more stuck boot loop However
lineage is asking me for decrypt password. Is this something to do with htc security? Do I have to format data partition in twrp? Will formatting data erase internal storage?
 

James L

Android Expert
I would say there is no way around wiping the data at this point.
Choose wipe, advanced wipe, format data, type yes and press enter.

Before you do this. Is there anyone else on the forums with any input?
 

techsavvy01

Well-Known Member
Thread starter
I would say there is no way around wiping the data at this point.
Choose wipe, advanced wipe, format data, type yes and press enter.

Before you do this. Is there anyone else on the forums with any input?

So let me get this straight, when lineage asks me for password that means data partition is corrupt correct? So if I format data that means internal storage will be erased? If so then I have no choice at this point :(
 

James L

Android Expert
So let me get this straight, when lineage asks me for password that means data partition is corrupt correct? So if I format data that means internal storage will be erased? If so then I have no choice at this point :(
Not corrupt, it's encrypted. Yes everything is wiped.
 
Open TWRP, and run factory reset on it. Wipe your data. So, yeah, factory reset.
Then, flash lineage, then gapps. Assume you know how to flash :p
Don't worry about TWRP's decrypt password, just press cancel and do whatever it says. I've done this on a LeEco Le S3 and got the same error, but successfully flashed ROM afterwards.
Anywho, after flashing everything, your phone should go back to normal. No decrypt password should be needed.
 

techsavvy01

Well-Known Member
Thread starter
Open TWRP, and run factory reset on it. Wipe your data. So, yeah, factory reset.
Then, flash lineage, then gapps. Assume you know how to flash :p
Don't worry about TWRP's decrypt password, just press cancel and do whatever it says. I've done this on a LeEco Le S3 and got the same error, but successfully flashed ROM afterwards.
Anywho, after flashing everything, your phone should go back to normal. No decrypt password should be needed.

Ok buddy so this won't erase internal storage right?
 
Top