|
||||
Device Uptime script
Ok folks, I've been sitting on some of my dev scripts for a while now. Thought I'd finally post this here first for some comments before I post a general app/script thread over at XDA...
Script: Device Uptime Viewer Version 0.3a Purpose: 1. uptime logging utility 2. manage a log text file with timestamp (of last recorded boot time) in most recent order 3. retain last X timestamps for historical review, default to 20 I've needed a way to track my device's uptime, and also check on prior restarts/reboots. The latter was useful if my device restarted for some unknown reason. This is a MortScript that requires version 4.3 or better. Installer information: 1. the .cab does not require any user interaction beyond the standard Windows Mobile installer (wceload.exe) prompts for, so it can be used in XDA_UC/S4X without an .auto file. 2. creates a local application directory on your local device or storage card depending on how you install it eg, \Program Files\DeviceUptime or \Storage Card\Program Files\DeviceUptime 3. inserts a shortcut to the \Windows\Startup directory to run a small script on each boot that a. updates a boot timestamp text file on the root of your device (\uptime.log.txt) - note that it intentionally ends in ".txt" so you can use any text editor to view it manually b. prunes old boot timestamp entries c. copies the log file to your Storage Card for archival purposes, if it detects a SD card present d. if you just flashed a new ROM or did a hard reset, the first time the startup script is run it will check if you have an archived log file on your SD card and copy that as your initial log file. Useful to continue the uptime history tracking. 4. creates a shortcut in "\Windows\Start Menu\UpTime Viewer.lnk" to launch a basic MortScript menu based UI a. you can view the current uptime statistics b. you can view the last 20 boot timestamps in most recent order c. about information *** be sure to double tap the menu option, or tap once and then select the OK soft button - the UI limitations are due to MortScript ** 5. There are no custom icons yet 6. automatically installs MortScript 4.3b15 to its local installation directory so it does not intefere if you have a certain default version of MortScript active. Future items: ? Use JMLMenuSense for the UI if there is enough requests for it FAQ: a. if the script window or dialog box disappears, go to ArkSwitch or what ever task manager you use and bring the script back in to focus. Depending on what you tap while the script painting a dialog box, etc it may be put in to the background. b. the date format is DD/MM/YY. I may allow an option for different date formats later. Credits: original author copenhagen @ XDA
__________________
* Using: Energy.RHODCDMA|Leo.[6.5.3].Sense2.5+CHT185 (July.4.2011) | AmeriCanAndroid HD2 | MOAR GS3
+ Helping with: [XDA_UC][UC][SASHIMI][S4X] S4X_Auto (Updated: Jan.17.2011) + Energy ROM Script/XDA_UC Contributions: Auto Carrier Provisioning | Start Menu Layout * Rhodium NRG Energy CDMA ROM Wiki - please read before posting a new question... Last edited by powinmo; 06-25-2011 at 09:19 AM. |
This post has been thanked 7 times. |
This post has been thanked 3 times. |
|
||||
Re: |ROM|¯`·.¸¸.- Energy -.¸¸.·´¯ * |May 14| 21916|29020 * Sense 2021 + flavors
Quote:
21916 is normally the most stable of the 2 as 29020 is the latest from the Windows Mobile builds and not always the most stable. as a result, 21916 flavors take up less of the ROM memory. Also, thru some tools, you can edit the .NBH file before flashing and take out some of the files you do not need/use (typically, .exe programs and images). CAUTION: You need to ready up on the tools that do this and be careful of what files you remove from the image....some are hooked into other programs and you may not know it till after you flash and run the programs for the first time.
__________________
|
This post has been thanked 4 times. |
|
||||
Re: |ROM|¯`·.¸¸.- Energy -.¸¸.·´¯ * |May 14| 21916|29020 * Sense 2021 + flavors
powinmo, post 32043 mortscript timelog post should probably been a new thread in tp2 general form & mentioned with a link on a post here instead... "out of scope" not something you're doing to mod a ROM or menu on it... that said, good work, hit ur T-button.
thanks post via tp2
__________________
Energy questions? Read posts 1-6 and ENERGY FAQ WIKI cdma FIRST!! .. (GSM here)
*HOW TO! *Voice (MSVC), Bing, Tellme *ANDROID *TV Don't hit THANKS (I've got a bad rep & want to keep it that way!) Last edited by teradog; 06-27-2011 at 04:46 AM. |
|
||||
Re: Device Uptime script
Quote:
It required me to create the uptime.log.txt file in order for it to open. Once installed the first report of the uptime is not correct. Showed the last date for restart was 1/1/70....giving me one hell of an uptime value in days... . Upon first restart after installing, it corrects itself. Will run this for a while and see how it works out for me....shooting for a ROM that I can live with for 30+ days without restart. Thanks given. |
This post has been thanked 1 times. |
|
||||
Re: |ROM|¯`·.¸¸.- Energy -.¸¸.·´¯ * |May 14| 21916|29020 * Sense 2021 + flavors
So getting an issue using the bluetooth headset. It will not answer the incoming call.
Even if I click on the answer on screen,it will not pick up on the headset. I have the bluetooth handsfree setup in the profiles but it just seems it is not working corrently. Have MSVoice Command installed and it is working corrently as I can us it and issue the commands and it will dial out...and switch to the bluetooth headset. Just can't answer the phone for some reason. |
|
||||
Re: |ROM|¯`·.¸¸.- Energy -.¸¸.·´¯ * |May 14| 21916|29020 * Sense 2021 + flavors
I just flashed to the 21916 version with Cookie Classic. I'm actually finding that this version suits my taste better. The one thing I couldn't figure out though is when I enter my hotmail account, it sets it up as popmail. I remember the other version would set up not only my hotmail as IMAP but it would synchronize my contact list as well. Is this something that is part of 29020 version only?
|
|
||||
Wirelessly posted (VZW TP2: Opera/9.7 (WindowsMobile; PPC; Opera Mobi/35267; U; en; Presto/2.1.1))
did you go thru the windows live program or just in the outlook mail setup wizard? Sounds like the later and what you are looking for is from the windows live program. Check internet folder in the enegry rom. |
This post has been thanked 2 times. |
|
||||
Re: |ROM|¯`·.¸¸.- Energy -.¸¸.·´¯ * |May 14| 21916|29020 * Sense 2021 + flavors
You're absolutely right, PPCFreak. Thanks for pointing that out to me. I'm good to go now!
|
This post has been thanked 1 times. |
|
||||
Re: |ROM|¯`·.¸¸.- Energy -.¸¸.·´¯ * |May 14| 21916|29020 * Sense 2021 + flavors
Quote:
__________________
Sprint: G1000, HTC-6600, 6800, TP2 now Optimus S with Stock Android 2.2.2.
|
This post has been thanked 1 times. |
|
|
|
LinkBacks (?)
LinkBack to this Thread: http://forum.ppcgeeks.com/cdma-tp2-development/86489-rom-energy-july-4-21916-29022-sense-2021-flavors.html
|
||||
Posted By | For | Type | Date | |
XDA?energy?rom?÷ - 6875? (touch pro2) - ?|? ,?c8600?,?c8500?,n600?,xt800?,phone,D530,6850?,6950 | This thread | Refback | 01-21-2011 09:51 PM | |
[APP] WiMoSpeed: [2010-12-25] V1.02 - Page 9 - xda-developers | This thread | Refback | 01-02-2011 05:56 AM | |
|MULTI LANG|RHO|.¸¸.·´¯`·.¸¸.-Energy-.¸¸.·´¯ * |Sep 29| 21916|21680 * Sense 2018 - xda-developers | This thread | Refback | 10-05-2010 02:20 PM |