TWRP restore failed, wierd folder names, can't access my files after a clean flash - Google Pixel 2 Questions & Answers

Hey Guys!
I'm kind of a noob, so sorry in advance!
Today I wanted to try out the new Q Beta, so I opted in, but before that I made sure to create a TWRP backup, so that I could roll back easily if needed.
Well, after like 30 minutes I realized, that some of my apps won't work properly when using this Q preview. So I went back to TWRP, did a factory reset, then I tried to restore my backup from there. It worked without a problem, but during the boot process it showed me an error like:"AuthFailed..." or something. After that, rebooting back to TWRP I couldn't see my normal folders and stuff. I managed to sideload the latest Pie OTA, it works, but still can't access my internal storage and I only see the wierd folders with scrambled letters and numbers.
I know, that there are multiple mistakes I've made doing this and I should have removed my password... Is there any way to get my stuff back and/or restore that backup? Every available box was checked when creating the backup, I copied it to my PC beforehand, I assume it doesn't contain my pictures etc.
Any suggestion is welcome! Thanks in advance!

hsoma94 said:
Hey Guys!
I'm kind of a noob, so sorry in advance!
Today I wanted to try out the new Q Beta, so I opted in, but before that I made sure to create a TWRP backup, so that I could roll back easily if needed.
Well, after like 30 minutes I realized, that some of my apps won't work properly when using this Q preview. So I went back to TWRP, did a factory reset, then I tried to restore my backup from there. It worked without a problem, but during the boot process it showed me an error like:"AuthFailed..." or something. After that, rebooting back to TWRP I couldn't see my normal folders and stuff. I managed to sideload the latest Pie OTA, it works, but still can't access my internal storage and I only see the wierd folders with scrambled letters and numbers.
I know, that there are multiple mistakes I've made doing this and I should have removed my password... Is there any way to get my stuff back and/or restore that backup? Every available box was checked when creating the backup, I copied it to my PC beforehand, I assume it doesn't contain my pictures etc.
Any suggestion is welcome! Thanks in advance!
Click to expand...
Click to collapse
The weird folders mean the data is encrypted. As long as the data is safely backed up on your PC you can format the data partition and boot the phone completely once and then go back to TWRP and copy the backup back to your phone and restore it.

Related

[Q] PLEASE Help

Hello everyone, for starters im a complete newb at rooting phones and have never before tonight so please excuse my ignorance. I just rooted my phone which went fine, downloaded titanium backup and backed up everything, and then moved a zip of m1 cm10 and gapps onto my ext sd card. then i followed a video on how to install these. i was running clockwork recovery and did a factory reset/clear. in the video, the next screen had an option for "choose zip from sd", all mine had was something like update from external so i clicked that and it brought up my sd card files, including the cm10 and gapps files. i clicked on them (i tried each more than once) and they both stgarted to install then said failed. Im literally here freaking out because none of the apps i downloaded to restore my stuff are on my phone anymore, and when i downloaded them from the play store they said i had not backed anything up. somebody please help me, im legitimately having a nervous breakdown because i lost everything and dont know what to do.
Ok first things first. What was the fail error that CWM produced? I dont understand what you mean by none of the apps you downloaded to restore your stuff are on the phone anymore. Where did they go? If you didnt delete them they should still be there. Did you boot up after the failed attempt, and are now at a factory state OS? Perhaps titanium isnt pointed to the correct location of the backups you made. Please provide more info.
Edit: Ok I misunderstood a point. The apps I take it are gone from the factory reset, but I still dont understand why the backup data cant be restored.
Sounds like CWM didn't flash. That sounds like stock recovery. Flash factory image via Odin, reroot, and reinstall CWM. Download an app called EZ Recovery from the market and follow the instructions. You will be fine.
Sent from my SCH-I535 using xda premium
Just a side note as far as using CWM goes:
I've noticed that with CWM, the backup file sizes are way too small. Hence a possible corrupted backup folder. TWRP seems to work better with our device as far as backups go.
It's always a good idea to check the size of a backup afterwards before proceeding with any risky procedures like low level flashing. Luckily there is always ODIN.
With my device backup sizes range between 2.0GB and 2.34GB.
tekrhino said:
Just a side note as far as using CWM goes:
I've noticed that with CWM, the backup file sizes are way too small. Hence a possible corrupted backup folder. TWRP seems to work better with our device as far as backups go.
It's always a good idea to check the size of a backup afterwards before proceeding with any risky procedures like low level flashing. Luckily there is always ODIN.
With my device backup sizes range between 2.0GB and 2.34GB.
Click to expand...
Click to collapse
You've got to remember that CWM backs up differently now. It backs up data separately in blobs in a different folder. So your backups in clockwork are naturally smaller. Also, I've heard nothing but bad things with TWRP on this device. I'd stay away from it and stick with non touch CWM.
mustbepbs said:
You've got to remember that CWM backs up differently now. It backs up data separately in blobs in a different folder. So your backups in clockwork are naturally smaller. Also, I've heard nothing but bad things with TWRP on this device. I'd stay away from it and stick with non touch CWM.
Click to expand...
Click to collapse
This!
apacseven said:
Ok first things first. What was the fail error that CWM produced? I dont understand what you mean by none of the apps you downloaded to restore your stuff are on the phone anymore. Where did they go? If you didnt delete them they should still be there. Did you boot up after the failed attempt, and are now at a factory state OS? Perhaps titanium isnt pointed to the correct location of the backups you made. Please provide more info.
Edit: Ok I misunderstood a point. The apps I take it are gone from the factory reset, but I still dont understand why the backup data cant be restored.
Click to expand...
Click to collapse
When I open titanium backup and try to restore, it tells me no backups have been performed. Before trying to flash cm10, I moved the backup to my external sdcard and it is still there, yet I still can't restore it and when I try to do something with the files on my card it says no application can perform this task. Ive gotten my contacts back through tha app I backed them up on so I'm at a loss for why tb Isnt working.
levibernhardt said:
When I open titanium backup and try to restore, it tells me no backups have been performed. Before trying to flash cm10, I moved the backup to my external sdcard and it is still there, yet I still can't restore it and when I try to do something with the files on my card it says no application can perform this task. Ive gotten my contacts back through tha app I backed them up on so I'm at a loss for why tb Isnt working.
Click to expand...
Click to collapse
Launch titanium and hit menu/preferences. From there you can change the backup location to wherever you moved it to and it should see them.
Also for your contacts... If you are planning on flashing roms do yourself a favor a migrate your contacts off your phone and on to Google. That way you just log back in to your Google account after a re flash and they are all resynced. Plus you can access them from anywhere at contacts.Google.com
Sent from here using this
Relentless D said:
Launch titanium and hit menu/preferences. From there you can change the backup location to wherever you moved it to and it should see them.
Also for your contacts... If you are planning on flashing roms do yourself a favor a migrate your contacts off your phone and on to Google. That way you just log back in to your Google account after a re flash and they are all resynced. Plus you can access them from anywhere at contacts.Google.com
Sent from here using this
Click to expand...
Click to collapse
Did this ^ in titanium and the files show up, but it still says there is nothing to restore.
Also, could someone tell me/point me to a good method of flashing M1 cm10 onto a us cellular gs3?
mustbepbs said:
You've got to remember that CWM backs up differently now. It backs up data separately in blobs in a different folder. So your backups in clockwork are naturally smaller. Also, I've heard nothing but bad things with TWRP on this device. I'd stay away from it and stick with non touch CWM.
Click to expand...
Click to collapse
I agree 100%, the non-touch version of CWM works perfectly. I could care less about touch/non-touch/color of the app etc. ALL I care about is the capability to do a sucessful restore & CWM has never failed me for that.
I did a restore from it last night & it worked perfectly. The ONLY thing I have ever had to do after a CWM restore is clear data in GMAIL to get it to send.

[Q] Data recovery with adb after soft-brick

Hello,
I installed the latest cyanogenmod nightly. There were issues with the google play store so I had to switch back to a cyanogenmod 11 nightly from december. Unfortunately there was a problem with CWM and based on the information on the forums I flashed the old nightly manually in CWM. Unfortunately, my phone became stuck in a bootloop. I was not thinking clearly so I did not make a backup at the right time. I am trying to recover some data. I have first done a backup within CWM, it has apparently created a backup file in the /sdcard/. I then used "adb pull /sdcard/" to copy the contents of the /sdcard/ to a safe location on my PC. It seems to have worked but I am not sure. I do not know in which folders the data is actually stored.
(I don't know if reflashing the most recent nightly will work)
I was wondering if this solution will work, and if I will be able to keep the app data this way as well as retrieve a few pictures. Ideally I hope this will allow me to put the phone back to its original state at some point. I hear a factory reset deletes the contents of the internal sdcard on the moto g so that is why I am trying to copy it back to PC. But I wonder if I will be able to restore it afterwards. Any adivce would be greatly appreciated.
edit: uh oh seems adb pull sdcard has not completed successfully so I am at a loss at what to do
Is there an option in CWM or TWRP to mount partitions for access by a PC?
audit13 said:
Is there an option in CWM or TWRP to mount partitions for access by a PC?
Click to expand...
Click to collapse
Thanks for your help. I'm sorry I couldn't get back to you earlier. Thankfully I have been able to solve the problem by reflashing the cm12 nightly, retrieving the data from that, and then wiping the phone and reflashing an old snapshot. Now I will be careful with backing up my data in the future.
I don't understand why the cm12 don't work though. I get weird scan lines on everything, including the boot screen. I think it may be due to the google apps because they keep quitting. I will try something else.
edit: I will post this issue in a separate thread

Titanium Backup not Recognizing Backups

Hello!
I was hoping that someone here could help on this annoying problem that I've had for almost 3-4 days now. I've been searching and searching and I've almost tried everything that I could find on the internet.
I recently encrypted my phone and, quite quickly afterwards, realized that, that was a mistake and I decided to "decrypt" by basically hard resetting my phone via TWRP (I rooted my phone a while back). Prior to the hard reset I had backed up everything on my phone via Titanium Backup and then moved all the files from my phone onto my computer (Ubuntu 14.04). If you click on the Titanium Backup files it's filled with .apk.gz, .tar.gz and .properties.
Since I was being completely impatient and didn't really understand what or how to do a nandroid backup, I decided that those two "backup" steps were enough and I should go ahead with the hard reset. Since I resetted via TWRP my phone was still rooted even though everything on the phone was wiped clean.
I redownloaded Titanium Backup, moved the backup files from my computer back onto the SD Card and waited to restore my apps. Nothing. It recognized that there were 284 files moved into the SD Card but only picked up about 44 restores (the majority of those 44 being system apps that I've deleted off my phone via another rooted app). I've tried everything from changing the backup folder preferences, to actually going down the list to redownload everything and nothing. My phone is not recognizing my old backups nor will it redownload them with the previously stored data.
I really would like to restore my phone instead of setting it up all over again so, please help!

Newbie needs some Nandroid backup clairfication

Howdy!
I have finally gotten the multi user problem solved and made my 1st nandroid backup. I have never done a restore so I have a couple of questions:
1) If I flash lineage then do a restore in TWRP can I select just the 'data' partition to restore from my OOS bcakup?
2) Can I do a restore a back up I made in OOS after I flash Lineage or does that muck things up?
3) If I can do a restore of only the 'data' files will that restore all my apps, and will it restore the app data?
I have done several searches of the forums and have not been able to totally figure out how I can save my set up in OOS and get all my apps and data to Lineage without painstakingly loading each app again and setting each app back up.
4) If I copy my entire data folder to my hard drive, flash Lineage, then copy it back to the phone will that accomplish what I am trying to do, or is that what the nd backup will do, or am I barking up the wrong tree totally.
Last time I accidentally wiped my phone and had to rebuild everything from scratch......this time I would like to avoid that fun!!
Thank you in advance,
JC

Stuck in recovery after rom update

Hello,
I just updated the rom Evolution X 11 on my Xiaomi Mi 9T Pro after using an older version for about half a year.
Now my phone does not boot anymore, its stuck in recovery (TWRP). Also all data seems to be encrypted and TWRP is not asking for a password.
Is there a way to get my phone to boot again or at least backup my data before I do a full wipe?
You should always do a full twrp backup before messing with roms.
The best solution would be to backup the "Data" and "Internal Storage" partitions. Data contains all apps, their appdata and settings, while internal storage contains all of your own files (photos, videos etc.). After you back these up, wipe your phone (system, data, cache, dalvik) and flash the version of evolution x you were using previously. Now restore data and internal storage and your device should be back to normal.
If you get a bootloop while booting after restoring data and internal storage, then wipe the device again and this time flash evolution x, but only restore internal storage. This way, it should boot and you will be able to recover your files, though your apps will be gone.
If you only restore internal storage then it will no doubt boot up and you will have access to your files, but since you'll have already backed up the important stuff (data + internal storage), you might as well try restoring data as well, as there is no harm, and if the phone boots correctly after restoring both partitions, your phone will be as it was before your updated your rom.
This happened a while back to me with my J5, the issue was that I made a full TWRP backup, then began to test other roms. After I was done, I tried to restore my backup, but it would constantly fail. I sat down for a while, confused and sad about how my TWRP backup had failed me. I tried every solution I could think of, eventually this solution I've mentioned in the above paragraph came to my mind. Thank god for putting it into my mind, otherwise I would've lost a lot of stuff (mainly whatsapp chats which werent backed up, and a lot of apps which I took the time to pain-stakingly configure in the best way for my device).
Anyways, enough of my story, hope this helps you out! If it does, message back here and let us know, and also mark my post as the solution if it was able to help you, so that anyone else who stumbles upon this thread can be saved too!
Cheers!
PhotonIce said:
You should always do a full twrp backup before messing with roms.
The best solution would be to backup the "Data" and "Internal Storage" partitions. Data contains all apps, their appdata and settings, while internal storage contains all of your own files (photos, videos etc.). After you back these up, wipe your phone (system, data, cache, dalvik) and flash the version of evolution x you were using previously. Now restore data and internal storage and your device should be back to normal.
If you get a bootloop while booting after restoring data and internal storage, then wipe the device again and this time flash evolution x, but only restore internal storage. This way, it should boot and you will be able to recover your files, though your apps will be gone.
If you only restore internal storage then it will no doubt boot up and you will have access to your files, but since you'll have already backed up the important stuff (data + internal storage), you might as well try restoring data as well, as there is no harm, and if the phone boots correctly after restoring both partitions, your phone will be as it was before your updated your rom.
This happened a while back to me with my J5, the issue was that I made a full TWRP backup, then began to test other roms. After I was done, I tried to restore my backup, but it would constantly fail. I sat down for a while, confused and sad about how my TWRP backup had failed me. I tried every solution I could think of, eventually this solution I've mentioned in the above paragraph came to my mind. Thank god for putting it into my mind, otherwise I would've lost a lot of stuff (mainly whatsapp chats which werent backed up, and a lot of apps which I took the time to pain-stakingly configure in the best way for my device).
Anyways, enough of my story, hope this helps you out! If it does, message back here and let us know, and also mark my post as the solution if it was able to help you, so that anyone else who stumbles upon this thread can be saved too!
Cheers!
Click to expand...
Click to collapse
Thank you for your help but backing up the data and internal storage doesnt seem possible right now because all the data is encrypted in TWRP...
If you can't backup anything, then wipe system, cache and dalvik, and flash the version of evolutionx you were previously using. Then boot, it should be fine. If it wont boot (give it some time, it will take the time of a fresh install), then this time wipe system+data+cache+dalvik, then flash whichever rom you like and you'll be able to access the files.
You can also try using platform tools and fastboot or adb ( i dont remember exactly which one) to copy the filess from your phone onto your pc.
Sorry if this doesn't apply to your situation, I've never used a phone which has been encrypted, as such I have no experience with them.
PhotonIce said:
If you can't backup anything, then wipe system, cache and dalvik, and flash the version of evolutionx you were previously using. Then boot, it should be fine. If it wont boot (give it some time, it will take the time of a fresh install), then this time wipe system+data+cache+dalvik, then flash whichever rom you like and you'll be able to access the files.
You can also try using platform tools and fastboot or adb ( i dont remember exactly which one) to copy the filess from your phone onto your pc.
Sorry if this doesn't apply to your situation, I've never used a phone which has been encrypted, as such I have no experience with them.
Click to expand...
Click to collapse
That sounds like a good idea. I found the old version on my PC.
Now I just need a way to install it... because twrp cant read the file. I tried with adb sideload but that results in an error for some reason. Flashing Magisk for example with adb sideload is possible.
Edit: Got it to work by using a tool called "Large Address Aware". Now waiting for the results...
PhotonIce said:
If you can't backup anything, then wipe system, cache and dalvik, and flash the version of evolutionx you were previously using. Then boot, it should be fine. If it wont boot (give it some time, it will take the time of a fresh install), then this time wipe system+data+cache+dalvik, then flash whichever rom you like and you'll be able to access the files.
You can also try using platform tools and fastboot or adb ( i dont remember exactly which one) to copy the filess from your phone onto your pc.
Sorry if this doesn't apply to your situation, I've never used a phone which has been encrypted, as such I have no experience with them.
Click to expand...
Click to collapse
This did not help unfortunately... Im still in the same recovery-bootloop and my data is still encrypted.
It's probably still bootlooping as the data partition got modified when you flashed the newer version of evolutionx, and now it will not work with the old one. You can try wiping system+data+cach+dalvik and then flashing any rom of your choice. This will give you access to your internal storage (photos, media etc), but it will remove your apps and their settings. Whatsapp images are stored in the internal storage so you won't need to worry about those.
Again, this is risky, as it may not work (I don't know much about encryption), or you might still not be able to access your files after flashing the new rom. Proceed at your own risk.
PhotonIce said:
It's probably still bootlooping as the data partition got modified when you flashed the newer version of evolutionx, and now it will not work with the old one. You can try wiping system+data+cach+dalvik and then flashing any rom of your choice. This will give you access to your internal storage (photos, media etc), but it will remove your apps and their settings. Whatsapp images are stored in the internal storage so you won't need to worry about those.
Again, this is risky, as it may not work (I don't know much about encryption), or you might still not be able to access your files after flashing the new rom. Proceed at your own risk.
Click to expand...
Click to collapse
Thank you for still helping me out but I already did a full reset yesterday. I did not lose much except for the time setting it all up again.
I still dont really get the point of encrypting all your data if you cant decrypt it even if you know the password...

Categories

Resources