yashsingh1/xdaforums huggingface dataset:
[Android Software Development] cristihan:
Google Cloud Messaging not working in last build for land

First of all, thank you for your great work ! I did a clean install of the lineage-15.1-20190808-microG-land build on my Xiaomi Redmi 3S (land) device. Google Cloud Messaging does not work in this build. Telegram, Signal, Whatsapp, Mapfactor Navigator have not registered in Google Cloud. To make it work I installed lineage-15.1-20190725-microG-land and updated via OTA to the 20190808 build. Does anyone have any idea what is the cause?
[Android Software Development] kurtn:
Device registration? Apps restored instead of fresh install from apk/ store?
[Android Software Development] rayman95:
Thanks to keeping our old device (hlte) alive.......:)
[Android Software Development] kurtn:
Thanks for https://download.lineage.microg.org/a3xelte/
[Android Software Development] ncorna:
Thank the LineageOS devs ;)
[Android Software Development] kurtn:
Could you please update prebuilt f-droid?
[Android Software Development] ncorna:
Uhm ok, but you can also update it directly on your phone, what's the difference?
[Android Software Development] kurtn:
I don't think there is a real difference in terms of functionality. It is kind of aesthetic question. A first time user may ask, what else is outdated in my fresh installed system?
[Android Software Development] ghty37:
Now that oneplus 7 pro is officially supported, when can we expect a release? Thanks again for the good work!

---------- Post added at 05:01 PM ---------- Previous post was at 04:14 PM ----------

Now that oneplus 7 pro is officially supported, when can we expect a release? Thanks again for the good work!
[Android Software Development] kurtn:
[MENTION=8701777]ncorna[/MENTION] guacamole should have been built today
[Android Software Development] Strel0ka:
Any news on Xiaomi builds? The official LOS developers continue to be silent about the whole DMCA takedown thing.
[Android Software Development] kurtn:
From telegram group:

LineageOS has temporarily stopped all builds for Xiaomi devices, due to*a DMCA claim filed against the proprietary blobs (closed-source components required for all phone functions to work) created by the Bejing-based*SenseTime. On Twitter, Lineage said the builds will be restored "once we've dealt with this."

Here's the full list of all affected devices:

Xiaomi Poco F1 (beryllium)

Xiaomi Mi 5s (capricorn)

Xiaomi Mi MIX 2 (chiron)

Xiaomi Mi 8 (dipper)

Xiaomi Mi 5 (gemini)

Xiaomi Mi Note 3 (jason)

Xiaomi Mi MIX (lithium)

Xiaomi Mi 5s Plus (natrium)

Xiaomi Mi MIX 2S (polaris)

Xiaomi Mi 6 (sagit)

Xiaomi Mi Note 2 (scorpio)

Xiaomi Mi A1 (tissot)

Xiaomi Redmi Note 7 Pro (violet)

Xiaomi Redmi 3S/3X (land)

Xiaomi Redmi Note 4 (mido)

Xiaomi Redmi 4(X) (santoni)
[Android Software Development] xianbaum:
Has anyone successfully installed LineageOS for microG on the ASUS Zenfone 6? Currently, TWRP cannot install LineageOS on the device, so in order to install LineageOS you must install through the LineageOS recovery. But when I try to install via recovery, I get "Zip verificaiton failed! Continue install?" Then I select "Yes", and then it fails to install with the error "kDownloadMetadataSignatureMismatch". System, data, and dalvik cache are wiped via TWRP. This happens on both the 08-20 build and the 08-27 build (I thought maybe the 08-27 build would fix this, so I tried again once the build was out). Is this because LOS / LOS for microG are signed with different keys, and the recovery expects the LOS key?
[Android Software Development] private.:
Hello, will there be a version for the 6t fajita now that it's official? Also would I be able to install the swipe libraries from nanodroid on it?
[Android Software Development] kurtn:
[MENTION=8701777]ncorna[/MENTION] fajita should have been built yesterday.

Yes, you can install nanodroid on this ROM.
[Android Software Development] private.:
Is there a download link? I looked in the website but it wasn't up.
[Android Software Development] kurtn:
Build errors. If you can build yourself, maybe you can help.
[Android Software Development] SuperJohnson:
Hi guys.

I like to install LineageOS on my phones, but never succeeded to make MicroG work on it. I just tried to install your cuustom Lineage version built with MicroG, and I have an issue.

- My phone :

* OnePlus5T A5010

* Last official firmware firmware_9.0.8_oneplus5t.zip

* Last unofficial TWRP twrp-3.3.1-1-20190713-codeworkx-dumpling

* Clean install (wipe everything before flashing a ROM)

- My issue :

* After installing lineage-16.0-20190826-microG-dumpling.zip, I can't explore my phone's file when connected to my PC. I'm on Ubuntu 18.04. The error says "libmtp error : could not get object handles."

* I tried a lot of things to make it work, installed a lot of linux packages on my computer, none worked. So I am unable to transfer files for now, and I'll have to use adb pull.

* With the regular LineageOS ROM "lineage-16.0-20190901-nightly-dumpling-signed.zip", I don't have this problem. I can see my files as usual.

Any idea? Maybe we'll just have to wait for the 20190901 update to be compiled by you?

Thanks by advance ;)

Issue edited :

I can't see, use or create any files in my own phone.... I guess it's related to the previous issue. So basically my phone is unusable :crying:

Issued edited again : SOLVED

I made TWRP format the data partition from ext4 to ext2 then ext2 to ext4 again, and now everything looks fine. Good job ;)
[Android Software Development] kurtn:
Seems to be device dependent. On S5 klte i have full access from a MX Linux computer. On A3 a3xelte everything works, except creating empty files.
[Android Software Development] fkam18:
Wonder if the microg-lineage ROM is available for guacamole (oneplus 7 pro)? Tried to look for it in this link but no avail.

https://download.lineage.microg.org/
[Android Software Development] SuperJohnson:
Maybe... In my case I had to format my data partition to ext2 then ext4 again. It's a workaround I found here. The system was not able to mount it for some reason. Now everything works fine, and I am finally free from Google :)
[Android Software Development] kurtn:
Did you restore data partition from a twrp backup after formatting?
[Android Software Development] linoux:
Problem to check the signature of the .zip

I downloaded lineage-16.0-20190902-microG-a5y17lte.zip and would like to verify the signature. I am on Debian 10 / Buster.

I installed python3-pip python3-rsa (4.0-2 ) and python3-pyasn1 (0.4.2-3) from Debian apt.

I downloaded update_verifier.py and lineageos4microg_pubkey.

When I run python3 update_verifier.py lineageos4microg_pubkey lineage-16.0-20190902-microG-a5y17lte.zip, the script aborts with the message :

File "update_verifier.py", line 7

<!DOCTYPE html>

^

SyntaxError: invalid syntax

Any idea, what I do wrong?

Thanks
[Android Software Development] kurtn:
V

Each advanced file manager like thunar should be able to calculate hashes

Or sha256sum if you prefer command line.
[Android Software Development] Aqq123:
You didn't download update_verifier.py but a HTML page showing you the source of this script. Download it again, properly, and it should work (on GitHub, right-click Raw and then Save as...).
[Android Software Development] guest4711:
It looks like either your script (update_verifier.py) or the file you will check is a web page (html file), not the required context.
[Android Software Development] SuperJohnson:
Nope. As I said, it was a clean install. Everything on this ROM was fresh.
[Android Software Development] linoux:
Oh ok, I did a mistake in downloading the script. With the right file, signature is now ok. Thanks
[Android Software Development] silverbluep:
I'm trying to do a docker build, because guacamole is reported to be failing to build. And I ran across this issue.
[Android Software Development] xrayd2:
Hi, does the built in system updater (under Settings --> System --> Advanced --> updater) pull the file from the Lineageos for Microg repository? or is it just the regular LineageOS (non Microg) site? There is no mention of MicroG, and when I look at the changelog info, it navigates to the non-microg site.

The reason I ask is because I just performed an update through this system updater, and I can no longer get working a patched version of google play installed to /system/priv-app, I get into a boot loop now. So I wonder if I've updated using the wrong LineageOS.
[Android Software Development] kurtn:
You updated the correct version. Probably there is a problem with your play store. You should wipe /system and flash the ROM manically. It's in data/lineageos_updates
[Android Software Development] Keule-Tm:
Nice typo ;)
[Android Software Development] xrayd2:
That fixed it. Thank you!
[Android Software Development] SuperJohnson:
Well.... I am using the LineageOS microG version and I am pretty satisfied...

I use F-Droid, Aurora for not opensource applications (as a GooglePlay proxy), and Magisk+Xposed for some things like an adblocker.

My last update went very well.

The only issue form me is... signal.

At the first launch, Signal told me that I was using microG, and for that he had to run a service in the background to keep my notifications working.

Now Signal is totally killing my battery. About 20-30% a day, almost without using it. Does somebody has the same issue, and an idea to handle this situation?

Thanks!
[Android Software Development] 4ronie4:
That's strange, for me, signal has always worked on lineage microg. Have you other apps that use gcm?
[Android Software Development] SuperJohnson:
No, I don't think so. But I have to specify that I choosed Signal as the default messaging app, even for texts. I also use Telegram, which is working well.

And of course, I don't use Google at all, so I didn't flash Gapps.
[Android Software Development] kurtn:
You can try to enable gcm. So signal has no reason to run a background service.

- deinstall signal

- in microG settings enable device registration and cloud messaging

- install signal
[Android Software Development] anonimou:
LineageOS is now building nightlies. Will LineageOS for microG restore the builds for Xiaomi devices too?
[Android Software Development] kurtn:
I don't see a successful build, yet.
[Android Software Development] SuperJohnson:
Thank you very much for your help but it doesn't change anything.

I uninstalled signal, activated Cloud messaging and device registration in microG, then reinstalled it.

After reinstalling, Signal keeps telling me this (See the screenshot, I translate it from French) :

In microG, I can see that no application is using Cloud messaging.

This time I didn't choose to do it, but I suppose I will have notifications issues.

Update :

For what I understood, it is not related to Gcm and Signal does not need to use it. I deactivated microG battery optimization. I'll check if my battery is better now. I think that if microG tries to optimize battery, Signal is worst trying to run his own service to balance that. I'll keep you in touch. ;)
[Android Software Development] kurtn:
Hmm. How can signal detect the absence of Google play service? The whole thing about signature spoofing is to make MicroG gsm core look like Google play services for all apps you install.

And there is a huge misunderstanding about battery optimisation: android operating system is continuously killing background processes in order to save power. The flag "disable battery optimisation" is a message to the operating system to please not kill my background process.
[Android Software Development] oF2pks:
[MENTION=7050182]MishaalRahman[/MENTION] , I couldn't find any related to SenseTime github dcma in xda/news (since these are best relevant info for device purchase...).

Apparently soon or later, Oppo Vivo Huawei could follow Xiaomi dcma (?) https://www.sensetime.com/en/Case/index/id/3.html : (in)definitely cons when purchasing.
[Android Software Development] scamish76:
I cannot find the build for this. Do you have a link for it?
[Android Software Development] kurtn:
Try omni ROM. It supports signature spoofing. Flash nanodroid microG and f-droid. Should give a similar setup.

Or this https://xdaforums.com/oneplus-7-pro/development/rom-lineageos-16-microg-support-t3960116
[Android Software Development] SuperJohnson:
Yeah I know...

Well i quit using Signal. The more I use it the more I tell myself this app is crappy.

In addition on my first issue, it is totally impossible to backup then restore messages. I am a 100% sure of my passphrase, and it keeps saying my passphrase is wrong, even between the exact same versions of the app. So I lost all my messages. I just uninstalled it.

Update

Same for the native SMS/MMS app and telegram.... I did'nt notice but I have no notifications anymore. I don't get it -_-

Any idea guys?
[Android Software Development] linoux:
Can't crypt the phone ....

I just installed TWRP, LineageOS microG and addonsu on a Samsung Galaxy A5.

Then rebooted, configured the external SDCard as adopted and tested microG : everything was perfect (except SafetyNet ... but it's an other story)

Then , I tried to crypt the phone. When I validate the request, after having entered a password (same as the pincode I defined for the lock screen), the Android robot appears for a few secs, then disappears and the lock menu appears. It can be unlocked as usual ... and the phone is not crypted.

Is there something I do wrong ? Is addonsu the problem? .....

Thanks

---------- Post added at 14:42 ---------- Previous post was at 14:39 ----------
[Android Software Development] kurtn:
Adopting SD and encrypting the device are the two things I avoid. I've seen too many errors related with.
[Android Software Development] SuperJohnson:
[MENTION=8031265]kurtn[/MENTION]

Nevermind, my issue is fixed. I needed to kill then restart every app that needed Gcm.

I can see many apps in microG Gcm now.

The only one that refuse to work is Signal, and I just won't use it anymore.

Thanks again for your precious help! ;)
[Android Software Development] _Melkiy_:
Google Pixel - lineage-16.0-20190905-microG-sailfish.zip - Signature Spoofing Checker - Disabled

