[FIX] Ambiental Microphone issue - mixer_paths.xml - ONE General

Hi everyone,
I was having problem with my ambiental microphone: while in speaker-mode the microphone was like muted.
I fixed the problem by playing out with some values in mixer_paths.xml (located in /system/etc/)
Here is the file: h ttp://d-h.st/1ED
To apply this patch to your OnePlus One follow this procedure:
Put the phone in adb mode (if you aren't rooted you must go into recovery and send commands by it - watch out, /system must be mounted!)
In your terminal write `adb push mixer_paths.xml /system/etc/`
Reboot the phone by writing `adb reboot recovery`
In case you mess up the permissions of the file:
- set them to 755
- chown them to root:root
Hope it can help someone
Have a nice day!

Just tried your fix. Didn't work though....I had this problem since sometime ...the mic is mute on speaker phone!

can you please elaborate what exactly have you done/changed before someone starts messing with system files?

The fix works !!!
Thanks!!!!

Related

Microphone volume

Hello.
Is there any way, that i can setup microphone volume. A lot of people tell me that they hardly can hear me and i have to talk loud to the phone, that they can hear me.
I'm using cyanogen mod (old one, before google attack )
skorp_jon said:
Hello.
Is there any way, that i can setup microphone volume. A lot of people tell me that they hardly can hear me and i have to talk loud to the phone, that they can hear me.
I'm using cyanogen mod (old one, before google attack )
Click to expand...
Click to collapse
I had this issue.
Here is the solution:
http://forum.xda-developers.com/showthread.php?t=568891
alpha7158 said:
This post contains all the info needed to fix the low microphone volume and low speaker volume issue on the HTC Magic/Sapphire after doing a CyanogenMod Rom installation.
I had this problem and looked everywhere on the internet to fix it. When I found the solution, it wasn't on this site.
If you are having this problem then here is a zip file containing everything you need to fix it:
http://www.divshare.com/download/8816179-10b
This contains all the tools you need from the SKD to do the fix + the phone drivers so that you don't have to faff about with it all.
Here is the HOW TO:
1)connect the android phone to the computer via usb, make sure debugging is enabled
2)have this mic fix folder somewhere on your computer. Take note of the address in the address
bar as you will need it later (e.g "C:\Users\Admin\Documents\mic_fix")
3)open the command prompt in windows (start>programs>accessories>command prompt or cmd)
4)navigate to the tools folder in the mic fix folder using the command prompt. CD is the
command to change directory. e.g:
cd C:\Users\Admin\Documents\mic_fix\tools
5)run the following commands one at a time:
adb remount
adb shell rm /system/etc/AudioPara4.csv
adb push AudioPara4.csv /system/etc/
adb shell reboot
6) Done!
Troubleshooting
if it says that it can not find the android device then use USBDeview to uninstall it from your pc.
Then unplug and replug it back in.
When windows detects new hardware, install it from the android driver folder.
to paste text into the command prompt you can not press ctrl+V, you have to right click on the mouse
and select paste
Make sure you unzip the mic_fix.zip file. The command prompt commands won't work on items within the zip file (I think)​
Click to expand...
Click to collapse
i second this solution it worked for me and now no complains
Thanks devs
technicolor said:
i second this solution it worked for me and now no complains
Thanks devs
Click to expand...
Click to collapse
that did not work for me.. any other ideas? i tried 3 diff .csv hacks... none worked...

AP2DP! Here is a fix.

After alot of researching. here is how to fix your bluetooth audio
How to fix bluetooth audio with 2.1
adb remount
adb shell
cd /etc/bluez
cp /etc/bluez/audio.conf /sdcard/audio.conf
mv audio.conf audio.conf.bak
leave terminal open
now edit audio.conf on ur sdcard with your favorite text editor
and make sure these setting look like this (and save it)
[General]
Enable=
Disable=Headset,Gateway,Source,Control,Sink
I actually have mine like this (mistake)..still works
[General]
Enable=
Disable=Headset,Gateway,Source
Disable=Headset,Gateway,Source,Control,Sink
now go back to the terminal or cmd (windows users) and type
cp /sdcard/audio.conf /etc/bluez/audio.conf
thats it. should work. wored for me with
Villain5.5.0 ROM
Thanks
enjoy!
tell me if it works for you!

Replacing the existing hosts with addfree

Problem writing /system/etc/hosts
Hi forum,
I have searched around the forum for advice regarding copying my own hosts file to my wildfire, but it wont work. I have used adb to transfer the file from computer, and used the terminal on the phone by directly getting it from the internet.
On the terminal i followed:
http://forum.xda-developers.com/showpost.php?p=3719090&postcount=6
where i get the error "cant open 'hosts' : Out of mermory"
and via the adb where i followed:
http://forum.xda-developers.com/showpost.php?p=6697366&postcount=2
where it gives the same error.
It might be me missing out on something but i cant figure out what i am doing wrong.
I am running CyanogenMod 6.1 stable 12/12-2010.
I hope someone have the time and help me figure this out.
Thanks in advance
Omorashi
Omorashi said:
Hi forum,
I have searched around the forum for advice regarding copying my own hosts file to my wildfire, but it wont work. I have used adb to transfer the file from computer, and used the terminal on the phone by directly getting it from the internet.
On the terminal i followed:
http://forum.xda-developers.com/showpost.php?p=3719090&postcount=6
where i get the error "cant open 'hosts' : Out of mermory"
and via the adb where i followed:
http://forum.xda-developers.com/showpost.php?p=6697366&postcount=2
where it gives the same error.
It might be me missing out on something but i cant figure out what i am doing wrong.
I am running CyanogenMod 6.1 stable 12/12-2010.
I hope someone have the time and help me figure this out.
Thanks in advance
Omorashi
Click to expand...
Click to collapse
Lolz , u were sooo close !!!!!
Reboot into Recovery , goto partitions menu and mount /system partition then use adb from ur computer
adb remount
adb push hosts /system/etc/hosts
adb reboot
should fix it (i recommend that you search for the new hosts file from adfree adblocker , also in the new Wildpuzzle Rom if your comfortable moveing files between roms before flashing)
Hope this helps
PS. Until AlphaRev comes out we dont have Read/write Access to the /system partition while the phone is running :-( (Google S-ON HTC Devices)
Splendid
Ok thanks, it works. I knew it was some sort of permission that was needed, which made me crazy. (I am new in this android world)
I just made it into a batch file, so it is is easy to update the hosts file as new comes along. This is also to make it easier for the next that comes along with my problem. It requires adb ofcourse.
By a local hosts file (can probably be made more user friendly, but it works for me):
Code:
@ echo off
echo Updating hosts file:
echo You need to have added the adb path to Environment variables,
echo Or placed this batch file in the directory with adb.
echo The hosts file should be in the same directory as this file.
echo After unpause are the phone started in recovery:
pause
adb reboot recovery
echo Waiting for device to reboot into recovery
echo After it is done rebooting do the following:
echo Go to partitions menu
echo Mount system (first option)
echo Unpause and the file gets overwritten:
pause
adb remount
adb push hosts /system/etc/hosts
echo Check if it is done correctly (the transfer).
adb reboot
pause
And by the way i used the updated hosts file on "external website" that was recommended in another thread i found about updating hosts file on this forum. (Cant post the direct link)

CM7.1 MyTouch Slide GPS fix

I am not a developer or even smart. I poked around until I found something that worked for me. Use at your own risk.
I rooted and installed CM 7.0.2 in the past and was pretty happy. When 7.1.0 came out I took the leap. Everything was great except for GPS. GPS did not connect at all. Nothing I did could bring it back other than going back to stock rom. After much frustration and fighting I have it working.
Many people said to make changes to the /system/etc/gps.conf. The problem I had was S-ON was preventing it and nothing I could find explained a work-around. Sorry if I missed it.
I am going to explain what I did to get it going.
Phone details:
- My phone is rooted and CM7.1 installed.
- S-ON
- GPS don't work (even after 30 minutes of waiting)
- Clockwork is on sdcard as update.zip (not permanent)
- Phone is connected to the computer (with adb installed and working)
Proceedure:
1. Unzip the gps.conf.zip file (attached) to the root of your sdcard
2. Turn off the phone
3. Press and hold the volume down and then press the power button
4. Choose "recovery" from the menu and press power (phone will reboot into recovery)
5. Press and hold volume up and press the power button (this may take a few seconds)
6. Choose "Apply sdcard:update.zip" and press power button (assumes clockworkmod is on the sdcard and named update.zip)
7. Choose "mounts and storage" and click the bottom middle button (trackball)
8. While mount /system is selected press the trackball. (sinkinglow suggested that you might need to mount /sdcard as well)
9. Switch to the computer now
10. At a command prompt (DOS) in the folder where adb.exe is located type "adb shell"
11. Type "cd /system/etc" (if you cant get in then you did not mount /system properly)
12. Type "cp /sdcard/gps.conf ."
13. Switch back to the phone.
14. Click the trackball again to unmount /system.
15. Click the back arrow (bottom right)
16. Choose "reboot system now"
Once the phone is back up, you should be all good.
GPS fix htc espresso
Is there anyway that you could maybe post a youtube video on how to do this, or send me a pm.I will give you my contact info.Maybe you could walk me through it.
ok im stuck at (12. Type "cp /sdcard/gps.conf .") i get this in cmd prompt :
C:\Users\Ryan>adb shell
~ # cd /system/etc
cd /system/etc
/system/etc # cp /sdcard/gps.conf
cp /sdcard/gps.conf
BusyBox v1.16.2androidminimal (2010-03-28 22:34:51 EDT) multi-call binary.
Usage: cp [OPTIONS] SOURCE DEST
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
Options:
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Force overwrite
-i Prompt before overwrite
-l,-s Create (sym)links
/system/etc #
then step 13/14 (14. Click the trackball again to unmount /system.) says on phone Error unmounting SYSTEM:!
confused on where to go in cmd prompt i think theres a step missing
Try this
Instead of "cp /sdcard/gps.conf", use :
"cp /sdcard/gps.conf /system/etc"
Worked for me and GPS locks within 15 seconds now.
boss2688 said:
ok im stuck at (12. Type "cp /sdcard/gps.conf .") i get this in cmd prompt :
C:\Users\Ryan>adb shell
~ # cd /system/etc
cd /system/etc
/system/etc # cp /sdcard/gps.conf
cp /sdcard/gps.conf
BusyBox v1.16.2androidminimal (2010-03-28 22:34:51 EDT) multi-call binary.
Usage: cp [OPTIONS] SOURCE DEST
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
Options:
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Force overwrite
-i Prompt before overwrite
-l,-s Create (sym)links
/system/etc #
then step 13/14 (14. Click the trackball again to unmount /system.) says on phone Error unmounting SYSTEM:!
confused on where to go in cmd prompt i think theres a step missing
Click to expand...
Click to collapse
Step 12 issue
I think what is being missed it the "." at the end of that comand. The "." is the second argument of the "cp" command and "." means the folder i'm currently in.
If you leave it out you are not telling the cp command where to put the file.
Sorry if I abandoned this post. It sat for weeks with no responses so I quit visiting. Hope it helped you guys out.
Is there anyway that you could post a youtube video on this process.I am missing something
---------- Post added at 05:18 PM ---------- Previous post was at 05:12 PM ----------
Maybe you could send me a pm.Then I could give you my contact info.we could go from there.I just really want to use cm7, but this GPS nonsense is keeping me from doing this.
Assumptions
I made a list of assumptions at the top of the post.
- My phone is rooted and CM7.1 installed.
- S-ON (not required but if you have S-OFF you don't need these instructions)
- GPS don't work (even after 30 minutes of waiting)
- Clockwork is on sdcard as update.zip (not permanent because of S-ON)
- Phone is connected to the computer (with adb installed and working)
So you must have already rooted and installed clockwork as well as CM7. You must have the clockwork (update.zip) in the root of your sdcard. you must have ADB working on your computer and working with your phone (shows in devices list). If you have those then it should be following the steps. I am not currently using my slide and do not have equipment or and account to post videos so that would be difficult. if you can tell me where you get stuck I might be able to help.
Like mentioned before I really don't know what I'm doing. I just tried TONS of stuff till I got a feel for things and found a combination that worked for me.
If you are having issues with rooting or installing CM7 or clockwork then that is beyond this tutorial and there is lots of info out there for that.
My phone is rooted and flashing CM7.1.0 (from CM 6.1.1) is simple.
1.) I can never get "adb shell" to "take to" (for lack of better words) the cmd prompt.I always an error message.Maybe I dont have adb installed and/or running right on my PC and/or phone any help would be awesome.
step # 10 is where I get stopped (in my tracks).
My phone is rooted and flashing CM7.1.0 (from CM 6.1.1) is simple.
1.) I can never get "adb shell" to "take to" (for lack of better words) the cmd prompt.I always an error message.Maybe I dont have adb installed and/or running right on my PC and/or phone any help would be awesome.
step # 10 is where I get stopped (in my tracks).
captorofxxx said:
My phone is rooted and flashing CM7.1.0 (from CM 6.1.1) is simple.
1.) I can never get "adb shell" to "take to" (for lack of better words) the cmd prompt.I always an error message.Maybe I dont have adb installed and/or running right on my PC and/or phone any help would be awesome.
step # 10 is where I get stopped (in my tracks).
Click to expand...
Click to collapse
Try this out before you begin. http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK
Simply start from where it says Windows and you should be good to go.
Did this fix just a moment ago and it worked like a charm. Thanks reiter01
I wish someone would post a video or give (intricate-no detail left out) instructions on how to do this.I video would be the ticket.If I could follow someone or watch someone do it........
I wish someone would post a video or give (intricate-no detail left out) instructions on how to do this.I video would be the ticket.If I could follow someone or watch someone do it........
reiter01 said:
I think what is being missed it the "." at the end of that comand. The "." is the second argument of the "cp" command and "." means the folder i'm currently in.
If you leave it out you are not telling the cp command where to put the file.
Sorry if I abandoned this post. It sat for weeks with no responses so I quit visiting. Hope it helped you guys out.
Click to expand...
Click to collapse
yeah i think that was the problem i didnt see the ''." there and sorry if im being noob with adb i was never any good with cmd prompt, i prefer a GUI
ADB issues
There are countless posts and article about getting adb working. I use a Mac so it's never an issue for me. If you haven't already installed the USB drivers for your specific phone the first time you hook up then you will have issues. Windows will choose a generic driver that ADB can't use. You need to find instructions on removing the generic driver and install the right one.
I'm really glad some had had success with my little tutorial. I am sure there has to be easier ways but it's the best I could come up with.
Worked great
This worked great for me, my GPS now locks on within seconds. One note to add, I had to mount /system and /sdcard. Thank you for this fix.
GUIless
@boss2688: I agree with having a GUI when available. I have no phone programming skills and so I didn't try that. I am not sure if it would work anyway because the S_ON would be in place blocking by the time the GUI shows up. On the other hand, I am sure that someone could make a zip with scripts etc to do what I am doing manually. I tried and failed to make a zip. I wanted to have it work just like you install google apps from clockwork.
@sinkinglow: Not sure why you would have to mount /sdcard. It should be mounted already at that point (I think). I no longer use my slide so I can't go back and test. Thanks for the tip. I will see if I can figure out how to edit the original post and add that as a possible step.
reiter01 said:
@boss2688: I agree with having a GUI when available. I have no phone programming skills and so I didn't try that. I am not sure if it would work anyway because the S_ON would be in place blocking by the time the GUI shows up. On the other hand, I am sure that someone could make a zip with scripts etc to do what I am doing manually. I tried and failed to make a zip. I wanted to have it work just like you install google apps from clockwork.
@sinkinglow: Not sure why you would have to mount /sdcard. It should be mounted already at that point (I think). I no longer use my slide so I can't go back and test. Thanks for the tip. I will see if I can figure out how to edit the original post and add that as a possible step.
Click to expand...
Click to collapse
a much easier way if you don't have experience with ADB would be to use Android Commander. Please see http://androidcommander.com/ (of course you would still need to mount the system from clockwork if you don't have S-OFF) hopefully this helps for those still having issues.
CM7 1 MyTouch Slide GPS fix
Im going up on the 26th, and was hoping to try this slide then bop over to Gothics. Im going to get to the slide and then make the call as to how safe it seems....Backup plan is any other thing time permitting from that spot. Thats how I roll
* I have to run USBDeview.exe and delete everything sometimes. I think the devices get confused etc..
* I also have to use "Vista_x86" drivers as none of them work for me ..in XP SP3
Code:
C:\usb\ANDROID\Vista_x86\androidusb.cat
C:\usb\ANDROID\Vista_x86\androidusb.INF
C:\usb\ANDROID\Vista_x86\androidusb.sys
C:\usb\ANDROID\Vista_x86\htcrndis.cat
C:\usb\ANDROID\Vista_x86\htcrndis.inf
C:\usb\ANDROID\Vista_x86\WdfCoInstaller01007.dll

Nexus 4 bluetooth address not sticking - and persist forder doesn't exists. HELP

Okay, my Nexus 4 is fine except for this problem. Wifi, mobile data, nfc... Just wanted to say that.
One day, I noticed that every time I turn on and off the bluetooth, my bluetooth MAC address changes. So I have to pair everything manually again. Such a pain...
So I searched XDA, and found some helpful posts. They said 'make a new folder in /persist, make a file named .bdaddr, type in 6 charactors, give some permissions, and reboot.'
However, I noticed that I didn't have persist folder in my root directory. I've seen it before on my phone, so it looked very strange.
I just went forward and made persist folder on root. It was made successfully. I went inside the folder. Strangly, it was not empty. Three folders(lost+found, sensors, svoperapps) were already there. I ignored them and made bluetooth folder, make a file, bla bla.... and I rebooted.
My bluetooth problem was still there. Mac address keeps changing!
When I went to my phone's root again, the persist folder was nowhere to be seen. I made it again and went inside. There were four folders inside. Three which was mentioned above, and the bluetooth folder that I made was still there. Even the .bdaddr file was still there.
TL;DR : My /persist folder disappers with reboot, but the contents inside it is intact when I make it manually again.
What can I do? Please help me.....
Hi! I had the same issue in december. Actually, my N4 suddenly started to act strange till I get the red light of death problem. Before changing battery, it was not even booting, couldn't use recovery or anything else. So I went to 'debrick' it using LG tools and a tutorial. It worked and I flashed stock again.
Unfortunately, bluetooth and wifi were affected by that procedure. They both work though. Bluetooth keeps changing but wifi didn't start changing before yesterday. Really annoying. Since my router at home stores MAC addresses, I was able to retrieve my original MAC Address.
I've tried this procedure 100 times so I'll tell you what and when you have to pay attention for errors:
- The /persist folder does exist. To reach it, you'll need root access via adb shell. Make sure you use 'su' till you get '[email protected]' in shell (adb shell)
- In my case, both bluetooth and wifi folder were already there, so I just created '.macaddr' in '/persist/wifi'
- In your case, create a '.btaddr' file in '/persist/bluetooth' folder. I used 'touch' to create files while in shell
- Set the bluetooth address as you wish with 'echo': echo -n "address" > .btaddr
- Attention: please notice that you will have to try it out the 'echo' thing. Pretty much all instructions I read stated that I had to use 'echo -en' printing HEX values (\xFF) to the '.macaddr' file. That didn't work at all. Instead, I printed ANSI values. That way it worked. Once you created the file and printed its values you can check it using some sort of explorer with supersu. If you printed HEX values, you should end up with 6 bytes while with ANSI you will get 12 bytes (chars). This is easy to spot after you reboot because if you manage to check the address it will show up with a lot of "00". That means it's incomplete and once you turn bt on it will change to something more bt-like address.
- Now you set the owners and permissions:
- chown root:root /persist/bluetooth
- chmod 755 /persist/bluetooth
- chown bluetooth:bluetooth /persist/bluetooth/.btaddr
- chmod 660 /persist/bluetooth/.btaddr
- Reboot and check if it worked.
MagnoT said:
Hi! I had the same issue in december. Actually, my N4 suddenly started to act strange till I get the red light of death problem. Before changing battery, it was not even booting, couldn't use recovery or anything else. So I went to 'debrick' it using LG tools and a tutorial. It worked and I flashed stock again.
Unfortunately, bluetooth and wifi were affected by that procedure. They both work though. Bluetooth keeps changing but wifi didn't start changing before yesterday. Really annoying. Since my router at home stores MAC addresses, I was able to retrieve my original MAC Address.
I've tried this procedure 100 times so I'll tell you what and when you have to pay attention for errors:
- The /persist folder does exist. To reach it, you'll need root access via adb shell. Make sure you use 'su' till you get '[email protected]' in shell (adb shell)
- In my case, both bluetooth and wifi folder were already there, so I just created '.macaddr' in '/persist/wifi'
- In your case, create a '.btaddr' file in '/persist/bluetooth' folder. I used 'touch' to create files while in shell
- Set the bluetooth address as you wish with 'echo': echo -n "address" > .btaddr
- Attention: please notice that you will have to try it out the 'echo' thing. Pretty much all instructions I read stated that I had to use 'echo -en' printing HEX values (\xFF) to the '.macaddr' file. That didn't work at all. Instead, I printed ANSI values. That way it worked. Once you created the file and printed its values you can check it using some sort of explorer with supersu. If you printed HEX values, you should end up with 6 bytes while with ANSI you will get 12 bytes (chars). This is easy to spot after you reboot because if you manage to check the address it will show up with a lot of "00". That means it's incomplete and once you turn bt on it will change to something more bt-like address.
- Now you set the owners and permissions:
- chown root:root /persist/bluetooth
- chmod 755 /persist/bluetooth
- chown bluetooth:bluetooth /persist/bluetooth/.btaddr
- chmod 660 /persist/bluetooth/.btaddr
- Reboot and check if it worked.
Click to expand...
Click to collapse
First, thank you for helping! I really appriciate it!
However, I have a problem. When I type echo -n "address" > .bdaddr into adb shell, it says "can't create .btaddr: Read-only file system". I've tried mount -o rw,remount /persist but nothing happens.....
Can you help me again please? It's my first time using adb shell....
P.S. can you just give me your .bdaddr file? I made the file in my explorer and gave it permissions, but it is not working. If you can, please send it to my email :
update : I got someone else's .bdaddr file and did everything. However, the problem is still the same. Everytime I turn on bluetooth, last six digits of my bluetooth mac address changes... Any ideas on what happened to my N4? It seems that my N4's damage is different to others
Hi, in my case name of file should be /persist/bluetooth/.bdaddr instead of /persist/bluetooth/.btaddr. With .bdaddr bluetooth is working with .btaddr is not working.

Categories

Resources