[TOOL] Amlogic Unpacker - Windows Tool to Unpack/Repack Oreo Images - Android Stick & Console AMLogic based Computers

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?

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

From FTF to flashable zip ?

Hey,
I want to work on my own rom for my Mini Pro. I downloaded the SK17i_4.1.B.0.587_VODAFONE ES WORLD.ftf file and want to convert it in a flashable zip in order to use it in the kitchen.
I tried these two methods :
[Windows] http://forum.xda-developers.com/showthread.php?t=1849867
[Linux] http://forum.xda-developers.com/showthread.php?t=1513146
However, both are not working. I get errors that are still not fixed.
Do you guys use another method ?
Thanks.
If the decompression of the sin files doesn't work try it with flashtool, first decrypt with tools -> decrypt, you'll get a yaffs2 file from it and then extract yaffs2 with tools -> extract-> yaffs2 then you'll get a folder with the contents of the sin file
Sent from my xperia mini pro running cm10
Thanks I got it working that and extracted the content of the cace, data & system yaffs2 files. From there, what do you guys advice ? Should I turn it into a flashable zip right away ? If so how ? If not, can those extracted folder be used in the kitchen from the get go ?
I'm sorry for those newbies question but I'm just starting on this. If you got a good tutorial, don't hesitate to share !
DannyBiker said:
Thanks I got it working that and extracted the content of the cace, data & system yaffs2 files. From there, what do you guys advice ? Should I turn it into a flashable zip right away ? If so how ? If not, can those extracted folder be used in the kitchen from the get go ?
I'm sorry for those newbies question but I'm just starting on this. If you got a good tutorial, don't hesitate to share !
Click to expand...
Click to collapse
No you can't straight away use just the system folder . You need a meta-inf folder, updatebinary and updater-script specific for your device. I can help with that if you are interested.
hit thanks if I've helped!
sent from my smultron
U need to sign the zip file too
Sent from my MANGO using Tapatalk 2
bandarigoda123 said:
U need to sign the zip file too
Sent from my MANGO using Tapatalk 2
Click to expand...
Click to collapse
If I'm right the meta inf folder is the signing part
hit thanks if I've helped!
sent from my smultron
gouthamthemostwanted said:
If I'm right the meta inf folder is the signing part
hit thanks if I've helped!
sent from my smultron
Click to expand...
Click to collapse
Are u sure..then I was wrong
Sent from my E16i using Tapatalk 2
bandarigoda123 said:
Are u sure..then I was wrong
Sent from my E16i using Tapatalk 2
Click to expand...
Click to collapse
I said it because I've never signed any Rom using signing softwares. I just zip it with meta-inf folder.
hit thanks if I've helped!
sent from my smultron
gouthamthemostwanted said:
No you can't straight away use just the system folder . You need a meta-inf folder, updatebinary and updater-script specific for your device. I can help with that if you are interested.
hit thanks if I've helped!
sent from my smultron
Click to expand...
Click to collapse
I would love you to teach me !
I've been toying around developping roms for months now and the Mini Pro seems a good device to start with...
Okay first for the sake of meta-inf folder's file structure, do you have any copy of of a working custom Rom for your device? If yes then open the Rom zip file and you would find a meta-inf folder inside the zip file . Just extract the meta-inf folder and zip just the meta-inf folder and upload it here.
hit thanks if I've helped!
sent from my smultron
So I just use the the meta-inf folder of any similar rom and it will be "flashable" one zipped together ? I wouldn't though it was that easy...
Thanks !
Will try and report.
Ya it should be sufficient but there might be some junk code in it or missing codes for setting permission and symlinks for your Rom so only I asked you to upload it to check for some errors in updater-script . Just open the meta-inf folder and go through the folders and find updater-script file, open it with any text editor (notepad ++ recommended) and just go through the code you'll get some idea.
hit thanks if I've helped!
sent from my smultron
DannyBiker said:
So I just use the the meta-inf folder of any similar rom and it will be "flashable" one zipped together ? I wouldn't though it was that easy...
Thanks !
Will try and report.
Click to expand...
Click to collapse
Hey man check my signature, I created a tutorial to create flashable zip from ftf . It'll be useful for you.
hit thanks if I've helped!
sent from my smultron

Extracting boot.img

How do I extract boot.img from Xperia U
I already got many images but while unpacking they all say android magic header not found stopping using many tools
I used android kitchen and all
one more thing
i made rom using android kitchen and then when i boot
wifi,bluetooth and phone aint working
Help Me
:crying:
jatinrungta said:
How do I extract boot.img from Xperia U
I already got many images but while unpacking they all say android magic header not found stopping using many tools
I used android kitchen and all
one more thing
i made rom using android kitchen and then when i boot
wifi,bluetooth and phone aint working
Help Me
:crying:
Click to expand...
Click to collapse
Have you tried this link? I find it helpful for the single core A8 Cortex (Polaroid) tablets when I have to access the boot.img. Look about halfway down for the "Boot partition" section.
Hope this helps.
https://www.miniand.com/wiki/Allwinner/Unpacking+and+building+LiveSuit+images
jatinrungta said:
How do I extract boot.img from Xperia U
I already got many images but while unpacking they all say android magic header not found stopping using many tools
I used android kitchen and all
one more thing
i made rom using android kitchen and then when i boot
wifi,bluetooth and phone aint working
Help Me
:crying:
Click to expand...
Click to collapse
Use championswimmer tool http://forum.xda-developers.com/showthread.php?p=26229528
Sent from my GT-I9100 using xda app-developers app
rename it to kernel.elf and it can be extract either via flashtool or kitchen (kernel tools etc)

[Q] How to pack System.new.dat from Android N rom ?

Hi guys,
In new Nougat roms there isn't the file_context file needed to repack system.new.dat file. Now there is the "file_context.bin" file but i cannot find any tools that works with this new file format.
So how i can repack the nougat system.new.dat ?!
Yeah please any dev, reply quick
Also i wonder how cyanogen and other tems pack their rom. I hope devs can provide a tool for that.
yattodettaman said:
Hi guys,
In new Nougat roms there isn't the file_context file needed to repack system.new.dat file. Now there is the "file_context.bin" file but i cannot find any tools that works with this new file format.
So how i can repack the nougat system.new.dat ?!
Click to expand...
Click to collapse
Go to these thread. Use these tool to unpack and repack system.new.dat and .IMG files.
http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
yattodettaman said:
Hi guys,
In new Nougat roms there isn't the file_context file needed to repack system.new.dat file. Now there is the "file_context.bin" file but i cannot find any tools that works with this new file format.
So how i can repack the nougat system.new.dat ?!
Click to expand...
Click to collapse
Did u figured a way out?
I need help the tool above does not work
that tool works Till Android 7 i guess

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