[DEV][ROM][JB 4.2.2]SoC MT6577[DISCUSSION]

Status
Not open for further replies.
Search This thread

greedisgood99999

Senior Member
Apr 13, 2012
304
11
I successfully ported it on our MTK6577..but how to make everything work??.our phone has builtin TV and Gesture (air shuffle)..anyone can help me??.im only using windows on porting just copy paste some files..TIA
 

Sudeep Duhoon

Inactive Recognized Contributor
Oct 23, 2012
1,261
2,770
Delhi
Multi user and other tweaks.
Got a few small bugs, will fix them and upload after the phone gets charged.

Sent from my canvas music using tapatalk ;)

5emu3e7y.jpg
5e3e8asa.jpg
6uqasuse.jpg
6u6ydahy.jpg
 

Attachments

  • 1379567203162.jpg
    1379567203162.jpg
    37.3 KB · Views: 154
Last edited:

musfiqus

Senior Member
Apr 9, 2013
121
315
Dhaka
That's related to something in your boot.img ramdisk.

I had that same problem when building my first beta, managed to fix it by using my stock init.rc with modified BootPath$(4.2)
Also you will need to make the necessary changes to get wifi, BT working on that same file (check this thread).

Bro I'm unable to find the string "BootPath$" both in stock and 4.2 init.rc. If you can, please tell me where exactly to look for it :)
 

superdragonpt

Recognized Developer
Apr 27, 2013
4,952
19,354
Lisbon / Taiwan / USA
www.caixamagica.pt
Thanks bro. I've already changed my bootclasspath. But still it's giving app not installed error. May be I'm missing something... :(
search this thread ....

the solucion was already given here.

First try deleting the second Path$ .*userdebug

repack boot.img and test...
And come back with your feedback, then i can guide you in the next steps (if needed)
 
  • Like
Reactions: musfiqus

superdragonpt

Recognized Developer
Apr 27, 2013
4,952
19,354
Lisbon / Taiwan / USA
www.caixamagica.pt
For camera problems (ramdisk related)
Currently using this Configs :





init.rc (#Modified by me; im getting better results with this)

Added MODS in RED

Code:
[B] #Camera
    chmod 0660 /dev/camera-sysram
    chmod 0660 /dev/camera-isp
    chmod 0660 /dev/camera-eis
    chmod 0660 /dev/camera-fdvt
    chmod 0660 /dev/camera-resmgr
    chmod 0660 /dev/kd_camera_hw
    chmod 0660 /dev/kd_camera_flashlight
    chmod 0660 /dev/FM50AF
   [COLOR=Red] chmod 0660 /dev/MT9P017AF
    chmod 0660 /dev/A8141AF
    [COLOR=Black]chmod 0660 /dev/OV8825AF[/COLOR]
    chmod 0660 /dev/AD5823AF
    chmod 0660 /dev/EEPROM_IMX111OTP
    chmod 0660 /dev/EEPROM_93CX6             [COLOR=Blue]---------> EEPROM from my system/lib/modules       [/COLOR][/COLOR]

    chown system camera /dev/camera-sysram
    chown system camera /dev/camera-isp
    chown system camera /dev/camera-eis
    chown system camera /dev/camera-fdvt
    chown system camera /dev/camera-resmgr
    chown system camera /dev/kd_camera_hw
    chown system camera /dev/kd_camera_flashlight
    chown system camera /dev/FM50AF
   [COLOR=Red] chown system camera /dev/MT9P017AF
    chown system camera /dev/A8141AF
   [COLOR=Black] chown system camera /dev/OV8825AF[/COLOR]
    chown system camera /dev/AD5823AF
    chown system camera /dev/EEPROM_IMX111OTP
    chown system camera /dev/EEPROM_93CX6
    chmod 0777 /dev/iqoo_flashlight_platform //zsy    [/COLOR][/B]
default.prop (#Modified)
Added MODS in RED

Code:
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
[COLOR=Red][B]ro.secure=0
ro.allow.mock.location=1[/B][/COLOR]
persist.mtk.aee.aed=on   [COLOR=Blue][B]-----> TEST "on" and "off", [/B][/COLOR] [B][COLOR=Blue]depending in your system stability[/COLOR][/B]
[COLOR=Red][B]ro.debuggable=1[/B][/COLOR]
[COLOR=Red][B]persist.sys.usb.config=mass_storage,adb[/B][/COLOR]
persist.service.acm.enable=0
[COLOR=Red][B]persist.service.adb.enable=1[/B][/COLOR]
ro.mount.fs=EXT4
Enjoy, and give feedback
 
S

SuperDroid-BOND

Guest
For camera problems (ramdisk related)
Currently using this Configs :





init.rc (#Modified by me; im getting better results with this)

Added MODS in RED

Code:
[B] #Camera
    chmod 0660 /dev/camera-sysram
    chmod 0660 /dev/camera-isp
    chmod 0660 /dev/camera-eis
    chmod 0660 /dev/camera-fdvt
    chmod 0660 /dev/camera-resmgr
    chmod 0660 /dev/kd_camera_hw
    chmod 0660 /dev/kd_camera_flashlight
    chmod 0660 /dev/FM50AF
   [COLOR=Red] chmod 0660 /dev/MT9P017AF
    chmod 0660 /dev/A8141AF
    [COLOR=Black]chmod 0660 /dev/OV8825AF[/COLOR]
    chmod 0660 /dev/AD5823AF
    chmod 0660 /dev/EEPROM_IMX111OTP
    chmod 0660 /dev/EEPROM_93CX6             [COLOR=Blue]---------> EEPROM from my system/lib/modules       [/COLOR][/COLOR]

    chown system camera /dev/camera-sysram
    chown system camera /dev/camera-isp
    chown system camera /dev/camera-eis
    chown system camera /dev/camera-fdvt
    chown system camera /dev/camera-resmgr
    chown system camera /dev/kd_camera_hw
    chown system camera /dev/kd_camera_flashlight
    chown system camera /dev/FM50AF
   [COLOR=Red] chown system camera /dev/MT9P017AF
    chown system camera /dev/A8141AF
   [COLOR=Black] chown system camera /dev/OV8825AF[/COLOR]
    chown system camera /dev/AD5823AF
    chown system camera /dev/EEPROM_IMX111OTP
    chown system camera /dev/EEPROM_93CX6
    chmod 0777 /dev/iqoo_flashlight_platform //zsy    [/COLOR][/B]
default.prop (#Modified)
Added MODS in RED

[/CODE]Enjoy, and give feedback

Brother
Thanks a ton for these codes. Will you mind uploading your whole lib folder along with everything in it. And if possible also the new boot.img. Please. Once again thanks for all of your contribution to MT6577 community.
 

superdragonpt

Recognized Developer
Apr 27, 2013
4,952
19,354
Lisbon / Taiwan / USA
www.caixamagica.pt
Brother
Thanks a ton for these codes. Will you mind uploading your whole lib folder along with everything in it. And if possible also the new boot.img. Please. Once again thanks for all of your contribution to MT6577 community.

No problem... but about my files, keep in mind that you may need to replace my files with an Compatible MT6577, 6628 ROM.
My Zte uses an MT6620 ...

Still my camera is not at 100% ; but its better now, and its getting better exposure/light

Full Ramdisk + Full /system/libs

files.zip - 68.40 MB

MD5 Sum 2dfc9670fa3a427efcac6aa104a29396


Hope it helps you guys !
 

jolo0123

Member
Jan 16, 2013
21
1
No problem... but about my files, keep in mind that you may need to replace my files with an Compatible MT6577, 6628 ROM.
My Zte uses an MT6620 ...

Still my camera is not at 100% ; but its better now, and its getting better exposure/light

Full Ramdisk + Full /system/libs

files.zip - 68.40 MB

MD5 Sum 2dfc9670fa3a427efcac6aa104a29396


Hope it helps you guys !

Will try this later. This solves the pinkish tint issue and auto focus?
 
S

SuperDroid-BOND

Guest
No problem... but about my files, keep in mind that you may need to replace my files with an Compatible MT6577, 6628 ROM.
My Zte uses an MT6620 ...

Still my camera is not at 100% ; but its better now, and its getting better exposure/light

Full Ramdisk + Full /system/libs

files.zip - 68.40 MB

MD5 Sum 2dfc9670fa3a427efcac6aa104a29396
Hope it helps you guys !

Brother,
Very unfortunate to say that it didn't worked for us. Our camera is a bloody hell and making is crazy. Dont know what to do now....
 

ron.gt

Senior Member
May 10, 2013
214
219
Kolkata
iballandi45h.blogspot.in
4.2 porting for MT6577/mt6620 device (iball andi4.5h)

All the devs working for 4.2 JB for MT6577 ... thanks a ton for your hard work... my device is iball andi4.5h (mt6577/mt6620) ... i have tried porting amoi n820 JB 4.2.2 and ligoIce 4.2.1 for my device...

Both are booted in my device... working smoothly now... only few problems are still there...

1. for 4.2.2 rom (amoi N820) ... everything is fine except the front camera... guys can anyone tell me which files or lib modules are exactly needed to copy/paste from my stock 4.1 to port 4.2 rom?? or else do i need to add anything in ramdisk>init.rc or whatever??

2. For ligoIce 4.2.1 (i guess it is for mt6628 platform) ... the same front camera problem persists here also... and one extra problem in this rom is bluetooth... it is not switching on at all... (however it is not there in 4.2.2 amoi n820) ... So do i need to port any extra files?? i tried adding all lib BT modules and .so files related to bluetooth... also ported btconfig from /system/bin ... also added BT lines from stock init.rc to port init.rc... tried putting 4.2.2 boot.img in ligoIce ... all the combinations of above mentioned steps... nothing seems to be working...:confused:

i tried porting bluetooth from 4.2.2 and also from stock 4.1 to ligoIce... but no result...:crying::crying:

I am clueless... any help would be great friends....:good::good:
 
  • Like
Reactions: Jukel Rakesh

7thwarrior

Senior Member
Feb 1, 2012
130
13
Pematangsiantar
i've successfully installed the rom, but when i try to download candy crush saga game from the playstore, it says that my device isn't compatible with this version. then i tried to find the apk file from google and install it, it run smoothly. any idea how to fix this playstore problem ?

nb. it seem that some / all of the arm7 games isn't visible for me in the playstore :(
 

Mohamed Hussein

Senior Member
Dec 31, 2005
60
5
Everything working fine

Hello All,

I've got everything working on my XTouch X507S, GPS, BT, WIFI, FM, WIFI Tether, DUAL Camera + AF but I've some errors on logcat I'll have a look at it and still have pinkish color in the camera did you get it to be fixed?

Best regards,
Mohamed
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    HI GUYS


    MT6577 devices AMOI n820 / n821 got an UPDATE to JB 4.2.2
    Kernel 3.4.5


    ORIGINAL ROM Update LINKS :

    Code:
    [B][COLOR=DarkOrange]N821[/COLOR][/B]
    N821_JB2_V1.0_USER_SD_UPDATE_2013-08-23
    http://pan.baidu.com/share/link?shareid=2688266989&uk=1462634504
    
    [B][COLOR=DarkOrange]N820[/COLOR][/B]
    N820_JB2_V1.0_USER_SD_UPDATE_2013-08-2
    http://pan.baidu.com/share/link?shareid=2692689408&uk=1462634504
    I know there are people here already trying to PORT to other phones based on MT6577 hardware.
    LETS HELP EACH OTHER, and discuss the work and progress we have made

    Thanks to thirdzcee for helping me review the STEPS
    The user Dark4droid from Micromax A110 is also working on it for his phone





    ZTE V970 / V970m Users check this thread:

    http://xdaforums.com/showthread.php?p=45048032#post45048032

    First Beta is On-line







    PORTING THE ROM:

    You will need your device's stock JB (4.1.1 ) Rom



    MY Rom after Porting is booting, but im getting FC on the SystemUI (i will need to check and re-check it later) when i get Home from work.


    Steps to Port:

    - USE the 3.4.0 JB Kernel (zImage)
    - USE RAMDISK from 3.4.5 , except init.rc (use the one from 3.4.0)

    On the init.rc change the bootclass with the one from 3.4.5

    Use the folowing from your stock Rom:
    ----> And Paste / Replace in the Port (original) ROM

    Code:
    /System/ Vendor
                   / etc/ firmware
                   / lib/ hw
                   / lib/ modules [U]AND files[/U]
                   / etc/ vold.fstab
                   / etc/ vold.fstab.nand
    Rebuild the new boot.img, and test.



    I will upload my ROM for you guys to check, later at night (i cant right now)
    7
    For camera problems (ramdisk related)
    Currently using this Configs :





    init.rc (#Modified by me; im getting better results with this)

    Added MODS in RED

    Code:
    [B] #Camera
        chmod 0660 /dev/camera-sysram
        chmod 0660 /dev/camera-isp
        chmod 0660 /dev/camera-eis
        chmod 0660 /dev/camera-fdvt
        chmod 0660 /dev/camera-resmgr
        chmod 0660 /dev/kd_camera_hw
        chmod 0660 /dev/kd_camera_flashlight
        chmod 0660 /dev/FM50AF
       [COLOR=Red] chmod 0660 /dev/MT9P017AF
        chmod 0660 /dev/A8141AF
        [COLOR=Black]chmod 0660 /dev/OV8825AF[/COLOR]
        chmod 0660 /dev/AD5823AF
        chmod 0660 /dev/EEPROM_IMX111OTP
        chmod 0660 /dev/EEPROM_93CX6             [COLOR=Blue]---------> EEPROM from my system/lib/modules       [/COLOR][/COLOR]
    
        chown system camera /dev/camera-sysram
        chown system camera /dev/camera-isp
        chown system camera /dev/camera-eis
        chown system camera /dev/camera-fdvt
        chown system camera /dev/camera-resmgr
        chown system camera /dev/kd_camera_hw
        chown system camera /dev/kd_camera_flashlight
        chown system camera /dev/FM50AF
       [COLOR=Red] chown system camera /dev/MT9P017AF
        chown system camera /dev/A8141AF
       [COLOR=Black] chown system camera /dev/OV8825AF[/COLOR]
        chown system camera /dev/AD5823AF
        chown system camera /dev/EEPROM_IMX111OTP
        chown system camera /dev/EEPROM_93CX6
        chmod 0777 /dev/iqoo_flashlight_platform //zsy    [/COLOR][/B]
    default.prop (#Modified)
    Added MODS in RED

    Code:
    #
    # ADDITIONAL_DEFAULT_PROPERTIES
    #
    [COLOR=Red][B]ro.secure=0
    ro.allow.mock.location=1[/B][/COLOR]
    persist.mtk.aee.aed=on   [COLOR=Blue][B]-----> TEST "on" and "off", [/B][/COLOR] [B][COLOR=Blue]depending in your system stability[/COLOR][/B]
    [COLOR=Red][B]ro.debuggable=1[/B][/COLOR]
    [COLOR=Red][B]persist.sys.usb.config=mass_storage,adb[/B][/COLOR]
    persist.service.acm.enable=0
    [COLOR=Red][B]persist.service.adb.enable=1[/B][/COLOR]
    ro.mount.fs=EXT4
    Enjoy, and give feedback
    4
    Patch for Camera + Wi-Fi/BT


    You should get your camera working with this , and wifi-BT should also have different behaviors :

    My camera is working with this patch, and wifi connects for like 1m, then reboot, BUT it connects:

    NOTE : Debuger Path MUST be Removed from the init.rc

    in my case :
    Code:
    on early_property:ro.build.type=userdebug
        write /proc/bootprof "INIT: userdebug build setting"
        export BOOTCLASSPATH  /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-op.jar:/system/framework/secondary-framework.jar:/system/framework/CustomProperties.jar
    So You MUST recompile your boot.img first


    Instructions:

    Should be used on an Original Ported ROM (no mods) released by Dark4Droid or (if you are an ZTE user) by me on my Beta1 Rom (check my sig for thread link):

    CWM:

    Wipe Cache/Dalvik
    Flash the Patch
    Reboot



    Download:
    Patch_Camera_BT_WiFi_#81.zip - 21.41 MB

    Give Feedback !
    4
    VCi8XaA.png


    I will upoload the wifi patch when i managed to check all my changes (flashes after flashes....) :eek::laugh:
    4
    Zte v970 USERS:

    My Beta 02 is OnLine !!!

    http://xdaforums.com/showthread.php?t=2422781


    Changelog Beta 2
    Code:
    [INFO] DEODEXED ROM
    [INFO] SuperSU (ROOTED)
    
    [FIX] Wi-Fi
    [FIX] Camera (Still needs some arrangements, but it's working)
    [FIX] Phone Calls (no more freezes and no Sound)
    [FIX] Several System Libs
    
    [MOD] MTK Engineer Mode in Settings
    
    [ADD] Updated APN List (From CM repo)
    [ADD] Host File AdFree (From AdAway)
    [ADD] Busybox
    [ADD] iNIT.D SUPPORT + Performace Scripts
    [ADD] New AOSP Keyboard, with multi-lang Dictionaries and word prediction
    [ADD] ZTE BOOT / SHUT Animation
    Not Working:

    Code:
    -External SD Card
     - Bluetooth ? (Don't have any BT Device)
    -Fm Radio ? (Don't have my original Phones)
    - GPS (Not Tested)
    -You tell me

    CAMERA

    For camera compatibility add these lines (init.rc):


    chmod 0660 /dev/OV5640AF
    chmod 0660 /dev/MT9P017AF

    chown system camera /dev/OV5640AF
    chown system camera /dev/MT9P017AF


    WLAN

    on meta_init.rc add these (in red):

    (under # MT6620 related services (Begin))

    service 662x_launcher /system/bin/logwrapper /system/bin/6620_launcher -b 4000000 -p /system/etc/firmware/ -d /dev/ttyMT2
    user system
    group system
    oneshot

    service wlanLoader /system/bin/wlan_loader
    user root
    group root
    class main
    oneshot


    #
    # MT6620 related services (End)
    #

    EXTERNAL SD

    on init.rc add these (in red):

    mkdir /storage 0055 system sdcard_r
    mkdir /storage/sdcard0 0000 system system
    mkdir /storage/sdcard1 0000 system system
    # for backwards compatibility
    symlink /storage/sdcard0 /sdcard
    symlink /storage/sdcard0 /mnt/sdcard
    symlink /storage/sdcard1 /mnt/sdcard2


    :D