Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
チンパンジーでもわかるカスタムROMビルド
Search
チンパンジー
July 18, 2020
960
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
チンパンジーでもわかるカスタムROMビルド
これでわからなかったらサル
チンパンジー
July 18, 2020
Featured
See All Featured
Leo the Paperboy
mayatellez
10
2.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
730
Tell your own story through comics
letsgokoyo
1
1.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
Mobile First: as difficult as doing things right
swwweet
225
10k
How GitHub (no longer) Works
holman
316
150k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Crafting Experiences
bethany
1
350
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Transcript
チンパンジーでもわかるカスタムROMビルド @karin722 チンパンジーでもわかるカスタムROMビルド
⾃⼰紹介 チンパンジー 森⽣まれ動物園育ち ⽮澤にこがすき FlokoROMの公式メンテナ(OnePlus6) mstdn.maud.io/@w_jb_ チンパンジーでもわかるカスタムROMビルド
カスタムROMを⾃分でビルドしたい︕ 最新のandroidバージョン 最新のセキュリティパッチ 精神衛⽣上よい チンパンジーでもわかるカスタムROMビルド
ビルドのしかた⾊々 ⾃分のPCで ~ 強ければ強いほどビルド時間が短くなる ~ ドンキのノートPCみたいなのだとキツイ VPSとかで ~ 1h/0.119ドルとかで借りれる ~
バナナ払い未対応の所が多い ~ 毎回環境構築するの⾟い ⽊の枝と⽯ころで ~ チンパンジー限定なのでニンゲンはできません チンパンジーでもわかるカスタムROMビルド
ビルドの下準備 今回はLineageOSをビルドしてみます 各種パッケージをインストール ~ bc bison build-essential ccache curl flex
g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev ビルド⽤フォルダを作る ~ ビルドするROMの名前とか、お好きに チンパンジーでもわかるカスタムROMビルド
ビルドの下準備つづき repo sync ~ ビルドに必要なファイルをgithubからゴッソリ持っていく ~ さっき作ったフォルダに⼊って repo init -u
git://github.com/LineageOS/android.git -b lineage-17.1 repo sync 早いと⼤体⼀時間程度で終わります。遅いと4時間以上とか チンパンジーでもわかるカスタムROMビルド
各種デバイス向けのファイルを取ってくる local_manifest.xmlを書く ~ デバイスツリーとか諸々の場所を書く必要がある <project name="LineageOS/android_device_google_blueline" path="device/google/blueline" revision="lineage-16.0" /> みたいな
書き終わったら /.repo/local_manifests に配置しておきましょう チンパンジーでもわかるカスタムROMビルド
いざビルド 謎の呪⽂ export LC_ALL=C.UTF-8 export ALLOW_MISSING_DEPENDENCIES=true . build/envsetup.sh ~ コマンド集みたいなものらしい
brunch <デバイスのコードネーム> バナナでも⾷べながら待ちましょう チンパンジーでもわかるカスタムROMビルド
ビルドが成功したら まずはおめでとうございます out/target/product/<デバイスのコードネーム> にROMのzipファイルがあります ビルドが失敗したら エラー⽂をコピペしてググると解決策が⾒つかるかも チンパンジーでもわかるカスタムROMビルド
ビルドを速くしたい︕ ccacheを使う ~ export USE_CCACHE=1 ~ ccache -M 45G とかで上限を引き上げてね
PC/VPSの構成を強くする ~ cpu強くしたり、メモリ増やしたり... チンパンジーに進化する ~ ⽯ころと⽊の枝でビルドできるようになりますよ チンパンジーでもわかるカスタムROMビルド