So I got a phone with cryogen7 or whatever from my friend. I want to make it completely stock again. I dont have his sd card. so I just have mine from another phone. I downloaded the stock g2x gingerbread file, but when I try to restore it, i get a md5 mismatch or something. I saw a thread on that but I dont know how to write code. just hoping someone could help me out. thank you.
Download it again, also try another browsee
Sent from my LG-P999 using Tapatalk
Download the V21E nandroid from this thread:
http://forum.xda-developers.com/showthread.php?t=1196019
Then use your computer to extract the folder from the zip file you download. Copy that folder to the sdcard on your phone, and place it in the ./clockworkmod/backup directory. Then boot into clockworkmod recovery and select backup/restore > restore and then choose the backup folder you just copied to your sdcard. Make sure to do a full wipe/factory reset from within clockworkmod before you reboot or you might get a bootloop.
If you want stock recovery then use tga gunmanns one click app in the development section to restore stock recovery. Then you'll be 100% unrooted stock again.
IF the name of the zip has spaces in it it wont flash
Mister Hat said:
IF the name of the zip has spaces in it it wont flash
Click to expand...
Click to collapse
Nandroid backups aren't flashable zips. With the files from the thread i linked to, you have to extract the backup folder from the zip before you restore it. But yes, you are correct that spaces in the name of the backup create issues.
Did you figure it out yet?
Sent from my LG-P999 using XDA App
it freezes on "checking md5 sums"... don't know what to do
Are you using your computer to extract the V21E folder from the zip file? Ive used my phone before to extract it before and gotten the md5 mismatch error, and then used my computer to do it and it worked fine.
are you sure the rom your using is for your phone?
I softbricked my Skyrocket... but before I reflashed it back to stock , I was able to backup my phone with clockwork mod. I was messing around with the
framework-res.apk file so I put a .bak suffix on the original.(right before I bricked it)
When I extract the system.ext4.tar file in the CWM backup I can see the files
framework-res.apk
and
framework-res.apk.bak
I am hoping there is a way to delete the bad file and rename the good file, then recompress to a .tar file, then restore from that.
Any suggestions??
Don't actually unzip the file. Just double click on it and see it you can remove bad file. Again do not unzip the file. Can you get into CWM?
Sent from my SAMSUNG-SGH-I727 using xda premium
yes i can get into CWM. I also have a copy of the backup on my pc
Fix the copy on your PC. Then flash it
Or just load a new rom and flash it. Do not unzip the file. Just double click it and remove what you need. Then move zip back to SD. Lemme know how it goes
Sent from my SAMSUNG-SGH-I727 using xda premium
I cant see the files I need to delete and rename unless I use winrar. Is there a different program that works better with .tar files?
If it were me. Id just flash a new rom. Start from scratch. Try 7zip
LOL I may be confused
Sent from my SAMSUNG-SGH-I727 using xda premium
OMG! wasted my whole day trying this with WinRAR! Never worked! Tried it with 7zip and it worked. Thanks! Now I still have to get that file to work now that I've edited it.
I have downloaded several times but everytime there is nothing in the zip? Am I doing something wrong?
[ROM] NANDROID Restore Stock Froyo 2.22 V10f / GingerBread 2.33 V20e (2-21-2012)
if im not mistaken the file is a rar file that needs to be placed in your backup folder in CWM then ran as a backup to be successfully installed.
No... Still does not work. The original thread said that it had to be extracted to the SD card but there is nothing in the zip to extract. Getting error when I try.
Dishfsm1 said:
No... Still does not work. The original thread said that it had to be extracted to the SD card but there is nothing in the zip to extract. Getting error when I try.
Click to expand...
Click to collapse
Let's ask... is it a zip file or a rar file????¿¿
Sent from my LG-P999 using xda premium
Is it possible to convert Cwm backups for use in TWRP or is it a simple case of drag and drop?
Sent from my Nexus S using xda premium
scoffyburito said:
Is it possible to convert Cwm backups for use in TWRP or is it a simple case of drag and drop?
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Don't know it's possible currently but you can always restore the cwm backup using cwm, then flash twrp, and do a backup with twrp. Now it's converted. Quite a hassle but this is one way I know how.
Sent from my Nexus S using xda premium
[email protected] said:
Don't know it's possible currently but you can always restore the cwm backup using cwm, then flash twrp, and do a backup with twrp. Now it's converted. Quite a hassle but this is one way I know how.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Yeah I guess it's the only way
Sent from my Nexus S using xda premium
scoffyburito said:
Yeah I guess it's the only way
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Found this http://www.droidviews.com/create-flashable-zip-cwmtwrp-backup/
It says:
Code:
Create Flashable Zip from CWM/TWRP Backup
The method for creating flashable Zip from CWM and TWRP backups are different as both the recoveries use different techniques to backup the device.
For CWM Backup
Transfer the CWM backup from Phone to PC.
Extract system.ext4.tar file with any of the archive apps like Winrar or 7zip, you will get the system folder of your device containing all the files.
Gather the boot.img from the CWM backup.
Now collect a META-INF folder from any custom ROM which is made for your device. Make sure you get the correct Meta-Inf folder, else the Zip won’t work and might worsen the condition of your device.
Select the META-INF, System folders and the boot.img and right click your mouse and select add to Archive.
In the Archive settings, choose the extension of the compressed file as Zip (Make sure of this part)
That’s it, your flashable Zip is now ready and you can flash it using any custom recovery.
For TWRP Backup
Transfer the TWRP backup from Phone to PC.
You’ll see a file named system.ext4.win which is the System partition backup of your device. Rename it to system.ext4.tar (Changing its extension from .win to .tar)
Extract the system.ext4.tar using an archive software like Winrar or 7zip.
If your TWRP backup is not in compression mode, you will directly get the system folder, else you will get a file named system.ext4, which should be renamed again to system.ext4.tar and extract it to get the system folder.
Take the boot.emmc.win file and rename it to boot.img.
Now collect a META-INF folder from any custom ROM which is made for your device. Make sure you get the correct Meta-Inf folder, else the Zip won’t work and might worsen the condition of your device.
Select the META-INF, System folders and the boot.img and right click your mouse and select add to Archive.
In the Archive settings, choose the extension of the compressed file as Zip (Make sure of this part)
Now you can use this Zip file to flash it on your Custom recovery.
Hi there guys, today i shall show you how to make a flashable zip from your cwm backup!
REQUIREMENTS:
Windows OS
The Nandroid Backup
A tool(not mine, attatched below)
Brain
Now, copy all files from your backup to the folder where you extracted the tool.
Now it should look somewhat like this:
Code:
.android_secure.vfat.tar.
nandroid.md5
boot.img
cache.yaffs2.img
data.yaffs2.img
recovery.img
system.img
bkp2zip.bat
unyaffs.exe
cygwin1.dll
Run the "bkp2zip.bat".
Now there should be 3 files:System,Data and boot.img
now zip those three files.........And you should have a flashable update.zip!
<CyberAnarchy> said:
Hi there guys, today i shall show you how to make a flashable zip from your cwm backup!
REQUIREMENTS:
Windows OS
The Nandroid Backup
A tool(not mine, attatched below)
Brain
Now, copy all files from your backup to the folder where you extracted the tool.
Now it should look somewhat like this:
Code:
.android_secure.vfat.tar.
nandroid.md5
boot.img
cache.yaffs2.img
data.yaffs2.img
recovery.img
system.img
bkp2zip.bat
unyaffs.exe
cygwin1.dll
Run the "bkp2zip.bat".
Now there should be 3 files:System,Data and boot.img
now zip those three files.........And you should have a flashable update.zip!
Click to expand...
Click to collapse
how to delete the apps data ???? in the flasable zip..
i mean how to delete the singed gmailaccounts , whatsapp etc ???
PS- Thanks For The Thread
Saumitra Yadav said:
how to delete the apps data ???? in the flasable zip..
i mean how to delete the singed gmailaccounts , whatsapp etc ???
PS- Thanks For The Thread
Click to expand...
Click to collapse
Delete app data then backup.
In manage applications in the settings, i think there is a clear data option.
Phills recovery has this feature inbuilt
Sent from my HTC Explorer A310e using Tapatalk 2
Parth_14 said:
Phills recovery has this feature inbuilt
Sent from my HTC Explorer A310e using Tapatalk 2
Click to expand...
Click to collapse
didnt know that! Thanks for the info. I was going to install it anyway
Excellent guide.
It's just like ghost image in Windows.
Excellent.
Tnx mate
Sent from my LT26i using Tapatalk 2
Parth_14 said:
Phills recovery has this feature inbuilt
Sent from my HTC Explorer A310e using Tapatalk 2
Click to expand...
Click to collapse
I thought it was only for Rom. Does it also make a flash zip of all apps and data?
Sent from my HTC Explorer A310e using xda app-developers app
BANNED said:
I thought it was only for Rom. Does it also make a flash zip of all apps and data?
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
No! Only rom as far as i know
Sent from my HTC Explorer A310e using Tapatalk 2
uuuhhh I kinda don't get the point of this, I mean whats wrong with the default way of restoring a cwm or TWRM backup??
Meh, using UNIX tools, but not providing a solution, shame on you
(Warning: not actually tested, since I'm not really interested, just a 1:1 translation from .bat to sh)
Code:
#!/bin/sh
for i in system data
do
mkdir "{$i}"
mv "{$i}.yaffs2.img" "{$i}/"
cd "{$i}"
unyaffs "{$i}.yaffs2.img"
cd ../
done
rm .android_secure.vfat.tar nandroid.md5 recovery.img
zip -0 -r update.zip *
S.D.Richards said:
Meh, using UNIX tools, but not providing a solution, shame on you
(Warning: not actually tested, since I'm not really interested, just a 1:1 translation from .bat to sh)
Code:
#!/bin/sh
for i in system data
do
mkdir "{$i}"
mv "{$i}.yaffs2.img" "{$i}/"
cd "{$i}"
unyaffs "{$i}.yaffs2.img"
cd ../
done
rm .android_secure.vfat.tar nandroid.md5 recovery.img
zip -0 -r update.zip *
Click to expand...
Click to collapse
solution of what?
is this the method for using non-cwm reocovery to restore backup of cwm?
precardo said:
uuuhhh I kinda don't get the point of this, I mean whats wrong with the default way of restoring a cwm or TWRM backup??
Click to expand...
Click to collapse
You can create flashable zip that will include ROM and app, then give that to you friend.
You can use it when you formating sdcard, after that you flash it back and you have all.
It's nice and more elegant way, for me, but if someone don't like it - it's simple - don't use it.
Sent from my LT26i using Tapatalk 2
<CyberAnarchy> said:
solution of what?
Click to expand...
Click to collapse
REQUIREMENTS:
Windows OS
Click to expand...
Click to collapse
My piece of code should run on Linux, BSD, OSX, ...
Now you can do this directly from the recovery using PhilZ touch recovery
andromaniac123 said:
Now you can do this directly from the recovery using PhilZ touch recovery
Click to expand...
Click to collapse
Really? That's interesting and even more useful.
Where from could we download that recovery?
Sent from my LT26i using Tapatalk 2
funky0308 said:
Really? That's interesting and even more useful.
Where from could we download that recovery?
Sent from my LT26i using Tapatalk 2
Click to expand...
Click to collapse
Check Nihar.G's thread in original development section
<CyberAnarchy> said:
Hi there guys, today i shall show you how to make a flashable zip from your cwm backup!
REQUIREMENTS:
Windows OS
The Nandroid Backup
A tool(not mine, attatched below)
Brain
Now, copy all files from your backup to the folder where you extracted the tool.
Now it should look somewhat like this:
Code:
.android_secure.vfat.tar.
nandroid.md5
boot.img
cache.yaffs2.img
data.yaffs2.img
recovery.img
system.img
bkp2zip.bat
unyaffs.exe
cygwin1.dll
Run the "bkp2zip.bat".
Now there should be 3 files:System,Data and boot.img
now zip those three files.........And you should have a flashable update.zip!
Click to expand...
Click to collapse
META-INF is missing .. without meta inf how is the recovery going to install the stuff onto the phone ??
mimi_atmam said:
META-INF is missing .. without meta inf how is the recovery going to install the stuff onto the phone ??
Click to expand...
Click to collapse
use the meta inf of original rom.
help in making flashable zip for ext4 nandroid backup
<CyberAnarchy> said:
Hi there guys, today i shall show you how to make a flashable zip from your cwm backup!
REQUIREMENTS:
Windows OS
The Nandroid Backup
A tool(not mine, attatched below)
Brain
Now, copy all files from your backup to the folder where you extracted the tool.
Now it should look somewhat like this:
Code:
.android_secure.vfat.tar.
nandroid.md5
boot.img
cache.yaffs2.img
data.yaffs2.img
recovery.img
system.img
bkp2zip.bat
unyaffs.exe
cygwin1.dll
Run the "bkp2zip.bat".
Now there should be 3 files:System,Data and boot.img
now zip those three files.........And you should have a flashable update.zip!
Click to expand...
Click to collapse
bro my nanadroid backup has ext4 extension rather than yaff2 how should i make flashable zip from that???this method doesn't work on ext4 help plz