Twrp encrypted backup error - Desire 816 Q&A, Help & Troubleshooting

I had backed up my current rom (nandroid) using twrp and tried encryption option in backup to set a password to it
When i tried restoring it afterwards, it said wrong password entered. I tried that password so many times, even rebooted to recovery, but wasn't able to restore(decrypt) it.
What can i do now ?
@bigsupersquid
 @rjcool1999

singhjot0020 said:
I had backed up my current rom (nandroid) using twrp and tried encryption option in backup to set a password to it
When i tried restoring it afterwards, it said wrong password entered. I tried that password so many times, even rebooted to recovery, but wasn't able to restore(decrypt) it.
What can i do now ?
@bigsupersquid
@rjcool1999
Click to expand...
Click to collapse
I've not messed with encryption, sorry. Can't help with that one..

Related

Type Password to Decrypt Storage Data???

So this started happening last night, after i wanted to make a backup of a rom it said it failed and couldnt mount the /data and then it asked me to type a passwrod to decrypt storage data....i have never had a password enabled for that and nothing i do can get past that unless i format my data completely.... i did that last night, lost all my data but it worked so whatever! however, today i try to do the same thing, make a backup to flash a new rom and backup failed and here we are again! DOes anyone know what is going on? Or how to set the damn password myself?? I dont wanna keep doing this! HELP!
Simer03 said:
So this started happening last night, after i wanted to make a backup of a rom it said it failed and couldnt mount the /data and then it asked me to type a passwrod to decrypt storage data....i have never had a password enabled for that and nothing i do can get past that unless i format my data completely.... i did that last night, lost all my data but it worked so whatever! however, today i try to do the same thing, make a backup to flash a new rom and backup failed and here we are again! DOes anyone know what is going on? I dont wanna keep doing this! HELP!
Click to expand...
Click to collapse
More info required. What are you flashing? (ROM)
This sounds similar to the RUU Google Play Edition which changes the partition sizes. When you try to flash a sense rom it sees the partition sizes have changed an assumes it is unauthorised so brings up the password to decrypt message. - this is a security measure. It doesn't matter that you haven't set a password up.
This method works to avoid the decrypt storage message.
http://forum.xda-developers.com/showthread.php?t=2733523
grentuu said:
More info required. What are you flashing? (ROM)
This sounds similar to the RUU Google Play Edition which changes the partition sizes. When you try to flash a sense rom it sees the partition sizes have changed an assumes it is unauthorised so brings up the password to decrypt message. - this is a security measure. It doesn't matter that you haven't set a password up.
This method works to avoid the decrypt storage message.
http://forum.xda-developers.com/showthread.php?t=2733523
Click to expand...
Click to collapse
so for more details, last night i was on Philz recovery, i was on ARHD 5.0 and i simply wanted to go from that to Liquid Smooth, an aosp rom, and bam, thats when it started happening and so i thought it was the recovery img, so i am using TWRP now.....but today, i tried going from Liquid to Slim rom, but before i could make a backup it said it couldnt mount the data which is weird because i had literally just backed up my apps with Titanium backup onto my internal storage....
will your method work permanently? Even going from a aosp to aosp?
Simer03 said:
so for more details, last night i was on Philz recovery, i was on ARHD 5.0 and i simply wanted to go from that to Liquid Smooth, an aosp rom, and bam, thats when it started happening and so i thought it was the recovery img, so i am using TWRP now.....but today, i tried going from Liquid to Slim rom, but before i could make a backup it said it couldnt mount the data which is weird because i had literally just backed up my apps with Titanium backup onto my internal storage....
will your method work permanently? Even going from a aosp to aosp?
Click to expand...
Click to collapse
The key part is the stock recovery wipe as this resets the partition info. From there you can restore what you want
grentuu said:
The key part is the stock recovery wipe as this resets the partition info. From there you can restore what you want
Click to expand...
Click to collapse
i formatted the internal storage via TWRP, it seems to work but could it be an app doing it, do you think? im just baffled as to why it happened twice in the past 12 hours
I'm having this problem too.
I was using Philz touch recovery to restore my stock nandroid to see if the location issues I was having was device or CM11 specific. I got the /data message the OP posted, but did not think anything of it as I did not really care about any data as the device was virtually untouched from purchase.
I am not able to boot into fastboot or recovery. Adb does not see the device. When I boot it connected to my PC via usb I can see this for a short period before the window closes on it's own.
View attachment 2917354
Device is Verizon branded
[UPDATE]A friend pointed out that if you use the stock "Close apps and reboot" option it is a slower boot. Once you select that hold power and volume down and you can get into fastboot. From there I was able to get into recovery and reflash CM11. Can not get my stock nandroid to work though.
I also have a problem
impossible:
1 - unlock bootloader
2 - enter to stock recovery
3 - install ruu
what to do ?? how to revive the phone ??

Can't decrypt old data

I have a t-mobile htc 10 unlocked bootloader and S-Off . Okay, first I was on Viper rom and decided to S-Off with sunshine. It said to use the S-Off Locked option, which I did. Upon reboot my device was encrypted and I couldnt decrypt it. I did a nandroid backup to my SD card, and formatted my data. No matter what I tried I couldn't get it to decrypt, so I did factory reset and started over. I still have the backup and the default password still doesn't work. Just curious to if I can decrypt it and salvage some of my data on it? I back up somewhat regularly to my SD card, but I forgot a few things. Any help would be very appreciated. Thanks and God bless in advance.
rappinlarry said:
I have a t-mobile htc 10 unlocked bootloader and S-Off . Okay, first I was on Viper rom and decided to S-Off with sunshine. It said to use the S-Off Locked option, which I did. Upon reboot my device was encrypted and I couldnt decrypt it. I did a nandroid backup to my SD card, and formatted my data. No matter what I tried I couldn't get it to decrypt, so I did factory reset and started over. I still have the backup and the default password still doesn't work. Just curious to if I can decrypt it and salvage some of my data on it? I back up somewhat regularly to my SD card, but I forgot a few things. Any help would be very appreciated. Thanks and God bless in advance.
Click to expand...
Click to collapse
try clicking cancel and it should let you pass that screen...
are you twrp recovery?
Tried and didn't work, yes I'm using Twrp recovery as well
rappinlarry said:
Tried and didn't work, yes I'm using Twrp recovery as well
Click to expand...
Click to collapse
flash the latest version of recovery which supports encryption.... 3.0.2-6 -- >
http://forum.xda-developers.com/htc-10/development/recovery-twrp-touch-recovery-t3358139 (read this op before flashing)
https://dl.twrp.me/pme/
That's what I have after I S-Off I couldn't get into my rom, it said password was correct but unfortunately your data is corrupt. So I made nandroid backup and formatted my data. Thanks very much for the replies.

Has anyone been able to restore a TWRP backup recently?

Has anyone been able to restore a TWRP backup recently?
I have TWRP 3.2.2.0 and it does not seem to be able to restore the backups made by itself?
xclub_101 said:
Has anyone been able to restore a TWRP backup recently?
I have TWRP 3.2.2.0 and it does not seem to be able to restore the backups made by itself?
Click to expand...
Click to collapse
What partitions are you trying to restore?
xclub_101 said:
Has anyone been able to restore a TWRP backup recently?
I have TWRP 3.2.2.0 and it does not seem to be able to restore the backups made by itself?
Click to expand...
Click to collapse
I have backed up and restored a few times. It seems if I restore to the same slot I backed up on I don't get that internal error. So far so good
Badger50 said:
What partitions are you trying to restore?
Click to expand...
Click to collapse
It does not seem to be able to get that far in the first place - when entering the restore menu it is not even able to find the backups - it seems to not be able to recognize folders (created by itself and/or TWRP 3.2.1-2) of the type
1970-05-07--02-18-11_OPM2171019029
1970-06-08--04-10-46_OPM2171019029B1
1970-07-19--11-15-21_OPM2171026006H1

Impossible with TWRP to backup encrypted partition "data"

Hi at all,
with my new phone Xiaomi Mi A2 lite, I wanted doing the backup of my phone with TWRP, because in case of problem I will ready to restored it.
But I have discovery that the partition "data" is not visible because is encrypted and is impossible with TWRP to do the backup of it.
Is impossible use the storage of phone for make the backup beacuse it is also encrypted.
Is there anyone that has found a solution to decrypt and copy the partition in question?
Sorry by poor english and thanks all wonderfull team for the working doing.
If I were you, I would forget about our TWRP. It's just a half baked version which got official status by sponsorship. At best it's an early alpha version far from beeing useable.
thorin0815 said:
If I were you, I would forget about our TWRP. It's just a half baked version which got official status by sponsorship. At best it's an early alpha version far from beeing useable.
Click to expand...
Click to collapse
Thank you for the reply, I sad to reading this. So we must hope an next update for our TWRP. Now is impossible decrypted the partition entering the correct password or pattern.
So today is impossible do the full backup of app and setting....
liboriof said:
Thank you for the reply, I sad to reading this. So we must hope an next update for our TWRP. Now is impossible decrypted the partition entering the correct password or pattern.
So today is impossible do the full backup of app and setting....
Click to expand...
Click to collapse
i think you flashed the twrp image instead of booting it and then using the zip to install it. just redo the twrp installation exactly how it is written on the thread, encryption will work. restoring a backup however, does not (doesn't boot). for this you have to restore the data backup and then reflash the same rom the backup was made with from fastboot with the "flash_all_except_storage.bat". I would also recommend to do this before you try to reinstall twrp.
thorin0815 said:
If I were you, I would forget about our TWRP. It's just a half baked version which got official status by sponsorship. At best it's an early alpha version far from beeing useable.
Click to expand...
Click to collapse
Yes, it is far from usable but at least he built a working tree anyone could build a booting twrp from. it defenitely does not deserve the official status bcs this would mean it is maintained and working propperly.
wertus33333 said:
i think you flashed the twrp image instead of booting it and then using the zip to install it. just redo the twrp installation exactly how it is written on the thread, encryption will work. restoring a backup however, does not (doesn't boot). for this you have to restore the data backup and then reflash the same rom the backup was made with from fastboot with the "flash_all_except_storage.bat". I would also recommend to do this before you try to reinstall twrp.
Click to expand...
Click to collapse
Thank you for reply, I will try to do as you say and later I will write what happened.
I have used the guide by wertus33333 and it working. Thank you for your advice.

Can't restore my TWRP backup

Currentrly using twrp by codeworkxx 190427 version and on 9.0.5 firmware base.
Backing up has no problem, but everytime I try to restore data, twrp just gives me error 255.
I've searched google and found some soultions (eg. deleting user-999, which I don't use multi user and disabling screen lock) but nothing worked.
Also tried different twrp (blu_spark and twrp official) but still same error occurs.
Is there any solution?
fprhqkrtk303 said:
Currentrly using twrp by codeworkxx 190427 version and on 9.0.5 firmware base.
Backing up has no problem, but everytime I try to restore data twrp just gives me error 255.
I've searched google and found some soultions (eg. deleting user-999, which I don't use multi user and disabling screen lock) but nothing worked.
Also tried different twrp (blu_spark and twrp official) but still same error occurs.
Is there any solution?
Click to expand...
Click to collapse
+1 -sian's TWRP
rotterdam said:
+1 -sian's TWRP
Click to expand...
Click to collapse
Does data partition restore fine? I can restore system but can't restore data.

Categories

Resources