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
680
Microdroidが 興味深い件について
Kuu
February 23, 2022
Tweet
Share
More Decks by Kuu
See All by Kuu
公的機関の発表資料に適合した作業環境がBEST__情報機器作業における労働衛生管_理のためのガイドラインについて__を添えて.pdf
fumiyakume
0
230
202212_Kotlinfest2022.pdf
fumiyakume
1
59
All for One なポストモーテム運用と工夫
fumiyakume
1
440
Android/iOSアプリを協調開発するチーム~~スクラム開発の実践とその先へ~~
fumiyakume
1
8.4k
Gradle Plugin for Multi Module
fumiyakume
0
1.3k
UIレンダリングから見るクロスプラットフォーム開発
fumiyakume
0
250
Featured
See All Featured
Producing Creativity
orderedlist
PRO
341
39k
Done Done
chrislema
181
16k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Happy Clients
brianwarren
97
6.7k
Art, The Web, and Tiny UX
lynnandtonic
296
20k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
107
49k
Practical Orchestrator
shlominoach
186
10k
Music & Morning Musume
bryan
46
6.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
BBQ
matthewcrist
85
9.3k
Six Lessons from altMBA
skipperchong
26
3.5k
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: