Konsta
Posts: 12
Joined: Thu Aug 16, 2018 3:55 pm

[DEV] LineageOS 14.1 (Android 7.1.2) for Raspberry Pi 3 B

Thu Aug 16, 2018 4:09 pm

Here’s my build of LineageOS 14.1 for Raspberry Pi 3 Model B. It is unofficial and unsupported by the LineageOS team. It’s for advanced users only.
Screenshot_20180817-200415.png
Screenshot_20180817-200415.png (42.92 KiB) Viewed 725 times
https://konstakang.com/devices/rpi3/CM14.1/

Sources:
Last edited by Konsta on Fri Aug 17, 2018 5:15 pm, edited 3 times in total.

hippy
Posts: 3588
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: [DEV] LineageOS 14.1 (Android 7.1.2) for Raspberry Pi 3 Model B

Thu Aug 16, 2018 7:23 pm

Excellent stuff. Very easy to install and get running, no real advanced skills needed there.

I've instead failed on the 'basic skills' - Not being familiar with Android on a Pi; how do I invoke a safe shut down or power off ?

Update: Seems I actually failed basic reading skills there; press F5 as written on your web page :oops:

Also, my mouse cursor is a bit of a mash-up of pixels. Not sure if that's intended, meant to look like a fingerprint, or is a buggette.

Konsta
Posts: 12
Joined: Thu Aug 16, 2018 3:55 pm

Re: [DEV] LineageOS 14.1 (Android 7.1.2) for Raspberry Pi 3 Model B

Thu Aug 16, 2018 7:54 pm

hippy wrote:
Thu Aug 16, 2018 7:23 pm
Excellent stuff. Very easy to install and get running, no real advanced skills needed there.

I've instead failed on the 'basic skills' - Not being familiar with Android on a Pi; how do I invoke a safe shut down or power off ?

Update: Seems I actually failed basic reading skills there; press F5 as written on your web page :oops:

Also, my mouse cursor is a bit of a mash-up of pixels. Not sure if that's intended, meant to look like a fingerprint, or is a buggette.
Mouse cursor is a know issue with the display drivers (so is the missing wallpaper). You can tick/untick Settings -> Accessibility -> Large mouse cursor and it will work until next reboot. More permanent solution is to modify display density (ro.sf.lcd_density is /system/build.prop).

User avatar
bensimmo
Posts: 3113
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: [DEV] LineageOS 14.1 (Android 7.1.2) for Raspberry Pi 3 B

Thu Aug 16, 2018 8:08 pm

brings back memories of my ZTE Blade (well Orange SanFancisco)

Konsta
Posts: 12
Joined: Thu Aug 16, 2018 3:55 pm

Re: [DEV] LineageOS 14.1 (Android 7.1.2) for Raspberry Pi 3 B

Fri Aug 17, 2018 7:34 am

bensimmo wrote:
Thu Aug 16, 2018 8:08 pm
brings back memories of my ZTE Blade (well Orange SanFancisco)
LOL, that feels like ages ago. Learnt pretty much what there's to know about Android custom ROM development with that device. Good times. :)

hippy
Posts: 3588
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: [DEV] LineageOS 14.1 (Android 7.1.2) for Raspberry Pi 3 B

Fri Aug 17, 2018 10:13 am

I'm pretty impressed overall. It seems reasonably responsive and connected to my wired network with no problems.

I can't seem to scroll pages in the Browser but it did allow me to download and install APK files from my PC's HTTP Server which side-steps more involved side-loading mechanisms.

The only major issue I have - had, see below - encountered is it won't run APK's created by MIT App Inventor 2 properly. Those appear as 'black on black' so basically 'nothing there', though the mouse cursor does turn to the usual 'bar' when over text fields. Bringing up the App's menu displays that but in a box which looks like a TV with line scan rates gone to pot and is completely unreadable.

Given everything else they do is working, reading files from servers when they start etc, I guess it's just a display or rendering issue. Not sure where bugs or issue like this should be reported.

Update: AI2 issue solved: There now seems to be two different classes of APK which AI2 can create from the Build menu; "App ( save .apk to my computer )" and "App for Google Play ( save .apk to my computer )".

The first targets an older API level so allows running on older phones, but doesn't work with Android 7. The second targets a later API which allows running on Android 7 but not older phones.

I have to recompile my Apps to check they work but it looks promising. A simple test program worked as expected.

https://groups.google.com/forum/#!categ ... 1wFQhRIGBE

Konsta
Posts: 12
Joined: Thu Aug 16, 2018 3:55 pm

Re: [DEV] LineageOS 14.1 (Android 7.1.2) for Raspberry Pi 3 B

Fri Aug 17, 2018 12:34 pm

hippy wrote:
Fri Aug 17, 2018 10:13 am
I can't seem to scroll pages in the Browser but it did allow me to download and install APK files from my PC's HTTP Server which side-steps more involved side-loading mechanisms.
Scrolling works with mouse wheel at least. It seems dragging&moving only selects text when using a mouse. Other browser apps may behave differently.

hippy
Posts: 3588
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: [DEV] LineageOS 14.1 (Android 7.1.2) for Raspberry Pi 3 B

Fri Aug 17, 2018 12:41 pm

Thanks. Time to find a mouse with a scroll wheel. Most of mine don't have one and I don't use it when they do, so never thought of that!

Konsta
Posts: 12
Joined: Thu Aug 16, 2018 3:55 pm

Re: [DEV] LineageOS 14.1 (Android 7.1.2) for Raspberry Pi 3 B

Fri Aug 17, 2018 3:47 pm

New build.

https://konstakang.com/devices/rpi3/CM14.1/

-include TWRP 3.2.3-0 custom recovery (see FAQ how to boot)
-fix Gallery app crashing (and likely various third party apps as well)
-add support for encrypting the device
-merge AOSP kernel/common android-4.4-n branch to have proper Android Nougat kernel
-update to Linux 4.4.148 kernel and patch known vulnerabilities (CVE-xxxx-xxxx, and more)
-Android security patch level: 5 August 2018 (merged)

Return to “Android”

Who is online

Users browsing this forum: No registered users and 2 guests