Why is there NO files in TWRP recovery in adb?


  • QA Engineer

    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?



  • 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


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2