yashsingh1/xdaforums huggingface dataset:
[Raspberry Pi Original Development] KonstaT:
New build. A lot of new stuff in this one!

https://konstakang.com/devices/rpi4/LineageOS17.1/

initial device settings for various Raspberry Pi specific options (Settings -> System -> Advanced settings)

audio device option (HDMI/3.5mm jack/audio DAC)

display options (graphics drivers, display resolution, display rotation)

options for IR remote, hardware keys, and RTC

fix wrong color format used in some games (thanks to Roman Stratiienko)

simplify booting to/out of TWRP recovery (see FAQ)

improve support for booting from USB devices (see FAQ, thanks to maxwen)

improve support for RTC & IR remotes (see FAQ)

add more options for rotating touch input on Waveshare SPI (ADS7846) touchscreens (thanks to mikenon)

allow switching display off with power button

map right mouse button to back key

initial support for Pi Compute Module 4 & Pi 400 (untested)

update to TWRP 3.4.0-1

update to Mesa 20.2.2 and latest upstream version of drm_hwcomposer

update to Linux 5.4.75 kernel and patch known vulnerabilities (CVE-xxxx-xxxx, and more)

Android security patch level: 5 November 2020 (merged)
[Raspberry Pi Original Development] KonstaT:
New Android TV build.

https://konstakang.com/devices/rpi4/LineageOS17.1-ATV/

fix official remote control app

include files app

fix wrong color format used in some games (thanks to Roman Stratiienko)

simplify booting to/out of TWRP recovery (see FAQ)

improve support for booting from USB devices (see FAQ, thanks to maxwen)

improve support for RTC & IR remotes (see FAQ)

allow switching display off with power button

initial support for Pi Compute Module 4 & Pi 400 (untested)

update to TWRP 3.4.0-1

update to Mesa 20.2.2 and latest upstream version of drm_hwcomposer

update to Linux 5.4.75 kernel and patch known vulnerabilities (CVE-xxxx-xxxx, and more)

Android security patch level: 5 November 2020 (merged)
[Raspberry Pi Original Development] Leandro.freitas:
usb hdd suport

I cant get USB hdd to be found with Kodi psp emulator,retroarch it shows on the file manager buildin from Android.

When i use terminal and do df -h its not showing mounted neither.

There also now support for HBR audio libreelec maybe you can add this also if its possible?

forum.libreelec.tv/thread/22302-rpi4-testbuild-with-hd-audio-passtrhough-atmos-etc

Thank you in advance.
[Raspberry Pi Original Development] KonstaT:
'df' doesn't show the USB storage but you can see it using 'mount'.

There's no plans for HD audio support.
[Raspberry Pi Original Development] ottomueller:
Do you have found a solution?. I have the same problem.
[Raspberry Pi Original Development] KonstaT:
You found that but not the reply?

You're most welcome to provide more information that could help to resolve this issue in future builds. I've never been able to reproduce this and I'm even yet to see a logcat.
[Raspberry Pi Original Development] duff91:
so i tried to reboot the Tv version to the recovery, trough the advanced power menu, but is not booting in the recovery but stucked on the rainbow, any suggestions?
[Raspberry Pi Original Development] KonstaT:
Please read the FAQ. You need to use the primary HDMI port (HDMI0) on your Pi 4.
[Raspberry Pi Original Development] KonstaT:
No, just read the FAQ and follow the instructions there. You have installed pico gapps package with the Android TV build. That's not going to work of course and not the other way around either.

Android TV -> use tvstock gapps

Regular Android -> use pico gapps
[Raspberry Pi Original Development] duff91:
thx mate, so i resize manually and after i flash you file, correct?
[Raspberry Pi Original Development] KonstaT:
I think this is also in the FAQ. If you want to resize data partition you only need to flash the zip in TWRP.

I'll improve the FAQ to make this a bit more clear.
[Raspberry Pi Original Development] duff91:
yep because is not properly clear
[Raspberry Pi Original Development] KonstaT:
It was logically perfectly clear. You were given two alternative options with an or in the between. It has just became apparent reading the FAQ is difficult for some people. :P

I just changed flashing the zip to be the preferred option. Better?
[Raspberry Pi Original Development] duff91:
I don't know if someone asked already? But a 4k signal trough the hdmi?
[Raspberry Pi Original Development] KonstaT:
4k does not currently work with the KMS driver used for hw accelerated graphics in this build. You're welcome to experiment of course and it's really easy to try different resolutions using /boot/resolution.txt.

This has been previously discussed from https://www.raspberrypi.org/forums/viewtopic.php?f=73&t=281187&start=125#p1744131 forward.
[Raspberry Pi Original Development] duff91:
Anyway thx so much for your work, I can finally play xbox game pass and stadia on the pi with a PlayStation controller... Next step would be the 4k..but for the moment I'm happy.. Thx

P. S. The 4k it was only for stadia
[Raspberry Pi Original Development] wd4sgu:
Never mind, it's the F5 key!

[Hello. I've installed the September 8 build and so far it's moving along well. However, I can't find the Android Power Menu so that I can change the boot to recovery. Where is it located?

Thanks for your hard work and any help you can give me on this.]
[Raspberry Pi Original Development] KonstaT:
Feature to boot to TWRP through power menu was just added in the latest release and you should really always use the latest builds (there was no release in September so you probably meant November?). Instructions in the FAQ represent the current state of things.
[Raspberry Pi Original Development] wd4sgu:
Of course, yes. I was so excited I got my months mixed up. Anyway once I found it I was able to install GApps and get some applications from the Play store, which is the whole reason I bought this thing.

1) Wyze Cam app

2) Ring doorbell/security app

3) myQ Chamberlain app

4) Tasker, Notification Listener plugin, and Join

5) TinyCam Monitor Pro

Wyze, Ring, and myQ notifications are all monitored with Notification Listener and parsed by Tasker.

It branches to the appropriate subroutine based on notification content and sends me a text and/or Join spoken message to let me know what's going on. This saves me a lot of battery and data consumption. If necessary, I can then check the cameras using the phone apps.

Meanwhile, TinyCam records everything so I can review events as needed, or access its remote server to view them.

All this because you developed an actual working version of Android 10 for my Pi4!

Thanks again for everything.
[Raspberry Pi Original Development] wd4sgu:
No sound output?

Greetings!

Everything is working well except for audio output. I've followed the path Settings -> System -> Advanced -> Advanced settings -> Audio device and selected HDMI then restarted, but still no sound. I followed the same path and selected 3.5mm jack, still no sound output. I've tested the audio cable, the speakers are working.

Am I missing something obvious?

Thanks.
[Raspberry Pi Original Development] KonstaT:
I broke the audio device option with my last minute code clean up just before the release. Will be fixed if/when there's another release (or there's also a working apk included in the latest Android TV release if you're in a hurry). HDMI audio is used by default and it should work without doing anything.

Meanwhile you can switch audio devices by running the script like it says in the FAQ. Also make sure that you are using the primary HDMI port (HDMI0) on your Pi 4.
[Raspberry Pi Original Development] CaptainGoodware:
Hi, just going to say this first: great work.

Is there any way to change the pinout for the power button from GPIO 20/21 to GPIO 5/6? I want to change it so that the pi can wake up and shutdown with the same button.
[Raspberry Pi Original Development] KonstaT:
You can check /boot/config.txt and see how this is implemented and use which ever GPIO pin you want. DIY power button works just like a power button on any Android device - short press to switch display on/off, long press to invoke power menu.

There's no support for booting the Pi from power off no matter which GPIO pin you'd use.
[Raspberry Pi Original Development] wd4sgu:
Ah yes, I didn't realize that the switch was broken. I ran the script for the jack and all is well now. I'm watching some videos on YouTube as a test.

Thanks!
[Raspberry Pi Original Development] RaghavTeck:
I bought a new raspberry Pi , a new SD card , new power cord. It was booting and it suddenly rebooted at the Lineage animation , and showed that sdcard corrupted, can't even format the SD card now. Completely corrupted. Idk how to fix I have tried everything I can
[Raspberry Pi Original Development] Matt1103matt:
Hi Konsta,

My posts "strangely" kept disappearing from your site. Prehaps XDA won't randomly delete legitimate comments.

Great new build, it is very intuitive and easy to setup.

The Waveshare Screen (registers as Fondar 0483 5750) still does not work.

Max said this "I can say that much that the problem is that the screen is reporting capabilities that it does not deliver which is a manufacturer flaw. And seems everyone but android is ignoring or working around that already."

Hopefully you can fix on Lineage also.

Cheers

Matt
[Raspberry Pi Original Development] KonstaT:
I didn't see there being any issue with your comments coming through. There were four similar comments from you. I removed three of them as duplicates this morning and left only one.

I see maxwen has pushed the fix to his github/omni gerrit so I'll include it if/when there's another release.
[Raspberry Pi Original Development] Matt1103matt:
Thanks, the subsequent comments were as a result of the original appearing to be deleted prehaps an error with the message board. Apologies if it came across otherwise.

Both OS's have their merits IMO but for my target goal yours supports APK's that android 11 doesn't which are important to my build. That is why I am so keen to get it working. ?
[Raspberry Pi Original Development] ivan1700:
Hello,

Im trying to install this ROM on my Raspberry Pi 4B, but when im trying to launch itm the rasp starts to reboot.

The ROM is on a externar HDD connected on the USB 3.0 port.

Any idea?
[Raspberry Pi Original Development] skoar:
I'm facing the same issue. I've installed it on an 8gb 3.0 usbdrive. It boots and goes till the los startup screen. When I finish setting it up and click on done then it reboots instead of going to the home screen
[Raspberry Pi Original Development] ivan1700:
In my case i cant reach the setting up. Only shows the "raspberry BIOS"
[Raspberry Pi Original Development] tb2668:
So I'm about to implement the Pi4 with this ROM in my car. It'ss working really good! Especially the last update helped a lot.

Just one more question: Is there a way to hide the navigation car? Thanks!

---------- Post added at 10:18 PM ---------- Previous post was at 10:01 PM ----------

Booting from powered off state using GPIO3 is working for me. :confused:
[Raspberry Pi Original Development] KonstaT:
Have you followed the FAQ on how to switch to booting from USB?

This is could be the same issue that's been discussed in https://github.com/lineage-rpi/android_kernel_brcm_rpi/issues/6 but impossible to say without seeing any logs.

Navigation car = navigation bar?

LineageOS used to have an extended desktop feature but it's been dropped from 17.1 (https://www.reddit.com/r/LineageOS/comments/g5rh7y/is_expanded_desktop_still_available_on_los_171/). Apparently there's apps for it and probably some other ways to enable it as well. Apps can request full screen mode at least.

Mind sharing your steps how to boot this using GPIO3?
[Raspberry Pi Original Development] tb2668:
Yes, bar. Sorry.

I just connected GPIO3 to GND with a button in between. When the Pi is turned off, you just need to push the button and the Pi will boot.

Nothing else to do for the boot button.

I also changed you shutdown script to use GPIO3. So if you connect GPIO3 for example to the ignition of a car using a relay (there are of course some more steps in between), it will boot when the car is turned on and shutdown when the car is turned off.
[Raspberry Pi Original Development] KonstaT:
Cool, I was under the impression this had something to do with gpio-shutdown driver and it was implemented in the OS. Apparently it's a bootcode/firmware level thing then.
[Raspberry Pi Original Development] samratsahasammy:
#ISSUE - Reboots at Bluetooth Remote Search screen.

[MENTION=7223862]KonstaT[/MENTION]

Hello, I have a Raspberry Pi 4 Model B 2GB. Trying to install Lineage OS 17.1 Android TV but unfortunately, the raspberry pi restarts after the boot process, particularly at the searching for Bluetooth remote screen.

I had Tried with multiple SD Card, with multiple OS (Windows & Mac OS), with separate lineage os file downloaded, But Same issue. Package downloaded correctly Hash Matched. Even with Lineage OS 16.0 same issue.

But Raspberry Pi OS is working fine.

Please help, unable to find any solutions online.
[Raspberry Pi Original Development] samratsahasammy:
Followed the instruction, It's fixed :highfive: Thanks for the help :D

You can disable wifi by adding dtoverlay=disable-wifi to /boot/config.txt.

Is there any way that I can add my non-nexus Bluetooth tv remote for control? Specifically MI TV Remote.
[Raspberry Pi Original Development] stibuz95:
The rom works pretty well now that official android remote control app. Great Work!

I wanna suggest 2 app very usefull:

1. Terminal shortcut very usefull to write 1 time only all terminal scripts.

2. Tv app Repo to show sideloaded apps into the stock launcher.
[Raspberry Pi Original Development] KonstaT:
Why not? Use Settings -> Remotes & Accessories to pair.

The official remote app works great including voice commands so I'd probably recommend using that.

1. There's really no need for a "normal user" to run any scripts with the latest build anymore. Booting into/out of TWRP is handled from system menus.

2. Not quite sure what you mean with this. Which "stock launcher"? One before or after installing gapps? I think the gapps Android TV launcher only displays icons for actual Android TV compatible apps. Edit. Apparently Tv App Repo is an app. No, there's no need to include third party apps you can install yourself.
[Raspberry Pi Original Development] stibuz95:
Yeah, the first one thing is to run scripts to switch from HDMI to JACK, i use your Rom sometimes with an HDMI tv, sometimes with a HDMI->DVI adapter, so i need to use audio from jack (or now the rom self understand what device to use?

The second thing is to put on google launcher (yes ive installed gapps) all not officially compatible sideloaded apps.

Mine suggestions wasn't intended to add these apps on your rom sure, only to give some useful tips to automate some little things :)
[Raspberry Pi Original Development] KonstaT:
With the regular Android build you can do things like this from the new device settings menu (Settings -> System -> Advanced settings) without running any scripts. Android TV doesn't have hooks for the device settings apps but I'll look into if it can be launched from the setting somehow (manually with 'am start -n org.lineageos.settings.device/.RaspberryPreferenceActivity' works at least). It doesn't have an Android TV friendly UI and I'm really not interested in making a Leanback version. I don't think average user need to switch between audio devices that often either (most likely you only do it once).

Tv App Repo is an app. I tested it and didn't manage to get it to do anything useful. It's been last updated in 2017. There's no point to include third party apps you can just install yourself.
[Raspberry Pi Original Development] KonstaT:
New Android TV build.

https://konstakang.com/devices/rpi4/LineageOS17.1-ATV/

-initial device settings for various Raspberry Pi specific options (Settings -> Device Preferences -> Raspberry Pi settings)

---audio device option (HDMI/3.5mm jack/audio DAC)

---display options (graphics drivers, display resolution, display rotation)

---options for IR remote, hardware keys, CPU overclock, SSH, and RTC

-fix wifi & bluetooth on Pi 400, should be fully functional now (Compute Module 4 support still untested)

-support using HDMI:1 (fix HDMI audio in Android & fix display in TWRP)

-fix touch input on Fondar USB touchscreen (thanks to maxwen)

-update to Linux 5.4.77 kernel and patch known vulnerabilities (CVE-xxxx-xxxx, and more)
[Raspberry Pi Original Development] KonstaT:
New build. This has been now tested by quite a few people and it should be fully functional on Pi 400 as well.

https://konstakang.com/devices/rpi4/LineageOS17.1/

-device settings improvements

---fix audio device option

---add CPU overclock option (make sure to take care of cooling if you decide to overclock!)

---add SSH option and improve support for built-in SSH server (see FAQ)

-fix wifi & bluetooth on Pi 400, should be fully functional now (Compute Module 4 support still untested)

-support using HDMI:1 (fix HDMI audio in Android & fix display in TWRP)

-fix touch input on Fondar USB touchscreen (thanks to maxwen)

-update to Linux 5.4.77 kernel and patch known vulnerabilities (CVE-xxxx-xxxx, and more)
[Raspberry Pi Original Development] freddy0000:
Just update to the latest version as I was on one of the earlier ones. Everthing feels better but how do I get things like live wallpapers to work. They did only the earlier version I was on but all I get is either a black screen or a message saying this video can not play
[Raspberry Pi Original Development] KonstaT:
Things are going pretty smoothly if something like live wallpapers is the main concern. :P

What was the previous build you were using? Logcat?
[Raspberry Pi Original Development] freddy0000:
Am not complaining and infact think it runs so much better it's. I was asking because I have it setup in my kitchen on a touchscreen display for everyone to use and the live wallpaper looked better. Sorry I can't remember which version it was on as it as been on it for a while
[Raspberry Pi Original Development] Linhx:
Thank you for your great work. Everything is working well, except the HDMI-audio when using bluetooth. Like in the the previous versions the audio is stuttering, no matter which bluetooth-device I use. Sometimes also the normal audio-output begins stuttering after a while. When I turn on bluetooth in that cases the stuttering in bluetooth-headset is gone. Weird behaviour! Do you have an idea how to fix that?
[Raspberry Pi Original Development] 福山雅治:
Thank you for your great work!

The extensibility of being able to attach various accessories, such as an earphone jack, I find great appeal.
[Raspberry Pi Original Development] KonstaT:
I didn't take it as a complaint (more of a compliment really ;)). There's just been a lot bigger issues to deal with to get where we are with Android on Raspberry Pi today.

Was it even a LineageOS 17.1 build? LineageOS 16.0 still used different graphics drivers (see FAQ on how to switch to SwiftShader on LineageOS 17.1).

There's been several issue reports of bluetooth audio stuttering after installing gapps. I don't think anyone has mentioned that it's HDMI audio that's stuttering! I have though that it's an issue with bluetooth audio and wondered why I haven't been able to reproduce it with my bluetooth speaker/headset. Though, I think some of them do actually mean bluetooth audio.

Either way, I don't think I've seen any proper logs yet (logcat?).
[Raspberry Pi Original Development] KonstaT:
https://twitter.com/KonstaKANG/status/1330067528144592898
[Raspberry Pi Original Development] Trey n:
Would it be possible to make a USB ir remote receiver work with android tv? A build of Android tv x86 works on an older Dell latitude e5420, maybe if I find the keymap file on android x86 and copy it to the pie it'll work? Since they are both Linux based (libreelec on the pi works with the remote as well as hdmi cec) it's an old remote from the windows xp media center edition back in 2005. Thx! And it's working great Netflix, Hulu and Amazon prime video works as well as other apps
[Raspberry Pi Original Development] freddy0000:
:good:

Think I'll leave it as it is mate, it's running great as it is and knowing my luck I'll change somthing and blow the whole street up. Everyone can just live with a still image....:laugh:
[Raspberry Pi Original Development] Trey n:
Also I noticed the recent apps is broke u can't close the running apps on the android tv latest build
[Raspberry Pi Original Development] KonstaT:
Not sure what you mean with USB IR remote receiver here. Why not just simply give it try? Depends on what type of device it appears as ('dmesg' pluggin it in?). I'm not supporting LIRC here (gpio-ir driver is used for GPIO IR receiver instead).

I have an USB air mouse/remote/keyboard/whatever combo that AFAICT uses IR between the remote and receiver and it works just fine.

It's not broken. Android TV simply doesn't have a recent apps view. It's a dumbed down version of Android. For some reason the LineageOS 16.0 version still has it but this has been the case for regular Android TV devices for many Android versions.

You can close individual apps from the settings menu. There's also a development setting option not to keep activities which closes apps as you exit them.
[Raspberry Pi Original Development] SteveMinguel:
Bluetooth A2DP sink / HSP

Hi,

Brilliant work. I am looking to make a car system with this, for which i would need a headset / a2dp sink bluetooth set up. Is this possible?

Cheers,

Steve
[Raspberry Pi Original Development] Trey n:
i just came across a flirc usb ir receiver which allows you to control a computer or media device in this case the pi with a remote control. you plug it in the pc and program the remote control keys from the remote which it receives. When Flirc receives Infrared (IR) signals from a remote control (e.g. a TV remote control) it then sends a keypress (as if it were a USB keyboard and you were pressing a key). so that will defiantly work! only 20 on amazon :D
[Raspberry Pi Original Development] KonstaT:
Not out-of-the-box at least. I would need to compile the bluetooth app with some additional features enabled (https://github.com/LineageOS/androi...h/blob/lineage-17.1/res/values/config.xml#L17). There's no guarantees it would actually work even after that.
[Raspberry Pi Original Development] maxwen:
:good:
[Xiaomi Redmi 4a Questions & Answers] horasmichael:
Hi! I'm trying use phh GSI, I download it from phh release table v221. Well, it won't show android logo and stuck at the mi logo. I use treble-rolex-v2 to install the vendor thingy. Anyone have an idea what's going on?
[Samsung Galaxy Note 9 Questions & Answers] Neo-2018:
Hi,

*** Any way to recover accidentally deleted call logs? ***

I do NOT have any Smartswitch (or other backup created anywhere)

I have the SM-N960U1 version (Originally Verizon Note 9 / but now an official OS - but without carrier bloatware)

(I hastily deleted without realizing when I got a robocall in the middle of work)

Also, already tried the FoneLab / FoneGo / FoneDog toolkits. No joy. I was able to run the searched but always 0 records.

(They then prompt for rooted access search - but the phone is not rootable)

Thanks if anyone can help!
[Samsung Galaxy Watch] House079:
Does someone have link to firmware R820XXU1BTD3 for galaxy watch active 2 44mm R820 ?
[Samsung Galaxy Watch] Falcon:
I'm also looking for this firmware, all the sites I found ask to pay for the file ... complicated so!
[Samsung Galaxy Watch] House079:
Yeah, I saw it was about 3 bucks, not much, but those sites were, how should I put it, debatable.

I need this file cuz my watch won't detect any new firmware, I am stuck on bta1, beside Samsung support said that for my particular piece should be an update available, reset didn't do the trick.
[Samsung Galaxy Watch] ikwerner:
also stick in bta1

:confused: