hackxpeng / hackp5g9 Goto Github PK
View Code? Open in Web Editor NEW本项目可以帮助小鹏P5和小鹏G9开启adb和网络adb
本项目可以帮助小鹏P5和小鹏G9开启adb和网络adb
关于hackxpeng的愿望清单:
1,某些app可后台常驻
2,输入法切换
3,adb开关界面快捷方式
4,全局悬浮按钮
5,谷歌套件
6,挂r档再挂回d档,回到原app界面
7,上下栏设置始终可见,比如哔哩哔哩,k歌等app
8,大家讨论一下
小鹏G6无法弹出网络调试模式, 楼主看看是不是需要别的口令?
"9925", "9723", "4227", "9387", "7494", "9444"
最近更新后已经无法开启adb了
个人认为这个方法随时可能会被热更新修复,xpeng可以在应用层做规避,因此,建议使用 https://github.com/MuntashirAkon/SetEdit
安装后用adb shell pm grant 包名 权限名
给SetEdit写系统设置的权限,这样即便上层规避了,你也可以继续使用setEdit修改数据库来打开adb
尝试了进入adb没有反应,有G6的朋友测试成功的吗?
在车里坐了一下午,测了一堆应用
Moonlight串流 不兼容
EDGE 兼容
Chrome 间歇闪退
乐播投屏TV版 不兼容
Firefox 兼容
Youtube 不兼容(闪退,安装谷歌三件套后情况依旧)
NewPie 兼容
Play商店 同上
VLC 兼容
Bilibili手机版 兼容
腾讯视频手机版 兼容
盯盯拍 兼容
kiwi浏览器 闪退
Netflix 闪退
Clash 兼容(但杀后台严重,在adb关闭电池优化后依然被杀)
apkpure 闪退
总结: tv版应用在竖屏车机很容易出现显示问题导致不兼容,手机版应用一般不会出现显示问题(除非进入后强制横屏)。
依赖gms的应用基本无法使用,另外不少应用存在闪退的问题。
欢迎补充
安装好vlc后,无法读取u盘,一点击存储设备下的OTG设备就提示:“请选择您的OTG设备,以授予VLC访问它的权限。”但是没有选择U盘的窗口,要如何解决?
安装了第三方导航的话流量怎么走,还是走免费流量吗?比如百度地图或者高德
根据大哥的方法,我也逆出了unlock key的算法,我也想为我的小鹏做一点贡献。单兵作战,想寻求个群。
证明:0x17890
代码
( 微信:com.tencent.wetype/.plugin.hld.WxHldService
腾讯:com.tencent.qqpinyin/.QQPYInputMethodService
搜狗:com.sohu.inputmethod.sogou/.SogouIME
百度:com.baidu.input/.ImeService
讯飞:com.iflytek.inputmethod/.FlyIME
腾讯:com.tencent.qqpinyin/.QQPYInputMethodService
谷歌:com.google.android.inputmethod.pinyin/.PinyinIME
搜狗:com.sohu.inputmethod.sogou/.SogouIME
触宝:com.cootek.smartinput5/.TouchPalIME
其他输入法可自行去网上查找或者在此贴留言并留下下载地址,我有空了将会更新此贴内容。
感谢 KY 群友提供
adb shell ime enable 输入法代码
如微信输入法执行:
adb shell ime enable com.tencent.wetype/.plugin.hld.WxHldService
adb shell ime set 输入法代码
如微信输入法执行:
adb shell ime set com.tencent.wetype/.plugin.hld.WxHldService
有问题欢迎留言,不一定能解决。
PS:建议用微信,悬浮窗输入很好用(我不知道其他输入法有没有
经过测试,设置好输入法后使用冰箱冻结原厂输入法后,可实现输入法常驻。
小鹏P5,定位在20万元级别的轿车市场,集成了多项高科技配置,特别是通过装备一块宽大的仪表盘来增强驾驶者的视觉享受。然而,令人稍感遗憾的是,该车型未配备方向盘上下调节功能,这一点在同级别车型中显得格格不入。此外,较大的方向盘尺寸设计,无意间引发了另一个实际问题:不同驾驶者的坐姿可能导致方向盘遮挡仪表盘上方的重要状态指示灯,影响行车信息的即时获取,从而减弱了驾驶过程的安全性和便捷性。用户期待未来的升级能够解决这一细节问题。
为了缓解这一设计局限,技术社群提出了一种通过修改系统源码的临时解决方案,聚焦于调整仪表盘的显示布局。具体操作涉及修改com.android.server.display.LogicalDisplay
类的configureDisplayLocked
方法。
以下是调整代码的一个示例:
// 调整前:
// ⬇️ 车机主屏幕布局
// DisplayDevice.setProjectionLocked(left=0, top=0, right=1080, bottom=1900)
// ⬇️ 车机仪表盘布局
// DisplayDevice.setProjectionLocked(left=0, top=0, right=1920, bottom=720)
// 修改建议:
if (mTempLayerStackRect.right.value === 1920 && mTempLayerStackRect.bottom.value === 720) {
mTempLayerStackRect.top.value -= 150; // 向上调整
mTempLayerStackRect.left.value -= 150; // 向左调整
mTempLayerStackRect.right.value += 150; // 右侧拓宽
}
尽管上述代码修改能够技术性地缓解遮挡问题,但它要求较高的技术门槛,对大多数用户而言不够友好。鉴于此,我们强烈建议小鹏汽车能在未来的车机系统迭代中,内置更加灵活的用户界面配置选项,例如允许用户自行设定仪表盘的相对位置,或开发智能算法以自动适应方向盘的位置变化。此外,通过引入系统级配置变量,如:
persist.instrument.cluster.offset.left=-150
persist.instrument.cluster.offset.top=-150
persist.instrument.cluster.offset.right=150
可以让借助系统软件轻松调整,无需直接干预底层代码,从而极大地提升了用户体验的友好度和便利性。
总结而言,小鹏P5虽在某些设计细节上有待完善,但通过持续的技术创新和积极采纳用户反馈,未来必将在驾驶体验上实现更加全面和个性化的优化。
I have G3 and tried to run the code #9925*111# but nothing happened on the phone app. Is there any other code that I can use to see the carID on G3 after the latest update?
我是G9是公测版4版,目前可以调取车辆二维码,用二维码信息也能够生成解锁码,但输入解锁码后没反应,手动删除后再输入*#9387*141#*也没有反应。特此反馈
请问3.6.1可以拯救吗 车机自行升级后无法使用老方法了 大神可以拯救下马
在[reccmost](https://github.com/hackxpeng/hackp5g9/issues/14)基础上精简一些步骤
设置默认,避免输入法被杀后台
使用adb功能,或者安装狮,mt等工具安装好你要的输入法,一定要先在车机安装好输入法。
输入法的代码( 服务类名)
微信:com.tencent.wetype/.plugin.hld.WxHldService
腾讯:com.tencent.qqpinyin/.QQPYInputMethodService
搜狗:com.sohu.inputmethod.sogou/.SogouIME
百度:com.baidu.input/.ImeService
讯飞:com.iflytek.inputmethod/.FlyIME
搜狗:com.sohu.inputmethod.sogou/.SogouIME
触宝:com.cootek.smartinput5/.TouchPalIME
车机自带:com.sinovoice.hcicloudinputvehicle/.service.HciCloudIME
3.操作步骤
#设置系统默认输入法
#显示系统安装的输入法列表(确认一下是否启用)
adb shell ime list -s 已经启用的输入法(查包名,建议使用此命令)
#取消激活系统(车机)默认输入法
adb shell ime disable com.sinovoice.hcicloudinputvehicle/.service.HciCloudIME
完成!!enjoy!!
在最新的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
有什么办法把小鹏APP的手机机型限制去掉,并开放与G9/6相同的可调节解闭锁灵敏度功能?
车上的蓝牙模块应该是一样的,感觉还是小鹏官方人为制造的“硬件限制”。
我安装了setedit,要如何用setedit开启wifi调试模式?刚刚重启车机,也重新输入解锁串。但发现*#9387*141#*不能打开调试模式窗口了。
setedit - global table- xp_usb_mode 这里只是调整usb调试吧?
V2 algorithm seem to use some info in keystore, is there any chance we can make it on p7? My plan is brute force the v2 unlock code, but I can't get pass the *(_BYTE *)__emutls_get_address(&unk_20128)
.
Anyways, thanks for your sharing, which make more xpeng owner has a chance to make their vehicle better.
小鹏P5已经成功破解 可以安装App了 之前买了车机的无限流量
有什么App可以装在车机里把车机的移动网络变成热点吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.