Restore on TWRP one cannot find the backups - T-Mobile HTC One (M7)

I installed TWRP 2.6.0.1 as one guides suggested.
I used it to do backups and install the Google rom (that has all a sort of problems). So I waned to go back to my backup but they were not showing in the backup list even if I could them under /sdcar/TWRP/BACKUP/...
After backing up another file I can see the new file.
I installed ROM Toolkit that can see the old backups but it fails to install them because try to get them from /internal_sd/ (or it was /external_sd ?) instead of /sdcard
What is going on?
Did I installed the wrong TWRP or what?

Moved to Q & A, please don't post something in development forums unless you are releasing something.

Camicia said:
I installed TWRP 2.6.0.1 as one guides suggested.
I used it to do backups and install the Google rom (that has all a sort of problems). So I waned to go back to my backup but they were not showing in the backup list even if I could them under /sdcar/TWRP/BACKUP/...
After backing up another file I can see the new file.
I installed ROM Toolkit that can see the old backups but it fails to install them because try to get them from /internal_sd/ (or it was /external_sd ?) instead of /sdcard
What is going on?
Did I installed the wrong TWRP or what?
Click to expand...
Click to collapse
What I did was create a new backup using twrp then I used my file explorer to find the twrp folder and found where the new backup was made. I then moved over my old backup into that folder and when rebooted into recovery it found it
Sent from my HTC One using xda app-developers app

Most likely it's in 0/TWRP or /data/media/TWRP
Sent from my HTC One using Tapatalk 4 Beta

Related

[Q] ROM Manager does not see latest

I recently decided to try MROM (I currently have CM7) so I backed up my current ROM and installed MROM. When I tried to check if I could restore my previous ROM, ROM Manager did not list my latest backups, but instead, listed some really old backups. I checked the clockworkmod folder to see if the latest backups were there and they were. Now, for some reason, ROM Manager was looking in the emmc folder, and not the sdcard (where the latest backups were) and I don't know if there's a way to change where it looks for the backups. I changed the settings to use an external sdcard (I don't know if that would help but I tried) and it didn't help. I then booted into recovery and tried the restore option there and I was able to see my latest backups.
I'm not sure why ROM Manager was unable to see them but booting in recovery worked fine. I want to try MROM (and I know I can restore from the recovery console if I really have to) but I just want to understand why this was happening and if there was another way to restore my backups (ROM Manager saves backups in ext3.tar format and I don't know how to use that with adb).
Don't bother with rom manager. I always get rid of it on every cm rom I try. Its pointless. Your recovery works and its a better option IMO.
Thanks! I would still like to know what's going wrong though, if possible, and also if there's a way to restore a backup saved in ext3.tar format using adb.
mrcountdookoo said:
Thanks! I would still like to know what's going wrong though, if possible
Click to expand...
Click to collapse
Hard to tell. You may never find out. ROM Manager can indeed be weird like that, and is in my opinion unreliable.
mrcountdookoo said:
and also if there's a way to restore a backup saved in ext3.tar format using adb.
Click to expand...
Click to collapse
The backup is a regular TAR archive (as the name suggests). Most recoveries contain the tar tool which you can use to restore the backup.

Possibly softbrick...help!

Looking for some help here...
Was using CWM recovery and decided to switch to TWRP. Made a backup just in case and put some custom roms in a folder on internal storage. Installed TWRP using GooManager and after installation went into Recovery. I forgot to do a TWRP backup and and did a full wipe. I am now stuck with no system installed and TWRP is not seeing the Folder where I have flashable ROMs installed. Any ideas on how I can recover from this? If my PC was seeing the device I know what to do but it isn't....thanks
Found the thread about using the Sideload function in TWRP...will try following that and see it works for me...
mcfarlan said:
Looking for some help here...
Was using CWM recovery and decided to switch to TWRP. Made a backup just in case and put some custom roms in a folder on internal storage. Installed TWRP using GooManager and after installation went into Recovery. I forgot to do a TWRP backup and and did a full wipe. I am now stuck with no system installed and TWRP is not seeing the Folder where I have flashable ROMs installed. Any ideas on how I can recover from this? If my PC was seeing the device I know what to do but it isn't....thanks
Found the thread about using the Sideload function in TWRP...will try following that and see it works for me...
Click to expand...
Click to collapse
select reboot recovery and see if your files show up
Had to go back to work, but yeah, tried that...no joy...only two folders showing on sdcard... CWM and TWRP
If it's in your cwm folder just push cwm and use it to restore your nandroid.
Sent from my HTC One using xda premium
Big Thanks to @sevenpioverthree over in the Galaxy SIII forums for his instructions on how to run ADB commands in recovery. Was able to ADB Push a zip file to sdcard and install. :highfive:
_MetalHead_ said:
If it's in your cwm folder just push cwm and use it to restore your nandroid.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Unfortunately ADB commands do not run if you have no system installed and that was the issue. The Folders I was able to view were empty so I am guessing a 0 sub directory was created. Will check that out later....thanks

HTC One X+ plus - Flash a ROM

I'll appreciate if someone could help me here as I'm new to ROM flashing etc.
I have the stock ROM atm and want to install CyanogenMod 10.1.
I have read the guide but there are a few points that I'd like to clarify,which are not really explained in the guide.
I understand that I have to wipe everything to install the new ROM.
I have TWRP and have just made a full backup, after installing the new ROM,can I get all my stuff back, eg. messages,contacts,apps settings and messages(e.g viber messages) and so on?
if yes, how do I do so?
Thanks
cpu2007 said:
I'll appreciate if someone could help me here as I'm new to ROM flashing etc.
I have the stock ROM atm and want to install CyanogenMod 10.1.
I have read the guide but there are a few points that I'd like to clarify,which are not really explained in the guide.
I understand that I have to wipe everything to install the new ROM.
I have TWRP and have just made a full backup, after installing the new ROM,can I get all my stuff back, eg. messages,contacts,apps settings and messages(e.g viber messages) and so on?
if yes, how do I do so?
Thanks
Click to expand...
Click to collapse
You should use your applications to backup your messages / settings etc. if it is supported.
You need to create a folder named 0 in root of the virtual SD card and move all your contents under 0 folder.
Of course you need to flash the ROM with a compatible kernel..
After installing the new ROM, I've tried to restore the data that I backed up using TWRP but it didn't work.
Now I want to go back to the stock rom and I tried to restore my last backup but it's stuck on the htc splash screen.
I believe I need to fastboot the stock boot.img file but I don't have anywhere, where can I get it from?
Now I'm in a very desperate situation. I've been searching for a stock boot.img file so I could restore back everything.
I thought I found one, I used fastboot to flash the recovery.img file and then went to recovery to restore my backup
now all the data has disappeared ! no restore files etc !
what shall I do?
cpu2007 said:
Now I'm in a very desperate situation. I've been searching for a stock boot.img file so I could restore back everything.
I thought I found one, I used fastboot to flash the recovery.img file and then went to recovery to restore my backup
now all the data has disappeared ! no restore files etc !
what shall I do?
Click to expand...
Click to collapse
recovery.img is not kernel (boot.img).
Flash TWRP recovery image again and hopefully you will find your backups... Never tried such funny things, so not sure ...
Addicted2xda said:
recovery.img is not kernel (boot.img).
Flash TWRP recovery image again and hopefully you will find your backups... Never tried such funny things, so not sure ...
Click to expand...
Click to collapse
can you please tell me where I can find both the kernel(boot.img) and twrp.img ?
and do I use the same process to flash the twrp.img file?(e,g fastboot boot twrp.img)?
Thanks
ps: I found the twrp img file, I used the latest version 2.5.0 and flashed it using fastboot but it didn't work:/
cpu2007 said:
can you please tell me where I can find both the kernel(boot.img) and twrp.img ?
and do I use the same process to flash the twrp.img file?(e,g fastboot boot twrp.img)?
Thanks
ps: I found the twrp img file, I used the latest version 2.5.0 and flashed it using fastboot but it didn't work:/
Click to expand...
Click to collapse
If you did not format /data partition in recovery, your data should still be there, but it sounds like there's something messed up with the /0 folder on your virtual sdcard, created due to multi user feature of android 4.2.
I suggest you chose a rom you'd like to try, flash the correct boot.img (kernel) for this rom, and then install rom using "adb sideload" command.
You should then be able to find your previous sdcard content on your phone using a root explorer and if necessary move it to the right sdcard folder for your android version:
Android 4.1: /data/media/
Android 4.2: /data/media/0/
if it's in the right place you should be able to backup your data to your computer, where it is safe while you can try whatever rom pleases you.
reaper90 said:
If you did not format /data partition in recovery, your data should still be there, but it sounds like there's something messed up with the /0 folder on your virtual sdcard, created due to multi user feature of android 4.2.
I suggest you chose a rom you'd like to try, flash the correct boot.img (kernel) for this rom, and then install rom using "adb sideload" command.
You should then be able to find your previous sdcard content on your phone using a root explorer and if necessary move it to the right sdcard folder for your android version:
Android 4.1: /data/media/
Android 4.2: /data/media/0/
if it's in the right place you should be able to backup your data to your computer, where it is safe while you can try whatever rom pleases you.
Click to expand...
Click to collapse
Thank you
I already made a full backup before trying cyanmod and just to be sure I saved the folder of the backup inside my pc; however I can't fiind the stoch boot.img file that I need to flash it back to stock rom.
toolkit
put the cm 10.1 in your phone. your bootloader has to be unlocked, you must be rooted, and have a custom recovery, everything so far ? next what i do is i go into bootloader flash the boot.img then go into recovery and flash the rom and gapps.Use hassons toolkit to flash the cm 10.1 boot.img.
SomebodyEpic said:
put the cm 10.1 in your phone. your bootloader has to be unlocked, you must be rooted, and have a custom recovery, everything so far ? next what i do is i go into bootloader flash the boot.img then go into recovery and flash the rom and gapps.Use hassons toolkit to flash the cm 10.1 boot.img.
Click to expand...
Click to collapse
I can't push my files using adb sideload
fastboot devices works in bootloader
but when in twrp I activate sideload and then from the pc I try to use adb sideload to push files ,it says no device found
adb devices shows an empty list.
It worked only once at the beginning but not anymore
ps:
I can connect now; I am using the following command
adb sideload nameOfTheFile
Click to expand...
Click to collapse
is this how is done? it goes through but on the phone is says failed.
Ok, I managed to isntall cyanmod again but I can't find my previous data, all pics,music and everything is gone.
I didn't format the data so it must be somewhere but can't find it.
I can see any folder called 0 or 1 in the data folder
PS: FINALLy I managed to restore my last backup, all the settings and apps seems to be fine the backup retained all the settings, apps,messages etc.
however I lost all the music, pics etc.
I didn't format and I remember someone mentioned that they might be somewhere else, where can they be? as I can't see any path called data/media
there's a "data" folder in the device but is empty
Thanks
It should be on the root of your Virtual SD card - as it was...
However if you backup normally - music etc are not backed up.
If there is a 0 named folder in root of your VSD - check there...
Addicted2xda said:
It should be on the root of your Virtual SD card - as it was...
However if you backup normally - music etc are not backed up.
If there is a 0 named folder in root of your VSD - check there...
Click to expand...
Click to collapse
yes there is a folder called "0" in the following path /sdcard/0
but is empty . I mean it has all the folder names (e.g music,dcim) but all are empty.
in Addition: If I check how much free space I have in my phone ,it says 55.6GB ,so its sort of emtpy :/
cpu2007 said:
yes there is a folder called "0" in the following path /sdcard/0
but is empty . I mean it has all the folder names (e.g music,dcim) but all are empty.
in Addition: If I check how much free space I have in my phone ,it says 55.6GB ,so its sort of emtpy :/
Click to expand...
Click to collapse
So,
Unfortunately evverything is deleted....
cpu2007 said:
PS: FINALLy I managed to restore my last backup, all the settings and apps seems to be fine the backup retained all the settings, apps,messages etc.
however I lost all the music, pics etc.
I didn't format and I remember someone mentioned that they might be somewhere else, where can they be? as I can't see any path called data/media
there's a "data" folder in the device but is empty
Thanks
Click to expand...
Click to collapse
You must use a file explorer with root function and you actually have to grant superuser access for it, otherwise /data folder will be displayed as empty. As i said if you did not format /data partition in TWRP, your data should still be there.
---------- Post added at 07:31 PM ---------- Previous post was at 07:29 PM ----------
cpu2007 said:
in Addition: If I check how much free space I have in my phone ,it says 55.6GB ,so its sort of emtpy :/
Click to expand...
Click to collapse
ah sry, didn't read that. then it's most probably deleted... you can still check your /data/media/ folder with a root explorer, but it seem your data is gone...
I can't believe it, I didn't even format or anyting like that.
I had some important stuff in it and it's all gone now :/
Can someone tell me if there's a way to do a complete backup that includes media as well?
I'd like to try to cyanmod because ive lost all my data anyway, so what is the best way to restore all my apps,messages,contacts etc. once I've installed cyanmod?
THanks
change the cm10.1 name to just rom.zip then push
SomebodyEpic said:
change the cm10.1 name to just rom.zip then push
Click to expand...
Click to collapse
I'm not sure what your talking about.
cpu2007 said:
I can't believe it, I didn't even format or anyting like that.
I had some important stuff in it and it's all gone now :/
Can someone tell me if there's a way to do a complete backup that includes media as well?
I'd like to try to cyanmod because ive lost all my data anyway, so what is the best way to restore all my apps,messages,contacts etc. once I've installed cyanmod?
THanks
Click to expand...
Click to collapse
The only way to backup your virtual sdcard is copying the content to your computer.
So you're now back on stock rom or any rooted rom?
If you're rooted you can backup your apps and app settings with Titanium Backup, without root you should try Helium - App Sync and Backup. For messages you can use SMS Backup & Restore and the Contacts app has an export function.
After you made all these backups, copy all the content of your phones internal memory to your computer, so these backups are safe.
Then you can try any rom you want, copy back the sdcard contents and restore your backups.
reaper90 said:
The only way to backup your virtual sdcard is copying the content to your computer.
So you're now back on stock rom or any rooted rom?
If you're rooted you can backup your apps and app settings with Titanium Backup, without root you should try Helium - App Sync and Backup. For messages you can use SMS Backup & Restore and the Contacts app has an export function.
After you made all these backups, copy all the content of your phones internal memory to your computer, so these backups are safe.
Then you can try any rom you want, copy back the sdcard contents and restore your backups.
Click to expand...
Click to collapse
These sort of backups seem to be a headache. The only good one seem titanium backup ,which I believe has the batch option but you have to pay for it; i heard is worth it.
I am back to my original rom,which isn't stock(i forgot that I had a custom rom lol) but revolution.
The app that you've suggested are very specific, for example I have kik,viber etc and these don't have a backup functionality-will I be using titanium for them too? does titanium do a full backup of contacts and messages as well?

[Q] Dual Boot - ROM backup

I'm using GoogyMax (have also used Siyah) and running Purelook HD Rom along with Slimbean as 2nd ROM. Right now I have my phone exactly how I like it but I also like trying new versions. It gets confusing doing Nandroid in each ROM and running backups from both using TB (Titanium) or MBR (My Backup Root) and recently I managed to stuff things up and had to rebuild from scratch.
Is there a way to do a Nandroid and get the entire package backed up? I am presuming in Slimbean backup I get only that ROM (it's around 1.1GB) and the same for Purelook (it's around 2.17GB) It would be good if I could simply boot to recovery and run one Restore and be back to my full setup.
Or am I mistaken in the idea Purelook, based on 4.1.2 stock, would be 2 times the size of Slimbean?
Shouldn't nandroid in CWM backup both Roms as the second is a kind of subset of the first regarding folder structure?
Sent from my GT-I9300 using xda app-developers app
chrismast said:
Shouldn't nandroid in CWM backup both Roms as the second is a kind of subset of the first regarding folder structure?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
No, 2nd ROM is:
/sdcard/.secondrom
This is why it's best to use Siyah recovery to manage nandroid backups for 2nd ROM. However, since /sdcard/.secondrom should contain all the ROM stuff (including data) IIRC, shouldn't you just be able to rename that to /sdcard/.secondrom_OLD and reformat a new /sdcard/.secondrom?
Thanks for the replies.
I am unable to locate the /secondrom using ES File Explorer. Going to / and searching for 'secondrom' gives me no result. secondrom is deinitely there though - I just booted into it. Either it's a setting in ES that I need to change so I can see it (I'm using ES File in the 1st ROM) or I am not understanding how the folder set up works with dual boot. (or possibly, at all )
I guess, unless there is something more specific to find on here, I will have to backup everything then try a restore of each nandroid and see what it gives me.
Its .secondrom, meaning hidden file. Have you enabled hidden files?
On 4.1, /sdcard is /data/media but on 4.2, its /data/media/0 so you'll need to use root explorer permissions to browse and check /data/media if you're on 4.2 as it may appear "missing" as per link in my signature
Sent from my GT-I9300 using Tapatalk 2

[Q] Messed up my TWRP backups

Just got the phone today, and right away I rooted it and loaded the Google Play Edition ROM. Everything went smoothly. Then I decided to move the backup I made of the stock ROM to my computer because it is so huge and just keep a Google backup on the device. So I deleted the files in the folder /TWRP/BACKUPS/8e0b378a/1969-12-31--19-11-41. But when I then went to try to backup my Google it kept failing. I tried deleting folders, and then later adding everything back, but nothing helped. It looks like the problems are:
E: Storage partition "//TWRP/backups/8e0b378a' not found
Updating partition details…
E: Unable to locate storage device.
So... now what? Other than the user error, things are going great!
Assuming the backup of your stock rom is still intact and now on your computer I would try flashing a new recovery like clockwork mod, clockwork mod touch are just re flash your team win recovery and and try to backup your current google rom again through your recovery "nandroid" hope it works for ya.
Sent from my SCH-I545
---------- Post added 18th July 2013 at 12:07 AM ---------- Previous post was 17th July 2013 at 11:23 PM ----------
May also be a sd card issue? Try removing in re installing your sd card. I am pretty sure the default save location for backups are in the internal. Memory but it might help...
Sent from my SCH-I545
Success! It turns out I didn't try replacing the entire TWRP folder with the one I had copied to my computer. That's a relief.
Cool!
I'm having this problem too, now. It looks like if I delete any backup by hand (not with the TWRP interface), TWRP will no longer backup or restore? Crazy! Is my recent backup garbage, just because TWRP refuses to install it?
I had this issue too. here's my current back up path /storage/extSdCard/TWRP/BACKUPS/94937798/"name of your backup". I deleted the numbered part just to have shorter file path but it didn't work. So then i Deleted everything but the main TWRP folder and my Backup of course. then used TWRP to make a nandroid backup and doing that restored the correct full file path. Maybe try it and then place your old nandroid backup in the folder.
Twrp/backup/######/your nandroid backup.
Also your old backup does it display the file path it used to belong to? If so remake that path of folders in the TWRP folder
---------- Post added at 05:25 PM ---------- Previous post was at 05:18 PM ----------
I just read your post again.
Try moving your backup on external SD. Not in a folder then try to restore using Twrp you have find your backup location and select it and try checking the skip md5 verification. Make a nandroid backup 1st just to be safe
Tsukasa Buddha said:
Just got the phone today, and right away I rooted it and loaded the Google Play Edition ROM. Everything went smoothly. Then I decided to move the backup I made of the stock ROM to my computer because it is so huge and just keep a Google backup on the device. So I deleted the files in the folder /TWRP/BACKUPS/8e0b378a/1969-12-31--19-11-41. But when I then went to try to backup my Google it kept failing. I tried deleting folders, and then later adding everything back, but nothing helped. It looks like the problems are:
E: Storage partition "//TWRP/backups/8e0b378a' not found
Updating partition details…
E: Unable to locate storage device.
Click to expand...
Click to collapse
I just got the same error today. I tried to make a backup with TWRP 2.6.0.0 on my Nexus 4 and it couldn't locate the storage device, even though I had other backups already that I could see! So I flashed TWRP to 2.5.0.0 and could back things up again!
Is this a bug with TWRP 2.6.0.0 ?
sordna said:
I just got the same error today. I tried to make a backup with TWRP 2.6.0.0 on my Nexus 4 and it couldn't locate the storage device, even though I had other backups already that I could see! So I flashed TWRP to 2.5.0.0 and could back things up again!
Is this a bug with TWRP 2.6.0.0 ?
Click to expand...
Click to collapse
I just had the same problems after upgrading from 2.5 to 2.6. Can't make a backup "E: Unable to locate storage device.". Can't see backups (list is just empty, but "E: Storage partition "//TWRP/BACKUPS/HT25ZW308588' not found" is in the console). I downgraded to 2.5 and everything started working again.
Tsukasa Buddha said:
Just got the phone today, and right away I rooted it and loaded the Google Play Edition ROM. Everything went smoothly. Then I decided to move the backup I made of the stock ROM to my computer because it is so huge and just keep a Google backup on the device. So I deleted the files in the folder /TWRP/BACKUPS/8e0b378a/1969-12-31--19-11-41. But when I then went to try to backup my Google it kept failing. I tried deleting folders, and then later adding everything back, but nothing helped. It looks like the problems are:
E: Storage partition "//TWRP/backups/8e0b378a' not found
Updating partition details…
E: Unable to locate storage device.
So... now what? Other than the user error, things are going great!
Click to expand...
Click to collapse
TWRP 2.6 is a bit buggy - there is some evidence that installing HyperDrive Rom with 2.6 will bootloop the device, whereas 2.5.0.2 will not. I'd steer clear of 2.6.
wolfgrrl said:
TWRP 2.6 is a bit buggy - there is some evidence that installing HyperDrive Rom with 2.6 will bootloop the device, whereas 2.5.0.2 will not. I'd steer clear of 2.6.
Click to expand...
Click to collapse
Installed hyperdrive with 2.6 TWRP with out any problem. I will say from using a TWRP recovery on a different device that it does not like having the back up path altered
Sent from my BNTV250A using xda app-developers app
Does anyone know what the /sdcard/TWRP/.twrps file is for? Is it general settings that I can safely delete? (without affecting my ability to restore ?)
I had this problem too, I deleted entire folder /sdcard/TWRP/ and then it works again. I think you just need to delete the .twrps file, this is the config file of twrp.
Why aren't we using CWM? ^_^
Thanks
mykeyin said:
I had this problem too, I deleted entire folder /sdcard/TWRP/ and then it works again. I think you just need to delete the .twrps file, this is the config file of twrp.
Click to expand...
Click to collapse
A simple as that. This did the trick. Thanks!
mykeyin said:
I had this problem too, I deleted entire folder /sdcard/TWRP/ and then it works again. I think you just need to delete the .twrps file, this is the config file of twrp.
Click to expand...
Click to collapse
fixed after deleting the twrps file, many thanks.
mykeyin said:
I had this problem too, I deleted entire folder /sdcard/TWRP/ and then it works again. I think you just need to delete the .twrps file, this is the config file of twrp.
Click to expand...
Click to collapse
I had the same problem, and this solved it. It does seem your assumption is correct. I just deleted the.twrps file and it started working again.
silberj said:
I had the same problem, and this solved it. It does seem your assumption is correct. I just deleted the.twrps file and it started working again.
Click to expand...
Click to collapse
Sorted.

Categories

Resources