-
-
Save dimzon/faf42f9135af80775426 to your computer and use it in GitHub Desktop.
Enable USB in Android 4.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hey guys, so I found this cool fix to change the function of the USB to mass storage instead of MTP. | |
Open up terminal emulator and enter in: | |
su | |
setprop persist.sys.usb.config mass_storage,adb | |
reboot | |
If you want to go back to MTP, open terminal emulator and enter: | |
su | |
setprop persist.sys.usb.config mtp,adb | |
reboot | |
==================================================================================================== | |
Does it change between (USB) | (MTP/PTP) modes? | |
Could you compare setting to find which on was changed? | |
Looks like for ICS it should be: | |
adb shell setprop sys.usb.config mtp,adb | |
adb shell setprop sys.usb.config mass_storage,adb | |
or with persist (after reboot) | |
adb shell setprop persist.sys.usb.config mtp,adb | |
adb shell setprop persist.sys.usb.config mass_storage,adb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment