yashsingh1/xdaforums huggingface dataset:
[Magisk] YamiYukiSenpai:
Out of curiosity, was the patch file supposed to remove the MicroG settings app? I can't seem to find it on my Galaxy S4, but it still exists on my Moto Z (though that patch file couldn't

install).

And in my Moto Z, Play Services isn't recognized. Can't seem to launch YouTube, or use the location services for apps like Google Maps & Transit. I don't have Maps or Transit on my Galaxy S4, so I haven't tested it yet, but YouTube runs perfectly fine.

My Galaxy S4 had GApps on it before I removed it (formatted the /system partition) and installed NanoDroid.
[Magisk] YamiYukiSenpai:
The screenshots are from the Moto Z
[Magisk] kurtn:
You better post the microG selftest.
[Magisk] YamiYukiSenpai:
Sorry. Forgot about that.
[Magisk] :
MicroG doesn't have signature spoofing permission, tap on "System grants signature spoofing permission" and it should ask for it.
[Magisk] Setialpha:
Uploaded latest Bucket beta and PlayStore 10.2.06, nuse 'nupd ps' or 'nupd bucket' to update, on-device, as root.
[Magisk] kurtn:
Tap on the text "system grants..."
[Magisk] abacate123:
[MENTION=4187311]Setialpha[/MENTION], Bucket's (the overlay manager) developer archived Bucket github repository, and it has been also removed from Play Store (at least I can't reach it from here). Abandoned maybe? Better change it back to Substratum?
[Magisk] ydd0ras:
F-Droid!
[Magisk] abacate123:
Are you serious right now? Latest F-Droid Bucket build is from 2017... Also, the "source code" button in that page lead to the github repo I just said has been archived :P

Unless I'm missing something around, do you have other links? Its google+ page is also deprecated.
[Magisk] Gooey_Goomy:
So I went through the set-up wizard and installed an xposed module that allow signature spoofing (fakeGapps), but when I try to flash the main nanodroid zip, twrp freezes and I have to reboot the bootloader. How am I supposed to install this? btw I'm using a pixel xl
[Magisk] kurtn:
Most easy route is to start with custom ROM without GApps.
[Magisk] LSS4181:
A question with the nanodroid-upd script... I'm using the latest stable version (20180507) but when I run "nanodroid-upd ps" as root (with latest Busybox from F-Droid), instead of writing the downloaded apk to file, it actually output the apk contents to the screen in the form of garbled contents and I could do nothing but close the terminal (on device) or CTRL-C (adb shell).

The phenomenon is the same on device or via adb shell. What am I doing wrong?
[Magisk] icelight_:
You probably don't have "real" wget, and need to fix the update script. Use

vim $(which nanodroid-upd)

(or your favorite editor, i'm not sure what's available) to open the update script and move in the line with wget the

${2}

after the

-O ${APK_DIR}/${apk_o}

.
[Magisk] sailorpito:
I've installed this busybox and solved it
[Magisk] LSS4181:
I tried your solution, at least it seems better but I'm getting this error:

wget: clock_gettime(MONOTONIC) failed

It seems to be unrelated to network connection. Whenever and wherever I try to update the apps this happens. For the time being I'll be just downloading and upgrading the APKs manually from the given locations...
[Magisk] kjjjnob:
WhatsApp gcm is broken on Oreo roms? I cant get push notification. After minutes when the phone sleep.. If the app is closed i cant receive any notification. I have a Moto G5s Plus with aosIp 8.1
[Magisk] d1n0x:
Yes.

Exclude it from battery optimization
[Magisk] raptorddd:
how did you installed app? did you download from playstore or used titanium back up? if titanium was used it breaks gcm. you must uninstall and download from playstore. all apps that depends on gcm.
[Magisk] Gooey_Goomy:
I don't think you understand, the rom doesn't have any Gapps. When I try to flash the nanodroid zip, twrp freezes on me
[Magisk] LSS4181:
After tweaking a bit I have to give up using microG and its related stuffs as it's way too unstable and way too incompatible.

Now I just want F-Droid (with privileged extensions in cooperation with Magisk), pseudo-debloating (overlay) with the "debloated" apps replaced by FOSS ones provided by the full package (apps) as much as possible, and necessary utilities (nano/bash/utils), while retaining essential Gapps features that I currently use. Is this configuration appropriate? I'm not sure what "nanodroid_init" are for in detail so I'm leaving it enabled.

nanodroid_microg=0
nanodroid_fdroid=1
nanodroid_apps=1
nanodroid_play=0
nanodroid_overlay=1
nanodroid_zelda=0
nanodroid_mapsv1=0
nanodroid_init=1
nanodroid_gsync=0
nanodroid_swipe=0
nanodroid_forcesystem=0
nanodroid_nlpbackend=0
nanodroid_nano=1
nanodroid_bash=1
nanodroid_utils=1
nanodroid_fonts=0
[Magisk] marcdw:
[MENTION=4542513]LSS4181[/MENTION], I think you're going to have to explain/define "retaining essential Gapps features" that you use.

Can't really tell if you're configuration is appropriate without knowing that.

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[Magisk] demonoidmaster:
read what it says
[Magisk] LSS4181:
I don't really use that many. It's just Play Store (and occasionally Google Play Games and Books), Wear OS (requiring Google app). I don't actually need anything else. So far Wear OS (Android Wear) is not usable with microG (set for 0.3 milestone with a $35 bounty), so I'm using only some basic functionalities with the watch at present.

I also need to keep Safety Net passed (with Magisk) as some games might be requiring it, with current version of microG it's not possible as DroidGuard crashes when checking, which appears to be due to microG not catching up with Google's updates after reading some posts from the past few pages.
[Magisk] bonbonboi:
Nothing is happened when I press Enter after nupd bucket or nupd bt

By the way there's many apps keep telling me that they won't run unless I update Google Play Services
[Magisk] kurtn:
For your second problem you need updated microG GMs core. The most up-to-date version is in https://xdaforums.com/android/apps-games/microg-discussion-telegram-t3794881
[Magisk] bonbonboi:
I can't install the update

"The package conflicts with an exciting package by the same name"
[Magisk] rnadomuc:
I'm losing hope that bluetooth for Nexus 5 Oreo is going to be fixed any time soon.

I'd like to know if there are any Nougat builds with a dark theme that can pass SafetyNet checks.

I would also like to know if there's any way in Nougat to have the ability to hide persistent notifications without them being disrupted in much the same way Oreo can. For this feature I'd be willing to give up SafetyNet.

I'm just frustrated. If the bluetooth issues didn't exist I'd happily be on AOSP Extended right now. But apparently the only ROM that has it fixed is a private Unlegacy build that's only been shared with a handful of people under the instruction not to share it with anyone else. I've tried all the audio overhauls available in Magisk and none of them are able to fix the bluetooth calls problem.

I just want NanoDroid, dark theme, safetynet, working bluetooth, ability to hide notifications without ****ing anything up. But there's always a problem somewhere.
[Magisk] abacate123:
Hmmm, k, I guess it'd be better for you to complain about your frustrations on your own device forum. You're not getting anything device specific here, only support specifically for stuff related to the NanoDroid module and its apps.
[Magisk] rnadomuc:
If you read the post the whole way through instead of just skimming it, you'll notice I'm looking for alternative options specifically related to the best NanoDroid setup I can get for my device. That is why I am posting here. A good NanoDroid setup is paramount.

Plus I am entertaining the idea of switching devices entirely.
[Magisk] abacate123:
I did read it all, don't go full defensive yet, lol.

The problem is that there is no good/best nanodroid setup, it's relative, and it may vary from each device/rom/experience. All you can do is test everything, and find your own setup the one that fit you better. If you can not achieve a "good" setup (or whatever you consider as good in this case), blame your device/roms, the module works well and as intended, but as I said, it may vary, and that's why I said "specific" before.

So, that said, if you find any crashes/bugs related (or caused by) a NanoDroid installation, you can grab a recovery.log and a system log, and report here.

Also, about safetynet, read this.
[Magisk] weissgarnichts:
Hi, sorry for the following noob-questions...

I use a lineageos (rooted with addonsu) on my Xiaomi redmi Note 5 and would like to add the missing spoofing-feature in microG with nanodroid.

a) is it possible to unroot lineageos and install magisk instead?

and

b) is it possible to install nanodroid then or do i need a fresh install?

Regards
[Magisk] guest4711:
If you installed any g-apps it would be best to wipe system, cache, dalvik and flash your rom and NanoDroid afterwards (or Lineage for microG,

have a look onto https://xdaforums.com/android/software/lineageos-microg-t3700997/post74422331 )
[Magisk] FriendlyNeighborhoodShane:
You don't need to remove addonsu, but if you want to there's a zip on the LOS website.

Just to make it clear; you have MicroG but you want signature spoofing?

You can just flash NanoDroid-Patcher like this. No clean flash needed.
[Magisk] weissgarnichts:
Yes, that is exactly what i want.

So i just have to flash the nanodroid.zip with TWRP?

[MENTION=8010004]guest4711[/MENTION]:

No, i have no gapps installed and i won't.

;)

And there is yet no "lineageos with microG" for the redmi Note 5, so i have to do it by myself this time.
[Magisk] FriendlyNeighborhoodShane:
Nono, the NanoDroid.zip is for MicroG and some other stuff. You have to flash NanoDroid-patcher-*.zip
[Magisk] kurtn:
I recommend to stay with nougat ROM for better microG integration.
[Magisk] weissgarnichts:
Hmm, too late.

;)

I installed 15.1. If i had to do a fresh install, i would choose Nougat, but so I a am too lazy...
[Magisk] kurtn:
15.1 is most probably odexed. You can try nanomod patcher but it will throw an error. If you really need need microG you should use xposed fakegapps.
[Magisk] weissgarnichts:
Ok, I think I will do a fresh install with a ROM that supports spoofing ootb and then i wait untill Whyred is officially supported by LineageOS because then it should be possible to get a "LineageOS for microG"-ROM.

Thanks for your support, it saved me some useless tries...

;)
[Magisk] razorfancy:
If you have time please update the Playstore app to the latest version.
[Magisk] DoR3M3:
I'm running Stock Oreo on Mi A1, and I flashed the latest nanodroid zip in TWRP.

I thought the idea here, or part is to debloat stock rom from Google? With it installed, many apps, even the ones it comes with, I keep getting constant popups that the app has stopped...

oandbackup doesn't do spit for uninstalling apps, it doesn't work, I guess only good for backups. Maybe rooting phone and using Titanium is better to remove Google out of Stock Rom?

Can this work on Stock Rom, and do I also need to install all microg on this download?

https://microg.org/download.html

I really like the AndroidOne on the Mi A1, it's more stable then all the custom roms at the moment... So I thought installing nanodroid rom is going to remove all Google apps, but that doesn't seem to be true, only the playstore...

Hmm

Thanks
[Magisk] iacchi:
Stock roms probably have Google apps installed by default. microG is supposed to make Android work without them, so you should start with a rom without Google apps installed first.
[Magisk] DoR3M3:
I know what microg is, I just thought/assumed nanodroid is to rip out gapps and replace with microg, hence the word; 'pseudo-debloat'

But I overlooked on XDA it says; pseudo-debloat feature (Magisk-only), and I flashed it in TWRP.

The XDA post and the Gitlab site, read more like a Uniux/Linux Man Page...

The NanoDroid-17.1a.20180507.zip can be installed through Magisk, or this zip is for TWRP?

Hmm kurtn mentions staying with Nougat ROM for better microg, now that is sad, we need to stay on nougat for better support of all this?

I'm not sure if Nougat ROMs are also better support over Oreo ROMs, right now I see several Network bugs in a lot of the ROMs;

https://xdaforums.com/mi-a1/help/data-mobile-icons-status-bar-fluctuates-t3802498

Also Both Mobile Data, when using dual sim can't be turned on, with a lot of the ROMs I have tested on Oreo, Firehound, LOS 15.1, AospExtended...

To many bugs in the custom roms, I don't know why so many people say everything works and no bugs, because there are a lot, and it's to be expected, the ROMs are not very mature, afterall the source wasn't released that long ago, so it's going to take time to clean out the bugs...

Hmm
[Magisk] kurtn:
[MENTION=8949533]DoR3M3[/MENTION] I'm experimenting with GApps on Oreo custom ROMs. I can setup the phone without Google account. Restrict permissions of Google play services and disable other Google apps. Should work in stock ROM as well?
[Magisk] DoR3M3:
Nanodroid on Mi A1 running Stock Oreo is a big mess, almost all google apps have a popup, saying the app has stopped working, and these constantly keep popping up, so maybe it's because microg has to be installed, and I didn't install it. To be honest, I'm not really seeing the point of using Nanodroid. On a custom rom, gapps doesn't have to be installed, and microg can be installed as well on a custom rom, and all these apps bundled into Nanodroid can be installed by themself, so again, I don't get why using Nanodroid, for what purpose... Hmmm :(
[Magisk] elandroido:
Nanodroid can patch ROMs that do not support signature spoofing so that they can use microg instead of google play services. Plus Nanodroid can install microg and all the additional stuff you need for microg to work with all features.

So you can use microg on ROMs that do not support it out of the box and you do not have to install other stuff like patched play store and location back end manually.

Some Google apps may have problems with microg fake play services, but honestly I do not see a reason to use microg when installing tons of Google apps anyhow. I would loose stability but what would I gain if I use all the Google stuff anyhow?
[Magisk] :
The point is to make it easier to install these. Why do people use OpenGapps on custom roms? Because they don't want to install every google app themselves. If you don't like it, don't use it.

NanoDroid can't magically remove all the google apps, you're expecting too much from it.
[Magisk] DoR3M3:
[MENTION=5989241]elandroido[/MENTION] & [MENTION=6851526]JustMeErazem[/MENTION], thanks I understand, I guess better to use in Custom Roms...
[Magisk] Setialpha:
Hi everyone, haven't been active recently, but that's gonna change. Here's a summary:

a) GApps debloating: it currently only debloats System Apps, not User Apps, thus it's not always working (updates for System Apps are installed like User Apps in /data). Version 17.2 will try to change that, still starting with a clean ROM (either stock or custom) is preferred. Though stock might require more work, as you may add addtional apps to the list of apps to auto-debloat.

b) Play Store update: Version 10.5.10 is now uploaded, as usual use 'nupd ps', on-device, as root to update

Version 17.2~beta1 will arrive later today.

17.2-a) microG: Play Services Version and SafetyNet: Version 17.2 beta1 will arrive later today, which contains custom builds for microG GmsCore, microG DroidGuard Helper and nlpBackendIchnaea.

a-1) microG GmsCore custom build bumps the spoofed Play Services version (no more, mimimi, you're outdated, mimimi)

a-2) microG DroidGuard Helper with this pull request merged, which fixes SafetyNet with microG (yay!)

a-3) nlpBackendIchnaea latest git, which includes this commit

17.2-b) since Bucket was archived by the developer, NanoDroid is switching back to Substratum App (handled automatically)

17.2-c) usual app updates

17.2-d) 17.2 will add OmniClock, as that allows you to disable that brain-dead "pre-alert". Sorry, I don't know who thought that's good idea. Honestly, when I want my phone to wake me up at 6 AM, I don't want it to ring at 4 or 5 AM!

Ah, on a side note: those who follow the GitHub repos of microG will have noticed that mar-v-in is currently more active and that a few contributors, too.

Since the question rised again: "Why are those apps included in the full package, you can simply install them?"

a) it's faster, easier. You can achieve the same setup on all devices with just one download. That's the primary purpse

b) since NanoDroid can debloat System Apps, you can replace the sytem apps by OSS/custom apps without dups
[Magisk] Setialpha:
17.2~beta1

Version 17.2~beta1 now available, with the changes mentioned in the previous post.

Full ChangeLog since 17.1:

### General Changes

* Full package
* switch from Bucket/LibreSubstratum to Substratum App
* Bucket was abandoned
* if the user had Bucket in the lists of applications to install, NanoDroid will auto-migrate to Substratum
* add OmniClock and pseudo/debloat DeskClock by default
* OmniClock allows to disable that brain-dead pre-alerts
* Full, microG packages
* custom builds for microG GmsCore, microG DroidGuard Helper and nlpBackendIchnaea
* fix Safety Net, Play-Services update-nag, improve Mozilla backend
* more information below

### Updates

* automatic
* Orbot (16.0.2-RC1)
* (Simple) Calendar (4.0.4)
* (Simple) Gallery (4.1.1)
* OpenKeychain (5.1.1)
* QKSMS (3.3.2)
* Yalp Store (0.42)
* AnySoftKeyboard (1.9.1944)
* NewPipe (0.13.5)
* KeePassDX (2.5.0.0beta11-libre)
* Substratum (992)
* OmniClock (2.0.14)
* K9-Mail (5.503)

