How to fetch Phone number - Connected Car

I need to show phone number and network operator name on Dialer app installed on HeadUnit.
I am able to fetch operator name via AG_EVENT registering on BroadcastReceiver.
I could find that via ACTION_LAST_VTAG registering on BroadcastReceiver, we have this EXTRA_NUMBER which can return "phone number" of the connected device.
But this action never gets triggered after the device gets connected.
Am I missing something ?

It was easy.
The AG_EVENT action has an Extra attribute BluetoothHeadsetClient.EXTRA_SUBSCRIBER_INFO. This will give us phone number of the device.
But there is limitation; if at the time of connecting mobile device with Head Unit, if mobile device has no network. We won't be able to fetch phone number nor operator name.

Related

Success: carrier unlock, CID, tether on Optimus 7

I have successfully completed the following:
1. Carrier Unlocked a Telus branded LG E900h Optimums 7
2. Connected the phone to Fido
3. Use 3G on Fido
4. Fixed broken Call Display problem
5. Tethered E900h to laptop
6. Set up Wireless Zune sync
It took some effort time to figure it all out, so I thought I would share my experience to reduce frustration that any others may encounter. Most likely, many of these steps will be similar for other WP7 phones.
Unlocking the phone
Because my local phone unlock guy was closed the day I purchased the Optimus 7, I tried instantunlockcodes.com and purchased an unlock code for $10. I received 2 codes the next day, but neither
worked. I recommend not using this website, as tech support responses were next day, and they were never able to get the code working (after 3 days).
I took the phone to my local unlock guy, who unlocked it successfully. He charged me $65.
For anyone who is trying to unlock the phone, when you insert a foreign SIM, the Optimus 7 asks you for a PIN. This is where you enter the service provider unlock code. When I tried either of
the codes that instantunlockcodes.com gave to me, it said, "SIM ERROR". After looking around on the Internet, it seems that this is the message that comes up when it's the wrong code.
Getting Data on Fido
Telephone/voicemail automatically worked on Fido. To get Data to work (ie 3G) I had to change the APN setting.
Go to SETTINGS -> Cellular -> edit apn
"edit apn" is the button at the bottom of that screen. The settings should be:
APN: internet.fido.ca
User name: fido
Password: fido
Have Data connection ON and 3G connection ON.
Internet now worked for me, including browser and Outlook. Outlook connected to Exchange flawlessly.
Incidentally, the first time I set up my phone, I set up Windows Live immediately (startup wizard), and then Outlook Exchange. My appointments from Exchange were all in bright pink.
Because Windows Live was giving me a sync error, I did a factory reset, and set up Outlook first this time. Now, my Exchange appointments are in red. No idea how to change the color, but I
prefer red. In both cases, the Windows Live account's appointments are in Blue.
Call Display and MMS
Call Display and MMS did not work. Frankly, I don't care about MMS (there is another thread on how to fix this), but Call Display is quite important.
Specifically, Call Display worked when land lines called me, but did not call when most cell phones called me. They would read, Unknown.
The solution to this was through Fido: I had to call them and change my Call Display from "Call Display with Name Display" to "Call Display WITHOUT Name Display". Evidently, this problem has
manifested in other unlocked phones, such as some Blackberries as well.
A point of interest: when I put in the original Telus SIM, the call display also did not work properly. They must have given me Call Display with Name Display as well.
Tethering and Wireless Sync
Tethering is a really handy thing for me. I use it infrequently, but it's really invaluable when I need it.
I've modified the solution that's been posted around, to be specific to Fido, but to clarify a couple of the screens, as well:
1. If you haven't already, install Zune first. While tethering is enabled, Wired Sync on Zune won't work. But Zune has wireless synch, which is way cool anyhow.
2. Set up Wireless Sync on Zune. I won't go into all the details, but basically, make sure that the phone is connected to the WiFi network, that your PC has access to the same network (it can
be hardwired, as long as it has access to the same IP subnet). If you have a guest/work router, make sure that both your phone and PC are on the same network. With your phone plugged in, run
the Wireless Sync wizard on Zune. It's painless.
3. Unplug your phone.
4. Press Phone, and dial ##634#, then press the Call button. This makes visible a hidden app called "MFG". Go to the list of all your apps, and you'll see a new icon with a hammer, wrench and
screwdriver lablelled MFG. Open it.
5. You'll be asked for a password. Enter 277634#*# -- you'll need to enter this password every time you want to go into MFG, which is a good thing, because I think you can seriously mess up
your phone if you play around in there.
5. Go to Engineer -> Port Setting
6. Select the QC COMPOSITE and validate. The phone will automatically reboot.
7. VERY IMPORTANT STEP: This is totally counter-intuitive, but you must go to SETTINGS -> Cellular and turn OFF Data Connection.
Note that once you're done tethering, you need to turn it back ON in order to use Internet on the phone.
8. Connect the phone with a USB cable.
9. Windows will automatically detect the phone, and if you're using Windows 7, will prompt you with a popup with the download link for the LG driver. It says LG CDMA driver, but it works. The
full file name is LGUSBModemDriver_Eng_WHQL_Ver_4.9.4_All.exe
10. Once the drivers are installed, click start, and type "Modem", click Phone and Modem.
11. Click Modems, double-click LGE CDMA USB MODEM, click the Advanced tab.
12. Under Extra Initialization Commands, enter:
+CGDCONT=1,"IP","internet.fido.ca"
Replace internet.fido.ca with a different provider APN, if you're not with Fido, obviously.
13. Close the Modems screen, click Start, type "Dial" and click Set up a Dial-up Connection.
14. Enter your home area code because Windows forces you to, and go to the next screen. Then enter as the dialing number:
*99#
Leave the login/password blank. Click connect -- and PRESTO! Tethered Optimus 7.
* IMPORTANT *
Once you're finished tethering, you need to turn Data Connection back on. For some reason, when Data Connection is on, tethering doesn't work. Fortunately, it's a pretty simple toggle to
switch.
I hope that this is helpful!
Thanks for the great info! Just picked up a Telus HTC Surround and was concerned about the CID issue. I'll give this a shot.
You guys paid full pop then for the telus phone?
I'm suprised it costs $65 to get it unlocked...there has to be a way to do this for free...the cheap bugger in me doesn't like to pay for such things!
Yep, paid full at Best Buy. My Samsung Galaxy S just broke last night and I need a smartphone like there's no tomorrow, heh heh. Decided to give a WP7 phone a chance this time.
Yes, I paid $499 CAD + Tax. But, I'm ahead, because I bought an iPhone 4 on renew for $250 or so and sold it BNIB for $960 a few days after release
I have an issue with Text message timing - they are coming through with times that are not the same as my time zone.
UnlockThatPhone.com only 14.99$ and after 18h they send me 2 codes and now I'm so happy
did it work?
arniman said:
UnlockThatPhone.com only 14.99$ and after 18h they send me 2 codes and now I'm so happy
Click to expand...
Click to collapse
Can you confirm if it worked? The first place I went to was instantunlockcodes.com . It was cheap and DID NOT WORK
I went to my "phone guy", who used another (expensive) unlock service, and it did work Cost me something like $50

[Q] Your SIM card does not allow a connection to this network

(reposted from G1 SIM card does not allow connection thread)
When I went to bed on April 20th, my factory unlocked rooted HTC Desire CM7 (final) handset was working perfectly. When I woke up the following morning, I had "Emergency Calls Only" and "Your Sim Card Does Not Allow A Connection To This Network". While in this condition, I can sometimes get a 3g data connection and WiFi, GPS and the rest of the phone works well. The connection status bar shows 3-4 bars of signal strength for my service provider.
I have:
o Contacted my service provider (O2) and my IMEI is not blocked
o Tried every suggestion in every thread on the topic here and anywhere else Google sent me including toggling flight mode
o Tried the SIM in other phones - works perfectly
o Tried other SIMs in it - same error persists with another O2 SIM and a 3 SIM. The phone correctly identified that the 3 SIM was alien to it before going ahead to use it, showing that the phone IS mounting SIMs
o Rebooted.
o Factory reset.
o Removed battery for 1hr. Rebooted.
o Factory reset and re-installed a Sense Froyo Stock ROM
o Updated the Radio driver with 32.54.00.32U_5.14.05.17.zip
o At each stage tried combinations of disabled WiFi and 3g and auto-update
The nitty gritty from the *#*#4636#*#* Phone information screen contains the following (with 4 bars of signal):
IMEI: (correct code - matches the one behind the battery)
Phone Number: (my number - as defined by the SIM)
...
Location: LAC = unknown CID = unknown
Neighbouring CID = unknown
Roaming: Nor roaming
GSM service: Emergency calls only
GPRS service: Disconnected
Network type: unknown
...
Radio resets: 0
Data attempts: 0
Data successes: 0
GSM disconnect: ========DATA=======
State: DcInactiveState
disconnected with last try
at 5:38 PM
fail because Radio Not
Available
(everything else here is 0)
The preferred network type is "WCDMA preferred". Whatever I change it to, it sets itself back to that (ref bingley's solution http://forum.xda-developers.com/showthread.php?t=921812).
Turned off and on the radio a few times to try to make it see reason. No joy.
So - did I forget anything?
Can anyone help or offer any suggestions of something else I can try?
TIA for any thoughts anyone may have
Seems like you covered about all the bases. Funny, as it happened to me earlier this week. Exited a metro tunnel, had the same message. But a normal reboot fixed it.
Hope it's not a sign of things to come.
Thanks for the reply. I had no hint or warning that the phone was even thinking about considering doing this for me. No previous network issues beyond low signal ones. I've had the Desire since August 2010 and, up to this point, been loving it. Frankly - broken hearted right now :-(
Might try cleaning the contacts on the phone/sim with a little iso alcohol on a q-tip (cotton swab)
I'd try anything "outside the box"
But I'd guess the radio might be cooked. hardware wise.
While you're flashing, might as well flash your bootloader....
Any recommendations? I'm using the ClockwordMod recovery already. Really appreciating the input - any thoughts are better than silence!
As for the SIM card, I have put a brand new SIM into the phone - clean contacts, straight from a sealed packet - and put my SIM in an old SE handset I have so that at least my number is on air. The SIM works just fine. Someone suggested that I could put some tape on the back of the SIM card to improve contact, but I really think that something more fundamental is wrong here.
Update: My SIM does not work in any handset. The Desire will not connect to any network using any SIM (but shows a decent signal level).
The behaviour is as if both SIM and handset are barred. When I call my mobile number from a landline, instead of voicemail or "This user is not available right now" I get a UK "number unobtainable" or "disconnected" continuous tone back, like the number no longer exists.
O2 are claiming that both the SIM and the handset are damaged and that I need to visit one of their stores. I am feeling that something has gone wrong with their routing system for both my handset and my SIM.
Does anyone reading here have any definitive knowledge in this field that can help when I eventually do get my backside to the O2 shop?
Or does anyone have any theories?
The only thing I can think of, is that you reached a max number of transmissions.
But, I think that may be only from one of our moscow providers, and shouldnt apply to you. Basically, you do 100,000 transactions, and the sim card goes TU. But that was 3 yrs ago.
Sounds like your provider has things mucked up, especially if the sim doesnt work in any handset. I would suspect your IMEU is also blocked, but the local guy at the store doesn't know how to deal with it.
Flash it back to a stock ROM, and go raise cane at the providers store, and get a new handset.
The handset isn't from my ISP, so they are not going to replace it whatever happens. I would have to get out the HTC warranty (which should still be valid).
I can easily flash back a stock ROM - I have one all ready to roll on the SD. How about the root access - would I need to unroot it too?
When you flash back to a stock RUU ROM, is usually nulls the root access.
O mate, I have the exactly same problem! !!!!!!!!!!
Let me know if u got it fixed
I bit think it might be a virus from market.
—-- check what I post in CM's forum -----------
I'm not sure if this is the phone problem or ROM problem or SIM problem. Just post here to see anyone can help. Thanks in advance.
I've installed CM7 for over two weeks, with everything working great! But this morning, my phone showed a notification with "No SIM Card. Emergency calls only".
Well, here are what I tried to solve the problem:
1. I tried to open my phone, remove the battery and SIM card and cleaned it and insert again (i'm 120% sure it's in the right direction, it has worked fine for months!) didn't work.
2. I re-installed ROM and still "No SIM Card". btw, I tried to install Leedroid and CM7 again.
3. I reset the phone to factory setting and erased/format the SD card, which i saw somewhere online.
4.I checked the "Location & security" - "Set up SIM card lock" and found the box of "Lock SIM card (require PIN to use phone)" is ticked, I don't remember i did this! and I tried to input some PIN like 0000 or 1234. didn't work. I thought it might be the SIM card problem then, and emailed my phone carrier about the PIN. but I removed the SIM and rebooted the phone and re-checked the SIM card status, the "Lock SIM card" box was still there. Ok, I got really confused in here now.
my phone carrier replied to my email, telling me to try SIM card in other phone, if it requires PUK, they will give me PUK. (I will do that tmr) I'm thinking of trying some friend's SIM in my phone to see if the problem is in the phone hardware.
Did you try another SIM in your phone? In my case both the SIM and the Phone seem to be blocked/barred by O2 (my service provider).
Unlike in your case, my SIM is not seen as "no SIM" but as one not allowed to connect to the network. It has the same effect in other handsets and no SIM will allow my phone to connect to any network. Also, my phone does not have the "SIM lock" option ticked.
Next step will be to RUU the phone.
I intend to go to an O2 shop on Tuesday to see what they say there.
Next step will be to RUU the phone.
Click to expand...
Click to collapse
if you mind me erupted in this post, i wouldn't flash a rru rom since my feeling is not hardware related... if so wifi won't work at all neither sometimes 3g data.
have already use thetering?? already read that some provider close the connection if so.
I would try some other provider sim, some of them gives sim for free as prepaid.
this is just my feeling about
hope this help
Agreed - I wouldn't recommend RRU flashing unless about to claim on warranty / return the phone to the supplier. Since I have been advised by my service provider to take the phone to one of their shops I feel that it would be better to RRU first.
Yes, I have used tethering, but that is perfectly allowable in the UK and on my O2 unlimited data contract.
As I said earlier, I have tried other SIMs in my handset
iviarck said:
Agreed - I wouldn't recommend RRU flashing unless about to claim on warranty / return the phone to the supplier. Since I have been advised by my service provider to take the phone to one of their shops I feel that it would be better to RRU first.
Yes, I have used tethering, but that is perfectly allowable in the UK and on my O2 unlimited data contract.
As I said earlier, I have tried other SIMs in my handset
Click to expand...
Click to collapse
so what i have already expeienced about 3G data connectivity in my neighborought.
no data connection allowed, each time a went to wireless&network/mobil network uncheck and check to see if it was able to connect, it said fail... send mail to my provider... gives me answer they gonna see blabla...
it s only few days later that i learned that they were "fine tuning" their network for improvement... hope i did'nt flash radio rom or whtever things like this.
if i were in your shoes, i would wipe /data (place where the settings are store) and set the apn settings once more (i have read that you had made factory reset isn't it?) so anything would be lost.
hope this help
fragargon said:
no data connection allowed, each time a went to wireless&network/mobil network uncheck and check to see if it was able to connect, it said fail
Click to expand...
Click to collapse
My problem is a lack of connection for incoming / outgoing phone calls and SMS. Despite a decent signal level, I have the status "Emergency calls only" and when calling my number, I get a "Number Disconnected" or "Unobtainable" tone. This seems to indicate a phone with a barred IMEI. The SIM doesn't work in other handsets, indicating a barred SIM too.
fragargon said:
if i were in your shoes, i would wipe /data (place where the settings are store) and set the apn settings once more (i have read that you had made factory reset isn't it?) so anything would be lost.
Click to expand...
Click to collapse
I did do a reset / wipe. I made and Nandroid backup first, so when the test failed, I simply restored my settings from backup. The issues I have are not related to the APN settings, which I know inside out and can redefine (as I have done a few times) easily.
Thanks for the contribution to the thread
hi, still me
this really annoying, would suggest to cut the piece of cake or its phone related or it s provider related...
if from your mobile setting/about phone/phone identity... you should see 6 different information like :
model number + imei + iemei sv + de serial numb + phone number (not the one from provider) + imsi
you can also check your RIL through terminal with
Code:
su
getprop "gsm.version.ril-impl"
message => HTC-RIL 2.2.0028hmi (date)
THIS IS FOR MY CASE working with my radio (embedded i have not flash any RIL and would not advice to do)
only to check up if everything sound good with your phone... this smelt a provider related.
hope you can sort this
Here is my ril implementation code:
Code:
# getprop "gsm.version.ril-impl"
HTC-RIL 1.6.1062G (Apr 23 2010,17:35:06)
In the about screen, I get the following information:
model number: HTC Desire
imei: (my IMEI number - matches the one printed inside, behind the battery)
imei sv: O2
de serial numb: (not present in UK information)
phone number: (not the one from provider) - only the one from my provider shown
imsi: don't see this listed nor do I know what it is.
How is the cake cutting looking so far?
hi, so far smelt a sim card/provider problem
’International Mobile Subscriber Identity (IMSI) is a unique identifier provided by the sim card - allow gsm or umts identify the mobile user... and it's given by the sim card
have a look on this
Code:
International Mobile Subscriber Identity ( IMSI):
Each registered user is uniquely identified by its international mobile subscriber identity (IMSI). It is stored in the subscriber identity module (SIM) A mobile station can only be operated if a SIM with a valid IMSI is inserted into equipment with a valid IMEI.
There are following parts of an IMSI:
Mobile Country Code (MCC): 3 decimal places, internationally standardized.
Mobile Network Code (MNC): 2 decimal places, for unique identification of mobile network within the country.
Mobile Subscriber Identification Number (MSIN): Maximum 10 decimal places, identification number of the subscriber in the home mobile network.
more info on http://www.tutorialspoint.com/gsm/gsm_addressing.htm
so it s definitively a problem of sim card/provider...
hope this help you mate
edit: i got one and each mobile user with sim card should got one, it's a "secret" number associated with your "public" number which is known by everybody... your number call
Just to close the issue here and to offer up pointers for anyone with a similar problem, I now have some answers.
It turns out that on April 20th, my IMEI was blacklisted in error. According to O2 the bar was placed on the central database indicating that the action was taken by Vodafone. O2 have tried to lift the bar but the attempt was rejected because of the Vodafone flag.
Vodafone have never heard of my handset nor did they request any such blacklisting. They cannot lift the bar because the phone was never under their control and the number doesn't exist on their system. Their system will not allow them to handle numbers and IMEIs they don't have authority over.
This means that O2 are mistaken and that someone at O2 must have placed that entry in the barring database and then flagged it as Vodafone's work.
Just to make this quite clear - my phone is my own. Nobody says it was or has ever been stolen. Nobody has any track of a request to bar it. This is a freak accident or error, like none they have ever seen before.
So I am currently caught between the two service providers, each claiming it's the other's fault and neither able to fix the problem.
Next step - UK Ofcom.
... unless anybody out there knows of a way to make someone own up and correct this error? (no - I don't want to re-program my IMEI number).

Is there any service menue?

Does the Amazon Fire Phone have any service menue similar to the service menue on Android Devices, that can be reached with *#*#4636#*#* on most devices?
Yes.
Phone information
Battery information
Usage statistics
Wi-Fi information (which is just a link to the Wi-Fi Settings)
--
Thanks, and what code is necessary to reach this informations?
i used what you wrote
I tried also *#*#4636#*#* on a demo device at a T-Mobile Store, but it doesn't work. The only resonse was somethin like "Invalid Number".
But I was really wondered because also *#06# to get the IMEI caused also a "Invalid Number". But I think *#06# must work on each GSM/UMTS device.

Fascist networks do not let me use my SIM in my tablet

Some extremely vile phone networks detect whether your "phone" is a tablet (or dongle or whatever) and disable their SIM !
Other phone networks have no issues at all, so currently I am using my 10.5" phablet with a network that allows me to make and receive calls and texts.
But how do they know the make and model of my device, or does my device announce itself as a "tablet" or as a "non phone" somehow ? I am thinking since my tablet is the same in all respects to a large phone, is htere a way to disguise it in software?
Many thanks
No not really. They know the type of device by the imei that you are connecting with. That tells them the type of device connecting.

delete individual saved networks?

I don't have a note 7 yet(pre-order got cancelled by the store because of the recall, no new pre-order is up yet) but I did get to check out a display model.
the display model was configured to automatically connect to a non-functioning network(DHCP server malfunctioning/blocked), so I thought I'd delete the network and connect to a different one.
at this point I stumbled upon a rather odd problem: there where options to modify the network and prevent connecting automatically, but the "forget network" option was missing.
am I missing something here, are the display models missing something, or did Samsung actually remove the ability to forget individual networks?
the option exists as always, the model you saw is a demo unit, and are very different than actual selling units

Categories

Resources