I was browsing xda and came across a thread over in the captivate forum for changing the sounds for the dialer, [HOW-TO] Custom Dial-Tone Sounds.
Long story short I got the sounds where they should be, however they do not work when dialing a number. I still get the default tones. So my question is how the heck to I change those sounds? I have backed up the orginal key0-9.ogg files, deleted the orginals and dropped in the replacements, verifying they match in name.They play what they should in the music player but not when dialing a number.
Some back ground on me and my phone: I am rooted and running stock kernel, I am deodexed as well. I have themed my phone with bits and pieces found through out xda (made my own metamorph and will be converting it to a flash-able version soon).
I pulled all the apks (phone, contacts, dailertabactivity, etc. decompiled them and poured over the xml files inside to see what I could find that may control the sounds and found nothing. I am not a programmer by any stretch of the imagination, so I could have overlooked something or not even be looking in the right place. I haven't looked at the smali files on because 1. I am not sure how to open them and 2. after seeing several examples through xda I am not sure I would even understand what I was seeing.
Has anyone successfully changing those sounds or any other system sound for that matter? any devs out there know the answer?
oh and yes I have googled and and searched and searched with nothing to answer this question. Love that google link Thanks in advance for any insight and help you can offer.
Related
First off, I'm brand new to Android development so please bear with me.
My only goal at this point is to add the ability to choose the notification LED color to the Android 2.2 stock mail app (on the Droid). I've searched all over the place and haven't found an existing solution for this yet.
It seems to me like it should be super easy to add this functionality to the stock mail app. I can already choose my sound and vibrate settings, why not the LED color? Toss in some notification.ledARGB = something (plus the few other lines of code to make it work), a list to choose the color and we're good to go.
My problem, though, is I have no idea where to begin to have access to the code of the stock mail app. I would guess it goes something like:
1. Download the apk
2. Somehow open the source
3. Make the changes I need
4. Turn it back into a useable apk
5. Swap out the existing apk with my new modified one on the phone
I really only care about making this work on my own phone, so I'm not worried about signing the apk with a public cert or anything. I'm rooted as well, so no worries there.
Anyone have any insight? If I basically have the right plan of attack, and advice on the specifics? If I'm totally wrong in my approach, any advice on what I should be doing would be greatly appreciated.
Thanks in advance for any help!
I think this app is a part of AOSP, so you don't have to decompile an apk - grab sources and build them.
Well, that certainly makes sense. Just did some digging, and I found a pile of info about getting the source, git, repo, etc.
Naturally I'm a windows user, so it looks like I'll need to get some linux up and running to actually do anything with the source code. Ubuntu is installing as we speak....
Any tips on what to do next for a newbie like me?
Should I follow all the directions to get Eclipse ready to develop on the linux box?
Do I just need to download the Email.git to do what I want?
What do I do with the Email.git once I've gotten it?
Just gonna give this a little bump. I've got my linux box all set up and i've got the entire android source downloaded. I'm not really sure where to go from here, though.
How do I just modify and compile the email app into an apk? Thanks for any forthcoming handholding, guys.
Hello. I'm actually quite surprised that I am unable to find more information about this. I hope someone can help shed light on this subject.
The short of it is that switching from an HTC Magic w. CM6.1 to a Nexus one with a bacon cooking, money printing CM7, I've lost the ability to select the email account colors.
I copied over the email.apk file from my magic and I've regained the ability to modify the email account colors but I'm still wanting to know where this information is stored in the system. The stock app auto selected colors - so it must be storing that information somewhere.
For whatever it's worth, I'm including the email.apk file form my Magic. I cannot recall the ROM, it was advertised as being very fast and light. I quite liked it. For whatever it's worth it's an CM6.1RC0 port by freeyo (Cronos?).
Also, but very slightly off topic, I'm looking to find where the email account settings are stored. I've got a few email addresses and it quickly becomes tiresome to re-input them whenever I try a different ROM. I suspect that the email account settings and the colors will be stored in roughly the same spot.
Any help or suggestions would be greatly appreciated.
Thanks!
I don't know whether I'm more shocked to not have found any information about this quirk, or whether the lack of attention this has seen. Have I posted this in the wrong location? Is this a non-issue now [if so, please let me know why].
Thanks honz - I'm going to give this a go...
I had the same issue moving to a CM7 ROM... I tried using my old email.apk, but it didn't work for me...
Will try yours and fingers crossed!
EDIT: Worked... Thank you!!!
I finally upgraded from a RC of CM7 to 7.0.3 and was hoping of seeing this there. I've went out and continued looking for where this email.apk I had (posted above) came from. _Still_ no information. There is clearly modifications inside the .apk and there is an added "account_setup_color.xml" under /Email.apk/res/layout. I wonder how much hacking is required to transplant that over to the 'current'??!? email.apk as included with CM7.0.3.
Again, this is somewhat of a bump to hear if anyone knows about this anymore.
Can someone help me with this, I moved from an S3 to an S5 quite a while ago and finally got round to theming my device but I can't find these horrid images to replace them with what I want to use.
I have seen some themes where they have been replaced so they must be identified somewhere, if anyone can tell me where to find them or which xml to change to identify what I want to use instead of these it would be gratefully appreciated.
..
fffft said:
Images, plural? You didn't describe what set of images you are alluding to or circle them on your screen shot. Or attach a copy of the apk you are working with. Presumably you mean the default head shot for a non-customized contact.. but what other images are you talking about?
In the absence of those crucial details, all I can suggest is that you open the apk as a .zip archive and go to
\res\drawable
\res\drawable-sw359dp-land-xxhdpi
\res\drawable-sw359dp-xxhdpi
\res\drawable-sw360dp-land-xxhdpi
\res\drawable-sw360dp-xxhdpi
Scroll though the image directories and replace the ones that offend you.
.
Click to expand...
Click to collapse
Thanks for the response, I thought the images in the clip were pretty clear as they are the default ones, I have tried all the images in the apk, as you say the ones here are the default ones, I have done all the others InCall.apk and the ones in the SecContacts.apk all default images have been changed as I want them.
The ones in the clip are the default ones that appear in the stock contacts list, favorites list and logs list, they were easy to find on the S3 but not on the S5, I have changed all the png and pkm files that relate to images and pictures in this apk.but these still remain stock
The apk in question is detailed in the title, I am not new to theming I have been doing it a long time, I know what to look for except in this case I can't find these in the apk at all.
I used to love the BlackJack series of samsung, and the Jack came out, had that one as well.
Anyway, there was this ringtone for notifications, emails and sms only then...push was non-existent.
I had it on a phone i wiped forgetting all about it, but it took 2-3 hours to find on google when i did in some .cab file
I can't find it now.
If anyone who deals with these baking up old roms, i've seen it mentioned in a few file lists, i'd assume anyone with these rom's downloaded would be able to just post it or you can dropbox it or whatever via pm.
Just would like that tickle.wma file back, and quite frankly sad that I lost it and can't find it again.
Thanks guys.
This is on a rooted Verizon S5 SM-G900V with Alliance ROM 4.4.2. Is there any way to invert the background and text without inverting images? Especially in Chrome, but it would be nice for the whole phone. White lettering on a black background is much easier to read.
I'm seeing screenshots online of Alliance that are nice and dark (I think it's called Black Glass?), including the phone dialer. How do I get the whole android theme dark.
Same thing with other apps. There's a few local TV news apps that have a bright white background that I wish I could customize to a dark theme. The Samsung Music Player is bright white as well. Anyway to make these dark in Alliance?
The problem I've noticed with third-party dialer apps is that they let you type the phone number, but when you hit the phone button to place the call, it opens up the Android dialer with the bright white background. Right back to square zero. Basically, I'm just trying to figure out how to get that nice black look like I'm seeing on some of the alliance ROM screenshots.
Thanks.
Trunktracker said:
The problem I've noticed with third-party dialer apps is that they let you type the phone number, but when you hit the phone button to place the call, it opens up the Android dialer with the bright white background. Right back to square zero. Basically, I'm just trying to figure out how to get that nice black look like I'm seeing on some of the alliance ROM screenshots.
Thanks.
Click to expand...
Click to collapse
The app on 4.4 you needed to theme was called InCall.apk there is an app on 5.0 call LegacyInCallUI.apk so would amuse that its this one but if you are running a custom rom then it may have the original InCall app, if you look is System\app or System\Priv-app folder (most likely the priv-app folder teh one you need will be in there.
Problem at the moment is that apktool has a problem with Samsung apk's and compiling them, its not so much apk tool as more likely something Samsung have added in their security to prevent apktool working as it should, so you can decompile apps fine if the app does compile then you can use the .png files, xml files but the resources arsc most likely will cause the app to crash. Also they have use .pkm files which you can't see like you can with .png files so you need specific software to look at them, again Samsung trying to prevent theming of stock apps.
Hmmm. Well, that's all a bit over my head. So, is there not an easy way to install an app or change a setting somewhere? I'm not sure what to actually to click on with all those files you mentioned. I find searching for files in Android to be confusing and nothing like a Windows PC with the usual file directory locations. Like, WHERE is the C:\ drive on the phone?
Trunktracker said:
Hmmm. Well, that's all a bit over my head. So, is there not an easy way to install an app or change a setting somewhere? I'm not sure what to actually to click on with all those files you mentioned. I find searching for files in Android to be confusing and nothing like a Windows PC with the usual file directory locations. Like, WHERE is the C:\ drive on the phone?
Click to expand...
Click to collapse
The apps are in the system folder called
system\app
system\priv-app
system\framework
But if you have never done theming before then don't even try you would need to start with simple things and learn what to do and what not to do.
Can't help with the app question as I have no idea, maybe there is something that someone else can answer that for you.
I am looking at theming these form myself but I don't have the time at the moment, I don't share them any more though as there are far too many ungrateful people around these days.