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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
チンパンジー
July 18, 2020
980
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
チンパンジーでもわかるカスタムROMビルド
これでわからなかったらサル
チンパンジー
July 18, 2020
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
A Tale of Four Properties
chriscoyier
163
24k
Building Applications with DynamoDB
mza
96
7.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
The browser strikes back
jonoalderson
0
1.8k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
KATA
mclloyd
PRO
35
16k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.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ビルド