yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Shadow53:
GsfProxy could go in /system/priv-app, however AFAIK there is nothing gained by putting it there.
[Android Software Development] :
LineageOS+microG builds delayed by a week or a day?

Out of curiosity, are the LineageOS+microG builds delayed by a week or a day?

In other words, is lineage-15.1-20180306-microG-bullhead.zip built from lineage-15.1-20180226-nightly-bullhead-signed.zip or lineage-15.1-20180305-nightly-bullhead-signed.zip

Below is a list of builds for my device (Nexus 5X)

LineageOS + microG

ar-zip lineage-15.1-20180306-microG-bullhead.zip 2018-03-06 10:19 475.1 MB

ar-zip lineage-15.1-20180312-microG-bullhead.zip 2018-03-11 19:46 475.6 MB

LineageOS

nightly	15.1	lineage-15.1-20180312-nightly-bullhead-signed.zip

nightly	15.1	lineage-15.1-20180305-nightly-bullhead-signed.zip

nightly	15.1	lineage-15.1-20180226-nightly-bullhead-signed.zip

experimental	15.1	lineage-15.1-20180225-experimental-bullhead-signed.zip

Thanks!
[Android Software Development] d1n0x:
No, they are the same as the LOS releases (scheduled weekly). So the 03/12 version is the 03/12 version. The cheeseburger build was released a few hours earlier than the official version, so there is one commit or so missing (no big deal, since it will be included in the next one)
[Android Software Development] ncorna:
ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION are not privileged permissions (they are "dangerous"), so they don't have to be listed in etc/permissions/privapp-permissions-*.xml, instead they can be given by the user through the popup window or in the permissions screen (in Settings). However, just to be sure, I'm re-checking all the required privileged permissions.

Can you provide a logcat of the crash?

GsfProxy doesn't require any privileged permission (its permission are marked "normal" and "signature"), so it doesn't have to be put under priv-app.

Everyday at 00:00 UTC we fetch the sources and start the builds, downloading the LineageOS device list from https://github.com/LineageOS/hudson/blob/master/lineage-build-targets, so lineage-15.1-20180306-microG-bullhead.zip and 15.1-20180226-nightly-bullhead-signed.zip are built starting from the same sources (excluding the commits pushed in the hours between the two builds).
[Android Software Development] Hetzer'93:
I've checked my Settings and without the Xposed Module I'm not able to assign Location-permissions in the Settings. With Xposed they seem to be requested and the option is aviable.
[Android Software Development] ncorna:
That's strange, GmsCore requires it and on my thea (14.1) I have the "Location" permission in the app permission screen.
[Android Software Development] starryin:
I see a patch in this build solving "systemui crash" but it is in lineageos code base.
[Android Software Development] ncorna:
On cheeseburger 15.1 (where everything works) the location is present in the permissions screen.

Can you try to give the permission manually through an adb shell?

adb shell pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
adb shell pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
[Android Software Development] d0s1s:
1. GSM has no location permissions on screen (in Settings), this is the problem. We need to review ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION (o.k. that they don't have to be listed in etc/permissions/privapp-permissions-*.xml but something is missing with those permissions with GSM in Oreo build). I am using Oneplus 3T.

adb shell pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION

Operation not allowed: java.lang.SecurityException: Cannot grant system fixed permission android.permission.ACCESS_FINE_LOCATION for package com.google.android.gms

adb shell pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION

Operation not allowed: java.lang.SecurityException: Cannot grant system fixed permission android.permission.ACCESS_COARSE_LOCATION for package com.google.android.gms

2. Attached log of system ui crash. (Settings>Security & Privacy>Location crash).

pastebin.com/bz5L4ar0

Best regards
[Android Software Development] NadavCE:
Hi all. I'd like to try building for Mata (Essential PH-1). Is setting up a local manifest like here, adding a custom_packages.xml, and running the following:

docker run \
-e "BRANCH_NAME=lineage-15.1" \
-e "DEVICE_LIST=mata" \
-e "SIGN_BUILDS=true" \
-e "SIGNATURE_SPOOFING=restricted" \
-e "CUSTOM_PACKAGES=GmsCore GsfProxy FakeStore MozillaNlpBackend NominatimNlpBackend com.google.android.maps.jar FDroid FDroidPrivilegedExtension " \
-e "INCLUDE_PROPRIETARY=false" \
-v "/home/user/lineage:/srv/src" \
-v "/home/user/zips:/srv/zips" \
-v "/home/user/logs:/srv/logs" \
-v "/home/user/cache:/srv/ccache" \
-v "/home/user/keys:/srv/keys" \
-v "/home/user/manifests:/srv/local_manifests" \
lineageos4microg/docker-lineage-cicd

all there is to it?

Thanks in advance.

Edit: I tried running this, but it errors out. This is all the output I get:

Set cache size limit to 50.0 GB
>> [Tue Mar 13 17:18:06 UTC 2018] Branch: lineage-15.1
>> [Tue Mar 13 17:18:06 UTC 2018] Devices: mata
>> [Tue Mar 13 17:18:06 UTC 2018] (Re)initializing branch repository
>> [Tue Mar 13 17:18:16 UTC 2018] Copying '/srv/local_manifests/*.xml' to '.repo/local_manifests/'
>> [Tue Mar 13 17:18:16 UTC 2018] Syncing branch repository
sed: can't read build/core/version_defaults.mk: No such file or directory
sed: can't read build/core/version_defaults.mk: No such file or directory
/root/build.sh: line 142: [: : integer expression expected
>> [Tue Mar 13 17:39:12 UTC 2018] Missing "vendor/cm", aborting

How can I solve this? Thanks again
[Android Software Development] ncorna:
Open an issue on docker-lineage-cicd, it's easier to discuss there.
[Android Software Development] dimqua:
ncorna, are you aware about any service (free or trial preferably) that I can use to create a build of LOS using your docker microservice? I just do not have so much resources.
[Android Software Development] ncorna:
I highly doubt there's someone who's willing to give you so much resources for free... You can however rent a powerful server for 2/3 hours (which should be enough for the download of the sources and build). For example:

8 dedicated x86 cores, 32 GB of RAM, ~0.05 €/hour on Scaleway (C2L)

8 vCPUs, 32 GB of RAM, ~0.24 $/hour on DigitalOcean (VPS)

If you're a student there's also the GitHub Student Developer Pack, which includes 50 $ of free credit on DigitalOcean, unlimited builds ;)
[Android Software Development] NadavCE:
Thanks, opened.
[Android Software Development] klaus-hamburg:
Are "Project Fi" and Gapps mentioned here:

https://www.reddit.com/r/LineageOS/comments/83wqdp/project_fi_and_gapps_inside_lineageos/

in "LineageOS for microg" removed?
[Android Software Development] Lanchon:
i dont think l4m does per-device customization. see the "remove-fi-signed.zip" on your linked page for a workaround.
[Android Software Development] Hetzer'93:
I've tried to assign all permissions with an edited permission.xml but it didn't succeed.

I guess lineage does't bind Gms as an location provider... But I don't know how to check if I'm right...
[Android Software Development] Shadow53:
Is it possible there is another app that's bound as location provider that is causing issues? This happened in tge past with com.qualcomm.location. Maybe it found its way into the ROM or another app is causing the problem...
[Android Software Development] Hetzer'93:
I figuered out that for the Oneplus3 and the 3t com.qualcomm.location is set as the location provider. And since config_enableNetworkLocationOverlay is set to false it is not possible for microg to bind an other location provider even if the qualcomm package is removed. Therefor I requested to change the config variable in the devices lineage thread.
[Android Software Development] ncorna:
Good job finding the issue! Unfortunately it seems that also other devices have config_enableNetworkLocationOverlay=false; of the currently supported devices we have:

addison

nx512j

oneplus3 (starting from lineage-15.1)

I should probably add an external overlay to override these device-specific problems.
[Android Software Development] ReekyMarko:
Any idea how long could it take to get this merged into this rom, or mainline lineage? I would hate to switch to another rom having just switched to this one. Or can I make the change directly on my device?
[Android Software Development] Hetzer'93:
Unfortunatly not since this must be done by the rom maintainer.

But I guess the better and cleaner solution will be to create an overlay app to switch the values of

- config_enableNetworkLocationOverlay

- config_enableFusedLocationOverlay

to 'true' and the string of

- config_networkLocationProviderPackageName

- config_fusedLocationProviderPackageName

to 'com.google.android.gms'.

To create such an overlay and include it in the costumization of this ROM will solve the problem for other devices as well.
[Android Software Development] ncorna:
Overlay created, I'll build a test zip this evening; is there anyone here available to test it? PM me if so
[Android Software Development] gh0st85:
Is it possible to add Lenovo P2?

https://wiki.lineageos.org/devices/kuntao
[Android Software Development] Hetzer'93:
Since I couldn't add screenshots in a PM. Here is the result with the overlay.
[Android Software Development] ncorna:
It has been already built, however we're experiencing minor issues with the archive server, so it hasn't been uploaded yet to https://download.lineage.microg.org/. It will appear soon

Wonderful! I'm going to make sure the overlay doesn't interact with the other builds and then I'll merge everything upstream.

Thanks for the test!
[Android Software Development] gh0st85:
Thank you!
[Android Software Development] d0s1s:
Hi

until then, is it possible to share the fix (the zip)?..

Thanks in advance!

Best regards.
[Android Software Development] ReekyMarko:
Ditto!
[Android Software Development] ncorna:
I've built that zip manually, "official" automated builds will appear on Monday.
[Android Software Development] shailuk301:
Great....

Eagerly waiting for the lenovo p2 device to get added in your list..

Nice work for lineage lovers ??✌
[Android Software Development] emacsomancer:
Lineage updated the klte build 3 days ago (including a security patch); I haven't found any corresponding microG update, at least in the auto updater.
[Android Software Development] maybeme2:
I'm a long time user of stock 6.0.1 on a rooted nexus 5 but I've had it with Google's terrible battery consumption (despite using autoruns, Greenify, etc) and privacy issues (despite using Xprivacy, Afwall, etc.). So I took the plunge and installed lineage 14.1 for MicroG. However I'm now wondering if that means I have to give up the apps I'm accustomed to using from the Play Store and use alternatives instead. So I have a few newbie questions I could not find answers for:

1. If I now install "Google Play" to get my usual apps, do I lose the battery and privacy benefits of going lineage Gapps free? I'm confused about this.

2. Some of the Google Play apps I miss are

Titanium Backup Pro

Nova launcher pro

Root Explorer

X widget

Xposed framework

aCalendar

SwiftKey keyboard

Brother iPrint&Scan

JotterPad

etc

**or do I need to use alternative apps?

3. How much battery life do I save by using MicroG instead of Google Services?

4. What do I lose if I install Google Play?

5. Finally, how do I root in lineage 14.1 for MicroG? The bootloader is unlocked but I need a SuperSu compatible with lineage 14.1 for MicroG.

Thank you for any answers and guidance.
[Android Software Development] Shadow53:
1. You will lose some but not all battery and privacy benefits, since you are using a Google application, but microG also strips out a lot of unnecessary information that would otherwise be sent by the Play Store.

2. I would personally recommend trying not to use apps that require the Play Store to be installed. Some of those for privacy reasons, some just because you need the Play Store. Note that it's possible to get a license text file for Titanium Backup that sits at /sdcard/ instead of installing the Pro app.

3. Quite a bit. The actual amount depends on how you use your phone.

4. See #1

5. Use the standard Lineage su addon. This is a slightly modified Lineage to include microG, everything else is stock Lineage.

See also:

https://shadow53.com/android/downloads/microg/#google-play-store-standalone

https://shadow53.com/android/downloads/no-gapps/

https://shadow53.com/android/no-gapps/setup-guide/2/#option-2-1-the-google-play-store-microg

https://shadow53.com/android/no-gapps/faq/can-i-use-the-official-play-store-with-microg/

https://shadow53.com/android/no-gapps/faq/playstore-not-loading/

(I've put together documentation for using the Play Store with microG, plus provide standalone Play Store zips)
[Android Software Development] ncorna:
Fixed the issues with the downloads server, all builds uploaded.

I also add:

1. You can't install Google Play (services/services framework/store), their signatures (names) are already taken by the microG reimplementations. You can however use Yalp Store or Playmaker to get the apps from the Play Store.

2. Most of the apps will work just fine with microG, however you're losing some privacy benefits. Note that there's often a valid alternative on FDroid.
[Android Software Development] Shadow53:
Slight correction to (1): If the linked Play Store zip is flashed, it should automatically remove the microG shim for the Play Store, so it *will* work if installed that way. Otherwise yes, if you try to install the Play Store using the apk, you will have issues.
[Android Software Development] ncorna:
Valid point ;)
[Android Software Development] maybeme2:
Thank you all for your help.

Sadly,I am now facing a more basic problem! I booted into twrp recovery and installed addonsu-14.1-arm-signed.zip and then rebooted into system. But I am still not rooted..... :(

It's been a while and I probably missed a step somewhere. What did I do wrong?
[Android Software Development] kurtn:
It's not a microG issue, but normal lineageOS handling. You should search there. Short tip: developer options.
[Android Software Development] maybeme2:
Quite a tip. Thank you. I don't recall having to allow root before. That did it.

Much appreciated.
[Android Software Development] 4ronie4:
Hi, is it possible to update from 14.1 to 15.1 version of this rom without wiping data?
[Android Software Development] kurtn:
This is 99.9% lineageOS. The procedure is described in blog changelog 16.
[Android Software Development] peter-k:
On my device microG Service Core and Framework are not even listed under the apps consuming power, so it's minuscule. Take the difference from 0 to what your Gapps are using now, then you know roughly. Note, for some apps where Gapps regularly knocks at the door for reporting user data back home, for example Geolocation related, the battery usage is counted towards the app not to Gapps.
[Android Software Development] ReekyMarko:
Today's weekly fixed the location issue for me on my OP3T. Very nice work devs!
[Android Software Development] fixios:
Same here. Thanks a lot!
[Android Software Development] d1n0x:
I flashed a custom kernel (Flash Kernel for Oneplus 5) and the option to toggle the navbar has disappeared from the button settings.

I asked the dev and he said maybe the MicroG build is using an outdated device tree? Can someone elaborate?
[Android Software Development] Shadow53:
Lineage for microG builds from the current sources for the device at the time of building, so it would have to be Lineage that has the outdated tree. Unless you can demonstrate that the issue doesn't happen with "normal" Lineage, it probably has nothing to do with the microG build.
[Android Software Development] d1n0x:
Thanks for the quick answer. As described in the other thread, this used to happen on stock LOS but was later fixed. It doesn't happen on a stock build, so it must have something to do with the kernel.
[Android Software Development] maybeme2:
I'm new to lineagos 14.1 with micro-G and need to ask some questions but don't want to ask in the wrong forum out of ignorance. Where should I ask?

Lineage installed and is working fine with xposed and several modules installed. However I'm finding it difficult to find alternative apps for those I got from the play store. So I decided to install the play store to get going. I followed the excellent instructions at

https://shadow53.com/android/no-gapps/faq/can-i-use-the-official-play-store-with-microg/

and installed the patched version from

https://shadow53.com/android/downloads/microg/

It installed fine but when I opened the play store and signed in I get

"Error retrieving information from server (RH-01)"

and can't get past it.

So I'm stuck and don't know how to proceed. Is here the right place to ask for help? If not could you tell me which forum to use? Thank you.
[Android Software Development] Shadow53:
https://shadow53.com/android/no-gapps/faq/playstore-not-loading/ has the solution:

Make sure you have microG set up completely, including device registration and Google Cloud Messaging enabled. Then close out of the Play Store completely remove from recents) and open it up again. Some users have reported that clearing Play Store's data/cache fixes the issue, too.
[Android Software Development] azhark193:
Where can i download Lineage 15.1 MicroG for Redmi 2 (Wt88047)

Plz help me
[Android Software Development] d1n0x:
No official support = no uG support.
[Android Software Development] mumapizza:
build 03.19 location working
[Android Software Development] maybeme2:
Ah! I read the faq but didn't remember that. Too many new things for me to remember at my age. Sorry to have wasted your time. Also I assumed that because I used the patched version it didn't apply. I was scared to do something that would mess things up good.

This is the first time I've installed a non-stock rom. I really appreciate all your generous help.
[Android Software Development] joe890:
License-Verification

Hello forum

Will Apps which do require license-verification (com.android.vending.CHECK_LICENSE) still run under under LineageOS for microG?

(i did pay my apps directly in Goggle Play Store(accessed via web-browser) an did download them with an APK-downloader)

Thank you very much for any feedback!

Joe
[Android Software Development] Shadow53:
You will need to install the official Play Store, which works with microG. See the previous page or so of posts for links relating to that.
[Android Software Development] sparkster666:
What makes LineageOS official? any chance the pixel xl will ever be supported?
[Android Software Development] maybeme2:
I rooted my lineageos 14.1 with MicroG using lineageos addonSu but addonSu is not in the app list so I can see its logs. How do I access it?

When an app requests root access I currently get a popup by Privacy Guard but that is not in the app list either.

How do I access either one and their settings?
[Android Software Development] guest4711:
settings -- apps -- three dots menu -- show system
[Android Software Development] maybeme2:
Thank you.

Did that and rebooted but still nothing in the task bar app list on the homepage. Or in the settings app list.

Maybe I'm looking for the wrong name?
[Android Software Development] Shadow53:
Root settings are in the developer options menu, not a separate app. Just below the options for allowing apps or adb to have root.
[Android Software Development] kurtn:
Deleted
[Android Software Development] rayman95:
I can't dirty flash the last version,stuck on lineage logo moving....can you check from your part if problem...

otherwise any news for LA15.1?? Samsung galaxy Note 3 (hlte)

I forget to say that md5 is correct....and I uninstall dark theme and magisk with uninstaller and reboot recovery...

thank's...
[Android Software Development] maybeme2:
Just wanted to say kudos and thanks to everyone involved. 14.1 works great on my old nexus 5 phone. Thanks to all including the gracious help that got me going.

I wish I could help with the development but don't have the skills to do it. Where can I donate to help the effort?
[Android Software Development] maybeme2:
Quick question.

As I move from a rooted nexus 5 with stock 6.0.1 to a different rooted nexus 5 with LineageOS 14.1 can I restore apps and or data from a titanium backup pro made on the marshmallow phone?

It would save me a lot of time if it was safe to do so. Thanks.

Obviously not the backed up system apps! I mean the installed user apps.
[Android Software Development] ncorna:
You can donate to the microG project if you want, see on the top of our homepage.

No idea, but it should be easy to verify it.
[Android Software Development] maybeme2:
HiOK, I hit a problem I can't solve with the installed patched playstore. It was running fine and I downloaded and installed several apps I used to use before lineageos 14.1. All was well until suddenly the play store (patched version) suddenly would not show anything when I clicked on "my apps or games" or if I searched for an app by name. It just showed the revolving circle. Otherwise, it opens up with the usual suggestions.

Previously it had worked fine including after several reboots. I thought of 2 things I did that might be possible causes:

1. I installed Chrome (which I rarely use) but denied it access to my Google account. I uninstalled Chrome but that didn't change the play store connection problem.

2. I used tibu to restore data (from marshmallow backup) on already installed apps. No system apps of course. Fortunately I had made a nandroid backup before doing this. So I restored that nandroid but that didn't solve the Google play store problem.

Wifi connection is fine. I'm using it to send this message.

I searched the web and didn't find something pertinent.

Any suggestions?

---------- Post added at 04:22 PM ---------- Previous post was at 04:21 PM ----------

Will do. Thanks.

Additional information:

GravityBox unlocker sends a popup saying "cannot access Google licensing...."

Suggests where the problem lies but I don't know how to fix it. Firewall and xprivacy are not blocking these apps.

**FINAL

Suddenly, play store is back to working correctly!

This is really weird.
[Android Software Development] kurtn:
Looks like play store is not a stable solution with microg. Either work with yalp store or install GApps. Here is a decent setup.
[Android Software Development] l3arahir:
Hi,

Has lineage-os-for-microg 15.1 the same signature as lineage-os-for-microg 14.1, or do I need to use the migration key process described on the website? If so, do I still need to remove FDroid and the likes before doing so?

On another note, someone who asked about the necessity of wiping one's data when upgrading from 14.1 to 15.1 was answered on this thread that lineage-os-for-microg was 99.9% LineageOS and that one should therefore follow the instructions in Lineage's blog post 16. That was quite unclear: this very blog post gives two sets of instructions, one for the official build and one for unofficial ones. Is being 99.9% LineageOS enough for lineage-os-for-microg to allow the user to follow the set of instructions for the official build?
[Android Software Development] 4ronie4:
Yess, you can follow the instructions for the official build as I did for gemini. I wiped only /system and all the things related to the update worked well.

The unoffocial build instructions says that also wiping /data is necessary because /data migration tasks are not sure to success. But on the other hand, lineage-for-microg doesn't modify elements of the system that can cause /data migration to fail. I think.

EDIT: besides of that, it is very highly recommended to do a full backup, to restore it if something wents wrong during the update.