Open Recovery Photon Q nandroid backup skips /data/system - Upgrading, Modifying and Unlocking

Hello,
I'm a new user to xda-developers and I realize this is not the best place to post this, but it's all I can do for now, so hopefully I won't get flamed too bad. Another user reported this problem but did not know what to do so I thought I would post this in hopes he and the developer see this.
For some reason, nandroid does not backup /data/system, even when backing up "all", or just "data". I started using it and was playing with different releases and so forth, and every time I restored from nandroid I would have to extract data.tar manually, fix the permissions one by one, and copy the data back over after the restore, which took forever. This time I finally decided to look into the problem in more depth and realized the data.tar does not contain the system directory, which of course has all the UIDs and so forth for all the apps stored in the XML files.
With that said, Open Recovery is awesome! I love being able to have a full console and everything right there!! I'm using 2.09 and this has happened on multiple Photon Qs.

Related

nandroid backups restored

hi, i used clockworkmod for a while now backed-up, but never really tried to restore from those back-ups....
i just tried to restore a nandroid backup, i went on the PC and re-named backup as something i`d remember put it back on the Desire, and nandroid just fails instantly at `MD5 mismatch`
could this be because the folder name changes after the backup has been made??, thanks.
also i thought i was being thorough by doing a wipe, from nandroid 1st.
Luckily I went advanced `restore sys only`, this went back to basic stock, logged into myy acc on market, downloaded My Backup PRO, restored the apps/dATA i did with that app.
restarted phone, all is good
whats up with md5 missmatch ?
cheers
Don't move the file around next time. Probably induced an error.
_Dennis_ said:
Don't move the file around next time. Probably induced an error.
Click to expand...
Click to collapse
not sure if its moving the file around so much, as the characters in the filename itself
i did a quick backup this morning, left the filename alone,restored it fine.
booted phone, went into Rom manager and renamed the original back-ups with that instead of PC, they now restore ok.
what i did notice though was when renaming from Rom manager it automaticly replaces spaces with _ seems a bit sensitve to certain characters.
must be filenames (or _+ - spaces etc)the are accepted ok on windows creates, arent freindly when nandriod comes to read them?

Data Restoration From CWM

I am running current version of Bonsai 3.0.1 Yesterday, my phone dropped and the battery fell out. When I tried to reboot the phone, there were many Force Closes. I tried fixing permissions twice but it was still having FC issues, so I figured I'd restore the data. Well, I hadn't backed up in several days, so I did a Nandroid backup before I went to restore. I kind of figured that restoring the phone from a backup of bad data wouldn't work and it didn't. Restoration from that backup causes a endless reboot. Sooooo, I restored from a backup which was several days old and it worked fine. But, my data is old for one particular app.
So my question is this: Can I extract data for one particular app and restore it from a Nandroid backup?
Or is it possible to restore the apps only from the Nandroid backup?
If I choose "Restore Data" from the Nandroid backup, I go into an endless reboot loop.
Restoring the "System" will bring the phone back to working, but the data is old.
Yeah, Yeah, I have Titanium and could have accomplished this easily with it, but I hadn't been backing up there either.
I know I'm probably screwed, but if anyone has any suggestions about how to get my data back (for one app or all), I'd sure appreciate it.
sndtubes said:
I am running current version of Bonsai 3.0.1 Yesterday, my phone dropped and the battery fell out. When I tried to reboot the phone, there were many Force Closes. I tried fixing permissions twice but it was still having FC issues, so I figured I'd restore the data. Well, I hadn't backed up in several days, so I did a Nandroid backup before I went to restore. I kind of figured that restoring the phone from a backup of bad data wouldn't work and it didn't. Restoration from that backup causes a endless reboot. Sooooo, I restored from a backup which was several days old and it worked fine. But, my data is old for one particular app.
So my question is this: Can I extract data for one particular app and restore it from a Nandroid backup?
Or is it possible to restore the apps only from the Nandroid backup?
If I choose "Restore Data" from the Nandroid backup, I go into an endless reboot loop.
Restoring the "System" will bring the phone back to working, but the data is old.
Yeah, Yeah, I have Titanium and could have accomplished this easily with it, but I hadn't been backing up there either.
I know I'm probably screwed, but if anyone has any suggestions about how to get my data back (for one app or all), I'd sure appreciate it.
Click to expand...
Click to collapse
I think there is a way. Someone else had a similiar problem and wanted to get their text message data out. It is in the thread below where 00dwan talks about unyaffs and data files. Seems a bit complicated but if the data is that important you will need to be able to identify the data file for that app.
http://forum.xda-developers.com/showthread.php?t=993827
Hope this helps.
kennyglass123 said:
I think there is a way. Someone else had a similiar problem and wanted to get their text message data out. It is in the thread below where 00dwan talks about unyaffs and data files. Seems a bit complicated but if the data is that important you will need to be able to identify the data file for that app.
http://forum.xda-developers.com/showthread.php?t=993827
Hope this helps.
Click to expand...
Click to collapse
Thank you Thank you Thank you. Works great!
I'm having trouble putting the file where it needs to be (I'll figure it out), but I am able to get the information I need from the data file even if I can't get the file where it goes.
It is kinda weird. I put the file on my SD card and then put it into the phone. I copy the file to the clipboard and then go to the directory I need to place the file in. I select paste and it seems to paste the file, but nothing changes. I think it was because I hadn't mounted the system/data as RW. But the strange thing is that when I copy the file to the clipboard from the SD card, the file DISAPPEARS as if I cut it instead of copied it. Anyway, I'll figure it out.
Thanks again for the tip!
sndtubes said:
Thank you Thank you Thank you. Works great!
I'm having trouble putting the file where it needs to be (I'll figure it out), but I am able to get the information I need from the data file even if I can't get the file where it goes.
It is kinda weird. I put the file on my SD card and then put it into the phone. I copy the file to the clipboard and then go to the directory I need to place the file in. I select paste and it seems to paste the file, but nothing changes. I think it was because I hadn't mounted the system/data as RW. But the strange thing is that when I copy the file to the clipboard from the SD card, the file DISAPPEARS as if I cut it instead of copied it. Anyway, I'll figure it out.
Thanks again for the tip!
Click to expand...
Click to collapse
Glad it helped. Definitely sounds like it wasn't mounted r/w. Wierd that it disappears from card on a copy operation. Root Explorer is good for this.

Replaced Evo, nandroid missing files

Recently I had to have my evo replaced because the mic died. sure was nice to spend 35 bucks instead of 400. after a little work i got it rooted and flashed and made a fresh nandroid of the new rom. I noticed that titanium hadn't backed anythingup lately but I had made a nandroid before taking the phone in. After a little research i moved the old nandroid to the new nandroid folder (serial numbers and all that) and proceeded to wipe everything and restore nandroid. Now I have almost everything back... except most of my apps. seems they were on the sdcard and now don't want to play nice. I can go to manage applications and sdcard and they are there but greyed out and unchecked. if I tap on one, it will crash immediately. I tried fix_permissions which ran for a few mins but nothing changed, so i rebooted again. still nothing. is there another solution for this or should I just attempt to pry open the img file and extract my data there? If so, where would said app data be? not the apps, but their data for saves/bookmarks/etc. Any help would be appreciated, this has been very frustrating.
Use Root Explorer to check whether the data's there (in /data/data) and whether the APKs are missing (/data/app if they were stored on the phone, /mnt/asec if they'd been moved to the SD card). You probably just need to reinstall the app, though you should backup the data just in case.
seems that the info is there in data/data, but not in data/apps. mnt/asec is also empty, though I recall moving most of my things to sdcard at one point. how can I copy data/data to my pc? can't seem to mount it where the pc will see it, even through recovery.
I decided since I can't mount it for some reason (lack of knowledge comes to mind) that I would just unyaffs the files. how would I push the data/data files back to the phone?

[Q] Extracting files from Nandroid

I recently wanted to try a different ROM, so I backed up all my apps with Titanium Backup and then did a Nandroid with Amon Ra. After playing with the new ROM for a few hours, I decided I didn't like it and wanted to return to my previous setup. I tried restoring from the Nandroid 3 times, but I kept getting sent into a bootloop. So I cut my loss and just flashed the same ROM again and figured I'd just restore my apps and set everything up again (I've done this so many times, it doesn't even take me that long anymore). However, after setting everything back up again and restoring my apps, I realized that several of my apps hadn't backed up for some reason and I was restoring from versions several months old (some of these were games that I'd made considerable progress in).
Is there any way of extracting apps from a Nandroid and replacing my current version with them (assuming the Nandroid isn't corrupt and the app files are valid - not sure this is a reasonable assumption, since the phone wouldn't restore to this backup, but I figure it's worth a try...).
Thanks in advance!
Dave
Anybody?
I just tried following this guide: http://forum.xda-developers.com/showthread.php?t=890508, but it didn't have very good instructions once the files were extracted. I didn't find any of my apps in the /app folder, instead the only files I found were in the data.img file and then in the data folder. I tried copying the folder I found onto my phone, but the app crashed as long as I used this replaced folder.
Any suggestions?

Can't get any backups to work

Hello,
I having been having some major problems the last 2 weeks with any and all backups i create of my phone. I have tried to make backups of various Roms using both Rom Manager and also directly by flashing into recovery (CWM touch). Each time the backup is successfully made, but then when i try to flash the backup i get errors saying "file not found". I lost my stock rooted backup, a backup of CM10, a backup of Liquid Smooth, and a backup of JellyBam. Does anyone have any idea why my backups don't seem to work? This is incredibly frustrating as I lose all of data and have no security blanket should something go wrong. Every time i flash a new Rom i wipe Dalvik, Cache, and factory reset/wipe.
Anyone have any idea what's going on with the backups?
what versions of android have you been flashing and are you sure your on the latest recovery?
psycho2k9 said:
what versions of android have you been flashing and are you sure your on the latest recovery?
Click to expand...
Click to collapse
Thanks for the reply. believe liquid smooth was version 4.2 and the jellbam was 4.1.2. My stock was either 4.1.1 or 4.1.2, whichever the last update went to. As far as CWM, I am on 6.0.2.3.
westmenu Marquette
Not sure if this is relevant in all this, but my Titanium Backup wasn't working on it's own either when I flashed any new Rom. It would not see any backups and I would have to go into the Preferences and scan for the folder that had backups in it as it did not automatically detect backups in whatever folder it defaults to. This is also a recent development.
Something Creative said:
Hello,
I having been having some major problems the last 2 weeks with any and all backups i create of my phone. I have tried to make backups of various Roms using both Rom Manager and also directly by flashing into recovery (CWM touch). Each time the backup is successfully made, but then when i try to flash the backup i get errors saying "file not found". I lost my stock rooted backup, a backup of CM10, a backup of Liquid Smooth, and a backup of JellyBam. Does anyone have any idea why my backups don't seem to work? This is incredibly frustrating as I lose all of data and have no security blanket should something go wrong. Every time i flash a new Rom i wipe Dalvik, Cache, and factory reset/wipe.
Anyone have any idea what's going on with the backups?
Click to expand...
Click to collapse
I started several threads on this very issue....my backups also are not working - "file not found" You aren't alone, once more people start experiencing this I'm sure we will see an answer
jackryan57 said:
I started several threads on this very issue....my backups also are not working - "file not found" You aren't alone, once more people start experiencing this I'm sure we will see an answer
Click to expand...
Click to collapse
I've tried searching and nothing relevant came up. Do you also have several folders that appear the same when you reboot into recovery? For example, I have a folder titled "0" that popped up around when the issue started. I have a CWM folder as a subfolder under "0" that appears to be identical to the CWM folder that is not in a subfolder. That's why i brought up the issue i am having with titanium backup, wondering if that has anything to do with anything.
I've tried flashing the backups from both the subfolder and the non-subfolder, and nothing seems to work. The only thing i can successfully do is do a complete wipe and reset and flash a new Rom from scratch off the zip.
If your flashing anything 4.2 related its highly recommended that you use twrp as your recovery because of how the files get condensed into that "0" folder.. Your probably going to have to hunt down your backups I'm sure they are somewhere in that 0 folder
Sent from my SAMSUNG-SGH-I747 using xda premium
psycho2k9 said:
If your flashing anything 4.2 related its highly recommended that you use twrp as your recovery because of how the files get condensed into that "0" folder.. Your probably going to have to hunt down your backups I'm sure they are somewhere in that 0 folder
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
I thought it might have to do with the folder issue, but i have tried flashing from the CWM, backup, and various other folders in both the "0" subfolder and the main folder. In both cases i get an error that say's file not found. That said, do you really think twrp would make a difference? I'm pretty new to android, so i'm not really familiar with it beyond knowing it's a recovery like cwm. I'd be willing to try it out if it wont jack up the little amount of cwm i do actually know and am familiar with. At least now i can flash a new Rom and start over with a titanium backup of files if shizz hits the fan.
The only thing I can think of is to copy and paste the clockworkmod folder from the 0 folder to the root folder and try the restore process from the root folder instead of the 0 sub folder. If that doesn't work I dunno bro
Sent from my SAMSUNG-SGH-I747 using xda premium
psycho2k9 said:
The only thing I can think of is to copy and paste the clockworkmod folder from the 0 folder to the root folder and try the restore process from the root folder instead of the 0 sub folder. If that doesn't work I dunno bro
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
I'll give it a shot even though I've tried loading from the folder directly already.
How would i move it? I've actually tried using file manager and it doesnt let me. It says it can't move the file, or any file actually, from the "0" subfolder.
so i made some serious progress. I used ES file explorer instead of file explorer and it let me move the file for CWM from the "0" subfolder to the main folder. It said that it was going to overwrite everything in the main folder with the subfolder stuff. I accepted and then i dirty flashed a backup of the same Rom (in case the file would not be found again) that had previously not worked.
It actually ended up working. I am afraid to try to flash a backup after completely wiping b/c i dont want to go through the crap of setting everything up again tonight, but i will give it a go tomorrow and report back. So for some reason, backups can't be flashed from CWM from the "0" subfolder, and they can't be flashed from the main folder, unless you move the files from the "0" subfolder to the main folder.
Hope that makes sense to anyone that may have this problem.
If you have the time and are by a computer you can also just move everything out of the 0 folder into the root folder and just get rid of the 0 folder altogether and start from scratch. I think it has something to do with cwm and how they recognize the file system. Like I said you should give twrp a try its very good.
Sent from my SAMSUNG-SGH-I747 using xda premium

Categories

Resources