yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Shadow53:
Hmm. If you can provide a logcat from when it gives that error, I might be able to help figure out the problem. No promises, of course. I don't use that zip, myself.

Ugh. Here I thought I'd fixed that problem.

I typed out the below instructions, then realized there is a simpler fix. Go into F-Droid and manually install the latest version of DuckDuckGo (tap "Versions" and then tap the first version listed). Accept the "update" and DuckDuckGo should launch.

Or, you can do the work my zip didn't:

**This is the long way of fixing the issue. You probably want to follow the above instructions instead. I just didn't want to delete everything I typed.**

1. Open /system/app/DuckDuckGo/DuckDuckGo.apk as a zip file. You may need to copy it to /sdcard/ first.

2. Extract the lib/ directory from the apk.

3. Copy that lib/ folder so it is at /system/app/DuckDuckGo/lib/

4. Determine the processor architecture of your device (arm, arm64 (aka aarch64), etc)

5. Delete all folders in lib/ EXCEPT for the one for your arch. Rename the one that remains to a simpler version, e.g. armeabi becomes arm, aarch64 becomes arm64.

6. Edit /system/add-on.d/05-no-gapps-stock.sh and add the contents of that lib folder to the list of files to back up. On my phone, that entry looks like "app/DuckDuckGo/lib/arm64/libadblockclient-lib.so" (the path with the leading "/system/" removed)

7. Ensure the permissions on lib/ and the folder inside it are 0755, meaning owner can read, write, and execute, while group and other can only read and execute. Also ensure the library .so file has permissions 0644, meaning owner can read and write, while group and other can only read. If you have Amaze installed, you can do this by tapping the three dot menu next to a folder or file and selecting "Properties".

8. DuckDuckGo should open properly now and the library file should persist across system updates.
[Miscellaneous Android Development] paolone1:
I send here the logcat of the error [MENTION=7126506]Shadow53[/MENTION]

don't worry if yuo can't system this problem... I try to learn to use CalDav :angel: thanks for the tip for repair Duckduckgo
[Miscellaneous Android Development] Shadow53:
For the curious, I've put together a blog post with more details relating to the rewrite of zip-builder: https://shadow53.com/post/zip-builder-structure/

So here's what I've found that might be causing problems (more of an informational thing than anything):

java.lang.ClassCastException: android.content.ContentProviderClient$CursorWrapperInner cannot be cast to android.database.AbstractWindowedCursor

No clue what in the contacts sync adapter is causing this to be thrown, but it's the only related thing I can find that would cause it to randomly stop working.
[Miscellaneous Android Development] RebelLion_:
[MENTION=7126506]Shadow53[/MENTION] the work youre putting into a fully functioning zip builder is a godsend
[Miscellaneous Android Development] Shadow53:
Thanks for the affirmation. With the stresses of life and school and everything else, it feels good to have people appreciate the work you do.

This is a thank you to everyone who provides feedback with this project. It'd be a lot harder to work on this without knowing people actually want to use it.
[Miscellaneous Android Development] memarama:
I just installed an update to my micro-bundled lineageos powered Nexus 7 (flo), flashed your Play Stored (patched) package afterwards, but this time Play Store isn't connecting properly again. I did the same a couple of times before without problems. Is there anybody here facing the same problem? What can I do? Should I try ale5000s microg installer which bundles a different version of the Play Store?
[Miscellaneous Android Development] Shadow53:
You could use ale5000's installer. You could also try flashing the official Play Store or, you know, provide a little more information.

Had the patched Play Store been installed before the update and you were updating it? Did you have the official Play Store installed and you decided to switch to the patched one? Was there no Play Store to begin with, then you installed and got this issue?

Without a clear image of before and after flashing (or logs), I don't know what may have caused your issue. What I do know:

- The patched Play Store needs to have the signature spoofing permission manually granted to it https://shadow53.com/android/no-gapps/faq/playstore-incorrect-signature/

- My Play Store packages delete the data for com.android.vending when flashed so that people changing between different apps don't experience random crashes.

- AFAIK, ale5000 bundles the official Play Store, not a patched one. You can get the same effect by flashing my *other* Play Store zip.

- You probably need to double check that microG self-check and make sure everything is as it should be.
[Miscellaneous Android Development] memarama:
Dear Shadow53, thank you for your help.

The patched Play Store was installed before the update, but I didn't do a update manually. Maybe it was done automatically. I had never installed the official Play Store. The old patched Play Store was installed before the update. I put your zip-file in the FlashAfterUpdate-folder so it is flashed again on every update.

I will try these advices when I'm back from vacation in about a week. I never checked the signature spoofing permission, but the self-check of microG showed that everything is like it should be.

It seems like others having this problem too: https://xdaforums.com/showthread.php?p=75991201#post75991201
[Miscellaneous Android Development] marcdw:
I could be wrong but I think at times the Play Store is trying to do certain maintenance that it cannot do because of the disabled DailyHygiene service.

At times, usually on first boot of AospExtended N w/microG, (patched) Play Store will come up blank. I would jump to MyAndroidTools or DisableService, re-enable DailyHygiene, PS displays updates/installed apps, then re-disable the service. Play Store will be good for the duration.

Next time I have to pay attention to the extra services Play Store was trying to use when it came up blank.

Using the same microG installer w/PS (8.3.43) on Bootleggers Oreo but so far working normally.

Moto G5s Plus XT1806, Bootleggers ROM Oreo, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] marcdw:
Still might be wrong but here goes. Boot into AEX and once again Play Store just has a busy indicator. From the looks of it the InAppBillingService is trying to run but cannot.

I enable DailyHygiene, give Play Store a second to populate, then disable DailyHygiene. Everything back to normal.

On most of my ROMs I use pre-v9 Play Store, gapps or microG, with the service blocked. At the moment I have the issue only on this ROM though something similar used to happen on another microG ROM.

ZTE Axon 7 A2017U, AospExtended v4.6 ROM, microG (NoGapps), Multiboot, Tapatalk 4.9.5
[Miscellaneous Android Development] Shadow53:
If your ROM has addon.d support (most do, Lineage does) then there is no need to put the zip in a FlashAfterUpdate folder because the Play Store will automatically be backed up and restored across system updates.

That shouldn't have caused the issue though, unless the Play Store didn't like having its data wiped.

Unless you need to make (not verify, but make) any in app purchases, you might try installing the official play store instead. I'm currently going without, so I can't verify if I works, but I haven't had issues in the past. At the very least, it shouldn't hurt anything more to try it.
[Miscellaneous Android Development] Shadow53:
Did you disable this service manually, or did I miss it being disabled by default with NanoDroid?
[Miscellaneous Android Development] marcdw:
I disable the service manually.

I do remember that for awhile the patched Play Store had something disabled in it that kept it from autoupdating. Also had that periodic notification of it trying to update itself. I believe that used to annoy folks.

LG G3 D851, CyanogenMod CM12.1 ROM, Fechda R7 Kernel, MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] Shadow53:
Well, I feel a little gross for how I did it*, but I managed to fix (read: work around) the issue I've been having of library files installed by my zips disappearing after a system update. I would highly recommend re-downloading any zips you previously installed and reinstall them (read on before you do).

There have been some changes to the No Gapps packages. OpenLauncher is the installed launcher app again and asserts itself over the other launcher apps by removing them. If this causes problems (i.e. broken ROM features) then let me know and you can restore by editing /system/addon.d/05-no-gapps-xxxx.sh, delete the line that removes your ROM's built-in launcher, and dirty flash your ROM. Fennec F-Droid is now the default browser, as it has been working well for me. Vinyl Music (Phonograph fork) is the default music player. There might be other changes, I don't quite remember what apps I originally had. The No Gapps download page has up-to-date information on what apps are in which zips.

In case anyone wants to ask about adding Galaxy to the zips: I'm preferring to wait until the F-Droid release, which is held up by Yalp's licensing issues. Once Galaxy is available in F-Droid, I'll be replacing Yalp with it in the zips.

Still working on that rewrite, too. Been averaging about one or two passing tests per week, depending on the complexity of the thing being tested. Most of the foundation seems to be done, so I should be able to start working on the code for actually building the zip fairly soon™.

*I feel gross because the "fix" was to add all files to an generic addon.d file instead of trying to make ones specific to ARM or x86 devices. As such it doesn't fix the underlying issue, but the bug disappeared.
[Miscellaneous Android Development] kurtn:
Hi [MENTION=7126506]Shadow53[/MENTION]

I would like to update microG that was installed with your zip. In nougat f-droid can do that. In Oreo not. Can we solve this?
[Miscellaneous Android Development] Shadow53:
I didn't have issues updating through F-Droid on Oreo. If you have the microG repository set up and are sure you are installing microG and not UnifiedNlp, more information on the error would be helpful.

If that seems like too much work, you can download a newer version of the microg.zip and flash it - the ones with the Play Store haven't been updated yet because I need to update the checksums for the newer Play Store apks.
[Miscellaneous Android Development] kurtn:
There seems to be a problem with microG repository. It says "Unverified" and doesn't load.
[Miscellaneous Android Development] Shadow53:
Someone else ran into this issue, I think. I was able to update microG fine when I added the repository after the update was released, but someone else had an issue with the repository failing to verify when it had been previously set up.

It's possible the keys got changed or something in the repository - [MENTION=3999488]MaR-V-iN[/MENTION] would have to clarify that - but it should update if you remove and re-add the repo.
[Miscellaneous Android Development] kurtn:
Scanning QR code from my primary phone did the job
[Miscellaneous Android Development] paolone1:
[MENTION=7126506]Shadow53[/MENTION]:

I using your latest zips without problems on a N9005 Samsung with LineageOs-Microg 14.1

thanks for your work
[Miscellaneous Android Development] Shadow53:
Yes, it should be safe to download the latest version of the zip and flash it. The zip will wipe Play Store's data on install (to protect people who switch between Play Store implementations), but that shouldn't cause issues.
[Miscellaneous Android Development] paolone1:
O.T.: I like to use Davdroid to make a 2 way synk with google calendar... the sync works well but is only 1 way, I cannot add/edit the appointment in the goggle calendar from the smartphone.

do you have this problem? how to resolve?

thanks for your help
[Miscellaneous Android Development] marcdw:
Y'know, I never thought about that.

So I booted into the ROM with DAVdroid. Went into calendar (AOSP) and added an event. Didn't see any network activity in the status bar when I exited so not sure what happened at that point.

Went into DAVdroid and realized the settings for my account were set to manual only. Changed it to once a day (+ immediate changes) and went back to calendar to edit the event. Just because.

Rebooted the ROM, also just because.

Then I went to another ROM with Google stuff. The new event was there. Two-way syncing with DAVdroid works fine I guess.

Your post seems to signify another issue. You say you can't add/edit an event in Google Calendar. That has nothing to do with DAVdroid. Problem is with Calendar. It's been ages since I tried that calendar on a microG setup. I'd suggest moving away from Google apps where possible. Maybe try Etar (AOSP cal with dark theme option) or some other app.

Moto G5S Plus XT1806, FireHound v4.5 ROM, MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] Shadow53:
I don't have this problem because I use an instance of Nextcloud for contacts and calendar, not Google. I agree with [MENTION=370099]MarcW[/MENTION]'s response: if you mean the Google Calendar *app* as well, use something else like the AOSP calendar default in custom ROMs or Simple Calendar or Etar from F-Droid.

Those URLs for syncing with DAVDroid can be changed at any time, so it would be worth finding alternate sync providers. The DAVDroid website has a list of tested and supported providers you can look through.
[Miscellaneous Android Development] paolone1:
[MENTION=6046143]marcdw[/MENTION] and [MENTION=7126506]Shadow53[/MENTION] thanks for your answers and sorry for my late reply... yesterday I discover the solution of this problems reading the FAQ linked in the DAVdroid app, which are different from the FAQ in the DAVdroid site :)

Thanks for your help
[Miscellaneous Android Development] paolone1:
[MENTION=7126506]Shadow53[/MENTION]

in the last 2 weeks the apps from your nogapps.zip "disappear" after I dirty flashed the rom I use, I need to reflash the nogapps.zip

I use LA14.1 Microg

Thanks
[Miscellaneous Android Development] Shadow53:
Yeah, I had a small issue with the build system only including the survival script for Lollipop devices. That should be fixed now - I had been hoping that it wasn't around long enough to affect people. Download the latest one and flash it - it should install a file to /system/addon.d/ if it does, those files should remain across dirty flashes.
[Miscellaneous Android Development] paolone1:
[MENTION=7126506]Shadow53[/MENTION] :

yesterday I flashed the AOKP 7.1.2 for HLTE and your 3 zip: microg, unifiednlp and nogapps.zip

All is ok and today the rom have is weekly update without problems.

May I suggest to use Simple Calendar from FDroid in your zip? I think is more configurable and have more options, better than Etar (at least for my personal use...)

Thanks for your work on the .zip files
[Miscellaneous Android Development] Oswald Boelcke:
Actually the whole "Simple"-family is very fine; however, which application to use always depends on personal preferences and usage i.e. it's a tough decision for @Shadow53 what to incorporate into his NoGapps package but I believe the most important thing is that the included apps are all FLOSS.
[Miscellaneous Android Development] Shadow53:
Last time I tried Simple Calendar, it didn't have too many features aside from a custom color scheme and didn't have too nice of an interface. Are there specific features Simple Calendar has that Etar doesn't and that you use?

FLOSS is important, but so is usability, features, and appearance - basically, the app should look like it could be part of the system and not stick out because it's from the Gingerbread era. The apps I've chosen were because of a (subjective) combination of those requirements. Sometimes my own preferences are different than the defaults I choose, so I often do a "custom" build of my NoGapps package for myself (I also do this for testing if certain apps work "systemized").

[MENTION=629539]paolone1[/MENTION] it's also important to keep in mind that you can download zip-builder and the build recipe I use for NoGapps, modify it, and build a custom zip for yourself. I provide the zips I do for convenience, but you are by no means restricted to them.
[Miscellaneous Android Development] paolone1:
[MENTION=7126506]Shadow53[/MENTION] :

Simple Calendar for me is very good because I can use and modify without problems my appointment in google calendar,Etar (I'm also try to use others service...), because of the high configuration of is widget (I like to customize the screen of my mobile :)) and SC have a good CalDav sync implemented.

Etar have some bug open about the sync/modify of the appointment in Google Calendar.

About the nogapps.zip you're right, I have read all your documentation and I need to try by myself to build.
[Miscellaneous Android Development] Oswald Boelcke:
Michael, I really appreciate the view into your philosophy and the rational behind it. Thanks very much! From my personal point of view this is exactly the right approach and it easily offers other users to implement modifications that meet their requirements and desire.

May I suggest to probably add your philosophy to the OP of this thread to enhance understanding for the capabilities of your flashable zip builder. And unless it's already there (but I didn't find it), I guess your philosophy is worth to be mentioned somewhere at shadow53.com.

(Small remark: You might want to consider to replace "NanoMod" by "NanoDroid" in the OP - just for consistency:)
[Miscellaneous Android Development] Shadow53:
Well I've finally updated the OP with correct information, including changing NanoMod to NanoDroid. Some links have been updated and such, as well.

I know I've been promising a new version of zip-builder for some time now, but I've been caught up in a few other projects lately, mostly relating to my websites. After changing hosting providers, I had to implement my own form handler while making sure it stays secure and somewhat protected from spam. There's still work to be done there, plus I'm trying to figure out how to let people do one-time donations - I don't trust PayPal after hearing multiple stories of losing hundreds of dollars when PayPal randomly decided to freeze accounts. Stripe looks like a good choice, but requires writing more server software to integrate with it. There's also my websites' theme, which is in sore need of some attention.

I've still been rebuilding zips once every week or two to keep them up to date, I just haven't been working on writing the new zip-builder.

I also made a post a few weeks ago about the costs that I'm under and how I'd like any monetary support that people are willing to give. Maintaining the websites and projects that I do takes up a lot of time, enough that having a job will increase the time it takes to get things done. Especially once school starts up again, when I'll basically have to choose between a part-time job or spending my free time working on this stuff.

I know I've been less active in this community, including the No Gapps/MicroG community, but if the people who use my zips would subscribe to me on Patreon for even $1/month. that would help a lot. If people want to do a once-off donation, the only way to do so currently is to subscribe via Patreon and cancel the subscription once the first payment goes through (you get an email notification).

Finally, I want to make it clear that I am still going to write that new version of zip-builder - the current one is workable but rough around the edges and doesn't have features that I'd like to see in the new version. Since the current version works, it's just been pushed off so I can get to other things that aren't working.
[Miscellaneous Android Development] kurtn:
Hi, I installed the unifiedNLP.zip on a clean official lineageOS. No other zips. Location works well, but the last two items in self check show fail messages. Looks like a bug. Do you know a workaround?
[Miscellaneous Android Development] Oswald Boelcke:
Same applied to me on the Oreo ROMs I tried (official LOS and RR-O). Also tried with Xposed unifiedNLP but same result: Good passive location but the check marks missing. Anyhow, as I realised that Oreo has absolutely zero advantages for me, I reverted to Nougat - and all fine again.
[Miscellaneous Android Development] Shadow53:
I think I've seen others reporting similar problems with UnifiedNlp and I think also MicroG. If network location is working for you even with the boxes unchecked, I'd say make sure a bug is reported upstream, then keep using it since it seems to be working.
[Miscellaneous Android Development] kurtn:
tried to install nlp in pie. Can't activate back ends

Edit: others seem to get it working. ROM issue.
[Miscellaneous Android Development] Shadow53:
No More MicroG Zips

Thought I should post this here, since most - if not all - people are subscribed to this thread because of the MicroG installer zips.

Basically, I don't have the time to keep up with making MicroG zips now that there are a bunch of forks, each with their own installers. Rather than offer some half-hearted attempt because some people like to use mine, I've put together a few zips to make it so that the NanoDroid-MicroG installer acts like mine did.

You can find some more information at https://shadow53.com/post/unofficial-microg-zips/ and apologies for any inconvenience.

All other zips, including the standalone UnifiedNlp and Play Store zips, are still automatically built and available. This only applies to the ones containing MicroG.
[Miscellaneous Android Development] patrickdrd:
hello,

I downloaded patched play store,

how can we get notifications when there's a new version uploaded? is there any way?

thanks
[Miscellaneous Android Development] Shadow53:
The patched Play Store is from NanoDroid, which has its own F-Droid repository now. The best way to get updates is to add https://nanolx.org/fdroid/repo to F-Droid's repository list.
[Miscellaneous Android Development] patrickdrd:
ok, I updated play store, but I cannot update services core because signatures don't match,

I installed from microg repo, and update is from nanolx repo,

how do I solve this?

(I don't want to uninstall installed version because I'll lose all gcm registrations)

or should I stick to the one I have?
[Miscellaneous Android Development] kurtn:
Depends. Do you see apps complaining about Google play services need update? Nanodroid would solve.
[Miscellaneous Android Development] patrickdrd:
no, I don't, I see,

so I'll stick to the one I have and if/whenever I run into trouble I have the option to switch to nanodroid,

but isn't there a way to restore registrations?

titanium backup doesn't help in this case?
[Miscellaneous Android Development] Oswald Boelcke:
Restoring applications by Titanium (TB) won't register them in GCM again. If you install/re-install (not update) µG you need to uninstall the applications you want to receive GCM/FCM push notifications and to re-install them the "regular" way. But afterwards you can restore the data of those applications by TB. Remark: By my personal experience, to flash a TB's update.zip is also no solution.
[Miscellaneous Android Development] patrickdrd:
this should/could be the first drawback of microg as opposed to regular play services I guess,

I could wipe, even uninstall the regular package without losing the registrations,

the saved state of which should be handled more "delicately"
[Miscellaneous Android Development] Shadow53:
If you look in the "Versions" section for MicroG on F-Droid, you can see which repository each version is from. You'll want to check that the version you're trying to install is from the MicroG repository, assuming you have that set up.

NanoDroid tends to get more regular updates, but the official MicroG is, well, official. It's ultimately up to you for which one to use.
[Miscellaneous Android Development] kurtn:
[MENTION=7126506]Shadow53[/MENTION] how about making this fix part of your unifiedNLP zip?

https://github.com/microg/android_packages_apps_UnifiedNlp/issues/171