07/12/2009, 04:26 PM
|
#1 (permalink) |
|
Member
![]() Join Date: Mar 2008
Posts: 105
Likes Received: 0
Thanks: 2
Thanked 243 Times in 42 Posts
|
- 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!NOTES: This will enable a date and time-stamp on the incoming and outgoing messages in chatview for a contact. Example Screenshot: 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 TIMESTAMPS ON ALL RECEIVED MESSAGES IN CHATVIEW
#
mount -o remount,rw /
#
# RESTORE FILES
#
echo RESTORING ORIGINAL FILES IF AVAILABLE
cp /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js_1-1-0_1 /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
#
# BACKUP FILES
#
echo BACKING UP ORIGINAL FILES
cp /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js_1-1-0_1
#
# MAKE MODIFICATIONS TO chatview-assistant.js - PART 1
#
echo MAKING MODIFICATIONS TO chatview-assistant.js - PART 1
sed -i "s/if(\!ChatFlags.isOutgoing(msg.flags) \&\& msg.deviceTimeStamp \&\& msg.timeStamp \&\& (msg.deviceTimeStamp-msg.timeStamp) > (1000\*60\*10)) {/if(1 > 0) {/g" /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
#
# MAKE MODIFICATIONS TO chatview-assistant.js - PART 2
#
echo MAKING MODIFICATIONS TO chatview-assistant.js - PART 2
sed -i "s/if(today-msg.timeStamp <= (1000\*60\*60\*24\*2)) {/if(1 > 0) {/g" /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
#
# COMPLETE UPDATE
#
mount -o remount,ro /
echo INSTALLATION COMPELTE... REBOOTING DEVICE...
/sbin/reboot
#
- D2G To restore original files use the following: Code:
# # DISABLE TIMESTAMPS ON ALL RECEIVED MESSAGES IN CHATVIEW # mount -o remount,rw / # # RESTORE FILES # echo RESTORING ORIGINAL FILES IF AVAILABLE cp /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js_1-1-0_1 /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js # # COMPLETE UPDATE # mount -o remount,ro / echo INSTALLATION COMPELTE... REBOOTING DEVICE... /sbin/reboot # Last edited by d2globalinc; 07/24/2009 at 03:24 AM. |
07/12/2009, 05:00 PM
|
#2 (permalink) |
|
Member
![]() Join Date: Jan 2005
Location: Southern California
Posts: 644
Likes Received: 0
Thanks: 126
Thanked 43 Times in 22 Posts
|
YOUR BACK !!!!!! Thanks a lot... I and I'm sure a lot of others appreciate the work that you've done with your How To's.. Again, thanks..
__________________
Remember, this is my opinion ! We all have a right to our own..... Treo's 650-800..NOW, Palm Pre
|
08/05/2009, 02:44 PM
|
#8 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 5
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
|
BOTH Text Forwarding AND Time Stamp on Incoming Outgoing Messsages?
I have discovered that this is not possible to for BOTH the text forwarding AND time stamp to coexist on your Palm Pre. So, I modified your post to combine the coding from both: # # ENABLE TXT AND EMAIL MESSAGE FORWARDING # mount -o remount,rw / # # RESTORE FILES # echo RESTORING ORIGINAL FILES IF AVAILABLE cp /usr/palm/applications/com.palm.app.messaging/app/models/messaging-luna-service.js_1-1-0 /usr/palm/applications/com.palm.app.messaging/app/models/messaging-luna-service.js cp /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js_1-1-0 /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js # # BACKUP FILES # echo BACKING UP ORIGINAL FILES cp /usr/palm/applications/com.palm.app.messaging/app/models/messaging-luna-service.js /usr/palm/applications/com.palm.app.messaging/app/models/messaging-luna-service.js_1-1-0 cp /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js_1-1-0 # # MAKE MODIFICATIONS TO messaging-luna-service.js # echo MAKING MODIFICATIONS TO messaging-luna-service.js sed -i "s/telephonyIdentifier: 'palm:\/\/com.palm.telephony',/telephonyIdentifier: 'palm:\/\/com.palm.telephony',\n\ forwardIdentifier: 'palm:\/\/com.palm.applicationManager',\n\ \n\ forwardMessage: function(sceneController,messageText) {\n\ return sceneController.serviceRequest(MessagingMojoService.forwardIdentifier,{\n\ method: 'launch',\n\ parameters: {\n\ id: 'com.palm.app.messaging',\n\ params: {\n\ messageText: 'FWD: '+messageText\n\ }\n\ }\n\ });\n\ },\n\ /g" /usr/palm/applications/com.palm.app.messaging/app/models/messaging-luna-service.js # # MAKE MODIFICATIONS TO chatview-assistant.js # echo MAKING MODIFICATIONS TO chatview-assistant.js sed -i "s/MessagingUtils.simpleListClick(this.controller.get(event.originalEvent.target), \"chatRow\", function(targetRow){/if (!mmsImageTarget \&\& !mmsVideoTarget \&\& !mmsVcardTarget \&\& !mmsVcalTarget) {\n\ MessagingMojoService.forwardMessage(this.controller, event.item.messageText);\n\ }\n\ \n\ MessagingUtils.simpleListClick(this.controller.get(event.originalEvent.target), \"chatRow\", function(targetRow){/g" /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js # # MAKE MODIFICATIONS TO chatview-assistant.js - PART 1 # echo MAKING MODIFICATIONS TO chatview-assistant.js - PART 1 sed -i "s/if(\!ChatFlags.isOutgoing(msg.flags) \&\& msg.deviceTimeStamp \&\& msg.timeStamp \&\& (msg.deviceTimeStamp-msg.timeStamp) > (1000\*60\*10)) {/if(1 > 0) {/g" /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js # # MAKE MODIFICATIONS TO chatview-assistant.js - PART 2 # echo MAKING MODIFICATIONS TO chatview-assistant.js - PART 2 sed -i "s/if(today-msg.timeStamp <= (1000\*60\*60\*24\*2)) {/if(1 > 0) {/g" /usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js # # COMPLETE UPDATE # mount -o remount,ro / echo INSTALLATION COMPELTE... REBOOTING DEVICE... /sbin/reboot # All credit to d2globalinc! |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



