yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Hpsgill:
There was a problem communicating with Google servers

I've tried several custom ROM and Open GApp version, but all result in the same error message when I try to add a Google account (or try to start Google Play):

Couldn't sign in

There was a problem communicating with Google servers.

Try again later.

First I just waited. ...for days and days. But every time I tried I got the same error message.

My wifi internet connection is functioning (I can browse the web without problems). I have also tried to use several VPNs. Still no luck

I am using Resurrection Remix - OFFICIAL | Android 10 on Poco F1

I have tried all versions of opengapps.

Does anyone know a possible solution?

I have searched this thread and found possible solutions but non of them worked for me.

Method 1:

Simply Restart your Phone and Try to add/sign-in to your Google(gmail) account again.

Method 2:

i) Disable 2-step Authentication ,if you have Enabled it.

ii) If already have Google Account Added ,Remove it.

ii)Clear Cache and data of "Google Account Manager",Google Play Store,Google Play Services,google Services framework .

iii) Now ,Go to settings --Account--add account--google and Try to sign-in .

Method 3:

Install Latest Google Play Services for your Device from <I'm not allowed to post urls yet>

Step 1Go to Settings --Security -- Check Unknown sources

Step 2: Go to <I'm not allowed to post urls yet> and do a search for Google Play Services

Find the version for your device ,Download it and Install it

Step 3: Now ,Go to settings --Account--Add Account--Google and Try to sign-in .

Method 4:

Only For Rooted Phones

Step 1: Go to Settings -- Security -- Check Unknown sources

Step 2: Open Your Browser ,Go to <I'm not allowed to post urls yet> . Do a search for "ES File Explorer" .Download and Install it .

Step 3: Now ,Enable Root Explorer from Menu.

Step 4: Now,Go to Device Root--system--etc--Press hosts file and "open in text editor" .

Step 5: Erase everything there and type the following.

127.0.0.1 localhost

Step 6: Once Done.Go to settings --Account--Add Account--Google and Try to sign-in.
[Android Software Development] DrasticHarm:
Suggestion: try Flamegapps, it's based on opengapps. If that works for you then you experience a problem with opengapps and not something else. If it doesn't work then you should start checking rom/gapps combinations or even check if there might be something wrong with your google account....
[Android Software Development] Nezorflame:
New test build with another permission added: https://sourceforge.net/projects/op...ps-arm64-11.0-nano-20201107-TEST.zip/download

Please test this one out, especially if you had issues with previous ones.

---------- Post added 8th November 2020 at 12:00 AM ---------- Previous post was 7th November 2020 at 11:56 PM ----------

Sorry mate, don't know the reason and never has faced this problem personally.

You could try taking a logcat while reproducing the issue and post it here without the personal info, we'll take a look.
[Android Software Development] All_New_BoB:
isn't it crazy that i couldn't find any tutorial on how to add apps to the gapps zip before flashing :confused:

can anyone help with this please?
[Android Software Development] yehuhua:
Cannot log in and use Google Play Game Service in the game.
[Android Software Development] booci:
Problems with com.google.android.gms Last working build is from november 5th.
[Android Software Development] theimpulson:
Just tried this zip on my Nokia 6.1 (PL2) having LineageOS-18.0 (synced and built today). Works like a charm. No issues at all. It is an A/B device.
[Android Software Development] Nezorflame:
New R builds, this time with pico and micro options: https://sourceforge.net/projects/opengapps/files/arm64/test/20201116/

Please check them out and see if Pixel Launcher and other extra apps work.
[Android Software Development] Anaalsub:
Any plans for test R build ARM Nano ?
[Android Software Development] TMooV:
In the newest beta (nano) google maps crashes after 2-3 seconds, Android Auto crashes right away. I am using Lineage 18.0 in Xiaomi Note 4 (mido). With Lineage 17.1 a couple month back the same thing happened with Android Auto, then something got fixed in openGapps and everything has worked from theron. I hope this will get fixed in A11 opengapps as well. If there is anything I can do to help I'll gladly try.
[Android Software Development] varun_77:
Yes facing the same issue in 11th November Nano gapps test build for arm64 Android 11
[Android Software Development] Nikhil:
1. Install Android Auto from playstore

2. Use systemizer module to move it to priv-app

3. Push the attached file to /system/etc/permissions folder

4. Set permissions to rw-r-r

Future builds will have this change incorporated by default, until then follow above steps.
[Android Software Development] varun_77:
Does same fix apply for Google Maps?
[Android Software Development] Nikhil:
For google maps, we'd need logcat.
[Android Software Development] eujene:
Facing the same issue with google maps. Logs attached.
[Android Software Development] TMooV:
In case more logcats are needed let me know. For now I went back to Lineage 17.1 since I need google maps.
[Android Software Development] linuxnoobbbb:
I got a bootloop after flashing open_gapps-arm64-10.0-stock-20201121.zip to my full-drive-encryption-enabled ZUK Z2 Plus. I'm using LineageOS 17.1 20201119 official. The bootanimation just lasted forever so that I could not type my unlock password.

I managed to enable (rooted) adb by editing prop.default under TWRP.

Some possibly related lines from dmesg:

[ 46.847974] init: Received control message 'interface_start' for 'android.hardware.keymaster@3.0::IKeymasterDevice/default' from pid: 483 (/system/bin/hwservicemanager)
[ 46.848014] init: Could not find 'android.hardware.keymaster@3.0::IKeymasterDevice/default' for ctl.interface_start

Some possibly related lines from logcat:

11-23 10:29:43.712 483 483 I hwservicemanager: getTransport: Cannot find entry android.hardware.keymaster@4.0::IKeymasterDevice/default in either framework or device manifest.
11-23 10:29:43.716 676 676 I ServiceManagement: getService: Trying again for android.hardware.keymaster@3.0::IKeymasterDevice/default...

11-23 10:29:45.717 676 676 W ServiceManagement: Waited one second for android.hardware.keymaster@3.0::IKeymasterDevice/default
11-23 10:29:45.718 676 676 I ServiceManagement: getService: Trying again for android.hardware.keymaster@3.0::IKeymasterDevice/default...

Now I'm using an older version (20201029) of OpenGapps, which doesn't lead to bootloop.
[Android Software Development] JulianXhokaxhiu:
Thanks for the amazing work you're moving forward as a team. This build does crash Google Maps on launch ( verified with LOS18 and crDroid 7.0 on OnePlus 5 cheeseburger ), but seems to work fine on NikGapps. Perhaps something is missing on OpenGapps to make it work too?

Attached you can find the Google Maps crash log.

Thank you in advance :)
[Android Software Development] razorloves:
[MENTION=2010892]Nezorflame[/MENTION]

the Maps crashing is being caused by the new app data sandboxing security feature in android 11.

to fix it, this line needs to be added to the sysconfig google.xml file:

<app-data-isolation-whitelisted-app package="com.google.android.gms" />
[Android Software Development] droi1:
when using nano gapps 2020-11-21 Google Playstore is in two language English and my main Language German?
[Android Software Development] Nezorflame:
Hi and thanks! We have already fixed this in the codebase (thanks to [MENTION=614507]razorloves[/MENTION]), so the next build will include it.
[Android Software Development] BillGoss:
I'm on Android 11 and using gapps-open_arm64-11.0-pico-20201116-TEST and I've found that it stops my PC from connecting to my phone using ADB over USB. When I run "adb devices", the phone isn't listed nor am I prompted for allowing ADB access on my phone. I've attached a log.

If I use ADB over TCP (WiFi), then it works fine.

Since I wasn't sure what was causing the problem I tested:

1. Clean install of the rom only (no Gapps or Magisk): ADB works fine

2. Clean install of rom and Magisk (no Gapps): ADB works fine

3. Clean install of rom, Magisk, and Gapps: ADB doesn't work.

Fixed: I discovered that I also had to enable USB file transfers before I got the prompt to authorise the PC for USB debugging. See https://xdaforums.com/t/rom-officia...us3-3t-09-december-2020.4172699/post-84077725
[Android Software Development] m.fessler:
Same here!

I had previously installed "open_gapps-arm-10.0-nano-20201104.zip" - here is everything in German.

As a test I installed "open_gapps-arm-10.0-nano-20201120.zip" - same Problem.

A rollback to the 20201104 worked.

I haven't tested any other versions in between.

Does anyone have any idea what the problem could be?

Thanks and greetings,

Martin
[Android Software Development] eurochild:
any updated build with this fix available please ?

thanks for all the work you guys doing
[Android Software Development] dna1982:
com.google.android.calendar app in 10.0-20201121 need to be given INTERACT_ACROSS_PROFILES permission, or it will cause bootloop.
[Android Software Development] aimfly:
Try open_gapps-arm64-11.0-pico-20201116-TEST.zip, find following problems(nik gapps core package is ok)

1. chrome can't get google account which added in system

2. For some apps, there is watch advertisement for more things, but " watch advertisement" not shown, seems like google ads is not work.
[Android Software Development] ray.77141:
Manually give contacts permission to chrome > Reboot.
[Android Software Development] Jaromor:
Does this mean the error should not occur in open_gapps-arm-9.0-micro-20201205 (i.e. a build from 5th Dec)

...because it does occur :(
[Android Software Development] Magendanz:
Anyone else notice that Google Recorder is installed by open_gapps-arm64-10.0-stock-20201205, but that it doesn't show up in the launcher?

(ARM is fine, and it also runs fine when installed through the Google Play Store.)

UPDATE: Got a new version (2.1.344143483) in more recent builds, but still not showing in the launcher.
[Android Software Development] Saul72737:
GRAMOGracais
[Android Software Development] Party5999:
Does "ok google" (voice match) work with display on, on Android 11? I'm facing this problem with Nikgapps and with included gapps of the rom that I'm currently using.
[Android Software Development] Aeamus:
Google Play reports that storage is full and refuses to install anything, but storage is not full. I've confirmed this via shell utilities on ADB and from multiple system menus. Is there any fix? The phone is now unusable, Aurora suffers the same problem, but I can install via ADB.
[Android Software Development] shubell:
Hi, i had some issues with LOS 18.1 and open_gapps-arm64-11.0-micro-20201116-TEST . There were some permissions missing and prevented me from booting.

had to add these 3 permissions to privapp-permissions-google.xml
[Android Software Development] landry314:
Is there anywhere to find beta compiled versions of opengapps installers?
[Android Software Development] 19ket:
Is anyone having trouble restoring Google Contacts? I know Google servers were offline earlier today, but it still doesn't work right now.
[Android Software Development] armars:
open_gapps-arm-6.0-aroma-20201215.zip

and 20201212 too

is impossible to download few days already

it is available only on 1 server

and every time download stops on 15%

please correct this

thx
[Android Software Development] njascgil:
Yes, I also noticed it. I never saw anything similar happen past with any other app...

It also does not show in any installed apps list (settings, Titanium Backup, and so on...)
[Android Software Development] LilBlinx:
@Nezorflame , This might be another issue of signature verification. I don't know if it's the same as the issue here opengapps/aosp_build#275 but the behavior is the same.
[Android Software Development] YandexStudio:
In the latest build, I cannot open WearOS App after I download it from Play store.

And the logcat says cannot bind com.google.android.gms.wearable.

Looks like the pre-built GMS Core is missing Wear functions.

Any fix to this problem?
[Android Software Development] Nezorflame:
Thanks, I'll check that.
[Android Software Development] metterschling:
I had similar issues with a different gapps variant. Firefox on Android downloads always stopped at varying percentages. Re-tries were not possible. Download finally worked using Firefox on a Desktop (with two re-tries).
[Android Software Development] makenote10greatagain:
Hey Nezorflame,

thanks for fixing the Google Maps crash problem!

Is there any way to release a new build that includes the fix?

Thanks in advance!
[Android Software Development] 7171burger:
Hey all! I recently installed the latest official version of LOS (16) on my LeEco Le 2 and flashed GApps, and everything has been working fine apart from one thing - I'm unable to set up Google voice match.

When I try to set up 'ok Google', I get a pop up:

"PROBLEM WHILE CONNECTING

check your network connection and try again" with the option to dismiss or try again.

When I tap on try again I get the following notification:

'ok Google' model update download failed

My internet connections, WiFi and mobile data both are completely fine and functional.

Would really appreciate any help I could get
[Android Software Development] ipdev:
Hi. :)

Is internal storage mounted in Lineage Recovery when adb sideload is active?

If not, it would explain why the config file is not found and logs are not created/saved.

Can you fastboot boot TWRP recovery for your device?

If you can, give it a try and see if you can install using a config-file.

"We log in the same directory as the gapps-config file, unless it is aroma or adb sideload"

# We log in the same directory as the gapps-config file, unless it is aroma
# or adb sideload
if [ -n "$g_conf" ] && [ "$g_conf" != "$TMP/aroma/.gapps-config" ]; then
log_folder="$(dirname "$g_conf")";
else
log_folder="$zip_folder";
if [ "$zip_folder" == "/sideload" ]; then
log_folder=/sdcard;
else
log_folder="$zip_folder";
fi
fi

If a config file is found, the logs are created in that directory.

Example, /sdcard/Open-GApps/.gapps-config

The log files would be created/saved in /sdcard/Open-GApps/

When using adb sideload without a config file, the logs would be created/saved to the /sideload directory.

The problem is /sideload becomes read-only while installing so, a different directory (/sdcard) has to be used.

Since the logs are trying to be saved to /sdcard also points out the installer is not finding your config file.

That TODO has been there awhile.

Seems OpenGApps keep getting changed/updated before any one can fully test that option. 🙃

Cheers. :cowboy:
[Android Software Development] landry314:
Unfortunately, TWRP is not compatible with the Pixel 3 on Android 11 systems...

Yes, this is the problem, the /data is not mounted during installation.

Right now, I am trying to modify the installer.sh file and then make a new zip that installs... having issues with that too.

It would be awesome if the gapps-config file could be pushed to the /sideload folder during installation... maybe this could fix the /data not mounting issue on the twrpless phones ;-) .

Thanks for reading my post :-) I'm awaiting your official releases for android 11!
[Android Software Development] ipdev:
I guessed that would be the answer. :(

Take a look at the build scripts on OpenGApps github.

OpenGApps GitHub - Link

It will give you an idea of what differs between packages. (What is removed, replaced and/or changed.)

The installer script is in templates.

It would be easier to just build a pico package.

You could ask razorloves if he can make a pico build also.

Not sure what changes razorloves includes in his builds.

Not sure if that is possible. :unsure:

I am not part of any 11 project at the moment. :D

Save for testing L18.1 on flo/deb ;)

Cheers. :cowboy:
[Android Software Development] giddie:
I'm trying to install LineageOS 17.1 with GApps 10.0 "stock" on my OnePlus 5T (wiped /data) and have run into issues. It seems the boot process freezes once the OnePlus boot logo is displayed, before the LineageOS boot animation starts. The really interesting thing is that it books OK with "pico". Any idea what may be present in "stock" that could be causing issues?
[Android Software Development] mcnaugha:
Now that LineageOS 18.1 (Android R/11) for RPi is out, any chance of getting a test version of Android R/11 Open GApps for ARM (32-bit)?

Thanks.
[Android Software Development] ipdev:
;)

[ROM][flo|deb][UNOFFICIAL][LineageOS 18.1] -> 2021-01-06 xda thread - Post 3,267 - Link

Cheers. :cowboy:
[Android Software Development] klemi71:
Hello, I'm on LineageOS 17.1 with Open GApps pico. Is there a way to add Android System Webview Dev or Canary? I can't install trichrome.apk when downloaded from apk mirror. I really hope someone can help me out.

Maybe Aroma Installer could solve the problem. But what has to be selected to stay on Pico and just add webview? If webview is installed properly dev version should be downloadable from playstore.

Best regards.
[Android Software Development] mcnaugha:
@ipdev Works perfectly. It’s working better than LineageOS 17.1. Thank you so much!
[Android Software Development] dpeddi:
Hi,

I'm trying to install opengapps tvstock over an aosp android 9 build for a broadcom soc.

before installing opengapps android boot and I can get Launcher3.

Opengapps installation finish correctly but on reboot i never get the LeanbackLauncher nor the setup tungsten.setupwraith. I just have a black screen with the mouse pointer.

I've tried to read logcat *:D but is really a mess and i can't find out why the launcher doesn't come up.

There is some hint or someone that can help me? do you need i open a separate thread?

Thank you
[Android Software Development] Nezorflame:
Hi everyone! Happy holidays :)

A bit late to the party, but here are the new test builds for Android 11.

This time we have a couple of fixes for multiple issues (thanks @Nikhil!) including new QuickWalletAccess APK for PixelLauncher to work properly, and also SetupWizard for ARM (thanks @althafvly!).

Also replaced Play Music for YouTube Music on SDK21+ (since it's not present for lower Android versions).

So, here are the builds: ARM | ARM64

As always, please post your feedback here or in the OpenGApps Telegram group.
[Android Software Development] Nezorflame:
There have been reports that stock+ variants don't boot for some people, so the new builds will be up in a few.

They will include a fix for the missing GMS permission.

EDIT: and they're up: removed

EDIT2: sorry guys, screwed up permissions a bit.

New builds: ARM | ARM64
[Android Software Development] landry314:
I figured out how to use gapps-config on the Pixel LOS Recovery systems.

You need to push the gapps-config file to the /tmp/install directory right before install because the /data partition is not mounting during install with the LineageOS Recovery.

This is my cute command line to turn the package into Pico:

$ ./adb shell "mkdir /tmp/install/ && echo "PicoGApps" > /tmp/install/gapps-config.txt && echo File to downgrade to the pico package created successfully\! Please sideload opengapps now\!"

I wonder if some kind of note could be added to your opengapps wiki that explains that you need to have the /data partition mounted to read the gapps-config file and that you should push the file to /tmp/install/ first if you aren't using TWRP or a recovery that mounts /data.

And/Or create some kind of error message in the installer.sh script which mentions the /data partition is not available...
[Android Software Development] ipdev:
Can you just push a config file to /tmp/install ?

adb push gapps-config.sh /tmp/install/.gapps-config

Then start the sideload like normal?

Does it work if you install the rom from internal storage?

I assume they still have that option.

- Push config file to /tmp/install

- Choose install from internal storage.

If so, add something like this to the wiki.

Note:

To use a config file with LineageOS Recovery.

You need to copy your config file to /tmp/install/ before you begin the install.

Cheers. :cowboy:
[Android Software Development] Nezorflame:
There's already a section in the official wiki which describes places for the config file:
[Android Software Development] landry314:
Yes, indeed, pushing the gapps-config file to /tmp/install works fine - i just said that ;-)

$ adb push PATHONPC/gapps-config.txt /tmp/install/gapps-config.txt

No, you can't install from internal storage unless it is mounted and LOS Recovery does not mount /data/ or /sdcard/ to read the installer. or the config file. It must be sideloaded. This is the issue I am talking about.

I like your addition to the wiki!
[Android Software Development] landry314:
Yes, I have read it. The issue I encountered is that if you place the config file on /sdcard/ thinking it will work, the installer goes through the motions without finding the file. I had to figure out how to do it on my TWRPless phone.

I wonder if /persist/ might be an easier way to store the file...
[Android Software Development] ipdev:
True.

I normally use /sdcard/Open-GApps/.gapps-config ;)

With the bring up of Lineage 18.1 and the lack of TWRP compatibility, more users are going to be using LineageOS recovery.

@landry314 noted the config file was not being read when sideloading opengapps.

Apparently it worked if he created a config file in /tmp/install/

If this is the case, maybe a note page or a section in the FAQ for using Lineage recovery is needed.

Just in case it is not included in the instructions for the Lineage build.

---

Note:

I just tried l18.1 on a Pixel 4a using Lineage recovery.

First time using the new Lineage recovery.

I had no issues using a config file in /sdcard/Open-GApps/

Might be the difference between device/bringup.

Maybe steps used?

¯\_(ツ)_/¯

---

Steps used.

Installed current Google factory rom to both slots.

Flashed the lineage boot image to both boot_a and boot_b.

Rebooted to recovery.

Selected Factory reset.

- Since this was an initial install.

Used adb sideload to install rom.

Rebooted to recovery.

- To be on the correct slot.

Enabled adb under advanced options.

Used adb to push config file to /sdcard/Open-GApps/

adb push gapps-config.sh /sdcard/Open-GApps/.gapps-config

Used adb sideload to install opengapps-stock.

Pulled /sdcard/ to grab opengapps logs.

Used adb to sideload magisk-canary.

Rebooted to system.

I would stay away from persist.

Take a look at the issues Pixel(s) have with sensors when persist is messed with.

Two examples.

I need help obtaining a the root/mnt/vendor/persist/sensors folder xda thread - Link

FIXED - Android 10 - Sensors Bug xda thread - Link

Cheers all. :cowboy:

Edit:

PS.

Updates kinda suck.

Lineage recovery for Pixel 4a (not sure if it is all) does not support backup scripts.

Had to reboot into recovery to reinstall opengapps and magisk.

Magisk took but, I had to reboot into recovery once again to reinstall opengapps. WTF?
[Android Software Development] Nezorflame:
/tmp/install/ was specifically added for those who sideload OpenGApps without the access to /data or /sdcard. So yeah, for now this is probably the best option.
[Android Software Development] curiousrom:
TWRP Not Compatible with Unofficial LineageOS 18.1?

Thanks for the detailed post & report. :cool: 👍

I don't see an official TWRP page for the Pixel 4a in https://twrp.me/Devices/ @ the present.

On what are you basing that statement?

Did you see the official TWRP post TWRP 3.5.0 Released ?

***