[Q] Converting a .zip ROM into .tar to flash with Odin - Galaxy S II Q&A, Help & Troubleshooting

I was asking if there's any way to convert a .zip ROM into a .tar ROM to flash with Odin..
The reason why I'm asking this is because I'm unable to flash any ROM via CWM recovery. I can only flash ROMs via Odin. Please see this for further information to my problem.
I'm particularly fond of the MIUI ROM, but there's no Odin version of that.. and CWM doesn't work for me

Have you got usb debugging enabled on your phone?

Thaw.Bytes said:
Have you got usb debugging enabled on your phone?
Click to expand...
Click to collapse
Yeah, always ._.

This is the installation instructions from adys miui rom which i usually use...not sure if you do this already but this usually works for me (wipe cache n devlik aswell)
1. Copy Zip to SDCard.k
2. Reboot to Recovery.
3. Wipe data/factory Reset.
4. Wipe /system from Mounts and Storage.
5. Install *your Rom* zip from SDCard.
6. Reboot (First boot may take time due to alot of init.d scripting)

Convert ZIP to TAR
Thaw.Bytes said:
This is the installation instructions from adys miui rom which i usually use...not sure if you do this already but this usually works for me (wipe cache n devlik aswell)
1. Copy Zip to SDCard.k
2. Reboot to Recovery.
3. Wipe data/factory Reset.
4. Wipe /system from Mounts and Storage.
5. Install *your Rom* zip from SDCard.
6. Reboot (First boot may take time due to alot of init.d scripting)
Click to expand...
Click to collapse
ArcConvert is a free portable tool for Windows that allows you to convert many different types of archives to known formats.

tuesmonhero said:
ArcConvert is a free portable tool for Windows that allows you to convert many different types of archives to known formats.
Click to expand...
Click to collapse
Tried it, converted a kernel .zip file to.tar for Note 2 and it blue-screened Win7 during .tar installation. No damage to PC or phone, but DAYUM!

Justin Demoude said:
Tried it, converted a kernel .zip file to.tar for Note 2 and it blue-screened Win7 during .tar installation. No damage to PC or phone, but DAYUM!
Click to expand...
Click to collapse
I don't think direct conversion like that will ever work, just ask the related developer to generate a tar file for you, ask one of the most helpful devs like salesale(NeatRom creator) or the dev of RevoltRom.
Sent from my GT-P6200 using xda app-developers app

I want to convert .tar rom to .zip flashable file

tariq2kn said:
I want to convert .tar rom to .zip flashable file
Click to expand...
Click to collapse
Why?

You'd need to write a script that specifies what files get flashed to where & create your own flashable zip. Or you could swap the files from the tar into an existing CWM flashable I guess; not sure if this will work tho, the script may be specific to those particular files & might not work with different ones (I'm not au fait with these scripts, hence not being sure). I personally wouldn't try this tho, just flash the tar in Odin already.

The last sentence says it all

MistahBungle said:
You'd need to write a script that specifies what files get flashed to where & create your own flashable zip. Or you could swap the files from the tar into an existing CWM flashable I guess; not sure if this will work tho, the script may be specific to those particular files & might not work with different ones (I'm not au fait with these scripts, hence not being sure). I personally wouldn't try this tho, just flash the tar in Odin already.
Click to expand...
Click to collapse
Could you make a .zip(without rom) for xwlss .tar rom file so that I can flash through recovery without the pc odin.

tariq2kn said:
I want to convert .tar rom to .zip flashable file
Click to expand...
Click to collapse
That's easy (well can cause catastrophe if handled without proper knowledge) just use android kitchen.
Edit :Seriously though must be very careful, I used it to deodex JB firmware for my tab 7 plus (it doesn't have any proper developer support so had to do it manually) and I had a plethora of minor bug's popping up, insignificant but annoying nonetheless, quite frankly must be ready to spend hours for proper tweaking and understanding framework to build a good flashable zip, I didn't have the patience nor the time.
Sent from my GT-P6200 using xda app-developers app

Could I make one for you ? Absolutely not.
I don't sit around all day doing nothing just waiting for n00bs to give me stuff to do for them. If you really want to make one, you'll work out how to do it for yourself. Or you won't *shrugs*
tariq2kn said:
Could you make a .zip(without rom) for xwlss .tar rom file so that I can flash through recovery without the pc odin.
Click to expand...
Click to collapse

how to convert rom files from .zip to odin flashable .tar.md5
I am really in need of help to save a bootlogo stuck bricked Galaxy S5 SM G900F ...i need to flash a new rom ... I need to convert ".zip" Rom to "Odin" usable ".tar.md5" ....faaaaaast...
H E L P !!! :confused :silly:

I need that piece of info as well got to convert a zip Rom to tar to flash via Odin. Not too comfortable with flashing through zip files.

I also need to convert a flashable zip file tar file
oqaab said:
I need that piece of info as well got to convert a zip Rom to tar to flash via Odin. Not too comfortable with flashing through zip files.
Click to expand...
Click to collapse
Brothers. i also need a program that converts a flashable zip file into a tar file, so that it could be installed via odin.
thanks

add me to the list that need to convert the zip to tar

Donnie Sins said:
Why?
Click to expand...
Click to collapse
To build his custom stock rom ?

Related

[Q] Is flashing an update.zip the same as installing a zip?

I have a couple questions about CWM and backups:
Is there a difference between flashing update.zip and installing a zip from the sdcard in CWM?
Also, let's say I make a change to boot.img and system.img and something goes wrong. Instead of flashing the backups of those two images from my computer to my phone using fastboot, can I just place them both in a zip file and install it from CWM? Would I need to include any other files?
How come a nandroid backup makes a system.ext4.tar and not a system.img? How do I turn that into a system.img?
How come I need unyaffs to read cache, data, and system.img files? I thought the filesystem was ext4 and not YAFFS?
Flashing an update.zip looks for a file on the root of your sd called that and flashes it. Installing a zip let's you choose.
You need to put a few more files into the zip. An update script and binary
Update to romracers recovery and you can do an advanced restore just using certain parts of a nandroid.
That recovery also makes.. Img files rather than tars
sent from my Atrix via XDA premium
marko! said:
Flashing an update.zip looks for a file on the root of your sd called that and flashes it. Installing a zip let's you choose.
You need to put a few more files into the zip. An update script and binary
Update to romracers recovery and you can do an advanced restore just using certain parts of a nandroid.
That recovery also makes.. Img files rather than tars
sent from my Atrix via XDA premium
Click to expand...
Click to collapse
So I found some links about the update-script and I'll be reading those shortly, but after skimming them I didn't see any mention of the binary. Is the binary an executable version of the same script or something else? Any links?
So what your saying is I could just skip the update.zip stuff, extract the images from the zip, and use advanced restore to flash each image? Obviously more work but it's good to know if these two processes are equivalent.
Actually, I just made a recovery using romracer's CWM and boot and recovery are .img files while cache, data, and system are ext4.tar files. pds is .ext3.tar and .android_secure is .vfat.tar. So do you really get system files as .img files? And if so, what's wrong with my CWM? If not, the original question holds: why doesn't CWM make an image of each partition, and instead use a tar? For compression? How would I make this a flashable .img file?
And also the last question about ext4 and YAFFS is still there. Thanks.
Most of those I'm really not sure. The update binary is the same for every zip. Just grab it from a rom or theme
I would go with the cwm zips. Way easier once you get them working.
sent from my Atrix via XDA premium
gsingh2011 said:
Actually, I just made a recovery using romracer's CWM and boot and recovery are .img files while cache, data, and system are ext4.tar files. pds is .ext3.tar and .android_secure is .vfat.tar. So do you really get system files as .img files? And if so, what's wrong with my CWM? If not, the original question holds: why doesn't CWM make an image of each partition, and instead use a tar? For compression? How would I make this a flashable .img file?
Click to expand...
Click to collapse
I was just looking at this too. My old recoveries from before atrix4.1 was released were all .img files and the post atrix4.1 backups are .ext3.tar (except for boot.img and recovery.img). I'm on a stock deodexed GB ROM, so I don't have any ext4 partitions. I think he changed this with the newest update so CWM can recognize the ext type and mount them appropriately.
This post should hopefully clarify a bit more than I can. I'm relatively new to all this so I'm still learning different aspects of modding. I'm guessing you have some ext4's because you're running one of the newer custom ROM's?

[Q] Upgrading to ICS including other tweaks

Hi,
I'm kinda new to flashing and upgrading my phone.
Therefore I got some questions:
Currently running on my Neo: AOSP 4.0.3 ICS BETA with kernel provided there
Baseband says: 56 as last two digits
I would like to upgrade my baseband to 62. (latest)?
As far as I understood I will have to flash 4.0.2.A.0.62 Baseband using flashtool.
Do I have to flash the kernel again after upgrading baseband or should I flash the 4.0.2.A.0.62 Kernel first and change it afterwards?
fastboot flash boot boot.img
Click to expand...
Click to collapse
Will changing the baseband or kernel delete anything?
When would be the right time to apply the RAISE your NEO userdata space patch? Before or after baseband, kernel flash?
Sometimes they say that a reboot is required after flashing a new ROM before flashing an update.zip in CWM. Do I have to reboot at other times?
Is there a tool or a possibility I missed which can flash anything like baseband, kernel, ROM and updates to it in one step?
If I want to edit a ROM like directly changing bootanimation and ringtones.
How should the zip file be packed? No compression, etc?
Is it a good idea to include updates which I would have flashed in CWM directly into the ROMs zip file?
Do I have to flash the kernel again after upgrading baseband or should I flash the 4.0.2.A.0.62 Kernel first and change it afterwards?
Click to expand...
Click to collapse
Kernel is not related to baseband. Simply flash baseband, no need to flash kernel after or before.
Will changing the baseband or kernel delete anything?
Click to expand...
Click to collapse
Flashing baseband won't delete anything, but flashing kernel might. I see that kernel in that thread have CWM inside, so if you flash stock kernel you will lose that.
When would be the right time to apply the RAISE your NEO userdata space patch? Before or after baseband, kernel flash?
Click to expand...
Click to collapse
Whenever you want. It's not related to kernel or baseband.
Sometimes they say that a reboot is required after flashing a new ROM before flashing an update.zip in CWM. Do I have to reboot at other times?
Click to expand...
Click to collapse
Yes, they say that so that ROM "settles down in it's place" then you can install fixes and stuff.
What other times?
Is there a tool or a possibility I missed which can flash anything like baseband, kernel, ROM and updates to it in one step?
Click to expand...
Click to collapse
There is flashtool, but only for stock rom's. Custom roms are installed as a .zip file via CWM recovery.
If I want to edit a ROM like directly changing bootanimation and ringtones.
Click to expand...
Click to collapse
You can do that with root explorer app(or any app which can access to system), create that bootanimation.zip on pc and upload it to sdcard, then move it to where it needs to be. For bootanimation.zip, yes, it's with no compression. How it's created, check other bootanimation.zip's over the net.
For other zip's which are flashed trough CWM, it's a bit more complicated to explain how to create them.
Is it a good idea to include updates which I would have flashed in CWM directly into the ROMs zip file?
Click to expand...
Click to collapse
Well depends. Most likely yes, but I would still ask creator/porter of each rom if that is advisable
Madfysh said:
seXneo said:
If I want to edit a ROM like directly changing bootanimation and ringtones.
How should the zip file be packed? No compression, etc?
Click to expand...
Click to collapse
You can do that with root explorer app(or any app which can access to system), create that bootanimation.zip on pc and upload it to sdcard, then move it to where it needs to be. For bootanimation.zip, yes, it's with no compression. How it's created, check other bootanimation.zip's over the net.
For other zip's which are flashed trough CWM, it's a bit more complicated to explain how to create them.
Click to expand...
Click to collapse
Thank you very much.
But in this point there was a misunderstanding.
I just wanted to know how the update.zip or rom.zip has to be packed and if it's save to replace bootanimation.zip inside rom.zip. Are there any checksums for apk or other files inside an CWM update.zip I need to change?
Most of the ICS based ROMs use MT15i_Neo_ICS_Kernel_V1.img. Where does it come from and where is it's original thread?
if it's save to replace bootanimation.zip inside rom.zip. Are there any checksums for apk or other files inside an CWM update.zip I need to change?
its safe to change bootanimations.zip and any other apk or file in side the provided update.zip file
but if u extract it n do changes then u will lose the signature of the developer n wont b able to install the update.zip properly
chintu1234 said:
its safe to change bootanimations.zip and any other apk or file in side the provided update.zip file
but if u extract it n do changes then u will lose the signature of the developer n wont b able to install the update.zip properly
Click to expand...
Click to collapse
Yes of course. If original zip file flashed and runs nice it will be my fault if it won't after my edits.
So no checksums in the update.zip directly. Thanks.
Signing of an altered apk file is required. Got it.
And I figured that there is no signing of the bootanimation possible.
Will post my question regarding the kernel in an extra thread.

Flashing zip Rom with Odin.

Hello. Is it possible to flash a zip Rom using Odin? I need to flash a zip.
Sent from my HTC Explorer A310e using XDA
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
sebarg said:
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
Click to expand...
Click to collapse
a .tar.md5 is just a .zip renamed?
sebarg said:
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
Click to expand...
Click to collapse
I don't understand. How do I create a .tar.md5 file with a flashable zip?
Lol when your a making .zip then why are you not flashing it directly on your device through cwm??
Edward Cullen
zapcow said:
a .tar.md5 is just a .zip renamed?
Click to expand...
Click to collapse
Do I use a program to convert zip to tar.md5 ????
Avilove.Cullen said:
Lol when your a making .zip then why are you not flashing it directly on your device through cwm??
Edward Cullen
Click to expand...
Click to collapse
Recovery or my Rom just isn't reading my zip file!
http://forum.xda-developers.com/showthread.php?t=1750960
This link gives some background to what I've already done...
What do I do after I make the zip into a tar file?
extract the zip via winrar or 7 zip and reveal its contents please sir
ajay8055 said:
extract the zip via winrar or 7 zip and reveal its contents please sir
Click to expand...
Click to collapse
Meta inf, system, boot.img and installbusybox
Sent from my HTC Explorer A310e using xda app-developers app
go to jaggys. rom thread following the tutorial unlock your bootloader and install the recovery after that install this zip via recovery. you can't install this zip via odin and you can't convert it to .tar. ....have a nice day sir any questions fell free to post here or ask Google
---------- Post added at 06:44 PM ---------- Previous post was at 06:37 PM ----------
sebarg said:
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
Click to expand...
Click to collapse
you can't blindly do a .tar file of extracted files coz Odin wouldn't recognize it like Meta inf is a script for cwm not Odin the rom is packed in such a way that cwm installs it not Odin
Could I use fastboot? I am not having a nice day, my phone is not reading the zip file because it thinks it is corrupted.
ri123 said:
Could I use fastboot? I am not having a nice day, my phone is not reading the zip file because it thinks it is corrupted.
Click to expand...
Click to collapse
you need to flash it via recovery...fastboot wont work redownload the file...........
just extract the zip file ,click with right mice button and choos extract,you get a SS_DL.dll document and a tar.MD5 package.
I got this file
http://forum.xda-developers.com/showthread.php?t=2357471
that references odin in the subject of the thread. I tried flashing it via cwm, but kept getting a black screen on boot after the s4 screen.
so I wanted to try odin. but it's a zip. Is there a process to convert to tar.gz? Do I just extract, then recompress to a tar.gz?
sebarg said:
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
Click to expand...
Click to collapse
Ahh, that's because in the \system\etc\terminfo\e\ directory there are two files with the respective names: Eterm and eterm. Linux file names are case-sensitive, Windows file names aren't,so Windows will overwrite one. If you then create a gz file, one of the files is missing.
Avilove.Cullen said:
Lol when your a making .zip then why are you not flashing it directly on your device through cwm??
Edward Cullen
Click to expand...
Click to collapse
what is cwm? i want ot flash my s4, i search and i found this: http://forum.xda-developers.com/wiki/Flashing_Guide_-_Android
but it won't help me, please send me some links
This Is Not Working At All
sebarg said:
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
Click to expand...
Click to collapse
I have tried this already....
but Odin Pops up a window saying: ".md5 binary is invalid"
tar/tar.gz from zip file
have seen this question a lot.
to create the tar file, you normally have to be in a Unix environment and an app like File-Roller can do the job of compressinf the files you extracted from the original zip file.
Allright, the solution is simple. You don't even need a Linux machine!
First, check your ZIP file. Does it contain a folder only? And are there some files in that folder? Then you have to make a ZIP file, which only contains those files, otherwise Odin cannot flash it. If there are just some files (and folders?) in your ZIP file, you can just leave it as it is.
Then, you have to download this little tool (direct link) and the thread here . Extract it somewhere you like to have it.
Place your ZIP file in the main directory (the folder where Runme.bat is located) and rename it to yourfile.img, then run Runme.bat (as Admin, probably?)
Now you have a TAR file!
Have a nice day,
VengaXDA

[SOLVED] Can anyone please explain this ROM?

I have problems in installing part of **FeraLab*** ICS v1 heres the thread http://forum.xda-developers.com/showpost.php?p=25331067&postcount=2452
Please help...
i did was:
-flash the kernel *done
-go to CWM 5.5 and format all partitions and mount all partitions...install it and reboot ***problem part..
-Installing ROM **not done
-Reboot and done **not done
the problem part is what id dont know how to do...its messed up.. or something.. please help
did the rom download properly. check again if its downloaded fully.
Yes it downloaded fully.. I dont know why it does not show up in CMW?
When I check the downloaded fule its a .tar not a .zip.. I tried to get to zip but it just takes erroe
Sent from my X10S using my hand
Gooperz06 said:
Yes it downloaded fully.. I dont know why it does not show up in CMW?
When I check the downloaded fule its a .tar not a .zip.. I tried to get to zip but it just takes erroe
Sent from my X10S using my hand
Click to expand...
Click to collapse
so the rom doesnt show up in cwm?
make sure the extension is .zip
also check if its inside some folder and not directly in root directory of sdcard
On the computer open up the .tar file and see if the .zip file of the rom is in there the TAR extension is a compressed file which has other files in it
Sent from my X10i using xda premium
dunc4n88 said:
On the computer open up the .tar file and see if the .zip file of the rom is in there the TAR extension is a compressed file which has other files in it
Sent from my X10i using xda premium
Click to expand...
Click to collapse
yeah theres a zip file in there but theres a kernel in the .tar too..
THeLogiC said:
so the rom doesnt show up in cwm?
make sure the extension is .zip
also check if its inside some folder and not directly in root directory of sdcard
Click to expand...
Click to collapse
inside the .tar theres a .zip called update_es209ra_ICS_alpha1_CWM5 and a kernel wich is a SIN file thats it..maybe i need to flash the .zip... and what will i do to tha kernel?
Gooperz06 said:
inside the .tar theres a .zip called update_es209ra_ICS_alpha1_CWM5 and a kernel wich is a SIN file thats it..maybe i need to flash the .zip... and what will i do to tha kernel?
Click to expand...
Click to collapse
you need to flash zip file
THeLogiC said:
you need to flash zip file
Click to expand...
Click to collapse
and what will i do to the kernel.sin?
ignore that.
just flash ferakernel
boot into cwm and install the zip file.
THeLogiC said:
ignore that.
just flash ferakernel
boot into cwm and install the zip file.
Click to expand...
Click to collapse
ok..tnx again for ur continues help...
will my current ROM will affect the new ROM... my current is X10S ROM
Gooperz06 said:
will my current ROM will affect the new ROM... my current is X10S ROM
Click to expand...
Click to collapse
not really.
make sure to wipe data before installing feraICS

Flashable Zip to tar.md5

Hi.. Can somebody tell me if there is a way to convert flashable zip files to Odin tar.md5 files !!!!
I hav searched and read some related threads but none of them gave a conclusive answer for the question. Some explained how to convert .img files to tar files & some explained creating tar files by using 7zip (actually 7zip only create a file with .tar extension) but my question is how to convert zip files which don't have image files like for example if i wanted to flash some apps ported from other devices (camera, gallery, keyboard etc...) and i don't want to flash them through Recovery (I don't hav one) then HOW???
Technically speaking, you'd need to create an image of the partition containing content from your .zip folder (with proper permissions and stuff created by updater-script) and then you should pack it as system.img into .tar.md5 file.
The questions is WHY you want to do this, it's NOT common and there's absolutely no point in doing that.
Question is why no recovery
Sent from my GT-I9300 using XDA Premium 4 mobile app
Well, consider installing a corresponding CWM :good:
JustArchi said:
Technically speaking, you'd need to create an image of the partition containing content from your .zip folder (with proper permissions and stuff created by updater-script) and then you should pack it as system.img into .tar.md5 file.
The questions is WHY you want to do this, it's NOT common and there's absolutely no point in doing that.
Click to expand...
Click to collapse
JJEgan said:
Question is why no recovery
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't want to install a Recovery as it increases Binary count every time v boot the device. I personally don't like to increase my count. Every time i enter into Recovery to flash a zip file it will trigger the count. I know Triangle away can make the count zero but then i have to use it every time after using Recovery & I don't want to go through all that hassle.
Why i don't like an increase in count.... It's more like OCD
So, is there any easy n simple method to convert files !!! Am not much of a Android student. It's like am at Kindergarten level at Android University
vikram66778 said:
I don't want to install a Recovery as it increases Binary count every time v boot the device. I personally don't like to increase my count. Every time i enter into Recovery to flash a zip file it will trigger the count. I know Triangle away can make the count zero but then i have to use it every time after using Recovery & I don't want to go through all that hassle.
Why i don't like an increase in count.... It's more like OCD
So, is there any easy n simple method to convert files !!! Am not much of a Android student. It's like am at Kindergarten level at Android University
Click to expand...
Click to collapse
There's no easy way of doing what you want. There IS a way, but definitely not easy one.
JustArchi said:
There's no easy way of doing what you want. There IS a way, but definitely not easy one.
Click to expand...
Click to collapse
Can u explain me in a simplest way possible. I want to give it a try.... Thanks for help..
vikram66778 said:
Can u explain me in a simplest way possible. I want to give it a try.... Thanks for help..
Click to expand...
Click to collapse
Already done above.
Easier solution is mobile odin, although it can't flash all zips.
Sent from my GT-I9300 using Tapatalk
vikram66778 said:
Hi.. Can somebody tell me if there is a way to convert flashable zip files to Odin tar.md5 files !!!!
I hav searched and read some related threads but none of them gave a conclusive answer for the question. Some explained how to convert .img files to tar files & some explained creating tar files by using 7zip (actually 7zip only create a file with .tar extension) but my question is how to convert zip files which don't have image files like for example if i wanted to flash some apps ported from other devices (camera, gallery, keyboard etc...) and i don't want to flash them through Recovery (I don't hav one) then HOW???
Click to expand...
Click to collapse
hi do you found the way to? my p7500 olny with internal sd, i cant move the file to it cause it keeps rebooting. i need the tar.md5 file in odin to flash it.
thanks.
Well, I need to do this cuz my screen is broken and I can't see the TWRP options.
I need to flash LockScreen_Security_bypassV1.1 to get my files. Can anyone help me about this? Thanks in advance.

Categories

Resources