Unpacking firmware update file - General Questions and Answers

Hello guys. I have an firmware update file for a rk3188 tvbox with android in .img extension
It is based on Android 4.2.2 and I want to unpack it to see how can I get an Android 4.4.2 firmware to run or edit this one. Can someone tell me if there is a tool for doing this kind of unpacking and repacking also? Windows based, or maybe linux but I'm gonna use it in a virtual machine. Many thanks!!

Just use CRB image kitchen tool

[TOOL][LINUX][ANDROID][WINDOWS] Jancox Tool Unpack Repack ROMs
Jancox Tool Unpack Repack ROMs Jancox tool is a tool for unpacking and repacking ROMs, in other words this is a tool for modification Android ROM, and it supports Linux, Android and Windows. Requestment Requestment Linux - Installed Python 3...
forum.xda-developers.com

Related

[Q] system.img file extraction

Hello guys,
I am trying to extract the system.img file from the Note 10.1 2014 edition stock ROM. It seems that Samsung had also manipulated the file system again. I used to generate an ext4 img file, so that I can mount it in Linux Reader on Windows. However, this method is not working any more.
The tool I used was sgs2img.jar, but as I said, it gets stuck on 32 bytes.
Any idea??
tweetatoo said:
Hello guys,
I am trying to extract the system.img file from the Note 10.1 2014 edition stock ROM. It seems that Samsung had also manipulated the file system again. I used to generate an ext4 img file, so that I can mount it in Linux Reader on Windows. However, this method is not working any more.
The tool I used was sgs2img.jar, but as I said, it gets stuck on 32 bytes.
Any idea??
Click to expand...
Click to collapse
I managed to extract a previous version of firmware of P600, MID, using first Chainfire's sgs4ext4fs utility - https://github.com/Chainfire/sgs4ext4fs - (compiled for Windows). First I trimmed the img with "sgs4ext4fs --trim system.img systemt.img" then I used sgs2ext4.jar to make the systemt.ext4.img file that could be mounted with Linux Reader.
However, the new MJ6 version doesn't work like that.
Maybe someone else could find out what's changed with the new versions.
I attached the Windows version of sgs4ext4fs utility because the source code must be slightly modified for Windows.
and.. did you extract the system.img ? I cant do it also from MK1 base for P600, and i wanted to make rom for that type

[Tool] [Windows] Auto Tool Unpack Repack Rom Android .DAT

[Tool] [Windows] Auto Tool Unpack Repack Rom Android .DAT [No Cygwin] [No Linux]
***(Marshmallow Supported)***
Develop by MTK THAI ROM MODDER (Thiland) Group
Create Tool by: Kritsada Chaitan
SS:
Youtube : https://www.youtube.com/watch?v=nKYozWOETIU
-NOTE 1.-
***First Install Needed For Use This Tool.***
1. Java SDK
2. Python v3.xx
-NOTE 2.-
***First Copy system.new.dat , system.transfer.list To "Paste-DAT-Here" Folder.***
Download:
MEGA
Thank you Original Thread by: "xpirt" https://forum.xda-developers.com/member.php?u=5132229
Thanks for the tool
Bebooo43 said:
Thanks for the tool
Click to expand...
Click to collapse
Good.... ^^
It is a wonderful tool, brother.
is this tool works fine?
Getting error about incompatible operating system when recompressing dat so I tried on windows and got the same do I have to install the java or the phyton to a certain directory or the auto tool to a certain directory it extracted fine thanks in advance for the feedback
Can someone lend a hand.... Program works great. After removing a couple apps, one from 'app' another from 'priv-app', I made a zip file with 7zip and tried flashing but it fails. Is 7zip okay to make a zip file? was I not supposed to remove a 'priv-app' ? I can't find any solid guides on editing a MM rom. thanks in advance.
i succesfully unpack .dat files and repack .dat files (without edit anything) using this tool .
then i replace the repack .dat file to the rom and zip it and flash it .
but the problem is, when i flash i get error 7 system partition has unexpected contents after ota update . any solution ?
can't unpack system.new.dat cm14 (7.1)
Thank you very much, really useful
update - https://forum.xda-developers.com/an...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Is it work for N based ROMs
tooolll
worked for me also...
t.y.
please update it to new version waiting for it.

Boot.img unpacking

Tried many android image kitchen. Even windows android kitchen can't unpack boot.img. please suggest solution
PS: I'm windows8.1 user.

A newer version of SP Flash tool for Linux

I want to root some phones that have a MTK MT6755 SoC, and first I want to do some full backup of their flash. In order to do so, I have to use SP Flash Tool.
The latest version of SP Flash Tool is 5.1524.00, at least for windows users. I'm working on linux all the time, and I don't really operate on windows. The version of SP Flash Tool for linux seems to be a little bit outdated because it's 5.1520.00.
This version was fine for my older phones, but for the new ones only the 5.1524.00 seems to accept my scatter.txt file and the problem is in the newer SoC.
Does anyone know whether (and when) a newer version of SP Flash Tool will be released for linux? Maybe is there a way to do some stuff to make the older version of SP Flash Tool work with the MT6755 SoC on linux?
morfikov said:
Does anyone know whether (and when) a newer version of SP Flash Tool will be released for linux? Maybe is there a way to do some stuff to make the older version of SP Flash Tool work with the MT6755 SoC on linux?
Click to expand...
Click to collapse
SPFT Linux, I use v5.1712 for the MT6737T. Readback all your partitions for backups.
How to setup on linux.
So is this website outdated?
https://spflashtool.com/
I downloaded the newest version from the link you've provided, but it seems that SP Flash Tool needs to be updated:
Code:
SP_Flash_Tool_v5.1728_Linux/flash_tool: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
And I have this lib installed:
Code:
# dpkg -l | grep libpng
ii libpng16-16:amd64 1.6.32-3 amd64 PNG library - runtime (version 1.6)
I had to install the lib from here: https://packages.debian.org/jessie/libpng12-0 , but it seems to work well, and also it loads my scatter file without a problem.

android 11 custom rom unpack and repack

Can you suggest tools to unpack and repack android 11 custom rom.

Categories

Resources