Hi all,
I've tried asking this in the general android hacking forum, and was met with resounding silence, so thought you guys might be a bit more knowledgeable.
What I'm trying to do is create a GScript that will change my timezone with a single button press. I've used the command "setprop persist.sys.timezone Europe/London" which succeeds in altering the setting, but fails to update the taskbar clock/clock widgets . I take from this that I need a second command to force the clock to refresh/restart, and have spent much time searching in vain, can you help?
Anything I try to do with "date" seems to reset it back to 1/1/1970 0:00, and I've also tried to find where it gets its default value from (China), with no success. It's so frustrating to be so close and yet so far!
Many thanks.
adstraylight said:
Hi all,
I've tried asking this in the general android hacking forum, and was met with resounding silence, so thought you guys might be a bit more knowledgeable.
What I'm trying to do is create a GScript that will change my timezone with a single button press. I've used the command "setprop persist.sys.timezone Europe/London" which succeeds in altering the setting, but fails to update the taskbar clock/clock widgets . I take from this that I need a second command to force the clock to refresh/restart, and have spent much time searching in vain, can you help?
Anything I try to do with "date" seems to reset it back to 1/1/1970 0:00, and I've also tried to find where it gets its default value from (China), with no success. It's so frustrating to be so close and yet so far!
Many thanks.
Click to expand...
Click to collapse
I just thought it would be funny to answer this after 6 years.
setprop persist.sys.timezone "America/Chicago"
am broadcast -a android.intent.action.TIMEZONE_CHANGED --es "America/Chicago"
Sent from my Nexus 7 using XDA-Developers mobile app
Related
Hello there,
I am not certain if this question has been posed a hundred times before or not. If it has, I apologize for asking again; however, I have searched through the forums and haven't found the answer yet.
My question is: Does an applet or utility exist which could be run after I update the ROM on my phone (or perform a hard reset, etc.) which would essentially read in the entire Windows Mobile registry, then allow me to customize the OS to my liking, then finally re-read the registry and save the deltas off to a .REG file?
I love to continually update the ROM on my phone and after owning an Apache and now a Titan, I have become pretty proficient getting the phone back to the way I like it; however, I would very much love to double-click a .REG file (or whatever) to have all of the customizations reapply immediately.
Does such an animal exist?
Thank you,
Erik
ErikM1970 said:
Hello there,
I am not certain if this question has been posed a hundred times before or not. If it has, I apologize for asking again; however, I have searched through the forums and haven't found the answer yet.
My question is: Does an applet or utility exist which could be run after I update the ROM on my phone (or perform a hard reset, etc.) which would essentially read in the entire Windows Mobile registry, then allow me to customize the OS to my liking, then finally re-read the registry and save the deltas off to a .REG file?
I love to continually update the ROM on my phone and after owning an Apache and now a Titan, I have become pretty proficient getting the phone back to the way I like it; however, I would very much love to double-click a .REG file (or whatever) to have all of the customizations reapply immediately.
Does such an animal exist?
Thank you,
Erik
Click to expand...
Click to collapse
I havent seen anything that will create the delta's that you want but SPB Mobile back up will create a registry capture than you can reload that exact registry from that point in time. I dont know if that will help you but after months of not getting an app here or there to cook into my kitchen correctly I realized why bother. Just use the back up program after flashing and installing and I get the EXACT results I was looking for.
Good luck!
scrosler said:
I havent seen anything that will create the delta's that you want but SPB Mobile back up will create a registry capture than you can reload that exact registry from that point in time. I dont know if that will help you but after months of not getting an app here or there to cook into my kitchen correctly I realized why bother. Just use the back up program after flashing and installing and I get the EXACT results I was looking for.
Good luck!
Click to expand...
Click to collapse
I would suggest against this if you are flashing different ROMs (i.e. 3.2.0 and 3.2.1, etc) as there will be different drivers that these programs rely on. It could cause some problems that a hard reset won't fix. Some people see no problems and other senior members have felt the burn after trying to reimage their device.
I would suggest looking into UC customizations for a better solution.
I've been around for some years know reading and learning and have almost always found what I needed in this forums to have my devices working as I wanted them to work. This time I searched allover and can't find anything to help me out.
I have a sim card with two numbers (lines). When I switch lines the name of the line appears after the operator name and I always know what line I have active. Recently I flashed a new rom and now when I switch lines the name doesn't change. To have the correct name I have to reset my phone. Is there a way to fix this.
Thanks a lot
Cookie Home Tab Mods maybe?
are you using Cookie Home Tab? If so maybe you could look up this setting in the misc settings page in Cookie Home Tab Editor. If you leave it blank your provider name will appear. If you do not have CHT installed, maybe it will help you to accomplish this. I would install these Mods to look and see if it works. Good luck!
Thank you for your reply.
The provider name and the line name shows up fine. My problem is when I switch lines the name of the line don't change. I have to soft reset to make it change.
you would probably be best trying to get an answer from the whoever cooked the rom...
hope that helps
Thanks. I'll do that.
Hello everybody,
I'm looking for a very simpel application that count the days from a certain date. Something like D-Day widget (samsung?) but then counting up. All the counters i find are stopwatches or countdown apps. I have a Samsung Omnia i8000 with windows mobile 6.5. I would be greatfull if somebody could help me find one or write one. It doesnt need to look pretty, just being able to count the days from a given date.
Greetings,
LJack2k
Try "AgeCount" 1.7.4. Can't remember where I found it, but it is an elegant and simple app.
Hello,
Search on XDA; http://forum.xda-developers.com/showthread.php?t=654380
With the name from rjcorazza is was easily found
Regards,
Rogier
Or you can use excel with a formula to do that real easy....
From Date...3/1/2010
Today........3/2/2011
# of days.......366
Code:
="From Date" - Today()=# of Days
Make sure format is set correct, and you will have #s that makes sense. So at this point, all you need to do is change "From Date" to get the # of days.
rjcorazza said:
Try "AgeCount" 1.7.4. Can't remember where I found it, but it is an elegant and simple app.
Click to expand...
Click to collapse
Erel1971 said:
Hello,
Search on XDA; http://forum.xda-developers.com/showthread.php?t=654380
With the name from rjcorazza is was easily found
Regards,
Rogier
Click to expand...
Click to collapse
Thank you both, trying the application right now. Works ok but got a bug with February month. but I'll discuss that in the above thread. Any other applications around? Maybe with a widget.
You can also try Zimmermann T- Day Counter Plus! Edition that can be found in the following thread or also TimeRule.
I just found these in two minutes on Google. Have you tried to make a search before asking?
Has anyone else suffered from the Weather not being able to connect and update for the last 5 days or so? I don't think I did anything around the time it stopped to cause it
I'm on the Artemis 63.0 ROM on an HD2 with 6 world cities and "My Location". They have been working fine for 3 months or so. I only update when on WiFi or Active Sync and do my shares at the same time. Shares still work fine (as does everything else), just the Wx stopped with a "Connection Error". I have read through loads and tried "Cornflipper" which actually started "My Location" working correctly again (Village in Spain) but the other locations all fail with the same error. I tried switching to N2A (using Stylze (?) switcher) but all fail again so have reverted to Cornflipper. I believe when I set it all up ages ago I was using Accuweather as a server but I'm stumped now as can't remember where I went to set that up.
I realize it's probably something I've done but I've spent quite a few hours on it now and am getting a headache
Any ideas?
No problems at all here, but just read this:http://forum.xda-developers.com/showthread.php?p=21528198#post21528198 .... maybe useful
I'm experiencing the same problem. I'm on a standard ROM. Looks like accuweather.com is working, but not2advanced.com is not.
Had the same problem, checked poyensas link and deleted/changed the URL in the registry and now it's working again!
poyensa said:
No problems at all here, but just read this:http://forum.xda-developers.com/showthread.php?p=21528198#post21528198 .... maybe useful
Click to expand...
Click to collapse
Thanks so much poyensa.
Been going round and round but followed your link and on to http://forum.ppcgeeks.com/windows-m...-hct-weather-server-accuweather-directly.html where it gives the Accuweather server details and never realised you could input it from Weather City Editor. Dead easy and up and running again. Did try the reg edit first but even after reboot no success. probably got a letter wrong but couldn't sort it hence trying the ongoing links.
Thanks again
City code not appended to URL
Hi,
I've made the registry change to 'Weather.ServerURLOverride' as specified in poyensa's link (above), and I still cannot get my weather working.
I manually tried the URL in a browser, appending a city code, and the XML came back fine (so the city code I am using is still valid).
I modified the 'Weather.ServerURLOverride' registry entry, and inserted a test server host, so I could see what data/URL the weather update was sending, and this is what I got in the Apache log...
"GET /widget/htc/forecast-data_v3.asp?ac=TR2cra9U&locCode= HTTP/1.1" 404 526 "-" "HTC HTTP Service"
The 404 is expected, as this is my server, but as you can see, there is no city code appended after 'locCode=' in the URL.
I've deleted all of the city entries, added them back in, added others I'd not already tried, and soft-reset the device, but it appears that the weather no longer sends the city code.
If I append a valid city code to the registry entry, then I get the weather, but obviously this means that I can only have one city entry! So, this proved I'd not made a typeo in the registry.
Any help appreciated.
I'm using a stock O2 ROM, with CHT2. Has been working fine for ages, and like everyone else, stopped about 5 days ago.
Thanks
xdaConvert said:
Thanks so much poyensa.
Been going round and round but followed your link and on to http://forum.ppcgeeks.com/windows-m...-hct-weather-server-accuweather-directly.html where it gives the Accuweather server details and never realised you could input it from Weather City Editor. Dead easy and up and running again. Did try the reg edit first but even after reboot no success. probably got a letter wrong but couldn't sort it hence trying the ongoing links.
Thanks again
Click to expand...
Click to collapse
Went to ppcgeeks, input Accuweather server info using Weather City Editor, and problem solved!! Thanks a lot!
Reg entry removal seems to work
Hi again,
So I completely removed the 'Weather.ServerURLOverride' registry entry, and the weather started to work fine.
It looks like the 'Weather.ServerURLOverride' reg entry is not required.
Hope this helps someone else.
Thanks
I've been trying both the change of the registry entry and its removal. None of them worked. Any help in solving the problem would be rather appreciated. ROM is 3.14.408.2 (04666)ITA.
hi,
im looking for all the registry to add manually this city EUR|FR|FR022|ALLINGES.
Any ideas ?
from time to time, the LG G5 lost his GSM signal. I had tried different apps for giving a acoustic notification in this case.
No chance! Nothing works! Now i tried Tasker app with a script. But unfortunately, there is no notification available until screen is on!
Tasker seems to be paused if screen is off. I tried all modifications like protection against power optimization a.s.o.
Do someone know a way to trigger this circumstance successful? Which script or app or setting will be able to do that?
Suggestions are welcome!
BTW: all apps are successful working on a Honor 7 So it seems to be a problem on LG devices.
non-toxic said:
from time to time, the LG G5 lost his GSM signal. I had tried different apps for giving a acoustic notification in this case.
No chance! Nothing works! Now i tried Tasker app with a script. But unfortunately, there is no notification available until screen is on!
Tasker seems to be paused if screen is off. I tried all modifications like protection against power optimization a.s.o.
Do someone know a way to trigger this circumstance successful? Which script or app or setting will be able to do that?
Suggestions are welcome!
BTW: all apps are successful working on a Honor 7 So it seems to be a problem on LG devices.
Click to expand...
Click to collapse
Tasker can be a pain till deal with sometimes. You try with macrodroid?
Nick216ohio said:
Tasker can be a pain till deal with sometimes. You try with microdroid?
Click to expand...
Click to collapse
ok, tasker is gone, hello macrodroid.
After some tries, i hope, i have found a solution. Calender dates seems to work. Every hour 4 tries. 15;30;45:00 Every 15 minutes MD check the MCC value and compared it with a test string. If the result is "MCC UNKNOWN", the time was written into a log file.
Will do some more tries to validate my results. now.
If somebody has a better solution, please explain.:laugh:
non-toxic said:
ok, tasker is gone, hello macrodroid.
After some tries, i hope, i have found a solution. Calender dates seems to work. Every hour 4 tries. 15;30;45:00 Every 15 minutes MD check the MCC value and compared it with a test string. If the result is "MCC UNKNOWN", the time was written into a log file.
Will do some more tries to validate my results. now.
If somebody has a better solution, please explain.:laugh:
Click to expand...
Click to collapse
The developer is a cool dude for Macrodroid. Email him and he will definitely help you. There's also a built in thread in app you could check out. Also built in templates in app aka user submitted tasks you could check out.
That app is way better then tasker and people are starting make to the switch. Better UI, less complicated, better support, etc.
Nick216ohio said:
The developer is a cool dude for Macrodroid. Email him and he will definitely help you. There's also a built in thread in app you could check out. Also built in templates in app aka user submitted tasks you could check out.
That app is way better then tasker and people are starting make to the switch. Better UI, less complicated, better support, etc.
Click to expand...
Click to collapse
Yes, yes and yes! He is a cool dude! (I am a registered user in his forum since more than 1 year.) And yes, the GUI of MD is even better than tasker is.
And the best, tasker plugins work with MD too!:good:
But "UndeadCretin" has no G5, so i can’t check my problem.