Enabling USB Debugging mode in Android 5.1.1.2 AOSP

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Enabling USB Debugging mode in Android 5.1.1.2 AOSP

2,029件の閲覧回数
lyfsci
Contributor III

Hi Experts,

How to enable the USB debugging mode from the freescale Android 5.1.1.2 AOSP for IMX6SL from command line ?

It could be done from GUI mode but how the same is achieved from command line ?

Lyf

ラベル(2)
0 件の賞賛
1 返信

848件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

Its not an easy process, but I found this set of steps to make it work:

  • Connect the device to Mac or PC in recovery mode.
  • Now open terminal/CMD in computer and go to platform-tools/. type and enter ./adb devices to check if the device is connected in recovery mode.
  • Now type ./adb shell mount data and ./adb shell mount system to mount the respective directories.
  • Get the persist.sys.usb.config file in your system using ./adb pull /data/property/persist.sys.usb.config /Your directory
  • Now open that file in a texteditor and edit it to mtp,adb and save.
  • Now push the file back in the device; ./adb push /your-directory/persist.sys.usb.config /data/property
  • Get the build.prop file; ./adb pull /system/build.prop /your-directory
  • Push build.prop back into the device; ./adb push /your-dir/build.prop /system/
0 件の賞賛