In TWRP, when you flash a rom you are pointing it to a .zip file, or bootloader or modem or whatever. Great, but when I create a backup of my rom in TWRP it doesnt make a flashable .zip it just makes 4 .win files. If I then go into TWRP and select restore it asks for the location of the .zip and if I go to that location obviously there is none to be found. Do I just use like winrar or 7zip and make it a .zip or what? I dont understand this and I better because If I ever need it Im screwed.
TWRP backups are not zip files. You point it to where TWRP created the backup folder.
Related
Every time i try to flash a rom i get a error that says
E:Cant find update script
Using Amon Ra recovery. Wiped everything and partitioned sd card.
Thanks for any help
Sounds like the update package is not signed with valid keys. Is your phone rooted ?
yessurr said:
Every time i try to flash a rom i get a error that says
E:Cant find update script
Using Amon Ra recovery. Wiped everything and partitioned sd card.
Thanks for any help
Click to expand...
Click to collapse
check your zip. If you zip a file two folders deep it will give the same error. open your zip and see if you see your files or another folder.
yeah when i unzip it, the first folder i see is the name of the rom "fresh" then when i open it, I see; boot image file, data folder, META-INF folder, sdcard folder, and system folder.
Well update script is in META-INF\com\google\android but if your zip file is not signed then it can't be flasshed that is why you get upgrade script not found.
How do i do that????? And walk me through what "signed" means
And im using a macbook pro if that helps any
Thanks a ton
Well did unziped the zip folder ? Did you make any changes to the installation zip ?
Now what rom are you running. So you have root ? When you use connectbot and type su deo you see #? It could be that your phone is not ruter and does not have proper recovery installed since we can't sign rom with the same keys that developers at sprint use we have to root the phone and allow it to accept custom rom.
all i did was download the fresh rom from the forum onto my computer, compressed it (zipped it) then rebooted my phone into recovery, wiped everything i needed to, enabled the usb, moved the zip over to the phone, disabled the usb and then went to flash zip, found the zipped fresh rom and tried to flash it.
Im running my stock rom that came with the phone.
If you running this on mac the os x will unzip ypur file and put the download file in trash so use zip file from trash. Now You need to use simple root to root and install proper recovery on your phone then you will be able to install custom rom .
Awesome! found the zip file in the trash like you said, transfered that over and it worked! thank you thank you thank you!
I switch roms constantly on my phone and the most annoying part of that is having to every time enter my gmail, facebook, twitter and other information that never changes... Is there anyway to make a FLASHABLE update.zip that I can just install after a rom flash? Out would even be better if I can put certain applications in there too. Like my Angry Birds, Rom Manager, and Titanium Backup. You know just the apps that no matter what rom I use I always have to reinstall. This would save me and whoever find themselves in this situation alot of time when it comes to experimenting with different Roms. Please help!
Sent from my PC36100 using XDA App
I don't know about login information but you can make an update.zip with miscellaneous apps that you don't want to re-download. It's kind of a pain (personal opinion) to make an update.zip but here are some directions:
1. Create a folder, we'll call it "update".
2. Inside "update" make two new folders called "META-INF" (without the quotes and capitalized) and "data" (also without quotes).
3. Inside "META-INF" create a folder called "com".
4. Inside "com" create a folder called "google".
5. Inside "google" create a folder called "android".
6. Close the folders you have open and re-open "update".
7. Open "data" and create a folder called "app".
8. Add the .apk files you want to flash to "data/app".
9. I've attached a few files to the post, unzip "secFiles.zip" and put "CERT.RSA", "CERT.SF", and "MANIFEST.MF" into your "update/META-INF" folder.
10. Also attached is "script.zip". Unzip this and add the "updater-script" and "update-binary" to "update/META-INF/com/google/android".
11. Now that you have the folder structuring complete you can zip it all up. When you zip it, make sure you zip "data" and "META-INF" NOT "update". You will have errors if you zip "update"!
12. If you have ClockworkMod Recovery you do not need to sign it. If not then I recommend making a nandroid backup and copying it to your computer so that your WiMax (4G) keys are backed up, then switching to ClockworkMod Recovery.
13. Make a nandroid backup anyways! Don't come calling me if you're phone messes up. I do not believe there to be anything wrong in my directions but I can't afford to fix you're phone.
14. Flash away! Hopefully it worked. I'll try to elaborate if you're confused.
Thank you so Much! but thats just half the equation... Titanium Backup has a way to backup and restore the Accounts and Sync data which is what the goal is here... im thinking about finding a way to extract that and put it into a flashable zip. Im learning alot about the android structure and it might now be long until i unintentionally solve this myself
You could add Titanium Backup to your flashable zip and have it preinstalled as well as your backup wherever it belongs. (Sorry, don't use Titanium Backup)
Or another idea to try out, if you have Clockwork Recovery you can restore just the data partition. I'd be careful of doing it but if you're in the mood to experiment I think it might do what you're looking for. Note that you'll have to have a data.img nandroid backup of everything you want. If you manage to figure it out please share because I hate typing my ridiculously long passwords every time I flash a new rom.
you can make a flashable zip for titanium. from the app, press menu > more > create update.zip
this option gives you an option to create a signed zip file (you need a free app from the market called zip signer) that will install titanium as either a user or system file
It would be great to know how to create a update.zip of the titanium backups and that way, it would include +data
Anyone know how to do that?
Keri
Being a newbie that is learning A LOT, my most recent question is:
If I have flashed a BYOR (midnight rom) then added the apk files that I wanted, is there a way of saving my modified ROM so that if I try something else and need to flash back, I can without reloading all of the apps from the zip files?
Make a backup in CWM before wiping, then restore it later when you want to switch back. That's all you can do as far as I know.
notmyepic said:
Being a newbie that is learning A LOT, my most recent question is:
If I have flashed a BYOR (midnight rom) then added the apk files that I wanted, is there a way of saving my modified ROM so that if I try something else and need to flash back, I can without reloading all of the apps from the zip files?
Click to expand...
Click to collapse
1st download Titanium Backup and save all your files on your and window information email etc etc . u hit menu then BATCH then back up all files and data ......
CWM ... got to restore n backup then select back up and let it work ..........
now after u check out the other Rom u go back into CWM .... RESTORE UR OLD FILE .... then download TITANIUM BACKUP and restore everything or just choose what you want NOTE: YOU CAN DO TITANIUM w the ROm IF U CHOOSE TO KEEP IT
Also, you can take applications from say the midNight v5 upgrade zip(use 7zip to open the zip file) navigate to system/app folder. Copy the apks from the upgrade zip to the same folder in the BYOR zip file; same for files in system/lib.
You can repeat that step for other apps you like from the midNight Extras folder.
If you ever have to flash fresh; then you'll have a rom zip pre-built with your apps and you wont have to flash each zip.
Absolutely utilize the backup in CWM .. that can save you butt ... before any theme, kernel or ROM install. That way if you hit a boot loop or freeze .. simply boot to recovery and restore your phone back to before that flash attempt.
Thanks everyone. When I get a chance I may try something different
I would download and install 7zip. make a backup copy of your midnight 5.0 byor zip incase you mess something up but not likely. right click on one of the rom zips and 7zip open archive. in that archive you opened there should be an sd card folder. open that and extract the midnight extras folder to your desktop (drag it to the desktop). open that archive up again and navigate to system/app. go into your midnight extras folder and copy all the apk's you want on your phone and paste them in the system/app folder. After this any time you flash this zip you will have all the apps you put in the system/apps folder and wont have to flash multiple zips for apps. this can be done for themes, boot animations, shutdown animations, fonts, pretty much anything you can flash as long as you know where to put them. ps always backup before flashing
I thought I read somewhere installing zip file with CWM, it needed the apk and another file (believe it was meta file)
Is this the case, or is the zip files with meta also for something bigger than just apks?
Hello
My problem is that I downloaded the nand stock rom from the thread and extracted it and tried to put it in the clockworkmod\backups folder and I think it was ok (not sure) but by mistake I deleted all of backups (the stock and the one i created) and I tried to copy it again and create another one but I noticed that there never 2 backups.
The one that I created I can see only from the restore option in recovery and not in the folder ( I used to see it in the folder ..) and the stock one I can see in the folders but not in the restore option.
Should it be like this ? Am I doing something wrong ?
How can I restore that stock backup if I cant see it ?
I'm on ordroid 9 with TWRP recovery.
And the stock one gets in ZIP but i extracted it and copied as folder.
Thanks in advance , I'm afraid to flash new version.
That's because you didn't put it into clockworkmod>backup folder in the sd card and btw you don't extract anything .....every nandroid backup must have 5 zip files in it (don't extract it) and should be named as the date and time it was created
The folder should be like this
Clockworkmod\backup\date & time folder\backup files
donhashem.dh said:
That's because you didn't put it into clockworkmod>backup folder in the sd card and btw you don't extract anything .....every nandroid backup must have 5 zip files in it (don't extract it) and should be named as the date and time it was created
Click to expand...
Click to collapse
I know :\
I extracted the stock backup folder from the zip . not the content in backup.
Forgot the part about renaming, that actually might be the case.
Thanks both of you, I'll try it.
I was doing some changes to my phone so i did a backup and then copied the backup directory from the phone to my PC to save it. The backup was under /clockworkmod/backup/Jan312013.
I copied that directory (Jan312013) to my PC not even realizing when it copied it, for some reason it changed it to a zip file??? Now i have Jan312013.zip and have no idea how to copy that back to phone to restore?? If i open the zip it has all the files that would normally be in the backup directory but of course recovery does not recognize a zip file for backup.
Thoughts? Help? Thanks.
What version of CWM, if that's what youre using? I just used 6.0.2.3, and i believe there's an option to backup as .zip. Maybe you accidentallychose that method?