[TUT]How to Create flashable zip from nandroid backup - HTC Pico (Explorer)

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

Related

[Q] Installation Aborted g2x :( help please

I have a g2x. My phone is currently on Miui . But I tried switching back to stock rooted froyo. My phone is rooted, and is on Miui. I dislike this rom , and wanted to switch back.
Problem: I wipe data and cache everything .go to install zip, choose the stock froyo zip I found in xda. I click it and it says installation aborted. It's been very very frustrating. Since I leave to Europe in 2 days I can't stand to have Miui for 2 weeks. What can i do. Thanks
Try restoring your backup.
Might be a bad download. Redownload the file and make sure its a full file size 1xx MB rom.
Sent from my LG-P999 using xda premium
96traxx said:
Try restoring your backup.
Click to expand...
Click to collapse
My backup was accidentally deleted. I can't restore any rom. Thanks
Is the stock froyo zip a flashable zip or is it a zip file containing a nandroid backup? What are the contents of the zip you're trying to flash?
Sent from my LG-P999 using XDA App
phburks said:
Is the stock froyo zip a flashable zip or is it a zip file containing a nandroid backup? What are the contents of the zip you're trying to flash?
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
android_secure.img
.DS_Store
boot.img
cache.img
data.img
nandroid.md5
recovery.img
system.img
abdulsaleh said:
android_secure.img
.DS_Store
boot.img
cache.img
data.img
nandroid.md5
recovery.img
system.img
Click to expand...
Click to collapse
It's a nandroid. Put those files (extract them) to /sdcard/clockworkmod/backup/??? And nandroid restore them.
Sent from my LG-P999 using XDA App

[Q] CWM backup convert to TWRP

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.

[02/10/13][TOOL][NANDROID] md5 mismatch FIXER

if there is a thread that the same with this then inform me and i will personally lock this one
kindly move this thread if it was in the wrong section. :laugh:
okay, i wrote this simple script to easily fix and regenerate the md5sum of our Nandroid backup to avoid mismatching when restoring it.
Please don't blame me if anything happens on your phone by doing this.
Requirements:
- Terminal Emulator
- Brain.apk
- Experience on flashing
Instruction
- flash the Nandroid_md5_fixer.zip thru cwm or stock recovery
- go to terminal emulator and type "md5fix"
- select your damaged backup and wait until it finish!
02/10/13 UPDATE!
http://qfs.mobi/f397801
- fix bootloop problem
- compatible with console provided by Aroma File Manager
NOTE: avoid using 'space' when renaming backup's folder. It must be in one word.
i hope this will help you
goodluck
Good Work!
is the link broken?
i open the link,it shows '410 - Gone'
Sent by Schoolar Boy who wanna help and being a devs
Droid_beginner_student said:
is the link broken?
i open the link,it shows '410 - Gone'
Sent by Schoolar Boy who wanna help and being a devs
Click to expand...
Click to collapse
ooh so sorry., wait i'll fix it..
EDIT: link fixed
Sent from my Android System using Busybox Commands.
Wow good will try this, in the same time I always got error message while backup sd-ext n there's no nandroid.md5 file in the folder :thumbup:
Sent from my GT-S5360 using xda premium
Access to the web page was blocked by ESET Smart Security. The web page is on the list of websites with potentially dangerous content.
lol.. can you upload using another way?
rio. said:
ooh so sorry., wait i'll fix it..
EDIT: link fixed
Sent from my Android System using Busybox Commands.
Click to expand...
Click to collapse
thank you
will try in my corrupt nand..
pressed
Sent by Schoolar Boy who wanna help and being a devs
Why avoid using space???
Does using \ not work in terminal emu???
Ex. Name\ of\ Backup\ Rom
Sent from my GT-S5360 using xda premium
thirdzcee said:
Why avoid using space???
Does using \ not work in terminal emu???
Ex. Name\ of\ Backup\ Rom
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
ClockWorkMod can't read folder's name with space (two words)
it's not on my script.
my script can only fix a corrupted md5sum on every piece of nandroid backup but can not rename folders
Sent from my Android System using Busybox Commands.
unsupported
rio. said:
i wrote this simple script to easily fix and regenerate the md5sum of our Nandroid backup to avoid mismatching when restoring it.
Instruction
- flash the Nandroid_md5_fixer.zip thru cwm or stock recovery
- go to terminal emulator and type "md5fix"
- select your damaged backup and wait until it finish!
NOTE: avoid using 'space' when renaming backup's folder. It must be in one word.
Click to expand...
Click to collapse
the zip file has an unsupported compression method . I cannot unzip it on my PC.
mai77 said:
the zip file has an unsupported compression method . I cannot unzip it on my PC.
Click to expand...
Click to collapse
i zipped it using busybox i didn't use PC in working with it..
edit: try to unzip it using 7zip
Sent from my Android System using Busybox Commands.
Good Tool...... Very Nice Work...
..::[email protected]::.. said:
Good Tool...... Very Nice Work...
Click to expand...
Click to collapse
thanks bro!
Sent from my Android System using Busybox Commands.
md5 recalc tool
rio. said:
i zipped it using busybox i didn't use PC in working with it..
edit: try to unzip it using 7zip
Sent from my Android System using Busybox Commands.
Click to expand...
Click to collapse
7zip no luck but winrar works.
So the script recalculates the md5 sums. this assumes, that when you switch between various builds of "CWM recovery shell" the md5 calculation somehow calculates kinda "wrong" md5 sums.
a very useful tool. :good::good:
I flashed the zip then used terminal emulator. Typed "md5fix" and responded, "sh: md5fix: command not found"
ajdevera said:
I flashed the zip then used terminal emulator. Typed "md5fix" and responded, "sh: md5fix: command not found"
Click to expand...
Click to collapse
flash it thru CWM
Sent from my Android System using Busybox Commands.
is this working on all rom backup? coz i have a backup of jellyblast v3, jellyblast v3 with stock kernel and stock backup..after apply this can i restore the backup? coz i dont want to always flash the rom from the beginning...
how to use the script ? any example ?
encik_racun said:
is this working on all rom backup? coz i have a backup of jellyblast v3, jellyblast v3 with stock kernel and stock backup..after apply this can i restore the backup? coz i dont want to always flash the rom from the beginning...
Click to expand...
Click to collapse
yes!
mai77 said:
how to use the script ? any example ?
Click to expand...
Click to collapse
after flashing just call it from terminal emulator.. the command is "md5fix"
rio. said:
yes!
after flashing just call it from terminal emulator.. the command is "md5fix"
Click to expand...
Click to collapse
recommend which CWM is working to restore?

Sprint US 7.7.1Q-6_SPR-125_ASA-14 deodexed

Sprint US 7.7.1Q-6_SPR-125_ASA-14 (new OTA) in a flashiable zip file already deoxed except QualcommSettings.apk so you can all update and keep root as well as recovery option. I know some one with some java experience can doedex the last part or I ll learn it but I am to tired now.
Has had some bloatwear removed google+,sprints smart bs, ext
Stock Deodex and bloat removed ftp://computersandauto.dyndns-server.com/photon 4glte new.zip
Same as Stock DEODEX but with Rangerbry MODS preinstalled also should have DSP manager wifi teather and rom tool box ftp://computersandauto.dyndns-server.com/pwoerandtoggel.zip
1. Most reliable way to flash this is to FACTORY RESET FIRST to clear any possible conflicting apks or odex files
2 flash ftp://computersandauto.dyndns-server.com/photon 4glte new.zip after install finishes only wipe devilk cashe
3 let completely boot in to home screen
4 reboot recovery then flash ftp://computersandauto.dyndns-server.com/pwoerandtoggel.zip if you want Pull down toggles and Extended power menu wipe devilk cashe only again and reboot
on first boot it they both will apear to hang on sprint boot screen no more than 2-4 mins after which it will say updating android
too103 said:
Sprint US 7.7.1Q-6_SPR-125_ASA-14 (new OTA) in a back up recovery file already deoxed except QualcommSettings.apk so you can all update and keep root as well as recovery option. I know some one with some java experience can doedex the last part or I ll learn it but I am to tired now. CWM is not letting me use my previous flashing zip so thats another thing altogether
Click to expand...
Click to collapse
Why is it in 2 parts? Do you just flash part one and then part two?
Sent from my SPH-L900 using xda app-developers app
lickarock said:
Why is it in 2 parts? Do you just flash part one and then part two?
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
because the file size limit for uploading attachments is 8mb and the whole file is to big un rar it ant it will be 1 folder move it to your sd card and restore the file sorry been a long day already
AW: Sprint US 7.7.1Q-6_SPR-125_ASA-14 deodexed
too103 said:
because the file size limit for uploading attachments is 8mb and the whole file is to big un rar it ant it will be 1 zip file then restore the zip
Click to expand...
Click to collapse
After unrar no zip inside, only 2 img and 3 dup files
Can you upload a fully system dump of ASA14?
...Tapatalk
Rennert said:
After unrar no zip inside, only 2 img and 3 dup files
Can you upload a gully system dump of ASA14?
...Tapatalk
Click to expand...
Click to collapse
because their shouldnt be a zip have fixed the post Will upload xultmate folders in a min
xultmate full app and frams
you can unrar and attempt to push directly over previous install but i would not recommend it and take to responsibility if you boot loop or brick your phone doing so INstalling the back up will be fine though :highfive: working on a flashable zip atm and deodex of last file
too103 said:
you can unrar and attempt to push directly over previous install but i would not recommend it and take to responsibility if you boot loop or brick your phone doing so INstalling the back up will be fine though :highfive: working on a flashable zip atm and deodex of last file
Click to expand...
Click to collapse
commands if you need them you need moto drivers and sdk run from cmd window in sdk\platform-tools
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
So this is a cwm backup of the latest ota with stock, deodexed system and framework? I ask because I use twrp.
Sent from my XT897 using xda app-developers app
UnicronAlpha99 said:
So this is a cwm backup of the latest ota with stock, deodexed system and framework? I ask because I use twrp.
Sent from my XT897 using xda app-developers app
Click to expand...
Click to collapse
it is
Sweet... thanks for posting!
Sent from my XT897 using xda app-developers app
Can you make a twrp or a zip so everybody can use it, even just instal it instead of going stock again.
Gojira-r32 said:
Can you make a twrp or a zip so everybody can use it, even just instal it instead of going stock again.
Click to expand...
Click to collapse
its flashiable now in eaither
can i flash it tru TWRP (install zip) ?
Gojira-r32 said:
can i flash it tru TWRP (install zip) ?
Click to expand...
Click to collapse
yes
AW: Sprint US 7.7.1Q-6_SPR-125_ASA-14 deodexed
too103 said:
you can unrar and attempt to push directly over previous install but i would not recommend it and take to responsibility if you boot loop or brick your phone doing so INstalling the back up will be fine though :highfive: working on a flashable zip atm and deodex of last file
Click to expand...
Click to collapse
Thanks deodexed files works super
...Tapatalk
Rennert said:
Thanks deodexed files works super
...Tapatalk
Click to expand...
Click to collapse
The zip work as well much faster than the stock with and with out the bloat FYI Rangerbry Extended power menu still works http://forum.xda-developers.com/showthread.php?t=1884282. I am currently working on a combined flashiable which will be more like a pre:fingers-crossed:set custom ROM
Okay I'm totally lost. The link for the zip says the file is no longer there. So I've downloaded the rar files and un rar them but waht do I do now
Sent from my XT897 using Tapatalk 2
dwaynet89 said:
Okay I'm totally lost. The link for the zip says the file is no longer there. So I've downloaded the rar files and un rar them but waht do I do now
Sent from my XT897 using Tapatalk 2
Click to expand...
Click to collapse
I will fix the link to the zip just up loaded it last night so it should be fine, I will move it to my ftp server latter. Their is a list of sdk commands in a previous post but i would hold out on the zip to flash it
dwaynet89 said:
Okay I'm totally lost. The link for the zip says the file is no longer there. So I've downloaded the rar files and un rar them but waht do I do now
Sent from my XT897 using Tapatalk 2
Click to expand...
Click to collapse
FYI file is on rapidshare the site just fails to load from phone on computer it is fine
too103 said:
FYI file is on rapidshare the site just fails to load from phone on computer it is fine
Click to expand...
Click to collapse
Thank you
Sent from my XT897 using Tapatalk 2

[CWM2UPDATE.ZIP] [TOOL] cwm backup to update.zip creator

finally CWM backup to update.zip creator has been
completed
extract the zip
.
copy system.ext4.tar and boot.img from cwm
backup to the extracted folder
.
then run cwm2update.bat
done.
flashable update.zip will be in update folder
here is the link
Crystal Mind Somnath Sharma
http://ubuntuone.com/2tUGEAcjUlvDmEAiPfMeoQ
here is the link
Hit :thumbup::thumbup::thumbup::thumbup:THANKS:thumbup::thumbup::thumbup: it encourage me
any question or suggestion post here
Sent from my A15 using xda app-developers app
data/contacts/messages restore coming soon
|-|!T THANKS it encourage me...to do more on XDA
ss429842 said:
data/contacts/messages restore coming soon
|-|!T THANKS it encourage me...to do more on XDA
Click to expand...
Click to collapse
Hi,
How can data from CWM backup be included in update.zip file?
Beside, there is no logo.bin, uboot.bin, recovery.img in this update.zip. Are they really necessary to be included?
Thank you very much,

Categories

Resources