07/09/2009, 10:55 AM
|
#1 (permalink) |
|
Member
![]() Join Date: Mar 2008
Posts: 105
Likes Received: 0
Thanks: 2
Thanked 243 Times in 42 Posts
|
- UPDATE 08-27-2009 - I personally stopped using this update - because of the annoynce with tapping a message and having it do a forward when I did not want it to. I have been away from the scene for a few weeks, but I think there might be better ways of doing this now. Search the forums before deciding to use this HowTO to be sure!
- 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 was taken from the original post over at predev.wikidot.com/forward-messages - 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: To forward a message, open the Messaging application, tap a chat thread, then tap an individual message. If the message has an attachment, make sure you tap on the text of the message. A new compose card will open with the message text pre-populated. Simply choose the recipient(s). 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 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
#
# COMPLETE UPDATE
#
mount -o remount,ro /
echo INSTALLATION COMPELTE... REBOOTING DEVICE...
/sbin/reboot
#
-D2G To restore original files use the following: Code:
# # DISABLE 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 # mount -o remount,ro / echo INSTALLATION COMPELTE... REBOOTING DEVICE... /sbin/reboot # Last edited by d2globalinc; 08/27/2009 at 09:07 PM. |
07/09/2009, 11:51 AM
|
#4 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: Minneapolis, MN
Posts: 58
Likes Received: 0
Thanks: 6
Thanked 7 Times in 6 Posts
|
I've been using this for a couple weeks
Great job! May I ask if it's possible to add a tweak? Make it so we have to hold down for at least a second before executing. This way, when we click on URLs, they don't load up the browser and the fwd message window. Not sure how hard that is to implement, but I'll also see if I can figure it out. |
07/09/2009, 12:19 PM
|
#5 (permalink) | |
|
Member
![]() Join Date: Mar 2008
Posts: 105
Likes Received: 0
Thanks: 2
Thanked 243 Times in 42 Posts
|
Quote:
- D2G |
|
07/09/2009, 12:34 PM
|
#8 (permalink) | ||
|
Member
![]() Join Date: Jun 2009
Posts: 26
Likes Received: 0
Thanks: 4
Thanked 3 Times in 1 Post
|
Quote:
Quote:
|
||
07/09/2009, 01:41 PM
|
#9 (permalink) |
|
Member
![]() Join Date: Jan 2005
Location: Southern California
Posts: 644
Likes Received: 0
Thanks: 126
Thanked 43 Times in 22 Posts
|
WOW..... Thanks.. Works great..
__________________
Remember, this is my opinion ! We all have a right to our own..... Treo's 650-800..NOW, Palm Pre
|
07/09/2009, 01:52 PM
|
#11 (permalink) |
|
Member
![]() Join Date: Jan 2005
Location: Southern California
Posts: 644
Likes Received: 0
Thanks: 126
Thanked 43 Times in 22 Posts
|
I know, he's the reason I even ventured into Rooting my pre, lol...
__________________
Remember, this is my opinion ! We all have a right to our own..... Treo's 650-800..NOW, Palm Pre
|
07/09/2009, 03:48 PM
|
#13 (permalink) |
|
Member
![]() Join Date: Mar 2008
Posts: 105
Likes Received: 0
Thanks: 2
Thanked 243 Times in 42 Posts
|
|
07/09/2009, 08:01 PM
|
#14 (permalink) |
|
Member
![]() Join Date: May 2009
Location: ATL/ Athens, GA
Posts: 413
Likes Received: 0
Thanks: 61
Thanked 27 Times in 24 Posts
|
THANK YOU SO MUCH! sorry i never do all caps i know its a forum no no but i have been waiting for palm to enable this already. I have to fwd text a minimum of 2 times a day for my job. This helps SO much. I just ROOTED today and got your add a page hack also. Mad props!
__________________
SCK Manager
|
07/10/2009, 12:18 AM
|
#15 (permalink) |
|
Member
![]() Join Date: Aug 2007
Posts: 193
Likes Received: 2
Thanks: 6
Thanked 11 Times in 6 Posts
|
ok i dont know what im doing wrong here, after i copy and paste it just says installation complete rebooting device...... installation complete rebooting device... then just goes back to the rootcastle with out rebooting the device. but if i hit enter broadcast last message shutting down then reboots my pre. but when i launch my message app (text) i tap the thread then a message but nothing happen.
does some one have a idea what im doing wrong |
07/10/2009, 01:30 AM
|
#18 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 49
Likes Received: 0
Thanks: 1
Thanked 2 Times in 2 Posts
|
I don't really have a need to forward text - but I do sometimes need to cut and paste from a text - which Palm Pre can't do... until now! You rock dude!
Now I can 'fwd' my text to get the info I need in an editable field - which the Pre does allow me to copy and paste from... AWESOMENESS ENSUES!!! |
07/10/2009, 04:10 AM
|
#19 (permalink) | |
|
Member
![]() Join Date: Mar 2008
Posts: 105
Likes Received: 0
Thanks: 2
Thanked 243 Times in 42 Posts
|
Quote:
- D2G |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



