yashsingh1/xdaforums huggingface dataset:
[Raspberry Pi Original Development] finitelife:
Firstly, great work! I've been using this for over a month now with little issue. I'm usually quick to install the latest build on my pi 4b 8gb.

-OpenGapps is pretty unusable and slows my pi to a crawl (obviously not your problem), but bitgapps has been a lifesaver. I've got the full android experience now, with barely any overhead.

-WiFi won't turn on/connect with Ethernet connected. The only problem I see with this is that when using data saver options (like maps only download on wifi option), the Ethernet is not considered. Easily bypassed, so a non-issue. Not even sure what part of the situation needs solving (is wifi supposed to be disabled on Ethernet, or can Ethernet be added as a non-metered connection?).

-cameras! I use opencamera for every phone I have. It works 100% with all of my connected cameras on the pi. Almost every other app fails outright, eventually, after backgrounding, or when switching apps. I now keep opencamera open in the background, switch to it when the camera fails, and switch back. Works every time. So in my mind either every APK out there needs to take a look into their source code and adjust (unlikely), or maybe a keepalive service can be gleaned from the source and incorporated into lineageos. I'm looking through the code currently for a temporary shim (the annoyance and time spent app switching has fueled my interest greatly)

-ZOOM works! Thank you thank you! The issue noted above is the only annoyance. Anyone reading this working from home, I can confirm that it is entirely usable with a USB DAC for sound. Screen sharing works like a charm. I've tried every possible bad setup and it just works. Use Ethernet- if you are videoconferencing, always use Ethernet. One odd thing is it signs me out on first launch, citing I'm logged in somewhere else. Your mileage may vary.

-audio switching (jack/HDMI/dac) is buried soooo deep in the settings menus. Is there an app anyone knows of to one click cycle throught the options? (Haven't tried viper yet). Is it possible to create a settings tile? Is there an associated "intent" that I could call to cycle/select an audio device via tasker, etc? It comes up alot in my daily usage, so if anyone can find me a solution, you'd be saving me many minutes of my day.

-netflix is a crapshoot. Chrome video too. I'm assuming this is the hardware en/decoding mentioned in the "not working" section. For anyone reading this, turning off subtitles seems to make my tv stop flickering on and off mostly.

-sdr/Bluetooth/gps are all surprisingly working perfectly. Thanks a bunch!

-it would be really neat if the whole pi config.txt could be changed via the settings menu. No complaints whatsoever, but it seems like the biggest gap left in complete integration with the pi.

-anyone got magisk working? I really really want it.

I've been trying to figure out where specifically to view the source, report bugs and submit information for any open issues, but I haven't found it. Anyone?
[Raspberry Pi Original Development] finitelife:
Try opencamera. It's mature and working 100%
[Raspberry Pi Original Development] finitelife:
The only app I have working reliably is opencamera. Run it, background it, and if your other app loses camera input, switch to opencamera quickly and then back. I don't know what wizardry these guys use, but it works.
[Raspberry Pi Original Development] finitelife:
Alot of these usb cams tend to use UVC, or at least support it. I have 4 cheapos, 2 Chinese GoPro's, and my Logitech beast, all working on lineageos. I do have to have them plugged in at boot time. Which apps support them however, is a different. Zoom at least knows the camera is there most of the time. I use opencamera (I've mentioned it so much that I should say I'm not involved in the project).
[Raspberry Pi Original Development] finitelife:
I might just be saying this because my 21 pin is shorted/faulty (that was a pain to figure out), but potentially your header/gpio is faulty? Possible to test on pi os? You have one function working, one pin running high. I just tested on the current build, and all is good (I had to remap 21 obviously). Not sure, just an idea.
[Raspberry Pi Original Development] finitelife:
O

On the note of zoom- works fine over here with 7 Different usb cameras (I'm on the current release). Camera plugged in before boot. OpenGapps made it unusable, but bitgapps made it stop freezing entirely. I also use opencamera as a keepalive when the zoom camera goes black.just switch to opencamera and back. I'm currently looking into what wizardry this app uses in an attempt to circumvent the issue.

I bought the cheapest USB DAC possible (60,000VND) and it works system-wide. Just set up a quick demo on my network to make sure- checked via chrome; audio request accepted, mic recorded, transmitted to my PC. I presume you know to switch audio devices via the pi settings menu? (I only ask because I wasted a few hours on this because I forgot to switch devices)
[Raspberry Pi Original Development] finitelife:
Chack out page 10. I'm using zoom on this as my daily driver. Almost every camera I've tried that supports uvc works kinda. If you screen share in zoom, you have to refresh your camera. I hate that I keep saying opencamera, but it works.
[Raspberry Pi Original Development] Spielmops:
It was a hardware failure. I got a new Pi and it works. Wrote that some posts further down ...

Spielmops
[Raspberry Pi Original Development] Broly:
Has anybody tried to patch safetynet on the latest tv build? I usually use the safetynet patch from bitgapps without root on my phone to get certified play store, or maybe try to build it with kdragon safetynet patch?
[Raspberry Pi Original Development] M249:
Hello there,

realy impressive work here :) thanks KonstaT for spending tons of time for this briliant Android to Raspi Port :-)

I have a question too: Youtube app, the HDMI screen is flicker/ is give me a short blackscreen like screen resolution change - but this happened also when play youtube videos not in fullscreen. What can here happened?
[Raspberry Pi Original Development] Spielmops:
Do you all have volume-sliders, if you press the hardware-keys? If not, try "Ultra Volume" from the Playstore. The best slider is the one on bottom. But better use Netguard or AfWall and don't let the app connect to the web.

Spielmops
[Raspberry Pi Original Development] xxjonboyxx:
so i have this installed on my pi id like to add a gsm lte hat to make it my default home internet using my sim card and wifi tether anyone know what gsm hat can be used with this
[Raspberry Pi Original Development] Testerov23:
Hello can you explain how did you added init.d support?
[Raspberry Pi Original Development] Spielmops:
I am now finished with the head unit for our motorhome. Everything works. I miss the "hands free" function via Bluetooth. Can anyone give me a hint?
[Raspberry Pi Original Development] vj4:
Decided to update to the latest build with a fresh install and i just get a black screen after the rainbow when booting android but can get into and use recovery.

I figure if recovery is working then it isnt a screen settings issues or am i just mad?
[Raspberry Pi Original Development] vj4:
I've tried Pi OS, Omni both boot and work fine but I can only get this & 17.1 (android 10) to boot into recovery (on 3 different SD cards and an SSD)..... any suggestions?

So frustrated i wiped my old :-(

OH and the FAQ link to the pi hdmi settings page is now a 404 error
[Raspberry Pi Original Development] Spielmops:
What is the resolution of your screen? Which resolution is written in/boot/resolution.txt?
[Raspberry Pi Original Development] vj4:
I've tried 1080, 720 and 800x600

I've tried 3 different TV's, 2 monitors and the screen I had this up and running on before. Omni works on all of them on stock settings and I can get into recovery so I'm leaning towards it being another issues.

Going to try and install the rom from within recovery now and see how that goes.
[Raspberry Pi Original Development] Spielmops:
How and where do you get the "ROM"? What Konstat offers, is an image of the whole OS including "boot", "recovery" and "userspace". What we normally install on smartphones or tablets via recovery is only the content of the "system"-partition, that's wat we call "ROM". Do you "install" the zip-file?

Spielmops
[Raspberry Pi Original Development] vj4:
I've been installing the extracted image taken from the zip file from his site.

I'm currently trying the install from within PI OS to make sure nots not a windows 11 issue.
[Raspberry Pi Original Development] amrut.m:
hi @KonstaT

Hope you are doing good.

I am looking to build a Media Player streamer based on Lineage OS to feed my HiFi system.

I have few queries before I proceed, I have already ordered parts. Should be here tomorrow.

Do 2 screens work on this OS? one will be a 5 inch 800x480 capacitive LCD touch screen and other will be a 2 inch LCD display 240x320.

I want to display the bit rate and audio details on the second 2inch LCD display. I tried finding how to do this but did not get any results.

Can I keep both screens running all the time ? no timeout.

Will be using a HAT DAC, will lineage OS use all the capabilities from it?

Will be flooding this thread ask questions and doubts, sorry in advance.
[Raspberry Pi Original Development] vj4:
I've just tried installing from PI OS and using gparted to extend the partition and its in a boot a loop. I'm starting to wonder if the PI is damaged but it seems odd it runs fine with the other OS's

found an old SD card with my old config and I'm in. it was the 21=0 on the gfx options i've been missing for 3 days!!
[Raspberry Pi Original Development] Spielmops:
Why didn't you use the "resize partition" zip from konstat? It's easy to use and works fine ...

What's the resolution of your screen and what is written in resolution.txt?

Btw: "install" and "write an image to sd-card" are very different things ...

Spielmops
[Raspberry Pi Original Development] vj4:
the resize just doesn't work for me, hasn't ever. logs have been looked at etc.

I updated the res file when I was targeting different resolutions.

Sorry my terminology's wrong its been 8 months since I last played with this.

Everything is now working and my custom tweaks as detailed in earlier parts of this thread are implemented and working again.
[Raspberry Pi Original Development] Spielmops:
Here is the result of my work: a moniceiver with Raspberry Pi 4 and LinageOS. The text is written in German, but there are many meaningful pictures:

https://hartmut.homelinux.org/Technik/Autoradio.html
[Raspberry Pi Original Development] gonesuper:
had a bit of a nightmare getting this installed but it turned out to be the crappy laptop im stuck with the next 2 weeks. jumped between builds and fell on a 1st world problem...

hope it gets a laugh as well as some support cos i tend to never need to ask but this has me pulling my hair out.

anyway, after trying all the builds i wanted an ATV on my 4gb pi4. i have that, but....

for some reason, i can pair the ONLY remote that is near me for the next 2 weeks, is a firestick one with version 17 but it dies and refuses to pair after the open g-apps

and yeah ive done the leg work, cleaned, wiped, the recovery parts after the open-gapps used part tools to make sure the stick is behaving as it should.

its a real shame because for some reason theres huge lag using the iphone app to control the OS but im nearly certain thats just a wifi issue, as the hdmi-cec is much quicker, not perfect and no where near whats expected but it never is.

so to humour u all, im stuck here cos of a family members isolation, and im running and the iptv setup via android tv (which is destroying what i had on the firestick) but its like waiting on cefax with the iphone app or cec

and to get there i destroyed 2 rooms looking for an old android remote, smashed a laptop that was in the shed to pull parts to rewrite the sd's so this awesomeness boots, found the firestick one which again gets found on YOUR setup and works a dream on 17.1 but doesnt at all on 18.1, the gapps killed it on 17 for me.

i then got bored and made the power switch with a huge bit of extension lead (i have a work shop in my own home)

for my constant reboots while i sit her watching everything i want on frankly a multi boot that feels rebirthed.

but people in this house are gonna need therapy if im stuck with current remote setup.

so if any one has any ideas why the gaaps may have killed it after 17.1 ATV got them, or why it wont pair at all on 18.1 please let me know.

currently enjoying the new superman ep on the only wired net connection in the house while the rest (who are enjoying my 3rd visit) slum it in a house full of broken laptops and remote dreams

and as i said, still loving it. and happy to help with non dodgy iptv issues (mines legit)

but im betting some one says. ive broke the pairing by doing it 1st on the working setup.

also this house has more scary cables now than snakes on a plane
[Raspberry Pi Original Development] EpicLPer:
Definitely looking forward to a working 5.10 kernel version, want to build a car head unit with the official touchscreen and see if it can replace my phone having to be mounted in a holder constantly :)
[Raspberry Pi Original Development] Spielmops:
I tried the "official" touchscreen and send it back. To laggy. I made a head-unit myself, have a look two post above.

Spielmops
[Raspberry Pi Original Development] EpicLPer:
Yeah but the reason the official one is laggy is due to the missing hardware acceleration which is working on 5.10, I bought an enclosure for the Pi and screen already and would want to use that, but your solution seems nice too. Kinda don't want to spend another 120€ (Or even more with accessories) on a new one 😅 For that money I'd rather invest in a ready to use one and spend a bit more still, but haven't found a god looking one for my car yet.

Servus btw., nett auch nen Deutschsprachigen Bastler hier zu finden ;)
[Raspberry Pi Original Development] Traxx67:
Hello all,

First a big thank you for this rom.

But i have a problem....I have no sound on my HDMI cable.

Materiel:

Case ARGON M2

Raspberry pi4 8g

1 ssd 512g

Is there any solution to have the sound on my TV with my HDMI cable?

Thank you for your help.

Have a good day.
[Raspberry Pi Original Development] Spielmops:
Settings/System/Advanced Options/Settings for Raspi

There is an option for sound

Most of those settings require a reboot ...
[Raspberry Pi Original Development] misterti:
I was wondering if there is any support for usb wifi adapters, because the built-in wifi works very badly. I did plug in an adapter that works on libreElec, but doesn't seem to be working on lineage, since nothing happens when plugged in.
[Raspberry Pi Original Development] Traxx67:
Big thank you. all work nice ;-)
[Raspberry Pi Original Development] Spielmops:
@misterti

Use an external antenna. The board has a place to solder it. Search for a Youtube-Video
[Raspberry Pi Original Development] misterti:
Too complicated installation and too many parts required.

I think drivers for usb wifi adapter would be more optimal.

But thanks for the idea.
[Raspberry Pi Original Development] Gerdje_:
Hi all,

Like many here i would like to thank KonstaT for this build.

I have flashed his su addon. My question, is there an SuperSU root app to manage root? All apps have root now, or none. Magisk is not working unfortunately.
[Raspberry Pi Original Development] KonstaT:
At least kernel has drivers enabled 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 your DAC (i.e. change it to 'dtoverlay=hifiberry-???'). You shouldn't modify anything else.
[Raspberry Pi Original Development] KonstaT:
Might be already fixed if/when there's another release. https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/307999

Both latest builds now support HDMI-CEC.

USB webcams that use UVC should work. You need to have the USB connected when booting the device for the Android camera HAL to detect it.
[Raspberry Pi Original Development] KonstaT:
Try forcing the refresh rate from Settings -> Device Preferences -> Raspberry Pi settings -> Display resolution (e.g. 1920x1080@60).

Some 3G/4G USB dongles have been reported working with third party apps like PPP Widget 3 (https://play.google.com/store/apps/details?id=de.draisberghof.pppwidget3).

This build doesn't have Android telephony framework or include drivers to support any modems. I have builds that have support Sixfab modem HAT and Quectel EC25. LTE data and SMS works fine. It's also possible to make/receive calls but in-call audio is not working.

It's simply a revert of https://github.com/LineageOS/android_vendor_lineage/commit/243b877ea425e4b04ff8783ce8019279e099c7d2

I think SELinux can also be an issue with this so switch it to permissive instead of enforcing.
[Raspberry Pi Original Development] KonstaT:
1, 2 & 3: There's no support for dual-display. Only HDMI displays are supported at this point anyway.

4. You should be able to use various different DACs with minor modifications. Just commented on this above https://xdaforums.com/t/dev-rom-uno...aspberry-pi-4-b.4212945/page-12#post-85607465

There's no support for external USB wifi/bt dongles.

There's no root management so you should keep the option disabled at all times when not explicitly needed. Latest LineageOS versions no longer support root as using 'adb root' is preferred instead. Magisk installer can't handle the non-standard boot partition Raspberry Pi uses.
[Raspberry Pi Original Development] amrut.m:
Took a while for your reply :( I already had got two displays but using one. But good part is most of the things are sorted.

And here is my Raspberry Pi Streamer up and running. Sounds so damn good!!!
[Raspberry Pi Original Development] Streamex:
I've tried all this before my previous post got but no sound out through the card ... are there any specific steps I can run to debug?
[Raspberry Pi Original Development] KonstaT:
What exactly did you try?

Check 'dmesg' output that your DAC is registered or any related error messages. You can also use ALSA tools (tinypcminfo/tinymix/etc) to see that it is available as ALSA device.

According to the docs (https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/) digi+ pro should have 'dtoverlay=hifiberry-digi-pro' to enable the driver. Also check loaded kernel modules Raspberry Pi OS ('lsmod') where you have this working in case I've missed some driver.
[Raspberry Pi Original Development] trianzelmi:
Is there any way to turn on the LineageOS power when a signal comes from the car's ecu and then when the signal disappears then LineageOS would go back to power off mode? Similar function then normal power button but power is only ON when ECU signal comes GPIO and OFF if no ECU signal.
[Raspberry Pi Original Development] KonstaT:
Probably not like that.

I've posted a script that will power down the device when GPIO is connected to ground (https://xdaforums.com/t/dev-rom-uno...raspberry-pi-4-b.4139059/page-6#post-83822011). Pi bootloader also has a feature to use GPIO3 to power up the device. So, powering up/down the device using GPIO is certainly possible.
[Raspberry Pi Original Development] EpicLPer:
Yeah that's been an issue I've been thinking about too. You can't really have a small battery backup in the car either, like a powerbank or something due to the immense summer heat. Would just be a fire hazard.

Only real thing to do is "pray" the SD Card won't corrupt over time when hard-powering-off the device over and over again. Tho I doubt that's healthy...
[Raspberry Pi Original Development] EpicLPer:
An btw @KonstaT, is there any way to test the 5.10 kernel already even if it'll be without Google services for now? It's more a curiosity and excitement thing on my side to see the official touchscreen working with hardware acceleration than anything else :)

And I may even want to put that into a video for YouTube or something cause that's kind of exciting, at least for me. Been waiting for this to happen for years 👍
[Raspberry Pi Original Development] KonstaT:
I'm not planning on switching to 5.10 kernel until Android 12. 5.4 is the newest kernel version that AOSP supports for Android 11. 5.10 will be for Android 12.

Android 12 should be released in few weeks but it probably takes quite some time for LineageOS 19 to mature as well.
[Raspberry Pi Original Development] vj4:
Thank you for ds1307 RTC support!
[Raspberry Pi Original Development] Anghenfyll:
Hi, really loving the build - thanks a lot!

Just wondered if you have had success with setting

ro.kernel.android.gps.time_sync=60

?

I am running RPI4 in the car to use a ublox GPS puck, with a USB touchscreen overlay for the existing car screen. Sometimes when it starts up it does not find the USB GPS at all, but when it does it will never sync the time.

I wondered if it is a permissions thing where time may not be set unless root? I did think the USB touchscreen was taking ttyACM0, but there's no time sync with this unplugged either. Time sync to the gps clock would be awesome.
[Raspberry Pi Original Development] The Retro Devils:
Good day all .

So I have two questions .

Is thier a 64 bit version?

Has anyone installed vulkan/mesa?
[Raspberry Pi Original Development] KonstaT:
I haven't looked into the time_sync on the GPS HAL. Not sure if related but does the Android itself sync time using it in a car? You would need to have a network connection or an external RTC module for this.

Nothing has really changed regarding 64-bit since it was last discussed (https://xdaforums.com/t/dev-rom-uno...raspberry-pi-4-b.4212945/page-2#post-84352695).

Vulkan drivers are not something that you can just simply install. The support for it needs to be implemented on the OS. Currently mainline Broadcom Mesa Vulkan driver doesn't support Android (it's not built as an Android HAL unlike for some other platforms). android-rpi has initial support for vulkan (https://groups.google.com/g/android-rpi/c/FCC0h5vlgl0) but I'm not sure what is the exact status with it. android-rpi uses entirely different Android graphics HALs than this build but probably worth checking out if you need vulkan.
[Raspberry Pi Original Development] Hrom80:
Hi @KonstaT. Thanks for a great job.

The firmware runs smoothly on PI4 2GB.

I ask you to help me in solving one problem. I need to flip the screen image so that by default there is a vertical image and all installed applications work in vertical mode. Thanks in advance for your reply.

PS Sorry for the bad English. I use google translator:cry:
[Raspberry Pi Original Development] KonstaT:
Settings -> Device Preferences -> Raspberry Pi settings -> Display rotation
[Raspberry Pi Original Development] mynameisnafe:
Err, what happened to 'Root Access' setting?

All I have is 'Enable Android debugging as root' which is not the same thing. I can't be superuser.

I'm running lineage-18.1-20210411-UNOFFICIAL-KonstaKANG-rpi4.img on a rpi4 with 4GB RAM

the option ain't there
[Raspberry Pi Original Development] KonstaT:
Please read the FAQ. You need to install a separate su add-on.