Data Backup - Android Q&A, Help & Troubleshooting

Okay This Is My First Post Please Dont Flame
This Is For Every One Who Messed Around With Their deice and now cant log in and you have important data in the emulated internal storage which you need. If Yes the follow this simple tut
THIS METHOD IS ONLY FOR THOSE WHO HAVE A NANDROID BACKUP OR CAN MAKE A NANDROID BACKUP USING RECOVERY (i used cwm) IT CANT BE USED TO RESTORE ROM IN PREVIOUS WORKING STATE !! JUST DATA BACKUP
Lets Start..
1). Make A Nandroid Backup (usually created in the external sd) and copy it on the desktop of your computer
2). Download 7-Zip
3). Install
4). now open your backup folder there will be files with different file extensions (named like system data)
5). there will be many files we are only interested in files with extension .tar.ext4.a usually the biggest files
6). now those files are the image files of your internal sd and system
7). open 7-zip and navigate to your file (data.tar.ext4.a) and open it.
8). the fun part now.. now thats your root folder so navigate to /mnt/sdcard/
9). Viola! Its Your Internal SD now just select the file/folder you want
10). Select extract and extract to your required location.
11) And Its Done
This method is usually useful if you use audio manager and you havent changed the default data location from /sdcard0/Program Data/Languages/.fr
Enjoyy

Related

Downgrade CWM 6 to CWM 5

I want to downgrade from CMW 6.x (that comes with KernelPanic) to CWM 5.x, because with CWM 6 you cannot restore a backup. Using CWM 6 the android.secure-backup part is corrupted and therefore all applications on SD are gone.
I tried various methods like x-part, copying files to /system/bin and /system/xbin and one-click-installs using adb, but it will not replace the CWM 6.x. Is that because it's somehow build in with the kernel (in KernelPanic)? Or am I missing something?
Yes, exactly. Because it's built in kernel. In ramdisk to be precise.
u have to flash a kernel that have cwm 5.
this is the only solution
copy the android_secure.vfat.tar part of the backup to your computer .
Use 7z or WinRar to extract the file
You will find a bunch of files with extension .asec
Attach your phone to computer ...
Navigate to .android_secure
copy the asec files to android_secure
Profit !!
karandpr said:
copy the android_secure.vfat.tar part of the backup to your computer .
Use 7z or WinRar to extract the file
You will find a bunch of files with extension .asec
Attach your phone to computer ...
Navigate to .android_secure
copy the asec files to android_secure
Profit !!
Click to expand...
Click to collapse
yes, this is the way of restoring that data manually to sd card.
Thanks for all the answers. I will install the Radeon Kernel, which is quite fast also and has CWM 5 in it.

[Q] How to Pull entire Folder with ADB

I am using Android SDK Manager Revision 22.2.1 with my Samsung Galaxy S3 GT-I9300 International which is running a leaked copy of the Official Samsung 4.2.2 Stock Jellybean ROM dated 24th June 2013. It is rooted.
I wish to copy my entire TWRP backup folder to my PC and in preparation I read several threads which purport to explain how to do it but I only succeed in copying 16Mb worth of .md5 and .win files out of a backup folder which is 2.56Gb in size.
All folders in the TWRP folder are readable, writable and not hidden.
I have used the commands adb pull/sdcard/TWRP/ D:\111. I also tried adb pull/sdcard/TWRP D:\111.
The best I have got so far is to copy BACKUPS/4df1bd936aae7f4b/Leaked_Samsung_4.2.2_stock-15.10.13 which contains the following files:
boot.emmc.win
boot.emmc.win.md5
cache.ext4.win.md5
data.ext4.win000.md5
data.ext4.win001.md5
recovery.log
recovery.emmc.win
recovery.emmc.win.md5
system.ext4.win.md5
There are four missing files including the following large files.
data.ext4.win000
data.ext4.win001
system.ext4.win
Admittedly I am not a developer and am new to ADB so I am presumably doing something wrong.
Can anyone assist please.
If you are wondering why I wish to do this I have twice tried to flash Cyanogenmod 10.1.3 Stable version to my phone but get errors both times. I thought it may help to format my phone but before doing that I want to copy the backup of my ROM so that I can recver back to stock if CM still causes problems.
Simple method would be to make backup to ext sd card or even int sd card .
Then via USB windows explorer copy and paste .
Although I have selected the "Use External Storage" option in ROM manager, it still does not allow me to choose the backup location and gives only the option to save the backup to the sdcard.
I also have TWRP recovery so I will boot into Recovery and see if that gives me the option to backup to my external sdcard which is my preferred option anyway.
matrixmainframe said:
Although I have selected the "Use External Storage" option in ROM manager, it still does not allow me to choose the backup location and gives only the option to save the backup to the sdcard.
I also have TWRP recovery so I will boot into Recovery and see if that gives me the option to backup to my external sdcard which is my preferred option anyway.
Click to expand...
Click to collapse
Thank you JJEgan! I have found an option in TWRP Recovery to save my ROM backup to my external MicroSDCard which is what I needed.
thanks again.

[Q] htc one m8 - Please help restore stock Nandroid backup

Hello experts, I am a completely newbie. I just bought the HTC One m8, and I managed to install twrp, I then watched a video from youtube which showed me how to back up my stock ROM into the *internal* unit using twrp. The video did not mentioned I have to copy the file to the micro SD card first. The video continues to wipe the internal drive, and then do a restore (from the sd card). Unfortunately, when I do the same, wipe the internal drive, and then try to do a restore, only to find that the image is no where to be found in the internal drive. I didnot have a backup in the sd card. I try to look for the image file in the internal drive and I couldn't find the backup file. I came to this site and from the "collection of stock backups" thread and downloaded the nandroid backup for my HTC One m8 which is the "CID BS_US001". I then use my PC to copy this 2.22.1540.4.zip file into my sd card, put the sd card into the HTC unit and go into recovery mode in the twrp (down volume and power), and try to do a restore via the restore button, but it does not work. I don't know exactly the procedures I need to take to restore this stock ROM back to my phone. I want to thank you for providing this file, and I hope the experts here will not find my question a nuisance. I really needed help, I try to take the unit to a shop and they couldn't help. I now have the backup image file downloaded from collection of stock backups. I know the answer is pretty easy, please help. Thanks.
Clipper52a said:
Hello experts, I am a completely newbie. I just bought the HTC One m8, and I managed to install twrp, I then watched a video from youtube which showed me how to back up my stock ROM into the *internal* unit using twrp. The video did not mentioned I have to copy the file to the micro SD card first. The video continues to wipe the internal drive, and then do a restore (from the sd card). Unfortunately, when I do the same, wipe the internal drive, and then try to do a restore, only to find that the image is no where to be found in the internal drive. I didnot have a backup in the sd card. I try to look for the image file in the internal drive and I couldn't find the backup file. I came to this site and from the "collection of stock backups" thread and downloaded the nandroid backup for my HTC One m8 which is the "CID BS_US001". I then use my PC to copy this 2.22.1540.4.zip file into my sd card, put the sd card into the HTC unit and go into recovery mode in the twrp (down volume and power), and try to do a restore via the restore button, but it does not work. I don't know exactly the procedures I need to take to restore this stock ROM back to my phone. I want to thank you for providing this file, and I hope the experts here will not find my question a nuisance. I really needed help, I try to take the unit to a shop and they couldn't help. I now have the backup image file downloaded from collection of stock backups. I know the answer is pretty easy, please help. Thanks.
Click to expand...
Click to collapse
What part of it doesn't work? Can you not find the file? Does it give an error message? Info like that will be very helpful for us to help you.
Thank you es0tericcha0s, I put the 2.22.1540.4.zip file in the sd card. This is the nandroid zip file I downloaded in COLLECTION of Stock backup's for my HTC One m8 model. I did not use the linux adb command to push the file into the sd card, I just just Windows 7's file copy method to copy the zip file to the card. I supposed this means the same thing. I use twrp recovery method, and have already installed the twrp tool into my HTC, the HTC is *unlocked* but I am not sure if it is rooted as well. I booted the HTC by pressing the down volume button and the power button, I went into recovery mode. When I clicked the restore icon in the twrp menu, the internal storage is empty, there is a message that saids internal storage (25404 mb) at the top, I supposed that can't be my original backup nandroid file (too small), the nandroid file downloaded in COLLECTION of Stock backup is located in my sd card (the zip file). I don't know how to find the zip file in the sd card (what button combinations to press etc). There are 3 buttons in the bottom of the restore screen, the middle button when pressed, bring me into the screen that saids in the bottom updating partition details .... Full SELinus support is present (without the usb cable hooking to the PC).
So to summarized, my questions are:
1). does the 2.22.1540.4.zip file in my sd card is all I need for the backup image, do I need to unzip the file first and then change a few things, renaming boot.emmc.win to boot.img, etc.
2). how to get to the sd card to select this file to do a full restore.
3). Does the file 2.22.1540.4.zip found in COLLECTION of Stock backup truly is a saved file to restore, i.e., the actual original backup file. It seems big, at 1.5 gb.
Thank you for any help.
Clipper52a said:
Thank you es0tericcha0s, I put the 2.22.1540.4.zip file in the sd card. This is the nandroid zip file I downloaded in COLLECTION of Stock backup's for my HTC One m8 model. I did not use the linux adb command to push the file into the sd card, I just just Windows 7's file copy method to copy the zip file to the card. I supposed this means the same thing. I use twrp recovery method, and have already installed the twrp tool into my HTC, the HTC is *unlocked* but I am not sure if it is rooted as well. I booted the HTC by pressing the down volume button and the power button, I went into recovery mode. When I clicked the restore icon in the twrp menu, the internal storage is empty, there is a message that saids internal storage (25404 mb) at the top, I supposed that can't be my original backup nandroid file (too small), the nandroid file downloaded in COLLECTION of Stock backup is located in my sd card (the zip file). I don't know how to find the zip file in the sd card (what button combinations to press etc). There are 3 buttons in the bottom of the restore screen, the middle button when pressed, bring me into the screen that saids in the bottom updating partition details .... Full SELinus support is present (without the usb cable hooking to the PC).
So to summarized, my questions are:
1). does the 2.22.1540.4.zip file in my sd card is all I need for the backup image, do I need to unzip the file first and then change a few things, renaming boot.emmc.win to boot.img, etc.
2). how to get to the sd card to select this file to do a full restore.
3). Does the file 2.22.1540.4.zip found in COLLECTION of Stock backup truly is a saved file to restore, i.e., the actual original backup file. It seems big, at 1.5 gb.
Thank you for any help.
Click to expand...
Click to collapse
Ok, now I see where you are at. This should be easier than you think. So here's what you'll want to do:
Reboot to TWRP
Go to Backup ( I know, counterintuitive, but stay with me...)
Backup just the boot.img (This is to create the correct backup folder name/layout)
Unzip the nandroid zip and move all the .img and other files into the TWRP backup folder that has the boot.img that you backed up in it - just overwrite the boot.img you have there
Now go to Restore and you should see your option there now.
Your version of TWRP most likely has a file manager (under Advanced) and you should be able to unzip and move the necessary files all within TWRP. Make sure to pay attention to which storage option you are in if you have internal and external storage options.
If the restore is successful and the phone still does not boot, then return to recovery and perform a reset. If it still does not boot after that, then you'll need to copy the boot.img to a PC and use fastboot to install that.
Thank you es0tericcha0s
Thank you es0tericcha0s,
Based on your response, I am now able to do a full restore of the HTC One m8 stock ROM. What I did was to unzip the Nandroid backup file first and then copied the whole unzip directory into the twrp/backup folder, I then just do a normal restore from the twrp recovery menu, and it worked beautifully. Thanks again.
es0tericcha0s said:
Ok, now I see where you are at. This should be easier than you think. So here's what you'll want to do:
Reboot to TWRP
Go to Backup ( I know, counterintuitive, but stay with me...)
Backup just the boot.img (This is to create the correct backup folder name/layout)
Unzip the nandroid zip and move all the .img and other files into the TWRP backup folder that has the boot.img that you backed up in it - just overwrite the boot.img you have there
Now go to Restore and you should see your option there now.
Your version of TWRP most likely has a file manager (under Advanced) and you should be able to unzip and move the necessary files all within TWRP. Make sure to pay attention to which storage option you are in if you have internal and external storage options.
If the restore is successful and the phone still does not boot, then return to recovery and perform a reset. If it still does not boot after that, then you'll need to copy the boot.img to a PC and use fastboot to install that.
Click to expand...
Click to collapse
Clipper52a said:
Thank you es0tericcha0s,
Based on your response, I am now able to do a full restore of the HTC One m8 stock ROM. What I did was to unzip the Nandroid backup file first and then copied the whole unzip directory into the twrp/backup folder, I then just do a normal restore from the twrp recovery menu, and it worked beautifully. Thanks again.
Click to expand...
Click to collapse
:good::highfive::victory:

