Hi. I have tried this on my Pi 5 with both LineageOS 20 and 21 (ATV).Note about GApps on the Pi 5 Android TV release.
GApps are not part of release but since I'm sure this going to get asked. Unlike my LineageOS 20 releases on Raspberry Pi 4, Pi 5 releases need to register Google Services Framework Android ID for Google services to work.
As this gets slightly trickier on Android TV than with the regular tablet UI builds, I've created a TWRP flashable tool that will extract the GSFAID you need to register. Flash this in TWRP with the GApps package.
https://androidfilehost.com/?fid=11701882489785033172
Once you've attempted (and failed) to sign-in on a Google account on the Android TV setup wizard, power down the device and mount the sdcard/USB/NVME on your computer. You should find a file named 'gsf-android_id.txt' on the boot partition that contains the ID number you need to register. Once you've registered the ID, boot the Pi 5 again and sign-in on the Google account.
In the case of LineageOS 21 it went through the Google set up wizard (but complained that the Setup Wizard app is not compatible with the latest version of Android first), went through the sign-in and got the "Something went wrong" message. Powered down but did not see gsf-android_id.txt on SD card.
In the case of LineageOS 20 it did not launch the setup wizard after installing MindTheGapps, but I tried to sign into Play store instead. Same result as above, no gfs-android_id.txt file.
I followed the FAQ regarding MindTheGapps installation and flashed lineage-20.0-rpi-gsfaid after performing "Wipe Dalvik" and then Reboot System. Not sure if that is correct in this case. Is there anything I need to do to trigger the script that extracts the ID?
Statistics: Posted by mf_fantail — Thu May 09, 2024 1:49 am