Android-x86 and Remix OS incorrect events. SOLVED

Discussion about DroidMote Server for Android
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Android-x86 and Remix OS incorrect events. SOLVED

Post by zulu99 »

I'm talking about this android-x86 http://www.android-x86.org/ the version that can run on your PC or virtual machine
Also the Nexus Player is an Android x86 device, but is a certified Android device with original Android source code inside. Therefore this suggestion is not necessary for Nexus Player and all others phisical Android devices.

The suggestion in this post is for the Android x86 Marshmallow 32 bit, because i posted only the libinputflinger.so 32 bit veriosn.
Otherwise you need also the 64 bit version. Update: you can find also the 64 bit version in the post below.


Mainly Android x86, have the source code that not match with aosp source code in some parts.

About DroidMote, android-x86 modify the input managment system of the original Android, therefore by default you have incorrect mapping of mouse and gamepad. This is a problem of android-x86 not of droidmote. DroidMote is full Android compliant, https://source.android.com/devices/input/overview.html

You can solve restoring only one lib and therefore have all working.

The lib attached is for Android 6 Marshmallow x86 32 bit version, but you you can find also the same lib specific for android 5.1 (for example you can get it from the system image of Nexus Player or from the system.img of the Android SDK emulator )

How to:

1) Download the libinputflinger.so in the attachment
2) With es file explorer, enable root access, mount the system partition read / write and rename the original file /system/lib/libinputflinger.so in libinputflinger.so.old
3) Copy the downloaded file in /system/lib/
4) Assign the same permissions of all others .so files with es file explorer
5) Reboot
You do not have the required permissions to view the files attached to this post.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Android-x86 incorrect events. SOLVED

Post by zulu99 »

In case you need Android on your PC, something that just work with everything inside, root, immersive mode, execution of arm apps and more and also based on cyanogenmod 13 Marshmallow, i suggest Android x86 AICP

You can download the firmware from here:
https://plus.google.com/114927183028297 ... 5tnE3PM1iy

I installed on external hard drive, so i can use it in every PC when i need Android. You need an external hard drive or a very fast usb flash drive if you want make a full installation on portable disk otherwise you can install also in dual boot with windows on the internal hard drive of your pc.

This is my test in video:
https://youtu.be/JJIt22MOFCw

Usually when i want make a full installation of an iso on a portable usb disk i use vmware player. I create a fake virtual machine, i connect the external usb hard drive to this virtual machine and i force the installation to the usb disk and not on the virtual disk. After you can use the external disk on every PC as a portable OS in which you can save and install like in a normal OS that you have installed on PC. Like in this video: https://youtu.be/aa4kIm7wO0Y
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Android-x86 and Remix OS incorrect events. SOLVED

Post by zulu99 »

For Android x86_64 and Remix OS x86_64 Marshmallow you can use the attached original Android libs


Swap the Android X86 or Remix OS /lib/libinputflinger.so and /lib64/libinputflinger.so with the original Android libs attached below.
You do not have the required permissions to view the files attached to this post.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Android-x86 and Remix OS incorrect events. SOLVED

Post by zulu99 »

For old android versions Lollipop, you can get the libinputflinger.so from the system.img of android sdk emulators x86

Decompress the system.img of the emulator, get your file and replace in Android-x86 and derivations.

Is the same thing also for some android emulators on Windows.


Some Android Emulators on Windows, do not have an ip directly exposed on your LAN.
To connect to DroidMote Server running inside an Emulator, you can do a port mapping.

1) open command prompt
2) adb kill-server
3) adb devices
4) adb forward tcp:2302 tcp:2302
5) open Port Forwarding tool and add port redirection 2302 127.0.0.1 2302
6) open DroidMote Client and connect to ip address of your PC manually

Download Port Forwarding Tool http://goo.gl/10IH0F
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto