android-rpi / device_arpi_rpi4 Goto Github PK
View Code? Open in Web Editor NEWDevice build-config for Raspberry Pi 4
Device build-config for Raspberry Pi 4
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!
any tips? thanks a lot!
Does android-rpi support GPIO access using dev/gpiochip0
or dev/gpiochip1
?
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
`
My assumption is that there is a missing APT install but I have not been able to identify which.
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.
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:
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
I get an error when trying to generate the .config file
Run ->
ARCH=arm64 scripts/kconfig/merge_config.sh arch/arm64/configs/bcm2711_defconfig kernel/configs/android-base.config kernel/configs/android-recommended.config
make: *** empty variable name. Stop.
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!
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?
Is this Android x86?
Hello team
I have a question..
Last time someone else asked the same question,
(#19 (comment))
Can the rpi4 output audio from hdmi?
If you have a guide or hint, could you share it ?
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
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 ?
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.
Nothing happens when you enter a static IP address and press Enter.
What should I do now?
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.
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
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
Hi, can you please add a default license to this repo and also for local_manifests repo ?
Github public repos w/o any default license are effectively no license granted
https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository
Thanks
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
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
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?
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.
How do I run an app as Root in order to get access to modifying system folder?
I entered the settings, and then I tried to return to launcher.At that time, I found it was unable to return.The same situation applies to the settings.
how can i add open gapps to the project
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.
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!~!!!!
I see you also have a project on GitLab as well. What's the difference and which one should I use?
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.
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
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...
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
.
Graphics HAL of this build... What is this mean?
I thought I should compare this mesa source and android source (/external/mesa).
If anyone knows about this, please explain it to me more specifically.
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.
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)
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:
The SD Card partitions look like this
The SD Card volumes look like this
@peyo-hd is there something I'm doing wrong?
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
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 ?
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
@peyo-hd Any plans to have arm64 version?
I see @raspberrypifan has cloned your repos on gitlab. Are you guys collaborating at all?
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
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. But,when I use USB camera, I can't find video0 under /dev. Anybody can tell me why?
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
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!.
Facing reboot issue when WiFi is on with arpi-10 branch. Attaching two boots logcat logs for the reference both of the time it is rebooting at the same spot.
Note: Both files contain logs from boot to reboot.
First Boot: reboot_logcat.txt
Second Boot: reboot_logcat_1.txt
@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
Oups error
Bluetooth UI isn't available in settings of this build even though it appears there's bluetooth support in the device tree.
I've tried this bluetooth branch https://github.com/peyo-hd/device_arpi_rpi4/tree/bt_0719 and the UI shows up in settings but it doesn't show available bluetooth devices, keeps scanning forever
Has anyone got any luck getting bluetooth working?
Hello ARPI Team,
I have pulled source code from arpi10 yesterday , followed the same steps written in https://github.com/android-rpi/device_arpi_rpi4 , but can't able to boot .
Hello ARPI Team,
I followed README's instruction written in https://github.com/android-rpi/device_arpi_rpi4 to boot yesterday ,I tried many times ,the screen was still like this.
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.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.