Sign in to follow this  
Followers 0
Guest Shin

Cell phones, usb, and firmware

7 posts in this topic

I just got a new cell phone (Motorola 120e), and noticed online that there is a USB data cable I can buy for the phone. The data cable comes with software which lets you change the address book, calendar, etc and also lets you use the phone as a modem. Since it's hooked up via USB, it has support some part of the USB protocol, right? I've done a small amount of research on USB, and there are many different device classes, and firmware upgrade is one of them.

The firmware upgrade spec allows for the download and upload of firmware to/from the device. What I'm thinking is that if the device supports firmware upgrade, code could be written which could rip firmware from *any* USB device, not just the specific one in question. Also, code could be written which could download firmware onto *any* USB device. fxload already does the download portion but it only does it for devices based on certain microcontrollers.

If anyone has experience with USB/firmware and the like, I would like to learn more about it. If the spec is publicly available, how hard can it be to write code that accomplishes the above purposes? Is this easy, or is my thinking too simplistic?

0

Share this post


Link to post
Share on other sites

first of all, very interesting idea.

The only thing I can add is that while researching my motorola T720i, I found and subscribed to the motorola developers club. I do not have the URL off hand here at work, but if you poke aroun dtheir site a bit, you will see it. It is free and they make available a lot of documentation and protocol/architecture information.

have phun!

0

Share this post


Link to post
Share on other sites

I was thinking of doing some phone reverse engineering via USB and it looked like usb-robot was the best way to go.

Combined with usbsniff you can use it to rapidly write USB drivers and reverse engineer device protocols.

I don't think that the firmware upgrade stuff is standard on weird devices like cell phones so this was the only approach that I saw that had a chance of working.

0

Share this post


Link to post
Share on other sites

ntheory, thanks for the links. libusb looks like a good start

ooh yeah, and I did register, too : )

0

Share this post


Link to post
Share on other sites

I have that phone too! (120e)

Do you know any tricks with it?

0

Share this post


Link to post
Share on other sites

Yeah,

cellphonehacks.com has some info on the 120e.. The only thing I know how to do is put it in test mode.

Motorola codes - the discussion forum for motorola codes..

Test mode (from that forum):

press Menu

press 0

press 0

press *

press *

type testmode ( 83786633 ) press this quickly

press *

thats it, to exit, press menu and than the left softkey

if u dont get it the first time, try again

maybe someone can tell me what this all means

but u have to option of some advanced settings

Like that guy said, I don't know what all this stuff is. The 120e supposedly has a gps built in, but I can't get it to work.. there's more info in that thread

gotta run

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0