#1119 First patch to add support for MediaTek MT6235 SOC doesn't work well (used in lot of feature phone built in china)

GIT version
open
nobody
None
1
2014-09-26
2014-08-14
Yannick
No

Hello,

I have a feature phone and I try to add support for it in libmtp.

The feature phone is an Alcatel One Touch 815 :
http://www.alcatelonetouch.com/global-en/products/featurephones/one_touch_815.html

The command line output for lsusb said :
With MTP enabled
Bus 007 Device 023: ID 0e8d:0050 MediaTek Inc.

With USB Mass Storage enabled
Bus 007 Device 030: ID 0e8d:0002 MediaTek Inc.

When I check the features in my phone and the chips built by MediaTek for the feature phone (http://www.mediatek.com/en/products/mobile-communications/mobile-chipsets/feature-phone/ ), I think that MT6235 is the best candidate because it's only the single chip with FM tuner :
http://www.mediatek.com/en/products/mobile-communications/mobile-chipsets/feature-phone/mt6235/
https://en.wikipedia.org/wiki/MT6235
The last URL said that a lot of feature phone with this SOC chip use Nucleus RTOS :
https://en.wikipedia.org/wiki/Nucleus_RTOS

There is already a ticket with the same USB id :
https://sourceforge.net/p/libmtp/bugs/874/ (VID=0e8d and PID=0050)
but I think that these USB ids are generic for Mediatek MT 6235 SOC chip and maybe MT62xx SOC chips family and not the Texet MT510R cellphone.

Then I have created a patch (file libmtp-add-support-for-MediaTek_feature_phone_MT62xx.patch) that replace the following here :
https://sourceforge.net/p/libmtp/code/ci/1f88439bf36321a94ae3f9c71640cba0d805a9ce/.
I have tested the following parameters DEVICE_FLAG_NONE or DEVICE_FLAGS_ANDROID_BUGS in this patch but I have the same problem.

I plug the USB cable phone in PC USB connector and my Mageia Linux 4 system with libmtp 1.1.6, kio-mtp (MTP Kio Slave​, Kio slave providing access to MTP device using the mtp:/// protocol) and Dolphin. It detect my phone and show it as Alcatel One Touch 815 in Dolphin file manager but ONLY 3 seconds and after this delay, it disappears !
In Dolphin , I have path : mtp:/MTK IMAGE MTP%20/ and the error message :
"No storage found. maybe you need to unlock your devices"
or The processs processing MTP protocol is stopped as an unexpected error occurred.

Can you help me to fix this problem with the good parameters ?

1 Attachments

Discussion

  • Yannick
    Yannick
    2014-08-15

    The command line output for lsusb said :
    With MTP enabled
    Bus 007 Device 023: ID 0e8d:0050 MediaTek Inc.

    With USB Mass Storage enabled
    Bus 007 Device 030: ID 0e8d:0002 MediaTek Inc.

    but in MS Windows, there is an other USB ID for the USB Modem (in the phone) driver :
    0e8d:0003

     
    Last edit: Yannick 2014-08-15
  • Linus Walleij
    Linus Walleij
    2014-08-24

    Sorry but cannot help much here :-(

    One need access to the physical device to test & stuff. So please continue experimenting.

     
  • Yannick
    Yannick
    2014-08-24

    @Linus

    One need access to the physical device to test & stuff.
    Ok, I understand

    So please continue experimenting.
    To help me, can you give advices or process steps that I need to follow to fix the problem and add support for this feature phone in libmtp ?
    I can do some tests and reports to you the output if you explain me how to do.

     


Anonymous


Cancel   Add attachments