Unpack ROM .img - Android Stick & Console AMLogic based Computers

I have downloaded the X96mini.img from the following thread: https://forum.xda-developers.com/showpost.php?p=74831127&postcount=2
I would like to extract some of the files from the IMG for use in another ROM. How do I unpack the IMG? I've tried many methods I've found on XDA and none of them are working. Please point me in the right direction (I have Windows and Linux, so methods that work on either are fine)
Thank you

Try Ricky Divjakovski 's AMLogic Customization Tool. Its in this forum. Search it and you will see. You will have to do some reading though..
Sent from my BKL-L04 using Tapatalk

Thank you. I found the latest Ricky Divjakovski 's AMLogic Customization Tool and it worked. I had found the previous version and it didn't work, I'm glad it's sorted now! Reading is no problem, it's just finding the right tool out of hundreds.

Related

[Tool] [ 5th May]Linux Tools for neo

Hi guys other devices have a thread like this so thought I'd get it going.
Here I share a folder, has a working unyaffs, built on ubuntu 12.04 64 bit known to extract all current neo img files.
a nice 51-udev rules that contains many popular phone models
and a recovery bundle too install cwm from linux, please feel free to add your own contributions and share
http://minus.com/mDZsF8gEU/
Two new additions today.
Motorola's modified fastboot, allows flashing larger images.
Android utility - nice little script will set up and update kitchen and help with porting.
Sent from my MT15i using Tapatalk
i wish i know what to do with these...
where to strt?
mpiekp said:
Hi guys other devices have a thread like this so thought I'd get it going.
Here I share a folder, has a working unyaffs, built on ubuntu 12.04 known to extract all current neo img files.
a nice 51-udev rules that contains many popular phone models
and a recovery bundle too install cwm from linux, please feel free to add your own contributions and share
http://minus.com/mDZsF8gEU/
Click to expand...
Click to collapse
thanks for sharing but unyaffs didn't work on my ubuntu 12.04 32 bit or other 32 distros i don't have any 64 distros so can't tested on those
error is Cannot execute binary file
may I ask did you build unyaffs for 64-bit
Yes sorry, built on 64 bit, just build it frm svn and it will work fine
added 64bit to first post now thanks
mpiekp said:
Yes sorry, built on 64 bit, just build it frm svn and it will work fine
Click to expand...
Click to collapse
already I did it but tool can't extract ics rom anyway
....... Don't get that is it a converted IMG or a nandroid
Sent from my MT11i using Tapatalk
unyaffs
mkfs.yaffs2
for 32bit systems
I hope you know how to install them...
mpiekp said:
....... Don't get that is it a converted IMG or a nandroid
Click to expand...
Click to collapse
converted
leajian said:
unyaffs
for 32bit systems
I hope you know how to install them...
Click to expand...
Click to collapse
also doesn't work with ICS system.img(ftf, not nandroid)
Has anyone tried flashing one of these converted imgs, with fast boot? Does it work
Sin2img strips certain bytes from the sin to create the IMG, could be Sony altered the byte order meaning the IMG are corrupt, especially considering what we had with flashtool final verification failure.
Sent from my MT11i using Tapatalk
added neo&vboottools.
contaions perl scripts to unpack and repack boot.img, edited to use default sony method, so that kernels boot after use. third perl script to extract commandline from existing boot.img, so that if extra options are needed you can add t repack script, just open in any text editor the script is straight forward.
binaries for mkbootimage and to565 included to create logo.rle for boot logs (e.g sony not bootsplash)
hi mpiekp , first of all thank you for your awesome work , secondly i would like to get to the notice of developers the new thread naming rules as mentioned in this fourm
http://forum.xda-developers.com/showthread.php?t=1636154
you can change the title as per the instructions in the above thread, sorry for the trouble , thank you

How to unpack boot.img

hi i know this seems like a over asked question but my case is different at least i could find a solution .. i did look for it
so i need to unpack a boot.img and i did try with dsixda's kitchen and championswimmers kitchen but no hope .. they both say android magic header not found and doesn't unpack it.. i need to edit the bootclasspath of the kernel but there isnt a way i can without unpacking yeah ? i even tried re-naming to .elf and extracting with flashtool but that dosent give me an output either ..
does anyone know how i can do this ? or atleast a workaround ?
androidous said:
hi i know this seems like a over asked question but my case is different at least i could find a solution .. i did look for it
so i need to unpack a boot.img and i did try with dsixda's kitchen and championswimmers kitchen but no hope .. they both say android magic header not found and doesn't unpack it.. i need to edit the bootclasspath of the kernel but there isnt a way i can without unpacking yeah ? i even tried re-naming to .elf and extracting with flashtool but that dosent give me an output either ..
does anyone know how i can do this ? or atleast a workaround ?
Click to expand...
Click to collapse
Try using this tool found here http://forum.xda-developers.com/showthread.php?t=2073775
it has worked very well for me. If this doesn't work for you then I can suggest some Linux alternatives.
Sent from my SCH-I535 using XDA Premium 4 mobile app
shimp208 said:
Try using this tool found here http://forum.xda-developers.com/showthread.php?t=2073775
it has worked very well for me. If this doesn't work for you then I can suggest some Linux alternatives.
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hey thanks but ive tried that kitchen before and no luck
i figure the problem is
caused because the boot.img 's are not of standard type and do not have the standard ANDROID header therefore that kitchen wouldnt work
Okay, unpackbootimg crashes trying to unpack the boot.img from FXP204-cm-9-20130126-UNOFFICIAL-kumquat because it has the wrong "magic" at the top. trevd pointed this out as a definite incompatibility for some devices a couple pages back. Trying trevd's split_img from the first page, it actually reports the "Wrong magic" error and shows that the file has an ELF header not an ANDROID!. Opening in HxD shows that there is no ANDROID! header later on as with some HTC devices, so ELF is the only header, and we're basically dealing with a different, unsupported filetype here. On the upside, there is no real gap in the data, so there might not be a ramdisk packed with it anyway.
Click to expand...
Click to collapse
enlighten me on the linux alternatives please
androidous said:
Hey thanks but ive tried that kitchen before and no luck
i figure the problem is
caused because the boot.img 's are not of standard type and do not have the standard ANDROID header therefore that kitchen wouldnt work
enlighten me on the linux alternatives please
Click to expand...
Click to collapse
These are the linux alternatives they may or may not work based on what you said but might as well give them a try.

[DEV][SM-J530F] TWRP for Samsung J5(2017)

I am trying to build a TWRP version for the SM-J530F following this guide by Dees_Troy.
This is my first time trying to build a recovery, so I could use some help.
It would be great if someone could tell me or help me writing the Boardconfig.mk as I am not sure if I got everythingright and everythinh what is needed.
The recovery.fstab should be correct , although I am not sure for the usb partition. The files I am using for building are in the attachments.
Last and most important thing for me to start to build would be if someone can reach me out a proper firmware or whatever i need to put in the /device directory of my build environment.
I have tried sammobile.com/SM-J530F and some other site I can't find anymore but I could not get the .img unzipped by 7zip out of the md5 files to mount(tried on Win and Linux) . Any hint on that?
I am building on a Virtual Box on a Win10 machine running Linux Mint.
Thanks in advance!
Adlbert said:
I am trying to build a TWRP version for the SM-J530F following this guide by Dees_Troy.
This is my first time trying to build a recovery, so I could use some help.
It would be great if someone could tell me or help me writing the Boardconfig.mk as I am not sure if I got everythingright and everythinh what is needed.
The recovery.fstab should be correct , although I am not sure for the usb partition. The files I am using for building are in the attachments.
Last and most important thing for me to start to build would be if someone can reach me out a proper firmware or whatever i need to put in the /device directory of my build environment.
I have tried sammobile.com/SM-J530F and some other site I can't find anymore but I could not get the .img unzipped by 7zip out of the md5 files to mount(tried on Win and Linux) . Any hint on that?
I am building on a Virtual Box on a Win10 machine running Linux Mint.
Thanks in advance!
Click to expand...
Click to collapse
try updato.com or samfirm app also you need to convert the img.ext4 to actual EXT4 first, Recovery & Boot images can be unpacked easily with Image Kitchen
Amy News
Hey fellas, I will be trying to get TWRP for this device as i own it at the moment. I was hoping if there are users left who would like to test it with me. so if anyone is aware of an official J530F section please let me know. thanks.
ananjaser1211 said:
Hey fellas, I will be trying to get TWRP for this device as i own it at the moment. I was hoping if there are users left who would like to test it with me. so if anyone is aware of an official J530F section please let me know. thanks.
Click to expand...
Click to collapse
i have a j530fd ,can i test it too?
ananjaser1211 said:
Hey fellas, I will be trying to get TWRP for this device as i own it at the moment. I was hoping if there are users left who would like to test it with me. so if anyone is aware of an official J530F section please let me know. thanks.
Click to expand...
Click to collapse
I can test it i have J530F
Unofficial release -TWRP recovery for the Galaxy SM-J530F
https://forum.xda-developers.com/galaxy-j5/development/twrp-twrp-recovery-j5-pro-2017-t3668266
This unrooted my phone?

[TOOL] Amlogic Unpacker - Windows Tool to Unpack/Repack Oreo Images

THE FOLLOWING GUIDE IS FOR OREO IMAGES.
TO UNPACK AMLOGIC 9.0 PIE IMAGES, WATCH THIS TUTORIAL VIDEO: https://youtu.be/exDD6YOC4HU
Hey Everyone! Many people requested me on forumXperience to make a repacking/unpacking guide for Amlogic Oreo/Pie Images. So yesterday, when I had time I started to create my own windows tool for you guys to unpack and repack Amlogic Oreo/Pie Images.
You can now easily extract files in a few clicks and edit them to flash on your devices!
Very simple to use and it works great and is also faster than stock Amlogic Customization Tool which unfortunately doesn't support Oreo images.
There may be a few bugs that I am unaware of, so please let me know if you run into any problem. Later, I may add recovery and kernel unpacking option in the tools.
Thanks to Ricky for his Customisation Tools, I used his binaries for this project
The tool is pretty much open for everyone to edit and modify, it has batch scripts so you can easily edit with Notepad and learn the process of Amlogic Unpacking/Repacking manually [emoji23]
Here you can download the tool:
[Amlogic Unpacker by Nayam.zip]
3.26 MB​
it works fine. thanks.....
i was going to buy the other tool but this did the work without any money
techygaga said:
it works fine. thanks.....
i was going to buy the other tool but this did the work without any money
Click to expand...
Click to collapse
Good to hear. This has been flying under the radar and people really didn't care about this tool. Glad to see atleast there's someone using this.
Yes it does unpack/repack oreo images but it doesn't (yet) unpack recovery and kernel which I thought were not really important for the time being. Unpacking vendor and system will do all the work if you want to mod ROMs. Kernel and Recovery modifications are really not required and can be avoided by using alternative ways.
Sent from my F3116 using Tapatalk
Cool. Thank you
thanks
link doesn't work
do you have support uppack/repack Android 9??
xmannv said:
do you have support uppack/repack Android 9??
Click to expand...
Click to collapse
Yes ofcourse
Sent from my F3116 using Tapatalk
N'ayam Amarsh'e said:
Yes ofcourse
Sent from my F3116 using Tapatalk
Click to expand...
Click to collapse
But Image Pack Failed (Android 9 Pie)
Level 1 repack doesnt work with A95X Max.
Copy Level 1 folder into Ricky Customisation tool "tmp" folder and repack with that.
like your tool..
Tonian1878 said:
Level 1 repack doesnt work with A95X Max.
Copy Level 1 folder into Ricky Customisation tool "tmp" folder and repack with that.
Click to expand...
Click to collapse
Hey, i have the same problem with a gt king pie .img..
I unpack LVL 1 & LVL 2 with nayams tool (works great :good: ). make changes (example: delete one app, paste another) ... and then?
Unfortunately I can not just unpack lvl2 with nayams tool. To unpack lvl2 I have to unpack lvl1 ..
and with rickys tool I can only pack lvl1 when i try to repack lvl2 it dosent work .. can you please explain to me briefly how I have to do it?
Thanks
Sim
5im said:
Hey, i have the same problem with a gt king pie .img..
I unpack LVL 1 & LVL 2 with nayams tool (works great :good: ). make changes (example: delete one app, paste another) ... and then?
Unfortunately I can not just unpack lvl2 with nayams tool. To unpack lvl2 I have to unpack lvl1 ..
and with rickys tool I can only pack lvl1 when i try to repack lvl2 it dosent work .. can you please explain to me briefly how I have to do it?
Thanks
Sim
Click to expand...
Click to collapse
get rickys customisation tool, in the folder of ricky customisation tool, create a folder called "tmp".
Now unpack your firmware with nayams tool (both level 1 and 2) and copy the level 1 and 2 folders from the "unpacked" folder and paste them into you newly created "tmp" folder.
start rickys customisation tool, edit and repack your rom from there.
hope that make sense
5im said:
Hey, i have the same problem with a gt king pie .img..
I unpack LVL 1 & LVL 2 with nayams tool (works great :good: ). make changes (example: delete one app, paste another) ... and then?
Unfortunately I can not just unpack lvl2 with nayams tool. To unpack lvl2 I have to unpack lvl1 ..
and with rickys tool I can only pack lvl1 when i try to repack lvl2 it dosent work .. can you please explain to me briefly how I have to do it?
Thanks
Sim
Click to expand...
Click to collapse
I'm sorry for not explaining everything correctly.
Level 2 is unpacked after unpacking level 1.
You cannot unpack level 2 without unpacking level 1 first.
Similarly, the repack script I wrote first repacks level 2 and then repacks level 1. If you want these separated, I can provide that too.
So you need to run the scripts in order.
Run script number 1, then 2. Then make changes in level 2 folder and then run repacking script.
Sent from my F3116 using Tapatalk
Tonian1878 said:
Level 1 repack doesnt work with A95X Max.
Copy Level 1 folder into Ricky Customisation tool "tmp" folder and repack with that.
Click to expand...
Click to collapse
Thanks for confirming, I'll fix the repacking script If it's causing problems.
Sent from my F3116 using Tapatalk
If Pie images aren't working, please wait for a fix. I'll try some pie images out and will update the commands
Sent from my F3116 using Tapatalk
N'ayam Amarsh'e said:
Thanks for confirming, I'll fix the repacking script If it's causing problems.
Sent from my F3116 using Tapatalk
Click to expand...
Click to collapse
Thanks.
it does repack the firmware but after flashing the a95x max, it just hangs on the boot logo and doesnt get to the boot animation.
as said before, if i take the unpacked level 1 contents from your tool and repack with rickys tool, A95X max flashes and boots perfectly.
level 2 to level 1 repack doesnt seem to be an issue, purely level 1 to img repack.
@Tonian1878: Thx for the explanation!
N'ayam Amarsh'e said:
If Pie images aren't working, please wait for a fix. I'll try some pie images out and will update the commands
Click to expand...
Click to collapse
That would be great! If you need a Pie image for testing: bee-link.com/forum.php/forum.php?mod=viewthread&tid=50649&extra=page%3D1
Download link is down.. pls re-up.
Tonian1878 said:
get rickys customisation tool, in the folder of ricky customisation tool, create a folder called "tmp".
Now unpack your firmware with nayams tool (both level 1 and 2) and copy the level 1 and 2 folders from the "unpacked" folder and paste them into you newly created "tmp" folder.
start rickys customisation tool, edit and repack your rom from there.
hope that make sense
Click to expand...
Click to collapse
I tried it that way. Unfortunately, there is always an error message "Failed to repack system, default will be used"..
The image will be packed correctly, but my changes will be overwritten again.
Do you use AMLogicTools_V6.0.0?

Need help extracting a .img file

I have a custom firmware for RK3288 that I'm trying to extract the img file and modify some of the files and system settings. I've tried lots of different tools to try and extract it but no luck. Here's a link to the file: https://drive.google.com/file/d/1HX0sLvRID2G_20z21Dykn4QF0oKUOckY/view?usp=sharing
I would really appreciate if anyone could help me out with this
alysia00 said:
I have a custom firmware for RK3288 that I'm trying to extract the img file and modify some of the files and system settings. I've tried lots of different tools to try and extract it but no luck. Here's a link to the file: https://drive.google.com/file/d/1HX0sLvRID2G_20z21Dykn4QF0oKUOckY/view?usp=sharing
I would really appreciate if anyone could help me out with this
Click to expand...
Click to collapse
Try aik or superr's kitchen, either one should work [emoji106]
Sent from my moto g(6) play using Tapatalk
Tried both already, they don't work :\
alysia00 said:
Tried both already, they don't work :\
Click to expand...
Click to collapse
Are you extracting from a rooted device or are you working with firmware?
Sent from my moto g(6) play using Tapatalk
I figured it out. It needed special tools make for the rk3288 to extract the img file. I needed AndroidTool_Release_v2.38.
alysia00 said:
I figured it out. It needed special tools make for the rk3288 to extract the img file. I needed AndroidTool_Release_v2.38.
Click to expand...
Click to collapse
well done!
Sent from my moto g(6) play using Tapatalk

Categories

Resources