Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,901 Members 52,917 Now Online
XDA Developers Android and Mobile Development Forum

QPST DIAG Mode CM7 (Aka ##3424)

Tip us?
 
tronoftroy
Old
#11  
Member
Thanks Meter 5
Posts: 33
Join Date: Jun 2010
Quote:
Originally Posted by m4f1050 View Post
Remember, Im on CM7 GingerBread, not SENSE....

if CM7 doesn't have DMPortRead.apk couldn't you just push it to you framework/app folder? or even install the apk and just run that when ever you need to connect to the Diag port? (for Qpst, or what ever you need it for) i'm not very familiar with CM7 so i could be wrong.

i use it to send my own serial commands. i find qpst to be more of a hassle then helpful. manuf. have been making there own NV items that are not listed in Qpst models for a while now. ie. the ERI banner for some hero's is not pulled from the usual eri.xml but instead read from the NV items. i think NV item 8042.

now, i while i was snooping around with the flash command. i notice that you can use "-s" (i think, i could be thinking of fastboot.) to specify your own memory location to flash an img file to.
now if we can find the mem location of the NV items you can simply read your entire NV items as an .img then use flash cmd to write all your NV items at once, and maybe even with the Recovery update.zip. im looking into the recovery source atm. if anyone knows where the NV items are stored plz let me know. is it mtd or mem location?
The Following 5 Users Say Thank You to tronoftroy For This Useful Post: [ Click to Expand ]
 
m4f1050
Old
#12  
Senior Member
Thanks Meter 130
Posts: 1,260
Join Date: Apr 2007
Can you check if you have the file /sys/devices/virtual/usb_composite/diag/enable? If you do.. Create a GScript that echoes 0 or 1 (0 for disable and 1 for enable) to the file /sys/devices/virtual/usb_composite/diag/enable it works like a charm!
 
m4f1050
Old
#13  
Senior Member
Thanks Meter 130
Posts: 1,260
Join Date: Apr 2007
Quote:
Originally Posted by tronoftroy View Post
if CM7 doesn't have DMPortRead.apk couldn't you just push it to you framework/app folder? or even install the apk and just run that when ever you need to connect to the Diag port? (for Qpst, or what ever you need it for) i'm not very familiar with CM7 so i could be wrong.

i use it to send my own serial commands. i find qpst to be more of a hassle then helpful. manuf. have been making there own NV items that are not listed in Qpst models for a while now. ie. the ERI banner for some hero's is not pulled from the usual eri.xml but instead read from the NV items. i think NV item 8042.

now, i while i was snooping around with the flash command. i notice that you can use "-s" (i think, i could be thinking of fastboot.) to specify your own memory location to flash an img file to.
now if we can find the mem location of the NV items you can simply read your entire NV items as an .img then use flash cmd to write all your NV items at once, and maybe even with the Recovery update.zip. im looking into the recovery source atm. if anyone knows where the NV items are stored plz let me know. is it mtd or mem location?
Hmmm... Can you write to NVItem 0,1 or 2 this way?
 
tronoftroy
Old
#14  
Member
Thanks Meter 5
Posts: 33
Join Date: Jun 2010
Quote:
Originally Posted by m4f1050 View Post
Hmmm... Can you write to NVItem 0,1 or 2 this way?
yes. you can write any nv item through DM Mode. well almost any.

i guess some call the NV item image file SPL???... poking about on the forums seems like you are unable to backup the radio and the nvitems maybe stored within. just a guess though.
 
m4f1050
Old
#15  
Senior Member
Thanks Meter 130
Posts: 1,260
Join Date: Apr 2007
Quote:
Originally Posted by tronoftroy View Post
yes. you can write any nv item through DM Mode. well almost any.

i guess some call the NV item image file SPL???... poking about on the forums seems like you are unable to backup the radio and the nvitems maybe stored within. just a guess though.
in EFS you can access NV items locked (on some HTC devices, tested with EVO 3D and EVO 4G) by creating folder "open sesame door" rebooting phone then going back to EFS the folder NVM should not have the lock, allowing you to see / write these NV items. So if you lack an easy to use NV Item browser you can use this approach.
 
jackbtha1
Old
#16  
jackbtha1's Avatar
Senior Member
Thanks Meter 30
Posts: 172
Join Date: Dec 2010
Location: Somewhere in the USA
Can you please update the link for the update.zip file to flash in recovery? Or if someone has it can you point me in the right direction?
HTC Incredible (SLCD)
CyanogenMod 7
Chad's Incredikernel 2.6.38.8 11/14
W/Chad's IncrediControl

Jager Bombs Away!
 
Curious!
Old
#17  
Curious!'s Avatar
Senior Member
Thanks Meter 73
Posts: 106
Join Date: Feb 2011
I am trying to get QPST working with Sensation.
After echo'ing 1 to enable, the USB modem driver shows up. I dunno which driver u have used but I am using this one: http://forum.xda-developers.com/showthread.php?t=801570

and in QPST it doesn't recognize phone model so I can'T pull NV data from it.
any suggestions?

BTW I have QPST 2.7 Build 366
 
tronoftroy
Old
#18  
Member
Thanks Meter 5
Posts: 33
Join Date: Jun 2010
Quote:
Originally Posted by Curious! View Post
I am trying to get QPST working with Sensation.
After echo'ing 1 to enable, the USB modem driver shows up. I dunno which driver u have used but I am using this one: http://forum.xda-developers.com/showthread.php?t=801570

and in QPST it doesn't recognize phone model so I can'T pull NV data from it.
any suggestions?

BTW I have QPST 2.7 Build 366
yeah, just open up your QPST Configuration. and set the Comport then your phone will show in QPST.
 
m4f1050
Old
#19  
Senior Member
Thanks Meter 130
Posts: 1,260
Join Date: Apr 2007
Hmmmm, modem? You're on 64 bit Windows 7? I recommend 32 bit..
 
baronsamedi
Old
#20  
Senior Member
Thanks Meter 11
Posts: 174
Join Date: Sep 2009
Does this work on the evo??

Tags
cm7, cricket, diag, epst, incredible
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes