Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

MSM72xx chipset-level configuration tools

OP Da_G

27th November 2008, 08:50 PM   |  #1  
Da_G's Avatar
OP Moderator Emeritus / Senior Recognized Developer
Flag Riverside, CA
Thanks Meter: 1,533
 
3,300 posts
Join Date:Joined: Aug 2007
Donate to Me
More
**BE VERY CAREFUL WITH THESE TOOLS. IT IS ENTIRELY POSSIBLE TO DO IRREPAIRABLE DAMAGE.**

Ripped from the Xperia ROM, these programs allow control over a number of settings in the device.

RegisterEditor should allow direct reading and writing of registers on the qualcomm msm72xx chipset, which will allow control over virtually every setting available, just need to determine addresses and potential values, etc

TBattery talks directly to the battery chipset, and returns values such as mAh capacity, battery temperature, current draw, percentage remaining, etc.

DbgTerm allows real time display of Debug Log on device.

DebugTool allows among other things redirecting of KITL output to USB. You can also configure the level of logging for the Debug Log and have it save the log to SD.

Save Kernel KITL Log to SD:
1.) Open DebugTool.exe, input value 43D in [5]DebugFlags, click menu -> write
2.) Shut Down with Power Button (long press), and start up
3.) Do actions you want to be logged (load program that fails, drivers, etc.)
4.) Plug phone into usb, connect w/activesync and copy off /Storage Card/HtcLog/*.txt
5.) Open DebugTool.exe, input value 0 in [5]DebugFlags, click menu -> write

FMTuner allows direct advanced control over the FM Radio chipset, among other things allows activation without headphones (although I don't see a way to route audio to the speaker)

Uni-AT allows issuing of AT commands to the ROM.

dump a raphael ROM and open up rilphone.dll in a hex editor, look for the strings like +CRING, @AGPSADDRESS, $HSUPA_STATUS, these are AT Commands that can be issued to the radio ROM, to query status and alter settings.

Query an existing setting like so:

AT+CRING?
AT$HSUPA_STATUS?
AT@AGPSADDRESS?

Querying a command should give you some input as to the required format.

Change a setting like so:

AT+CRING=1
AT$HSUPA_STATUS=1
AT@AGPSADDRESS=1

For a setting with multiple parameters, such as AT+HTCNV, set it like so: AT+HTCNV=param1,param2,param3

Useful AT Commands:
AT+RADIOVER : returns radio rom version
AT+HTCNV : returns +HTCNV: 1,10,8 - param1 = DTM support, 1/0, param2 = MCS support 8/10/12, param3 = HSDPA Category 6/8/12
AT+HTCENS : ENS support 1/0
Attached Files
File Type: zip RegisterEditor.zip - [Click for QR Code] (13.6 KB, 231 views)
File Type: zip Uni_AT.zip - [Click for QR Code] (4.4 KB, 135 views)
File Type: zip Battery.zip - [Click for QR Code] (7.3 KB, 704 views)
File Type: zip DbgTerm.zip - [Click for QR Code] (6.9 KB, 149 views)
File Type: zip FMTuner.zip - [Click for QR Code] (15.4 KB, 317 views)
File Type: zip DebugTool.zip - [Click for QR Code] (37.1 KB, 202 views)
Last edited by Da_G; 1st April 2009 at 11:10 PM.
27th November 2008, 09:52 PM   |  #2  
Da_G's Avatar
OP Moderator Emeritus / Senior Recognized Developer
Flag Riverside, CA
Thanks Meter: 1,533
 
3,300 posts
Join Date:Joined: Aug 2007
Donate to Me
More
Reserved for more stuff
27th November 2008, 11:59 PM   |  #3  
Loco5150's Avatar
Senior Member
Thanks Meter: 68
 
715 posts
Join Date:Joined: Jun 2008
More
WOW!!!!!!!!
28th November 2008, 04:54 PM   |  #4  
Senior Member
Thanks Meter: 1
 
186 posts
Join Date:Joined: Jul 2007
this would get alot more views in the diamond section.... thanx for posting it still
28th November 2008, 07:57 PM   |  #5  
Da_G's Avatar
OP Moderator Emeritus / Senior Recognized Developer
Flag Riverside, CA
Thanks Meter: 1,533
 
3,300 posts
Join Date:Joined: Aug 2007
Donate to Me
More
Looks like most of these tools were posted in Diamond section already here: http://forum.xda-developers.com/show...tc+debug+tools

However everyone seemed to miss the significance of RegisterEditor entirely, it's listed in the linked Wiki as a 'very basic registry editor' but it has nothing to do with the registry at all..

Anyway, this is a dup post. Doh! But these versions are newer, and i'll try to make it more useful by including more knowledge about the apps
Last edited by Da_G; 28th November 2008 at 08:16 PM.
1st December 2008, 06:46 AM   |  #6  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Jun 2008
Wow! Kudos for this! Amazing. Register Editor is very powerful. Gotta map this out
1st December 2008, 07:26 PM   |  #7  
bedoig's Avatar
Senior Member
Thanks Meter: 118
 
672 posts
Join Date:Joined: Aug 2006
Interesting. I wonder if these tools could be useful in unlocking the FM radio on CDMA Touch Pros.

[Edit: I noticed that you specified these were for the 72XX chipset. Any idea what kind of compatibility they have with the 75XX?]
Last edited by bedoig; 1st December 2008 at 07:30 PM.
1st December 2008, 08:05 PM   |  #8  
Da_G's Avatar
OP Moderator Emeritus / Senior Recognized Developer
Flag Riverside, CA
Thanks Meter: 1,533
 
3,300 posts
Join Date:Joined: Aug 2007
Donate to Me
More
Not sure, worth a try since they are similar, the api might be the same. You should be able to try a read operation without harming anything..
8th December 2008, 05:23 AM   |  #9  
fachex's Avatar
Member
Flag Orlando
Thanks Meter: 1
 
77 posts
Join Date:Joined: Jul 2007
More
FMTUner Tested on Raphael
I've tested FMtuner on Raphael CDMA but nothing happens, I mean, the tool works, but no frequency is detected.
Fabian
29th December 2008, 06:00 PM   |  #10  
Retired Recognized Developer
Flag Budapest
Thanks Meter: 49
 
3,039 posts
Join Date:Joined: Jul 2006
More
Quote:
Originally Posted by bedoig

Interesting. I wonder if these tools could be useful in unlocking the FM radio on CDMA Touch Pros.

[Edit: I noticed that you specified these were for the 72XX chipset. Any idea what kind of compatibility they have with the 75XX?]


there is CDMA debugtools set, grab it from any cdma beta rom (maybe posted on ppcgeeks, if not, i can upload it here), similar to gsm but for example the AT tool differs (UNI_AT will not work on CDMA) etc etc.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes