Discussion:
[BitPim-devel] brew serial protocol..
Simon C
2005-09-18 01:15:24 UTC
Permalink
There is a hack on the vx8100 that requires the user to modify one of the
NVM files.
This cannot be done with BitPim, but a well know program from Qualcomm is
able to do this if you overwrite the file.

I had a quick look at the serial port comms to see what was different
between this program and bitpim and can see that a totally different set of
commands is being used to manipulate the file system. The commands start
with 4B 13 mostly instead of 59.

Modifying bitpim to allow it to write the nvm files is going to take some
time, and I'm not sure if it is worth it seeing how it understands the older
serial protocol anyway.

Does anyone have any documentation available for this protocol?

Simon
Joe Pham
2005-09-20 21:03:21 UTC
Permalink
Post by Simon C
There is a hack on the vx8100 that requires the user to modify one
of the NVM files. This cannot be done with BitPim
What's exactly what are you trying to do: making changes to one of those files? What did you try that didn't work?
Post by Simon C
but a well know program from Qualcomm isable to do this if you
overwrite the file.
I assume you meant QPST.
Post by Simon C
Modifying bitpim to allow it to write the nvm files is going to take
some time,
Simon C
2005-09-21 00:52:29 UTC
Permalink
Post by Joe Pham
Post by Simon C
There is a hack on the vx8100 that requires the user to modify one
of the NVM files. This cannot be done with BitPim
What's exactly what are you trying to do: making changes to
one of those files? What did you try that didn't work?
The latest firmware for the 8100 blocks DUN. It can be unblocked by changing
one of the nvm files. You cannot use bitpim, it gives an error when trying
to write the file.
Post by Joe Pham
Post by Simon C
but a well know program from Qualcomm isable to do this if you
overwrite the file.
I assume you meant QPST.
Yes
Post by Joe Pham
Post by Simon C
Modifying bitpim to allow it to write the nvm files is going to take
some time,
Joe Pham
2005-09-21 02:51:43 UTC
Permalink
You cannot use bitpim, it gives an error when trying to write the
file.
I assume Delete/Restore did not work either. What exception did you get?

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Simon C
2005-09-21 06:39:32 UTC
Permalink
Post by Joe Pham
You cannot use bitpim, it gives an error when trying to write the
file.
I assume Delete/Restore did not work either. What exception
did you get?
No they did not. (in QPST this does not work, you have to overwrite) It gave

Traceback (most recent call last):
File "C:\projects\bitpim\gui.py", line 174, in run
res=call()
File "C:\projects\bitpim\gui.py", line 114, in __call__
return apply(self.method, self.args+args, d)
File "C:\projects\bitpim\gui.py", line 1797, in writefile
return self.commphone.writefile(path, contents)
File "C:\projects\bitpim\com_brew.py", line 359, in writefile
self.sendbrewcommand(req, p_brew.writefileresponse)
File "C:\projects\bitpim\com_brew.py", line 626, in sendbrewcommand
raise BrewCommandException(err)
BrewCommandException: Brew Error 0x04

...

Frame sendbrewcommand in C:\projects\bitpim\com_brew.py at line 626
responseclass = <class 'p_brew.responseheader'>
origdata = 'Y\x05\x04\x00v\x8e~'
d = 0
err = 4
buffer = <prototypes.buffer instance at 0x0300DE68>
calccrc = 'v\x8e'
callsetmode = True
firsttwo = 'Y\x05'
request = <p_brew.writefilerequest object at 0x02FFD8F0>
crc = 'v\x8e'
data = 'Y\x05\x04\x00'
self = <com_lgvx8100.Phone instance at 0x02FFF9E0>

Loading...