-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RPi5] PINN Will Not Load AOSP14 Recovery Enviornment #773
Comments
Apologies, I hadn't tested this feature, assuming it was the same as AOSP13. |
I just freshly installed AOSP14 on my RPI5 and I was able to boot into the TWRP recovery program just by following the instructions in Konsta's FAQ. |
So I tested it out a little more. Here are my findings: It boots every OS I have installed, loaded, and displays out normally, but has no video output when I try to get into TWRP. I am able to boot android initially, but when I toggle the reboot to recovery in the settings and reboot, I get no signal. Reproducible with 2 monitors. With and without my HDMI switch. I also tried to install android directly onto a USB stick and boot it, but it just boot loops. I wonder if maybe there's just something wrong with the USB booting AOSP14/TWRP rather than on your standard micro SD card. |
If you are installing AOSP to USB, you need to change the dtoverlay to android-usb as detailed in Konsta's FAQ. |
Ok, I missed that part my apologies. So I did that on my USB standalone stick and it works as intended. But doing the same thing on the config.txt within the android partition on my PINN drive causes it to bootloop like it did on my stand-alone USB before I set up the config.txt as intended. |
Sorry, I'm getting lost. |
So, the standalone external USB is functional with no issues with the usb dtoverlay. On my drive with PINN, I edited the config to include the usb dtoverlay. That resulted in a bootloop, Revert that change and reboot AOSP from PINN and it boots normally to AOSP. After that I went into settings, clicked the toggle to reboot to recovery, rebooted to attempt to load TWRP through PINN and I get no signal out. Sorry for the confusion, hopefully that makes sense. |
So, I need to check installing AOSP wuth PINN on USB and check twrp recovery.... ok |
Well, I tested installing AOSP14 on the RPi5 using PINN on an SD card that was plugged into the USB using a USB card reader. Installing to USB reminded me that AOSP cannot use UUID partition references, hence the warning messages at the start that it will be installed to /dev/sda and that should remain constant. It means that if you have any other USB drives connected at boot up, their device names may get switched around causing AOSP not to boot. So always boot with just one USB drive connected and add any others once booted to avoid this issue. Other than that, I don't know why you only get a black screen when trying to load TWRP from USB. |
That is very weird. I have tried reinstalling PINN and just AOSP and trying to reboot to recovery with only the drive connected and I still get no signal out. I don't know if this makes any difference, but I am using a SanDisk Extreme External SSD instead of a USB drive for PINN and AOSP. I am using the official Pi 5 PSU, so power I don't think is a concern. I am also able to boot android normally, Raspbian, and Ubuntu 23.10 with no issues with the drive. |
The differences are expected and are due to PINN modifying the *.img files to be suitable for multi-boot. |
Sure thing. Here are all the img files from my drive. |
Other Boot Files.zip |
I had a quick look at your img files and they seem to be in order, so I', a bit stumped why your TWRP recovery will not display. |
Hmmmmm, maybe I can send an image file of my entire drive in its current state. I was able to successfully create images using macrium reflect and clonezilla if either of those would work. |
If you can create an .img file of your SD card (that I can flash with Rpi Imager or |
https://drive.google.com/file/d/1OoEgAbGPS5o39Zv5mG0zSb39L3JBss8d/view?usp=sharing Made this using DD after shrinking a few partitions. Hopefully it works. |
I have downloaded and installed your img. However, it had problems rebooting back out of twrp into android, complaining about a /data partition, so when it rebooted it went straight back into TWRP. |
i am facing the same kind of issue with LineageOS 21 Android TV (Android 14) on Raspberry PI4 it looping to TWRP recovery mode. even after disabling GPIO21 port on config.txt recommended by konstakang.com but no luck |
I just tried this on a Pi400, but had no issues at all. I could reboot to recovery and then reboot back to system. |
can you please share me your config.txt file and if i have installed standalone LineageOS 21 Android TV (Android 14) on SD card without PINN is there way to convert that as PINN OS supported image and replacing with other existing OSes from boot menu |
I was having the same error and changing the monitor (in my case tv) worked. |
So, I recently found this project and followed the instructions for updating my eeprom and the beta version of PINN, and I loaded up a few OS's (Ubuntu, Raspbian, and AOSP 14). All loaded up just fine, but when I toggled the switch to reboot recovery for AOSP such that I can install Magisk, Widevine, and GAPPS, it just refuses to load anything and just loads a black screen. I tried reinstalling and the fix options present in PINN, but no dice. Just wondering if there is anything I can do to get TWRP to load using PINN, or if there is an issue preventing it from happening.
Here is a picture of what the boot partition looks like for the android OS.
The text was updated successfully, but these errors were encountered: