Skip to content

how to enable adb on G6/G9 with higher version(xsmart os 4.5.0) #23

@secisle

Description

@secisle

在最新的4.5.0版本上,拉起adb调试界面的隐藏码失效:
在拨号盘中会根据隐藏码(secret code)拉起DevTools
DevTools会根据系统中的属性[ro.xpeng.devcode.ver]选择对应的校验算法,较新版本为2,校验通过才会拉起
if (i == 1) {
z = this.qI.isUnlockKeyValid(str);
} else if (i == 2) {
z = this.qI.isUnlockKeyValidV2(str);
}
System.loadLibrary("xpsecurity2")库在系统目录/system/lib64/libxpsecurity2.so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions