You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Android_boot_image_editor/doc/recovery_adb.md

538 B

打开recovery模式下的adb

###1. 解开vbmeta.img 关闭AVB 修改 build/unzip_boot/vbmeta.img.avb.json, Line #19

-    "flags" : 0,
-    "flags" : 2,

重新打包,刷回去

###2. 先解开boot.img, 然后做修改如下

修改prop.default,打开debuggable, 注意ro.debuggable出现两次得全改了, 或者删一个

-ro.debuggable=0
+ro.debuggable=1

关闭adb secure, 防止出现adb devices之后的unauthorized 状态

-ro.adb.secure=1
+ro.adb.secure=0

重新打包,刷回去