閉じる

Raspberry Pi 4 向け Android 12 を WSL2 でビルドして起動する (android-rpi)

android-rpi/device_arpi_rpi4 に記載されているManifestファイルを用いて、 Raspberry Pi4用のAndroidイメージを作成しました。
この記事ではWSL2上のUbuntuを用いて、OSのビルドからSDに書き込むイメージファイルの作成までを行います。

RepositoryのREADMEの手順だけでなく、WSL2固有で必要な追加対応がいくつかあるので、それを一つずつ対処しながらビルドまでしてみましょう。

ビルド環境

  • Hardware
    • CPU: Core i5-7600
    • RAM: DDR4 32GB
    • SSD: 1TB (結局200GBくらい使った)
  • Software
    • Windows 11 22000.978 (21H2)
    • WSL2 (Ubuntu-18.04)
      • RAMは16GB を割り当て
        • Androidの環境要件で16GB以上が要求されます
    • Raspberry Pi Imager v1.7.3 (ビルドをSDカードに書き込むときに使用)

環境構築

WSL2用Ubuntu18.04のインストール

AOSPはビルド要件としてUbutnu18.04を指定しています。
WSL2のデフォルトはUbuntu20.04なので、WSL2にUbuntu18.04をインストールしましょう。ここでは3つの方法を紹介します。

必要なパッケージのインストール

Repo

Repoは複数のgitリポジトリからソースコードを取得するためのツールです。
ここでは、Android公式の方法2に従ってインストールします。aptを使う1の方法が簡単に見えますが、あまりおすすめしません。Python2を使う古いバージョンのRepoがインストールされるため、いろいろと面倒です。

注意点ありまして、公式の手順をコピペするだけでは失敗します。WSL2でgpgがアクセスする既定のポートがブロックされているためです。
例えば、利用可能なポートからkeyserverにアクセスすることで、解決できます。

export REPO=$(mktemp /tmp/repo.XXXXXXXXX)
curl -o ${REPO} https://storage.googleapis.com/git-repo-downloads/repo
gpg --keyserver hkp://keyserver.ubuntu.com:80  --recv-key 8BB9AD793E8E6153AF0F9A4416530D5E920F5C65 # --keyserver を指定
curl -s https://storage.googleapis.com/git-repo-downloads/repo.asc | gpg --verify - ${REPO} && install -m 755 ${REPO} ~/bin/repo

ビルド中に使うパッケージ

このあと、device_arpi_rpi4 の手順に従ってビルドしますが、記載のないパッケージの追加インストールが必要だったので、ここに記載します。ビルド失敗時に逐次インストールしたい方は、今はこの項目をスキップしてください。

  • Python3.8, Pip, pkg-config: apt でインストール
  • Python3.8はデフォルトバージョンになるように設定変更してください。
  • meson, mako: pip でインストール
$ pip3 install --user meson mako
$ sudo apt install python3.8 python3-pip pkg-config

Python3.8のインストール後、apt が正常に動作しなくなる現象が起こりました。原因は Python3.6/Python3.8 で互換性のない関数が使われていることみたいです。
対処可能で、例えばエラーを出力するコードの先頭行に Python3.6 を指定することで解決します。

- #/usr/bin/python
+ #/usr/bin/python3.6

ビルドする

OSのビルド

device_arpi_rpi4公式 に記載されている通りに進めればビルドができます。ビルドに失敗したらエラー内容を検索にかけて解決します。

※ repo init するときのbranchはandroid-12.1.0_r27を使用してください。
googlesource.com を見るとbranch一覧が見られます。Android12ならandroid-12.1.0_r27が最新版です。

repo init -u https://android.googlesource.com/platform/manifest -b android-12.1.0_r27

参考: Sometimes boot failed: black screen, and sometime fleeking with andorid animation and background like terminal #93

余談ですが、上記のRepositoryではAndroid 13用のBranchがデフォルトになっているので、それを試してみるのも楽しいですね。

Kernelのビルド

device_arpi_rpi4kernel_arpi 5.10 が指定されているので、arpi-5.10ブランチのkernelをビルドします。 試しに5.15ブランチをkernelを焼いてみましたが、執筆時点では課題があるようでした。system, vendor パーティションを見つけられない様子でした。

SDカードに書き込む

WSL2で複数パーティションを含むimgファイルを作成して、WindowsからそのimgをSDカードに焼くという方法をとります。 これはWSL固有の課題ですが、WSLからSDに直接アクセスできません。(厳密にはできる方法もあるようですが、結構面倒です) そのため、WSLはimgを作成するところまでを担当して、書き込みはWindowsに任せる方法で、解決します。 WSL2でimgファイルを作る方法に関しては、この記事がとても参考になったのでこちらを参照されるのがよいと思います。Ubuntu / WSL2 でディスクイメージファイルを作成 (Qiita) 基本的には、truncateで作成したimgファイルをループバックマウントして、そこに公式記載の手順を実施する、という流れになります。

注意点としては、

  • fdisk で作成するパーティションは4つ
  • 第4のパーティションには userdata のラベルを付ける
