Closed skand24 closed 4 years ago
What exactly happens when you try to boot?
I have RPI4 2GB Ram , Its compiled successfully but I have tried to flash , (the flash method is written in above link to my 16GB of SDCARD ), but after when i put into for boot its not booting up . I have tried to seen watch lsusb but there also no signal came. Apart from this any other flashing method is there.
There's no other flashing method, and another person in my discordserver says it works, so I think maybe you did something wrong while flashing. Maybe it helps to re-download everything, and it was just a download error? Also the partitions have to be in the right order, maybe you had the wrong order?
Hi ,
Can you please check the attached sh file (mkimage.txt) . I am following the same steps or some more is required .
It seems right to me. Can you please tell me the content of your boot parition and of config.txt and cmdlin.txt on this partition? Just to make sure everything was copied right
Ok . Please check the attached files . Boot Partition Contains : zImage, fixup4.dat, Makefile, star4.elf & all dts /dtsi file
Also I have attached the screenshot of raspeeripi with cmdline & config.txt
Everything seems right to me. Please try to directly flash boot, system.img, vendor.img and userdata onto the sd instead of creating an img file
Hi Team , First Thank you , I can able to boot & able to see the Launcher . Only two apps are there System Tracing & Setting. I seen few problems and need your guidance.
Initial boot was very slow System is very slow and when click on particular menu it takes almost 5 second to open.
I'm using 2 GB/16 GB
Not sure only I'm facing this issue or you guys also?
After some time it go to android animation screen(boot screen). And it continue to be restarting again. For Partition (Please check ):
And also , I cant able to use adb its not working.
Does it create any problem if we allocate memory 1GB for system, vendor, boot? Because the slowness and continue reboot we're seeing.
That doesn't cause any problem. The slowness is because of the use of an sd card. Do you any external USB drive? If yes, try to install every partition, except boot, on your sd card in a build with this as fstab.rpi4:
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/sda2 /system ext4 ro,barrier=1 wait,first_stage_mount
/dev/block/sda3 /vendor ext4 ro,barrier=1 wait,first_stage_mount
/dev/block/sda4 /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait
I'm not sure if this works, but you could give it a try. If you want a webbrowser, add PRODUCT_PACKAGES += Browser2
to rpi4.mk other possible packages are (do the same, but change Browser2
to the name of the app. Possible other values are for example: Email
, Gallery2
)
Boot can not be on the usb because RPi4 doesn't support usb boot yet.
The 2 in the name of the apps is not an alternate version, it is the latest version. You cannot remove the2, it would be an older app which is not downloaded when you download android 10 source
.
Hi I tried multiple times using USB drive but it booted but not loaded the android. And is this a user build because I cant able to use ADB . Kindly help me.
Hav you applied the changes above? (fstab.rpi4)
Yes and added system.img/vendor img on /dev/sdb1 /dev/sdb2 . But still it didnt worked
My fault, sorry, try to rebuild with
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/sda1 /system ext4 ro,barrier=1 wait,first_stage_mount
/dev/block/sda2 /vendor ext4 ro,barrier=1 wait,first_stage_mount
/dev/block/sda3 /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait
or create an empty partition 1 on the usb, system.img on 2 and vendor.img on3, userdata on 4
Hi,
/dev/mmcblkp0 /boot 128M
and remaining is unallocated
/dev/sdb1 is empty/unallocated
/dev/block/sdb2 /system ext4 ro,barrier=1 wait,first_stage_mount
/dev/block/sdb3 /vendor ext4 ro,barrier=1 wait,first_stage_mount
/dev/block/sdb4 /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait
Can you please tell me this is right configuration. I have tried multiple times but the same issue again again (its booting but android logo is not coming and before it only it restart again).
Please, there is any other chnages I have to do adb because that is also not working.
Kindly help me .
Then try to go back to sd boot, but try to rebuild it with the latest changes, mybe they were missing in your previus build, after that, try to run adb shell
and then
dd if=/dev/zero of=/system/swapfile0 bs=1024 count=65536
mkswap /system/swapfile0
swapon /system/swapfile0
This adds a swap file, so you have more RAM available as swapfile. Please tell me if your system still stays slow after these changes
For adb shell , adb access should be there . But adb devices is not showing any device
Please try to rebuild with PRODUCT_PACKAGES += Terminal
in rpi4.mk. Now you should have a Terminal installed on the pi where you can run these commands
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.
Can u send me the image?
On Sun, 17 May, 2020, 1:08 pm souvikdatta, notifications@github.com wrote:
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.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/android-rpi/device_arpi_rpi4/issues/3#issuecomment-629756876, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5J5RO7LTYU46APGL5SQRTRR6IABANCNFSM4ML4AGDA .
Sorry, which Image are you asking?
Make image (.iso) of ur card
On Sun, 17 May, 2020, 1:15 pm souvikdatta, notifications@github.com wrote:
Sorry, which Image are you asking?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/android-rpi/device_arpi_rpi4/issues/3#issuecomment-629757522, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5J5RPFZQBI7NRWQZINYU3RR6IZDANCNFSM4ML4AGDA .
Well I have not created any iso image - I followed the instruction as mentioned below :-1: # Prepare sd card Partitions of the card should be set-up like followings. p1 128MB for boot : Do fdisk, set W95 FAT32(LBA) & Bootable type, mkfs.vfat p2 768MB for /system : Do fdisk, new primary partition p3 128MB for /vendor : Do fdisk, new primary partition p4 remainings for /data : Do fdisk, mkfs.ext4 Set volume label of /data partition as userdata : use -L option for mkfs.ext4, and -n option for mkfs.vfat
$ cd out/target/product/rpi4
$ sudo dd if=system.img of=/dev/
device/arpi/rpi4/boot/* to p1:/ kernel/arpi/arch/arm/boot/zImage to p1:/ kernel/arpi/arch/arm/boot/dts/bcm2711-rpi-4-b.dtb to p1:/ kernel/arpi/arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4.dtbo to p1:/overlays/vc4-kms-v3d-pi4.dtbo out/target/product/rpi4/ramdisk.img to p1:/
Thats what i am saying just create a image of ur sd card and send it to me
On Sun, 17 May, 2020, 1:20 pm souvikdatta, notifications@github.com wrote:
Well I have not created any iso image - I followed the instruction as mentioned below 👎 # Prepare sd card Partitions of the card should be set-up like followings. p1 128MB for boot : Do fdisk, set W95 FAT32(LBA) & Bootable type, mkfs.vfat p2 768MB for /system : Do fdisk, new primary partition p3 128MB for /vendor : Do fdisk, new primary partition p4 remainings for /data : Do fdisk, mkfs.ext4 Set volume label of /data partition as userdata : use -L option for mkfs.ext4, and -n option for mkfs.vfat Write system & vendor partition
$ cd out/target/product/rpi4 $ sudo dd if=system.img of=/dev/ bs=1M $ sudo dd if=vendor.img of=/dev/ bs=1M Copy kernel & ramdisk to BOOT partition
device/arpi/rpi4/boot/* to p1:/ kernel/arpi/arch/arm/boot/zImage to p1:/ kernel/arpi/arch/arm/boot/dts/bcm2711-rpi-4-b.dtb to p1:/ kernel/arpi/arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4.dtbo to p1:/overlays/vc4-kms-v3d-pi4.dtbo out/target/product/rpi4/ramdisk.img to p1:/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/android-rpi/device_arpi_rpi4/issues/3#issuecomment-629758027, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5J5RNDMHQTQ5ZIUM7U3MTRR6JNPANCNFSM4ML4AGDA .
Well, my card is 32 GB in size and that would take ages for me to share. Are you able to boot your built images successfully on RPI4?
The boot animation seems broken, try to add
PRODUCT_PROPERTY_OVERRIDES += debug.sf.nobootanimation=1
to rpi4.mk to remove it completely, I also experienced the same issue. I'll soon provide a prebuilt with some minor improvements, there is still one major bug, but as soon as that bug is fixed (the bug probably isn't in this repo), the rebuilt image will be available. I think I fixed the navbar, but I'm not sure yet.
hi souvikdatta
I have seen the same problem. After boot, system faced so many crash error. That's why system reset many time. To know the cause, you have to adb connect and see realtime log. First, tried to set static IP address for rpi, same IP range with your computer. Then using below cmd: adb connect your_IP_of_rpi4:5555
Any idea? thanks a lot!!!
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 .