-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio on Linux Deploy/CHROOT for Android 10/11/12? #1271
Comments
hey falkor I'm really a noob so I understand about 10% of what you saying but the way I told you to get the sound working i linux deploy still works for me. |
buy the way where you from? out of topic though |
Sound works for you in Linux Deploy? It sure doesn't work for me, and according to one source getting audio working in CHROOT has been a long-standing problem. I heard the issue can be device specific, and people have had more luck with XSDL output whereas I am using VNC. Either way I have been unsuccessful, and there evidently hasn't been any discussion about (pulse) audio/LD in a number of years. I am from London, and there are Android phones littered all over the place - but you cannot rely on there being any particular model available, such as the OnePlus 6 unless you order online. Therefore, although I love your idea, I try to find one solution fits all - and since root is seldom available without extra tools, Linux Deploy is more a secondary consideration compared to PROOT, which may be more the viable way to go - complete with guaranteed working sound. |
OK I got audio to work with XSDL X server - just had to increment the port number by 1! I also found out that XSDL has graphics acceleration, so can run more apps compared to VNC, such as Pinta. Perhaps more desktop environments will also display; PROOT might even work with XSDL too - with or without graphics acceleration? Shame the app is a bit clunky though and hijacks the Android mouse cursor. |
like I write in #1297 you can use termux (I recomend from fdroid), then you need put to
the original recomend |
If you guys also need to record audio, see this: termux/termux-app#2871 (comment) The only problem is how to let pulseaudio take termux microphone as mic_input remotely |
I solved this problem by doing:
https://yingshaoxo.blogspot.com/2023/09/how-to-let-linuxdeploy-desktop-audio.html |
I looked at some old methods from 2015/2017, but none seem to be working now.
Does anyone have an up-to-date method that's confirmed to work with recent Android devices/security?
Incidentally, it works with PROOT: Termux is setup as a Pulse Audio server (built in) and then the proot distro is set to export audio to the localhost, i.e. the Termux server.
Of course, Linux Deploy cannot send it's audio to Termux unless we can perhaps find a way to run LD CHROOT through Termux instead of using the Start button in the LD app? Other Android apps acting as Pulse Audio server (or as somewhere to "stream" the audio to so to speak), such as Simple Protocol or PulseDroid no longer seem to work for whatever reason(s).
Besides Pulse Audio there's also some Alsa utils, but those methods seem too outdated. XSDLserver apparently has a built in Pulse Audio server like Termux, but is no longer working out of the box.
The text was updated successfully, but these errors were encountered: