Miui Porting

STEPS:

1: PREPARING:

-Extract both roms to different folder... Setup Android Kitchen.

2: SYSTEM EDITING:

-Bin Folder: Replace ipod,old,sdcard from stock to port.

-Libs Folder: Open port libs folder and delete /hw folder.... Now replace /hw folder libcameracustom.so, libcameraservice.so, libipod, libvcodecdrv, libMali.so and libshowlogo.so from stock to port.

-etc Folder:  Open port etc folder and delete /firmware and /mddb folder... Replace /firmware & /mddb from port to stock... if u dont have mddb folder in stock leave it...


-Xbin Folder: Replace libmnlp_mt6582 and mnld from stock to port rom.

- Build.prop : Open build.prop and edit device name with urs .... Finding the correct lcd density is a big problem ... Try 210 first ... change it if u have dpi issues (Dont set below 210).

3: UPDATER-SCRIPT:

- Open updater script and change mountspace id (mmcblkpxx) as per ur device.. U can find it using MTK Droid Tool.

4: BOOT.IMG EDITING:

- Unpack boot.img of both stock and port rom using kitchen... We have to recombile port rom boot.img so unpack boot.img of port rom from working folder.

- Copy ZImage from Stock and replace in port.


- Open uevent.rc of both roms in notepad+ and check for mali line in stock..... Replace tht line from stock to port.

- Repack port rom boot.img and move it to port folder.

- Replace #camera lines of init.rc from stock to port if u get camera error/ green camera.
- If u Get Sdcard /Internal memory not mounting issue.... Rename init.no_ssd.rc of stock boot.img to init.ssd.rc and replace it in init.ssd.rc of port boot.img

5: FINISHING UP:

- Now compress the port rom into .zip and flash on your device.  Njoy!!!

No comments