Enforced password - registry hack vs keep alive? - Advantage X7500, MDA Ameo ROM Development

As I use my Ameo with my work's Exchange server, I am forced to password protect the littlel beauty - this is painful as the time limit of 20 minutes is imposed. Not only do I have to regularly enter the password during my working day, but also using the gps in the car or the plane has become unworkable on a trip over 20 minutes unless I remember to press the screen regularly.
I found this (http://www.mobilitytoday.com/forum/showthread.php?t=13030&page=2) link which details a registry hack to remove the password which I just tried and it works well until the Exchange server re-enforces the passsword (once a day). This works for gps usage as I can just re-set the registry before a journey and know it will be ok.
Don't particularly want to use it full time, as I approve of password protection, but 20 minutes is a pain. Couple of hours would sort me out.
Found also another program - IBE's Keep Alive - which seems to do something similar, but using a different approach.
If this impacts you, what option do you use and why does it work for you?
Robert

May be I've misunderstood this, I thought you could set the password entry to come on only when there is no activity for 24 hours?

eaglesteve said:
May be I've misunderstood this, I thought you could set the password entry to come on only when there is no activity for 24 hours?
Click to expand...
Click to collapse
Unfortunately not when it is enforced by the server - the time is set by the server admin according to the business requirements. The registry hack allows you to over-ride this, but only until the next server enforcement
Robert

I connect to my works exchange server and it give me a warning that it must enforce security policies on my device, but then it allows me to choose ANY time range...i set mine to 24 hours of inactivity and have no trouble

On that same page you link to, grab the utility by Zen (Zenyee stayunlock). This little app monitors the registry key and changes it back each time your exchange server enforces it's policy.
My work sets the password timeout to 2 frickin minutes!!! yes two!
Phone locks during calls, reading ebooks - was totally unuseable untill I found stayunlock and set it to two hours.

mattnzl said:
On that same page you link to, grab the utility by Zen (Zenyee stayunlock). This little app monitors the registry key and changes it back each time your exchange server enforces it's policy.
Click to expand...
Click to collapse
Wow! what agreat little app - does exaclty what it says on the tin. SOLVED !!

Related

Time Changing by Itself?!?

So every few days my Titan will default to the Atlantic time zone instead of Eastern time, thus making my time off 1 hour. Very irritating indeed! I've disabled automatic time updates however it's still changing by itself. Any ideas? I'm running DCD 3.2.6.
Maybe.
If you go to phone -> menu -> options -> Services -> time synchronizations -> Get Settings
If the setting is on to synch time to the mobile network, try to turn it off.
Maybe.
Thanks for the response, but from my original post: "I've disabled automatic time updates". That's clearly not the problem, as it's been disabled for quite some time.
fvultee said:
Thanks for the response, but from my original post: "I've disabled automatic time updates". That's clearly not the problem, as it's been disabled for quite some time.
Click to expand...
Click to collapse
Sorry, I'm blind.
When I read that I was thinking you meant the time update in activesync.
Can it be related to activesync?
As far as I know Activesync doesn't change system time automatically or otherwise for that matter?!? If it does please let me know.
fvultee said:
As far as I know Activesync doesn't change system time automatically or otherwise for that matter?!? If it does please let me know.
Click to expand...
Click to collapse
Yes it can.
Sync the PDA.
Go to Activesync -> Tools -> Options
Select the PC name you are syncing with. Then select 'settings'. There is a check box for "sync date & time" there.
Actually, it does. I'm in Mexico city and AS will change the time zone for my mogul every time I sync to match the time zone on my PC. That stopped last week though; since we went out of (or is it into??) DST again this Sunday.
Older version of WinMo (i.e. 2003 and 5) made this change permanent, but I keep mine with auto time updates and it reverts back to the proper time when I turn the screen off and on again after the sync is finished.
Also, Outlook needs to be patched for proper sync to occur. Check this Microsoft article to correct the problem.
Let us know if this helped.
are you using garmin mobile xt? there was an issue of this happening, although it was strictly to 8:00 time change it might be something to look at .
Nope, I don't use Garmin XT, nor do I sync with my computer by plugging it in and using ActiveSync with a cable. Ever since I started using an Exchange Server I just sync the data that way. Strange thing is, the date hasn't had a random change in over a week now, while other weeks it would change on a daily basis. Bizarro!

[APP] Connection State Checker

HISTORY
V1.1 [2009-10-05]
1) Options dialog to change timeout to run the program automatically (10 by default) and web server to reach (www.google.com by default)
2) Option to reset statistics.
3) When the gui is opened its auto-refreshed automatically each 2 seconds
3) Minor fixes
V1.0[2009-10-04]
1) Initial release.
History
Hi
I ve developed a little program to solve a problem I ve many years ago. I use direct push so I need a permanent connection. This is achieved using activesync (direct push) or setting a connection as always on.
PROBLEM TO SOLVE:
Many times a connecion is stablished minutes or hours ago. But it doesnt work correctly. I dont know if the problem is in phone operator system, or in the device or some roms. Simply the connection is corrupted. If you try to suf a web it doesnt work. Clicking "sync" in activesync keeps rolling for ever. So I ve to close the connection manually (hang button long press) and stablishing a connection again. And then all works again
WHAT I SEARCHED AND DIDNT FIND:
1)A program that tries to reach a server (www.google.es) each x minutes. If there is an active connection but cant reach it then kill the connection and stablish it again. The program doesnt download the page content. Simply reach the server so very little data usage (a few bytes each time)
2) very little, no cpu consuming and no resident. Windows should run it each x minutes. Do its job in a few milliseconds and exit.
3) perform its job even if the device is suspended..
4) So I wrote my little program. It works correctly.
5) If the phone is in fly mode then it skip its job
USAGE:
Just install. No need to run it manually. It installs too a little GUI program (ConnectionStateCheckerGUI) to see some statistics (stored in the registry) like number of checks, corrupt connections, last check, etc. You can set the timeout (10 minutes) and server (http://www.google.com) in the registry.
My job needs a 100% safe real time mailing working. This little program guarantees it and maybe there are other people in my situation.
Greetings
Dani
pd: The black background is because of omnia2 skin. In other devices is a tipical white dialog.
OK. gracias nene.
all right!
Nice work buddy, a common problem that bugs a lot of people including you but you decided to do something about it and now we can all be happy.
May I redistribute this on my website?
thanks for that...
Thanks
Sure, you can use, upload, distribute or what you want with it
...and if someone has any suggestion....
First I was going to do icmp ping instead of http get but my phone company (and probably other) has blocked pings....
Greetings
Dani
Hi¡
New version on first post
greetings
Dani
Any chance of a Today screen icon? That would be more helpful than having to call the program in order to see connection status.
UncleBeer said:
Any chance of a Today screen icon? That would be more helpful than having to call the program in order to see connection status.
Click to expand...
Click to collapse
Good idea but MS says not to use Today plugins because arent used in WM6.5.....
The GUI only reads the statistics stored in the registry and refresh them each 2 seconds...
Dani
Thank you for this nice piece of software.
However I have few questions, right after installing and soft-resetting, then changed web reference to www.google.com and interval to 1 minute, it keeps saying that the Last Result is KO, and only Connection Fixed has the increment.
What makes it odd, is that the connection is actually OK, I can connect to www.google.com via UCWeb and Slick is running too.
This is quite bugging me, however since I only installed it for less than an hour, I'll report again whether my connection would be kept alive permanently or not by this program.
(Dopod 818Pro aka HTC Prophet/WM6.1/My Buble Blue ROM by varanusvincent)
Andi
cumisquid said:
Thank you for this nice piece of software.
However I have few questions, right after installing and soft-resetting, then changed web reference to www.google.com and interval to 1 minute, it keeps saying that the Last Result is KO, and only Connection Fixed has the increment.
What makes it odd, is that the connection is actually OK, I can connect to www.google.com via UCWeb and Slick is running too.
This is quite bugging me, however since I only installed it for less than an hour, I'll report again whether my connection would be kept alive permanently or not by this program.
Andi
Click to expand...
Click to collapse
Hi
Please dont remove "http://" because this is used by WinInet to choose the correct destination. Leave http://www.google.com (or any other site but using http://) and it will work again....
Dani
I did, it's http://www.google.com, with the http://
The connection is still KO (though Slick is up and running smoothly)
Does it matter if the GPRS connection has the proxy setup?
And when I tried disconnecting the GPRS, and then use the Check Now, it won't reconnect.
Oh, btw, the Last Check field is always empty.
Andi
cumisquid said:
I did, it's http://www.google.com, with the http://
The connection is still KO (though Slick is up and running smoothly)
Does it matter if the GPRS connection has the proxy setup?
And when I tried disconnecting the GPRS, and then use the Check Now, it won't reconnect.
Andi
Click to expand...
Click to collapse
Yes, for sure is related with GPRS Proxy. Let me take a look at this.....
Andi,
Could you test this version? I ve added support for GPRS proxy. It works in my network but I dont use proxy. Could you try it?
Thanks
Dani,
Sorry for the late reply. I have just finished installing and voila! The Last Check is not empty anymore. I have changed the web reference to http://www.google.com, and interval still to 1 minute, and guess what, now the Last Result is OK!! and Connections OK is now the one who gets the increment. So yes! It works! When WM finished loading up, and when I use the Check Now function, it is now connecting the GPRS automatically.
So I supposed it would close and then reconnect GPRS if ever the connection gets corrupted, right?
Once again, Bravo!
Andi
Just wondering really, if I can get it scheduled for certain time only? Or I can get it stop, perhaps? It would be better than filling in the interval time of 360 minutes every night?
Hi
It seems to work correctly. Tomorrow I will comvert the beta im release amd probably will add period of checking as I did in bandswitch
Dani
Dani,
Just find another thing here.
I did say it does make an automatic connection, it *is* connecting, however, i have just found out, it does *not* end up connected at all.
What I meant by connecting, the antenna icon is having two arrows and the small box with G in it, but it won't be connected at the end of the animation.
The Connection Fix number is added, but since there is no connection in real.
In the end, I still have to use UCWeb or Slick to get connected.
-------edited
Okay, strange enough, I changed the interval to 5 minutes, and after awaited for 2 times trial, it did finally made the connection. Hm.
-------edited again
I did try certain things again. I changed back the interval to 1 minute. Then I tried the following:
* Changed the web reference to http://wap.telkomsel.com (the provider's default wap page), 3 times trial, all failed.
* Changed the web reference to http://www.google.co.id, 2 times trial, finally connected.
* Changed the web reference to http://www.google.com, 3 times trial, all failed.
* Changed the web reference to http://208.67.219.230/ (www.google.com ip address), 3 times trial, very short timed trial, all failed. I supposed it does not accept IP address as a reference?
I'm not an expert in this area, however, it does seem to me that it's related to session time-out thing.
Once the time-out reached, it drops the on-going connection trial. I concluded this because I checked my Data plan's balance, and nothing's to be deducted during the failed session.
So the work around I finally do is to change the registry at HKLM/Comm/ConnMgr/Providers/{myGPRSconn-hash-number}/title_of_conn/AlwaysOn value to decimal 1.
After that, it would get the connection established, even if it seems it doesn't receive any reply from the referred web, get passed all the session time-out variable, until the complete handshake (if this is the correct term).
Andi
wow, that was a deep test. Thanks.
Tomorrow I will try to find a gprs server with proxy to do try/error system
danielherrero said:
Many times a connecion is stablished minutes or hours ago. But it doesnt work correctly. I dont know if the problem is in phone operator system, or in the device or some roms. Simply the connection is corrupted. If you try to suf a web it doesnt work. Clicking "sync" in activesync keeps rolling for ever. So I ve to close the connection manually (hang button long press) and stablishing a connection again. And then all works again
Click to expand...
Click to collapse
Hello Dani,
It has been some time since you posted here. Are you still supporting or working on this app? If you are I would like to ask a question or two having tried the app on a TMOUS HD2 recently.
A lot of the time the app works exactly as you intended - perhaps 50% or better improvement. But sometimes it is not able to disconnect and re-establish the connection for some reason. I find that it will end up in a near permanent KO result loop.
At these times the data connection is established (H or 3G) but no app can successfully connect (no email, no browser). Your app will continue trying but is not successful.
At such a time if I manually drop the data connection (via Touch X action screen, for example) the connection can be re-established within 15-30 seconds of an app trying for data. It is not immediate - some app will have to ask for a data connection and it takes some 15+ seconds before it can successfully continue.
What I am wondering is how your app is trying to do this and how is the data disconnect of Touch X different. I hope I explain it clearly.
.
ny_limited said:
Hello Dani,
It has been some time since you posted here. Are you still supporting or working on this app? If you are I would like to ask a question or two having tried the app on a TMOUS HD2 recently.
A lot of the time the app works exactly as you intended - perhaps 50% or better improvement. But sometimes it is not able to disconnect and re-establish the connection for some reason. I find that it will end up in a near permanent KO result loop.
At these times the data connection is established (H or 3G) but no app can successfully connect (no email, no browser). Your app will continue trying but is not successful.
At such a time if I manually drop the data connection (via Touch X action screen, for example) the connection can be re-established within 15-30 seconds of an app trying for data. It is not immediate - some app will have to ask for a data connection and it takes some 15+ seconds before it can successfully continue.
What I am wondering is how your app is trying to do this and how is the data disconnect of Touch X different. I hope I explain it clearly.
.
Click to expand...
Click to collapse
Hi
Let me took a look at this

Clocksync, why needs to be sync?

hi there
i wanted to know what is the real reason for we have to use an app such as clocksync (great by the way).
for instance, my old 10 years nokia doesn't need "resync" and keeps the right timing while my smartphone now needs to have the time corrected otherwise it will drift away plenty of minutes.
and also, in order to sync with clock sync, i need a data connection, but if i travel overseas and i keep my data roaming disabled, i will never be able to do that, correct?
thanks
gabrio
Who says you have to use the app? I use it mainly on my touchpad because the clock gets reset sometimes and the market doesn't work because of it, unless this happens on your phone you don't need to use it. Yes you need a data connection for it, or wifi.
It is hardly ever really out on time but I like to be precise so even since the days of WM have used applications similar to clock sync and clock sync therefore is essential to me...
Sent from the valley of the shadows....
I'm ClockSync developer, your question is answered in the application FAQ:
Q: Why would I need ClockSync, Android already has Automatic setting for Date & time?
Not all the mobile operators support automatic time synchronization mechanism called Network Identity and Time Zone (NITZ), therefore this setting may have no effect at all. Even if your provider supports NITZ, the information it sends may be inaccurate. There are also devices without SIM card, especially tablets that have no access to the network time. If Android Automatic mode works fine for you, then you are lucky and probably don't need ClockSync, otherwise it's recommended to disable it to avoid conflicts and getting incorrect time, see also a question about wrong time after synchronization below.

Exchange bug?

Set up my works Exchange account on the S3 and suspected it was causing high battery drain.
Selected some 'sleep time' from within the application and then also selected Manual Update so I could save battery. It appears manual doesn't change anything though as my mail still comes through unless I deactivated the account completely?
Anyone else have this issue.?
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
WhiteHartMart said:
Set up my works Exchange account on the S3 and suspected it was causing high battery drain.
Selected some 'sleep time' from within the application and then also selected Manual Update so I could save battery. It appears manual doesn't change anything though as my mail still comes through unless I deactivated the account completely?
Anyone else have this issue.?
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
That wouldn't be a bug in Exchange causing the issue.
It is, most likely, because ActiveSync, which is what Exchange uses to communicate with your phone, is a server-side "push" technology. This means that your phone, most likely, has WiFi and/or your Internet services "always on" to accommodate ActiveSync. ActiveSync doesn't work like Blackberry where the client-side does all of the control/communication (pull technology). It is all done server-side, which means that the phone has to always have an Internet connection, either through WiFi or the phone Internet services, to be ready to accept incoming information from ActiveSync.
Thanks for the reply - so the option to manually retrieve mail is pointless then as it going to get pushed whether I want it or not?
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
After posting my response, I decided that it could be a little bit clearer, so here goes.
Blackberry (BES specifically), IMAP, POP3, SMTP, etc, the client side, in this case the phone, is in control of all of the message synchronization. Meaning that every n number of minutes/hours/days it opens up an Internet connection and says, "Do you have anything for me? If so, send it now." That's client-side pull technology.
ActiveSync, on the other hand, the server (in this case the Exchange Client Access Server), sends out the info, via AvtiveSync, every time something new comes in to your Exchange mailbox. This happens "real-time" rather than every n number of minutes. This means that the client side, in this case the phone, must have an "always on" Internet connection, either via WiFi or the phone's Internet service, to accept these "real-time" updates. This is server-side push technology.
Server-side push technology, by its very nature, causes the client-side, in this case the phone, to consume more battery since the WiFi and Internet "radios" must always be on.
I hope that this makes more sense than my last post.
---------- Post added at 11:33 AM ---------- Previous post was at 11:28 AM ----------
WhiteHartMart said:
Thanks for the reply - so the option to manually retrieve mail is pointless then as it going to get pushed whether I want it or not?
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
Correct. The server is the controlling "party" in the paired relationship.
WhiteHartMart said:
Set up my works Exchange account on the S3 and suspected it was causing high battery drain.
Selected some 'sleep time' from within the application and then also selected Manual Update so I could save battery. It appears manual doesn't change anything though as my mail still comes through unless I deactivated the account completely?
Anyone else have this issue.?
Sent from my GT-I9300 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
I ran the same tests on the S3. I'm syncing 3 exchange accounts.
Email exchange service drains the battery really fast ...
Nearly half of the battery is used (battery stats) for this process only [47%].
My battery cannot last:
- on 3G networks, more than 5 hours.
- on WiFi, it goes up to 8 hours.
I used to sync the same exchange accounts on 2 other Samsung devices: Captivate Glide and Galaxy Note - both running Android 2.3.5/2.3.6
=> no issues with the sync services draining the battery.
IMHO, this is not only linked to the Activesync technology, it is also linked android release and the way email exchange service is made/configured (or runs).
There might be some tweaks or possible patch for this service...
But don't know what or where, yet ...
My 2 cents ...
The phone keeps at least one connection to Google open at all times (C2DM push) when it has a network connection.
Open and half-open connections do not really cause high battery drain since your device can (and will) go to lower power states and switch the network to fast dormancy which is a sort of periodic polling for new data.
A scientific article about the topic can be found here: Link (PDF)
The relevant part is in footnote 4 of paragraph 4.1.2
In fact, even at IDLE, a handset periodically wakes up to listen for incoming packets on the paging
channel. If a downlink packet happens to arrive between two paging occasions, it will be delayed until the next paging occasion
Click to expand...
Click to collapse
Additionally that IMAP is poll-only is not entirely correct. While IMAP itself is usually only used as PULL (client requests, receives, closes connection) many servers support the IMAP IDLE mode (client requests, receives, waits for new data, receives, waits, ...) which is a real push technology.
(Technically it differs from Google's C2DM which in fact is HTTP (Comet) long-polling and not true pushing)
I've noticed a high battery drain on Exchange too, even if the account was disabled. It's unrelated to how the phone is connected (Wifi,3G,2G) and _seems_ to get lower when no data connection is open.
It will only go away if the account is removed and seems to caused by the app waking up all the time even if not needed. Thirdparty apps and stock Android do not seem to have this issue - at least my S1 did not.
(I haven't tested on the S3 with a non-stock app yet)
Btw my Exchange server is a patched Z-Push IMAP/SMTP<->Activesync converter from their trunk with Exchange2007 capabilities.
Yes, there HAS to be a bug in the exchange app on this phone.
I got my phone a month ago, and have had no issues with battery drain and high data usage with Exchange what so ever. Until this weekend.
All of a sudden, with no change in the settings at all, my battery all of a sudden just lasted 5-6 hours. It got really warm too. Then after a day or so, I got a message that my monthly limit of data was reached. I didn´t believe this at all since I had more than 500 MB left on my limit the day before.
But when I checked the settings, I was shocked to see that this was true indeed. And it was "exchange services" that caused this. It had downloaded about 600-700 MBs over this short period, thus (of course) causing my battery to drain quickly, and I will now get a nice bill from my phone company for over use of data
As I said. No changes to the settings were done. This happened over night. And of course this has to be a bug in the app, not a server-issue. No one else in my company, as far as I have heard, had had this issue (yet), but after googling I can see that this actually is a problem for many, with different phone brands.
It seems like google has got complains about this, but there has not been released a fix, which is totally unacceptable. I now have had to turn of my mail sync to prevent the data usage to go insane, and my phone to get warm, slow and quick battery drain.
If this isn´t fixed quickly, I will uninstall Exchange services from my phone (have root), and install Touchdown instead.
Here is the problem discussed:
productforums.google.com/forum/#!topic/mobile/tCA92MdBTmc
- but with no solution.
Issue was resolved by deleting account and reinstalling it. But I had to do it twice before it worked.
I also cleand the Exchange Services App with the tool SD Maid before I reinstalled my account the second time.
My battery is back to normal, and no more crazy data usage.

Hotspot turning off by itself

Im really loving my Mate 10 Pro, but im having a really annoying issue.
When i turn on my wifi hotspot, i am able to connect any laptop, and use the internet, but after an amount of time, that i have not measured exactly, the hotspot turns off by itself. It happens within minutes, probably 5 or 10.
I have set the automatic timeout to off, and the amount off data used to infinite, but it still happens.
Any1 facing the same issue or have a solution for it?
PlaiBOi said:
Im really loving my Mate 10 Pro, but im having a really annoying issue.
When i turn on my wifi hotspot, i am able to connect any laptop, and use the internet, but after an amount of time, that i have not measured exactly, the hotspot turns off by itself. It happens within minutes, probably 5 or 10.
I have set the automatic timeout to off, and the amount off data used to infinite, but it still happens.
Any1 facing the same issue or have a solution for it?
Click to expand...
Click to collapse
Deleted
If I recall correctly (read about this somewhere) this only happens if you have more than one google account configured on your phone.
daniello8 said:
If I recall correctly (read about this somewhere) this only happens if you have more than one google account configured on your phone.
Click to expand...
Click to collapse
I only have my own account on my user. But i have seperate account with another google account attached. But as it is on another user, it shouldnt affect my user, right?
PlaiBOi said:
I only have my own account on my user. But i have seperate account with another google account attached. But as it is on another user, it shouldnt affect my user, right?
Click to expand...
Click to collapse
Try it out .. like I mentioned I have no own expertise on this.
i have the same issue. it is VERY irritating. I have contacted Huawei who have told me to reset network settings. Which I have, to no avail. I DO have the private user set up as a work space.
I have one other google account set up - will delete and see if that helps.
But i didnt have this issue with my samsung s7. I note that huawei battery optimisation may be militantly destroying anything that runs in the background.
FYI i have timed the switch off after about 5-6 minutes
---------- Post added at 10:49 AM ---------- Previous post was at 10:46 AM ----------
seems to be a very Huawei problem:
https://www.reddit.com/r/Huawei/comments/8bx7ye/hotspot_turning_off_automatically/
Yeah, I think it is the battery management being trigger happy. It happens to me to many background apps. VERY annoying.
I couldnt find what "app" it would be that I could manage manually as its a system process.
I think i might have found the solution to my own problem.
I had 2 users on the phone, and the other user, which is my girlfriends profile, seem to be the culprit the kept shutting the hotspot off.
So the issue seem to be gone after i set the hotspot to not turn off on her profile.
you could check out FoxFi app as a workaround
I have another user set up but as a work profile. It doesnt actually have the hotspot icon or option on that profile at all. Huawei support gave two options. One is to clear the partition cache and the other to factory reset. Done the former and need to test it properly. Huawei offer factory reset too easily (on another issue I had - try a portrait panorama and see - it comes out unfocused /blended beyond the bottom third)
I had this problem also.
Solution was turning on Hotspot for unlimited time in private area profile.
yes - that was the solution, which I educated Huawei about. He responded to say its a battery saving option to switch off after a certain time - yes, i know. but it should warn you that the private user settings ALSO count

Categories

Resources