adb shell mount error: mount: '/dev/block/dm-0' not user mountable in fstab

1.1k views Asked by At

I needs to write a shell app to a system partition of my emulator to get elevated permission, so I first run the mount command:

adb shell 'mount -o rw,remount /'

and I'm getting error:

mount: '/dev/block/dm-0' not user mountable in fstab

The system image of my emulator is Automotive with Play Store ARM 64 v8a System Image, I'm running it in Android studio on my Mac with apple chip(which can only run arm images).

0

There are 0 answers