Mount: '/dev/root'->'/': Operation not permitted

Hi Everyone,

I am following a guide on rooting my car´s android headunit to be able to install APKs, I am following the steps on multiple posts by using ADB commands, however I am unable to mount adb root, I get the following:

C:\carro\platform-tools-latest-windows\platform-tools>adb devices
List of devices attached
7c06542c200100e09d1 device

C:\carro\platform-tools-latest-windows\platform-tools>adb root
restarting adbd as root

C:\carro\platform-tools-latest-windows\platform-tools>adb remount
Not running as root. Try “adb root” first.

ADB remount command not working hence I am unable to get to root to be able to move the files, I did some research and found some remount commands that can be run on ADB Shell however those are not working either, see below:

C:\carro\platform-tools-latest-windows\platform-tools>adb shell “su -c ‘mount -o remount,rw /system’”
su: invalid uid/gid ‘-c’

C:\carro\platform-tools-latest-windows\platform-tools>adb shell “su 0 mount -o rw,remount /system”
mount: ‘/system’ not in /proc/mounts

C:\carro\platform-tools-latest-windows\platform-tools>adb shell
t7-p1-s111mca-aw19:/ $ mount -o rw,remount /
mount: ‘/dev/root’ not user mountable in fstab

1|t7-p1-s111mca-aw19:/ $ su
t7-p1-s111mca-aw19:/ # mount -o rw,remount /
mount: ‘/dev/root’->‘/’: Operation not permitted

Any ideas on how I can remount root on this OS so I can get to root properly and install APKs? I tried all those commands above using su commands but none are working

Thanks!

Welcome!

This support forum is for Incus, a hypervisor manager to run system containers and virtual machines. And also for LXC, that runs system containers.

The closest to Android is to use Waydroid (https://waydro.id/), which is based on LXC, and allows you to run Android on PC at full speed.

In your case you want to install APKs on your actual Android device. The device is already rooted, but that is not required to install APKs using adb install myapp.apk.

1|t7-p1-s111mca-aw19:/ $ su
t7-p1-s111mca-aw19:/ #