yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Shimmy99:
Tried it again. It failed, actually stopping install (after 47% it returned me to the command prompt on the sideloader machine).

The full output is:

E: failed to verify whole-file signature

Update package verification took 37.7 s (result 1).

E:Signature verification failed

E:error: 21

Install from ADB completed with status 2.

Installation aborted.
[Android Software Development] retry0001-coffee:
Then considering your environment, I don't know, and it's not a nikgapps issue. You really need to take it up with whatever support you can get from this chinese board vendor. Are you sure the bootloader isn't locked? Can you flash LOS onto it?
[Android Software Development] Shimmy99:
What's LOS? ADD: You mean LineageOS? Looks like that is only for certain devices.

Also, you can flash an entirely different OS (i.e. not Android at all) - Ubuntu - to the board (at least their stock 20.04 image - kernels might be an issue for later versions because RK3588 is not yet mainstreamed.) You can reload the bootloader. You can even repartition the eMMC. They even have SDK. There are no "locks" on the system I am aware of. It's like a PC in that regard (if not even more so). My guess is the Android recovery is such that it requires a signed package, so the problem is the recovery, not any lock-out of the system.

Is there some way to dig out the needed Google Apps manually from the NikGApps bundle and install them?
[Android Software Development] Nikhil:
You need an unlocked bootloader to be able to modify your system. You're trying to sideload on stock recovery which will naturally not allow you to tamper your system.
[Android Software Development] Shimmy99:
So what would you need to do that? I am not aware of a lock on the bootloaders - I can reflash every part of the eMMC, including U-Boot, which is what appears to be the bootloader used by this system. If the recovery needs to be changed, i.e. the Android system component, is there one that will work with Android 12? TWRP does not support A12 right now it seems.
[Android Software Development] Nikhil:
Even if you had los recovery (yes, lineageos recovery), would have sufficed. Basically any custom recovery that runs on an unlocked bootloader.

And if you had root access to the system, I could help you install Gapps one way or the other. I hope you know what root is, if not google 'Magisk'
[Android Software Development] Shimmy99:
I have root access. It's enabled right now in fact - all it took was to switch it on via the "Developer options".
[Android Software Development] Nikhil:
Okay, in that case, can you try this?

- Download Google Messages add-on from https://sourceforge.net/projects/nikgapps/files/Releases/Addons-S/21-Apr-2022/

- Find and Extract GoogleMessages.Apk

- Use any file explorer and try to push this apk to /system/app/GoogleMessages folder (you may have to create a folder here)

- set the file permissions to rw-r-r

- Reboot

If you manage to install Google Messages, you should be able to install Gapps. Let me know how it goes!
[Android Software Development] Shimmy99:
I downloaded NikGapps-Addon-12-GoogleMessages-20220421-signed.zip, but it doesn't seem to contain a GoogleMessages.apk. It contains a GoogleMessages.zip file in the AppSet/GoogleMessages inner folder. Inside that .zip, there is a ___app___PrebuiltBugle and inside that is PrebuiltBugle.apk and some other apks starting with "split_config". Is this the right package?
[Android Software Development] Nikhil:
Oh my bad, the google alias of messages app is prebuiltbugle

So, create a folder named PrebuiltBugle in /system/app

Push both the APK files (including split_config) to PrebuiltBugle folder and set permissions, then reboot.
[Android Software Development] Shimmy99:
I did it, and I think it works.

So what's needed for Google Play Store?
[Android Software Development] Nikhil:
Awesome, now you know the drill

Download NikGapps core

Open all the zip files inside AppSet

Wherever you see ___system___app, that means the file goes into /system/app

Just move all the files to respective folder in system and you should be good to go!

And yeah, at the end, you need to perform a factory reset (formatting data) through settings so you start fresh.
[Android Software Development] Shimmy99:
Thanks. I think I thought of this once before on my own but I noticed a bunch of ___etc___xxxxx folders in there too, and maybe some other ones. (Especially ExtraFiles.zip, which has stuff like ___etc___default-permissions, etc. but even GmsCore has a ___etc___permissions) I wasn't sure what to do with them. Do I need to use those too? Do they need special configuration?
[Android Software Development] Nikhil:
Files from ___etc___sysconfig (for instance) goes into /system/etc/sysconfig folder

I think you can apply the rest.
[Android Software Development] Shimmy99:
Thanks. So same permissions?
[Android Software Development] Shimmy99:
Thanks! I got it installed (though I'm not sure if I didn't mess something up because I chmod 0644ed all the *.so in my system/lib folder).

Now Google Play comes up but it says "This device isn't Play Protect certified" and doesn't wanna let me use it. But hey, at least I got this far.
[Android Software Development] darrenliew96:
Hi Nikhil, Thank you so much for the latest updated build. I just had a question, how to dirty flash android auto? Whenever i flash, it will just say unable to dirty flash android auto. Can't seem to find a solution anywhere else.
[Android Software Development] Nikhil:
Dirty flashing Android Auto will lead to issues while operating the app hence it is recommended to flash it before you first boot into your system.

If you still want to proceed, you must wipe run-time permissions from /data which you can do by setting WipeRuntimePermissions=1 in nikgapps.config and flashing the add-on. (You may have to flash the add-on twice as in first instance it will wipe the runtime permissions and in second instance it will install as usual)

Again, please clean flash if you can, otherwise follow above steps to get the add-on to work. You can anytime uninstall it if it misbehaves.
[Android Software Development] kra_ppo:
I would like to clean flash. If I could. But does it mean I have to start from scratch by installing the rom again and flash gapps? Puh... please not.

I'm on AICP 12.1 and latest Basic Nikgapps. Android Auto is the only thing thats missing. I don't need Yotube an the whole crap...

Managed to edit the Full Version of latest NikGapps. Now I try a dirty flash....
[Android Software Development] DesireRoss:
Hi @Nikhil, no matter what I do, I can't get the installer (latest TWRP) to look at my nikgapps.config file. It always looks in /dev/tmp/NikGappsScripts.

All I need is the Play Store to be installed. :(
[Android Software Development] itzyashh:
hello i have ( NikGapps-android-12L-20220222-signed ) installed in my device with lineageOS 19.1 . Now I want to installed latest ( NikGapps-cara2706-arm64-12.1-20220822-signed ) I'm not sure how to update it should I just flash it with TWRP or format data then install new GApps . NikGApps website says "Seamless OTA Updates NikGapps comes with full addon.d support to provide you flash and forget experience " Please help
[Android Software Development] Latty:
I have an issue with NikGapps core and Google Chat. Google Chat occasionally stops connecting and refuses to send messages (or load previous messages). Restarting the app doesn't fix it, but a reboot does. Does anybody else also have this issue?

Also, I'd like to do a clean install of NikGapps but I don't see any 51- files or NikGapps files/folders in /system/addon.d. How do I clean install (without losing data)?
[Android Software Development] retry0001-coffee:
You probably need to use adb root and then connect with adb shell to see those things. I can't help you with the google chat issue, but NikGApps may not be the cause of your problems. Why do you suspect it?
[Android Software Development] Latty:
I'm rooted but it looks like those files don't exist in addon.d.

I'm just trying to eliminate all potential sources of the bug, but I don't know what else it could be, other than the rom (crDroid 8.8 for Guacamole). Just seeing if anybody with NikGApps has had the same issue.
[Android Software Development] Nikhil:
Android 13 Release!

Download

Note:

- Clean flash is required coming from android 12

- Addons will be added soon

- Custom builds will be enabled soon

Enjoy!
[Android Software Development] marcus.bke:
Is there a way to include NikGApps during Android build time? Because I would like to relock my bootloader and installing the Gapps later would change the system partition and thus trigger an AVB error.
[Android Software Development] TerrorByteX:
Trying to get Voice Search back so I installed the GoogleSearch addon but it didn't help. Did I use the wrong addon? I went with SL for 12L.

I'm on the latest crDroid which is on Android 12L. All my Google apps are up to date. This isn't a clean install, I think I started with crDroid release on A12 and updated.
[Android Software Development] Nikhil:
No, it's not possible at the moment. You need an unlocked bootloader and a recovery to flash NikGapps.

You need to flash this addon before first boot. Causes troubles like you mentioned if flashed after first boot.
[Android Software Development] Lollauser:
Hello

I also have voice match (hey google, ok google) option grayed out in google options.

Android Auto installed from google play also doesn't works.

So do i need to start from scratch again, flashing rom and gapps?

crDroid rom on A12L, nikgapps release SL Omni
[Android Software Development] Nikhil:
Yes. Flashing Google Search addon before first boot will fix the greyed out issue.

There is an android auto addon, you need to make it a system app so flash that. Installing from Playstore will not be sufficient.

Always flash gapps before first boot to avoid issues.
[Android Software Development] Lollauser:
Ok thank you for your quick answer :)

I had similar experience with FlameGapps, but it has been fixed in a subsequent release.

Before resetting and reinstalling everything, i will try moving the apps to system with some root method ;)
[Android Software Development] fred_gaou:
Hi,

The main button on the website doesn’t do anything. Tested on PC and mobile on different browsers. I guess it was supposed to run a helper to download packages, tell me.

It would have helped me a lot because I then clicked on the download now at the bottom which goes to the sourceforge.net repo with releases named with suffix letters for android version. We have not done that since android 10. I was searching a simple way to pick the gapps and services I wanted to install.
[Android Software Development] Nikhil:
The website will be updated to make it easier to access with time. :)

For now, look for the Releases folder and NikGapps-X subfolder where X resembles to android version. (T being the latest Android 13)
[Android Software Development] fred_gaou:
If I don’t want setup wizard at first system boot, can I apply this config to skip it but still be able to trigger backup data later anytime ? And how ?

SetupWizard=1 AppSet that controls Google Setup Wizard components
>>SetupWizard=0 Package for Google Setup Wizard
>>GoogleRestore=1 Google Restore lets you restore the backup data
>>GoogleOneTimeInitializer=1 Lets you choose which apps to install during restore process while you’re going through initial setup
[Android Software Development] Nikhil:
I haven't tried using Google Restore without setup wizard as both of them are tied to each other. Besides, if you don't install google SetupWizard, default SetupWizard will kick in, so might as well go through the Google one.

Also, in nikgapps.config you can use # to comment anything you want but make sure you don't use the same line as Package=1 to comment stuff.
[Android Software Development] Lollauser:
There is another easier method, at least worked for me with Android 11, but i'm pretty sure it works also with following android versions ;)

You can skip initial setup, then check everything in gapps works (if that is your goal, as it was mine), then restore the online backup later.

You have to install an app from playstore, ACTIVITY LAUNCHER

Follow this post:

Can I restore apps and settings from Google backup later?

When setting up a new device, Android offers to restore apps and settings from Google Backup. If I'd like to do it later, is it possible to do? Or is the setup the only time you have access to this

android.stackexchange.com
[Android Software Development] casouzaj:
I followed the installation instructions, but ended up in a loop. After some minutes of the boot animation, it went to the stock recovery. That loop repeated itself a couple of times. I've given up, and returned to my previous setup: AwakenOS 2.10.
[Android Software Development] fred_gaou:
Thank you. I’m about to install a custom android 11.

How to trigger the apps via CloudRestoreFlowActivity is perfectly clear. Even the fix if it doesn’t launch : clear cache+data of com.google.android.apps.restore.

But do you know if you installed the setup wizard from nikgapps and tampered with the nikgapps.config ? My custom ROM is vanilla. I don’t know if I will be able to run CloudRestoreFlowActivity if I don’t install the GoogleRestore.

SetupWizard=1 AppSet that controls Google Setup Wizard components
>>SetupWizard=0 Package for Google Setup Wizard
>>GoogleRestore=1 Google Restore lets you restore the backup data
>>GoogleOneTimeInitializer=1 Lets you choose which apps to install during restore process while you’re going through initial setup

I found an article stating that the initial setup can normally not be skipped. Is it different on android 11 ? Or did you use some tricks ?
[Android Software Development] Lollauser:
I used that method with my previous setup, crDroid 7 + Flamegapps, not Nikgapps.

No change to installation config, everything "stock", i simply selected to ignore the google restore when prompted to, on first boot.

Then checked that everything worked, then manually started restore, and everything went fine.

Sorry cant help you with that :( but you could do a quick try i think, and then if it doesn't work as espected, start again from scratch ;)
[Android Software Development] Nikhil:
Which NikGapps build did you flash?
[Android Software Development] casouzaj:
I use to flash the full version, but in this case of recovery loop, I couldn't even install the gapps package, because the recovery complained about lack of metadata.
[Android Software Development] Nikhil:
Can you try with NikGapps core? It's probably happening on AwakenOS, I test my builds before releasing on LOS and all is working well for my device.
[Android Software Development] casouzaj:
I edited my post. Please, take a look. AwakenOS already comes with gapps. I was trying to flash the recently released A13 SODP ROM.
[Android Software Development] PHANX0M:
It didn't work on my LG G8 Thinq with Lineage 18.1! It had the apps but kept saying google play services missing!
[Android Software Development] Nikhil:
Did you flash the gapps after first boot?
[Android Software Development] Nikhil:
Which recovery were you using?
[Android Software Development] casouzaj:
I just fastboot'ed the files to their corresponding partitions. There was no recovery.img to be flashed. So, I suppose the XZ3 goes to a stock recovery.
[Android Software Development] PHANX0M:
I flashed it from when I went str8 from TWRP to Lineagerecovery, the apps were there but not the services!
[Android Software Development] Lollauser:
About nikgapps.config: on a clean install, if i put it in one of the folder listed in the faq (which i had to create manually, i have none on my storage actually), then i flash rom and format data, won't the config file get wiped out before i can install nikgapps packkages?

If I edit the nikgapps.config that's inside package zip, instead, will it be considered by the installation process? I find this second method easier
[Android Software Development] Nikhil:
1. Yes. If you format data but that's not what we do after flashing rom, we usually do all the flashing and then format data (if needed)

2. Yes, you can extract the nikgapps.config and set use_zip_config=1 and further changes that you need and repack it back to the zip.

And yes, second method is easier.
[Android Software Development] Lollauser:
Thank you, clear and comprehensive! :)
[Android Software Development] :
Thanks for your great work, I wasn't very involved in gapps, in fact until almost a year ago I thought that only opengapps existed, but since it wasn't updated for Android 12, looking for alternatives I found yours, it's amazing, the aesthetics of the website, the accessibility, how detailed everything is, it's a very good job, I don't know how it would be at the beginning, but now it's perfect.
[Android Software Development] retry0001-coffee:
Indeed, I sing Nikhil's praises over in the OnePlus 6T (fajita) and Motorola G7 Plus (lake) LOS forums for creating a top notch gapps package. They push MindTheGapps too much -- which is a full/bloated package option only unless you tweak it yourself before sideloading. I appreciate that Nikhil provides a core only package and imo superior customization and documentation too. This project should be the de facto standard Gapps in the ROM community.
[Android Software Development] zecabra:
NikGApps R Core on my device with Lineage 18.1 causes a Kernel wakelock at 7000000.ssusb and battery drain because the device can't go to deep sleep. I installed OpenGApps and the wakelock disappeared. To make sure that the wakelock was originated by NikGApps, with OpenGApps installed I debloated the OpenGApps package to get the same applications as NikGApps, and this time with OpenGApps the wakelock also happened. Does anyone know what file or addon can be installed to prevent this from happening?

Because it seems to be the lack of one or some files that causes this problem, I want to continue using NikGApps as it is the package with the fewest applications.
[Android Software Development] retry0001-coffee:
You could systematically readd one package at a time until the kernel crash disappears, but that would seem quite tedious. How many packages did you have to remove in total?
[Android Software Development] zecabra:
NikGApps Core as 6, OpenGapps Pico 24
[Android Software Development] Nikhil:
I responded to you on the telegram support group, please try that out
[Android Software Development] CarameloPT:
can someone tell me which package installs youtube vanced for android 12 (s)?
[Android Software Development] GPSMapper:
I am having troubles with Nikgapps Full on top of LineageOS 19.1 builds -

Google device setup wizard (copy from old phone) stops working.

With mindthegaps there is no issue.

If I need to use a restore wiard from another android or google backup - should I use Omni at minimum (which includes Device setup wizard)?
[Android Software Development] Nikhil:
You can try this

Flash NikGapps core and pixel setup wizard addon after flashing the rom.

Also, you can find which package contains what from here
[Android Software Development] SteveC5:
OK, first of all, I just rooted and installed crDroid on my Poco F3 including NikGapps basic and it's all fantastic. Far faster, and seemingly more reliable than MIUI (especially for apps that need background connectivity and MIUI seems determined to kill in the name of battery).

However, I have one problem. Android Auto refuses to work because it wasn't "stock". Installing the Play store version doesn't cut it and it just won't connect to the car.

So, I came back to see about nikgapps.config changes and process to update, but I'm completely lost.

1. Looking at my nikgapps.config file, it already has an "=1" after AndroidAuto. However, unless I'm missing something, very little in that file reflects the install options of BASIC. Is there a model of "BASIC" that I can tweak simply to get Auto

2. I have no idea how to trigger an update if I do make changes. Do I simply go back into TWRP and re-install?

3. Finally, given I've set up the phone before discovering this, is it even possible for me to add Android Auto in a way that will allow me to use it with the car?

Thanks!
[Android Software Development] SteveC5:
Ahh, I just dug more, noticed another folder with addons that included Auto. But it can't be installed "Dirty", So I guess I'm back to square one on re-installing crDroid and starting from there...?
[Android Software Development] Cryn_058:
Hey! Did you ever found a solution to this?
[Android Software Development] Lollauser:
Yes, i'm afraid :(

Same problem for me, i had to start again from scratch, because Auto (and Voice Match, in my case) needs to be flashed "clean" right after the rom
[Android Software Development] god123456:
Full package cannot add on pixel launcher?
[Android Software Development] jnsson:
If I set gms_optimization to =1 is that the setting for Doze on or off? Or what does the gms_optimization=1 do?
[Android Software Development] mordjinn:
Running LineageOS 18.1 (20220926) on oneplus3 (3T). Installed Nikgapps full package for Android 11 (R), build 20220908.

The sole reason I chose the Full package was because of Android Auto. After flashing Nikgapps, no Android Auto. So went ahead and installed it from Play Store, only to get error 22 when connected to the car's USB port.

Then I realized Nikgapps had an addon meant to install Android Auto. I downloaded the matching version of the Android Auto addon (20220908), but when I tried to flash it I got an Error 1, and the following message:

"Cannot flash AndroidAuto now as you will run into issues! Wipe /data if you still want to install it. You must always flash AndroidAuto before booting into Rom!"

I understand Android Auto's error 22 has to do with the fact it needs to be installed on /system. I just don't understand why I need to wipe /data just to flash Android Auto. Am I missing something, or this is a limitation? Thanks!
[Android Software Development] jbm76:
Hey I'm having an issue on a13 NikGapps core.

--> Fetching system size

- /system available size: 1032320 KB

- /product available size: 1016708 KB

- /system_ext available size: 1012172 KB

- Total available size: 3061200 KB

- Gapps Size: 184507 KB

--> Starting the install process

unzip: short read

- Installing GooglePlayStore

mkdir: can't create directory '/system/product/priv-app/Phonesky': Read-only file system

chown: /system/product/priv-app/Phonesky: No such file or directory

chmod: /system/product/priv-app/Phonesky: No such file or directory

mkdir: can't create directory '/system/product/priv-app/Phonesky': Read-only file system

chown: /system/product/priv-app/Phonesky: No such file or directory

chmod: /system/product/priv-app/Phonesky: No such file or directory

/tmp/updater: /dev/tmp/pkgContent/installer.sh[78]: can't create /system/product/priv-app/Phonesky/Phonesky.apk: No such file or directory

- Failed to write /system/product/priv-app/Phonesky/Phonesky.apk

I have tried mounting /system.

Anyone know how to get around this?
[Android Software Development] gaja22:
Hello, I need a Gapps with restore Google settings on the first boot. A13 please.
[Android Software Development] crab-it:
This is the same for me. I have susuccessfully flashed my Note 8 with Android 13 but unable to restore my backup. Any help or advice would be appreciated.
[Android Software Development] Nikhil:
Which NikGapps variant did you flash? You're supposed to flash NikGapps core + Pixel Setup Wizard (or Google Setup Wizard) addon. In order to get the backup/restore feature.

Also flash everything before first boot.
[Android Software Development] Nikhil:
Did you flash it on top of gsi?
[Android Software Development] Nikhil:
Otherwise Android auto may crash at some point and will not function properly. Same is the case with Google clock/GBoard.