Using ZTE Blade Android phone with Ubuntu 11.10

Using a ZTE Blade Android phone connected with USB is a bit tricky with Ubuntu 11.10.

First you need to apply the patch in this bug, after doing that you should get USB storage to work.

After doing that, it is also possible to get development and debugging to work over USB. Create a group androiddev (addgroup --system androiddev), and add yourself to it (gpasswd -a yourUsername androiddev). Then create a file /etc/udev/rules.d/11-android.rules with this content (4 lines, watch the line breaks):

SUBSYSTEMS==”usb”, ATTRS{idVendor}==”19d2″, ATTRS{idProduct}==”1353″, MODE=”0666″, OWNER=”root”, GROUP=”androiddev” #Normal Blade
SUBSYSTEMS==”usb”, ATTRS{idVendor}==”19d2″, ATTRS{idProduct}==”1350″, MODE=”0666″, OWNER=”root”, GROUP=”androiddev” #Debug Blade
SUBSYSTEMS==”usb”, ATTRS{idVendor}==”19d2″, ATTRS{idProduct}==”1354″, MODE=”0666″, OWNER=”root”, GROUP=”androiddev” #Recovery Blade
SUBSYSTEMS==”usb”, ATTRS{idVendor}==”18d1″, ATTRS{idProduct}==”d00d”, MODE=”0666″, OWNER=”root”, GROUP=”androiddev” #Fastboot Blade

Finally logout and login again. Don’t forget to enable USB debugging on the phone before connecting it.

Depending on the exact model you have, you might need to adjust the file. See what the lsusb command says about your phone and put that product id in the second line.

This entry was posted in Linux. Bookmark the permalink.

5 Responses to Using ZTE Blade Android phone with Ubuntu 11.10

  1. Pingback: Using ZTE Blade Android phone with Ubuntu 11.10 | Mikael … | Pici's Ubuntu Blog

  2. Pingback: ZTE Blade 2 review - Various Ideas On Many Subjects - Dude17111.com

  3. Yarriofultramar says:

    Hej!

    Could you be so nice and explain how to apply said patch? I cannot connect my ZTE Blade and I feel very frustrated. Thanks!

  4. Yarriofultramar,

    you remove the line

    ATTRS{idVendor}==”19d2″, ATTRS{idProduct}==”0083″, RUN+=”usb_modeswitch ‘%b/%k'”

    from the file /lib/udev/rules.d/40-usb_modeswitch.rules.

    You might have to reboot also.

  5. augre says:

    very nice, thanks

Comments are closed.