07/09/2009, 03:43 PM
|
#1 (permalink) |
|
Member
![]() Join Date: Mar 2008
Posts: 105
Likes Received: 0
Thanks: 2
Thanked 243 Times in 42 Posts
|
- UPDATE 08-29-2009 - THIS PATCH IS NOW INCLUDED AS A PATCH IN THE WEBOS QUICK INSTALL APPLICATION - YOU SHOULD USE THAT NOW INSTEAD OF THIS HOWTO!
- UPDATE 07-24-2009 - UPDATED AND CERTIFIED FOR Palm WebOS v1.1.0 THIS HOWTO IS CERTIFIED FOR WEBOS v1.1.0 - DO NOT USE THIS FOR OLDER VERSIONS OF WEBOS! This HOWTO requires that you already have root access to your phone. If you need more information on how to do that search the forum. Click Here to search for my HOWTO's and Answers for the Palm PRE!UPDATE JULY 13TH, 2009 #1: CHANGED OUTPUT DISPLAY FROM hr, min, sec to h,m,s SO IT TAKES UP LESS DISPLAY REAL ESTATE. - ADDED REVISED SCREENSHOT (To update just go through original update again. No need to disable / restore first, it will do it all for you.) UPDATE JULY 13TH, 2009 #2: Removed extra un-needed space between the number and the label on m,h,s. NOTES: This was taken from the original post over at predev.wikidot.com/hidden-features - I just put it into a simple script/command set that you can just copy and paste into your ssh / terminal window. Thanks to predev.wikidot.com for the information! USAGE: Open your phone application and click on the "Call Log" button. Once this modification is enabled you will see the amount of time spent on a call (according to your Palm Pre - not Sprint!) in minutes and seconds.. ** Sometimes the call duration text may run into the contacts picture in the call-log - this is only cosmetic - so if it bugs me too much I may adjust this in the future - but it suits its purpose for now! Picture below shown with this modification and the STATE Caller modification which can be obtained here: http://discussion.treocentral.com/we...calls-log.html UPDATE - JULY 13TH, 2009 #1 - SCREENSHOT UPDATE - JULY 13TH, 2009 #2 - SCREENSHOT The HowTO: I'll try to make this as simple as possible. 1. Login to your Palm PRE and obtain root access.. (Again look around the forums to see how to do this) 2. Once you are at the "root@castle" prompt COPY and PASTE all of the following code into your terminal / putty / ssh window.. (These commands will make backup copies of the original files, then modify them) ** This will reboot your PRE so be sure to close all of your applications beforehand. ** [code] # # ENABLE CALL DURATION DISPLAY IN CALL LOG # # # SET CALL DURATION DISPLAY TO ON # mount -o remount,rw / # RESTORE FILES # echo RESTORING ORIGINAL FILES IF AVAILABLE cp /usr/palm/applications/com.palm.app.phone/app/models/DateFormatter.js_1-1-0 /usr/palm/applications/com.palm.app.phone/app/models/DateFormatter.js # # BACKUP FILES # echo BACKING UP ORIGINAL FILES cp /usr/palm/applications/com.palm.app.phone/app/models/DateFormatter.js /usr/palm/applications/com.palm.app.phone/app/models/DateFormatter.js_1-1-0 # # MAKE MODIFICATIONS TO DateFormatter.js - PART 1 # echo MAKING MODIFICATIONS TO DateFormatter.js - PART 1 sed -i "s/ hr\ /h\ /g" /usr/palm/applications/com.palm.app.phone/app/models/DateFormatter.js # # MAKE MODIFICATIONS TO DateFormatter.js - PART 2 # echo MAKING MODIFICATIONS TO DateFormatter.js - PART 2 sed -i "s/ min\ /m\ /g" /usr/palm/applications/com.palm.app.phone/app/models/DateFormatter.js # # MAKE MODIFICATIONS TO DateFormatter.js - PART 3 # echo MAKING MODIFICATIONS TO DateFormatter.js - PART 3 sed -i "s/\" sec\"): \"0 sec\"/\"s\"): \"0s\"/g" /usr/palm/applications/com.palm.app.phone/app/models/DateFormatter.js # echo SETTING CALL DURATION DISPLAY TO ON luna-send -n 1 palm://com.palm.systemservice/setPreferences '{"phoneAppHideCallDuration": false}' # # SET CALL DURATION DISPLAY TO ON IN DATABASE # echo SETTING CALL DURATION DISPLAY TO ON IN DATABASE sqlite3 /var/palm/data/cookies.db 'update Cookies set value = "%220%22" where domain_head = ".usr.palm.applications.com.palm." and domain_tail = "app.phone" and path = "/usr/palm/applications/com.palm.app.phone" and "name" = "mojo_cookie_hidecalllogduration";' # # COMPLETE UPDATE # mount -o remount,ro / echo INSTALLATION COMPELTE... REBOOTING DEVICE... /sbin/reboot # [/code] Good Luck! And Happy Hacking!! - D2G To restore original files use the following: [code] # # DISABLE CALL DURATION DISPLAY IN CALL LOG # mount -o remount,rw / # # RESTORE FILES # echo RESTORING ORIGINAL FILES IF AVAILABLE cp /usr/palm/applications/com.palm.app.phone/app/models/DateFormatter.js_1-1-0 /usr/palm/applications/com.palm.app.phone/app/models/DateFormatter.js # # SET CALL DURATION DISPLAY TO OFF # echo SETTING CALL DURATION DISPLAY TO ON luna-send -n 1 palm://com.palm.systemservice/setPreferences '{"phoneAppHideCallDuration": true}' # # SET CALL DURATION DISPLAY TO OFF IN DATABASE # echo SETTING CALL DURATION DISPLAY TO ON IN DATABASE sqlite3 /var/palm/data/cookies.db 'update Cookies set value = "%221%22" where domain_head = ".usr.palm.applications.com.palm." and domain_tail = "app.phone" and path = "/usr/palm/applications/com.palm.app.phone" and "name" = "mojo_cookie_hidecalllogduration";' # # COMPLETE UPDATE # mount -o remount,ro / echo INSTALLATION COMPELTE... REBOOTING DEVICE... /sbin/reboot # [/code] Last edited by d2globalinc; 08/29/2009 at 12:28 PM. Reason: UPDATE JULY 13TH, 2009 |
07/09/2009, 04:07 PM
|
#9 (permalink) | |
|
Member
![]() Join Date: Mar 2008
Posts: 105
Likes Received: 0
Thanks: 2
Thanked 243 Times in 42 Posts
|
Quote:
I also recommend using nano - and installing that if you havn't already on the command line - its a much easier editor than vi.. - D2G |
|
07/09/2009, 04:08 PM
|
#10 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 26
Likes Received: 0
Thanks: 4
Thanked 3 Times in 1 Post
|
Quote:
cool. worked now. also my manual hack worked too. i was so afraid of rooting my pre but everything so far so good at the moment. Last edited by ldostang; 07/09/2009 at 04:18 PM. |
|
07/09/2009, 04:24 PM
|
#11 (permalink) | |
|
Member
![]() Join Date: Mar 2008
Posts: 105
Likes Received: 0
Thanks: 2
Thanked 243 Times in 42 Posts
|
Quote:
- just as long as you backup all the files before editing them, and make sure you always have a way to get ssh / root access - its a-OK! - And even if there was something MAJOR that went wrong when messing around in there - you can always recover back to factory.. I may be releasing the Browser Download Howto later today - so keep an eye out ![]() Have fun ![]() - D2G |
|
07/09/2009, 04:32 PM
|
#12 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 26
Likes Received: 0
Thanks: 4
Thanked 3 Times in 1 Post
|
Quote:
now i want to make changes to the background dialer and add the longer dictionary list. but they take a little more time. |
|
07/12/2009, 01:32 PM
|
#19 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Nashville, TN
Posts: 25
Likes Received: 0
Thanks: 30
Thanked 2 Times in 2 Posts
|
Quote:
BAM!!! Works like a charm!!! THANKS!!!!!! Gotta admit I was a bit nervous though! |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



