WM App that measures/logs gsm signal strength - Windows Mobile Apps and Games

Is there such a beast for Windows Mobile? I found MobileGX P3Kit but it only runs once in demo mode and didn't log its readings, and the company appears to have gone out of business. Site link doesn't work.
Wasn't sure if this post belonged in the General or Networking forum. Sorry if I guessed wrong.

Check this out.......
I wrote it a few months back whilst digging around in part of the RIL.
Written in Win32 C++ it's lean, mean, rather basic, but it does the job. It requires a phone with GPS, as it calls the Microsoft intermediate GPS driver.
Once it is running, it checks the GPS and phone status every 5 seconds. If the signal strength has changed since the last reading, it writes a record out to \SIGLOG.TXT in the root directory of your device, in the format:-
Latitude,Longitude,Signal Strength,Mobile Country Code, Mobile Network Code,Location Area Code, CellID eg.
0.000000,0.000000,090,0EA,0F,00CF,0000E66C
In this case the 090 is the signal strength, 0 to 100
Latitude and longitude appear as zeros, because I have just run it here in the office, where there is no GPS signal. Zero values also appear in the emulator image. With a proper GPS signal they are filled in with the correct values.
Each time the program is run the log file is overwritten. Rename it , or copy it somewhere else, if you want to keep it.
Notice also, that this file will have a file size of zero bytes whilst the program is running. WinMo caches the output in memory until the output buffer gets full, or the program is closed. You will have to kill it with Task Manager or Settings->System->Memory->Running Programs, unless you have set up your device so that [X] terminates the program.
While it is running, it has the GPS Com port open which starts the GPS circuitry. This will run your battery down faster than usual.
UPDATED Version 1.1.................. 5th August 2010
It has taken a while, but here it is, version 1.1, a much needed improvement on the previous version. Following on from the requests posted below I have managed to include nearly all of them. Here are the differences.
1. Mobile Country Code,Mobile Network Code,Location Area Code, and CellID are now displayed on the main screen, under the CellData heading.
2. When the program starts, the default is to only display the values on the screen, if you want it to log the data to a file, then you have to start it running with StartLog from the menu, and end it with EndLog. Seems logical captain!
3. The default is to write the data to \SIGLOG.TXT in the root directory of your device but this time the data is appended to the end of any existing file, it is no longer overwritten.
4. Use Logfile to open a save dialog box if you want to put it somewhere else. Don't forget to click the 'Save' button in the dialog to accept the new filename. The program will use this location until it is killed, it then reverts back to \SIGLOG.TXT when it is restarted. It is disabled while the log is running.
5. LogOnChange can be checked on and off. When checked it will only write a logfile record when the percentage signal level in the registry changes. When 'Off' it will write a record each time the timer routine is triggered.
6. Also, you can set the timer poll interval to a selection of discreet values from 5 seconds to 10 minutes.
7. It gets a more meaningful icon than the bog standard Windows Application effort. If you just copy the program over the previous version, the program icon will not appear until your device is soft reset. WinMo caches the icons within File Explorer. Whatever the hell for?
Updated: Version 1.2 :
Now reports signal strength values from RIL_GetSignalQuality() under the dB heading, they are the values for SignalStrength, MinSignalStrength and MaxSignalStrength, in that order. These values appear negative because they are in dB. They are also written to the logfile as the three values after the signal strength value from the registry.
The logfile is now:-
Latitude, Longitude, ISO Date, Time, Signal,SigRIL,MinSigRIL,MaxSigRIL, Country, Network, Location, CellID
Code:
53.478121,-2.277437,2010-08-11,07:08:37,090,-77,-113,-51,0EA,0F,00CF,0000BE86
53.477617,-2.274503,2010-08-11,07:08:52,100,-69,-113,-51,0EA,0F,00CF,0000BE87
53.470325,-2.243849,2010-08-11,07:25:52,090,-65,-113,-51,0EA,0F,00CF,0000E612
And finally we now have version 1.3......
Decide whether or not to use GPS, it's now your call. Start it and stop it from the menu. The default on program start is that GPS is OFF, you will have to turn it on yourself. With GPS OFF, the date/time displayed/logged is the local system time. When ON the value is the UTC time supplied by the GPS interface.

@stephj: Thanks for this!

oooooo this looks like a great app, thanks for it.
Does the signal also show 3G signal or just GSM?
Oh and I'd love to see this on the new iPhone
Thanks,
Luke.

Log File
Hi. Where is the log file being saved?
Edit:
Oh, found it. sorry not reading the whole post. hope the details (LAC, CellID) could be seen also on the app while it is running.

thanks, it's great!
if the user could change the time interval and the output location it would be awesome

amazing app!!!!, long time was looking for something like that, I work in network engineering and needed something like this to make a test drive. is there any way to log in neighboring cells appear with ARFCN / CELLID and signal level?
thanks

Looks like it's time to reply to the above posts, as the interest in this thing has taken me by surprise, somewhat.
It was originally written just as a proof of concept program, which explains why it is so damned crude. It went through three stages.
1. Find out how the Microsoft Intermediate GPS device driver (gpsapi.h / .LIB/ .DLL) works and print the location results to the screen.
2. Get the signal strength from the registry key HKLM\System\State\Phone\Signal Strength
This value is the percentage signal strength 0 to 100, but it is not continuous, it only ever has a series of discreet values within this range. 0,10,30,60,90,100 etc. In reply to Luke's post above (#4) it is this value that it prints out, I assume it is the GSM value. I may have a look at trying to to use RIL_GetSignalQuality() instead.
3. Open a session to the RIL (Radio Interface Layer) and use the values returned by RIL_GetCellTowerInfo();
http://msdn.microsoft.com/en-us/library/aa923065.aspx
This returns a pointer to a populated RILCELLTOWERINFO structure
http://msdn.microsoft.com/en-us/library/aa921533.aspx
In theory this should have a load of useful information in it, but unfortunately there's a catch.
It all depends on:-
1. Which parts of all this your phone manufacturer has decided to implement in the Radio part of the phone's ROM, and
2. What your telco is prepared to reveal to the device.
The value dwParams in the RILCELLTOWERINFO structure contains which of the following fields in the structure contain valid data. Here in the UK on a Kaiser running the latest stock Vodafone ROM, connected to Vodafone's network, this value is hex 0F, binary 1111, which corresponds to the first four fields that follow dwParams. i.e.
DWORD dwMobileCountryCode;
DWORD dwMobileNetworkCode;
DWORD dwLocationAreaCode;
DWORD dwCellID;
All other fields in this structure are empty, hence that is all the program dumps out to the log file. Maraca, unfortunately this also includes the ARCFN and surrounding cells.
In future I'll add a dialog box to allow selection of the output file, and some form of selection of the time interval, as per reddevilx's suggestion. I will also add a Startlog/Stoplog menu option with the file opened in 'Append Data' mode.
I'll also put the LAC/CellID details on the main screen too, as per 4trackmind's suggestion

Version 1.1 now released.
This is a shameless bump.
Version 1.1 is far better than the original.
It is in post #2 above. I hope you enjoy it, stephj.

thanks a lot, it works perfect on a p3300 with wm6.5

The program works as advertised, except: won't save log file to memory card and it won't save with a file name other than "siglog" to Main Memory.
Otherwise, works great!

You need version 1.1 in post #2 above before you can change the filename. Version 1.0 had the filename hard coded in it.
You change the logfile name by using the LogFile menu selection from the left menu before you start the log running.
From the Save Dialog box, you have to click the 'Save' button, otherwise the dialog will lose the new filename.
Just got my Kaiser to write to \Storage Card\MISC\Logfile.txt without a problem.

Thanks. Just tried it with the above method and it works OK>

stephj said:
2. Get the signal strength from the registry key HKLM\System\State\Phone\Signal Strength
This value is the percentage signal strength 0 to 100, but it is not continuous, it only ever has a series of discreet values within this range. 0,10,30,60,90,100 etc. In reply to Luke's post above (#4) it is this value that it prints out, I assume it is the GSM value. I may have a look at trying to to use RIL_GetSignalQuality() instead.
3. Open a session to the RIL (Radio Interface Layer) and use the values returned by RIL_GetCellTowerInfo();
http://msdn.microsoft.com/en-us/library/aa923065.aspx
Click to expand...
Click to collapse
Very nice!
About Signal Strength, is it still from registry?
In RIL_GetCellTowerInfo() from your link is also some dwRxxxxxx, e.g.:
dwRxLevel - Specifies the received signal level.
Click to expand...
Click to collapse
Maybe the right one for signal strenght?
Nummer5

Unfortunately as mentioned in post #8 above, only the first four values are filled in. Here's a dump from the debug watch window. cbSize is the size of the structure. dwParams is 15 or binary 1111, which corresponds to only the next four fields being valid. dwRxLevel is zero.
Code:
cbSize 140 unsigned long int
dwParams 15 unsigned long int
dwMobileCountryCode 234 unsigned long int
dwMobileNetworkCode 15 unsigned long int
dwLocationAreaCode 207 unsigned long int
dwCellID 58988 unsigned long int
dwBaseStationID 0 unsigned long int
dwBroadcastControlChannel 0 unsigned long int
dwRxLevel 0 unsigned long int
dwRxLevelFull 0 unsigned long int
dwRxLevelSub 0 unsigned long int
dwRxQuality 0 unsigned long int
dwRxQualityFull 0 unsigned long int
dwRxQualitySub 0 unsigned long int
dwIdleTimeSlot 0 unsigned long int
dwTimingAdvance 0 unsigned long int
dwGPRSCellID 0 unsigned long int
dwGPRSBaseStationID 0 unsigned long int
dwNumBCCH 0 unsigned long int
+ rgbBCCH 0x27a4fd8c "" unsigned char[48]
+ rgbNMR 0x27a4fdbc "" unsigned char[16]

stephj thanks , i am using your program to check the quality of external GPS antennas .
Just fews question:
1) the signals is in % ?
2) I read 3 Db values : is one for celldata ?
3) the range of Db is from ..... to .... (i mean MIN MAX
4) i have signal 100 and db -83 -113 -51 (minus) what is the highest value for good signal ?
thank you

Code:
53.470325,-2.243849,2010-08-11,07:25:52,090,-65,-113,-51,0EA,0F,00CF,0000E612
In this case the 090 is the % value from the registry.
-65 is nSignalStrength, -113 is nMinSignalStrength and -51 is nMaxSignalStrength as returned by RIL_GetSignalQuality() the structure is defined as:
Code:
typedef struct {
DWORD cbSize;
DWORD dwParams;
int nSignalStrength;
int nMinSignalStrength;
int nMaxSignalStrength;
DWORD dwBitErrorRate;
int nLowSignalStrength;
int nHighSignalStrength;
} RILSIGNALQUALITY;
This from http://msdn.microsoft.com/en-us/library/aa922384.aspx
It is the first of the three values that is the current signal strength.The values are in db as they can vary a lot, from being right next to the tower to being miles away from it. In this case -51 is over a million times stronger than -113.
Maybe some radio engineer might be able to shed some light on the values as regards a 'good' signal. I assume there is some correlation between the % strength and the actual db level.

Very useful app thanks. Works fine on HTC HD2 .Does anyone know how to find the location of a cell from the cell data. ? Also any way to choose the cell to use. I have a weak signal for 3g that appears sometimes and a stronger one with GPRS only. I would like to be able to hold it on the 3g and also tell the carrier to hold the full signal power if possible. I believe there is some datacard software that can do some of these things ( E620)

Cell-ID to actual location.
This is where the data starts to have some real commercial worth, and it also sees the appearance of methods used to protect the same.
I believe that Google Maps for mobile uses some internal web service API.
Ericsson Labs also provides a limited service but you have to sign up as a developer, and you are limited to the number of submissions per day you make to the webservice. You have to supply your userkey provided on signup, as part of the URL, to get the location data returned.
For more info have look at
https://labs.ericsson.com/apis/mobile-location/
The API itself, is described here.
https://labs.ericsson.com/apis/mobile-location/documentation/cell-id-look-up-api
It does work. You supply the Hex values for Mobile Country Code, Mobile Network Code,Location Area Code, and CellID and it returns the Latitude and Longitude of the cell, as well as the maximum distance you are likely to be from it. An example of what it returns is below :
Code:
{"position":{"accuracy":"481.0","latitude":"53.477208009524","longitude":"-2.2329582857143"}}
Anyone recognise central Manchester?
As regards holding on to a particular Cell, I am not certain whether it can be done, as most of this is done by the Radio ROM and is outside the user's control. There is nothing in the standard RIL library to deal with this.

Thanks for this app, I can see it coming in very handy in future when I'm onsite setting up GSM kit, especially if the client is complaining about our kit having a low signal strength when their mobile phone is showing full bars... much easier to point at absolute numbers on a screen than to try persuading them that comparing bar graphs between different devices is about as reliable as sticking a wet finger in the air and trying to deduce signal strength from how much it tingles!

Related

Radio Coverage Test Widget

For those of you who are busy playing with various radio roms, I'm in the process of cooking up a simple widget that tracks your location via GPS and records cell strength. This way, if you have a regular route you travel, you can try a new radio rom, (or antenna, or location on the dash for your phone) record the trip, and then use the data to see how your signal strength varies from previous runs. It was just to scratch an itch for me really - I needed a map of a regular 950km route of GSM vs WCDMA coverage to kill off some arguments over a network provider's coverage here, and so it was born.
This program outputs :
gps status/number of sats/time/date/lat/lon/cell strength
to a simple CSV file, which can then be cut'n'pasted into the excellent converter at http://www.gpsvisualizer.com/map?form=googleearth to turn it into a spiffy google earth .KML file, with colorised sections dependant on signal strength.
Cell strength is taken from the registry key in WM, so it's a bit vague - sorry, no dBm readings, just the same 5 steps or so that you get with your normal signal strength meter. But it's a good indication, and I haven't seen much else about that will log this kind of info.
It's pretty rough at the moment - it's put together using basic4ppc using hardwired com ports and output file, but if anyone else is interested in using it, I'll pretty it up, compile it properly and post it.
Hmmm. Now I come to think about it, it works fine on my Jasjam, but it'd probably work on any GPS-enabled WM system.
Comments?
That sounds neat. I would love to try it.
im assuming i need to connect my x01ht to something else to use gps?
Well, I've tidied it up a little and made it (somewhat) configurable, so here you go. Basically, just unzip the contents into a folder somewhere on your phone and run the program. It will dump it's log file into that folder.
Let me know what it does on your system.
I've also attached a GoogleEarth file to show you what it turns into.
(edit: yes, you need a GPS module to make it work - I've a bluetooth one.)

Can't get GPS working on XV6800. At my wits end here.

I've tried practically everything I've found. Telus cab file, QPST method, changed registry settings, etc. Nothing seems to work. So, I'm hoping someone here can tell me what I am doing wrong or what I am missing.
Phone: XV6800
Carrier: Verizon
Radio: 3.42.50
D: 3.56
P DXAAXAM-4350H
I am running Build 21501 (via this thread: http://forum.xda-developers.com/showthread.php?t=497303)
Location On is set
GPS Port is 4, hardware port is NONE, baud rate is 4800, Manage GPS Automatically is checked
I've done the QPST Configuration thing a few times with different IP addresses/port numbers (Verizon, Telus, some other ones) and none seem to work. At the moment, my settings are:
EnableGPS = 1
EnableGPSSmartMode = 1
EnablePDEIPFrom = 1
GPSMode = 1
NumberFixes = 999999999
QoSAccurace = 50
QosPerformance = 89
ServerIP = 216.198.139.92
ServerPort = 8889
TimeBetweenFixes = 1
I am using Google Latitude ("Use GPS" is checked and "Managed by Windows" is selected) and it just sits at "Seeking GPS satellites(0)" regardless of where I am located (home/work/inside/outside/etc).
I am guessing that either I need a different radio, different IP/Port or my device actually has some hardware issue.
Can anyone help me?
Try to use something like htc gps tool or gpsvier to see your status. Also in those programs see if you see red dots on the satelitte view. If not I bet location is off or you are using a custom rom and did not rool back to pregps verizon rom before going custom. Verizon blocks gps with mr1 on custom. So do below directions.
http://forum.ppcgeeks.com/showpost.php?p=834294&postcount=4
Here is the easiest way to fix your vx6800's gps.
Here buddy, you want to follow my guide. This is the way I fixed my vx6800's gps when a verizon ROM upgrade locked out the gps. Just read it and follow it perfectly and you will have no problems from then on.
http://forum.xda-developers.com/showpost.php?p=3687027&postcount=144
This method has helped me, and many others out. I made the steps to be easy for almost anyone to follow. I also provide the downloads.
Ryan
Derezzed said:
I've tried practically everything I've found. Telus cab file, QPST method, changed registry settings, etc. Nothing seems to work. So, I'm hoping someone here can tell me what I am doing wrong or what I am missing.
Phone: XV6800
Carrier: Verizon
Radio: 3.42.50
D: 3.56
P DXAAXAM-4350H
I am running Build 21501 (via this thread: http://forum.xda-developers.com/showthread.php?t=497303)
Location On is set
GPS Port is 4, hardware port is NONE, baud rate is 4800, Manage GPS Automatically is checked
I've done the QPST Configuration thing a few times with different IP addresses/port numbers (Verizon, Telus, some other ones) and none seem to work. At the moment, my settings are:
EnableGPS = 1
EnableGPSSmartMode = 1
EnablePDEIPFrom = 1
GPSMode = 1
NumberFixes = 999999999
QoSAccurace = 50
QosPerformance = 89
ServerIP = 216.198.139.92
ServerPort = 8889
TimeBetweenFixes = 1
I am using Google Latitude ("Use GPS" is checked and "Managed by Windows" is selected) and it just sits at "Seeking GPS satellites(0)" regardless of where I am located (home/work/inside/outside/etc).
I am guessing that either I need a different radio, different IP/Port or my device actually has some hardware issue.
Can anyone help me?
Click to expand...
Click to collapse
Hi-
I believe the following are the correct settings for Verizon:
ServerIP=66.174.95.132
ServerPort=8888
And don't forget that after you do the setup using QPST you must edit the registry and change settings there. I have had no trouble on my Verizon XV6800 using QPST and getting the GPS to work. I have the same radio as you and the same ROM.
There are tutorials on this forum and on PPCGeeks that provide the complete instructions. This one has worked for me many times. Note that shadow-tech tells you to "see post #2 if you're not on Alltel". There he gives you the settings for Verizon and other carriers:
http://forum.ppcgeeks.com/showthread.php?t=36377&highlight=Alltel+GPS
Good luck!
It took me almost a month to figure how to get my GPS working. Finally after reading hundreds of post, someone mentioned that when you dial *228 to program your phone the friggin sheisters at verizon use this opportunity to disable the GPS all over again. Relock, flash back to MR1, unlock using nue 2.47, flash radio 3.42.50, flash custom ROM of choice ( I am using the newest 6.5 build 21222 from PPC Geeks), DO NOT "update roaming" by dialing *228, and you should be good to go. All of this is a lot easier if you flash from an SD card < 2 GB. Good luck.
P.S. screw Verizon.
JimmyGene said:
Hi-
I believe the following are the correct settings for Verizon:
ServerIP=66.174.95.132
ServerPort=8888
And don't forget that after you do the setup using QPST you must edit the registry and change settings there. I have had no trouble on my Verizon XV6800 using QPST and getting the GPS to work. I have the same radio as you and the same ROM.
There are tutorials on this forum and on PPCGeeks that provide the complete instructions. This one has worked for me many times. Note that shadow-tech tells you to "see post #2 if you're not on Alltel". There he gives you the settings for Verizon and other carriers:
http://forum.ppcgeeks.com/showthread.php?t=36377&highlight=Alltel+GPS
Good luck!
Click to expand...
Click to collapse
Thanks for the input. I went through and did everything you said. I am having issues reinstalling Google Maps (it just pops up an unsuccessful message in the middle of it) but I put Live Search on and it can't get the GPS to lock either. So it seems I am still screwed.
Let me state this again for you. You must roll back to pregps rom before goign custom on a verizon phone. Please follow the link I provided. Also do not use google maps. Use htc gps tool or gps viewer to see your signal. That way you can see if your gps is even trying to get a lock. If you do not see red dots on the satelittle view of either program than you don't have location on or you did not roll back before going custom.
I went to your link and started at step one. When it came time to install the Radio and ROM, I used the 3.42.40 radio and the new 21222 ROM from here: http://forum.ppcgeeks.com/showthread.php?p=903142
He just updated the rom again last night and I just flashed to that rom to see if it would help. Now I can't seem to install any apps on there anyway so I guess whether the GPS works or not doesn't really matter until I get that fixed.
Everything I try to install tells me it was unsuccessful.
Edit: Actually I am mistaken. Skyfire installed fine.
And I have downloaded GPS Viewer since the other one wouldn't install and it found the GPS (COM 4, 4800 baud rate) and I click "Open GPS" and my LAT/LON are both 0.0" and it tells me "No Fix".
Are you outside? Is your data connection active? Did you look in satellite view to see if you see red dots? How long did you wait for a fix?
I was outside. I saw about 6 boxes with numbers come up below the globe. The only red dot I saw was one right at the "N" on the globe. No fix or lat/lon. I waited for about 3 minutes.
Well you are at least trying to acquire. Maybe try to stay outside longer. And you didn't mention. Was your data connection active.
I just checked again, making sure the data connection was up (I believe it was before as well). This time, however, I was seeing dots around the globe, not just at "N" adn the value for "Dop" was alternating between 0.0 and 13.1. Still no LAT/LON or Fix, though.
Well it is trying to acquire. Give it some more time.
Also being that you are using agps. I kinda doubt the servers adress are right because this is working at standaloen gps speeds. Also maybe install quickgps. http://forum.xda-developers.com/showpost.php?p=1862269&postcount=2
Quick GPS can't download apparently so no help there.
I think I'm going to give up on this for a while. It's just not meant to be.
I would say theres a chance the GPS driver in the ROM you are using is a tad buggy. Your GPS at least finds satellites just never gets a lock correct? If you cant get a lock its because you are using a vx6800 make sure your ERI is version 4? Make sure to use QPST to uncheck all the agps boxes in the GPS one tab and then recheck them? ex: all blank [ ], then all [X], then double check your port, ip, and position calculation (dont leave that page write to phone while still in GPS one tab.) Boot ROM back up and double check your registry settings for aGPS, then last thing you can try is putting GPS in standalone mode. By setting Gpssmartmode to 0 enable agps to 0 and gps mode to 1, soft reset and try again.
Thanks for the info. I'll try it and let you know what happens.
You have to run the registry changes that are listed on the page I gave you. That fixes the download problem.
RyanMogul6800 said:
I would say theres a chance the GPS driver in the ROM you are using is a tad buggy. Your GPS at least finds satellites just never gets a lock correct? If you cant get a lock its because you are using a vx6800 make sure your ERI is version 4? Make sure to use QPST to uncheck all the agps boxes in the GPS one tab and then recheck them? ex: all blank [ ], then all [X], then double check your port, ip, and position calculation (dont leave that page write to phone while still in GPS one tab.) Boot ROM back up and double check your registry settings for aGPS, then last thing you can try is putting GPS in standalone mode. By setting Gpssmartmode to 0 enable agps to 0 and gps mode to 1, soft reset and try again.
Click to expand...
Click to collapse
So I put the thing in standalone mode and it works! I am not sure what that means, but it works, so I won't complain. Thanks for all your help everyone!

[App] FindMe by SMS

1. Install FindMeSMS on the Windows Mobile phone to be tracked.
2. Send SMS to the tracked phone. SMS message must have this code in it: fm?
3. Receive SMS reply. Click on the link in SMS reply to display map showing location.
Details:
Free. Simple and Easy to use.
Can be PIN protected so only those who know the PIN can find out the location.
The "fm?" is not case sensitive. Fm? or FM? etc. will work as well.
If PIN protection is enabled then the query SMS needs to inlude the PIN. eg: fm?1234
If GPS is not available then FindMeSMS replies with link that includes the CellID (telephone tower) information,
and clicking on the link in the SMS message will bring up a map showing location of the phone tower
with which the phone is communicating.
Does not drain the battery. Only starts when SMS received, and stops running after sending response.
Restarts automatically if phone is power cycled.
Person whose location is queried is not alerted that their location is queried.
---------------
Developed on HTC Touch Diamond 2 running Win6.5.
Let me know any comments that you may have or any improvement suggestions!
Adam
Change Log:
Beta2
FIX - prevent power down during long GPS acquisition on some phones.
FIX - PIN protection
FIX - install locations
Beta3
FIX - GPS co-ordinates normalized to standard used by google maps
FIX - returned link format changed to make it clickable on more phones
Beta4
CHG - Logging to files in /ProgramFiles/FindMeSms/ directory is now enabled by default.
NEW - the "fm?" magic word can be changed using Registry key HKLM\Software\Ablesoft\FindMeSMS\magicword
Beta5
CHG - Log files now saved in My Documents folder for easy retrieval.
Beta6
FIX - Using registered version of smartassembly.
Beta7
FIX - Beta6 had problems working on many phones. Beta7 hopefully fixes this.
Beta8
CHG - traces now include list of other SMS interception rules active on the system
great app
thanks
this app has to be installed on the remote/another phone correct?
I believe that you install this on your phone, then if you lose your phone or it gets stolen, you can SMS it from another phone or the web and your lost/stolen phone will return it's coordinates in the form of an SMS message reply to where ever you messaged your phone from.
Simple and fast, thanks man.
does this work with both cdma and gsm? and are you planning on releasing the source code?
It seems to work, I got 2 SMS with the position of my phone, one with GPS ans one with CellID.
The only point: GPS was located in the eastern part of Russia near the chinese border, CellID located my phone in Nigeria.
But perhaps it's because I tried it within a building. Will try it tomorrow on my way to work. Hopefully with a correct postion
this app has to be installed on the remote/another phone correct?
Click to expand...
Click to collapse
Has to be installed on the phone which is to be located. Then the 'fm?' SMSs are sent to that phone.
does this work with both cdma and gsm?
Click to expand...
Click to collapse
If the CDMA phone has a GPS on it then the GPS based location should work.
The CellID that is used to locate the telephone tower is used by GSM only, so tower based location would not work on CDMA. Never tested this software on a CDMA phone yet.
and are you planning on releasing the source code?
Click to expand...
Click to collapse
Not at this stage. Maybe later.
GPS was located in the eastern part of Russia near the chinese border,
Click to expand...
Click to collapse
This is a bit strange. The co-ordinates supplied by the GPS system are quoted in the clickable http link in the reply SMS without any processing by the app (aside from some conversion to string trimming), so its puzzling why the app forwarded these strange co-ordinates.
There is a way to turn on logging for this app - in HKLM\Software\Ablesoft\FindMeSMS, set log to 1 and then you would see logs created when SMS is received. If you can post the logs then we can see what happening when the SMSs are processed. Can you tell us what phone you are using?
CellID located my phone in Nigeria.
Click to expand...
Click to collapse
The www.findmesms.com php script uses Google's CellID->GPS location database, so the GPS location reported there would be straight from Google.
Can you quote what was the http link with the CellID details? A trace from the app would also let us see exactly what is going on here.
Beta 2 uploaded. See top post in thread for DL.
CellID-Link: http://www.findmesms.com/wmb1.php?cid=29133,10249,262,1
But the link isn't clickable (I'm using SE Xperia with WM 6.1)
I changed the registry but where do I find the logs?
Edit: okay I think i found it. If it's logService.txt it has the following stored:
145931 S --------------------------
145932 pwr set mode -1
145932 pwr set mode -1 => 1
145932 svc start
145932 svc ril cid=29133, lac=10249, mcc=262, mnc=1, on=T-Mobile D
145932 rx adding to listPendingProcessing
145932 iReadInSmsXmlFilesCount=1
145932 sys ShortestTimeoutInterval=54000
145932 svc GpsStart call
145932 gps start begin
145932 gps start .open call
145932 GPS open begin gpsHandle=0
145932 GPS open end gpsHandle=393216
145932 gps start completed
145932 gps device : QualComm GpsOne Card, version 0.0, devstate=, servstate=
150333 iReadInSmsXmlFilesCount=0
150333 svc Gps timeout err. sending ril.
150333 SendSmsWithRilLink task list count=1
150339 task sent ril sms ril to +491xxxxxx]
150339 task list cleared ril ok
150339 task list count=0
150339 srv.ServiceRun returned
150340 pwr reset mode 0
150340 pwr reset mode 0 => 1
Click to expand...
Click to collapse
I deleted my phone-number
Tried to locate once again within a building.
Next edit: tried it outside the building. Also installes EopenCellClient, it found the cells with coordinates listet.
The log:
164129 S --------------------------
164129 pwr set mode -1
164130 pwr set mode -1 => 1
164130 svc start
164131 svc ril cid=46781, lac=10249, mcc=262, mnc=1, on=T-Mobile D
164132 rx adding to listPendingProcessing
164132 iReadInSmsXmlFilesCount=1
164132 sys ShortestTimeoutInterval=54000
164132 svc GpsStart call
164132 gps start begin
164132 gps start .open call
164132 GPS open begin gpsHandle=0
164132 GPS open end gpsHandle=1179648
164132 gps start completed
164132 gps device : QualComm GpsOne Card, version 0.0, devstate=, servstate=
164133 gps loc inv ts=1
164134 gps loc inv ts=2
164135 gps loc inv ts=3
164136 gps loc inv ts=4
164137 gps loc inv ts=5
164138 gps loc inv ts=6
164139 gps loc inv ts=7
164140 gps loc inv ts=8
164141 gps loc inv ts=9
164142 gps loc inv ts=10
164143 ok|18.11.09 16:41:43|0|lat|50,67401573|lon|7,17768015|head|152,6|satsol|8|satcount|8|endtime|18.11.09 15:41:44|
164143 gps stop begin
164143 gps stop removing event handlers
164143 gps stop .close call
164144 GPS close begin gpsHandle=1179648
164144 GPS close GPSCloseDevice call
164144 GPS close stopHandle=-337549942
164144 GPS close stopHandle EventModify
164144 GPS close handles
164144 GPS closed newLocationHandle
164144 GPS closed deviceStateChangedHandle
164144 GPS closed stopHandle
164144 GPS close end
164144 gps stop .close returned
164144 gps stop completed
164144 gps loc after ok
164144 iReadInSmsXmlFilesCount=0
164144 SendSmsWithGpsLink task list count=1
164151 task sent gps sms to [+491xxx] query [fm?]
164152 task list cleared gps ok
164152 task list count=0
164152 srv.ServiceRun returned
164152 pwr reset mode 0
164153 pwr reset mode 0 => 1
Click to expand...
Click to collapse
GPS-position also far, far east of my current location
Thanks for the traces.
The latitude/longtitude reported by the GPS on the phone was:
lat=50,67401573
lon=7,17768015
Most likely what is happening here is that the "," that is used as a decimal separator mixes up the WWW php script. WWW site expects "." as a decimal separator.
Is the location quoted above correct?
Just to confirm, can you tell us what was the actual link set back in the SMS message? (we will add this tracing to log in next version)
Pretty sure we'll just need to change the "," to a "." and the web page will then show correct location.
Will post new software version in few hours.
http://findmesms.com/wmb1.php?gps=50,674016,7,177680 was the link.
http://findmesms.com/wmb1.php?gps=50.674016,7.177680 is indeed correct.
Another thing: I believe that when having the app running (permanently on) the battery drains like hell although no commands are sent. Just yesterday evening my battery had only 5% left, although I left office with 100% a few hours eralier.
I have set it now to Off just to have a look at the battery status tomorrow morning. Will give feedback then.
Have just uploaded Beta3. This version ensures the GPS co-ordinates are supplied to Google Maps in the format expected by Google. Please see first post in this thread for download link.
FindMeSMS app should not run all the time. The app is started by Windows in response to an incoming SMS. The app consists of two .EXEs (fmsSmsIntercept.exe and fmsService.exe) and both .EXEs exit once the SMS reply is sent. The GPS is also closed before the app exits. The uploaded trace shows that GPS closing on your device was done with no errors.
After the SMS was sent out the phone then the phone then should have gone into its sleep mode (after some timeout - usually about a minute) - if no other app was running on the phone.
If you do find that there is battery drain on your device then we may need to look at this closer to see what the possible cause could be.
Percentage stayed the same over night.
Will install Beta3 and have a look at the battery status...
Setting FindMe to be OFF in the Config screen basically removes the SMS interception. Setting it to ON just adds the SMS interception entry so Windows starts FindMeSMS and passes to it the SMS message.
There is no app left running if FindMe is set to ON in the Config screen. Pressing the "Save and Exit" will just enable the interception and then the Config app and the app that enables interception exit. (fmsSmsIntercept.exe is used to perform all interception related tasks and that app does the actual enabling of interception).
You should be able to confirm that no apps are left running by using any of the number of task managers available that list the apps currently running on the device.
Guess the two things to look for would be batter drain after enabling FindMeSMS and then the battery drain after FindMeSMS responds to the SMS query. Logs show that GPS device was shutdown OK after SMS reply was sent - but maybe what is happening on your system is that the drivers replied that GPS is shut down OK, but the GPS device is still actually draining power?
adam2022 said:
but maybe what is happening on your system is that the drivers replied that GPS is shut down OK, but the GPS device is still actually draining power?
Click to expand...
Click to collapse
May be, will have a look at it.
I just got a SMS with CID-Location, doesn't seems to work, The link is alsomst the same as yesterday: http://findmesms.com/wmb3.php?cid=46781:10249:262:1
It looks like Google is returning location info for some phone towers only (eg: this works: http://www.findmesms.com/wmb3.php?cid=16:204:703:20987 )
Not sure at this stage why this is. Whether their database is incomplete or if there is another reason. Will try to look into this.
Have now changed the website to print out an error message if Google returns an 'unknown tower' error, rather then displaying map at 0,0 co-ordinates as before.
Does not work on a TP2
This program does NOT perform any of its intended functionality on a TP2 regardless of the settings. Nice idea , maybe someone else can create a version of this that works...
can see this map
http://www.findmesms.com/wmb3.php?cid=33316:310:268:6
in portugal does nor work??
this is just creepy. whoeever uses this is kinda creepy
unless ur trying to locate a stolen or lost phone
This program does NOT perform any of its intended functionality on a TP2 regardless of the settings.
Click to expand...
Click to collapse
There is a way to turn on logging for this app - in HKLM\Software\Ablesoft\FindMeSMS, set log to 1 and then you would see logs created (in /ProgramFiles/FinsMeSms/ when SMS is received. If you can post the logs then we can see what happening when the SMSs are processed.
Looks like it may be a good idea to turn on logging by default in the Beta versions so these logs can be readily posted.
can see this map [link] in portugal does nor work??
Click to expand...
Click to collapse
Looks like that that CellID is not in Google's database either...

GPS fix for MTK 6589T -THL W8S

Finally fixed my cheap Galaxy s4 clone and I will share it.
In short:
Make the A-GPS and EPO settings with Mobile Uncle.
Download MANUALLY EPO.DAT, copy to the right folder, give rights.
Set your location with Fast GPS
Delete 1 file.
RESTART- no questions - need restart.
Add an antenna to his cover case.
The story in detail:
Very nice S4 clone has a problem with the GPS. Not just the software part is hard, but his GPS antenna is very weak.
First you need to root it. With Framaroot I did it, later needed rooted privileges operations.
Once you have rooted it, download Mobileuncle Tools
Start it, grant access root. -it needs it.
Engeneer Mode
Engeneer Mode ( MTK )
Swipe ( scrool ) to Location - on the right
Location Based Service
it will be selected the AGPS. Deselect and select the Enable A-GPS,don't touch others
click on EPO
click and unclick on "Enable EPO" ( must be selected but do an action in ui to make sure it write the settings)
at this point the autodownload it isn't working!!! unselect it, no reason to try to download it.
at EPO file info you can see - when you come back later when will expire. It is valid 30 days only.
Exit from Mobileuncle Tools
If it would work the download, then it would download and copy the EPO.DAT file to /data/misc/ folder. It is 270kilobytes and has right 777, altought not needed to be executable, but if you miss a right, than again: no GPS signal.
Download manually from http:
epodownload.mediatek.com/EPO.DAT
epodownload.mediatek.com/EPO.MD5
with PC and move to phone or download with your phones browser, whatever.... need to be moved to the to /data/misc/ folder with the correct rights.
Get a Root explorer, browser and go to to /data/misc/ folder.
Delete the mtkgps.dat file. - his cache.
Download and install Faster gps.
This will help to get faster the first fix, instead of never....
I can't believe, but I set the correct NTP server and didn't received GPS updtates(Romania). Changed to a neighbourhood country: Hungary and got, changed to Germany and restarted the phone got signal. Changed back to Romania no more signal. Today got with Romania. The idea is to set where you live, but maybe the server will be down or for some reasons need to change it later
Select your Continent
Select your Country
Exit from Faster GPS
This will edit the gps.conf file at /ect/ folder. Now has the rw-r--r-- rights. Everyone can read and just the owner can write it.
For me has the following content: NTP_SERVER=ro.pool.ntp.org I am sure you can use better one, but be close to your country.
Restart your phone.
Install GPS Test and open it.
Menu
Settings
Clear AGPS
I don't know why needed, but after a clear I need to wait a little bit more but after that I see the communication between the satellites.
After the Clear AGPS the InView number it resets ( and hopefully it will try to communicate with the right satellites)
If you are inside of a building than thats all, you have worked until now without any results, because if you aren't near a window or the building has good ground than no GPS signal for you. With more ore less the Official news recommending to do it like this way. Outside of the building with clean sky and enabled data connection( needs some data!) you can get fix in 10-20 seconds with 5 meter accuracy( sometimes 5 sec). At car it depends where are you and your phone is near of the window or not. If is near and it is summer than it will heat up, so you must move from window and than will loose the GPS signal.
Take a few screenshots for your reference and shut down the phone.
Take off his cover, need to be done a magic with: and antenna.
Go buy a Milka chocolate or ask you wife / mother to give you a aluminium band -she is using at kitchen to store various foods on it. Or go and buy aluminium band from special stores. Make an 3-5 mm wide aluminium tape with around 8 cm length.
The length it is important and can be calculated exactly based of GPS frequency used, but can't measure - at least me - how much is the distance to the motherboard because of different holes.
As show on the images(attached): from the earphone hole to below of the power button hole with 1 cm.
I didn't touched the original antenna, no soldering needed. - maybe if it would be, then it would be better.
Stick that aluminium band with something and put back the cover.
The expected result at me it is: I have signal, where I hadn't ever(at my bad) and the fixes are faster.
External antenna it needed, please see:
https://www.youtube.com/watch?v=_uSX2b4NZq8
https://www.youtube.com/watch?v=wDPhJWSv93A
https://www.youtube.com/watch?v=nMxUps72gQk
https://www.youtube.com/watch?v=2q_AmYlrwNc
https://www.youtube.com/watch?v=ynqKhRSqVpM
Hit the Thanks button, if it helped!

[Q] How to use correctly internal gsm phone?

Hi guys, everything ok?
So, I'm developing a system app and I need to access Radio Interface Layer. On my project is very necessary to receive RIL informations and change some configurations too. Like preferred network mode, etc.. I already build the system app correctly, I know because my device is with the cyanogenmod and my system app has the same certificates.
But, when I call PhoneFactory.getGsmPhone() the radio go away and after a couple seconds it back again. So, the only info that I can read was signal strength, the others values not show correctly, like available networks, that returns nothing.
Basically, I'm calling getGsmPhone and I "casted" to GSMPhone object, after calls some method, like:
gsmPhone.mCM.getAvailableNetowkrs(myMessageObject)
What happens is:
1- open my system app (radio is gone)
2- get ril info (radio still out)
3- radio back (but after run my system)
My doubt is, how I can instantiate a gsmPhone without falling down signal radio?
Thank you in advance.
Apparently, the right way is using makeDefaultPhone(context) and storing the object (Phone) to access in future. It's alright?
So, I could store the phone object on service and access it when I wish. My new question is, when I use makeDefaultPhone(context) am I creating a new instance? It'll stay until when?
Thank you!

Categories

Resources