I was looking around for how to disable this annoying feature, and it's based around the same problem previous phones have... it's just moved.
1. Navigate to "/system/vendor/etc" and create a backup of the file "audio_ext_spkr.conf"
1.5. Seriously back it up just in case.
2. Now, use whatever method you want to get R/W access
3. Under "ring" sub-group, change the "attenuation" from the jumble of numbers to
Code:
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3.5. You can modify the "media" and "voice" to the same value as well if you want, but it's (most likely) the "ring" sub-group you want.
I don't know how to make a flashable zip, but I can't be anymore simple than this.
great work
Related
Hey all,
I am a UK vodafone customer, using an ADP G1. I currently use the JF 1.5 ADP build, and I am mostly happy with it, apart from a few things.
What I would like to do, is take the ZIP of the build and remove/tweak a few things where possible. As an example, change the dial string to be UK, add a few of my favorite apps/widgets, remove any apps I don't use etc. Nothing major.
Is it simple to do this, as I have read a lot about signing stuff and I am honestly quite confused. I am not stupid when it comes to software, but I just cant find a single resource of information to help me do what I want to do.
Could anyone offer some advice on how to go about the above, and if its easy enough then maybe we could sticky it.
Sorry if I am asking an FAQ - I did search and couldn't find anything helpful.
Rich
I'm interested in this too, but I'd base mine on the european holiday phone build which I'm currently running unmodified
if you unpack the update.zip you can change whatever you like. Then all you need to do is to zip it backup and sign it with instructions in this post.
http://forum.xda-developers.com/showthread.php?t=443713&page=21
I don't know what dial string you are refering to so I don't know about that. If you want to change specific things in the apps or appearance, then it can get complicated, you'll need to open up the apk file and use an hex editor to figure out what you want to change and change it. This is of course not so easily because most of the values that you want to change is in binary so just figuring out what string is store where is not simple.
signing is just to make sure the update.zip is not modified by a third party. we have to sign because the program that does the update verifies the signiture.
but unless you want to publish your builds, it's not necessary to modify the update.zip. just remount the system partition after the flash and do whatever changes you like.
i am afraid you have to get the source code for the phone app if you want to change the number format, but a simpler alternative is to use similar files from other builds. (there are plenty of posts explaining this.)
if you want to modify some resources (e.g. icons) of the an app, it's easy enough to do. just change the .apk extension to .zip and update the files using some archiever. but changing the UI or program function usually requires you to obtain the source code.
The phone number format contains '-' in america but not in europe. The nearest we have to the adp firmware in europe is the holiday firmware where the dailer has the correct format.
What I really want to do is add back in root so I can setup my work wifi. I think I should be able to do it so I may have a go this weekend.
Hi.
I'm wondering if anyone knows a good app that alerts you like "You've got mail" "Incoming message."
If you've ever owned iPhone, I think you'd know what I'm looking for when I say "Crystal Voice." This was such a great app. Nice voice and professional.
I suppose it's possible to repackage the sound files from Crystal Voice and make it into a sound set for Android instead, but I'm not smart enough to do that lol.
I'd appreciate any input on this. I'm more and more loving my Android
GT
If I'm not mistaken Vlingo is a good alternative.
Sent from my illmatic Inspire 4G / Desire HD
Thanks for the tip. It looks like an interesting program.
Unfortunately, I'd rather keep my phone light and don't want to install a heavy program like that for my small purpose.
I ended up just doing it myself. In case, anyone is interested, here is what I did.
1. I extracted the sound files I wanted from iPhone (in this case, Crystal Voice). You can get whatever sound files you want.
2. Convert them into mp3 files.
3. Put them on your phone's sdcard
4. Use Root Explorer (or other softwares) to move them into desired directories:
System/Media/Audio/Notifications
System/Media/Audio/Ringtones
System/Media/Audio/UI
I think it's supposed to work then, but I had some trouble with the sound files not showing up, so I took the following steps.
5. Use ADB to change ownership of the files. "chown root.root filename"
6. Set permission to same as other stock sound files (you can easily check and compare through Root Explorer)
7. Restart your phone.
*In order to make some of those changes, you need to make sure to put your phone in debug mode. When you use ADB and use "su," make sure you have Superuser app running then choose allow.
*For UI files: For UI file, you need to rename your custom sound file to the exact same name and replace it.
Why should you bother?
lol, maybe you don't need to, but here are my reasons:
- I don't want to install 3rd party software because I want to keep my phone light. If I keep relying on 3rd party softwares, soon I'll be clogging my phone with too much stuff, slowing it down eventually and taking up space.
- With this method, the sound files become part of the ROM itself. This means, I can make a backup of this ROM, and whenever I do restore, I don't need to reset the sounds because they will be there as default sounds already set.
- Just for the fun and learning purpose. I'm new to Android, so it's good for me to experiment and learn tricks
I hope this is helpful to some people. If anyone want the sound files from Crystal Voice, let me know. I can share them with you.
GT
I would greately appreciate it if you could send me the sound files from Crystal Voice?
dudewitdashoes said:
I would greately appreciate it if you could send me the sound files from Crystal Voice?
Click to expand...
Click to collapse
Sure. I might as well make it available here for others too rather than responding to each request.
http://www.megaupload.com/?d=UDCBZSA8
Some notes!
- I didn't make them. Crystal Voice is a free sound theme in iPhone. The credit goes to its author. I merely converted them to make them compatible with Android.
- You have to manually replace the files. Chown may not be neccesary as some sound files worked without that step.
- ACCESS GRANTED: I really love this unlock voice. HOWEVER, it turns out that Android uses the same sound for when you submit things on the internet (e.g. when you click on search) and when you pull or dismiss the keyboard. In other words, your phone will say "Access granted" many times. I gave up on using this sound because that's just annoying and weird. (Instead, I am using a Lion's roar sound, which is cool for both unlocking and browsing experience). I suggest you find your favorite sound for it too (maybe a puppy? lol).
I hope this is helpful,
GT
I seem to remember a app like this on a older CyanongenMod, but can not for the life of me remember what it was called. I am trying to clean up a bit of space, and my menu of unwanted items. I know there is the simple hide it method, but I would rather just remove it all together. So I just need something to tell me which menu entry corresponds to which apk file.
Dev Tools is what I was looking for, I feel blind, as it was there in front of me the whole time.
This tutorial will show you how to setup your device as admin and configure other user profiles (this is important when you're not the owner). Your device maker disabled multiuser functionality in Kitkat, like on my Lenovo Tab 2 A10-70L? - then this for you. At least, that's where this procedure is tested on. Afaik, this should work on Lollipop too. But will it work for your device? - No clue, you tell us!
Basically it's an accumulation of what I've read here (thanks again) and my personal experience as a noob myself.
So far, this guide is incomplete and I'm hoping for some pro tipps to perfect it. Please help me sort out the unclear parts highlighted in red and I'll update this post accordingly. The sooner the better, because this actually is not my device and someday soon I'll have to pass it over to my mom since it's my present to her, I'm only setting this slab up...
Preconditions:
Android treats the first account created as "owner". Only owner will have root privileges if installed accordingly (=admin).
Root permission and a file manager (e.g. ES File Explorer) are required for this fix so go get that first. For the Lenovo Tab 2 A10-70L, I followed this beautiful guide, besides that, I can't help much here.
Unable/uninstall all bloatware (I was adventurous with Titanium Backup with no probs so far, but some crap remained from looking at new user folders; still in search of a vendor/device-specific "save to remove" list)
Install ALL apps you and the other users suppesdly need. This will avoid the need to redownload and reinstall all the apps for each and every user wasting storage. Think thrice, usually it'll be more than desired, but better you do it instead of a DAU... Each user will be able to install apps later though. Full control over user restrictions can be applied for "guest profile" only.
Steps:
In file explorer, go to /system/ and open build.prop
Check if you have anything like the below text (you shouldn't, otherwise edit accordingly) and add these lines at the end of it:
Code:
# Multi Users
fw.max_users=[COLOR="DarkGreen"]X[/COLOR]
fw.show_multiuserui=1
Replace X with your desired digit (up to 7?)
(I've read somewhere that 7 users is maximum that system can handle, but I haven't tried)
Save, reboot and log in as "owner" (your profile)
Go to Settings>Device and say hello to new item "Users"
Create new users and/or a guest profile (important: write down the order in which you created them!)
All new user profiles are now shown as "new user" no matter what you wrote in the profile properties (only guest will be shown as "guest"). Mind you, this also applies for the lockscreen!
In file explorer, go to /data/system/users/ to find your users' folders containing some system files (what exactly?) Now guess what - the order of the numbered folders and #.xml files match the order you created them. "0" is you, the owner.
Open each .xml file and replace "Owner" with "Your Name" and "New user" with "Username"
Put the device to sleep, trigger lockscreen and log in to each user profile and
Pull down shortcut menu from top right and enable autorotate
Go to Settings>Users>Security, check all settings and note each unlock-code
Disable background services like sync, location, etc. that could potentionally drain battery where applicable
Rinse & repeat 8) for all new profiles
Install "Multi-User App Share" and set apps per user. (Or is there a newer app or more hackish approach without the need for xposed or compiling stuff etc.?)
= DONE =
If you want the user icon in status bar, follow http://forum.xda-developers.com/gal...-users-mod-t3017782/post58659868#post58659868 (haven't tried that ).
Well... build.prop fixes are working, at least for me. It's good alternative to multi-user app from Xposed (we don't want to use Xposed too much...).
Still tried with decompiling & compiling framework for fixing icon problem, and... in framework-res there is not status_bar_expanded_header.xml file, se we are in deep ****.
I am working on: LP
DISABLE PRESIDENTIAL/ CMAS ALERTS-ALL COUNTRIES
I'd like to say the original post about how to do this is here: https://forum.xda-developers.com/showthread.php?t=1829681
This is an easier, alternative method that only takes a few minutes. Since September 20Th 2018 is closing upon us fast, here is a method to get rid of the emergency broadcasts.
DISCLAIMER:
Always have your phone backed up in TWRP and also for safety one should create a copy of the XML file being addressed. I am not responsible if you brick your phone. (Luckily with this method it is near impossible to do so).
NEEDED:
-Rooted Android
-Quick Edit Text Editor (https://play.google.com/store/apps/details?id=com.rhmsoft.edit)
GUIDE:
-download quick edit and open the application
-in the app, select internal storage
-go to the parent directory "/ "
-go to "data" then "user_de" then "0" then "com.android.cellbroadcastreceiver" then "shared_prefs"
-open the file "com.android.cellbroadcastreceiver_preferences.xml"
-change presidential value to "false" and whatever else you'd like to be changed
-press back button and save changes
-restart your phone
(Some phones may not have the file in that specific directory. If not refer to the original guide).
This method was tested on a Moto Z2 Play US Retail edition running 8.0.
Please keep the ethics of whether one should disable this feature or not out of this forum. Thanks
PICTURES:
https://ibb.co/fNQwqU
https://ibb.co/h16Ec9
https://ibb.co/iue0H9
Also this can be done with an unrooted phone but you'll need to edit the file on the computer and save it that way.
ihateverizon1 said:
DISABLE PRESIDENTIAL/ CMAS ALERTS-ALL COUNTRIES
I'd like to say the original post about how to do this is here: https://forum.xda-developers.com/showthread.php?t=1829681
This is an easier, alternative method that only takes a few minutes. Since September 20Th 2018 is closing upon us fast, here is a method to get rid of the emergency broadcasts.
DISCLAIMER:
Always have your phone backed up in TWRP and also for safety one should create a copy of the XML file being addressed. I am not responsible if you brick your phone. (Luckily with this method it is near impossible to do so).
NEEDED:
-Rooted Android
-Quick Edit Text Editor (https://play.google.com/store/apps/details?id=com.rhmsoft.edit)
GUIDE:
-download quick edit and open the application
-in the app, select internal storage
-go to the parent directory "/ "
-go to "data" then "user_de" then "0" then "com.android.cellbroadcastreceiver" then "shared_prefs"
-open the file "com.android.cellbroadcastreceiver_preferences.xml"
-change presidential value to "false" and whatever else you'd like to be changed
-press back button and save changes
-restart your phone
(Some phones may not have the file in that specific directory. If not refer to the original guide).
This method was tested on a Moto Z2 Play US Retail edition running 8.0.
Please keep the ethics of whether one should disable this feature or not out of this forum. Thanks
PICTURES:
https://ibb.co/fNQwqU
https://ibb.co/h16Ec9
https://ibb.co/iue0H9
Also this can be done with an unrooted phone but you'll need to edit the file on the computer and save it that way.
Click to expand...
Click to collapse
Trying this on my Nexus 5 (Hammerhead D821) and while I can find and edit the file, it looks like the line pertaining to presidential alerts is missing.
Should I edit it in and set it to false?
Also, when I rebooted and checked the Emergency Alerts config in the Settings app, the boxes were still checked/active.
The new values re-enable themselves upon rebooting.
Any thoughts on how to make them permanent?
Update from my previous post: I've used Titanium Backup to freeze Cell Broadcasts and then an su terminal to remove /system/system/priv-app/CellBroadcastReceiver/CellBroadcastReceiver.apk completely. Confirmed the .apk file did not come back after reboot.
Do the XML files still need to be edited? I couldn't find the files in the original path, I had to go elsewhere and unfortunately did not write down where I found them (there were 2 XML preference files.)
Also, fossils-n-dents definitely deserves an answer. I don't mean to try to draw attention away from his/her question.
What ELSE can they do with carrier authorisation for WEA?
We had the "Presidential" Wireless Emergency Alert go USA-wide on 03 October (I'm roaming from Europe so this was a big shock). I'm less concerned with how to disable alert messages than any back door that WEA compatibility might provide carriers to manipulate the phone beyond sending a 90-character text-only message.
Can anyone post evidence that com.android.cellbroadcastreceiver & other service apps don't provide an opportunity for the carrier to control, shut down, commandeer or enable surveillance on the phone? FYI I'm not an Android developer but can read code & comments, I just don't know where to look....
CelticWhisper said:
Update from my previous post: I've used Titanium Backup to freeze Cell Broadcasts and then an su terminal to remove /system/system/priv-app/CellBroadcastReceiver/CellBroadcastReceiver.apk completely. Confirmed the .apk file did not come back after reboot.
Do the XML files still need to be edited? I couldn't find the files in the original path, I had to go elsewhere and unfortunately did not write down where I found them (there were 2 XML preference files.)
Also, fossils-n-dents definitely deserves an answer. I don't mean to try to draw attention away from his/her question.
Click to expand...
Click to collapse
Since you are using titanium Backup, why don't you just backup and uninstall cell broadcasts 9 app?
rphair said:
We had the "Presidential" Wireless Emergency Alert go USA-wide on 03 October (I'm roaming from Europe so this was a big shock). I'm less concerned with how to disable alert messages than any back door that WEA compatibility might provide carriers to manipulate the phone beyond sending a 90-character text-only message.
Can anyone post evidence that com.android.cellbroadcastreceiver & other service apps don't provide an opportunity for the carrier to control, shut down, commandeer or enable surveillance on the phone? FYI I'm not an Android developer but can read code & comments, I just don't know where to look....
Click to expand...
Click to collapse
Cell broadcast receiver has no permission to use anything except (send and receive SMS messages).