Razr V3-HELP

From Moto4Lin

Jump to: navigation, search

Contents

Problems with moto4lin & RAZR V3

How can I add an java application to my V3x? Well, the title should be self explaining. I have downloaded a dictaphone software to my notebook. It has a jar file and a jad file. So, I tried to install them to my V3x using the USB cable. I started Moto4lin as usual and uplaoded the files to the java->installed directory. I even rebooted the phone but nothing happens.

So what do I miss? Thx a lot.--Bugmenot 09:30, 4 March 2007 (PST)

Do you run it as root?

OS.: Suse Linux 10.0 OSS mot4lin: v0.3 p2kmoto: v0.1-rc1 Carrier: O2 - Germany

connectiong via usb

tail -f /var/log/messages/ shows this

Jan 16 16:01:03 shuttle01 kernel: hub 3-0:1.0: connect-debounce failed, port 8 disabled
Jan 16 16:01:04 shuttle01 kernel: usb 1-4: new full speed USB device using ohci_hcd and address 8
Jan 16 16:01:04 shuttle01 kernel: usb 1-4: configuration #1 chosen from 2 choices
Jan 16 16:01:04 shuttle01 kernel: cdc_acm 1-4:1.0: ttyACM0: USB ACM device

p2ktest shows mobile and filesystem

P2k Test
Device list:
0000:0000: [Linux 2.6.13-15.7-default ehci_hcd] [EHCI Host Controller]
0a12:0001: [] []
0000:0000: [Linux 2.6.13-15.7-default ohci_hcd] [OHCI Host Controller]
22b8:4902: [Motorola Inc.] [Motorola Phone (V3)]
046d:c512: [Logitech] [USB Receiver]
0000:0000: [Linux 2.6.13-15.7-default ohci_hcd] [OHCI Host Controller]
Switching to P2K...
P2k Phone found
Phone Model: V3
Drive: /a
Free space: 3726148 bytes
File count: 580 bytes
  1    300  40   4 /a/ALARMCLOCK
  2   5392   2   0 /a/default_wml.css
  3    248   2   0 /a/bullet_circle.gif
  4  75287   7   4 /a/Silver Screen Saver 176x220~~.gif
 ...

connecting with moto4lin is not possible

Try to connect
[error] Unable to connect


Check to see that you have cdc-acm either compiled in to your kernel or available as a module (and loaded). If it's compiled as a module (called cdc-acm.ko) but not loaded (lsmod | fgrep cdc should list cdc_acm) then do "modprobe cdc-acm" as root and check that it's loaded.

Problems with moto4lin & RAZR V3

Trouble with connection

I've got Kubuntu Edgy with a USB connection to a black RAZR V3. (I have the same problem with Debian etch, both apt-get and source. I run as root or not (and hack /proc/usb's permissions). I did get it working once, pulled some pictures from it. I use a USB cable. Mcr).

p2ktest fails:

P2k Test
Device list:
0846:4240: [GlobespanVirata] [NETGEAR WG111]
0000:0000: [Linux 2.6.17-10-generic ehci_hcd] [EHCI Host Controller]
22b8:4902: [Motorola Inc.] [Motorola Phone (V3)]
058f:9360: [ ] [USB Reader]
0000:0000: [Linux 2.6.17-10-generic uhci_hcd] [UHCI Host Controller]
0000:0000: [Linux 2.6.17-10-generic uhci_hcd] [UHCI Host Controller]
0000:0000: [Linux 2.6.17-10-generic uhci_hcd] [UHCI Host Controller]
Switching to P2K...
P2k Phone found

(E_p2k_openPhone.-1: no p2k phone)
(E_p2k_sendControl.-6: no connection)
(E_p2k_getPhoneName.-14: E001)
Can not get phone model
(E_p2k_sendControl.-6: no connection)
(E_p2k_getDriveName.-14: E001)
Can not get drive name
(E_p2k_sendControl.-6: no connection)
(E_p2k_freeSpace.-14: E001)
Can not get free space(E_p2k_sendControl.-6: no connection)
(E_p2k_fileCount.-14: E001)
Can not get file count(E_p2k_sendControl.-6: no connection)
(E_p2k_fileCount.-14: E001)
(E_p2k_fileList.-14: E000)

dmesg upon connection:

[61745.094875] usb 3-2: new full speed USB device using uhci_hcd and address 18
[61745.319329] usb 3-2: configuration #1 chosen from 2 choices
[61745.337062] cdc_acm 3-2:1.0: ttyACM0: USB ACM device

lsmod | grep acm:

cdc_acm                16288  0
usbcore               134912  7 cdc_acm,ndiswrapper,usb_storage,libusual,ehci_hcd,uhci_hcd

lsusb | grep Motorola:

Bus 003 Device 018: ID 22b8:4902 Motorola PCS E398 GSM Phone

Odd, huh? It's a RAZR V3. I did some jiggling around from stuff I saw on here. Before, p2ktest worked fine, and lsusb said it was a V3. Any clues?

Now, to moto4lin, ran as root.

AT: 22b8:1234 P2k: 22b8:4901

[info] Switching device /dev/ttyACM0 to P2K mode...
[info] Phone pluged as AT

Then:

Getting file list
[error] Unable to get drive list
Complete

Did I leave anything out? Please help!


==

My log says:

 [info] Phone pluged as AT
 [info] Phone pluged as P2K
 [info] Switching device /dev/ttyACM0 to P2K mode...
 [info] AT E0 answer: AT E0 OK 
 [info] Phone answer: OK 
 [info] Phone is unpluged
 [info] Phone pluged as P2K
 Getting file list
 [error] Unable to get drive list
 Complete
 Try to connect
 [info] Phone connected as P2K
 [info] Sending control message failed.. Retry...
 [info] Sending control message failed.. Retry...
 [error] Unable to get phone model
 [info] Sending control message failed.. Retry...
 [info] Sending control message failed.. Retry...
 [error] Unable to get drive name
 [info] Sending control message failed.. Retry...
 [error] Unable to get file count
 [info] Sending control message failed.. Retry...
 [info] Sending control message failed.. Retry...
 [error] Unable to get drive name
 Getting file list
 [info] Sending control message failed.. Retry...
 [info] Sending control message failed.. Retry...
 [error] Unable to get drive list
 Complete

strange errors

i have some strange problems with moto4lin and my RAZR. when i plugin udev creates the /dev/ttyACM0. im in the same group as the device.


everytime i try to conect in the moto4lin app this error is in the /var/log/messages

Nov 13 14:34:45 h kernel: usb 1-2.4: new full speed USB device using ehci_hcd and address 11
Nov 13 14:34:45 h kernel: usb 1-2.4: configuration #1 chosen from 2 choices
Nov 13 14:34:45 h kernel: cdc_acm 1-2.4:1.0: ttyACM0: USB ACM device
Nov 13 14:34:46 h usb.agent[13522]: Keeping default configuration with  /sys//devices/pci0000:00/0000:00:10.4/usb1/1-2/1-2.4 
Nov 13 14:35:03 h kernel: usb 1-2.4: USB disconnect, address 11
Nov 13 14:35:06 h kernel: usb 1-2.4: new full speed USB device using ehci_hcd and address 12
Nov 13 14:35:06 h kernel: usb 1-2.4: config 1 has an invalid interface number: 5 but max is 2
Nov 13 14:35:06 h kernel: usb 1-2.4: config 1 has an invalid interface number: 6 but max is 2
Nov 13 14:35:06 h kernel: usb 1-2.4: config 1 has an invalid interface number: 8 but max is 2
Nov 13 14:35:06 h kernel: usb 1-2.4: config 1 has no interface number 0
Nov 13 14:35:06 h kernel: usb 1-2.4: config 1 has no interface number 1
Nov 13 14:35:06 h kernel: usb 1-2.4: config 1 has no interface number 2
Nov 13 14:37:59 h kernel: usb 1-2.4: USB disconnect, address 12

p2ktest works without problems and lists all my files on the phone:

[root@h ~]# p2ktest
P2k Test
Device list:
0000:0000: [Linux 2.6.13-1.1532_FC4 uhci_hcd] [UHCI Host Controller]
0000:0000: [Linux 2.6.13-1.1532_FC4 uhci_hcd] [UHCI Host Controller]
0000:0000: [Linux 2.6.13-1.1532_FC4 uhci_hcd] [UHCI Host Controller]
0000:0000: [Linux 2.6.13-1.1532_FC4 uhci_hcd] [UHCI Host Controller]
22b8:4901: [Motorola Inc.] [Motorola Phone (V3)]
046d:c012: [Logitech] [USB-PS/2 Optical Mouse]
05e3:0605: [] [USB2.0 Hub]
0000:0000: [] []
0000:0000: [Linux 2.6.13-1.1532_FC4 ehci_hcd] [EHCI Host Controller]
P2k Phone found

Phone Model: V3
Drive: /a
Free space: 3938060 bytes
File count: 570 bytes
   1 4697079790862073858   2   0 /a/cookie.txt
   2 7219095582189551916  40   4 /a/ALARMCLOCK
...

Help Wanted! --H 06:01, 13 November 2005 (PST)


Connects P2K, File Manager Lists Nothing

Ubuntu 6.06 Dapper Drake, Moto4linCVS(June 03 2006) Cingular Blk V3

After a few tries at connecting with kmobiletools and using p2ktest (lists all files), moto4lin connects to the phone. Trying to reboot, suspend, update file manager, use seems editor or anything else does not work. Error messages:

[info] Phone connected as P2K

[error] Unable to get phone model

[error] Unable to get drive name

[error] Unable to get file count

[error] Unable to get drive name

Reading seem 0032_0001.seem

[error] Unable to read seem
Searching for /a/|*

[error] Bad request or no files found

Getting file list

[error] Unable to get drive list

Complete

Try to suspend

[error] Unable to suspend

Try to reboot

[error] Unable to reboot

Getting file list

[error] Unable to get drive list

Complete

dmesg reports:

[4302000.503000] usb 1-2: new full speed USB device using uhci_hcd and address 1                                   
8

[4302000.635000] usb 1-2: config 1 has an invalid interface number: 5 but max is                                    2

[4302000.635000] usb 1-2: config 1 has an invalid interface number: 6 but max is                                    2

[4302000.635000] usb 1-2: config 1 has an invalid interface number: 8 but max is                                    2

[4302000.635000] usb 1-2: config 1 has no interface number 0

[4302000.635000] usb 1-2: config 1 has no interface number 1

[4302000.635000] usb 1-2: config 1 has no interface number 2

[4302488.547000] usb 1-2: USB disconnect, address 18

[4302496.503000] usb 1-2: new full speed USB device using uhci_hcd and address 1                                   9

[4302496.656000] usb 1-2: configuration #1 chosen from 2 choices

[4302496.671000] cdc_acm 1-2:1.0: ttyACM0: USB ACM device

Note to USB cable users

Note to USB cable users (p2k), make sure your "AT product ID" is some random number not listed in the "USB View". Otherwise the program will try to connect using AT connection, which won't work. --Voidvector 20:08, 10 September 2006 (PDT)

A couple of tips

After reading the "Note to USB cable users" above and after some guessing I was able to make my V3 connect by:

  1. Setting the AT Vendor ID to 22b8
  2. Setting the AT Product ID to a random number (4164 in my case :P)
  3. Setting the P2K Vendor ID to 22b8
  4. Setting the P2K Product ID to 4901 (the auto detection set it to 4902, which wouldn't work)
  5. Clicking on "Switch to P2K"
  6. Connecting to the phone on the main window

Hope this helps... --Tdido 15:42, 19 October 2006 (PDT)

Debian Etch & moto4lin package: Step by Step

  • Install moto4lin debian package:
# apt-get install moto4lin
  • Run moto4lin with non-root user
  • Goto Settings > Preferences
  • Set ACM Device to /dev/ttyACM0
  • Set P2K Vendor ID to 22b8
  • Set P2K Product ID to 4901
  • Press OK
  • Close moto4lin application
  • Check that $HOME/.qt directory has been created containing configuration files

The manpage for moto4lin states the following:

moto4lin must be executed as root to be able to access to hardware.

So, we are going to execute moto4lin with root permissions using configuration files of non-root user. The trick is to set suid bit for moto4lin executable:

  • In a root shell do the following:
# chmod u+s /usr/bin/moto4lin
# ls -l /usr/bin/moto4lin
-rwsr-xr-x 1 root root 389648 2006-08-20 01:59 /usr/bin/moto4lin
  • Run moto4lin with non-root user again. You should see the following message:
[info] Phone pluged as P2K
  • Press Connect/Disconnect button. You should see the following message:
Try to connect
[info] Phone connected as P2K

This works for me, hope it helps.

V3xx

It appears that there is a problem switching to p2k mode with the V3xx. However, there is an alternative way to transfer files between Linux and the V3xx. I've described what it took for me to do this under the V3xx article under "supported models" at http://moto4lin.sourceforge.net/wiki/Razr_V3xx. --Dantelives 14:51, 25 August 2007 (PDT)

Success... but a question

I can see my file tree and download files. Great! But I can't find a way to download *everything*. Is there a CLI utility that might just create a tar ball? Or a FUSE module that allows me to mount the filesystem? Cheers! Ciphergoth 10:25, 29 June 2008 (PDT)

Actually, let me add a second question while I'm here. Are all my phone contacts stored in one of those files? I don't need it in some friendly format, I just want a backup of them before I wipe the phone and give it to a friend.

Personal tools