Motorola Q9h, TomTom 6 - GPS and backlight - Non-Touchscreen Windows Mobile Other

After installing TomTom 6 on my Motorola Q9h I had two major issues -
1) To start GPS I had to start some external GPS program
2) Backlight did not stay ON.
So, I made a launcher that fixes these things.
Copy MyTTlauncher.exe to the device,
change tt.lnk accordingly and copy to device (\Windows\Start Menu for example).
Default - TomTom and MyTTlauncher.exe are in \Program Files\Navigator\

Can you navigate and select items in the menus in tomtom? My up/down dpad controlls the volume not scrolling..thne when typing on teh keypad only the numbers make numbers so i cant type 10 of the letters so address entry is impossible
i had to edit the config file to make it com5 after using the modaco gps port setter because i couldnt select a gps comport when they listed the available...compared to running on my old 8525 this software feels very cripled on a non touch screen pda....
HOPEFULLY you have some good tips?!

SchmilK said:
Can you navigate and select items in the menus in tomtom? My up/down dpad controlls the volume not scrolling..thne when typing on teh keypad only the numbers make numbers so i cant type 10 of the letters so address entry is impossible
Click to expand...
Click to collapse
Press and hold contact button (on the bottom second from the left) until phone beeps. It will switch keyboard layout between numbers and letters. You can use Fn instead of backspace. Items from the menus can be selected either via d-pad or via numbers. Unfortunately, selection from the list and browsing the map is possible only via fakecursor

Problems...
Hey guy... I have the Moto Q9h as well. i installed tom tom and your files but whenever i open tomtom and hit navigate to it says no gps device? any ideas?

xeo757 said:
Hey guy... I have the Moto Q9h as well. i installed tom tom and your files but whenever i open tomtom and hit navigate to it says no gps device? any ideas?
Click to expand...
Click to collapse
You need to use Microsoft GPSID utility to map GPS to Com3, then configure TomTom to use Com3

SchmilK said:
Can you navigate and select items in the menus in tomtom? My up/down dpad controlls the volume not scrolling
Click to expand...
Click to collapse
TomTom 7 (build 9030) finally works fine with up/down keys!

U-2 said:
After installing TomTom 6 on my Motorola Q9h I had two major issues -
1) To start GPS I had to start some external GPS program
2) Backlight did not stay ON.
So, I made a launcher that fixes these things.
Copy MyTTlauncher.exe to the device,
change tt.lnk accordingly and copy to device (\Windows\Start Menu for example).
Default - TomTom and MyTTlauncher.exe are in \Program Files\Navigator\
Click to expand...
Click to collapse
Thanks, U-2
Would you mind to share the source code? Or explain what your program do (api calls,...)?

aprendiendo said:
Thanks, U-2
Would you mind to share the source code? Or explain what your program do (api calls,...)?
Click to expand...
Click to collapse
int _tmain(int argc, _TCHAR* argv[])
{
PROCESS_INFORMATION pi = {0};
DWORD dwRes = 0;
HANDLE hGPS = 0;
TCHAR tszBacklightName[] = TEXT("BKL1:");
HANDLE s_hBacklightReq = NULL;
HINSTANCE hInst = GetModuleHandle(NULL);
hGPS = GPSOpenDevice(NULL, NULL, NULL,NULL);
if (FALSE == CreateProcess(argv[1], NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, &pi))
{
//goto Error;
}
s_hBacklightReq = SetPowerRequirement(tszBacklightName, D0,
POWER_NAME, NULL, 0);
Sleep(5000);
do
{
SetSystemPowerState(NULL, POWER_STATE_ON, 0);
dwRes = WaitForSingleObject(pi.hProcess, 5000);
} while (WAIT_TIMEOUT == dwRes);
GPSCloseDevice(hGPS);
if (s_hBacklightReq)
ReleasePowerRequirement(s_hBacklightReq);
return 0;
}
attached .exe does not have the part with SetSystemPowerState. I had to add it because in TT7 my on Q9h GPS stopped after several minutes. I think SetPowerRequirement became redundant, but I left it there

