yashsingh1/xdaforums huggingface dataset:
[Android Software Development] microminz:
App Crashes – solutions?

Hello microG-friends,

I am running the latest LineageOS for microG on a Moto G3 (osprey).

First I want to say, that this is wonderful software! Thank you so much for programming such an easy alternative to the google-overlord system.

For me everything works just fine – with one exception: Theres is one app, that for me is indispensable – it's called LOOPER from Appotica. The app disappeared sometime ago from the Playstore (the .apk can be found at any mirror site). This Loop recorder app is extremely functional – except it shows you Ads via google, but if you disable the internet connection,it is also ad-free.

When I open the Looper app, it crashes/closes immediately. (Version 1.5.2 – but also earlier versions)

In the microG setting, I activated Cloud-Messaging and SafetyNet (with DroidGuard) without any effect.

I also tried to remove permissions, turn off internet connections – no effect.

On LineageOS with OpenGappsthe Looper.apk ist running without any problems.

I noticed that right after startup, the app is communicating with Google Play Services (the latter asking for permission to access location).

Does anyone have an idea, what might cause the app to crash – and how to solve the problem?

Thanks so much for your help.

Regards, Minz
[Android Software Development] d1n0x:
Since I want to go as Google free as possible, I save my contacts locally (import them via vcf). The problem is that since the first weekly build of LineageOS, locally saved contacts disappear after some time and I have to reimport them. Anyone else facing this issue?
[Android Software Development] SGH-i200:
You should try 'MyLocalAccount' and 'MyPhoneExplorer' which I use to create a local backup of my contacts (and tasks, call logs, SMS and photos).

https://play.google.com/store/apps/details?id=com.fjsoft.mylocalaccount

https://play.google.com/store/apps/details?id=com.fjsoft.myphoneexplorer.client
[Android Software Development] maybeme2:
Myphoneexplorer does sound interesting. It is free but is it open source? If not, my suspicious self asks how do they make money?

Anyone know of a good open source sync tool?
[Android Software Development] droidian5:
Not free but open source! I do not use it myself.

https://www.etesync.com/
[Android Software Development] b8842dc0:
In my opinion, the best solution is to setup an owncloud instance. Use the contacts and calendar apps within owncloud, and then use the Davdroid app (available in Fdroid repo) on your phone. This way, you sync your contacts and calendar to your own cloud instance. I've been doing this for about 4 years. Works great! All free, all open source.
[Android Software Development] d1n0x:
nslookup tells me DNS server is set to 8.8.8.8 (?)
[Android Software Development] droidian5:
That's another very good solution!
[Android Software Development] guest4711:
So you are using google's nameserver (8.8.8.8 and 8.8.4.4). These servers are reliable and fast, but it helps google tracking your usage of your phone...

For privacy I'd switch to other nameservers.
[Android Software Development] matoq:
If he/she wants to keep the contacts offline then CardDAV isn't the solution. On the other hand, if a private sync tool is acceptable and owncloud with its many features and administration requirements overdoes it, Baikal will get you there faster: http://sabre.io/baikal/

It's a lightweight open source CardDAV/CalDAV server, so you can sync your contacts and calendars across platforms. Baikal easily runs even on older versions of the Raspberry Pi.
[Android Software Development] d1n0x:
The odd thing is I didn't change anything, this is the stock configuration
[Android Software Development] droidian5:
In the screenshot you are using a wireless AP. It is very likely the AP is setup to use Google DNS servers and that is why you are seeing that.
[Android Software Development] d1n0x:
I am sure I never set up Google DNS in my router.
[Android Software Development] Exabyter:
I've been trying to minimize snoopery/bloated Gapps on devices for several years now, but since it seems Google is increasingly funnelling everything through the Gplay/GMS frameworks, I'm hoping microG will be the ticket going forward.

But I'm running into some roadblocks on my initial LG V20 test platform.

With location services, I'm seeing very unstable location determination, even though SatStat typically shows many visible satellites, and I've got several NLP backends configured (Mozilla, Apple, Deja Vu) and live in a city with lots of WiFi APs. The way the SatStat satellite map tilts back and forth it seems like there may be a lot of jitter in the signal or something?

I read somewhere else (reddit?) that one could install a more recent version of GmsCore, newer than the shipping stable version, that reputedly improves the location functionality quite a bit.

Thoughts?
[Android Software Development] George4X:
Problem with N26 app

Hello,

While installing N26 app for banking (from Number26 bank in Germany) and it works, I can get notifications of a transfer but I cannot confirm the transfer. Normally when I press on the transfer it should be saying that the transfer is confirmed but I get no message. Is a way to see the logs of the app?

It was working OK with lineage and MindtheGapps

PS: It seems that I cannot receive the PushTAN notification on a popup window inside the app
[Android Software Development] d1n0x:
The version in the ROM is the latest available.
[Android Software Development] 4ronie4:
Android uses google dns by default in 3G and 4G networks, I think it does the same with Wi-Fi. But in Wi-Fi connections you can change it withou root permissions.
[Android Software Development] Exabyter:
Yet another reason to use a VPN.

Fighting all the data-collection is getting to be a full-time job. :/
[Android Software Development] n76:
There is at least one FOSS ad blocker that can also alter your DNS. Blokada works on your phone by pretending to be a VPN which allows it to provide DNS service and block traffic to various ad and tracking sites.

As a VPN, it only really tunnels traffic between various network end points on your phone (apps, system stuff, etc.) and your actual mobile or WiFi interface. So it is not really a VPN in the true since of the word. But since Android has a feature to use VPNs without having to root the phone, it is a convenient way to insert some code between the various things that are trying to access the Internet and the actual Internet.

I haven't noticed any significant change in network speeds when using Blokada and it definitely stops ads from showing up when I browse places. Its doesn't show a lot of information about what it is blocking but does show the last thing blocked and I often see domains for various trackers so it seems to block those too. My understanding is that a future revision of Blokada will have better display of what has been blocked.

One of the things a VPN can do is specify what DNS servers to use. So you can setup Blokada to have the DNS servers of your choice used by your phone. I generally use servers from the Open NIC Project though the good servers (ones on line and with enough bandwidth to respond quickly) change from time to time so that can be a bit fiddly.

Your ISP will still see all your traffic, but Google et al. will have very much more limited view of your activities.

There probably are other equivalent apps to Blokada, but that is the one I know about.
[Android Software Development] guest4711:
The older brother of Blokada v3 (ad blocker) (The ad blocker - battery efficient, fast, powerful and simple to use) - https://f-droid.org/app/org.blokada.alarm - is DNS66 (Block ads/hosts via DNS) - https://f-droid.org/app/org.jak_linux.dns66

---------- Post added at 07:30 PM ---------- Previous post was at 07:24 PM ----------

The router should tell the phone by dhcp which dns-server to use on Wi-Fi. Mostly it is the router itself or your cable-network provider's DNS-server.
[Android Software Development] maybeme2:
I'm installing lineageos with MicroG on a second nexus 5 and am running into trouble with the patched playstore.

In twrp, I wiped system, davlik, and cache and installed lineageos 14.1 with MicroG. It booted up fine into lineageos 14.1 and MicroG was present and passed its test.

I then went back into twrp and installed the patched playstore from

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

It too installed fine but whenever I go into its settings and exit I get

"Error retrieving information from server [RH-01]"

WiFi is connected. I deleted cache, etc. I even reinstalled lineageos with MicroG and reinstalled the patched playstore. I still get the same error.

What am I doing wrong?

Not sure where to ask.
[Android Software Development] d1n0x:
Reboot
[Android Software Development] kurtn:
Wipe data
[Android Software Development] maybeme2:
Did that several times.

---------- Post added at 02:06 PM ---------- Previous post was at 01:45 PM ----------

Wiped data just now in twrp and reinstalled.

Booted and rebooted after installing patched playstore.

Still get same error.

---------- Post added at 02:18 PM ---------- Previous post was at 02:06 PM ----------

Can I restore a twrp nandroid backup from a nexus 5 which has a working lineageos with MicroG (including installed apps)

to a *second* Nexus 5 without messing things up like its radio or something else?
[Android Software Development] maybeme2:
Solved.

Figured out how to successfully restore a twrp backup from one nexus 5 to the other. Bypassed whatever the problem was.
[Android Software Development] Exabyter:
This is certainly useful for a lot of people, but for me personally I like to keep the VPN slot open for a real VPN, and I get the ad-blocking functionality with Ad-Away. ;)

The recent move by Google to prevent apps from monitoring network sockets in P strikes me as a convenient excuse to prevent tools like OS Monitor and so on from having visibility into all the silent background connections Google is making (to their DNS servers as well as various other things), under the cynical excuse of "improving user privacy". :rolleyes:

---------- Post added at 07:54 AM ---------- Previous post was at 07:43 AM ----------

Operating systems are not required to honor the DNS hosts offered during the DHCP handshake and Google has demonstrated many times they have no problem ignoring explicit user instructions not to use network connections whenever they want to so I doubt DHCP is much of a barrier when Google feels like using their own DNS hosts anyway.
[Android Software Development] Exabyter:
Just thought I'd mention that, once again, while a VPN app can certainly set the "system default" DNS host(s), there is nothing to prevent a process from having its own set of hard-coded DNS hosts or forwarders, bypassing that. (A common malware trick) And I wouldn't put it past Google to do exactly that with some of their system processes at the very least.

It certainly doesn't hurt that Google operates one of the largest global DNS networks, and is in pretty much complete control of that IP address space. ;)

The only solution to that would be a DNS proxy. I'm not sure if that's a commonly-offered VPN service or not. (I seem to recall some VPN providers using DNS redirection as a way to thwart geographic streaming content restrictions)
[Android Software Development] itachi uchia:
If you want to check your DNS server, you need this command:

getprop | grep dns
[Android Software Development] b8842dc0:
https://github.com/lineageos4microg/docker-lineage-cicd/issues/4
[Android Software Development] maybeme2:
After latest CNN app update : got this error when I tried to access CNN. Obviously I don't want to update Google services! Restored backup of CNN 5.13.1 version and error disappeared.

MicroG problem?
[Android Software Development] maybeme2:
When I updated to latest lineageos 14.1 with MicroG version, the above error persists and I got this popup.
[Android Software Development] d1n0x:
If you absolutely have to read CNN, use the mobile site.
[Android Software Development] maybeme2:
I hate what CNN has become but that is not the issue. The issue is that there is a bug in MicroG in that it does not successfully replace Google play service for some apps like the latest CNN app. The developers need to know so they can fix it.
[Android Software Development] Exabyter:
I tried to update the Fdroid version using Fdroid as I have done in the past on various devices.

Perhaps this is not a good idea when Froid comes integrated in the ROM? Because when I updated from 1.1 to 1.2.2, it froze in the process of updating repositories or apps and after I let it sit for quite a while and restarted, it now cannot find any apps, installed or in repositories.

Tried to revert to the previous version using my usual tool for such things (AppWererabbit) but that didn't work either. :/
[Android Software Development] guest4711:
Did you try to delete f-droid's data and cache? It should update the repos afterwards without problems...
[Android Software Development] Exabyter:
Thanks for the tip, that worked. (Just had to re-customize settings, not a big deal)

I hope in the future F-droid is a little more interactively informative when updating itself, tho.

When I hit the "install" button the app just closed immediately and I thought something had crashed, leading me to relaunch it and try again, resulting in a second install of the same version with no warnings or any other message. Maybe that's what led to the app getting itself into a confused state.

Speaking of updating, an unrelated question: when using the update tool in Settings/Phone Status/LineageOS Updates, based on the wording there, this apparently just downloads a file somewhere that I have to flash myself, or ?
[Android Software Development] kurtn:
After downloading the tool offers to install. Works for me.
[Android Software Development] Exabyter:
OK, thanks.
[Android Software Development] drozdu:
After last upgrades Play store stopped working for me. It seems like it cannot see google account and asks to create new one each time.

I am using xiaomi mi5s plus (natrium), last working version is lineage-15.1-20180423-microG-natrium.

Play store: flashed latest shadow53 official.

Does somebody have the same problem?

Cheers
[Android Software Development] peter-k:
Did you install Google Backup Transport?
[Android Software Development] drozdu:
No. Should I do it? How?
[Android Software Development] peter-k:
You need the apk for Oreo (sorry I don't have it), and move it to System.

The easiest would probably be you installed gapps. Then pull Google Backup Transport, Google Calendar Sync and Google Contacts Sync from it and keep them secure. Then go back to TWRP, delete that setup, and copy your original ROM back.
[Android Software Development] d1n0x:
Or just flash it via [MENTION=7126506]Shadow53[/MENTION] zip
[Android Software Development] peter-k:
I am not sure of these are the correct versions.
[Android Software Development] d1n0x:
Works perfectly on 8.1.
[Android Software Development] Sick1:
Same problem here with Mi5 gemini, gotta try that googke backup transport apk, but i wonder why should it be needed, as its been working without it for a long time now...

Lähetetty minun MI 5 laitteesta Tapatalkilla
[Android Software Development] maybeme2:
Same thing here. Cannot bring up list of installed apps.
[Android Software Development] drozdu:
I have flashed latest shadow53 "Google Sync Adapters", which contains Google Backup Transport, Calendar sync and Contacts sync, but problem persists.

I have also tried apks (Play Store, Backup Transport and both sync) from latest gapps, but it is not working because it requires newer Google Services (current microG provides 12221403)
[Android Software Development] Tilieus:
Any chance to get LineageOS for MicroG 15.1 on the S5 (klte) ?

Regards
[Android Software Development] Exabyter:
Anyone have a problem with Yalp Store no longer connecting and reporting "no network connection" when trying to search for apps??

It was working fine a couple days ago and connectivity is fine everywhere else, but today all I get is this error.

I tried logging out and re-logging-in with a Yalp provided account (as was working fine before) but didn't help..

Running version 0.40.
[Android Software Development] maybeme2:
Same thing here. See screenshot.

May be part of the same problem I've been writing about (see higher in thread) concerning the patched playstore not finding previously installed apps, etc. MicroG is failing as a Google services replacement in a number of apps. Started about 10 days ago. Before that all was well.

Considering alternatives to microg. Suggestions?

Yalp store had no problem before lineageos update of May 17.
[Android Software Development] ale5000:
Have anyone tried with an unpatched Play Store?
[Android Software Development] maybeme2:
Went back to the May 11 lineageos version and now yalp can find the internet.

Even more amazing, the patched playstore now works correctly!

All I did was restore a nandroid from May 12.

CORRECTION

Yalp still cannot find the internet. Sorry for the misinformation.
[Android Software Development] kurtn:
Dev is working

https://github.com/yeriomin/YalpStore/issues/447
[Android Software Development] maybeme2:
Please thank him/them on our behalf.
[Android Software Development] Exabyter:
FWIW, I am still on the original version of microG for Lineage that I originally installed (2018-04-29 build) but Yalp stopped working within the last couple of days or so.

EDIT: just read the Yalp github issue discussion - looks like it's an SSL handshake problem.. Google changing things without notice and breaking clients all over the place..

Sounds like how they expire certs on Gmail in ridiculously short timeframes before the old one expires and then my email client keeps throwing a warning about a suspicious cert change.. ?
[Android Software Development] Tilieus:
does anyone know?
[Android Software Development] ncorna:
We build the same version as official LineageOS, to get LineageOS for microG 15.1 on a particular device you have to wait for LineageOS first.
[Android Software Development] Tilieus:
Thank you very much for your fast anwer. Regards
[Android Software Development] mtkmanjaro:
[MENTION=4316015]Simon94[/MENTION] dude finally someone cut off the snake head i struggle for years with pain in the ass of google app, it's appears no ones notice how google app can make ruin your experience off the devices in terms of performance and battery life. Men you deserved a Nobel jajaja good job thanks for you effort.
[Android Software Development] maybeme2:
Updated to the latest version (May 24) and can confirm that the problem of updated apps requesting Google services to be updated for the app to run has not been solved. Updated apps still request that Google services be updated or they will not run.

Furthermore, the update changed my Google Play setting to "auto update" which I do not want.

Restored backed up nandroid.
[Android Software Development] d1n0x:
I do not experience such a drain on my Oneplus 5. Might be your device though
[Android Software Development] javiti_91:
Any chance to get MicroG for Whyred (Redmi note 5 pro), we have LoS already, unofficial, but everything working. Thank you.

https://xdaforums.com/redmi-note-5-pro/development/rom-lineageos-15-1-t3774630
[Android Software Development] kurtn:
I See several options:

-wait till your LOS gets official.

-tell the dev to keep it unofficial and add signature spoofing.

-flash nanodroid patcher

-if patcher fails due to odex use xposed fake gapps.

In the last three options: flash the microG package you like.
[Android Software Development] javiti_91:
Thank you so much, xposed module worked!
[Android Software Development] peter-k:
Great, thanks for bringing this up here. I will receive the same device on Monday or Tuesday. One of the first things I'll do.

I heard the device is selling like hotcakes, we may be lucky with official options soon.
[Android Software Development] ackbarthegreat:
Any chance you could add Mi4S (Aqua) It is the same as Mi4c (Libra) with the addition of a fingerprint reader which I don't use anyway.
[Android Software Development] 4ronie4:
Anyone is experiencing problems with app updates or installations on f-droid? Since 0521 update when I reopen f-droid it reinstalls the apps updated or installed last time.

Here is a logcat. I have installed simpleflashlight app, closed f-droid in recent apps and reopen it to trigger the bug. If I close it again and reopen, it keeps doing installations. If the apps are deleted from cache it downloads them anyway and install. It's very annoying.

I'm on LineageOS microG 15.1 05.28 for gemini.

Edit: sorry for the fennec(firefox) logs, they appear when filtering by 'fdroid' keyword.
[Android Software Development] Simon94:
No idea. I've upgraded FDroid and FDroid Priviledged Extension today. So from tomorrow we'll ship the latest versions of both. They might fix your problem.
[Android Software Development] 4ronie4:
I have f-droid 1.2.2 and privileged extension 0.2.8 and the problem persists. Maybe f-droid bug?
[Android Software Development] Simon94:
Did you try to delete the app data of FDroid?
[Android Software Development] SGH-i200:
When will the next LOS microG build for titan will be done?

Last LOS microG build is lineage-14.1-20180513-microG-titan.zip (https://download.lineage.microg.org/titan/)

Last LOS build is lineage-14.1-20180527-nightly-titan-signed.zip (https://download.lineageos.org/titan)
[Android Software Development] 4ronie4:
Yes. Did not solve the problem :(
[Android Software Development] guest4711:
Change to 1.3.alpha0. For me that move solved the problem.
[Android Software Development] Shadow53:
This is a known problem on Android Oreo that has been on the F-Droid bug tracker for some time. The known fix has been to clear F-Droid's cache after the apps install.
[Android Software Development] 4ronie4:
I also have tried to delete cache but it didn't solve the problem. F-droid downloads again the app and installs again.
[Android Software Development] 4ronie4:
Thanks, it worked!
[Android Software Development] ncorna:
Some builds (not only titan) failed recently, I'll have a look
[Android Software Development] Plonkyplonk:
The bundled F-Droid Privileged Extension reports to be the 0.2.7 released the 24th September 2017. The latest 0.2.8 has been released the 2nd May 2018, but I cannot find a changelog of it, does anyone know what has changed between the two and if it's worth to update considering the recent bugs occurring with F-Droid?
[Android Software Development] guest4711:
See https://gitlab.com/fdroid/privileged-extension/commits/master for the change log. Nothing essential, afais. But upgrading f-droid itself to the latest beta (1.3.alpha0) seems to be fine: After upgrading the problems of installing the same updates again and again (when on Oreo) are gone (at least for me).
[Android Software Development] ale5000:
The changelog of F-Droid Privileged Extension is here.
[Android Software Development] 4ronie4:
Installation problem in with oreo has returned for me (f-droid1.3-alpha0).
[Android Software Development] jassalmithu:
What patch do they use to enable signature spoofing?
[Android Software Development] madbat99:
Go to their site and read. Build it yourself if you want
[Android Software Development] jassalmithu:
Yeah, I think I will just use the xposed module.
[Android Software Development] Giova19:
Hi,

New user of lineage with micro g from several weeks now. The ROM is really good and I can do almost everything.

I use the chromecast 4k for the TV streaming and cannot find the way to use it with this ROM. Is it possible to chromecast without Google account ? I tried installing Google Home and Chrome(without connecting to any Google account) and it was impossible to cast.

Thank you for the help,

Giova19

Last version of Lineage MicroG / xiaomi Mi5
[Android Software Development] d1n0x:
No
[Android Software Development] b8842dc0:
There is a $200 bounty (USD) available (and growing) for the developer(s) who get it working. But so far, not much movement:

https://www.bountysource.com/issues/30090937-cast-api-not-implemented