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
相关推荐
用户8307196840821 天前
Spring Boot WebClient性能比RestTemplate高?看完秒懂!
java·spring boot
Flywith241 天前
【每日一技】Raycast 实现 scrcpy 的快捷显示隐藏
android·前端
没有了遇见1 天前
Android(Coil,Glide)大量图片加载缓存清理问题(二 Coil处理)
android
Assby1 天前
从洋葱模型看Java与Go的设计哲学:为什么它们如此不同?
java·后端·架构
城东米粉儿1 天前
Android Dagger2笔记
android
没有了遇见1 天前
Android(Coil,Glide)大量图片加载缓存清理问题(一)
android
恋猫de小郭1 天前
谷歌 Genkit Dart 正式发布:现在可以使用 Dart 和 Flutter 构建全栈 AI 应用
android·前端·flutter
belhomme1 天前
(面试题)Netty 线程模型
java·面试·netty
曾经我也有梦想1 天前
Day4 Kotlin 高级特性
android