[Q] Back up .Zip files - Samsung Galaxy Nexus

Easy question. Do I need to keep the original zip files on my phone in order for my backup/restore (s) to work correctly, or can I always restore my ROM's without the orginal files? Just looking to save space, I have 3 great ROM's now, Codename Droid, Gummy Nex & FoxHound. I change em up often.

If you are talking about the original install files you can delete them if you already have an nandroid of the ROM.

the .zip is just the installer. Once you have a backup made you will be able to restore that just fine.

Related

Odex vs DeOdex

I have researched a little bit on the subject, but I am still confused about the purpose of DeOdexing. Correct me if I am wrong, but doesn't DeOdexing decompile apks and allow for modification of apks? Why do some roms use a deodex while other use the default odex?
Also more importantly, if I were to flash a deodex rom, could I revert back to odex if I were to make a nandroid backup (prior to flashing) and restoring from the backup (or does this make a permanent change in the file structure)?
Sorry if I am way off basis on my interpretations of odex vs deodex, but this is all new to me.
Thank You,
RTC
Pretty sure I know this...
Deodexed ROMs allow the developer to more easily customize the phone interface.
For example, if you want to change icons or application configuration files. They are not packaged up in a deoxed rom. This allows them to be edited after the ROM is distributed.
There are alot of rom modifications that can only be flashed overtop of a deoxed rom. This is because they need to edit the system files that are packaged in a odex rom. This is where you have to pay attention.
You should not have to do a nandroid backup to flash between odexed and deodexed roms. When you flash a rom you are basically overwriting the system. A nandroid backup is probably overkill, but it will definitely work. The more nand bakups the better.
amw2320 said:
You should not have to do a nandroid backup to flash between odexed and deodexed roms. When you flash a rom you are basically overwriting the system. A nandroid backup is probably overkill, but it will definitely work. The more nand bakups the better.
Click to expand...
Click to collapse
he doesn't want to flash, quite the oposite he wants to NOT flash.
and yes, you can, while you deodex your phone, your original apks and it's odex files can be backed up, in fact it's a sugested step if not required, you can use those files later to restore your odexed apks.
WarDrake said:
he doesn't want to flash, quite the oposite he wants to NOT flash.
and yes, you can, while you deodex your phone, your original apks and it's odex files can be backed up, in fact it's a sugested step if not required, you can use those files later to restore your odexed apks.
Click to expand...
Click to collapse
Holy freaking necro, can people not read post dates, this thread is from july, around the time the evo was first released.
Sent from my Evo 4G using Tapatalk

[Q] Do I still need the files

I was wondering if I make a backup through clockwork and I need to revert back to the backup, do I need the files on my sd card that are included in the backup.
For example I root my phone and use a certain kernel and rom. I make a backup after this is installed. Can I remove the rom and kernel from my sd card or does it need to stay on there?
Thanks.
Yeah you can remove the rom and kernel .Zip's and everything will be fine..... as long as you keep all the files that the backup made (the .md5 and .img's)
theduce102 said:
Yeah you can remove the rom and kernel .Zip's and everything will be fine..... as long as you keep all the files that the backup made (the .md5 and .img's)
Click to expand...
Click to collapse
Yea I planned on keeping those, was just going to delete some of the zip files.
Thanks.

Stock Rom without Deleting Files

Hi forumers I need some help.
How to return sto stock rom without deleting my personal files? I dont have a back up of my phone.
Thanks in advance.
Backup your personal files. If they are on the sdcard then no problem there to backup, just put them on your computer. Then from any method you can found on this forum, using manual commands, tookits (wugs, gnex) just flash the stock version you want and then restore back your personal files.
Of course some manipulation will be needed, that is why I suggest you do a little search before doing anything. Remember Google is your friend.

[Q] Make installing/upgrading ROMS less painful?

I bought Ti BU thinking it would simplify upgrading my ROMs. But after every ROM install, I still have go through setup, sign into Play, download TiBU, do a batch restore from Ti.
One issue is that downloading TiBU gets stuck in the queue while every app I have ever downloaded from Play store get re downloaded.
Is there a way to make this easier?
~S
you never use clockworkmod backup (nandbackup or whatever you call it) ?
clockworkmod backup contains all backup of data,cache,system, and boot.img
then after applying any rom, you can restore only the data and cache
and you don't have to sign in to google play etc ...
i like this feature of clockworkmod recovery (custom recovery)
but if you're applying rom that based aosp but the backup that you have is on the sense rom based,,,it's better not to restore using this method ... use titanium backup method is better
I think Ti can create an update.zip, it's probably what you're looking for, you flash it after the ROM.
Both of those sound like correct answers. I will try both of them. If the CWM mode works, it will mean TiBU was a bit of waste of $$$ for me... oh well, not the first time I have done that.
~S

[Q] Clockworkrecovery no files found

