Page 1 of 1

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

Posted: Thu Aug 16, 2018 4:09 pm
by Konsta
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 16659 times
https://konstakang.com/devices/rpi3/CM14.1/

Sources:

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

Posted: Thu Aug 16, 2018 7:23 pm
by hippy
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.

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

Posted: Thu Aug 16, 2018 7:54 pm
by Konsta
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) or change Settings -> Display -> Display size.

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

Posted: Thu Aug 16, 2018 8:08 pm
by bensimmo
brings back memories of my ZTE Blade (well Orange SanFancisco)

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

Posted: Fri Aug 17, 2018 7:34 am
by Konsta
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. :)

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

Posted: Fri Aug 17, 2018 10:13 am
by hippy
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

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

Posted: Fri Aug 17, 2018 12:34 pm
by Konsta
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.

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

Posted: Fri Aug 17, 2018 12:41 pm
by hippy
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!

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

Posted: Fri Aug 17, 2018 3:47 pm
by Konsta
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)

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

Posted: Sat Sep 29, 2018 8:12 am
by joeyreichard
privacy guard does not remember my choices how do i get it to save it

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

Posted: Sun Sep 30, 2018 7:01 am
by Konsta
joeyreichard wrote:
Sat Sep 29, 2018 8:12 am
privacy guard does not remember my choices how do i get it to save it
What do you mean exactly? Privacy guard works as expected for me at least.

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

Posted: Tue Oct 02, 2018 7:37 pm
by joeyreichard
Konsta wrote:
Sun Sep 30, 2018 7:01 am
joeyreichard wrote:
Sat Sep 29, 2018 8:12 am
privacy guard does not remember my choices how do i get it to save it
What do you mean exactly? Privacy guard works as expected for me at least.
everytime i open an app i previously used i have to allow privacy guard permissions i click remember my decision and it doesn't i have to keep allowing it permission i want it to perform like superuser where its always allowed

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

Posted: Wed Oct 03, 2018 8:25 am
by Konsta
joeyreichard wrote:
Tue Oct 02, 2018 7:37 pm
Konsta wrote:
Sun Sep 30, 2018 7:01 am
joeyreichard wrote:
Sat Sep 29, 2018 8:12 am
privacy guard does not remember my choices how do i get it to save it
What do you mean exactly? Privacy guard works as expected for me at least.
everytime i open an app i previously used i have to allow privacy guard permissions i click remember my decision and it doesn't i have to keep allowing it permission i want it to perform like superuser where its always allowed
Sorry, still can't quite understand what you mean. I wonder if we're even talking about the same thing. Please provide exact steps how to reproduce the issue.

Privacy guard is not enabled by default. If you're running an app you've enabled privacy guard, you should see a notification (also if enabled from privacy guard settings) that app will not be able to access personal data.

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

Posted: Wed Oct 03, 2018 10:39 am
by cjan
does suitable for Rpi2?

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

Posted: Wed Oct 03, 2018 11:07 am
by fruitoftheloom
cjan wrote:
Wed Oct 03, 2018 10:39 am
does suitable for Rpi2?

What version of RPi 2B are you referring ?

BCM2836 or BCM2837 SoC ?

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

Posted: Wed Oct 03, 2018 5:37 pm
by Konsta
cjan wrote:
Wed Oct 03, 2018 10:39 am
does suitable for Rpi2?
I've been told this boots on Pi 2 (I assume people are talking about the BCM2837 one but I'm not exactly sure because I don't have any Pi 2). There's no wifi/bluetooth obviously and there's no support for external wifi/bt dongles either.

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

Posted: Wed Oct 03, 2018 11:55 pm
by cjan
fruitoftheloom wrote:
Wed Oct 03, 2018 11:07 am
cjan wrote:
Wed Oct 03, 2018 10:39 am
does suitable for Rpi2?

What version of RPi 2B are you referring ?

BCM2836 or BCM2837 SoC ?
v1.1-2386, does it work?

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

Posted: Thu Oct 04, 2018 8:15 am
by Konsta
cjan wrote:
Wed Oct 03, 2018 11:55 pm
fruitoftheloom wrote:
Wed Oct 03, 2018 11:07 am
cjan wrote:
Wed Oct 03, 2018 10:39 am
does suitable for Rpi2?

What version of RPi 2B are you referring ?

BCM2836 or BCM2837 SoC ?
v1.1-2386, does it work?
Why not give it a go and tell us? You have the device - I don't.

This build is only meant for Raspberry Pi 3 Model B like it says in the first sentence of the page. If it boots on other devices, that's great but it's also entirely on your own responsibility. Like already said, there's obvious drawbacks (no wifi/bt) if you run this on Pi 2.

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

Posted: Thu Oct 04, 2018 8:47 am
by cjan
Why not give it a go and tell us? You have the device - I don't.

This build is only meant for Raspberry Pi 3 Model B like it says in the first sentence of the page. If it boots on other devices, that's great but it's also entirely on your own responsibility. Like already said, there's obvious drawbacks (no wifi/bt) if you run this on Pi 2.
thanks, no wifi supported then give up.

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

Posted: Sun Nov 04, 2018 11:48 pm
by Void Frost
Can we expect Android 7.1.2 for 3 B+??

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

Posted: Mon Nov 05, 2018 12:15 am
by DougieLawson
Void Frost wrote:
Sun Nov 04, 2018 11:48 pm
Can we expect Android 7.1.2 for 3 B+??
Only after you build it. (Or the commercial folks selling Android on RPis build it.)

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

Posted: Mon Nov 05, 2018 10:38 am
by Konsta
Void Frost wrote:
Sun Nov 04, 2018 11:48 pm
Can we expect Android 7.1.2 for 3 B+??
This build doesn't support 3 B+ for the reasons stated in this post. https://forum.xda-developers.com/showpo ... stcount=16

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

Posted: Tue Nov 13, 2018 8:13 am
by Konsta
joeyreichard wrote:
Tue Oct 02, 2018 7:37 pm
Konsta wrote:
Sun Sep 30, 2018 7:01 am
joeyreichard wrote:
Sat Sep 29, 2018 8:12 am
privacy guard does not remember my choices how do i get it to save it
What do you mean exactly? Privacy guard works as expected for me at least.
everytime i open an app i previously used i have to allow privacy guard permissions i click remember my decision and it doesn't i have to keep allowing it permission i want it to perform like superuser where its always allowed
After discussing this with someone else at XDA (https://forum.xda-developers.com/showpo ... stcount=76) I understand what you mean.

You need to power down/reboot your device through the power menu (F5 on keyboard is the power button) for the privacy guard settings to be stored. Pulling the power cable or using 'reboot -p'/'reboot' in terminal or third party reboot applications won't do.

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

Posted: Tue Jun 18, 2019 11:47 pm
by raspi3os14
Hi~Why can't my PI 3 turn on WIFI and Bluetooth?

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

Posted: Thu Jun 20, 2019 7:58 am
by Konsta
raspi3os14 wrote:
Tue Jun 18, 2019 11:47 pm
Hi~Why can't my PI 3 turn on WIFI and Bluetooth?
Impossible to say with the information you've provided. Built-in wifi/bt works on Pi 3.

Make sure you've followed the installation instructions and if the problem persists with a clean installation, attach appropriate logs (logcat, dmesg) with your report.