[Q] System UI tones, and how to change them... - T-Mobile Samsung Galaxy S 4

...ok, this has me stumped and I figured someone here might know the answer.
I am trying to change the call connect and the call disconnect tones on my S4. My phone is of course rooted, and I see the sound files located in /system/media/audio/ui - they are in .ogg format. I see the following files (call related):
Call_Connect.ogg
TW_Call_Disconnect.ogg
I replaced both files with the sounds of my choice (same file name, same permissions, same format)...but...when I dial out or disconnect, I get the S4 default connect tone / disconnect tone. I also did a complete factory reset...same result, WTF?
EDIT: Also, I did make sure that the system folder was mounted and writable...

Ok, I want to offer a little more info...
I have:
Made sure the files have the same name. (there are no dupe's in the directory either)
Made sure the files have the same permissions that all other files in that directory have.
Verified the files were updated by listening to them via my root explorer.
Rebooted 6519845619685465196847 times.
Cleared phone app cache, nova launcher cache, and even did a factory reset (dalvik, cache, data).
I even removed the files from that directory all together (which should have killed the call connect and call disconnect notifications)...but the stock ones STILL PLAY...WTF?
Used ADB to open a shell session and LOGCAT to see if I could spot something happening while I placed a call, and came up with nothing relevant, which is weird because if LOGCAT is supposed to show everything the phone is doing, then why is there no information on what sounds are being used for those events...
It is as if the files exist or are cached somewhere else...but I cannot locate any other .ogg or audio file anywhere else on the device at all.
This is driving me insane.

Might be in the framework res file
Sent from my SGH-M919 using Tapatalk 2

elesbb said:
Might be in the framework res file
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Thank you for giving me a place to start looking.

elesbb said:
Might be in the framework res file
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Ok, it wasn't in that file, but it was in the SecPhone.apk file. However, editing that file immediately caused my phone to crap itself. I replaced the two files in the archive and then put that modified file back into /system/app and then rebooted and wiped dalvik and cache. When I got the phone back up, I tried using the phone, and instantly it (over and over I might add) said that com.android.phone has stooped working...oh yeah, and my modified sounds didn't play either.
Guess I'm stuck with the default unless I either learn a lot more about working with Android, or someone hooks me up with some knowledge, or better yet, an app that someone has that can successfully change this.

STrooperTK421 said:
Ok, it wasn't in that file, but it was in the SecPhone.apk file. However, editing that file immediately caused my phone to crap itself. I replaced the two files in the archive and then put that modified file back into /system/app and then rebooted and wiped dalvik and cache. When I got the phone back up, I tried using the phone, and instantly it (over and over I might add) said that com.android.phone has stooped working...oh yeah, and my modified sounds didn't play either.
Guess I'm stuck with the default unless I either learn a lot more about working with Android, or someone hooks me up with some knowledge, or better yet, an app that someone has that can successfully change this.
Click to expand...
Click to collapse
Ah that actually makes more sense
But.....
Give me the audio files and your ORIGINAL SecPhone.apk and i shall sprinkle some pixie dust on them and watch them merge as one might even use it myself depending on what they sound like (BTW put the audio files and SecPhone.apk into a folder and zip that folder then attach the zip)

elesbb said:
Ah that actually makes more sense
But.....
Give me the audio files and your ORIGINAL SecPhone.apk and i shall sprinkle some pixie dust on them and watch them merge as one might even use it myself depending on what they sound like (BTW put the audio files and SecPhone.apk into a folder and zip that folder then attach the zip)
Click to expand...
Click to collapse
Got an alternate drop location and or email address? File is just a little big too big for the forum to accept (too big by just 2 or 3 megs)...

STrooperTK421 said:
Got an alternate drop location and or email address? File is just a little big too big for the forum to accept (too big by just 2 or 3 megs)...
Click to expand...
Click to collapse
PM sent with a link to my file drop for my media fire account

elesbb said:
PM sent with a link to my file drop for my media fire account
Click to expand...
Click to collapse
Done!
The tones are nothing special, but (to me) better then stock.

Related

replacing xt9

not really sure which forum to post this in (sorry if this is the wrong one), but all of the new roms that have been created seem to lack the xt9. i had really started to like it. i downlaoded the system dump and was wondering, if i copied the T9DB folder (from the dump) over to the system folder of whatever rom im going to flash, would that fix the problem.
Melvin's ROM: Beast MOD II has it. I'm pretty sure this is more a general question though. Also pretty sure copying and pasting is a no go.
Sent from the future, back to the past.
Adj. said:
Melvin's ROM: Beast MOD II has it. I'm pretty sure this is more a general question though. Also pretty sure copying and pasting is a no go.
Sent from the future, back to the past.
Click to expand...
Click to collapse
the xt9 option is in all of them under keyboard, but doesnt work. open up sms and try to type something.
i just checked :\
You also need the lib, libXt9core.so. Melvin probably removed it. You should be able to drop that and the apk in their right places and it should work.
Romanbb said:
You also need the lib, libXt9core.so. Melvin probably removed it. You should be able to drop that and the apk in their right places and it should work.
Click to expand...
Click to collapse
the lib is acutally there. im going to try n drag the t989odex folder over and see if it works, since i cant get an answer from melvin :\
camf3xu said:
the lib is acutally there. im going to try n drag the t989odex folder over and see if it works, since i cant get an answer from melvin :\
Click to expand...
Click to collapse
That's a bad idea, lol. If you can get the logcat when it FCs I might be able to help identify the issue
Romanbb said:
That's a bad idea, lol. If you can get the logcat when it FCs I might be able to help identify the issue
Click to expand...
Click to collapse
moving the folder over to the rom's system folder within the zip fixed it :] and it didnt force close, just didnt work (even when it was enabled)
how did u get this to work? i dont understand what you are saying. Android is super new to me.
you can always install Go Keyboard, which offer XT9
imsohungover said:
how did u get this to work? i dont understand what you are saying. Android is super new to me.
Click to expand...
Click to collapse
its very simple. first i downloaded this system dump. http://forum.xda-developers.com/showthread.php?t=1300682 . then opened it up and dragged the folder T9DB over to my desktop. then plugged my phone in the computer and connect to usb storage. dragged the file over to my external sd card and unplugged my phone. then open up root explorer (or some file explorer that allows root access) and copied the file and navigated your main folder (just titled /) scrolled down to find system and pasted the folder in there. restart and it works
the lib is also required for it to work but that wasnt removed witht he rom im using. if you want to check to see if its still there go to the lib folder located within your system folder and scroll all the way to the bottom and their should be a file called libxt9core.so
i tried to go into as much detail as possible to make it as simple as possible for you :]
This is one of the few features of the SGH-T989 which I truly despise. I LOVED the auto-correct on the Nexus S, but XT9 frustrates me terribly because a) it assumes English and I do not always type in English and b) it will drop entire words into my sentences if I hit space or something, ending in some REALLY weird messages!! I turned it off, because it was taking me a lot longer trying to go back and edit my messages ex-post-facto than just make a spelling error here or there.
do you know where i can get the lib file at? im using bombaridier and it doesnt have it in the lib file.
heinrich said:
This is one of the few features of the SGH-T989 which I truly despise. I LOVED the auto-correct on the Nexus S, but XT9 frustrates me terribly because a) it assumes English and I do not always type in English and b) it will drop entire words into my sentences if I hit space or something, ending in some REALLY weird messages!! I turned it off, because it was taking me a lot longer trying to go back and edit my messages ex-post-facto than just make a spelling error here or there.
Click to expand...
Click to collapse
i suppose i can understand non english. pretty sure u can fix the space problem in options tho
imsohungover said:
do you know where i can get the lib file at? im using bombaridier and it doesnt have it in the lib file.
Click to expand...
Click to collapse
the lib is also in the system dump i described earlier. located at T989odex/lib/libXt9core.so
do u know any other root explorer i can use? Right now i am using Explorer and its giving me the "you cannot paster here because the file system is read-only"

7-zip cant modify files

I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Albinoman said:
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Click to expand...
Click to collapse
Not true, regular image files can (should) be able to be draged out, edited, and droped back in an apk using 7-zip.
nighthawklude99 said:
I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
Click to expand...
Click to collapse
My guess would be that the apk was decompiled at some point before, but not recompiled right, or with the right program. Which phone.apk are you having issues with, the one on your phone or the one your pulling the pngs from?
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
nighthawklude99 said:
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
Click to expand...
Click to collapse
Sounds like your install of 7z may be messed up. I just tried it to make sure something didnt change in an update and it works fine for me still with default configuration.

[Q] Where is the apk that has the phone icon in Jellybean?

Sorry for such a simple question but this is driving me nuts. I'm running the recently released deodexed Jelly Bean 4.1.1 ROM and I am rooted. I want to change some of the system icons and I've found most of them. I'm not having any luck with the phone ico,however.
I found the SecPhone.apk and it looks like that is where it is. But it must be somewhere else because every time I've changed it, I always get the same result...the little green phone.
Here is what I did:
I copied the SecPhone.apk to my computer and replaced the icon with the one I wanted.
I zipped it.
Signed it.
Then changed the zip to apk.
I then pasted the apk to my sdcard on my phone.
I then went into ES Explorer with root access and replaced the apk in /system/app with the new apk and made sure the permissions were correct and then rebooted.
(Note: I tried to install it but it would not let me. I read a how-to that stated placing it in the folder and rebooting would work the same way. Probably not true, looking back on it now.)
After all that (many times) the damn green phone icon pops back up when the phone re-boots, just sitting there, mocking me.
It's probably evident from my post I'm a noob with modding but this seems like it should be much easier than what I'm going through right now. Any help with this is much appreciated. Thank you.
if I'm not mistaken phone n contacts are switchd so to speak.extract the SecContacts.apk like you did phone. find 5 or 6 folders that start with mipmap-xxxx and replace ic_launcher_phone in all of them. Do the same in the drawable folders as well
Thanks for the suggestion. I'll give it a shot. I figured there had to be other copies of that icon and I just hadn't found the right one yet.
You were correct. There are about 10 copies of ic_launcher_phone in the different folders exactly where you stated.
Guess I should match the sizes of the icons I'm replacing too. These can't all be the same dimensions, can they? This is an awful lot of work to change one icon. LOL. Thanks again.
evoliphant said:
You were correct. There are about 10 copies of ic_launcher_phone in the different folders exactly where you stated.
Guess I should match the sizes of the icons I'm replacing too. These can't all be the same dimensions, can they? This is an awful lot of work to change one icon. LOL. Thanks again.
Click to expand...
Click to collapse
lol no problem
Pretty sure they're all the same.You should be safe
billard412 said:
lol no problem
Pretty sure they're all the same.You should be safe
Click to expand...
Click to collapse
Sort-of. Only the one for your phone's DPI is going to get used, so if you make them all the same it just means you can't run the same .apk on a tablet. Also, it might screw with you if you use HDMI out and the icons get made smaller to match the lower DPI of a monitor (100 vs 300+ on the SGS3), but I don't have the MHL adapter yet so I haven't tried that myself.
Well, unfortunately it didn't work. I did finally get rid of the green phone icon, but mine was no where to be found! Plus, com.phone.blahblah kept forcing close. Whatever I did, 4.1.1 didn't like one bit.
Oh well.
I followed the same process as I put in the OP for this except I did it for both SecPhone.apk and SecContacts.apk. Pasted both with Root Explorer, rebooted and then the home screen would come up, the phone icon was gone and then it would hang and give me the FC error. I just reflashed and gave up for the time being. Hopefully someone has an answer. The only other thing I might try differently is using adb? Would that be a better option than using the Root Explorer copy/paste method?
I wonder if I took the 4.1.1 Rom and opened it and changed the files in that and then flashed the whole ROM again if that would be any better. Would I basically just do the same process I did with the individual apks, except instead of just installing the single apk, the whole ROM goes in with it.
I just can't for the life of me understand why changing png icon images would cause the com.phone process to FC.
Try to use 7zip to extract the icon located in 'res/mipmap-xhdpi' of SecContacts.apk, edit it, and the use 7zip to drop the edited icon directly into the apk. Don't rezip or sign..
That did it! Thank you so much. I actually went ahead replaced all the pngs with my icon in all folders of the SecContacts. I did it first in just the folder you suggested but that didn't change anything. I then changed them all using 7 zip and put them in system/app and rebooted. Boom, Green phone gone! Looks like it was zip/signing problem. 7zip is the answer to my modding woes I guess. Thanks again.
evoliphant said:
That did it! Thank you so much. I actually went ahead replaced all the pngs with my icon in all folders of the SecContacts. I did it first in just the folder you suggested but that didn't change anything. I then changed them all using 7 zip and put them in system/app and rebooted. Boom, Green phone gone! Looks like it was zip/signing problem. 7zip is the answer to my modding woes I guess. Thanks again.
Click to expand...
Click to collapse
It may be expecting the file to be uncompressed as well - maybe 7z is putting it in the same way it was. The other issue is it needs to be 4-byte aligned, which you can get via the zipalign program that comes with the SDK - and maybe 7z does that automatically as well.

[Q] Turn off camera shutter sound

I love this phone.
But, I can't turn the camera shutter sound off.
I have seen the following solutions:
Edit build.prop and set the camera sound value to =0
or
Use Camera Zoom Fx app and delete the camera_click.ogg file
I would prefer to do the former.
I guess I need to root my phone to do this - or is there an easier way?
I have never rooted a phone and I don't have a need for a rooted phone other than to be able to r/w the build.prop file.
Can I root it, edit the build.prop file, and then unroot it and have the build.prop file keep my edits?
Does anyone have any straightforward steps on how to root and then unroot this phone?
Thank you for any guidance you can provide!
J-Ha
can't freaking delete this post... tried to edit it and since im a new member it wouldn't let me within 5 minutes...my full reply is farther down.
http://forum.xda-developers.com/showthread.php?t=1994626
I believe that you can unroot directly from the superuser app that is sideloaded via this rooting method. Once unrooted, the changes that you made should remain. If they don't for some reason, all you have to do is keep root and just deny apps that request superuser access.
jhaaaa said:
I love this phone.
But, I can't turn the camera shutter sound off.
I have seen the following solutions:
Edit build.prop and set the camera sound value to =0
or
Use Camera Zoom Fx app and delete the camera_click.ogg file
I would prefer to do the former.
I guess I need to root my phone to do this - or is there an easier way?
I have never rooted a phone and I don't have a need for a rooted phone other than to be able to r/w the build.prop file.
Can I root it, edit the build.prop file, and then unroot it and have the build.prop file keep my edits?
Does anyone have any straightforward steps on how to root and then unroot this phone?
Thank you for any guidance you can provide!
J-Ha
Click to expand...
Click to collapse
You would need to root it to edit the build.prop, as it is located in system. That other way to unroot might work to keep it but if you use lgnpst it would replace all the system files, giving you your stock build.prop again. If you wanted to delete the ogg file you would still need to root for that. At least on my phone the camera_click.ogg file is located it /system/media/audio/ui directory. You could just move it somewhere else as a backup. But....being rooted is awesome
is their a complete fix to this.?
HelloDominick said:
is their a complete fix to this.?
Click to expand...
Click to collapse
jat255 said:
HelloDominick, any reason my post above doesn't work for you? That fixed the sound issue for me.
Click to expand...
Click to collapse
You had to root the phone first right or no.?
This solution didn't work for me. I did all of it, and upon resetting permissions, it makes a new file" build.prop.bak and I still get shutter sound. Using es file explorer
Sent from my LG-LS970 using xda app-developers app
i rooted my device where is the location to edit the camera sound.?
I dont see this code "ro.camera.sound.forced=1" anywhere
NVM. I found it, im getting old now.
but tested it and it works like a charm
HelloDominick - I still haven't gotten around to rooting the phone, so I haven't done this yet. Do you really have to have the sound off on the phone in order for this to work?
Colonel Travis said:
HelloDominick - I still haven't gotten around to rooting the phone, so I haven't done this yet. Do you really have to have the sound off on the phone in order for this to work?
Click to expand...
Click to collapse
Yes. Even deleting the camera shutter sound and editing the build.prop result in this. I just did it myself
Sent from my LG-LS970 using xda app-developers app
Anyone try repackaging the camera apk wi th out the shutter sound. Its what we had to do with the evo 3d`s
Sent from my LG-LS970 using Tapatalk 2
jat255 said:
Hmm... That's interesting. Only thing I can think of is maybe set the permissions via adb? Maybe ES has some issue?
Sent from my LG-LS970 using xda premium
Click to expand...
Click to collapse
Found the solution to be rebooting after the entire process. I forgot I hadn't done it, and decided to just reboot for the hell of it. No shutter sound
Sent from my LG-LS970 using xda app-developers app
I think (once rooted) is safest to just overwrite the click sound(s) with a silent one. Then it plays but you can't hear it. works for me and any camera proggy that defaults to the system will use it too.
thecolor said:
I think (once rooted) is safest to just overwrite the click sound(s) with a silent one. Then it plays but you can't hear it. works for me and any camera proggy that defaults to the system will use it too.
Click to expand...
Click to collapse
Where is the camera sound located in the filesystem? Thx!
hallucinate said:
Where is the camera sound located in the filesystem? Thx!
Click to expand...
Click to collapse
On the LGoG it's in: system > media > audio > ui > camera_click.ogg
It may be in a different location on other devices.
You have to be rooted in order to write over system files, but I just renamed the original to camera_click.ogg.bak and then copied the silent version in with the same original name "camera_click.ogg" less the quotes and making sure it's an ogg file too, so there is no system playback error.
Hope that helps.
thecolor said:
On the LGoG it's in: system > media > audio > ui > camera_click.ogg
It may be in a different location on other devices.
You have to be rooted in order to write over system files, but I just renamed the original to camera_click.ogg.bak and then copied the silent version in with the same original name "camera_click.ogg" less the quotes and making sure it's an ogg file too, so there is no system playback error.
Hope that helps.
Click to expand...
Click to collapse
Replaced the file but no love, same click sound... Any other path?
hallucinate said:
Replaced the file but no love, same click sound... Any other path?
Click to expand...
Click to collapse
I assume it's the LGoG you are attempting this with?
Mine is the first generation (incase there are other generations.)
You'll also want to verify it was overwritten. I'd try playing the sound once you do... just to be sure it's the write file.
Otherwise, you might search your device for the sound and see if it's listed elsewhere.
In case the program you are using does not have "system" write capability, I might suggest ES File Explorer.
Either way, you will have to access the settings to turn on the ability to "write" to root in order to "overwrite the file".
Additionally (if the file is changing back - or so it would seem)... be sure to check the permissions it has before you overwrite it and when you do (assuming success).. make sure to set the "new" files permissions to the same as what the old file had. Else, the OS might overwrite the "new" file with a tared (backed up) version... knowing that it's been screwed with.
It's kind of a form of protection from corruption (computer sees potentially bad file and replaces it with good file.)
Good luck and happy fourth!
Phantom camera_click.ogg
I beg your forgiveness for my ignorance, but I've never done much tweaking to file systems after a rooting... but my gf has the Sprint Optimus G and can't find the camera_click.ogg file at all using Astro File Explorer. Does anyone know any other location it may be at? As a computer technician, I'm embarrassed at my lack of know-how around the Droid OS!
Not sure if you looked at this thread: http://forum.xda-developers.com/showthread.php?t=2051384
Read the op then go to page 11 and you see there are 2 fields that need to be changed.
After you do that and reboot as it states, you will have sound when you have your volume on and no camera sound when you turn the volume down to vibrate or silent. At least that is how it is for me. I prefer it that way.
Hope this helps
Sent from my LG-LS970
Naturally
Per Murphy's law, after she and I both looked for around 30 min before giving up and me posting on the forums, I downloaded the ES file explorer and found both files within seconds.
Got it with the silent camera while the phone is on silent/vibrate. Now for a little tweaking to silence it with the volume up.
Thanks for your help, guys and gals. No wonder XDA-devs is one of, if not the, top-notch sites!
Regards,
Agnati

[Q] disable wireless charging sound

Does anyone know how to disable the sound made when making contact with a wireless charger on a rooted m919? File location, anything would be helpful. The sound wakes my wife up. Its gotta go. TiA.
I'm on tbe darthstalker rom. I tried the nottach mod bit it doesnt seem to work for this setting with this rom.
Sent from my SGH-M919 using Xparent BlueTapatalk 2
insomni said:
Does anyone know how to disable the sound made when making contact with a wireless charger on a rooted m919? File location, anything would be helpful. The sound wakes my wife up. Its gotta go. TiA.
Click to expand...
Click to collapse
From my understanding the same charging sound is used whether you're wireless charging or using a cable. I'm kind of an amateur so this may be a dumb way to do it but when I wanted to get rid of a charging sound I was able to replace the charging sound (which is in .ogg file format) with a silent one called Silent.ogg which you can download from this post. XDA doesnt allow .ogg file extension attachments so it's in a zip. Download and unzip it and rename it to Silent.ogg for convenience.
On my phone I use Root Explorer but you can use any file manager app that allows you to modify system files. The charging sound is in /system/media/audio/ui and is called Charger_Connection.ogg so in Root Explorer first navigate to wherever you downloaded Silent.ogg and copy it. Navigate to the above path and tap the "Mount R/W" button at the top. Paste the Silent.ogg file. Rename Charger_Connection.ogg to something like oldChargerConnection.ogg or whatever you'll recognize as a backup in case you ever want to restore it. Then rename Silent.ogg to Charger_Connection.ogg making sure it has the capitals and everything. Once done reboot into recovery and Fix Permissions. I usually clear cache and dalvik also. As a backup I emailed myself the Silent.ogg and ChargerConnection.ogg files in case I ever need them again.
Do not use Silent.ogg from the linked post above.
It is a looped ogg and will keep playing silently in the background preventing your headphones from working until you reset your phone. Took me a while to figure this out
pcorlatan said:
from this post.
Click to expand...
Click to collapse

Categories

Resources