Build.prop notification sound - AT&T Samsung Galaxy Note I717

In build.prop there is the line for the notification sound.
ro.config.notification_sound=01_Sherbert.ogg
Why doesn't this change if I select another notification through 'sound'?
say Argon and it should change to Argon.ogg
Even if I change it in the build.prop and reboot it doesn't change when you go to 'sound'
Is this done somewhere else?
Running FJ's AOSP ROM if that makes a difference

I believe that is only there to set the notification on first run. After that, that line is no longer used.

Any idea where the current one is stored?
There has to be a line of code somewhere....

No idea. Too quick and easy to change it in the sound settings so I never looked.

ummm have a poke around
data/data/com.android.settings
See if you find what you're looking for

I agree that its not hard to change.
I was just challenging myself to add on to a CWM zip I made.
http://forum.xda-developers.com/showthread.php?t=1746683
Studacris I looked in there and see the shared file and lots of setting but not one for the notification sound.
I also don't even know if you can change/add a line to one of these xml file in the script???
Or is always a full replacement of the file?
Trying to learn a bit more about android.
Thanks

Related

[Q] harder questions on theming

Okay, so i've been playing around with theming for 2 months and i've just about figured it all out, except for one thing.... the VZW banner on the lock screen for the D2 doesnt seem to give two ****s what i put in any of the keyguard .xmls that is supposed to control the layout and keeps on just being white...
im running fission 2.5.7 and i've tried everything that is supposed to do the lockscreen on the xml side (as far as i know) including the colors.xml in the values folder(more on this issue later)... so i started poking around .jar files in the framework but unfortunately i have little understanding still of .smali files because im still on the baby steps side of coding beyond the beginners html stuff i learned in the 6th grade ('99) and i could use some help/pointers toward i should be looking for.
i noticed mentions of wakelock (or something like it, its 2am and im mentally fried right now) in one of the smali files in a telephony folder in framework.jar but im just not sure if it is even close to the right thing because it may just be the phone doing something to the cdma radio on wakeup....
I'm open to try any suggestion you guys are willing to throw at me because finishing this project is important to me.
every guide i have been able to find so far just mentions line 7 and 8 of the .xmls in layout, if you find another idea besides that already posted send those too...
ALSO, when i edit colors.xml and then compile and push framework-res.apk to the phone i get 2 results depending on what i do
1) move the file that values folders gets turned into into the original framework-res.apk and get a boot look
2) use the newly compiled framework-res.apk (in whole) and lose the functionality of lockscreen selection app...
any idea on how to make this work would also be awesome
may end up having to work with the devs in the chatroom on this issue (im sure) but its also somethign i want to do so i can change the text colors of sound on/off (along with a couple other default text colors)

gray background dialer

