No sound in Android x86

I installed an Android-x86 image (4.0-RC1-eeepc) in VirtualBox on a Dell Latitude D820. This particular ISO is not for a laptop, but of all the available ISOs, it works best.

I dealt with some problems that I encountered (not having an ISO for my device), but I could not get the sound to work. The Android-x86 VirtualBox tutorial and other online resources prompted me to use the ALSA driver with SoundBlaster 16, but that didn't work.

This question helped me take a look at some of the ALSA teams to see what I can find, but I won't go anywhere.

With the ALSA driver and SoundBlaster controller, I get the following from alsa_ctl init

 Unknown hardware: "Dummy" "Dummy Mixer" Hardware is initialized using a guess method 

It looked very wrong for me, so I switched to Intel HD Audio, as well as to another question.

With the ALSA driver and Intel HD Audio controller, I get the following from alsa_ctl init

 Unknown hardware: "HDA-Intel" "SigmaTel ID 7680" ... Hardware is initialized using a guess method 

Although this looks a little more promising, I still have no sound.

Since Android is basically Linux, I thought I could translate the Linux solution. Several web pages have content similar to this one saying to modify /etc/modprobe.d/alsa-base.conf and add options snd-hda-intel model=CORRECT_MODEL , and this seems to help many Linux users. However, this is not like Android. At least not for me, since I don't have alsa-base.conf

I know so little about audio and ALSA. Are there any jumps from what I have above? Even a push in the general direction would be great.

Some questions I have: What does it mean when I get Unknown hardware: "Dummy" ? No audio device?

Finally, I confirmed that my sound works outside the virtual box. My first question is that since my laptop can run Linux with sound, I should be able to enable Linux drivers in Android. Does this make sense? Unfortunately, I also do not know how to do this.

thanks

+6
source share
5 answers

You had no problems with audio in vbox. In your init.sh, add this line to the end of the alsa_amixer file:

alsa_amixer set PCM 100 unmute

After I realized that my sound worked fine.

0
source

I had the same problems.

I used VMWare for WhatsApp. And had various versions of Android without sound ... Configuring VMWare with a modem HDAudio configuration configuration.

 alsa_ctl init 

No devices showed up.

I installed this application from Google Play " AlsaMixer (ROOT) " And these versions got the sound instantly:

  • Android-x86-4.3-20130725.iso
  • Android-x86-4.4-RC1.iso
+1
source

I had the same problem.

I continued to look for init.sh , and then realized that I needed to install the darn thing on the disk before it was worth messing with it (it is parsed again on reboot, and the live disk is not saved).

So, I hooked the last x86 ports and flipped them until I found 4.2x without any problems. Unfortunately, I lost track of that, and the good one is just vm.iso ?!

In short, the sound works fine with this assembly, I didnโ€™t even need to configure anything.

System:

  • Motherboard Tab:
    • 4 GB RAM (half RAM)
    • [x] Hard disk (boot device only)
    • all others by default
  • Processor Tab:
    • 2 cores
    • all others by default
  • Audio:
    • Windows DirectSound
    • ICH AC97
    • all others by default
0
source

All you need to do in vbox is simply change it in the audio tab from Intel HD audio to ICH AC97. It actually works.

0
source

just unplug the USB audio rotation it will be 100% sure

0
source

Source: https://habr.com/ru/post/918110/


All Articles