yashsingh1/xdaforums huggingface dataset:
[Android Software Development] mind.inc:
what addon do I exactly need to get android auto working?
[Android Software Development] allenjthomsen:
i get this error and i dont know why

[ 99% 470/471] finishing build rules ...

FAILED:

build/make/core/artifact_path_requirements.mk:26: warning: device/google/raviole/aosp_oriole.mk prod

uces files inside build/make/target/product/generic_system.mks artifact path requirement.

Offending entries:

system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk

system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk

system/app/GoogleExtShared/GoogleExtShared.apk

system/etc/default-permissions/default-permissions.xml

system/etc/permissions/privapp-permissions-atv.xml

system/etc/permissions/privapp-permissions-google.xml

system/etc/permissions/split-permissions-google.xml

system/etc/preferred-apps/google.xml

system/etc/sysconfig/google-hiddenapi-package-whitelist.xml

system/etc/sysconfig/google-rollback-package-whitelist.xml

system/etc/sysconfig/google-staged-installer-whitelist.xml

system/etc/sysconfig/google.xml

system/etc/sysconfig/google_build.xml

system/etc/sysconfig/google_exclusives_enable.xml

system/overlay/PlayStoreOverlay/PlayStoreOverlay.apk

system/priv-app/AndroidMigratePrebuilt/AndroidMigratePrebuilt.apk

system/priv-app/ConfigUpdater/ConfigUpdater.apk

system/priv-app/GoogleExtServices/GoogleExtServices.apk

system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk

system/priv-app/Phonesky/Phonesky.apk

system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk

system/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk

In file included from build/make/core/main.mk:1342:

build/make/core/artifact_path_requirements.mk:26: error: Build failed.

15:50:01 ckati failed with: exit status 1

#### failed to build some targets (01:32 (mm:ss)) ####
[Android Software Development] TheHitMan:
Gearhead
[Android Software Development] TheHitMan:
Where is the error ?
[Android Software Development] allenjthomsen:
Thats where it ends thats the whole error right there nothing errors before this point
[Android Software Development] TheHitMan:
You probably missed it.

EDIT: Did a quick check found something here.

Enforce product partition interfaces | Android Open Source Project

source.android.com
[Android Software Development] allenjthomsen:
Thanks for the help redid the build process again and same thing as what i posted and thats it no other erros or anything during the build process or anything
[Android Software Development] Manas1214:
what is in the bitgapps addon btw

is it supported for android 12
[Android Software Development] LNS:
I'm getting "Install magisk 20.3 or higher", something like this, after detecting the .props file on lineageos 18.1.

Process: unpack bitgapps, put .props in folder, repacked -> Los recovery -> factory reset -> format data, cache, system -> Flash rom, flash magisk, boot, reinstall magisk app cause weird icon, reboot, reboot to sideload, flash bitgapps. Am I missing something?
[Android Software Development] TheHitMan:
Yes, installation log

:p
[Android Software Development] LNS:
Oh. Well at least I did it correctly after all. Maybe next time. I spent so much time yesterday troubleshooting various stuff and resetting I can't be bothered to wipe again. :p
[Android Software Development] TheHitMan:
BiTGApps New Release

BiTGApps Release R43

BiTGApps Addon Release R31

Release Date

07-November-2021

Changelog

Updated BiTGApps config

Updated MicroG config

Updated Google Keyboard installation

Added platform check for Additional Packages

Split Non-Config Additional Packages

Other fixes and improvements under the hood

Initial Setup

Click Here

Documentation

Click Here

Downloads

Click here

Notes

Check documentation for everything

Either dirty or clean install
[Android Software Development] allenjthomsen:
figured out some of the issue just cant figure out where to input these
[Android Software Development] allenjthomsen:
well now i need to figure out where to put these in the file

i added the apks to the applications list but when i put these anywhere in the generic_system.mk it still throws these errors

build/make/target/product/generic_system.mk was modified, regenerating...

[ 97% 1215/1245] including system/sepolicy/Android.mk ...

system/sepolicy/Android.mk:57: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTE

M_EXT_PUBLIC_SEPOLICY_DIRS instead.

system/sepolicy/Android.mk:62: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYST

EM_EXT_PRIVATE_SEPOLICY_DIRS instead.

[ 99% 1244/1245] finishing build rules ...

FAILED:

build/make/core/artifact_path_requirements.mk:26: warning: device/google/raviole/aosp_oriole.mk prod

uces files inside build/make/target/product/generic_system.mks artifact path requirement.

Offending entries:

system/etc/default-permissions/default-permissions.xml

system/etc/permissions/privapp-permissions-atv.xml

system/etc/permissions/privapp-permissions-google.xml

system/etc/permissions/split-permissions-google.xml

system/etc/preferred-apps/google.xml

system/etc/sysconfig/google-hiddenapi-package-whitelist.xml

system/etc/sysconfig/google-rollback-package-whitelist.xml

system/etc/sysconfig/google-staged-installer-whitelist.xml

system/etc/sysconfig/google.xml

system/etc/sysconfig/google_build.xml

system/etc/sysconfig/google_exclusives_enable.xml

In file included from build/make/core/main.mk:1342:

build/make/core/artifact_path_requirements.mk:26: error: Build failed.

23:19:29 ckati failed with: exit status 1

#### failed to build some targets (46 seconds) ####
[Android Software Development] allenjthomsen:
https://i.ibb.co/XZKSpfm/IMG-20211108-000159.jpg

Figured out my issue with the build it started to build after adding those lines to the generic_system.mk

Im actually unsure if it will have them though in the rom but i hope so
[Android Software Development] TheHitMan:
Add those in your device tree.
[Android Software Development] allenjthomsen:
I did but it gave me the errors above if you go back a few days ... Once i added it to where i just posted no more errors and now its building

And they are also in the device tree.
[Android Software Development] TheHitMan:
The error simply states, it restricts you from installing packages. Because you have added targets in wrong file.
[Android Software Development] allenjthomsen:
yes but i followed the instructions here: https://github.com/BiTGApps/aosp-build to a T and it gave that error all the time .

once i put the same lines in generic_system.mk the build started and is at 64%

i tried multiple times redoing this and thats the only thing so far that has let it pass the point we discussed earlier in the thread.

build/make/core/artifact_path_requirements.mk:26: warning: device/google/raviole/aosp_oriole.mk prod

uces files inside build/make/target/product/generic_system.mks artifact path requirement.

that line above is the error and caused it to not build for the pixel 6.
[Android Software Development] allenjthomsen:
i even tried the enforcing product method you posted and it gave the same error with that setup

the minute i remove those lines bam back to the same error again, the pixel 6 source does not have just a device.mk it has a device_oriole.mk, device_raven.mk, device_slider.mk, device_whitefin.mk and thats it
[Android Software Development] TheHitMan:
You can still declare in any of these or for whatever device you're building.
[Android Software Development] allenjthomsen:
i did already and thats where i got that error above it is declared in device_oriole.mk i even removed it from the other place i put it and set that file back to stock and now im back to getting that error again.
[Android Software Development] allenjthomsen:
as you can see it is declared like it should be and now that i reverted the other file its back to the same error again
[Android Software Development] TheHitMan:
Then follow what works for you. I will delt with this sometimes later.
[Android Software Development] allenjthomsen:
I appreciate the help with this.
[Android Software Development] anhdeptrai97th:
thanks
[Android Software Development] TheHitMan:
BiTGApps New Release

BiTGApps Release R44

BiTGApps Addon Release R32

Release Date

26-November-2021

Changelog

Updated BiTGApps config

Updated MicroG config

Updated Additional Patches

Updated SetupWizard Patches

Updated build FP/SPL to November 2021

Updated SafetyNet Patch

Updated backup functionality

Refactor Uninstall and Restore functions

Allow SafetyNet to pass without Magisk

Other fixes and improvements under the hood

Initial Setup

Click Here

Documentation

Click Here

Downloads

Click here

Notes

Check documentation for everything

Either dirty or clean install

Link to Additional Patches

Link to SetupWizard Patches

Link to SafetyNet Doc

Uninstall and Restore feature gets plenty of fixes and new additions. If you bother about it, then clean install this update.
[Android Software Development] Cologneblood:
I have installed Android12 and the corresponding Bitgapps for ARM64 (ARM64-12.0.0-R44, Assistant-R32 and Maps-R32) on my Samsung S7. Everything runs fine so far, with the exception of Google Driving Assistant (previously AndroidAuto). I can start Driving Mode from Maps without any problems - there is now even an icon for it - and the S7 is shown in my Mazda as an AndroidAuto connection as soon as I set the USB settings to data transfer. However, I can't get Google Driving Assistant to appear on my car's display (it worked fine with AndroidAuto). What am I doing wrong or where is the error (LinageOS-19, Nitapps Assistant, User)?

Who can help me or give me a hint? Thank you!
[Android Software Development] ttmob4:
I think you also need the Gearhead add on and when you have installed this...go to settings apps see all apps...the find android auto and add the nearby devices privilege...
[Android Software Development] Cologneblood:
Thank you for your hint. I got the same information from Michael M plus the hint that in that case AndroidAuto needs an additional permission (nearby devices). After giving the permission AndroidAuto works fine at first go.

Thanks again, it's great to know that there is always someone ready to help!
[Android Software Development] ttmob4:
Great to hear it is sorted
[Android Software Development] adm_:
@TheHitMan ,

after installing BiTGApps-arm64-10.0.0-R44_signed via twrp on clean (i.e. without even google account) installation of los 17.1 (on sony xz1) with magisk 23001, i'd got such errors:

1) almost all installed programs lost permission storage_access;

2) some essential programs (i.e. tasker or gravitybox) lost all their permissions;

3) there is no possibility to login into the google account - the button "sign in" on google play's main screen does not respond; the screen "accounts" just opens new screen and forcecloses it after selecting "add google account".

jfyi: an attempt to install BiTGApps-SW-arm64-10.0.0-R1_signed finished in bootloop.

...and explain in changelogs more clearly, pls, where one can find bitgapps-config.prop on github... ;-) why you do not put it in the root of the archve?!!

appendum: an attempt to install r44 systemlessly with the bitgapps-config.prop from master tree on github failed - "incorrect version of config", but permissions from the essential apps were removed again without restoring their previous state (as gracious installer HAD TO do in case of failure).
[Android Software Development] alexchalmov:
Hi. I cant install Bitgapps from magisk app, it says, that zip is not a magisk module... magisk 23.0, android 9(mokee)
[Android Software Development] guhvanoh:
Could you point out where it says you can install BitGapps via Magisk?
[Android Software Development] TheHitMan:
You cannot install it as module using magisk app, explained in documentation itself. Just flash magisk before installing BiTGApps, if you want to go systemless. This feature requires change in config. Please go through with "Basic Installation" from project documentation.
[Android Software Development] alexchalmov:
On the 1st page, 1st post " features"
[Android Software Development] TheHitMan:
There are either ways to install as magisk module. Please follow installation instructions.
[Android Software Development] crypticc:
Hello

I'm trying to revert + uninstall a couple of addon previously installed.

Device is MiPad4 and ArrowOS12 ROM so I needed to add config into the addon zip file to remove messages and dialer app I had incorrectly added before

But I got error when running script. Subset of that below

-Addon config detected
! Backup not found. Aborting...
-Unmounting Partitions
! Installation Failed

Any thoughts on this?

Thanks for any help that you can give

Chris

This is the uninstall config that I added into the Addon Zip file

Spoiler content hidden.
[Android Software Development] crypticc:
replying to own message. I think I sorted it by running both the core installation script AND the Addon installation scripts both with the same config in them. Is there a step missing in uninstallation instructions to tell you to run both scripts even if the component being uninstalled is only in the add-ins?

Edit - now rom won't boot with the launcher. error in logcat below. Most odd as I didn't touch the Launcher

I guess I need to re-flashing Rom and GAPPS from scratch again,

Thanks

FallbackHome: User unlocked but no home; let's hope someone enables one soon?
[Android Software Development] TheHitMan:
You cannot restore, if there is no backup present, which is taken during installation.
[Android Software Development] TheHitMan:
Obviously once you proceed with uninstall & restore, set of GApp or specific GApp will be removed and system app restored for normal functioning.

The latest BiTGApps release has plenty of fixes for "Uninstall & Restore" feature. That means you need to clean install latest release, because previous implementation including backup taken before is irrelevant to new fixes.
[Android Software Development] TheHitMan:
I suggest you to read more about "Uninstall & Restore" feature from this link.

GitHub - BiTGApps/BiTGApps: The main repository of The BiTGApps Project

The main repository of The BiTGApps Project. Contribute to BiTGApps/BiTGApps development by creating an account on GitHub.

github.com
[Android Software Development] alexchalmov:
I read the instructions, they say that bitgapps can't be installed from magisk app. Thanks. But I don't understand why on the first page written that can be installed as magisk module. I knew that every magisk module can be installed from magisk app
[Android Software Development] TheHitMan:
Installed as magisk module ≠ Can only be installed using magisk app. Its still a module, if you install from recovery.
[Android Software Development] crypticc:
Thanks for getting back to me. I did read and followed the instructions. This is a brand new fresh installation. I'd installed the first core package, then the second add-ons package but had incorrectly tagged the messages in the installation section as "true".

Realising my mistake I repacked that add-ons zip package with a build configuration file with only three changes. 1. The property to enable uninstallation set to true. 2. The properties set for uninstallation of both messages andv3. dialer uninstall also set to true. (I don't remember installing that one, the properties of dialer install were false, but it was there)

I then ran and got the errors I mentioned.

The instructions don't say to do anything else from what I can see.

I find the way to avoid the errors was to run the installation of the core package first. And then run the second add-ons with the config amendments.

Thanks again

Chris
[Android Software Development] TheHitMan:
So your problem solved or need further assistance ?

In short, if you want to uninstall Google Dialer (It will also restore AOSP Dialer). Then you need to set these two properties.

ro.addon.wipe=true
ro.dialer.wipe=true

First property enables uninstall feature and second property is specific to app.
[Android Software Development] crypticc:
I appreciate that. I needed to also uninstall DPS because Android System Intelligence keeps force closing.

I think the questions were : (now looking at DPS)

This time it

worked

. I do not know why as I didn't follow any different steps to when I was uninstalling Messenger.

The only thing I can think of is that last time I also included Dialler. (even though perhaps was that installed by ROM instead of this script?)

This time I did not select to uninstall dialler.

Thanks

1) BiTgApps-arm64-12.0.0-R44_signed.zip

Now answered:

Before I found I needed to re-run the above add-on script and had the same bitgapps-config.prop inside. Otherwise when I ran just #2 below I got that error about not finding backup .

I do not know why but that is okay now.

2) BiTGApps-addon-arm64-R32_signed.zip

I asked if I should set to false the install option and specific component. Or leave as true. (I left the installer as true per instructions, but set the component to false

I ran as follows. It worked this time.

ro.config.addon= true
ro.config.dps=false

And

ro.config.wipe= true

ro.dps.wipe=false

I found if I didn't run then the add-on removal script gave the error I posted.

I did also copy the bitgapps config inside because that had the SW bits in it.
[Android Software Development] TheHitMan:
Use the config that is shipped with R44 and you don't need to flash main package for addon uninstall.

DPS force close, i think this requires additional support from ROM.
[Android Software Development] crypticc:
this is the config inside R44 by default.

#
# ADDITIONAL BITGAPPS BUILD PROPERTIES
#

# Begin build properties
# End build properties

# Begin addon properties
# End addon properties

I added bitgapps-config.prop that was in the documentation pages (leaving the one above unaltered)
[Android Software Development] TheHitMan:
This is OTA config and used by OTA survival functions. It has auto-generated enteries.

You can read about it here. https://github.com/BiTGApps/BiTGApps/wiki/OTA-Config
[Android Software Development] ted5300:
Guys, I need some suggestion for resolve of the issue which I've seen. I've installed the latest version (44) of the BiTGApps for Android 11, but it is impossible to restore my backup from google drive. It means SMS, call logs and apps. I can login with my gmail account and playstore works well, but I cannot see my backups to restore my data. With the OpenGaaps I can see and restore my backup data, but with BiTGApps isn't possible. Could you please give me some idia how I can resolve this issue?
[Android Software Development] TheHitMan:
You need to install BiTGApps with setupwizard. More you can read here https://github.com/BiTGApps/BiTGApps/wiki/Basic-Installation#setupwizard-installation and https://github.com/BiTGApps/BiTGApps/wiki/BiTGApps-SetupWizard-Patches
[Android Software Development] ted5300:
It's working well. Thank you , appreciate your help! :)
[Android Software Development] bilihor:
Hey all,

I am relatively new to flashing or rather I did a few long time ago.

I am clearly missing basic information.

I had cyanogenmod recovery on my T320 and was able to flash 18.1 image from first post.

Now when I copy BitGApps to sdcard and try to install it from recovery, I am presented with error of no config file present.

Where this config file is suppose to be?

What name should it be?

Why is it not part of ZIP file if for average Joe no changes needed?

Thanks

Average Joe
[Android Software Development] bilihor:
Also, wiki page Common-Installation-Issues is like no value at all for me.

If I get "no config file", the explanation is like for somebody who do not understand english - "YOUR CONFIG FILE WAS NOT FOUND". I may be stupid in this installing process, but this is no help:

24. ! Install config not found

Config file not present in device

I'd expect at least something like this:

"Installation config file comes in name blah.txt in root of your sdcard or same directory as BitGApps.zip is"
[Android Software Development] TheHitMan:
You should read "Basic Installation" from documentation. Which package you're trying to install ? Information provided by you is just incomplete.
[Android Software Development] TheHitMan:
There might be different explanation to the error, if i don't provide what the error means. So this is just a straight forward of what is breaking installation and Common Installation Issues, don't provide any solution, it just explains error.
[Android Software Development] bilihor:
I checked error in install.sh, script is looking for bitgapps-config.prop in

/sdcard /sdcard1 /storage /external_sd /usb_otg /usbstorage /data/media/0 /tmp

when I select sdcard1 from my recovery menu it showed it as /storage/4251-C415.

if symlink /sdcard1 -> /storage/4251-C415 is not present (I have no way to verify it), config file can't be found. This is the only explanation I have after looking at shell script.

I tried to make changes and re-pack but my zip is not signed.

Can this be changed to get config from the same location as BitGApps zip itself?
[Android Software Development] edyny1:
Do i install BiTGApps and then microG? Or just microG ALONE???
[Android Software Development] TheHitMan:
Alone
[Android Software Development] baggino:
I have installed the syberia12 rom and would like to install the android auto and wizzard setup functions, which bitgapps version should I install?
[Android Software Development] TheHitMan:
BiTGApps don't come in different versions.
[Android Software Development] Zuikkis:
I just installed unofficial LineageOS 19.0 for herolte (Samsung S7), together with BiTGapps 44:

https://xdaforums.com/t/lineageos-1...-spoofing-for-s7-exynos.4368995/post-86026705

There's a problem that no push notifications are coming through. Whatsapp, Signal, Hangouts messages only appear when you open the app. Is it possible it's caused by BiTGapps, or is it a fault in a ROM? Or perhaps some setting I have missed..

I haven't tried any other gapps if it would behave differently.
[Android Software Development] Zuikkis:
I fixed this already, sorry for bothering you. :)

It was a permissions issue, for some reason Google Play Services didn't have the notification permission!

Settings->Notifications->Device & app notifications

Should be like this:
[Android Software Development] TheHitMan:
Good to see, it is resolved.

:)
[Android Software Development] aleMarvel:
hi, i'm on crdroid8 (adroid12) with

last bit + addon assistant

but not work, after reboot assistant don't compare from installed apps
[Android Software Development] baggino:
where can i find the complete package of bitgapps arm 64- r44? i can't figure out where i can download it.
[Android Software Development] guhvanoh:
I'm pretty sure there's a link to it in the OP. But then I've been known to be wrong occasionally...
[Android Software Development] m0han:
not in the op; by the op ;) - #4 actually.
[Android Software Development] guhvanoh:
In the OP scroll down to where it says Downloads. Under that is a link 'All architectures & Download Options'. That takes you to it. Well at least on my workstation...
[Android Software Development] fede01_8:
Does this app really need to be included in the basic package? Most people don't use Augmented Reality

https://play.google.com/store/apps/details?id=com.google.ar.core
[Android Software Development] Söykkis77:
Hey, i just dirty flashed an update to lineageOS 19.0 unofficial i self built. Now for some reason when i enter play store it just gets stuck and doesn't load. Gmail also crashes. It seems to be a permissions related issue, as the logs look like this:

01-27 13:24:03.419 1126 2984 W ContentProviderHelper: Permission Denial: opening provider com.google.android.gsf.gservices.GservicesProvider from ProcessRecord{2aea4be 2517:com.google.android.gm/u0a109} (pid=2517, uid=10109) requires com.google.android.providers.gsf.permission.READ_GSERVICES or com.google.android.providers.gsf.permission.WRITE_GSERVICES

I'm assuming i have to add the last two lines to a manifest somewhere, but i'm not sure where that is exactly. I'm also kind of confused by this error, as play store was working fine before updating (dirty flashing the rom and gapps after.) Any ideas how to fix this?