yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Android Development] MSe1969:
The kernel of a ROM Zip is the file boot.img, which needs to be extracted. You can then flash it using TWRP (image flash) or via fastboot. If you simply want to use my fork of squid kernel, simply dirty-flash my ROM again. And in general, if you update my ROM, you can in general always dirty-flash, BUT -and here be careful- with regards to compiled/overlaid themes, I think you would first have to revert all of this, before you can dirty-flash. The respective XDA threads for Substratum/OMS should have more information.

Wrt June ASB patches, I'll start tonight to push patches to the LineageOS Gerrit (hope my account issue there has been solved), if I find the time.
[Moto G 2015 Android Development] MSe1969:
New release with June ASB Sec. Patches, part 1

Hi all,

a new build (regular 'microG build' - the substratum-enabled one is still being worked on) with June security patches is available for download:

https://www.androidfilehost.com/?fid=674106145207492327

Will update the OP and post an update here, when the OMS build is ready, too.

Regards, M.
[Moto G 2015 Android Development] MSe1969:
New release with June ASB Sec. Patches, part 2

Here comes the OMS enabled build:

https://www.androidfilehost.com/?fid=746163614322269988
[Moto G 2015 Android Development] ajaysingh23:
I think you should be using OMS with this build now. As lineage or legacy will be used only when there is no OMS support built into the ROM.
[Moto G 2015 Android Development] MSe1969:
Yes, will soon update the OP accordingly. Stay tuned :)

EDIT: OP has been updated
[Moto G 2015 Android Development] MSe1969:
Hi all, just an interim info:

New builds with July ASB will be available mid of next week - Google has only published the AOSP links end of last week and I didn't have any time this week to make a new build...
[Moto G 2015 Android Development] MSe1969:
New builds with July ASB patches

Hi all, new builds ready for download:

July security patch level 2018-07-05

Android System Webview on M67

System certificates from AOSP Oreo branch

Download links:

For explanation, please refer to the OP

A. Default LineageOS 14.1 with substratum and microG patch

B. Hardened build with pre-installed microG and F-Droid

C. Above hardened microG build with substratum patch
[Moto G 2015 Android Development] MSe1969:
No, see OP.

A. is a "regular" LineageOS with a patch to allow substratum installation and a patch allowing to manually install microG

B. has pre-installed microG as system apps and additional security hardening features, but no patch f. substratum

C. is the same as B, but patched for substratum in addition
[Moto G 2015 Android Development] hovnonium:
Ive installed A build (oms-osprey.zip) and I cant use gapps, this build behaves like microG hardened - gapps get disabled after flashing and there are also F-droid and Net monitor included.

Can you pls make it that way so we can use it with gapps?

Thank you

EDIT: build from 21.06.2018 works fine with gapps.
[Moto G 2015 Android Development] MSe1969:
Thanks for letting me know, I will take care - but I can only do so mid of next week, because I am not at home right now. Will get back on this. If ASB are out by then, it may even make more sense to provide already updated builds... We'll see
[Moto G 2015 Android Development] hovnonium:
I would suggest you to wait for ASB. I'll stick with some android 8.1 ROM for now.

Thank you, really appreciate your work.
[Moto G 2015 Android Development] ajaysingh23:
Thanks buddy. I see you have done a lot of hardwork there by bringing 3 builds to us. Any amount of words are not enough to thank you. Just respect and appreciation for you :good:
[Moto G 2015 Android Development] MSe1969:
Here we go, rest follows tomorrow: https://www.androidfilehost.com/?fid=3700668719832238945
[Moto G 2015 Android Development] MSe1969:
New builds with August patches

Hi, new builds are up:

A. Regular LineageOS 14.1 with OMS and microG patch

https://www.androidfilehost.com/?fid=3700668719832238945

B. Hardened build with pre-installed microG (w/o OMS)

https://www.androidfilehost.com/?fid=3700668719832238864

C. Hardened microG-build with OMS patch

https://www.androidfilehost.com/?fid=3700668719832239088
[Moto G 2015 Android Development] MSe1969:
Glad it finally got updated, will have a look.
[Moto G 2015 Android Development] MSe1969:
Hi, made a test and it looked good so far - have already pushed the updates to my fork. So next builds will contain the new release of the kernel.
[Moto G 2015 Android Development] MSe1969:
Thanks for the links.

Well, I could patch the GMS core with NanoDroid's apk, maybe I'll do. However, please also have a look here:

https://github.com/microg/android_packages_apps_GmsCore/pull/553#issuecomment-405063562

What are your thoughts?
[Moto G 2015 Android Development] jemail:
My 2 cents. I only need location services and ability for purchased apps to pass licence check. Currently ug does this for me. I only have one app that doesn't function fully using ug, because I think it uses some form of account authentication that ug seems to not provide. I think that as time goes on and ug remains unmaintained we will see more apps that will have authentication problems.

In essence my vote would be to bump the version number but maybe also make users aware that problems can occur when using this updated version of ug.
[Moto G 2015 Android Development] MSe1969:
As far as I have understood the problem, when reading through the open issues in the GmsCore repo of microG, there are basically three underlying causes for the below symptom:

Symptom

Updated apps having most recent Google libs/resource dependencies baked in. Those check for play service version and complain about version not recent.

1. "Stupid" version check

The version check is automatically done by the embedded Google stuff. If the version check indeed is all, which counts (i.e. no new functionality, which actually would be part of the "original" play services), then the version bump of the NoGoolag or NanoDroid forks will already solve the issue.

So I'll include it in my next builds (September ASB).

2. Truly updated functionality

If the updated app attempts to make use of a new play services functionality, which would really require the checked play services version (e.g. new APIs), then - obviously - the spoofed version number cannot solve any issue and would most probably lead to an app crash (as the version check normally should prevent this). This may be more of a theoretical consideration, I am not aware of anything except for FCM, see next item, but this possibility definitely exists.

3. Firebase Cloud Messaging (FCM)

Google works on replacing Google Cloud Messaging (GCM) with Firebase Cloud Messaging (FCM). As far as I know, Google urges the developers for apps targeting Oreo to make use of FCM and not to use GCM any more. So even if people have Nougat on their devices, updated apps with push notifications will more and more point to FCM.

FCM is not implemented in microG and as this is a completely new development, this won't happen immediately, especially given Marvin's restricted time to work on it.

The good news is, this won't make an app crash, but push notifications simply won't work. Work-arounds here would be to either accept not working push notifications in an app (not all push messages are anyhow useful; I e.g. always enjoyed the microG feature to explicitly disallow this for most apps), to look for alternative build variants (Signal e.g. offers a GCM/FCM-free build for download, FDroid offers a Google-free Telegram build) or to continue using the last GCM supporting version of your app (or downgrade accordingly).

EDIT: microG has published a new version and it really seems to habe improved a lot, so I'll stick to the original ;)
[Moto G 2015 Android Development] MSe1969:
New build available with September security patches

Hi all,

new builds with the September '18 security patch level are available for download:

A. Regular LineageOS 14.1 with OMS and microG patch

https://www.androidfilehost.com/?fid=1322778262904001976

B. Hardened build with pre-installed microG (w/o OMS)

https://www.androidfilehost.com/?fid=1322778262904001977

C. Hardened microG-build with OMS patch

https://www.androidfilehost.com/?fid=1322778262904001974

Besides the security updates, the following features have been implemented:

Squid kernel updated to r23 (own fork, added 3 patches from September ASB)

microG GMS core updated to version 0.2.5 (does not apply to A.)

The updated version of microG GMS core, coming from the original microG repository, has finally resolved the annying "update Google play services" error messages output by various apps and also brought some kind of 'redirect' to allow apps with oreo target SDK to still use GCM.

(I can't tell whether all those issues are fixed, but the ones I have noticed before are gone)

Regards, M.
[Moto G 2015 Android Development] ttocs99:
Flashed this and I like this take on lineage especially the micro g variant for privacy just going to put google play in in system private so hopefully can get my paid apps. Thanks for the rom
[Moto G 2015 Android Development] ajaysingh23:
Another month and here we are. Thanks a lot man. I was wondering if you can build Los 15.1 with Oms support. Not that it's required, but Oreo support more theme than the Nougat and with Oms comes ability to change the font. None of the build support Oms completely, they are still supported but with root and no font options.
[Moto G 2015 Android Development] MSe1969:
Sorry, but can only answer "no" twice:

1. No official LineageOS 15.1 for osprey, yet. Don't want to mess around with stuff I can't properly support. An official LOS means a stable and reliable base to build upon; I am definitely neither willing nor capable to bring up Osprey for 15.1, and taking over somebody else's "work in progress" does not make sense, as I can't fix all the device bring up issues.

2. I am even less an OMS expert than a device maintainer. For 14.1, there is an own set of repositories created by Nathan Chance (see OP) with a well documented set of instructions on how to apply. Otherwise I wouldn't have been able to do this build here. And as you stated already, nothing like that for Oreo available...
[Moto G 2015 Android Development] ajaysingh23:
Your response is something which I always look forward. And I couldn't agreed more with response. Thanks again for your work.
[Moto G 2015 Android Development] ttocs99:
Thought I would leave this here. Love my set up
[Moto G 2015 Android Development] MSe1969:
I have, around a year ago, successfully tested for two days the scenario to put Google playstore into /system/priv-app to work on top of microG GMS core (of course you must remove Fakestore then).

However, this can in theory stop working at any time, because Google play store silently self-updates itself regularly. It even attempts to perform those silent updates on the "Play services", but at the time of testing last year, it left microG alone and did not try to "update" it. Play store also scans and reports silently your system config "for your safety" (of course, what else should they have in mind :) ) - so it in theory *may* also block your account "for your safety" because of an "unrecognized system setup".

So I do not really recommend this approach, but I understand your need to keep the paid apps - so interested to learn whether this still works out...
[Moto G 2015 Android Development] ttocs99:
Thanks for the info I'll just stick with yalp then and fake store, can't be done with the possibility of getting my account blocked. Thanks for the heads up.
[Moto G 2015 Android Development] ttocs99:
Does this ROM have double tap to wake as think my power button is on its way out
[Moto G 2015 Android Development] MSe1969:
Not that I know about... But in Settings you can configure e.g. the volume buttons to wake up the device.
[Moto G 2015 Android Development] ttocs99:
Why didn't I think of that lol. Cheers
[Moto G 2015 Android Development] jemail:
Still the best up to date Nougat ROM for osprey. Rock solid stable daily driver.

Many thanks for your work.
[Moto G 2015 Android Development] ttocs99:
Came back to this after trying pie out and you can't half tell the diffrence. Brilliant rom fast and fluent and the best nougat ROM I've used especially the micro g version
[Moto G 2015 Android Development] AndroidUser33:
This is what I was looking at. Can you tell me more about your pie experience?
[Moto G 2015 Android Development] ttocs99:
It was decent. Had the go version on pixel experience 9. Things started off fine the system was quick and fluent for the 1st couple of days but then after that it started taking 4 or 5 seconds for apps to open especially google apps like messages , phone and the play store . the battery didn't last long about 2 to 3 hours screen on time when used but if left alone would easily last all day with light usage but because of the google apps opening time I had to reflash this ROM as its rock solid but I did only use pixel experience and haven't flashed lineage 16 to try but in the short term experience was fine but needed speed and stability hence downgrade.
[Moto G 2015 Android Development] ttocs99:
[MENTION=7929484]MSe1969[/MENTION] just a quick question? Will this ROM ever go beyond nougat? Or will it be staying on nougat for stability etc.
[Moto G 2015 Android Development] MSe1969:
As mentioned already earlier in a different context: As long as there is no official LineageOS build for the Osprey device, which I can use as a base, the answer is no. (Please scroll up to see the details and rationale behind). Once there is an official LineageOS build, I will be happy to have a look.
[Moto G 2015 Android Development] ttocs99:
This ROM is brilliant for battery life probs can get 6 hour marker location is on with brightness at 50% can probably get longer if lower brightness and chance performance from balance to power save
[Moto G 2015 Android Development] ttocs99:
[MENTION=7929484]MSe1969[/MENTION] can the hardened substratum ROM be dirty flashed over the normal hardened ROM.
[Moto G 2015 Android Development] MSe1969:
This is due to the "Squid Kernel" (see OP), I also enjoy its overall behaviour.
[Moto G 2015 Android Development] MSe1969:
Yes, that should work without issues. I suppose you have not installed any substratum stuff in "legacy mode" (not sure I use the right term here) on it right now? There seem to be options to run it on unlatched ROMs in root mode or so, but I am no expert. So if you dirty flash it over the normal hardened ROM in oder to then be able to download and install the substratum app and themes, there should not be any issue.
[Moto G 2015 Android Development] ttocs99:
I havnt tweaked the kernel either with app like kernel auditor just left it as it is but yeah its great on battery life and thanks for the info on substratum flash, I appreciate it

---------- Post added at 05:35 PM ---------- Previous post was at 05:16 PM ----------

Actually I'm going to tweak the kernel from squids post using lionfish, intelliplug, fiops and dropping the minimum CPU to 400mhz to see what happens
[Moto G 2015 Android Development] ttocs99:
Turned brightness all the way down but still set to auto wonder how long I can get
[Moto G 2015 Android Development] ttocs99:
Hi [MENTION=7929484]MSe1969[/MENTION] don't know if you have noticed but its taking ages to download hardened with substratum from AFH I'm using 100mb broadband and its still taking ages and the download stops then starts again after a while

---------- Post added at 11:57 AM ---------- Previous post was at 11:36 AM ----------

Couldn't download at all it came back with download unsuccessful
[Moto G 2015 Android Development] MSe1969:
Hmm... Have no influence on AFH, so all I can recommend is to try again later... Sorry
[Moto G 2015 Android Development] ttocs99:
I've managed to use substratum without oms and its worked great in legacy mode just need what's turned black and jobs a good one
[Moto G 2015 Android Development] ttocs99:
[MENTION=4336485]rottenwheel[/MENTION] that would be great pal AFH has been a ***** with me lately. So if you could pm me with the hardened with substratum I would appreciate it. Thanks
[Moto G 2015 Android Development] MSe1969:
Deleted (reply was cut off, writing again)
[Moto G 2015 Android Development] MSe1969:
Hi, many questions, trying to answer them one-by-one :)

LineageOs 15.1

I am not able to solve any of the typical device-bringup issues like "The camera is not properly working", "GPS fix takes ages", "Battery life is awful", etc. That is why I won't fork anybody else's "work in progress" with regards to L15 for osprey. I need a stable, "daily-driver-ready" base to work on. This base may either be an official LineageOS build (which we don't have), a proven stable unofficial L15 build with no open items or somebody with the necessary skills to bring up a device and willing to work together with me.

DéjaVu Location backend

I also use DéjaVu myself, I have even deactivated Mozilla's backend. The reason for including Mozilla is that this is what is provided and updated in the lineageos4microg repository, which I include in my build. Further, the Mozilla backend works "out of the box" when an internet connection exists, whilst e.g. DéjaVu needs to "learn" first about the locations (which is, I think, also the reason, lineageos4microg uses it). Including it as a 2nd option could however be considered...

Nominatim

Is a reverse-geocoding backend used by OpenStreetmaps. Its use cases are rather limited, an example, where this would be used, it the location tagging in pictures (if you have enabled this feature), the location coordinates from the place you take the picture from, are resolved into an address to be tagged to the picture.

German Contacts

In the settings of the Telephony app, you can enable forward and people search and also reverse search (people behind phone numbers). For each option you have one or several providers you can choose from, one of them being the Austrian phone directory. I think you should have a look there...
[Moto G 2015 Android Development] n76:
I am not aware of a camera that puts an address in the picture but then I normally run with geo tagging turned off.

In my case, I have a weather widget that uses the geocoder/decoder in gapps/microG to determine the name of the place you are at (reverse geocoding) and, if you want to setup for weather display for some other place (geocoding). That widget fails on a phone that doesn't have microG or Gapps installed.
[Moto G 2015 Android Development] MSe1969:
I am also not using that cam feature, I remember having read about this... - your example with the weather widget is maybe more realistic. I think however the weather companies resolve the location at their end to look then for the nearest available weather station in their DB. But for a weather widget you simply need coarse location, which either is provided through Gapps or microG.
[Moto G 2015 Android Development] ttocs99:
Just got xposed set up systemly which now my device is better than before.
[Moto G 2015 Android Development] MSe1969:
Hi all,

although the October ASB are out already, I won't be able this time to take care before mid of this month.

The good side is that the next build will have some further new things, such as e.g. Webview update.

Regards, M.
[Moto G 2015 Android Development] ttocs99:
Thanks
[Moto G 2015 Android Development] MSe1969:
New builds with October ASB available

Hi all,

new builds are up with October 2018 ASB patches:

A. Regular LineageOS 14.1 with OMS and microG patch

https://www.androidfilehost.com/?fid=11410932744536984343

B. Hardened build with pre-installed microG (w/o OMS)

https://www.androidfilehost.com/?fid=11410932744536984313

C. Hardened microG-build with OMS patch

https://www.androidfilehost.com/?fid=11410932744536984314

Features for all 3 builds:

Security String 2018-10-05

Android System Webview upgraded to 69.0.3497.109

V8 Java Script engine taken from AOSP Oreo branch

Additional features in above builds B. and C. (microG pre-installed):

microG updated to 0.2.6

Menu entry for microG in Settings app

Dialer: Removed Google as forward lookup agent

Settings: Option in Network => Datausage to switch off Captive portal detection

Regards, M.
[Moto G 2015 Android Development] :
sorry for noob question but how do i use this rom properly? i wanna have my contacts from google play store working etc but no google services
[Moto G 2015 Android Development] MSe1969:
It depends, what your intention is:

Either,

you would like to continue using contacts synchronization to Google all the time. In that case, you will have to continue using Google services. That means, build variant A is for you and you would need to flash Gapps. Unfortunately, contacts synchronization with Google requires Google Play services. (However, Google is by far not the only option to synchronize your address book, see next option)

Or,

you would like to stop using Google services. But before doing so, would like to save your contacts, so you have them available for use also without Google services. The phone book offers an option to export your entire address book into an .xml file on the internal memory or SD card of your phone, from where you can import them back into your phone book, if you e.g. doing a clean install of a microG build. If you wish to synchronize your contacts to a server, there are a couple of mail providers (e.g. mailbox.org, posteo.de, . . .) offering such a service, have a look at the app DAVDroid from the F-Droid store.

In case "contacts from google play store" is misleading and you mean "downloaded apps from the play store", have a look at an app called "Yalp" in F-Droid ;)
[Moto G 2015 Android Development] :
thx very much, about: i wanna have my contacts from google, play store working - i dont add a comma :) ... so microG is for what exactly? to app who need google service will working without this services? i really wanna understand this but im 42 ;) and wanna better rom then official LOS
[Moto G 2015 Android Development] MSe1969:
microG is explained here: https://microg.org - in a nutshell, it attempts to provide a basic functionality to make many apps, which would normally require Google services, to also work without them. It is for people (me included), who don't feel good about Google spying on you and having full control over your device. However, getting away from Google is less comfortable . . . (Not all apps requiring Google services will run with microG - especially complex games will not)

If you don't care and you are happy with Google, stay with it. This ROM has three variants:

A. Regular LineageOS 14.1 with patch for substratum theme engine

B. LineageOS 14.1 with pre-installed microG

C. LineageOS 14.1 with pre-installed microG and patch for substratum theme engine

"better rom then official LOS" always depends, what you want for yourself. E.g. if you are happy with Google and have no interest in substratum theme engine, this ROM is not for you, then it is better to download the official LineageOS. If you would like to get away from Google and still want to use some apps requiring Google services, this ROM is worth a try
[Moto G 2015 Android Development] :
I will read about microG thx, im looking for rom without gapps for sure but i dont know how handle it, but what i learning form U: yalp, other possibilities sync with contacts is possible, so i give and try this... and i have another Q, what about LineageOS for microG , i just found out this on your thread, what difference is this rom and that?
[Moto G 2015 Android Development] MSe1969:
Variant B of my build corresponds to 'LineageOS for microG', but my build has some additional security hardening features, as explained here, further - it has a smoother kernel.

On the other hand, the official 'LineageOS for microG' builds are signed, which is more secure, but you can't simply 'dirty flash' them, you must wipe your data first before installing.