Hi,
I'm new to the forum but have been watching the progress of the XDA Developers for quite some time now with great interest.
I saw something last night which I would like on my XDA. A friend of mine showed me his new Nokia 7xxx. He had a little java app called miniGPRS. Basically, it tells you which cell you're currently in and alerts you when you change cells. You can also setup events depending on leaving/entering a cell. For example, switch phone to vibrate when entering your local cinema. Or as he said, getting the phone to welcome you home with a message or WAV, just in case you forgot where you are
Does anone know how to read the cell id using eVB?
I'm also looking at mapping the Cell_ID's to locations in Ireland as O2 don't like giving this information out.
Any info would be appreciated
Regards
Keith Burke 8)
Ireland
Cell ID
Dear all,
The cell id can be found easely. i'll post a VB.NET code that enables u to find out which cell u r using and the location area code ...
I'll try to post the code as soon as possible maybe this weekend ...
Nice one Hady
Regards
Keith Burke
Ireland
Re: Cell ID
Hady said:
The cell id can be found easely. i'll post a VB.NET code that enables u to find out which cell u r using and the location area code ...
I'll try to post the code as soon as possible maybe this weekend ...
Click to expand...
Click to collapse
Alright!
How? Through RIL? Talking directly to the modem? I thought the transmission of location area code wasn't standardized between providers (It's a cell-broadcast in some places).
Anyway: good news: please post as soon as you find the time!
I think I found out how:
at+creg=2 -> set gsm to report location + cellid
at+creg? -> answers "+CREG: 2, 1, 00CB, 3F5F"
where 3f5f is the hex cell id.
XDA developer Itsme said:
I think I found out how:
Click to expand...
Click to collapse
YES!
Now the questions is how do we get this info without turning off TAPI and disabling the phone all the time? Is there a way to keep this reporting going, just like it gets the battery and signal status all the time?
Hady: did you use the same method, or something else?
in the ril patent, I see that 'RIL_GetRegistrationStatus' calls at+creg.
and so should 'RIL_GetCellTowerInfo' but looking at rilgsm.dll, it is
not implemented.
I have also tried to find a generic cmd-request function in the ril api,
( and rilgsm.dll - which implements all the ioctls, called by ril.dll )
but cannot find one.
XDA developer Itsme said:
I think I found out how:
at+creg=2 -> set gsm to report location + cellid
at+creg? -> answers "+CREG: 2, 1, 00CB, 3F5F"
where 3f5f is the hex cell id.
Click to expand...
Click to collapse
I'm using [trying] eVB and the Comm Control to try the same but to no avail. Itsme, could you let me know how you are sending the AT commands to the modem?
Regards
Keith Burke
Ireland
XDA developer Itsme wrote:
I think I found out how:
at+creg=2 -> set gsm to report location + cellid
at+creg? -> answers "+CREG: 2, 1, 00CB, 3F5F"
where 3f5f is the hex cell id.
Click to expand...
Click to collapse
What ROM would that be using please?
Thanks
You can use either wmodem + serial cable, or 'dualser' from the bootloader.
If you take a look at xdaunlock you'll see how to send AT commands to the GSM programatically
with wmodem, and the xdaunlock method you will need the qtek 3.17, or xdadev SER.
I tried it on both radio 4.06 and 4.16.
Re: Cell ID
Hady said:
Dear all,
The cell id can be found easely. i'll post a VB.NET code that enables u to find out which cell u r using and the location area code ...
I'll try to post the code as soon as possible maybe this weekend ...
Click to expand...
Click to collapse
Hady,
Any sign of that vb.net code? Not really puching you, but I'd really like to get a start on my little app.
Regards
Keith Burke
Ireland
cell id
sorry guys for the delay but i had no time to publish the code.
anyways justy dop the following rather than waiting:
start TraceLogger (\windows\tracelogger)
the password is: htc
then go to G23
select MMI + event and click start
now use tracelogviewer provided by the xda devbelopers
u should get the +CSQ something.
well don't get depressed just keep looking at the output and u'll see the cell id and the location area code whenever your mobile changes cells ...
if u don't see any, just drive a few blocks and u'll notice the cell id and location area code pupping on your screen whenever your mobile uses a different cell.
i can tell you another trick to find out your current cell id, just do the following:
1- turn off your GSM
2- run TraceLogger with thye same commands as above but don't click strat
3- turn on your gsm, wait 3 seconds and then click start on TraceLogger
4- go to tracelogviewer and u'll see your current cell id with all checkings and notifications of the GSM modem ...
Best Regards guys
Fill me with updates
Hady
Lebanon
Hi,every one
I meet a problem,please help me:
I have a PDA which is installed inside a radio module, called ET180 with
pocket PC 2002 OS, I do not know how to send AT command to radio module in program, I am using EVB or EVC for coding.
If outside radio module is connect to PC by serial port, I can send command to serial port. but on ET180, I do not know how the radio module is connected.
Do you know is there a RIL(radio interface layer) function that can send command, and How? or any other way?
Thanks
XDA developer Itsme said:
I think I found out how:
at+creg=2 -> set gsm to report location + cellid
at+creg? -> answers "+CREG: 2, 1, 00CB, 3F5F"
where 3f5f is the hex cell id.
Click to expand...
Click to collapse
In fact, there's one thing I don't really get.
You see sometimes you have to setup the phone (e.g. with my XDA) to listen for cell broadcast channel 050 in order to get cell/station id. How does this relate to the +CREG command?
pigeon said:
In fact, there's one thing I don't really get.
You see sometimes you have to setup the phone (e.g. with my XDA) to listen for cell broadcast channel 050 in order to get cell/station id. How does this relate to the +CREG command?
Click to expand...
Click to collapse
This only works if you cellular provider sticks the cell info in a broadcast message, which some providers do. There's no standard for this. In Germany, VIAG Interkom (now O2-DE) even used to broadcast the geographical coordinates of the cell in a channel. (Using their local geocoordinate system Gauss-Krueger, I think it was called).
No clue if this still happens (I would guess not: they'd rather sell that information than give it away...)
XDA developer Peter Poelman said:
... In Germany, VIAG Interkom (now O2-DE) even used to broadcast the geographical coordinates of the cell in a channel. (Using their local geocoordinate system Gauss-Krueger, I think it was called).
No clue if this still happens (I would guess not: they'd rather sell that information than give it away...)
Click to expand...
Click to collapse
Yes it still happens that they transmit the coordinates. But it is anoying that you are geting them as SMS.
:wink: Greetings,
Kaputter
Kaputter said:
Yes it still happens that they transmit the coordinates. But it is anoying that you are geting them as SMS.
Click to expand...
Click to collapse
You could use tstril and get the messages from the RIL layer, I guess.
XDA developer Peter Poelman said:
This only works if you cellular provider sticks the cell info in a broadcast message, which some providers do. There's no standard for this.
Click to expand...
Click to collapse
I see... so for the channel broadcast, do I have to explicitly tell tell the network to broadcast messages to me (with AT commands or something)?
Right, here's something I might ask on this thread as well then.
My friend told me with his old nokia mobile phone, you can switch it into some sort of internal debugging or engineering mode, called NetMon.
http://nokia.crazy.cz/monitore.php
The phone will give you a lot of details like signal shown in dB, a list of nearest stations, also distance from the stations/cells, etc.
Now except the signal strength which is pretty common, do these all sound like phone specific? Or it would be another non-standard information that the provider somehow provide using cell broadcast messages? I've checked roughly in the GSM AT command specs and I don't think there's anything close.
Thanks.
pigeon said:
[Nokia monitor mode...]
Now except the signal strength which is pretty common, do these all sound like phone specific? Or it would be another non-standard information that the provider somehow provide using cell broadcast messages? I've checked roughly in the GSM AT command specs and I don't think there's anything close.
Click to expand...
Click to collapse
Oh my, as soon as we'd have lots of spare time, we'd know what to do. Get our own code to run on the phone while it's in operation, and start dumping the RAM of a running phone. This would probably almost immediately yield all sorts of interesting information. CellIDs, signal strengths of loudest neighbour cells. Timing advances (i.e. speed-of-light measurement of distance to current serving tower), crypto algorithm (and possibly even keys) and (with some more work...) the activity on the control channel, the paging of other phones and whatever else all goes through there. Fun, fun, fun...
Hehe...
So what you mean is, in theory any mobile phone should have information about all those things? (Sorry if I'm not really only talking about XDA here)
Hi,
I'm looking for a software to manually lock my Qtek 9090 on a specific GSM cell (or a specific antenna, somehow). It's very easy to do such a thing on my old Nokia using the hidden menus, but I never found a Pocket PC application that can do that. Any idea ?
Hi yannl,
this shouldn't be a big deal for those how know how to program such a thingy. I assume it should be possible to block the phone program from calling (or even simpler and uglier simply to kill it's process) when you are not in the "right" cell.
As dutty's cell profiler is able changes diverse settings or even launch apps, etc. depending on the cell you're in, it shouldn't be too difficult to realize your wish...
HTH,
BGK[/url]
Thanks. I contacted Cell Profiler to ask them about a feature like that. But I'm very surprised that no software around allows to lock on a cell.
why would you like to do so ?
locking phone to a specific cell/BTS/WTS
AlCapone said:
why would you like to do so ?
Click to expand...
Click to collapse
please tell if there is any way to lock the phone to specific Scrambling code or a BTS, needs it for some testing.
I was wondering if anyone knows if the SX or any BA variant contains a 'field mode', or a mode that shows diagnostic information about the phone, signla, towers, ect. It'd be interesting to look at, and I know some motorolas have it, so I figured I'd ask.
Thanks.
I'm just curious but what is this for?
*#*#364#*#*
You have to do this on the dialpad.
Are things like that to set up operator setting, things such as how many rings before your answering service picks up?
I did a search on the internet and found The HTC Wizard Handbook and it explained how to get the engineer mode working although I had to install fieldtest.exe to get it working.
Engineer mode in AKU2 ROM
It was already noticed that the HTC Wizard has registry settings reffering to an engineer mode, but in previous ROM versions it did not seem to work. In the new AKU2 ROMs however, it does. You can enable engineer mode as follows: [adsense:300x250:3:3]
o Use Total Commander to navigate to \HKLM\Software\HTC\EngineerMode
o Assign a value of 1 to BuildIEngineerModeApp
o Close Total Commander and perform a soft reset by holding the Power Button for 5 seconds
o Power on your device, and wait for it to boot>/li>
o Now dial *#*#364#*#*
After about two seconds, a screen will appear with technical information about your cellular connection. Now the big question is of course, what does all this gibberish mean?
Click to expand...
Click to collapse
You can access the Diag mode switch on HTC Arrive by typing ##MFG# (##634#) in the phone app and hit Diag, then enable it. I can connect via CDMA workshop and dump the memory, ESN, MSL, etc. It will turn off Zune syncing while enabled, but otherwise operate as normal.
You can also go to FieldTrial and see things like supported bluetooth profiles, battery voltage, GPS coordinates, Signal levels, and other bits of info I cannot find in the OS.
Not sure what else we can do with this diag mode, let me know if anyone finds anything fun to do with it. Maybe tethering?
-Paul
Doesn't work on HD7. The dial pad just refreshes (no numbers entered).
On my arrive it bring up a menu with sliders.
drkfngthdragnlrd said:
Doesn't work on HD7. The dial pad just refreshes (no numbers entered).
Click to expand...
Click to collapse
Doesn't work on HTC Surround too, same behavior.
htc trophy
On htc trophy doesn't have afunktion
I added in pictures of some of the sliders and output. Maybe it is only a Sprint thing? I still think we can do tethering with this, I am just having a few win7x64 driver difficulties to straighten out. It creates a "HTC Diagnostic Interface" in device manager but it has been flaky in creating an "HTC Modem" port. Get that figured out and tethering should work, on Sprint at least.
-Paul
Confirmed works on Verizon HTC Trophy. Its probably a CDMA thing
Paul_Hammons said:
I added in pictures of some of the sliders and output. Maybe it is only a Sprint thing? I still think we can do tethering with this, I am just having a few win7x64 driver difficulties to straighten out. It creates a "HTC Diagnostic Interface" in device manager but it has been flaky in creating an "HTC Modem" port. Get that figured out and tethering should work, on Sprint at least.
-Paul
Click to expand...
Click to collapse
Something I just noticed that may be of use. I couldnt get my computer to see it all at first. I had to download HTC Sync (got the one for the incredible) and it now shows like it does for you with a "HTC Diagnostic Interface" in my ports section.
So then I found this http://forum.xda-developers.com/showthread.php?t=929868
which will work if your phone is unlocked (mine is not due to not wanting to pay 100 just for tethering). It seems this diagnostic window is where other phones can access tether and we are using HtcVComV64.sys already. Now we just need it to call HtcUsbMdmV64 and create the HTC Modem as you said before. I think we still would need probably a custom XAP to get it to call which means we would still need the unlock but this menu may make it easier for those unlocked with CDMA to get access or someone may figure how to use this menu for tethering after all.
good luck
ca2l3vin said:
Something I just noticed that may be of use. I couldnt get my computer to see it all at first. I had to download HTC Sync (got the one for the incredible) and it now shows like it does for you with a "HTC Diagnostic Interface" in my ports section.
So then I found this http://forum.xda-developers.com/showthread.php?t=929868
which will work if your phone is unlocked (mine is not due to not wanting to pay 100 just for tethering). It seems this diagnostic window is where other phones can access tether and we are using HtcVComV64.sys already. Now we just need it to call HtcUsbMdmV64 and create the HTC Modem as you said before. I think we still would need probably a custom XAP to get it to call which means we would still need the unlock but this menu may make it easier for those unlocked with CDMA to get access or someone may figure how to use this menu for tethering after all.
good luck
Click to expand...
Click to collapse
Any update on this? Can we make this work with the Chevron Unlock?
Paul_Hammons said:
I added in pictures of some of the sliders and output. Maybe it is only a Sprint thing? I still think we can do tethering with this, I am just having a few win7x64 driver difficulties to straighten out. It creates a "HTC Diagnostic Interface" in device manager but it has been flaky in creating an "HTC Modem" port. Get that figured out and tethering should work, on Sprint at least.
-Paul
Click to expand...
Click to collapse
All pc drivers can be found here
Already did the leg work pimpin
win7 pc drivers were a pain to install but can be done
http://forum.xda-developers.com/showthread.php?t=1014234&page=2
Also ansar already made a custom xap thats what the usb mode switch app is
Yes I do realize that any talk of this is a little archived but I thought I would give it a shot. On my Htc Arrive as probably many other Htc, you cannot access nor input anything related to sound boosting or increasing, as easily as samsungs and a few others. Has anyone ever figured out how to get to the sound/volume control panel thru the diagnostics. I work construction and the ringers and alarms are a little bit low for me. Actually a lot. I've tried all the reg hacks available and keep coming back to the answer being in the diagnostic mode area. Thank you for your time and any response would be greatly appreciated. thank you
CDMA only i think
on my gsm it also refreshes (7 mozart)
this looks like locked
maybe full unlock should make it accessible with some registry tweaks ?