/* * ~ 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:THE GUIDE MAY WORK FOR ALMOST EVERY MTK65xx DEVICE.
Rom You Are Going To Port
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 MIUICopy 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 workCopy 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 workChange 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
Post a Comment