Android-11 build for Raspberry Pi4

2,657 views
Skip to first unread message

Peter Yoon

unread,
Sep 9, 2020, 11:59:17 AM9/9/20
to Android-rpi
Entry point : https://github.com/android-rpi/local_manifests/tree/arpi-11

Status : 
  - 64 bit only Kernel & User Space  
  - 1280x720 Android TV UI with V3D GPU
  - Codec2 SW video-decoder with YUV pixel format 
  - Audio output to Headphone jack
  - Ethernet / WIFI

Enjoy Building !

Peter Schneider

unread,
Sep 21, 2020, 11:38:14 PM9/21/20
to Android-rpi
Running the make I am getting an error close to the end that has me perplexed.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=rpi4
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a72
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-47-generic-x86_64-Ubuntu-18.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RP1A.200720.011
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=external/mesa3d
============================================
[ 99% 213/214] finishing build rules ...
FAILED: 
platform_testing/build/tasks/tests/native_test_list.mk: error: continuous_native_tests: Unknown installed file for module 'resolv_gold_test' 
In file included from build/make/core/main.mk:1327:
In file included from build/make/core/Makefile:5557:
In file included from platform_testing/build/tasks/continuous_native_tests.mk:27:
build/make/core/tasks/tools/package-modules.mk:80: error: done.
20:12:45 ckati failed with: exit status 1

#### failed to build some targets (28 seconds) ####


What I am seeing suggests that there is a package missing.  Any pointers as to how to identify any package that is missing from install?  

Peter Yoon

unread,
Sep 23, 2020, 8:52:11 AM9/23/20
to Android-rpi

Ling Xiaowen

unread,
Sep 28, 2020, 11:02:51 AM9/28/20
to Android-rpi
 very nice job! Thanks for  Peter Yoon !!!
   How can I change the resolution to   1920x1080?
   
  BTW, I found that the   Audio can  output to bluetooth speaker normally!

  thanks again!!!

Aniketh Girish

unread,
Feb 15, 2021, 3:22:19 PM2/15/21
to Android-rpi
Hi Peter,

Thanks for your work! Is this build to run specifically AOSP TV base or just the android mobile base source code?

Manikanta guntupalli

unread,
May 12, 2021, 1:46:21 PM5/12/21
to Android-rpi
Hi,
I am trying to build Android-11 for Raspberry Pi4, getting below error. Please help me in finding the solution for this issue.


make ramdisk systemimage vendorimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=rpi4
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a72
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.70-x86_64-Ubuntu-18.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ2A.210405.005
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=external/mesa3d
============================================
[  0% 3/2731] //frameworks/base:api-stubs-docs-non-updatable metalava merged
FAILED: out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable-stubs.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable-violations.txt out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable_annotations.zip out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable_api.txt out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable_removed.txt out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api_lint.timestamp out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api_lint_report.txt
rm -rf out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/stubsDir && mkdir -p out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/stubsDir && rm -rf out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/srcjars && mkdir -p out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/srcjars && out/soong/host/linux-x86/bin/zipsync -d out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/srcjars -l out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/srcjars/list -f "*.java" out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/gen/android/R.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/proto/src/ipconnectivity.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/privacy.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/section.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/activitymanager.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/alarmmanager.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/appexit_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/appexitinfo.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/media_output_enum.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/notification.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/notification_channel.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/notification_channel_group.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/notificationmanager.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/pendingintent.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/profilerinfo.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/settings_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/statusbarmanager.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/tvsettings_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/window_configuration.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/app/job/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/bluetooth/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/bluetooth/a2dp/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/bluetooth/hci/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/bluetooth/hfp/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/bluetooth/smp/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/content/activityinfo.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/content/clipdata.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/content/clipdescription.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/content/component_name.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/content/configuration.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/content/featureinfo.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/content/intent.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/content/locale.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/content/locusid.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/content/package_item_info.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/debug/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/graphics/pixelformat.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/graphics/point.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/graphics/rect.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/hardware/biometrics/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/hardware/location/context_hub_info.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/hardware/sensor/assist/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/internal/locallog.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/internal/powerprofile.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/internal/processstats.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/media/audioattributes.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/net/network.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/net/networkcapabilities.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/net/networkrequest.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/nfc/aid_group.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/nfc/apdu_service_info.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/nfc/card_emulation.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/nfc/ndef.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/nfc/nfc_fservice_info.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/nfc/nfc_service.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/backtrace.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/batterystats.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/batterytype.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/bundle.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/cpu_usage.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/cpufreq.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/cpuinfo.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/data.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/header.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/incident.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/kernelwake.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/looper.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/message.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/messagequeue.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/metadata.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/pagetypeinfo.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/patternmatcher.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/persistablebundle.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/powermanager.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/procrank.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/ps.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/statsdata.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/system_properties.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/os/worksource.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/providers/settings.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/providers/settings/common.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/providers/settings/config.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/providers/settings/global.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/providers/settings/secure.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/providers/settings/system.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/activitymanagerservice.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/alarmmanagerservice.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/animationadapter.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/appstatetracker.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/blobstoremanagerservice.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/bluetooth_manager_service.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/face.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/fingerprint.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/intentresolver.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/jobscheduler.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/notificationhistory.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/peopleservice.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/powermanagerservice.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/protolog.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/rolemanagerservice.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/statlogger.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/surfaceanimator.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/syncstorageengine.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/usagestatsservice.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/usagestatsservice_v2.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/vibratorservice.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/windowcontainerthumbnail.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/windowmanagerservice.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/windowmanagertrace.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/wirelesschargerdetector.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/connectivity/data_stall_event.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/job/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/location/context_hub.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/server/location/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/adb.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/appwidget.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/battery.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/batterystats.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/diskstats.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/dropbox.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/graphicsstats.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/netstats.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/network_watchlist.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/notification.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/package.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/print.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/procstats.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/procstats_enum.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/restricted_image.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/runtime.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/sensor_service.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/service/usb.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/accessibility/accessibility_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/connectivity/network_stack.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/connectivity/tethering.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/devicepolicy/device_policy.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/devicepolicy/device_policy_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/dnsresolver/dns_resolver.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/docsui/docsui_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/intelligence/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/launcher/launcher.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/location/location_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/mediametrics/mediametrics.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/mediaprovider/mediaprovider_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/otaupdate/updateengine_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/storage/storage_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/style/style_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/sysui/notification_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/stats/textclassifier/textclassifier_enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/telecomm/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/telephony/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/util/common.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/util/event_log_tags.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/util/log.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/util/quotatracker.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/util/textdump.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/display.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/displaycutout.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/displayinfo.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/enums.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/imefocuscontroller.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/imeinsetssourceconsumer.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/insetsanimationcontrolimpl.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/insetscontroller.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/insetssource.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/insetssourceconsumer.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/insetssourcecontrol.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/insetsstate.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/remote_animation_target.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/surface.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/surfacecontrol.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/viewrootimpl.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/windowlayoutparams.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/inputmethod/editorinfo.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/inputmethod/inputmethodeditortrace.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/view/inputmethod/inputmethodmanager.srcjar out/soong/.intermediates/frameworks/base/framework-javastream-protos/gen/gensrcs/frameworks/base/core/proto/android/wifi/enums.srcjar out/soong/.intermediates/libcore/art-module-public-api-stubs-source/android_common/art-module-public-api-stubs-source-stubs.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl0.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl1.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl2.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl3.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl4.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl5.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl6.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl7.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl8.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl9.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl10.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl11.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl12.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl13.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl14.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl15.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl16.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl17.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl18.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl19.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl20.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl21.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl22.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl23.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl24.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl25.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl26.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl27.srcjar out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/gen/aidl/aidl28.srcjar && out/soong/host/linux-x86/bin/metalava -J-XX:OnError="cat hs_err_pid%p.log" -J-XX:CICompilerCount=6 -J-XX:+UseDynamicNumberOfGCThreads -encoding UTF-8 -source 1.9 @out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable-stubs.srcjar.rsp @out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/srcjars/list --strict-input-files:warn out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable-violations.txt --strict-input-files-exempt @out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable-implicits.rsp -bootclasspath out/soong/.intermediates/libcore/mmodules/core_platform_api/core.platform.api.stubs/android_common/combined/core.platform.api.stubs.jar:out/soong/.intermediates/libcore/core-lambda-stubs/android_common/javac/core-lambda-stubs.jar -classpath out/soong/.intermediates/frameworks/base/framework-internal-utils/android_common/turbine-combined/framework-internal-utils.jar:out/soong/.intermediates/prebuilts/sdk/sdk_system_30_android/android_common/combined/sdk_system_30_android.jar -sourcepath frameworks/base --no-banner --color --quiet --format=v2 --api out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable_api.txt --removed-api out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable_removed.txt --stubs out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/stubsDir --exclude-documentation-from-stubs --include-annotations --migrate-nullness prebuilts/sdk/30/public/api/android.txt --extract-annotations out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable_annotations.zip --merge-qualifier-annotations tools/metalava/manual --hide HiddenTypedefConstant --hide SuperfluousPrefix --hide AnnotationExtraction --manifest frameworks/base/core/res/AndroidManifest.xml --ignore-classes-on-classpath --hide-package com.android.server --error UnhiddenSystemApi --hide RequiresPermission --hide CallbackInterface --hide MissingPermission --hide BroadcastBehavior --hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol --hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo --force-convert-to-warning-nullability-annotations +*:-android.*:+android.icu.*:-dalvik.* --api-lint-ignore-prefix android.icu. --api-lint-ignore-prefix java. --api-lint-ignore-prefix junit. --api-lint-ignore-prefix org.  --api-lint prebuilts/sdk/30/public/api/android-non-updatable.txt --report-even-if-suppressed out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api_lint_report.txt --lints-as-errors --warnings-as-errors --error-message:api-lint $'************************************************************\nYour API changes are triggering API Lint warnings or errors.\nTo make these errors go away, fix the code according to the\nerror and/or warning messages above.\n\nIf it is not possible to do so, there are workarounds:\n\n1. You can suppress the errors with @SuppressLint("<id>")\n2. You can add a baseline file of existing lint failures\n   to the build rule of api-stubs-docs-non-updatable.\n************************************************************\n' && out/soong/host/linux-x86/bin/soong_zip -write_if_changed -jar -o out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api-stubs-docs-non-updatable-stubs.srcjar -C out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/stubsDir -D out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/stubsDir && touch out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/api_lint.timestamp && rm -rf out/soong/.intermediates/frameworks/base/api-stubs-docs-non-updatable/android_common/srcjars
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.base/java.lang.StringLatin1.newString(StringLatin1.java:715)
at java.base/java.lang.String.substring(String.java:1846)
at java.base/java.io.File.getName(File.java:456)
at com.intellij.openapi.vfs.local.CoreLocalVirtualFile.getName(CoreLocalVirtualFile.java:37)
at com.intellij.openapi.vfs.VirtualFile.getNameSequence(VirtualFile.java:114)
at com.intellij.openapi.vfs.VirtualFile.nameEquals(VirtualFile.java:676)
at com.intellij.openapi.vfs.VirtualFile.findChild(VirtualFile.java:306)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCliJavaFileManagerImpl.findVirtualFileGivenPackage(KotlinCliJavaFileManagerImpl.kt:213)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCliJavaFileManagerImpl.access$findVirtualFileGivenPackage(KotlinCliJavaFileManagerImpl.kt:48)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCliJavaFileManagerImpl$findClasses$1$$special$$inlined$forEachClassId$lambda$1.invoke(KotlinCliJavaFileManagerImpl.kt:164)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCliJavaFileManagerImpl$findClasses$1$$special$$inlined$forEachClassId$lambda$1.invoke(KotlinCliJavaFileManagerImpl.kt:48)
at org.jetbrains.kotlin.cli.jvm.index.JvmDependenciesIndexImpl$traverseDirectoriesInPackage$1.invoke(JvmDependenciesIndexImpl.kt:77)
at org.jetbrains.kotlin.cli.jvm.index.JvmDependenciesIndexImpl$traverseDirectoriesInPackage$1.invoke(JvmDependenciesIndexImpl.kt:32)
at org.jetbrains.kotlin.cli.jvm.index.JvmDependenciesIndexImpl.search(JvmDependenciesIndexImpl.kt:131)
at org.jetbrains.kotlin.cli.jvm.index.JvmDependenciesIndexImpl.traverseDirectoriesInPackage(JvmDependenciesIndexImpl.kt:76)
at org.jetbrains.kotlin.cli.jvm.index.JvmDependenciesIndex$DefaultImpls.traverseDirectoriesInPackage$default(JvmDependenciesIndex.kt:35)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCliJavaFileManagerImpl$findClasses$1.invoke(KotlinCliJavaFileManagerImpl.kt:162)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCliJavaFileManagerImpl$findClasses$1.invoke(KotlinCliJavaFileManagerImpl.kt:48)
at org.jetbrains.kotlin.util.PerformanceCounter.time(PerformanceCounter.kt:91)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCliJavaFileManagerImpl.findClasses(KotlinCliJavaFileManagerImpl.kt:158)
at com.intellij.psi.impl.PsiElementFinderImpl.findClasses(PsiElementFinderImpl.java:44)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClassesWithoutJvmFacade(JavaPsiFacadeImpl.java:186)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClassesWithJvmFacade(JavaPsiFacadeImpl.java:157)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClasses(JavaPsiFacadeImpl.java:149)
at com.intellij.psi.impl.file.PsiPackageImpl.getCachedClassesByName(PsiPackageImpl.java:209)
at com.intellij.psi.impl.file.PsiPackageImpl.findClassByShortName(PsiPackageImpl.java:271)
at com.intellij.psi.impl.file.PsiPackageImpl.processDeclarations(PsiPackageImpl.java:306)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processPackageDeclarations(PsiJavaFileBaseImpl.java:484)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processCurrentPackage(PsiJavaFileBaseImpl.java:398)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarationsNoGuess(PsiJavaFileBaseImpl.java:334)
at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:319)
at com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:69)
23:04:00 ninja failed with: exit status 1

#### failed to build some targets (09:12 (mm:ss)) ####


Svend Meyland Nicolaisen

unread,
May 12, 2021, 4:59:14 PM5/12/21
to Android-rpi
Your build system is out of memory. It requires around 16GB free memory.

Manikanta guntupalli

unread,
May 13, 2021, 3:14:53 AM5/13/21
to Android-rpi
Thanks for your reply. 
I have 8 GB RAM and 500+ GB free space in hard disk.

Manikanta guntupalli

unread,
May 13, 2021, 3:23:47 AM5/13/21
to Android-rpi
And with almost same configuration I have been building Android 11 on other PC. but not this ANDROID_RPI. 

Svend Meyland Nicolaisen

unread,
May 13, 2021, 8:35:40 AM5/13/21
to Android-rpi
You could try adding -j1, but it is my experience that 8GB isn't enough for this build:

make -j1 ramdisk systemimage vendorimage

Manikanta guntupalli

unread,
May 16, 2021, 1:44:49 AM5/16/21
to Android-rpi

I tried make -j1 ramdisk systemimage vendorimage , but not helped. Swap size also increased, but no use. I think 16GB RAM is must to build.

Is there any earlier Android version for RPI4, which will build with 8GB RAM ? If there please share me github details.


Thanks,
Manikanta.

Peter Yoon

unread,
May 16, 2021, 2:29:19 AM5/16/21
to Android-rpi

Ricky

unread,
May 16, 2021, 10:29:47 AM5/16/21
to Android-rpi
Hi all,

From the entry point of Peter Yoon for android-11 tv, I modified and built android-11 telephony for raspberry pi4.

I hope it will help all of you a lot.
Have fun!

Best Regards!
Giau

Vào lúc 13:29:19 UTC+7 ngày Chủ Nhật, 16 tháng 5, 2021, Peter Yoon đã viết:

Rohit Iti

unread,
May 25, 2021, 3:41:21 AM5/25/21
to andro...@googlegroups.com
Hi,

I am trying to download android 11 for RPI4 . I tried for 4 to 5 days . 
With multiple times trying to download sources . 

Everytime am getting same error as below, 

error: Unable to fully sync the tree.
error: Downloading network changes failed.
Try re-running with "-j1 --fail-fast" to exit at the first error.

Anything is missing here.
Internet speed is very good as it's in the office with good bandwidth. 

Thanks  and Regards,
  Rohit

--



--
You received this message because you are subscribed to the Google Groups "Android-rpi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-rpi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-rpi/3b61d6d2-4a9e-47f4-b4a6-0f82731d3e44n%40googlegroups.com.

Ricky

unread,
Jun 7, 2021, 6:49:55 AM6/7/21
to Android-rpi
Hi Rohit,
You should try to clean your source code before beginning to sync.
$ repo forall -c 'git reset; git checkout .; git clean -df'

After that, you can run sync command:
$ repo sync -df -jX #X is the number core of your machine.

Best regards.
Ricky

Vào lúc 14:41:21 UTC+7 ngày Thứ Ba, 25 tháng 5, 2021, rohit...@gmail.com đã viết:

Rohit Iti

unread,
Jun 7, 2021, 10:34:16 AM6/7/21
to Ricky, Android-rpi
Thank you Ricky. I will try this today .

Rohit Iti

unread,
Jun 14, 2021, 6:56:43 AM6/14/21
to Ricky, Android-rpi
Hi Team,

I was able to download android sources for Rpi from , How ever after downloading since the repo sync was successful 
i do not find .dtb files which will be usually located in below path, 
"kernel/arpi/arch/arm64/boot/dts/broadcom" 

as the build instructions mention we need bcm2711-rpi-4-b.dtb files but currently am able to list only files mentioned below
5bcm2710-rpi-2-b.dts
5bcm2710-rpi-3-b.dts
6bcm2710-rpi-3-b-plus.dts
5bcm2710-rpi-cm3.dts
5bcm2711-rpi-400.dts
5bcm2711-rpi-4-b.dts
5bcm2711-rpi-cm4.dts
7bcm2837-rpi-3-a-plus.dts
7bcm2837-rpi-3-b.dts
7bcm2837-rpi-3-b-plus.dts
7bcm2837-rpi-cm3-io3.dts
5bcm283x-rpi-csi1-2lane.dtsi -> ../../../../arm/boot/dts/bcm283x-rpi-csi1-2lane.dtsi
4bcm283x-rpi-lan7515.dtsi -> ../../../../arm/boot/dts/bcm283x-rpi-lan7515.dtsi
0Makefile
9northstar2
9stingray

do i need to build RPI kernel for *.dtb files ?

Thanks and Regards,
        Rohit

Rocky Wang

unread,
Jul 18, 2021, 9:23:31 AM7/18/21
to Android-rpi
Hi, I can build Android 11 for CM4 according to instructions, port our own network drivers etc. However, I have struggled with one issue for weeks: the console and USB can't work!  
I compare the kernel config file with OmniROM (which I can get USB and console working), nothing strange was found. Also, I have compared the rpi4.mk file. 
I have changed the config.txt in the boot section, adding dtoverlay=dwc2,dr_mode=host. 
Any clue how to solve the issue? 

Youssef BAKHKHAKH

unread,
Jun 3, 2022, 8:33:43 AM6/3/22
to Android-rpi
hello did you find a sollution for ur probleme cause im having the same issue here and still can't resolve it 

TQ tech

unread,
Mar 31, 2023, 5:02:51 AM3/31/23
to Android-rpi
Do anyone has the lineage os build with telephony service enabled for Raspberry pi 3. I want to make calls from android on Raspberry Pi through GSM module connected to it.
Reply all
Reply to author
Forward
0 new messages