Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Rodrirokr
Forked from alsanchez/install_busybox.sh
Last active May 3, 2019 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rodrirokr/3815aeb1a8e8d9dfe8874dfedcc89eb7 to your computer and use it in GitHub Desktop.
Save Rodrirokr/3815aeb1a8e8d9dfe8874dfedcc89eb7 to your computer and use it in GitHub Desktop.
Install busybox on the x86 Android emulator
#!/bin/bash
wget --no-parent --no-host-directories --cut-dirs 3 -r https://busybox.net/downloads/binaries/1.30.0-i686/ -P /tmp/busybox
adb push /tmp/busybox /data/data/busybox
adb shell "mount -o rw,remount /system && mv /data/data/busybox /system/bin/busybox && chmod 755 /system/bin/busybox/busybox && /system/bin/busybox/busybox --install /system/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment