Closed kaushal98 closed 4 years ago
Hi Your screen is normal.. It just RpLauncher app. If you expacted other screen, you can install other Launcher app.
The default build is a TV device plus a custom launcher. To have the navbar + statusbar, first make it a tablet then remove the RPLaucnher and use the default launcher. As in here: https://github.com/hkoosha/device_arpi_rpi4
To use that repo, you need to have https://gitlab.com/openrpi/rpidroid/vendor/openrpi/taskbar and https://gitlab.com/openrpi/rpidroid/vendor/openrpi/calculator in your AOSP source tree.
Thanks everyone. I didn't realize from the ReadMe that this repo builds Android TV. Even though the patch does mention TvSettings
, I didn't think it was actually TV.
The default build is a TV device plus a custom launcher. To have the navbar + statusbar, first make it a tablet then remove the RPLaucnher and use the default launcher. As in here: https://github.com/hkoosha/device_arpi_rpi4
Hi @hkoosha since there is no readme in that repo, are the build instructions same as in this one? Sorry newbie here :)
They are mostly the same, but you need to run lunch erpi4-eng
instead of lunch rpi4-eng
Hi @hkoosha and everyone Since I applied your new guide of a tablet and default launcher "https://github.com/hkoosha/device_arpi_rpi4", my android isn't booted printing the gatekeeper abort() log and restarting init process.
[ 6.972683] DEBUG: Build fingerprint: 'endorphin/erpi4/erpi4:10/QQ3A.200605.002.A1/eng.jylee2.20200622.102123:eng/test-keys'
[ 6.984360] DEBUG: Revision: '0'
[ 6.996401] DEBUG: ABI: 'arm'
[ 6.999878] DEBUG: Timestamp: 1970-01-01 00:00:06+0000
[ 7.002971] DEBUG: pid: 261, tid: 261, name: android.hardwar >>> /vendor/bin/hw/android.hardware.gatekeeper@1.0-service <<<
[ 7.008495] DEBUG: uid: 1000
[ 7.020413] DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
[ 7.023670] DEBUG: Abort message: 'Unable to open GateKeeper HAL'
[ 7.031647] DEBUG: r0 00000000 r1 00000105 r2 00000006 r3 bec46030
[ 7.038013] DEBUG: r4 bec46044 r5 bec46028 r6 00000105 r7 0000016b
[ 7.046148] DEBUG: r8 bec46040 r9 bec46030 r10 bec46060 r11 bec46050
[ 7.053651] DEBUG: ip 00000105 sp bec46000 lr a9ce62a3 pc a9ce62b6
[ 7.179251] DEBUG:
[ 7.198204] DEBUG: backtrace:
[ 7.198369] DEBUG: #00 pc 0005f2b6 /apex/com.android.runtime/lib/bionic/libc.so (abort+166) (BuildId: d1b50ae452ed4e239b3fc339ada39770)
[ 7.201529] DEBUG: #01 pc 00005a31 /system/lib/liblog.so (android_log_assert+176) (BuildId: 5308d97a8ae4abb015fa115d4dabe0b0)
[ 7.215206] DEBUG: #02 pc 000025f7 /vendor/lib/hw/android.hardware.gatekeeper@1.0-impl.so (HIDL_FETCH_IGatekeeper+94) (BuildId: 1833422b1c0f5a7e46a98ca931517328)
[ 7.228004] DEBUG: #03 pc 000418d3 /system/lib/vndk-sp-29/libhidlbase.so (_ZZN7android8hardware25PassthroughServiceManager3getERKNS0_11hidl_stringES4_ENKUlPvRKNSt3112basic_stringIcNS611char)
[ 7.237126] NOT YET: opcode db
[ 7.243960] DEBUG: #04 pc 0003e9e3 /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::PassthroughServiceManager::openLibs(std::1::basic_string<char, std::1::chartraits
I followed your README guide on this repo, and then I just modified the default.xml for applying new endorphin repo, like below,
@jylee256 I'm doing the same thing, just started building so will take a while. Here's what my default.xml
looks like
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="arpi" fetch="https://github.com/android-rpi"/>
<remote name="erpi" fetch="https://github.com/hkoosha"/>
<remove-project name="platform/external/mesa3d"/>
<project path="external/mesa3d" name="external_mesa3d" revision="v3d-20.1" remote="arpi"/>
<project path="external/drm_gralloc" name="external_drm_gralloc" revision="v3d-20.1" remote="arpi"/>
<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="device/endorphin/erpi4" name="device_arpi_rpi4" revision="arpi-10" remote="erpi"/>
<!--
<project path="vendor/arpi/RpLauncher" name="RpLauncher" revision="arpi-10" remote="arpi"/>
-->
<remove-project name="device/amlogic/yukawa-kernel" />
<remove-project name="device/google/bonito-kernel" />
<remove-project name="device/google/coral-kernel" />
<remove-project name="device/google/crosshatch-kernel" />
<remove-project name="device/google/marlin-kernel" />
<remove-project name="device/google/wahoo-kernel" />
<remove-project name="device/linaro/hikey-kernel" />
<remove-project name="device/linaro/poplar-kernel" />
<remove-project name="device/ti/beagle-x15-kernel" />
</manifest>
closing for now since original issue is resolved
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
andSettings
.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.
Thanks.