5

I'm trying to enable write access to an android emulator in order to modify its hosts file but I can't get it working. Whenever the adb command (remount or disable-verity) ran successfully the reboot command makes the emulator hangs. Without executing these commands, the reboot command works as expected. Can someone help me fix this? Thanks.

raphalg
  • 448
  • 3
  • 11

1 Answers1

4

I had exactly the same problem and solution provided here solved it:

adb root
adb shell avbctl disable-verification
adb reboot
adb root
adb remount 
LLL
  • 1,777
  • 1
  • 15
  • 31