SIM Locked Notifier - HTC One X

Some of us HTC One X owners have noticed that the phone asks again for a PIN SIM code when you are in a bad-coverage area for a certain amount of time... if you don't notice it, you risk to miss calls or messages since you are out of the network. I'm learning to develop android apps and so I wanted to build my first useful (I hope) app for me and for the ones that have noticed this issue of the One X.
SIM Locked Notifier enables you to activate a ringtone or vibration (or both) when PIN/PUK is required. In this way you avoid missing calls or messages when your phone is out of the network, waiting for a PIN.
Get SIM Locked Notifier on Google Play!
I hope you find it useful, yesterday it warned me two times about this PIN issue (I'm happy because my app works, but I'm worried about this issue... hope they solve it soon).
The app is not heavy, it does nothing until the SIM State changed broadcast event is fired and the state is PIN/PUK required.
REMEMBER: run the app at least once after installation to enable the SIM Locked Notifier monitor. You must do this only once after installation, then it works even after a reboot.

Should this be the reason for me to get a lot of these messages? The content is my Operator name, my area name and my area code.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
They appear a lot, and they come as a SMS from a number 50. The thing is, the interrupt anything that is running (pauses) and stand in front of everything, just like old iPhone messages. So they are different from my normal SMS, that just leaves a notification in the status bar.
If this is it, I'm gonna be so glad that now I know the reason...
P.S: My SIM is not PIN locked, so this may be the reason I see those messages.
Greetings, Santroph.

I too have been having this problem on random occasions and have missed calls/sms's etc that were important.
This app appears to be working perfectly +1 for this and thank you for all your work.
Rob

santroph said:
Should this be the reason for me to get a lot of these messages? The content is my Operator name, my area name and my area code.
They appear a lot, and they come as a SMS from a number 50. The thing is, the interrupt anything that is running (pauses) and stand in front of everything, just like old iPhone messages. So they are different from my normal SMS, that just leaves a notification in the status bar.
If this is it, I'm gonna be so glad that now I know the reason...
P.S: My SIM is not PIN locked, so this may be the reason I see those messages.
Greetings, Santroph.
Click to expand...
Click to collapse
Try to enable the PIN on the SIM card and see if it asks you for the PIN randomly.

PurpleRob said:
I too have been having this problem on random occasions and have missed calls/sms's etc that were important.
This app appears to be working perfectly +1 for this and thank you for all your work.
Rob
Click to expand...
Click to collapse
I'm glad you like it!

A little bump for visibility
I hope someone else will find it useful, yesterday it "saved" me twice from being out-of-network.. HTC must solve this issue in the radio code (I think the problem is there..).

Just updated to the new firnware, which has new radio fw.. maybe the issue is solved now.. I think my app will have very very few downloads, btw it has been a good test project to learn a bit about android
Inviato dal mio HTC One X con Tapatalk 2

good app
im on 1.29.401.11 and the issue is still there
any chance this app could also notify when theres no signal on the phone?
where theres an X by the signal meter?
reason i ask, mine one x sits on X for a good few minutes before asking for the pin code

mayurh said:
good app
im on 1.29.401.11 and the issue is still there
any chance this app could also notify when theres no signal on the phone?
where theres an X by the signal meter?
reason i ask, mine one x sits on X for a good few minutes before asking for the pin code
Click to expand...
Click to collapse
I also had the same issues yesterday, so it's making me think it is an hardware fault of the HOX and not a radio firmware bug....
About the App, I can not extend it in the near future since I have very few time to dedicate to Android development.. but maybe one day I'll update it with your feature BTW, I hope you like the app and find it useful.

Possible solution
Thank you for the App! It really saved me while I was experiencing this issue.
Here is the possible solution:
1) Dial *#*#4636#*#*
2) Open Phone Info Menu
3) Turn off!!! IMS Registration required
I'm continuing to test if it's permanent solution, but for the last 3 days the issue did not occur.

Related

SMS reply problem with Touch Flo - drops leading "+"?

Hi
I've noticed a problem with my TP2, wondered if anyone else had it and had found a way round.
I store all my contacts as international codes (i.e. +447799xxxxxx etc) so I don't have to mess about when on holiday. However I've noticed a problem with this and the Touch Flo interface.
When I get an SMS I see it on the touch flo page, double click and i see the touch flo SMS interface as follows: -
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
However when I send, it drops the + from the beginning of the message. Concequently, it tries to send to 4417799xxxxxx which is invalid and goes into my drafts folder.
If however from the front page I choose the "All Messages" soft key and reply to the message in the standard threaded WM6.1 interface: -
then it works fine.
Any idea how to fix this (without removing +44 from all my contacts!)
Cheers, Sy
Use the search
http://forum.xda-developers.com/showthread.php?t=522535
I described the same problem but nog answer yet.
Just a clue...
I am not a friend of manila or tp2 but just an idea - maybe you have something wrong with the regional settings?
I also had this problem..
I´m wondering, did you install .NET CF3.5?
darfri said:
Just a clue...
I am not a friend of manila or tp2 but just an idea - maybe you have something wrong with the regional settings?
Click to expand...
Click to collapse
That's allready mentioned in my thread (see the link above) and no there is nothing wrong with it
Sjuust said:
I also had this problem..
I´m wondering, did you install .NET CF3.5?
Click to expand...
Click to collapse
Yes, but before i had the same problem and after also.
remember notify HTC support !
I'm not sure but I think something goes wrong when restoring contacts via sprite-backup. I noticed an ';' behind or in front of a phone number once.
Try editing the contact, selecting and saving the phone number and see if it happens again.
Sjuust said:
I'm not sure but I think something goes wrong when restoring contacts via sprite-backup. I noticed an ';' behind or in front of a phone number once.
Try editing the contact, selecting and saving the phone number and see if it happens again.
Click to expand...
Click to collapse
I don't use sprite-backup, and i have the problem to, so that's not a good solution
AlCapone said:
remember notify HTC support !
Click to expand...
Click to collapse
Forget it. They are interested in selling not fixing. Terrible customer support
I don't use Sprite Backup, but my contacts are synced OTA to Exchange, whether that makes a difference or not I don't know.
I do have CF3.5 installed, but don't know whether I had the problem before (I installed it when I first got the phone).
Strangely the problem also seems a little intermittent - for example this morning I did a test reply using the TF interface, and it worked okay?
I will send a message to HTC though so hopefully they'll look into a fix!
Oh, and just noticed my regional settings were set to US not UK, so I've changed this to see if it makes a difference. Though the regional settings don't seem to make any direct reference to phone number format so we'll have to see if it actually makes a difference.
Further investigation suggests this seems to happen on the 2nd reply. i.e. in an SMS thread I reply to a message and it's okay....reply again (before another from sender) and the + gets dropped.
gingerprince said:
Further investigation suggests this seems to happen on the 2nd reply. i.e. in an SMS thread I reply to a message and it's okay....reply again (before another from sender) and the + gets dropped.
Click to expand...
Click to collapse
as already mentioned at http://forum.xda-developers.com/showthread.php?t=522535 read it, and see that all the possible options that are discussed here, are tried already
why all those double threads

[Q] SMS over 160 Characters fail to send on EVO 4G

Hello,
HTC EVO 4G running Cyanogen 7.0.3.1 latest release. Will not send messages over 160 characters. Now, I know sms split can solve this problem, but I don't want my texts to be split. I want it to be sent as one long message. Please don't tell me that CDMA does not allow this (like Ive seen in some threads while searching for a solution), because this is not true. This problem has nothing to do with CDMA, I know millions of people using the same phone from the same provider without having this issue. Is there a fix for this.
While we're at at it, ever since I flashed cyanogen, GPS doesn't work, any fix?
Thanks for the help
Are you using a 3rd party app for messaging?
Sent from my PC36100 using XDA Premium App
tariqa3588 said:
Hello,
I know millions of people using the same phone from the same provider without having this issue.
Thanks for the help
Click to expand...
Click to collapse
Well if you know millions that can , ask one of them and let us all know. .. Wow he knows a million people.
You need to sms split or get somthing like handcent that will convert messages over 160 to a mms message
Sent from my PC36100 using XDA App
No I am not using a third party sms application.
Thank you but I do not want to split messages!
And Ive asked many people with the same phone, it works fine for them, but they don't know how? they're just not having the problem, what benefit would asking them be.
the SMS limit might not be a CDMA thing but it could possibly be a Sprint enforced rule. splitting messages isn't too bad especially since you have that option in CM7.
you need to reset your GPS for it to work. but that can be done two ways.
download GPS Status app and choose reset GPS in the settings (i never tried this)
OR (i did this)
(1) get MSL reader from market and copy down the MSL for your phone
(2) flash back to any Sense ROM, type in ##GPSCLRX# in the dialer
You will be asked to enter your MSL and then the phone should reboot.
after rebooting test to make sure your GPS works in sense and then immediately flash over to CM7.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
No text message is over 160 characters. GSM carriers automatically split, then put-back-together long messages. Sprint, and every other CDMA carrier, doesn't do this automatically. Instead, the stock HTC software itself automatically splits, and puts back together split messages that it sees coming in (it's pretty easy to tell a message is split when five messages from the same number come in within 2ms of each other).
CyanogenMod had this added by 7.0.3 (if not 7.0.2) for all CDMA devices, where it would automatically split the messages. Don't know about putting them together, as I just use Google Voice for everything, because IT WORKS.
I do have mine limited to 90 characters and automatically converts to MMS once it exceeded that number. I dont want to use a third party sms program for it provides you two sms notification every time you receive a message. Does rooting solve this problem? Any option on getting it on its regular sms(160 characters). I tried using a third party keyboard input like smart keyboard but it did not fix the issu of 90 characters
Help please!
No, this has to do with the way the SMS messages are actually parsed before sending
You can only fix it if the rom itself has it, rooting wont do any good
But on the 100% stock rom it splits it already? Gosms, handcent, and chompsms give you this function, in case you rethink not wanting to use a 3rd party function
Sent from my PG06100
Before I rooted my evo 4g, it split my messages on its own. When I rooted it, I had to use a third party sms to do so.

[Q] CosmicCM-4.4.4 V5.2 data not working with SIM2

Hi everybody
First I'd like to thank all the people that were involved in developing this great ROM.
It's a lot faster than the stock ROM and helped me to get rid of the battery drain bug!!!
Currently there is one major and a few minor issues/questions for me. But I couldn't find any solution or even others who had the same issues.
Maybe I'm just miss something but if not, perhaps this could help to improve the next builds or it could be mentioned in the limitations section...
- with SIM 2 data is not working for me. I have a SIM in each slot, but as soon as I switch the second SIM from 2g to 3g the internet connection is gone. APN is configured correctly. Everything else looks good...
- Is there a way to rename the sim?
- roaming "R" disappears from the first sim if Wifi is enabled
- the keys for entering the pin on the lockscreen are cropped
- in the call history there is no information about the sim that was called
Thanks again and have a nice day
Thomas
thomash11 said:
Hi everybody
First I'd like to thank all the people that were involved in developing this great ROM.
It's a lot faster than the stock ROM and helped me to get rid of the battery drain bug!!!
Currently there is one major and a few minor issues/questions for me. But I couldn't find any solution or even others who had the same issues.
Maybe I'm just miss something but if not, perhaps this could help to improve the next builds or it could be mentioned in the limitations section...
- with SIM 2 data is not working for me. I have a SIM in each slot, but as soon as I switch the second SIM from 2g to 3g the internet connection is gone. APN is configured correctly. Everything else looks good...
- Is there a way to rename the sim?
- roaming "R" disappears from the first sim if Wifi is enabled
- the keys for entering the pin on the lockscreen are cropped
- in the call history there is no information about the sim that was called
Thanks again and have a nice day
Thomas
Click to expand...
Click to collapse
- unable to rename sim but have option to RENAME default carrier....works for sim 1 only, see below
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- wifi, takes priority....turning off wifi will cause phone to re-connect to data, this will also happen automatically if u move out of a known wifi area.
- keys not cropped in lockscreen, see image above
- only sms/sim history atm
U need to prioritize which sim to use for call/data/mms,
have you selected sim 2 as ur data sim ,see below
Hi Bodmar
- unable to rename sim but have option to RENAME default carrier....works for sim 1 only, see below
Click to expand...
Click to collapse
OK, maybe this will work for the seocond one in future too
- wifi, takes priority....turning off wifi will cause phone to re-connect to data, this will also happen automatically if u move out of a known wifi area.
Click to expand...
Click to collapse
That's clear. I was talking about the "R" that stands for roaming (not related to data):
- keys not cropped in lockscreen, see image above
Click to expand...
Click to collapse
This only happens in dual sim mode.
- only sms/sim history atm
Click to expand...
Click to collapse
OK, good to know...
U need to prioritize which sim to use for call/data/mms,
have you selected sim 2 as ur data sim ,see below
Click to expand...
Click to collapse
Now that's really great :laugh:
I didn't check this setting, because in the german translation it's called "Voip Calls"
So you "fixed" my biggest problem!
Thanks!!!
Thomas

[Solution Found] Weird Bug - Random BEEP sound coming out

A beep sound comes out randomly while phone on standby/under use. the sound is like the one which comes after we reach max volume on android phone but still the button is kept pressed. The exact sound that you get when you try to increase volume in many Android phones even after it has reached max volume level.
Does anyone else have this problem? Its getting too frequently now. Don't know whats causing this.
It goes away after reboot but still pops up after.
https://forums.oneplus.net/threads/oneplus-3-is-making-sounds.470953/
Found the cause.
It was happening due to my certain SIM tool. from SIM Toolkit.
If you are also on Vodafone network, go to SIM toolkit and deactivate FLASH Alert.
I tried checking my SIM Toolkit on my Vodafone SIM. There is NO option when opening the Sim Toolkit app except only 1 option "Roaming". Even when I press Roaming, nothing happens. Can you post some screenshots of your SIM Toolkit app?
power2top said:
I tried checking my SIM Toolkit on my Vodafone SIM. There is NO option when opening the Sim Toolkit app except only 1 option "Roaming". Even when I press Roaming, nothing happens. Can you post some screenshots of your SIM Toolkit app?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hmm I have none of those menu items after opening SIM Toolkit app except Roaming which you don't see to have at all!! I have just got my Vodafone sim nano since op3 requires it. Is it possible that new SIM do not have this app? If this app does not come on SIM but part of op3 then how come same app works differently on op3? I am using OP3Lite ROM btw if it matters....
power2top said:
Hmm I have none of those menu items after opening SIM Toolkit app except Roaming which you don't see to have at all!! I have just got my Vodafone sim nano since op3 requires it. Is it possible that new SIM do not have this app? If this app does not come on SIM but part of op3 then how come same app works differently on op3? I am using OP3Lite ROM btw if it matters....
Click to expand...
Click to collapse
Not sure. Are you experiencing the BEEP currently?
I am experiencing the same problem. That sound is getting regular.
For Airtel Users
Find "airtel live!" in your menu also may be found as "SIM Toolkit".
Swipe all the way through bottom. You'll find "airtel now!". Tap it.
"Start/Stop"
"Stop"
Same problem
---------- Post added at 06:31 PM ---------- Previous post was at 06:27 PM ----------
I did the same u said Hope it will work
I have the same problem
I have the same problem you described .. but no solution currently available at the moment .. there is one solution that shows that you have to end session in sim toolkit option .. but did not work ..... have you checked without the sim ? eject the sim and try that the noise still there or not ....
and this noise are coming specially when i upgraded to miui 8 to miui 9
now i am looking for the next updated stable rom and hope that the problem will be soleved...
best of luck to u and me !!
solution found !!!!!!!!!!!! xiaomi redmi note 4 random beep found .......
go to settings ---) apps ---) all ---) simtoolkit ---) show notifications ---) turn off the sound and vibration also ..... enjoy...
let me know if that help
thanks to all
Didn't help
It didn't help me.
Any other solutions?

Time Zone Problems

Hello everyone,
I have a problem with my HTC 10. My country (Turkey), I have no idea why, decided to stay in the daylight saving time, so now, we are at the +3 zone.
But dear HTC engineers, not like Samsung or LG or Apple or any other manufacturers engineers, didn't update the time zone settings on the devices.
So now I have two options. Keep the +2 and set the time manually. That's how I can have correct time on my lock screen and weather widget, but everything else is wrong. (Such as my calendar entries, times on social media apps and so on)
If I set the time as +3, then weather widget and lock screen times are wrong.
Since HTC sucks, I don't think we will get any updates about this issue quite soon. I just lost my patience and I am sure this is my last HTC device (I was a huge HTC fan, seriously, a user since HTC Diamond!), but anyways, is there any kind of fix I can do? Do custom roms fixed that or I can root the phone and fix it by myself?
Thanks everyone in advance for their answers
custom roms didn't fix it. There is nothing you can do. Maybe the nougat update will fix it but htc shows no intention to fix it since it is not sold much in Turkey. Same issues with me I'm on latest viper and had to set everything manuel. Just reinstall your social media apps while the time is corrected
Have you accomplished the hard reset though..? If not - please do...
Sent from quite brutal hTc 10 ..
jauhien said:
Have you accomplished the hard reset though..? If not - please do...
Sent from quite brutal hTc 10 ..
Click to expand...
Click to collapse
Didn't work
ToffieBoi said:
Didn't work
Click to expand...
Click to collapse
And did that work when you cleared those two check-boxes? and manually set GMT +3 of any suitable city (country) what does not use DST ..?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from quite brutal hTc 10 ..
jauhien said:
And did that work when you cleared those two check-boxes? and manually set GMT +3 of any suitable city (country) what does not use DST ..?
Sent from quite brutal hTc 10 ..
Click to expand...
Click to collapse
Then phone time is correct, but weather widget and lockscreen widgets are showing the wrong time.
ToffieBoi said:
Then phone time is correct, but weather widget and lockscreen widgets are showing the wrong time.
Click to expand...
Click to collapse
Did you try picking GMT +3 time zones with and without DST ??
Sent from quite brutal hTc 10 ..
ToffieBoi said:
Then phone time is correct, but weather widget and lockscreen widgets are showing the wrong time.
Click to expand...
Click to collapse
Make sure the widgets are set to use the clock you want (for clock, open it, hit the three dots menu, set home time zone--it's probably set at your prior settings).
Also, wait a minute for it to update; it may not take effect immediately.
None of them works unfortunately. I still use my phone on wrong time zone and having calendar and other problems.
The main problem is the Clock application. Lockscreen clock and others are checking time from Clock App's database. Whatever I do with my time settings, in the end phone checks my location. Finds it, checks it's database for 'what time it is there' and gives the wrong time.
So I would like to learn something. If anyone with Nougat can confirm that, I will be really happy.
When you have automatic time and time zone, can anyone check World Clocks tab, and compare Istanbul's time with google. (Just google 'what time is it in Istanbul')
If they are the same, it means that HTC fixed it in Nougat and I will wait for an update.
If there is one hour difference, I will just root my phone, install a custom rom, get rid of sense and sense lockscreen and others...
ToffieBoi said:
So I would like to learn something. If anyone with Nougat can confirm that, I will be really happy.
When you have automatic time and time zone, can anyone check World Clocks tab, and compare Istanbul's time with google.
Click to expand...
Click to collapse
I'm on Nougat, and the phone shows one hour earlier than timeanddate.com displays for Istanbul.
Real issue is that there is no Timezone rules update service.
The real issue here is that Google still has not provided a service that will update the timezone rules on an android (Or chromebook), without the need to do a whole OS update.
A simple service... just needs to get one zip file and put it on the darn device... They don't even have to build the rules directory contents another consortium already does this. Seems like a simple fix. They don't even have to push the update every time the db changes, only 2x per year. Middle of summer and Middle of winter so we catch the next seasons rules updates for fall and spring.

Categories

Resources