Syndicate

Syndicate content
Close

It's so angry!

The server is having a bit of trouble keeping up with traffic. We are about to move the site to the new server. You will notice no difference, other then this message will no longer be shown

Hacking under Linux

spikejones's picture

It's one of my desires to have a sub-forum strictly for hacking under Linux operating systems, and I've brought it up to styol. So we may see that sometime soon. In the mean time - if you find this thread, feel free to contribute to the Linux hacking effort.

Currently what I have working is BitPim (file system browser), and I will be writing up a how-to-get-connected guide that is modified for Linux users.

Currently what I am working on: moto4lin (seem editor and file system browser for linux and Mac OSx) and p2kc v.05 (file system browser now with the added feature of seem download and upload - no editing in the program though - Linux and Mac OSx support) These programs use different dependencies and I'm working on getting them all straight. I'm at the point where I can connect with the programs in P2K mode, but for some reason I still can get any info from the phone.

If anyone has had any success with these apps, lets have a how-to wrote up. If you haven't tried or found them yet and want to know where to get them, let me know by PM or in this thread, I'll let you know.

If you are fortunate enough to be dual booted you can just use the Windows seem editors and brew programs. I've yet to run across a brew resource editor for Linux, so if you know of one let us know.

__________________

ehh. whats up doc?

Your rating: None
tomman's picture
tomman
newish

Other? contact us
V3m
NCR_01.18.00R

Hacking under Linux

Posted:

Cool! I always wanted to "play" with my phone on anything other OS than Wintendo... I will give a try to those programs, so you can count with my help for testing...

spikejones's picture
spikejones
Dr. Jones

Verizon Wireless
Verizon V3M
NEWC_01.09.02

Hacking under Linux

Posted:

great. Im glad to hear it. Ive been a bit slack for a while, havent been booted into linux for a while. Mostly because of my database class needing to be done with Access 2007. Open office isn't compatible with that format yet so I'm running windoze almost exclusively for now.

__________________

ehh. whats up doc?

tomman's picture
tomman
newish

Other? contact us
V3m
NCR_01.18.00R

Hacking under Linux

Posted:

OK, i've tried Moto4lin.... and it was a failure :(

It compiles (using the SVN version), it runs (on a Fedora Core 6 x86_64), the phone enters P2K mode... and that's all! Moto4lin simply does not recognize my V3m, instead it spits a ton of errors... The only thing that i can do there is to reboot the phone, but why i would want to do that?

Same thing happens with p2kc :( Looks like CDMA RAZRs are quite rare in this GSM world :(

spikejones's picture
spikejones
Dr. Jones

Verizon Wireless
Verizon V3M
NEWC_01.09.02

Hacking under Linux

Posted:

yeah, thats about all the success I've had running the two programs under Ubuntu Gutsy. Problem lies in the fact that those apps were designed for GSM phones, furthermore p2k core is based on the moto4lin source code. I've seen posts from people on Ubuntuforums.org stating that they have had some success with moto4lin on the Razr v3m, however I've failed to replicate that success. I guess its kinda like BitPim, works for some and doesn't work for others.

__________________

ehh. whats up doc?

Clippy
new member

Hacking under Linux

Posted:

I had pretty much the opposite experience, in that I got moto4lin to work but not BitPim (which I should probably take another crack at). To get Moto4lin to work, I copied the steps mentioned on the V3m page of the moto4lin wiki. Also, for some reason I can only edit the Preferences settings manually in the ~/.qt/moto4linrc file.

Also, for anyone on Ubuntu like myself, the moto4lin package shows up in synaptic, so installation should be a breeze (in theory).

tomman's picture
tomman
newish

Other? contact us
V3m
NCR_01.18.00R

Hacking under Linux

Posted:

BitPim runs fine there, although i had to pull it from SVN (and its whooping load of dependencies).

My V3m uses that VIVO-fw, and works partially under BitPim (can backup phonebook, ringtones and images, BUT NOT SMS). As for moto4lin/p2ktest: the only thing that i get here are a bunch of errors... and the ability to reboot the phone :(

You said that your VZW V3m works under Moto4lin, what firmware do you use?

Clippy
new member

Hacking under Linux

Posted:

Ah, should've mentioned that I'm still using the crappy VZW firmware.

spikejones's picture
spikejones
Dr. Jones

Verizon Wireless
Verizon V3M
NEWC_01.09.02

Hacking under Linux

Posted:

hey, thanks for that link Clippy, it must be a new breakthrough since I last tried messing around with that package. One question though: Do you have to do the modprobe usbserial command everytime before you run the program, or just once?

I had the same experience with the preferences not sticking unless I manually edited the ~/.qt/moto4linrc file.

Hey, since you've got it working as root user, try doing the following:

sudo chmod u+s [name of moto4lin file]

I forget the exact location of the file; but in a How-to I read somewhere, issuing that command should give root privileges to the user when using this program - thus allowing access to the device. There were other, more vague how-to's I've read which involved adding your username to a group called USB, which was also supposed to give access to the device as a normal user.

__________________

ehh. whats up doc?

tomman's picture
tomman
newish

Other? contact us
V3m
NCR_01.18.00R

Hacking under Linux

Posted:

For avoiding that unnecessary and dangerous "run BitPim/Moto4lin as root", if your distro uses udev (ALL modern distros do), create a file called /etc/udev/rules.d/60-cellphone.rules, with these lines:

SUBSYSTEM!="usb_device", ACTION!="add", GOTO="cell_rules_end"

# Motorola V3m - USB modem/BitPim access
SYSFS{idVendor}=="22b8", SYSFS{idProduct}=="2a62", MODE="0666"
# Motorola V3m - P2K access
SYSFS{idVendor}=="22b8", SYSFS{idProduct}=="2a61", MODE="0666"
LABEL="cell_rules_end"

This will enable complete access to the phone, without having to run any hacking tool as root (again: DON'T... DO.. IT.... EVER!). If you use another phone, figure yourself the USB product IDs (using lsusb/usbview).

Enjoy :P

tomman's picture
tomman
newish

Other? contact us
V3m
NCR_01.18.00R

Hacking under Linux

Posted:

There is a P2K Commander version for Linux!

http://www.el-co.hu/smf/index.php/topic,248.0.html

...unfortunately, it seems that it does not like CDMA RAZRs... because it failed even to put my V3m on P2K mode :( And even if i put it manually, it still dies on me :(

Anyway, your mileage may vary, so give it a try :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.