MMS Settings - Galaxy S 4 Q&A, Help & Troubleshooting

Now with the Cricket's SCH-R970C MMS Touchwiz.
I wanted to find the MMS settings to use on CM/Other AOSP roms.
But this is what I got from logcat
### loadDeviceMmsSettings from API: mUserAgent=SAM_R970C, mUaProfUrl=http://mms.mycricket.com/sam_r970c.xml
tag: int value: maxMessageSize - 614400
tag: int value: maxImageHeight - 1944
tag: int value: maxImageWidth - 2592
tag: string value: userAgent - Nexus5
tag: string value: uaProfUrl - http://gsm.lge.com/html/gsm/Nexus5-M10.xml
### loadMmsSettings: mUserAgent=SAM_R970C, mUaProfUrl=http://mms.mycricket.com/sam_r970c.xml
Click to expand...
Click to collapse
Using a PC, I can't get anything back from the xml URL. Using the phone, I can get back only the following.
parameter location was not included in the GET request
Click to expand...
Click to collapse
I didn't know if this needed to be in Q/A or Dev section.
But can anyone help with getting the sam_r970c.xml?

Related

Sim Application Toolkit and RIL_SendSimToolkitCmdResponse

Hi everybody,
I'm trying to comunicate with my SIM, which supports SIM application tookit, using the RIL API.
In order to do that I think I need:
- Send Command to the SIM (Envelope)
- Receive Response from the SIM (Fetch)
- Send Command Response to the SIM (Terminal Response)
At this moment I can do only the first two things.
I can send command using RIL_SendSimToolkitEnvelopeCmd function and using, as input, a well formed string as defined in the specification GSM 11.14; for example, in order to select the second item of the SIM Application Menu, I use this code:
BYTE envcmd[9];
envcmd[0] = 0xd3; // Menu selection tag
envcmd[1] = 0x07; // Length
envcmd[2] = 0x02; // Device Identity Tag
envcmd[3] = 0x02; // Device Identity length
envcmd[4] = 0x82; // Source: ME
envcmd[5] = 0x81; // Destination: SIM
envcmd[6] = 0x10; // Item Identifier tag
envcmd[7] = 0x01; // Item Identifier length
envcmd[8] = 0x02; // Item chosen
hres = RIL_SendSimToolkitEnvelopeCmd(m_hRil, envcmd, 9);
The response for this command is trapped in the notify handler (second thing I can do).
After the notification I need to send a Command Response to the SIM and to do that I think I need to use RIL_SendSimToolkitCmdResponse using, as input parameter, a well formed string as specified in the GSM 11.14; something like this:
// Response for DISPLAY TEXT
response[0x00] = 0x81;
response[0x01] = 0x03;
response[0x02] = 0x01;
response[0x03] = 0x21;
response[0x04] = 0x81;
response[0x05] = 0x02;
response[0x06] = 0x02;
response[0x07] = 0x82;
response[0x08] = 0x81;
response[0x09] = 0x03;
response[0x0a] = 0x01;
response[0x0b] = 0x00;
hres = RIL_SendSimToolkitCmdResponse(m_hRil, response, 12);
But the result (hres) is always 0x80070057 (E_INVALIDARG).
Could anyone help me?
Thanks in advance.
Sektor
P.S.: please note that the response I send is the same as that I sniffed using a Season logger which can intercept all traffic between SIM and PDA.
Although I can't help, I've got a question: Once you're finished - could this then be used to implement Bluetooth SIM Access Profile?
No.
In order to implement SAP, we need a "flat" access to the SIM and to do that the radio module has to export a commad like AT+CSIM (GSM 07.07).
If the radio module implements that command, using the RIL_SendSimCmd we can send all possible commands to the SIM and so we could develope a SAP layer.
Unfortunally, as I know, there is no radio module that permits a complete access to the SIM.
Before to take the SAT street I tryed to use SendSimCmd on my JasJar but the reult was always E_NOTIMPL.
Bye
Sektor
SendSimCmd is implemented on the Wizard, at least (I'm using it ) - but it'll only be useful if you want to access a specific application on the card (if you're trying to talk to the GSM application on channel 0 you're out of luck)
Regarding SendSimToolkitEnvelopeCmd I've got mixed results according to the devices - working on some, and failing on others with this return code, and do not know why, yet. But here since you're failling on the SendSimToolkitCmdResponse, that seems different. Even if I never used this function before (I always let the handset provide its own Terminal Reponse) I think it's badly formatted. The response to a Display Text should only include a General Result (0x03 0x01 0x00).
What do you mean when you say "...to access a specific application on the card"?
What kind of PDU are you able to send to the SIM? And how can you specify which channel you want to open?
BTW, in order to implement SAP, we need to access to channel 0 for sending GSM commands.
Regarding RIL_SendSimToolkitCmdResponse, I tryed also to send General Result (0x03 0x01 0x00), as you suggested, but with no luck.
I think SendSimToolkitCmdResponse wants a specific struct as input parameter (something like specified in this document http://www.intrinsyc.com/whitepapers/RIL_whitepaper_MS_Intrinsyc_June2004.pdf).
I tryed with the struct specified in that document and the resut is changed: 0x8007000e (E_OUTOFMEMORY) :-(
Any ideas?
I have a JasJar with WM 5.0.
Bye
Sektor
What do you mean when you say "...to access a specific application on the card"?
Click to expand...
Click to collapse
I mean access a SIM card application located by its AID
What kind of PDU are you able to send to the SIM? And how can you specify which channel you want to open?
Click to expand...
Click to collapse
Basically you'll need to open a channel to your application with an ISO 7816-4 Open Channel command, then you are in your own world
BTW, in order to implement SAP, we need to access to channel 0 for sending GSM commands.
Click to expand...
Click to collapse
OK, then it's going to be difficult I think. Unless you have a 3G card and a multi-selectable USIM application that you could select on another channel to send your APDUs, but I don't know if this is supported by any card (never tested it).
Any ideas?
Click to expand...
Click to collapse
I did a small project some years ago that can be used to install a dummy driver that'll record everything. I think you can use it for RIL and try to dump the structure that's sent to understand it better (and publish the results here )
http://arisme.free.fr/hacks/binaries/XBridge.zip
Arisme, your application is very cool
With your driver I can see all traffic between RIL.dll and rilgsm.dll and so I can see the commands sent by STK_Service.dll (SIM Application Toolkit layer in the JasJar) to the rilgsm.dll via ril.dll.
The structure used by the RIL.dll to communicate with rilgsm.dll in the function RIL_SendSimToolkitCmdResponse is:
typedef struct rilsimtoolkitrsp_tag
{
DWORD cbSize; // Structure and text size in bytes
DWORD dwParams; // Indicates valid parameters
DWORD dwId; // ID number of command
DWORD dwTag; // Command tag (with comprehension bit)
DWORD dwType; // Type of command (DISPLAY TEXT, etc.)
DWORD dwQualifier; // Command details qualifier
DWORD dwResponse; // Command result from SIM toolkit layer
DWORD dwAdditionalInfo; // Additional command result information.
} RILSIMTOOLKITRSP;
as defined in the document linked in my previous post.
I used the same structure as parameter for RIL_SendSimToolkitCmdResponse, but the question is: is it correct?
That structure is used between RIL.dll and rilgsm.dll and not between my application and RIL.dll.
BTW I tryed to fill the fields with the info logged with your driver and the result is always the same: 0x8007000e (E_OUTOFMEMORY).
I think I need to intercept the call that STK_Service.dll makes to RIL.dll.
Now I'll try to bypass RIL.dll using RIL1: device and DeviceIoControl.
Bye
Sektor
Did you check if the info passed in the IOControl associated to this RIL function (you'll have to find which one it is first ) logged by the bridge matches this structure ?
Yes, I did and the structure matches the info logged.
But I am not sure that the same structure can be used from my application.
When I use that structure as parameter for RIL_SendSimToolkitCmdResponse the response is always bad, as I said.
But I have good news: using RIL1: device and DeviceIoControl I can send a command response; here the code.
#define RIL_SEND_STK_ENVELOPE_RESPONSE 0x300018CL
RILSIMTOOLKITRSP rsp;
memset(&rsp, sizeof(RILSIMTOOLKITRSP), 0);
rsp.cbSize = 0x20;
rsp.dwParams = 0x1f;
rsp.dwId = 0x01;
rsp.dwTag = 0x81;
rsp.dwType = 0x21;
rsp.dwQualifier = 0x81;
rsp.dwResponse = 0x00;
rsp.dwAdditionalInfo = 0x00;
BYTE *b = (BYTE *)&rsp;
int s = rsp.cbSize;
DWORD rildevresult = 0;
DWORD nReturned = 0;
HANDLE m_hRilDev= CreateFile(L"RIL1:", GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, 0, OPEN_EXISTING, FILE_ATTRIBUTE_SYSTEM, 0);
if (!DeviceIoControl(m_hRilDev, RIL_SEND_STK_ENVELOPE_RESPONSE, b, s, &rildevresult, sizeof(rildevresult), &nReturned,0))
{
rildevresult = GetLastError();
debug("Error: %08lx\n", rildevresult);
}
debug("DeviceIoControl(RIL_SEND_STK_ENVELOPE_RESPONSE): %08lx\n", rildevresult);
BTW I prefer to find the correct structure for RIL_SendSimToolkitCmdResponse.
Bye.
Sektor
that's a good step forward already 8)
I found the solution
The function prototype in the ril.h is NOT correct!
In ril.h RIL_SendSimToolkitCmdResponse is defined as:
HRESULT RIL_SendSimToolkitCmdResponse(HRIL hRil,const BYTE* lpbResponse, DWORD dwSize);
The correct definition for my ril.dll is:
HRESULT RIL_SendSimToolkitCmdResponse(HRIL hRil, const RILSIMTOOLKITRSP* pRsp, const LPBYTE pDetails, DWORD dwDetailsSize);
where RILSIMTOOLKITRSP is
typedef struct rilsimtoolkitrsp_tag
{
DWORD cbSize; // Structure and text size in bytes
DWORD dwParams; // Indicates valid parameters
DWORD dwId; // ID number of command
DWORD dwTag; // Command tag (with comprehension bit)
DWORD dwType; // Type of command (DISPLAY TEXT, etc.)
DWORD dwQualifier; // Command details qualifier
DWORD dwResponse; // Command result from SIM toolkit layer
DWORD dwAdditionalInfo; // Additional command result information.
} RILSIMTOOLKITRSP;
and pDetails is a buffer with the data needed to complete the response, e.g.:
BYTE details[3];
details[0] = 0x90;
details[1] = 0x01;
details[2] = 0x0b;
in order to select the item "0x0b" in response to a "select item" proactive command, or
BYTE details[14];
details[0] = 0x8d;
details[1] = 0x0c;
details[2] = 0x04;
details[3] = 0x74;
details[4] = 0x65;
details[5] = 0x6c;
details[6] = 0x65;
details[7] = 0x76;
details[8] = 0x69;
details[9] = 0x73;
details[10] = 0x69;
details[11] = 0x6f;
details[12] = 0x6e;
details[13] = 0x65;
in order to give an input data ("televisione" in this example) in response to a "get input" proactive command.
I don't know if the parameters for that function depend on the ril version, however I give you the details about my device:
I-Mate JasJar
ROM: 1.13.46 ITA (09/23/05)
Radio: 1.03.01
Protocol: 42.36.P8
ExtRom: 1.13.126 ITA
Windows Mobile 5.0
Bye
Sektor
Thanks, good to know 8)
Many thanks for this topic, it was my guide to RIL_STK programming. I've spent some time developing automatic Multi-SIM switcher application, and would like to share some information (ohh, I'm ETEN M600 owner, so this info could be wrong for other devices).
1. In my case RIL_SendSimToolkitCmdResponse takes DWORD details data, not the BYTE one Sector described in previous post. Information it should contain also differs, it looks like regular RIL structure, not like the GSM standart described Terminal Response. Example of SelectItem response data:
DWORD details[3];
details[0] = sizeof(details);
details[1] = 0x01;
details[2] = selectedItem;
2. The only documentation about RIL structures I had was the Sector links to some PDF's describing RILSIMTOOLKITRSP and RILSIMTOOLKITCMD. I needed however to decode incoming notifications, so I've reversed structures coming from SIM in SelectItem case (lpData points to RILSIMTOOLKITCMD, +dwDetailsOffset you get RILSIMTOOLKITSELECTITEM, +dwOffsetAlpha = menu caption, at +dwOffsetItems you could get dwNumItems looking like RILSIMTOOLKITITEMDESC:
typedef struct rilsimtoolkitselectitem_tag
{
DWORD cbSize;
DWORD dwNull0;
DWORD dwNull1;
DWORD dwNull2;
DWORD dwSizeAlpha;
DWORD dwOffsetAlpha;
DWORD dwNumItems;
DWORD dwSizeItems;
DWORD dwOffsetItems;
} RILSIMTOOLKITSELECTITEM;
typedef struct rilsimtoolkititemdesc_tag
{
DWORD cbSize;
DWORD dwNull0;
DWORD dwItemID;
DWORD dwNull1;
DWORD dwNull2;
DWORD dwSizeAlpha;
DWORD dwOffsetAlpha;
} RILSIMTOOLKITITEMDESC;
3. In overal it seems RIL of my M600 encodes all commands and notifications to such structures and requires similar structures for STK commands, altrough that is not obvious while reading this topic and available documentation.
wbr, Nik.
P.S. ETEN M600, fw 216.
P.P.S. Sorry for interferring with not HTC-clone device, just couldn't found another such usefull WM developers forum.
Hi,
I'm a newbie to the RIL API.
So, first of all, thx to all of you for giving me good info on this in your discussions.
I'm having no success with the RIL_SendSimToolkitEnvelopeCmd function.
Just for testing, I'm sending the same test command as above:
BYTE envcmd[9];
envcmd[0] = 0xd3; // Menu selection tag
envcmd[1] = 0x07; // Length
envcmd[2] = 0x02; // Device Identity Tag
envcmd[3] = 0x02; // Device Identity length
envcmd[4] = 0x82; // Source: ME
envcmd[5] = 0x81; // Destination: SIM
envcmd[6] = 0x10; // Item Identifier tag
envcmd[7] = 0x01; // Item Identifier length
envcmd[8] = 0x02; // Item chosen
hres = RIL_SendSimToolkitEnvelopeCmd(m_hRil, envcmd, 9);
In the result callback, I'm getting dwCode == RIL_RESULT_ERROR and lpData points to E_FAIL (0x80004005).
Now, I've enabled logging and my celog shows that the RIL driver is getting the folowing command.
0:02:47.449.538 : DEBUGMSG: PID:0x805d8dc0 TID:0x834a576c [RETAIL]RilDrv: Sending cmd: AT+SATE=0,D30702028281100102
The response is also shown as:
0:02:47.484.606 : DEBUGMSG: PID:0x805d8dc0 TID:0x8349d974 [RETAIL]RilDrv: Accumulated response: +SATE: 0F00006F008169B4ECAA19CDF41D6A35C8<cr><lf>
I was expecting to recieve the response "6F00" in the result callback.
Any ideas?
If you can give me any other command to test the envelope command, that would help.
Thanks,
-R.
Arisme said:
I mean access a SIM card application located by its AID
Basically you'll need to open a channel to your application with an ISO 7816-4 Open Channel command, then you are in your own world
OK, then it's going to be difficult I think. Unless you have a 3G card and a multi-selectable USIM application that you could select on another channel to send your APDUs, but I don't know if this is supported by any card (never tested it).
I did a small project some years ago that can be used to install a dummy driver that'll record everything. I think you can use it for RIL and try to dump the structure that's sent to understand it better (and publish the results here )
Click to expand...
Click to collapse
Hi:
I've been researching in XDA forums with no success so far. A few days ago I found this thread that you participated in a long time ago. Actually, my problem is I don't know how to access in Windows Mobile an applet application located by means of its AID... I've tried to send selection command:
Code:
00 A4 04 04 10 D2760001180002FF34004F8908010D09
thorugh RIL_SendSimCmd, but it didn't work (response=0x01 0x05 0x00 0x81).
Would you, please, give me a hand? I'm absolutely lost and desperated.
Thanks in advance...
I found the solution:
We must use logic channels. 0 Channel is reserved for GSM/USIM, other channel, usually #1, is used for applets.
APDU's sequence is:
Manage Channel (Open)
00 70 00 00 01
Respose
0x 90 00 (Where "x" indicates the logic channel assigned by the smartcard. Usually the respose is "01 90 00", being "01" channel number one).
Select Local APP
0x A4 04 04 10 <AID> (Substitute "x" for channel number assigned in Manage Channel (Open) command response ("1" in the case of our example).
Response
90 00
COMMAND INVOCATION
From now on if we want to send commands to the app, we just have to indicate the channel in CLASS byte (i.e. "9x" being "x=1", hence 91[INS][...])
Manage Channel (Close)
00 70 80 0x 00, where "0x" indicates the channel number we want to close. ("1" in our example).
Thanks anyway...

The best Reg Edits

Hi Guys,
What do you think are the best registry edits on the TD2 and what do they do?
I have been looking through the old ones for the TD1 and i have been changing thinks like the GPS enable on the camera ETC.
Any good suggestions you might have to improve the TD2 experience would be gratefully appreciated
yah.like a compilation of regedits would be great along with its description
the only one I know if PHM regedit, it works fine with the D2
sk tools
sk tools...the best! cleanes , optimises,...the whole lot
i think he don't mean the best registry editor. He means the hack to do with the reg editor.
\\Yoshi
You're absolutely right
My bad
here i got some that i use. (credits go to the people who found them NOT ME)
Automatically lock your Diamond 2 (from way back in the daimond days)
HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDevic eLockEnable from 0 to 1 and everytime your backlight goes off the device is locked
To basically use Manila in landscape mode, there are 3 registry mods needed:
1) Add string value to HKCU\Software\HTC\Manila
String: EnableLandscape Value: true
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: TF3D Value: \Windows\manila.exe
3. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: TF3D Value: Manila
To use Windows Explorer in landscape mode, there are 2 registry mods needed.
1. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: File Explorer Value: \Windows\fexplore.exe
(in dutch the string is called verkenner, value is the same)
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: File Explorer Value: FEXPLORE
(in dutch the string is called verkenner, value is the same)
To use Navigon MN|7 in landscape mode, there are 2 registry mods needed:
(works for tomtom to, watch that you use the correct path/.exe and name of tomtom----audio-FIX
1. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: Mobile Navigator Value: \Storage Card\Navigon\MobileNavigator.exe
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: Mobile Navigator Value: MobileNavigator
To use Excel Mobile in landscape mode, there are 2 registry mods needed.
1. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: Excel Mobile Value: \Windows\pxl.exe
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: Excel Mobile Value: pxl
To use Word Mobile in landscape mode, there are 2 registry mods needed.
1. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: Word Mobile Value: \Windows\pword.exe
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: Word Mobile Value: pword
Dear All,
How to remove or delete the new key from PHM Registry Editor? Thank you.
Autolock
"Automatically lock your Diamond 2 (from way back in the daimond days)
HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDevic eLockEnable from 0 to 1 and everytime your backlight goes off the device is locked"
When I do this my device locks itself automatically after few secons even though I've set the backlight to go off after 30 seconds. Does anybody have a solution that can handle this problem?
thanks!
Code:
Manila Home softkeys:
HKLM\Software\HTC\Manila
String HomeLSKArguments //app argument, optional
String HomeLSKPath //app path
String HomeLSKText //left softkey text
String HomeRSKArguments //same, but for key on right side
String HomeRSKPath
String HomeRSKText
koehl said:
Dear All,
How to remove or delete the new key from PHM Registry Editor? Thank you.
Click to expand...
Click to collapse
Just hold the stylus on the string and the menu will appear.
real187 said:
To basically use Manila in landscape mode, there are 3 registry mods needed:
1) Add string value to HKCU\Software\HTC\Manila
String: EnableLandscape Value: true
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: TF3D Value: \Windows\manila.exe
3. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: TF3D Value: Manila
Click to expand...
Click to collapse
You mean that after this hack Manilla will auto-rotate according to its orientation, or will it PERMANENTLY be in landscape mode?
Joopvan said:
"Automatically lock your Diamond 2 (from way back in the daimond days)
HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDevic eLockEnable from 0 to 1 and everytime your backlight goes off the device is locked"
When I do this my device locks itself automatically after few secons even though I've set the backlight to go off after 30 seconds. Does anybody have a solution that can handle this problem?
thanks!
Click to expand...
Click to collapse
please correct your times one more at the battery settings (advanced).
jcan said:
You mean that after this hack Manilla will auto-rotate according to its orientation, or will it PERMANENTLY be in landscape mode?
Click to expand...
Click to collapse
it wil rotate according to the orientation, only one side (270deg. i think) !!
real187 said:
To use Navigon MN|7 in landscape mode, there are 2 registry mods needed:
(works for tomtom to, watch that you use the correct path/.exe and name of tomtom----audio-FIX
1. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: Mobile Navigator Value: \Storage Card\Navigon\MobileNavigator.exe
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: Mobile Navigator Value: MobileNavigator
Click to expand...
Click to collapse
I can't get this to work for TomTom, basically I have :
1. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: Mobile Navigator Value: \Program Files\Navigator\TomTom Audio Fix.exe
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: Mobile Navigator Value: TomTom Audio Fix
Not sure what is wrong here.
I think you have to add tomtom itself instead of the audio fix, because the audio fix loads the tomtom app.
[Edit] Just read the previous post, apparently I'm wrong.
swinster said:
I can't get this to work for TomTom, basically I have :
1. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: Mobile Navigator Value: \Program Files\Navigator\TomTom Audio Fix.exe
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: Mobile Navigator Value: TomTom Audio Fix
Not sure what is wrong here.
Click to expand...
Click to collapse
I use a program called changescreen, it auto rotates by default but you can specifiy which apps you don't want to rotate. This works for TomTom + everything else. I didn't want to have to use an app to rotate, I'd rather have the phone take care of it but the rotate implementation on the D2 is pretty half-arsed. The reason I have to use this is because I'm left handed and tilt clockwise, htc in their infinite wisdom only tilts anticlockwise, for right handed people.
real187 said:
please correct your times one more at the battery settings (advanced).
it wil rotate according to the orientation, only one side (270deg. i think) !!
Click to expand...
Click to collapse
Tried it, but doesn't seem to work... :-(
swinster said:
I can't get this to work for TomTom, basically I have :
1. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: Mobile Navigator Value: \Program Files\Navigator\TomTom Audio Fix.exe
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: Mobile Navigator Value: TomTom Audio Fix
Not sure what is wrong here.
Click to expand...
Click to collapse
For TomTom 7, take a look here : http://forum.xda-developers.com/showthread.php?t=524473
That's works with or without tomtom audio fix ;-) !
But if you don't install audio fix... audio... will not be good !!!
Enjoy...
jcan said:
Tried it, but doesn't seem to work... :-(
Click to expand...
Click to collapse
works for me perfectly, when i change the settings is uses that settings.
do you have any third-party apps installed?
swinster said:
I can't get this to work for TomTom, basically I have :
1. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: TomTom Navigator Value: \Program Files\Navigator\TomTom Navigator.exe
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: TomTom Navigator Value: use name of process of the post above.
Not sure what is wrong here.
Click to expand...
Click to collapse
sorry i never tested this, i use G-sensor works for almost everything.
use settings above, this wil work i tried it.
infoman68 said:
For TomTom 7, take a look here : http://forum.xda-developers.com/showthread.php?t=524473
That's works with or without tomtom audio fix ;-) !
But if you don't install audio fix... audio... will not be good !!!
Enjoy...
Click to expand...
Click to collapse
Dear Real187, you could put directly process name for tom tom 7... but... thanks !!!
So, the right process name in WhiteList is : MunichWinClass

[QUESTION] HTCColdBoot.exe

Can anyone tell me what "exactly" HTCColdBoot.exe does on a cold boot? Copies files? Runs provxml's? I'm trying to troubleshoot a homescreen layout issue that only occurs after HTCColdBoot.exe runs on my Cavalier.
Thanks in advance.
This is the best explanation I have seen floating around. It is here in one of the threads, but this excerpt is taken from Willem Jan Hengeveld aka Itsme.
this is a description of all the files which are relevant to coldbooting a windows ce device.
databases, filesystem, and registry are initialized by filesys.exe based on the following config files
default.fdf
this is the registry information, as generated by regcomp.exe from the platform builder.
struct header {
DWORD signature; // 0x1d8374b2
DWORD size; // size of entire file
struct entry entry[];
};
struct entry {
WORD entrysize;
WORD entrytype; // 1 = path, 2 = key,value pair
union {
struct pathentry;
struct keyvalentry;
};
};
struct pathentry {
WORD hive; // 0 = HKCR, 1 = HKCU, 2 = HKLM
WORD pathlen; // in nr of wchars
WORD zero; // always 0 !!! this field is not present in wince4.x
WCHAR path[];
};
struct keyvalentry {
WORD valuetype; // 1 = string, 2 = empty, 3 = binary, 4 = dword, 7 = wbinary
WORD keysize; // in nr of wchars
WORD valuesize; // in bytes
WCHAR key[];
BYTE value[];
};
key/path size is including terminating NUL
the key 'Default' is the '@' default key.
initdb.ini
this initializes all databases
initobj.dat
this initializes the filesystem
calibrate + cut-paste tutorial
the program that does this is 'welcome.exe'.
initobj.dat contains a line that links 'welcome.lnk' into the startup folder. causing it to run as soon as the shell starts up.
welcome.exe deletes this link when it is finished
welcome.lnk contains 'MSWELCOME', which refers to the 'HKLM\SOFTWARE\Microsoft\Shell\Rai\:MSWELCOME' key in the registry, which points to "\Windows\Welcome.exe"
other things that welcome.exe does:
ImmDisableIME(0)
InitRichInkDLL
RegisterWindowMessage("SHWMappNotify")
ShowWindow("Taskbar", 0)
make \My Documents\Templates\*.psi, *.psw, *.xlt, *.pxt ro_hidden
for all in Comm\DefaultConnections, set ras some params
do more stuff to device.
pass 'defaultconfig.xml' to configmanager.dll
call method that does something with 'voicemail.lnk'
SHSipPreference(6)
load imgdecmp.dll
fload, coredll:2043
SHSipPreference(2)
ShowWindow(?, 1)
TouchCalibrate
ClockDll ...
run 'clocknot.exe' at later time.
deletelink
oeminfo.xml
contains public keys for HTC, and microsoft
.rgu files
since pocketpc 2003, many registry settings have moved from default.fdf to .rgu files. these files are processed by regupdater.exe, but I have not yet researched how and when exactly.
AutoConfig.exe
AutoConfig is loaded via a 'startup' item set by initobj.dat.
it locates the operator rom data, and presents a list of supported configurations found in the customtab.dat file.
Click to expand...
Click to collapse
GSLEON3 said:
This is the best explanation I have seen floating around. It is here in one of the threads, but this excerpt is taken from Willem Jan Hengeveld aka Itsme.
Click to expand...
Click to collapse
It's too bad that information (while good!) doesn't help him at all as it has nothing to do with htccoldboot.exe.. Notice the HTC in the file name ?
Htccoldboot.exe processes all provxml's among other things. So you assumed right You could try trimming them one by one, until your issue goes away...
NRGZ28 said:
It's too bad that information (while goog!) doesn't help him at all as it has nothing to do with htccoldboot.exe.. Notice the HTC in the file name ?
Htccoldboot.exe processes all provxml's among other things. So you assumed right You could try trimming them one by one, until your issue goes away...
Click to expand...
Click to collapse
Thats what I figured. Thanks. The main issue is that after about 10 minutes of "idle", you go back to the home screen and it's white saying "The layout cannot be loaded". Sometimes the Start menu will work so I can get back into Settings\Home Screen and change it. When I do, it comes back.
Any idea what can be affecting that? Happens with HTC Sliding Panels, regular Sliding Panels, and both CPR's. Also, regardless of what color "scheme" I choose. It's like there is some background service that times it out!?
Any ideas?

landscape HD via registry

Ok have these settings working fine on my Topaz D2
Will this work to on the blackstone / HD ?
To basically use Manila in landscape mode, there are 3 registry mods needed:
1) Add string value to HKCU\Software\HTC\Manila
String: EnableLandscape Value: true
2. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
String: TF3D Value: \Windows\manila.exe
3. Add string value to HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
String: TF3D Value: Manila

HELP on Excel !!

HTC should have warn us that Excel editing is almost impossible in this capacitive screen,,, now I know why Iphone does not include it !!!
I tried some POgo capacitive pens (cost HKD 35) for IPhone but it does not work well on HD2...the seller confirms thatit only works well for Iphone..
I need my excel everyday..and I am coming from HD...
Anyone has a better suggestions aside from returning this thing ??
I have no trouble using Excel on the HD2 - took me a while to work out that you have to tap and hold on screen for highlighting cells, but other than that, works well for me
I can only use Excel when it is in landscape mode. I had to install a Long Press Call Button hack to enable landscape use. But now it is at least usable.
I think I really need a stylus... It's really hard to tick drop down menus..and small cells..
Any one knows of better solution aside from returning this ?
With pinch-to-zoom, tap-and-hold to select a range of cells, and Gyrator 2 to rotate it to landscape I don't think you'll need a stylus, although you will be a bit slower.
I had that too
sectorlord said:
HTC should have warn us that Excel editing is almost impossible in this capacitive screen,,, now I know why Iphone does not include it !!!
I tried some POgo capacitive pens (cost HKD 35) for IPhone but it does not work well on HD2...the seller confirms thatit only works well for Iphone..
I need my excel everyday..and I am coming from HD...
Anyone has a better suggestions aside from returning this thing ??
Click to expand...
Click to collapse
In the beginning, I had that same problem, but - after a bit of calibrating your eye-finger coordination, I MISS a cell only one in (about) 10 clicks.
And I work with 28 cells per screen height (portrait) - that's about 3mm cell height.
(I had a problem selecting a range - but by chance, I figured that the trick is to hold your fingger down for about 1.5 seconds.
Then a <[ T ]> symbol appears for a 0.5 senods, indicating that if you drag
your finger, it would go into section selection mode instead of Scroll mode)
Edit - try the "DAGi" stylus - its transparent, and pretty accurate,
abd there are 2 samples on youtube showing the difference between the pogo snd the DAGi Styli
I know you may not want to hear it ... but if you do a lot of Excel, you should get Softmaker Office 2008. It is pretty much a equal to desktop office.
Yes ... things are still small .... but using zooomer ... you can easily use everything with your finger ...
In fact ... aside from editing some cells when the font is really small ... I have no difficulties at all ... Zooomer is your friend.
Cheers
Paul.
Excel autorotate
FunMCRider said:
I can only use Excel when it is in landscape mode. I had to install a Long Press Call Button hack to enable landscape use. But now it is at least usable.
Click to expand...
Click to collapse
Registry tweaks:
AUTOROTATE
HKCU/Software/HTC/HTCSENSOR/GSensor/
AutoRotation = 1
Excel:
- In ModuleName string - Value name: "Excel" Value data: "\windows\pxl.exe"
- In WhiteList string - Value name: "Excel1" Value data: "BOOKWIN"
- In WhiteList string - Value name: "Excel2" Value data: "PXLMainWnd"
Word:
- In ModuleName string - Value name: "Word" Value data: "\Windows\pword.exe"
- In WhiteList string - Value name: "Word" Value data: "Pocket Word"
- In WhiteList string - Value name: "Wordpad" Value data: "WordPad"
Notes:
- In ModuleName string - Value name: "Notes" Value data: "\Windows\Notes.exe"
- In WhiteList string - Value name: "Notes" Value data: "Notes"
TomTom:
- In ModuleName string - Value name: "TomTom" Value data: "\program files\navigator\tomtom navigator.exe"
- In WhiteList - string Value name: "TomTom" with value data: "MunichWinClass"
Appointment:
- In ModuleName string - Value name: "Appointments" Value data: "\Windows\HTCAppointment.exe"
- In WhiteList string - Value name: "Appointments" Value data: "HTCAPPOINTMENT"
Contacts:
- In ModuleNam string - Value name: "Contacts" Value data: "\Windows\ContactEditor.exe"
- In WhiteList string - Value name: "Contacts" Value data: "HTC_CONTACT_EDITOR"
File Explorer:
- In ModuleNam string - Value name: "File Explorer" Value data: "\Windows\fexplore.exe"
- In WhiteList string - Value name: "File Explorer" Value data: "FEXPLORE"
Start:
- In WhiteList string - Value name: "Start" Value data: "MSSTARTMENU"
Nice !
Xaddict said:
Registry tweaks:
AUTOROTATE
HKCU/Software/HTC/HTCSENSOR/GSensor/
AutoRotation = 1
Excel:
- In ModuleName string - Value name: "Excel" Value data: "\windows\pxl.exe"
- In WhiteList string - Value name: "Excel1" Value data: "BOOKWIN"
- In WhiteList string - Value name: "Excel2" Value data: "PXLMainWnd"
Word:
- In ModuleName string - Value name: "Word" Value data: "\Windows\pword.exe"
- In WhiteList string - Value name: "Word" Value data: "Pocket Word"
- In WhiteList string - Value name: "Wordpad" Value data: "WordPad"
Notes:
- In ModuleName string - Value name: "Notes" Value data: "\Windows\Notes.exe"
- In WhiteList string - Value name: "Notes" Value data: "Notes"
TomTom:
- In ModuleName string - Value name: "TomTom" Value data: "\program files\navigator\tomtom navigator.exe"
- In WhiteList - string Value name: "TomTom" with value data: "MunichWinClass"
Appointment:
- In ModuleName string - Value name: "Appointments" Value data: "\Windows\HTCAppointment.exe"
- In WhiteList string - Value name: "Appointments" Value data: "HTCAPPOINTMENT"
Contacts:
- In ModuleNam string - Value name: "Contacts" Value data: "\Windows\ContactEditor.exe"
- In WhiteList string - Value name: "Contacts" Value data: "HTC_CONTACT_EDITOR"
File Explorer:
- In ModuleNam string - Value name: "File Explorer" Value data: "\Windows\fexplore.exe"
- In WhiteList string - Value name: "File Explorer" Value data: "FEXPLORE"
Start:
- In WhiteList string - Value name: "Start" Value data: "MSSTARTMENU"
Click to expand...
Click to collapse
Anything for total commander ?
I tried adding in the module
TotalCommander = "\Program Files\Total commander\cecmd.exe"
and in the the whiteList
TotalCommander = "Total Commander"
But it did not rotate.
what should I change ?
(And how would I know what to change with other programs ?)
Thanks
Rotation tute courtesy Audio Oblivion
Rotate tute
Som30ne said:
Anything for total commander ?
I tried adding in the module
TotalCommander = "\Program Files\Total commander\cecmd.exe"
and in the the whiteList
TotalCommander = "Total Commander"
But it did not rotate.
what should I change ?
(And how would I know what to change with other programs ?)
Thanks
Click to expand...
Click to collapse
See this tute.
Use this app.
You open an app then look in DotFred/Windows for the name of the window, then add it to the reg whitelist.
Thanks
Edit:
Ok, found ut the problem -
you need the window Class, and not the window Title (not the string in "", but the name that comes after it)
Thanks
Xaddict said:
Rotate tute
See this tute.
Use this app.
You open an app then look in DotFred/Windows for the name of the window, then add it to the reg whitelist.
Click to expand...
Click to collapse
Thanks for the quick reply.
I tried it (With total commander),
and foud that except "Total Commander/CE" there were 2 more windows,
but still - even after adding these windows and the "Total Commander/CE",
it did not rotate . . .
Any thoughts ?

Categories

Resources