Skip to content

Instantly share code, notes, and snippets.

@CyberRex0
Created August 12, 2024 03:21
Show Gist options
  • Save CyberRex0/f29d5c4960fe57bac999e1012d83200f to your computer and use it in GitHub Desktop.
Save CyberRex0/f29d5c4960fe57bac999e1012d83200f to your computer and use it in GitHub Desktop.
  • Works on moto g53

Enable:

setprop sys.usb.configfs 1
setprop persist.sys.usb.config diag,serial_cdev,rmnet,adb
setprop sys.usb.config diag,serial_cdev,rmnet,adb
setprop sys.usb.ffs.ready 1

Disable:

setprop sys.usb.ffs.ready 0
setprop sys.usb.config adb
setprop persist.sys.usb.config adb
setprop sys.usb.configfs 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment