[Q] How to restore data folder? - Galaxy S III Q&A, Help & Troubleshooting

hi, I want to restore a backup from data folder but before the first boot, I deleted by error data.tar from cwm backup but before I delete it, I extract to a folder. The left files (System.ext4.tar boot, cache, recovery) can be restore on cwm, so I just need to convert the folder to tar file or making it a flashable zip but before first boot. help what to do. :good:

Related

nandroid restore problem...

ok here is a noob question... i want to restore my nadroid backup but whenever i select restore from recovery it says "no file found".. i really dnt knw wht is wrong.. all the image files are in the sdcard than why it cant restore?
The files should be in the 'nandroid' folder
mihir287 said:
The files should be in the 'nandroid' folder
Click to expand...
Click to collapse
Yes, if he's using AmonRA
If he's using Clockworkmod the recovery is in /clockworkmod/creation date
I think it's best to restore the nand backup with the recovery that it was backed up with..
wpyh said:
I think it's best to restore the nand backup with the recovery that it was backed up with..
Click to expand...
Click to collapse
It's not best. It's a must.
Sent from my LG-P500 using Tapatalk
i put the nandroid image in the folder "nandroid/creation folder with date that was create at tht time/thn image file inside it... i used Clockworkmod recovery 3.01 .. guess i shouldn't had created the nandroid folder thn put the creation folder inside where nandroid image is located... i also created my backup with the clockworkmod recovery's nandroid....
deadcode00 said:
i put the nandroid image in the folder "nandroid/creation folder with date that was create at tht time/thn image file inside it... i used Clockworkmod recovery 3.01 .. guess i shouldn't had created the nandroid folder thn put the creation folder inside where nandroid image is located... i also created my backup with the clockworkmod recovery's nandroid....
Click to expand...
Click to collapse
Stop trying to restore backups made with CWM via AmonRA and vice versa and you will not have any issues. Moving the files will not do any good, simply flash the recovery you have used for backup you want to restore.
Yeah I knw I used clockworkmod for backup nd I'm also using the same for restore.. actually I moved my backup image to my PC to Save space on SD card now I moved it back to restore but it wasn't working.. now I knw wht i did wrong . I put them inside nandroid folder.. but I should have used clockworkmod. Thanks for everybody's Help I will try again later with my backup.
Sent from my LG-P500 using Tapatalk
File must be in there :sdcard/clockworkmod (something like that) /date of creation. It as to be same folder as clockworkmod made when you did your backup. Happended to me at my first restore. copy my date of creation file in a clockworkmod folder on the root of sdcard and it works fine

[Q]Sms recovery?

My rom bootlooped somehow, and I was forced to clear the data partition.
Now I want to recover the messages and put them in the (clean) rom. I extracted /data/data/com.android.providers.telephone/databases/mmssms.db from the nandroid backup before I cleared /data.
I tried copying these files into the rom but the messaging app doesn't show any difference.
Is there a way to salvage the messages?
Tool from this thread should help you. After converting your .db file to .xml, use this app to restore messages to phone.

[Q] Install Custom ROM

I'll root my S3 and then will install a custom ROM, do I need to backup my existing ROM or I can flash it back by downloading it via the forums?
you can either:
-back it up with cwm recovery(making a nandroid backup) so that when you restore it,it restores to the way it was when you made a backup
or
-just flash a custom rom without making a backup.(Note:you can restore it to stock using the stock roms flashable available but you would have to set it up again like you do when you factory reset.)
Lither said:
I'll root my S3 and then will install a custom ROM, do I need to backup my existing ROM or I can flash it back by downloading it via the forums?
Click to expand...
Click to collapse
Always make a full nandriod (use the toolkit) backup of your own ROM, a stock ROM won't restore your the efs folder and, if it gets corrupted during ROM installation can't be recovered.
backup your efs
in cwm, a nandroid backup is simply labelled as back up. it'll be in a zip file in the location of your choosing when it's done or in the cwm folder labelled by the date and time it is backed up.
Sent from my GT-I9300 using xda app-developers app
mputtr said:
in cwm, a nandroid backup is simply labelled as back up. it'll be in a zip file in the location of your choosing when it's done or in the cwm folder labelled by the date and time it is backed up.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thanks for your quick reply !
It should work like that and even more hoped it would work like that !
Instead of a .ZIP file, I get 3 directories under /sdcard0/ClockWorkMod : these are BACKUP, BLOB and DOWNLOAD.
On every backup, there is indeed a directory created in the directory BACKUP with the current date as name (like "2012-11-04.23.27.05").
The data in there can never be a full nandroid back, as it's only 18 MB (yes megabytes).
Here is a listing for example : (size filename)
> ..
8.388.608 boot.img
811 cache.ext4.dup
1.479.801 data.ext4.dup
237 nandroid.md5
8.388.608 recovery.img
289.833 system.ext4.dup
18.547.898 bytes
Notice the file extentions .DUP and their size for cache.ext4, system.ext4 and data.ext4.
I guess the real data must be distributed in the BLOG directory with it's > 2500 sub-directories and taking up 2.7 GB space.
The directory download contains some strange named files :
> ..
6.182.912 -1032133489
157 -1046604230
6.180.864 -1582411299
60.826 -2110140792
907 -750693690
4.846 102398884
2.263 1306009840
73.462 1487533053
630 386293678
9.153 426056750
747 488289109
12.516.767 bytes
Filenames are "random" numbers and all together only about 12 MB
I suspect it has to do with ROM manager, do you have ROM manager installed ?
The problem is that the only backup I have are these, so I can't just trash ROM-manager because I'm unaware of any other tool that is able to handle these backups.
What version from CWM recovery is displayed when a backup is started ?
weird... this is what it looks like in my nandroid back up folder....
it should look like this.
EDIT: i used CWM app to run the backup from the OS, but recovery should be the same
Sent from my GT-I9300 using xda app-developers app
So if I didn't make a backup and wanted to restore back to JB, I will have to setup everything again?
a backup is only there to "restore" you to the point that you made a backup. think of it as a failsafe.
EDIT: yes, if you did not make a backup, you'll just have to flash a stock rom of choice (assuming you're going to stock) and set up everything again (contacts, apps, messages, etc)
the current CWM has 2 options when backing up the files.you can either choose TAR or DUP.default setting is dup.DUP saves more space when you make multiple backups as it stores the core files in the blob folder and only updates the different file when you make a different backup.if you want independent backups,set it to TAR in CWM recovery>backup and restore>choose backup format.
LaZyDood said:
the current CWM has 2 options when backing up the files.you can either choose TAR or DUP.default setting is dup.DUP saves more space when you make multiple backups as it stores the core files in the blob folder and only updates the different file when you make a different backup.if you want independent backups,set it to TAR in CWM recovery>backup and restore>choose backup format.
Click to expand...
Click to collapse
Thank you !
That must be why I could never make a single "stand-alone" NANDROID backup from my SG3 !
To eliminate any interaction from my ROM Manager, I uninstalled it using Titanuim Backup, as I've seen some posts saying that ROM manager doesn't work well with Sammy's, but I don't know for sure.
After rebooting, I went manually in to CWM recovery (the 3 button trick) and created a backup on my external SD card. (not on phone memory).
This is what I got :
An extra directory with current date as name was created under /mnt/extSdCard/ClockWorkMod with the files :
boot.img
cache.ext4.tar
cache.ext4.tar.a
cache.ext4.tar.b
data.ext4.tar
data.ext4.tar.a
nandroid,md5
recovery.img
system.ext4.tar
system.ext4.tar.a
system.ext4.tar.b
Total space occupied : 1.8 GB
Is this the "expected" output from a "backup" (I wanted a nandroid backup) from CWM ?
It seems that some .TAR files are 0 bytes and 2 files are then generated : one with a .TAR.A and one with a .TAR.B.
The file system.ext4.tar.a for example is is exactly 1.000.000.000 bytes, de rest is in system.ext4.tar.b
Note that I'm using the "Touch version 6.0.1.2" from CWM recovery (see method here by mskip (author from "The Toolkit v6.0 for SG3)"
Is this a so called "standard" NANDROID backup ?
Can this completely restore my SG3 to it's current state including all apps, settings,.... ? Obviously I can do a restore using CWM recovery (t least I hope so, but also using "The Toolkit" via it's ADB commands ?
Further, I'm also asking myself about keeping on to use ROM-manager or not, any experiences on SG3 with it (good and bad please) ?

[Q] CWM Recovery question ! ( URGENT ) !!!!

Guys i have a karbonn A21 running ICS 4.0.4
I recently flashed its newly compiled CWM recovery 5.0.xx version ( 5.0.2.8 is full name i guess)
When i try to backup my rom.. it backs up my system image... everything but when it comes to backing up of data .. it gets stuck at the last on a file tombstonenocrash01 .. and after some time the phone reboots itself.
When i check my backup folder in clockworkmod there's about 435 MB of backup data in there including recovery.img , boot.img , data.ext4.tar and system.ext4.tar .
I just wanna ask that is the backup of my rom Complete and is it safe to restore that backup without any errors ?
Because it didnt show " backup complete" and rebooted itself automatically while backing up data in the end .
Help me please !!!
I would not recommend to restore this backup. I don't think it is consistent.
Try the following:
Open your file manager and go to /data/tombstones. Delete tombstonenocrash01 and try backup again.
blu2lz said:
I would not recommend to restore this backup. I don't think it is consistent.
Try the following:
Open your file manager and go to /data/tombstones. Delete tombstonenocrash01 and try backup again.
Click to expand...
Click to collapse
Dont you think it might cause a system crash by deleting that file ? Cause its in the android data folder( not on the sdcard) . There are three of those tombstone files. When i extracted my backed up data.ext4.tar i saw those three files are present . And moreover the size of data folder in android directory is same as that of backed up data.ext4.tar .
What should i do ? Restore or not ?
I am scared cause at the moment we dont have any stock rom for the device and if i restore the device and problem crops up then my device is gone. Suggestions please
I wouldn't use that backup ....it will tell you when backup is complete .......and it doesn't look like yours is
Your phone is still working ??? I would download a stock rom or another rom for your phone and copy it to sd card at least you can
use cwm to install it
Hope this helps
Nishchay1 said:
Dont you think it might cause a system crash by deleting that file ? Cause its in the android data folder( not on the sdcard) . There are three of those tombstone files. When i extracted my backed up data.ext4.tar i saw those three files are present . And moreover the size of data folder in android directory is same as that of backed up data.ext4.tar .
What should i do ? Restore or not ?
Click to expand...
Click to collapse
As I wrote, don't restore.
For deciding to delete the tombstone files you might want to know what they are for:
If one of your apps crash (forced close) such a tombstone file is created. It is kind of a system dump to search for the error. Maybe some apps crashed in the past on your phone.
Always remember:
Files in /data are configuration files. If you format/wipe data in CWM recovery and reboot, your system is still okay. Wiping data only leaves you without configuration of the apps you have installed.
So don't panic, deleting tombstone files does no damage to your system.
blu2lz said:
As I wrote, don't restore.
For deciding to delete the tombstone files you might want to know what they are for:
If one of your apps crash (forced close) such a tombstone file is created. It is kind of a system dump to search for the error. Maybe some apps crashed in the past on your phone.
Always remember:
Files in /data are configuration files. If you format/wipe data in CWM recovery and reboot, your system is still okay. Wiping data only leaves you without configuration of the apps you have installed.
So don't panic, deleting tombstone files does no damage to your system.
Click to expand...
Click to collapse
Deleting tombstone files doesnt help. It's still getting stuck at backing up data . Recovery's fault i guess
fredworxz said:
I wouldn't use that backup ....it will tell you when backup is complete .......and it doesn't look like yours is
Your phone is still working ??? I would download a stock rom or another rom for your phone and copy it to sd card at least you can
use cwm to install it
Hope this helps
Click to expand...
Click to collapse
The phone is kinda new so no roms (even stock) are availible right now
Can anybody help in building a new recovery ?
Nishchay1 said:
The phone is kinda new so no roms (even stock) are availible right now
Can anybody help in building a new recovery ?
Click to expand...
Click to collapse
Yeah.. Please Anyone...
I hope if backup is successful i can create a ROM
Please Anyone!! X)

TWRP (custom recovery) ROM of stock, non-rooted PH1 update

This is a Backup of the PH1 ROM's system and modem partitions. Excepting the recovery, this is a stock ROM, without the SD card fix or root.
You will need a custom recovery to install this ROM. (http://forum.xda-developers.com/note-3-sprint/general/how-to-root-note-3-lollipop-t3089382)
Always perform the appropriate backups and other steps just in case something messes up. If you are on OH1 or OK2, you should be able to just flash and go without any data loss (except root and custom system apps), but no promises.
Extract the folder (ES File Explorer or 7 Zipper) to "extsdcard/TWRP/backups/[serial number]" then boot into recovery and restore the image. 
The easiest way to get the recovery folder is to simply make a backup, then extract this folder next to backup you just made.
I didn't factory reset prior to this backup because it's just system partitions, so let me know if there's anything weird.
https://drive.google.com/file/d/0B2iEgzRTFjrQLWlRZnpraDI4V2c/view?usp=drivesdk
Here's the Odin ROM:
http://forum.xda-developers.com/note-3-sprint/general/rom-odin-ph1-update-t3463178/page1
Here's my pre-rooted TWRP ROM:
http://forum.xda-developers.com/not...-custom-recovery-rom-stock-pre-t3449350/page1

Categories

Resources