Commit Graph

7 Commits

Author SHA1 Message Date
Alan Stokes 5be89e6eee Update install instructions.
- Use the -g option to simplify the install.
- Remove the warning about not running the app without granting the
permission, since it doesn't seem to be true.

Bug: 261421013
Test: I tried the new install command, it worked
Change-Id: Id410047403b4c79333b3012fcfce7824591b2e7d
2023-03-28 17:56:30 +01:00
Inseob Kim 4db3f59117 Fix build command for demo app
Test: N/A
Change-Id: I2f46a7ea1aa91a1c90de8e82518cbcc5e797751a
2022-06-28 13:06:53 +09:00
Jiyong Park 3cf15e8d00 Update microdroid demo instruction
The -t flag is needed to install a test apk. And added a warning to
ensure that the permission has to be granted before running the app.

Bug: N/A
Test: N/A
Change-Id: I262d80a400bb80e39bb59cd99e260adcc7784647
2022-01-10 22:31:30 +09:00
Jiyong Park 10b354a008 Update docs
Remove yukawa (VIM3L) and goldfish. Replace them with cuttlefish. Oriole
(Pixel 6) and Raven (Pixel 6 Pro) are supported in the internal master
branch but not yet in AOSP. The doc will be updated again when they
become eligible.

Also update some commands that no longer work.

Bug: 206735564
Test: nothing
Change-Id: I069b7fd4f46ca14bda8fdb46dbedf509511cd4bd
2021-11-22 18:47:01 +09:00
Jiyong Park 0a2484304d Create idsig file automatically
Before a VM is started, the idsig file is created (or updated) by the
virtualization service. This is needed because the idsig file is usually
not available, especially when the APK is downloaded from the store.

Note that the generated idsig file is not a signed one. Therefore, the
APK is first verified using the APK signature scheme V3 (or V2) over a
dm-verity device backed by the APK and the merkle tree (and root hash)
from the idsig file. Only if the verification is successful, the root
hash stored to the instance.img and then used for the subsequent boots
of the VM.

Bug: 193504400
Test: atest MicrodroidHostTestCases
Test: run MicrodroidDemoApp without having the idsig file in
/data/local/tmp/virt.

Change-Id: I9fad05ca9562ae0666431102a8147d0f76f04e6a
2021-08-20 23:41:11 +09:00
Jiyong Park 48c9aebb4c update the doc
Rooting and disabling selinux are not longer required.

Bug: N/A
Test: N/A

Change-Id: I2c462caecb68d3bffca8026058d62b90821ba464
2021-07-27 20:20:55 +09:00
Jiyong Park c68547c7bd Add README for the demo app
Bug: N/A
Test: follow the instruction
Change-Id: Idf63b009c9bccf3ece2ec2079fa92b5c6600ca47
2021-07-08 20:59:54 +09:00