Thank you very much, U-2
I tried something similar (with "CeRunAppAtTime"), using only "SetSystemPowerState", but it doesn't worked out.
Finally I installed Tomtom 6 + Tomtom 6.03 and now it's working perfectly with my IPaq 214. After the installation the BT couldn't turn on, but a reset fixed it

Related

button mapping - missing 3 buttons

Hi to all,
When I tried to configure the button mapping settings i cant find the
2nd (contacts), 3rd (record), 4th (camera) button...
I've tried a soft reset and "restore default" but still nothing happens..
Has anyone experienced the same thing?
hope somebody can help me..
thanks!
How do you mean? Can you provide a screen dump of what happens?
check the registry
HKLM\Software\Microsoft\shell\keys\40c1\Name = "Button 1"
HKLM\Software\Microsoft\shell\keys\40c2\Name = "Button 3"
HKLM\Software\Microsoft\shell\keys\40c3\Name = "Button 3"
HKLM\Software\Microsoft\shell\keys\40c4\Name = "Button 4"
don't know if this is your problem, but it just might.
here's a screen shot...
i've also checked the registry...
HKLM\Software\Microsoft\shell\keys\40c1\Name = "Button 1"
HKLM\Software\Microsoft\shell\keys\40c2\Name = "Button 3"
HKLM\Software\Microsoft\shell\keys\40c3\Name = "Button 3"
HKLM\Software\Microsoft\shell\keys\40c4\Name = "Button 4"
is any place in the registry where i can find the problem?
thanks!
What's in the folder "AppButtons" in the Windows directory?
There should be files in there relating to the buttons. I have, for example:
Calender
Camera
Contacts
Record
Try This .reg File 8)
my problem is fixed!
i just checked it the other day and the problem was fix...
and the weird thing is.. i did not do anything to fix it...
thanks guys for all your help!

no disconnect option for gprs

when i click on G indicator for gprs when it's connected i don't see disconnect button and no time for how long am i connected, i had this but when i did a hard reset i lost this options, now i can only disconnect by holding the red button, how can i fix this to get the disconnect button back? something in the registry maybe? pls help
i've tried with tweaks2k2.net bit option for Disconnect button for gprs is GRAYED and cannot be switched on, what to do? Common there must be somenoe who knows this
you are right, there is a registry key to edit to make it comes out.
I was having this issue then I found out about it, and I fixed mine in my Wallaby that is running WM 2003.
Sorry I do not have the information handy right now but I will try to search for it in my home PC this weekend.
Hope somebody that knows can post if faster than me.
found the tweak
- Add a 'Disconnect' button (and Timer) to the Connection List for GPRS
To add a Disconnect button:
HKLM\ControlPanel\Phone\Flags2 = 8 (DWORD decimal)
To add a Disconnect button and a timer display showing how long GRPS is in use for the session:
HKLM\ControlPanel\Phone\Flags2 = 16 (DWORD decimal)
To disable both the Disconnect button and the timer:
HKLM\ControlPanel\Phone\Flags2 = 0 (DWORD decimal)

Change Softkey mapping (How to?)

