Files
Obsidian/项目文档/徐工/徐工系统编译相关.md
2026-11-05 14:35:04 +08:00

116 lines
2.1 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 徐工项目相关文档
> 整理自腾讯文档/WPS云文档
---
## 参考文档
- [腾讯文档:徐工项目(软件)](https://docs.qq.com/sheet/DZHNRTm1rQ29OTlpa?tab=BB08J2)
- [金山文档:徐工项目车辆设置需要的CAN信号2-周帅](https://www.kdocs.cn/l/ctqaRN8zXfeR)
---
## 一、新版刷机软件
![[徐工相关_图片/image_1.png]]
---
## 二、源码编译
### 2.1 编译步骤
| 步骤 | 命令 | 说明 |
| --- | ----------------- | ----------- |
| 1 | `./build_apk.sh` | 先编译APK |
| 2 | `./build.sh all` | 生成线刷包 |
| 3 | `./build.sh ota2` | 生成U盘升级包和线刷包 |
编译前先clean下:
![[徐工相关_图片/image_2.png]]
![[徐工相关_图片/image_3.png]]
![[徐工相关_图片/image_4.png]]
![[徐工相关_图片/image_5.png]]
---
## 三、系统属性配置
### 3.1 ro.product.xg.hardware
| 值 | 说明 |
|----|------|
| 1 | 高配 |
| 2 | 低配 |
![[徐工相关_图片/image_6.png]]
![[徐工相关_图片/image_7.png]]
![[徐工相关_图片/image_8.png]]
---
### 3.2 ro.product.xg.device.type
为上层应用获取简便,新增属性:
| 值 | 说明 |
|----|------|
| 1 | 低配123 |
| 2 | 低配156 |
| 3 | 高配123 |
| 4 | 高配156 |
![[徐工相关_图片/image_9.png]]
固件路径:
高配路径:Z:\znzc\034_xcmg\x9hp_xcmg\androd10_x9hp_ptg4.3p3\android10\device\semidrive\x9hp\x9hp_ms\rg440_sdk
Y:\xugong_high\androd10_x9hp_ptg4.3p3\android10\device\semidrive\x9hp\x9hp_ms\rg440_sdk
低配路径:Z:\znzc\034_xcmg\x9m_xcmg\androd10_x9hp_ptg4.3p3\android10\device\semidrive\x9hp\x9hp_ms\rg440_sdk
Y:\xugong_low\androd10_x9hp_ptg4.3p3\android10\device\semidrive\x9hp\x9hp_ms\rg440_sdk
语音替换路径:   Z:\znzc\034_xcmg\x9hp_xcmg\androd10_x9hp_ptg4.3p3\android10\vendor\yaxon
高配路径:Z:\znzc\034_xcmg\x9hp_xcmg\androd10_x9hp_ptg4.3p3\android10\vendor\yaxon\realtek_rn440\bluetooth
Y:\xugong_high\androd10_x9hp_ptg4.3p3\android10\vendor\yaxon\realtek_rn440\bluetooth
低配路径:Z:\znzc\034_xcmg\x9m_xcmg\androd10_x9hp_ptg4.3p3\android10\vendor\yaxon\realtek_rn440\bluetooth