SD Card corrupted in phone and all files accessible on computer

How to do that?
How to use selinux contexts on my phone?
Or should I open the terminal when my phone is connected to my computer?

yes, use your terminal two times to query your phone via adb shell. Once when Android is not complaining, then try to provoke storage corruption, then look at the directory tree again. At best as root adb shell. The -Z option in ls is for showing file contexts.

user@thinkpad-l13-bernie:~$ adb shell ls -lRZ /sdcard/ | tee sdcard1.log
error: no devices/emulators found

any suggestion?

Sounds like you haven’t enabled debugging in Developer options.

Have done it, and have the same message…
no devices/emulators found

This topic was automatically closed after 30 days. New replies are no longer allowed.