All About Sound is "ERROR" - Xiaomi Redmi Note 3 Questions & Answers

everything that has something to do with sound is simply not working (sometimes make my RN3SD restart)
1. phone calls : cant make any phone calls (when dialing the numbers, the screen show calling but cant connect, then restart. while reboot, the dialed number rang)
2.video (cant play any video with sound, including youtube. always show problem while trying to play)
3.music (cant play any music, alwasy show unsupported files)
QC TESTS :
1.play music on SD -> fail
2. Mic Speak loop -> fail : intenal applivation error and unable to access system space!)
3. Call test ;> fail
(java.lang.illegalargumenexception: invalid audio buffer size.
at android.media.audiorecord.audiobuffsizecheck(uidiorecord.java:674)
at android.media.audiorecord.<init>(audiorecord.java:374 and 271)
at com.longcheertel.cit.loopbackbaseactivity $record.run(loopbackbaseactivity.java:177)
at java.lang.thread.run(thread.java:818)
4. sub mic to speaker loopback ->fail (same as mic cpeak loop)
5. Headset plug in ;>fail
6. Headset key;> fail
7. Headset loopback-> fail
8. FM test -> fail
9. Headset plug out;>fail
APP tests
sound recorder :fail (check if another app is currently using the recording feature)
java:2894, 153, 1434, 102, 148, 5441, 738, 628, 674, 374, 271, 1288, 1265, 2884, and 8 more
soundabout does not help at all, no google setting
please if anyone can show me the right ways to solve this sound problem
About my RN3SD (KENZO):
android version : 6.0.1 MMB29M
MIUI version : MIUI Global 8.1 Stable 8.1.4.0 (MHOMDI)
baseband : -8976_GEN_PACK-1.7444 6.1.75478.1
kernel : 3.10.84-perf-g4b39ed7
PS : another thing i found, settings, additional settings, Headphone and audio effects ---> result is back to settings page
settings, sound and vibration, audio settings --> same, back to setting page

Did you try factory reset? Or even better fastboot flash latest ROM?

already did, no result

Related

[Q] Pb bluetooth with JB 4.1.2

Hi everybody,
I post this thread because i have a problem with free hand device bluetooth,
I can connect it to my phone without problem, when i run audio application the sound is very fine but when i use it with in call, the sound is inaudible.
I already had this problem with an ICS rom, but I corrected it in changing parameters in the Service mode.
In JB when i type the code *#197328640# on the dialer i accede to the service mode but when i try to open the Audio menu [5] nothing happens.
Do you know a solution to change the values otherwise.
The value that i want to modify (ICS servicemode)
1. Go into service mode by the known code *#*#197328640#*#*
2. Select [5] AUDIO
3. Select [1] NB (VOICE CALL)
4. Select [4] BLUETOOTH
5. Select [1] Volume
6. Select [5] Sidetone: ..... (Could be any value, don't care about this value)
7. Select "MENU" - "Key input" and type 8000 and hit OK
8. Select [6] Rx Gain: ..... (Could be any value, don't care about this value)
9. Select "MENU" - "Key input" and type 0 and hit OK
10. Select [7] Tx Gain: ..... (Could be any value, don't care about this value)
11. Select "MENU" - "Key input" and type 0 and hit OK
12. Hit "MENU" and "Back" after each other until you are left out of the service mode
Thank you for your answers
GT-I9100
version 4.1.2
rom: I9100XXLS8
Kernel: Siyah--s2-V6.0b4
numéro de version: JZ054K.I9100XWLS8
benbeynes2 said:
Hi everybody,
I post this thread because i have a problem with free hand device bluetooth,
I can connect it to my phone without problem, when i run audio application the sound is very fine but when i use it with in call, the sound is inaudible.
I already had this problem with an ICS rom, but I corrected it in changing parameters in the Service mode.
In JB when i type the code *#197328640# on the dialer i accede to the service mode but when i try to open the Audio menu [5] nothing happens.
Do you know a solution to change the values otherwise.
The value that i want to modify (ICS servicemode)
1. Go into service mode by the known code *#*#197328640#*#*
2. Select [5] AUDIO
3. Select [1] NB (VOICE CALL)
4. Select [4] BLUETOOTH
5. Select [1] Volume
6. Select [5] Sidetone: ..... (Could be any value, don't care about this value)
7. Select "MENU" - "Key input" and type 8000 and hit OK
8. Select [6] Rx Gain: ..... (Could be any value, don't care about this value)
9. Select "MENU" - "Key input" and type 0 and hit OK
10. Select [7] Tx Gain: ..... (Could be any value, don't care about this value)
11. Select "MENU" - "Key input" and type 0 and hit OK
12. Hit "MENU" and "Back" after each other until you are left out of the service mode
Thank you for your answers
GT-I9100
version 4.1.2
rom: I9100XXLS8
Kernel: Siyah--s2-V6.0b4
numéro de version: JZ054K.I9100XWLS8
Click to expand...
Click to collapse
Do you tryed the settings in Bluetooth setting? i mean if you switch on the bluetooth then you connect to your device
with or sometimes without a code,it depends on witch type of hands free device you are using,then this device is shown in the bluetooth settings.and there is also a settings button for the device witch is connected to your phone.
there you can adjust that the hands free device only use the function for phone calling or phone calling and media streaming or only media streaming if supported.
i was also on wls8 and all functions were top.im connecting 2 devices in my car.one is a belkin a2dp receiver that goes to car sound system and the second device is my parrot device.all is connecting in automatic if im in the car.but now im on omega 4.2.2
hope this helps you out.
greez.
Hello,
Yes i tried this solution, When i go in the setting of my hands free device, the two boxes are ticked, I also tried to disable audio media box and keep only the audio phone calling, but it's the same trouble.
Regards

[TUTORIAL] This method can make sound in ubuntu on android.

this method can make sound in ubuntu on android.
this is a demo.a friend told me about this method.my device is new nexus 7(2013)
I will make a tutorial on xda-developers.
make a audio server on android.and ubuntu send the voice to android.the audio server play the voice.
this method is not real time,have delay.when play music,parse the music,it didn't parse immediately ,go on play about 10 seconds,and when resume ,the music is played from later seconds.
1.unzip the android file.7z, on android install the IRB.apk file.
run IRB,then sdcard have a directory jruby, audioserver.12.rb put here.
go to IRB,find scripts,select audioserver.12.rb,and execute
2.in ubuntu: install socat and perl,use "apt-get install socat " and "apt-get install perl"
3.unzip asoundrc.7z ,put .asoundrc into /root,
In .asoundrc uncomment this line:
pcm.!default "myfifo"
4.unzip audiofifoloop.1.tar,put audiofifoloop somewhere, To allow multiple ALSA applications, can configure
audiofifoloop. Find these two lines at the beginning:
$multi = 0;
$sleep = 1;
Set $multi to 1 and $sleep to 0.
make it executeable,and run it
then you can "aplay *.wav" in terminal,check is ok?
and can install smplayer to play music ,make sure the audio driver select alsa.
can play video in youtube but only html5.I played some but didn't smooth.
View attachment 2214234
View attachment audiofifoloop.1.tar
View attachment asoundrc.7z
I have a very simple method:
1.you can play musice use some player in android,at the same time in ubuntu termianl to do "alsactl store" to save the soundcard parameter.
2.close the player.and in ubuntu terminal do "alsactl restore" to resume the soundcard parameter.
3.then you can use "aplay *.wav" to play .
but this method does have more effect.I don't know.this only some point.
{ in android stock player or google player maybe couldn't ,you shoud find some other player,i used is chinese app 天天动听 } this method only sound in output like headphone,no sound in speaker.
reserve
Hello, i'm trying to get this to work.
I would like to know what image from sourceforge.net/projects/linuxonandroid/files/Ubuntu/ you used when testing this.
I have two problems, first when executing the audio server script it seems like i'm getting an error that I can't see that you get in your video when you execute it (but it's hard to tell in the video cause it's only visible for a second so i'm not sure) imgur.com/PckDNyC.png
and then when i execute aplay a.wav i get
shm_open() failed: Function not implemented
So i don't know where to start to fix this, need someone with understanding of how this works to help me out.
I followed the method and it worked fine... Does anyone know who to quit the audioserver when i am finished. i found nothing that would do it.. and had to restart phone.. any help would be appreciated.

[Q] No Audio at ALL !!

Hey Guys ,
I have a problem with my Lumia 920 Audio drivers i guess . This is the test details from the Nokia care suit 5.0 .
This is a AT&T RM820 version . When the phone switches off and switches on the vibration works , But after booting it doesn't . No audio from the earpiece , speaker or the Mic is working .
Test name:
Audio controller self test
Test description:
Test verifies slimbus connection between MSM and Audio ctrl module.
Result:
MINOR
Result (detailed view):
FTM Audio device failed
255
Data description:
Raw error code provided by driver.
Method description:
Selftest requests special FTM audio miniport driver to test the lines.
Can this be fixed ?? I tried refurbishing this , didnt work .ANy other flash method i should try ? Please need answers .

[Q] Connecting USB Sound Device(esp. Microphone) to Android

Hello,
I hope that this is the right Forum section where I can ask my question. If it is the wrong place, I would be pleased if the Mods can place it in the right Forum.
So to my Problem now
I am trying for hours without any luck, so before I spend another day resolving the problem without solution, I am trying my luck here
I have an Android Device with rooted Omnirom kitkat that have no internal microphone built in. So I was hoping to connect any sort of usb microphone as default android audio input device that can be used for google voice for example.
I connected a Logitech webcam that has a built in microphone.
The usb audio device of the webcam get well recognized by the OS:
Code:
cat /proc/asound/cards
gives me
Code:
0 [SMDKI2S ]: SMDK-I2S - SMDK-I2S
SMDK-I2S
1 [U0x46d0x819 ]: USB-Audio - USB Device 0x46d:0x819
USB Device 0x46d:0x819 at usb-s5pv210-1.2, high speed
So the hardware device I would like to use, has the number 1 and it's name is U0x46d0x819.
Code:
cat /proc/asound/devices
gives me
Code:
0: [ 0] : control
16: [ 0- 0]: digital audio playback
24: [ 0- 0]: digital audio capture
32: [ 1] : control
33: : timer
56: [ 1- 0]: digital audio capture
So the mic is also detected as digital audio capture.
When I connect the webcam I get in /proc/asound/card1/ the following entries:
id
stream0
usbbus
usbid
usbmixer
usbmixer has the following content (some sort of controls):
Code:
USB Mixer: usb_id=0x046d0819, ctrlif=2, ctlerr=0
Card: USB Device 0x46d:0x819 at usb-s5pv210-1.2, high speed
Unit: 5
Control: name="Mic Capture Volume", index=0
Info: id=5, control=2, cmask=0x0, channels=1, type="S16"
Volume: min=768, max=6912, dBmin=300, dBmax=2700
Unit: 5
Control: name="Mic Capture Switch", index=0
Info: id=5, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
When connecting the Webcam I get under /dev/snd/ two new devices:
controlC1 and pcmC1D0c
When I try the mic with this app (link) where I can choose the usb audio device to test it, I get cristal clear recording! So it is working from the hardware point of view.
My issue now is how can I get that sound device configured to be the default mic for all apps in android?
I've read that it has to do with asound.conf or audio_policy.conf files in /system/etc, but I have absolutly no idea how they can be configured correctly.
May be it is a very basic question for all the modders and dev gurus out there, so thanks for any help for taking time pointing me to the right direction.:good:
Did you ever get this to work?
I have the same issue.
I created the /system/etc/asound.conf but the Android 4.4-r3 seems to be ignoring the config file.

please helpme "how enable hdmi audio pass thorough in android tv"

i have panasonic 4k tv th-dx625dx before update i have audio pass thorough option and easily ouput 5.1 surround from home theater . but after update this option is missing and unable to out 5.1 sound from home theater through HDMI sound out. and now i have only three option in audio setting 1) PCM 2) Auto 3) DD+ and in pCM and Auto only 2.1 sound out . i search every where but didn't find the solution. is any there app , or any adb command to restore this option . i find a code but dont know how to apply
Multimedia tunneling | Android Open Source Project
source.android.com
Create AudioTrack with HW A/V sync AudioAttributes.
The audio policy manager asks the hardware abstraction layer (HAL) for a device output that supports FLAG_HW_AV_SYNC, and creates an audio track directly connected to this output with no intermediate mixer.
AudioAttributes.Builder aab = new AudioAttributes.Builder();
aab.setUsage(AudioAttributes.USAGE_MEDIA);
aab.setContentType(AudioAttributes.CONTENT_TYPE_MOVIE);
aab.setFlag(AudioAttributes.FLAG_HW_AV_SYNC);
// or, for Android 11 or higher
new tunerConfig = TunerConfiguration(0, avSyncId);
aab.setTunerConfiguration(tunerConfig);
AudioAttributes aa = aab.build();
AudioTrack at = new AudioTrack(aa);
please any one help me . i will greatful to you

Categories

Resources