Giter Club home page Giter Club logo

device_arpi_rpi4's People

Contributors

flemmard avatar ikalkov avatar kconger avatar konstat avatar marcinbis avatar peyo-hd avatar ric96 avatar secuflag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

device_arpi_rpi4's Issues

when turn wifi on, it reboots in few seconds! Debug Msg are here

Hi,All! When turn on WiFi ,the room keep rebooting and rebooting, i catch the debug messages from USB ,please take a look at it,thanks!

[ 35.187724] type=1400 audit(1597320517.289:101): avc: denied { write } for comm="main" name="tasks" dev="tmpfs" ino=10663 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 35.200637] init: Could not find '[email protected]::IAutoContrast/default' for ctl.interface_start
[ 35.219864] type=1400 audit(1597320517.289:101): avc: denied { write } for comm="main" name="tasks" dev="tmpfs" ino=10663 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 35.230787] init: Received control message 'interface_start' for '[email protected]::IDisplayColorCalibration/default' from pid: 146 (/system/bin/hwservicemanager)
[ 35.247169] type=1400 audit(1597320517.289:102): avc: denied { open } for comm="main" path="/dev/stune/foreground/tasks" dev="tmpfs" ino=10663 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 35.263288] init: Could not find '[email protected]::IDisplayColorCalibration/default' for ctl.interface_start
[ 35.294351] init: Received control message 'interface_start' for '[email protected]::IDisplayModes/default' from pid: 146 (/system/bin/hwservicemanager)
[ 35.309852] init: Could not find '[email protected]::IDisplayModes/default' for ctl.interface_start
[ 35.320421] init: Received control message 'interface_start' for '[email protected]::IReadingEnhancement/default' from pid: 146 (/system/bin/hwservicemanager)
[ 36.851865] type=1400 audit(1597320517.289:102): avc: denied { open } for comm="main" path="/dev/stune/foreground/tasks" dev="tmpfs" ino=10663 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 36.873786] type=1400 audit(1597320518.979:103): avc: denied { write } for comm="main" name="tasks" dev="tmpfs" ino=731 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 36.894704] type=1400 audit(1597320518.979:103): avc: denied { write } for comm="main" name="tasks" dev="tmpfs" ino=731 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 36.915905] type=1400 audit(1597320518.979:104): avc: denied { open } for comm="main" path="/dev/stune/top-app/tasks" dev="tmpfs" ino=731 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 37.175658] type=1400 audit(1597320518.979:104): avc: denied { open } for comm="main" path="/dev/stune/top-app/tasks" dev="tmpfs" ino=731 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
[ 37.198532] type=1400 audit(1597320519.309:105): avc: denied { write } for comm="main" name="tasks" dev="tmpfs" ino=10663 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1 app=com.android.providers.media
[ 37.670057] 8<--- cut here ---
[ 37.674677] Unable to handle kernel NULL pointer dereference at virtual address 00000ef8
[ 37.683157] pgd = 1377b4d8
[ 37.685908] [00000ef8] *pgd=13294003, *pmd=00000000
[ 37.690882] Internal error: Oops: 206 [#1] PREEMPT SMP ARM
[ 37.696454] Modules linked in:
[ 37.699562] CPU: 2 PID: 683 Comm: wpa_supplicant Not tainted 5.4.58-v7l-g6c0b7b018b84 #1
[ 37.707772] Hardware name: BCM2711
[ 37.711246] PC is at brcmf_p2p_send_action_frame+0x3e8/0x9c0
[ 37.716994] LR is at brcmf_p2p_send_action_frame+0x19c/0x9c0
[ 37.722740] pc : [] lr : [] psr: 20010013
[ 37.729108] sp : d432fad0 ip : 00000000 fp : d432fb24
[ 37.734414] r10: 00000000 r9 : ffffffff r8 : 00000000
[ 37.739720] r7 : d3c68800 r6 : 00000001 r5 : d4f0a80c r4 : d4f0a800
[ 37.746345] r3 : 00000400 r2 : 00000000 r1 : 00000006 r0 : 00000000
[ 37.752965] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 37.760212] Control: 30c5383d Table: 13a2a740 DAC: 55555555
[ 37.766041] Process wpa_supplicant (pid: 683, stack limit = 0xf9b8e57a)
[ 37.772745] Stack: (0xd432fad0 to 0xd4330000)
[ 37.777159] fac0: 00000304 c04356b8 d432fb24 d432fae8
[ 37.785459] fae0: ef803540 c043599c d432fb88 d4fb0620 d4f0b640 00000000 d432fb24 c1806448
[ 37.793759] fb00: d41aac34 d432fbb8 d4f0a800 0000002f 00000017 d3c68800 d432fb74 d432fb28
[ 37.802057] fb20: c08e1d0c c08eba8c 00000000 00000000 00000017 00000985 d4fb0620 d4ea1008
[ 37.810350] fb40: 00000985 5cac72ff d432fb84 d41aac34 d4ea1008 d432fbe4 d4fb0280 d432fbb8
[ 37.818643] fb60: d4fb0000 d3a70014 d432fbac d432fb78 c0e597e4 c08e1b64 d432fbac d432fb88
[ 37.826941] fb80: c0c6ddac d432fc74 c1806448 d4fb0000 d4ea1008 00000000 d49e9300 d3a70014
[ 37.835242] fba0: d432fc34 d432fbb0 c0e4ee60 c0e596dc 00000000 0000003b 00000000 00000000
[ 37.843536] fbc0: c115ec34 00000000 c10396f8 d4f06d18 00000000 00000985 00000000 00000000
[ 37.851827] fbe0: 00000000 d4f06d18 00000001 000003e8 d41aac34 0000002f 00000000 00000000
[ 37.860126] fc00: 00000000 5cac72ff c070cf24 c115fba0 c1412e80 d41aac14 c1806448 d49e9000
[ 37.868417] fc20: 00000000 c1895ec0 d432fccc d432fc38 c0c6ea64 c0e4ebf0 c115ea9c 00000000
[ 37.876716] fc40: d432fcd4 00000004 c196e258 00000014 d3c6b000 d432fcd4 d432fcdc d432fc68
[ 37.885017] fc60: c065488c c02b1dc0 d39ce000 d3348d30 00000164 5f352d63 570002ab d41aac00
[ 37.893318] fc80: d41aac10 d41aac14 d3c6b000 c1895ec0 d4fb0000 d4ea1008 d432fcd4 5cac72ff
[ 37.901611] fca0: efa50980 00000000 c1806448 c0c6e7e0 d49e9000 d41aac00 00000000 efb57800
[ 37.909902] fcc0: d432fd1c d432fcd0 c0c6d774 c0c6e7ec 032c0000 00000000 00000000 00000000
[ 37.918194] fce0: 00000000 00000000 00000000 00000000 00000000 5cac72ff 00000000 c189ab50
[ 37.926492] fd00: d49e9000 efb57864 00000064 c1895ec0 d432fd34 d432fd20 c0c6de40 c0c6d688
[ 37.934792] fd20: efa08240 d49e9000 d432fd74 d432fd38 c0c6ce70 c0c6de18 00000000 c1806448
[ 37.943084] fd40: 7fffffff 5cac72ff d432fd74 c1806448 d49e9000 d3823c00 00000000 00000000
[ 37.951375] fd60: d432ff4c 00000000 d432fde4 d432fd78 c0c6d1e0 c0c6cc88 00000000 00000000
[ 37.959668] fd80: 00000000 00000000 00000000 00000000 d41aac00 00000064 c14124e0 d42db7c0
[ 37.967965] fda0: 00000000 000002ab 000003f2 000003f2 00000000 5cac72ff d432fde4 d432ff4c
[ 37.976261] fdc0: 00000000 00000000 c1806448 d432fdf4 d4701080 00000000 d432fe44 d432fde8
[ 37.984554] fde0: c0bdcf80 c0c6cf0c d432e000 00000000 d432fe44 d432fe00 c0bdd1cc c06e2760
[ 37.992845] fe00: d432fe50 d432ff54 b3335cf4 0000000c beff7410 5cac72ff 00000000 c1806448
[ 38.001135] fe20: d432ff4c 00000000 d4701080 00000000 d432e000 00000128 d432ff3c d432fe48
[ 38.009428] fe40: c0bdd2cc c0bdcda0 00000000 c06547fc 00000000 b3346000 00000064 c0bdcbac
[ 38.017719] fe60: 00008000 00000000 d432fe80 5cac72ff 00039e7e 00000000 ffffffff 00000001
[ 38.026011] fe80: 00000000 5cac72ff c0bdcbac c1806448 d31e9f00 00000010 00000000 00000000
[ 38.034302] fea0: d4701080 00000126 d432ff24 c03a11c4 c1940ca8 c1806448 c181c110 d432ff68
[ 38.042594] fec0: d3823c00 beff7468 d432ff64 00000001 d432ff54 d432fee0 c03a11c4 c02b1dc0
[ 38.050886] fee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 38.059177] ff00: d432ff70 d432ff6c d3823c00 00000000 00000000 5cac72ff 0000000a c1806448
[ 38.067468] ff20: beff7418 d4701080 00000000 00000000 d432ffa4 d432ff40 c0bdecb4 c0bdd25c
[ 38.075760] ff40: 00000000 00000000 d432ffa4 d432fe94 0000000c 00000005 00000000 00000000
[ 38.084051] ff60: d432fe5c 00000000 0000000a 00000000 00000000 00000000 00000000 5cac72ff
[ 38.092342] ff80: b3346063 beff7418 00000000 b3335c40 00000128 c02011c4 00000000 d432ffa8
[ 38.100633] ffa0: c0201000 c0bdec0c beff7418 00000000 00000007 beff7418 00000000 beff7468
[ 38.108925] ffc0: beff7418 00000000 b3335c40 00000128 0c278835 b3335c40 b3cba260 beff74a8
[ 38.117217] ffe0: b334e200 beff73f8 b36712cb b3c9aef0 40010010 00000007 00000000 00000000
[ 38.125507] Backtrace:
[ 38.127989] [] (brcmf_p2p_send_action_frame) from [] (brcmf_cfg80211_mgmt_tx+0x1b4/0x2c0)
[ 38.138046] r10:d3c68800 r9:00000017 r8:0000002f r7:d4f0a800 r6:d432fbb8 r5:d41aac34
[ 38.145983] r4:c1806448
[ 38.148553] [] (brcmf_cfg80211_mgmt_tx) from [] (cfg80211_mlme_mgmt_tx+0x114/0x3c8)
[ 38.158079] r10:d3a70014 r9:d4fb0000 r8:d432fbb8 r7:d4fb0280 r6:d432fbe4 r5:d4ea1008
[ 38.166017] r4:d41aac34
[ 38.168584] [] (cfg80211_mlme_mgmt_tx) from [] (nl80211_tx_mgmt+0x27c/0x3a4)
[ 38.177493] r10:d3a70014 r9:d49e9300 r8:00000000 r7:d4ea1008 r6:d4fb0000 r5:c1806448
[ 38.185431] r4:d432fc74
[ 38.187998] [] (nl80211_tx_mgmt) from [] (genl_rcv_msg+0x284/0x4d8)
[ 38.196114] r10:c1895ec0 r9:00000000 r8:d49e9000 r7:c1806448 r6:d41aac14 r5:c1412e80
[ 38.204052] r4:c115fba0
[ 38.206618] [] (genl_rcv_msg) from [] (netlink_rcv_skb+0xf8/0x12c)
[ 38.214645] r10:efb57800 r9:00000000 r8:d41aac00 r7:d49e9000 r6:c0c6e7e0 r5:c1806448
[ 38.222582] r4:00000000
[ 38.225148] [] (netlink_rcv_skb) from [] (genl_rcv+0x34/0x44)
[ 38.232735] r8:c1895ec0 r7:00000064 r6:efb57864 r5:d49e9000 r4:c189ab50
[ 38.239531] [] (genl_rcv) from [] (netlink_unicast+0x1f4/0x284)
[ 38.247293] r5:d49e9000 r4:efa08240
[ 38.250916] [] (netlink_unicast) from [] (netlink_sendmsg+0x2e0/0x3f8)
[ 38.259296] r10:00000000 r9:d432ff4c r8:00000000 r7:00000000 r6:d3823c00 r5:d49e9000
[ 38.267233] r4:c1806448
[ 38.269799] [] (netlink_sendmsg) from [] (____sys_sendmsg+0x1ec/0x250)
[ 38.278179] r10:00000000 r9:d4701080 r8:d432fdf4 r7:c1806448 r6:00000000 r5:00000000
[ 38.286116] r4:d432ff4c
[ 38.288681] [] (____sys_sendmsg) from [] (___sys_sendmsg+0x7c/0xa8)
[ 38.296797] r10:00000128 r9:d432e000 r8:00000000 r7:d4701080 r6:00000000 r5:d432ff4c
[ 38.304734] r4:c1806448
[ 38.307298] [] (___sys_sendmsg) from [] (sys_sendmsg+0xb4/0xe0)
[ 38.315061] r8:00000000 r7:00000000 r6:d4701080 r5:beff7418 r4:c1806448
[ 38.321858] [] (sys_sendmsg) from [] (ret_fast_syscall+0x0/0x28)
[ 38.329709] Exception stack(0xd432ffa8 to 0xd432fff0)
[ 38.334827] ffa0: beff7418 00000000 00000007 beff7418 00000000 beff7468
[ 38.343118] ffc0: beff7418 00000000 b3335c40 00000128 0c278835 b3335c40 b3cba260 beff74a8
[ 38.351409] ffe0: b334e200 beff73f8 b36712cb b3c9aef0
[ 38.356527] r8:c02011c4 r7:00000128 r6:b3335c40 r5:00000000 r4:beff7418
[ 38.363322] Code: e3a06001 e5c43119 eaffffca e5942024 (e5922ef8)
[ 38.392961] ---[ end trace fc639dc6ca8b59a2 ]---
[ 38.408325] Kernel panic - not syncing: Fatal exception
[ 38.413643] CPU1: stopping
[ 38.416389] CPU: 1 PID: 200 Comm: main Tainted: G D 5.4.58-v7l-g6c0b7b018b84 #1
[ 38.425121] Hardware name: BCM2711
[ 38.428564] Backtrace:
[ 38.431048] [] (dump_backtrace) from [] (show_stack+0x20/0x24)
[ 38.438724] r6:00000000 r5:c18a9a0c r4:60070193 r3:5cac72ff
[ 38.444462] [] (show_stack) from [] (dump_stack+0xd0/0x114)
[ 38.451875] [] (dump_stack) from [] (handle_IPI+0x3a8/0x424)
[ 38.459373] r9:c1806bb4 r8:f0815000 r7:00000001 r6:c18bef60 r5:c16c2950 r4:00000004
[ 38.467225] [] (handle_IPI) from [] (gic_handle_irq+0x84/0x88)
[ 38.474900] r10:d1cc3044 r9:d391a000 r8:f0815000 r7:f0814000 r6:d391bd38 r5:f081400c
[ 38.482838] r4:c1806ef4
[ 38.485401] [] (gic_handle_irq) from [] (__irq_svc+0x5c/0x94)
[ 38.492986] Exception stack(0xd391bd38 to 0xd391bd80)
[ 38.498104] bd20: d1cbe380 d40a8f40
[ 38.506396] bd40: d40bd454 d40bd450 00000002 00000001 d1cc3000 d40a8f18 d1cbe388 d40a8f18
[ 38.514687] bd60: d1cc3044 d391bd9c d40c2480 d391bd88 00000002 c03f9acc 80070013 ffffffff
[ 38.522979] r8:d1cbe388 r7:d391bd6c r6:ffffffff r5:80070013 r4:c03f9acc r3:00000002
[ 38.530833] [] (anon_vma_interval_tree_insert) from [] (anon_vma_clone+0xf0/0x1f8)
[ 38.540269] r5:d40d6160 r4:d1cbe380
[ 38.543889] [] (anon_vma_clone) from [] (anon_vma_fork+0x34/0x14c)
[ 38.551916] r10:d1cbff40 r9:d1cbff30 r8:d4646f40 r7:d1cc3000 r6:d3e29c00 r5:d3833480
[ 38.559854] r4:d1cc3000
[ 38.562419] [] (anon_vma_fork) from [] (dup_mm+0x3c8/0x4b8)
[ 38.569829] r9:d1cbff30 r8:d4646f40 r7:d1cc3000 r6:d3e29c00 r5:d3833480 r4:00000001
[ 38.577681] [] (dup_mm) from [] (copy_process+0x153c/0x18f4)
[ 38.585179] r10:d1c914bc r9:00000000 r8:01200000 r7:d4b2e800 r6:d1c91040 r5:00000000
[ 38.593115] r4:d4e2f5b8
[ 38.595681] [] (copy_process) from [] (_do_fork+0x9c/0x424)
[ 38.603092] r10:00000078 r9:d391bf58 r8:00000000 r7:c1806448 r6:5cac72ff r5:b12cddc8
[ 38.611028] r4:c1806448
[ 38.613594] [] (_do_fork) from [] (sys_clone+0xa0/0xa8)
[ 38.620652] r10:00000078 r9:d391a000 r8:c02011c4 r7:00000078 r6:5cac72ff r5:b12cddc8
[ 38.628589] r4:c1806448
[ 38.631154] [] (sys_clone) from [] (ret_fast_syscall+0x0/0x28)
[ 38.638826] Exception stack(0xd391bfa8 to 0xd391bff0)
[ 38.643944] bfa0: b12cddc8 00000001 01200011 00000000 00000000 00000000
[ 38.652235] bfc0: b12cddc8 00000001 be969954 00000078 000000c8 000000c8 af589260 b0e92140
[ 38.660526] bfe0: be969918 be969908 af5327db af52c7cc
[ 38.665644] r6:be969954 r5:00000001 r4:b12cddc8
[ 38.670322] CPU2: stopping
[ 38.673064] CPU: 2 PID: 1181 Comm: Jit thread pool Tainted: G D 5.4.58-v7l-g6c0b7b018b84 #1
[ 38.682854] Hardware name: BCM2711
[ 38.686296] Backtrace:
[ 38.688775] [] (dump_backtrace) from [] (show_stack+0x20/0x24)
[ 38.696450] r6:00000000 r5:c18a9a0c r4:600d0193 r3:5cac72ff
[ 38.702187] [] (show_stack) from [] (dump_stack+0xd0/0x114)
[ 38.709600] [] (dump_stack) from [] (handle_IPI+0x3a8/0x424)
[ 38.717097] r9:c1806bb4 r8:f0815000 r7:00000002 r6:c18bef60 r5:c16c2950 r4:00000004
[ 38.724950] [] (handle_IPI) from [] (gic_handle_irq+0x84/0x88)
[ 38.732625] r10:a4c2f368 r9:00000017 r8:f0815000 r7:f0814000 r6:d26c3fb0 r5:f081400c
[ 38.740561] r4:c1806ef4
[ 38.743125] [] (gic_handle_irq) from [] (__irq_usr+0x4c/0x60)
[ 38.750710] Exception stack(0xd26c3fb0 to 0xd26c3ff8)
[ 38.755829] 3fa0: a4cb78f0 a4cb7480 a4cb7398 00000006
[ 38.764121] 3fc0: a4ca8eb0 a4cb7040 a4ca8ed4 00000006 00000000 00000017 a4c2f368 a4cb77a8
[ 38.772412] 3fe0: 00000000 9ec043d8 a31c0ced a31c0d90 200d0030 ffffffff
[ 38.779117] r8:30c5387d r7:30c5383d r6:ffffffff r5:200d0030 r4:a31c0d90 r3:a4cb78f0
[ 38.786967] CPU0: stopping
[ 38.789709] CPU: 0 PID: 231 Comm: surfaceflinger Tainted: G D 5.4.58-v7l-g6c0b7b018b84 #1
[ 38.799321] Hardware name: BCM2711
[ 38.802764] Backtrace:
[ 38.805242] [] (dump_backtrace) from [] (show_stack+0x20/0x24)
[ 38.812917] r6:00000000 r5:c18a9a0c r4:600f0193 r3:5cac72ff
[ 38.818653] [] (show_stack) from [] (dump_stack+0xd0/0x114)
[ 38.826064] [] (dump_stack) from [] (handle_IPI+0x3a8/0x424)
[ 38.833563] r9:c1806bb4 r8:f0815000 r7:00000000 r6:c18bef60 r5:c16c2950 r4:00000004
[ 38.841415] [] (handle_IPI) from [] (gic_handle_irq+0x84/0x88)
[ 38.849089] r10:00000000 r9:b06df810 r8:f0815000 r7:f0814000 r6:d3e27fb0 r5:f081400c
[ 38.857027] r4:c1806ef4
[ 38.859591] [] (gic_handle_irq) from [] (__irq_usr+0x4c/0x60)
[ 38.867176] Exception stack(0xd3e27fb0 to 0xd3e27ff8)
[ 38.872295] 7fa0: 00000004 00000003 00000000 00000003
[ 38.880587] 7fc0: b06a91a0 b06df928 b061d6f8 00000000 b06dfb04 b06df810 00000000 b2621668
[ 38.888878] 7fe0: b26e07bc bef21e18 b26492c9 b2e58eba 600f0030 ffffffff
[ 38.895583] r8:30c5387d r7:30c5383d r6:ffffffff r5:600f0030 r4:b2e58eba r3:00000004
[ 38.903444] Rebooting in 5 seconds..

