Change default settings? - Android Q&A, Help & Troubleshooting

Hi there,
I was wondering if it is possible to set default settings i.e. ringtones, backgrounds etc?
thanks!

i think it is in the build.proc too. but i'm not sure....

Yes it is thanks!

I assume there was a typo in the 1st reply andit was really 'build.prop' you meant?
I am also trying to set some defaults in my ROM but changing the entries in the build.prop didn't change the default ringtone and notification sound. I am wondering if this is a theme thing and it gets overwritten when the default theme is activated?
I changed these lines in build.prop:
ro.config.ringtone=voodoo.mp3
ro.config.notification_sound=Weight.mp3
And neither were set in my ROM after I wiped and flashed.
Any ideas?
Andy

ADB100 said:
I assume there was a typo in the 1st reply andit was really 'build.prop' you meant?
I am also trying to set some defaults in my ROM but changing the entries in the build.prop didn't change the default ringtone and notification sound. I am wondering if this is a theme thing and it gets overwritten when the default theme is activated?
I changed these lines in build.prop:
ro.config.ringtone=voodoo.mp3
ro.config.notification_sound=Weight.mp3
And neither were set in my ROM after I wiped and flashed.
Any ideas?
Andy
Click to expand...
Click to collapse
That is how you set the defaults. I would make sure names are correct.
Sent from my SGH-I777 using xda premium

lithid-cm said:
That is how you set the defaults. I would make sure names are correct.
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
That's what I thought but the mp3 files are there in the ROM and I can select them if I wish to change the sound manually - the Weight.mp3 file is a standard one that is included by default, voodoo.mp3 is one I have added. However following a wipe and re-flash the ringtone defaults to QuietlyBrilliant.mp3 and the notification to Zeta.mp3.
There must be something else that gets involved?
Andy

ADB100 said:
That's what I thought but the mp3 files are there in the ROM and I can select them if I wish to change the sound manually - the Weight.mp3 file is a standard one that is included by default, voodoo.mp3 is one I have added. However following a wipe and re-flash the ringtone defaults to QuietlyBrilliant.mp3 and the notification to Zeta.mp3.
There must be something else that gets involved?
Andy
Click to expand...
Click to collapse
I've always done it that way with cm. Where are you putting your files in your rom?
Sent from my PG86100 using Tapatalk

netwokz said:
I've always done it that way with cm. Where are you putting your files in your rom?
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
I am only adding one audio file (the ringtone), the other file is one that's already in the ROM. I am adding the ringtone to /system/media/audio/ringtones.
I re-checked my syntax and that the files were all there, built another ROM and it now works. I am wondering if I didn't wipe the system properly (or at all) last time I flashed.
So anyway its working now.
Thanks, Andy

ADB100 said:
I am only adding one audio file (the ringtone), the other file is one that's already in the ROM. I am adding the ringtone to /system/media/audio/ringtones.
I re-checked my syntax and that the files were all there, built another ROM and it now works. I am wondering if I didn't wipe the system properly (or at all) last time I flashed.
So anyway its working now.
Thanks, Andy
Click to expand...
Click to collapse
Cool. Glad you got it working man.
Sent from my PG86100 using Tapatalk

Related

Auto brightness

Does anyone know what files in the framework (I'm guessing) need to be edited to adjust the auto brightness settings?
Sent from my ADR6400L using XDA Premium App
values/arrays.xml in framework-res.apk. you'll see the brightness levels towards the bottom of the xml
Thanks, but I don't see a values folder. Or even an arrays.xml in any folder.
Sent from my ADR6400L using XDA Premium App
cmo220 said:
Thanks, but I don't see a values folder. Or even an arrays.xml in any folder.
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
you have to decompile the apk first. You have to use apktool to decompile it. It is a process. http://code.google.com/p/android-apktool/
Once you decompile the apk.. you'll see the Values folder with the xml files.
follow the instructions from the above link. After installing the required tool files, install the framework file (there is instructions on how to do that in the link).. and then decompile the framework-res.apk file.
or use apk manager
Ok, I'll try that, I can pretty much only use my computer at work for internet so I'll have to do that when I get home. I have both of those on my computer already. Thanks.
More info here, but for a different phone.
Alright, so I've found and edited the file. But when I try to put back on the framework my phone won't boot. I've never really had good luck with these apk programs. I've tried it with and without signing. I've tried it with and without deleting the resources.arsc file. And I've tried adb pushing and trying it in a zip file. Anyone have any ideas what I might be doing wrong? Should I maybe use a different compression level? I'm out of ideas. Thanks.
BAMF roms have auto brightness tweaked.
Keep in mind though, it does have some side effects, such as slow to resume to correct brightness if you tap the screen when it dims, just before shutting off.
adrynalyne said:
BAMF roms have auto brightness tweaked.
Keep in mind though, it does have some side effects, such as slow to resume to correct brightness if you tap the screen when it dims, just before shutting off.
Click to expand...
Click to collapse
Yeah, your ROMs and and Perfect Storm ROMs is where I got the idea. I'm trying to learn about these things. I have my framework set up in a way that I really like it for now, on your Stripped ROM. I've been trying to get this thing set up exactly how I like it. For now I just want to adjust that and then figure out 1 or 2 other things, then I think I'm set. The only other thing I can think of right now is the text color in the pulldown menu.
Hey adrynalyne. I'm sorry for being an ass over on the GPS thread. Will you please come back.
I just have the stomach flue and I was wrong to be so dismissive. If you can help us, please come back. I'll answer all the questions you want to ask without being a smartass.
It looks like the app you recommended worked for some already, and if you know how to sort though a logcat for android, you are much better suited to help than anyone so far (including myself by far..)
cmo220 said:
Alright, so I've found and edited the file. But when I try to put back on the framework my phone won't boot. I've never really had good luck with these apk programs. I've tried it with and without signing. I've tried it with and without deleting the resources.arsc file. And I've tried adb pushing and trying it in a zip file. Anyone have any ideas what I might be doing wrong? Should I maybe use a different compression level? I'm out of ideas. Thanks.
Click to expand...
Click to collapse
Do not resign the apk. Instead copy the android manifest and META-INF folder from the original apk. Then push in adb.
That should work.
Sent from my ADR6400L using XDA App
kriskmk said:
Do not resign the apk. Instead copy the android manifest and META-INF folder from the original apk. Then push in adb.
That should work.
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Sweet! It finally worked. Now I just need to find the settings I like.

Ringtone reverting to default..

Has anyone had an issue with their Ringtone reverting to the default one after a couple of days. I've reassigned the Ringtone multiple times and each time it reverts back. I check the file and the Ringtone is still there but it's no longer the default. I'm puzzled as to why this is and thought I'd throw it out there to see if anyone else had experienced this.
Sent from my ADR6400L using XDA Premium App
Nevermind....apparently the ringtone resets on reboot. Lame!!
So far, my experience is that if you Boot into CWM and clear the Cache/Dalvik then your ringtone resets back to default. I've restarted my phone numerous times and havent experienced it reverting to default, but any time i mess around in CWM, that's when it happens for me.
Just my two cents.
lrs421 said:
Nevermind....apparently the ringtone resets on reboot. Lame!!
Click to expand...
Click to collapse
You can take your ringtone and put it with the ringtones with root explorer in /system and edit the build prop to see you specific ringtone as default regardless if you wipe cache
>--The Game--<
lrs421 said:
Nevermind....apparently the ringtone resets on reboot. Lame!!
Click to expand...
Click to collapse
I had this happen when i used zedge, i just copied the files out of the zedge directory to a different spot then used that location to set the ringtones
superchilpil said:
You can take your ringtone and put it with the ringtones with root explorer in /system and edit the build prop to see you specific ringtone as default regardless if you wipe cache
>--The Game--<
Click to expand...
Click to collapse
I thought of that too, but this was for my boss and his phone isn't rooted. Its strange they would do this.
Sent from my Xoom using XDA Premium App

[Q] help setting up tab mode apps

I gave it a try last night and flashed rc4 over my rc1 (full wiping of course) when it booted it seemed real smooth but had rather large icons, assuming that's how its supposed to be. I than flashed enable 213 that I downloaded before (not sure if I could have done that) after it booted my icons where twice the size, status bar was huge and keyboard was crazy wacky. Ive read that most if not all of these issues can be fixed with changing the dpi settings. Can anyone take a few minutes and give me a hand setting it up, not sure how to edit apps and such. I basically would like my phone looking like how it does on rc1 running at 213 but would like a few apps to be adjusted to a higher level (reading purposes) thanks.
Sent from my SAMSUNG-SGH-I717 using xda premium
I guess I just need to know how to adjust app and system dpi. I think I can do it in root explore data/app and change the name...not sure if that's right.
Sent from my SAMSUNG-SGH-I717 using xda premium
nash2000 said:
I guess I just need to know how to adjust app and system dpi. I think I can do it in root explore data/app and change the name...not sure if that's right.
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
please please please read through the OP of The Hybrid rom thread, it explains what you need to change, and how to change it.
it all comes down to editing the build.props and the hyb.props in your system folder.
e30andrew said:
please please please read through the OP of The Hybrid rom thread, it explains what you need to change, and how to change it.
it all comes down to editing the build.props and the hyb.props in your system folder.
Click to expand...
Click to collapse
I've read it several times...I guess I just don't get it and when you don't really get it I guess the best thing is to walk away. I guess its not as easy as finding an app you want to change and rename it in the correct format with the dpi you want
Sent from my SAMSUNG-SGH-I717 using xda premium

Help changing apn.xml?

I'm on a VM Evo 3D (Evo V 4G), and I'm trying to get MMS working on this Sense 4 ROM. The default MMSC settings inside the native Messaging app is grayed out, so I can't change them from there. I can't use APN changer, since ICS blocks 3rd party apps from accessing APNs.
So my only option was to edit /framework-res.apk/res/xml/apn.xml. Decompiled with apktool, and edited the apn.xml. But when I compiled it again, it does this weird thing where it soft reboots. I can see the UI for a few seconds, and then it goes back to the HTC bootlogo. UI seems to work fine, but it only stays for a few seconds. Help? Also, I signed it with Signapk.
*EDIT*
Solved! You have to decompile it, copy the META-INF and AndroidManifext.xml from the original (compiled) framework, change necessary apn.xml content, recompile, sign with signapk, push it to /system/framework, chmod 644, reboot into recovery, and then do a FULL data wipe. Note- FULL. Wiping just Dalvik and cache WILL NOT WORK.
**EDIT**
I'm attaching my framework-res.apk to this post. THIS WILL ONLY WORK IF YOU'RE RUNNING THE SENSE 4 ROM LINKED ABOVE. Push to /system/framework, chmod 644, reboot into recovery, and then wipe ALL data/cache.
thattypicalnerd said:
I'm on a VM Evo 3D (Evo V 4G), and I'm trying to get MMS working on this Sense 4 ROM. The default MMSC settings inside the native Messaging app is grayed out, so I can't change them from there. I can't use APN changer, since ICS blocks 3rd party apps from accessing APNs.
So my only option was to edit /framework-res.apk/res/xml/apn.xml. Decompiled with apktool, and edited the apn.xml. But when I compiled it again, it does this weird thing where it soft reboots. I can see the UI for a few seconds, and then it goes back to the HTC bootlogo. UI seems to work fine, but it only stays for a few seconds. Help? Also, I signed it with Signapk.
Click to expand...
Click to collapse
Hmmm. You've probably tried this but maybe wipe cache and dalvik from recovery?
Sent from my EVO using Tapatalk 2
After you recompiled it did you pull the new apn.xml and put it in the original framework-res.apk or did you try using the new apk it generated when you recompiled it
After you recompile it just take the apn.xml and put it in the original framework-res.apk don't sign it or anything
or you can change it using your epst settings. ##3282# then a then type in your msl then go to advanced then MMSC Settings and then type in your apn settings
thattypicalnerd said:
I'm on a VM Evo 3D (Evo V 4G), and I'm trying to get MMS working on this Sense 4 ROM. The default MMSC settings inside the native Messaging app is grayed out, so I can't change them from there. I can't use APN changer, since ICS blocks 3rd party apps from accessing APNs.
So my only option was to edit /framework-res.apk/res/xml/apn.xml. Decompiled with apktool, and edited the apn.xml. But when I compiled it again, it does this weird thing where it soft reboots. I can see the UI for a few seconds, and then it goes back to the HTC bootlogo. UI seems to work fine, but it only stays for a few seconds. Help? Also, I signed it with Signapk.
Click to expand...
Click to collapse
You want the "apns-conf.xml" file in /system/etc I beleive that will make the edit you want.....I did that on newt's sense 4 rom for my boostmobile mms
Just edit the text then reboot
ssojyeti2 said:
Hmmm. You've probably tried this but maybe wipe cache and dalvik from recovery?
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
I tried that, but thank you for having pointed me in the right direction! I managed to get it working ^_^ Needed a full data wipe lol. Rocking MMS on VM and Sense 4! Aw yeah!
jtheis23 said:
After you recompiled it did you pull the new apn.xml and put it in the original framework-res.apk or did you try using the new apk it generated when you recompiled it
After you recompile it just take the apn.xml and put it in the original framework-res.apk don't sign it or anything
or you can change it using your epst settings. ##3282# then a then type in your msl then go to advanced then MMSC Settings and then type in your apn settings
Click to expand...
Click to collapse
Managed to get it working, as stated above, but one clarification- no MMSC settings were shown anywhere in the EPST menu.
louforgiveno said:
You want the "apns-conf.xml" file in /system/etc I beleive that will make the edit you want.....I did that on newt's sense 4 rom for my boostmobile mms
Click to expand...
Click to collapse
This one works too. I also tried messing with that too, but couldn't find out how to decompile it...
louforgiveno said:
You want the "apns-conf.xml" file in /system/etc I beleive that will make the edit you want.....I did that on newt's sense 4 rom for my boostmobile mms
Click to expand...
Click to collapse
Yeah but sometimes you got to change both I'm on cricket and if they don't match I still cant send mms. Weird I know but that's the only way I could get it to work on viper Rom however on chubbz rom all I need to do is change it in through epst
On android forums there is already one ported to EVO v with working mms
Sent from my HTC One S using xda premium
jmztaylor said:
On android forums there is already one ported to EVO v with working mms
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
If it's the EvoVille one, it's a heck of a lot less stable... oh! And I'm going to upload my framework-res.apk to the OP, just in case anyone else wants it.
thattypicalnerd said:
This one works too. I also tried messing with that too, but couldn't find out how to decompile it...
Click to expand...
Click to collapse
I'm pretty sure that one doesn't need to be decompiled to edit...
thattypicalnerd said:
If it's the EvoVille one, it's a heck of a lot less stable... oh! And I'm going to upload my framework-res.apk to the OP, just in case anyone else wants it.
Click to expand...
Click to collapse
No there is another one. The evoville is mine and that port was done in a couple hours. It only needs a little bit more work.
Sent from my HTC One S using xda premium
ssojyeti2 said:
I'm pretty sure that one doesn't need to be decompiled to edit...
Click to expand...
Click to collapse
It does. Showed up with a bunch of NULL characters in Notepad++.
jmztaylor said:
No there is another one. The evoville is mine and that port was done in a couple hours. It only needs a little bit more work.
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
Link?
thattypicalnerd said:
It does. Showed up with a bunch of NULL characters in Notepad++.
Link?
Click to expand...
Click to collapse
It's like 4 pages deep. Also the apns-conf.xml in etc is not used in sense. Only the one in framework-res is used
Sent from my HTC One S using xda premium

Modify build.prop?

So, I am unlocked, rooted, and have the unsecure kernel installed. I'm having trouble modifying my build.prop though. I've tried pushing a modified build.prop through ADB while in recovery, but the changes don't take. Any suggestions?
Never mind. Solved my own problem. Not sure which did the trick, but I mounted System in TWRP, pushed my file, and then did a CHMOD 755 from TWRP on the file... That worked. Yay!
What did you change in the build. prop?
I am trying to get google wallet to work.
Sent from my HTC6435LVW using xda premium
nev310 said:
What did you change in the build. prop?
I am trying to get google wallet to work.
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
I was only changing the LCD Density. But my difficulty was just in getting the file modifications to stick, so if all you are trying to do is make a change, the above method will make it stick.
SolusCado said:
I was only changing the LCD Density. But my difficulty was just in getting the file modifications to stick, so if all you are trying to do is make a change, the above method will make it stick.
Click to expand...
Click to collapse
Yes something with the phone won't allow to write to the system even with root. So mounting system in twrp is the only way until s-off.
Try deleting the current build.prop then push the new one. I've heard that works.
Sent from my HTC6435LVW using xda app-developers app
SolusCado said:
I was only changing the LCD Density. But my difficulty was just in getting the file modifications to stick, so if all you are trying to do is make a change, the above method will make it stick.
Click to expand...
Click to collapse
Did your LCD Density modifications work? If so, is this to make the resolution smaller on the screen? I hate how big the font and everything is even when the font is set to 'Small'
I'm also interested to hear if you were successfully able to modify the build.prop and change the density. I love this screen but it almost looks like an HDTV with a PC plugged in running at 648x480 resolution!
JWhetstone02 said:
Did your LCD Density modifications work? If so, is this to make the resolution smaller on the screen? I hate how big the font and everything is even when the font is set to 'Small'
Click to expand...
Click to collapse
PsyberEMT said:
I'm also interested to hear if you were successfully able to modify the build.prop and change the density. I love this screen but it almost looks like an HDTV with a PC plugged in running at 648x480 resolution!
Click to expand...
Click to collapse
Yes, it worked. The precise steps are as follows:
Copy your build.prop to a location where you can edit it and locate the ro.sf.lcd_density entry. The default value is 480. I have mine set to 370. The lower the number, the smaller your text. Save this file to your computer.
Boot into Recovery.
Within Recovery, mount the System partition. In TWRP, this is under the "Mount" button.
Use ADB to push the modified file into the system partition. You don't need to delete the existing build.prop first. From you command prompt on your computer, this would be "adb push 'file path/name of modified file' /system/build.prop".
I don't know if this step is required, but I used TWRP's file manager to browse to the system\build.prop file, and then ran CHMOD 755 on it.
Reboot into Android, and the new changes should have taken effect.
May we see a screenshot?
Sent from my HTC DNA using Tapatalk.
karn101 said:
May we see a screenshot?
Sent from my HTC DNA using Tapatalk.
Click to expand...
Click to collapse
Sure. A couple screenshots are attached.
Any weird visual issues with apps or anything?
suzook said:
Any weird visual issues with apps or anything?
Click to expand...
Click to collapse
No, and that's where I'm impressed with the latest Sense. It handles the adjustment much better than prior versions. It maintains its scaling in a lot of places despite my DPI changes - which preserves the integrity of its layout at the expense of taking advantage of the new DPI. And I'm okay with that, because it means I can keep the components I like without any "weird visual issues" and still use other apps that scale appropriately.
Had to bring it back up. I have changed my density, and I love it. but I noticed that not everything is scaled down. Is this the case for those of you that have successfully done this as well?
I have noticed that the htc messaging app, keyboard and the pulldown notification menu is not resize.
Also apps like the flashlight app in the CODIS rom is skewed as well as other apps.
Is this a problem that can be corrected or just have to deal with it?
JWhetstone02 said:
Had to bring it back up. I have changed my density, and I love it. but I noticed that not everything is scaled down. Is this the case for those of you that have successfully done this as well?
I have noticed that the htc messaging app, keyboard and the pulldown notification menu is not resize.
Also apps like the flashlight app in the CODIS rom is skewed as well as other apps.
Is this a problem that can be corrected or just have to deal with it?
Click to expand...
Click to collapse
At least for the messaging app you can just pinch to make it smaller.
Sent from my GT-P7510 using xda app-developers app
Bigandrewgold said:
At least for the messaging app you can just pinch to make it smaller.
Sent from my GT-P7510 using xda app-developers app
Click to expand...
Click to collapse
Yea, but I still prefer it to go smaller lol. It's still too big
JWhetstone02 said:
Yea, but I still prefer it to go smaller lol. It's still too big
Click to expand...
Click to collapse
Well I think all you can do is setting system font to small then pinching it to as small ax possible.
Sent from my HTC6435LVW using xda app-developers app
SolusCado said:
Sure. A couple screenshots are attached.
Click to expand...
Click to collapse
That's awesome. I may have to try that. Good job and thanks for the directions.
I'm also interested to hear if you were successfully able to modify the build.prop and change the density.:P
faner said:
I'm also interested to hear if you were successfully able to modify the build.prop and change the density.:P
Click to expand...
Click to collapse
Oh this mod works. Just follow the OPs steps.
My concern was a few apps not resizing. See screenshots
-HTC Droid DNA-

Categories

Resources