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 Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .
Agree

Redmi Note 8/Pro/8T

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

2019-10-21 23:03:43
9747 60

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.

Steps:-
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:-

,verify


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"



Rate

Number of participants 5 Experience +38 Pack Reason

View Rating Log

2019-10-21 23:03:43
Favorites47 RateRate

Grand Master Bunny

Seragios | from Redmi 5

#1

Thanks for Sharing
2019-10-21 23:18:21

Moderador

BeingBishal | from MI 9 SE

#2

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

Master Bunny

Joshxp | from Redmi Note 5

#3

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

Pro Bunny

RaqeebHasan | from app

#4

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

Grand Master Bunny

pui07 | from Redmi 5 Plus

#5

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

Grand Master Bunny

1860bodo | from Redmi Note 5

#7

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

Master Bunny

tZe_vitamin | from Redmi Note 8 Pro

#8

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

Resource Team

iMKajal | from MI 8

#9

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

Wizard Bunny

Ian Adoe | from Redmi Note 5A Prime

#10

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

feds64

Super Moderador

  • Followers

    1710

  • Threads

    200

  • Replies

    2511

  • Points

    257479

Check-in 3 jours
Check-in 7 jours
Check-in 21 jours
New Home
Cast Away
20K Mi Fans
Android Q
Mobile Photography Lover
70K Mi Fans
Challenger
Eid ul-Fitr Mubarak
Brain Teaser
100K Mi Fans
Selfie Day
Happy July
Mi 9T
Global Fans
My Country My Pride
Mi 9 SE
Like
Check in
Reply
Favorites
Post
Profile Medal
MIUI 9th Birthday
Global Community
Dirgahayu ke-74 Indonesia
80K Medal
wallpaper votes
500
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
2020
500K Mi Fans
MIUI 11
step up
close up
All-Star Battle
Halloween

Read moreGet new
Copyright©2010-2020 Xiaomi.com, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list