[Q] how to unpack boot.img or recovery.img - General Questions and Answers

I want to unpack boot.img of my phone, i did it earlier when i was in kitkat but now after upgrading to lollipop that method doesnt work..

Manu11 said:
I want to unpack boot.img of my phone, i did it earlier when i was in kitkat but now after upgrading to lollipop that method doesnt work..
Click to expand...
Click to collapse
@Manu11, are you referring to extracting the boot.img from the firmware?

Manu11 said:
I want to unpack boot.img of my phone, i did it earlier when i was in kitkat but now after upgrading to lollipop that method doesnt work..
Click to expand...
Click to collapse
I can't catch u while do u want to extract boot.IMG from device
R do u need the unpacking software

Manu11 said:
I want to unpack boot.img of my phone, i did it earlier when i was in kitkat but now after upgrading to lollipop that method doesnt work..
Click to expand...
Click to collapse
Unpack with Android kitchen

ravi.vydianathan said:
@Manu11, are you referring to extracting the boot.img from the firmware?
Click to expand...
Click to collapse
mohamed786 said:
I can't catch u while do u want to extract boot.IMG from device
R do u need the unpacking software
Click to expand...
Click to collapse
No no i wanna unpack boot.img so i can change its contents or in simple way create a insecure boot.img

@Manu11, I have seen few such tools but frankly I have no idea and no experience in this regard.

Manu11 said:
No no i wanna unpack boot.img so i can change its contents or in simple way create a insecure boot.img
Click to expand...
Click to collapse
there are a lot of guides available for unpacking and repacking a boot.img a simple google search would have helped u

Bass_Face said:
there are a lot of guides available for unpacking and repacking a boot.img a simple google search would have helped u
Click to expand...
Click to collapse
I unpacked my boot.img with android kitchen, but on recompiling its size went 5mb less and on flashing it directly enters fastboot.

The android kitchen is no longer continued from 2011, so the binaries haven't been updated since then.
I suggest you use "android image kitchen"

Related

[Q]Want to change "Fitdroid" text that appear b4 boot animation

I recently installed that fitdroid 2.0 rom with KPL firmware... And I just dont want that image of fitdroid that comes before boot animation.can we change that too??? Thx b4 for your attention all.
Not very hard...just flash with the boot.img of original KPL !!
Hey,thanks for the solution partyush. But how do i flashed it? With Odin? Could u please explain it to me step by step? And if i did the flashing with original KPL,will it destroy data on my phone or not? Thanks
pratyush.creed said:
Not very hard...just flash with the boot.img of original KPL !!
Click to expand...
Click to collapse
OK,now i'm really need help on how to do that (if it's really possible). I already did extracting the zip archive of the fitdroid so i can see the boot.img and then i replaced it with another boot.img from other FW (including CM7 and original KPL) then i make zip with winrar,copy it to my sdcard and install via CWM (succesfully). The result is the logo before bootanimation changed and then it's stuck,it won't go trough the bootanimation. I really curious ,is there's a special way on creating zip archive or it' just not possible to insert another boot.img to archive?
And then i found this thread http://forum.xda-developers.com/showthread.php?t=654042 it's HTC Eris thread,so can i apply this on Fit? Sorry for my english and many thanks for your attention
Extract the boot.img ! There u wil find beni.rle ! Convert the .rle file to png format. Then compile the boot.img ! Then ur done!
Feras.Rehman said:
Extract the boot.img ! There u wil find beni.rle ! Convert the .rle file to png format. Then compile the boot.img ! Then ur done!
Click to expand...
Click to collapse
That's what I'm having difficulities the most HOW is exactly I can Extract the boot.img?
Thx 4 the respond anyway,this is the first question when I'm joining xda
shinee_melancholy said:
That's what I'm having difficulities the most HOW is exactly I can Extract the boot.img?
Thx 4 the respond anyway,this is the first question when I'm joining xda
Click to expand...
Click to collapse
Do it with dsixda kitchen!

[Q] Need help

How to unpack boot.img for micromaxA116 stock rom. because i cannot install megaHD rom to my device
shahib02 said:
How to unpack boot.img for micromaxA116 stock rom. because i cannot install megaHD rom to my device
Click to expand...
Click to collapse
I'm on a doubt whether you meant unpacking or extracting boot.img. Anyways if its unpacking -> you can use Ketut Kumajay's boot.img unpack/repack tools or dsixda's Android kitchen etc.
If you meant extracting boot.img -> you can get it by taking a Nandroid backup in CWM recovery and extracting from it.
Thanks guy
shahib02 said:
Thanks guy
Click to expand...
Click to collapse
Theres a thanks button on the bottom left of his post

Micromax A110 Boot.img

Hello,
I'm newbie so want to know where I get Boot.img & how to Add Boot.img into custom ROM.
Thanks in advance
Try this!
HemZone said:
Hello,
I'm newbie so want to know where I get Boot.img & how to Add Boot.img into custom ROM.
Thanks in advance
Click to expand...
Click to collapse
Hi,
Try this,
http://forum.xda-developers.com/showthread.php?t=2040828
http://forum.xda-developers.com/showthread.php?t=2464030
HemZone said:
Hello,
I'm newbie so want to know where I get Boot.img & how to Add Boot.img into custom ROM.
Thanks in advance
Click to expand...
Click to collapse
Welcome Bro,
Its simple. Download any rom which is without boot.img in it. The file will be in .zip format. Just install Winrar into ur computer. Download any boot.img files you like from this page Here. then open the Rom file which doesn't contain boot .zip file using winrar. Click on "ADD" button and select the boot.img file you downloaded. Thats all you now have the rom with boot.img file in zip format dont save because you need not to, its already saved . Make a backup of all your files and Kindly follow all instruction from Developer. ( MY Suggestion:-download one more different ROM because if one rom fails then you can try to install another )
Please correct me if I have said anything wrong. :highfive:

Android DAT/IMG File Unpack and Repack V 2.0

This is a thread on how to unpack and repack the system.img.dat file of your Android Rom,to see its content.
Starting from Android 5.x (Lollipop) Custom roms are not compressed like on previous android versions. Earlier all Files were inside the /system folder.And we were able to see all the system files
The problem started in >=5.0 versions because rom size increased and it was necessary to highly compress them again.
You Must Have Following Files Installed in your PC
1. Java SDK = Click here to download java
2. Python 2.xxx= Click here to download Python
How to decompress /Repack these files? Its Sipmle !!
Follow the Instructions Below To do that.
Download the Android Unpack Repack adithyan25.rar from here
Or you can download it from attachments
Run The File And Follow The Instructions As on screen. :good:
Video Tutorial
Special Thanks @xpirt
If you are a good Programmer You Can follow his method .View His Method here
If you Have any doubts or Enquired post in the Comment section
I got an error while repacking the system.img
"Input-IMG\file_contexts: No such file or directory"
Please help.
AmeyRanberg said:
I got an error while repacking the system.img
"Input-IMG\file_contexts: No such file or directory"
Please help.
Click to expand...
Click to collapse
did you copy the files to the creard folder!??... watch the video
adithyan25 said:
did you copy the files to the creard folder!??... watch the video
Click to expand...
Click to collapse
The rom that I had, only had system.img boot.img and those older folders. It didnt have file_contexts. But later I extracted it from boot.img and it worked thanks anyway.
AmeyRanberg said:
The rom that I had, only had system.img boot.img and those older folders. It didnt have file_contexts. But later I extracted it from boot.img and it worked thanks anyway.
Click to expand...
Click to collapse
Great And thank u for trying my app
I falied system.img repacked
Hi~
I wateched your video.
So I succeed system.img unpacked.
But, I tried system.img repack. I failed.
Why failed? T.T
Start Repacking in system.img......
please wait......
Input-IMG\file_contexts: No such file or directory
critical error: main: failed to open input image : No such file or directory
did u copy fule_contexta
Similar to my friends.
http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
same the tool I make http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Kritsada Chaitan said:
same the tool I make http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Click to expand...
Click to collapse
yeah tanks for the info... i made this tool using xpirt post and a screen shot of a software that i saw in google... any way great wrks... i made this through java..
AmeyRanberg said:
The rom that I had, only had system.img boot.img and those older folders. It didnt have file_contexts. But later I extracted it from boot.img and it worked thanks anyway.
Click to expand...
Click to collapse
deleted
adithyan25 said:
did u copy fule_contexta
Click to expand...
Click to collapse
what is file_contexta?
I dont understand..
same here. failed while repack
critical error: main: failed to open input image: No such file or directory
its a file along with the rom that you get.. just watch the video
Sent from my ASUS_Z00A using XDA-Developers mobile app
Problem/
No file " system transfer list". Where to get it? Firmware is given under SPFT.
hi @adithyan25
I'm so interested with this topic.
I tried but still stuck on file_context
please also make written tutorial on this thread.
kevin mitnick said:
hi @adithyan25
I'm so interested with this topic.
I tried but still stuck on file_context
please also make written tutorial on this thread.
Click to expand...
Click to collapse
didnt you watch the video??? i think it had all the component you nedd.. still any prblm cmnt below
Sent from my ASUS_Z00A using XDA-Developers mobile app
adithyan25 said:
didnt you watch the video??? i think it had all the component you nedd.. still any prblm cmnt below
Sent from my ASUS_Z00A using XDA-Developers mobile app
Click to expand...
Click to collapse
i did.
but on video, tutorial about dat file..
Still unable to repack the dat.
Windows says rimg2sdat is not a valid Win32 application.
It works under Windows 7 at work but not under Windows XP Pro like I have at home.
Someone got another version? Is there a XP compatible version of rimg2sdat?
Thanks
Kritsada Chaitan said:
same the tool I make http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Click to expand...
Click to collapse
Thanks to the original work-works correctly!
Working perfectly with Android 6.0.1, Thanks Dev !!

Help: Extracting ROM, zips, and .img

Hi
i want to know if there is a way to extract and repack the OP6 rom
i found a way to extract the zip into .img files, and found a program that can extract the .img files into standard files/folders
but i still have yet to find a way to repack the files back into a .img to flash via fastboot
can anyone help please.
The best tool is currently Super R's kitchen. Great guy and great Dev, you should support his work.
https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
mdl054 said:
The best tool is currently Super R's kitchen. Great guy and great Dev, you should support his work.
https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
Click to expand...
Click to collapse
ive tried this method, doesnt work
I use http://ext2read.blogspot.com/
Ohh, you want to pack the img again, i think linux is the easiest way to go forward.
virtyx said:
ive tried this method, doesnt work
Click to expand...
Click to collapse
Where are you getting stuck? I've had no issues personally
edit* Just checked, working on OnePlus6Oxygen_22_OTA_012_all_1806140300_e4bacf signed zip
you can extract the payload.bin with payload extracter:
windows:
http://www.mediafire.com/file/cx4oodbclxibjf3/payload_dumper-win64.zip/file
WSL / Linux:
https://gist.github.com/ius/42bd02a5df2226633a342ab7a9c60f15
matze19999 said:
you can extract the payload.bin with payload extracter:
windows:
http://www.mediafire.com/file/cx4oodbclxibjf3/payload_dumper-win64.zip/file
WSL / Linux:
https://gist.github.com/ius/42bd02a5df2226633a342ab7a9c60f15
Click to expand...
Click to collapse
I want to repack an IMG file
mdl054 said:
Where are you getting stuck? I've had no issues personally
edit* Just checked, working on OnePlus6Oxygen_22_OTA_012_all_1806140300_e4bacf signed zip
Click to expand...
Click to collapse
I'll try again once I'm behind a PC
were you able to repack an IMG file?
virtyx said:
I'll try again once I'm behind a PC
were you able to repack an IMG file?
Click to expand...
Click to collapse
Yes, the tool extracts payload.bin and further extracts boot.img, system.img, vendor.img etc and allows you to work on them and will repack them after :highfive:
mdl054 said:
Yes, the tool extracts payload.bin and further extracts boot.img, system.img, vendor.img etc and allows you to work on them and will repack them after :highfive:
Click to expand...
Click to collapse
fingers crossed
then we can finally have a decrypt base with no avb on partitions, I'll try this soon, do you mind if I PM you if I get stuck?
do I *need* to donate?
I'll help if I can but it's Super R's work and I'm sure he is more than happy to help if you get stuck.

Categories

Resources