[Q] Create Rom.zip from backup - myTouch 4G Q&A, Help & Troubleshooting

Hey,
I was just wondering, is there a way to create a flashable ROM (.zip) from an existing backup??
I have used CWM Recovery to create a backup of a ROM that I'm using (BlackICE). It has been customized to an extreme point. Removed several system apps and pushed my own apps to the system. Now I want to save it as a flashable ROM so that others, specifically a few of my friends, could also use it.
Any help would be greatly appreciated.
Thanks!

You could download a ROM, then use the kitchen in the Chef Central section to add all if your stuff and remove the original developers stuff. That's the fastest way I know. I'm sure there is a better way.
Sent from my HTC Glacier using XDA App

Thanks. I know of that method, I was just wondering if it were possible to directly convert a backup to a ROM.
I'll keep searching. Thanks though =)

SH31KH said:
Thanks. I know of that method, I was just wondering if it were possible to directly convert a backup to a ROM.
I'll keep searching. Thanks though =)
Click to expand...
Click to collapse
I've never tried but you may be able to open the backup and get the data from it
Sent from my HTC Glacier using xda premium

Root explorer will allow u to zip the archive and make it flashable.. just go to ur back up location, long press it, then hit zip this file.. it'll be saved to the speed software folder
Sent from my HTC Glacier using xda premium

Kinda slow with my responses but I tried that and although it did create a zip, I was unable to flash it because the file wasn't signed.
Another question comes to mind..
If I give my backup to someone else, will they be able to restore from it? By placing my backup folder into their /sdcard/clockworkmod/backup/ ??
Just curious =)
Sent from my Htc Glacier using XDA App

SH31KH said:
Kinda slow with my responses but I tried that and although it did create a zip, I was unable to flash it because the file wasn't signed.
Another question comes to mind..
If I give my backup to someone else, will they be able to restore from it? By placing my backup folder into their /sdcard/clockworkmod/backup/ ??
Just curious =)
Sent from my Htc Glacier using XDA App
Click to expand...
Click to collapse
You could try toggling signature verification in CWM and then you should be able to flash..

SH31KH said:
Kinda slow with my responses but I tried that and although it did create a zip, I was unable to flash it because the file wasn't signed.
Another question comes to mind..
If I give my backup to someone else, will they be able to restore from it? By placing my backup folder into their /sdcard/clockworkmod/backup/ ??
Just curious =)
Sent from my Htc Glacier using XDA App
Click to expand...
Click to collapse
Yes, that should work, as long as you have the same phones (mytouch4g). although, any texts or personal contact info will also restore to your friends phone

Nicgraner said:
You could try toggling signature verification in CWM and then you should be able to flash..
Click to expand...
Click to collapse
Greetings,
I made image files with dd command (boot.img, recover.img, system.img, etc.).
I zipped them, but when I wanted to flash them (usin toggling the signature), it requests an update file, which is not available.
(the phone is a bit different, Alcatel 918D)
I have been looking for the solution for 3 days with google.
Could anybody suggest?
Thanks,
Cappa.

Related

Clockworkmod recover 3x

Hey I did a search and browsed for the answer without luck... is there a simple way to add the clockworkmod recovery 3.x to rom manager it only has 2.x at this time but would be nice if I could ad 3.x to the list. Downloaded it to my SD card so wondering if there is a folder I can put it in that Tom manager would pick up? Thanks for any help!
Sent from my HTC Glacier using XDA App
TheManMountain said:
Hey I did a search and browsed for the answer without luck... is there a simple way to add the clockworkmod recovery 3.x to rom manager it only has 2.x at this time but would be nice if I could ad 3.x to the list. Downloaded it to my SD card so wondering if there is a folder I can put it in that Tom manager would pick up? Thanks for any help!
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
U have to do it manually. It won't work with rom manager at this time
Not sure if it works, but I saw this posted somewhere. If it does work its a bit of a hack, but in the folder that rom manager downloads the recovery to, move that file out to a different folder. then put the Clockwork 3 recovery into that folder and change its name to match the original file. Then flash recovery.
Interesting option..
Ok excellent thanks for the help.
Sent from my HTC Glacier using XDA App
Anyone know the file path? Can't seem to find the file?
Sent from my HTC Glacier using XDA App

copy my rom to another phone

I've searched a dozen different ways to try to read up on this but can't find a thread, I don't want to make a custom rom just copy mine as setup to another epic. If this is easily found could someone just point out the correct search terms. I thought to put this in development but the question seemed to general.
kiab115 said:
I've searched a dozen different ways to try to read up on this but can't find a thread, I don't want to make a custom rom just copy mine as setup to another epic. If this is easily found could someone just point out the correct search terms. I thought to put this in development but the question seemed to general.
Click to expand...
Click to collapse
About the only way I could think of doing so would be to go into your clockworkmod folder and copy the backup you have there and move that to the same folder of the other phone and try restoring that. Not sure if it would work being the google accounts/contacts and whatever else.
Just make a nandroid backup. Take the sd card out of the original epic, root your new epic using one click 3.0.0.6, boot into clockwork And then click on backup and restore and restore the nandroid backup you made. Not sure if it'll work, but I would assume it would.
It should work, you may hit an MD5 mismatch and you'd have to copy the MD5 file from a backup on the new phone to the old backup but it will probably be fine.
And make sure you flash a kernel that is ext4 compatable!
Sent from my SPH-D700 using XDA App
Thanks for the reply's, I did try to take the backup folders (3 in all) and copy them to the new phone, but I did get an md5 mismatch. I need to do this for 30+ company phones so I'm looking for the easiest way to get all the apps and layouts we want to each phone.
Lol, I think you better start changing MD5 instead of posting. Thats a lot of phones!!
Do a nandroid backup and backup everything using my backup root and wipe then put sd in new epic flash cwm3 let it convert to ext4 if that's what you were on otherwise use cwm2.5 and restore the system from cwm only boot up into system go to market log in download my backup root and restore all with that. If it can't find ur backup it sometimes makes an "SD" folder on the sd card itself
Edit: if md5 is mismatched just use any rom zip like srf or bonsai as the system backup is basically just a rom the mybackuproot holds all the app data and phone data
Sent from my midnight rom 5.2 genocide 1.0 epic [email protected] using xda premium app
qbking77 said:
Just make a nandroid backup. Take the sd card out of the original epic, root your new epic using one click 3.0.0.6, boot into clockwork And then click on backup and restore and restore the nandroid backup you made. Not sure if it'll work, but I would assume it would.
Click to expand...
Click to collapse
This is how you do it. Yes and like mentioned, flash a EXT4 kenel
Make an odin tar... way easier not to mention quicker on a mass scale, and more reliable. I made a post detailing how.
Sent from my SPH-D700 using XDA App
chris41g said:
Make an odin tar... way easier not to mention quicker on a mass scale, and more reliable. I made a post detailing how.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I read threw those post to see if anyone suggested this,atleast it didnt get to a couple pages...
+1 on the odin.tar,way easier.
Sent from my MyFrankenstein EC05OCE using XDAP App...

In need of a file

Hey guys,
I overwrote my build.prop file last week with one supplied by a dev in a thread in order to fix a WiFi calling problem in their ROM. I'm back to CM7 but my WiFi calling is not working here now. It appears as if restores don't restore the build.prop file? Anyway, if someone could supply their build.prop file (if you're running a CM7 build flawlessly, even better!) I'd be greatly appreciative.
or you can simply take it out of the rom that you downloaded, jus open the zip and go to system and it should be at the bottom
ilostchild said:
or you can simply take it out of the rom that you downloaded, jus open the zip and go to system and it should be at the bottom
Click to expand...
Click to collapse
Or just reflash the rom
Sent from my HTC Vision using XDA Premium App

Warning - do not rename Backup folders!

so i made a backup via CWM recovery and, to recognize the backup, i renamed the folder to the name of the ROM... when i tried restoring it, i got a size mismatch error... good thing i made a backup of all of my sdcard, including the original name of the folder, and the restore worked again
SO PLEASE! do *NOT* rename the backup folder!!
and this is news because....?
Sent from my HTC Vision using xda premium
androidcues said:
and this is news because....?
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
because i didn't see someone doing it... so i think its new...
—————
|RIROZIZO|
—————
I agree thanks for the heads up. I'm sure there are those that don't know this. I found out the hard way monthes ago.
Sent from my Mikes HTC G2 with Google using xda premium
I didn't know this either. Surprising that this isn't more widely known. Learned this afew months ago by mistake. Never thought of making a post though.
Koodos!
Uh..duh
Sent from my HTC Vision using xda premium
Actually, here's the deal
You CAN rename backups. I do it all the time. What you CANNOT do is add spaces.
My_Rom <----works
My Rom <-----will fail
I usually use camel casing (camelCasing). I've seen people with this problem in a few other phone forums and just happened to stumble on this
OP, if you rename your backup to one that has no spaces, then you should be alright!
Hope I helped!
i didn't try without spaces, but could a space make the md5sum different? i thought just renaming the thing changes the md5sum
Riro Zizo said:
i didn't try without spaces, but could a space make the md5sum different? i thought just renaming the thing changes the md5sum
Click to expand...
Click to collapse
Nope, the md5sum is stored in a .txt file in the backup folder and doesn't ever change (even with the name). If you change the .txt file in any way it'll probably break the back up. I'm not sure the logistics behind it, but spaces break something that removing the space will fix.
A couple things.. The spaces are because of the file reader cannot register the new tokens, some programs (windows and most OSs) are completely fine with this, however some just don't have he exception to deal with it. As for changing the .txt file with the md5, that wont actually break the backup, but CWM will think that it is cause they don't matchup
Why not just use 4ext? They name the backup for you, very nice recovery.

Unzip multi part TWRP backup

Hi,
I while ago I backed up my nexus 7's data partition as it was no longer booting and expected to be able to extract it and gain access to some data I needed. I do this on my HTC sensation using 4EXT recovery which outputs a zip but TWRP has given me .win000/1/2 files. I've read somewhere they are tar files but I have no idea how to rename them to make them able to be extracted using archive apps. I've attached a screenshot of the files if this helps.
Thanks in advance for any help.
Sent from my HTC Sensation Z710e using xda app-developers app
microang said:
Hi,
I while ago I backed up my nexus 7's data partition as it was no longer booting and expected to be able to extract it and gain access to some data I needed. I do this on my HTC sensation using 4EXT recovery which outputs a zip but TWRP has given me .win000/1/2 files. I've read somewhere they are tar files but I have no idea how to rename them to make them able to be extracted using archive apps. I've attached a screenshot of the files if this helps.
Thanks in advance for any help.
Sent from my HTC Sensation Z710e using xda app-developers app
Click to expand...
Click to collapse
Hi, microang...
Not quite sure what kind of data you're looking to retrieve, but have you investigated Nandroid Manager ?
This app allows you to examine, and selectively extract stuff from Nandroid backups, whether they be created by TWRP or CWM.
I used it myself quite recently to pull a 'build.prop' file for somebody here on XDA.
Needlessly to say, because this is an Android app, the Nandroid backup would first have to be copied over to some Android device.
With regards to using something like Windows... looking through my Nandroids backed up on my Windows laptop, I note that, like yourself, I also have several incidences where the data partition has been broken up into multiple archives, with names like data.ext4.win000 and data.ext4.win001.
Upon appending a .tar extension to these files, so thus, for example, data.ext4.win001 becomes data.ext4.win001.tar... and some of these files will open, and some will not... but that just maybe because I'm using old Windows archive software (jZip). I guess I need to update my Windows zip archive software.
Anyway... the best I can suggest is Nandroid Manager... but as mentioned, the Nandroid backup in question would first have to be copied over to some Android device - and you do need root, but as far as I know, you don't need TWRP/CWM installed. You can then explore the Nandroid and extract stuff.
Hope this helps.
Rgrds,
Ged.

Categories

Resources