[Guide] [WINDOWS] Easily Port Boot.img - With Screenshots

Download the software from below link and copy to a new folder . example : boot_edit

Click Here To Download

Copy your stock boot.img to the "boot_edit" folder

Open " Boot_edit " folder then Press SHIFT + RIGHT BUTTON .
If you are one windows 7 , then try  CTRL + RIGHT BUTTON
.
Select " Open command window here "


undefined




Write down or copy-paste this code to the CMD window and press Enter

bootimg.exe --unpack-bootimg boot.img


undefined


Now you have unpacked your boot.img !



undefined


Now copy everything except Bootimg.exe (the app) to a new folder .  example : stock boot

Now copy your boot.img from Port rom ( the rom u want to port ) to "Boot_edit" folder and unpack boot.img (Same way you unpacked stook boot.img )


After completing unpack operation , Replace a file called "kernel " from your stock boot to port boot.img


undefined



In some case , if you get a bootloop , replace a file from stock to port called " ueventd.rc " too . (boot_edit/initrd/ueventd)

Credit : All Time Hitz

For Cross Porting Only (mediatek)  :  (ignore it if you are porting from same sock )

Open init.rc with Notepad++ and press CTRL + F
And write down your port rom's chipset  version .
If you are porting a rom from 6592 to 6582
Then search with "6592" and replace them with 6582 . Then save it .

undefined



Now It's time to repack your Boot.img .

Write down or copy-paste this code to CMD and press Enter

bootimg.exe --repack-bootimg

You are done !! You will get a file called " boot-new " . This is your patched boot.img .

undefined




Software Credit - Cofface .


Share This Page If You Like It .   

Featured post

[PORT][Stable][7.1.1]Moto Stock Rom for Moto G3 [Volte]

Warning ! The rom is based on soak test builds of moto x play and g4 play and kernel is of firelord's, fire kernel. Stock nougat is sti...