Hi-
If i want to not only wipe system, data, cache but the /data/media partition as well before installing a new ROM, what's the least onerous method for restoring all my data after flashing the new ROM? currently all i know to do is backup my data, wipe everything, then restore factory image via adb, then copy zips to the device, flash desired ROM, then copy back data via adb or from dropbox after installing app
Is there an easier way?
titanium backup is the easiest way.
just dont restore system apps.
1. Run a backup in titanium backup
2. Copy the contents of your /data/media partition to your PC via adb or MTP (this should include your TiBu backup)
3. Wipe System, Data, Userdata, and the caches via method of your choice
4. Copy the contents of your /data/media backup back to /data/media via adb
5. Use adb to push a ROM of your choosing to /data/media (assuming you didn't have one in your /data/media backup, and assuming you're not using fastboot to flash a stock image)
6. Flash away (Recovery, if needed, and System via either fastboot or CWM/TWRP)
7. Download TiBu from the Play Store
8. Restore non-system apps/data in TiBu
However, if you're going to make a backup of /data/media and then restore it immediately after wiping it, I have to ask why? It's a time consuming process (transferring gigs via adb is very slow) and would provide no benefit to your device.
Also, if you're going from Android 4.1.x to 4.2.x, make sure your /data/media backup goes back in /data/media/0, or the OS will not see the files as being on your "external" storage.
Zepius said:
titanium backup is the easiest way.
just dont restore system apps.
Click to expand...
Click to collapse
Oh im definitely using titaniumbackup to restore apps, but i was mostly referring to restoring the contents of the sdcard
Thanks!
jackbane said:
Oh im definitely using titaniumbackup to restore apps, but i was mostly referring to restoring the contents of the sdcard
Thanks!
Click to expand...
Click to collapse
Using twrp I wipe cache, davlik, factory reset, and system and my sdcard is untouched. I was told by a dev to also delete the android folder in my sdcard using the twrp file manager.
No need to flash stock image when wiping everything just fast boot flash the rom you want and adb is the best way to restore your sdcard
Cilraaz said:
However, if you're going to make a backup of /data/media and then restore it immediately after wiping it, I have to ask why? It's a time consuming process (transferring gigs via adb is very slow) and would provide no benefit to your device.
Click to expand...
Click to collapse
I know, I know...I have this idea of after flashing many different ROMs and finding my keeper, that I would totally wipe the device and then install a super clean ROM, and start with a virgin /data/media partition, bringing back only what I want. I recognize that this is probably unnecessary and says more about my desire for neatnes than anything else.
But thanks for the detailed instructions. Until now, I have been using the GNex Toolkit downloaded from the sticky in the dev forum to handle all pushes and pulls and adb duties. I thought that to push a file to the device, it had to be in Android mode. This is why I found myself having to flash the stock rom just to copy back the contents of /data/media. It sounds like, from the posts in this thread, that I don't need to, that I should be able to copy the files from fastboot mode? Or do I temporarilty boot into an image to push files, then flash the ROM from TWRP. (I'm using TWRP 2.4.1.0, btw).
If I could avoid installing the factory ROM, just to copy back /data/media/, that's what I'm looking for. Do you know if this is possible using the GNex toolkit?
Thanks again!
you have full ADB access within any custom recovery. toolkits not required.
Zepius said:
titanium backup is the easiest way.
just dont restore system apps.
Click to expand...
Click to collapse
I always wondered about this. Does the stock browser qualify as a system app? Should i not use titanium to restore any of the gapps?
jackbane said:
I always wondered about this. Does the stock browser qualify as a system app? Should i not use titanium to restore any of the gapps?
Click to expand...
Click to collapse
The best option for titanium, is to select BATCH, RESTORE MISSING APPS+DATA
Go down the list and deselect anything you DONT want restored. everything else should be OK on that screen.
Also, make sure you have the pro license, otherwise batch jobs are a PITA
There is also an option in the MENU button - BACKUP TO XML
This option allows you to backup call logs, wifi networks, mms/sms, bookmarks separately from the other backups and works 100% going rom to rom.
Everybody is recommending TiBU, and I concur, but OP is talking about all the other contents of the sdcard..
I actually just did this today. I had been on cm10.1 but went back to cm10 for a while, getting the extra /0/ folder and all. I was going to just copy EVERYTHING over to my comp, but ended up just copying a few music folders and a few backup folders. After flashing cm10.1 and gapps, I formatted the sdcard. Now I'm transferring those few folders back. I had a FULL sdcard before, so it feels good to have some space, that is until I think of something I wanted that I didn't copy lol..
Related
I've already rooted and unlocked my bootloader and I'm just about to load a custom ROM, however where do I put the files so when I wipe/factory reset they don't get deleted? Thanks.
Your files don't get deleted. Only data and apps on android partition
Sent from my Galaxy Nexus using xda premium
Brett3rThanU said:
I've already rooted and unlocked my bootloader and I'm just about to load a custom ROM, however where do I put the files so when I wipe/factory reset they don't get deleted? Thanks.
Click to expand...
Click to collapse
Anywhere outside /system. i.e. place them on the part of your sd card where your pics, music, etc... live.
Really? That doesn't seem right for some reason...I just unlocked & rooted my girlfriends new Verizon Nexus but didn't put a ROM on it right then (which I should have done ), and during that process all of her photos and apps were deleted. I luckily had backed up photos, sms backups, etc. off of the device so I was able to transfer those back, but it was bone stock (like nothing on it at all) after that process. Is that "wipe" different than the "wipe data/factory reset" we have to do before going onto most of the ROMs for the Nexus?
Sorry about my ignorance...I'm an Epic 4g Touch owner so I'm well versed in it, but just starting to learn about the Verizon Nexus. Thanks a lot guys.
Unlocking the bootloader wipes it all; but a wipe data/factory reset from CWM doesn't touch your virtual sd card, i.e. photos, etc... remain. The OP is already unlocked, so he's "safe".
I will answer your specific question, "Where to put files so a wipe won't delete them?" If you want to be safe, on your computer or on anything external other than the phone. I only say this because the phone does not have an external sd card. Ill repeat what I said in another thread...we don't backup for the disasters we foresee but for the ones we don't.
Only the factory recovery wipes the /data/media ("/sdcard") partition. Any third-party community-built recovery (like ClockworkMod Recovery or TeamWin Recovery Project) will wipe everything except /data/media.
So, to answer your question, as long as the files are on your phone's pretend SD card (the default for user-created content and files you transfer to your phone), they won't be wiped when installing a custom ROM.
CMNein said:
Unlocking the bootloader wipes it all; but a wipe data/factory reset from CWM doesn't touch your virtual sd card, i.e. photos, etc... remain. The OP is already unlocked, so he's "safe".
Click to expand...
Click to collapse
codesplice said:
Only the factory recovery wipes the /data/media ("/sdcard") partition. Any third-party community-built recovery (like ClockworkMod Recovery or TeamWin Recovery Project) will wipe everything except /data/media.
So, to answer your question, as long as the files are on your phone's pretend SD card (the default for user-created content and files you transfer to your phone), they won't be wiped when installing a custom ROM.
Click to expand...
Click to collapse
Awesome - thank you both for your responses. That's actually a pretty cool little feature. I wish my phone could have apps retained after doing a "data/factory reset" wipe, which is such a good idea when going between ROMS.
I am stating that correctly, right? Apps, app data/caches, pretty much everything but system apps will be retained after a 3rd party data wipe? I just want to be sure, especially since it's not my device I'd be messing with Thanks
DutchDogg54 said:
I am stating that correctly, right? Apps, app data/caches, pretty much everything but system apps will be retained after a 3rd party data wipe? I just want to be sure, especially since it's not my device I'd be messing with Thanks
Click to expand...
Click to collapse
No, I'm afraid not. Applications will be wiped, as they reside on /data/app. The only item not wiped is the /data/media partition. Plug your phone up to your computer - the files and folders that you see listed will remain after a full wipe. Everything else will be gone.
Though, to be technical, a "factory reset" wipe primarily wipes /data (except for /data/media) and /cache. You'll generally have to manually wipe (through recovery) /system.
codesplice said:
No, I'm afraid not. Applications will be wiped, as they reside on /data/app. The only item not wiped is the /data/media partition. Plug your phone up to your computer - the files and folders that you see listed will remain after a full wipe. Everything else will be gone.
Though, to be technical, a "factory reset" wipe primarily wipes /data (except for /data/media) and /cache. You'll generally have to manually wipe (through recovery) /system.
Click to expand...
Click to collapse
Yeah, that's what I was thinking...thought it was a little too good to be true. No biggie...that's what Titanium backup is for
So, just to play devils advocate...if I were to copy, for instance, the go sms backup file that's created when you backup files to the /data/media partition, theoretically that would be retained, correct? That's about the only thing that would be lost doing a 3rd party wipe that couldn't be TB restored...and when I talk about the go sms back up I would like to throw things like her circle launcher setup backup files, etc. in that ring...what do you think about that?
DutchDogg54 said:
Yeah, that's what I was thinking...thought it was a little too good to be true. No biggie...that's what Titanium backup is for
So, just to play devils advocate...if I were to copy, for instance, the go sms backup file that's created when you backup files to the /data/media partition, theoretically that would be retained, correct? That's about the only thing that would be lost doing a 3rd party wipe that couldn't be TB restored...and when I talk about the go sms back up I would like to throw things like her circle launcher setup backup files, etc. in that ring...what do you think about that?
Click to expand...
Click to collapse
A lot of apps (I can't speak specifically for those, unfortunately) actually keep their user-created backup files in a directory on /data/media, so those would be safe. I know that Nova Launcher, Titanium Backup, Tasker, and some others do that.
The SD card does not get wiped between rom flashes using Cwm. Only the first boot loader unlock does everything get wiped.
So all my files and pics on my SD card stay in tact when I wipe in Cwm or flash a new rom.
Hi all,
I have a similar question.. I'm wanting to know where I can safely put the ROM zip because I want to wipe the sdcard0 partitiion
If I put it in /data/media I should be able to select it from there in CWM recovery right?
lamenting said:
Hi all,
I have a similar question.. I'm wanting to know where I can safely put the ROM zip because I want to wipe the sdcard0 partitiion
If I put it in /data/media I should be able to select it from there in CWM recovery right?
Click to expand...
Click to collapse
after wiping sdcard partition, just use adb to push files to sdcard.
kyokeun1234 said:
after wiping sdcard partition, just use adb to push files to sdcard.
Click to expand...
Click to collapse
So I rebooted into recovery, formatted the sdcard.
Now when I try to push the file in adb, it's not showing up.
Tried pushing to both /storage/sdcard0 and /sdcard but they're not showing up when i ls into them from shell. In fact I can't acces /sdcard at all, but /storage/sdcard0 is empty.
I can't mount /sdcard in CWM either.
Help!
lamenting said:
So I rebooted into recovery, formatted the sdcard.
Now when I try to push the file in adb, it's not showing up.
Tried pushing to both /storage/sdcard0 and /sdcard but they're not showing up when i ls into them from shell. In fact I can't acces /sdcard at all, but /storage/sdcard0 is empty.
I can't mount /sdcard in CWM either.
Help!
Click to expand...
Click to collapse
Try /data/media, as that is where the "sdcard" data actually resides. The other locations are just links that point here
You may need to use the recovery option to mount /data.
codesplice said:
Try /data/media, as that is where the "sdcard" data actually resides. The other locations are just links that point here
You may need to use the recovery option to mount /data.
Click to expand...
Click to collapse
Thanks!
I ended up flashing back to stock and then flashed a new ROM and it seems to be working OK.
In the future, though, what should I have done different to avoid not being able to access /sdcard?
lamenting said:
Thanks!
I ended up flashing back to stock and then flashed a new ROM and it seems to be working OK.
In the future, though, what should I have done different to avoid not being able to access /sdcard?
Click to expand...
Click to collapse
I'd just try accessing it via /data/media instead. The other links may not be created before the system actually boots.
I have the latest ROM Manager (5.0.1.5) and the latest CWM (5.8.4.9) installed and am a little confused about backing and restoring. When I used RM/CWM on my old EVO 4G it was very straight forward but doesn't seem to be the case with my new GS3.
When I use RM to backup my current ROM, it seems to be successful but doesn't show up in the list of backups when I go to RM and click on "Manage and Restore Backups". However, if I go into Recovery I can find it by navigating to backup and restore. I'm assuming the problem is that RM automatically backs up to my external SDCard while RM only reads from the internal SDCard. I was able to manually backup to the internal SDCard from Recovery and it shows up in the list in RM but the date & time are all messed up (not to mention I can't rename it in Recovery).
I suppose it's not impossible to use but it seems "messy" to me. How is everyone dealing with this?
---
Also how do you manage the backups via Recovery? I now have 6 backups that I made via RM which ended up in the external SDCard but I can't seem to delete them in Recovery. I'm also not sure where they are when I browse in FTP as there is nothing under the clockworkmod directory.
CWM is fastly becoming old school, do some searching for installing TWRP using goomanager. It is an awesome recovery tool with many, many new features not found in CWM.
evoer said:
CWM is fastly becoming old school, do some searching for installing TWRP using goomanager. It is an awesome recovery tool with many, many new features not found in CWM.
Click to expand...
Click to collapse
Twrp is good for backups and being able to run commands but is definatly missing some features.ROM manager has gone to hell but there is an option in settings for using external storage. Ur backups are in clockworkmod/backups. And you can rename ur backups qhile in cwm recovery w/ this. http://forum.xda-developers.com/showthread.php?t=1646108. And if ur gna use twrp, get it from their site and flash in mobile odin. Goo manager sucks and its interface is confusing. Takes an hour to find **** in there. An accident waiting to happen
Thanks for the recommendation. So far so good.
billard412 said:
Ur backups are in clockworkmod/backups.
Click to expand...
Click to collapse
That's what I figured but the directory is empty even though CWM shows at least 3 backups
woshiweili said:
Thanks for the recommendation. So far so good.
That's what I figured but the directory is empty even though CWM shows at least 3 backups
Click to expand...
Click to collapse
That's odd did you check internal and external?
billard412 said:
That's odd did you check internal and external?
Click to expand...
Click to collapse
I see what it is. I was accessing it through the app, FTP Server and that app can only read internal SDcard, where the backups are not located.
Thanks for your help.
I'm now all TWRP'ed up and so far it is nice.
---
Under "Wipe" in TWRP I see Cache, Dalvik Cache, Factory Reset, System, External Storage, Internal Storage and Format Data.
Normally when I flash a new ROM with CWM I would wipe data, cache & dalvik cache. With TWP, when I click on Format Data, it says this wipes all media, including backups & removes encryption. Is that right? Or do I wipe System, which says "This will wipe your ROM"? Thanks.
1. What is the difference between the following terms: adb. fastboot, bootloader, recovery.
I understood a bit from efrant's thread but I still need some more clarity.
Correct me if I'm wrong - ADB is a mode which can be accessed by either booting into recovery or booting normally into android. and FASTBOOT is a mode which can be accessed by booting into the bootloader.
A key question still remains in my mind - what is the difference between booting into bootloader and booting into recovery?
2. How do I open command prompt in a specific folder? The instructions listed in efrant's thread don't work in Windows 7.
3. I can flash PA as long as I have an unlocked bootloader even if device is not unrooted?
4. Where do I get the fastboot.exe file and adb files (the .exe and two .dll files for Windows) being talked about in efrant's thread and what are they used for?
5. Are custom ROMs flashed to system partition?
6. Do I use ChainsDD's Superuser, or Chainfire's SuperSU?
Note:
Efrant's thread: forum.xda-developers.com/showthread.php?p=29733879#post29733879
TheMysteriousOne said:
1. What is the difference between the following terms: adb. fastboot, bootloader, recovery.
I understood a bit from efrant's thread but I still need some more clarity.
Correct me if I'm wrong - ADB is a mode which can be accessed by either booting into recovery or booting normally into android. and FASTBOOT is a mode which can be accessed by booting into the bootloader.
A key question still remains in my mind - what is the difference between booting into bootloader and booting into recovery?
2. How do I open command prompt in a specific folder? The instructions listed in efrant's thread don't work in Windows 7.
3. I can flash PA as long as I have an unlocked bootloader even if device is not unrooted?
4. Where do I get the fastboot.exe file and adb files (the .exe and two .dll files for Windows) being talked about in efrant's thread and what are they used for?
5. Are custom ROMs flashed to system partition?
6. Do I use ChainsDD's Superuser, or Chainfire's SuperSU?
Note:
Efrant's thread: forum.xda-developers.com/showthread.php?p=29733879#post29733879
Click to expand...
Click to collapse
1. The bootloader is Google's interface for flashing the phone with stock images. Recovery (stock) is used to flash OTAs & perform a Factory reset.
3. You need a custom recovery (either TWRP or CWM) to flash a custom ROM, your phone does not need to be rooted.
4. Look for efrant's (stickied) return to stock thread in the general section, it has the needed fastboot & adb files attached to the OP.
5. Yes & they also generally include a kernel (some have a stock kernel some use a custom)
6. AFAIK Chainfire's SuperSU is more reliable ATM on Jelly Bean.
http://wiki.rootzwiki.com/Android_SDK
That's the link I used to set up adb. Just make sure you get the nexus drivers set up right. To test it when you think you've got it all set up, make sure you have adb debugging checked in developer options, plug your phone in, open command prompt and type adb devices. It should spit out a line of numbers. If it's blank that means the phone drivers aren't set up right. If you want to test it further you can try an adb push command.
Where are Nandroid backups stored? Are the backups still there after a factory reset?
Where are Titanium backups stored? Are the backups still there after a factory reset?
Using adb you choose where to store your nandroids.
For titanium open the app and it shows where on the main screen.
Don't forget to thank those who helped
Edit: backups remain as long you don't wipe internal or external storage
namtombout said:
Using adb you choose where to store your nandroids.
For titanium open the app and it shows where on the main screen.
Don't forget to thank those who helped
Click to expand...
Click to collapse
But where do I store the backups so that I can access them even after a factory reset?
Does a factory reset delete everything literally?
TheMysteriousOne said:
But where do I store the backups so that I can access them even after a factory reset?
Does a factory reset delete everything literally?
Click to expand...
Click to collapse
/sdcard/clockwordmod/backup -- copy the whole folder with the date and time on it. replace it in the same location if you want to restore from it
edit: for titanium backup, copy the whole folder on the root of your sdcard labelled "titaniumbackup"
Create a folder named nandroid in your internal storage.
Factory reset won't wipe any of your files in your internal storage.
namtombout said:
Using adb you choose where to store your nandroids.
For titanium open the app and it shows where on the main screen.
Don't forget to thank those who helped
Edit: backups remain as long you don't wipe internal or external storage
Click to expand...
Click to collapse
I don't think you understood what I was trying to say.
Suppose I make a Nandroid backup now and then perform a factory reset. Will that nandroid backup still be a available on the phone?
TheMysteriousOne said:
But where do I store the backups so that I can access them even after a factory reset?
Does a factory reset delete everything literally?
Click to expand...
Click to collapse
I am on CM10.1 and the backup I made with CWM was stored in data/media/clockworkmod/backup. Its an odd location but I have done factory resets in order to install other ROMs and the backup remains. And a factory reset does not wipe the Internal storage. A factory reset pretty much just resets the system files back to stock. The only thing you really lose is your apps. All your personal files (pictures/videos/etc.) are left alone.
namtombout said:
Create a folder named nandroid in your internal storage.
Factory reset won't wipe any of your files in your internal storage.
Click to expand...
Click to collapse
Then what exactly does a factory reset do - what do I lose in a factory reset?
And if factory reset doesn't wipe everything, what does?
jsgraphicart said:
And a factory reset does not wipe the Internal storage. A factory reset pretty much just resets the system files back to stock. The only thing you really lose is your apps. All your personal files (pictures/videos/etc.) are left alone.
Click to expand...
Click to collapse
I use twrp recovery. Wiping internal or external storage wipes everything
namtombout said:
I use twrp recovery. Wiping internal or external storage wipes everything
Click to expand...
Click to collapse
But a simple factory reset doesnt wipe the internal storage. There may be options in there to do so but I thought we were just talking about a factory reset.
TheMysteriousOne said:
Then what exactly does a factory reset do - what do I lose in a factory reset?
And if factory reset doesn't wipe everything, what does?
Click to expand...
Click to collapse
its simple.
Factory reset wipes /data (where all your play store/side loaded apps and data (app settings, etc) are stored)
and /cache
it does not touch the /data/media which is your internal storage. since there is no external storage on the nexus, there is nothing to worry about there
/system does not get touched unless you flash a new rom or wipe it manually from recovery
if you wipe /system, you better have another rom to flash in its place....or the phone wont boot into the OS, because /system contains the OS
TheMysteriousOne said:
Then what exactly does a factory reset do - what do I lose in a factory reset?
And if factory reset doesn't wipe everything, what does?
Click to expand...
Click to collapse
Are you asking because you WANT to wipe everything or are you afraid of losing stuff?
You Sir are correct. Just quoted you to help answer op questions.
namtombout said:
Create a folder named nandroid in your internal storage.
Factory reset won't wipe any of your files in your internal storage.
Click to expand...
Click to collapse
Note: nandroid backups get created on /sdcard aka /data/media.
TheMysteriousOne said:
I don't think you understood what I was trying to say.
Suppose I make a Nandroid backup now and then perform a factory reset. Will that nandroid backup still be a available on the phone?
Click to expand...
Click to collapse
Answered by the poster above, thank him. I corrected him, as well.
TheMysteriousOne said:
Then what exactly does a factory reset do - what do I lose in a factory reset?
And if factory reset doesn't wipe everything, what does?
Click to expand...
Click to collapse
Answered below.
jsgraphicart said:
But a simple factory reset doesnt wipe the internal storage. There may be options in there to do so but I thought we were just talking about a factory reset.
Click to expand...
Click to collapse
Pirateghost said:
its simple.
Factory reset wipes /data (where all your play store/side loaded apps and data (app settings, etc) are stored)
and /cache
it does not touch the /data/media which is your internal storage. since there is no external storage on the nexus, there is nothing to worry about there
/system does not get touched unless you flash a new rom or wipe it manually from recovery
if you wipe /system, you better have another rom to flash in its place....or the phone wont boot into the OS, because /system contains the OS
Click to expand...
Click to collapse
There's an option in twrp at least, that allows to format the internal storage. if you do it by accident or need a fresh start/don't care about the data, of course you'll need to know how to use adb to push stuff back to it, previously pulled from it to the PC.
What I'm saying is that it only matters as much as you care about your data stored up until that point. I keep regular, tarball backups of /data/media in my PC.
Sent from my i9250
So, Nandroid backs up all 13 partitions?
Note: nandroid backups get created on /sdcard aka /data/media.
Click to expand...
Click to collapse
What is this /data/media that you talk about?
I read that Nandroid backup gets stored on /sdcard/clockworkmod/backup
Edit: Also, http://www.vikitech.com/10347/perform-nandroid-backup-restore-android-device says "A point to note here is that your SD Card data is not backed up."
TheMysteriousOne said:
So, Nandroid backs up all 13 partitions?
What is this /data/media that you talk about?
I read that Nandroid backup gets stored on /sdcard/clockworkmod/backup
Edit: Also, http://www.vikitech.com/10347/perform-nandroid-backup-restore-android-device says "A point to note here is that your SD Card data is not backed up."
Click to expand...
Click to collapse
The backup will be in either location. Some phones put it on the sd card. I just recently got a Nexus and found out it was backed up to data/media/clcockworkmod/backup. To get to that location, you need a root browser. I use Root Explorer and love it. Once you get one, you can go to the root directory of your phone and start going into each folder data/media/clockworkmod/backup.
/data/media/ is the same as /sdcard/
You must backup your own sdcard. Adb push /data/media to a computer
I should be able to flash a backup I made with CWM recovery in CWM recovery, correct? Or would I have to adb push it?
I moved to 4.2.1 but not a fan of it at this point and want to go back using a backup (4.1.2) I made with CWM, but it won't flash. So at this point I'm trying to save my photos, notes, texts, and my titanium backup of apps and do a complete wipe using wugs (unroot/relock then reroot/unlock). Or should I be able to get away with just doing a format on my sdcard/system/cache/data and data/media (options in CWM)? Since going to 4.2.1 I have also lost a significant amount of free space.
BTW I have tried TWRP before and went back because I didn't like the layout but damn if your recovery can't even handle its own backups what the hell is it good for? TWRP here I come again.
you know it moves everything to a folder called 0 on the internal memory, right...?
A lot of the following is probably overkill but what I'd do is...
1. Backup everything I wanted to keep when in Android 4.2.1 onto my PC (Nandroid backups, photos, music, etc.)
2. Flash the factory 4.1.2 image
3. Boot up to make sure it's working
4. Restore nandroid in CWM
Chances are there are easier ways of doing this but I'd be happy knowing that is 100% right then have the potential for it going wrong
derekwilkinson said:
you know it moves everything to a folder called 0 on the internal memory, right...?
Click to expand...
Click to collapse
Bud I have tried to flash it out of every folder I have access to in CWM Recovery
The folder's I have tried, after choosing install zip from sdcard:
sdcard/0/clockworkmod/backup/ - 4 backups in here but wont flash any of them - says no files found when I try to flash one
sdcard/clockworkmod/backup/ - can actually see 2 backups in here (ones I don't want, just wanted to see where they were placed in 4.2)
sdcard/legacy/ - no files found
But stupid me did just realize the CWM backups I have been creating aren't zips? So I need to figure out how to get to sdcard/clockworkmod/backup and place my backup folders here. So I will be able to see them when I choose Backup and Restore - Restore
CWM can't see the backups in the '0' folder, it stores them on /data/media (or is it /media/data??) so unless you have a file manager with root access you won't get them back
EddyOS said:
CWM can't see the backups in the '0' folder, it stores them on /data/media (or is it /media/data??) so unless you have a file manager with root access you won't get them back
Click to expand...
Click to collapse
My my my you are the man. It looks like it is data/media/clockworkmod/backups.
I am going to try to Restore my latest 4.1.2 nandroid tonight, after I had a chance to back every thing up, but I'm guessing it's going to keep the current file structure though.
The best way to upgrade to 4.2.1 from 4.1.2 is
1.Flash all factory images from fastboot apart from recovery,@ recovery step flash twrp 2.3.3.0 and you are all set to no '/0' bug,
2. Downgrade to 4.1.2 ? Flash factory images of 4.1.2 , just keep the recovery as twrp 2.3.3.0, at present it is the best possible recovery for maguro for handling the '/0' bug , it doesnot delete the layout file.
And restoring nandroids in between the versions can make every file very clumsy, take some time and flash stock images to get rid of that.
BaMaDuDe87 said:
My my my you are the man. It looks like it is data/media/clockworkmod/backups.
I am going to try to Restore my latest 4.1.2 nandroid tonight, after I had a chance to back every thing up, but I'm guessing it's going to keep the current file structure though.
Click to expand...
Click to collapse
After downgrading you will still have the /0/ folder with all data. So many apps wont recognize that the backups are there available to be restored. You can just point to the "new" backup location that now exists in the /0/ directory.
Example: Titanium backup will tell you there is no restore data unless you go into preference and point it to the right folder in /0/.
Example 2: Nova launcher will not see the backups. Manually move them via Root explorer or similar from the /0/data/ to the /data/
..and so on.
I guess I will be flashing the factory image then.
1. Backup everything I need/want (photos, notes, sms, and grab latest copy of titanium backup folder)
2. Format system/cache/sdcard just because
3. fastboot - factory image (4.1.2)
4. Phone should still be unlocked/rooted (on current bootloader/radios correct?)
5. fastboot - twrp
5. Restore everything else
Or use Wugs to take back to stock, then fastboot unlock, root, add CWM recovery might be the easier way at this point. Restore nandroid and everything else. Then add TWRP and remove CWM.
Sorry trying to talk this out with you guys and wrap my head around what I am in for. I know it's not hard, just frustrating to think I could possibly lose some things.
Better Recovery TWRP
BaMaDuDe87 said:
I guess I will be flashing the factory image then.
1. Backup everything I need/want (photos, notes, sms, and grab latest copy of titanium backup folder)
2. Format system/cache/sdcard just because
3. fastboot - factory image (4.1.2)
4. Phone should still be unlocked/rooted (on current bootloader/radios correct?)
5. fastboot - twrp
5. Restore everything else
Click to expand...
Click to collapse
Not to be bossy but the latest version of TWRP seems to do a better job handling user folder /0. Its also touchscreen and [email protected]$$ so there is really no comparison....:highfive:
Yea I tried it, thought I was more comfortable with CWM and this bit me in the ass, so TWRP it is when I get everything straightened out
So here's the thing: I made a TWRP backup of my 16GB nexus before I returned it yesterday (multitouch issues, dead pixels) but see now that people are reporting an OTA update that fixes the multitouch issue. I would rather not restore that backup since it is the JSS15J system, so is there a way I can get the data of at least a few apps and restore them individually somehow?
Thanks!
Titanium Backup can do that.
danvee said:
Titanium Backup can do that.
Click to expand...
Click to collapse
Ok, can it read the data in the TWRP folder? I have used TB a lot in the past but didn't think it might be able to use the TWRP data.
If it's not compressed (I never do), TiBu can do it perfectly.
In Titanium backup pro in it's menu is the option to 'extract from nandroid backup' .
Did it just last week, so I know the current version works.
danvee said:
If it's not compressed (I never do), TiBu can do it perfectly.
In Titanium backup pro in it's menu is the option to 'extract from nandroid backup' .
Did it just last week, so I know the current version works.
Click to expand...
Click to collapse
Ah, need the pro version. Hmm, thanks. I'll check it out.
Coronado is dead said:
Ah, need the pro version. Hmm, thanks. I'll check it out.
Click to expand...
Click to collapse
Use Nandroid Backup Manager. It's free.
It can restore apps and/or data, SMS messages, Call logs and more from your nandroid backup. It can also decompress the backup if it's compressed.
Advance Restore and just click restore data only on twrp
danvee said:
If it's not compressed (I never do), TiBu can do it perfectly.
In Titanium backup pro in it's menu is the option to 'extract from nandroid backup' .
Did it just last week, so I know the current version works.
Click to expand...
Click to collapse
thank you man thank you. i just had this http://forum.xda-developers.com/showpost.php?p=49548141&postcount=136 problem and your post is gonna help me i hope thanks. btw im on 4ext recovery
MrPhilo said:
Advance Restore and just click restore data only on twrp
Click to expand...
Click to collapse
Good day: Are you indicating that TWRP has an advanced restore feature?
Advance Restore and just click restore data only on twrp ????
I don't see any advanced menu in TWRP (Looks like all or nothing)?
Or, did you mean that Nandroid Manager has an advanced menu?
Regards
galearned said:
Are you indicating that TWRP has an advanced restore feature?
Advance Restore and just click restore data only on twrp ????
I don't see any advanced menu in TWRP (Looks like all or nothing)?
Click to expand...
Click to collapse
TWRP backups each partition separately, thus it can also restore any single partition so also /data
tetakpatalked from Nexus 7
tetakpatak said:
TWRP backups each partition separately, thus it can also restore any single partition so also /data
tetakpatalked from Nexus 7
Click to expand...
Click to collapse
"so is there a way I can get the data of at least a few apps and restore them individually somehow?"
Pfeffernuss said:
"so is there a way I can get the data of at least a few apps and restore them individually somehow?"
Click to expand...
Click to collapse
Of course. TWRP has no advanced backup&restore features because it doesn't need them: you will be prompted before each backup&restore action about the partitions.
For data of just single apps use better Titanium Backup. It can extract them from your nandroid backups
tetakpatalked from N7100
MrPhilo said:
Advance Restore and just click restore data only on twrp
Click to expand...
Click to collapse
does it restore gapps too?
javigbox said:
does it restore gapps too?
Click to expand...
Click to collapse
I think some of the gapps data is flashed to system, so it won't be able to completely restore it but after flashing gapps, you should be able to extract google apps with data intact from TWRP backup
jassalmithu said:
I think some of the gapps data is flashed to system, so it won't be able to completely restore it but after flashing gapps, you should be able to extract google apps with data intact from TWRP backup
Click to expand...
Click to collapse
Exactly what I do.
marsmallow 6 will update apps + data from your google account. Not sure it's fully implemented yet but it's supposed to work. I've tried it yesterday with a Mm6.0.1 on nexus 7 2013 and many apps were already configured. Not all of them. Going from MM6 to MM6.0.1 might complicate it so maybe it's better to restore with google and do a little work by yourself, to make sure. I gave up on those restore apps. It also give you the opportunity to do a clean up
Coronado is dead said:
So here's the thing: I made a TWRP backup of my 16GB nexus before I returned it yesterday (multitouch issues, dead pixels) but see now that people are reporting an OTA update that fixes the multitouch issue. I would rather not restore that backup since it is the JSS15J system, so is there a way I can get the data of at least a few apps and restore them individually somehow?
Thanks!
Click to expand...
Click to collapse
I'm sure somebody is already aware of this;just sharing coz this awed me![emoji33]
You need to ..extract/restore individual data files from nandroid backup?
Restore data to an app when switching between ROMs or OS versions?
Well TWRP IS THE ONLY THING YOU NEED! And a PC of course.
Bless the Devs[emoji7][emoji28]
Forget Nan managers, tar.extractors & the insanely complex Bash terminal commands
1. Go to File manager on TWRP recovery, it can read the system data i.e. data/data/ file (while your other file managers can,only data files on SD or ext.SD)
2.Go to data/data and locate the data folder of the app you wish to extract; will be in the format 'com.app name'
3.Push 'Select folder' tab on the screen; it gives you option to COPY the file
4.Move up & paste the data/data file on your readable memmory: sd/ext.SD
And that's it!! Just connect to the PC & pull the file & there u have: your APP DATA FILE!
I was tired using zip extractors, changing file names & struggling with command prompts; then found this[emoji4]
Hope it helps[emoji106]
Sent from my GT-N5110 using Tapatalk
---------- Post added at 08:57 AM ---------- Previous post was at 08:24 AM ----------
DIGVIJAY24 said:
I'm sure somebody is already aware of this;just sharing coz this awed me![emoji33]
You need to ..extract/restore individual data files from nandroid backup?
Restore data to an app when switching between ROMs or OS versions?
Well TWRP IS THE ONLY THING YOU NEED! And a PC of course.
Bless the Devs[emoji7][emoji28]
Forget Nan managers, tar.extractors & the insanely complex Bash terminal commands
1. Go to File manager on TWRP recovery, it can read the system data i.e. data/data/ file (while your other file managers can,only data files on SD or ext.SD)
2.Go to data/data and locate the data folder of the app you wish to extract; will be in the format 'com.app name'
3.Push 'Select folder' tab on the screen; it gives you option to COPY the file
4.Move up & paste the data/data file on your readable memmory: sd/ext.SD
And that's it!! Just connect to the PC & pull the file & there u have: your APP DATA FILE!
I was tired using zip extractors, changing file names & struggling with command prompts; then found this[emoji4]
Hope it helps[emoji106]
Sent from my GT-N5110 using Tapatalk
Click to expand...
Click to collapse
And believe me, I could repack the data into my new ROM just like that!
Not sure if this messes up with your system but I'm going great so far.
So you Upgraded to a higher OS and find some of your apps to be crashing on your new ROM & have a nandroid of your stock:
You are going to switch data files between stock & custom ROM!
1.Flash the Stock ROM & copy app data from the system files to readable memory, as mentioned above, just add a letter & Rename the copy(which again you can do with TWRP!) so that TWRP may not confuse with the new folder
2.Flash the new ROM, uninstall the app that crashes & install the compatible version from the store
3.Allow storage permission from settings; open the app & perform some action so that a storage directory is created,if not already, in the system storage
4.Boot to TWRP recovery in the new ROM , so now you have the data/data folder of the new app you just installed(which is empty) as well as the data/data folder from your stock ROM on your SD/Ext.SD
5. You know were this is going[emoji16] Delete the data/data folder on your running ROM & MOVE(again with TWRP only!) the one from SD ,after restoring its original name, to the data folder from were you just deleted the other.
6.Wipe Dalvik/caches & reboot
7. Other than receiving a pop up that there may be some trouble with your android system, on startup, everything works just fine for me & the App is fully restored!![emoji7]
Didn't even use a PC!!
Such a tool TWRP is[emoji7][emoji120][emoji120][emoji120]
Forgive me, but try this at your own risk, coz as a newbie Im completely unaware of the consequences
Hope this helps somebody[emoji4]
Sent from my GT-N5110 using Tapatalk
DIGVIJAY24 said:
1. Go to File manager on TWRP recovery, it can read the system data i.e. data/data/ file (while your other file managers can,only data files on SD or ext.SD)
Click to expand...
Click to collapse
I don't understand this step. I go to file manager, then navigate to /external_sd/TWRP/BACKUPS/... and there are files like data.f2fs.win009. Now what?