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.
I am getting and error when flashing my custom rom which i made through android kitchen. i am a beginner to this.
Error is like:
Error in update.zip
(status 0)
Installation aborted
Can anyone help me on this?
I'm not 100% sure, but I have a feeling that may be related to an incorrect update-binary in the ZIP. Try downloading another Explorer ROM and copying the update-binary from it into your ZIP, replacing the one that's there already. It's located like this within the ZIP: META-INF/com/google/android/update-binary
EDIT: You don't have to download a full ROM btw, any recovery flashable ZIP should do, e.g. one of the custom kernels such as Cranium (smaller download than a full ROM)
Thanks
SifJar said:
I'm not 100% sure, but I have a feeling that may be related to an incorrect update-binary in the ZIP. Try downloading another Explorer ROM and copying the update-binary from it into your ZIP, replacing the one that's there already. It's located like this within the ZIP: META-INF/com/google/android/update-binary
EDIT: You don't have to download a full ROM btw, any recovery flashable ZIP should do, e.g. one of the custom kernels such as Cranium (smaller download than a full ROM)
Click to expand...
Click to collapse
Hey Thanks for your support.
shekhutanwar said:
Hey Thanks for your support.
Click to expand...
Click to collapse
Did it work?
SifJar said:
Did it work?
Click to expand...
Click to collapse
There is a problem, i use my htc explorer for calling and other works, so whenever i want to check my rom, i have make nandroid backup which takes 15-20 minutes bcoz of lots of apps installed. and after checking the rom i need to restore my previous system which is very time consuming. Is there any other way to check the rom working or not without using it in my explorer, maybe using an emulator in windows 7? if there is an easy way then pls help me on this.
Let me explain you clearly what i am doing.
1. I extraced rom.zip file from HTC Explorer RUU.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in WORKING folder
boot.img
system
META-INF
4. I selected the option 99 in kitchen menu that is Building a ROM.
5. After successful completion i got a zip file in OUTPUT folder.
6.Then, i copied that update.zip file from OUTPUT folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
Error in sd-card/update.zip
(Status 0)
Installation Aborted.
Now i dont understand why it is giving me an error even i have not touched any file from the working folder.
am i doing it wrong? pls help me.
shekhutanwar said:
1. I extraced rom.zip file from HTC Explorer RUU.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in WORKING folder
boot.img
system
META-INF
4. I selected the option 99 in kitchen menu that is Building a ROM.
5. After successful completion i got a zip file in OUTPUT folder.
6.Then, i copied that update.zip file from OUTPUT folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
Error in sd-card/update.zip
(Status 0)
Installation Aborted.
Now i dont understand why it is giving me an error even i have not touched any file from the working folder.
am i doing it wrong? pls help me.
Click to expand...
Click to collapse
I have no idea what you're doing wrong. But I don't think you have tried my suggestion from earlier in the thread.
Take the final update.zip file you have (the one you put on the SD card and try to install), and open it using an archive manager such as 7zip. Navigate into META-INF/com/google/android and delete the file "update-binary" that is located there. Then replace it with this one: http://d.pr/f/VHF1
Close 7zip, copy the ZIP to your SD card and try to install it in recovery.
SifJar said:
I have no idea what you're doing wrong. But I don't think you have tried my suggestion from earlier in the thread.
Take the final update.zip file you have (the one you put on the SD card and try to install), and open it using an archive manager such as 7zip. Navigate into META-INF/com/google/android and delete the file "update-binary" that is located there. Then replace it with this one: http://d.pr/f/VHF1
Close 7zip, copy the ZIP to your SD card and try to install it in recovery.
Click to expand...
Click to collapse
Ok, i am trying this then will let you know.
I didn't worked friend, this time it gave me (Status 7) error.
shekhutanwar said:
There is a problem, i use my htc explorer for calling and other works, so whenever i want to check my rom, i have make nandroid backup which takes 15-20 minutes bcoz of lots of apps installed. and after checking the rom i need to restore my previous system which is very time consuming. Is there any other way to check the rom working or not without using it in my explorer, maybe using an emulator in windows 7? if there is an easy way then pls help me on this.
Click to expand...
Click to collapse
No. And you can't emulate real hardware on emulators.
shekhutanwar said:
I didn't worked friend, this time it gave me (Status 7) error.
Click to expand...
Click to collapse
Well, 7 > 0, therefore it's better
In all seriousness, I think this means it's probably getting further than before, but there's some other problem with the ROM. I don't know the various status error codes, I just recognized 0 as one I'd come across before. I'm afraid I can't be of any further assistance I don't think.
EDIT: From here: http://forum.xda-developers.com/showthread.php?p=30415128#post30415128
Solution:- One or some of the prerequisite requirement for the needed upgrade is missing or corrupted . So you may need to identify and replace that requirement for the installation to continue. Most likely could be due to wrong bootloader, wrong CWM, Wrong IMEI, Wrong Radio etc
Click to expand...
Click to collapse
Ok thank u fr ur help again. I learnt abt the edify script and i corrected some mistakes but still its not working. I will try to find out the solution myself.
Sent from my HTC Explorer A310e using xda app-developers app
Here is my edited updater script
Pls anyone check this updater script, its giving me status 0 error while installing rom.View attachment updater-script.txt
invalid filetipe of rom in cwm
shekhutanwar said:
1. I extraced rom.zip file from htc explorer ruu.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in working folder
boot.img
system
meta-inf
4. I selected the option 99 in kitchen menu that is building a rom.
5. After successful completion i got a zip file in output folder.
6.then, i copied that update.zip file from output folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
error in sd-card/update.zip
(status 0)
installation aborted.
now i dont understand why it is giving me an error even i have not touched any file from the working folder.
Am i doing it wrong? Pls help me.
Click to expand...
Click to collapse
i did same steps but i recieved another error. After checking the cwm log i saw error 304 with text invalid file like zipminizip but i see in explorer the file is zip tipe, i dont know why my cwm see zipminizip filetype. If anyone know what to do please help. Maybe i should change my cwm but til now was no problem with my cwm. I have zte blade. Thx.ko
I think this is the error....
When you setup a working folder then change your updater-script to update script... ( search for the option to change it) if you want to make some changes in update-script Do so and then build your rom... the update-script will automatically be changed to updater-script .. now place the rom and flash.. If any problem feel free to ask :thumbup:
Sent from my HTC Explorer A310e using xda app-developers app
It's currently running cm10.x and using twrp. I've downloaded the firmware file from asus.com. It is a zip file that contains another zip file. Do I just extract the contents and then flash the extracted zip file?
thanks
mrjayviper said:
It's currently running cm10.x and using twrp. I've downloaded the firmware file from asus.com. It is a zip file that contains another zip file. Do I just extract the contents and then flash the extracted zip file?
thanks
Click to expand...
Click to collapse
yes extract once and flash the second .zip file
JoinTheRealms said:
yes extract once and flash the second .zip file
Click to expand...
Click to collapse
I downloaded the latest ROM from the ASUS website. I extracted the zip file once and I then copied the extracted zip file into my tablet. I then open the zip file and extracted the contents using solid explorer. I did this just to verify the zip file can be opened.
After this, I rebooted my tablet into TWRP and wiped data/system/cache/dalvik. I then flashed the zip file but when it finished, I tried rebooting my device BUT TWRP is complaining no OS is installed?
Any ideas what I did wrong? thanks
mrjayviper said:
I downloaded the latest ROM from the ASUS website. I extracted the zip file once and I then copied the extracted zip file into my tablet. I then open the zip file and extracted the contents using solid explorer. I did this just to verify the zip file can be opened.
After this, I rebooted my tablet into TWRP and wiped data/system/cache/dalvik. I then flashed the zip file but when it finished, I tried rebooting my device BUT TWRP is complaining no OS is installed?
Any ideas what I did wrong? thanks
Click to expand...
Click to collapse
Obviously the flash failed since you still have TWRP. You did a little too much at each step. Flashing a complete firmware file wipes/formats everything: system, data, recovery, bootloader. No need to do that prior.
I don't know why your flash failed, but it could be a bad download, could be that the file got messed up when copying to the tablet or when you extracted it.
I would download another copy of the firmware, extract it once on your PC and then transfer that file to your tablet and flash it.
mrjayviper said:
After this, I rebooted my tablet into TWRP and wiped data/system/cache/dalvik. I then flashed the zip file but when it finished, I tried rebooting my device BUT TWRP is complaining no OS is installed?
Click to expand...
Click to collapse
That's correct. You wiped your OS, and installed the new firmware to the staging partition. The bootloader will flash it from there to the final partitions after the next reboot (with the blue progress bar).
I've nandroid backup of my stock rom. and i want to make cwm flashable zip using kitchen. What file should I copy in the working folder of kitchen?
I only copied system and boot.img file. Should i copy anything else?
These are the files
boot.img
cache.ext4
data.ext4
nandroid.md5
recovery.txt
system.ext4
uboot.img
Click to expand...
Click to collapse
How to extract a tar archive to a specific location using updater script.
For example, I have a file named sample.tgz in /sdcard. Now I want to extract the contents of it to /system dir. Sample.tgz is not in the zip file of the flashable zip. Is there any way to do it? If yes, let me know!