That may be the issue why I can't see my captured videos from my phone when connected to my pc. How do I access PTP and MTP modes? Can't see any options in settings.
- read settings:
adb shell getprop sys.usb.config
- find valid settings:
adb shell grep usb.config= /init*rc
- change settings:
setpropwith the appropriate values (e.g.
adb shell setprop sys.usb.config "mtp,adb"or
adb shell setprop sys.usb.config "ptp,adb")
EDIT: If the above doesn't yield the expected results, it might need root powers. So if your device is rooted, you could try to run
adb root prior to above commands. If your device does not accept this ("not available in production builds"), instead run:
PC> adb shell Android $ su Android #
Now at the root prompt (
#), run above commands without the
adb shell prefix (e.g. simply
setprop sys.usb.config "mtp,adb").