Commit Graph

5 Commits

Author SHA1 Message Date
Inseob Kim 23ce158063 Add build.prop for microdroid
Bug: 181728482
Test: boot microdroid, adb shell getprop
Change-Id: Ief3064661d8a2fd715a69880e4024abcc8357be2
2021-04-06 21:25:57 +09:00
Inseob Kim 95d620c09b Remove services except for adb
Now init_rc is packaged, so we don't need to define services in
microdroid's init.rc. The exception is adb, which is meant to be in
APEX.

Bug: 181747401
Test: boot and see logd, servicemanager, and apex-bootstrap work
Change-Id: I177bec881a595b30983b9e67d9f76c0865ff3863
2021-03-11 14:20:24 +09:00
Jiyong Park 22bdc857c5 Enable adbd on microdroid
The following system properties are forcibly set to make adbd function.

ro.apex.updatable=true : otherwise, apexd doesn't activate critical
APEXes like the runtime APEX

ro.adb.secure=0 : to bypass the adb authentication

ro.debuggable=1 : to be able to use ro.adb.secure=0

This change also updates README.md file for the instruction to use adb.

Bug: 181728474
Test: adb shell works towards microdroid. See microdroid/README.md

Change-Id: Ica405e8bd4d2d1ef03e545aef5ed07ddc4bea34c
2021-03-04 09:46:34 +09:00
Inseob Kim 870e76bdb4 Add linkerconfig to microdroid
Bug: 179340111
Test: boot microdroid on cuttlefish VM
Change-Id: I19117fea79095b2e13c625da871cfa33d9ad6724
2021-02-25 18:26:14 +09:00
Inseob Kim dc2af866ec Add minimized init.rc and services to microdroid
This adds a minimized init.rc and services to microdroid, so microdroid
can boot and adb can work.

Bug: 179340780
Test: boot with manually added selinux stuffs and apexd session patch
Change-Id: I42ae13f3f2ac9ca22ed646564867da3931824682
2021-02-18 09:25:11 +09:00