any tips? thanks a lot!

Make fails

I have been following the ReadMe (including the pre-requisites) to build the image and on make ramdisk systemimage vendorimage I get the following output.

`[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soon
g/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: tools/Android.bp:15:1: module "api-versions-jars-dir" already defined
prebuilts/tools/Android.bp:15:1 <-- previous definition here
error: tools/common/google-api-services-storage/1.24.1/Android.bp:17:1: module "prebuilt_google-api-services-storage" already defined
prebuilts/tools/common/google-api-services-storage/1.24.1/Android.bp:17:1 <-- previous definition here
error: tools/common/google-api-java-client/1.23.0/Android.bp:17:1: module "prebuilt_google-api-java-client-min-repackaged" already defined
prebuilts/tools/common/google-api-java-client/1.23.0/Android.bp:17:1 <-- previous definition here
error: tools/common/google-api-services-compute/Android.bp:17:1: module "prebuilt_google-api-services-compute" already defined
prebuilts/tools/common/google-api-services-compute/Android.bp:17:1 <-- previous definition here
error: prebuilts/tools/common/netbeans-visual/Android.bp:15:1: module "prebuilt_org-netbeans-api-visual" already defined
tools/common/netbeans-visual/Android.bp:15:1 <-- previous definition here
error: tools/common/m2/Android.bp:15:1: module "prebuilt_byte-buddy-prebuilt-jar" already defined
prebuilts/tools/common/m2/Android.bp:36:1 <-- previous definition here
error: tools/linux-x86_64/perfetto/Android.bp:1:1: module "prebuilt_perfetto_trace_processor_shell_prebuilt" already defined
prebuilts/tools/linux-x86_64/perfetto/Android.bp:1:1 <-- previous definition here
error: prebuilts/tools/common/netbeans-visual/Android.bp:21:1: module "prebuilt_org-openide-util" already defined
tools/common/netbeans-visual/Android.bp:21:1 <-- previous definition here
error: tools/common/m2/Android.bp:21:1: module "prebuilt_diffutils-prebuilt-jar" already defined
prebuilts/tools/common/m2/Android.bp:42:1 <-- previous definition here
error: tools/linux-x86_64/perfetto/Android.bp:8:1: module "perfetto_artifacts" already defined
prebuilts/tools/linux-x86_64/perfetto/Android.bp:8:1 <-- previous definition here
error: tools/common/m2/Android.bp:38:1: module "prebuilt_gson-prebuilt-jar" already defined
prebuilts/tools/common/m2/Android.bp:49:1 <-- previous definition here
error: tools/common/m2/Android.bp:45:1: module "prebuilt_guava-listenablefuture-prebuilt-jar" already defined
prebuilts/tools/common/m2/Android.bp:56:1 <-- previous definition here
error: tools/common/m2/Android.bp:51:1: module "prebuilt_mockito2-prebuilt-jar" already defined
prebuilts/tools/common/m2/Android.bp:62:1 <-- previous definition here
error: tools/common/m2/Android.bp:57:1: module "prebuilt_objenesis-prebuilt-jar" already defined
prebuilts/tools/common/m2/Android.bp:68:1 <-- previous definition here
error: tools/common/m2/Android.bp:62:1: module "prebuilt_truth-prebuilt-jar" already defined
prebuilts/tools/common/m2/Android.bp:79:1 <-- previous definition here
error: tools/common/m2/Android.bp:70:1: module "prebuilt_javapoet-prebuilt-jar" already defined
prebuilts/tools/common/m2/Android.bp:127:1 <-- previous definition here
error: tools/common/m2/Android.bp:75:1: module "prebuilt_protobuf-java-util-prebuilt-jar" already defined
prebuilts/tools/common/m2/Android.bp:137:1 <-- previous definition here
error: tools/common/m2/Android.bp:86:1: module "prebuilt_trove-prebuilt" already defined
prebuilts/tools/common/m2/Android.bp:142:1 <-- previous definition here
error: tools/common/m2/Android.bp:91:1: module "prebuilt_jna-prebuilt" already defined
prebuilts/tools/common/m2/Android.bp:147:1 <-- previous definition here
error: tools/common/m2/Android.bp:96:1: module "prebuilt_compile-testing-prebuilt" already defined
prebuilts/tools/common/m2/Android.bp:152:1 <-- previous definition here
error: tools/common/m2/Android.bp:103:1: module "truth-prebuilt-host-jar" already defined
prebuilts/tools/common/m2/Android.bp:159:1 <-- previous definition here
error: tools/common/m2/Android.bp:110:1: module "mockito-robolectric-prebuilt" already defined
prebuilts/tools/common/m2/Android.bp:166:1 <-- previous definition here
error: tools/common/m2/Android.bp:120:1: module "truth-prebuilt" already defined
prebuilts/tools/common/m2/Android.bp:176:1 <-- previous definition here
error: tools/common/m2/Android.bp:132:1: module "truth-host-prebuilt" already defined
prebuilts/tools/common/m2/Android.bp:188:1 <-- previous definition here
error: tools/common/m2/Android.bp:137:1: module "prebuilt_metalava-tools-common-m2-deps" already defined
prebuilts/tools/common/m2/Android.bp:202:1 <-- previous definition here
error: tools/common/m2/Android.bp:149:1: module "prebuilt_dokka-tools-common-m2-deps" already defined
prebuilts/tools/common/m2/Android.bp:214:1 <-- previous definition here
error: tools/common/m2/Android.bp:169:1: module "prebuilt_accessibility-test-framework" already defined
prebuilts/tools/common/m2/Android.bp:233:1 <-- previous definition here
error: tools/common/m2/Android.bp:176:1: module "prebuilt_javawriter" already defined
prebuilts/tools/common/m2/Android.bp:240:1 <-- previous definition here
error: tools/common/m2/Android.bp:184:1: module "prebuilt_kotlinx-metadata-jvm" already defined
prebuilts/tools/common/m2/Android.bp:282:1 <-- previous definition here
error: tools/common/m2/Android.bp:190:1: module "prebuilt_auto-common" already defined
prebuilts/tools/common/m2/Android.bp:288:1 <-- previous definition here
error: tools/common/m2/Android.bp:196:1: module "prebuilt_antlr4" already defined
prebuilts/tools/common/m2/Android.bp:294:1 <-- previous definition here
error: tools/common/m2/Android.bp:202:1: module "prebuilt_auto-value-annotations" already defined
prebuilts/tools/common/m2/Android.bp:300:1 <-- previous definition here
error: tools/common/m2/Android.bp:213:1: module "prebuilt_commons-codec" already defined
prebuilts/tools/common/m2/Android.bp:306:1 <-- previous definition here
error: tools/common/m2/Android.bp:219:1: module "prebuilt_xerial-sqlite-jdbc" already defined
prebuilts/tools/common/m2/Android.bp:312:1 <-- previous definition here
error: tools/common/m2/Android.bp:225:1: module "prebuilt_jetbrains-annotations" already defined
prebuilts/tools/common/m2/Android.bp:318:1 <-- previous definition here
error: tools/common/m2/Android.bp:231:1: module "prebuilt_kotlinx-coroutines-core-nodeps" already defined
prebuilts/tools/common/m2/Android.bp:324:1 <-- previous definition here
error: tools/common/m2/Android.bp:237:1: module "kotlinx-coroutines-core" already defined
prebuilts/tools/common/m2/Android.bp:329:1 <-- previous definition here
error: tools/common/m2/Android.bp:246:1: module "prebuilt_kotlinx-coroutines-android-nodeps" already defined
prebuilts/tools/common/m2/Android.bp:338:1 <-- previous definition here
error: tools/common/m2/Android.bp:252:1: module "kotlinx-coroutines-android" already defined
prebuilts/tools/common/m2/Android.bp:343:1 <-- previous definition here
error: tools/common/m2/Android.bp:262:1: module "prebuilt_car-androidx-room-compiler-tools-common-m2-deps" already defined
prebuilts/tools/common/m2/Android.bp:353:1 <-- previous definition here
error: tools/common/m2/Android.bp:288:1: module "prebuilt_protobuf-lite" already defined
prebuilts/tools/common/m2/Android.bp:374:1 <-- previous definition here
error: tools/common/m2/Android.bp:293:1: module "prebuilt_jsoup-1.6.3" already defined
prebuilts/tools/common/m2/Android.bp:379:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:1:1: module "prebuilt_robolectric-accessibility-test-framework-2.1" already defined
prebuilts/tools/common/m2/robolectric.bp:1:1 <-- previous definition here
error: tools/common/m2/repository/io/netty/netty-common/Android.bp:17:1: module "prebuilt_netty-common-java-4.1.3.Final" already defined
prebuilts/tools/common/m2/repository/io/netty/netty-common/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/grpc/grpc-context/Android.bp:17:1: module "prebuilt_grpc-java-context-1.0.1" already defined
prebuilts/tools/common/m2/repository/io/grpc/grpc-context/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/netty/netty-handler/Android.bp:17:1: module "prebuilt_netty-handler-java-4.1.3.Final" already defined
prebuilts/tools/common/m2/repository/io/netty/netty-handler/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/netty/netty-codec/Android.bp:17:1: module "prebuilt_netty-codec-java-4.1.3.Final" already defined
prebuilts/tools/common/m2/repository/io/netty/netty-codec/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/netty/netty-transport/Android.bp:17:1: module "prebuilt_netty-transport-java-4.1.3.Final" already defined
prebuilts/tools/common/m2/repository/io/netty/netty-transport/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/net/sf/jopt-simple/jopt-simple/4.9/Android.bp:17:1: module "prebuilt_jopt-simple-4.9" already defined
prebuilts/tools/common/m2/repository/net/sf/jopt-simple/jopt-simple/4.9/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/grpc/grpc-stub/Android.bp:17:1: module "prebuilt_grpc-java-stub-1.0.1" already defined
prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/grpc/grpc-protobuf/Android.bp:17:1: module "prebuilt_grpc-java-protobuf-1.0.1" already defined
prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/grpc/grpc-netty/Android.bp:17:1: module "prebuilt_grpc-java-netty-1.0.1" already defined
prebuilts/tools/common/m2/repository/io/grpc/grpc-netty/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/grpc/grpc-core/Android.bp:17:1: module "prebuilt_grpc-java-core-1.0.1" already defined
prebuilts/tools/common/m2/repository/io/grpc/grpc-core/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/netty/netty-codec-http2/Android.bp:17:1: module "prebuilt_netty-codec-http2-java-4.1.3.Final" already def
ined
prebuilts/tools/common/m2/repository/io/netty/netty-codec-http2/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/netty/netty-buffer/Android.bp:17:1: module "prebuilt_netty-buffer-java-4.1.3.Final" already defined
prebuilts/tools/common/m2/repository/io/netty/netty-buffer/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/netty/netty-resolver/Android.bp:17:1: module "prebuilt_netty-resolver-java-4.1.3.Final" already defined
prebuilts/tools/common/m2/repository/io/netty/netty-resolver/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/repository/io/grpc/grpc-protobuf-lite/Android.bp:17:1: module "prebuilt_grpc-java-protobuf-lite-1.0.1" already defined
prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/Android.bp:17:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:6:1: module "prebuilt_robolectric-ant-1.8.0" already defined
prebuilts/tools/common/m2/robolectric.bp:6:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:11:1: module "prebuilt_robolectric-compile-testing-0.15" already defined
prebuilts/tools/common/m2/robolectric.bp:11:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:16:1: module "prebuilt_robolectric-diffutils-1.3.0" already defined
prebuilts/tools/common/m2/robolectric.bp:16:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:21:1: module "prebuilt_robolectric-httpclient-4.0.3" already defined
prebuilts/tools/common/m2/robolectric.bp:21:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:26:1: module "prebuilt_robolectric-httpcore-4.0.1" already defined
prebuilts/tools/common/m2/robolectric.bp:26:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:31:1: module "prebuilt_robolectric-javax.annotation-api-1.2" already defined
prebuilts/tools/common/m2/robolectric.bp:31:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:36:1: module "prebuilt_robolectric-maven-ant-tasks-2.1.3" already defined
prebuilts/tools/common/m2/robolectric.bp:36:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:41:1: module "prebuilt_robolectric-xstream-1.4.8" already defined
prebuilts/tools/common/m2/robolectric.bp:41:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:47:1: module "prebuilt_robolectric-sqlite4java-import" already defined
prebuilts/tools/common/m2/robolectric.bp:47:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:53:1: module "robolectric-sqlite4java-native" already defined
prebuilts/tools/common/m2/robolectric.bp:53:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:73:1: module "robolectric-sqlite4java-0.282" already defined
prebuilts/tools/common/m2/robolectric.bp:73:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:87:1: module "prebuilt_robolectric-assertj-core-3.8.0" already defined
prebuilts/tools/common/m2/robolectric.bp:87:1 <-- previous definition here
error: tools/common/m2/robolectric.bp:92:1: module "prebuilt_robolectric-monitor-1.0.2-alpha1" already defined
prebuilts/tools/common/m2/robolectric.bp:92:1 <-- previous definition here
16:40:40 soong bootstrap failed with: exit status 1

failed to build some targets (5 seconds)

`

My assumption is that there is a missing APT install but I have not been able to identify which.

Can I use root permissions?

hi,
Sorry to disturb you.
I just want to ask if I can use root permissions on this Android system?
And thanks for what you have done for this project.

I have some problemes in building the kernel

configuration written to .config

Value requested for CONFIG_PREEMPT_VOLUNTARY not in final .config
Requested value: CONFIG_PREEMPT_VOLUNTARY=y
Actual value: # CONFIG_PREEMPT_VOLUNTARY is not set

Value requested for CONFIG_IPV6_TUNNEL not in final .config
Requested value: CONFIG_IPV6_TUNNEL=m
Actual value: CONFIG_IPV6_TUNNEL=y

Value requested for CONFIG_NETFILTER_XT_MATCH_PHYSDEV not in final .config
Requested value: CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
Actual value:

Value requested for CONFIG_IP_VS_PE_SIP not in final .config
Requested value: CONFIG_IP_VS_PE_SIP=m
Actual value:

Value requested for CONFIG_IP6_NF_TARGET_MASQUERADE not in final .config
Requested value: CONFIG_IP6_NF_TARGET_MASQUERADE=m
Actual value:

Value requested for CONFIG_IP6_NF_TARGET_NPT not in final .config
Requested value: CONFIG_IP6_NF_TARGET_NPT=m
Actual value:

Value requested for CONFIG_FB_BCM2708 not in final .config
Requested value: CONFIG_FB_BCM2708=n
Actual value: # CONFIG_FB_BCM2708 is not set

Value requested for CONFIG_FRAMEBUFFER_CONSOLE not in final .config
Requested value: CONFIG_FRAMEBUFFER_CONSOLE=n
Actual value:

Value requested for CONFIG_FRAMEBUFFER_CONSOLE_ROTATION not in final .config
Requested value: CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=n
Actual value:

Value requested for CONFIG_LOGO not in final .config
Requested value: CONFIG_LOGO=n
Actual value: # CONFIG_LOGO is not set

Value requested for CONFIG_LOGO_LINUX_MONO not in final .config
Requested value: # CONFIG_LOGO_LINUX_MONO is not set
Actual value:

Value requested for CONFIG_LOGO_LINUX_VGA16 not in final .config
Requested value: # CONFIG_LOGO_LINUX_VGA16 is not set
Actual value:

Value requested for CONFIG_USB_DWCOTG not in final .config
Requested value: CONFIG_USB_DWCOTG=n
Actual value: # CONFIG_USB_DWCOTG is not set

Value requested for CONFIG_SPEAKUP not in final .config
Requested value: CONFIG_SPEAKUP=m
Actual value:

Value requested for CONFIG_SPEAKUP_SYNTH_SOFT not in final .config
Requested value: CONFIG_SPEAKUP_SYNTH_SOFT=m
Actual value:

Value requested for CONFIG_NFS_V3_ACL not in final .config
Requested value: CONFIG_NFS_V3_ACL=y
Actual value:

Value requested for CONFIG_NFS_V4 not in final .config
Requested value: CONFIG_NFS_V4=y
Actual value:

Value requested for CONFIG_NFS_SWAP not in final .config
Requested value: CONFIG_NFS_SWAP=y
Actual value:

Value requested for CONFIG_NFS_V4_1 not in final .config
Requested value: CONFIG_NFS_V4_1=y
Actual value:

Value requested for CONFIG_NFS_V4_2 not in final .config
Requested value: CONFIG_NFS_V4_2=y
Actual value:

Value requested for CONFIG_ROOT_NFS not in final .config
Requested value: CONFIG_ROOT_NFS=y
Actual value:

Value requested for CONFIG_NFS_FSCACHE not in final .config
Requested value: CONFIG_NFS_FSCACHE=y
Actual value:

