9091端口及8998端口

#打开9091端口
adb root
adb shell setprop sys.usb.config diag,serial_cdev,rmnet,adb


#打开8998端口
#adb root
#adb remount
#adb shell
#cd /system/bin/
#mv usbeng usbeng_back
#setprop persist.usb.eng 1
#setprop persist.sys.usb.config mtp

有的时候我们使用“setprop persist.usb.eng 1”不起作用,仍然无法打开QXDM端口,可以尝试用下面的方法。(包括在USER variant上开启QXDM)

Write "01" to MiscTA 2470 by using FG4, then you can get QXDM log even if USER variant.

  
  1) Shutdown the device, and connect to FG4.
  2) Click on the TA editor button on FG4.
  3) Select Misc TA from Partition drop down, and input 2470 to Unit text box.
  4) Write 01 on first byte. 
  5) Press the Write to phone button. 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值