[TUT] [TOOL] MT65xx ROM Porting

Status
Not open for further replies.
Search This thread

Brick3d

Senior Member
Mar 1, 2013
295
100
Zeeland
I see. You should try editing boot.img, and try changing your libcam*.so files 1 by 1.

Sent from my V360 using xda app-developers app
 

fandroid7

Senior Member
Jan 13, 2012
124
63
Dubai
Samsung Galaxy S22 Ultra
When i port lewa rom . there is no vibration feedback and when open camera (error gallery stopped working.)

And i cant turn on data connection

Mtk6589 lava iris 504q

And my stock lava iris rom had magnetic flip cover and screen turn on when flip the cover. But its not working on lewa os.

How can i get it working

Sent from my iris504Q using xda premium
 
Last edited:

BHARDIK

Senior Member
May 27, 2012
742
547
Rajkot, Gujarat
www.hardikahir.in
What file did you patch for the camera?
for camera i dint patch anything , its working fine for me :) but try this out , m not sure but i hope its works for you :)
search in system/lib folder '' camera '' now copy all search result files from base or stock rom to port one :) now reflash ROM but before flash ROM again, do format system in mount and storage menu , cuz of its try to stop corruption of system data/files :p :D

Thanks
Hardy
 
  • Like
Reactions: fandroid7

I.nfraR.ed

Senior Member
May 9, 2013
234
275
Sofia
Hello,
I've successfully ported Android 4.2.1 from ZTE V987 to Lenovo A820. So far I was able to fix modem and storage mounting when connected to PC and manually modified boot.img.
What is not working: auto rotation of screen, camera, fm radio, audio, gps. Is that normal for a ported ROM or I need to try to port it from another device?
I actually have 3 different ported versions - ZTE 987, ZTE V967S and Amoi N828, but the one from 987 is the cleanest version, very much like stock JB 4.2.1 and tha's the version I want to use.

Tried to fix audio and camera, but always get bootloop. Changing sensors in /system/lib/hw doesn't fix the autorotation issue. Capacitive touch buttons work, the light is not quite right, but they are functional. Touchscreen works ok, wi-fi works, light sensor also works.
 

voetbalremco

Inactive Recognized Developer
Hello,
I've successfully ported Android 4.2.1 from ZTE V987 to Lenovo A820. So far I was able to fix modem and storage mounting when connected to PC and manually modified boot.img.
What is not working: auto rotation of screen, camera, fm radio, audio, gps. Is that normal for a ported ROM or I need to try to port it from another device?
I actually have 3 different ported versions - ZTE 987, ZTE V967S and Amoi N828, but the one from 987 is the cleanest version, very much like stock JB 4.2.1 and tha's the version I want to use.

Tried to fix audio and camera, but always get bootloop. Changing sensors in /system/lib/hw doesn't fix the autorotation issue. Capacitive touch buttons work, the light is not quite right, but they are functional. Touchscreen works ok, wi-fi works, light sensor also works.

What you need to do:
- mod build.prop
- replace system/lib/modules and /hw and /egl inside the lib folder
- for camera:
Replace camera.apk in system/app
Use ctrl+f in system/lib for "cam" and " camera" and replace all the libs.
 

I.nfraR.ed

Senior Member
May 9, 2013
234
275
Sofia
Already modded build.prop, also init.rc in ramdisk. Replaced lib/hw and lib/modules before asking the question, but still no luck.
Haven't tried with libGLES.
Camera is gallery2.apk, but when I replace it with the one from 4.1.2 it doesn't show up as installed app in the app drawer.
I think camera can be fixed relatively easy, my priority right now is the audio.
3D works and antutu score went up to 14.1K. Calls are fine, too.
 

fandroid7

Senior Member
Jan 13, 2012
124
63
Dubai
Samsung Galaxy S22 Ultra
no vibration feedback from softkeys

i ported a rom from mt6589 device to my Iris 504Q(mt6589)

patched audio, boot.img camera, call working, sensors working

now gps is not working and

main problem is no hepatic feedback from softkeys, but vibration works when ringing!

how to solve these?
 

Brick3d

Senior Member
Mar 1, 2013
295
100
Zeeland
Maybe look for a phone rom that has more in common (hardware based) than yours.

System/lib/hw/gpsdefault
Sensorsdefault
cameradefault

Sent from my V360 using xda app-developers app
 

I.nfraR.ed

Senior Member
May 9, 2013
234
275
Sofia
I checked the logcat and had tons of errors mentioning surfaceflinger. Replaced that lib and now I get the following (many of these):

Code:
W/Resources(  734): Preloaded drawable resource #0x1080183 (android:drawable/btn_radio_off_focused_holo_dark) that varies with configuration!!

D/skia    (  734): Flag is not 10

W/Resources(  734): Preloaded drawable resource #0x1080182 (android:drawable/btn_radio_off_disabled_holo_light) that varies with configuration!!

D/skia    (  734): Flag is not 10

W/Resources(  734): Preloaded drawable resource #0x1080181 (android:drawable/btn_radio_off_disabled_holo_dark) that varies with configuration!!

D/skia    (  734): Flag is not 10

W/Resources(  734): Preloaded drawable resource #0x1080180 (android:drawable/btn_radio_off_disabled_focused_holo_light) that varies with configuration!!

D/skia    (  734): Flag is not 10

W/Resources(  734): Preloaded drawable resource #0x108017f (android:drawable/btn_radio_off_disabled_focused_holo_dark) that varies with configuration!!

Any idea what I need to change?
 
Last edited:

superbar

Senior Member
Dec 2, 2009
319
24
i've been seeing roms that is downgrade because of miui, how did they do that?

example s920 have 4.2.1 version, but in needrom, they have miuiv5 4.1.2, how did they downgrade? cuz mine does'nt boot
 

I.nfraR.ed

Senior Member
May 9, 2013
234
275
Sofia
Got it further, but for the last 2-3 hours I've patched everything connected with ip, route, iptables and so on. Still it stops on this:

Code:
I/Netd    ( 2508): Netd 1.0 starting

E/BandwidthController( 2508): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256

E/BandwidthController( 2508): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256

D/MDnsDS  ( 2508): MDnsSdListener::Hander starting up

D/MDnsDS  ( 2508): MDnsSdListener starting to monitor

D/MDnsDS  ( 2508): Going to poll with pollCount 1

I've attached the whole logcat.

----------------------------------------------------------------

I checked the logcat and had tons of errors mentioning surfaceflinger. Replaced that lib and now I get the following (many of these):

Code:
W/Resources(  734): Preloaded drawable resource #0x1080183 (android:drawable/btn_radio_off_focused_holo_dark) that varies with configuration!!

D/skia    (  734): Flag is not 10

W/Resources(  734): Preloaded drawable resource #0x1080182 (android:drawable/btn_radio_off_disabled_holo_light) that varies with configuration!!

D/skia    (  734): Flag is not 10

W/Resources(  734): Preloaded drawable resource #0x1080181 (android:drawable/btn_radio_off_disabled_holo_dark) that varies with configuration!!

D/skia    (  734): Flag is not 10

W/Resources(  734): Preloaded drawable resource #0x1080180 (android:drawable/btn_radio_off_disabled_focused_holo_light) that varies with configuration!!

D/skia    (  734): Flag is not 10

W/Resources(  734): Preloaded drawable resource #0x108017f (android:drawable/btn_radio_off_disabled_focused_holo_dark) that varies with configuration!!

Any idea what I need to change?
 

Attachments

  • logcat.txt
    67.8 KB · Views: 10

superbar

Senior Member
Dec 2, 2009
319
24
i've download a 4.2.1 miui v5 rom, but after checking build.prop, fingerprint is 4.1.2, can i port this to a 4.2.1 device?
 

