yashsingh1/xdaforums huggingface dataset:
[Raspberry Pi Original Development] KonstaT:
I've enabled kernel drivers for all Hifiberry DACs.

If you want to use some other DAC besides Hifiberry DAC+ you need to select 'Hifiberry DAC+' from Settings -> System -> Advanced settings -> Audio device. After this edit /boot/config.txt and change dtoverlay=hifiberry-dacplus to load the driver for you DAC (i.e. change it to 'dtoverlay=hifiberry-digi' in your case).
[Raspberry Pi Original Development] scottial:
I know
[Raspberry Pi Original Development] escknx:
Thanks a lot. Forgot to enable root in dev settings.

So I enabled DAC+ in Advanced settings

Changed config.txt line to dtoverlay=hifiberry-digi

Does not seem to work, it no longer plays via 3.5mm and no signal on digi. YT Music gives playback error. UAPP player is stuck on 'buffering' stage

according to https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/

removal of dtparam=audio=on does not fix the issue

adding force_eeprom_read=0 causes bootloop
[Raspberry Pi Original Development] KonstaT:
Instructions for some other Linux distro don't apply here.

Android audio HAL can currently open and use only one ALSA device at a time. So, that's either HDMI, 3.5mm jack, or audio DAC.

Check 'dmesg' output on booting the device that driver for your DAC is loaded and it's registered as ALSA device. My build also include ALSA tools (tinypcminfo/tinymix/etc) that you can use for this.
[Raspberry Pi Original Development] Linhx:
Is it possible to use ntfs-formatted usb-devices?
[Raspberry Pi Original Development] KonstaT:
You can on LineageOS 17.

Support for NTFS drives is not included in LineageOS 18 for some reason. http://disq.us/p/2fr6xj1
[Raspberry Pi Original Development] attacker:
Can we config the setup of vnc server?

The scroll of the vnc seems difficult from android to android.

Thanks
[Raspberry Pi Original Development] Neogx:
hmm weird i installed it on my micro sd and its crashs right when it gets to the white page with the logo ,"emergency" and "next" on the button. I tried different sd cards, redownloaded the Zip file and the same problem happens. Im running on pi 4 8 gig Ram

In the picture This appears for 2 seconds and just restarts

Video

https://photos.app.goo.gl/Vf9oFXyXUetozXmg8

Update: I downloaded the android TV version to see if that would work and the same problem happens
[Raspberry Pi Original Development] KonstaT:
I'm not aware of any way you could configure it server side. You can do this on the client depending on the app your using. I only tested VNC with Remmina which comes bundled with Ubuntu and it seems to work fine with that.

General advice is to use proper sdcard (at least class 10) and power source (3A in case of Pi 4). Impossible to say what could be the issue without seeing any logs anyway.

There's also https://github.com/lineage-rpi/android_kernel_brcm_rpi/issues/6 but there's been some mixed reports whether this is fixed in Android 11 (or there's two similar separate issues).
[Raspberry Pi Original Development] Neogx:
I got the whole starter kit from canakit on Amazon I think there a official resaler with a power supply and memory card included . it seem like everything was right in what is required.

https://www.amazon.com/dp/B08956GVXN/ref=cm_sw_r_cp_apa_glt_fabc_T41V481ZJ0ZRRFNM2YK6?_encoding=UTF8&psc=1

Where can i find the logs to see whats going on?

Update 1 Tried adding dtoverlay=disable-wifi in the config file and it worked i guess there's a issue with wifi?
[Raspberry Pi Original Development] Linhx:
Can’t find the reason under this link and also no facts regarding this issue on other sites. Maybe you can add this topic to the questions because this problem makes it impossible to watch videos that are stored on ntfs-hdds. Is there no way to bypass this restriction (drivers etc.)?
[Raspberry Pi Original Development] kiai.72:
any chance to fix the camera for video-conferencing systems (skype, zoom etc. )?
[Raspberry Pi Original Development] attacker:
May I get the guide / QA for the config to vnc server side? E.g. password protect.

Thanks
[Raspberry Pi Original Development] KonstaT:
You would need to be a lot more specific how it's broken in the first place.

There's currently no way to use password protection.

Enable the VNC server from Pi specific settings (Settings -> System -> Advanced settings -> VNC), get you Pi's IP address (e.g.Settings -> About tablet -> IP address), and use VNC client to connect to Pi's VNC port (5900).
[Raspberry Pi Original Development] kiai.72:
all videoconference-apps behave the same on this ROMS (i tried 16/17/18 with skype, skype lite and zoom):

When you start the app -> the camera even works! You see your own camera picture - it's even moving.

So far everything looks fine.

But when you start a real video-call -> your own camera picture will not be transfered to the other people. They just don't get your video - like you turned camera off.
[Raspberry Pi Original Development] KonstaT:
I don't think that's accurate description at all. LineageOS 16 build for Pi even uses entirely different graphics drivers so it doesn't have the same camera issues as 17 & 18. This is also not the case for all video conferencing apps. There was a pretty thorough test using various apps (https://www.raspberrypi.org/forums/viewtopic.php?f=73&t=284462).

Camera on Zoom is reported to work once starting the application but you need to reboot your device or kill the camera server (http://disq.us/p/2g62t68) for it to work again.
[Raspberry Pi Original Development] Neogx:
KonstaT​

Just want to say thanks for your effort in working on this. After getting around the wifi problem and getting it installed it worked beautifully.
[Raspberry Pi Original Development] kiai.72:
sorry, you're right. since i've seen this - i started from scratch - checked everything, and since i moved to IPV6 a lot more works - not everthing but:

zoom + jitsi: camera works (picture is transfered to the chat-partners) - but i cant use my microphone yet.

skype + skype lite: still like i described before: does not work: the picture will not be transfered to the chat-partners.

this is a great step forward. Would like to have skype as well - but more important for the moment is the microphone.

Do you have any idea? I tried the microphone in my USB-camera + a separate USB microphone - both do not work.

Is there some kind of "choose input device" - option somewhere ?

thank you veray much!
[Raspberry Pi Original Development] kiai.72:
i did more tests today: lineageOS recorder works! But zoom and jitsi not: when you speak to the RPI-microphone->you hear yourself on the RPI! - but your conference-partner does not hear you at all.

Maybe it depends on what kind of audio the app uses. Maybe when "speakerphone"-audio is used at the same time we have that audio problem?

In the meanwhile i also connected a bluetooth headset -> same problem, not only with USB.
[Raspberry Pi Original Development] matthuo:
After burning the img to the SD card, I found that there is a partition named “_ ” Is this a partition of the file system? If not, where is the file system? I need to make img.xz for PINN to guide and generate dual systems.
[Raspberry Pi Original Development] KonstaT:
Have you tested this on LineageOS 17? This could be because of how Android handles USB audio. Raspberry Pi hardware doesn't have any built-in audio input so this is just something that needs to dealt with.

Last I've tested bluetooth headset mic is not working at all.

It's actually named "/" (as in root) but that's not a valid character for filenames so your OS changes it to something else. It's the system partition (or system-as-root to be precise).

It's quite involved to make this image compatible with PINN. We've been through this with PINN developer procount and I think he's managed to automate the process. You should be in contact with him and ask to add support for the latest builds.
[Raspberry Pi Original Development] matthuo:
I have successfully installed it through PINN. But now we have a new problem:

When performing WIFI static IP configuration, click Enter and you cannot proceed to the next step.

This problem should be no problem with the installation of PINN.
[Raspberry Pi Original Development] matthuo:
Why can't I set static IP for a network in Settings? After setting the static IP, click Next, nothing happens
[Raspberry Pi Original Development] kiai.72:
no - in the meanwhile i'm on 18.1 again. So do you think 17 might work ? should i try ?

By the way: i noticed that when i use raspbian it also shows me a "Monitor microphone" - like there would be one from HDMI-TV - but there's isn't.

Maybe i just have to many input devices. Is it possible to list them somehow - and disable all i don't need ?
[Raspberry Pi Original Development] KonstaT:
Logcat is pretty useful what comes to answering questions like why. Setting static IP seems to work fine on the regular tablet UI build. Also worth pointing out if you're talking about Android TV.

There's no sound input built into the Pi hardware. Not possible via HDMI or the 3.5mm jack.

I don't think there's been any previous reports of such mic issue with e.g. Zoom.
[Raspberry Pi Original Development] matthuo:
Yes, this issue is from Android TV (RPi4). I haven’t used Logcat, but I’ll try to provide it later. However, by the way, this phenomenon is easy to reproduce on RPi4.
[Raspberry Pi Original Development] dylerb:
Thank you very much. I'm using your AndroidTV ROM for Raspi 4B.
[Raspberry Pi Original Development] taihoa590:
Thank you, it works very well
[Raspberry Pi Original Development] sbarne3:
Two questions

1. Do I need to do anything to enable this? I was using libreelec previously and HDMI-CEC was working with my TV/remote (TCL) so I know it is at least capable, but I get no response in LineageOS

2. Does this also work in the LineagOS 18.1 Android TV version?
[Raspberry Pi Original Development] KonstaT:
1. Does your TV have a CEC menu where you can select the device? That's needed with my TV at least.

There's been some other reports as well that this isn't working with some TVs. There's also another (actually the proper) way I can do HDMI-CEC but I had issues it with my TV if there was more than one CEC device connected. Maybe I'll try that in some future release if people generally have issues with the current approach.

2. If/when there's another Android TV build, it will have CEC support in some form.
[Raspberry Pi Original Development] kiai.72:
can i use another GPIO for powerbutton ? (i already installed a button at GPIO 3 for all my other roms)
[Raspberry Pi Original Development] KonstaT:
Yes, you can basically use any GPIO pin for this (unless it's already used for something else). See /boot/config.txt under 'Keys' section how this is implemented.

GPIO3 is used by I2C (which is enabled by default on my builds) so you might need to disable that as well.
[Raspberry Pi Original Development] kiai.72:
it works! i had to disable i2c + set the "keys" -> works! Thank you.

May i ask you about microphone again: i noticed now:

- in chrome (dev): camera works - microphone (USB, bluetooth, i tried a lot of microphones) does not work, but

- in firefox both works!

I wonder why the apps behave so different? What i really want to do is: videoconferencing via WEBRTC. meet.jit.si finally works in firefox now. Zoom crashes as soon i start the camera. web.Skype.com does not support firefox.

So actually i should better use chrome for webrtc - since most people recommend it when it comes to webrtc. But as long i have this microphone issue, i can't.

What can i do to get the microphone i chrome working ?
[Raspberry Pi Original Development] tcberg2010:
Installed this yesterday and I love how snappy it is. Will work perfect for my man cave. I did have a few possible problems I wanted to see if others have, or if there is a fix.

1. I can't stream content higher then 720p. Anything higher and the video freezes immediately with audio playing in background. I've tested with both wireless (50M download) and Wired (300M download) and had the same issue with each.

2. There is a thin bar on the left border of my screen that is actually what should be on the far right of the screen. I've tested on numerous screens with the same issue.

Any help is appreciated.
[Raspberry Pi Original Development] KonstaT:
1. Stream what from where and how? You would need to a bit more precise than that and please attach appropriate logs as well (logcat in this case). E.g. YouTube streams 1080p videos just fine. This build only supports software video decoding so the performance depends on the video codec that is used.

2. The one pixel shift is a known issue with the kernel KMS driver (https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=288234). This only happens with some displays, though. IIRC someone workaround this by adjusting overscan options in config.txt.
[Raspberry Pi Original Development] tcberg2010:
Thanks for the response. I'll grab the logs next time I fire it up. I was streaming from both the YouTube app as well as from Twitch w/ 4GB Pi4. I did further testing later and 1080p YouTube streaming worked from Puffin TV Browser, but won't go above 720p in the app (TV Stock GAPPS).

I'll checkout the overscan fix, thanks again.
[Raspberry Pi Original Development] skero232:
Hi, im new to raspberry pi and lineage OS. I have succesfully installed it on Rpi4 but every time i disconnect monitor, raspberry turns off. Is there any way I can keep it up and running without monitor?
[Raspberry Pi Original Development] KonstaT:
Android builds on the Pi use KMS driver which relies on EDID information from connected HDMI device to configure the display. No, your device doesn't shut down but Android graphics drivers crash if you unplug the HDMI (and keep crashing until you reconnect it).

One option is to get a dummy HDMI adapter/plug if you don't want to have an actual display connected.
[Raspberry Pi Original Development] skero232:
Okay thank you for the suggesiton and explanation, but before i get a dummy HDMI is there any way that I could make drivers not crash with a change in software? I am trying not to use physical solutions because Rpi will be left outside and I don't want random people seeing HDMI dummy and taking it...
[Raspberry Pi Original Development] KonstaT:
I'm not aware of any software solution that will work with this build. You can use earlier versions with SwiftShader software renderer which doesn't rely on any connected display (LineageOS 16 uses SwiftShader by default, LineageOS 17 has an option to use it).

Would't they just rather take the whole Pi (or any other connected peripheral)? These types of dummy adapters seem to go for little over 1€ off of eBay.
[Raspberry Pi Original Development] skero232:
Okay I will try to work with swiftshader, if I get lost I'll just get a dummy adapter. Thanks for everything.
[Raspberry Pi Original Development] startechi:
Hi, I have installed LineageOS 18.1 on Raspberry Pi 4 model B. I have a Duinotech NEO-7M GPIO GPS module with onboard antenna, link below.

Arduino Compatible GPS Receiver Module | Jaycar Electronics

Add GPS positioning down to 2.5m accuracy to your next Arduino project using this compact GPS module with on-board antenna. Based on the NEO-7M, supports NMEA standard protocol output and features built-in flash to save settings after power-off.

www.jaycar.com.au

I can't get this GPS receiver to work. I assume this could be due to missing drivers, serial use conflict, UART config or other configuration. I have tried disable serial use by the system in advanced settings followed by reboot with no resolve. I used the following guides to try get the GPS to work. Please assist with this issue.

Using a GPS module(neo-7m) with Raspberry Pi 3

Recently, I got an opportunity to work on an awesome project which included hardware and software development. The project was about…

defcon007.medium.com

Interfacing U-blox NEO-6M GPS Module with Raspberry Pi

In this project, an U Blox NEO-6M GPS Module is interfaced with Raspberry Pi board and GPS information is decoded from the output. By Bhushan Mapari.

www.hackster.io

Raspberry Pi & the Neo 6M GPS

Raspberry Pi & the Neo 6M GPS: Previously I built a project where I connected a Neo-6M to an Arduino, but this time around, I wanted to show how to use a GPS with the Raspberry PI. Now there are several USB solutions, and apps that work with them, but I wanted to show how to use …

www.instructables.com

How to Use a GPS Receiver With Raspberry Pi 4 | Raspberry Pi

Learn how to connect and configure a GPS receiver to your Raspberry Pi 4 for a variety of fun projects!

maker.pro

How to connect Raspberry Pi to GPS module NEO-6M via USB port? - Raspberry Pi Forums

www.raspberrypi.org
[Raspberry Pi Original Development] KonstaT:
See previous discussion about using serial GPIO GPS device: http://disq.us/p/2efdofm

So, you need to change value of 'ro.kernel.android.gps' property in /vendor/build.prop to 'ttyS0' and remove 'console=ttyS0,115200' from /boot/cmdline.txt. Necessary uevent permissions have been already added since that discussion.
[Raspberry Pi Original Development] startechi:
Thanks, changing the values in build.prop and cmdline.txt enables the GPS to work.

Bluetooth becomes an issue once GPS is enabled. Has there been a fix to allow Bluetooth to work at the same time as GPS ?
[Raspberry Pi Original Development] KonstaT:
Bluetooth uses its own UART so this shouldn't be any problem.

You're now using the UART that is normally used for serial console for GPS. There's no known problem with using serial console and Bluetooth at the same time at least.
[Raspberry Pi Original Development] startechi:
I also have the same understanding of system console and bluetooth using separate UART. I have tried a clean system with same outcome. Additionally I did attempt moving:

Bluetooth from /dev/ttyAMA0 to /dev/ttyS0 using dtoverlay=miniuart-bt

GPS from /dev/ttyS0 to /dev/ttyAMA0.

This previous post you shared also ended up with a bluetooth issue: http://disq.us/p/2efdofm
[Raspberry Pi Original Development] KonstaT:
Check logs (logcat) if there's difference with/without the GPS enabled.
[Raspberry Pi Original Development] startechi:
On a related note, root access is missing in Developer Options in Pi's Lineage OS 18.1. Has enabling root changed from 18.1?
[Raspberry Pi Original Development] K3V1991:
What Widevine Security Level has this ROM?

Im completly new to the RPI Community
[Raspberry Pi Original Development] KonstaT:
Yeah, this is something strange with Android 11 that I haven't figured out. You need to enable USB debugging in developer options and jdwp starts working and this log spam stops.

btuart service should be only using /dev/ttyAMA0 so I don't know why GPS HAL using /dev/ttySS0 would cause issue with this. Difficult for me to do anything about this without having the hardware myself to test.

Please read the FAQ. You need to install a separate su add-on.

L3.
[Raspberry Pi Original Development] woofwoof75:
Has anyone tried Argon ONE M.2 Case for Raspberry Pi 4 with this ROM?

Wonder if it will work out of the box? It has IR and Power button that I'm most concern of.

https://www.argon40.com/argon-one-m-2-case-for-raspberry-pi-4.html

Oh! Been trying booting up with Samsung's T5 SSD... it works perfectly!.
[Raspberry Pi Original Development] KonstaT:
I don't have any Argon case to test but I think people have already figured things out.

IR & power button should work but you need to modify /boot/config.txt because the case uses different GPIO pins than what is used here by default (someone got it working: https://github.com/lineage-rpi/android_device_brcm_rpi4/issues/8).

Fan can also be controlled with i2c-tools included in this build (someone also wrote a script: http://disq.us/p/2guifm1).

I don't expect there to be a problem with the M.2 as it's just USB adapter so it should be like booting from any USB device.
[Raspberry Pi Original Development] startechi:
Thanks, I will continue debugging the bluetooth issue and provide an update if I find a solution.
[Raspberry Pi Original Development] wkl3968:
I'm trying to make the Digi+ HAT work but to no avail and yet I'm new to all this Lineage OS and RPI 4. I'm still stuck. Have you sorted out the issue? Appreciate any help you render to make this a successful experience.
[Raspberry Pi Original Development] dhtm15:
no more updates?
[Raspberry Pi Original Development] wkl3968:
Hi KanstaT!! can you please guide us to enable the Hifiberry Digi Pro HAT? about ALSA, can you please share more about this? I think there are more people getting into this as it is perfect setup for high quality audio player.
[Raspberry Pi Original Development] Streamex:
Hi KonstaT - great work, thank you! I can play now Amazon music hd via hdmi or line out. I also have a digi+ pro HAT that I am trying to enable... I've tried both digi and digi-pro overlays with respective changes in the rpi4-audio script however the card is not seen as Alsa device (dmesg only shows hdmi and line out cards). I have tested the card with raspberry os and it works well. What else can I try? I really appreciate your work and input. Thank you again.
[Raspberry Pi Original Development] Markstar:
Hi,

I have just installed LineageOS on my Pi and I have a few questions left after reading the FAQ:

How to enable SSH: I have enabled SSH under "Advanced Settings", "USB debugging", installed the rpi-su-arm.zip and enabled "Rooted debugging". However, when I try to connect I get:

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

unable to connect to 192.168.1.79:5555

The IP is definitely correct and online and fastboot and adb works for my phone. Is it because of the different ports?

I have a touch screen attached with a resolution of 1920*1

2

80. I have tried to change the value in resolution.txt, but I only got a white screen afterwards. Changing it back to the default 1920*1

0

80 booted again.

For my next attempt I added the following in the config.txt:

[HDMI:0]
hdmi_force_hotplug=1
hdmi_drive=2
hdmi_group=2
hdmi_mode=69
aspect_ratio=16:10

This had no effect and the resolution was still 1920x1080 until I also changed it to 1920x1200 in the resolution.txt - then it worked! So maybe I have to try another option mentioned in the FAQ (under config.txt) to get it exactly right? However, I'm not sure what exactly to change there and where. I tried tvservice -s and other commands under my DietPi installation. Interestingly, only up to 1920x1

0

80 were listed there, but I have confirmed that the correct resolution is 1920x1

2

80 and that it works under Windows.

Thank you in advance for your help!
[Raspberry Pi Original Development] Spielmops:
I installed this version of LineageOS on my new Raspberry Pi 4b with 8Gb RAM. I made a panel with 3 hardware-switches for volume and power and enabled all three in "advanced options" (and ofcourse rebooted). But only volume up works. Tried it with the same switch for all three functions with the same result. Grabbed my multimeter and checked GPIOs 20, 21 and 26. 26 is high, the other are at zero Volt. So thats the reason, why only volume-up works. What can I do to make all three functions to work?

Spielmops