yashsingh1/xdaforums huggingface dataset:
[Android Software Development] j27h:
Same things here: all the lastest Opengapps vesions (160910, 160911, 160912) present the Android is upgrading" optimization cycle at every boot. Everitying is fine with the 160815 and 160822 versions, as well as with the old PA gapps (150410). I'm working on a Motorola Razr M with the latest CM11 (20160618, Android 4.4.4 with KK bootloader, TWRP 2.8.6.0).

Same thing was reported in October 2015, and the user said that with the November 2015 update everithing went back to normal... I don't think that this problem is Device or ROM related as MastahF suggested...

http://xdaforums.com/showpost.php?p=63207264&postcount=116

Any ideas?
[Android Software Development] ivanich:
Tried Sep12 build micro, unfortunately contacts sync still crashes with same error message.
[Android Software Development] vazersecurity:
Getting the same thing.

Edit:

Did clean install with stock 09122016. Working well.
[Android Software Development] MastahF:
Hmm, so extracting the APK manually from the zip *does* work? but the installed one not?

Could you please do the following thing?

*Do clean install

*Check if the correct permissions are granted to googlecontactssync

*Upload the debug log (.tar.gz) of the install

*Upload the logcat of the error

*Upload google contactssync file that is installed on your device (/system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk)

I will then do a binary comparison if their is any difference between the .apk in the package and the one installed on the system.

Yes, maps v1 is correctly there. Maybe some other complication? You can upload a logcat + the installation debug log for more research if the issue stays

During the time we did update some of the configs in /etc/ for Nougat compatibility, but they should not do anything new or different for 4.4

You could try to capture a file list of /cache before the gapps install and one after the gapps install and see if anything has changed.

Another possibility would (maybe) be that your OS updates an app all the time, that would get maybe downgraded or removed during the gapps package install? On 4.4 we touch a few apps that go on /data/.
[Android Software Development] nikowfreak:
Aroma installer never worked for me in TWRP 3.0.2, but i notice that uses AROMA 2.70, can you update to AROMA 3.0? TBO ThemeReady zip uses this version and works fine. It's just a suggestion, i can test it if you can update it
[Android Software Development] cadbusca:
Done:

* /system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk has the following permissions: -rw-r--r-- (owner: root / group: root)

* A binary comparison between both files shows that they are not equal.

OBS: for this test I used the same build I had suceeded in fixing the issue by re-installing the apk from its own package: open_gapps-arm-6.0-mini-20160910.zip
[Android Software Development] MastahF:
Thanks for your data!

I was able to isolate the problem, but we have no direct fix yet. We are hitting a bug in busybox's tar implementation, tar encounters a block of zeroes and thinks it is EOF even though it is not.

Somebody wrote about this before in 2014, but no fix: http://lists.busybox.net/pipermail/busybox/2014-May/080903.html

GNU tar has a fix for this and chooses to ignore the situation, users can even explicitly call to ignore it: http://www.gnu.org/software/tar/manual/html_node/Ignore-Zeros.html

[MENTION=5423715]YashdSaraf[/MENTION] do you think it would be able to make a patch to workaround this in busybox (relevant lines: https://github.com/yashdsaraf/busyb...236/archival/libarchive/get_header_tar.c#L170 ) or maybe otherwise compile GNU tar with your toolchain instead?

Addendum: a very small chance might also be that this is caused by a b0rked unzip command in the recovery, that it would have damaged the tar, but that chance is really slim.
[Android Software Development] vazersecurity:
Did clean install with September 12 (stock), never received an error from Google Contact Sync from startup; working marvelously.
[Android Software Development] kamikaze702k:
CM13 with pico gapps, contacts do not sync... Any fix for this? Tried manually installing and giving correct permissions, still no luck...
[Android Software Development] j27h:
Yes, I have noticed that the 20160824 is also the first built incorporating Nougat: I think that the problem relies in some of these changes. Some observations:

1) Comparing the VersionLog of the Nano 20160822 and 20160824, it seems to me that the only differnce is the addistion of the etc/sysconfig/google_vr_build.xml file, maybe we have to search inside this XML;

2)I have installed the 7.0.12 Nougat Play Store apk over the 20160822 build and everithing works fine, so the problem has to be somewhere else;

3) My DATA partition is formatted in F2FS, not in EXT4.

4) About the " OS updating an app all the time", I flash the Nano Opengapps queuing it to the ROM, then I reboot. At this point I install Google Maps or any other app that is not part of the Nano Opengapps, and at the next boot I found Android updating them...

Could you please tell me how to capture a file list of /cache before the gapps install and one after the gapps install? Tomorrow I'll try to provide some data!

Ah, thanks for your help and all your efforts!
[Android Software Development] occtec:
Deleted.
[Android Software Development] guhvanoh:
I'm assuming you have a terminal emulator on your device...

su

cd /cache

ls -al > beforeListing.txt

exit

Install gapps

su

cd /cache

ls -al > afterListing.txt

exit

That's the barebones of it. You'll have to move the before and after directory listings somewhere and upload.

HTH
[Android Software Development] Dr360r:
Mine is formatted in EXT4.
[Android Software Development] Renton91:
1309 stock package works fine!

Nexus 5, Stock MOB31E+Xposed, Blu Spark Kernel v103.

Thanks.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Software Development] j27h:
Here are the test results (cache list): after each attempt I have installed GoogleMaps and rebooted the phone to check if everything was allright.

1) BeforeOpengapps.txt: clean CM11 install without anything else installed, everything works as expected.

2) After20160822.txt: clean CM11 and OpenGApps20160822 install, everything works as expected.

3) 20160822UpgradedTo20160913.txt: clean CM11 and OpenGApps20160822 install, OS boot, reboot in Recovery, flash OpenGApps20160913 over the 20160822, reboot, the problem is present.

4) After20160913.txt: clean CM11 and OpenGApps20160913 install, the problem is present. I have attached also the OpenGApps logs (20160913open_gapps_debug_logs.tar.gz and 20160913open_gapps_log.txt).

5) After20160913WithGoogleMapsInstalled.txt: as above, but the list has been made after the installation of GoogleMaps and the test reboot (that showed the problem).

That's all, hope this helps to solve the problem. For the moment I'm more than happy of the 20160822 version!

Ok, so the problem isn't File System related. Thanks for the update!
[Android Software Development] JT1510365:
Hello everybody I ran into a problem:(

Open gapps is now starting to use tar.lz format instead of tar.xz format which sucks cause I can no longer get and extract all of the Google apks that are made into the tar.lz files such as vending.tar.lz and gmscore.tar.lz I need inside the main zip with 7zip anymore. Is there anyway someone could give me an easy noob friendly guide on how to extract tar.lz files?

Is there anyway to convert tar.lz to tar.xz?
[Android Software Development] MastahF:
GoogleContactsSync "Finding a fix"

Ok guys, since I am *not* able to reproduce the problem at all on my own devices (and neither has [MENTION=5423715]YashdSaraf[/MENTION] yet, but he will now try with low-powered emulators) with any of the packages, and we only have the logs to work with, we are still not able to exactly pinpoint it yet.

We *do* know that the tar is failing on a big set of zeroes or just on a file that is too short.

That means either busybox's tar is faulty (that was my first thought) or that busybox's unzip is faulty, either can be caused by e.g. an error in the toolchain used.

Or that there might be something really weird going on, i.e. that the RAM that hosts /tmp using tmpfs might be faulty and not give proper filesystem isolation (so that the file is not written yet by the old command while read by the next command).

To at least try to isolate whether it is busybox or not, I made using [MENTION=5423715]YashdSaraf[/MENTION] a package with its own GNU tar and unzip binaries bundled. Could you please test this ASAP and report back, so that we can research further?: open_gapps-arm-6.0-mini-20160913-UNOFFICIAL.zip
[Android Software Development] cadbusca:
This test version worked like a charm here, thanks! I also checked the catlog and no error there too.

FYI: This time I installed it over a different rom (also android 6.01 - Mashmallow) - Cyanide - but on the same device that was presenting the issue.
[Android Software Development] #Henkate:
[MENTION=6404745]MastahF[/MENTION]

Hello!

Can i include Open GAPPS in my rom zip? I download pico version from original website and include the zip as it is in my rom zip, and just modify my rom updater script to install automatically Open GAPPS zip.

Im waiting for a reply. Thank you!

Have a nice day!

Robert.

EDIT: Ive got contacted through PM
[Android Software Development] Hobbygamer27:
Could someone tell me in which apk the google clock is hiding?
[Android Software Development] kamma:
what is the reason for deleting these files (gapps-remove.txt) ?

/system/vendor/lib/libfrsdk.so

/system/vendor/lib64/libfrsdk.so

because on Nexus6p AOSP it causes FaceUnlock crashes with "library not found"...

i am talking about GAPPS for Android 7
[Android Software Development] MastahF:
Hi, it is a dependency for facelock, and on devices where there is no separate vendor partition we have to copy it in ourselves.

I am busy with fixing that it should automatically skip this for separate /vendor partitions, for now you can use the `skipvendorlibs` keyword: https://github.com/opengapps/openga...es-and-Options#skip-updating-vendor-libraries
[Android Software Development] ramrastus:
[MENTION=6404745]MastahF[/MENTION] swipelibs (stock keyboard) not working n arm pico 7.0.. And I'm n cm14 rom..
[Android Software Development] Dr360r:
The same happens to me with the 4.4 gapps on the ROM i'm on. Swipe simply doesn't work out of the box. After you install the gapps package, you need to replace the libjni_latinimegoogle.so with an earlier version, set the correct permissions, reboot and then it works.
[Android Software Development] ramrastus:
How to replace it & where can i find it?

I guess earlier version of Swypelibs are also not working :(
[Android Software Development] j27h:
Same problem here: I generally use Swiftkey but these days I have tried the AOSP Keyboard and the swype action caused a force close.
[Android Software Development] tirta.agung:
First, sorry for stupid questions. Is there a way to update the PrebuiltGMS.apk inside OpenGapps zip files? I've tried to change the old PrebuiltGMS.apk (ver. 9.6.80 - 320, 480, nodpi) with the new one (ver. 9.6.83 - 320, 480, nodpi) that I downloaded from OpenGapps github, but to no avail. I always get Google Play Service FC message. Anyone here has a tip on this issue?

---------- Post added at 08:51 PM ---------- Previous post was at 08:50 PM ----------

Use ubuntu or other linux distros.
[Android Software Development] shaggyskunk:
Delete

Sent from my SM-N910T
[Android Software Development] JT1510365:
how is that supposed to help can you at least give me a noob friendly guide i use windows 10
[Android Software Development] shaggyskunk:
Depending on what you're trying to do - You could just install the apk from apk mirror for Play Services:

http://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-9-6-83-release/

Sent from my SM-N910T
[Android Software Development] JT1510365:
Yes but those apks like google play services are bigger than the ones included in gapps packages because the ones in the gapps packages don't include the lib files in the apk and i want those apks:)

Can you please just give me a noob friendly guide is it really that hard?
[Android Software Development] osrox:
Hi,

In order to correct this Googlekeyboard issue.

I dirtyflashed stockgapps with config file mentioning exclude keyboard (& other unwanted apps).

Other apps converted from system app into normal, which helped me in uninstalling them.

.but keyboard still stuck as a system app.

Any other way to fix this issue, instead of a clean flash?
[Android Software Development] WeirdSoup:
Hi, I have some problem with the Dialer.

When I make or receive a call, "sometimes"(not "always") the phone suddenly reboots. Yes, I googled about this and already set the default dialer app, but actually I don't absolutely need to that because I DON'T use the Google Dialer. I always just use the stock AOSP Dialer, so it's already set as a default app.

As I said, it normally has no problem with making/receiving a call, but then suddenly, without any notice, the phone reboots.

I think it's because of the google dialer framework. when I use the A-Gapps(it doesn't have that), I've not experienced that problem.

Am I the only one who has this problem, and how can I solve it(without changing to another Gapps)? My device is i9506(E330K), and the ROM is CM13. I use the pico package.
[Android Software Development] jugoslavpetrovic:
With latest biuld of Bliss rom for Nexus 5x, flashed Aroma Open gapps and stuck at "Prepairing Contacts Storage" or something like that.

Banks gapps worked fine.

Any clue how to deal with it?
[Android Software Development] bart388:
Error: Couldn't sign in. There was a problem communicating with Google servers.

Hi,

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've got a Samsung Galaxy S3 mini GT-I8190.

First I tried the custom ROM: Lollipop 5.1.1 (Resurrection Remix) 20160908 from novafusion.pl with Open GApps ARM 5.1 aroma.

Then I tried installing another ROM: Lollipop 5.1.1 (CyanogenMod 12.1) 20160718 stable. Didn't work.

Then I reinstalled the CyanogenMod 12.1 ROM and used the Open GApps ARM 5.1 micro version. Didn't make a difference.

I tried everything that is shown and written in the description of the YouTube movie "Fix " Could'nt Sign in -There was a problem communicating with google servers" On Android Devices ?" (I'm not allowed to post links yet. But see below for all the possible methods that are mentioned in there) But nothing worked. :(

Do you know a possible solution?

____________________________________________________

P.S. These are the possible solutions from the YouTube movie "Fix " Could'nt Sign in -There was a problem communicating with google servers" On Android Devices ?" I mentioned above.

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 1:)Go 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] mammenj:
Is there a problem with the download server as it fails after trying it for more than 10 times?
[Android Software Development] mlods:
Grant Permission popup

Hello all,

sorry for my noob question.

I try to install OpenGapps ARM 7.0 Stock (but I have the same problem in pico) on a custom self build rom (Nexus 6, PureNexus).

The Grant Permission request popup from all apps is not correctly displayed (screenshot attached).

I try with forcedpi560 keyword but not works.

With an other package (Banks) it works (second screenshot), but I think OpenGapps are better ;)

Do you have any idea?

Thanks
[Android Software Development] nathanchance:
It's a package installer issue. If you omit flashing it with a custom .gapps-config file, that won't happen.
[Android Software Development] tvisforme:
Is there a way to install a specific version of certain Google apps? The DPI selection described in the advanced options would appear to apply to all apps.

I ask because I've encountered problems with wake locks on the recent Google Play Services versions. For some reason, the DPI-specific version for my device (ARM64 -448) leads to the device not sleeping, while the generic version (-440) sleeps properly. I've tried removing -448 and installing -440, which works for a while until the system automatically installs -448 (even with automatic disabled).

Sent from my mobile
[Android Software Development] exodius48:
I get playstore always fc when select an app or game & tap "read more". I dont get this issue when using older opengapps version.

Currently using official pac rom 6.0. Arm64, pico.

How to fix? Or can i downgrade opengapps & just flash it from twrp or i need to wipe data fisrt?
[Android Software Development] -DarkKnight-:
Hey, I'm on a Nexus 5X running a Nougat rom. I flashed the 7.0 64 bit Gapps, but I'm having issues with trusted face. It keeps force closing. Anyone else with the same problem? I flashed the full Gapps.
[Android Software Development] g104:
Updater process ended with ERROR: 2

ARM 6.0 pico for 24th Sept '16

please kindly fix the issue. thanks.
[Android Software Development] D@rekills4:
Same here for the Micro package.
[Android Software Development] exodius48:
[MENTION=6404745]MastahF[/MENTION] Hi, any chance to add support for android 4.4.4 x86 devices?
[Android Software Development] oRAirwolf:
It's planned. Just be patient.
[Android Software Development] D@rekills4:
Ahhh, that's great.

Sadly, I don't own a credit card to donate at the moment, but once I get one, you will get the first donation. ;)
[Android Software Development] bojiokia:
You can always disable the sync in account settings. Anyway, developer have aroma version too, you can always use it.
[Android Software Development] MastahF:
The contactsync is part of the Core Google Services, thus as far as we know the other Google packages may expect it to be there. Together with calsync you then can at least add Google Accounts to be used with the stock/AOSP packages. It only costs a few kilobyte and they are not installable via the Play Store. They fall basically in the same category as e.g. the BackupTransport.

So to prevent any trouble on the user's side, which was I think a very logical choice of the original PA Developers. If you still want to remove these, you can use the KeyWords (Calsync) and the Universal Remover (for contactssync) to get rid of them. Or one could fork the code to make your own version.

If you could test wit TK GApps, and confirm whether they have the same issue, that could be useful. But that it works at all, might be a courtesy of your launcher. Because I believe the Search app has not such privileged rights on CM11 that they are allowed to listen to the mic all the time.

If you are willing to test the arm64 builds as soon as they are available (see below), I would be really grateful. Just seeing if they work at all, would help a lot :)

The buildbot ran this night out of space, when building the arm64 packages too. So the aroma for 5.1 is corrupted, and the arm64 were not uploaded in the end. I am now fixing the buildbot, and will let it upload the missing packages.

It is coming soon, the multi-architecture is now in good shape. But I still miss some of Google's packages for x86.

Thank you! :) (Paypal actually also accepts bankcards in many countries, I think)
[Android Software Development] Toni Suwanto:
Here on my redmi 2 ..
[Android Software Development] MastahF:
Is this with aroma, or with stock? If it was aroma, can you try stock?
[Android Software Development] Toni Suwanto:
The pico one,, I'm just need the minimal version.
[Android Software Development] MastahF:
Ok. That is good. The errors that at the top are weird though, you sure that the custom rom and twrp has no issues on the device?

And could you send me the contents of your /system/build.prop?

thank you! :)
[Android Software Development] Toni Suwanto:
Here is my build.prop

the 0614 build work fine
[Android Software Development] fr3quency:
Time to add the Clock app as well? :) http://www.androidpolice.com/2015/0...r-android-is-now-available-in-the-play-store/
[Android Software Development] chewdaniel:
hmm... i just realised flashing an updated package doesn't remove the corresponding updates from /data but if i uninstall updates after flashing the version will be the same :)
[Android Software Development] koboltzz:
I hope to see Google's Clock App (now in Play Store) soon in 'Stock' package and the remove of the integrated Clock App at the same time (like webview).
[Android Software Development] MastahF:
I had it already pinned on my shortlist of potential Nexus apps to be included in the stock package. With current developments this will be even more certain :)
[Android Software Development] Ok_Kaleidoscope5109:
I will keep you updated. I'm positive 4.4 works with OK Google at any screen. My Nexus 5 has worked that way and I never updated it to 5.x.

You're right that my phone currently worked because of the launcher having some hook, but it's suppsoed to work from any screen per Google Search.

As an update, I connected my phone to my car today on Bluetooth and finally OK Google works on any screen. Now I see "Say OK Google" on the Google Search Widget. It's kinda weird. My phone failed to do it for the past 2 days until I paired my phone with my car. Not sure why that was the case.
[Android Software Development] MastahF:
The attachment is not downloadable :-/
[Android Software Development] Toni Suwanto:
Sorry, here:: https://www.dropbox.com/s/furotozrj3pmszc/build.prop.zip?dl=0
[Android Software Development] oRAirwolf:
I flashed the stock 6/19 ARM64 GApps package on my Nexus 9 along with AICP 6/18 nightly. I had an FC pop up when the tablet booted for wallet, but every gapp is loading with no issues. Nice work. Let me know if I can provide you with anything.
[Android Software Development] MastahF:
Ok, please keep me posted if you find out what causes the wrong and good behaviour.

Thank you :)

Nice to hear! I will check the problems with the wallet, because at the moment some of those APKs are quite 'ugly' (de-odexed from arm64 image), I hope to get a better sources for these soon, when arm64 will become more mainstream.

For everyone: For tomorrow's update Google's Alarmclock will be included under the keyword ClockGoogle and there will be a change for the Webview keyword to make it more consistent, from tomorrow on that one will be called WebviewGoogle instead of Webview.

Because Google's DesktopClock is known to cause trouble if AOSP/Stock Clock app has been installed before, ClockGoogle will only be allowed to be installed on Clean Data Partitions