[Q] TWRP back up ? - HTC Droid DNA

I decided to go from (Rom){Sense5 4.2.2} Stock+ *9.1.2013 to CM1.2. I made a nandroid in twrp, rebooted into system to move my recovery onto my windows 7 machine (as i have done a couple times in the past). I am able to locate the back up, but when i try to drag it to my desktop only 2 files move. boot.emmc.win and boot.emmc.win.md5 the other files dont copy.
I can manually move 4 other files data.ext4.win000.md5 data.ext4.win001.md5 system.ext4.win.md5 and recovery txt
what does not transfer over is seems to be the 3 ext4 files the 2 labled data.ext4 and system.ext4
nothing happens at all when i try and drag them onto the desktop folder, nor does ne thing happen if try and cut and paste them.
Ne help would be wonderful i would love to save my back up b4 i flash this rom.
Thank you in advance for your help

From what I understand, it is part of the security in TWRP. Ran into the same thing myself. Backups from pre-6.1 TWRP moved fine, new one wouldn't. The best thing I found was to use the file manager inside TWRP to copy the backup. Useful for moving between Sense 4 and 5 Roms. Not real comforting if you don't have a removable card...

adb
Bloe2100 said:
I decided to go from (Rom){Sense5 4.2.2} Stock+ *9.1.2013 to CM1.2. I made a nandroid in twrp, rebooted into system to move my recovery onto my windows 7 machine (as i have done a couple times in the past). I am able to locate the back up, but when i try to drag it to my desktop only 2 files move. boot.emmc.win and boot.emmc.win.md5 the other files dont copy.
I can manually move 4 other files data.ext4.win000.md5 data.ext4.win001.md5 system.ext4.win.md5 and recovery txt
what does not transfer over is seems to be the 3 ext4 files the 2 labled data.ext4 and system.ext4
nothing happens at all when i try and drag them onto the desktop folder, nor does ne thing happen if try and cut and paste them.
Ne help would be wonderful i would love to save my back up b4 i flash this rom.
Thank you in advance for your help
Click to expand...
Click to collapse
You can use ADB, I did it successfully, from Twrp 2.0.6
the adb backups are saved in >.C:/ Users/computer name/backups
adb pull /data/media/0/TWRP

finanandroid said:
You can use ADB, I did it successfully, from Twrp 2.0.6
the adb backups are saved in >.C:/ Users/computer name/backups
adb pull /data/media/0/TWRP
Click to expand...
Click to collapse
worked like a charm thank you much

What I do is back up to a USB stick using a USB OTG cable. It makes the whole process a lot easier, but backups and restorations take longer to complete.
Sent from my CarbonROM 4.3'd HTC DNA

Related

How Do I Delete a Corrupted Nandroid Backup

NOTE: I have searched and reviewed the existing threads on items with similar wording. Several on how to recover corrupted files within the backup etc.. Although the questions and issues are similar none describe the issue that I am experiencing.
Samsung Galaxy Note
Rooted on AOSP xXx FJ,(Flappjaxxx) / FJ Mod of ICS UCLF6
Currently on CWM Recovery 5.8.4.3
Situation:
No prior issues experience with nandroid backup, had 2 other backups plus the one I'm referring to (one of AOSP xXx and FJ Modded)
Performed a nandroid backup to try out CM09 from FJ AOSP. All went well... including the CM09 install and apps.
Missed the S-pen functionality and wanted to flip back to FJ Modded ROM.
Attempted to restore the most recent backup... Failed. Booted into CM09 and went to Root Explorer and looked into the backup file. I noticed that the file has a lot of what appears to be random ASCII characters for file names etc... (indicated to me that this file was corrupted).
Since I had other backups, I went to one of the older ones and restored.
Problem: this corrupted backup is taking up about 1.9 GB and I want to delete but it will not allow me. Looked at permissions and it has RW
Question: how the heck do I delete this thing without having to take my SD card out and formatting the sucker?
Thanks in advance
You should be able to plug in your phone to your computer via USB and open folder to view files on the /sdcard. Make sure USB connection is set to "USB Mass Storage" option when connected. Once you opened the folder to view files, you can navigate to the clockworkmod folder, open, and find the backups within that folder and delete that way...
Sent from my MB865 using xda's premium carrier pigeon service
Did you try to delete it in recovery (sorry if there is no such option, never looked for it...) or in root explorer? You could always get a terminal like https://play.google.com/store/apps/details?id=jackpal.androidterm and do like this:
su (if you're rooted)
cd /sdcard/clockworkmod/backup
rm -r 2012-07-12.13.37
Same commands should work in adb as well
Try. Android Commander.
jje
Sent from my GT-I9300 using xda premium
I think that plugging the USB charger into your computer and manually deleting it should do the trick :fingers-crossed:
OK...
Thanks guys for your responses...
- did try connecting to a PC in mass storage mode and tried to delete... did not work
- use Root Explorer to do a delete as well... did not work
- looked to see if there was a delete option in recovery (first thing I looked for) did not find it
I'll try the other options and see where that goes.
JohnnyQ1964 said:
Thanks guys for your responses...
- did try connecting to a PC in mass storage mode and tried to delete... did not work
- use Root Explorer to do a delete as well... did not work
- looked to see if there was a delete option in recovery (first thing I looked for) did not find it
I'll try the other options and see where that goes.
Click to expand...
Click to collapse
If you download clockwork mod (rom manager) you can delete it in the android application in manage and restore backups.
Empty recycle bin on PC sometimes helps when deleted stuff sticks, make sure do this when plugged in ofc
If you're using Windows, run chkdsk ("Scan this drive for errors" in drive's properties) when connected as a mass storage device.
That should help.
If it won't, the guaranteed method is to copy the files you need somewhere else, format the card and put those files back.
to clairfy, you were able to locate the back up files in the folder "clockwork mod-backup" but then it would not delete when you tried?"
Thanks again for all your input.
PC crapped out this past weekend... new hdd installed and re-building with Windows 7 pro-64 (hmmm... maybe I should dual boot to Ubuntu), will need to reinstall some of the linux/android tools.
@frdd... already had terminal installed tried the commands but no luck... it reports back I'm missing files and i get a lot of errors. I guess I'm gonna have to learn Linux/Android
@icomrade... I've got the purchase ver of ROM Manager and haven't fully gone down that rabbit hole but will investigate
@NeverGone\RU... will leave that as a last resort as i've got a 32GB SD card (sucks up time)
@mankows5... yes did find all the directories and files as it should be... just can't delete that 1 backup
Yeah, try Rom manager. Manage and Restore Backups>Select the one you want to delete, then delete it.

[Q] Bizarre hidden files / partitions

I am having issues with TWRP and partition on the device. I downloaded a new rom, which is in /SDCARD/Download directory. I can see it just fine using Root Explorer.
When I boot recovery, my /SDCARD/Download shows files that didn't exist before. Not only is the newly downloaded rom file (with .zip extension) not there, an OLD rom file is, one that existed before I wiped it and started over from a TWRP backup.
Its almost like there are 2 entire partition living on the device. Oh and one other thing: I just started from scratch again (not a recovery) and already have 8GB of space taken. Its under the "OTHER" tab in Phone Storage.
Is there anyway I can just delete everything and start from scratch? Will installing a stock T Mobile RUU do this? If I go that route, do I need to unlock the bootloader again / root again?
Have you flashed to and from 4.2 roms? You can find the other files in twrp by going up to the root folder and then data/media. You could ruu to get rid of it but it'll pop up again if you flash from 4.1.2 to 4.2.2 and back.
Sent from my HTC One using Tapatalk 4
Had this happen to me when I tried a 4.3 Rom and went back to stock T-mo Rom. Used a file explorer to find file O(I think) and transferred all my files back to original sdcard folder.
Sent from my HTC One using XDA Premium 4 mobile app
Well I think I found the problem. I was browsing my sd card using root browser looking for a Rom file (trickdroid.zip). I saw it before in the sdcard/download folder when using the file browser in twrp. But now it's not there.
So I start to pry through other folders and I notice a new folder: "0" zero. A folder called 0 with and entire sdcard folder structure within it. I look in the new download folder and there is.my missing file.
I'm curious how this new zero folder came to be. I have a theory, I did reinstall a Rom without wiping and I think that did it. I usually always wipe but specifically didn't this time because I have a twrp backup that I need to save.
I.take it the OS is now using the regular sdcard path? How can I tell twrp to look in that path for the backup (if I move it there)? When you hit restore in twrp I don't think it lets you browse for the backup. It assumes it's in the "default" spot...
Sent from my HTC One using xda app-developers app

