Re: Digest for android-x86@googlegroups.com - 1 update in 1 topic

146 views
Skip to first unread message

TREMEL ROSSER

unread,
Oct 15, 2024, 11:43:53 PM10/15/24
to andro...@googlegroups.com

Gemini sun android digest from house farming seed


On Tue, Oct 15, 2024, 23:41 <andro...@googlegroups.com> wrote:
Mario Marietto <mariet...@gmail.com>: Oct 15 12:06PM -0700

Hello to everyone,
 
I've been a Linux and FreeBSD system administrator as a hobby since the
'90s.
 
I've been working on a project for 6 months and I'm at a good point,but
unfortunately I got frozen on the last mile.
 
What I'm trying to accomplish,basically,is to be able to mirror /
administer the Android desktop while I'm using FreeBSD.
 
I've virtualized Android version 7.1.1,that I found on the Internet using
bhyve (the hypervisor more commonly used in the BSD world) called "Phoenix
OS / DarkMatter".
 
I'm not able to mirror the screen out of the VM using scrcpy. And I suspect
that this is just the tip of the iceberg. I've installed the app
"DroidVNC-NG" but it also does not work,in fact I see a black screen in a
connected VNC viewer :
 
[image: Istantanea_2024-10-15_18-46-16.png]
 
I suspect that there is a common problem to fix behind the fact that these
two applications don't work.
 
Even though neither "ScreenRecorder" works.
 
On the github of DroidVNC-NG he said :
 
"If you are getting a black screen in a connected VNC viewer despite having
been given all permissions, it might be that your device does not support
Android's MediaProjection API correctly. To find out, you can try screen
recording with another app, ScreenRecorder.
 
If it fails as well, your device most likely does not support screen
recording via MediaProjection. This is known to be the case for Android-x86"
 
Phoenix OS/Darkmatter is based on Android-x86.
 
I've opened a bug ticket to ask for some help to understand why scrcpy does
not work on FreeBSD,but IT WORKS on Linux.
 
You can find the discussion between me and the scrcpy developer going here :
 
https://github.com/Genymobile/scrcpy/issues/5359
 
He ended up the discussion,saying :
 
"I would say that the capture/encoder does not produce any frame, so scrcpy
waits for new frames.
 
I don't know why. The screen is not captured with "native" Android tools
(without scrcpy). You have to find why"
 
So,at the moment I'm groping in the dark....can someone give to me more
information about the "Android's MediaProjection API problem on Android X86
?"
 
Are there some chances to fix it ? If the correction is a very complicated
task,since I'm not a programmer,I would have thought to use a tool like
barrier,that creates a server / client model between the host os (for me
FreeBSD) and the guest os that could help me to have the mouse working
within the VM,but unfortunately,barrier for Android does not exists. I
tried to emulate it with exagear and other Windows emulators,but they don't
work on Android X86.
 
In addition I tried another route. I've bought a PCI to USB controller and
I passed it to Android. Yeah,it worked. I can move the mouse within the
VM,BUT the NetFlix app don't like it and it crashes. I removed it and it
works correctly. So,probably it thinks that an Android phone doesn't need
to have an USB controller,it is not able to manage it and it crashes.
 
In Linux I solved the problem,because qemu / kvm allows the sharing of
individual USB devices,bhyve can't.
 
What else can I try ? How can I fix the MediaProjection API problem ? Even
if I'm not sure that this is the problem. Since I can mirror the Android
screen on Linux,it seems more a problem with FreeBSD.
 
What is the component that could be broken ? thanks.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-x86...@googlegroups.com.

Android-x86

unread,
Oct 17, 2024, 9:59:22 PM10/17/24
to Android-x86
Dark matter doesn't support vnc however 8.1 android-x86_64 does as well as scrcpy install it on your phone and enter the IP and it's good. I use DROIDVNC-NG with avnc as a client get the fdroid version it's a lot better than the play store. I haven't used 7.1 in a while you should check out 8.1 it's so much better than 7.1 I discovered that the chrome app causes a lot of errors I went as far as to delete it and use Firefox and I have no more errors. I had problems with USB audio player pro because of chrome. Cheers. Checkout this for 8.1.

Reply all
Reply to author
Forward
0 new messages