21

[DEV][ROM][UNOFFICIAL] LineageOS 20 (Android 13) for Raspberry Pi 4 B

 1 year ago
source link: https://forum.xda-developers.com/t/dev-rom-unofficial-lineageos-20-android-13-for-raspberry-pi-4-b.4516545/page-6#post-88212737
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

[DEV][ROM][UNOFFICIAL] LineageOS 20 (Android 13) for Raspberry Pi 4 B

Thank you for providing this build! I'm running it on a Raspberry connected to a SWEDX SM-50K1 and without GAPPS. I have discovered two issues:

1. HDMI-CEC at first did not work, but I noticed that the TV discovered the Raspi when I was using the ARD Meditathek app. However, many buttons on the SWEDX remote don't work and do nothing. Is there a way to remap the remote buttons on the Android TV software side (similar to [Keymap Editor](https://kodi.tv/addons/matrix/script.keymap) for KODI)?

2. Many movies in the ARD Mediathek do not run and just say "The requested contents cannot be loaded at this time." This is not related to geoblocking as there is a different error text in this case. Possibly, the error happens because of DRM issues or because I haven't installed GAPPS.

elkir0

New member
Apr 25, 2020
ok is working with GApps for ATV 13 i had made a custom build with several packages. i just don't know if i can share it

Any chance that you share the package you built? I'd llike to try it

Reactions: viteliogt

viteliogt

Member
Jan 24, 2023
Yes, i can share it, let me upload the file and i will
Send you the link by direct message..

All done let me know if this works for you

Last edited: Friday at 1:40 PM

Reactions: elkir0

HackxBox

Member
Feb 25, 2012 London
Hi @KonstaT , firstly, thank you for your continuous and amazing work to bring Android to RPi!

I just got the latest (I hope) build from your website and got it running in no time on my RPi4. Even got GApps and resize patch all good. However, after following the Magisk steps - install through TWRP -> it seems it automatically did a factory reset -> set the device up again -> install Magisk apk -> when launched Magisk, I got a "your device needs additional configuration, Restart" - and after that my RPi no longer boots. I see the Lineage boot animation and when it shows the 3 circles and Linage below, the device restarts and the loop starts again.

Any help or suggestion what the issue might be will be greatly appreciated, as I can't find any reports of this issue anywhere so far.

Many thanks!
Last edited: Friday at 2:47 PM

elkir0

New member
Apr 25, 2020
All done let me know if this works for you

Waw, It works like a charm! Juste installed a few apps from google play, it works perfectly for me. Wifi is OK, can't connect my remote in BT therefore.

viteliogt

Member
Jan 24, 2023
Waw, It works like a charm! Juste installed a few apps from google play, it works perfectly for me. Wifi is OK, can't connect my remote in BT therefore.

there is a few remaining apps on the store that you need to update/install since the pack only install the basic apps try with that, i dont have a BT remote to test i use my phone as remote, the only issue that i have so far is with youtube the videos goes frozen once in a while :S i guess if for the 264 codec

Homeye

Senior Member
Nov 19, 2015
IIRC search function needs GApps.

GPIO GPS has been discussed before e.g. http://disq.us/p/2m34x04. It likely won't work as-is on recent builds due to conflict with the bluetooth interface as also discussed before.

My builds are configured as wifi only tablet so they don't have Android telephony framework or drivers to support any modem hardware. I doubt there's Android RIL drivers available for that hardware in any case.

Yeah, I don't expect this to be any different on any Android 13 build. Raspberry Pi hardware specific implementation is the same on both AOSP and LineageOS builds.

I assume you mean the Android TV version.
1. Settings -> Remotes and accessories
2. I can reproduce this but not entirely sure if this feature even works in the first place.
3. Notifications seems to stay enabled with the one app I have installed so can't reproduce this.
4. Should be possible with Magisk but I haven't really followed how to do this these days. Maybe you'll find something in Magisk's own support topic. You can also look into ih8sn.
5. Android TV builds don't seem to have this option in developer options.

There shouldn't be any reason to increase the gpu_mem in the first place, the smaller the better (https://www.raspberrypi.com/documentation/computers/config_txt.html#gpu_mem).

So i checked and i can turn on the notification slide on some apps, but not all. Not a big issue. But the strange thing is, that after i started to install some apps and updates, the built-in Files app disappeared from the right side app vault and the option to pin it in the favourites too. I can open it from the settings but it's not convinient. Tried to uninstall some apps and updates, but still not showing.

KonstaT

Senior Member
Jan 20, 2016 KonstaKANG.com
Thank you for providing this build! I'm running it on a Raspberry connected to a SWEDX SM-50K1 and without GAPPS. I have discovered two issues:

1. HDMI-CEC at first did not work, but I noticed that the TV discovered the Raspi when I was using the ARD Meditathek app. However, many buttons on the SWEDX remote don't work and do nothing. Is there a way to remap the remote buttons on the Android TV software side (similar to [Keymap Editor](https://kodi.tv/addons/matrix/script.keymap) for KODI)?

2. Many movies in the ARD Mediathek do not run and just say "The requested contents cannot be loaded at this time." This is not related to geoblocking as there is a different error text in this case. Possibly, the error happens because of DRM issues or because I haven't installed GAPPS.

1. You can create a custom .kl file for any input device (https://source.android.com/docs/core/interaction/input/key-layout-files).

2. Could be either, impossible to say without seeing any logs (logcat?).

Hi @KonstaT , firstly, thank you for your continuous and amazing work to bring Android to RPi!

I just got the latest (I hope) build from your website and got it running in no time on my RPi4. Even got GApps and resize patch all good. However, after following the Magisk steps - install through TWRP -> it seems it automatically did a factory reset -> set the device up again -> install Magisk apk -> when launched Magisk, I got a "your device needs additional configuration, Restart" - and after that my RPi no longer boots. I see the Lineage boot animation and when it shows the 3 circles and Linage below, the device restarts and the loop starts again.

Any help or suggestion what the issue might be will be greatly appreciated, as I can't find any reports of this issue anywhere so far.

Many thanks!

Yeah, that's normal that Magisk prompts a reboot but I haven't heard anyone else having any issues. Impossible to say what went wrong without seeing any logs (logcat?).

there is a few remaining apps on the store that you need to update/install since the pack only install the basic apps try with that, i dont have a BT remote to test i use my phone as remote, the only issue that i have so far is with youtube the videos goes frozen once in a while :S i guess if for the 264 codec

YouTube has mostly switched to using VP9/AV1 these days for which Raspberry Pi has no hardware codecs in any case. Some third party YouTube apps e.g. SkyTube have option to use legacy formats so you can use this to test H.264 hardware decoding as well.

So i checked and i can turn on the notification slide on some apps, but not all. Not a big issue. But the strange thing is, that after i started to install some apps and updates, the built-in Files app disappeared from the right side app vault and the option to pin it in the favourites too. I can open it from the settings but it's not convinient. Tried to uninstall some apps and updates, but still not showing.

Some GApps packages replace the default launcher with Google's Android TV launcher. This only displays native Android TV (i.e. leanback UI) apps in the app tray.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK