Extracting a tar file... - Android Q&A, Help & Troubleshooting

Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium

Related

[Q] how to unpack tar.md5 ?

Hi,
I downloaded a ROM from sammobile.com for my galaxy tab 10.1, and all I want is system.img which is located in a tar.md5 file .
if I extract is with 7zip I get a message "there is no correct record at the end of archive"
and dsixda kitchen don't seem to recognize it .
any ideas please .
thanks.
Well its simple just rename it to .tar and use winrar to extract it. the md5 extension makes odin calculate a hash to check if the firmware you're flashing is not corrupted.
hi,
I did that and I got a message "there is no correct record at the end of archive"
the files are extracted but I think it is corrupted because dsixda kitchen can't read it.
just extract it by 7-Zip and don't care about message
I have this problem too, my 7-zpi say that canĀ“t open file format unknowed or damage.
your download maybe interupted, try download it again and do md5 checksum
Ace Duos Kernel
how to get s6802 custom kernel??
jeckyvanz said:
how to get s6802 custom kernel??
Click to expand...
Click to collapse
You can find a beta release custom kernel for the Samsung Galaxy Ace Duos from here.
kernel
thanks. but the download link doesnt work again.
MD5
I've problem with restoring through CWM.
it said "md5 sums mismatch. how to troble it?
logic5 said:
Hi,
I downloaded a ROM from sammobile.com for my galaxy tab 10.1, and all I want is system.img which is located in a tar.md5 file .
if I extract is with 7zip I get a message "there is no correct record at the end of archive"
and dsixda kitchen don't seem to recognize it .
any ideas please .
thanks.
Click to expand...
Click to collapse
You might be opening the wrong file.
You have to download 2 files:
xxxx.tar
xxxx.tar.md5
the first one is the one you have to open.
the second one is the one that only have the MD5 result of the first.
( http://en.wikipedia.org/wiki/MD5 )
jeckyvanz said:
I've problem with restoring through CWM.
it said "md5 sums mismatch. how to troble it?
Click to expand...
Click to collapse
Redownlaod and try to unzip again. Kitchen should open it, make sure u have kitchen scripts for your phone or edit from flashable zip. Afaik
best idea
dont use 7zip but use unoversal extractor. it will extract everything.
I have the same issue for 5301. I have to get either the recovery or system img for creating a custom rom. Usually samsung firmware files can be extracted using izarc, 7zip or universal extract tool. some can be opened with ultraISO or similar tool. I tried dsixdas kitchen as well. That does not even acknowledge this ROM. These firmwares come as a single tar file with md5 sum attached. There is something different about this ROM file that wont even let let the regular tools see what is inside the file. I tried to open it with a hex editor and it looks similar what a regular tar.md5 file would look. Looking at the log file from universal extractor:
TrID/32 - File Identifier v2.02 - (C) 2003-06 By M.Pontello
Definitions found: 2641
Analyzing...
Collecting data from file: C:\Technical\S5301XXALJ7_S5301OXXALJ8_S5301XXLJ7_HOME.tar.md5
99.3% (.TAR) TAR archive (149/5)
0.6% (.LZMA) LZMA compressed file (1/1)
7-Zip Tar archive extractions cannot be logged.
If Odin can flash these files using the same boot, recovery and system... images then there must be a way to extract these img files. wonder if odin extracts to a temp location?
Here is a link to the file http://hotfile.com/dl/198648982/cfb...5301_EUR_1_20130214151121_61bveu8l1b.zip.html
logic5 said:
Hi,
I downloaded a ROM from sammobile.com for my galaxy tab 10.1, and all I want is system.img which is located in a tar.md5 file .
if I extract is with 7zip I get a message "there is no correct record at the end of archive"
and dsixda kitchen don't seem to recognize it .
any ideas please .
thanks.
Click to expand...
Click to collapse
Use odinatrix to extrat system.img n modem files..
Its the easiest tool do so...
U may also use splitfus2 bt its way trickier to use than odinatrix.
masum73 said:
I have the same issue for 5301. I have to get either the recovery or system img for creating a custom rom. Usually samsung firmware files can be extracted using izarc, 7zip or universal extract tool. some can be opened with ultraISO or similar tool. I tried dsixdas kitchen as well. That does not even acknowledge this ROM. These firmwares come as a single tar file with md5 sum attached. There is something different about this ROM file that wont even let let the regular tools see what is inside the file. I tried to open it with a hex editor and it looks similar what a regular tar.md5 file would look. Looking at the log file from universal extractor:
TrID/32 - File Identifier v2.02 - (C) 2003-06 By M.Pontello
Definitions found: 2641
Analyzing...
Collecting data from file: C:\Technical\S5301XXALJ7_S5301OXXALJ8_S5301XXLJ7_HOME.tar.md5
99.3% (.TAR) TAR archive (149/5)
0.6% (.LZMA) LZMA compressed file (1/1)
7-Zip Tar archive extractions cannot be logged.
If Odin can flash these files using the same boot, recovery and system... images then there must be a way to extract these img files. wonder if odin extracts to a temp location?
Here is a link to the file http://hotfile.com/dl/198648982/cfb...5301_EUR_1_20130214151121_61bveu8l1b.zip.html
Click to expand...
Click to collapse
Don't be lazy.
Lift your hand n press the Thanxxx Button.=)
---------- Post added at 10:02 AM ---------- Previous post was at 10:00 AM ----------
frankito777 said:
You might be opening the wrong file.
You have to download 2 files:
xxxx.tar
xxxx.tar.md5
the first one is the one you have to open.
the second one is the one that only have the MD5 result of the first.
( http://en.wikipedia.org/wiki/MD5 )
Click to expand...
Click to collapse
Now there is only one xxx_home.tar.md5 file..
That was old days.
Be a part of new world.
N now u cnt extract through an archve manager.
U need espicial tools like splitfus2 n odinatrix to extract files.
Don't be lazy.
Lift your hand n press the Thanxxx Button.=)
Thanks SArnab! so finally I am able to split the files using odinatrix. Now for this type of turbo ROMs how do I create odin flashable file???
I created a regular odin tar file with md5 sum but that does not go past 'NAND Write Start'. Please advise.
masum73 said:
Thanks SArnab! so finally I am able to split the files using odinatrix. Now for this type of turbo ROMs how do I create odin flashable file???
I created a regular odin tar file with md5 sum but that does not go past 'NAND Write Start'. Please advise.
Click to expand...
Click to collapse
Your pc shud b superfast so that odintrix can work witout lag.
My HP G6 lapi took around 10 mins to extrqct the one .tar.md5 file..
The tool will automatically extract diffrnt .tar files such as modem_xxx.tar pda_xxx.tar n csc_xxx.tar
Now u can use these to flash through odin witout any prb.
U can use pda.tar in kitchen to get boot.img n system.img.
Kitchen will also help u extract sysmtem foldr from system.img.
U can also flash through odin the single .tar.md5....
Choose that in pda field...
Odin is smart enough to do rest of the part.
Don't be lazy.
Lift your hand n press the Thanxxx Button.=)
Appreciate the quick response. I guess my question was not clear enough. I extracted the recovery and created a clockwork recovery named recovery.img. Now I want to flash this recovery back on the device. I created the tar file using:
tar -H ustar -c recovery.img > CWMrecovery.tar
md5sum -t CWMrecovery.tar >> CWMrecovery.tar
mv CWMrecovery.tar CWMrecovery.tar.md5
When I flash this using odin3_v3.07 md5 is verified but he flash does not go through and stops at NAND write start. Is there a special way to create a odin flashable tar.md5 file foe these turbo firmwares?
masum73 said:
Appreciate the quick response. I guess my question was not clear enough. I extracted the recovery and created a clockwork recovery named recovery.img. Now I want to flash this recovery back on the device. I created the tar file using:
tar -H ustar -c recovery.img > CWMrecovery.tar
md5sum -t CWMrecovery.tar >> CWMrecovery.tar
mv CWMrecovery.tar CWMrecovery.tar.md5
When I flash this using odin3_v3.07 md5 is verified but he flash does not go through and stops at NAND write start. Is there a special way to create a odin flashable tar.md5 file foe these turbo firmwares?
Click to expand...
Click to collapse
Sorry, I have no idea bout wat u r talkin.
I never did this so cant help u in tis part.
Oh ya where did u put the tar file in odin??
In pda fieled or csc or modem??
I think its need to be in pda field.
I cnt help more on this.
But ya I wnt leave it here.
A user named Deadly can help u.
He is great in converting odin to cwm n cwm to odin.
Hope u understan wat I mean.
Don't be lazy.
Lift your hand n press the Thanxxx Button.=)
System App
how to install custom system ui/android status bar on system. my device gt-s6802. what's compatible with mine??

Modifying stock rom

I am very interested in ROM developing, the problem is i am a beginner. I tried to look for some guides, but they are quite hard to find to be honest. If i would want to modify stock rom what should i do? Although i could not find it i thought this could be an option:
- flash stockrom through odin
- modify stockrom
- make backup and copy system.img
- in a flashable zip you have the system directory, but how do you obtain this directory from system.img, what program do i need? Simple mounting program poweriso didn't recognize the image. I thought it might be possible to directly extract the required files from the odin package, but not find a guide for this?
Use MagicISO to extract system.img
Sent from my GT-S5830 using Tapatalk
Use 7zip to extract system.img from odin's md5 file.
Sent from my GT-S5830 using Tapatalk
how about dsixda kitchen??
you know you are rooted when you use XDA more than FB
Dragonoid said:
how about dsixda kitchen??
you know you are rooted when you use XDA more than FB
Click to expand...
Click to collapse
dsiXDA kitchen should be used only to zip-align, deodex and repack everything to flashable zip. It isnt really good at extracting .img files (personal opinion).
Read ketut's blackhawk rom's 2nd post for more info about dsiXDA kitchen
Sent from my GT-S5830 using Tapatalk
Probably a dump question, but when i extract the md5 file i obtained only a boot.img file and a recovery.img file, system.rfs file and some other files. Where is the system.img file located? I can't load the .img files with magic iso.
acceleratus said:
Probably a dump question, but when i extract the md5 file i obtained only a boot.img file and a recovery.img file, system.rfs file and some other files. Where is the system.img file located? I can't load the .img files with magic iso.
Click to expand...
Click to collapse
Open magicISO. Click on open -> navigate to system.rfs. It will load up all folders inside system.rfs. Select all -> right click -> extract all
Sent from my GT-S5830 using Tapatalk
Use my guide to get a better understanding of roms.
Sent from my GT-S5830 using XDA
I'm interested in extracting a stock rom from my s5830i to computer
Can someone help me with that. I'm not a newbie

odin rom into zip

anyone know how to convert odin rom into zip rom?
ansonchan said:
anyone know how to convert odin rom into zip rom?
Click to expand...
Click to collapse
you need a valid update.zip file or use any of the templates that are available all over.
now extract the system files from tar file, extract the boot.img and copy them to the update.zip file(delete the older files in the zip before)

[q] extract full samsung rom

how can i extract a full rom to use with dsixda kitchen version 0.224? im trying to extract it with 7zip but even though it extracts it i get an error when doing so. all i want to do is get a stock rom to work (extract it and set it up) with the kitchen to do a rom.
so far:
1. downloaded rom from sammobile.com/firmwares/
- it downloads in zip format and after extracting the zip i get a tar.md5 file and a dll file
2. trying to extract full rom to use in kitchen, which is where im stuck...
thanks in advance
rename the file from whatEverTheNameWas.tar.md5 to whatEverTheNameWas.tar and extract
XxPixX said:
rename the file from whatEverTheNameWas.tar.md5 to whatEverTheNameWas.tar and extract
Click to expand...
Click to collapse
did that but kitchen wont detect it
Yeah, sorry I forgot... put it back into a tar and then it should accept it.

Wi-fi error

Hello xda members
I downloaded a stock rom for android 2.3.3 for my device(Galaxy ACE) and flashed it using odin.
Trying to open wifi but it gives me an error and do not want to start.
I found that the extracting of system.rfs (to delete some APK file) and compressing it again in the rom causes this problem, So i flashed the stock rom without extracting system.rfs
and the wifi starts normally.
I need to delete and add some APK file to the rom. ANY HELP,please.
FAD007 said:
Hello xda members
I downloaded a stock rom for android 2.3.3 for my device(Galaxy ACE) and flashed it using odin.
Trying to open wifi but it gives me an error and do not want to start.
I found that the extracting of system.rfs (to delete some APK file) and compressing it again in the rom causes this problem, So i flashed the stock rom without extracting system.rfs
and the wifi starts normally.
I need to delete and add some APK file to the rom. ANY HELP,please.
Click to expand...
Click to collapse
Extract the zip package, add your apk into system / app, compress zip, get a signature rom package. That's all.
androier said:
Extract the zip package, add your apk into system / app, compress zip, get a signature rom package. That's all.
Click to expand...
Click to collapse
The rom is .tar extension not .zip
I can not sign it

Categories

Resources