Hello all, I would like to ask a question on dialer streakdroid 1.9. are
managed to make my Contacts.apk transparent by simply adding
theme.wallpaper styles.xml in the background of my dialer but continues to be increasingly
gray. how can I do to make it transparent?. thanks
custom dialer background
Ive been searching everywhere building and testing contacts.apk, Can someone with some more code knowledge have a peek at this please?
Ive dug through all the .xml's, the Manifest .xml, the .smali (even though I dont understand very much at all), there are only a few .png's the rest are .9.png, so Im sure the grey comes from code. in colors .xml there are a couple which match this dark gray perfectly, I changed those to black as well as styles Theme to Theme.Black, and Theme.Wallpaper(which will change the other 3 backgrounds but not dialer), ive tried changing background only in styles, no luck.
I saw on Dell website where it says Streak has Customized Dialer, which obviously we know, but I think ours is a unique situation
chrisrotolo said:
Ive been searching everywhere building and testing contacts.apk, Can someone with some more code knowledge have a peek at this please?
Ive dug through all the .xml's, the Manifest .xml, the .smali (even though I dont understand very much at all), there are only a few .png's the rest are .9.png, so Im sure the grey comes from code. in colors .xml there are a couple which match this dark gray perfectly, I changed those to black as well as styles Theme to Theme.Black, and Theme.Wallpaper(which will change the other 3 backgrounds but not dialer), ive tried changing background only in styles, no luck.
I saw on Dell website where it says Streak has Customized Dialer, which obviously we know, but I think ours is a unique situation
Click to expand...
Click to collapse
"Customized" is not a word I'd choose to use when describing the horrible dialer. Hope someday we can improve it. I really think the dialer is the worst part of the UI.
if I find it I will gladly make a guide to theme it.
I may even send Dell developer an Email... oh yeah too late not supported..
chrisrotolo said:
if I find it I will gladly make a guide to theme it.
I may even send Dell developer an Email... oh yeah too late not supported..
Click to expand...
Click to collapse
+1
I think the EOL is only USA. But I don't think the dell dev team cares too much about us
Brainstorming: Reference for anyone else trying to find this..
the dialer background is not a .png, most images are .9's I pretty sure the background is not a .9.png. There is only one .png close to the color and Ive already tried changing that one.
It could be a color in color.xml, they could have coded it as android:color, but if they did that it would likely be a solid color such as black or transparent, and would have to rely on framework-res. More than likely they would have made their own color in colors.xml, since there is only a dozen or so, at least 2 of which are almost identical greys, I have tried changing these colors to black with no luck.
Ive tried changing almost every .xml refernce I could find to a drawable window/background, etc. to android:color"black" , Theme.Black or 000000,
It could be in .smali, Is where I will dig next, I have tried checking a few of the codes I found in there, they seem to be based on a deep purple?
this is just reference use to help others who may search, wish me luck!!
spelling error found DialtactsActivity.smali line 205 says: const-string v3, "Dailtacts" ,yeah wonder if this why dialtacts theme doesnt theme completly.
some progress!
I fixed the spelling mistake in DialtactsActivity.smali, though i dont /think/ this is what we see. I did change call_background.xml and secondary_call background.xml all parameters to android:color/black, I will keep experimenting, funny how in vertical only the right side of keypad is black,
Once we find the right string , we should then be able to create a custom style instead of just a solid color and use a custom background.png
edit: FOUND IT!, cant post screenie, out right now, should release something later and info. Sit tight everyone.
found it
right where its "should" be, contacts\res\layout-long-finger and res\layout-long-land-finger. the first is portrait, second is landscape. the file for both is twelve_key_dialer.xml. The first line:
LinearLayout androidrientation="vertical" android:id="@id/top" android:background="#ff000000"
just change the android:background="ffRRGGBB" to whatever 6 digit RGB/hex value you desire.
working on this now to call out a custom.png will likely get scaled like cr4p, but will give it a go.
If you dont have any .9.png errors decompiling, then you can recompile and flash it straight away.
If you use my phone&contacts theme, it wont compile because some of my .9.pngs must not be patched. So use stock to change, then after compiling extract the new .apk. If youre using my theme or whatever, then change my contacts.apk to contacts.zip, open my contacts.zip as an archive with 7zip, copy the 2 twelve_key_dialer.xml's, and close. Then in your stock framework where you changed the .xml's go to resources.arsc and right click use 7zip to add to archive... browse and select your contacts.zip with new .xml's. Its important that archive method is .zip and compression must be set to store. make sure update mode is: add and replace files. Then rename back to contacts.apk and place in your update.zip and flash!
I plan on making a guide and probably a stock framework with a custom.png for everyone to use.

Theme "Manage Applications"

What is this app called? I can't find it. I got settings.apk inverted but when I click on manage applications, its not inverted so it must be a different app.
no one knows? Im going to have to start decompiling apps 1 by 1 til i find it? lol
I Doubt Anyone Can Help With A Vague Question. I See Manage Applications, Theme, And Inverted. Can You Give More Information About What Your Seeking?
I am using the Droid X2 running Eclipse 2.2. I have themed the settings.apk file. All is well except when I click on "Manage Applications" from inside settings. This tells me that Manage Applications is a separate app than settings. It just shows up in the settings menu. Much like Angry Birds would show up in the App Drawer even though its not part of appdrawer.apk.. or whatever its called.
I am trying to find the file in system/app that controls "Manage Applications".
That there is about as specific as I can get.
Xkape, where did your inverted theme go? Since our recovery requires ac power I didnt want to chance an outage with Irene doing her thing.
I love dark themes and the inverted theme looked awesome. Hopefully you pulled it to tweak something, unless I am completely blind and I'm just missing it.
jeremy, i never posted it here. I did at Droidforums and at rootzwiki. But, now I am updating it to 0.4 since that came out today. Eclipse I mean.
I will post it here but I am waiting on something that hasn't happened yet. When it does, I'll post it.
I know what you want!!! I know what you want!!!!! You want to theme the application manager from the settings menu!!!! Settings>>Applications>>Manage Applications right???!!!
you are RIGHT my friend!!! I see the xmls in the settings.apk but I dont see where there is anything to edit. I assumed it was another app but now I just think I am overlooking something.
Unfortunately I just figured out what you are talking about but know way too little about how to do what you want.... Sorry...
Bump...anyone figure this out yet? Im trying to change text colors in manage applications on eclipse .2.2 because its white text on white BG
Yeah I got it figured out. I didn't see the code in the xmls so.. I just made my own. Works fine. you need to add android:textColor="#ff000000" if you want the text black. Stick any code you want in there though.
What xml's did you use to change the text color for the app name? I have look over manage_applications and manage_applications_item and found nothing. In manage_applications you can change the text color from black to white but that is only for Application Storage and Internal Storage located at the bottom. In the running section everything turn out perfect but not in the downloaded, all and media area have black text.

Modify Settings menu

OK... so I'm running this Froyo Rom and I want to remove a couple of options from my/the settings menu (it's a bit cluttered for my tastes).
I think that I remember that there was just such a way to modify a rom so that it can show less settings options, but I don't seem to find it. If anyone can help on this front it would be really appreciated...
(In two words can I modify the "settings .apk" so that it shows less?)
Thanks for your attention.
Stevethegreat said:
OK... so I'm running this Froyo Rom and I want to remove a couple of options from my/the settings menu (it's a bit cluttered for my tastes).
I think that I remember that there was just such a way to modify a rom so that it can show less settings options, but I don't seem to find it. If anyone can help on this front it would be really appreciated...
(In two words can I modify the "settings .apk" so that it shows less?)
Thanks for your attention.
Click to expand...
Click to collapse
Of course you can, but you run a very real risk of breaking your rom, you would have to decompile the apk and poke around in the xml and smali files to find the option you wanted to remove. you would also probably have to make some adjustments in your framework.apk but like i said you run a very real risk of breaking the rom you are using.
shreddintyres said:
Of course you can, but you run a very real risk of breaking your rom, you would have to decompile the apk and poke around in the xml and smali files to find the option you wanted to remove. you would also probably have to make some adjustments in your framework.apk but like i said you run a very real risk of breaking the rom you are using.
Click to expand...
Click to collapse
Yeah, I know, but I'm a total noob to those.
I did find this: http://forums.androidcentral.com/op...-how-edit-settings-apk-solved.html#post905109 but decompiling throws me an error.
Even when I put the framework-res file in the right directory apart from taking ages to decompile it still throws an error towards the end of the process (I've lost about a day trying to decomile the settings.apk but it was to no avail as -in the end- it threw an error again).
In fact that must be quite easy for someone with experience in this if I could post (to him) my settings.apk and framework.apk I may have had results in a few minutes (instead of having to learn sth from scracth in my limited time). But I guess it's a bit hard to find someone around here who would voluneer, no?
Anyhow thanks for your reply .
edit: OK I was able to clear out the errors. So I decompiled, made the appropiate changes and then recompiled (as per the instructions), but all I got was an apk half its original size which would FC whenever I was trying to run it (upon placing it on the system/app folder and rebooting).
What makes things even weirder is that merely the act of decompiling are recompiling (the apk) without making any changes at all rendered the -new- apk useless. So it seems recompiling in general ruins the apk -period- (no matter whether I've made changes or not). That is very troubling indeed... like I said I am a noob at these, any help at all would had been greatly appreciated...
When you placed it in the system/app folder, did you set permissions?
It is not as easy as decompiling the settings.apk picking out what you don't want and then recompiling it. Think of it as a web. The Settings.apk uses bits and pieces from Framework-res.apk, services.jar, androidpolicy.jar,...
We understand that you are a self-proclaimed noob, but you have to realize that it just isn't that simple to just delete something that you don't use. I mean, just because YOU don't use it, your ROM probably does. Are you always in the Settings page anyways? I doubt it.
It is good though that you took the initiative to somewhat learn how to de/recompile apks as that is a fantastic basis to start from. You can also learn smali and baksmali to modify apps as well.
Here is a good thread about theming and using APKtool to change things in an apk (such as /framework/framework-res.apk/res/drawable-hdpi where you can change the icons images for custom icons---but you can also do this by installingADWex or LPP and an icon pack).
Long story short, no need to change your settings.apk as it will bork your ROM and your next thread will be, "I think I bricked my phone...Halp!!!"
To clear some things up: I regard myself an enthusiast user. That is to say that I have considerable experience with modding my devices, what I am a "noob" at is actually creating or reverse engineering the code *which* mods my devices (I have little experience with C but that's about it). So do not be worried I am not going to brick my device and if I do I would know how to "debrick" it ( as I have done numerous times to my devices)...
With that out of the way I have to say that I want to modify my settings APk not for aesthetic but for practical purposes. See I have written a basic script on tasker that doesn't play well with froyos settings.aPk (but it does in ICS or GB), I've tried to rewrite the script but i found a dead end which was what lead me to wish to modify the settings APk....
All I wanna do is -basically- to hide some options not actually *delete* them (i am aware what havoc that may cause...). So if there is any advice relevant to my case I would welcome it very much...

[Q] help with default skins

want to replace stock (default) skin in a rom with new one...tore apart framework-res.apk, tried to point to default through build.prop for installed apk...they will show up after rom boots as an option but still wont load as default, probably missing something simple, but can someone point it out?
jhawk1302 said:
want to replace stock (default) skin in a rom with new one...tore apart framework-res.apk, tried to point to default through build.prop for installed apk...they will show up after rom boots as an option but still wont load as default, probably missing something simple, but can someone point it out?
Click to expand...
Click to collapse
look in the last few pages of the theme help thread linked in my sig. It's a build prop edit, something like "sys.persist.skin=exactnameofskin.apk"
thank you, found that and did it already, but appears something's blocking it, going to read over ALL your stuff though, sure I can locate it in there somewhere, thanks again!
Did some more digging...literally...found the exact name, or so I think, buried in the manifest.xml, added that to the persist.sys.skin line and the colors in the backgrounds are coming up, but no lockring or wallpaper, thinking I'm getting closer but still lost...also wondering how to point at a different default theme...Ie music vs sprint, but have to get through this hurdle first :S

Categories

Resources