LineageOS

wiki.lineageos.org

zenn.dev

sudo apt update
sudo apt install android-sdk-platform-tools-common android-sdk-platform-tools

# 確認
adb version
fastboot --version

開発者向けオプションを有効化

USBデバッグ
OEMロック解除

$ adb reboot bootloader

$ fastboot oem unlock FHDFXXXXXXXXXXXXXXXX
(bootloader) Bootloader is unlocked!
OKAY [ 22.694s]
Finished. Total time: 22.694s
(bootloader) Bootloader is unlocked!
OKAY [ 22.694s]
Finished. Total time: 22.694s

$ adb reboot bootloader
  • dtbo.img
  • vendor_boot.img
  • boot.img(Lineage Recovery)
  • lineage-24.x-xxxx-caprip.zip
$ mkdir ~/lineage-caprip
$ cd ~/lineage-caprip

~/lineage-caprip/
├── dtbo.img
├── vendor_boot.img
├── boot.img
└── lineage-24.x-caprip.zip

$ fastboot flash dtbo dtbo.img
Sending 'dtbo_a' (24576 KB)                        OKAY [  0.833s]
Writing 'dtbo_a'                                   OKAY [  0.355s]
Finished. Total time: 1.195s

$ fastboot flash vendor_boot vendor_boot.img
Sending 'vendor_boot_a' (98304 KB)                 OKAY [  3.444s]
Writing 'vendor_boot_a'                            OKAY [  0.572s]
Finished. Total time: 4.018s

$ fastboot reboot bootloader
Rebooting into bootloader                          OKAY [  0.000s]
Finished. Total time: 0.050s

$ fastboot flash boot boot.img
Sending 'boot_a' (98304 KB)                        OKAY [  3.462s]
Writing 'boot_a'                                   OKAY [  1.488s]
Finished. Total time: 4.952s

$ adb -d sideload lineage-24.0-20261104-nightly-caprip-signed.zip

adb: sideload connection failed: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

$ adb -d sideload MindTheGapps-17.0.0-arm64-20261022_132445.zip
Total xfer: 1.00x

AdGuard Home

DNS設定

アップストリームDNSサーバー

tls://public.dns.iij.jp
https://dns.quad9.net/dns-query
https://dns.cloudflare.com/dns-query
https://dns.google/dns-query

並列リクエスト

フォールバックDNSサーバー

9.9.9.9
149.112.112.112
1.1.1.1

ブートストラップDNSサーバ

9.9.9.9
1.1.1.1
8.8.8.8

DNSSECを有効

キャッシュサイズ

16777216

最小TTLの上書き(秒単位)

300

一般設定

AdGuardブラウジングセキュリティ・ウェブサービスを使用する

DNSブロックリスト

proxmonx

https://community-scripts.org/scripts/post-pve-install

 ✓ Disabled 'pve-enterprise' repository
 ✓ Disabled 'ceph enterprise' repository
 ✓ Added 'pve-no-subscription' repository
 ✗ Selected no to Adding 'ceph package repositories'
 ✓ Disabled all Ceph Enterprise repositories
 ✗ Selected no to Adding 'pvetest' repository
 ✓ Disabled subscription nag (Delete browser cache)
 ✓ Disabled high availability
 ✓ Disabled Corosync
 - Updating Proxmox VE (Patience)...

DNS

  1. AdGuard DNS: 94.140.14.14 / 94.140.15.15
  2. ControlD (p2): 76.76.2.2 / 76.76.10.2
  3. Mullvad Adblock: 194.242.2.3
  4. NextDNS: 45.90.28.0 / 45.90.30.0
  5. http://dns0.eu (ZERO): 193.110.81.9 / 185.253.5.9
  6. DNS4EU (Full Security): 86.54.11.104
  7. CleanBrowsing (Security): 185.228.168.9 / 185.228.169.9
  8. Quad9: 9.9.9.9 / 149.112.112.112
  9. Cloudflare Families: 1.1.1.2 / 1.0.0.2
  10. Alternate DNS: 76.76.19.19 / 76.223.122.150

Raspbian 13 ミラー変更

ls -la /etc/apt/sources.list.d/
sudo nano /etc/apt/sources.list.d/raspi.sources
Types: deb
URIs: http://raspbian.raspberrypi.com/raspbian/
Architectures: armhf
Suites: trixie
Components: main contrib non-free rpi
Signed-By: /usr/share/keyrings/raspbian-archive-keyring.gpg
http://raspbian.raspberrypi.com/raspbian/
↓
https://ftp.tsukuba.wide.ad.jp/Linux/raspbian/raspbian/