webOS Nation Forums >  webOS Developers >  webOS Development > How To: Disable Call Ended Sound
How To: Disable Call Ended Sound
  Reply
 
Thread Tools Display Modes
Old 07/31/2009, 10:33 PM   #1 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
I used this as my starting point. Patch Phone Disable Missed-Dropped Call Sound - WebOS Internals

mount -o remount rw, /
cp /usr/palm/applications/com.palm.app.phone/app/controllers/announcer-assistant.js /usr/palm/applications/com.palm.app.phone/app/controllers/announcer-assistant.js.bak

2. Look for (line '''818''' on WebOS 1.1) [code ] QDLogger.log( "announceDisconnectNormal" [/code]


3. A few lines below that (lines 820-823):

Code:
  this.appControl.showBanner(
			{
				messageText: message,
				soundClass: 'notifications'
},

4. Delete
Code:
 'notifications' leaving both apostrophes '' 
Code:
this.appControl.showBanner(
			{
				messageText: message,
				soundClass: ''
},


5. Save and quit
Code:
 vi :wq

6. Now restart the GUI

Code:
 stop LunaSysMgr && start LunaSysMgr
7. Now remount read only

Code:
 mount -o remount,ro /
No more sound!

You will still get your popup message

**(Do not delete the word message in above statement your phone will keep rebooting)**

http://www.webos-internals.org/wiki/...ll_Ended_Sound

Last edited by mamouton; 08/11/2009 at 06:30 AM.
mamouton is offline   Reply With Quote
Old 07/31/2009, 10:59 PM   #2 (permalink)
Member
 
Webby_s's Avatar
 
Posts: 279
Funny!!! I just did that tweak, seriously like 10 minutes ago! Now I will have to jump back into the file and do this one.... Thanks... You should think about adding it to the wiki!

You should change it so it has the [code ] [/code]

So:
Code:
soundClass: 'notifications'
to
Code:
soundClass:''
(deletes notifications)

then
Code:
initctl stop LunaSysMgr && initctl start LunaSysMgr
to restart (if in PuTTY that is)
But truthfully if they are reading this they probably know all this anyways

But it is awesome non-the-less!
__________________
Still happily rooting my launch 6/6/09 Pre!
(and my wife's)

Last edited by Webby_s; 07/31/2009 at 11:19 PM.
Webby_s is offline   Reply With Quote
Old 07/31/2009, 11:05 PM   #3 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
Quote:
Originally Posted by Webby_s View Post
Funny!!! I just did that tweak, seriously like 10 minutes ago! Now I will have to jump back into the file and do this one.... Thanks... You should think about adding it to the wiki!
Once you tell me you got the same results I will add it to the wiki.
mamouton is offline   Reply With Quote
Old 07/31/2009, 11:07 PM   #4 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
Thanks I will
mamouton is offline   Reply With Quote
Old 07/31/2009, 11:10 PM   #5 (permalink)
Member
 
Webby_s's Avatar
 
Posts: 279
quick question.... Should it be a ' or a "
__________________
Still happily rooting my launch 6/6/09 Pre!
(and my wife's)

Last edited by Webby_s; 07/31/2009 at 11:19 PM.
Webby_s is offline   Reply With Quote
Old 07/31/2009, 11:12 PM   #6 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
it should be two ' apostrophes' ('nospace')
mamouton is offline   Reply With Quote
Old 07/31/2009, 11:18 PM   #7 (permalink)
Member
 
Webby_s's Avatar
 
Posts: 279
No I have not tried it as of yet cuz I haven't called myself....(where's my wife's phone) and it was my bad people, not mamouton's coding! I did the typo!

OK got a call.... Ended the call by "swoshing" the phone app up and then got the visual notification but no sound!!!! Works like a charm!!!! I would say go ahead and post!
__________________
Still happily rooting my launch 6/6/09 Pre!
(and my wife's)

Last edited by Webby_s; 07/31/2009 at 11:24 PM.
Webby_s is offline   Reply With Quote
Old 08/01/2009, 09:01 AM   #8 (permalink)
Member
 
Posts: 46
sounds alittle complicated. why not make it a patch file to use with the quilt command?
sandrshe is offline   Reply With Quote
Old 08/01/2009, 09:18 AM   #9 (permalink)
Member
 
Webby_s's Avatar
 
Posts: 279
Complicated, not for me... what was complicated was getting those patches to work.... I installed all that I should in the patch instructions, got 2 to work then the rest all said patch doesn't exist or something so I got frustrated and quiet. And I really wanted that character counter patch to work but no such luck....

This tweak, you just go into the file in vi, go to the line, press I, make the modifications, press esc, press :wq, then reboot. Nothing to do with installing all that patch stuff.
__________________
Still happily rooting my launch 6/6/09 Pre!
(and my wife's)
Webby_s is offline   Reply With Quote
Old 08/11/2009, 04:38 AM   #10 (permalink)
Member
 
Posts: 14
Ok, well I finished these and made sure not to delete the word message in above statement, however my phone has gone into reboot loop.

Soft resets and removing battery haven't worked.
lrn2dnc is offline   Reply With Quote
Old 08/11/2009, 06:28 AM   #11 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
Your code should look exactly like this.
Code:
QDLogger.log( "announceDisconnectNormal", callState.number  , name);
		
		this.appControl.showBanner(
			{
				messageText: message,
				soundClass: ''
			},
Make sure you haven't deleted your parenthesis or comma after the parenthesis. Are you running 1.1? Also please note that after soundclass: that it is two apostrophes not a quotation mark.
mamouton is offline   Reply With Quote
Old 11/06/2009, 11:15 AM   #12 (permalink)
Member
 
AMR-1's Avatar
 
Posts: 257
These need to be a patch...

Please wait while the Internets work on your request...
AMR-1 is online now   Reply With Quote
Old 10/18/2011, 09:22 AM   #13 (permalink)
Member
 
Posts: 38
Is there a chance to get the patch that was availbable to disable various phone sounds updated for the Pre 3?
ginpre is offline   Reply With Quote
Old 11/30/2011, 04:12 AM   #14 (permalink)
Member
 
Posts: 6
It seems there is no app directory in /usr/palm/applications/com.palm.app.phone on the Pre3 (webOS 2.1.0).
Any idea how to find its equivalent in the new architecture ?
Somatt is offline   Reply With Quote
Old 12/27/2011, 03:55 PM   #15 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
Quote:
Originally Posted by ginpre View Post
Is there a chance to get the patch that was availbable to disable various phone sounds updated for the Pre 3?
Quote:
Originally Posted by Somatt View Post
It seems there is no app directory in /usr/palm/applications/com.palm.app.phone on the Pre3 (webOS 2.1.0).
Any idea how to find its equivalent in the new architecture ?
I am not sure where to look to find the files. I was looking to update several patches over the break, going through each file to find a reference is tedious. It must be an easier way.
__________________
My contributions to customizing the Palm Pre.

Browser Mega Mix|Email Mega Mix|Additional Sync Days|
Disable Various Phone Sounds|Priority Discard Buttons|

Sign up for SugarSync Get 500MB extra space
Sign up for Dropbox Get 250MB extra space
mamouton is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0