superbar

Senior Member
Dec 2, 2009
319
24
Fingerprint doesn't imply anything...i can give u link to a rom with 4.2.1 fingerprint ... which is actually 4.1.2...BTW what is ro.build.version.sdk ? ... for 4.2 it should be 17....

Il check on that, so i tried porting firefly v50 miui v5 from needrom, it has a version of 4.2.1 but stuck in bootlogo, and downloaded other roms with 4.2.1 miui v5 all of them did'nt boot, so im thinking that maybe all of them are just 4.1.2
 

Brick3d

Senior Member
Mar 1, 2013
295
100
Zeeland
For the non-functional haptic feedback

This is what I've found (tested,works fine!)

  1. Decompile Framework-res.apk
  2. Navigate to : res > values > arrays
  3. Scroll All the way down untill you find lines stating about vibration intensity
  4. Stock values are in miliseconds 30-43
  5. Recompile apk
  6. Move edited resources.arsc to stock framework-res.apk

My opinion is that it is best at 25-29
 
Last edited:
  • Like
Reactions: fandroid7

dip1991

Senior Member
Jan 30, 2013
308
112
sorry for simple question,but can i port MTK 6575 ROM to MTK6573 ??same GB(2.3.6) to GB(2.3.6)????
 

rnovino

Senior Member
Nov 7, 2012
104
37
Magneti Sensor Patch

@yuweng do you know what is the needed file for the magnetic sensor to work? for the MTK phones?
 

BHARDIK

Senior Member
May 27, 2012
742
547
Rajkot, Gujarat
www.hardikahir.in
@yuweng do you know what is the needed file for the magnetic sensor to work? for the MTK phones?

i think copy system/lib/hw folder of your stock rom to port its worked for me :eek::)

Sent from my ZP980 using xda premium

---------- Post added at 12:35 AM ---------- Previous post was at 12:33 AM ----------

Il check on that, so i tried porting firefly v50 miui v5 from needrom, it has a version of 4.2.1 but stuck in bootlogo, and downloaded other roms with 4.2.1 miui v5 all of them did'nt boot, so im thinking that maybe all of them are just 4.1.2

try goophone g9 MIUI V5 JB2 4.2.1 rom from needrom.com its working for me in my UMI X2
Thanks
Hardy

Sent from my ZP980 using xda premium

---------- Post added at 12:36 AM ---------- Previous post was at 12:35 AM ----------

Got it further, but for the last 2-3 hours I've patched everything connected with ip, route, iptables and so on. Still it stops on this:

Code:
I/Netd    ( 2508): Netd 1.0 starting

E/BandwidthController( 2508): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256

E/BandwidthController( 2508): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256

D/MDnsDS  ( 2508): MDnsSdListener::Hander starting up

D/MDnsDS  ( 2508): MDnsSdListener starting to monitor

D/MDnsDS  ( 2508): Going to poll with pollCount 1

I've attached the whole logcat.

----------------------------------------------------------------



m very poor in understanding logcat or dmesg status but i might this is framework error ! :(:(

Sent from my ZP980 using xda premium

---------- Post added at 12:38 AM ---------- Previous post was at 12:36 AM ----------

i've been seeing roms that is downgrade because of miui, how did they do that?

example s920 have 4.2.1 version, but in needrom, they have miuiv5 4.1.2, how did they downgrade? cuz mine does'nt boot

yes its possible but i dont know how ? MIUI Devs Team Unofficially Port MIUI V5 for Gionee Dream D1 and that device running on JB2 (4.2.1) out of box still they port miui v5 unofficially 4.1.2 version n its working fine i dont know how ? i wish i know cuz i want it in my umi x2 :eek::confused::banghead:

Sent from my ZP980 using xda premium
 

rnovino

Senior Member
Nov 7, 2012
104
37
i think copy system/lib/hw folder of your stock rom to port its worked for me :eek::)

Sent from my ZP980 using xda premium

---------- Post added at 12:35 AM ---------- Previous post was at 12:33 AM ----------



try goophone g9 MIUI V5 JB2 4.2.1 rom from needrom.com its working for me in my UMI X2
Thanks
Hardy

Sent from my ZP980 using xda premium

---------- Post added at 12:36 AM ---------- Previous post was at 12:35 AM ----------





m very poor in understanding logcat or dmesg status but i might this is framework error ! :(:(

Sent from my ZP980 using xda premium

---------- Post added at 12:38 AM ---------- Previous post was at 12:36 AM ----------



yes its possible but i dont know how ? MIUI Devs Team Unofficially Port MIUI V5 for Gionee Dream D1 and that device running on JB2 (4.2.1) out of box still they port miui v5 unofficially 4.1.2 version n its working fine i dont know how ? i wish i know cuz i want it in my umi x2 :eek::confused::banghead:

Sent from my ZP980 using xda premium
hmm I already patch that but its seems still didn't worked I am not sure if it's on the hardware issue?
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 187
    Please refer to this post . . . :cowboy:

    For detail specific on MT6575 SoC, refer to this NEW Thread by xXx~~~SHLOK~~~xXx & DarkFrenzy . . . :good:

    For detail specific on MT6577 SoC, refer to this NEW Thread by Avenger4droid

    All MT65xx android phones are plagued by the same problem, No Custom ROMs & there are just too many models out there... :eek:

    DEVs that are developing custom rom for it are only a handful. If you have the same model as these DEV then you are very lucky indeed to get cwmr & custom roms from them. But what about those hundreds if not thousands of MT65xx out there ?

    No worries, you can port any Custom ROMs to your device quite easily using Master Shifu dsixda's Android Kitchen....
    rclxms.gif
    Links for that is below my signature... :cool: Even though they are for MT6573, some of them are still relevant... :eek: Many have successfully ported numerous of MT6573/ 75/ 77 custom/ stock ROMs out of it....
    thumbup.gif
    Full Credits & Special Thanks to Master Shifu dsixda for making such a Super Easy to use & Fabulous Android Kitchen...
    rclxms.gif


    Below is what i found out when porting ROM, you may need to patch the following below from your stock ROM for it to work...
    modem.img - SIM1/ 2 not working
    libcameracustom.so - Camera no auto-focus
    mtk_stp_wmt - Wi-Fi/ Bluetooth can't switch on
    Generic.kl - Home key doesn't work

    So here is my quick & easy patching tut for porting Lewa OS to MT6577 based Ulefone Star N9776. Everything works except for FM radio... :eek: Added on May 06 2013 - Hmm, it seems many never follow the whole thread & begin porting using this tut... :eek: Read this post here & here first, rest of the procedure is same... Thanks to fellow xda members that has contributed to this thread... ;)

    Another one here for Porting Master Shifu bgcngm's V970 Custom ROM to Lenovo A789...
    thumbup.gif
    Everything is working on this one...
    rclxms.gif


    Recently, i get just too many PMs regarding ROM porting & i don't know everything... :laugh:

    So i'm starting this thread & hopefully to get more involvement from fellow xda members to share their experiences as what are the other files needs to be patched to get it fully working...
    thumbup.gif


    Pls include...
    1. Name of your device
    2. ROM that you ported from
    3. What are the things that is not working initially
    4. What are the file names & location to patch it

    Cheers... :cool:
    -------------------------------
    Where to hunt for ROMs to port... :D
    anzhuodiy.com
    romzj.com
    dashi.com
    shendu.com
    -------------------------------
    Added on Feb 25, 2013
    Operation to Support & Reward our MTK SoC Developers
    Head up to here & show your support...
    thumbup_zpse78dc2e0.gif

    -------------------------------
    Added on Mar 31, 2013 - Patching MT6628 ROM to work on MT6620 & vice-versa
    Thanks to kumar abhishek for letting me know that it is possible to patch MT6628 to MT6620, i found out Star N9770 which is from the same company as my Star N9776, some Chinese manage to patch it, everything works & this info found out by s_bd on china-iphone so i use that as base to find out which file is the culprit... :cowboy:

    Below is what i found out, need only these few files (patch from stock to ported ROM) & everything works...
    thumbup_zpse78dc2e0.gif


    This is of course minimum patching because its from the same manufacturer... ;)

    FMradio
    system/etc/firmware/mt6620_patch_e3_hdr.bin
    system/etc/firmware/mt6620_patch_e6_hdr.bin-> If yours is MT6628, you'll need to patch all mt6628_fm_*_*.bin too
    system/etc/firmware/WMT.CFG-> This is the antenna cfg, without this, FMradio cannot receive clearly

    system/lib/modules/mtk_fm_drv.ko
    system/lib/libfmcust.so

    Wi-Fi & BT
    system/lib/modules/mtk_stp_wmt.ko
    system/lib/modules/mtk_wmt_wifi.ko -> After patching, both works & can be individually switch on/ off

    system/lib/libbluetooth_mtk.so
    system/lib/libbluetoothem_mtk.so -> MTK Engineering will show MT6628 if not patch...

    system/etc/firmware -> if yours is MT6628, you'll need to patch all WIFI_RAM_CODE_* too

    GPS
    system/xbin/libmnlp -> This culprit file is the GPS. Took me the longest time to find out
    Found out recent for porting Lenovo s890 (MT6628 to my MT6620), some apps at system/vendor/operator/ is blocking GPS so just delete all apps & use MTK Engineering mode to confirmed it... :fingers-crossed:

    build.prop
    fmradio.driver.chip=1 -> if yours is MT6628 then change it to 3
    mediatek.wlan.chip=MT6620 -> if yours is MT6628 then change last digit to 8
    mediatek.wlan.module.postfix=_mt6620 -> if yours is MT6628 then change last digit to 8

    updater-script
    symlink("wlan_mt6620.ko", "/system/lib/modules/wlan.ko"); -> if yours is MT6628 then change last digit to 8

    Happy Porting...
    rclxms_zps452ba9d3.gif

    -------------------------------
    Added on April 02, 2013 - Camera patch for Lewa ROM
    If your Lewa cam is not working in spite of all the known patching methods then refer to here... :cool:
    For patching Lewa Lenovo A60 cam auto-focus you'll need the following below from your Stock base ROM patch to Lewa & auto-focus will work...
    rclxms_zps452ba9d3.gif


    system/lib/libcamalgo.so
    system/lib/libcameracustom.so
    system/lib/libmhaldrv.so

    Summary of Lewa ROM for MT65xx
    Jelly Bean MT6628 based MT6589 SoC
    LeWa_AMOI_N828_JB2

    Jelly Bean MT6628 based MT6577 SoC
    LeWa_Jiayu_G2S_JB_ROM
    LeWa_Lenovo_S890_JB_ROM
    LeWa_ZTE_V889S_JB_ROM
    LeWa_Lenovo_P770_JB_ROM
    LeWa_Huawei_U8836D

    Jelly Bean MT6620 based
    LeWa_Jiayu_G3_JB_ROM
    LeWa_Jiayu_G2S_JB_ROM
    LeWa_Jiayu_G2L_JB_ROM
    LeWa_Jiayu_G2H_JB_ROM
    LeWa_ROM_DAKELE_MC001_JB
    LeWa_ROM_UMI_X1_JB
    LeWa_ROM_AMOI_N820_JB
    LeWa_ROM_AMOI_N821_JB

    MT6575
    LeWa_ROM_JIAYU_G2_JB


    For starter better not use Dakele, G3, G2L, G2H b'cos it includes uboot.img meant for those device & it may require much more additional patching... :cool:

    ICS
    MT6620 based MT6577 SoC
    LeWa_Lenovo_A789
    LeWa_GLX_L100_ROM
    LeWa_NEWMAN_N1_ROM
    LeWa_GiONEE_GN700W_ROM
    LeWa_ZOPO_ZP900_ROM
    MT6575
    LeWa_Lenovo_A750
    LeWa_ROM_Lenovo_P700
    LeWa_Konka_E900_ROM

    GB
    LeWa_A60_ROM
    -------------------------------
    Added on April 21, 2013 - Basic Ethics
    Ethical ROM Porter... :cool:
    -------------------------------
    Added on May 06, 2013 - Factory ROM backup
    i get too many pm, many brick their device & they didn't back up their Factory ROM first...
    alamak_zps2e31ed77.gif

    -------------------------------
    Added on June 23, 2013 - MT65xx Lewa OS Porting Tool
    Since many are interested in porting LeWa, attach is my simple program that does everything automatically for you...
    rclxms_zps452ba9d3.gif


    However, on the 2nd part, you'll have to identify what is not working & patch it yourself... :cowboy:

    Credits to Igor Pavlov & Master Shifu Michfood...
    thumbup_zpse78dc2e0.gif


    Happy Porting LeWa ROM...
    Emoji_1F60E_zps1b2cee45.png

    -------------------------------
    Hmm, it seems many are having trouble with this LeWa Porting tool... :eek:

    Upon checking Master Shifu Michfood's Russian thread, found out that the below must be met or this tool will fail to operate...

    Requirement on your MTK devices -> Root access to ADB
    The default.prop at boot.img should be as below...
    Code:
    ro.secure=[COLOR="Blue"][B]0[/B][/COLOR]
    ro.debuggable=[COLOR="blue"][B]1[/B][/COLOR]
    persist.service.adb.enable=[COLOR="blue"][B]1[/B][/COLOR]
    Use Master Shifu's Repack Utils, make the changes, re-download boot.img via SPFT then only use this tool again... :cowboy:

    This tool operates with your device fully booted up, not at CWM or fastboot...

    Extract this tool to your Desktop otherwise disable UAC if you use this program at other folder or it will not work properly... :eek:
    -------------------------------
    Added on June 24, 2013 - MTK FirmwareAdapter Tool
    Just found out that Russian Master Shifu back37 has shared his brand new ROM porting tool here...
    thumbup_zpse78dc2e0.gif


    With this tool, ROM porting on MTK devices is a breeze but as i always says always make a backup copy first via CWM/ TWRP before starting always or you might end up here... :cool:
    Added on May 5, 2014
    Just found out that Master Shifu has just started his thread here . . . :good:
    -------------------------------
    Added on July 01, 2013 - ANDROID_firmware_tool_v2.1 for MTK devices
    This is another great app by Russian Master Shifu Michfood for modding apps, framework, deodex; great for ROM Cooker AKA the MTK Android Kitchen...
    rclxms_zps452ba9d3.gif


    You can even use its Wireless ADB app to avoid constant USB charging that might spoil your battery in the long run...

    Master Shifu told me its hard for him to maintain several threads so you gotta ask all your questions there... :cowboy:

    To change the language to English refer to below...
    en_zpsbf7c5521.jpg

    v2.3 is a Donationware now, if you wanna try out then download this full older version here... :cowboy: if you find it useful then upgrade to V.2.3 & support Master Shifu Michfood work...
    thumbup_zpse78dc2e0.gif

    -------------------------------

    Solutions link

    FM radio, camera, 3G data fix - MT6577
    MT6515 i9300 LeWa Port
    Porting tips
    How to choose which ROM
    LeWa Porting tips
    init.rc cam fix
    Another LeWa porting tips
    Wi-Fi fix
    Cellular Network fix
    Virtual key & porting tips
    Another LeWa porting tips
    Cam fix MT6589
    Updater-script Wi-Fi fix
    Android Kitchen to repack back boot.img
    MT6589 BT fix
    MT6577 vold.fstab swap
    Another vold.fstab fix
    bootloop fix
    Another cam fix
    Another cam fix
    Another cam fix
    LeWa lockscreen mod
    Cam Mpx fix
    Cam focus fix
    Another LeWa lockscreen mod tips
    Compass fix
    Another LeWa fix
    Another Android Kitchen tips
    ROM porting for Alcatel MTK devices
    edify_def for Android Kitchen
    MIUI Roaming Fix
    MT6620 to MT6628
    Another Android Kitchen tips
    MIUI porting tips
    Another cam fix
    MTK Engineering Mode
    Storage FC fix
    USB mount to PC fix
    MT6589 audio fix (2)
    MT6589 ROM Porting tips
    Another cam fix
    Another Android Kitchen tips
    Unpack/ Repack boot.img & camera fix
    Another LeWa porting tips
    Another cam fix
    Another porting tips
    Haptic feedback fix
    Another porting tips
    Resize icon
    Flip screen explained
    Brightness fix
    Another porting tips
    Touch Screen problem & solution
    Another porting tips
    Another MIUI porting tips (2)
    Another porting tips
    Another Android Kitchen porting tips
    Another sdcard fix
    Another cam fix
    Another vold.fstab fix
    Another porting tips
    Another cam fix
    Another cam fix
    Another porting tips
    Button fix
    Porting 4.2.2 for MT6577
    Porting MT6589 to 77 (2) (3)
    Phone.apk FC fix
    Dialer FC fix
    Another porting tips
    Date & Time fix
    Porting from MT6589 ROM to MT6577 with AMOI 4.2.2 base Q&A
    LeWa OS5 Porting Tips
    Fix sd mount in device
    Another cam fix (2) (3)
    Another cam fix (2)
    Another cam fix tips
    ROM Index for Porting
    Another sdcard fix (2) (3) (4)
    Porting Tools Updated Version
    MT6575 audio & micro sim fix
    MT6582 media player fix
    Another SIM fix
    Another storage fix

    29
    master

    hey master mind if you add these..
    and i like your idea for consolidating everything about MT65xx devices i thinks its a good idea we can create a huge community with this.
    maybe we should request for a MT6577 device to be added since many phones use this platform. and its not that hard to port roms from other MT65xx devices.

    1 Device: KATA i1
    2 ROM ported: LeWa OS from Zopo ZP900
    3 Camera, FM radio, 3G Data not working

    4

    FM radio fix and Camera Fix

    i did was i extracted the PORT ROM and STOCK ROM to any folder then searched for the thing that didn't work. eg. CAMERA
    then i copied all the files that has camera in it from stock and overwritten the ones in port.
    (i also deleted the extra files the STOCK didn't have, don't know what happens if you don't delete the extra ones, but since your reverting to stock just use all of the stock ones IMO)

    here it goes

    For CAMERA - "can't connect to Camera"
    copy these from stock ROM to port ROM

    \system\lib\hw\camera.default.so --- (if you have two files like camera.goldfish.so delete this the one with the goldfish)
    \system\lib\libcamera_client.so
    \system\lib\libcameracustom.so
    \system\lib\libcameraprofile.so
    \system\lib\libcameraservice.so

    you can copy the stock camera.apk if you want but not necessary

    now for FM Radio

    \system\lib\libaudio.a2dp.default.so
    \system\lib\libaudio.primary.default.so
    \system\lib\libaudiocompensationfilter.so
    \system\lib\libaudiocustparam.so
    \system\lib\libaudioeffect_jni.so
    \system\lib\libaudioflinger.so
    \system\lib\libaudiosetting.so
    \system\lib\libfmar1000.so
    \system\lib\libfmcust.so
    \system\lib\libfmjni.so
    \system\lib\libfmmt6616.so
    \system\lib\libfmmt6620.so
    \system\lib\libfmmt6626.so
    \system\lib\libfmmt6628.so

    you can also copy the stock fmradio.apk if you want but not necessary

    for the 3G data refer to master yuwengs post #1.

    so based on my experience i think this is also applicable with other hardware problems. not all, maybe some hehe :D

    success!! :highfive:

    hope this helps!

    credits to master yuweng for helping me finish my lewa rom port. dsixda for kitchen and lewa os team for their great rom.:D
    17
    i'll share my experience with you that how to port ROM for mediatek device
    My Porting methods in any MediaTek SoC base device
    device chipset must be same i.e base is MT6577 = port is MT6577 otherwise its wont boot
    device screen resolution must be same then easy to port and boot :) sometimes 720p device boot up in my WVGA device :) so no comments js advice use same resolution device for port
    android os version must be same otherwise ROM not booted up :) i.e. 4.0.4=4.0.4 , 4.1.1=4.1.1 ,4.2=4.2
    make sure you have working stock ROM or CWM nandroid backup for your base :)
    then do this

    AFAIK :p , any MediaTek any SoC ROM ( I.E. MT6575 , MT6577 , MT6589 ) will successfully ported throw Android dxida Kitchen only :)
    just need to replace bootclasspath of port boot.img>ramdisk>init.rc to base in init.rc this things u guys know better then me :)
    then make your changes u wish in ROM i.e. add support of data/apps , add init.d support etc...

    then add or remove apps you want :)
    now take these stuffs from your stock ROM only not from any other working ROM in your device i suggest you only choose stock rom for some patch files

    system/lib/hw
    system/lib/modules
    system/etc/firmware

    now copy that whole folder to port rom and if it ask u for replace press yes and replace it :)
    now do porting throw kitchen
    and make ROM by pressing 99 button:)
    now flash zip and check :) most of all Ported ROM throw kitchen will boot up u just need to check what things is working and what not :p
    now if you find that audio is not working then do this
    first copy your device stock rom system>lib folder to somewhere else
    and delete all folder from lib folder ( mark my words delete only folders not any files in lib folder )
    now press Ctrl+F and search ( audio ) in small letters and copy all files which u found in search results and replace it in system>lib of your port rom :) audio fixed 99.99% thanks to master shifu yuweng and voetbalremco for this nice tutorials :)
    same things in camera , just use search button in system/lib and search for [ camera ] copy and replace all files which u found as result of search :)
    done reflash rom again then check , i hope it fixed your issue of camera and audio by this methods , i only use that methods to port any ROM in my old A90s and my new UMI X2 , already ported 3-4 ROM :) working fine all , only lewa give me storage mounting issue :) m working on it :)

    Thanks
    Hardy
    14
    Yeoh Bro, you make the right choice ! :eek: There has been alot of development for MMX A110... :good: So many custom ROMs so little time... :laugh:
    13
    Ofcourse, I'll explain it more clearly. @yuweng. Please...include this in OP, ive explained too many times :p

    I assume you use dsixda's kitchen.
    Set up working folder for stock rom
    Go to advanced > tools for boot.img
    > unpack boot.img

    Navigate to the folder called Boot-extracted.
    > rename it to something else (for now: stock boot)

    Set up working folder for port rom.
    Go to advanced > unpack boot.img

    Do a google search for 'winmerge' > install program (free).

    Open winmerge, for left navigate to the 'stock boot' folder, and select init.rc (about 40kb)

    For right, navigate to the port 'boot-extracted', and select init.rc (about 40kb)

    In winmerge find lines like this
    Chmod camera blablabla (on the left pane you will see where there are differences)
    Chown camera blablabla

    If there are differences in those lines, copy the stock lines, and overwrite the port ones

    Save the files (crtl+s)

    Navigate to boot extracted folder, you can close winmerge. Copy stock Zimage (from 'stock boot' folder) to port, and overwrite the Zimage there with stock one.

    Go back to kitchen, > advanced > tools for boot.img > build new boot image.

    Profit :D