Number of files in backup folder ?

If I connect my phone to the laptop and look at a specific 'backup date' that's saved, on my phone, there is 6 or 7 files within the folder.
If I then copy the backup to the HDD on my laptop and open it there's only 2 files in the folder.
Why ?
Does that mean that if, for whatever reason, I lost my backups on the phone and then copied them from my laptop to my phone, they wouldn't work as a 'restore' because there's 'files missing' ?
Thanks
10rdan said:
If I connect my phone to the laptop and look at a specific 'backup date' that's saved, on my phone, there is 6 or 7 files within the folder.
If I then copy the backup to the HDD on my laptop and open it there's only 2 files in the folder.
Why ?
Does that mean that if, for whatever reason, I lost my backups on the phone and then copied them from my laptop to my phone, they wouldn't work as a 'restore' because there's 'files missing' ?
Thanks
Click to expand...
Click to collapse
I am not really aware of thud issue, first off please post the name of the recovery you are using, since nandroid backups differ.
It might be probable that there is an issue while using the usb.
I would suggest following this step.
Download Airdroid (its a way that you can copy files or download files from your phone to your computer and vice versa over the WiFi )
Go to your backup folder , write click on your backup folder and select "download as zip" . Once downloaded try to open the zip file and count the number of files.
Good luck
Sent from my HTC One x+ using XDA developers app
Ghand0ur said:
I am not really aware of thud issue, first off please post the name of the recovery you are using, since nandroid backups differ.
It might be probable that there is an issue while using the usb.
I would suggest following this step.
Download Airdroid (its a way that you can copy files or download files from your phone to your computer and vice versa over the WiFi )
Go to your backup folder , write click on your backup folder and select "download as zip" . Once downloaded try to open the zip file and count the number of files.
Good luck
Sent from my HTC One x+ using XDA developers app
Click to expand...
Click to collapse
OK, will give it a go. Using TWRP-
Cheers
10rdan said:
OK, will give it a go. Using TWRP-
Cheers
Click to expand...
Click to collapse
Concerning the number of files in the TWRP nandroid backups, it differs from one ROM to the other. For me I have about 7 in stock, 8 in CM and 9 with android hd revolution.
If you want to know whether your copying is a success, compare the folder size. Use ES file explorer or any other to total size, then on your computer do the same and compare. But I think its an issue with your USB hubs or the phone itself . Airdroid fixed it to me as I am having laggy usb hubs and so forth and so on, so it saves time.
Ghand0ur said:
Concerning the number of files in the TWRP nandroid backups, it differs from one ROM to the other. For me I have about 7 in stock, 8 in CM and 9 with android hd revolution.
If you want to know whether your copying is a success, compare the folder size. Use ES file explorer or any other to total size, then on your computer do the same and compare. But I think its an issue with your USB hubs or the phone itself . Airdroid fixed it to me as I am having laggy usb hubs and so forth and so on, so it saves time.
Click to expand...
Click to collapse
It's stock 4.2.2, sense 5 that I backed up.
Just tried Airdroid like you suggested, will take a bit of getting used to, and still 2 files missing.
Files on phone in backup folder :- boot.emmc.win
boot.emmc.win.md5
data.ext3.win
data.ext3.win.md5
recovery.log
system.ext4.win
system.ext4.win.md5
Files on laptop after transfer :- boot.emmc.win
boot.emmc.win.md5
data.ext3.win.md5
recovery
system.ext4.win.md5
For whatever reason, 'data.ext3.win' and 'system.ext4.win' are missing ???
Thanks
10rdan said:
It's stock 4.2.2, sense 5 that I backed up.
Just tried Airdroid like you suggested, will take a bit of getting used to, and still 2 files missing.
Files on phone in backup folder :- boot.emmc.win
boot.emmc.win.md5
data.ext3.win
data.ext3.win.md5
recovery.log
system.ext4.win
system.ext4.win.md5
Files on laptop after transfer :- boot.emmc.win
boot.emmc.win.md5
data.ext3.win.md5
recovery
system.ext4.win.md5
For whatever reason, 'data.ext3.win' and 'system.ext4.win' are missing ???
Thanks
Click to expand...
Click to collapse
that was the bug with the TWRP 2.6.0 version...some ****ed up permission issue where the file will be in phone but won't copy to the PC...
but that has been sorted on the latest version of TWRP 2.6.3 u can get that from here
[email protected] said:
that was the bug with the TWRP 2.6.0 version...some ****ed up permission issue where the file will be in phone but won't copy to the PC...
but that has been sorted on the latest version of TWRP 2.6.3 u can get that from here
Click to expand...
Click to collapse
Ok, cheers.
What's the best way, or only way, to get it onto the phone, does it just wright over the top of the version I currently have ?
Thanks
Also...... after putting latest TWRP on phone, will the backups I made with older version disappear ?
Cheers
10rdan said:
Also...... after putting latest TWRP on phone, will the backups I made with older version disappear ?
Cheers
Click to expand...
Click to collapse
U can flash it on top of the old version....
and just clear the cache from the fastboot (just incase)
ur backup ll all be there it simply wouldn't disappear.......
Flash it with "fastboot commands" or put on sd and "install" through TWRP ?
Cheers
[email protected] said:
U can flash it on top of the old version....
and just clear the cache from the fastboot (just incase)
ur backup ll all be there it simply wouldn't disappear.......
Click to expand...
Click to collapse
Flash it with "fastboot commands" or put on sd and "install" through TWRP.
Cheers
Sorry for double post.
10rdan said:
Flash it with "fastboot commands" or put on sd and "install" through TWRP ?
Cheers
Click to expand...
Click to collapse
Using fastboot...
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-enrc2b.img
fastboot erase cache
[email protected] said:
Using fastboot...
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-enrc2b.img
fastboot erase cache
Click to expand...
Click to collapse
Thanks a lot.
[email protected] said:
Using fastboot...
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-enrc2b.img
fastboot erase cache
Click to expand...
Click to collapse
Downloaded TWRP, put in 'fastboot' folder, connected phone, phone recognised, used command 'adb reboot bootloader', phone rebooted and showing 'fastboot usb', BUT
when I type the command 'fastboot flash recovery openrecovery-twrp-2.6.3.0-enrc2b.img' I get a message saying '`fastboot' is not recognized as an internal or external command'
?????
10rdan said:
Downloaded TWRP, put in 'fastboot' folder, connected phone, phone recognised, used command 'adb reboot bootloader', phone rebooted and showing 'fastboot usb', BUT
when I type the command 'fastboot flash recovery openrecovery-twrp-2.6.3.0-enrc2b.img' I get a message saying '`fastboot' is not recognized as an internal or external command'
?????
Click to expand...
Click to collapse
I am pretty sure then u r missing the fastboot files in that folder.....
check whether u have fastboot files in that folder and set up things properly
[email protected] said:
I am pretty sure then u r missin the fastboot files in that folder.....
check whether u have fastboot files in that folder and set up things properly
Click to expand...
Click to collapse
Sorted..... put "download" into "sdk", "platform-tools", typed commands from "platform-tools" and.... sorted !
Thanks
[email protected] said:
that was the bug with the TWRP 2.6.0 version...some ****ed up permission issue where the file will be in phone but won't copy to the PC...
but that has been sorted on the latest version of TWRP 2.6.3 u can get that from here
Click to expand...
Click to collapse
Updated TWRP last night and copied backups to laptop this morning using USB cable AND Airdroid.
Same results, files missing. They're on my phone, in case of restore, but can't get them ALL onto laptop.
Tried to copy them onto Ubuntu, it's a dual boot laptop, but that only copies an empty folder ?
Also tried copying from phone direct to USB stick, no joy.
CONFUSED.
10rdan said:
Updated TWRP last night and copied backups to laptop this morning using USB cable AND Airdroid.
Same results, files missing. They're on my phone, in case of restore, but can't get them ALL onto laptop.
Tried to copy them onto Ubuntu, it's a dual boot laptop, but that only copies an empty folder ?
Also tried copying from phone direct to USB stick, no joy.
CONFUSED.
Click to expand...
Click to collapse
Still trying.....
Been trying through, various, wifi transfer apps. Nada !
Also tried copying the files one at a time through USB, the ones that will not copy are 'data.ext3.win' and 'system.ext4.win'.
Even when 'right clicking, to copy, I've tried copying to folders and straight to desktop, they just will not copy. I DON'T get any message re. unable to copy, absolutely nothing happens.
Any suggestions ?
Thanks
10rdan said:
Still trying.....
Been trying through, various, wifi transfer apps. Nada !
Also tried copying the files one at a time through USB, the ones that will not copy are 'data.ext3.win' and 'system.ext4.win'.
Even when 'right clicking, to copy, I've tried copying to folders and straight to desktop, they just will not copy. I DON'T get any message re. unable to copy, absolutely nothing happens.
Any suggestions ?
Thanks
Click to expand...
Click to collapse
what version of TWRP version r u using.....?
is it TWRP 2.6.3 or older
there is one way u can copy the old backup files to ur PC....
put ur phone on recovery mode and "adb pull" the files to ur PC
ex: "adb pull sdcard/TWRP/BACKUPS/XXXXXXXXX/backup/data.ext3.win"
10rdan said:
Still trying.....
Been trying through, various, wifi transfer apps. Nada !
Also tried copying the files one at a time through USB, the ones that will not copy are 'data.ext3.win' and 'system.ext4.win'.
Even when 'right clicking, to copy, I've tried copying to folders and straight to desktop, they just will not copy. I DON'T get any message re. unable to copy, absolutely nothing happens.
Any suggestions ?
Thanks
Click to expand...
Click to collapse
read here: http://forum.xda-developers.com/showthread.php?t=2357819
also, after upgrading TWRP, did you try to copy your old backups or did you created new one?

Anyway to Clone a Rooted Android Tv Box?

I'm looking for a way to clone a Rooted android box to other android boxes. I want to clone my Tv launcher and apps plus settings.. I have tried a few programs Titanium backup but it seemed to back it up and restore fine but fails to recovery the settings for each app. If there is a faster way of doing this please let me know. The boxes are all different, but have the same processors s905x amlogic. Is there a way to make a IMG then use the usb burning tool to write to each box?
I Used Filezilla to grab files but it also fails to load all the files from the entire box?
Use twrp to create a image then flash that image to the other
I'd agree with Bcoates84, I've been testing out the process of cloning some Samsung tablets by simply restoring TWRP backups and so far everything's worked out pretty well.
It would be a good idea to backup the target ones just in case before trying it since you mentioned they are different boxes.
If you look up TWRP for your specific model(s) there should be some good information to get you heading in the right direction.
So i have done my backup on the box i want to clone, ill call it A-box. I got a Folder called TWRP/Backups With a few files
Boot.emmc.win
data.ext4.win000
data.ext4.win001
data.info
recovery.log
system.ext4.win
system.info
I plugged the stick into the box i want to clone, ill call it b-box went to restore this time and it fails to see the backup?
So I copied the TWRP folder with it's contents this time to my desktop and deleted the TWRP folder from the USB stick. Decided to do a Backup on b-box even know i didn't need the backup just wanted the folder structure to compare the two which i then got.
Boot.emmc.win
data.ext4.win
data.info
recovery.log
system.ext4.win
system.info
So I removed all the FILES from the usb only leaving the folder structure TWRP/BACKUP/SERIALNUMBERS I'm guessing? Also the p212-userdebug_6.0.1 folder. Then copied my files from A-box into the file structure and went to do a restore and it sees the image! Restore went smooth, went to reboot and it's stuck on android splash screen for 30mins now so guessing it's bricked. I can flash stock img back thats not a issue. Just trying to figure out how to clone this damn thing lol.
Is there anyway to simply make a Img so i can flash it via the amlogic usb burning tool. I saw this guide https://forum.xda-developers.com/showthread.php?t=2746044 which i can extract the system.ext4 seeing all the system files, fast_preinstall, addon.d, app, bin, fonts, usr ect... But i don't see boot.emmc.win anywhere? I'm assuming this methods for phones only?

Browse and extract contents of TWRP Nandroid backup on Windows PC?

Very simply, how do I browse and extract the contents of a TWRP Nandroid backup on my Windows PC?
I am trying to browse a TWRP backup but I have a feeling I need to do a bit more fussing around. The backup is split into data.ext4.win000 through data.ext4.win007 and each of the parts has an accompanying .md5 with the same naming structure (ie. data.ext4.win000 and data.ext4.win000.md5.) There's also a data.info file as well.
The system backup is the exact same as described above for the data, except it's only 2 parts (system.ext4.win000 and system.ext4.win001, with the accompanying md5 files and the info file.)
Can someone provide a bit of guidance? I'm using a Windows 7 Home Premium machine.
kwest12 said:
Very simply, how do I browse and extract the contents of a TWRP Nandroid backup on my Windows PC?
I am trying to browse a TWRP backup but I have a feeling I need to do a bit more fussing around. The backup is split into data.ext4.win000 through data.ext4.win007 and each of the parts has an accompanying .md5 with the same naming structure (ie. data.ext4.win000 and data.ext4.win000.md5.) There's also a data.info file as well.
The system backup is the exact same as described above for the data, except it's only 2 parts (system.ext4.win000 and system.ext4.win001, with the accompanying md5 files and the info file.)
Can someone provide a bit of guidance? I'm using a Windows 7 Home Premium machine.
Click to expand...
Click to collapse
Simply rename the file to data.ext4.tar and use winrar to extract it.
I'm revamping this thread because I'm...desperate!
I have a nandroid backup (TWRP 2.8.7.0) and I would like to browse it on my PC. I'm focusing on files with structure data.ext4.win000x (where x goes from 0 to 2).
I'm able to open with 7-zip (should be equivalent to winrar) every individual file but size is faulty: every file is nearly 1.5 Gb while the content of the zipped file that I see it's around 50 kb. If I concatenate the files with the command copy /b data.ext4.win000? outputfile regardless the extension I give to "outputfile" I'm no longer able to open it with 7-zip.
Any suggestion/hint please ????
Not finding entire folders/files while browsing backup
I find the same thing regardless of the mechanism I am using to browse the backup. I am looking in /data/data for my own apps' data. Here is what I have tried so far:
1. Nandroid Manager app
2. TWRP Explorer app
3. ZArchive app
4. In a terminal, cat data.ext4.win??? | tar -tv > less (and then searching for my apps' package names
I was looking inside my nightly full backup to extract and recover some files I accidentally deleted. Cannot even find folders for the package names (except for 1 app). However, when I do a full restore from the same backup inside of TWRP Recovery, the missing files are indeed restored. So I know they are in the backup.
Why can I not find them and get at them any way else? I must be missing something simple.
Thanks
BTW - in the recovery.log file in the backup folder, I see the folders/files in question being "added". Very odd.
BTW2 - at least with regards Nandroid Manager app, I noticed that I was seeing some files I know I had removed from my apps some time ago. How could that be? I decided to clear data/cache for Nandroid manager and try again. It took much longer to process the backup for exploring. But now at least that app seems to be doing the right thing and I can see all folders/files.

Categories

Resources