yashsingh1/xdaforums huggingface dataset:
[Magisk] iacchi:
No, it's not a crime. The point is also not the open source nature of the project, it's mostly about its privacy (no data is sent to google). If you're not interested in the privacy aspects of the project, then let me tell you that this project is not for you. You may (just may) find a tiny bit better battery life compared to gapps, but it's definitely not worth the side problems that you may find with microg, as it's not (yet) a complete replacement of gapps. Many things are missing, and you may decide that it's not worth the effort.

This said, if you started fresh, then where do you have the backup from? If your previous rom is still available and it's Oreo or more, you may find a list of apps that have push notifications enabled. If not, think for yourself which apps may have push notifications needed (and which of those you care about) and for those you'll need to install them and open them first before copying the data over. Afaik there's not way to know from the backup which apps require push notifications (but I'm not very knowledgeable in this area, so I may easily be wrong)
[Magisk] trohn_javolta:
Thx for the feedback, it's just a try. I started off fresh on my new phone, apps+app data is from old phone.

If you say it's not worth it in terms of battery life I'll go back to gapps. Nevertheless it was very interessting to look into that. I had no idea, what is avaiable and possible without gapps.

I like to keep track of stuff a bit. Few month ago I learned about magisk, it's also awesome.
[Magisk] iacchi:
Don't get me wrong, you can still give it a try and judge battery life for yourself (although you should compare it with a fresh same rom installation + gapps, not with your old rom)! I'm just warning you about everything else.
[Magisk] trohn_javolta:
Gottcha. I can imagine all this would be complexer to maintain than using gapps.

Won't compare it with old rom on old phone. New one has 500 mah more battery.

Kk, enough ot from my side. Really interesting stuff here. :good:

Wait, can you maybe recommend any gapps version that uses up least battery? I always use a small opengapps package with magisk module that allows to enable battery optimization for google play services and greenify for additional battery optimizations.
[Magisk] iacchi:
It's a bit OT but afaik gapps are always the same, no matter how you install them. There are no multiple versions of gapps.
[Magisk] DoR3M3:
I was assuming you had a life, and it was in humor too, but some people seem to like chattering off topic all the time...

Cheers
[Magisk] -Happy Feet-:
[MENTION=4187311]Setialpha[/MENTION]

I get this error Message when I open the Playstore. Have you an idea?

I can't install nanodroid. The phone won't boot with different ROMS.
[Magisk] LSS4181:
It seems the Bromite Webview package can still cause the issue I once mentioned... and this time it's on Magisk 18.1.

For some reason the package may not be able to resize magisk.img with the same reason, "Please run 'e2fsck -f /data/adb/magisk.img' first."

Again, this only happens with the Bromite Webview package not the main package. Possible regression on either side (the package or Magisk)?

EDIT: It seems resizing the image beforehand would allow the BromiteWebview package to be properly flashed. The shrink attempt would still fail.

EDIT 2: The inability to boot was caused by something else, but the resize errors within BromiteWebview (can also cause the flashing of other modules to fail as well) is still there and I've no idea what might be causing it...
[Magisk] PoochyX:
Micro G also takes up way less ram then Google play services so for low memory devices that's a plus and for flag ship devices it's better latency

PoochyXXX
[Magisk] -Happy Feet-:
I solved it for me. I move the Playstore app with the magisk module Systemizer to /system/priv-app and Playstore works...
[Magisk] PoochyX:
Good for you happy feet

PoochyXXX
[Magisk] Setialpha:
Sorry for recent inactivity, currently busy with other things. But at least new builds for microG and Play Store up in my repo.

From the commit log in their framework base HavocOS and crDroid Pie have fixed the signature spoofing issue on 6th Feb, so builds starting from atleast 7th Feb should be fine. Haven't tested as I'm on AICP Pie, which worked previously alright already.

And some folks should use the search function. The 'no space left error' was already reported and I said it's worked around in 20.7

Wait for the next release/beta or take your zip of choice and replace the file CommonInstaller within with the one from the gitlab repo.

I'll try to catch up the next days.
[Magisk] PoochyX:
Dirty 166 keeps on reverting back settings as if I wiped data.... Only happening on 166 is anyone else having this issue

PoochyXXX
[Magisk] gadgetguy08:
I didn't notice it on Oreo 8.1.

167 is out now.
[Magisk] SrJardel:
I'm stuck at bootlogo after flashing NanoDroid-patcher on Samsung S4 with LOS 16.0.

EDIT: Ok, forgot to wipe dalvik cache, the phone boots again.

I didn't liked all those system apps on NanoDroid full package, so I've flashed the uninstaller and now the Signature Spoofing is gone. That was supposed to happen after flashing the uninstaller?
[Magisk] PriteshChauhan:
Whatsapp, Swiftbackup not detecting Google Account

First of all, I am again on Nanodroid after my 3T. Thanks to the dev for the amazing packages [MENTION=4187311]Setialpha[/MENTION] and [MENTION=3999488]MaR-V-iN[/MENTION].

I am on havoc OS latest build for oneplus 6t. Clean flash. I have all the self checks ticked and GCM/Safetynet/device registration done. I have play store from the main package and google sync adapters installed as well.

My contacts, mail and whatsapp is working & syncing perfectly. I downloaded all the apps from playstore.

I have only issue that my google account isn't detected by Whatsapp for back up and restore. Similarly swiftbackup installed but couldn't find my account on the device. It says google play services error. I haven't tried other apps for registration though. system spoof, play store, gms core all are checked in self check. and apps are working flawlessly. They just don't find my account on the device for backup or restore! So I guess the installation is near perfect.

What am I missing ?
[Magisk] temporarium:
Do you have this enabled in your Gmail account? It may be related.
[Magisk] PriteshChauhan:
Yes, Its enabled. :rolleyes:
[Magisk] zkoz:
Yes, for me too, cannot find google for backup. I'm using microg for few months.

I accepted it. And I'm doing backups on my phone only.
[Magisk] iacchi:
You're not missing anything. Microg doesn't support Drive at the moment, so that won't work.
[Magisk] PoochyX:
It supports drive on my device I can still upload and post stuff to drive

PoochyXXX
[Magisk] iacchi:
Maybe I didn't explain myself. If you install Google Drive app, of course that will work. What it doesn't work, is to act as a proxy (explained badly, but hopefully is enough) to let other apps connect to drive (e.g. whatsapp or viber to do online backup). I don't know if that particular function will actually work if Google Drive app is installed, though.
[Magisk] PoochyX:
I just backed up my whatsapp yesterday and my drastic account it works you just have to detach a certain service with my android tools [emoji6]

PoochyXXX
[Magisk] iacchi:
well, something has changed then, but microg's wiki is still reporting the functionality as not working: https://github.com/microg/android_packages_apps_GmsCore/wiki/Implementation-Status
[Magisk] Shobit Joura:
Have a look as cr just removed their sign spoofing completely(3 days ago) bcuz for them that was causing issues and still latest patcher says that ROM has native sign spoofing is this fault on our side or on theirs
[Magisk] DoR3M3:
[MENTION=4187311]Setialpha[/MENTION]

I know you're busy, hopefully you'll see this, but do you, or anyone else reading this know why Aurora & Yalp do not show, what I'd call Complete Search Results, meaning you search for something on either of them, and you are lucky if they show you 10% of what is actually on the Play Store.

I've personally not used either of them much, whatever I typically need I just get off of F-Droid, but since I'm working on a ROM, I have been spending more time messing with each of these to realize this problem.

I don't know if there's a solution to this, I assumed in the beginning when I started playing with these application going back a long time, that they connected to the Play Store servers and showed you the exact same as the Play Store... :eek:

Hmm
[Magisk] kurtn:
Can you give an example? Isn't google and play play store simply better in knowing you and your most secret wishes?
[Magisk] DoR3M3:
Just do a search for anything you want to, and I have found just about every search seems to show only 10% of what is on the Play Store... :eek:

Calendars was the last search I did today, both Aurora and Yalp, which was interesting gave exactly the same 9 results back and the Play Store shows like I believe 40.
[Magisk] d1n0x:
Try and see if you have filters like "apps using GSF" active and disable all of them.
[Magisk] DoR3M3:
Hmm I don't recall seeing any settings like this in Aurora Store & Yalp Store, I'll take a look again.

Thanks
[Magisk] guest4711:
After searching you should tab the filter symbol (2nd from right side). But you are right, I see nine apps here only. But it may be caused by hiding my device specification to googles server - I see the apps compatible to most ROMs (or the one yalp tells google I'm using).
[Magisk] temporarium:
Interesting observation, though OT.

The filters are there, though the results I get in YALP are all >4.0 rating, despite not having that filter set. It's like the app itself tries to pre-filter only the good stuff...

But, I don't think it has anything to do with microG/NanoDroid.
[Magisk] koniii:
NanoDroid-patcher install error on kitkat on magisk as root but the f-droid module is working fine
[Magisk] Setialpha:
The installer's Busybox seems to not be KitKat compatible (or atleast not with your TWRP). But... what's the recovery.log when installing the F-Droid module? As both use the same Busybox.
[Magisk] Setialpha:
Of course that's intended (and mentioned in the documentation). Also the apps installed are customizable, btw.
[Magisk] PoochyX:
Setialpha every time I receive a message on Facebook messenger it gets updated in Google cloud messaging right so in the micro G goggle cloud messages portion for messenger it should say last message received on Feb today if I received some today correct and mines is saying last received feb 2 and I been messaging on Facebook messenger all day

PoochyXXX
[Magisk] dhacke:
Hi,

I have a little Problem. I have a xperia xz2 with Omnirom based on Android 9 and Nanodroid together with FakeStore installed.

I notice that the game Catan crashes everytime when i'm in the main menu and the info window about the dsgvo pops out.

So take a look into the logcat and find the following errors in the moment when the game crashes:

"02-13 23:03:30.153 E/AndroidRuntime(14701): Process: com.exozet.android.catan, PID: 14701

02-13 23:03:30.153 E/AndroidRuntime(14701): android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installed"

So it seems that on my phone the WebKit is missing. As far as i know NanoDroid comes with WebKit (or bromium? I don't whether it's technically the same).

I installed NanoDroid without the Play Store. Mayby that was wrong?

If yes how can i get webview on my phone now so that the game doesn't crash anymore?

Any help is appreciated.
[Magisk] temporarium:
https://www.bromite.org/system_web_view
[Magisk] DoR3M3:
Something I have come to realize, that when trying to convert a Google ROM to microG, some functions and gapps don't work even with microG installed. I've been playing around with this, as dirty-155 and dirty-166 and no difference.

I see now for Google ROMs, to have the best support, you need to install them, run them, then debloat out the Gapps and GSF/Play Services and then install microG and these things continue to work. So it's as if microG on a Google ROM just takes over where GSF/Gapps left off, and I thought it could be a complete replacement when trying to convert a Google ROM and it's not.

So I am trying to now figure out how to get the "Share Button/Function" working on a ROM I'm working on, which the Share button is in most Gallery applications and applications that have the ability to share. I've been doing a little digging, I believe this is what Android calls the "ShareActionProvider"?

https://developer.android.com/reference/android/support/v7/widget/ShareActionProvider

This link says; "Adding an easy share action" - maybe I can hack the Gallery.apk xml and add this in? Any thoughts?

https://developer.android.com/training/sharing/shareaction

So, when taking a Google ROM, removing GSF/Play Services and Gapps and replacing with microG and then flashing this as a ROM in TWRP, and it starts for the first time with microG, no GSF, does anyone know how I can try and get this "Share" function back?

Of course this is a Google ROM so I don't have the source, all I have to work with is this as a ROM to extract and work from, the modules, various libs, modules, apk, etc... No sure it can be done at this level, or it has to changed at the source level?

Bottom line if you didn't quite catch all this;

Google ROM install, debloat, install microG!

AOSP ROM already built, runs putting microG in it.

P.S. [MENTION=8010004]guest4711[/MENTION] thanks too, I wasn't paying attention, I'll have a try.
[Magisk] koniii:
Here i grab it on data/adb
[Magisk] marcdw:
[MENTION=9542156]dhacke[/MENTION], NanoDroid does not include webview in its package. Bromite webview is separate. What's odd though is that pretty much every custom ROM, Lollipop on up, includes com.android.webview. As /system/app/webview/webview.apk. OmniROM should have that unless something has changed since Oreo but I doubt it.

If you truly don't have webview installed you can install Bromite webview (available from nanolx downloads page) and see what happens.

LG G3 D851, Paranoid Android 7.3.1, NanoDroid, MultiROM, XDA Legacy
[Magisk] PriteshChauhan:
Are you on any Pie ROM or any previous android version? If on Pie, can you pm me your nanodroid config files? That would be great help. Thanks.

---------- Post added at 12:46 PM ---------- Previous post was at 12:17 PM ----------

TBH, for what I want working, it did just 3 months back - whatsapp backu & restore, swiftbackup, apps from play store could use my google credentials to log in. On my 3T I was running Havoc OS (pie) with Nanodroid. I don't remember though the version that worked. Drive didn't work, but all the apps that used drive for backup and restore could identify my account and used to work with GCM. Google photos couldn't upload, but I could see previously uploaded pics.

Now I am on 6T. None of the other apps apart from google apps (gmail, calendar etc) could detect google account. And I believe that there is some installation problem at my end. One of the causes I think is setup config files as that is only different I am doing as compared to 3 months back. For me aroma is not working on A/B partitioned 6T. So I have manually created the setup file for installation, and the installation is successful. So I am still not able to find out the cause of why other apps not detect my account. If I proceed for login with google id, it takes me to google account setup page. The setup page detects the account as already present, but the apps aren't able to detect.
[Magisk] dhacke:
[MENTION=4645704]temporarium[/MENTION] [MENTION=6046143]marcdw[/MENTION]

Ok first thx for your answers. I took a look into the list of installed apps in the settings menu and in the afwall app list, too. No Webview.

So i'm very sure that it isn't installed in the omnibuild which runs on my phone. I guess due to the fact that the omnirom build isn't official yet (it is only available in the xda forum; not over their Website).

I will test bromite webview.
[Magisk] PoochyX:
I'm on a previous version.... Marshmallow to be exact

PoochyXXX
[Magisk] marcdw:
Cool. Let us know how it goes. You might also want to drop a note to the OmniROM dev about your situation. Maybe it was an oopsie that he didn't include a webview. A lot of apps rely on it to function properly.

LG G3 D851, AospExtended v5.7 ROM, NanoDroid-microG (NoGapps), MultiROM, XDA Legacy
[Magisk] dhacke:
Yeah I find the solution. I didn't know that the deactivation of the Chrome Browser deactivates the WebView implementation, too.

So i activate the Chrome Browser again and now the crashes are gone.
[Magisk] garylawwd:
Use bromite and bromite webview instead
[Magisk] PoochyX:
So the bromite webview only works if you have the chrome browser installed your saying..... I don't use Chrome I use Firefox for its dark mode and tried to replace Android system webview with bromite webview and it kept on crashing on marshmallow so I'm going to use chromium with it and see if it works

PoochyXXX
[Magisk] garylawwd:
No I'm on about using bromite browser and bromite system webview. Its what I use and it works flawlessly
[Magisk] PoochyX:
I can't bromite system web view to work on my rom after I remove android system web view I replaced it with the bromite webview and everytime I use a app That needs webview like frost it crashes... I don't use Chrome I use Firefox and I thought you was implying that bromite webview only works if you have Chrome browser or chromium browser installed...

PoochyXXX
[Magisk] Oswald Boelcke:
The browsers I use are FOSS Browser, Tor Browser for Android and Firefox Klar.

I flashed the NanoDroid BromiteWebView submodule through TWRP, which replaced the Android webview that came with my ROM (RR-N-v5.8.5). Updates to the BromiteWebView occur through F-Droid. No issues at all.

Some more details here and here.
[Magisk] garylawwd:
Okay so to install bromite correctly use this method.

1. Download the bromite webview.

2. Using twrp file manager go to system > app > webview and move the .apk to your SD card or somewhere where you can retrieve it of all fails.

3. Copy the bromite webview to that folder above and rename it to webview.apk and give it 0644 permissions same as old apk.

4. Reboot and go and install the bromite webview apk like a normal apk from your download folder

That's it
[Magisk] PoochyX:
Bro I did that it didn't work... And I used the magisk zip and that didn't work neither

PoochyXXX
[Magisk] dhacke:
Does the module includes only the Bromite Web View?
[Magisk] PoochyX:
Yeah

PoochyXXX
[Magisk] guest4711:
After moving bromite-webview to priv-apps you should install it as user-app (update to system application) too and the crashes are history. This is the way NanoDroid package is doing it, too.
[Magisk] Oswald Boelcke:
Negative! Consider to use the following procedure:

Download the Bromite Webview submodule (it's a zip-file) via the link in the OP or here it is: https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-BromiteWebView-20.6.20190126.zip

Boot into TWRP. Do not use the TWRP file manager! Just flash (install) the downloaded zip-file.

Reboot into system! That's all. You don't have to rename or move anything. You don't need to change any permissions. The submodule automatically "deletes/replaces" any pre-installed Android WebView and automatically "places" the Bromite WebView at the right location in the system with the correct position.

Check the F-Droid sources if the Bromite f-droid repo was added, otherwise add it manually to always receive the latest update.

Affirmative; it only contains the WebView but not the Bromite browser itself that can be downloaded and installed e.g. via F-Droid.

EDIT: I realised that I still have to update my thread with the NanoDroid WebView module. When I first replace the Android WebView by the Bromite WebView, this module wasn't yet available. Going to update the thread tomorrow.
[Magisk] garylawwd:
Didn't know about the sub module. Its currently installed and working as normal but thanks for that info for future updates :svetius:
[Magisk] dhacke:
Installation of the Bromite Web View zip file from NanoDroid fails.

I just get a error 1 in the twrp.

This the twrp log (hopefully it helps):

Powered by Magisk (@topjohnwu)

******************************

> setup Magisk environment

- Found /data/adb/magisk.img

e2fsck 1.43.3 (04-Sep-2016)

no matching fstab entry for uevent device '/devices/virtual/block/loop7' - change

- Resizing /data/adb/magisk.img to 352M

I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop7' - change

e2fsck 1.43.3 (04-Sep-2016)

Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

Pass 4: Checking reference counts

Pass 5: Checking group summary information

/data/adb/magisk.img: 58/16384 files (1.7% non-contiguous), 5381/16384 blocks

resize2fs 1.43.3 (04-Sep-2016)

Please run 'e2fsck -f /data/adb/magisk.img' first.

Resize /data/adb/magisk.img to 352M

e2fsck 1.43.3 (04-Sep-2016)

I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop7' - change

- Mount /data/adb/magisk.img to /dev/tmp/magisk_img

<< with Bromite WebView

installing app: BromiteWebView_arm64

cp: write error: No space left on device

!!

failed to install /dev/tmp/install/system/app/BromiteWebView_arm64/BromiteWebView_arm64.apk to /dev/tmp/magisk_img/NanoDroid_BromiteWebView/system/app/BromiteWebView

!!

- Unmounting partitions

I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop7' - change

__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

/tmp/updater[38]: awk: not found

cat: /dev/tmp/install/.nanodroid-overlay: No such file or directory

Edit:

I just test it with my old phone, too. And there is no error 1. The error only occurs on my new phone.
[Magisk] guest4711:
As you can see your magisk image is full. And for some reasons the installer could not increase its size, probably because of f2fs (which is buggy in some implementations).

You should install MagiskManager for Recovery (mm) module, boot into recovery, start mm, increase magisk image by 100M, and flash bromite afterwards.
[Magisk] dhacke:
First thx for your help so far. I never heard about the module.

But the resizing of magisk img doesn't work:(

I installed the module which you mentioned and start it in the terminal of the twrp.

I choosed Option r (Resizing magisk.img) and it showed me the size of magisk img (58mb).

So i gave the value of 158mb when the module prompted me to type in a value.

But then i only got the message "losetup: no such device or address" and nothing more happened.

Any ideas?
[Magisk] guest4711:
See https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928/post78838974 , the new beta should circumvent the error.
[Magisk] dhacke:
Thx for the link.

I will wait then for 20.7 stable release and try it again.
[Magisk] :
this worked for a while, but now it just keeps loading :rolleyes:
[Magisk] [Alien]:
I confirm that
[Magisk] xdaM:
Nanodroid microg here.

I enabled signature spoofing, I tried to enable everything in Self-Check, but couldn't with these two:

- "Play Store (Phonesky) has correct signature"

- "Network-based location enabled"

And Play Store always freezes.

Also, is this "modified version of Play Store" an open-source implementation? How come this doesn't send data to google if it keeps on asking me to setup location-related stuff? Sorry, but I'm really confused right now and reading the documentation isn't helping.
[Magisk] dhacke:
No. It is just a patched version to allow app purchases.

You need to run a command with root rights in a terminal.

See this link:

https://shadow53.com/android/no-gapps/faq/playstore-incorrect-signature/

After you done that the play store should have the right signature.

And i'm not completly sure but when i'm remembering right the "google device registration" must be enabled, too.