[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 on windows 7 , then try  CTRL + RIGHT BUTTON
.
Select " Open command window here "






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

bootimg.exe --unpack-bootimg boot.img



Now you have unpacked your boot.img !





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





In some case , if you get a bootloop , replace a file from stock to port called " ueventd.rc " too . (boot_edit/initrd/ueventd)
* Replace this file to port cm12.1 / Miui v7

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 .




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 .





Software Credit - Cofface .


Share This Page If You Like It .   

Contact me :  Minhaz Ahmed Muhe




51 comments

very good tutorials, I hope one for carrying miui v6 mtk6582 Thanks

Reply

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

than what admin.???whts is next step??

Reply

Very very helpfull for me....Many MAny tnx

Reply

share our blog and stay tuned

Reply

How to port rom from mtk6592 to mtk6582 pro. Thank you

Reply

Sir,please give me tutorial for port boot.img Yun Os Mtk6589 to Mtk65777,thanks Sir

Reply

Sir,please give me tutorial for port boot.img Yun Os Mtk6589 to Mtk65777,thanks Sir

Reply

yes u can , with apktool / boot img editor for mobile , google it

Reply

I can't repack, IOError Errno2 No such file or directory cpiolist.txt

Reply

Hey bro can I port 4.2.2 to 4.4.2 boot IMG

Reply

thank you very much...you help me alot...

Reply

this is a very Informative post, I am Glad to read this.
APK Apps Free Downloads | Chef Story App

Reply

Please, how do I replace fstab.rc and storage lines from init65xx.rc ?

Reply

C:\Users\Naveen\Downloads\bootimg>bootimg.exe --unpack-bootimg boot.img
arguments: [bootimg file]
bootimg file: boot.img
output: kernel[.gz] ramdisk[.gz] second[.gz]
Traceback (most recent call last):
File "", line 2205, in
File "", line 1416, in unpack_bootimg
File "", line 151, in parse_bootimg
AssertionError: invald bootimg


Showing this error every time......!

Reply

it's not working for me sir. endlessly tried and it brings the following error


C:\bootimg>bootimg.exe --repack-bootimg
arguments: [cpiolist file]
cpiolist file: cpiolist.txt
output: ramdisk.cpio.gz
Traceback (most recent call last):
File "", line 2205, in
File "", line 1257, in repack_bootimg
IOError: [Errno 2] No such file or directory: 'cpiolist.txt

Reply

I just finish doing all steps correctly but i am worried after flashing what I've ported my phone get deadboot is thier any possible reason that this thing will happen?

Reply

please explain how to repack extracted custom boot folder ???you just said to repack write this command "bootimg.exe --repack-bootimg"
but how it will come to know which folder to repack??? please explain

Reply

On Windows 7 it's also SHIFT + RIGHT BUTTON, not CTRL + RIGHT BUTTON.

Reply

Sir i have a mobile MT6582 of micromax. Any one can not make twrp of philz for this phone any u make for this phone.

Reply

Mobile name-micromax canvas selfie lens (q345)

Reply

can i ask a question please . when i unpack the stock boot.img i get kernel.gz and ramdisk.gz on both stock and port boot.img now i can't repack the boot.img again . what should i do to repack it ?

Reply

Errno2 No such file as "kernel"
Might consider this bump?
I tried all the kernels from my stock to 3 other roms I had here it kept giving me the same error.

Reply
This comment has been removed by a blog administrator.

drag and drop the ported img folder to bootimg.exe

Reply

bro, can we edit another img file with this method?

Reply

Hello there, is this possible for HTC one m9+ with Mediatek MT6795T Helio X10 ?

Reply

Hello there, is this possible for HTC one m9+ with Mediatek MT6795T Helio X10 ? Because we don't have any custom rom for our phone. But I really like MIUI to port in.. If someone knows how to port to my phone, I will pay him...

Reply

your article is very nice ,, very help me ,.

For you the use of HP printer can download the driver on our website, trusted site is very safe and easy to download it.

Ex :
View Website :http://driverforhp.com
View Artiecle Very nice
http://driverforhp.com/hp-envy-7640-driver-download/

View Website :http://driver-hp.net
View Article Good Nice Popular
http://driver-hp.net/hp-officejet-pro-8610-driver/

Reply

WhatsApp 2019 is one of the most popular instant messaging service, which offers a number of interesting features, while available across platforms and operating systems.

Reply

Install and Update WhatsApp APK 2019 | Free Download Best Messenger App for Android. WhatsApp is one of the most popular free chatting applications of this world right now. The app is free for all different Android, Windows, and iOS platforms. Whatsapp download 2019

Reply

UC Browser a free-to-use Internet browser for Android smartphones and tablet computers. It includes loads of features, such as rapid downloads, data saving, ad-blocking, and uncomplicated accessibility to songs and video websites, as well to cricket data, video games, sites, and live feeds, which is an exclusive feature in UC Browser, dedicated to all the cricket extend there. UC Browser 2019 Free Download Latest Version

Reply

fails during repacking

Reply

Post a Comment

Comment here........