Joshua Duong | 01a4ebf | 2021-05-04 11:34:28 -0700 | [diff] [blame] | 1 | on property:init.svc.qemu-adb-keys=stopped |
| 2 | start qemu-adb-setup |
| 3 | |
| 4 | on property:vendor.qemu.adb.copykey=1 |
| 5 | copy /data/vendor/adb/adb_keys /data/misc/adb/adb_keys |
| 6 | chown system shell /data/misc/adb/adb_keys |
| 7 | chmod 0640 /data/misc/adb/adb_keys |
Huan Song | 9b03aa4 | 2021-08-19 22:14:21 -0700 | [diff] [blame] | 8 | |
| 9 | on property:init.svc.qemu-device-state=stopped && property:ro.boot.qemu.device_state=* |
| 10 | mkdir /data/system/devicestate/ 0755 system system |
| 11 | copy /data/vendor/devicestate/device_state_configuration.xml /data/system/devicestate/device_state_configuration.xml |
| 12 | rm /data/vendor/devicestate/device_state_configuration.xml |
| 13 | chown system system /data/system/devicestate/device_state_configuration.xml |