How to unpack firmwares? - Huawei P10 Questions & Answers

I used UNPACKUPDATE.APP for unpacking UPDATE.APP
But all programs can't unpack *.img-files
What can I do?

Related

how to upgrade cooked rom .rar?

All the cooked roms end with .rar. After I downlod the cooked rom (bepe) the file ends with rar. According to the trinity giude it should have ended with zip so that I would be able to extract the files (see section 4, upgrade rom - Open the folder where you unzipped the files and click on ‘ROMUpdateUtility.exe’). However, there is no exe file but only rar. How do I upgrade then? I m a beginner in this and I need your help!!!!!
Download WinRAR and extract the Files.
RAR is like ZIP only other compression
thanks a lot!

How to unpack a SYSTEM.IMG file? Older tools won't work

Hi! I need a very specific system dump to try some mods, Unfortunately most of the tools I used no longer work. I tried with Ext2explore, Ext4Unpacker and some others but they all give a error message. What is the correct method for doing a Samsung system dump? I'm on Windows 8.1 (x64)
I guess I found the perfect tools right here on XDA: https://forum.xda-developers.com/s6...ol-tools-file-extraction-img-tar-md5-t3236605
Download the tool and unzip. Extract the system.img file using WinRAR o 7zip. Drag and drop system.img into NEWIMG2EXT2 This will convert the .img into a .ext4, to be opened with Ext2explore. Now that you have a complete dump you can deodex and start tinkering.

How to unpack and repack system.img file

Hope you good actually i have extracted system.img file i have made a little change deleted some apls from the file but now the problem is repacking i couldn't find a way to repack the file please help me im stuck here......

Extracting boot.img from stock firmware

I have the stock firmware for my device (a Galaxy J6). I've downloaded it from sammobile, and it's in a zip file. Supposedly, all I need to do is extract this file with an extraction program like winrar and presto, I should have the necessary boot.img. But all I get are these useless .md5 files. What is going on? Did I misinterpret something?
More than anything, I would just like it if someone finally just explained to me what the hell I'm supposed to do. The Magisk installation guide doesn't even go into detail about how to get a boot.img, it just assumes you have it. It's infuriating.
AndreM962 said:
I have the stock firmware for my device (a Galaxy J6). I've downloaded it from sammobile, and it's in a zip file. Supposedly, all I need to do is extract this file with an extraction program like winrar and presto, I should have the necessary boot.img. But all I get are these useless .md5 files. What is going on? Did I misinterpret something?
More than anything, I would just like it if someone finally just explained to me what the hell I'm supposed to do. The Magisk installation guide doesn't even go into detail about how to get a boot.img, it just assumes you have it. It's infuriating.
Click to expand...
Click to collapse
If it's an OTA full upgrade there should be a file named payload.bin.
You need to unpack it to get the img files. Do it using this tool:
https://androidfilehost.com/?fid=818070582850510260
Enviado desde mi ONEPLUS A6013 mediante Tapatalk
Um, when I tried downloading your program, the page said there were no mirrors found.
Also, there doesn't appear to be any payload.bin file on the zip, just md5 files. And it's been that way for every j6 firmware I've downloaded in the past.
Maybe you should try downloading the firmware from sammobile and seeing whether you can extract boot.img from it?
AndreM962 said:
Um, when I tried downloading your program, the page said there were no mirrors found.
Also, there doesn't appear to be any payload.bin file on the zip, just md5 files. And it's been that way for every j6 firmware I've downloaded in the past.
Maybe you should try downloading the firmware from sammobile and seeing whether you can extract boot.img from it?
Click to expand...
Click to collapse
Give me the link and i will see what can i do.
Enviado desde mi ONEPLUS A6013 mediante Tapatalk
https://www.sammobile.com/firmwares/galaxy-j6/SM-J600GT/ZTO/download/J600GTVJU3ASA1/257858/
You might need to make a sammobile account if you don't have one already. Good luck!
AndreM962 said:
https://www.sammobile.com/firmwares/galaxy-j6/SM-J600GT/ZTO/download/J600GTVJU3ASA1/257858/
You might need to make a sammobile account if you don't have one already. Good luck!
Click to expand...
Click to collapse
I downloaded a random J6 firmware in another site.
You have to use 7zip software, it's free, much better than WinRar and supports tons of compression formats. Do these steps with 7zip:
-Unpack zip file.
-Rename the "*.tar.md5" to "*.tar".
-Open the ".tar" file and unpack "boot.img.lz4".
-Unpack "boot.img.lz4" file.
-It's done, you now have the "boot.img" file you were looking for
Enviado desde mi ONEPLUS A6013 mediante Tapatalk
Sorry for the late reply. I did it. I found the boot.img file! I'll be using it shortly.
Thank you so much. Your advice was absolutely invaluable!
How can I get boot.IMG from my firmware
My device is mafe air and I download Its firmware from a website but I am unable to get boot.img file from it because it have recovery.img and other system file where can I found my device supported boot.img in my device firmware. Please help me I need it to root my device using magisk. Please reply
My device is itel A14 max running on Mediatek chip and I downloaded it's firmware to root using magisk but when extract the zip file using 7zipper, I can't find the boot.img file. The file that I get is in .pac format and I am failing to extract it further to get boot.img file. Is there any way I can be helped please?
I have oppo f15 phone and i downloaded its stok rom after extract it ,8 can't find boot.img file how to do it plz help..
hank81 said:
I downloaded a random J6 firmware in another site.
You have to use 7zip software, it's free, much better than WinRar and supports tons of compression formats. Do these steps with 7zip:
-Unpack zip file.
-Rename the "*.tar.md5" to "*.tar".
-Open the ".tar" file and unpack "boot.img.lz4".
-Unpack "boot.img.lz4" file.
-It's done, you now have the "boot.img" file you were looking for
and the last step there is unpack or extract the boot.img from the boot.img.lz4 file cause i just did it
Click to expand...
Click to collapse
Please tell me how to extract latest firmware of oppo f15 cph2001ex_11_C.47 which is in ozip format please help me
hank81 said:
I downloaded a random J6 firmware in another site.
You have to use 7zip software, it's free, much better than WinRar and supports tons of compression formats. Do these steps with 7zip:
-Unpack zip file.
-Rename the "*.tar.md5" to "*.tar".
-Open the ".tar" file and unpack "boot.img.lz4".
-Unpack "boot.img.lz4" file.
-It's done, you now have the "boot.img" file you were looking for
Enviado desde mi ONEPLUS A6013 mediante Tapatalk
Click to expand...
Click to collapse
For me, on my note 10 lite I have a problem with 7zip when i try to open the boot.img.lz4 it says that I dont have an app Installed to perform that action
hank81 said:
I downloaded a random J6 firmware in another site.
You have to use 7zip software, it's free, much better than WinRar and supports tons of compression formats. Do these steps with 7zip:
-Unpack zip file.
-Rename the "*.tar.md5" to "*.tar".
-Open the ".tar" file and unpack "boot.img.lz4".
-Unpack "boot.img.lz4" file.
-It's done, you now have the "boot.img" file you were looking for
Enviado desde mi ONEPLUS A6013 mediante Tapatalk
Click to expand...
Click to collapse
My Friend
I have same problem above: find boot.img of my device ( SM-G532MT).
I have a firmware downloaded from firmware.mobi. Works fine.
But, when decompressed, shows only the archives for instalation for Odin ( CSC, AP, etc... ). No boot.img under other format.
hank81 said:
I downloaded a random J6 firmware in another site.
You have to use 7zip software, it's free, much better than WinRar and supports tons of compression formats. Do these steps with 7zip:
-Unpack zip file.
-Rename the "*.tar.md5" to "*.tar".
-Open the ".tar" file and unpack "boot.img.lz4".
-Unpack "boot.img.lz4" file.
-It's done, you now have the "boot.img" file you were looking for
Enviado desde mi ONEPLUS A6013 mediante Tapatalk
Click to expand...
Click to collapse
Cloviscard said:
My Friend
I have same problem above: find boot.img of my device ( SM-G532MT).
I have a firmware downloaded from firmware.mobi. Works fine.
But, when decompressed, shows only the archives for instalation for Odin ( CSC, AP, etc... ). No boot.img under other format.
Click to expand...
Click to collapse
read this https://android.stackexchange.com/a/179248
and this https://forum.xda-developers.com/t/extracting-boot-img-from-stock-firmware.3909612/#post-79106875
I read carefully and...
Forgive me, but the article DON'T answer my question: How to extract the boot.img from a stockrom in .img format...
Cloviscard said:
I read carefully and...
Forgive me, but the article DON'T answer my question: How to extract the boot.img from a stockrom in .img format...
Click to expand...
Click to collapse
forgive me about that too
Samsung devices by default don't have .img ...
usually stockrom come as .zip then you need to extract it (use 7zip since winrar is not capable of extracting .lz4)
-Rename the "AP_xxx.tar.md5" to "AP_xxx.tar". <~ any similar file with AP from the start
-Open the "AP_xxx..tar" file and if you see boot.img extract "AP_xxx..tar" then grab boot.img it's done, you now have the "boot.img" file you were looking for
-some device have "boot.img.lz4" file. <~ use 7zip again to extract .lz4 file then grab boot.img it's done, you now have the "boot.img" file you were looking for
also it is stupid to grab your boot.img when you are Samsung since Odin only accept .md5 format (does Samsung have access to fastboot or they are stuck using Odin idk never has Samsung phone lmao)
also i forgot to say that you can actually patch "AP_xxx.tar" via Magisk itself so less work
For anyone else having trouble getting the boot.img, but on a custom recovery:
1. Go to recovery
2. Open recovery terminal
3. Enter:
Code:
dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img
4. Press enter to confirm the command
5. Reboot to system
The boot.img is now on your SD card.
<deleted>
discovered id posted a duplicate link
Immortal68 said:
For anyone else having trouble getting the boot.img, but on a custom recovery:
1. Go to recovery
2. Open recovery terminal
3. Enter:
Code:
dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img
4. Press enter to confirm the command
5. Reboot to system
The boot.img is now on your SD card.
Click to expand...
Click to collapse
Thank you very much for rally... very helpfull...
But still 1 question: if the referred boot.img was previously patched with another root aplication like suroot???

Can't extract and locate fastboot rom

hi, i have a Tgz fastboot rom but can't locate in miflash tool and get error while extracting it with winrar and 7zip. Help please
Sent from my SM-G950F using Tapatalk
ishaqtkr said:
hi, i have a Tgz fastboot rom but can't locate in miflash tool and get error while extracting it with winrar and 7zip. Help please
Click to expand...
Click to collapse
What error are you getting, maybe you need to download the ROM again as it's become corrupted when you downloaded it the first time.
If using 7zip you'll need to extract it twice. The first time uncompresses the file, after which you should have a single file. Sometimes this file won't have a file extension, so in this case rename it and add .tar on to the end. This is now an uncompressed archive file, so open it up in 7zip and extract the contents. After this you should have a folder containing some .bat files and another folder which contains a lot of image files. It is this top level folder you need to select in the Mi Flash Tool.
Robbo.5000 said:
What error are you getting, maybe you need to download the ROM again as it's become corrupted when you downloaded it the first time.
If using 7zip you'll need to extract it twice. The first time uncompresses the file, after which you should have a single file. Sometimes this file won't have a file extension, so in this case rename it and add .tar on to the end. This is now an uncompressed archive file, so open it up in 7zip and extract the contents. After this you should have a folder containing some .bat files and another folder which contains a lot of image files. It is this top level folder you need to select in the Mi Flash Tool.
Click to expand...
Click to collapse
You're right, i had to download again.
Sent from my Mi 9T Pro using Tapatalk
Sometimes you need to extract the file twice

Categories

Resources