Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Microdroidが 興味深い件について
Search
Kuu
February 23, 2022
0
720
Microdroidが 興味深い件について
Kuu
February 23, 2022
Tweet
Share
More Decks by Kuu
See All by Kuu
公的機関の発表資料に適合した作業環境がBEST__情報機器作業における労働衛生管_理のためのガイドラインについて__を添えて.pdf
fumiyakume
0
240
202212_Kotlinfest2022.pdf
fumiyakume
1
60
All for One なポストモーテム運用と工夫
fumiyakume
1
460
Android/iOSアプリを協調開発するチーム~~スクラム開発の実践とその先へ~~
fumiyakume
1
8.5k
Gradle Plugin for Multi Module
fumiyakume
0
1.3k
UIレンダリングから見るクロスプラットフォーム開発
fumiyakume
0
260
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
The Cult of Friendly URLs
andyhume
78
6.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
Facilitating Awesome Meetings
lara
50
6.1k
The Pragmatic Product Professional
lauravandoore
32
6.3k
Typedesign – Prime Four
hannesfritz
40
2.4k
It's Worth the Effort
3n
183
28k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Optimizing for Happiness
mojombo
376
70k
Rails Girls Zürich Keynote
gr2m
94
13k
Transcript
Microdroid͕ ڵຯਂ͍݅ʹ͍ͭͯ DroidKaigi: ϥϯνλΠϜLT ձ Vol.1
͢͜ͱ • Microdroidͷͷجຊతͳެ։͞ΕͯΔใ • ιʔείʔυެ։υΩϡϝϯτΑΓΘ͔Δ͜ͱ • ্هΛ౿·͑ͯݸਓͷײΛ͍ͯ͘͠
ࠓͷΰʔϧ • ࢀՃऀ͕ɺMicrodroid ҰൃωλͰͳ͘ΨνͰ࡞ΒΕͯΔ ͷͩͱೝࣝ͢Δ
Kuu/͎͘ͱ͍͍·͢🍣 • Software Enginer @ ϝϧΧϦ • Android ΞϓϦΛ࡞Δ͓ࣄ •
େମಇ͖࢝Ί͙ͯ̎Β͍ • झຯ • ཱྀߦɾࣸਅࡱӨ • ݈߁ҡ࣋ • ਭɺ৯ࣄɺӡಈ • ใऩूͱߟ
গ͠όζͬͨωοτهࣄ •ઌൃද͞ΕͨAndroid 13 Developer Preview 1ͰɺMicrodroidͱݺΕΔܰ ྔ൛Android্ͰԾϚγϯΛಈ࡞ͤ͞Δ ԾԽػೳɾKVM͕ࡌ͞Ε͍ͯ·͢ɻ •ຊདྷͷతͱͯ͠ηΩϡϦςΟ্ͷ ͨΊʹΛਐΊΔಈ͖ʹ͏ͷ
https://androplus.org/entry/android-13-windows-linux-kvm/
ͳΔ΄Ͳ?Α͘Θ͔ΒΜͷͰ·ͱΊͯΈΔ • Android 13Ͱܰྔ൛Android͕ొ͢Δ͔ͳͷ͔🤔 • ηΩϡϦςΟ্ͷͨΊʹ😝 • Android ΞϓϦΛ։ൃͯ͠ΔΤϯδχΞతʹ৺ •
ͬͱղ૾ײ࣋ͬͯཧղ͢Δͱྑ͍͔🤩 • Android Go editionͱͷҧ͍?🧐
Α͋͘Δؒҧ͍ 🙅MicroDroid 🙆Microdroid
Android Go editionͱMicrodroidͷҧ͍ • Android Go edition • ࣮ͰϢʔβʔ͕৮ΔGUIΛఏڙͯ͠Δ •
Ϧιʔε && ωοτϫʔΫଳҬͷগͳ͍ڥ͚ • Microdroid • ͦͦGUIΛఏڙͯ͠ͳ͍ • HAL͢Βఏڙͯ͠ͳ͍ • ԾϚγϯͷ্Ͱಈ͔͢ڥ͚ https://android.googlesource.com/platform/packages/modules/Virtualization/+/HEAD/microdroid/README.md
GoogleͷϓϨθϯ͔ΒηΩϡϦςΟ্ͷ தΛਪଌͯ͠ΈΔ • Virtualisation for the Masses: Exposing KVM on
Android • ༁: ԾԽͷେऺԽ, Androidͷ্Ͱಈ͘KVMͷެ։ • ຊདྷͷతͱͯ͠ηΩϡϦςΟ্ͷͨΊʹΛਐΊΔಈ͖ʹ͏ͷ • ৄࡉͬΆ͍ͷ͕ॻ͍ͯ͋ͬͨ • Two-stage MMU • ϝϞϦۭؒͷ • ԾϝϞϦΞυϨεͱ࣮ΞυϨεΛม͢Δͭ • αʔυύʔςΟͷιʔείʔυΛEL2/Trust zone͔Β • ࢦೝূͳͲͷηΩϡΞͳใѱҙͷ͋ΔΞϓϦ͔ΒͷΞΫηεΛ੍ޚ
ιʔείʔυಡΜͰ ΈΛໝͯ͠ΈΔ • Rust Ͱهड़͞ΕͯΔʂ😵💫 • ࠷ۙͬΆ͍ݴޠʂ • APKͱॺ໊ʑΛࢦఆͯ͠ىಈ •
crosvm Λ͍ԾϚγϯ (Protected KVM)Λཧͯ͠Δ • Chrome OSͰطʹΘΕͯ ͍ΔͷΛྲྀ༻ͯ͠ΔͬΆ͍ https://android.googlesource.com/platform/packages/modules/Virtualization/+/refs/heads/master
·ͱΊ • MicrodroidҰൃωλ͡Όͳ͍Β͍͠ • ϢʔβʔࢹͰ࣮ࡍʹ৮ΕΔͷͰͳ͍Β͍͠ • Googleطଘٕज़Λ׆༻ͭͭ͠ੲ͔Β։ൃͯͨͬ͠Ά͍
ϦϯΫू • https://androplus.org/entry/android-13-windows-linux-kvm/ • https://android.googlesource.com/platform/packages/modules/ Virtualization/+/refs/heads/master • https://www.xda-developers.com/microdroid-stripped-down- android-virtual-machines/ •
https://android.googlesource.com/platform/packages/modules/ Virtualization/+/refs/heads/master/microdroid/README.md
͝ਗ਼ௌ͋Γ͕ͱ͏͝ ͍͟·͢🙌 צҧ͍ͯ͠Δ෦͕͋ͬͨΒͬͦ͜Γڭ͑ͯΒ͑Δͱخ͍͠Ͱ͢ :bow: