android-rpi / device_arpi_rpi4

Device build-config for Raspberry Pi 4
221 stars 93 forks source link

Continous reboot occurs after flashing Android 12 #97

Open mse6cob opened 2 years ago

mse6cob commented 2 years ago

@peyo-hd :

I have followed the steps mentioned in the below link. Build is successful(Ramdisk, system and vendor image is getting generated)

https://github.com/android-rpi/local_manifests

But I got the below error while building the kernel with arpi-5.10.

$ build/build.sh build/build.sh: line 424: nproc: command not found build/build.sh: line 425: readlink: command not found build/build.sh: line 426: readlink: command not found build/build.sh: line 427: readlink: command not found build/build.sh: line 472: rm: command not found

Because of that, I followed the below commands for building the kernel arpi-5.10.

$ cd common $ ARCH=arm64 scripts/kconfig/merge_config.sh arch/arm64/configs/bcm2711_defconfig kernel/configs/android-base.config kernel/configs/android-recommended.config kernel/configs/android-recommended-arm64.config kernel/configs/android-base-conditional.config $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make Image.gz $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- DTC_FLAGS="-@" make broadcom/bcm2711-rpi-4-b.dtb $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- DTC_FLAGS="-@" make overlays/vc4-kms-v3d-pi4.dtbo $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- DTC_FLAGS="-@" make broadcom/bcm2711-rpi-400.dtb

Build was successful and created the partition in USB instead of SD-Card as mentioned in the below link.

https://github.com/android-rpi/device_arpi_rpi4

Raspberry Pi goes into continuous reboot.

Boot partition files:

Kindly let me know how to get android12 running in Pi board or if I have skipped any steps.

Note: I have already tried with android-11 via USB and it was working in raspberry pi.

Thanks