yashsingh1/xdaforums huggingface dataset:
[Android Software Development] stormPremier:
Hi guys,

I've got a serious issue to report:

Why is it possible to see "space available" lower than "Gapps size" and it still proceed to install gapps !!! T.T

Then ending up with "error no more space available issue" NO SH*T SHERLOCK xD

But as the package does not revert itself (np as most zip don't anyway) we have to format system ... and reinstall everything :|

Please add a check to avoid the need to reformat in case we did not choose the right package.
[Android Software Development] Nikhil:
Can you share the installation logs when that happens?

To answer your question, few of the google apps replaces aosp counterpart, so if the system has 1 Gb size available and gapps takes 1.1 Gb, there is a chance that it will install successfully because while installing it will replace aosp counterparts which will free up some space.

You can always uninstall stuff and there's a simple way to do it.

Delete /system/addon.d folder and reflash your Rom. That will clean all the gapps components and you won't have to reformat the system again.

I will however, add a check with future releases and prevent the installation from proceeding if the gapps size is more than the available size.
[Android Software Development] stormPremier:
Sorry I didn't take the time to save the logs, but I remember that nothing went wrong except that, since the first lines, I knew it wouldn't pass as I was missing ~100'000kb (So around 100Mb right ?)

Once the script started, no way to cancel it and there's not event a confirm prompt. As you said, I understand now that there some part that replace existing apps, so maybe a confirm prompt should be enough instead of just blocking the installation.

About the addons.d folder, as I mod my phone a lot, it may have more than just NikGapps ? Whatever, I was doing a fresh reinstall and installing stock NikGapps was clearly a wrong idea for my phone ^^`

Ended up installing Omni with some NikGapps addon

But except this point about storage detection, great job, it's perfect and the flexibility given by add-ons is perfect for me :)
[Android Software Development] SimfyLogBot:
i definitely have the same or are very similar issue. I noticed my batterie was draining very fast. I checked it with an battterie Check app and found an update process looping. I installed the newest version in october and saw the problem never again untill mid of december.

this time also the new patch from 25.12. did not do the trick. Both times i also noticed an update window asking me if i wanted to install something but this window poped up so sudden and in a place where you would not think about an gapps update i accedentily colsed it both times.

i my opinion this has definitely something to do with the gapps and some stuck update or something.

Does "IntentOp:.update.execution.InstallationInentOperation" mean something to you ? Gsam Battery Monitor showed me this is the responsible process.

Edit: The workaround seems to work for me as well, kind of. The main battery drain is stopped but i still think my smartphone uses more battery than normal. I will monitor it for a bit and share my findings.
[Android Software Development] lewmur:
I've just installed LOS19 GSI ROM on my SM-t500 using the fastboot method that resized the system partition. I want to install the canary release of the core NikGapps. Do I need the modify the nikgapps.config file to change to InstallPartition="/system"?

edit: In reading more, I see that the default partition is product and the GSI ROM installation creates that partition as blank. So, I obviously do need the edit the config file. So the only remaining question is, is my change correct?

InstallPartition=default

to

InstallPartition="/system"
[Android Software Development] Nikhil:
yes, that is absolutely correct.

Let me know if you run into any kind of issues. I'd be happy to help.
[Android Software Development] lewmur:
I'll give it a try first thing tommorow and let you know how it works. Thanks for the quick reply'
[Android Software Development] lewmur:
No luck. The install fails after the line Unmounting Vendor with error 1 installing zip file 'external_sd/NikGapps-core-arm64-12-20211224-signed.zip'

This is the Lin19 ROM I'm using lineage-19.0-20211216-UNOFFICIAL-treble_arm64_bvS-vndklite.img
[Android Software Development] Nikhil:
Can you send me the installation logs from /sdcard/NikGapps folder?
[Android Software Development] Nikhil:
Hey,

The InstallPartition is /product which should be /system

Can you try making the changes in nikgapps.config and flash again?
[Android Software Development] Minishboi:
My phone is screaming at me what the hell
[Android Software Development] lewmur:
I can't edit the file in zip file because it says it is read only. That's why I copied it and edited the copy and place in the /NikGapps folder on the internal storage drive like the instructions said. Apparently the install isn't reading that one but the one in the zip file instead.

EDIT: Nevermind a found a way to edit the zip file and will try again.
[Android Software Development] lewmur:
Did that. Still failed. Here is the log and the instruction I followed to flash LOS 19 and resize the system partition

fastboot flash product product.img
fastboot erase system
fastboot flash system lineage-19.0-20211216-UNOFFICIAL-treble_arm64_bvS-vndklite.img
fastboot resize-logical-partition system 3940000000
fastboot reboot recovery

adb shell
mount /dev/block/bootdevice/by-name/system /system_root
umount /system_root
e2fsck -f /dev/block/bootdevice/by-name/system
resize2fs /dev/block/bootdevice/by-name/system 961915
[Android Software Development] Nikhil:
Hey,

If you look at the logs yourself, the installer is picking up the file from /sdcard/NikGapps/nikgapps.config

And if you look at NikGapps.log file, the InstallPartition is set to default.

I would suggest you to flash the latest build (27th December), I've added a new feature where you can force the installer to pick up the config file.

Edit the gapps zip in your computer, open nikgapps.config and set use_zip_config=1

And InstallPartition=/system
[Android Software Development] Nikhil:
Well, apologize to it for doing what you did wrong!
[Android Software Development] lewmur:
Finally, it worked. Thanks for your help.
[Android Software Development] lewmur:
Just hit another snag. The apk for getting the google framework id doesn't work with LOS 19. Does anyone know of one for 19?
[Android Software Development] Nikhil:
Getting Google framework id?
[Android Software Development] lewmur:
This apk was used to get the id needed to register PlayStore, but it doesn't work with LOS 19.
[Android Software Development] user900:
Hi. I've installed NikGapps-more-than-basic-chandu-arm64 on LOS 19 Can you tell me how to remove the Google search box from the lower part of homescreen? Also had a File manager that disapeared after the install. Can't get it back after I disable the Google Files app. Tried to uninstall/modify the config file but to no avail. These 2 issues remain.

Later Edit:

Got to modify the NikGapps-full-arm64-12 package and config and finally after a few dozen tries got to the result. The searchbar might be linked to Pixel Launcher package and The File Manager from LOS wasn't replaced since I modified the config and deleted the packages Google Files and Google Keeps.
[Android Software Development] :
This option/space (Wallpaper colors) is blank when I install NikGapps on vanilla build. The Gapps build of the ROM I am using shows this option.

Currently I am removing wallpaper app via debloater and including the wallpaper app from Nikgapps package. Is there something I need to include in config file?
[Android Software Development] paulb86:
how to remove the whole package? when i install the rom it shows it`s backing up gapps
[Android Software Development] shahfaishal:
I tried to flash Google Clock ad-on package but it failed to say that it can't be dirty flashed! I don't have Google Clock installed on my phone but still, it says so. How do I fix it?
[Android Software Development] shahfaishal:
Yes it showed to me also when I was clean flashing. What does it mean?
[Android Software Development] paulb86:
It means it always stay in the phone.. you must delete files manually
[Android Software Development] shahfaishal:
Delete from where? Path please.
[Android Software Development] rudachmed:
in 2020-12-30 build it fix dynamic partition storage full problem, but in newer build the problem are came back
[Android Software Development] Nikhil:
Set execute.d=0 in /sdcard/NikGapps/nikgapps.config and reflash the rom
[Android Software Development] Nikhil:
You need to flash google clock before you first boot into your rom.
[Android Software Development] shahfaishal:
Yes bro I tried the same. I was clean flashing the rom and flashed as many as 10 ad-on files. Every file flashed successfully except Goole Clock.

So, where I'm doing wrong?
[Android Software Development] paulb86:
system/addon.d
[Android Software Development] shahfaishal:
Google Clock isn't even there. Check the below screenshot. Now, what should I do?
[Android Software Development] paulb86:
First flash any vanilla ROM, and then just delete everything from that folder. After it you can flash a ROM that includes gapps
[Android Software Development] shahfaishal:
I am already using syberiaOS12 now. I can't redo new flash bro.
[Android Software Development] paulb86:
Just delete all files from it and dirty flash your ROM
[Android Software Development] Nikhil:
Install it from playstore! Big deal! 🤷‍♂️
[Android Software Development] shahfaishal:
You won't understand, I need to replace stock clock with google clock.
[Android Software Development] Nikhil:
Use debloater and debloat it.

If you want to flash the addon and bypass dirty flash validation, delete runtime_permissions.xml
[Android Software Development] :
What to type in debloater config file to remove Chrome browser? I am using a gapps build ROM. Typing Chrome is not working. Uninstall option for chrome is not showing. I am on Android 12 rom.
[Android Software Development] Nikhil:
Rose in NikGapps - Support

How to configure debloater.config? 1. Find the package name of the apk (MixPlorer is easy to use) 2. Find the install location of the app (run 'pm path packagename' in terminal app) 3. Note the Folder name (usually found in app or priv-app folder inside /system or /system/product folder) 4...

t.me

Check this out
[Android Software Development] RETIEF:
Are you rooted? If so use pm from an ADB shell.
[Android Software Development] :
No, not rooted.

I am not rooted. Your debloater works for everything but not on chrome (it worked a few months ago, but not now. I am on android 12).
[Android Software Development] ‬1‬:
My location doesn't work on navigation apps, weather app or sort of apps. Is it something to do with gapps or the rom?
[Android Software Development] Nikhil:
Did you flash the gapps after first boot or before first boot?

As long as you have flashed gapps before you first time booted in your rom, it should work fine.
[Android Software Development] Nikhil:
Did you put

GoogleChrome

in debloater.config?
[Android Software Development] Nikhil:
Is your issue resolved or you need further assistance?
[Android Software Development] :
I always used Vanilla build of custom ROMs and never had to face this issue as chrome is not preinstalled in vanilla builds.

Yes Nikhil, I did try "GoogleChrome" and "ChromeGoogle". There was no change.

This time I tried the following in Debloater config:

Chrome

ChromeGoogle

GoogleChrome

ChromePrebuilt

ChromeGooglePrebuilt

GoogleChromePrebuilt

It worked half way & gave me this:

Sadly, no option to uninstall this leftover from Chrome.

This is why I am trying to debloat chrome on Gapps build ROM:

This space is missing when I install Pixel Launcher and Wallpaper from the NikGapps

Is this a known issue? I don't know whom should I report, ROM dev or Nikgapps dev.
[Android Software Development] shahfaishal:
I didn't try that cuz I can't take another bootloop and then msmtool thing. I'm staying with inbuilt clovk as of now, lol!
[Android Software Development] marcioafoliveira:
I have a problem with my Clock. I can't update to the latest version.

I installed a new ROM and used Omni Gapps version. Then I had to update it and installed Basic version and I had a very early version of the Clock. I even tried to install again Omni version and try to install on the Play Store and with apk but no success.

Can somebody help me update it? Thanks.
[Android Software Development] Dodgy_Bob:
Folks,

My apologies, I'm having a very blonde/senior/dumb moment here! 🤦‍♂️🤦‍♂️

The "...-Addon-..." files, where do they need to go so that they are also installed by my customised 'nikgapps.config' file ??

I'm in TWRP and the output shows me that the .config file is picked up, but I am expecting under "Starting the install process" to show all the addons being installed, instead it only shows the Core AppSet being installed, nothing else.

I have only tried two (2) places; leaving all the addon files in the same folder as the Core file that I use to kick off the installation and also copying all the addon files to where the .config file is ( /sdcard/NikGapps ), but nothing!

Sorry for being so dense! :LOL:

Kind regards,

Dodgy Bob
[Android Software Development] kouzelnik3:
What if I upgrade from A11 to A12. Will I need to flash same package from A11 to A12 like omni to omni without wiping? Or will I need to wipe my data at all?
[Android Software Development] marcioafoliveira:
Well, I could install but it's having issues.

I think I maybe did something wrong because at some point I did uninstalled my Clock.

Now if I try to install GoogleClock zip says that Can't Dirty Flash GoogleClock, please Clean flash but I didn't want to clean. Can somebody help me?
[Android Software Development] bc050400:
hi,

can i dirty flash latest core package as i got prompt message for updating google play services

thanks
[Android Software Development] Mowca:
Hello,

I have opengapps installed. I would like to install NikGApps now. What do I have to do before installing Nikgapps?
[Android Software Development] Nikhil:
You need to clean flash the rom :)
[Android Software Development] Nikhil:
Yes you can but check if latest update changelog has 'Playstore updates' in the changelog.
[Android Software Development] Nikhil:
You need to delete runtime_permissions.xml in order to dirty flash google clock
[Android Software Development] lewmur:
I finally found the solution to my PlayStore registration and have Los 19 and Nikgapps working. The only problem I have left is that the brightness bar doesn't work.
[Android Software Development] Nikhil:
That is not something a gapps package controls. Brightness is Rom level issue.
[Android Software Development] Mowca:
nikgapps works on older devices with arm'eabi architecture?(Galaxy s4)
[Android Software Development] Indian_03:
He Everyone. Does anyone knows how to update custom build of NikGapps package.
[Android Software Development] Nikhil:
What do you mean update?
[Android Software Development] Nikhil:
Probably not, just arm64.
[Android Software Development] Indian_03:
I mean whenever there is new version of GApps. How can I update to latest version
[Android Software Development] Nikhil:
If it is a custom build, you send a pull request for another custom build after a new release.
[Android Software Development] dedalusstephen:
Was going to update NikGapps to new version. When I tried to delete the addon.d script files I get "Access Denied".

Do I need to root my phone to delete these files?? magisk, patching boot image etc. etc?

Tried to delete them via adb shell and get "Read only filesystem"
[Android Software Development] Nikhil:
Set execute.d=0 in nikgapps.config, flash rom, that will delete the scripts
[Android Software Development] dedalusstephen:
thx. I set execute.d=0. the scripts are still in the addon.d folder but "last modified" is now date and time of the flash with the changed nikgapps.config. When I try to delete I still get "Access denied"

The folder I am working on is /system/addon.d
[Android Software Development] Nikhil:
When you set that config to 0 and reflash rom, it should delete the scripts. If you flash gapps again, it will come back. Are you saying, you flashed the rom (without gapps) and those files did not get deleted?
[Android Software Development] dedalusstephen:
I set the config to 0 and flashed NikGapps. Not CrDroid Rom just the Gapps. Do I need to flash the Rom and Gapps with the Config to delete, and than Gapps alone again with execute.d=1 to get the files back?
[Android Software Development] Nikhil:
When you will set that config to 0, upon next rom flashing, gapps will not be restored. All the components that were originally flashed by gapps will be removed (including the files from /system/addon.d folder which is what you're looking for).

Now it's your call, if you need the gapps back, you can flash nikgapps again which will again flash the necessary components (including files in /system/addon.d)

You don't have to set execute.d=1 unless you want the gapps to survive the dirty flashing of Rom.
[Android Software Development] umairahmad2020:
Hi. I have a small issue... When I click on google in settings, an error appears... Ibhave Poco X3, Latest R Gapps and Arrow OS
[Android Software Development] Nikhil:
Can you grab logcat and share it here?
[Android Software Development] Mowca:
Will you write step by step how you did it? I also want to update because I have it from 09-07-2021
[Android Software Development] dedalusstephen:
I just followed the steps proposed in the NikGapps FAQ "How to clean flash NikGapps update without losing data?" https://nikgapps.com/faqs
[Android Software Development] umairahmad2020:
Wrong quote
[Android Software Development] umairahmad2020:
In addition, I would like to point out that this issue begin popping after 25Dec builds. 18 Oct build works just fine..

Logs
[Android Software Development] undrwater:
I've installed Basic on crDroid 8(A12) on a OnePlus 7pro along with Auto and Velvet plugins. When attempting to register Voice Match, at the end of the last voice prompt, I get a "Something went wrong" toast, and the voice prompt starts over again.

Is it possible I need another addon, or perhaps basic doesn't work with Velvet? Or some permissions issue? I've looked into that, but it seems all permissions were granted to Google.
[Android Software Development] Nikhil:
Did you by any chance flashed gapps after first boot?
[Android Software Development] undrwater:
No. As part of a clean install prior to boot.
[Android Software Development] Nikhil:
Could you grab a logcat and share it?
[Android Software Development] undrwater:
Sure. Attached.

Seems it won't attach. Here's a pste:

http://sprunge.us/zvVTep
[Android Software Development] tracid1987:
I have downloaded NikGapps-full-arm64-11-20220127-signed and edited the config file, see attached file, i set forcing to look for the config file in the zip, i believe everything went OK according to the TWRP screen but after booting the system i got "app cannot run without google services" i got this notification for every google app i have set to install. So something is wrong. Could you let me know how can i install customized package?

However i managed to install core package succesfully but its not enough for me. OS is custom Lineage 18.1 android 11

Thank you
[Android Software Development] Nikhil:
You are supposed to disable CoreGo when you're enabling Core (and vice versa)
[Android Software Development] tracid1987:
I just tried it. disabled CoreGo and all associated apps, clean flashed everything but says "app wont run without google play services". check attachment
[Android Software Development] Keine Jiang:
Cannot find PixelLauncher on Android Q with latest Full release (Feb 22).
[Android Software Development] Nikhil:
https://sourceforge.net/projects/nikgapps/files/Releases/Addons-Q/22-Feb-2022/NikGapps-Addon-10-PixelLauncher-20220222-signed.zip/download
[Android Software Development] Nikhil:
Install the gms apk manually after extracting from the zip.
[Android Software Development] Keine Jiang:
Thanks for your quick reply. I just means that Pixel Launcher is not here after installing the latest NikGapps-full-arm64-10-20220222-signed.zip.
[Android Software Development] Nikhil:
Can you send me the installation logs?
[Android Software Development] Keine Jiang:
I have read the log already. It showed that it was installed, but after rebooting I cannot find it anywhere (Settings->Apps, Default Apps).
[Android Software Development] Keine Jiang:
After downgrading to NikGapps-full-arm64-10-20220127-signed.zip, Pixel Launcher is back here.
[Android Software Development] Nikhil:
Can you send me the installation logs from your working build?
[Android Software Development] Keine Jiang:
PM to you.
[Android Software Development] Frankyg:
Hey, I'm using the latest version of CR Droid A12 https://xdaforums.com/t/rom-12-0-official-alioth-aliothin-crdroid-v8-2-22-02-2022.4386959/ and had previously flashed the full nikgapps package. Google Assistant wasn't speaking results. I was on a previous build of CR Droid (before today's flash) and did these steps:

Flashed the gapps trash removerhttps://www.hottg.com/Gapps_Trash_Remover/14/en-US.html

Flashed the latest CR Droid (22 Feb)

Rebooted to recovery TWRP

Flashed Nikgaapps Basic

Flashed Velvet addon.

Reboot.

Google assistant still not speaking results.

Back to TWRP

Flashed Google Assistant

Reboot

Google assistant still not speaking results.

All other google assistant features seem to be working, languages are all set correct etc. I deleted and re-trained the voice model.

I'm not sure what to try next. I want to avoid a clean flash of the rom if possible.

I was thinking of following these steps from the FAQ to try a clean install of gapps.

Step 1: Uninstall Playstore updates of Google Apps

Step 2: Go to /system/addon.d folder and delete all the scripts that starts with "50-"

Step 3: Dirty flash Rom

Step 4: Flash newer version of NikGapps

But if I do that, can someone tell me which addons I require to get google assistant fully working? Assume I'll be using the Basic Gapps package.

Thanks for any assistance!
[Android Software Development] BTW lover:
I hope someone in here is able to help me because trying to uninstall an extras package is driving me nuts:

I run Lineage 18 on a Mi 10T with basic Nikgapps. For some reason I can't figure out, voice to speech isn't working at all, so no input is recognized in gboard, google app, asisstant etc.

In an last attempt to find a cure to this, I've tried installing Asisstant, Gboard and Google TTS extras packages - to avoid any trouble, I've uninstalled the apps that I had downloaded from PlayStore first. Asisstant and Google TTS installs worked like a charm but Gboard is all messed up now, as soon as I try to change any settings, the app just plain crashes, also when I try to use gboard as an input method.

So then I thought whatever and tried to uninstall gboard extra by editing nikgapps.config. In recovery, it says that it's uninstalling gboard but when I reboot it's still there. When I try to install it from Play Store, the install fails.

What the heck is going on? Is my phone cursed now?
[Android Software Development] Nikhil:
You need google tts, google Velvet and core/basic package
[Android Software Development] Nikhil:
GBoard is sensitive, you can try this

Delete 51-GBoard.sh from /system/addon.d folder

Flash Rom (then optionally magisk if required)

Reboot

This way you'll get aosp keyboard back, install gboard from Playstore now.
[Android Software Development] BTW lover:
Thanks a ton for your quick reply!

I'm afraid there is no 51-GBoard.sh in system em/addon. d

I will try to reflash rom anyway later tonight.
[Android Software Development] BTW lover:
Now things start to be come very strange, I can't lash the rom anymore, sildeloading in lineage recovery gives me the following error message:

assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))

E:Error in /sideload/package.zip

Any ideas?
[Android Software Development] Nikhil:
This is a rom side issue. Nothing to do with Gapps.