ADB connection is lost after a while with my Genymotion Device image instance(s).

Audience

This article is for Genymotion users who run Genymotion Device image (PaaS) instances.

Issue overview

This issue usually occurs when the Genymotion instance has been hacked via ADB.

ADB connections are not secured.

ADB connections are not authenticated.

Inbound rules may allow connections from anyone.

TCP port 5555 may be open to anyone (0.0.0.0/0).

If both TCP port 5555 is open and ADB access is enabled, unauthorized users can connect via ADB.

Unauthorized users can inject malicious software or corrupt the Genymotion instance.

Securing ADB connections

If this is your case, delete your Genymotion device image instances as soon as possible.

Use one of the following methods to secure ADB connections: