Skip to content

DroidbotX adds gym environment to Droidbot

License

Notifications You must be signed in to change notification settings

ersawant/DroidbotX

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DroidbotX

Fork of droidbot (https://github.com/honeynet/droidbot) that adds gym environment to Droidbot.

Prerequisite

  1. Python (both 2 and 3 are supported)
  2. Java
  3. Android SDK
  4. Add platform_tools directory in Android SDK to PATH
  5. (Optional) OpenCV-Python if you want to run DroidBot in cv mode.

How to install

Clone this repo and intall with pip:

git clone
cd droidbot/
pip install -e .

Other packages needed

  1. Gym (https://github.com/openai/gym for installation instructions)
  2. Stable-Baselines (https://github.com/hill-a/stable-baselines for installation instructions)
  3. TensorFlow
  4. pip install opencv-python

How to run

From terminal and droidbot directory run the "start_gym_env_q_learning.py" script. Example usage:

  • python3 start_gym_env_q_learning.py -a my_apk_to_run.apk -o /my_output_dir/dqn_run_4 -is_emulator -policy gym

About

DroidbotX adds gym environment to Droidbot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.0%
  • Jupyter Notebook 12.3%
  • JavaScript 2.8%
  • Shell 1.1%
  • Other 0.8%