im trying to extract the contents of the tar file
i need the
boot.img
system.img
recovery.img
if some could please do that
it says corrupted file each time
robertisnoob said:
im trying to extract the contents of the tar file
i need the
boot.img
system.img
recovery.img
if some could please do that
it says corrupted file each time
Click to expand...
Click to collapse
What are you using to extract the files?
robertisnoob said:
im trying to extract the contents of the tar file
i need the
boot.img
system.img
recovery.img
if some could please do that
it says corrupted file each time
Click to expand...
Click to collapse
Using winrar / 7zip you can extract files.
Related
First of all, what Im trying to do is to extract the .tar.md5 files that come with every ROM.
Every time I do that I get a message from 7-zip "There is no correct record at the end of the archive", however the files are extracted.
Below are the files inside the extracted folder:
boot.img
recovery.img
system.img
userdata.img
Then I try to open the system.img with unyaffs but I get some errors there too for example: STATUS_ACCESS_VIOLATION.
So my questions are:
1) How to correctly extract a .tar.md5 file?
2) How to open a yaffs2 .img file?
Thanks
try on RAR.
I tried with Rar, but still the same
Does anyone know how to extract and repack system.img file that comes from factory image KTU84P?
I've been using windows 7, should i use ubuntu?
Hello, it seem like Xda-dev is too large to find information.
Can you guys please guide me, how to direct replace a file in a tar archive while preserve it's permission?
Note 7-zip can only extract tar but can't pack it with permission.
Can cygwin use to perform this task? Like find a file inside a tar and replace it.
Please help me guys~
doulc said:
Hello, it seem like Xda-dev is too large to find information.
Can you guys please guide me, how to direct replace a file in a tar archive while preserve it's permission?
Note 7-zip can only extract tar but can't pack it with permission.
Can cygwin use to perform this task? Like find a file inside a tar and replace it.
Please help me guys~
Click to expand...
Click to collapse
Greetings and welcome to assist. You want to unpack and repack a tar file for flashing as a rom ? I think assayed kitchen has that option
https://forum.xda-developers.com/ch...-android-roms-editor-assayyedkitchen-t3410545
which runs on windows and I know suppers kitchen can do this on linux
Also this post here explains how to repack your .img files to a tar.md5 using cygwin
tar -c boot.img cache.img hidden.img modem.bin recovery.img system.img >> file_name.tar
md5sum -t file_name.tar >> file_name.tar
mv file_name.tar file_name.tar.md5
Good luck
Sawdoctor
sawdoctor said:
You want to unpack and repack a tar file for flashing as a rom ? I think assayed kitchen has that option
https://forum.xda-developers.com/ch...-android-roms-editor-assayyedkitchen-t3410545
which runs on windows and I know suppers kitchen can do this on linux
Click to expand...
Click to collapse
I want to unpack other stuff. Would be nice if there's any command line or parameter usage, it would ease me to write a script.
I want to unpack Recovery.img mainly.
Thing is the Kitchen tool only allow unpack system.img
tar -c boot.img cache.img hidden.img modem.bin recovery.img system.img >> file_name.tar
md5sum -t file_name.tar >> file_name.tar
mv file_name.tar file_name.tar.md5
Click to expand...
Click to collapse
The md5sum is not helpful, odin will still give an error of invalid md5
And mv is just a rename command, correct me if I'm wrong
doulc said:
I want to unpack other stuff. Would be nice if there's any command line or parameter usage, it would ease me to write a script.
I want to unpack Recovery.img mainly.
Thing is the Kitchen tool only allow unpack system.img
The md5sum is not helpful, odin will still give an error of invalid md5
And mv is just a rename command, correct me if I'm wrong
Click to expand...
Click to collapse
If you rename recovery.img to boot.img it should inpack it, pretty sure supper's kitchen does this as well. Not sure if this tool will be any help to you
https://forum.xda-developers.com/showthread.php?t=2600364
Good luck
Sawdoctor
Hello,
Just wanted to ask if there's a way to extract specific application and its data from TWRP backup?
What are your suggestions? I have tried opening zip but I didn't have luck finding what I was looking for.
Thank you in advance!
If you look at the TWRP logs it indicates that it uses tar to create the archive file.
All you have to do is rename the .wim file to .tar.gz, then extract the file.
Related Windows command line is
Code:
tar -xvzf filename.tar.gz
jwoegerbauer said:
If you look at the TWRP logs it indicates that it uses tar to create the archive file.
All you have to do is rename the .wim file to .tar.gz, then extract the file.
Related Windows command line is
Code:
tar -xvzf filename.tar.gz
Click to expand...
Click to collapse
Thanks!
I have converted sparsechunks to a single system.img. Then extracted that system.img and modified it. Now how to convert the folder to system.img again? I have tried mtk extractor which actually failed but didn't show any log.