How to fix?
[Android Software Development] kurtn:
This is no bug. It's a security feature. Not every shady app is allowed to spoof. Check microG settings self check.
[Android Software Development] _Melkiy_:
English is not native I use a translator. In MicroG settings "Signature spoofing support" there are three checkmarks, then it supports, but ... Installed Yalp Store - updates - Services Google Play - Application not installed (cannot install)

Installing a google store in /system - bootloop
[Android Software Development] kurtn:
Are you joking? You don't have Google play services installed. Only use yalp for updating apps that have been installed by yalp. MicroG components can be updated by f-droid.
[Android Software Development] _Melkiy_:
Ok, but how to install Google Store?
[Android Software Development] kurtn:
Really? Google? Why not use official lineageOS with GApps?

Ok, you can try a patched play store from nanodroid.
[Android Software Development] scaftogy:
build for fajita?

There still seems to be no build for fajita on the official download site.

I wanted to see what kind of build errors there might be and used the standard docker-lineage-cicd. This seems to have built successfully, no build errors.

Is there any other reason that there is no official build? Can/should I test something else?
[Android Software Development] silverbluep:
The docker image is very vanilla just by its own. How did you build it? Cause my build failed, and i have been trying to understand why.

Also, fajita and guacamole are in the same boat i believe. On reddit (https://www.reddit.com/r/MicroG/comments/cy5fts/comment/eyqi61z) someone reported issues with gps, as the rom has some new stuff going on that daes not play well with unifiednlp. If you have a successful build, i suggest you flash and check if everything is working.
[Android Software Development] scaftogy:
I built with the following command:

docker run \
-e "BRANCH_NAME=lineage-16.0" \
-e "DEVICE_LIST=fajita" \
-e "SIGN_BUILDS=true" \
-e "SIGNATURE_SPOOFING=restricted" \
-e "CUSTOM_PACKAGES=GmsCore GsfProxy FakeStore MozillaNlpBackend NominatimNlpBackend com.google.android.maps.jar FDroid FDroidPrivilegedExtension " \
-v "/LOS4mg/src:/srv/src" \
-v "/LOS4mg/zips:/srv/zips" \
-v "/LOS4mg/logs:/srv/logs" \
-v "/LOS4mg/cache:/srv/ccache" \
lineageos4microg/docker-lineage-cicd

That is adapted from the examples on github and I was hoping that would produce something close to the "standard" LineageOS for microg.

I flashed the resulting zip like you suggested. However, that seems to be a pretty plain LOS. It boots alright but there are no indications that microg is present.

How else should I build this to try to figure out where the problem is? How did you build?
[Android Software Development] kurtn:
Did you clean flash? What apps do you see?
[Android Software Development] scaftogy:
Yes, I wiped System, Cache and Data and even Internal Storage before flashing my zip.

The apps I see are:

AudioFx

Browser

Calculator

Calendar

Camera

Clock

Contacts

Email

Files

Gallery

Messaging

Music

Phone

Recorder

Settings

It really seems like plain LineageOS despite the CUSTOM_PACKAGES parameter when I built. I searched the build log for any messages related to Gms, Gsf or FDroid but there were none. Can anyone tell me what the standard parameters would be for an official Lineage for MicroG build?
[Android Software Development] cssr:
Did you include the manifest for the custom packages? If not you get plain Los.
[Android Software Development] scaftogy:
Thanks for that hint. That wasn't clear to me from the doc. Trying to build with a manifest custom_packages.xml now. I'll report.
[Android Software Development] la0pe0Ue:
About builts for Xiaomi devices

We know that Lineage OS builts for Xiaomi devices are coming back. I wonder whether LOS for MicroG will also come back soon?
[Android Software Development] Shobit Joura:
Yeah the came back today , will wait for microg builds to show up again:rolleyes:
[Android Software Development] kurtn:
Weekly builds have been started before xiaomi devices were re-added. I guess we will see them next week
[Android Software Development] pmdex:
Would it be possible to add a build for guacamole (OnePlus 7 Pro)?
[Android Software Development] scaftogy:
So that worked without problem. The build 20190917 was successful. I flashed the zip and microG and F-Droid were installed and working! I posted the settings above. Does anyone know if I built with some settings that are not the official standard or if there is another reason there is no official build?

On another note: The issue that WiFi (and fingerprint sensor) stops working seems to be caused by flashing TWRP. Before everything worked, after I flashed TWRP 3.3.1-1 these issues appeared. Guess I will have to deal with the LOS recovery. :(
[Android Software Development] guest4711:
There should be no dependency between. If there is one dependency something is really going wrong, e. g. use of uninitialized variables, dereferencing unset pointers or **** like that.

This statement is not valid for devices where the kernel used for your ROM is part of recovery, e.g. on i9100 (sammy SII).
[Android Software Development] silverbluep:
Is unifiedNLP working? How is the network location?
[Android Software Development] b8842dc0:
This is exciting. Hoping for a LOS for Microg build for fajita, soon. I'm running regular LOS on my fajita right now. I will say that I'm not having issues with WiFi and TWRP on regular LOS.
[Android Software Development] scaftogy:
I have not tested much but after enabling the Mozilla backend the microG self check says

UnifiedNlp provides location updates [checkmark]

. I also installed SatStat and that shows 2 locations on the map. As far as I understand that means 1 from GPS and 1 from UnifiedNlp (Mozilla backend).

Is there something else that people had trouble with previously and that I should test?
[Android Software Development] kurtn:
You are right with SatStat. If you hit the threedot menu, you will find a legend.

You can try safety net, but i think it's still broken.

Google cloud messaging is always an interesting item to test.
[Android Software Development] JamesKinds:
Hi,

Does anyone know when beryllium (Pocophone F1) will start updating on LineageOS with Microg? It's been available on standard LineageOS for a week, starting on 18-09-2109.

I know that "ETA" questions are usually frowned upon, however I am simply asking to find out if there is anything that we can do to assist getting the recently removed Xiaomi devices (including beryllium) back onto the LineageOS with Microg build roster.

Thanks in advance,

jK
[Android Software Development] lemmeinyo:
Thanks to the devs for this :) I finally got around to installing it last night. A few things I'm having problems with, and can't find answers to:

1. GCM issues, in particular with Signal. I installed the ROM, did the checks, turned on everything, rebooted and then installed Signal. No luck with GCM.

2. Play Store. My last ROM was running with microg and a patched Play Store. I can't get same to install on this ROM. I'm signed into Aurora, which works for the most part, but specifically Titanium Backup cannot verify my license. Is there a way to replace the bundled play store with a patched one?

3. Probably related to (2), but I would like to use smart unlock to keep phone unlocked around specific bluetooth devices. Alternate possibilities?

Other than the above, everything is running great for me! Looking forward to the OTA's and using this ROM for a long time :good:

I am using a 'mata' phone, and latest (Sep 19th) build of this ROM.
[Android Software Development] JamesKinds:
1. Unless you have other apps that rely on CGM, Signal will work fine without it. The trade off is that the app will run in the background all the time which can increase battery usage. Depending on your phone this may or may not be an issue.

2. Contact the devs for Titanium backup and explain the situation. They should be willing to provide you with a license file which can then unlock all of Titanium Backups functions without needing access to the play store. You can even download the APK from the dev's site if you don't want to use the playstore at all.

3. Can't help you here as I don't use this myself, but I'm surprised if this is not backed into Bluetooth on LineageOS.

Best of luck
[Android Software Development] kurtn:
There is no bundled play store. You possibly see a remaining of an incompletely wiped GApps installation?
[Android Software Development] lemmeinyo:
Sorry, by bundled, I just meant 'phonesky'. I assume that's what I would need to replace with (for example the nanolx patched play store). I am on a completely fresh install of this ROM (lineageosmicrog). I have not flashed any GApps package on this device. The only google app I have installed is Maps, and I installed that from Aurora (logged in with my account).
[Android Software Development] kurtn:
Flash https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-setupwizard-22.4.20190811.zip select playstore only. Flash https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-microG-22.4.20190811.zip add f-droid repo

Or shadow53's standalone playstore
[Android Software Development] lemmeinyo:
I did try flashing shadow53's patched playstore, since i've used it in the past. Unfortunately it failed to install. I also added the nanolx fdroid repo, which showed my playstore as being updateable, but this also failed. I will look into flashing the the playstore from your first link though, thanks.
[Android Software Development] la0pe0Ue:
I am also waiting for a Xiaomi device. It seems to me that up until now, no build for Xiaomi devices is updated. The problem is that we don't know where situates the build log, so that we can analyze to see whether there is a possible misconfiguration.