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
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Teambox: Starting and Learning
jrom
132
8.7k
Producing Creativity
orderedlist
PRO
341
39k
Side Projects
sachag
452
42k
A Modern Web Designer's Workflow
chriscoyier
692
190k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
A better future with KSS
kneath
238
17k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Writing Fast Ruby
sferik
626
61k
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: