Recover storage after format? - Nexus 7 (2013) Q&A

not sure how or why, but my n7 soft bricked during a reboot. i wasn't able to get into recovery at all even after reflashing twrp. i am unlocked/rooted so i flashed stock images which worked as the tablet was able to boot. however, it unfortunately wiped my storage. is there any way to recover that data? i've been unable to find anything that has been able to scan it for deleted files. im most concerned about my titanium backups. thanks for any recommendations.

redbeard1083 said:
not sure how or why, but my n7 soft bricked during a reboot. i wasn't able to get into recovery at all even after reflashing twrp. i am unlocked/rooted so i flashed stock images which worked as the tablet was able to boot. however, it unfortunately wiped my storage. is there any way to recover that data? i've been unable to find anything that has been able to scan it for deleted files. im most concerned about my titanium backups. thanks for any recommendations.
Click to expand...
Click to collapse
May wanna give this post a read: http://forum.xda-developers.com/showthread.php?p=47623410. It's very well written and explains how storage works on Nexus devices.
If it's too long, and you don't feel like reading... Bottom line, I'm afraid you're out of luck. Sorry for your loss. This is why I always keep copies of my nandroid and TiBu backups off the device in case this happens. Also, I have Dropbox and Google+ backup all my pics and vids to the cloud since I've already fallen victim to losing them once before.
Sent from my Nexus 5 using XDA Free mobile app

that sucks! i do greatly appreciate your taking the time to respond though. better luck next time, right?

redbeard1083 said:
that sucks! i do greatly appreciate your taking the time to respond though. better luck next time, right?
Click to expand...
Click to collapse
For sure. I still remember that feeling in the pit of my stomach when I realized I had just accidentally deleted the camera folder on my GNex. That's why I went total overkill and have both Dropbox and Google+ backup all my pics and videos. I swore, "Never again!"

Related

[Q] Recover Corrupt Data from No Journaling Boot Loop

My Battery may be going bad it's been holding weird charges lately. So it dies while its plugged in and charging and I'm in boot loop hell. I have my texts and call logs backed up with SMS+ so I know I only lost a few and my last full CWM back up was like 5 or 6 weeks ago, but to make things easier..
Is there any way I can recover some apps or texts from the backup I made after my files were corrupted? I am assuming it doesn't corrupt every last thing. Any help would be appreciated. I searched didn't find anything..
celsius0010 said:
My Battery may be going bad it's been holding weird charges lately. So it dies while its plugged in and charging and I'm in boot loop hell. I have my texts and call logs backed up with SMS+ so I know I only lost a few and my last full CWM back up was like 5 or 6 weeks ago, but to make things easier..
Is there any way I can recover some apps or texts from the backup I made after my files were corrupted? I am assuming it doesn't corrupt every last thing. Any help would be appreciated. I searched didn't find anything..
Click to expand...
Click to collapse
You can use Titanium backup and after getting your system stable again, ONLY restore data to those apps that you absolutely have to have data for and then only 1 at a time and make sure they work. If they FC, clear data and count it as lost. You should be able to recover some databases like if you use memo, or game data, stuff like that. If you can do without the data, like resetting up your email and passwords, do it. It will save you a headache.
You can extract stuff out of a cwm backup. Like apps, data, system stuff, etc. There's a guide in development
ugothakd said:
You can extract stuff out of a cwm backup. Like apps, data, system stuff, etc. There's a guide in development
Click to expand...
Click to collapse
There's an app for that. Lol its appexctractor on the market I think.
Sent from my SPH-D700
ac16313 said:
There's an app for that. Lol its appexctractor on the market I think.
Sent from my SPH-D700
Click to expand...
Click to collapse
haha apparently there is
https://market.android.com/details?id=com.handyandy.appextractor
@kennyglass Thanks for the suggestion I will remember it if I ever get a bad case of fc's but Im stuck in a boot loop so I cant even get Titanium goin...
@ugottha and ac thanks guys I appreciate it..
So did you get your phone working again? Did you reflash the ROM or restore the older backup? Or are you visiting Odin?
ugothakd said:
haha apparently there is
https://market.android.com/details?id=com.handyandy.appextractor
Click to expand...
Click to collapse
Yeah I remeber seeing it somewhere and its great lol.
Sent from my SPH-D700
I got my phone working but I cant get the texts or call logs out of the backup I tested a few apps and it has worked beautifully.. I also searched the development thread and couldnt find anything about the manual method.. Anyone have a link or some keywords??
On an unrelated note I was thinking of going from Midnight Rom 5.3 to ACS 1.2 any thoughts?? I have been so busy with work I haven't been online to keep up with the devs.. Thanks for the help Ive been coming here like 4 or 5 years now and guys like you all are the reason why!
A way to unyaff the nand backup I believe is what you need to search for. Hope I spelled that right.
Sent from my SPH-D700 using XDA App

Frozen backup w/toolkit?

Greetings!
I'm trying to back up my rooted phone so I can un-root and re-lock it before sending it back for replacement. I'm trying to use the wonderful Galaxy Nexus Toolkit to accomplish this, but I'm having a heck of a time doing it.
I got it installed, and everything seemed to be running fine, but now it seems to be stuck with no feedback whatsoever that anything is wrong.
The backup started fine, and it seemed to indicate that some app packages were backing up. Then it got to "com.google.android.apps.maps," and it's been on that for about 30 minutes now.
I assume this means it's stuck, right? What do I do? Like I said, there's no indication that anything is wrong (other than sitting there doing nothing), so I don't know what to do.
Help?
Create a nandroid instead?
Or use the adb method. Both are detailed in the guide in my sig.
Jubakuba said:
Create a nandroid instead?
Or use the adb method. Both are detailed in the guide in my sig.
Click to expand...
Click to collapse
Thanks for the reply!
I thought I was using the adb option in the toolkit. I also tried an backup with CWM, but that didn't back up as much as I thought it would. I was under the impression that it would back up everything, including the apps and their settings, but that does not seem to be the case, as the backup was over in about 30 seconds. The files in the CWM backup folder also only seemed to be ~200MB in size, if that, so I assumed it was just backing up the ROM?
Either way, I just unplugged and tried this again. I think it worked this time. I told it not to include system apps (since those I can get back easily and I don't really care about losing those settings), and that seemed to help. Now I'm working on the sdcard data (because what the heck?).
No, a nandroid backs every setting, app, boot, system, etc.
The only thing it doesn't back up is your SDCard.
If you're using the newest CWM, ,the backup in the backup folded will be small and it won't take much time.
The majority of the files are held in the blobs folder.
Jubakuba said:
No, a nandroid backs every setting, app, boot, system, etc.
The only thing it doesn't back up is your SDCard.
If you're using the newest CWM, ,the backup in the backup folded will be small and it won't take much time.
The majority of the files are held in the blobs folder.
Click to expand...
Click to collapse
Thanks! I'm going to be safe and do that in addition to the Toolkit.

[Q] Crash on USB Mount and other issues

Hey all,
First off, apologies if there's another thread on this. I searched, didn't find anything that relates.
Basically, since the Sense 4.1 update, which I did via RUU, I've had 2 issues.
The first is that, around once per day, a message appears telling me com.google.gapps has force closed. I don't know why, I don't know how to fix it. I don't know if it's related to problem #2.
Problem 2 is worse. Whenever my One X is connected to a computer (and I've tried multiple, Mac and PC) it reboots before appearing as a mounted volume. I don't know why.
I expect the primary solution offered will be to wipe the phone and start again. However, I've accumulated a lot of save games and other data I don't want to lose, and have no known way of backing up the phone, including app data. I'm open to suggestions on that one.
The major issue there would be, if I back up to phone memory, how do I get it off phone memory before I wipe it?
Last time, I backed up using MyBackup Pro. However, I found it did not restore app data correctly, and am suspicious that the restore of data via MyBackup is responsible for some of the problems I am having on my relatively fresh 4.0.4 install.
As stated, I am on Sense 4.1/ Android 4.0.4. I am also unrooted. My main computer is a Mac, although I can virtualise Windows (XP) if necessary.
All suggestions welcome!
Here is a guide to backup your apps & data using adb, so you can restore them after you do the wipe. I haven't tested it myself, so I suggest you first try to backup an app (one you don't care very much about losing the data), uninstall it and restore the backup, to see if it does the job. And if everything works fine, do a full backup, wipe the storage and restore your backup. I'd appreciate if you came back and reported how it all went
Deleted.
eyosen said:
Simply use titanium backup. You can then restore apps and data after a wipe.
Don't format your sdcard. Wiping the phone won't touch sdcard either.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Have you even read the thread? The guy is unrooted, so he can't use TB, and wants to do a full wipe, Phone Storage included.
Read everything but last paragraph. You're right. Sorry for misleading.
There is another guide available here
http://forum.xda-developers.com/showthread.php?p=30471180
See backing up section for a shorter version of asp2010's link.
Sent from my HTC One X using xda premium
Hey all,
Thanks for the help. I tried adb backup before the RUU, and it always hung at a particular point (can't remember where.)
I googled the problem, and it seemed I wasn't the only one. This made me concerned about the integrity of the adb backup, and thus worried about relying on it. Perhaps I should do it tomorrow and give it plenty of time... I'll let you know how it goes
Cheers again!

Do you enable "compression" when doing nandroid backups on twrp?

Just wondering if you guys enable compression to save space when making nandroids on twrp. I have never done it and want to try but wanted to see how many people do it.
Thanks
stu5797 said:
Just wondering if you guys enable compression to save space when making nandroids on twrp. I have never done it and want to try but wanted to see how many people do it.
Thanks
Click to expand...
Click to collapse
I do it every time. Why wouldn't you want your backups compressed? It lowers their size so you save some room on internal or external
Sent fromPH-L710 using xda app-developers app
evo4gnoob said:
I do it every time. Why wouldn't you want your backups compressed? It lowers their size so you save some room on internal or external
Sent fromPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Is there any downside to this? Have you successfully restored a backup after compressing it in this fashion?
hayzooos said:
Is there any downside to this? Have you successfully restored a backup after compressing it in this fashion?
Click to expand...
Click to collapse
nope none that i see and yes i have restored the compressed backups before. Only problem is after you restore a compressed backup it gets uncompressed and goes back to the size it would be if you didnt compress it. But all you would have to do is delete it that backup and make a new compressed backup
well sure. it takes longer on both ends (compression and decompression) but its seriously minor. I always used it and restoring has never proven a problem yet.
Good deal, thanks for the feedback. I'm backing up right now and chose to compress it. I'll be interested to see how big it is compared to an older backup and how much space it actually saves.
I compress mine, longest its taken so far was 420seconds to do the whole setup with about 300apps installed. A basic backup of a rom takes me 190seconds. One thing I haven't noticed is my backups themself being decompressed after restore, but I don't pay much attention cuz I usually delete and make a fresh one just so its more current.
Sent from my SPH-L710
Any reason why this is not the default?
stu5797 said:
Any reason why this is not the default?
Click to expand...
Click to collapse
Mine is enabled by default always has been on every device I've ever used twrp on
Sent from my SPH-L710
I use twrp on my gs3 and my note2. Neither have compressed as a default setting
Its enabled on my et4g, gs3, kindle fire and og evo4g I've never had to enable it, however the gs3 already had twrp on it so my dad may have enabled it on it and being as its always default on the others I didn't pay much attention. Twrp on the gs3 is a different build than my other devices they are all on twrp2.x and the gs3 is twrp3.1.0 so they may have disabled it by default on the newer builds
Sent from my SPH-L710
What do you have checked when backing up?
Hi..
Nice info..
What information do you have have Xd out when doing the nand?
I have Boot, Data, Modem, EFS, System .. What else should we have checked?
I use TWRP 2.3.3.2. on the Note 2 running CleanROM 4.0.5 and Jedi XP9
navyvet420 said:
Hi..
Nice info..
What information do you have have Xd out when doing the nand?
I have Boot, Data, Modem, EFS, System .. What else should we have checked?
I use TWRP 2.3.3.2. on the Note 2 running CleanROM 4.0.5 and Jedi XP9
Click to expand...
Click to collapse
http://teamw.in/whattobackup
I would certainly not zip a nandroid backup (at least not the one you carry on your device in case of need). Besides taking more time and work for the process, there are two major drawbacks. Imagine the necessary storage space to be not sufficient for the decompression, you would have first to estimate the needed space to free, then search and decide which files to get rid of, while counting the sum it frees and then perform the unzip. Now the worst and most probable situation.. If you need a restore it's likely that you get a system failure. So what if wou're not able to decompress first?
Aerocap said:
I would certainly not zip a nandroid backup (at least not the one you carry on your device in case of need). Besides taking more time and work for the process, there are two major drawbacks. Imagine the necessary storage space to be not sufficient for the decompression, you would have first to estimate the needed space to free, then search and decide which files to get rid of, while counting the sum it frees and then perform the unzip. Now the worst and most probable situation.. If you need a restore it's likely that you get a system failure. So what if wou're not able to decompress first?
Click to expand...
Click to collapse
Seriously dude? I think this topic has been asked answered and solved 4 to 5 years ago. So why bump a thread that has been dead for nearly half a decade?
madbat99 said:
Seriously dude? I think this topic has been asked answered and solved 4 to 5 years ago. So why bump a thread that has been dead for nearly half a decade?
Click to expand...
Click to collapse
Oh my, your post makes me feel rather ashamed, sorry to have annoyed you
Since I didn't see it anywhere and you're nice to join on a dead thread please can you lead me where this have been "solved"?
Thanks much
Aerocap said:
Oh my, your post makes me feel rather ashamed, sorry to have annoyed you
Since I didn't see it anywhere and you're nice to join on a dead thread please can you lead me where this have been "solved"?
Thanks much
Click to expand...
Click to collapse
Twrp has the option built in to enable compression. You don't zip it yourself. The answer is, it's simply a preference. It's also advised to save twrp backups off device, in external sd or flash drive, even on a PC. Device storage never enters the equation. You can restore backups directly from said storage devices.
So again, simply a preference. You didn't "annoy me. That's a fairly arrogant assumption. I just thought it odd to attempt to answer a question that no one has queried in years.
@madbat99 Of course there is also to save a backup somewhere else, I mentionned especially the one we carry for emergency after reading a previous post
Notorious said:
Only problem is after you restore a compressed backup it gets uncompressed and goes back to the size it would be if you didnt compress it.
Click to expand...
Click to collapse
Aerocap said:
@madbat99 Of course there is also to save a backup somewhere else, I mentionned especially the one we carry for emergency after reading a previous post
Click to expand...
Click to collapse
Emergency backups should be on external sd. What if /data is corrupted? Backup is lost. Who would ever run device storage so close to full that a decompressed backup wouldn't fit, if it fit while compressed? Your device would run horribly.
So many issues would be solved if people would just maintain healthy device habits. Don't run right at storage limits, keep backups on external sd.
I never compress my backups by the way. No need. But it's not because I don't have room for it to decompress. It's just an extra step that I have no use for.

[Q] Help problem with rooting with cm10 and need to restore important files lost.

I need help I have a Samsung Galaxy Note 2 from at&t 1317. Right know it changed since I rooted with cm-10.1-20130219-NIGHTLY-t0lte to model number GT-N7105 kernel 3.0.31. The thing is I rooted first with chainfire auto root and it went all well and I was happy, but I saw the themes and changes the other more advanced (in my opinion) and decided to root with the cm10. I followed the instructions and made a backup with clockwork mode touch recovery and all. When the backup was finished I copied it to my laptop just in case. I used rom manager to install the cm10 and all went smoothly or so I thought. The phone turned on and showed the Samsung name and the it showed the custom boot animation of the android pissing on the apple. But it got stuck on that for more than 15 minutes. I panicked and tried to turn off the phone but to no help. I removed the battery and put it in recovery mode and tried to use the backup but said it wasn’t functioning I tried using the Samsung toolkit or odin to flash it but nothing. The toolkit said waiting for adb and did nothing. I still have the backup. I in my panick did a factory reset thinking that would put the stock rom but to my disaster it erased everything. I then rooted on top of it to see if it would get rid of cm10 I did it with the auto root from chainfire but cyanogenmod doesn’t want to leave my phone. At first I didn’t even have google play store but just now thanks to something clockwork did I have it again. Please I just want my phone to get restored with the backup I did im not asking for more I have important files I cant ever replace if they are lost forever. The contacts, app data, documents on the internal storage is what most needs help. The other things on the external tips would be appreciated too.
Don't panic. You did a factory reset and may have wiped all. Was this a cwm factory reset or twrp factory reset? It sounds like cwm. Which is, like you said, a full wipe. Your best bet is to use data restore apps. Disk digger in the store can restore all kinds of photos. But you may have to use a different one. Unfortunately the phone attached via MTP so computer software has a hard time seeing it as a drive.
You should read and re-read before flashing
You have not rooted with cm10 you flashed cm10 which happens to be rooted.
Rooting is simply allowing advanced administration privileges for the phone. Nothing more. Flashing a ROM is your whole operating system.
What kind of files are you trying to restore?
Also on cm10 when you flash cm10 in recovery you should flash gapps with it. That's how you get play store. You may have burned yourself due to a lack of understanding.
Go to file manager. Go to settings and enable root mode.
Then grant permission. On the pop up.
Then go to the highest folder /
Then go to /data
Then /data/media
What do you see in here? All your files? Or just like 2 folders. One named 0 and one named legacy (I believe.)
Anyone if the files aren't in /data/media then you erased them. And your vest bet is a file restoring app. And this may be difficult. Don't use your phone for anything. The longer you wait. The more likely these files will be written over.
Sent from my GN2 using XDA app.
Thanks
Skwerl23 said:
Don't panic. You did a factory reset and may have wiped all. Was this a cwm factory reset or twrp factory reset? It sounds like cwm. Which is, like you said, a full wipe. Your best bet is to use data restore apps. Disk digger in the store can restore all kinds of photos. But you may have to use a different one. Unfortunately the phone attached via MTP so computer software has a hard time seeing it as a drive.
You should read and re-read before flashing
You have not rooted with cm10 you flashed cm10 which happens to be rooted.
Rooting is simply allowing advanced administration privileges for the phone. Nothing more. Flashing a ROM is your whole operating system.
What kind of files are you trying to restore?
Also on cm10 when you flash cm10 in recovery you should flash gapps with it. That's how you get play store. You may have burned yourself due to a lack of understanding.
Go to file manager. Go to settings and enable root mode.
Then grant permission. On the pop up.
Then go to the highest folder /
Then go to /data
Then /data/media
What do you see in here? All your files? Or just like 2 folders. One named 0 and one named legacy (I believe.)
Anyone if the files aren't in /data/media then you erased them. And your vest bet is a file restoring app. And this may be difficult. Don't use your phone for anything. The longer you wait. The more likely these files will be written over.
Sent from my GN2 using XDA app.
Click to expand...
Click to collapse
First of all thank you for answering. The files Im trying to recover are some photos of my girlfriend and documents of my university. The photos were hiding by the app hide it pro that looks like an audio manager but in reality its an hide app. I had it their because im kind off jealous and dont like people seeing her from photos. The first step took it the one off the file manager. Thanks now how do i restore the phone because in all reality this experience has turned me off cyanogen I want the old root because in the future plan to root but with other when im more able to do it.
Franky15 said:
First of all thank you for answering. The files Im trying to recover are some photos of my girlfriend and documents of my university. The photos were hiding by the app hide it pro that looks like an audio manager but in reality its an hide app. I had it their because im kind off jealous and dont like people seeing her from photos. The first step took it the one off the file manager. Thanks now how do i restore the phone because in all reality this experience has turned me off cyanogen I want the old root because in the future plan to root but with other when im more able to do it.[/QUOT
The pics are no longer the problem, it was in the external sd, the thing now is the contacts and app data that was on the internal storage. If someone can be of help I'd appreciate it.
Click to expand...
Click to collapse
I don't wanna come off as mean, but you need to read up alot more on rooting and what it does. You installed a rom, not a different root. When you install any rom, you have to factory reset your phone and that wipes apps and their data. Before you wipe anything you should backup aps and their data with something like titanium backup. I'm guessing you didn't do that so as far as I know your app data is gone. It is a learning experience, now you know what not to do next time. Just read up a little more
Sent from my GT-N7105 using xda app-developers app
Kreateablaze said:
I don't wanna come off as mean, but you need to read up alot more on rooting and what it does. You installed a rom, not a different root. When you install any rom, you have to factory reset your phone and that wipes apps and their data. Before you wipe anything you should backup aps and their data with something like titanium backup. I'm guessing you didn't do that so as far as I know your app data is gone. It is a learning experience, now you know what not to do next time. Just read up a little more
Sent from my GT-N7105 using xda app-developers app
Click to expand...
Click to collapse
I didnt use titanium but I used clockwork. The problem was I didnt know how to use it. The root thing I know Im no expert (sadly). But right know I managed to use but only part of the phone has backed up. Question when the back up is used do i delete it then from my files because of the storage? As you said yourself I dont know much but with help from people like you I hope that I can change that if at least a little
Solved it
My phone is back to the other rom it had just needed to move the backup file to the folder of clockwork. Im gonna change rom in the near future but how do I prevent loosing again the data and keeping the new rom I instal?
I would read up alot about flashing custom roms and using an app like titanium backup to backup your apps and data. I would go on YouTube and search on how to use clockwork and what everything does. There are plenty of videos on doing all of that stuff on YouTube. I would stay on what you are on right now until you feel comfortable
Sent from my SGH-I317 using xda app-developers app
Kreateablaze said:
I would read up alot about flashing custom roms and using an app like titanium backup to backup your apps and data. I would go on YouTube and search on how to use clockwork and what everything does. There are plenty of videos on doing all of that stuff on YouTube. I would stay on what you are on right now until you feel comfortable
Sent from my SGH-I317 using xda app-developers app
Click to expand...
Click to collapse
Thanks man I'll take your advise to heart.
No problem I like to help if I can. I only started rooting with my last phone and was scared of bricking it and messing stuff up but from reading info and watching videos and just doing things with my phone and messing with it I have learned a lot.
Sent from my SGH-I317 using xda app-developers app
Kreateablaze said:
No problem I like to help if I can. I only started rooting with my last phone and was scared of bricking it and messing stuff up but from reading info and watching videos and just doing things with my phone and messing with it I have learned a lot.
Sent from my SGH-I317 using xda app-developers app
Click to expand...
Click to collapse
I recently changed to android from blackberry and its a world I didnt know existed. Its awesome so I was scared stiff lol but like you said with time you learn and by reading and watching. I have read somewhat but havent seen much videos.
Custom roms are fun to play with but can get out in trouble.. sometimes you spend more time fixing the problem you caused then having fun, maybe by wiping or not wiping the right areas, maybe a bad flash or just an all around bad flash... soo agreed, learn more about cwm and teamwin and roms before you attempt anything.. but there are always ppl willing to help...
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
so true like this time for me but even thought the experience was bad I still loved the custom rom if it didnt cause this much trouble I would have stayed with it.
It is fun putting the different roms on your phone and making it your own. It's an addiction and a nice hobby
Sent from my SGH-I317 using xda app-developers app
nice hobby if you know what you're doing lol

Categories

Resources