yashsingh1/xdaforums huggingface dataset:
[Android Software Development] osm0sis:
Still fails 🤷‍♂️

Unless you have another idea I'll have to experiment again with it the next time I clean flash, for now I'm happy just to get Screen Attention working again.
[Android Software Development] Nikhil:
Just try one last thing, wipe the data of Private compute services and settings services. Ensure all the apps are updated in playstore.

If this doesn't work, it's just best to clean flash. I wish I could reproduce the problem to give you recommendations that I know will definitely work.

I am advising this because these apps are the ones responsible behind the scene for the functionality to work and wiping the data should just start fresh.
[Android Software Development] osm0sis:
I tried clearing data on those and TTS using Swift Backup and then rebooted and still no luck. Oh well.

As for the OTA process, major success! Everything appears to have worked(!), with only one minor exception:

Debloater addon.d appears to not have worked, so Eleven and Seedvault came back after the update.

On my device ROM the respective apps are located at:

/product/priv-app/Eleven

/system_ext/priv-app/Seedvault

And debloater does work perfectly on a zip flash, so the issue is isolated to the addon.d. /sdcard/NikGapps config/logs directory zip attached.

P.S. I noticed /sdcard/NikGapps/addonLogs/NikGapps_addon.log continues to grow with subsequent OTAs, not sure if intentional; maybe it should have a date like the other or get cleared with each OTA, or it should all be in the dated logs?
[Android Software Development] myi500:
Hello all.

I have a Pixel 7. Im trying to use LineageOS. I tried installing both CalyxOS and Lineage with Micro but sadly neither OS has the necessary functionality required by the app Duo Mobile to allow google logins. That led me to falling back to using a GApps toolset. I've been reading that I need Trichrome library, webview installed which your Gapps has. Also when I try to install from Aurora I get compatibility errors. But after 2 weeks of submitting custom configs I'm still not getting Duo to give me the login prompts. The only way so far that I have been able to get Duo to work on 3rd party OS is by using Nik Gapps Core config.

After looking at the .config for "Core" package I see that almost ALL options enabled. I was hoping I could reduced Googles foot print on my phone beyond the what the "Core" package provides.

Can anyone tell me what is the absolute minimum options I need to enable in the .config file to get the Duo Mobile app to work properly?
[Android Software Development] Nikhil:
Can you link me to any of the pull request that you've submitted and has been waiting? I'm sure there will be necessary response if there was an issue with the config that you submitted.

Also, your best bet is building the gapps with core + Google chrome addon.

Alternatively, you can download NikGapps core and Google Chrome addon from sourceforge.net and flash it in recovery. There's Google duo app available too. No harm in flashing that but that can easily be installed from Playstore and would function the same.
[Android Software Development] myi500:
Here is the last 1, I submitted. I thought I did enabled Core and chrome in the .config file. Are you able to see this the file from the link below? But it was already merged... Should I resubmit or just post the .config on here?

whoube2.config by whoube · Pull Request #6382 · nikgapps/config

even more g crap allowed

github.com
[Android Software Development] myi500:
Please let me know if thats not sufficient response.
[Android Software Development] Nikhil:
All good

You will find the link here - https://t.me/NikGappsGroup/185401/190010
[Android Software Development] myi500:
It got late on me and I forgot to say thank you. Especially for really quick turn around on this!
[Android Software Development] Nikhil:
Both the issues are fixed.

Fix the debloater not surviving OTA update

Fix the incorrect naming convention of addonlogs

It will be released as soon as I finish updating go apps for android 12 and 13.
[Android Software Development] Nikhil:
New Stable Release is up - 19th Mar 2023 (Android 10-13)

Changelog:

- Fixed the incorrect naming convention of addonlogs

- Fixed the debloater not surviving OTA update in some scenarios

- Enable pixel launcher animations

- Update the Go apps to latest available versions

- Update NikGapps Logo in recovery

- Minor Script Improvements

Note:

- Clean flash is recommended!

Happy Flashing!
[Android Software Development] osm0sis:
I decided to grab a logcat for us to see what the exact issue is. It reads kinda interesting, kinda confusing, like something wrong with the download itself: "Unknown source", permissions issue somehow still?

I then experimented by grabbing the URL from the log, downloaded en-US v3008 manually through Chrome, unzipped it into /product/usr/srec and now all don't complain about being out of date. Good workaround so far it seems! 🤠

Does NikGapps add srec? I couldn't find the package when I looked through. I know Open GApps used to push their own from a Factory Image.
[Android Software Development] Nikhil:
yes, we do, https://gitlab.com/nikgapps/13/-/tree/main/GBoard/GBoard/___usr___srec___en-US

It's should be under /product/usr/srec/en-US folder.

do you have Gboard installed?

also, can you confirm the NikGapps build date that you are on? and that you clean flashed or dirty flashed?

Surprised to see you're still facing the language download issue :unsure: as long as you have AIS, Private Compute Services, Settings Services and you clean flashed 9th march or above build, it should work.
[Android Software Development] osm0sis:
Yeah it's like I said, something with the Google account appdata restore seemed to break it for me. Haven't clean flashed again yet since the last one I reported on (0309), just dirty flashed 0311 and now 0319, and poking around to see what I can get working. GBoard is enabled in my config yeah, I just missed srec in there when looking through. 👍
[Android Software Development] osm0sis:
Just took another Lineage OTA and had to reflash latest GApps again after to get Debloater addon.d set up correctly, so that got me thinking:

1) Shouldn't it work using the provided keywords/paths even when GApps was flashed after, e.g., a manual removal of targeted apps/files?

2) Shouldn't the addon.d script # prefix be 04- or less so that debloating occurs before app installs, to provide the most space and mirror the order of the install zip?

3) After my usual setup with Full zip then Duo addon zip, I noticed the script ended up with:

list_files() {
cat <<EOF
etc/permissions/Debloater.prop
etc/permissions/Debloater.prop
EOF
}

So seems something might need adjusting to avoid that sort of duplicated listing?
[Android Software Development] casouzaj:
I use the full version. It`s possible that yesterday`s LineageOS 20 build had Android 13 QPR2 merged. Pixel Launcher runs, but the recents panel is broken.
[Android Software Development] Nikhil:
1) a manual removal of targeted apps/files? can you please elaborate?

2) Logically, yes! Changes made - Set the Debloater index to 04 to make sure debloater runs first (to make space for gapps restoration)

3) Thanks for finding it, Fixed the generation of duplicate prop values in list_files (addon.d)

Next release will have it incorporated and can be dirty flashed to override the existing addon.d (as long as Debloater.prop from /system/etc/permissions doesn't have duplicates). If the prop file does have duplicate, then a clean flash will fix it. Regardless, it won't hurt the restoration in next OTA update.

I appreciate you bringing in those bugs to my notice, NikGapps is getting better with every release.
[Android Software Development] Nikhil:
Thanks for reporting, I will take a closer look at Pixel Launcher after I update my op7 pro with next LineageOS 20 build which is due in next 2 days. Meanwhile, can you screenrecord and show how it is behaving?
[Android Software Development] casouzaj:
It's this way, no matter if it is invoked by gestures or 3 buttons navigation.
[Android Software Development] Nikhil:
so if you open any app -> go back to home

still you don't see any app in the recents? always blank?

can you grab a logcat?
[Android Software Development] casouzaj:
I've been told that the Pixel Launcher included in your package is meant for QPR1 only. Is it true?
[Android Software Development] osm0sis:
My bad, I could've explained that better.

After my last OTA where Eleven and Seedvault weren't removed due to the Addon zip Debloater bug, I just went and deleted those APKs manually.

So then even though I'd recently dirty flashed the NikGapps with the fixes, the Debloater config didn't add anything to the addon.d since I had already manually removed them beforehand.

My question is, why does the exact path need to be detected during the install at all? Couldn't the Debloater config (in my case just the two keywords: Eleven

Seedvault) just be dumped directly into the addon.d script and then the addon.d script could handle it all from there?

And, heck yeah, I'm really impressed by the scope and robustness of NikGapps so I'm pretty excited to see it become a bugless beast! Glad you don't mind my rigorous testing! 🤠
[Android Software Development] Nikhil:
The Packages are never meant to last a specific release only. They need an update when google brings a bigger change. There are bunch of fixes and features introduced with Pixel Launcher with QPR2 (just like QPR1) which is probably why it needs attention. The dumps are not yet up (should be soon enough) after which we will have an updated apk with their overlays shipped in NikGapps.

The idea behind shortlisting the paths that were debloated by the system was because the execution of finding the folder and deleting it takes a while and we may have multiple folders listed in debloater.config (say 10) but actually only a few exist (say 2). So the execution of deleting "two known paths" vs 10 "find and delete" is faster and optimized.

I did have this in place before and eventually removed it and brought in 'prop' concept which captures the folders we're deleting and operates on them only.

I will try to find an optimized solution and implement a way to delete the predefined folders always.

Thanks! There are a lot of new things to implement that actually gives full control over gapps. :)
[Android Software Development] R7D7:
Will someone point me to step-by-step documentation for how to change which packages are installed via NikGapps? I've read All about NikGapps.config carefully several times and still don't understand. While I am very well versed in *nix desktop and server system administration, I am just getting into Android and obviously don't have enough contextual knowledge to understand specifically what to do from the link.

My philosophy is to always start minimal and install things as needed rather than install the world and try to cut back. So I installed LineageOS 20 and NikGapps Core (specifically NikGapps-core-arm64-13-20230218-signed.zip) and they are working. I'd like to now modify which packages are installed.

If I understand correctly, I need to create a directory at /sdcard1/NikGapps and install (and modify) nikgapps.config. I'm then supposed to reflash the zip I used originally (the one specified above I believe). The commands I original used are

$ adb reboot sideload
$ adb sideload lineage-20.0-20230223-nightly-fajita-signed.zip
$ adb sideload NikGapps-core-arm64-13-20230218-signed.zip

then rebooted from the bootloader. Do I need to repeat the first and last steps in order to reflash after I've set up nikgaps.config?

$ adb reboot sideload
$ adb sideload NikGapps-core-arm64-13-20230218-signed.zip
[Android Software Development] Nikhil:
Yes that is correct. More details on how to install NikGapps can be found here.

I hope you know you don't specifically need to keep nikgapps.config in /sdcard1/NikGapps. It's one of many locations that you can choose based on your preference.

Once you define your config for daily use, you can also use the same config to create your own build by following this.
[Android Software Development] osm0sis:
I figured it out! 🤯

The Google account appdata restore brought over system settings which disabled WiFi/Mobile data access permissions for Private Compute Services, Settings Services, Speech Services by Google, and Recorder. Flipping it on for them got language packs downloads instantly working! 🥳😁

Not sure if there's a way to guard against this for all users with a permissions xml or something, but glad I've got everything functional finally. Thanks for bearing with my troubleshooting. 😛

Edit: It got Live Caption working too! 🤘
[Android Software Development] Nikhil:
That's great news! Now on to the next challenge, QPR2 :D
[Android Software Development] Maverickiller:
Same problem here.

Wallpaper and style doesn't work,too.
[Android Software Development] Nikhil:
Dirty Flash? I'm going to release a canary build with updated apks that fixes the random crashes I got after dirty flashing, those were fixed with clean flash so it seems, March Security Update cannot be upgraded without clean flash.

Recents is still broken, still working on the fix. Avoid flashing Pixel Launcher meanwhile.
[Android Software Development] Maverickiller:
Clean flash,always.

Thanks for your hardworking, looking forward to the next update.
[Android Software Development] Extreme_Ninja2099:
Would the 20230319 nikgapps version debloater work for ROMs with March patch/QPR2?
[Android Software Development] ephemunch:
I've read through the FAQ several times now, but I still don't get it (was Gapps user).

So I have LineageOS 20 with the core variant. Flashed normally via fastboot. I have done nothing with nikgapps.config.

Let's say I want to install later for example Android Auto or other Google Apps. The installation via Google Play Store is not recommended and I would have to make additional Google Apps always manually via nikgapps.config or even must reflash?
[Android Software Development] AEALO12:
installing google photos from this package would let me have the unlimited google photos backup?
[Android Software Development] netra3441:
Hello @Nikhil ,

here writes you netra3441, I am a normal user from Germany, not a programmer or technician.

I have a Samsung Galaxy S7 Exynos, and I'm using LineageOS from 18.1.

Of course, always with NikGapps so far - and I take the opportunity to thank you very much for your honorable and valuable work!

Under LOS 20 (Android 13) there are now more problems with the battery, the Samsung Galaxy S7 consumes far too much power even in idle mode, and now it has been said that it could be due to NikGapps, there have been more problems with it lately.

Could you please comment on that @NiKhiL ?

Because apparently you are the only gApps provider who also offers for Android 13, and since I have only had good experiences with NikGapps so far, I would also be grateful for your opinion.

Thanks in advance and best regards

netra3441
[Android Software Development] Nikhil:
Yes. Debloater is independent of security patch updates.
[Android Software Development] Nikhil:
You have two three options.

1. Flash core, Flash Android Auto aur whichever addon you need. There are addons available on Sourceforge.net.

2. Flash the variant that covers all the apps you need and disable the ones you don't need using nikgapps.config - simply by setting the value of the unwanted package to 0

3. Create your own custom build that has NikGapps core + Android auto and you can call it whatever you want - recommended

Let me know if you need more details on any of the approach
[Android Software Development] Nikhil:
In some cases, you need spoofing support from rom. I suggested you flash NikGapps core and Google Photos addon and check.
[Android Software Development] Nikhil:
Hi,

There are plenty of reasons which can be responsible for battery drain. To name a few

1. Spoofing your device to make it look like pixel leads to battery drain as it makes google execute processes that are exclusive for pixel and ends up failing because your device is not pixel

2. Any app that acquires wake lock continuously drains the battery, sometimes it's the kernel that's responsible behind it.

3. A lot of location accessing apps - they run in the background and eat up the juice and we keep wondering what's going on.

To summarize, one cannot hold any gapps package to be responsible for battery drain without evidence (logcat showing gapps spamming that doesn't happen with any other gapps)

I suggest, you flash the smallest package - NikGapps core and observe your experience with no mods and just basic apps.

The over time, keep on adding stuff and determine the root cause.
[Android Software Development] netra3441:
Thank you @Nilkhil

I had tried today a few Gapps with LOS 19.1 and 20 - only your NikGapps could be installed without errors and without trouble later during setting up my Samsung Galaxy S7 with LOS.

I have installed NikGApps Core.

In fact I have installed a navigation app - have now switched of its location accessing, and only will use it, when sit in a car.
[Android Software Development] Extreme_Ninja2099:
Well I meant that the debloater/Nikgapps restore should work like normal even with any changes done by QPR2.

From Last Dec QPR1, it changed things and Nikgapps didn't work as well for ROM OTA updates
[Android Software Development] Nikhil:
The last remaining issue with debloater ota update is resolved and will be part of next release. I suggest you wait for the next release and all should be good.
[Android Software Development] Afarsiman:
Hi,

I installed lineageos 20 in my s8 with nikapps full for Android 13. Now I can't update Google chrome because after download finish in play store in installing will stop and says: can't install and see error.

Please help me
[Android Software Development] Nikhil:
Can you guys try flashing this addon? it fixes the crash and recents issues with QPR2.
[Android Software Development] Nikhil:
can you grab a logcat?
[Android Software Development] casouzaj:
Thank you, Nik! Indeed, with this add-on, recents panel is back to work.

EDIT: side effect: the app in the attached screenshot (whose purpose I don't know) keeps crashing ever since I booted up.
[Android Software Development] casouzaj:
It stopped crashing. If it comes up again, I'll try to grab a logcat.
[Android Software Development] fidoedidoe:
@Nikhil FYI - I was experiencing the same issue with Pixel Launcher after a new/clean install (full wipe, Lineage 20 install + NikGapps-T 19th March Full). ie recent apps empty and (for me) constant crashes when using the google search widget on home screen & with search within the installed apps list .

I un-installed NikGapps (UnInstall.zip method), wiped dalvik/cache & system and reinstalled ROM (Lineage 20), with NikGapps 19th March + your recently posted Pixel Launcher add-on.

All is stable, recent apps is now working as is the search within the installed apps list.

Nice work!! Many thanks!!
[Android Software Development] Nikhil:
New Stable Release is up - 7th April 2023 (Android 10-13)

Changelog:

- Fixed color selection option not appearing in pixel launcher (A13)

- Fixed Pixel Launcher crash in Qpr2 (A13)

- Various additions to reduce gms battery drain under certain scenarios (A10-13)

- Google Apps updated to QPR2 image (A13)

- Improved robust logging to identify more errors under certain scenarios (A10-13)

- Remove Seedvault with installation of SetupWizard (A10-13)

- Many Installer Script Optimizations (A10-13)

- nikgapps.config bump to v27 (A10-13)

Note:

- You can always take a backup and dirty flash the gapps, if you run into issues, you should try clean flash

Thank you for your support, please spread the word.

Happy Flashing!
[Android Software Development] Doomguy6:
Thanks for that.I don't know anyone who uses seedvault.

Also can we have the ability to hibernate Google services,stock clock and calendar,google dialer and messages without issues?

Thanks again!🙏
[Android Software Development] osm0sis:
Something's up with 0407. It didn't read the nikgapps.config or debloater.config from the zip dir, then said it was reading from /sdcard/NikGapps but then didn't appear to use those either. I tried it twice and the second time I had even put my customized configs in /sdcard/NikGapps to see if it'd pick them up. This wasn't an issue with 0319. 🤔

My zip dir is /sdcard/.flash and the configs were in that directory as well. I had updated them to v27 beforehand just to be sure all would be compatible.

Luckily I backed up first like you suggested! 😛
[Android Software Development] Nikhil:
Hibernating such apps will break more things than help as you will often miss notifications of messages, calendar and clock events. We don't encourage gms optimization, you need gms to work the way it is working.

Can you try flashing this build?

This fixes the issue with config detection and also should allow installation of apps that appears to be skipping during installation.
[Android Software Development] Doomguy6:
Also i have an issue.When im calling to mobile phones,i can't hear this ringing sound,but when im calling to landline phones i can.

Does anyone have the same issue?
[Android Software Development] osm0sis:
Looks good now! Thanks!
[Android Software Development] Nikhil:
New Hotfix Release is up - 8th April 2023 (Android 10-13)

Changelog:

- Fixed the config detection - those who did not see their config changes reflecting in the last build, please try again

- Fixed the 2nd app in order failing to install when the 1st app was uninstalled

- Fixed the issues with dirty flashing NikGapps resulting into skipping some apps, should almost never skip installing app upon dirty flashing NikGapps.

- Fixed the issue where DocumentsUI was added to the GoogleFiles package when it is not supported (Android 10)

Note:

- You can always take a backup and dirty flash the gapps, if you run into issues, you should try clean flash

Thank you for your support, please spread the word!

Happy Flashing!
[Android Software Development] RoG khenwaY:
can anyone tell me the difference between canary releases and config releeases ?

which type of Gapps would be most Stable ??
[Android Software Development] Nikhil:
Canary Release - cutting edge - builds with features that are open for public testing but not yet marked as stable

Config Releases - user created builds - the builds that users create on their own by following this, it is for those who need a different combination of apps in the gapps package than predefined variants (basic, omni, stock, etc). The zip has exact amount of apps you'd want in the gapps package.

I suggest if you're new to using NikGapps, only flash files from Releases folder.
[Android Software Development] Nikhil:
A note to everyone,

There is still one small issue reported with config implementation that was changed with last release.

If you disable the AppSet values and enable the packages under them, the packages gets installed.

I'll look into the issue and fix it asap. Meanwhile, make sure you're disabling all the packages that you don't need.

For example,

SetupWizard=0

>>SetupWizard=1

>>GoogleRestore=1

>>GoogleOneTimeInitializer=1

shouldn't install those equals 1 but in April 8th build "does" install.
[Android Software Development] osm0sis:
Also, I had to restore my super backup with 0319 GApps to get 0408 to dirty flash Velvet correctly (was reporting no free space). If it persists on the next release once things are cleaned up from all these big regressions I'll upload some more logs... 🤔👍
[Android Software Development] Nikhil:
Correct, the 3rd changelog from last hotfix release addresses that issue only.

Previously, even when we were uninstalling Velvet to make space, the size calculations were not updating. Which is why the installer didn't know there was enough space to proceed.

It's fixed now and 9th April build should be dirty flashable without facing the 'skipping app' issue.