hackxpeng / hackp5g9

本项目可以帮助小鹏P5和小鹏G9开启adb和网络adb
301 stars 56 forks source link

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

Open secisle opened 10 months ago

secisle commented 10 months ago

在最新的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

OscarArguedasB commented 9 months ago

Still pending, but needed

soulnous commented 9 months ago

the generator is working for p7 version 4.0 ?

OscarArguedasB commented 9 months ago

the generator is working for p7 version 4.0 ?

@soulnous it should be working

soulnous commented 9 months ago

The generator in the website https://hackxpeng.bgcpdd.eu.org/xpeng?m=hackxpeng&id=

Is updated ? Or the code that you posted here is related to the Ota 4-4.30?

Thx

soulnous commented 9 months ago

I have tested it 3 weeks ago in p7 with version 4.0 and the generator didn't work (it didn't generated for me the correct codes to put in the dialer) So that's why I'm asking

soulnous commented 9 months ago

Did you find a solution ?

AbdullahGheith commented 4 months ago

@secisle

你是怎么找到的?这是 xmart os 代码吗?我们有源代码吗?我想看看。

How did you find? Is this xmart os code? Do we have the source? i want to look at it.:

o.xpeng.devcode.ver

if (i == 1) { z = this.qI.isUnlockKeyValid(str); } else if (i == 2) { z = this.qI.isUnlockKeyValidV2(str); }

/system/lib64/libxpsecurity2.so

RobinNotBad commented 3 months ago

/system/lib64/libxpsecurity2.so

能否有人将此so文件和调用它的系统软件提取出来,我尝试通过安卓开发自己编写软件调用此so库中的密码生成方法? Can anyone get the .SO file and the system software that calls it, and I may attempt to make an Android app to call its password generating method?

OscarArguedasB commented 3 months ago

@RobinNotBad I can share it But I think it has changed since then