First of all I am a novice when it comes to this sort of thing. I was running Paradigm 2.3.5. Created a clockworkmod backup using version 5.0.x.x (can't remember the exact version). I then wiped data, wiped cache, installed Paradigm 3.1, installed gapps, and booted. Well I decided I wasn't ready to re do everything I have done to my phone and I wanted to go back to my previous backup. I restarted into recovery, but when I attempted a recovery I get no files found. The files are still there if I look through a usb connection. I understand this has something to do with the /0 folder and moving from 4.1 to 4.2 android. I'm not sure what to do here I just want to restore my phone to before all of this mess. I also understand there are other topics on this issue, and I have been looking through them for hours now, but I can't seem to get anything to work. Please help.
Edit: I was able to download a file manager and transfer the clockwork backups into the correct clockwork folder and then restore to my previous rom. I still would like to know if it is possible to flash a new rom without losing all of your files and apps.
ddrawer said:
First of all I am a novice when it comes to this sort of thing. I was running Paradigm 2.3.5. Created a clockworkmod backup using version 5.0.x.x (can't remember the exact version). I then wiped data, wiped cache, installed Paradigm 3.1, installed gapps, and booted. Well I decided I wasn't ready to re do everything I have done to my phone and I wanted to go back to my previous backup. I restarted into recovery, but when I attempted a recovery I get no files found. The files are still there if I look through a usb connection. I understand this has something to do with the /0 folder and moving from 4.1 to 4.2 android. I'm not sure what to do here I just want to restore my phone to before all of this mess. I also understand there are other topics on this issue, and I have been looking through them for hours now, but I can't seem to get anything to work. Please help.
Edit: I was able to download a file manager and transfer the clockwork backups into the correct clockwork folder and then restore to my previous rom. I still would like to know if it is possible to flash a new rom without losing all of your files and apps.
Click to expand...
Click to collapse
You shouldn't lose your files if you wipe unless you wipe sdcard (in a custom recovery). You can save data and apps with titaniumbackup.
Sent from my Galaxy Nexus using XDA Premium HD app
mrgnex said:
You shouldn't lose your files if you wipe unless you wipe sdcard (in a custom recovery). You can save data and apps with titaniumbackup.
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
Yes I never lost any files they were still on my sdcard, but there was an sdcard\ and an sdcard\0 with duplicate folder except one of the duplicates were empty. So your saying if I do a back up with titaniumbackup then flash a new rom that uses android 4.2.2 or 4.3 I can then restore with titaniumbackup and have all my old data and apps on the new rom?
Do a search on the GNEX Development forum for the current version of CWM. 6.0.4.0 was just posted earlier today.
Sent from my Galaxy Nexus using Tapatalk 2
Sorry to be so annoying with this, and I really appreciate everyones help. To clarify, I just installed CWM 6.0.4.0. If I now make a backup with CWM, clear files/factory reset, clear cache, and flash latest rom, I can then boot and it will be like nothing changed as far as my app configurations and data goes? If not, is there a way to do that? Will titan do that for me?
ddrawer said:
Sorry to be so annoying with this, and I really appreciate everyones help. To clarify, I just installed CWM 6.0.4.0. If I now make a backup with CWM, clear files/factory reset, clear cache, and flash latest rom, I can then boot and it will be like nothing changed as far as my app configurations and data goes? If not, is there a way to do that? Will titan do that for me?
Click to expand...
Click to collapse
Think of CWM as an image bu of your phone. If something messes up when you flash that latest rom, you can restore the bu and all will be back to the way it was pre-flash. TiBU will backup your apps and data, so after you do a clean flash you can restore them. My personal preference for a clean flash is to let the Play Store restore my apps, then use TiBU to restore the data for my user apps. I've found TiBU to be a bit of a crap shoot when it comes to system apps. There's always a bit of work involved with a clean flash, but it's not too much and will usually save some headaches.
Sent from my Nexus 7 using Tapatalk 4
Well this weekend I decided to flash CM 10.2. I backed up to titanium, I backed up to cwm latest version, factory reset, flashed CM 10,2, flashed gapps, booted, play store repopulated my apps. Open titanium backup "no backups found", tell it to detect the backup folder on whole device, no backups found. So I just ran my cwm restore and when I boot I get a whole new error. When I try to browse my files with astro file browser I get "cannot downgrade database from 2 to 1". What is wrong now?
Edit:
I just tried to do another cwm backup because I was going to move around some files through usb, it took forever and then in the end failed because the boot image was messed up. It said something about free space so I deleted all but the most recent cwm backup and then the backup that failed before was able to finish. After doing that I booted again and I was able to browse my files with astro again. So that isn't an issue anymore, but there has got to be something wrong with my file structure that this keeps happening.
I have two 0 folders, is that normal. From root I have storage\sdcard0\0\0 and that contains my data from before I started any of this flashing from 4.1. storage\sdcard0\0 has duplicate folders of storage\sdcard0\0\0 but they are empty. There is also a folder called sdcard in the root folder. So obviously there is a huge mess here. Is there a tool I can run to clean it up, or can someone tell me how the file structure is supposed to be so I can just move things back the the way it should be.
Edit 2:
I ended up copying the files in the deepest 0 folders out to the 0 folder above them then removing the deepest 0 folder. I now have sdcard\0 which only has a clockworkmod folder with a recovery file in it, and storage\sdcard0\0 which when I go into the 0 folder I get routed to sdcard\0. Everything seems to be working fine still. I'm thinking about just combining the sdcard0 with the sdcard and removing the sdcard0 since I'm currently on android 4.1. Then with everything cleaned up I might give it another go.

Categories

Resources