appknox / androidvncserver

Standalone android VNC server :)
30 stars 15 forks source link

got a black screen when connect to androidvncserver on android 9 #3

Closed ghost closed 5 years ago

ghost commented 5 years ago

build as your guide

NDK_PROJECT_PATH=. ndk-build NDK_APPLICATION_MK=./Application.mk APP_BUILD_SCRIPT=./Android.mk

run as root on android 9 device

Initializing grabber method...
No grabber method selected, auto-detecting...
--Loading flinger native lib--
Couldnt load flinger library /data/local/tmp/libdvnc_flinger_sdk.so! Error string: (null)
--Loading gralloc native lib--
Loading lib: /data/local/tmp/libdvnc_gralloc_sdk25.so
Couldnt load library /data/local/tmp/libdvnc_gralloc_sdk25.so! Error string: (null)
--Initializing framebuffer access method--
line_lenght=4352 xres=1080, yres=2340, xresv=1080, yresv=4680, xoffs=0, yoffs=0, bpp=32
Initializing virtual keyboard and touch device...
---Initializing uinput...---
Initializing VNC server:
        width:  1080
        height: 2340
        bpp:    32
        port:   5901
        Colourmap_rgba=0:8:16:24
        length=8:8:8:8
16/04/2019 17:43:46 Listening for VNC connections on TCP port 5901
16/04/2019 17:43:46 Listening for HTTP connections on TCP port 5801
16/04/2019 17:43:46   URL http://localhost:5801
Starting IPC connection...binded to port 13132

Waiting for a connection
subho007 commented 5 years ago

@di3663 please disable SELinux. You can disable it by setenforce 0

subho007 commented 5 years ago

Please close the issue if that solved it

subho007 commented 5 years ago

Also, you can download the libdvnc_flinger_sdk.so from here: https://github.com/appknox/droid-VNC-server/tree/master/nativeMethods/libs/armeabi-v7a

ghost commented 5 years ago

still not work, maybe rom is not compatible with these libs.