Error while copying TWRP Backup Folder

I am using TWRP Recovery which I found on Xiaomi.eu's Android File Host page at https://www.androidfilehost.com/?w=files&flid=50678 with Xiaomi.eu ROM 7.2.9
I Took backup from TWRP Recovery, of all essential partitions. Now the issue I'm facing is that, when I copy the backup folder to Laptop in MTP mode, I only get empty folders copied in Laptop (I'm able to copy everything else in phone to Laptop easily, issue is only with TWRP Backup folder)
I have tried copying the same in phone to some other location but same issue, few files weren't copied. To know the specific files, I copied all files one by one and noticed that these 4 files are having issues and not letting me copy the backup folder.
efs2.emmc.win
efs1.emmc.win
boot.emmc.win
recovery.emmc.win

How to Backup and Restore using TWRP Recovery, copy to PC and restore to any Touchpad

If you are not familiar making any major changes to the Android OS.
The first thing you should know what to do is Backup and Restore.
Make sure you have a valid All partitions backup and save on your PC.
Then you can make modifications, if anything goes wrong. Just restore it and all is same as before!
These steps will help you in creating a backup and be able to restore it to the same Tablet or any other HP TOUCHPAD.
How to create a Backup and restore using Team Win TWRP Recovery ( provided by Flintman ) Many Thanks to Flintman for his great work!
On the TWRP screen touch on Backup
Select the partitions to backup (Boot) (Cache) (Data) (System)
(Disable Skip MD5 generation during backup)
Select the storage (Internal Storage) (Micro SDCard)
Once the backup has completed.
Connect Tablet to Computer by USB
Go to the storage where you selected to save the backup files: (Internal Storage) or (Micro SDCard)
Go to
TWRP/BACKUPS/30N5HOIN9SAMLASPK9V41ADEBSR44B6B (that number will be different)
Select the folder under it, which is a folder with the date of the backup, Copy this folder to your Computer.
Let's assumed that the worse happened, the entire Tablet got wipe out.
To restore backup store in your Computer.
1. Create a new backup using TWRP as you did the first time, select any partition example boot. (It can be empty) (This is done to allow TWRP to create the folder structure and detect the files that you will copy to be restore)
2. Select storage, large enough to copy files from your previous backup that are on your Computer to the Tablet.
Go to the backup that was just created.
TWRP/BACKUPS/30N5HOIN9SAMLASPK9V41ADEBSR44B6B (that number will be different)
Delete the folder under it, which it has the date as the name.
Copy the folder store on your Computer
TWRP/BACKUPS/30N5HOIN9SAMLASPK9V41ADEBSR44B6B (that number will be different)
Select Restore
The backup that was copy from Computer (old backup) will be listed to be restore, in Select Package to Restore
Select all the partitions that you want to restore. All data selected, will be restore.
Many Backups can be created and save into PC and replace when need it.[/SIZE]
* Edited as per shumash suggestion:
Any other input is greatly appreciated!
HP_TOUCHPAD said:
If you are not familiar making any major changes to the Android OS.
The first thing you should know what to do is Backup and Restore.
Make sure you have a valid All partitions backup and save on your PC.
Then you can make modifications, if anything goes wrong. Just restore it and all is same as before!
How to create a Backup and restore.
Select the partitions to backup
Select the storage
Connect Tablet to CP by USB
Go to the storage where backup files are:
Go to
TWRP/BACKUPS/30N5HOIN9SAMLASPK9V41ADEBSR44B6B (that number will be different)
Select the folder under it, which is a folder with the date of the backup, Copy this folder to your PC.
Let's assumed that the worse happend, the entire Tablet got wipe out.
To restore backup store in PC.
1. Create a new backup, select one partition example boot. (It can be empty)
2. Select storage, large enought to copy files from PC to TP.
Go to
TWRP/BACKUPS/30N5HOIN9SAMLASPK9V41ADEBSR44B6B (that number will be different)
Delete the folder under it, which it has the date as the name.
Copy the folder store on your PC to:
TWRP/BACKUPS/30N5HOIN9SAMLASPK9V41ADEBSR44B6B (that number will be different)
Select Restore
The old backup will be listed to be restore.
All data selected, will be restore.
Many Backups can be created and save into PC and replace when need it.
Click to expand...
Click to collapse
You might want to point out that the backup and restore is done in TWRP recovery.

Categories

Resources