0

Without TWRP, adb devices shows no device connected. "fastboot devices" also produces nothing in Samsung Galaxy.
But in TWRP recovery, "adb devices" show "52034c5afabcc377 recovery".

adb shell ls at root shows directories. But adb shell cd /system and adb shell ls shows no files.

Question: why devices in recovery in TWRP fail to list files?

1
  • usage hint: type adb shell only once
    – alecxs
    Commented Dec 20, 2021 at 20:45

1 Answer 1

1

When you only see empty directories, it is probably because the system partition is not mounted yet.

Mount /system either using twrp (I don't know exactly, but there is somewhere an option to mount system, maybe under settings or advanced) or using adb shell: mount /system

Same applies to /data: if it's empty too, use mount /data

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .