In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Xiaomi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .

Redmi Note 8/Pro/8T

[Tips] Unpack/Repack Boot/Recovery/Kernel Images With Android Image Kitchen

2019-10-22 11:03:43
22760 62

Hei MIUI-ers,

What is this all about? Android Image Kitchen is simple a tool to unpack/repack a boot/recovery image.

Best practice is to edit simple text files inside this app while exporting image/binary/big text files to local storage and edit them with your favorite tools such as "Notepad++", "DroidEdit" or "Hex Editor" then import them back. By doing this, you are effectively replacing the original files with pertaining file permissions. Flash the boot/recovery image with apps such as "Flashify" or TWRP to replace existing images for your personal testing to do flashing. Further than that, it is for your imagination.

Our project for this session is how to cook "Boot.img" to make it functional for our TWRP 3.3.1-9 to be flashed in our Redmi Note 8 Pro. This is done on Kenzo images which had the same ordeal with Begonia. Keep in mind, boot.img is unique only to the boot.img of the current Rom installed on the device and none other.

1. Download the Android Image Kitchen Tool then extract.
2. Download kenzo_images_6.3.17_20160129.0000.14_5.1_cn and extract, locate the raw boot.img from the related extracted ROM folder and move it to the Android Image Kitchen folder.

3. Right click & hold, on the "Boot.img" file and move & place it onto unpackimg.bat file and proceed with the on-screen message to "Run" which will create a "Ramdisk" as shown below:-

4. Next goto ramdisk directory and locate fstab.qcom file, as shown below:-

5. Use any text editor to open fstab.qcom file, then use the Find function to find any value containing "Verify" and delete with care, and save it accordingly, as shown below:-


6. Now we need to repack the modded boot.img file, double-click to execute "repackimg.bat" hence it will generate a new boot file as "image-new.img" as shown below:-

7. Now you are done with a Modded boot.img image with the modification required to complete your task of TWRP flashing or whatever your project is.

DISCLAIMER: DO ON YOUR OWN RISK. Flashing can potentially bricked or bootloop your device.

"Solving with simplicity"


Number of participants 5 Experience +38 Pack Reason

View Rating Log

2019-10-22 11:03:43
Favorites49 RateRate

Grand Master Bunny

Seragios | from Redmi 5


Thanks for Sharing
2019-10-22 11:18:21

Wizard Bunny

BeingBishal | from MI 9 SE


Helpful Tutorial!
2019-10-22 12:22:51

Master Bunny

Joshxp | from Redmi Note 5


Thanks for sharing
2019-10-22 12:28:01

Pro Bunny

RaqeebHasan | from app


nice information
2019-10-22 12:47:25

Grand Master Bunny

pui07 | from Redmi 5 Plus


thanks for information
2019-10-22 14:13:37

Wizard Bunny

1860bodo | from Redmi Note 5


thanks for information
2019-10-22 17:59:01

Master Bunny

tZe_vitamin | from Redmi Note 8 Pro


is this can help us with easier unbrick phones?
2019-10-22 22:06:59

Wizard Bunny

iMKajal | from MI 8


Useful Guide!
2019-10-22 23:28:54

Wizard Bunny

Ian Adoe | from Redmi Note 5A Prime


nice info, thanks
2019-10-22 23:45:49
please sign in to reply.
Sign In Sign Up


Super moderator

3 Days Check-In
7 Days Check-In
21 Days Check-In
40 Days Check-In
70 Days Check-In
100 Days Check-In
New Home
Cast Away
20K Mi Fans
Android Q
Mobile Photography Lover
70K Mi Fans
Eid ul-Fitr Mubarak
Brain Teaser
100K Mi Fans
Selfie Day
Happy July
Mi 9T
Global Fans
My Country My Pride
Mi 9 SE
Check in
Profile Medal
MIUI 9th Birthday
Global Community
Dirgahayu ke-74 Indonesia
80K Medal
wallpaper votes
Redmi 7A
better together slogan
Global Community
device poll
better together with friends
games discuss
Mid-Autumn Festival
200K Mi Fans
400K Mi Fans
300K Mi Fans
500K Mi Fans
step up
close up
All-Star Battle
Best Photo
Answer Mi #3
Redmi Note 8 Series
Design Together
10 years
K2K #3
design wallpaper
First Anniversary
Mi Gamers' Medal
10th mi fan stories
K2K #4
10 years
Mitu Shares Vol.1
Music Medal
Valentine's Day Medal
Spider-Man Online Event

Read moreGet new

Xiaomi Comm APP

Stay updated on Mi Products and MIUI

Copyright©2010-2021, All Rights Reserved
Quick Reply To Top Return to the list