Value requested for CONFIG_NFSD_V3_ACL not in final .config
Requested value: CONFIG_NFSD_V3_ACL=y
Actual value:

Value requested for CONFIG_NFSD_V4 not in final .config
Requested value: CONFIG_NFSD_V4=y
Actual value:

Value requested for CONFIG_KDB_KEYBOARD not in final .config
Requested value: CONFIG_KDB_KEYBOARD=y
Actual value:

Value requested for CONFIG_ANDROID_LOW_MEMORY_KILLER not in final .config
Requested value: # CONFIG_ANDROID_LOW_MEMORY_KILLER is not set
Actual value:

Value requested for CONFIG_CRYPTO_MD4 not in final .config
Requested value: # CONFIG_CRYPTO_MD4 is not set
Actual value: CONFIG_CRYPTO_MD4=m

Value requested for CONFIG_VHOST not in final .config
Requested value: # CONFIG_VHOST is not set
Actual value:

Value requested for CONFIG_BACKLIGHT_LCD_SUPPORT not in final .config
Requested value: CONFIG_BACKLIGHT_LCD_SUPPORT=y
Actual value:

Value requested for CONFIG_ENABLE_DEFAULT_TRACERS not in final .config
Requested value: CONFIG_ENABLE_DEFAULT_TRACERS=y
Actual value:

camera support

Hi,android-rpi team:
I use RpCamera APP, but the app crash when app boot. Whether the code support camera?
The crash info as follows, please have a look the log txt.

6904 10-14 07:21:43.850 226 816 E CameraService: cameraIdIntToStrLocked: input id 0 invalid: valid range (0, 0)
6905 10-14 07:21:43.850 226 816 I CameraService: CameraService::connect call (PID -1 "com.arpi.rpcamera", camera ID ) for HAL version default and Camera API version 1
6906 10-14 07:21:43.850 226 816 W CameraService: Attempting to connect to system-only camera id , connection rejected
6907 10-14 07:21:43.851 1622 1622 W CameraBase: An error occurred while connecting to camera 0: Status(-8, EX_SERVICE_SPECIFIC): '4: connectHelper:1418: No camera device with ID "" currently available'
6908 10-14 07:21:43.852 1622 1622 D AndroidRuntime: Shutting down VM
6909 --------- beginning of crash
6910 10-14 07:21:43.854 1622 1622 E AndroidRuntime: FATAL EXCEPTION: main
6911 10-14 07:21:43.854 1622 1622 E AndroidRuntime: Process: com.arpi.rpcamera, PID: 1622
6912 10-14 07:21:43.854 1622 1622 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=1, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.arpi.rpcamera/com.arpi.rpcamera.MainActivity}: java.lang.RuntimeException: Fail to connect to camera service
6913 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4845)
6914 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.app.ActivityThread.handleSendResult(ActivityThread.java:4886)
6915 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
6916 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
6917 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
6918 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
6919 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
6920 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
6921 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
6922 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
6923 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
6924 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
6925 10-14 07:21:43.854 1622 1622 E AndroidRuntime: Caused by: java.lang.RuntimeException: Fail to connect to camera service
6926 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.hardware.Camera.(Camera.java:551)
6927 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.hardware.Camera.open(Camera.java:396)
6928 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at com.arpi.rpcamera.MainActivity.openCamera(MainActivity.kt:58)
6929 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at com.arpi.rpcamera.MainActivity.onRequestPermissionsResult(MainActivity.kt:49)
6930 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:8289)
6931 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.app.Activity.dispatchActivityResult(Activity.java:8139)
6932 10-14 07:21:43.854 1622 1622 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4838)
6933 10-14 07:21:43.854 1622 1622 E AndroidRuntime: ... 11 more
6934 10-14 07:21:43.940 341 1656 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
6935 10-14 07:21:43.940 341 981 W ActivityTaskManager: Force finishing activity com.arpi.rpcamera/.MainActivity
6936 10-14 07:21:43.952 1622 1622 I Process : Sending signal. PID: 1622 SIG: 9
6937 10-14 07:21:43.986 341 416 W InputDispatcher: channel '5b95b24 com.arpi.rpcamera/com.arpi.rpcamera.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
6938 10-14 07:21:43.986 341 416 E InputDispatcher: channel '5b95b24 com.arpi.rpcamera/com.arpi.rpcamera.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
6939 10-14 07:21:43.987 341 980 I WindowManager: WIN DEATH: Window{5b95b24 u0 com.arpi.rpcamera/com.arpi.rpcamera.MainActivity}
6940 10-14 07:21:43.988 341 980 W InputDispatcher: Attempted to unregister already unregistered input channel '5b95b24 com.arpi.rpcamera/com.arpi.rpcamera.MainActivity (server)'
6941 10-14 07:21:43.989 341 359 I ActivityManager: Process com.arpi.rpcamera (pid 1622) has died: fore TOP
6942 10-14 07:21:43.998 197 197 I Zygote : Process 1622 exited due to signal 9 (Killed)
6943 10-14 07:21:44.008 341 363 W ActivityManager: setHasOverlayUi called on unknown pid: 1622
6944 10-14 07:21:44.035 341 371 I libprocessgroup: Successfully killed process cgroup uid 10014 pid 1622 in 45ms
6945 10-14 07:21:44.055 775 775 D ImageWallpaper: wallpaper visibility changes to: true
6946 10-14 07:21:44.396 218 218 W SurfaceFlinger: couldn't log to binary event log: overflow.
6947 10-14 07:21:44.442 341 363 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{881d72a u0 com.arpi.rpcamera/.MainActivity t-1 f}
6948 10-14 07:21:45.268 341 980 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.arpi.rpcamera/.MainActivity bnds=[205,115][378,241]} from uid 10026
6949 10-14 07:21:45.289 341 364 E system_server: Invalid ID 0x00000000.
6950 10-14 07:21:45.364 197 197 D Zygote : Forked child process 1658
6951 10-14 07:21:45.368 341 370 W ActivityManager: Slow operation: 79ms so far, now at startProcess: returned from zygote!
6952 10-14 07:21:45.368 341 370 W ActivityManager: Slow operation: 79ms so far, now at startProcess: done updating battery stats
6953 10-14 07:21:45.368 341 370 W ActivityManager: Slow operation: 80ms so far, now at startProcess: building log message
6954 10-14 07:21:45.368 341 370 I ActivityManager: Start proc 1658:com.arpi.rpcamera/u0a14 for activity {com.arpi.rpcamera/com.arpi.rpcamera.MainActivity}
6955 10-14 07:21:45.368 341 370 W ActivityManager: Slow operation: 80ms so far, now at startProcess: starting to update pids map
6956 10-14 07:21:45.369 1658 1658 I Zygote : seccomp disabled by setenforce 0
6957 10-14 07:21:45.369 341 370 W ActivityManager: Slow operation: 80ms so far, now at startProcess: done updating pids map
6958 10-14 07:21:45.530 226 770 E CameraService: cameraIdIntToStrLocked: input id 0 invalid: valid range (0, 0)
6959 10-14 07:21:45.530 226 770 I CameraService: CameraService::connect call (PID -1 "com.arpi.rpcamera", camera ID ) for HAL version default and Camera API version 1
6960 10-14 07:21:45.530 226 770 W CameraService: Attempting to connect to system-only camera id , connection rejected
6961 10-14 07:21:45.531 1658 1658 W CameraBase: An error occurred while connecting to camera 0: Status(-8, EX_SERVICE_SPECIFIC): '4: connectHelper:1418: No camera device with ID "" currently available'
6962 10-14 07:21:45.532 1658 1658 D AndroidRuntime: Shutting down VM
6963 10-14 07:21:45.533 1658 1658 E AndroidRuntime: FATAL EXCEPTION: main
6964 10-14 07:21:45.533 1658 1658 E AndroidRuntime: Process: com.arpi.rpcamera, PID: 1658
6965 10-14 07:21:45.533 1658 1658 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.arpi.rpcamera/com.arpi.rpcamera.MainActivity}: java.lang.RuntimeException: Fail to connect to camera service
6966 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
6967 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
6968 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
6969 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
6970 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
6971 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
6972 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
6973 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
6974 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
6975 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
6976 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
6977 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
6978 10-14 07:21:45.533 1658 1658 E AndroidRuntime: Caused by: java.lang.RuntimeException: Fail to connect to camera service
6979 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.hardware.Camera.(Camera.java:551)
6980 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.hardware.Camera.open(Camera.java:396)
6981 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at com.arpi.rpcamera.MainActivity.openCamera(MainActivity.kt:58)
6982 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at com.arpi.rpcamera.MainActivity.onCreate(MainActivity.kt:35)
6983 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7825)
6984 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7814)
6985 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
6986 10-14 07:21:45.533 1658 1658 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
6987 10-14 07:21:45.533 1658 1658 E AndroidRuntime: ... 11 more
6988 10-14 07:21:45.536 341 1682 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
6989 10-14 07:21:45.536 341 1657 W ActivityTaskManager: Force finishing activity com.arpi.rpcamera/.MainActivity
camera_fail.txt

Issue building Kernel

Description

I get an error when trying to generate the .config file

Step to reproduce

Run ->

ARCH=arm64 scripts/kconfig/merge_config.sh arch/arm64/configs/bcm2711_defconfig kernel/configs/android-base.config kernel/configs/android-recommended.config

Error

make: *** empty variable name. Stop.

Screenshot

Screenshot from 2020-12-28 00-16-13

I would really appreciate a hand on this. Thank you for your amazing work and for contributing to the open source community with such a great project!

media playback performance lag

I've noticed that there's considerable media playback performance lag in arpi-11 vs arpi-10, I was able to reliably stream youtube videos with a native android webview but the same video playback does freeze up the screen altogether in arpi-11

Android Pie on Raspberry Pi4

I want to run Android Pie on Raspberry Pi4.

I downloaded it with the following local manifest with the following contents.
I built it following the instructions in "device_arpi_rpi4".

<? xml version = "1.0" encoding = "UTF-8"?>
<manifest>
 <remote name = "arpi" fetch = "https://github.com/android-rpi" />

<remove-project name = "platform / external / mesa3d" />
<project path = "external / mesa3d" name = "external_mesa3d" revision = "v3d-20.1" remote = "arpi" />
<remove-project name = "platform / external / drm_gralloc" />
<project path = "external / drm_gralloc" name = "external_drm_gralloc" revision = "v3d-20.1" remote = "arpi" />
<remove-project name = "platform / external / libdrm" />
<project path = "external / libdrm" name = "platform / external / libdrm" revision = "pie-cuttlefish-testing" />

<project path = "kernel / arpi" name = "kernel_arpi" revision = "arpi-5.4.y" remote = "arpi" />
<project path = "hardware / arpi" name = "hardware_arpi" revision = "arpi-10" remote = "arpi" />
<project path = "device / arpi / rpi4" name = "device_arpi_rpi4" revision = "arpi-10" remote = "arpi" />

 <project path = "vendor / arpi / RpLauncher" name = "RpLauncher" revision = "pie" remote = "arpi" />

 <remove-project name = "device / google / marlin-kernel" />
 <remove-project name = "device / google / wahoo-kernel" />
 <remove-project name = "device / linaro / hikey-kernel" />
</ manifest>

But it just alternates between the rainbow screen and the black screen.
What should i do?

I have problems while building make ramdisk systemimage vendorimage

$ make ramdisk systemimage vendorimage

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=rpi4
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a72
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-52-generic-x86_64-Ubuntu-20.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200705.002
OUT_DIR=out

out/build-rpi4-cleanspec.ninja is missing, regenerating...
[ 99% 575/576] finishing build rules ...
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherOutOfProcTests'
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherDebug'
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherTests'
platform_testing/build/tasks/tests/platform_test_list.mk: warning: platform_tests: Unknown installed file for module 'LauncherRotationStressTest'
platform_testing/build/tasks/tests/platform_test_list.mk: warning: platform_tests: Unknown installed file for module 'PlatformScenarioTests'
[ 4% 2682/60270] build out/target/common/obj/all-event-log-tags.txt
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:6: warning: tag "lock_screen_type" (90200) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:6
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:9: warning: tag "exp_det_device_admin_activated_by_user" (90201) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:9
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:12: warning: tag "exp_det_device_admin_declined_by_user" (90202) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:12
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:15: warning: tag "exp_det_device_admin_uninstalled_by_user" (90203) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:15
packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:18: warning: tag "settings_latency" (90204) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:18
[ 5% 3025/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_mesh.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_mesh.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_mesh.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_mesh.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 5% 3026/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_allocation
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_allocation.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 5% 3027/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_cl.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_cl.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 5% 3028/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_core.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_core.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_core.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_core.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 5% 3029/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_element.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_element.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_element.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_element.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 5% 3030/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_matrix.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_matrix.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_matrix.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_matrix.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 5% 3031/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_program.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_program.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_program.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_program.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 5% 3032/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_sample.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sample.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_sample.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sample.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 5% 3033/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_convert.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_convert.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_convert.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_convert.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 5% 3034/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_f16_math.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f16_math.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_f16_math.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f16_math.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[ 5% 3035/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_sampler.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sampler.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x renderscript frameworks/rs/driver/runtime/rs_sampler.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sampler.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
16:47:58 ninja failed with: exit status 1

failed to build some targets (06:27 (mm:ss))

WIFI/BT doesn't work

Hello ARPI Team,
I followed the steps on README under /device/arpi/rpi4 folder on Android 10 and it could run normally on RPI 4 . But WIFI/BT doesn't work. I could see wpa_supplicant service was not started. Besides, /dev/socket/wpa_wlan0 and /dev/rfkill was not actuallly created. I could see WIFI firmware under /root/lib/firmware/brcm . Can you give some suggestions to me ? Is there anything wrong ?

Booting failed in rpi4

I synced the latest android-rpi code.
I followed README to prepare my SD card partition, but booting failed.
Could someone help me?

logcat:

01-01 00:45:43.589  3082  3082 I SurfaceFlinger: Using HWComposer service: 'default'
01-01 00:45:43.589  3082  3082 I SurfaceFlinger: SurfaceFlinger is starting
01-01 00:45:43.592  3082  3082 I SurfaceFlinger: Treble testing override: 'false'
01-01 00:45:43.670  3082  3082 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
01-01 00:45:43.670  3082  3082 I SurfaceFlinger: Phase offset NS: 1000000
01-01 00:45:43.671  3082  3094 W SurfaceFlinger: Ignoring VSYNC request while display is disconnected
01-01 00:45:43.671  3082  3094 W SurfaceFlinger: Ignoring VSYNC request while display is disconnected
01-01 00:45:43.671  3082  3095 W SurfaceFlinger: Ignoring VSYNC request while display is disconnected
01-01 00:45:43.671  3082  3095 W SurfaceFlinger: Ignoring VSYNC request while display is disconnected
01-01 00:45:43.671  3082  3082 D RenderEngine: RenderEngine GLES Backend
01-01 00:45:43.669  3082  3082 I surfaceflinger: type=1400 audit(0.0:4886): avc: denied { read } for name="libglapi.so" dev="mmcblk0p3" ino=283 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1N
01-01 00:45:43.669  3082  3082 I surfaceflinger: type=1400 audit(0.0:4887): avc: denied { open } for path="/vendor/lib/libglapi.so" dev="mmcblk0p3" ino=283 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1�
01-01 00:45:43.669  3082  3082 I surfaceflinger: type=1400 audit(0.0:4888): avc: denied { getattr } for path="/vendor/lib/libglapi.so" dev="mmcblk0p3" ino=283 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1P
01-01 00:45:43.669  3082  3082 I surfaceflinger: type=1400 audit(0.0:4889): avc: denied { map } for path="/vendor/lib/libglapi.so" dev="mmcblk0p3" ino=283 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1�
01-01 00:45:43.669  3082  3082 I surfaceflinger: type=1400 audit(0.0:4890): avc: denied { execute } for path="/vendor/lib/libdrm.so" dev="mmcblk0p3" ino=280 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1�
01-01 00:45:43.687  3082  3082 D libEGL  : loaded /vendor/lib/egl/libGLES_mesa.so
01-01 00:45:43.742  3082  3082 E GRALLOC-DRM: failed to open /dev/dri/card1
01-01 00:45:43.742  3082  3082 W EGL-MAIN: fail to get drm fd
01-01 00:45:43.743  3082  3082 W libEGL  : eglInitialize(0xaed33600) failed (EGL_NOT_INITIALIZED)

tombstone:

pid: 3082, tid: 3082, name: surfaceflinger  >>> /system/bin/surfaceflinger <<<
uid: 1000
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
    r0  00000000  r1  00000000  r2  00000000  r3  00000000
    r4  aed49ba0  r5  00000000  r6  adf2e260  r7  00000001
    r8  aed49bb8  r9  00000002  r10 00000001  r11 00000002
    ip  adceb5fc  sp  be9232a0  lr  adce2ca3  pc  aded399c

backtrace:
      #00 pc 0005b99c  /apex/com.android.runtime/lib/bionic/libc.so (strlen_a15+72) (BuildId: d1b50ae452ed4e239b3fc339ada39770)
      #01 pc 0000bc9f  /system/lib/libutils.so (android::String8::setTo(char const*)+10) (BuildId: 3d0bfbc691fb5656829832d1b96df067)
      #02 pc 000c2e5b  /system/lib/libsurfaceflinger.so (android::renderengine::gl::GLExtensions::initWithEGLStrings(char const*, char const*)+22) (BuildId: 766a38369b3218b18c28f877432fedcc)
      #03 pc 000bc8d7  /system/lib/libsurfaceflinger.so (android::renderengine::gl::GLESRenderEngine::create(int, unsigned int, unsigned int)+86) (BuildId: 766a38369b3218b18c28f877432fedcc)
      #04 pc 000bc785  /system/lib/libsurfaceflinger.so (android::renderengine::RenderEngine::create(int, unsigned int, unsigned int)+92) (BuildId: 766a38369b3218b18c28f877432fedcc)
      #05 pc 000890ab  /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+858) (BuildId: 766a38369b3218b18c28f877432fedcc)
      #06 pc 0000313f  /system/bin/surfaceflinger (main+250) (BuildId: c33c592d1d9134bf76ba31fd23464998)

Unable to connect to Ethernet.

Unable to connect to Ethernet.

Nothing happens when you enter a static IP address and press Enter.

What should I do now?

boot fail as system image increases

Hi rpi team

I checked the build success & normal boot with this source.
Thank you for the rpi team's effort.

I added another app for testing, and the system area increased by more than 300M. (add my developing app and relate google apps)
So, The build was successful by increasing the capacity at BoardConfig.mk, but the boot failed. (Android logo only is visible)

Here's the question.

  • If the system image size has increased, we are modifying BoardConfig.mk and modifying the system part size of the sdcard together.
    Is there anything else I need to check?

ADB support

I've tried using a usb-a to usb-c cable on all the usb ports but ./adb devices doesn't list anything. I'm trying to install some apks for testing

Wifi connect function not work

Hello arpi team

I have updated latest source code from this github and tried to test Wifi function.
Scan function worked well but connect function didn't work.
Error log:
2020-06-25 11:14:28.514 329-734/system_process I/WifiService: startScan uid=1000
2020-06-25 11:14:28.528 329-416/system_process D/WifiConfigStore: Writing to stores completed in 17 ms.
2020-06-25 11:14:28.529 329-416/system_process D/WifiClientModeImpl: connectToUserSelectNetwork netId 0, uid 1000, forceReconnect = false
2020-06-25 11:14:28.551 329-416/system_process D/WifiConfigStore: Writing to stores completed in 18 ms.
2020-06-25 11:14:28.553 329-416/system_process E/WifiClientModeImpl: CMD_START_CONNECT but no requests and not connected, bailing
2020-06-25 11:14:31.050 329-348/system_process I/EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false

Official camera v1.3 support

Hi
I am trying to make official camera work, though, USB camera works great.
FYI, I am using this camera https://uk.pi-supply.com/products/raspberry-pi-camera-board-v1-3-5mp-1080p
The camera HAL I am trying is https://github.com/rsglobal/glodroid_forks/tree/hardware-libcamera
A bit of instruction I have taken to integrate is from lineage-rpi/android_local_manifest#9 (comment)

I am able to build and use camera using Camera2 app, Its failing after first frame.
Here below is the logcat from my board, please help guide me where to look.
Logs

Problem with video and audio

Hi all

My rpi4 can boot normally with built image from this source.
But when I tried to play video file (mp4) by vlc or any other video app, it can not and show black screen.
And about audio, don't have sound although audio file can play normally (mp3 file)

Any one can support this issue?

Thanks so much

USB boot support?

I've updated my rpi4 firmware to the latest stable(June 15th) which now has official support for USB boot. I'm able to USB boot Raspberry Pi OS for example but when I attempt to boot android-rpi, I can see that rainbow screen but it boot loop. Any help/pointers on how to get it to work?

[Question] Root permissions

Description

I'm trying to run a su command from a custom Android App but I'm getting Cannot run program "su": error=13, Permission denied. I understand that eng variant is supposed to be root and I should have all permissions.

Question

How do I run an app as Root in order to get access to modifying system folder?

Open GAPPS

how can i add open gapps to the project

Permanent lag after changing wallpaper

When the wallpaper changes (for example, going into wallpaper settings and choosing a new one), the launcher becomes laggy until a full factory reset from TWRP, even if I change the wallpaper back again or reboot the Pi.

Thanks for Peter Yoon's greate job! Some isues to report to u:)

Hi,MR. Peter Yoon! Thanks for your greate efforct& up to date android 11 nice work for pi!
I build it follow by your instructions ,it takes about 5 hours. and I burn it to RPI4b, it's so exciting that it can boot up normally,even with wifi and bluetooth are ON! and WIFI can connect to AP(ac or abgn) ,and the bluetooth is also ok when connect to some sound speakers.
Most import of all, The user experience (such as the mouse move quickly,or desktop screen update etc) is very excellent on this ARM64 version!~
but after a day's test,i found some isues:
A. when play some 1920x1080p videos (MP4),the sound is OK,but the screen keeping frozen for some seconds and then jump to the cureent frame,and after a few seconds, it frozen again and again!
B. How to root the device by default?
C. Can I change the screen's resolution to 1920x1080? How to do it?Thanks

Thanks for all the 3 persons of the project! Your greate job make it amazing!~!!!!

@peyo-hd

Image Unstable - Android restarts automatically

Hello,
I have successfully built device_arpi_rpi4 from source code by following instructions as mentioned in - https://github.com/android-rpi/device_arpi_rpi4. I am using RPI4 version which has 4 GB of RAM.

I have added 4 applications in rpi4.mk -
PRODUCT_PACKAGES +=
Browser2
Calculator
Email
Gallery2
With this, when I boot the target, I can see these 4 applications appearing as 4 tiles . However, on clinking on one of these tiles, I see the application opens but then after some time the system resets and I see "android" boot animation.
Also, I am not sure - once I open an app, how do I exit from that screen.
Please provide some guidance.

ADB missing device over USB

Hi, is it possible to connect to RPi with ADB using USB?

I've tried changing USB configuration / USB debug properties in Settings and I still don't see device in adb devices

Issue with audio / video

Hi arpi team,

I would like ask about the issue of audio/video.
My current rpi4 status is android 10 (r35) completed a boot success.

I've already seen your inquiry about the same issue, and I'm waiting for it.
However, I'm checking for the audio issue to solve, but it's hard.

I know the questions below are stupid, but...

  1. Below is logcat log when mp3 file is operated as vlc player.

06-03 00:02:23.124 1162 2304 E audio_hw_primary: pcm_open(out) failed: cannot open device '/dev/snd/pcmC0D1p': No such file or directory
06-03 00:02:24.772 1162 2304 I chatty : uid=1041(audioserver) writer identical 157 lines
06-03 00:02:24.782 1162 2304 E audio_hw_primary: pcm_open(out) failed: cannot open device '/dev/snd/pcmC0D1p': No such file or directory
06-03 00:02:24.793 1647 2300 W VLC : [8038fab0/8fc] libvlc audio output: playback too late (65145): up-sampling
06-03 00:02:24.793 1162 2304 E audio_hw_primary: pcm_open(out) failed: cannot open device '/dev/snd/pcmC0D1p': No such file or directory
06-03 00:02:24.804 1162 2304 I chatty : uid=1041(audioserver) writer identical 1 line
06-03 00:02:24.814 1162 2304 E audio_hw_primary: pcm_open(out) failed: cannot open device '/dev/snd/pcmC0D1p': No such file or directory
06-03 00:02:24.820 1647 2300 D VLC : [8061aeb0/8fc] libvlc audio resampler: Using 'vr32' engine
06-03 00:02:24.825 1162 2304 E audio_hw_primary: pcm_open(out) failed: cannot open device '/dev/snd/pcmC0D1p': No such file or directory

App installation

This might be an elementary question but I had to ask.

I followed the instructions and got the android build running on my raspberry pi 4.
Next thing I want to do is install apps... I was going to install .apk files under the file system but android file transfer (on my mac) does not recognize the android on pi (I connected pi and mac by usb, using one of the open USB ports on pi.) I set the USB configuration to MTP from the Setting, like I would normally do with my android phone, but I figured that this USB setting is for the USB-C port that's been primarily used to power pi.

That said, what would be the best strategy to install apps on android on pi? Any help appreciated, thanks so much.

Stuck at booting animation

Device Raspberry PI 4 (4GB) - arpi 11

Description

I've built the Android OS by following the instructions on this repository. All went well but when the RPI boots it gets stuck on the android logo (booting animation)

Notes

The system image was bigger than 1024M so I made some changes at device/arpi/rpi4/BoardConfig.mk to extending each partition. The file looks like this now:

Screenshot from 2020-12-30 06-22-38

Environment

The SD Card partitions look like this

Screenshot from 2020-12-30 06-26-36

The SD Card volumes look like this

Screenshot from 2020-12-30 06-28-05

SD Card Boot partition files

Screenshot from 2020-12-30 06-36-21

SD Card System partition files

Screenshot from 2020-12-30 06-37-07

SD Card Vendor partition files

Screenshot from 2020-12-30 06-37-40

SD Card user data partition files (Autogenerated after boot)

Screenshot from 2020-12-30 06-38-29

Question

@peyo-hd is there something I'm doing wrong?

Bluetooth

Thanks all for the Nice work. Is Bluetooth enabled in this?. I am not able to find it in TV image.
I am trying with the camera patch from RaspberryPiFan. I would like to include Bluetooth changes if there are some. Thanks again

Deprecated usage of envsetup.sh

Tried to build an image for a rapi 4 following your instructions, but at the step where we need to source the envsetup.sh
the file emits the following warning:

echo "Sourcing 'build/envsetup.sh' for Android Kernels is deprecated and no longer valid!"
echo "Please refer to the documentation in said script for details."

The referred documentation page is the:
https://source.android.com/setup/build/building-kernels
which contains not so easy to follow instructions.

Any thoughs / updates on this ?

Wifi not turning on with the new Raspberry Pi 400

I just tried arpi-10 on the new Raspberry Pi 400, wifi won't turn on. Was hoping for it to work out of the box with an Rpi4 build but turns out it's not, I believe Raspberry Pi 400 has a newer chip than the Pi4

make -j2 ramdisk systemimage vendorimage fails

lunch rpi4-eng
[W][2020-08-06T06:05:16+0200][173603] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2020-08-06T06:05:16+0200][173603] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=rpi4
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a72
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.7.0-2-amd64-x86_64-Debian-GNU/Linux-bullseye/sid
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200705.002
OUT_DIR=out
============================================
root@tardis:/usr/src/android# make -j2 ramdisk systemimage vendorimage
[W][2020-08-06T06:05:24+0200][173684] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2020-08-06T06:05:24+0200][173684] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=rpi4
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a72
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.7.0-2-amd64-x86_64-Debian-GNU/Linux-bullseye/sid
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200705.002
OUT_DIR=out
============================================
[W][2020-08-06T06:05:24+0200][173747] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2020-08-06T06:05:24+0200][173747] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2020-08-06T06:05:24+0200][173756] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2020-08-06T06:05:24+0200][173756] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2020-08-06T06:05:24+0200][173775] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2020-08-06T06:05:24+0200][173775] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2020-08-06T06:06:16+0200][173895] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2020-08-06T06:06:16+0200][173895] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
wildcard(out/target/product/rpi4/clean_steps.mk) was changed, regenerating...
[W][2020-08-06T06:06:21+0200][173976] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2020-08-06T06:06:21+0200][173976] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[W][2020-08-06T06:06:24+0200][175627] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2020-08-06T06:06:24+0200][175627] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
[  0% 3/57180] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_allocation.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char  -Wno-deprecated -Werror  -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript frameworks/rs/driver/runtime/rs_allocation.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[  0% 4/57180] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_cl.c
FAILED: out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc
/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char  -Wno-deprecated -Werror  -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript frameworks/rs/driver/runtime/rs_cl.c -o out/target/product/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

android 10 boot fail

Hi,Peter Yoon:
I find a problem when android10 boot on rpi 4b.
some init sub process are killed after kernel, (init: Untracked pid ***)
I think,the fllow log is the key:
v3d fec00000.v3d: MMU error from client ? (13) at 0x539b000, pte invalid.
Do you have some idea? thank you for your reply

[ 18.347438] bcmgenet: Skipping UMAC reset
[ 18.356323] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[ 18.364869] bcmgenet fd580000.ethernet eth0: Link is Down
[ 18.488681] type=1400 audit(1600511861.749:21): avc: denied { watch } for comm="system_server" path="/data/cache" dev="mmcblk0p4" ino=32770 scontext=u:r:system_server:s0 tcontext=u:object_r:cache_file:s0 tclass=dir permissive=1
[ 18.513001] type=1400 audit(1600511862.199:22): avc: denied { watch } for comm=5573625365727669636520686F7374 path="/dev/bus/usb" dev="tmpfs" ino=528 scontext=u:r:system_server:s0 tcontext=u:object_r:usb_device:s0 tclass=dir permissive=1
[ 18.756085] binder: unexpected work type, 4, not freed
[ 18.769159] binder: undelivered TRANSACTION_COMPLETE
[ 18.777003] binder: undelivered transaction 6126, process died.
[ 20.306622] init: Service 'bootanim' (pid 321) exited with status 0
[ 20.329415] v3d fec00000.v3d: MMU error from client ? (13) at 0x539b000, pte invalid
[ 20.413246] init: processing action (sys.boot_completed=1) from (/init.rc:803)
[ 20.425282] init: starting service 'exec 12 (/bin/rm -rf /data/per_boot)'...
[ 20.440111] init: SVC_EXEC service 'exec 12 (/bin/rm -rf /data/per_boot)' pid 754 (uid 1000 gid 1000+0 context default) started; waiting...
[ 20.448777] sdcardfs version 2.0
[ 20.461182] sdcardfs: dev_name -> /data/media
[ 20.466693] sdcardfs: gid=1015,mask=6
[ 20.471587] sdcardfs: mounted on top of /data/media type ext4
[ 20.490190] init: Service 'exec 12 (/bin/rm -rf /data/per_boot)' (pid 754) exited with status 0 waiting took 0.050000 seconds
[ 20.504334] init: processing action (sys.boot_completed=1 && sys.logbootcomplete=1) from (/system/etc/init/bootstat.rc:78)
[ 20.516536] init: starting service 'exec 13 (/system/bin/bootstat --record_boot_complete --record_boot_reason --record_time_since_factory_reset -l)'...
[ 20.570059] init: Command 'exec_background - system log -- /system/bin/bootstat --record_boot_complete --record_boot_reason --record_time_since_factory_reset -l' action=sys.boot_completed=1 && sys.logbootcomplete=1 (/system/etc/init/bootstat.rc:83) took 53ms and succeeded
[ 20.595313] init: processing action (sys.boot_completed=1) from (/system/etc/init/flags_health_check.rc:7)
[ 22.843250] type=1400 audit(1600511863.379:27): avc: denied { getattr } for comm="HwBinder:204_2" path="/system/etc/bluetooth/bt_vendor.conf" dev="mmcblk0p2" ino=717 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[ 22.849100] audit: audit_lost=1 audit_rate_limit=5 audit_backlog_limit=64
[ 22.866737] type=1400 audit(1600511866.559:28): avc: denied { open } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 22.873330] audit: rate limit exceeded
[ 22.901286] type=1400 audit(1600511866.559:28): avc: denied { open } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 22.925427] type=1400 audit(1600511866.559:29): avc: denied { getattr } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 22.949877] type=1400 audit(1600511866.559:29): avc: denied { getattr } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 22.974249] type=1400 audit(1600511866.559:30): avc: denied { map } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 22.998392] type=1400 audit(1600511866.559:30): avc: denied { map } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 23.022424] type=1400 audit(1600511866.559:31): avc: denied { read } for comm="crash_dump32" name="bluetooth_db-shm" dev="mmcblk0p4" ino=685 scontext=u:r:crash_dump:s0 tcontext=u:object_r:bluetooth_data_file:s0 tclass=file permissive=1
[ 23.043410] type=1400 audit(1600511866.559:31): avc: denied { read } for comm="crash_dump32" name="bluetooth_db-shm" dev="mmcblk0p4" ino=685 scontext=u:r:crash_dump:s0 tcontext=u:object_r:bluetooth_data_file:s0 tclass=file permissive=1
[ 23.064310] type=1400 audit(1600511866.559:32): avc: denied { open } for comm="crash_dump32" path="/data/user_de/0/com.android.bluetooth/databases/bluetooth_db-shm" dev="mmcblk0p4" ino=685 scontext=u:r:crash_dump:s0 tcontext=u:object_r:bluetooth_data_file:s0 tclass=file permissive=1
[ 23.432422] selinux: SELinux: Skipping restorecon on directory(/data/system_ce/0)
[ 23.432422]
[ 23.443808] init: Async property child exited with status 0
[ 23.453629] selinux: SELinux: Skipping restorecon on directory(/data/vendor_ce/0)
[ 23.453629]
[ 23.465117] init: Async property child exited with status 0
[ 23.474917] selinux: SELinux: Skipping restorecon on directory(/data/misc_ce/0)
[ 23.474917]
[ 23.486408] init: Async property child exited with status 0
[ 24.214016] init: Untracked pid 792 exited with status 0
[ 24.231140] init: Untracked pid 794 exited with status 0
'▒
[ 24.320088] apexd: Can't open /product/apex for reading : No such file or directory
[ 24.557866] init: Received control message 'start' for 'gsid' from pid: 344 (system_server)
[ 24.569562] init: starting service 'gsid'...
[ 25.066690] audit: audit_lost=9 audit_rate_limit=5 audit_backlog_limit=64
[ 25.073552] audit: rate limit exceeded
[ 28.210168] type=1400 audit(1600511868.779:49): avc: denied { open } for comm="HwBinder:204_2" path="/system/etc/bluetooth/bt_vendor.conf" dev="mmcblk0p2" ino=717 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[ 28.212525] audit: audit_lost=10 audit_rate_limit=5 audit_backlog_limit=64
[ 28.233284] type=1400 audit(1600511871.929:51): avc: denied { open } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 28.233387] type=1400 audit(1600511871.929:51): avc: denied { open } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 28.233407] type=1400 audit(1600511871.929:52): avc: denied { getattr } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 28.233472] type=1400 audit(1600511871.929:52): avc: denied { getattr } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 28.240300] audit: rate limit exceeded
[ 28.340886] type=1400 audit(1600511871.929:53): avc: denied { map } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 28.365008] type=1400 audit(1600511871.929:53): avc: denied { map } for comm="crash_dump32" path="/dev/properties/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=455 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[ 28.389030] type=1400 audit(1600511871.929:54): avc: denied { read } for comm="crash_dump32" name="bluetooth_db-shm" dev="mmcblk0p4" ino=685 scontext=u:r:crash_dump:s0 tcontext=u:object_r:bluetooth_data_file:s0 tclass=file permissive=1
[ 28.409995] type=1400 audit(1600511871.929:54): avc: denied { read } for comm="crash_dump32" name="bluetooth_db-shm" dev="mmcblk0p4" ino=685 scontext=u:r:crash_dump:s0 tcontext=u:object_r:bluetooth_data_file:s0 tclass=file permissive=1
[ 28.430980] type=1400 audit(1600511871.929:55): avc: denied { open } for comm="crash_dump32" path="/data/user_de/0/com.android.bluetooth/databases/bluetooth_db-shm" dev="mmcblk0p4" ino=685 scontext=u:r:crash_dump:s0 tcontext=u:object_r:bluetooth_data_file:s0 tclass=file permissive=1
[ 29.458342] init: Untracked pid 1125 exited with status 0
[ 29.464675] init: Untracked pid 1127 exited with status 0
'▒
[ 34.334297] init: Untracked pid 1183 exited with status 0
[ 34.350845] init: Untracked pid 1185 exited with status 0

instruction in the readme.md are incorrect and wont boot [like issue#3]

Followed the readme:- copied Image.gz -> boot
boot gives 7 green blinks kernel.img missing
renamed to match config.txt zImage
get the rainbow screen a few more blinks then a blackscreen.
Found issue #3 mentions a similar scenario and more.

Is there more inside issue#3 that needs fixing? It didnt
jump out on a quick skim through.
Should I use the mentioned shell script to
build the sdcard instead?.
Any other errata I should read?.

Oh!, thanks for the project!.

Support for Tablet mode

@peyo-hd is there any plan to add support for tablet mode device tree branch? TV mode has some touch/input/navigations issues when trying to use in real world application on a touch screen when there's no physical keyboard

A tablet mode branch for either arpi-10 or arpi-11 would be a really good addition

[Question] Successful boot, no home or back buttons

Hi android-rpi team -

I was successfully able to build and boot RPi4 8 GB from this repo. However, when the system boots there are no system buttons and all the UI has is just 2 apps -System Tracing and Settings.

Can someone please advice if this is expected? Or somehow my build or boot is not right?

Here's a screenshot after the system has booted.

Screen Shot 2020-06-16 at 5 38 08 PM

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.