yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] kuzco1:
force gprs connection

Joubert,

the GPRS force problem still exists in 3.3.1. In case a WiFi connection also exists, a GPRS connection will no created.

I think I have found a solution, but I need your help to read the registy.

What I need is a class which is doing the following:

1. Read all Subkeys of HKLM\Comm\CommMgr\Providers\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}

2. This tree has keys like HTTP-

2.a I need the values of ConnectionGUID, DestID, SrcID where

Enable = 1

Proxy=::80

With this information, I believe I am able to force a GPRS connection.

After that I am able to write a CM_Mappings to force an GPRS connection for only a special URL. After receiving the result, I will delete the CM_Mappings.

To all:

Can someone send me a reg-export of:

HKLM\Comm\CommMgr\Providers\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}

Regards

kuzco

BTW:

AFAI understood the sourcecode (331) you are not using jvip/jvipwips.cs and jvip/webdownload.cs. So, you can delete - it makes me confuse :-)

Can you also correct my failt with the VPN and VNC description in command.cs and processstart.cs.

EDIT: edit wrong reg-key above
[Windows Mobile Apps and Games] joubertvasc:
Please take a look:

string key = "Comm\\ConnMgr\\Providers\\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}";
string ConnectionGUID = "";
string DestID = "";
string SrcID = "";
RegistryKey r = Registry.LocalMachine.OpenSubKey(key);
if (r != null)
{
string[] keys = r.GetSubKeyNames();

foreach (string k in keys)
{
RegistryKey r2 = Registry.LocalMachine.OpenSubKey(key + "\\" + k);
if (r2 != null)
{
ConnectionGUID = (string)r.GetValue("ConnectionGUID", "");
DestID = (string)r.GetValue("DestId", "");
SrcID = (string)r.GetValue("SrcId", "");
r2.Close();
}
}

r.Close();
}
[Windows Mobile Apps and Games] sadthai:
thanks for the great app.

anyway to set the cordinate format to the old version? for example: Latitute, longtitude or (38.93829, -77.9282). it is so much easier to copy and past this cordinate into google map and get the location. it is not giving the cordinate in this format in the current version. thanks again for a wonderful app.
[Windows Mobile Apps and Games] kuzco1:
Force Internet via GPRS/3G/..

Hi,

I think I have found a solution to force an Internet connection over GPRS although WiFi and/or ActiveSync is active.

This connection is necessary to get the external WAN IP.

For that reason, I need to check if my configuration also works for other ROMS and /or Providers.

I am asking for some registry entries from:

"Comm\\ConnMgr\\Providers\\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}"

This tree has subtrees beginning with "HTTP-{". For these subtrees (in my special ROMS are 4) I need the following info:

HTTP-{xxx}

- Key: enable = 1 or 0

- Key: Proxy = new-inet:xxxx or someting else

- Key: srcID = xxxx

Many thanks

kuzco

For Joubert:

The way I am going:

1. check which connection is the default INET connection form "Comm\\ConnMgr\\Providers\\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}"

2. Force INET connenction via GPRS/3G/...

3. Create new CM_Mappings for only one homepage to receive external IP

4. Get external IP

5. Delete above CM_Mappings
[Windows Mobile Apps and Games] joubertvasc:
I have only one key:

Http-{436EF144-B4FB-4863-A041-8F905A62C572}

Enabled = 1

Proxy = <<empty>>

SrcID = {ADB0B001-10B5-3F39-27C6-9742E785FCD4}

It's ok for me.

Regards,

Joubert
[Windows Mobile Apps and Games] kuzco1:
Ok, can you please also check:

"Comm\\ConnMgr\\Providers\\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}\Http-{436EF144-B4FB-4863-A041-8F905A62C572}"

- Type = 0 or 1

Should be in your case 0, or ?

Regards

kuzco
[Windows Mobile Apps and Games] joubertvasc:
Type = 0

Regards,

Joubert
[Windows Mobile Apps and Games] kuzco1:
RTRemote - Rules

Joubert,

could you please tell me, which class is creating the Reg-Entry under Software\Microsoft\Inbox\Rules.

I have created an OEM package, but unfortunaltely the entry is Software\Microsoft\Inbox\Rules\RTConfig

and not

Software\Microsoft\Inbox\Rules\RemoteTracker

as expected from RTRemote.

RTRemote fails in this case.

Same if I am installing the CAB.

Regards

kuzco
[Windows Mobile Apps and Games] kuzco1:
Force GPRS Internet connetion

Joubert,

attached my verison how to force an GPRS-connection.

Probably my code is not to understand :-), here the way I am going.

1. Replaced your "public static void GetCurrentIP()" in command.cs with my one - yours is called now public static void GetCurrentIP1()

2. JVIP.GetExternalIP.checkConnections();

This checks if USB and/or ActiveSync is running. In case one of them is active, I will add a new CM_Mappings later

3. JVIP.GetExternalIP.getCM_ProxyEntriesActual();

Read from registry the default Internet connection from:

Comm\\ConnMgr\\Providers\\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}\HTTP-{

Requirement: Enable= 1 and Type=0

SrcID is the GUID to force the GPRS connection

4. JVIP.GetExternalIP.connectGPRS();

Force the connection with or without CM_Mappings

5.JVIP.GetExternalIP.getExternalIP();

Get external IP

I was not able to configure the SMS.SendSMSorEMail :-(.

Please verify the whole code, especially the CM_Mappings.

Regards

kuzco1

BTW:

- RTRemote does not include vnc and evnc command.

- RTRemote is checking for a reg-entry "\\Software\\Microsoft\\Inbox\\Rules\\RemoteTracker". This one does not exists in my case, but "\\Software\\Microsoft\\Inbox\\Rules\\RTConfig".
[Windows Mobile Apps and Games] joubertvasc:
Args, I forgot RTRemote :D

This key was named as RemoteTracker since first version. I'm trying to hide RT as far as I can, so I decide to change the name of this key.

I released a new version now 0.3.4-0. This version has a new RTRemote version (0.2.0-0). This will be the base for new RTRemote of version 4.

I added a new field named Phone To Call and a small help for each command. For version 4 RTRemote will be multi language too.

Regards,

Joubert
[Windows Mobile Apps and Games] joubertvasc:
Great! I'll see your source later. Now I'm going to beach :)

Regards,

Joubert
[Windows Mobile Apps and Games] joubertvasc:
I just release version 0.3.4-1 with your modifications but I didn't make tests yet. Can you do it for me? I'm busy today.

Regards,

Joubert
[Windows Mobile Apps and Games] kuzco1:
ATTENTION !

Joubert,

I have tested 3.4.1 and it failed :-(.

Ok, I checked JVIP.dll and this is the old one. It seems you have forgotten to compile the new JVIP.dll :-).

Than I compiled JVIP.dll and tested again. It works :-)

BUT (BIG BUT), unfortunatley I was not longer able to connect again with IE to the Internet with ActiveSync. I got an error message - unknow error 0x800c0003. It seems the CM_Mappings was deleted correctly, but somehow not refreshed :-(. Rebooting does not help :-(

GPRS connection is no problem. Works fine. Same for Wifi. It works perfectly.

Only ActiveSync has this error.

Right now, I have no idea. You ?

I have checked with RapiConfig the cm_mappings, everything seems ok. All entries are the same before adding and deleteing an addon to the cm_mappings, but .....

Are you able to check this with the simulator ? I am not able.

Probably we can implement a way to check if GPRS is connected and than reading the IP from the registry. Only if GPRS is not connected, we have to do a cm_mappings.

Please keep in mind that I am only testing the external IP. I have not implemented the WiFI and ActivSync IP ( what you are checking before). Please combine these tests.

Additionally I have not implemented to send an SMS/email with the external IP. I send only a "TEST" via SMS.

Nevertheless, the debug-log includes the external IP.

Regards

kuzco

BTW: I have tested also the command "gi" - I have now two IMSI in my rt..dll, but it sends only the first one

Enjoy your vacation and beach- we have 0 degree !!

You are busy today ? Enjoy the carnival. In my area we are also celebrating carnival :-)
[Windows Mobile Apps and Games] kuzco1:
Ok, I have reflashed my ROM and it does not resolve the problem :eek:

After that, I checked my ActiveSync configuration on my PC. I changed the connection entry from "Automatic" to "Internet" - and now everything works fine :D
[Windows Mobile Apps and Games] joubertvasc:
So weird. I really compiled the new version! May be the package (cab) was wrong. I'll see later.

Just like running in the dark...

I saw and I changed that. The command will return the IP received by your code.

I can't test dual sim card :( The function I use give me the IMSI of the current SIM card.

Yes I'm busy in carnival :D But now I have a little kid (7 years) and I have to go to "light" carnival ;) BTW, today was 37 degrees... Swimming pool and beer rules!

Regards and enjoy your carninal too

Joubert
[Windows Mobile Apps and Games] joubertvasc:
Good to know. Did you test if this command is changing this configuration?

Regards,

Joubert
[Windows Mobile Apps and Games] Kasjopaja:
i have send with RT remote the gip command

and it dont send a sms but i become this error

rt.exe
MissingMethodException
Der Typ 'JVIP.GetExternalIP' konnte nicht aus der Assembly 'JVIP, Version=1.0.3337.20116, Culture=neutral, PublicKeyToken=null' geladen werden.

bei rt.RTMain.g()
bei rt.RTMain.i(Object A_0, MessageInterceptorEventArgs A_1)
bei Microsoft.WindowsMobile.PocketOutlook.MessageInterception.MessageInterceptor.MessageWindow_MessageReceived(Object sender, MessageInterceptorEventArgs e)
bei Microsoft.WindowsMobile.PocketOutlook.MessageInterception.MessagingMessageWindow.WndProc(Message& msg)
bei Microsoft.WindowsCE.Forms.MessageWindow._WndProc(Message& msg)
bei Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
bei System.Windows.Forms.Application.Run(Form fm)
bei ap.a(String[] A_0)

RTRemote 0.2.0-0

RTconfig 0.3.4-1

gprs off

activ sync off

wifi on

the same at egip
[Windows Mobile Apps and Games] Net-Spider:
Kasjopaja: I think that this is the same problem kuzco1 wrote about:

the current version of RemoteTracker seems to be a bit buggy, it might be best to stay away from it until joubert and kuzco1 find a solution :)

My phone is now back from samsung so I might be able to test RT & OCC again in the next days :)
[Windows Mobile Apps and Games] Kasjopaja:
hihi jea i have read it ....it was only a test
[Windows Mobile Apps and Games] deuzeff:
How unfare, I have to deal with rain and cold all the time :(
[Windows Mobile Apps and Games] Net-Spider:
hmm, RemoteTracker starts when a SMS is received and closes when it is done processing the SMS, so it shouldn't need a service to run all the time.

BUT maybe it's possible to start RT in invisible mode when it is a service? (but how would outlook start the service...)
[Windows Mobile Apps and Games] joubertvasc:
Interesting... I'll participate soon.

Regards,

Joubert
[Windows Mobile Apps and Games] joubertvasc:
Hi!,

I need an information from non english WM users. I'm coding version 4 and I need to know if your device have the \program files folder or if this folder is translated to your wm language.

By the way, I'm very close to release the first alpha version. If you want to try, please wait a little bit more.

Regards,

Joubert
[Windows Mobile Apps and Games] Kasjopaja:
german device

two folders

Programme

and Program Files
[Windows Mobile Apps and Games] joubertvasc:
Ok, thank you for your answer. But I'm confused now. When you install applications where it will be installed? Is \Programme folder a shortcut to \program files?

Regards,

Joubert
[Windows Mobile Apps and Games] Kasjopaja:
no

program files are installed with rom update

"programme" are install folder for any programs

....

or

Storage card....

"Speicherkarte/Programme/"

thats you're question? :D
[Windows Mobile Apps and Games] joubertvasc:
:(

I'm trying to make the installation procedure (cab file) to create the keys in registry for some new features, but I can't make it using variables. If \Program files was default for any language it would be great...

Thank you!

Regards,

Joubert
[Windows Mobile Apps and Games] kuzco1:
Joubert,

I do not agree with Kasjopaja :-) (sorry about that, BTW nice picture :-) ). I have created some german ROM (based on Vodafone and T-Mobile) and all programms are installed under \Programme.

There is no "\Program Files".

Based on MS description, the variable %ProgramFiles% is used ("\Program Files", "\Programme"). Unfortunaltey it does not work with *.rgu :-(

Regards

kuzco1
[Windows Mobile Apps and Games] xtep:
You can find the Program Files folder name in the registry. The key is: HKLM\System\Explorer\Shell Folders\Program Files.

In my spanish WM the value of this key is "\Archivos de programa"
[Windows Mobile Apps and Games] joubertvasc:
Thank you. I know I can get the path from registry, but not while I'm configuring the .cab installer :(

I have to go to another way...

Regards,

Joubert
[Windows Mobile Apps and Games] joubertvasc:
RT 4 Alpha version!

Hello all!

I'm here to show you the first alpha version of next RemoteTracker.

Why alpha and not beta? Because I'm coding yet and not testing. ;)

First of all: RT version 4 is not full compatible with previous version! I'm doing my best to hide RT and some modifications was needed. If you decide to try RT 4 alpha, keep in mind the features can change before the final version.

Before install this version, REMOVE THE PREVIOUS VERSION!

What is different:

- The \program files\rtconfig folder does not exists anymore. Now RT will be installed in \program files\configurations;

- RTConfig and RTConfigSP are dead. I created a new interface called Config.exe with a new icon;

- The SMSLauncher.exe application will not be figured in \windows\startup folder. It's started from registry. But you must run Config.exe once (I could not find a way to configure it during installation yet);

- You must Remote the remotetracker.xml and remotetracker.ico from \Application Data\AppToDate folder. Config.exe configure AppToDate using the registry;

- Don't expect the translations to be working. ;)

What I finished:

- New version of RTRemote (0.3.0-0):

- New field 'parameters' to use with some new commands.

- Created a log of all incoming commands (you will see the log using Config);

- Now you can setup up to four emergency numbers, used if the SIM card was changed;

- Now you can setup up to four emergency e-mails, used if the SIM card was changed;

- Now you can setup aliases to SIM Card IMSI numbers;

- New interface to configure a personal FTP server account;

- New commands:

- listapp - List all applications from '\windows\start menu' folder

- elistapp

- runapp - Run an app passed as parameter. The sintax is a little bit different: rt#runapp,<application_link>#<number>#<password> or rt#"runapp,\program files\config.exe"#<number>#<password>

- erunapp

- cellid - return the current cellid information

- ecellid

- lock - lock your device. Not yet completed. I could not find a way to lock the start menu key. BE CAREFUL WITH THIS COMMAND. DON'T TRY THIS IF YOU CAN'T SEND UNLOCK COMMAND!

- unlock - Unlock a locked device

- callhist - Show you the entire incoming/outgoing calls;

- ecallhist

- ftp - Send a file to your ftp server

I'm far away from final version, but I think you can help me testing this version.

You can find this first alpha here: http://www.4shared.com/file/89329795/323ceb14/RemoteTracker.html

PS: In Config menu there is an option named Hide RemoteTracker. It's still not working.

Regards,

Joubert
[Windows Mobile Apps and Games] Net-Spider:
when a device is hard reset, are there any mail accounts set up? do you include all the email-commands as ftp-commands, too? you could upload a file with the command and the current date+time as file name and the contents are the same as with the email command.

I don't really know if this is useful, just an idea ;)
[Windows Mobile Apps and Games] kuzco1:
Joubert,

I will test later.

In case you send me the configuration.cs, I will create a new RTRegCreator.

Regards

kuzco
[Windows Mobile Apps and Games] joubertvasc:
I could not find a way to create an e-mail account programmatically yet. Because of that limitation I'll write code to use a web server. But now I'm thinking again: after a hard reset do you have an internet connection configured? I don't. :mad:

I just made a 'ftp' command. With this command you can upload one or more file to your server using the sintax:

rt#"ftp,\temp\test.txt,\my documents\xxx.doc"##1234

This command is not very useful because you must remember the full path of the file you want to upload. But it's the base for more commands to zip and upload all of yours personal files, all .doc files, all .xxx files and more. Maybe I change this command to accept wild cards like '*'. Hard to do, but useful.

You give me a good idea. Create "f" commands, like fgo, fgi, fgip...

Regards,

Joubert
[Windows Mobile Apps and Games] joubertvasc:
I'll release the source code soon. But please wait a moment, because I'm changing the configurations a lot yet. If you make changes now, you can lose your work ;)

Regards,

Joubert
[Windows Mobile Apps and Games] Net-Spider:
that's what my idea was about ;)

some time ago you said something about a paid service so you have the configuration on a web server (accessed by your IMEI number) and someone said he wanted to put that information on the own web server...

Wouldn't it be possible to combine both ideas? the cab (or rgo?) contains a URL where the program gets the information. this is either your paid web server or the server someone set up for the own phone.

So rom cookers can include the url to the paid service and someone with a web server can configure an alternative url before including the package into the rom.

you said you don't have a network connection set up after a hard reset... that would kill all e* and f* commands and the preconfiguration using the IMEI...

After the reset my device tells me it detected a sim card by provider x and if it should configure everything, the only question is if the bad guy let's the device configure itself.
[Windows Mobile Apps and Games] kuzco1:
RTCreator V4.0alpha

Hi,

although I have no sourcecode I have created a new verison of RTRegCreator_4.0alpha - necessary for ROM cookers.

Please keep in mind that I have added a field "SMSLaucher". This field includes the path where SMSLaucher.exe is stored. Normally it is "\\Programs Files\\Configurations". For german OS it is "\\Programme\\Configurations". Please make sure you are using "\\", instead of "\".

This entry will only be in rt.rgu and NOT in rt.dll.

The path for the AlarmSound has only "\" !!

Regards

kuzco
[Windows Mobile Apps and Games] kuzco1:
Arg, I saw this mail to late :-(

I have already uploaded the new RTRegCreator.
[Windows Mobile Apps and Games] joubertvasc:
I'll answer you about a personal web server configuration when I have some idea about how I'll implement this feature. I have no idea yet :)

About the problem of lost internet connection, I'll see if I can create my own programmatically.

Regards,

Joubert
[Windows Mobile Apps and Games] joubertvasc:
No problem :)

BTW I think it's not time to add this RT version to custom ROMs. If my stable versions are not so stable, imagine this alpha!! :D

Regards,

Joubert
[Windows Mobile Apps and Games] Kasjopaja:
i have installed the new version and its up runing :D

but i dont like the TWO folders in my programs folder

Configurations and rt config

can you make it together like

/speicherkarte/programme/rtconfig/configurations/

....

the ftp comand is a great idea :D
[Windows Mobile Apps and Games] joubertvasc:
Hi, you have to remove rtconfig folder. Only configurations folder will be used. For next alpha I'll do it programmatically. Regards, Joubert
[Windows Mobile Apps and Games] Kasjopaja:
AHHH ok thangs :D
[Windows Mobile Apps and Games] w04g005:
hey joubertvasc,

for me getposition (gps) is not working. I have a htc polaris (touch cruise)

I tested the gp a few times but nothing happens. also the gps-status-led is not blinking.

Other things (getinfo, ...) are working great.

thanks
[Windows Mobile Apps and Games] Kasjopaja:
w04g005

working gps with another programs??

or you can set the configs for gps manuel

com4

baut 4800
[Windows Mobile Apps and Games] Net-Spider:
gp should always send back a sms. if the gps doesn't get a fix it will send back the cell tower information or something like this, but it can take some minutes before it sends this.

why are we writing in english? kuzco1, kasjopaja, w04g005 and me are german... only joubert isn't - ok, let's write in english ^^
[Windows Mobile Apps and Games] w04g005:
Ja is echt witzig...man könnte meinen die deutschen wären ÜBERAUS paranoid.

GPS is working with other programs. I made a sat-fix with googlemaps and igo8 than i sent an sms. Is your status LED blinking when receiving the gp sms?

Gleich wieder da....erstmal brotzeit

thanks
[Windows Mobile Apps and Games] Net-Spider:
let's see... you have the same device as Kasjopaja! Are you sure the gps settings are set to windows managed mode in rtconfig and that windows managed mode is enabled in the system settings?

BTW.: which version are you using? maybe something changed in v0.4?
[Windows Mobile Apps and Games] w04g005:
First i tried the 3.0.0.XX (last version updated with apptodate) now i tried it with version 4. Windows managed mode is enabled.

If you send your command (gp) is the gps-status-led blinking?
[Windows Mobile Apps and Games] Kasjopaja:
im not sure but i thing yes....

iam NOT going out and testing..... ( -2	degree )
[Windows Mobile Apps and Games] w04g005:
Ok thanks for your help. I got it. but don't ask me how. After soft resetting about 5 times it's working now!
[Windows Mobile Apps and Games] Kasjopaja:
i have a idea for your ftp upload

your uploaded files save as encrypted file (aes or anyting)

so any user can save his config or data files on your pupic server without los his privacy

not anyone has a own ftp server :D
[Windows Mobile Apps and Games] Net-Spider:
the problem is that encryption needs a password. how would you save the personal password of one user in a public ROM many people use? I don't really see a solution for this problem.

edit: wait... I thought you talked about the settings that are grabbed from the server after a hard reset - your idea is good for FTP

and AES would really be the best option for a symmetric encryption (symmetric means: encrypted and decrypted with the same password) :)
[Windows Mobile Apps and Games] WatermelonSlim:
Anyone with a computer and internet access has what could be used as an FTP server.
[Windows Mobile Apps and Games] Anolnx:
Same phone, same trouble here. I must downgrade to 3.1.x to get a functioning GPS again.

Worse: with the 0.4 version the phone freezes when I ask for a GPS position. Soft reset required. The log shows the command was recieved and processed before the freeze.
[Windows Mobile Apps and Games] Snager:
GPS commands dont work on 0.3.4-1

None of the GPS commands work on the new version on my HTC Touch Pro.

Just when you need it, it stops working :(

All other GPS apps work fine ...Google Map, Live Search, TomTom all work fine
[Windows Mobile Apps and Games] w04g005:
For me now it's working. Maybe you have to configure GPS port and baudrate manually! I have done this and did several soft-resets.

I have an idea!

Is it possible tu use "locate me" from google-maps-mobile to locate the xda? I mean you have gps and if the xda is indoors you have cellid. But what do i know when i know the cell id? If you want to use the cellid function you need a service which allows you to look up the cell-id-position on a map. (like google-maps!!)

My current cellid is 10945 how do i know where this is?

thanks
[Windows Mobile Apps and Games] Net-Spider:
guess what, there is already a program for your needs ;) http://opencellclient.sf.net (@XDA-Devs)

I don't know if the current version of RT already uses this database, but it is planned (the above program is made by the same author)