Created
November 23, 2015 09:42
-
-
Save alsanchez/2ebb6a066721bc67c5c8 to your computer and use it in GitHub Desktop.
Install busybox on the x86 Android emulator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget "http://www.busybox.net/downloads/binaries/latest/busybox-i486" -O /tmp/busybox | |
adb push /tmp/busybox /data/data/busybox | |
adb shell "mount -o remount,rw /system && mv /data/data/busybox /system/bin/busybox && chmod 755 /system/bin/busybox && /system/bin/busybox --install /system/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I could not remount
/system
on an API 30 emulator.disable-verity
left me with a non-bootable emulator. Instead of trying to fix it I tried using an API 25 emulator, without running into that issue.If you need to run on a later API level, perhaps https://android.stackexchange.com/questions/186630/android-o-failed-to-mount-system-dev-block-dm-0-is-read-only helps.