yashsingh1/xdaforums huggingface dataset:
[Android Software Development] dfpub:
TLDR: you need to reset to OxygenOS with the Oneplus MSM tool, update to the latest Oxygen update (android 11 to 12), and then install Lineage 19.1

Lineage did not write a way to upgrade from 18.1 to 19.1 and expect you to reset your phone to the factory OS and use the OEM update solution to update between major android versions. I tried to manually update it, but bricked the phone. Thankfully, Oneplus phones let you completely reset bricked phones using the MSM tool. I would strongly recommend that you watch a couple tutorials before doing this. You can also use a backup if you happened to make one. It is worth noting, I did this on a Oneplus 8t.
[Android Software Development] kurtn:
LineageOS did not write that?

Upgrade LineageOS on instantnoodlep | LineageOS Wiki

wiki.lineageos.org
[Android Software Development] dfpub:
It is interesting that this upgrade page does NOT specify the same requirement as the oneplus 8t that the correct major version of android is required: https://wiki.lineageos.org/devices/kebab/upgrade

"Warning: Before following these instructions please ensure that the device is currently using Android 12 firmware"

I am guessing that the author just forgot to add the needed warning message about being on the correct android major version

They do provide a manual android firmware update process ... but it failed for me and I think letting OxygenOS do it for you is a much easier anyway.
[Android Software Development] petefoth:
I'm trying to make an 18.1 build but I get this build error

FAILED: ninja: 'out/target/common/obj/JAVA_LIBRARIES/androidx.window.extensions_intermediates/javalib.jar', needed by 'out/target/product/z3/obj/APPS/GmsCore_intermediates/dexpreopt.zip', missing and no known rule to make it
06:45:41 ninja failed with: exit status 1

This has been reported in this comment to issue #13 in `android_vendor_partner_gms` Any ideas how to fix or work around?
[Android Software Development] petefoth:
The cause of the problem is found: changes made to allow 19.1 builds to succeed have broken 18.1 builds.

Now to try to workout how to fix it so both can succeed :)
[Android Software Development] heinhuiz:
Check https://download.lineageos.org/xz2c
[Android Software Development] kurtn:
How should that repair your device? And it is not bricked, if you still can boot recovery.
[Android Software Development] CalYorBro:
Just installed the 19/12/2022 update with the new recovery, however now my phone keeps freezing and then crashing a few seconds after boot. I have no idea what the problem is or how to troubleshoot. ADB is connected and allowed so I should have no problem there.
[Android Software Development] CalYorBro:
It seems like waiting a bit with the screen of has fixed it, but I restart a lot when things break so if this keeps happening any fix would be appreciated
[Android Software Development] CalYorBro:
Update: I had to restart to regain root after the update and it happened again. The phone does not seem to crash since I don't have to retype my sim pin code and it just restarts on its own. When I log in everything works for about 5-10 seconds and then it becomes unresponsive and after a few more seconds I get the lineageOS bootscreen and then lock screen. This repeats every time I log in. My fix for now has been to change my live wallpaper to a static one and to turn of the always on display and to let it sit a bit at boot.

My phone is a Oneplus 7T (hotdogb) running the latest version of lineageOS for MicroG (19.1 - 20221219).

It only seems to happen on restart so I think the phone just isn't starting correctly.

I am going to try to reflash both recovery slots now to see if that works
[Android Software Development] kurtn:
Update firmware on hotdogb | LineageOS Wiki

wiki.lineageos.org
[Android Software Development] CalYorBro:
That says to download the original firmware? I want to keep lineageOS. Also the version that Oneplus provides is not up to date at all and it is android 11. Newest hotdogb lineageOS is android 12
[Android Software Development] oneplusakias:
Hello!

Anyone knows when lineage for microg-20 will be released? Lineageos 20 is already out.

How mutch time it usually takes to cach up?

Sorry for all the questions but i really need to know as soon as possible.
[Android Software Development] Demodroid:
The proprietary blobs repo is broken and causing build issues, so not today.
[Android Software Development] kurtn:
First releases are from January 17 @Demodroid

akatsuki
[Android Software Development] gnarf49:
Hi experts,

I tried to build lineageos4microg v20.0 myself as per

GitHub - lineageos4microg/docker-lineage-cicd: Docker microservice for LineageOS Continuous Integration and Continous Deployment

Docker microservice for LineageOS Continuous Integration and Continous Deployment - lineageos4microg/docker-lineage-cicd

github.com

with the docker provided for Galaxy Tab 5e/gts4lvwifi, worked perfectly fine, but only without including MicroG and FDroid as system apps. Building with them included fails with error:

error: mismatch in the <uses-library> tags between the build system and the manifest:

- required libraries in build system: [com.android.location.provider]

vs. in the manifest: [com.android.location.provider]

- optional libraries in build system: [androidx.window.extensions, androidx.window.sidecar]

vs. in the manifest: [org.apache.http.legacy, androidx.window.extensions, androidx.window.sidecar]

- tags in the manifest (vendor/partner_gms/GmsCore/GmsCore.apk):

uses-library-not-required:'org.apache.http.legacy' uses-library:'com.android.location.provider' uses-library-not-required:'androidx.window.extensions' uses-library-not-required:'androidx.window.sidecar'

I added the xml as instructed into /home/user/manifests, but that seems to be not enough(?). Is there some more to do?

The instruction says "To include microG (or possibly the actual Google Mobile Services) in your build, LineageOS expects certain Makefiles in vendor/partner_gms and variable WITH_GMS set to true."

All I did was set the WITH_GMS, but I could not find any details on these certain makefiles.

Any advice is greatly appreciated.

Thanks,

Georg
[Android Software Development] heinhuiz:
Have you seen https://github.com/lineageos4microg/docker-lineage-cicd/issues/335? I think your issue is mentioned there, not sure if it is solved.
[Android Software Development] gnarf49:
Thanks for the hint! Seems the issue was fixed in the repo, today's build completed successfully.
[Android Software Development] kurtn:
Hui! Every two hours a New lineageOS 20 build. Like a clockwork
[Android Software Development] gnarf49:
Hi all,

I have a problem with MicroG and FDroid included as system apps in the LOS20 build. They say there is no network connectivity, MicroG on trying to register Google accound and FDroid on trying to update the catalog. I tested with my own build of gts4lvwifi and also the official one 20230125 of today.

I can't find a root cause or solution, and this is my only device with LOS20 currently so not sure if this is a device-specific issue. Network connection itself is good, other apps are ok. With the official LOS19 I did not have this problem.

Has anyone observed the same or can confirm things are working ok?

Thanks,

Georg
[Android Software Development] kurtn:
Did you try the usual repair things? Deleting app data, factory reset, installing older versions?
[Android Software Development] gnarf49:
I tried delete app data, and both selfbuilt and official version. I did not do factory reset, that would mean some work I want to avoid. I'm building a version without embedded MicroG stuff now and will check what happens with FDroid installed as normal app instead of system app.

Edit: FDroid as standard non-system app does not have this issue and behaves normally.
[Android Software Development] Online.nido:
Hello,

I experienced automatic Factory reset when rebooting after switching on desktop mode in developer options.

The problem occurs on Samsung galaxy tab s5e (gts4lvwifi) running Lineage 20 with micrG. Please note that on Lineage 19.1 there was no problem. I

'm used to Samsung Dex, so after migrating from Lineage 19.1 to 20, I connected the USB-C hub with a screen, mouse and keyboard and turned on developer options and switched ON desktop mode. I was asked to reboot but the tablet rebooted into initial setup as if there was a factory reset. All my data and apps were deleted. I set up my tablet and tried again and got the same error once more. Here's the Lineage with microG version I used: https://download.lineage.microg.org/gts4lvwifi/lineage-20.0-20230125-microG-gts4lvwifi.zip

Lineage with microG site asks to report sduch bugs o Lineage directly. I reported the bug to Lineage but was rejected because I'm not using their build.

So where should I report it then?
[Android Software Development] kurtn:
First you should try to reproduce the bug with official lineageOS. Hurry up, the 19.1 will not stay long time on downloads server and maybe you need a version upgrade for reproducing.
[Android Software Development] kuga22:
I have lineage.microg 20 on Moto Edge 30. What is the best way to install Aurora Services? I tried sideloading the zip in recovery but this did not work.
[Android Software Development] kurtn:
Is aurora services still a thing? You have f-droid with privileged extension. And aurora store announced to stop support for services installation method.

But you can try various microG installers.
[Android Software Development] Online.nido:
Thank you for the advice but I can't afford it. I'm using this tablet on a daily basis and it took me two full days to reinstall every thing. (I tried adb backup but couldn't manage to restore apks nor apps data. built-in backup is limited also).
[Android Software Development] kuga22:
I think yes. It is still mentioned in the app.

F-Droid priviledged extension is great but you cannot install regular Apps from Playstore. e.g. Google maps.
[Android Software Development] Giblet535:
I installed the latest los4mg 20 on a Motorola Edge (racer), factory reset, set up microG account, and spoofing, set up F-Droid, and Aurora.

Paid apps behave the same as on Lineage ('make sure google play services is installed...') So, I built it using the Docker file with identical results (except no audio). This took days.

The spoofing is useful but I don't see what, if anything, microG accomplishes.

Thanks for all the work, but Google's suck factor is apparently limitless. Back to straight-up LOS.

Anyone know the Alphabet CIDRs? I need an iptables block on my firewall.
[Android Software Development] kurtn:
There is no such ting linke a microG account.

For many paid apps you need the original play store. The minmicrog project has a flashable patches play store.
[Android Software Development] Giblet535:
Thank you for replying.

Yes there is, if only by name. It is the first setting (below check microG installation) in the microG-Settings app. It appears to request a Google log in.

I'll look at the patched Play app, but I've had surprisingly good luck contacting app vendors and saying "I really like you app, and was happy to pay to use it, but I really despise Google and won't allow their software on any device I control. Can you help?"
[Android Software Development] HippoMan:
https://www.gstatic.com/ipranges/goog.json

https://www.gstatic.com/ipranges/cloud.json
[Android Software Development] Giblet535:
Thanks! That's a lovely ipset listing, that is.
[Android Software Development] neokragu:
If you are not using google contacts and sync probably you not required microG to install.

You said everything is working. Is it related to microG?
[Android Software Development] cherrygreg:
Ditto re patching in microg support for unofficial builds. The powers that be have been slow(er) to accept new builds now that they moved to Telegram. That Simon announced this long-awaited fork on XDA and is taking device requests from the unwashed masses is itself a testament to his awesome. Of course, it is not as simple as installing a "pack". There's a reason microG is such a pain in the ass to install in vanilla Lineage, signature spoofing being only part of it. But just in case, I'm using Moto G5 Plus (potter). :)
[Android Software Development] 23598685:
Hi would you please add support for find7a (find7)

Thanks
[Android Software Development] kurtn:
I See it the other way: if you are using Google contacts and sync you probably have "nothing to hide". So why not use open gapps?

I don't share my personal data with Google. But some apps think they need play services. So I use microG.
[Android Software Development] neokragu:
I want to check the battery efficiency of avoiding background services of heavy google play services. If I feel microG is better battery efficient then I will stick with it. Otherwise will switch to regular Google.
[Android Software Development] kurtn:
Sounds interesting. But it's not easy to get significant results. I hope you will share.
[Android Software Development] neokragu:
Sure, I will share my results. My question is, is it possible to make sync work? If I am unable to login then how the apps will work which ever relay with google play services.
[Android Software Development] CLPose:
Efficiency maybe, not privacy

Hi, [MENTION=4319715]neokragu[/MENTION] and [MENTION=8031265]kurtn[/MENTION]! I think we're traveling the same road and we may be going off topic. :eek: But in the last months/ years, I feel Google Play Services is not efficient at all and it's just killing phone's storage, RAM, and CPU (just like Facebook and many others crappy apps) :crying: And that's why I love a project like this one. A light-weight custom ROM like Lineage with a light-weight service like MicroG make the perfect combination for most "old" devices (8Gb ROM and 1Gb RAM) :highfive: But the big question is "what should we do to sync contacts and calendar with Google without Google Play Services" :confused: Of course Google has our information (and most probably we're not happy about that), :( but I think we're talking about efficiency, not privacy. Thanks! :good:
[Android Software Development] klaus-hamburg:
If we don't talk about privacy, why do we use MicroG instead of Gapps?
[Android Software Development] kurtn:
Whow go slow! Sound like different religions: privacy vs. efficiency. Read the OP: it's about FOSS. We should be able to understand and control what our machines do.
[Android Software Development] bonbonboi:
You haven't got answer for your question, because there are so many trolling people here, attacking everyone for no reason and messing up this forum.
[Android Software Development] cherrygreg:
Microg does the syncing for you.

Personally I advise you to ditch Google Cloud services alltogether. All your data not controlled by you (voluntarily or involuntarily) is a privacy concern and a security risk. To ditch Google's cloud services altogether you have a few options:

1. Use local storage and "synchronize" manually. Remember PIMs? I don't. But they still exist. For example, Mozilla lightning.

2. Export the google files and email them to yourself for "cloud-like" storage. Repeat after editing.

2. Use different cloud services. You can import your google contacts to Nextcloud or Owncloud, DAVDroid would make the transfer easier. I'd provide links but I don't have the permissions. Duckduckgo "import google contacts to Nextcloud".
[Android Software Development] prazola:
I can't verify my purchased apps with my mi4c+microg_lineage rom. Any suggestion? I have another device patched manually and everything works.
[Android Software Development] mark04:
I found that most of my paid apps would not run with Lineage+microG. Yalpstore worked fine to download apps I had purchased in the past, but that turned out not to be very useful, because those apps usually didn't pass their license checks when starting up. So I installed the official Play Store app as described here, deleted my paid apps, then re-installed them with the [patched] play store. Now they work fine, even after I disabled the play store app, so I'm hoping that this will have minimal privacy impact.

There is definitely confusion between fakestore, blankstore, and other historic alternatives. I believe the latest status is that fakestore is obsolete, blankstore is deprecated until it gets some more love, and there are no alternatives except for yalpstore, which lets you download apps but is not a play-store replacement as such. Reading through the old documentation, I did wonder if there might be a solution for licensed apps based around blankstore. Maybe someone else can comment?
[Android Software Development] southern-dust:
Hi, thanks for your work,

but I've got bootloop installed the rom.

My device is kltechnduo, seems as same as klteduos ,

and flash it with no error besides flash klte with an error(can not completely flash it, the line paused at 3/4)

I've did full wipe before flashing the rom.

could anyone help me?
[Android Software Development] viddaa:
m7

I would enjoy support for the m7 (HTC One m7 (GSM)). Can you please add it too? Best regards, viddaa
[Android Software Development] kurtn:
Did you ever install official LOS without open gapps? Procedure for microG LOS is the same.
[Android Software Development] aphirst:
[MENTION=4316015]Simon94[/MENTION] - I see you've now added klteduos to the list - amazing! I'm surprised yet delighted to see that happen so fast. In that event, I'll proceed with getting myself one of these devices and test it out as soon as I can. Thanks!
[Android Software Development] timenotpass:
Support for Xperia T (mint)

Could you also add build support for Sony Xperia T? It is officially supported by lineageOS.
[Android Software Development] confusionists:
I did install MicroG with latest CM13 snapshot, AFwall, Xposed and Xprivacy before. I am glad that now there is a complete LineageOS ROM with MicroG already included. I wonder which advantage I would have if I would install this even when I lose Xprivacy? Could you please tell me?What would you recommend me? Staying on my old CM13 System or should I upgrade to the newer LineageOS with MicroG? Everything's running well, so why should I change? Any suggestions?
[Android Software Development] HippoMan:
Yes, and since it's on line and apparently kept up to date, you could write an automated utility to periodically download it and feed ipset with it.
[Android Software Development] HippoMan:
It's because lots of people -- including me -- do not use LINE to "control their life".

There's a very big difference between wanting to communicate with friends in Asia who use LINE Messenger and having something like LINE control ones life. You know that's true.

I accept your apology for your poorly thought out statement.

I'm posting again about LINE Messenger here after a long hiatus from my original question about LINE nearly two years ago. During that time, has anyone been able to get LINE working under microG under lineageos?

I have tried to contact LINE corporation to ask if they would be willing to help me get LINE Messenger running under microG, and I'm willing to pay. But I couldn't get any responses. Perhaps does anyone happen to have found one or more contacts at LINE with whom I could discuss this?

Thank you in advance.
[Android Software Development] Giblet535:
I saw that! An easy cron job. Life seems less snooped upon.

Food tastes better w/o Google leering over my shoulder.
[Android Software Development] Aqq123:
Works for me, on 18.1 and 19.1 (text chat, notifications, audio & video calls).

As far as I know the only thing that doesn't work without a Google account is transferring chat history between devices, since stupidly it can be backed up to Google Drive (I think) but not to a local file. I guess it can probably be bypassed by copying the app data manually but I didn't bother trying.

Or do you have any specific functionality in mind like Line Pay? I don't use that.
[Android Software Development] HippoMan:
Thank you **very** much!

No, I don't use Line Pay, and so I'm now happy to know that I could use LINE Messenger with 18.1 or 19.1. And yes, I'll figure out a way to back up the LINE history.

PS: Oh, and I guess this means that I can't restore my current LINE history from my other, Googled device to the new lineageos-based microG device. Well, I'll see if I can figure something out.
[Android Software Development] CalYorBro:
The newest version for my device has a boot image I can download. Is this the same as the one i get from a payload dumper? Can I use this image to get root or should I do it the old way?
[Android Software Development] kurtn:
The old way with flashing magisk in recovery is still the way to go. - or use adb root to avoid stability and security degradation
[Android Software Development] DJTINKER:
Noticed that Moto One Action now has Lineage OS for MicroG 20.0 to download. See a boot image I can download, but do not see a recovery image to download. Do I use Recovery Image from Lineage OS for now? TWRP? If I boot to TWRP and flash version 20.0 will the recovery be replaced as part of ROM. Best Option?
[Android Software Development] kurtn:
TWRP should be OK
[Android Software Development] raix1415:
Hi All, just fyi, after upgrading to LOS for microG 20.0 it seems that the VPN issue is resolved.
[Android Software Development] minist15:
Hello. I was using LOsMicroG 19.1 successfully on my Motorola One Action and upgraded to 20 , but now I could not ( after several attempts , even reverting to 19.1 and it failed again ) register a Viber account , which is related to my profession. I am now forced to use Gapps. Why did this happen ????
[Android Software Development] kurtn:
Does Viber register correctly in Google cloud messaging? Restoring backups often breaks that.
[Android Software Development] minist15:
I don't use any clouds. When I installed microg19.1 for the first time everything worked normally.Then registration did not take place neither with 20 nor again with 19.1 !!!
[Android Software Development] kurtn:
Google cloud messaging and Google account are part of microG. Check microG settings.
[Android Software Development] minist15:
I have checked and tried everything and it doesn't work. Now I use the standard version with gapps.
[Android Software Development] piwei:
I had a similar issue a few weeks ago, after an upgrade. Without me noticing the "microG Settings" / "microG Services Core" app had its network settings changed to not allow anything or at least not allow to access WiFi and mobile data. The result was that I couldn't successfully register any app with the Google services through microG!

Probably not your problem, but it might be worth checking permissions of the apps involved, including microG itself...
[Android Software Development] minist15:
This is useful information, but I'm tired of reinstalling a hundred times. I'll be with gapps for a while now. I don't want to use Google's services, but I have to. Isn't that the point of MicroG , and now it's failed !!!
[Android Software Development] ale5000:
As already said it can be an issue in LineageOS (not in microG) that negate network permission to microG.
[Android Software Development] minist15:
Is this about those permissions ? :
[Android Software Development] Mikesbo:
I have a Moto G7 Plus, and with 17.1~19.x was not able to reliably receive phone calls. With lineageos-microg v20.0, it appears the phone call receive issue is improved, if not resolved, but now the phone will not receive SMS texts. It seems other have seen this? Is there a fix or configuration I need to change?
[Android Software Development] kurtn:
That's not a microG issue. Whatever works in official lineageOS should work for our version also. Probably something with your network provider. Solutions could involve getting a new sim or modifying APN settings.
[Android Software Development] Mikesbo:
I have already tried a new sim and created a new APN config. Network is T-Mobile. Neither worked. It does receive the text from Signal with PIN to validate the app on the phone, but nothing else. It sounds like no one else is having this problem, though, so I'm out of luck. Thank you for your reply.