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
690
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
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Producing Creativity
orderedlist
PRO
341
39k
Become a Pro
speakerdeck
PRO
25
5k
BBQ
matthewcrist
85
9.3k
Visualization
eitanlees
145
15k
What's in a price? How to price your products and services
michaelherold
243
12k
Docker and Python
trallard
40
3.1k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
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: