Skip to main content

[DEV] [GUIDE] Port MTK65xx To Your Device

/*
 * ~ 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
 


LETS GET STARTED:
What All is Required:
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.bin
  • S_ANDRO_SFL.ini
  • WIFI_RAM_CODE
  • WIFI_RAM_CODE_E6
  • WIFI_RAM_CODE_MT6628
  • WMT.cfg
2. Go to /system/etc/permissions in both the roms… drag and drop below files from base to port
  • com.google.android.maps.xml
  • com.google.android.media.effects.xml
  • com.google.widevine.software.drm.xml
  • android.hardware.camera.front.xml
  • android.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.jar
  • com.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 from base to port
  • ccci.ko
  • ccci_plat.ko
  • ccmni.ko
  • mtk_fm_drv.ko
  • mtk_fm_priv.ko
  • mtk_hif_sdio.ko
  • mtk_hif_sdio_mt6628.ko
  • mtk_stp_bt.ko
  • mtk_stp_bt_mt6628.ko
  • mtk_stp_gps.ko
  • mtk_stp_gps_mt6628.ko
  • mtk_stp_uart.ko
  • mtk_stp_uart_mt6628.ko
  • mtk_stp_wmt.ko
  • mtk_stp_wmt_mt6628.ko
  • mtk_wmt_wifi.ko
  • mtk_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.so
  • libaudiocompensationfilter.so
  • libaudiocustparam.so
  • libaudiosetting.so
  • libaudioeffect_jni.so
  • libaudioflinger.so
  • libbluetoothem_mtk.so
  • libbluetooth_mtk.so
  • libcamalgo.so
  • libcameracustom.so
  • libfmar1000.so
  • libfmcust.so
  • libfmjni.so
  • libfmmt6616.so
  • libfmmt6620.so
  • libfmmt6626.so
  • libfmmt6628.so
    libmhal.so
  • libmhalcontent.so
  • libmhalmdp.so
  • libmhalpipe.so
  • libmhalscenario.so
  • libmhalutility.so
  • libmhaldrv.so
  • libsurfaceflinger.so {Black Screen Bug} (if port is successful and only touch is working, 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
  • libmnlp
  • mnld
9. Open /system/build.prop file of port rom using notepad++ and put the same values 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

Original Thread (XDA)
Credits: JAGAN 

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-script
set_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=MIUI
ro.build.display.id=MIUI
ro.build.version.incremental=2.x.x (version number)
ro.config.ringtone=MI.ogg
ro.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

Comments

Popular posts from this blog

dolby digital plus for lava iris x1 * download here   dolby digital plus.zip *flash it from cwm recovery !!! iam not resoponsible for your mobile. take your own risk,

How To Check DoulCi Server Status

Many people already unlocked their iPhone with iCloud  bypassed activation method using  DoulCi service , but a lot of people who are still not able to bypass their iPhone  iCloud Activation  just because of doulCi server status; as the doulCi server is offline now and then so we find something here to  check DoulCi server status  whether the server is online or offline just read this post for more details. Advertisements iCloud lock is very big shield against thieves, but generally the iPhone user forgot their device password or buy such an iPhone which is locked one, so there is no official mean to bypass the this iCloud Activation except few are available in the market such  Chronicunlocks  which is not a free service, as one have to pay about $149 for unlock service, but on the other hand the doulCi is a free service to bypass iCloud Activation lock. See Also: Apple iCloud Activation Lock Bypassed To Unlock Stolen iPhones iClo...
Autodesk AutoCAD 2015 (32-64 bit) Full + Keygen and Key Autodesk AutoCAD 2015  new version designed by Autodesk - The leading and best 2D and 3D design software for architectural drawings, virtually building constructions and infrastructures  and 3D drafting and modelling. Download  AutoCAD 2015  crack, it allows designers, engineers and architects to create stunning designs using professional 2D and 3D CAD tools and features. Essentially, you will be able to make CAD designs, view and edit designs, and share your DWG files to AutoCAD Cloud.  --->AutoCAD 2015  Features: <---  The AutoCAD 2015 CAD program includes new Ribbon galleries. - AutoCAD documentation features include associative array functionality.  - Access drawing content directly from the ribbon. - 3D associative array - Define arrayed objects when designing in 3D.  - Intelligent command lineGet - AutoCorrect and Adaptive Suggestions. - Command preview - Preview outcom...