Hi all,
I am wondering how to change the 4 soft key mapping in order to affect them another program.
This is because the 2 softkey are beginning to break themselve and I would liek to affect the 2 other softkey to do the same (i.e. affect them "Contact" and "start")... see the picture.
I already have some registry trick:
(HKCU\Software\Microsoft
Create a key named 'Home' in here ,and then another key named 'Keys', and then ANOTHER key named '113'.
First Value: 'Default'
Value Data: The text you would like on the key ... (GPC on sample screenshot)
Second value: 'Open'
Value data = "PATH OF EXE or LNK FILE" <--- example is "\Windows\tmail.exe" (it is important to enclose them in quotes)
There is no need to restart device. Just click on the right soft key, press the Home button, and then you'll see the change!)
However i'd like to know what would be the number of the 4 softkey on my QTEK 8310. Anyone know the kay mapping of this device?
Moreover, I'd like to know how "start menu" is launched by the left softkey (what exe is this in the /windows folder?)
Thanks a lot

Carriage return after symbol insert

When inserting a text symbol using the symbol page (hold the # key on keypad or Fn + Sym keys on keyboard), the symbol gets inserted followed by a carriage return (enter). This is extremely annoying and severely limits my SSH / command line usage (can't insert a symbol without an enter).
Does anyone else have this problem? Is it a WM6 problem or is it just my S710? Is there a fix or is it embedded in the ROM?
Yeah, I am also suffering from that in some apps. Don't know if there is a fix.
There is no problem, but it irritates. You must select the symbol by space button: "_/#" on main keyboard or "Space" on QWERTY-keyboard
Experienced this with my Dash before, must be a software conflict, after uninstalling some apps, it worked fine since then...
So you use space/# on keypad or space on keyboard to select the symbol instead of enter. Just tried it and it works. Thanks for the tip! I wonder why this behavior was changed from WM5 to WM6? Oh well, at least there's a workaround.

Software Development Modded syu.ms.apk

Hi all.
This syu.ms.apk mod main function is to extend control of steering wheel controls plus some extra.
It is two part mod :
- factory com.syu.ms.apk must be replaced with this modded syu.ms.apk - easiest way is to use lsec mathod . If you don't know how see post #15
- Mod Config App (install like every apk ) - the configuration tool for this mod.
- Accessibility Service . This is optional. It will be required only for touch actions and split screen.
Here you have last version of my mod.Based on 17.05.23 version of syu.ms.apk
What is working :
- managing steering wheel buttons (CAN and Analog) and Head unit buttons (Need to enable this in misc page)
- assigning an APK
-assigning User Sources
-assigning Split Screen Apps
-assigning a Touch Action
-assigning Key Event : send system wide selected key code.
- assigning two functions action : "PREV / Call" and "NEXT / Hang"
- switchable No Kill
- external assets
- block some Write_to_Mcu
Config App has in built help and a language selector.
Also i attached strings.xml packaged as strings.zip .
NOTE: if the accessibility service gets killed add : "mod.accessibility.service = -15" to the skipkillapp.prop
Hi @seb21 nice idea to open a new thread as it is a complete project
can you please tell me what did you improve in com.syu.ms related to your previous version ? (SORRY IS IN THE CHANGELOG LOLOLOL)
Cheers !
@seb21 I think this one is still killing apps
public static void h(String str) {
ActivityManager n = ae.n();
try {
if (str.startsWith(":")) {
str = str.substring(0, str.indexOf(":"));
}
if (!p.a(str)) {
k(str);
n.forceStopPackage(str);
a.o.c.a(str);
}
} catch (Exception e2) {
e2.printStackTrace();
}
}
File smali/app/aj.smali
seb21 said:
[...]
And i have a question. Maybe someone of you can help me.
I try to make my dashboard display to show navigational data (distance,directions, e.t.c) - so far no success. I have 2 canbus boxes : simplesoft (XP) and raise (RZC) .Do someone of you know a place where i can get the full functions list for the canboxes ???
Click to expand...
Click to collapse
Thank you so much for the tag, and also for the modified apk. Can't wait to try it out tomorrow.
As for your question:
Does that kind of dashboard panel support the displaying of the navigation data? Even if it looks like it should, there could be different hardware and software revisions of the display with different functionalities.
When I upgraded my display first time in my Peugeot 308, I made a mistake of not checking the actual software number on the back of the new unit. While some of the functionality was present, I wasn't able to connect the radio bluetooth (yes, the radio, which is a separate unit) because of the old software on the display.
daviddosa said:
Thank you so much for the tag, and also for the modified apk. Can't wait to try it out tomorrow.
As for your question:
Does that kind of dashboard panel support the displaying of the navigation data? Even if it looks like it should, there could be different hardware and software revisions of the display with different functionalities.
When I upgraded my display first time in my Peugeot 308, I made a mistake of not checking the actual software number on the back of the new unit. While some of the functionality was present, I wasn't able to connect the radio bluetooth (yes, the radio, which is a separate unit) because of the old software on the display.
Click to expand...
Click to collapse
Yes,it does. I have Leon 3 and with the original multimedia station i had the possibility to display navigational data on the dashboard. As i switched to android unit first i had simplesoft canbox and i was able to send media info but not navi nor compass. On their web site (only chinese) there is info that my canbox can send navi data to the dashboard. But there are not one piece of documentation. Now i have raise and from start the compass started working but still no navi.
mariodantas said:
@seb21 I think this one is still killing apps
public static void h(String str) {
ActivityManager n = ae.n();
try {
if (str.startsWith(":")) {
str = str.substring(0, str.indexOf(":"));
}
if (!p.a(str)) {
k(str);
n.forceStopPackage(str);
a.o.c.a(str);
}
} catch (Exception e2) {
e2.printStackTrace();
}
}
File smali/app/aj.smali
Click to expand...
Click to collapse
It's not.
killAppWhenSleep() -> KillAllAppButSome() -> killApp(String)
Class aj n() -> o() -> h(String)
I call in n() my method that calls (or not) o()
I'm using h(String) to kill aps in the user sources (kill switch)
I see the difference on my unit. When i switch on No Kill then after evrey sleep my unit is performing boot, probably because i have low end unit UIS 8581 with only 2 gigs of RAM.
seb21 said:
Hi all.
I decided to make separate thread with my modded ms.apk.
@surfer63 Please change the link in your first post. I will no longer clutter your thread. It is to help people with different problems.
And i have a question. Maybe someone of you can help me.
I try to make my dashboard display to show navigational data (distance,directions, e.t.c) - so far no success. I have 2 canbus boxes : simplesoft (XP) and raise (RZC) .Do someone of you know a place where i can get the full functions list for the canboxes ???
Click to expand...
Click to collapse
I changed the link.
Thanks for this great contribution.
I don't consider something this useful as cluttering of "my" thread, but it is indeed better to separate it so that your app gets the attention it deserves.
I have read somewhere about a person who had an arduino connected to read all CANbus codes. I already searched frantically the last hour, but could not find it. I will continue my search.
New contrib, French strings translation (values-fr/strings.xml)
mariodantas said:
New contrib, French strings translation (values-fr/strings.xml)
Click to expand...
Click to collapse
Thanks. Config App is updated.
surfer63 said:
I changed the link.
Thanks for this great contribution.
I don't consider something this useful as cluttering of "my" thread, but it is indeed better to separate it so that your app gets the attention it deserves.
I have read somewhere about a person who had an arduino connected to read all CANbus codes. I already searched frantically the last hour, but could not find it. I will continue my search.
Click to expand...
Click to collapse
Thanks.
But don't waste your time on this. I have searched this forum on every topic related to canboxes and i have not found nothing that could help me. Beside this can loggers is not what I'm looking for. Unfortunately canbox functions having nothing common with can bus commands - different canboxes have different command ID for the same can bus commands ID
seb21 said:
Thanks. Config App is updated.
Click to expand...
Click to collapse
Thanks to you fellow for this amazing project !
And the Dutch translation.
I have the idea that "User Apk" is not yet a translatable string (but I suppose everyone can translate that)
And the original English <string name="Out_Of_Range">Argument of out integer range !!!</string>
should be "Argument out of integer range", but personally I would have used "Argument outside integer range"
surfer63 said:
And the Dutch translation.
I have the idea that "User Apk" is not yet a translatable string (but I suppose everyone can translate that)
And the original English <string name="Out_Of_Range">Argument of out integer range !!!</string>
should be "Argument out of integer range", but personally I would have used "Argument outside integer range"
Click to expand...
Click to collapse
Thanks. File updated.
And i also added whole buttons names list to strings file.
Thanks for pointing me this mistake.
Does anyone know how one would install this? And other note would this allow me to change the default action from pressing the volume button on the car. right now it turns off the screen. but leaves the sound on. If i press the power button on the radio itself on the side it turns the screen off AND mutes it. Thats what I want the volume button to do. Just like it used to do with the OEM radio.
stealthee said:
Does anyone know how one would install this? And other note would this allow me to change the default action from pressing the volume button on the car. right now it turns off the screen. but leaves the sound on. If i press the power button on the radio itself on the side it turns the screen off AND mutes it. Thats what I want the volume button to do. Just like it used to do with the OEM radio.
Click to expand...
Click to collapse
I have packed everything into this ZIP file. All you need to do is to unpack it directly onto a FAT32 formatted USB drive, plug the drive into your headunit, and wait for it to install.
The installer will make a copy of the original file into the "backup" folder.
In case something goes wrong, and you want to restore the original file, all you need to do is to copy the files 7862lsec.sh and 8581lsec.sh from lsec_updatesh\restore_script to lsec_updatesh to replace the already existing ones.
Once done, just unplug and plug back in the USB storage and wait for it to complete.
Spoiler: Used commands
If you want to write the code for yourself, use the commands below.
Save it as 7862lsec.sh and also as 8581lsec.sh
Copy modified to system
Code:
#make backup to "backup" folder on USB storage
cp -rf /oem/app/190000000_com.syu.ms/190000000_com.syu.ms.apk /storage/sdcard1/backup/190000000_com.syu.ms.apk
#copy modded file from USB storage to headunit
cp -rf /storage/sdcard1/190000000_com.syu.ms_modded.apk /oem/app/190000000_com.syu.ms/190000000_com.syu.ms.apk
#set ownership and permissions
chown -R 0.0 /oem/app/190000000_com.syu.ms/190000000_com.syu.ms.apk
chmod 0755 /oem/app/190000000_com.syu.ms
chmod 0644 /oem/app/190000000_com.syu.ms/190000000_com.syu.ms.apk
Restore original
Code:
#restore backup from "backup" folder
cp -rf /storage/sdcard1/backup/190000000_com.syu.ms.apk /oem/app/190000000_com.syu.ms/190000000_com.syu.ms.apk
#set ownership and permissions
chown -R 0.0 /oem/app/190000000_com.syu.ms/190000000_com.syu.ms.apk
chmod 0755 /oem/app/190000000_com.syu.ms
chmod 0644 /oem/app/190000000_com.syu.ms/190000000_com.syu.ms.apk
File updated on 06/11/2022 22:47 GMT
Installers added for JOYING and MEKEDE separately, updated with newer files on 21/12/2022 20:09 GMT
stealthee said:
Does anyone know how one would install this? And other note would this allow me to change the default action from pressing the volume button on the car. right now it turns off the screen. but leaves the sound on. If i press the power button on the radio itself on the side it turns the screen off AND mutes it. Thats what I want the volume button to do. Just like it used to do with the OEM radio.
Click to expand...
Click to collapse
You can't change the functions of Vol Up and Vol Down buttons, all others buttons you can change.
seb21 said:
You can't change the functions of Vol Up and Vol Down buttons, all others buttons you can change.
Click to expand...
Click to collapse
its the volume up volume down knob but if you press it . oem radio would turn off the oem radio. With this head unit it leaves the volume on and turns off the screen. Would like it to mute and turn off the screen the android unit power button on the top left if i touch that it turns off the screen and mutes.
stealthee said:
its the volume up volume down knob but if you press it . oem radio would turn off the oem radio. With this head unit it leaves the volume on and turns off the screen. Would like it to mute and turn off the screen the android unit power button on the top left if i touch that it turns off the screen and mutes.
Click to expand...
Click to collapse
When you install the app and also the modified app, you will be able to see what action is assigned to the volume button press. It's only the volume up and volume down actions which are locked, the rest should be configurable.
Do you have a CANBUS decoder, or you had to connect the Key1 Key2 wires?
It's easy to install using the method in my previous post, and also gives you a backup in case something goes wrong.
stealthee said:
its the volume up volume down knob but if you press it . oem radio would turn off the oem radio. With this head unit it leaves the volume on and turns off the screen. Would like it to mute and turn off the screen the android unit power button on the top left if i touch that it turns off the screen and mutes.
Click to expand...
Click to collapse
Pressing the volume knob sends signal Black Screen (or something like that), and yes you can assign to it function Power
daviddosa said:
When you install the app and also the modified app, you will be able to see what action is assigned to the volume button press. It's only the volume up and volume down actions which are locked, the rest should be configurable.
Do you have a CANBUS decoder, or you had to connect the Key1 Key2 wires?
It's easy to install using the method in my previous post, and also gives you a backup in case something goes wrong.
Click to expand...
Click to collapse
I have a canbus decoder . Silly Dodge Journey. Without a decoder I was stuck with a OEM radio.

Categories

Resources