mkfs.ext4 -L userdata /dev/loop0p4

!/bin/bash

if [ $# -ne 1 ]; then
echo "bash ./create_img.sh {path-to-img}"
exit 1
fi

sudo losetup -P -f --show $1

dd if=~/repo_work/out/target/product/rpi4/system.img of=/dev/loop0p2 bs=1M
dd if=~/repo_work/out/target/product/rpi4/vendor.img of=/dev/loop0p3 bs=1M

sudo mount /dev/loop0p1 tmp
cp ~/repo_work/device/arpi/rpi4/boot/* ./tmp/
cp ~/repo_work/out/target/product/rpi4/ramdisk.img ./tmp/

sudo cp ~/android-kernel/out/arpi-5.10/dist/Image.gz ./tmp/
sudo cp ~/android-kernel/out/arpi-5.10/dist/bcm2711-rpi-4-b.dtb ./tmp/

mkdir ~/tmp/overlays
sudo cp ~/android-kernel/out/arpi-5.10/dist/vc4-kms-v3d-pi4.dtbo ~/tmp/overlays/
sudo cp ~/android-kernel/out/arpi-5.10/dist/ov5647.dtbo ~/tmp/overlays/

sudo umount ~/tmp
sudo losetup -d /dev/loop0
$ sudo bash ./create_img.sh path-to-sd.img

一通りの手順が終わったら、imgファイルをWindowsから読める場所にコピーして、Raspberyy Pi Imager 等でSDカードに書き込みます。
(ほかのLinuxイメージを書き込むときと同じです)

ラズパイにSDカードを挿入して画面が表示されたら完了です!

起動から画面表示まで (90秒程度)

Tips

デバッグ

  • UARTで起動ログを出力できます。うまく起動しないときのデバッグに有用です。
  • シリアル通信モジュールならなんでもいいですが、私はこれを使っています。→[DSD TECH SH-U09C](https://amzn.asia/d/fWgH0Pt)

画面回転 (横画面→縦画面モードへの変更)

今回の方法でandroid-rpiはAndroid TVとしてビルドされますが、縦画面として使いたいこともありますよね。

$ adb shell
rpi4:/ # settings put system user_rotation 0 // 横画面
rpi4:/ # settings put system user_rotation 1 // 縦画面 (時計回り90°)
rpi4:/ # settings put system user_rotation 2 // 横画面 (時計回り180°)
rpi4:/ # settings put system user_rotation 3 // 縦画面 (時計回り27°)

Android TV 向けアプリの縦画面対応

Android Studioに付属しているAndroid TVのサンプルアプリは初期状態で横画面にできません。AndroidManifest.xml で<activity>タグにscreenOrientation=”landscape”の指定が入っているためです。

補足

起動時のUARTのログの例 (上述の動画の例)

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 5.10.95-v8+ (build-user@build-host) (Android (7284624, based on r416183b) clang version 12.0.5 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee), LLD 12.0.5 (/buildbot/src/android/llvm-toolchain/out/llvm-project/lld c935d99d7cf2016289302412d708641d52d2f7ee)) #1 SMP PREEMPT Thu Apr 28 13:22:12 UTC 2022
[ 0.000000] random: fast init done
[ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.2
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000001ac00000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff]
[ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000fbffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003b3fffff]
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[ 0.000000] percpu: Embedded 33 pages/cpu s95320 r8192 d31656 u135168
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Spectre-v3a
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: Spectre-v2
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 996912
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1280x720M@60 smsc95xx.macaddr=DC:A6:32:90:A7:F8 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 no_console_suspend root=/dev/ram0 elevator=deadline rootwait androidboot.hardware=rpi4 androidboot.selinux=permissive androidboot.serialno=100000009deea7c1 androidboot.btmacaddr=11:22:9d:ee:a7:c1
[ 0.000000] Kernel parameter elevator= does not have any effect anymore.
[ 0.000000] Please use sysfs to set IO scheduler for individual devices.
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped mem 0x0000000037400000-0x000000003b400000
[ 0.000000] Memory: 3546028K/4050944K available (15808K kernel code, 2070K rwdata, 5468K rodata, 1536K init, 1579K bss, 177236K reserved, 327680K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 44489 entries in 174 pages
[ 0.000000] ftrace: allocated 174 pages with 5 groups
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 10)
[ 0.000000] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[ 0.000000] random: get_random_bytes called from start_kernel+0x1fc/0x49c with crng_init=1
[ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000006] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000242] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[ 0.000277] pid_max: default: 32768 minimum: 301
[ 0.000451] LSM: Security Framework initializing
[ 0.000507] SELinux: Initializing.
[ 0.000785] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000848] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.002604] cgroup: Disabling memory control group subsystem
[ 0.005822] rcu: Hierarchical SRCU implementation.
[ 0.007027] EFI services will not be available.
[ 0.007676] smp: Bringing up secondary CPUs …
[ 0.009015] Detected PIPT I-cache on CPU1
[ 0.009082] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.010553] Detected PIPT I-cache on CPU2
[ 0.010600] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[ 0.012094] Detected PIPT I-cache on CPU3
[ 0.012139] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[ 0.012382] smp: Brought up 1 node, 4 CPUs
[ 0.012431] SMP: Total of 4 processors activated.
[ 0.012451] CPU features: detected: 32-bit EL0 Support
[ 0.012470] CPU features: detected: CRC32 instructions
[ 0.012489] CPU features: detected: 32-bit EL1 Support
[ 0.012922] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.087382] CPU: All CPU(s) started at EL2
[ 0.087485] alternatives: patching kernel code
[ 0.089591] devtmpfs: initialized
[ 0.101849] Enabled cp15_barrier support
[ 0.101898] Enabled setend support
[ 0.101925] KASLR enabled
[ 0.102212] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.102248] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.113963] pinctrl core: initialized pinctrl subsystem
[ 0.114856] DMI not present or invalid.
[ 0.115267] NET: Registered protocol family 16
[ 0.119715] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.120077] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.121316] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.121413] audit: initializing netlink subsys (disabled)
[ 0.121752] audit: type=2000 audit(0.120:1): state=initialized audit_enabled=0 res=1
[ 0.122298] thermal_sys: Registered thermal governor 'step_wise'
[ 0.122578] cpuidle: using governor menu
[ 0.122829] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.123060] ASID allocator initialised with 32768 entries
[ 0.123214] Serial: AMBA PL011 UART driver
[ 0.139332] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.172585] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-02-01T13:21:08, variant start_x
[ 0.176598] raspberrypi-firmware soc:firmware: Firmware hash is 2a652e2a1ddcf0f358bc6278802ff7d8f1397c2e
[ 0.225422] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.230328] vgaarb: loaded
[ 0.230848] SCSI subsystem initialized
[ 0.231095] usbcore: registered new interface driver usbfs
[ 0.231159] usbcore: registered new interface driver hub
[ 0.231247] usbcore: registered new device driver usb
[ 0.231702] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.232574] mc: Linux media interface: v0.10
[ 0.232635] videodev: Linux video capture interface: v2.00
[ 0.233312] Advanced Linux Sound Architecture Driver Initialized.
[ 0.234876] clocksource: Switched to clocksource arch_sys_counter
[ 0.374630] VFS: Disk quotas dquot_6.6.0
[ 0.374760] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.374975] FS-Cache: Loaded
[ 0.375254] CacheFiles: Loaded
[ 0.376535] simple-framebuffer 3e876000.framebuffer: framebuffer at 0x3e876000, 0x384000 bytes, mapped to 0x(ptrval)
[ 0.376559] simple-framebuffer 3e876000.framebuffer: format=a8r8g8b8, mode=1280x720x32, linelength=5120
[ 0.376804] simple-framebuffer 3e876000.framebuffer: fb0: simplefb registered!
[ 0.378437] NET: Registered protocol family 2
[ 0.378839] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.382241] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.382297] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.382605] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 0.383089] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.383333] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.383399] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.383716] NET: Registered protocol family 1
[ 0.384502] PCI: CLS 0 bytes, default 64
[ 0.384812] Trying to unpack rootfs image as initramfs…
[ 0.522237] Freeing initrd memory: 2132K
[ 0.524714] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.525081] kvm [1]: IPA Size Limit: 44 bits
[ 0.526676] kvm [1]: vgic interrupt IRQ9
[ 0.527119] kvm [1]: Hyp mode initialized successfully
[ 0.531538] Initialise system trusted keyrings
[ 0.531872] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 0.539542] zbud: loaded
[ 0.541567] fuse: init (API version 7.32)
[ 0.605168] Key type asymmetric registered
[ 0.605191] Asymmetric key parser 'x509' registered
[ 0.605265] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.605548] io scheduler mq-deadline registered
[ 0.605578] io scheduler kyber registered
[ 0.612453] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 0.612491] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 0.612579] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 0.612678] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[ 0.660986] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 0.661482] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 0.661507] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.661531] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 0.661632] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 0.661921] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 0.665926] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.666363] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 0.666495] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 0.667047] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 0.682438] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.682486] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 0.682514] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 0.682560] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.682589] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 0.689897] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 0.693386] iproc-rng200 fe104000.rng: hwrng registered
[ 0.693905] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 0.695700] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 0.707632] fb0: switching to vc4drmfb from simple
[ 0.741327] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops)
[ 0.742341] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.755678] brd: module loaded
[ 0.767344] loop: module loaded
[ 0.768123] Loading iSCSI transport class v2.0-870.
[ 0.770956] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #80!!!
[ 0.773610] tun: Universal TUN/TAP device driver, 1.6
[ 0.774733] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 0.835038] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 0.836226] PPP generic driver version 2.4.2
[ 0.836477] PPP BSD Compression module registered
[ 0.836497] PPP Deflate Compression module registered
[ 0.836530] PPP MPPE Compression module registered
[ 0.836548] NET: Registered protocol family 24
[ 0.836564] PPTP driver version 0.8.5
[ 0.837566] usbcore: registered new interface driver brcmfmac
[ 0.837640] usbcore: registered new interface driver r8152
[ 0.837703] usbcore: registered new interface driver lan78xx
[ 0.837766] usbcore: registered new interface driver smsc95xx
[ 0.838456] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.838474] ehci-pci: EHCI PCI platform driver
[ 0.840318] pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 0.840362] xhci_hcd 0000:01:00.0: enabling device (0000 -> 0002)
[ 0.840475] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 0.840511] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 0.841296] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00001e0000000890
[ 0.842380] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 0.842403] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.842423] usb usb1: Product: xHCI Host Controller
[ 0.842441] usb usb1: Manufacturer: Linux 5.10.95-v8+ xhci-hcd
[ 0.842459] usb usb1: SerialNumber: 0000:01:00.0
[ 0.843431] hub 1-0:1.0: USB hub found
[ 0.843543] hub 1-0:1.0: 1 port detected
[ 0.844392] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 0.844420] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 0.844463] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 0.845047] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[ 0.845068] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.845087] usb usb2: Product: xHCI Host Controller
[ 0.845104] usb usb2: Manufacturer: Linux 5.10.95-v8+ xhci-hcd
[ 0.845122] usb usb2: SerialNumber: 0000:01:00.0
[ 0.845949] hub 2-0:1.0: USB hub found
[ 0.846035] hub 2-0:1.0: 4 ports detected
[ 0.848510] usbcore: registered new interface driver uas
[ 0.848626] usbcore: registered new interface driver usb-storage
[ 0.849037] mousedev: PS/2 mouse device common for all mice
[ 0.849130] usbcore: registered new interface driver xpad
[ 0.849199] usbcore: registered new interface driver usb_acecad
[ 0.849277] usbcore: registered new interface driver aiptek
[ 0.849344] usbcore: registered new interface driver gtco
[ 0.849410] usbcore: registered new interface driver hanwang
[ 0.849476] usbcore: registered new interface driver kbtab
[ 0.851347] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode
[ 0.851920] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode
[ 0.853341] usbcore: registered new interface driver uvcvideo
[ 0.853359] USB Video Class driver (1.1.1)
[ 0.855557] device-mapper: uevent: version 1.0.3
[ 0.855926] device-mapper: ioctl: 4.44.0-ioctl (2021-02-01) initialised: dm-devel@redhat.com
[ 0.860559] sdhci: Secure Digital Host Controller Interface driver
[ 0.860581] sdhci: Copyright(c) Pierre Ossman
[ 0.861428] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.865300] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.865466] hid: raw HID events driver (C) Jiri Kosina
[ 0.869311] usbcore: registered new interface driver usbhid
[ 0.869319] usbhid: USB HID core driver
[ 0.869689] ashmem: initialized
[ 0.879736] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 0.879921] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 0.880213] [vc_sm_connected_init]: installed successfully
[ 0.882423] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 0.882624] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 0.882794] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 0.882968] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 0.882985] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 0.883003] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 0.883013] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 0.883022] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 0.886010] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 0.886216] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 0.886381] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 0.886522] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 0.886534] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 0.886544] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 0.886553] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 0.886562] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 0.886639] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 0.886944] usbcore: registered new interface driver snd-usb-audio
[ 0.887872] snd-i2smic-rpi: Version 0.1.0
[ 0.887880] snd-i2smic-rpi: Setting platform to fe203000.i2s
[ 0.888263] request module load 'bcm2708-dmaengine': -2
[ 0.888452] register platform device 'asoc-simple-card': 0
[ 0.888502] netem: version 1.3
[ 0.888510] u32 classifier
[ 0.888516] input device check on
[ 0.888522] Actions configured
[ 0.889185] xt_time: kernel timezone is -0000
[ 0.889281] gre: GRE over IPv4 demultiplexor driver
[ 0.889288] IPv4 over IPsec tunneling driver
[ 0.889911] Initializing XFRM netlink socket
[ 0.889933] IPsec XFRM device driver
[ 0.890202] NET: Registered protocol family 10
[ 0.891210] Segment Routing with IPv6
[ 0.891272] mip6: Mobile IPv6
[ 0.891795] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.892368] NET: Registered protocol family 17
[ 0.892392] NET: Registered protocol family 15
[ 0.892416] l2tp_core: L2TP core driver, V2.0
[ 0.892429] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 0.892436] l2tp_netlink: L2TP netlink interface
[ 0.892771] registered taskstats version 1
[ 0.892789] Loading compiled-in X.509 certificates
[ 0.893215] Key type ._fscrypt registered
[ 0.893223] Key type .fscrypt registered
[ 0.893230] Key type fscrypt-provisioning registered
[ 0.893647]
[ 0.893654]
[ 0.893661] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 0.893668] ** **
[ 0.893674] ** WRITEABLE clk DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL **
[ 0.893680] ** **
[ 0.893686] ** This means that this kernel is built to expose clk operations **
[ 0.893693] ** such as parent or rate setting, enabling, disabling, etc. **
[ 0.893699] ** to userspace, which may compromise security on your system. **
[ 0.893705] ** **
[ 0.893711] ** If you see this message and you are not debugging the **
[ 0.893718] ** kernel, report this immediately to your vendor! **
[ 0.893724] ** **
[ 0.893730] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 0.893736]
[ 0.900146] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 0.900330] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 0.900394] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 23, base_baud = 0) is a PL011 rev2
[ 0.901904] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 0.901914] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 0.939641] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops)
[ 0.941274] Registered IR keymap rc-cec
[ 0.941430] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 0.941567] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input0
[ 0.942002] vc4_hdmi fef00700.hdmi: 'dmas' DT property is missing or empty, no HDMI audio
[ 0.942044] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops)
[ 0.943682] Registered IR keymap rc-cec
[ 0.943787] rc rc1: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1
[ 0.943927] input: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input1
[ 0.944220] vc4_hdmi fef05700.hdmi: 'dmas' DT property is missing or empty, no HDMI audio
[ 0.944260] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops)
[ 0.944491] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops)
[ 0.944679] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops)
[ 0.944850] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops)
[ 0.945034] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops)
[ 0.945169] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops)
[ 0.945355] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops)
[ 0.946383] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 0.948082] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 0
[ 0.955207] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.956770] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.959570] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 0.961113] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.000867] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[ 1.001626] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.001909] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.007343] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default
[ 1.007676] printk: console [ttyS0] disabled
[ 1.007778] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 24, base_baud = 62500000) is a 16550
[ 1.039798] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 1.047949] printk: console [ttyS0] enabled
[ 1.102870] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 2.438630] mmc1: new high speed SDIO card at address 0001
[ 2.442777] mmc0: new high speed SDHC card at address c397
[ 2.445237] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 1
[ 2.447009] of_cfs_init
[ 2.447033] of_cfs_init: OK
[ 2.447176] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 2.448515] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2.448727] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2.448735] cfg80211: failed to load regulatory.db
[ 2.448932] ALSA device list:
[ 2.448938] #0: bcm2835 Headphones
[ 2.448943] #1: snd_rpi_i2s_card
[ 2.452818] mmcblk0: mmc0:c397 SU16G 14.8 GiB
[ 2.463937] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 2.472320] mmcblk0: p1 p2 p3 p4
[ 2.571224] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #40!!!
[ 3.155905] Freeing unused kernel memory: 1536K
[ 3.167013] Run /init as init process
[ 3.177731] init: init first stage started!
[ 3.182574] init: Unable to open /lib/modules, skipping module loading.
[ 3.190825] init: Copied ramdisk prop to /second_stage_resources/system/etc/ramdisk/build.prop
[ 3.200034] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
[ 3.203728] init: [libfs_mgr]ReadFstabFromDt(): failed to read fstab from dt
[ 3.208393] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.217835] init: Using Android DT directory /proc/device-tree/firmware/android/
[ 3.222879] usb 1-1: Product: USB2.0 Hub
[ 3.240418] hub 1-1:1.0: USB hub found
[ 3.244496] hub 1-1:1.0: 4 ports detected
[ 3.251426] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #40!!!
[ 3.262276] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 3.271144] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 3.286125] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
[ 3.350468] init: DSU not detected, proceeding with normal boot
[ 3.359881] init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/mmcblk0p2
[ 3.367845] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #40!!!
[ 3.376125] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #40!!!
[ 3.392379] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: barrier=1
[ 3.400386] init: [libfs_mgr]mount(source=/dev/block/mmcblk0p2,target=/system,type=ext4)=0: Success 
[ 3.410392] init: Switching root to '/system' 
[ 3.432139] init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/mmcblk0p3 
[ 3.449359] EXT4-fs (mmcblk0p3): mounted filesystem without journal. Opts: barrier=1 
[ 3.491110] printk: init: 2 output lines suppressed due to ratelimiting 
[ 3.537050] random: init: uninitialized urandom read (40 bytes read) 
[ 3.941988] random: init: uninitialized urandom read (40 bytes read) 
[ 4.158189] init: Skipping mount of system_ext, system is not dynamic. 
[ 4.165223] init: Opening SELinux policy 
[ 4.170947] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #10!!! 
[ 4.187360] init: /system/etc/selinux/plat_sepolicy_and_mapping.sha256 and /vendor/etc/selinux/precompiled_sepolicy.plat_sepolicy_and_mapping.sha256 differ 
[ 4.201761] init: Compiling SELinux policy 
[ 4.224114] random: secilc: uninitialized urandom read (40 bytes read) 
[ 6.697403] init: /system/bin/secilc: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt" 
[ 6.710076] init: /system/bin/secilc: WARNING: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt" 
[ 6.733508] init: Loading SELinux policy 
[ 6.761800] SELinux: Permission nlmsg_getneigh in class netlink_route_socket not defined in policy. 
[ 6.771353] SELinux: Permission bpf in class capability2 not defined in policy. 
[ 6.778928] SELinux: Permission checkpoint_restore in class capability2 not defined in policy. 
[ 6.787852] SELinux: Permission bpf in class cap2_userns not defined in policy. 
[ 6.795404] SELinux: Permission checkpoint_restore in class cap2_userns not defined in policy. 
[ 6.804415] SELinux: the above unknown classes and permissions will be denied 
[ 6.819376] SELinux: policy capability network_peer_controls=1 
[ 6.825433] SELinux: policy capability open_perms=1 
[ 6.830475] SELinux: policy capability extended_socket_class=1 
[ 6.836491] SELinux: policy capability always_check_network=0 
[ 6.842409] SELinux: policy capability cgroup_seclabel=0 
[ 6.847885] SELinux: policy capability nnp_nosuid_transition=1 
[ 6.853891] SELinux: policy capability genfs_seclabel_symlinks=0 
[ 6.990951] audit: type=1403 audit(6.987:2): auid=4294967295 ses=4294967295 lsm=selinux res=1 
[ 7.008003] selinux: SELinux: Loaded file_contexts 
[ 7.012936] selinux: [ 7.027619] urandom_read: 1 callbacks suppressed 
[ 7.027627] random: init: uninitialized urandom read (40 bytes read) 
[ 7.058193] random: init: uninitialized urandom read (40 bytes read) 
[ 7.103183] init: init second stage started! 
[ 7.159699] init: Using Android DT directory /proc/device-tree/firmware/android/ 
[ 7.175177] init: Overriding previous property 'persist.sys.usb.config':'none' with new value 'adb' 
[ 7.186110] init: Overriding previous property 'persist.sys.usb.config':'adb' with new value 'none' 
[ 7.195443] init: Couldn't load property file '/vendor/default.prop': open() failed: No such file or directory: No such file or directory 
[ 7.217911] init: Couldn't load property file '/odm_dlkm/etc/build.prop': open() failed: No such file or directory: No such file or directory 
[ 7.236406] init: Setting product property ro.product.brand to 'arpi' (from ro.product.product.brand) 
[ 7.245880] init: Setting product property ro.product.device to 'rpi4' (from ro.product.product.device) 
[ 7.255503] init: Setting product property ro.product.manufacturer to 'ARPi' (from ro.product.product.manufacturer) 
[ 7.266180] init: Setting product property ro.product.model to 'Raspberry Pi 4' (from ro.product.product.model) 
[ 7.358068] random: init: uninitialized urandom read (40 bytes read) 
[ 7.479706] cgroup: Disabled controller 'memory' 
[ 7.756440] ueventd: ueventd started! 
[ 7.762952] selinux: SELinux: Loaded file_contexts 
[ 7.767849] selinux: 
[ 7.770613] ueventd: Parsing file /system/etc/ueventd.rc… 
[ 7.778084] ueventd: Added '/vendor/etc/ueventd.rc' to import list 
[ 7.784491] ueventd: Added '/odm/etc/ueventd.rc' to import list 
[ 7.791213] ueventd: Parsing file /vendor/etc/ueventd.rc… 
[ 7.803642] ueventd: Parsing file /odm/etc/ueventd.rc… 
[ 7.809141] ueventd: Unable to read config file '/odm/etc/ueventd.rc': open() failed: No such file or directory 
[ 8.107953] ueventd: Coldboot took 0.286 seconds 
[ 8.230949] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #80!!! 
[ 8.239159] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #82!!! 
[ 8.403074] Registered swp emulation handler 
[ 8.426922] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #80!!! 
console:/ $ 
[ 8.544846] logd.auditd: start 
[ 8.548091] logd.klogd: 8545233809 
[ 8.556366] EXT4-fs (mmcblk0p4): Ignoring removed nomblk_io_submit option 
[ 9.401288] EXT4-fs (mmcblk0p4): recovery complete 
[ 9.408395] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit 
[ 9.501931] e2fsck: e2fsck 1.45.4 (23-Sep-2019) 
[ 9.507616] type=1400 audit(9.499:3): avc: denied { read } for comm="e2fsck" name="mmcblk0p4" dev="tmpfs" ino=316 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1 [ 9.526291] type=1400 audit(9.499:4): avc: denied { open } for comm="e2fsck" path="/dev/block/mmcblk0p4" dev="tmpfs" ino=316 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1 [ 9.545534] type=1400 audit(9.499:5): avc: denied { write } for comm="e2fsck" name="mmcblk0p4" dev="tmpfs" ino=316 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1 [ 9.563893] type=1400 audit(9.499:6): avc: denied { ioctl } for comm="e2fsck" path="/dev/block/mmcblk0p4" dev="tmpfs" ino=316 ioctlcmd=0x127c scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1 [ 9.596712] e2fsck: Pass 1: Checking inodes, blocks, and sizes [ 9.835881] e2fsck: Pass 2: Checking directory structure [ 10.061217] e2fsck: Pass 3: Checking directory connectivity [ 10.067160] e2fsck: Pass 4: Checking reference counts [ 10.072690] e2fsck: Pass 5: Checking group summary information [ 10.100607] e2fsck: userdata: 1021/106496 files (2.1% non-contiguous), 19057/425728 blocks [ 10.118475] EXT4-fs (mmcblk0p4): Ignoring removed nomblk_io_submit option [ 10.141997] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic [ 10.858918] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #80!!! [ 12.446889] random: crng init done [ 12.450351] random: 3 urandom warning(s) missed due to ratelimiting [ 12.460580] init: Service 'exec 6 (/system/bin/vdc keymaster earlyBootEnded)' (pid 201) exited with status 0 waiting took 1.970000 seconds [ 12.473255] init: Sending signal 9 to service 'exec 6 (/system/bin/vdc keymaster earlyBootEnded)' (pid 201) process group… [ 12.484923] libprocessgroup: Successfully killed process cgroup uid 1000 pid 201 in 0ms [ 12.493687] init: Not setting encryption policy on: /data/apex [ 12.501638] init: Inferred action different from explicit one, expected 0 but got 2 [ 12.509798] init: Inferred action different from explicit one, expected 0 but got 3 [ 12.517777] init: Inferred action different from explicit one, expected 0 but got 2 [ 12.526697] init: starting service 'apexd'… [ 12.563201] apexd: This device does not support updatable APEX. Exiting [ 12.570081] apexd: Marking APEXd as activated [ 12.578702] init: Service 'apexd' (pid 209) exited with status 0 oneshot service took 0.046000 seconds in background [ 12.589534] init: Sending signal 9 to service 'apexd' (pid 209) process group… [ 13.154113] apexd: This device does not support updatable APEX. Exiting [ 13.160915] apexd: Marking APEXd as ready [ 13.276786] logd: logd reinit [ 13.281048] logd: FrameworkListener: read() failed (Connection reset by peer) [ 13.927860] type=1400 audit(13.923:7): avc: denied { getattr } for comm="init" path="/data/misc/wifi" dev="mmcblk0p4" ino=48 scontext=u:r:vendor_init:s0 tcontext=u:object_r:wifi_data_file:s0 tclass=dir permissive=1 [ 13.947963] type=1400 audit(13.923:8): avc: denied { search } for comm="init" name="wifi" dev="mmcblk0p4" ino=48 scontext=u:r:vendor_init:s0 tcontext=u:object_r:wifi_data_file:s0 tclass=dir permissive=1 [ 13.966652] type=1400 audit(13.927:9): avc: denied { getattr } for comm="init" path="/data/misc/dhcp" dev="mmcblk0p4" ino=52 scontext=u:r:vendor_init:s0 tcontext=u:object_r:dhcp_data_file:s0 tclass=dir permissive=1 [ 13.986546] type=1400 audit(13.927:10): avc: denied { setattr } for comm="init" name="dhcp" dev="mmcblk0p4" ino=52 scontext=u:r:vendor_init:s0 tcontext=u:object_r:dhcp_data_file:s0 tclass=dir permissive=1 [ 14.133854] type=1107 audit(14.127:11): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=net.dns1 pid=156 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:net_dns_prop:s0 tclass=property_service permissive=1' [ 14.671334] type=1400 audit(14.663:12): avc: denied { read } for comm="android.hardwar" name="u:object_r:default_prop:s0" dev="tmpfs" ino=95 scontext=u:r:hal_graphics_allocator_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1 [ 14.699437] type=1400 audit(14.663:13): avc: denied { open } for comm="android.hardwar" path="/dev/__properties/u:object_r:default_prop:s0" dev="tmpfs" ino=95 scontext=u:r:hal_graphics_allocator_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[ 14.715619] healthd: No battery devices found
[ 14.724108] type=1400 audit(14.663:14): avc: denied { getattr } for comm="android.hardwar" path="/dev/properties/u:object_r:default_prop:s0" dev="tmpfs" ino=95 scontext=u:r:hal_graphics_allocator_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[ 14.732582] healthd: battery none chg=
[ 14.752985] type=1400 audit(14.663:15): avc: denied { map } for comm="android.hardwar" path="/dev/properties/u:object_r:default_prop:s0" dev="tmpfs" ino=95 scontext=u:r:hal_graphics_allocator_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[ 16.682268] type=1400 audit(16.675:16): avc: denied { read } for comm="android.hardwar" name="u:object_r:default_prop:s0" dev="tmpfs" ino=95 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[ 18.570279] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 19.572354] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 20.334493] init: starting service 'bootanim'…
[ 20.348203] init: Control message: Processed ctl.start for 'bootanim' from pid: 245 (/system/bin/surfaceflinger)
[ 20.573934] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 21.266231] init: Service 'exec 15 (/system/bin/profcollectctl reset)' (pid 251) exited with status 0 oneshot service took 7.068000 seconds in background
[ 21.280366] init: Sending signal 9 to service 'exec 15 (/system/bin/profcollectctl reset)' (pid 251) process group…
[ 21.292578] libprocessgroup: Successfully killed process cgroup uid 0 pid 251 in 0ms
[ 21.574219] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 22.575127] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 23.575985] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 24.576825] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 25.579040] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 26.579836] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 27.581659] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 28.582472] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 29.583305] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 30.583724] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 31.584382] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 32.586724] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 33.587177] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 33.758956] cam-dummy-reg: disabling
[ 33.762844] cam1-reg: disabling
[ 34.588839] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 35.589092] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 35.836849] type=1400 audit(35.831:20): avc: denied { read } for comm="Binder:193_2" name="wakeup0" dev="sysfs" ino=14758 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 35.857117] type=1400 audit(35.835:21): avc: denied { open } for comm="Binder:193_2" path="/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/wakeup/wakeup0" dev="sysfs" ino=14758 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 35.883393] type=1400 audit(35.835:22): avc: denied { read } for comm="Binder:193_2" name="event_count" dev="sysfs" ino=14765 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 35.902666] type=1400 audit(35.835:23): avc: denied { open } for comm="Binder:193_2" path="/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/wakeup/wakeup0/event_count" dev="sysfs" ino=14765 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 35.930051] type=1400 audit(35.835:24): avc: denied { getattr } for comm="Binder:193_2" path="/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/wakeup/wakeup0/event_count" dev="sysfs" ino=14765 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 36.591196] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 37.591299] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 38.593955] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 39.595658] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 40.595811] init: Control message: Could not find 'aidl/package_native' for ctl.interface_start from pid: 172 (/system/bin/servicemanager)
[ 41.577206] init: Control message: Processed ctl.start for 'idmap2d' from pid: 389 (system_server)
[ 41.629010] healthd: battery none chg=
[ 42.232014] init: processing action (sys.sysctl.extra_free_kbytes=*) from (/system/etc/init/hw/init.rc:1154)
[ 44.616555] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 44.626424] bcmgenet fd580000.ethernet eth0: Link is Down
[ 49.171094] type=1400 audit(1664115195.187:25): avc: denied { read } for comm="HwBinder:229_2" name="bt_vendor.conf" dev="mmcblk0p2" ino=1141 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[ 49.172791] uart-pl011 fe201000.serial: no DMA platform data
[ 49.194367] type=1400 audit(1664115195.187:26): avc: denied { open } for comm="HwBinder:229_2" path="/system/etc/bluetooth/bt_vendor.conf" dev="mmcblk0p2" ino=1141 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[ 49.223548] type=1400 audit(1664115195.187:27): avc: denied { getattr } for comm="HwBinder:229_2" path="/system/etc/bluetooth/bt_vendor.conf" dev="mmcblk0p2" ino=1141 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[ 49.248220] type=1400 audit(1664115195.191:28): avc: denied { read } for comm="HwBinder:229_2" name="u:object_r:default_prop:s0" dev="tmpfs" ino=95 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[ 49.272335] type=1400 audit(1664115195.191:29): avc: denied { open } for comm="HwBinder:229_2" path="/dev/properties/u:object_r:default_prop:s0" dev="tmpfs" ino=95 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[ 49.296750] type=1400 audit(1664115195.191:30): avc: denied { getattr } for comm="HwBinder:229_2" path="/dev/properties/u:object_r:default_prop:s0" dev="tmpfs" ino=95 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[ 49.322645] type=1400 audit(1664115195.191:31): avc: denied { map } for comm="HwBinder:229_2" path="/dev/properties/u:object_r:default_prop:s0" dev="tmpfs" ino=95 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[ 49.347025] type=1400 audit(1664115195.243:32): avc: denied { read } for comm="HwBinder:229_2" name="BCM4345C0.hcd" dev="mmcblk0p2" ino=30 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
[ 49.369664] type=1400 audit(1664115195.243:33): avc: denied { open } for comm="HwBinder:229_2" path="/lib/firmware/brcm/BCM4345C0.hcd" dev="mmcblk0p2" ino=30 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
[ 49.956676] binder: undelivered transaction 20627, process died.
[ 49.963080] init: Service 'bootanim' (pid 358) exited with status 0 oneshot service took 29.622000 seconds in background
[ 49.974305] init: Sending signal 9 to service 'bootanim' (pid 358) process group…
[ 49.982569] libprocessgroup: Successfully killed process cgroup uid 1003 pid 358 in 0ms
[ 50.081811] init: processing action (sys.boot_completed=1) from (/system/etc/init/hw/init.rc:1145)
[ 50.093615] init: starting service 'exec 17 (/bin/rm -rf /data/per_boot)'…
[ 50.107465] selinux: SELinux: Skipping restorecon on directory(/data/system_ce/0)
[ 50.107642] init: SVC_EXEC service 'exec 17 (/bin/rm -rf /data/per_boot)' pid 822 (uid 1000 gid 1000+0 context default) started; waiting…
[ 50.115559] selinux:
[ 50.134715] selinux: SELinux: Skipping restorecon on directory(/data/vendor_ce/0)
[ 50.136316] init: Service 'exec 17 (/bin/rm -rf /data/per_boot)' (pid 822) exited with status 0 waiting took 0.032000 seconds

コメントを残す

メールアドレスが公開されることはありません。必須項目には印がついています *

CAPTCHA


© 2024 Issei Kuzumaki | WordPress テーマ: CrestaProject の Annina Free