./mkboot name.img namefolderout
EXAMPLE
./mkboot recoveryksuamg5.img ksuamg
Unpack & decompress recoveryksuamg5.img to ksuamg
kernel : /home/xiaolu/work/initramfs/s4/e330s/ksuamg5/zImage
ramdisk : /home/xiaolu/work/initramfs/s4/e330s/ksuamg5/ramdisk.gz
page_size : 2048
base_addr : 0x00000000
kernel size : 6911360
kernel_addr : 0x00008000
ramdisk_size : 2685222
ramdisk_addr : 0x02000000
second_size : 0
second_addr : 0x00f00000
dtb_size : 1427456
tags_addr : 0x01e00000
cmdline : console=null androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F
Unpack completed.
./mkboot namefolderout newimgname.img
EXAMPLE
./mkboot ksuamg5 recovery.img
mkbootimg from ksuamg5/img_info.
kernel : /home/xiaolu/work/initramfs/s4/e330s/ksuamg5/zImage
ramdisk : /home/xiaolu/work/initramfs/s4/e330s/ksuamg5/new_ramdisk.gz
page_size :
base_addr : 0x00000000
kernel size : 6911360
kernel_addr : 0x00008000
ramdisk_size : 2685222
ramdisk_addr : 0x02000000
second_size :
second_addr :
dtb_size : 1427456
dtb_img : dt.img
tags_addr : 0x01e00000
cmdline : console=null androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F
Kernel size: 6911360, new ramdisk size: 3416778, recovery.img: 11759616.
recovery.img has been created.
...
yourkernelsources/scripts/dtbTool -s 2048 -o arch/arm/boot/dt.img -p scripts/dtc/ arch/arm/boot/
EXAMPLE
SHV-E330S_JB_Opensource/Kernel$ scripts/dtbTool -s 2048 -o arch/arm/boot/dt.img -p scripts/dtc/ arch/arm/boot/
DTB combiner:
Input directory: '/media/diskd/kernel/SHV-E330S_JB_Opensource/Kernel/arch/arm/boot/'
Output file: '/media/diskd/kernel/SHV-E330S_JB_Opensource/Kernel/arch/arm/boot/dt.img'
Found file: msm8974-sec-ks01-r03.dtb ... chipset: 2114015745, platform: 3, rev: 0
Found file: msm8974-sec-ks01-r07.dtb ... chipset: 2114015745, platform: 7, rev: 0
Found file: msm8974-sec-ks01-r06.dtb ... chipset: 2114015745, platform: 6, rev: 0
Found file: msm8974-sec-ks01-r04.dtb ... chipset: 2114015745, platform: 4, rev: 0
Found file: msm8974-sec-ks01-r11.dtb ... chipset: 2114015745, platform: 11, rev: 0
Found file: msm8974-sec-ks01-r02.dtb ... chipset: 2114015745, platform: 2, rev: 0
Found file: msm8974-sec-ks01-r00.dtb ... chipset: 2114015745, platform: 0, rev: 0
Found file: msm8974-sec-ks01-r05.dtb ... chipset: 2114015745, platform: 5, rev: 0
Found file: msm8974-sec-ks01-r01.dtb ... chipset: 2114015745, platform: 1, rev: 0
=> Found 9 unique DTB(s)
Generating master DTB... completed
dtbToolCM -s 2048 -d "htc,project-id = <" -o arch/arm/boot/dt.img -p scripts/dtc/ arch/arm/boot/
You should upgrade or use an alternative browser.
How to unpack and repack boot.img full guide by Jai Sharma
-
Thread starterjai44
-
Start date
-
#1
For Windows user
1. Download CarlivImageKitchen from here http://xdaforums.com/attachment.php?attachmentid=3798926&d=1467275078
all credit goes to bluefirebird http://xdaforums.com/member.php?u=5186178
2. extract it using 7zip or similar program
3.. Put your boot.img in boot-resources folder
4. Double click carlive batch file
now select B and Enter
Now choose your boot.img and enter
5. To unpack it type 1 and Enter
that’s it. now you can find extract boot.img in boot folder. type enter for continue and keep this window open if you want to repack it again after
making change in boot folder
edit your files in boot folder and for repacking it again keep reading
Repacking
type 2 for repacking
now you can find you new boot.img in output folder
For Linux user
i am using ubuntu as my linux machine
1. Download Boot.img Tool from here https://github.com/jsharma44/bootimg-tools
2. cd bootimgtools
Type following in terminal
./unpackbootimg -i «boot.img path»
For example
./unpackbootimg -i /home/user/Desktop/boot.img
find your files in bootimgtools
I hope you like it. Please visit my website http://azodik.com/ for more interesting guide
Thank You
Last edited:
-
#2
Extracting boot.img from your device
What we need
1. A rooted phone
2. Enable Usb Debugging in Developer Mode
3. ADB command knowldge
connect your phone via usb cable ensure that usb debugging is enabled
open terminal and type adb devices
if it is showing your device’s serial no than we are ready to go
C. type
adb shell
su
ls -l /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name
please note this command may vary by device to device. What we are doing here we want to know partition scheme of your device.
note down block name of /boot partition
example it will be like boot -> /dev/block/mmcblk0p7
d. type this
dd if=/dev/block/mmcblk0p7 of=/sdcard/boot.img
now boot.img succesfully transfered to your SD card Copy it to your Desktop
-
#3
1. Connect your phone to computer with USB debugging enabled
2. Type following command to check
adb devices
if it is showing your device’s serial no then go to step 3. If not then make sure drivers are installed for your device.
3. To pull system folder use following command
adb pull system
it will pull system folder to your current adb directory. If you want to pull it to some specific directory use following command
adb pull system «output directory»
Example
1. adb pull /system C:/Users/user_name/Desktop/ (For Windows)
2.adb pull /system /home/user/Desktop (for linux)
-
#4
-
#5
Your link to Windows zip is no longer there. Getting a 410 error
link updated..Please check now. Thanks for pointing out it
-
#6
How to unpack and repack boot.imgFor Windows user
1. Download CarlivImageKitchen from here http://xdaforums.com/attachment.php?attachmentid=3798926&d=1467275078
all credit goes to bluefirebird http://xdaforums.com/member.php?u=5186178
2. extract it using 7zip or similar program
3.. Put your boot.img in boot-resources folder4. Double click carlive batch file
now select B and Enter
Now choose your boot.img and enter
5. To unpack it type 1 and Enter
that’s it. now you can find extract boot.img in boot folder. type enter for continue and keep this window open if you want to repack it again after
making change in boot folderedit your files in boot folder and for repacking it again keep reading
Repacking
type 2 for repacking
now you can find you new boot.img in output folder
For Linux user
i am using ubuntu as my linux machine
1. Download Boot.img Tool from here https://github.com/jsharma44/bootimg-tools
2. cd bootimgtools
Type following in terminal
./unpackbootimg -i «boot.img path»
For example
./unpackbootimg -i /home/user/Desktop/boot.img
find your files in bootimgtools
I hope you like it. Please visit my website http://azodik.com/ for more interesting guide
Thank You
Your link no longer exists. I want to download the software to Windows. I would love for you to update the link. Thank you!
Similar threads
[Development] How to unpack & repack boot.img or recovery.img using Carliv
[Development] How to unpack & repack boot.img or recovery.img using Carliv
49,851
This is a step-by-step guide on how to use carliv image kitchen to unpack & repack boot.img or recovery.img. It will come in handy for those who wish to port a custom recovery
Requirements
- Download Carliv Image Kitchen depending on your PC’s architecture (32 or 64 Bit)
- Windows PC
Steps to unpack and repack a recovery image (recovery.img) and boot image (boot.img)
Follow the steps below to use Carliv Image Kitchen in unpacking & repacking recovery or boot
How to unpack boot.img
- Extract the CarlivImage Kitchen zip file into a folder on the PC
- Copy the boot.img into the boot-resources folder
- Go back to the root folder and double-click carliv.bat
- Type b then press Enter
- Type 1 then press Enter
- Type 1 then press Enter
- Wait till unpacking is done then press Enter
- You should find the unpacked boot.img in the boot folder
How to repack boot.img
- Go back to Carliv Image Kitchen, type 2 then press Enter
- Wait till repacking is done then press Enter
- You should find the repacked boot image in the output folder. You can rename it to boot
How to unpack recovery.img
- Copy the recovery.img into the recovery-resources folder
- Go back to the root folder and double-click carliv.bat
- Type r then press Enter
- Type 1 then press Enter
- Type 1 then press Enter
- Wait till unpacking is done then press Enter
- You should see the unpacked recovery.img in the recovery folder
How to repack recovery.img
- Go back to Carliv Image Kitchen, type 2 then press Enter
- Wait till repacking is done then press Enter
- You should see the repacked recovery image in the output folder. You can rename it to recovery
Important Notice
- Ensure to name the file appropriately i.e as either boot.img or recovery.img
- This will work for -verified.img files, just remove the -verified portion from the file name
- You might encounter an error unpacking signed images i.e boot-sign.img or recovery-sign.img. For such images, you first need to unsign before unpacking
- For images in .bin format, simply rename the extension from .bin to .img
- There are many other tools to unpack and repack Android images so feel free to explore
This post was last modified: 11-02-2024, 04:23 PM by hovatek.
1
Hi, i have problem, i’m trying unpack Huawei Honor 8 (FRD-L19) boot.img, when i try unpack i just get
Your image: boot.img
Create the boot folder.
Android boot magic not found.
Compression used: ~1
~1file-ramdisk-compress»
Unpacking the ramdisk….
The system cannot find the batch label specified — ~1
Press any key to continue . . .
please help.
49,851
(27-06-2018, 12:05 AM)SuomiPelaajaa Hi, i have problem, i’m trying unpack Huawei Honor 8 (FRD-L19) boot.img, when i try unpack i just get
Your image: boot.img
Create the boot folder.
Android boot magic not found.
Compression used: ~1
~1file-ramdisk-compress»Unpacking the ramdisk….
The system cannot find the batch label specified — ~1
Press any key to continue . . .please help.
It seems your boot is signed. Unsign using https://www.hovatek.com/forum/thread-21005.html
1
hi, i have problem to unpack recovery files
i get this when try unpack
«/recovery.img-ramdisk.gz: cpio: license/openaes: Cannot change mode to rwxr-xr-x: Permission denied»
what should i do next?
49,851
(01-02-2019, 01:55 AM)abdisohad hi, i have problem to unpack recovery files
i get this when try unpack
«/recovery.img-ramdisk.gz: cpio: license/openaes: Cannot change mode to rwxr-xr-x: Permission denied»
what should i do next?
create a new thread so we’ll focus on this
see https://www.hovatek.com/forum/thread-514.html for how to create a thread
12
I have firmware OTA update for vivo y71…
I want to find recovery.img from OTA firmware, but nothing recovery.img is found, only recovery-resource.dat and install-recovery.sh
How to unpack that’s 2 files recovery for got recovery.img for ported twrp?
49,851
(28-03-2021, 06:10 AM)bontersoft I have firmware OTA update for vivo y71…
I want to find recovery.img from OTA firmware, but nothing recovery.img is found, only recovery-resource.dat and install-recovery.sh
How to unpack that’s 2 files recovery for got recovery.img for ported twrp?
Those won’t do. If the OTA contains a boot.img then that might do
Users browsing this thread:
1 Guest(s)
Users browsing this thread:
1 Guest(s)
Introducing To my devs A gui batch tool to unpack and repack Bootimg with also sign ,
Requirements
1.A boot.img (ofc)
2.Disabled antivirus
3.Windows xpsp3-windows 10
4.Brains
5.Twrp
6.A rooted Phone
7.A Backup of your phone
Now why this tool
To unpack and repack with also sign Boot.img safely And is Fast too and also Safe
FAQ(Frequently asked questions)
1.I need a video on how to use this tool
Video is above
2.Will the APP port my Bootimage
No.only pro version of the software can do it
3.Do i need to Backup My phone
YES .
For Mtk65xx You can use Mtkdroidtools
For mtk67xx you can use
https://www.chinaphonearena.com/forum/showthread.php?tid=11542
For snapdragon
https://forum.xda-developers.com/ge…w-to-backup-qualcomm-phone-root-t3570178/amp/
4.should i flash boot.img with phone with No baseband
Never
5.will it work on all phones
No
6.How do i get Twrp for My phone
http://twrp.me/app/
or you can Port
7.How to root my phone that has TWRP installed
http://www.supersu.com/download
8.Will Signing boot.img Crash my phone
No,But if done wrongly
9.Need screenshot
check below
10.Need to contact the creator
t.me/jesusboy12345
11.It doesnt Extract my bootimg
either your Bootimg has .so files inside that it cant unpacK or you didnt disable antivirus and run as administrator or your boot.img is corrupted
12.Is this opensource
No.
13.How many seconds does it take to unpack
IN pentium 4 it can take 20seconds to unpack
Notes
1.If you Port your Boot.img Your self You are at Your own Risk dont say it unpacked and the app Brick your phone u will hold your self responsible
2.if any issues you can contact the creator above
3.Never flash boot.img in a phone with no baseband/imei etc and Make sure you backup your phone properly
《Phone tested》
1.Xolo q800
2. Xiaomi Redmi note 5
3.Coolpad 7295
4.Spice mi 515
5.Tecno phantom 5
6.Infinix x510
7.coolpad 8297
link to download
https://drive.google.com/open?id=1n8Ik6lDJ22-B903G4tnvgiJ-nBnaUUzx
Credits/Github
1@jesusboy12345 in telegram
2.https://github.com/Waitlan/mkbootimage-and-bootsigner
3.@bcrichster ,@Unforgiven @GameTheory for teaching me how to write thread with Android forums
Paypal link〓 Paypal.me/speedevs
Signature
always on amphetamines turbo power
-
Screenshot (129).png
64.8 KB
· Views: 495
Date
March 23, 2021
Download the latest version of IMG Extractor Tool 2.6.3 (Updated) with the fastest and one-click direct download link, and learn about its uses and features.
- What is the img extractor tool?
- How to use the img extractor tool?
- Images of the img extractor tool.
- What are the contents of the img extractor tool files?
- Additional information of the img extractor tool.
- Download link of img extractor tool.
What is the img extractor tool?
IMG Extractor Tool is a freeware program developed by Mr. Hau, and it’s compatible with Windows operating systems. The previously released name of this tool is MTK Extractor but after version 2.2, the name has been changed to IMG Extractor and the feature of this tool is that it can unpack or repack the system.new.dat, system.img, boot.img, and recovery.img image files. And below is a list of features of this tool.
- Extract System.new.dat
- Extract System.img
- Build System.new.dat
- Build System.img
- Unpack Boot.img
- Repack Boot.img
- Unpack Recovery.img
- Repack Recovery.img
How to use the img extractor tool?
To compile or decompile the system, boot, and recovery image files of firmware files, you need to download and extract this tool from the links below and then follow the steps below.
- Launch the program setup «MTK Extractor.exe» file as administrator.
- Go to the Firmware (for System Files), Boot, or Recovery tab of the file you want to unpack.
- Click the «Browse» button and select the image file you want to unpack, and then click the «Start» button.
- As soon as you click the «Start» button, the tool will start unpacking the image file and save the unpacked files to the folder where the program is located.
- If you want to repack all these unpacked files in the image file, then select the folder where the files are located in the «Repack«/»Build Firmware» Browse option and click on the «Start» button. The tool will start the file repacking process and save the file in the actual folder of the program.
Note: You must ensure that you disable anti-virus and all other virus protection programs from your computer system before extracting the compressed file. Otherwise, the program file will be deleted automatically, or the program will not work properly.
Images of the img extractor tool.
You can see different images of this tool by sliding from the image slider below.
What are the contents of the img extractor tool files?
You can see each file’s contents and its type from the content-box of the following file; in some cases, you have to move the scroll up and down to check all the file names and extensions.
-IMG Extractor V2.6.3 tool MTK Extractor.exe -tool bootimg.exe cyggcc_s-1.dll cygpcre-1.dll cygwin1.dll cygz.dll fciv.exe img2simg.exe Imgextractor.exe make_ext4fs.exe msvcr100.dll rimg2sdat.exe sdat2img.exe simg2img.exe -IMG Extractor V2.6.2 tool MTK Extractor.exe -tool bootimg.exe cyggcc_s-1.dll cygwin1.dll cygz.dll Imgextractor.exe make_ext4fs.exe msvcr100.dll python34.dll rimg2sdat.exe sdat2img.exe simg2img.exe sprs2ext.exe -IMG Extractor V2.6.1 file_contexts tool MTK Extractor.exe -file_contexts mt6572 mt6582 mt6592 mt6735 mt6752 mt6753 mt6795 file_contexts -mt6582 file_contexts -mt6753 file_contexts -tool bootimg.exe cyggcc_s-1.dll cygwin1.dll cygz.dll Imgextractor.exe make_ext4fs.exe msvcr100.dll python34.dll rimg2sdat.exe sdat2img.exe size.txt -MTK Extractor V2.2 tool file_contexts MTK Extractor.exe size_input.txt -tool cyggcc_s-1.dll cygwin1.dll cygz.dll Imgextractor.exe make_ext4fs.exe msvcr100.dll sdat2img.exe
Additional information of the img extractor tool.
You can find additional information about this tool in the table below. If you believe there is an error in any of the information provided in this post, you can let us know via the contact page or our email address contact.gsmware@gmail.com. We will be grateful to you for that.
Name | Information |
---|---|
Program | IMG Extractor |
Type | .EXE (Portable) |
Version | 2.6.3 (Updated) |
Size | 9.85 MB |
Updated | Tuesday, March 23, 2021 |
Views | |
Downloads | |
Price | 0$ Free |
Developer | Mr. Hau |
Category | Free Tools |
Compatibility | Windows XP, 7, 8, 10 |
Password |
www.gsmware.com
Copy |
Download link of img extractor tool.
You can download the compressed RAR file of this tool from the link below and extract it with at least version 5.5 or later of the WinRAR program.
Download old version:
IMG Extractor V2.6.2.rar | 13.5 MB | |
IMG Extractor V2.6.1.rar | 10.5 MB | |
MTK Extractor V2.2.rar | 5.15 MB |
The default password for compressed files is «
www.gsmware.com
«.