* manual
* Play Store (10.5.10)
* microG GmsCore (0.2.4-114-g33d7e56_custom)
* bumped spoofed Play Services version
* fixes 'update your Play Services' nag
* microG DroidGuard Helper (0.1.0-17-ge726079_custom)
* fixes SafetyNet attestation with microG
* see [this pull request](https://github.com/microg/android_packages_apps_RemoteDroidGuard/pull/19)
* nlpBackendIchnaea (1.4.0_custom)
* latest upstream snapshot

Download links

Download from AFH or Nanolx.

Bug reporting

In case of errors, please provide

/data/adb/.nanodroid_MODID

/data/adb/.recovery_MODID

logcat (if applicable)
[Magisk] sugnuf:
Hello,

Thx for updated version. Im using MicroG only and it works on arm64 (AEX 8.1), but failed to install on SonyZ1C/AICP8.1 arm/armeabi-v7a armeabi. TWRP rebooting after this messages:

substitute: adjust [MENTION=1844459]zipdir[/MENTION]@ in /system/xbin/nanodroid-overlay

substitute: adjust [MENTION=3065454]ModP[/MENTION]ATH@ in /system/xbin/nanodroid-overlay

CANNOT LINK EXECUTABLE "/system/bin/sh": cannot locate symbol "__register_atfork" referenced by "/system/bin/sh"...

libc: CANNOT LINK EXECUTABLE "/system/bin/sh": cannot locate symbol "__register_atfork" referenced by "/system/bin/sh"...

libc: Fatal signal 6 (SIGABRT), code -6 in tid 357 (nanodroid-overl), pid 357 (nanodroid-overl)

Last working version for this phone is 16.5. 17.0-17.1 behave the same as 17.2.

Logs from recovery in attach, no info in /data/adb.

Tia.
[Magisk] Setialpha:
I'll have a look. The files in /dara/adb are hidden btw.

I've seen that before, either something wrong during setup or outdated TWRP. Not related to architecture, though, my Nexus 6 is arm, too.
[Magisk] DoR3M3:
[MENTION=4187311]Setialpha[/MENTION], this is what I found confusing about NanoDroid, this is saying Debloat System Apps, but when someone installs a Custom Rom, most them are just bare, basic, with nothing in them, so there aren't any system apps to debloat the system from, this is more the way I see it, something to do on a Stock Rom, which certainly has bloat.

If someone has a bloated custom rom, this seems wrong, stock roms bloated, seem like this is what Nanodroid should be for, but on Stock Oreo, it didn't really remove much, and then many popups of apps closing, that could not run, and so constant popups all the time...

I think this is a great idea, but not working on Stock Oreo...

Hmm
[Magisk] marcdw:
[MENTION=8949533]DoR3M3[/MENTION], you're making assumptions about system apps. Custom ROMs (save for Dark ROM) still have basic apps. Contacts, dialer, clock, browser, calculator, calendar, gallery, camera, etc. Some have a full suite of default apps, some are quite minimal (omitting browser, music, calendar, f.i).

Some of those items would be pseudo-debloated and "replaced" with corresponding apps from the NanoDroid package.

Folks like to install their favorite apps but then wind up with items of duplicate functionality. Then go about trying to remove or freeze the bundled app.

Bloat doesn't always equal/mean Google.

ZTE Axon 7 A2017U, Project New World, Multiboot, Tapatalk 4.9.5
[Magisk] DoR3M3:
[MENTION=6046143]marcdw[/MENTION]. yes you're right my bad, there are quite a few roms that have as you mentioned, I was just thinking about the basic ones... ;)
[Magisk] sugnuf:
Yeah, i know that this files are .*, but version 17.x didnt create it. I can send files from 16.5 if You want.

Well, i thought about wrong TWRP too and will try with other version later.

Ah, one more info - i dont use MAGISK.
[Magisk] :
I recommend you check the full list of apps that can be installed. Then you'll see which apps get replaced. For example, you could just install QKSMS and stop using Messages, but on some roms, you can't really uninstall/disable messages and it's a lot better if QKSMS is a system app. This is what NanoDroid does. It temporarily removes the Messages app using Magisk, and installs QKSMS as a system app (again temporarily using Magisk). You can also force system mode using the config file and choose to actually remove the stock app as well.
[Magisk] piskor:
[MENTION=4187311]Setialpha[/MENTION]

Could you please check your website? It's not accessible right now and there is no possibility to update PS:

mido:/ # nupd ps

Updating: Phonesky

Connecting to www.nanolx.org (87.118.73.2:443)

wget: short read, have only 0: Connection reset by peer

wget: error getting response: Connection reset by peer

!! failed to download Phonesky

1|mido:/ #

/EDIT/ Website accessible. I was able to update PS.
[Magisk] droika:
Wrong thread, please delete.
[Magisk] kmem:
Nandroid is working like a champ here. Passing Safetynet again. Thanks a bunch seti.

---------- Post added at 02:19 PM ---------- Previous post was at 02:10 PM ----------

@dor3m3

All MicroG documentation warns against installing over top of gapps. Since MicroG is a substitute for Google play services, the prerequisite of a ROM devoid of any Google apps helps to ensure no conflicts arise. This seems like it may change in the future for NanoDroid according to Seti's last comment though.
[Magisk] LovepreetSinghGill:
Can I fash 17.2 beta over 17.1
[Magisk] abacate123:
If you don't see anything saying the opposite, then yes.
[Magisk] guest4711:
I did it without problems. Either as magisk module, either in system mode (on my i9100 which does not allow magisk).
[Magisk] DoR3M3:
To be honest, with all the messing around I have been doing in the Stock, and then Google issues I have come across, I'd rather run a custom rom with no gapps installed...
[Magisk] :
That would still pose a problem sadly. Most apps need Google Play Services for pushing notifications and of course there is the Play Store, without which you can't even install most apps. In that case better use OpenGapps and have no problems to fix.
[Magisk] DoR3M3:
I've run a few custom roms in the past without gapps and no problems, like LOS, DotOS, AospExtended, and a few others, not sure in stripped down roms like these, what apps need the google play services...

A lot of apps on Google Play Store can be downloaded without the Play Store, there are ways around it, especially if the developers aren't offering the download(s) on their site...

And if someone wants a Open Source solution there's F-Droid...
[Magisk] abacate123:
Hello [MENTION=4187311]Setialpha[/MENTION]. Thanks for the beta, everything is working as intended here now. Appreciated.

Just a side note, would you consider adding Aurora Store (https://f-droid.org/en/packages/com.dragons.aurora/) instead of or with Yalp Store? It's a new fork of Yalp, with a beautiful UI and more functions. Take a look later.