android槽位切换

这里写自定义目录标题

  • [手动切换android槽位 a槽位 b槽位](#手动切换android槽位 a槽位 b槽位)
    • [1. 进入 fastboot](#1. 进入 fastboot)
    • [2. 重启进入fastboot](#2. 重启进入fastboot)
    • [3. 切换](#3. 切换)
    • [4. 查看](#4. 查看)

手动切换android槽位 a槽位 b槽位

1. 进入 fastboot

复制代码
ssh root@223.255.255.1

可选命令

复制代码
export $(cat /tmp/dbusenv.txt) slay lifecycle dbus-send --type=signal /ipcl.in.from.qx.LC2PM_INFO_NOTIFY array:byte:0x53,0x01,0x0

2. 重启进入fastboot

复制代码
reset -f

此时已经进入了fastboot,屏幕是黑的

3. 切换

复制代码
fastboot set_active a //使a槽位变成active
fastboot set_active b //使b槽位变成active

查看当前槽位

复制代码
fastboot getvar current-slot 

A->B:swdl_utils -d 0 -l 1

B->A:swdl_utils -d 1 -l 1

4. 查看

复制代码
getprop |grep slot 

fastboot reboot
相关推荐
wjjzhbb5 分钟前
中小团队敏捷转型:Scrum还是看板?
java·maven·scrum
GodSure091415 分钟前
Java单一职责原则SRP详解
java·python·单一职责原则
探数API小喇叭19 分钟前
基站查询 API 怎么用?LAC、CELLID 参数详解与实战】
java·开发语言·api·基站定位
catino20 分钟前
spring-IOC、DI
java·spring·rpc
chjif1 小时前
Android 设备管控开发实战:自定义 Launcher 如何只显示指定 App?
android·kotlin
xcl09251 小时前
宠物救助领养系统实战开发指南:从需求分析到部署上线
java·mfc·宠物
考虑考虑1 小时前
arthas使用
java·运维·后端