Related
So, just messing around after i wiped my phone to install a different ROM, I did a backup of my wiped phone. If their is nothing on the phone, what is it actually backing up? It was like 365mb file, and I was to scared to run it after the fact (because I just know one of these times I'm going to push the limits and screw my phone up with my curious thoughts).
It's backing up the /system directory (mostly) along with the bootloader and clockworkmod recovery. The "wipe" option simply deletes everything on your cache and data partitions. You use it when:
~ You want to switch from (example) a rom to a different kind of rom, say virtuitous to cyanogenmod
~ You want to start from scratch again
Clockworkmod wouldn't let you delete your system partition without installing a new rom... this would be a bad idea
You can restore and boot off of that recovery you just made. It'll boot up with the "touch the android to begin" and google account setup wizard.
Sent from my T-Mobile G2 running Cyanogenmod.
ibemad1 said:
It's backing up the /system directory (mostly) along with the bootloader and clockworkmod recovery. The "wipe" option simply deletes everything on your cache and data partitions. You use it when:
~ You want to switch from (example) a rom to a different kind of rom, say virtuitous to cyanogenmod
~ You want to start from scratch again
Clockworkmod wouldn't let you delete your system partition without installing a new rom... this would be a bad idea
You can restore and boot off of that recovery you just made. It'll boot up with the "touch the android to begin" and google account setup wizard.
Sent from my T-Mobile G2 running Cyanogenmod.
Click to expand...
Click to collapse
Ok, so What ROM will be running though? Would it be the one that I had before the wipe?
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..
I am not a total noob to this, as I used to root/ROM the OG Nook Color to death, but I have a few questions on what to do when going from CM 10.1 M1 to the newest M2.
On the Nook, I could put files onto the SD card for flashing after I wiped the device in order to install a new ROM. However, on the Nexus there is no such option. I downloaded goo manager and got the latest GAPPS and M2 zip, but if I wipe the device prior to flashing the latest M2, won't these be wiped also? I guess I'm asking what is the best solution for updating ROMS since I don't have the benefit of loading files to an external SD card.
Along the same lines, I also made a NAND backup of the current ROM and a titanium backup of the apps+data. All of these files reside on the phone itself, so should I move them to the computer first, wipe the device then load them back on for flashing?
Thanks a ton.
bluewhite79 said:
I am not a total noob to this, as I used to root/ROM the OG Nook Color to death, but I have a few questions on what to do when going from CM 10.1 M1 to the newest M2.
On the Nook, I could put files onto the SD card for flashing after I wiped the device in order to install a new ROM. However, on the Nexus there is no such option. I downloaded goo manager and got the latest GAPPS and M2 zip, but if I wipe the device prior to flashing the latest M2, won't these be wiped also? I guess I'm asking what is the best solution for updating ROMS since I don't have the benefit of loading files to an external SD card.
Along the same lines, I also made a NAND backup of the current ROM and a titanium backup of the apps+data. All of these files reside on the phone itself, so should I move them to the computer first, wipe the device then load them back on for flashing?
Thanks a ton.
Click to expand...
Click to collapse
There is no such need mate! When you root your phone, you get "an image of your internal memory" - forgot the word for it xD
So, when you do a "wipe" in recovery (TWRP or CWM) you do a factory reset - wipe system(on twrp) - wipe cache - wipe dalvik - and it just delets the current ROM you have, all your files remain on the internal memory, togeather with the titanium backup - zip files you just flashed and so on ... Hope you understand what I meant
Wow, I didn't know that it left files after doing a factory wipe in TWRP. So you're saying I can wipe system, cache, and dalvik cache, but my m2 zip, Gapps zip, nandroid backup zip and titanium backup files will still be there?
What about my wifi and bluetooth settings? do I need to do those over again or are they "saved" somewhere
bluewhite79 said:
Wow, I didn't know that it left files after doing a factory wipe in TWRP. So you're saying I can wipe system, cache, and dalvik cache, but my m2 zip, Gapps zip, nandroid backup zip and titanium backup files will still be there?
What about my wifi and bluetooth settings? do I need to do those over again or are they "saved" somewhere
Click to expand...
Click to collapse
If they are synced with your google account, they will restore back!
When wiping - do cache - dalvik cache- factory reset - system ... DON'T wipe anything else, especially internal storage! THAT will wipe everything off ...
I don't know how to check if they are synced. I know I have contacts calendar, etc synced. How can I tell if wifi settings and bluetooth are synced?
Go to backup & reset in settings and check there!
ok, thank you! it is checked, so I guess i'm good to go.
I will wipe "SYSTEM" in TWRP - which wipes the ROM only. I will not do a factory reset in twrp.
Doom, you've been a ton of help!
christ, i tried to install m2 and in says "FAILED"
**** **** ****! I am screwed. why did the flash of the latest m2 fail?
Stuck on Google splash screen
I am re downloading the latest M2 from get.cm to my PC. I guess I can reboot into recovery and try to get the zip onto the phone.
restoring from Nand backup now. UGH. what went wrong with the goomanager m2.zip??
bluewhite79 said:
Stuck on Google splash screen
I am re downloading the latest M2 from get.cm to my PC. I guess I can reboot into recovery and try to get the zip onto the phone.
Click to expand...
Click to collapse
Perhaps you had a bad download ...
Doomhamma said:
Perhaps you had a bad download ...
Click to expand...
Click to collapse
That's what I'm guessing. now my PC won't recognize the nexus...as if the device drivers won't work on my PC. ugh.
after the restore, i'll see if I can get my PC to recognize the device when I plug it in. This is odd.
I ALWAYS download this via PC - then send 'em on my GNexus and then flash aterwards ...
Thanks doom, I am restored to my old M1 rom, but my PC is not recognizing the device, so I can't move the downloaded m2 zip to it just yet. I've got to figure out what is going on with device recognition before trying this again.
My Nexus recognizes that it is connected to a PC as a USB device and I can hear the bleep on my PC that it is connected, but I cannot see the device in windows explorer.Consequently, I cannot move the zip to the device if I cannot "see" it.
Do you get the icon in your comp's status bar that it's connected? Android debugging enabled in settings?
Its actually working now. I launched nexus root toolkit to recheck the drivers and now it magically appears in windows explorer...go figure.
should I also install the latest GAPPS after flashing M2? I was using late 2012 Gapps, but now there is one from 3/1/2013 or will that screw up something?
I don't really know ... Didn't try those out! Neither did I try M2 .. xD
Thanks doom! Flashed the M2 zip and newest 3/1/13 Gapps. No need to set up the phone all over again! I am now on M2 (4.2.2).
Hello, I have CWM for long time but that's second time when I used it to restore my stock firmware with apps from a backup made before changing a ROM.
I was using Cyanogenmod 12.1 and before it I did backup of my stock firmware by CWM.
The problem is, when I did restore from a backup, It restored system well, but ... not exactly data.
System booted well, but I don't see any of my apps. Hovewer, when I check in App Manager, I see many apps that i HAD installed but they are shown as 0,00 B weight and have "android" icon.
Memory of my phone is filled as same as when I did backup but apps don't show.
How should I use restore from backup to restore entire system well?
Go to recovery and wipe data,cache and dalvik. Then use advance restore option to restore data and cache.
Now data should work but I recommend using folder mount or sd fix to modify the sdcard restrictions on stock kitkat.
I know I saw this process in a recent thread but I've misplaced it. If anyone can point me to it, I would be grateful.
I want to clean flash CM 13 on my OP3.
From what I remember, I'm supposed to store the CM 13 zip file and gapps file in the SD Card folder. Is that truly correct? The OP3 doesn't have an SD Card though I did find a folder.
If I do a factory reset and wipe everything, won't that folder also get wiped? Then how would I install the ROM from the phone?
Sorry, I know this is a straightforward process for many of you, and dirty flashing is easy. But I think a clean flash is better and I'd rather not guess and end up with a bricked phone I have to fuss with.
Again, I know this exact process is in a thread somewhere but I can't find it.
the phone storage is /sdcard/
u can use something like ES File Explorer and create a folder called CM13 or whatever u want
u do have ur bootloader unlocked and twrp installed, correct?
yes u will just the get cm zip file and put it in a folder (ex. /sdcard/CM13/)
i put the gapps in the same folder
create a nandroid backup
wipe/advance wipe - wipe caches/data/system !!!!Do NOT WIPE - INTERNAL STORAGE OR OTG!!!
then flash cm zip and gapps
Hi, thank you. Yes, bootloader unlocked, twrp installed and I've done it in the past on a different phone but couldn't sort out clean flashing from dirty flashing. I've done it correctly in the past, and it's also gone very wrong for me. I think I mistakenly wiped internal storage once and that was a disaster.
Somewhere I've also read about a factory reset through trwp.
I don't need to do that, or wiping caches/data/system is the same thing?
.
digger16309 said:
Hi, thank you. Yes, bootloader unlocked, twrp installed and I've done it in the past on a different phone but couldn't sort out clean flashing from dirty flashing. I've done it correctly in the past, and it's also gone very wrong for me. I think I mistakenly wiped internal storage once and that was a disaster.
Somewhere I've also read about a factory reset through trwp.
I don't need to do that, or wiping caches/data/system is the same thing?
.
Click to expand...
Click to collapse
If you wipe internal storage, you will lose the zips for your ROM and GAPPS. You can connect your device and have it recognized on your PC from within TWRP if you do accidentally wipe your internal storage.
Factory reset doesn't wipe the system partition as that would remove your OS. Most Roms will wipe your system partition before it installs itself so generally you don't have to wipe the system partition manually, but it's good practice.
Clean flash = wipe dalvik, cache, data; then install ROM (which will wipe system before it installs, or manually wipe system before the ROM install for good measure).
Dirty flash = flash ROM, then wipe dalvik and cache. The only time you should do this if the ROM you're looking to flash says it can be done (ie. CM nightlies).