Jump to content


Photo

ADB and Pulse Mini


  • Please log in to reply
18 replies to this topic

#1
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,220 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Anyone got it working yet? Usual tricks don't seem to work!

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#2
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,220 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
I have fastboot by doing volume down and red button when powering on...

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#3
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,220 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Gah, the lack of ADB access is become a real issue when debugging! :rolleyes:

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#4
chrish2009

chrish2009

    Regular

  • Members
  • PipPip
  • 67 posts
  • Gender:Male
  • Location:nuneaton
  • Devices:HTC Magic

Gah, the lack of ADB access is become a real issue when debugging! :rolleyes:

P

ive had another go at it, cant seem to figure it out. :/

chris

  • 0
chris

check out http://free1200micro...oints.webs.com/ to get free microsoft points. Free money and much more.

#5
cantido

cantido

    Newbie

  • Members
  • Pip
  • 10 posts
  • Devices:pulse mini
The phone is a usb composite device and needs usb mode switching to work...
I'm sniffing the mode switch stuff so that non-windows users can use this thing.
Anyhow, if plug the thing into a windows box and install the software on the virtual cdrom it will install the drivers needed to do the usb mode switch,
once the phone has switched it will present a composite device to windows with the adb stuff etc.
You can switch the phone in a windows vm and then disconnect it to gain access to adb on a non-windows machine...

  • 0

#6
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,220 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
cantido, thanks, how odd!

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#7
cantido

cantido

    Newbie

  • Members
  • Pip
  • 10 posts
  • Devices:pulse mini
It seems to be pretty common for huawei devices to work like this..

I can get adb running and get a shell up, but I can't get eclipse to install anything on the phone :/

  • 0

#8
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,220 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien

The phone is a usb composite device and needs usb mode switching to work...
I'm sniffing the mode switch stuff so that non-windows users can use this thing.
Anyhow, if plug the thing into a windows box and install the software on the virtual cdrom it will install the drivers needed to do the usb mode switch,
once the phone has switched it will present a composite device to windows with the adb stuff etc.
You can switch the phone in a windows vm and then disconnect it to gain access to adb on a non-windows machine...

Hmmm, I can get access on Windows, but on my Mac it doesn't wanna show...

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#9
cantido

cantido

    Newbie

  • Members
  • Pip
  • 10 posts
  • Devices:pulse mini
usb_modeswitch -W -v 12d1 -p 1030 -V 12d1 -P 1034 -M "5553424370ab71890600000080010a11060000000000000000000000000000" -s 20

That will switch it on a linux machine.. I'm not sure what you do on osx, maybe there is a mode switch tool for that

  • 0

#10
cantido

cantido

    Newbie

  • Members
  • Pip
  • 10 posts
  • Devices:pulse mini
Here is a modified adb binary for linux that you can drop into your android SDK... it's patched with this patch https://review.sourc...m/#change,13552
This fudges the device serial in adb so that the eclipse stuff works.

http://www.mediafire.com/?oizmyyw0wwz

Attached Files


  • 0

#11
ixdap

ixdap

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Huawei U8110
  • Twitter:@n/a
I am trying to get 'adb shell' to work, with either the binary I downloaded from google or the one you supplied. I have tried the usb_modeswitch and that failed the first time I tried it but seems to suceed consistently now.

after the modeswitch 'adb devices' says:

List of devices attached
???????????? offline

where that really is a list of question marks. and 'adb shell' says

error: device offline

----
update: realised I needed to set the 'Debug USB' thingy.

Edited by ixdap, 08 June 2010 - 09:48 PM.

  • 0

#12
cantido

cantido

    Newbie

  • Members
  • Pip
  • 10 posts
  • Devices:pulse mini

I am trying to get 'adb shell' to work, with either the binary I downloaded from google or the one you supplied. I have tried the usb_modeswitch and that failed the first time I tried it but seems to suceed consistently now.

after the modeswitch 'adb devices' says:

List of devices attached
???????????? offline

where that really is a list of question marks. and 'adb shell' says

error: device offline

----
update: realised I needed to set the 'Debug USB' thingy.



You need to turn on debugging on the phone.. it's in applications > development in the settings.
You need to download the latest version of the SDK and drop the patched binary into "tools".
The "??????????" thing is because the device doesn't have a device serial (apparently only HTC devices do, check the linked bug report above), the patch I applied to that adb generates a phony serial.
You don't need that if you don't intend to use the ADT plugin with eclipse though. You can install apps via adb even with the broken serial.

You just need to turn on debugging in on the phone. :)

  • 0

#13
Linan

Linan

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:T-Mobile Pulse Mini

Hmmm, I can get access on Windows, but on my Mac it doesn't wanna show...

P


Had the same problem. it was solved by using virtualbox. You don't have to install anything on the windows of the virtualbox. only need to boot into windows, enable it from the usb list. then it'll be visible under mac. seems to me there is a hidden command to switch onto the usb mode on huawei devices.

  • 0

#14
greenjim301

greenjim301

    Newbie

  • Members
  • Pip
  • 5 posts

Here is a modified adb binary for linux that you can drop into your android SDK... it's patched with this patch https://review.sourc...m/#change,13552
This fudges the device serial in adb so that the eclipse stuff works.

http://www.mediafire.com/?oizmyyw0wwz

Great thanks!I finally got my "Hello Android" worked.
Thanks for your adb and your brillient job.

  • 0

#15
ikis

ikis

    Newbie

  • Members
  • Pip
  • 1 posts

usb_modeswitch -W -v 12d1 -p 1030 -V 12d1 -P 1034 -M "5553424370ab71890600000080010a11060000000000000000000000000000" -s 20

That will switch it on a linux machine.. I'm not sure what you do on osx, maybe there is a mode switch tool for that



Hi unfortunately this is not working for me with my plugged 8110 phone under Ubuntu 10.04. I am getting the messaage below. Any idea?


root@adrian-laptop:/home/adrian/Downloads/android-sdk-linux_86/tools# usb_modeswitch -W -v 12d1 -p 1031 -V 12d1 -P 1035 \ -M "5553424370ab71890600000080010a11060000000000000000000000000000" -s 20
Taking all parameters from the command line


 * usb-modeswitch: handle USB devices with multiple modes
 * Version 1.1.0 (C) Josua Dietze 2010
 * Based on libusb 0.1.12

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1031
TargetVendor=   0x12d1
TargetProduct=  0x1035
TargetClass=	not set

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent= not set
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check enabled, max. wait time 32 seconds
System integration mode disabled

usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 008
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 008
usb_os_find_devices: Found 002 on 007
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 007
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 002 on 002
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device

Looking for target devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04fc:0003
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 064e:a103
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 12d1:1031
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
 No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04fc:0003
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 064e:a103
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 12d1:1031
   found matching vendor ID
   found matching product ID
  searching devices, found USB ID 1d6b:0002
 Found default devices (1)
Accessing device 002 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: Android 
   Model String: Adapter		 
Revision String: ffff
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: Huawei Incorporated
	 Product: Android Mobile Adapter
  Serial No.: not provided
-------------------------
Warning: no switching method given.

Checking for mode switch (max. 32 times, once per second) ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Waiting for original device to vanish ...
 Original device still present after the timeout

Mode switch most likely failed. Bye.

  • 0

#16
cantido

cantido

    Newbie

  • Members
  • Pip
  • 10 posts
  • Devices:pulse mini

USB description data (for identification)
-------------------------
Manufacturer: Huawei Incorporated
	 Product: Android Mobile Adapter
  Serial No.: not provided
-------------------------


Sorry for the delay... My pulse mini gives this description.

USB description data (for identification)
-------------------------
Manufacturer: Huawei Incorporated
	 Product: T-Mobile 3G Phone
  Serial No.: not provided
-------------------------

It's possible your firmware will need a different message to do the mode switch. If you have virtual box and a windows xp vm you can easily capture the message using a usb sniffer.

  • 0

#17
Max Waterman

Max Waterman

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:n900

Sorry for the delay... My pulse mini gives this description.

USB description data (for identification)
-------------------------
Manufacturer: Huawei Incorporated
	 Product: T-Mobile 3G Phone
  Serial No.: not provided
-------------------------

It's possible your firmware will need a different message to do the mode switch. If you have virtual box and a windows xp vm you can easily capture the message using a usb sniffer.


Hi, I am getting the problem described in this thread with my phone.

I had similar output to cantido, where it keeps waiting for the original device to vanish.

It output :
searching devices, found USB ID 12d1:1030
   found matching vendor ID
   found matching product ID

Then :
Looking for active driver ...
USB error: could not get bound driver: No data available
 No driver found. Either detached before or never attached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: T-Mobile
   Model String: 3G Phone		
Revision String: ffff
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: Huawei Incorporated
	 Product: T-Mobile 3G Phone
  Serial No.: not provided
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.

I'm at a loss how to move forward with this now :/ Any clues welcome.

Max.

EDIT:I've now install Windows7 in Virtualbox on my Linux box. If anyone has any instructions on how to make USB work and sniff the appropriate string, please let me know.

Edited by Max Waterman, 27 April 2011 - 02:38 AM.

  • 0

#18
Profete162

Profete162

    Newbie

  • Members
  • Pip
  • 27 posts
Is the same file available for Windows?

I am really looking for adb.exe working, for development.

Here is a modified adb binary for linux that you can drop into your android SDK... it's patched with this patch https://review.sourc...m/#change,13552
This fudges the device serial in adb so that the eclipse stuff works.

http://www.mediafire.com/?oizmyyw0wwz


  • 0

#19
Andrei2j

Andrei2j

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:PoV MoBii
maybe im crazy and to excited,dont know where to post it so bear with me...
this piece of software helped and resolved my Win XP issue with the damn ADB creep.
Its a cellphone software but after installed ecognised my PoW MoBii !!!
HALLELUJAH !!!

some links ...

http://theunlockr.co...ndroid-devices/

and here is the MIRACLE !!!

http://www.junefabri...id/download.php

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users