• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[DEV][ROM][UNOFFICIAL] LineageOS 17.1 (Android 10) for Raspberry Pi 4 B

Search This thread

Wednesday

Member
Jul 19, 2009
6
0
Great build, however i have some troubles with wifi, it connects and then it disconnect, anyone had any wifi issues?
I'm starting to think it might have something to do with heat because the chip gets very hot, thougts?
 

KonstaT

Senior Member
Jan 20, 2016
428
291
KonstaKANG.com
Great build, however i have some troubles with wifi, it connects and then it disconnect, anyone had any wifi issues?
I'm starting to think it might have something to do with heat because the chip gets very hot, thougts?
Wifi on Pi 4 seems to be pretty sensitive and it easily affects network performance if you're using e.g. a very crowded wifi channel. Something like https://play.google.com/store/apps/details?id=abdelrahman.wifianalyzerpro is pretty handy figuring out if your network is on the same as channel as some neighboring network.
 

Wednesday

Member
Jul 19, 2009
6
0
Wifi on Pi 4 seems to be pretty sensitive and it easily affects network performance if you're using e.g. a very crowded wifi channel. Something like https://play.google.com/store/apps/details?id=abdelrahman.wifianalyzerpro is pretty handy figuring out if your network is on the same as channel as some neighboring network.
Inreresting, i will give it a shot.
I also disovered that it might have someting to do with my other rpi, because when both are connected both are acting up,very strange because the other one is running raspian and they have different Mac addresses and hostnames.
 

zLeqitEclipse

New member
Jun 24, 2021
2
0
Hello, i hope this thread is still active because i have a problem.

When i try to connect my fire tv remote to my Raspberry (On the Stock Android ROM without GApps) it works fine.

But after flashing the GApps it always says something like "Paring failed"

Does anybody knows how to fix that because i really want to use my Fire Remote but i also want the GApps.

Thanks.
 

KonstaT

Senior Member
Jan 20, 2016
428
291
KonstaKANG.com
Hello, i hope this thread is still active because i have a problem.

When i try to connect my fire tv remote to my Raspberry (On the Stock Android ROM without GApps) it works fine.

But after flashing the GApps it always says something like "Paring failed"

Does anybody knows how to fix that because i really want to use my Fire Remote but i also want the GApps.

Thanks.
TBH, I have no idea why installing gapps would have any effect on bluetooth pairing. There's an open issue of this on OpenGapps issue tracker (https://github.com/opengapps/opengapps/issues/915) where you can post the appropriate logs (logcat).

There's also other gapps alternatives you can try.
 

oOHiggsOo

Member
Jul 29, 2016
16
0
Hello,

I have the RemotePi Board for Pi 4. You write one should "You can place a keymap for your remote as / boot / rc_keymap to be automatically loaded on boot (see available keymaps for reference)." Where can I find / boot? I mounted the SD card in Ubuntu and added the file to no avail.
Furthermore you write "Android doesn't have user accounts with passwords so key based authentication is used with SSH instead. Necessary keys are generated on the first boot and you need to pull the private key to your computer" where I can find the SSH key ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    Here’s my build of LineageOS 17.1 for Raspberry Pi 4 Model B, Pi 400, and Compute Module 4. It is unofficial and unsupported by the LineageOS team. It’s for advanced users only. Pi 4 model with at least 2GB of RAM is required to run this build.

    Important! This image includes parts that are licensed under non-commercial license (Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International). You may use this build freely in personal/educational/etc use. Commercial use is not allowed with this build!

    Screenshot_20200727-114321_Settings.png


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

    There is also Android TV version available.
    Screenshot_20200815-143204_Settings.png


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

    Working:
    • Audio (HDMI, 3.5mm jack, USB microphones, bluetooth speakers/headsets, etc)
    • Audio DAC (using GPIO DACs e.g. Hifiberry DAC+)
    • Bluetooth
    • Camera (using official Pi camera modules & UVC USB webcams)
    • GPIO
    • GPS (using external USB modules e.g. U-Blox 7)
    • Ethernet
    • Hardware accelerated graphics (V3D)
    • HDMI display
    • I2C
    • IR remotes (using external GPIO IR modules e.g. TSOP4838)
    • RTC (using external GPIO I2C modules e.g. DS3231)
    • Sensors (using external GPIO I2C modules e.g. MPU6050, LSM6DS3 & LSM303DLHC accelerometer/gyroscope/magnetometer)
    • Serial console (using external GPIO serial console adapters e.g. PL2303)
    • SPI
    • Touchscreen/multi-touch (USB touchscreens, Waveshare SPI touchscreens, official 7" touchscreen using SwiftShader software renderer)
    • USB (mouse, keyboard, storage, etc)
    • USB-C (ADB, MTP, PTP, USB-tethering)
    • Wifi
    • Wifi tethering

    Not working:
    • Hardware video decoding & encoding (software decoding & encoding works)

    Issues:
    • Stock camera app is not working - many third party camera apps seem to work
    • SELinux is in permissive mode
    • and more…

    Sources:

    Thanks:
    • Peter Yoon and everyone who has contributed to android-rpi
    • brobwind for bluetooth fixes
    • Roman Stratiienko and GloDroid project for graphics fixes
    • Eric Anholt for V3D graphics driver
    • Maxime Ripard for Pi 4 KMS driver
    • Google for Android Things platform
    • Android-x86 project
    • LineageOS team & everyone who has contributed to LineageOS 17.1
    11
    How to install:
    1. Follow the official Raspberry Pi instructions for writing the image to the SD card (Linux, Mac, Windows).

    FAQ:

    FAQ is getting quite long and difficult to maintain in several different places. You can find the always up-to-date FAQs here:
    https://konstakang.com/devices/rpi4/LineageOS17.1/
    https://konstakang.com/devices/rpi4/LineageOS17.1-ATV/
    11
    Merged commits not mentioned in the changelog.

    22.1. 2021 changelog:
    • add support for sensors (MPU6050, LSM6DS3 & LSM303DLHC accelerometer/gyroscope/magnetometer on I2C)
    • add support for more serial GPS devices
    • add support for USB-C (ADB, MTP, PTP, USB-tethering)
    • enable bluetooth tethering
    • add settings option for mouse back button feature
    • update to TWRP 3.5.0_9.0-KonstaKANG
    • update to Mesa 20.3.3
    • update to Linux 5.4.91 kernel and patch known vulnerabilities (CVE-xxxx-xxxx, and more)
    • Android security patch level: 5 January 2021 (merged)

    20.11. changelog:
    • 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)

    8.11. changelog:
    • 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)

    13.8. changelog:
    • bring back forced landscape orientation for portrait apps
    • bring back support for running scripts from /system/etc/init.d/
    • read resolution from /boot/resolution.txt
    • fix issue with color format in fullscreen 1080p videos
    • fix issue with drm video playback
    • initial support for SSH server
    • update Mesa to 20.1.5
    • update to Linux 5.4.58 kernel and patch known vulnerabilities (CVE-xxxx-xxxx, and more)
    • Android security patch level: 5 August 2020 (merged)

    27.7. changelog:
    • initial LineageOS 17.1 build
    • hardware accelerated graphics
      • V3D using Mesa 20.1.4 with drm_hwcomposer & gbm gralloc
      • 1920x1080 resolution
    • update TWRP to 3.4.0-0
    • update to Linux 5.4.53 kernel and patch known vulnerabilities (CVE-xxxx-xxxx, and more)
    • Android security patch level: 5 July 2020 (merged)

    Previous builds:
    4
    New builds (regular & Android TV).


    -add support for sensors (MPU6050, LSM6DS3 & LSM303DLHC accelerometer/gyroscope/magnetometer on I2C)
    -add support for more serial GPS devices
    -add support for USB-C (ADB, MTP, PTP, USB-tethering)
    -enable bluetooth tethering
    -add settings option for mouse back button feature
    -update to TWRP 3.5.0_9.0-KonstaKANG
    -update to Mesa 20.3.3
    -update to Linux 5.4.91 kernel and patch known vulnerabilities (CVE-xxxx-xxxx, and more)
    -Android security patch level: 5 January 2021 (merged)