[Miscellaneous Android Development] Ankurthe master:
Porting GUIDE from Mt6589 to Mt6572

Because many people want to know how to port mtk6589 rom to 6572. So I created the following tutorial.

In general, this tutorial is for advanced level who are accustomed to port android rom. So for those who do not understand / understood what it was ported rom and how to fix the bug may be difficult to follow.

NOTE:

I am not responsible for any damage because of this tutorial.Do it on your own risk

Here is a tutorial how to port from mtk6589 to mtk6572 ;

Example Project; Port Yunos 3 Coolpad 7295

Target: Acer Liquid Z4 (aka Acer Z160 - MTK6572)

Source: Yunos 3 Custom Rom Coolpad 7295 - MTK6589 (can be replaced with another mt6589 cusrom mm)

First, prepare the following files;

1. ROM Yunos 3 Coolpad 7295.http://pan.baidu.com/s/1ntyZPEh

2. Mod MTK6589 to MT6572 https://drive.google.com/file/d/0B5d8bj36ylsOMHFJWnZkSkNTc1U/view

3. Patch Acer Liquid Z4 (adjust if different dd).https://drive.google.com/file/d/0B5d8bj36ylsOTGNkOGRpWFF6ejQ/view

4. Stock Kernel Acer Liquid Z4. Already have definite

5. Boot / Repack Recovery Tool. Download here. Then Extract to folder 'C: \ xxx \' (xxx bsa replaced the other names)http://xdaforums.com/showthread.php?t=2036528

6. Notepad. (Search on google)

Steps;

1. Extract the ROM file Yunos

2. Extract the files Mod Mtk6589, replace the extracted folder to the ROM Yunos

Right click - Extract files ...

*Navigate to the extracted folder YunOS3 ROM, click OK

Replace (click Yes to All),

3. Extract the Patch files Acer L Z4, replace hasi folder to extract the ROM Yunos

Do the same with the Mod Mtk6589

4. Unpack boot.img

Prepare boot.img file from Yunos Coolpad and boot.img Acer Liquid Z4 put it in a tool Boot / Recovery Tool RENAME like images;

Drag and drop files to MTK_unpack.

Then edit the file in the folder init.rc boot_AcerZ160 with Notepad. Customize with init.rc files in the folder boot_CoolpadYunOS.

Consider the following image 2;

Replace the line in the image of CoolpadYunOS to AcerZ160

Then go through and compare the two view and adjust. Refer images;

Look for a line like the image and add / adjust.

Perform adjustment init.rc until the last line.

Then repack boot_AcerZ160 with drag n drop folders boot_AcerZ160 to MTK_pack.bat

There will be a new file 'new_image.img', RENAME be 'boot.img' then copy and replace the ROM folder to Yunos.

5. Edit the updater-script in the META-INF folder

Search line like;

format ("ext4", "EMMC", "/ dev / block / mmcblk0p7", "0");

mount ("ext4", "EMMC", "/ dev / block / mmcblk0p7", "/ system");

adjusted to be like this;

format ("ext4", "EMMC", "/ EMMC @ android", "0");

mount ("ext4", "EMMC", "/ EMMC @ android", "/ system");

if no format / mount a data use "/ EMMC @ usrdata".

Adjust other scripts that do not fit.

6. Edit build.prop in the folder / system

find the numbers change 6572 6589

ro.sf.lcd_density search line (change the value to 215)

7. Create Flashable ZIP and execute and pray that no bootloop takes place.

Thus tutorial mtk6589 to mtk6572 rom port may be useful.

Thank you and sorry if there are mistakes.

Credits:

Han Tri

Me

UDM

Google

Mediatek