9
7/22/2014 [DEV] [GUIDE] Port MTK65xx To Your Device | … | Android | XDA Forum http://forum.xda-developers.com/showthread.php?t=2464143 1/9 5,728,117 MEMBERS [DEV] [GUIDE] Port MTK65xx To Your Device | Update 20-11-2013 | Beginners Friendly 30th September 2013, 02:43 PM (Last edited by A N D Y; 17th May 2014 at 02:15 PM.) #1 Page 1 of 11 1 2 3 > >> + POST REPLY > Android Development and Hacking > Android Software Development > [DEV] [GUIDE] Port MTK65xx To Your Device | Update 20-11-2013 | Beginners Friendly Tip us? A N D Y > Recognized Contributor - OP Thanks Meter 811 Posts: 354 Join Date: Feb 2013 Location: Heaven MORE INFO [DEV] [GUIDE] Port MTK65xx To Your Device | Update 20-11-2013 | Beginners Friendly Code: /* * ~ Please READ ME ~ * * I do not guarantee any successful porting. I am not responsible * for bricked devices, dead SD cards, or a broken device. YOU are * choosing to make these modifications, and if you point the finger * at me for messing up your device, I will laugh at you. But I will try * my best to explain all the necessities, so you won't mess up your Device. * * ~ END OF AGREEMENT ~ */ So, Many Of You May be MTK Device User than you are at right place to fill your device with many awesome roms! . EASIEST & FASTEST GUIDE TO PORT MTK ROMS TO YOUR DEVICE... BASE ROM: Rom which is from you device Developer. PORT ROM: Rom You Are Going To Port. THE GUIDE MAY WORK FOR ALMOST EVERY MTK65xx DEVICE. HANDLE WITH CARE User Name Remember Me? Forgot your password? NEWS FORUM WIKI XDA TV Type To Find Your Device... Search All Forums Like Tweet +1 Search this thread MOST THANKED I ALL-TIME 7 FOR MIUI Co A N D 5 (quote) If You A N D 3 (quote) You C or … A N D 3 (quote) Don't A N D 2 (quote) That's A N D

Port MTK65xx to Your Device

Embed Size (px)

DESCRIPTION

So, Many Of You May be MTK Device User than you are at right place to fill your device with manyawesome roms!I do not guarantee any successful porting. I am not responsible* for bricked devices, dead SD cards, or a broken device. YOU are* choosing to make these modifications, and if you point the finger* at me for messing up your device, I will laugh at you. But I will try* my best to explain all the necessities, so you won't mess up your Device.

Citation preview

Page 1: Port MTK65xx to Your Device

7/22/2014 [DEV] [GUIDE] Port MTK65xx To Your Device | … | Android | XDA Forum

http://forum.xda-developers.com/showthread.php?t=2464143 1/9

5,728,117 MEMBERS

[DEV] [GUIDE] Port MTK65xx To Your Device | Update 20-11-2013 | BeginnersFriendly

30th September 2013, 02:43 PM (Last edited by A N D Y; 17th May 2014 at 02:15 PM.) #1

Page 1 of 11 1 2 3 > >> + POST REPLY

> Android Development and Hacking > Android Software Development > [DEV] [GUIDE] Port MTK65xx To Your Device | Update 20-11-2013 |Beginners Friendly

Tip us?

A N D Y

>

Recognized Contributor - OP

Thanks Meter 811

Posts: 354

Join Date: Feb 2013

Location: Heaven

MORE INFO

[DEV] [GUIDE] Port MTK65xx To Your Device | Update 20-11-2013 | Beginners Friendly

Code:

/* * ~ Please READ ME ~ * * I do not guarantee any successful porting. I am not responsible * for bricked devices, dead SD cards, or a broken device. YOU are * choosing to make these modifications, and if you point the finger * at me for messing up your device, I will laugh at you. But I will try * my best to explain all the necessities, so you won't mess up your Device. * * ~ END OF AGREEMENT ~ */

So, Many Of You May be MTK Device User than you are at right place to fill your device with many

awesome roms!

.

EASIEST & FASTEST GUIDE TO PORT MTK ROMS TO YOUR DEVICE...

BASE ROM:

Rom which is from you device Developer.PORT ROM:

Rom You Are Going To Port.

THE GUIDE MAY WORK FOR ALMOST EVERY MTK65xx DEVICE.

HANDLE WITH CARE

User Name

Remember Me? Forgot your password?

NEWS FORUM WIKI XDA TV

Type To Find Your Device... Search All Forums

Like Tweet +1

Search this thread

MOST THANKED IN THIS THREAD

ALL-TIME

7FOR MIUI Copy telocation.db and …

A N D Y

5(quote) If You Don't Have "srec" folder …

A N D Y

3(quote) You Can Use Stock BOOT.IMGor …

A N D Y

3(quote) Don't Worry Try The one in the…

A N D Y

2(quote) That's a issue with …

A N D Y

Page 2: Port MTK65xx to Your Device

7/22/2014 [DEV] [GUIDE] Port MTK65xx To Your Device | … | Android | XDA Forum

http://forum.xda-developers.com/showthread.php?t=2464143 2/9

LETS GET STARTED:What All is Required:

WinRAR

Notepad++

Useful Brain...

Take A Clean Base To Port The Rom i.e. must be bugless...

Now Do As Follows:

1. Go to /system/etc/firmware in both the roms… drag and drop below files from

base to port

catcher_filter.bin

DSP_ROM

modem.img

mt662x_patch_e3_hdr.bin

mt662x_patch_e6_hdr.binS_ANDRO_SFL.ini

WIFI_RAM_CODEWIFI_RAM_CODE_E6

WIFI_RAM_CODE_MT6628WMT.cfg

2. Go to /system/etc/permissions in both the roms… drag and drop below files from

base to port

com.google.android.maps.xmlcom.google.android.media.effects.xmlcom.google.widevine.software.drm.xml

android.hardware.camera.front.xmlandroid.hardware.camera.xml

3. Go to /system/framework in both the roms… drag and drop below files from base

to port

com.google.android.maps.jarcom.google.android.media.effects.jar

com.google.widevine.software.drm.jar

4. Go to /system/lib/modules in both the roms… drag and drop below files frombase to port

ccci.koccci_plat.ko

ccmni.komtk_fm_drv.ko

mtk_fm_priv.komtk_hif_sdio.ko

mtk_hif_sdio_mt6628.komtk_stp_bt.komtk_stp_bt_mt6628.ko

mtk_stp_gps.komtk_stp_gps_mt6628.ko

mtk_stp_uart.komtk_stp_uart_mt6628.ko

mtk_stp_wmt.komtk_stp_wmt_mt6628.ko

mtk_wmt_wifi.komtk_wmt_wifi_mt6628.ko

5. Go to /system/lib in both the roms… drag and drop below files from base to port

libaudio.a2dp.default.so

libaudio.primary.default.solibaudiocompensationfilter.so

libaudiocustparam.solibaudiosetting.so

libaudioeffect_jni.solibaudioflinger.solibbluetoothem_mtk.so

libbluetooth_mtk.solibcameraservice.so

Page 3: Port MTK65xx to Your Device

7/22/2014 [DEV] [GUIDE] Port MTK65xx To Your Device | … | Android | XDA Forum

http://forum.xda-developers.com/showthread.php?t=2464143 3/9

libcamera_client.solibcameraprofile.solibcamalgo.so

libcameracustom.solibfmar1000.so

libfmcust.solibfmjni.so

libfmmt6616.solibfmmt6620.so

libfmmt6626.solibfmmt6628.so

libmhal.solibmhalcontent.solibmhalmdp.so

libmhalpipe.solibmhalscenario.so

libmhalutility.solibmhaldrv.so

libsurfaceflinger.so {Black Screen Bug} (if port is successful and only touch isworking, try replacing this lib to get the screen back)

6. Go to /system/usr/keylayout in both the roms… drag and drop below files from

base to port

Generic.kl (regarding Power Buttons & Soft Keys)

7. Go to /system/usr in both the roms… drag and drop below files from base to port

Whole ‘srec’ folder

8. Go to /system/xbin in both the roms… drag and drop below files from base to

port

libmnlpmnld

9. Open /system/build.prop file of port rom using notepad++ and put the samevalues as base rom for

ro.build.display.id=

ro.product.model=ro.product.brand=

ro.product.locale.language=ro.product.locale.region=fmradio.driver.chip=

mediatek.wlan.chip=mediatek.wlan.module.postfix=

10. Open /META-INF/com/google/android/updater-script of port rom using

notepad++ and put the same values as base rom for

symlink("/system/lib/modules/wlan_mt662x.ko", "/system/lib/modules/wlan.ko");

11. Go to /META-INF/ in both the roms… drag and drop below files from base to

port

CERT.RSA

CERT.SF

MANIFEST.MF

Internal Memory Fix:

If You Face Bug Something like 0.00B internal storage then you can use this file to fix it.

In system/etc replace vold.fstab & vold.fstab.nand from base to port

Credits:yuweng

rishabh.raj37

A N D Y

yasirmujtaba

Page 4: Port MTK65xx to Your Device

7/22/2014 [DEV] [GUIDE] Port MTK65xx To Your Device | … | Android | XDA Forum

http://forum.xda-developers.com/showthread.php?t=2464143 4/9

REPLY

30th September 2013, 02:44 PM (Last edited by A N D Y; 18th February 2014 at 11:25 AM.) #2

Android Device Family: Xolo Q1100, with 1.4 GHz Qualcomm MSM8228 and 4.3 Android Version

Xolo A700, with 1.0 GHz MediaTek 6577 and 4.0.4 Android VersionXolo Q700i, with 1.2 GHz MediaTek 6589 and 4.3 Android Version

Sony Tipo ST21i. with 800 MHz Qualcomm MSM7225AA and 4.1.2 Android Version

The Following 30 Users Say Thank You to A N D Y For This Useful Post: [ Click to Expand ]

A N D Y

>

Recognized Contributor - OP

Thanks Meter 811

Posts: 354

Join Date: Feb 2013

Location: Heaven

MORE INFO

FOR MIUI

Copy telocation.db and yellowpage.db From /system/etc folder to yours..

Copy content-types.properties file From /system/lib to yours..

Copy invoke-as from miui4 rom to /system/xbin and give it permissions on

updater-scriptset_perm(0, 0, 06755, "/system/xbin/invoke-as");

Note:It is needed for backup & themes app to work

Copy liblbesec.so from miui 4 to /system/lib and give permission on updater-

script

set_perm(0, 0, 0755, "/system/lib/liblbesec.so");

It is needed for superuser app from miui to work

Change values Some of the Values in build.prop of your ROM:

ro.build.id=MIUIro.build.display.id=MIUI

Page 5: Port MTK65xx to Your Device

7/22/2014 [DEV] [GUIDE] Port MTK65xx To Your Device | … | Android | XDA Forum

http://forum.xda-developers.com/showthread.php?t=2464143 5/9

REPLY

5th October 2013, 06:25 AM #3

ro.build.version.incremental=2.x.x (version number)

ro.config.ringtone=MI.oggro.config.notification_sound=FadeIn.ogg

ro.config.alarm_alert=GoodMorning.ogg

ro.config.sms_received_sound=FadeIn.ogg

ro.config.sms_delivered_sound=MessageComplete.ogg

Android Device Family: Xolo Q1100, with 1.4 GHz Qualcomm MSM8228 and 4.3 Android Version

Xolo A700, with 1.0 GHz MediaTek 6577 and 4.0.4 Android VersionXolo Q700i, with 1.2 GHz MediaTek 6589 and 4.3 Android Version

Sony Tipo ST21i. with 800 MHz Qualcomm MSM7225AA and 4.1.2 Android Version

The Following 7 Users Say Thank You to A N D Y For This Useful Post: [ Click to Expand ]

iel0000

just wanna ask..is it ok if i dont copy the srec folder cause i cant find it..also yhe meta-inf folder as i only have thesystem.img of my base rom

Page 6: Port MTK65xx to Your Device

7/22/2014 [DEV] [GUIDE] Port MTK65xx To Your Device | … | Android | XDA Forum

http://forum.xda-developers.com/showthread.php?t=2464143 6/9

REPLY

5th October 2013, 06:52 AM #4

REPLY

5th October 2013, 07:14 AM #5

>

Senior Member

Thanks Meter 12

Posts: 104

Join Date: Jan 2012

Location: Angeles City

MORE INFO

A N D Y

>

Recognized Contributor - OP

Thanks Meter 811

Posts: 354

Join Date: Feb 2013

Location: Heaven

MORE INFO

Quote:

Originally Posted by iel0000

just wanna ask..is it ok if i dont copy the srec folder cause i cant find it..also yhe meta-inf folder as i only have thesystem.img of my base rom

If You Don't Have "srec" folder no need to worry but for system.img you need to extract the img by ext4 method:http://forum.xda-developers.com/show....php?t=2285831

Android Device Family: Xolo Q1100, with 1.4 GHz Qualcomm MSM8228 and 4.3 Android Version

Xolo A700, with 1.0 GHz MediaTek 6577 and 4.0.4 Android VersionXolo Q700i, with 1.2 GHz MediaTek 6589 and 4.3 Android Version

Sony Tipo ST21i. with 800 MHz Qualcomm MSM7225AA and 4.1.2 Android Version

The Following 5 Users Say Thank You to A N D Y For This Useful Post: [ Click to Expand ]

iel0000

>

Senior Member

Thanks Meter 12

Posts: 104

Join Date: Jan 2012

Location: Angeles City

MORE INFO

Quote:

Originally Posted by A N D Y

If You Don't Have "srec" folder no need to worry but for system.img you need to extract the img by ext4 method:http://forum.xda-developers.com/show....php?t=2285831

how about theses files?CERT.RSACERT.SFMANIFEST.MF

i dont have them cause i dont have a flashable stock rom..

Page 7: Port MTK65xx to Your Device

7/22/2014 [DEV] [GUIDE] Port MTK65xx To Your Device | … | Android | XDA Forum

http://forum.xda-developers.com/showthread.php?t=2464143 7/9

REPLY

5th October 2013, 07:46 AM #6

REPLY

5th October 2013, 07:53 AM #7

REPLY

A N D Y

>

Recognized Contributor - OP

Thanks Meter 811

Posts: 354

Join Date: Feb 2013

Location: Heaven

MORE INFO

Quote:

Originally Posted by iel0000

how about theses files?CERT.RSACERT.SFMANIFEST.MF

i dont have them cause i dont have a flashable stock rom..

Don't Worry Try The one in the Ported Rom!

Android Device Family: Xolo Q1100, with 1.4 GHz Qualcomm MSM8228 and 4.3 Android Version

Xolo A700, with 1.0 GHz MediaTek 6577 and 4.0.4 Android VersionXolo Q700i, with 1.2 GHz MediaTek 6589 and 4.3 Android Version

Sony Tipo ST21i. with 800 MHz Qualcomm MSM7225AA and 4.1.2 Android Version

The Following 3 Users Say Thank You to A N D Y For This Useful Post: [ Click to Expand ]

iel0000

>

Senior Member

Thanks Meter 12

Posts: 104

Join Date: Jan 2012

Location: Angeles City

MORE INFO

cant also find these com.google.android.media.effects.jarcom.google.android.media.effects.xml

sorry for the noob questions..i just want to port a rom to my device as we dont have developers

TRENDING IN THEMER...

Page 8: Port MTK65xx to Your Device

7/22/2014 [DEV] [GUIDE] Port MTK65xx To Your Device | … | Android | XDA Forum

http://forum.xda-developers.com/showthread.php?t=2464143 8/9

5th October 2013, 06:24 PM (Last edited by xjammetx; 5th October 2013 at 06:24 PM.) Reason: double post #8

REPLY

6th October 2013, 04:20 AM #9

REPLY

6th October 2013, 04:30 AM #10

REPLY

xjammetx

>

Senior Member

Thanks Meter 31

Posts: 169

Join Date: Mar 2012

Location: Las Islas Pilipinas!

MORE INFO

it worked!i ported an miui from newman n1, the ics 4.0.4 with no bugs to my cherry mobile blaze / Ming Ren A2 clone.btw, this is not a dual sim display miui, i need to go to settings anytime i wan to use the other sim.anyone who knows where to get a dual sim display miui?

Cherry Mobile BlazeMIUI!

Have no fear, how others think of you or will judge you, for your greatness, will silence them all.

iel0000

>

Senior Member

Thanks Meter 12

Posts: 104

Join Date: Jan 2012

Location: Angeles City

MORE INFO

Quote:

Originally Posted by xjammetx

it worked!i ported an miui from newman n1, the ics 4.0.4 with no bugs to my cherry mobile blaze / Ming Ren A2 clone.btw, this is not a dual sim display miui, i need to go to settings anytime i wan to use the other sim.anyone who knows where to get a dual sim display miui?

what boot.img did you use? stock from cherry mobile?

A N D Y

>

Recognized Contributor - OP

Thanks Meter 811

Posts: 354

Join Date: Feb 2013

Location: Heaven

MORE INFO

Quote:

Originally Posted by iel0000

what boot.img did you use? stock from cherry mobile?

Don't Try boot.img(Kernel) from the port rom or you'll brick your device!

Android Device Family: Xolo Q1100, with 1.4 GHz Qualcomm MSM8228 and 4.3 Android Version

Xolo A700, with 1.0 GHz MediaTek 6577 and 4.0.4 Android VersionXolo Q700i, with 1.2 GHz MediaTek 6589 and 4.3 Android Version

Sony Tipo ST21i. with 800 MHz Qualcomm MSM7225AA and 4.1.2 Android Version

Page 9: Port MTK65xx to Your Device

7/22/2014 [DEV] [GUIDE] Port MTK65xx To Your Device | … | Android | XDA Forum

http://forum.xda-developers.com/showthread.php?t=2464143 9/9

Search this thread

« Previous Thread | Next Thread »

More Info: Contact | Rules | Change Log | Suggest Content Privacy Policy | XDA App | Root Any Device

Copyright© xda-developers. Powered by Searchlight © 2014 Axivo Inc. Hosted by Leaseweb.

The Following 2 Users Say Thank You to A N D Y For This Useful Post: [ Click to Expand ]

TAGS

mediatek, mediatek porting guide, mtk device port, mtk65xx port

1 2 3 > >> Page 1 of 11

> Android Development and Hacking > Android Software Development > [DEV] [GUIDE]

Port MTK65xx To Your Device | Update 20-11-2013 | Beginners Friendly

XDA Developers was founded by developers, for developers. It is

now a valuable resource for people who want to make the most of

their mobile devices, from customizing the look and feel to adding

new functionality. Are you a developer?

-- XDA 2013 Beta Sitemap

+ POST REPLY SUBSCRIBE