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
700
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
60
All for One なポストモーテム運用と工夫
fumiyakume
1
440
Android/iOSアプリを協調開発するチーム~~スクラム開発の実践とその先へ~~
fumiyakume
1
8.4k
Gradle Plugin for Multi Module
fumiyakume
0
1.3k
UIレンダリングから見るクロスプラットフォーム開発
fumiyakume
0
260
Featured
See All Featured
Scaling GitHub
holman
458
140k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
BBQ
matthewcrist
85
9.3k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
430
The Pragmatic Product Professional
lauravandoore
31
6.3k
Done Done
chrislema
181
16k
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: