Question How to unpack .img.lz4 files? - Samsung Galaxy S21 Ultra

I've been looking through a couple of xda thread about it, found a few solutions. I managed to unpack from the .tar file, got the img.lz4 file and from that the .img and from .img to .img.ext4, but the .ext4 file is too small compared to the original .img file, so I guess the older SVAImgUnpack doesnt do the job correctly and can't open it with ext2explore. Is there any other software to use for this?

Nevermind, I've found a program for it.

Dummen said:
Nevermind, I've found a program for it.
Click to expand...
Click to collapse
which program you used to extract, kindly share it, i need to extract modem files

hahmad78 said:
which program you used to extract, kindly share it, i need to extract modem files
Click to expand...
Click to collapse
I think it was this, Im not sure.

Related

[Q] how do i create a clockwork flashable zip?

recently i tried to replace the kernel that came with a version of Phoenix with an updated kernel before flashing, but it did not work out. I simply extracted the original, replaced the zimage, and created a new zip file with the new kernel in the rom, using windows to package the zip. is this what i should do, or is it more complex than this? the flash failed.
Don't extract the rom zip. Use 7zip or similar and open archive, delete the zimage then drag the other kernel zimage in there. Or just flash the rom as is and then flash the kernel.
newter55 said:
Don't extract the rom zip. Use 7zip or similar and open archive, delete the zimage then drag the other kernel zimage in there. Or just flash the rom as is and then flash the kernel.
Click to expand...
Click to collapse
thanks! that makes sense. can i just do what you said using windows explorer?
7zip is free and handles many more file extension types.
Install it then right click on the file in windows explorer, select 7 zip, then open archive. This allows you to make changes without actually extracting the entire file.
newter55 said:
7zip is free and handles many more file extension types.
Click to expand...
Click to collapse
yes i know, but when just dealing with a zip file, can i use windows explorer to delete contents inside the zip and replace them?
You are too quick....edited my post above
newter55 said:
You are too quick....edited my post above
Click to expand...
Click to collapse
so when i double click on a zip file in windows explorer, and it opens it as if it were just another folder, can i not replace stuff directly in windows explorer where im at?
That extracts everything and you may have issues after zipping it back up
newter55 said:
That extracts everything and you may have issues after zipping it back up
Click to expand...
Click to collapse
in windows explorer, you can right click and select extract files, but when you double click the zip it appears that it is allowing you to edit the contents without completely unzipping. am i wrong in thinking this?
Perhaps you can do it that way......i just always used 7zip. You will have to try it and see.
newter55 said:
Perhaps you can do it that way......i just always used 7zip. You will have to try it and see.
Click to expand...
Click to collapse
alright, thanks bud =D
I am using winzip. When I right click the zip file it gives me the option to "open" with winzip. When I do it shows me files like windows does. So my question is can I use winzip to replace the file and then close it?
winzip works as well

Can Anyone provide a link for Tiamat wifi module driver

Tried to download tiamat-031412-bcm4329.ko.7z but it's giving me an error when I try to open it. Help pls.
Try to re-edit the extension to zip.
Sent from my Incredible S
mdk83 said:
Try to re-edit the extension to zip.
Sent from my Incredible S
Click to expand...
Click to collapse
Unfortunately that didn't work.
Is file on your phone or computer? What zip program do you use on your computer?
File on computer....tried WinRAR and 7zip.
I know you can open it in winzip and then do a save as and save it as a zip file. Not sure that will help.
Did you use the convert feature in WinRAR?
Is the download corrupt?
I'll try Winzip now see what happens.
WinZip failed too...any help?
What exactly is failing?
acme anvil said:
What exactly is failing?
Click to expand...
Click to collapse
"Cannot open file. Does not appear to be a valid archive".
Sounds like it's corrupt. Download again.
Downloaded multiple times...that's why I'd like it if anyone could link me a good file :/
Cmon guys I seriously need help I can't use my phone!
Download playground and kernel and reflash.
I cannot flash the kernel...because I'm on S-OFF and I need to adb push the Wifi module driver...now to do that I need to change the name of the file in the zip. But I can't access the zip...
But isn't the Wifi module in the rom? If you are s-off, download the rom via computer, copy to sd card and flash. Do the same with the kernel. Unless I'm missing something.
The file isn't for unpacking as I remember you just need to edit the filename and remove the .7z extension and copy it over the current one.
It should only be S-ON users that had to do this as I remember too.
nsordk said:
The file isn't for unpacking as I remember you just need to edit the filename and remove the .7z extension and copy it over the current one.
It should only be S-ON users that had to do this as I remember too.
Click to expand...
Click to collapse
Hmm I thought the filename I had to edit was in the actual zip. Thanks...
You can't just rename a 7zip file you need to extract and than re-compress the files into a zip file.
Sent from my HTC Incredible S using xda premium
itsbeertimenow said:
You can't just rename a 7zip file you need to extract and than re-compress the files into a zip file.
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
You may also be able to open in winzip and do as a save as and save it as a zip file.

Extract system.img and NON-HLOS.bin

I tried using 7zip, extractnow and some random program I found on google called ext4_unpacker.exe. I want to extract the system and dig through and edit the files and the same thing with the modem.
I get cannot open as archive with 7zip, "unknown file format" with ext4 unpacker and it just won't open with extractnow.
thanks for the help in advance. and apologies in advance I know this is super noobish but the programs just won't work :crying:
Use adb to pull the files then use a hex editor?
nhizzat said:
Use adb to pull the files then use a hex editor?
Click to expand...
Click to collapse
I'm assuming you mean pull them from the phone? Also I still want to be able to extract the files so I can examine older firmware versions, being that I'm on 4.4.2 stock.
So my question still remains, how can I extract the files?

[Q] How do I unzip a .wstheme file?

Hey all,
Ive been fooling around with my galaxy gear watch faces and have found some awesome .wstheme files I wwant to try out. Im pretty sure they need to be extracted, ive tried a few diffent extraction apps with no success. Does anyone how how to extract from a .wstheme file? Thanks in advance.
dovely said:
Hey all,
Ive been fooling around with my galaxy gear watch faces and have found some awesome .wstheme files I wwant to try out. Im pretty sure they need to be extracted, ive tried a few diffent extraction apps with no success. Does anyone how how to extract from a .wstheme file? Thanks in advance.
Click to expand...
Click to collapse
No, with the new WS app you can import them. But, if you want to make changes to the jason file simply download the file and change the .WSTHEME to .ZIP using change name then unzip as normal
raiu said:
No, with the new WS app you can import them. But, if you want to make changes to the jason file simply download the file and change the .WSTHEME to .ZIP using change name then unzip as normal
Click to expand...
Click to collapse
I have successfully unzip the file to edit the watch faces but what do I do to repack it into a .Wstheme file
good question how to repack edited files into wstheme again ?
A ".wstheme" is just a type of "zip" file. So to UNZIP a .wstheme just rename it and CHANGE the ".wstheme" to ".zip" then UNZIP it.
Now to zip it back up, just do the opposite. Just ZIP it back up, then rename the ".zip" to ".wstheme"

How to convert boot.bin into boot.img??

I'm unable to figure out how to convert the boot.bin file I extracted from the firmware.kdz file. Magic iso won't convert the bin file to img file. So do I just change the extension from .bin to .img? Something tells me it's not that simple.
Btw I'm asking because I'm trying to build a rom. So I'm gonna need this boot.img to be able to boot in my rom. Any help is appreciated.
Or if someone could point me in the right direction for pulling the boot.img from my phone with adb, that would work too. All the guides I found are for different devices with different partition names. And a lot of the commands aren't working for me.
Sent from my LG-H811 using Tapatalk
Mikekelso421 said:
I'm unable to figure out how to convert the boot.bin file I extracted from the firmware.kdz file. Magic iso won't convert the bin file to img file. So do I just change the extension from .bin to .img? Something tells me it's not that simple.
Btw I'm asking because I'm trying to build a rom. So I'm gonna need this boot.img to be able to boot in my rom. Any help is appreciated.
Or if someone could point me in the right direction for pulling the boot.img from my phone with adb, that would work too. All the guides I found are for different devices with different partition names. And a lot of the commands aren't working for me.
Sent from my LG-H811 using Tapatalk
Click to expand...
Click to collapse
You answered the question urself... Just change the file extension from bin to img.. Ive done that before and it works... U can do a adb pull dev/block/bootdevice/by-name/boot.img
Google~Android said:
You answered the question urself... Just change the file extension from bin to img.. Ive done that before and it works... U can do a adb pull dev/block/bootdevice/by-name/boot.img
Click to expand...
Click to collapse
I'll try it and let you know if I have success. Thanks for your response.
Sent from my LG-H811 using Tapatalk
Did it work, or not? I have the same question.
If you have root you can use app 'Partitions Backup & Restore' by Wanam from app store to pull any partition from your phone.
fofopuka said:
Did it work, or not? I have the same question.
Click to expand...
Click to collapse
it work for me i just fix my Tecno WX3P that stuck at boot
Tech_Savvy said:
You answered the question urself... Just change the file extension from bin to img.. Ive done that before and it works... U can do a adb pull dev/block/bootdevice/by-name/boot.img
Click to expand...
Click to collapse
That's what I needed to know !

Categories

Resources