yashsingh1/xdaforums huggingface dataset:
[General Paranoid Android Discussion] mikeoswego:
Like it says in your screen shot: See /sdcard/Download/pa_gapps_log.txt on your system to see what space is remaing, how much each GApp takes and figure out which ones you can live without and exclude them in your .gapps-config file.

If you want more help, post the pa_gapps_log.txt file here.
[General Paranoid Android Discussion] bmakk2055:
I know that but I never had to do this before
[General Paranoid Android Discussion] oldman20:
Thanks! I got it
[General Paranoid Android Discussion] DMedina559:
The ROM you are flashing might be taking more space then before
[General Paranoid Android Discussion] bmakk2055:
Yeah that might be it
[General Paranoid Android Discussion] Vinnom:
Not only that, google apps (read: google apps, not pa gapps) takes more space too.
[General Paranoid Android Discussion] marf28101995:
http://www.apkmirror.com/apk/google...ices-7-0-92-1774482-438-android-apk-download/

Wakelock is fixed :)
[General Paranoid Android Discussion] davidfi01:
Using 7.0.92 with cm12 2015-03-10 on 1+ still not fixed. Update service not running. Stuck in Awake.
[General Paranoid Android Discussion] gianton:
+1 same here
[General Paranoid Android Discussion] mikeoswego:
Yeah, the GApps have grown quite a bit. Don't know how close you are in /system but the Stock PAGApps zip file has grown from 415MB in mid December to 447MB now. Along with ROM size increases like others said, it's probably pushed beyond the size allocated to your /system partition.
[General Paranoid Android Discussion] airbeeting:
Using 7.0.92 with cm12 2015-03-08 on N4 seems fixed. Update service not running. In deep sleep. I´m testing.
[General Paranoid Android Discussion] MarceloLagos:
Was on the same boat here.

I believe I found my specific issue:

- Installed gapps from MAR/7 and my phone (OnePlus/CM12 latest nightly) was always awake. Google Play Services was keeping it up.

- Only workaround at the time: removing the "Stay Awake" and "Wake" permissions for the Google Play Services in Privacy. But it was too invasive so I started trying other options.

- Tried disabling configservice and fetchconfigservice as I saw in one post. Still awake.

- Tried disabling the systemupdateservice, and still awake.

- Not sure where I saw it (wakelock detector or BBS) something called dreammanagerservice as the culprit. I checked the when to dream configuration and it was On but none of the options selected. I turned it off, and now the phone is sleeping normally so far. (it's only been an hour, but before was 100% up)

I will start reverting the previous changes, enabling the other services one by one to see if they had something to do or not.
[General Paranoid Android Discussion] airbeeting:
http://xdaforums.com/nexus-6/help/dreammanagerservice-t3011097/page1
[General Paranoid Android Discussion] dandemonic:
As always, thanks for your time and efforts, love your work [MENTION=2777334]TKruzze[/MENTION] :good:

I've noticed since flashing 20150307 Micro GApps with GearCM on i9500, and same version Nano GApps with CM12 grouper nightlies, in my Google account sync settings Google Fit has appeared, and appears to be syncing although there's no apparent data usage while it syncs.

I don't use any apps or devices related to Google Fit, and it's occurring with full wipe clean installs.

It's not a biggie, and apart from that everything is working fine as per usual, I figured it's not due to your installer but rather something possibly recently introduced by google, just curious if any other users noticed the same, and if anyone has further info about it?

Edit... on searching I found these xda posts which have some further info.., (note to self, use search more often)

http://xdaforums.com/showpost.php?p=59285461&postcount=1885
[General Paranoid Android Discussion] morfei1:
I was using PA 5.0 Alpha 2 + GAPPS 5.0.1 Pico 20150307 + elementaX 2.10, I had a huge battery drain from the Google Play Serveces, like 25% for 6h standby. My Phone was at 25% battery with 17h standby, compared to my last setup - 3 days+ Standby and 2~2,30hours SOT. The process was keeping the phone awake all the time. I tried to disable it from App Ops, but it didn't help. I did not had that problem with the PA 5.0 Alpha 1 + PA GAPPS 5.0.1 Pico 20150201 + elementaX 2.10. Now, I'm on PA 5.0 Alpha 2 + PA GAPPS 5.0.1 Pico 20150201. I'm still testing, but I think I slove my problem.

Anyway thanks for the good work!
[General Paranoid Android Discussion] Son_of_Soren:
One small suggestion... I use AntaresOne's rom for my S4 and he has a smiple little app that he installs that lets you know when new updates are out (with a download button), has links to the XDA threads and social media accounts, and allows you to donate through the app. It would be great if something like that existed for these packages as well. Keep up the great work!
[General Paranoid Android Discussion] airbeeting:
Finally same here on N4 ... :crying:
[General Paranoid Android Discussion] MarceloLagos:
It turns out I had 2 issues preventing the sleep.

One was the daydream configuration that I had to turn off. (I haven't checked yet if configuring it properly and turning it on will solve it. For now I just turned it off)

and also a service called ConfigFetchService from Google Play Services. (even with 7.0.92).

Using My Android Tools I disabled ConfigService and ConfigFetchService, and now the phone sleeps like a baby.

[IMG="Screenshot 1"]http://i.imgur.com/fNPPN5E.png[/IMG]

[IMG="Screenshot 2"]http://i.imgur.com/OFRQ6DW.png[/IMG]
[General Paranoid Android Discussion] airbeeting:
Yeah. I´m doing the second option, either with 7.0.92 to make my n4 go to sleep like a baby ...; )
[General Paranoid Android Discussion] nemanja066:
CM12, Use PrivacyGuard and uncheck Keep Awake for Play Services (and restart to apply). In other cases, SystemUpdate wakelock always comw back after reboot.

Sent from my Nexus 4
[General Paranoid Android Discussion] gianton:
But you have to do this every time after a reboot. Too much hassle, went back to PA Pico of 21/02 build with v6.7.76
[General Paranoid Android Discussion] MarceloLagos:
huh?. No. The services remain disabled after a reboot. I'm using MyAndroidTools btw.
[General Paranoid Android Discussion] Mistertac:
For some it appears that doing that doesn't survive a reboot, why I don't know myself. It does for me. But I have a couple friends where that's not the case.
[General Paranoid Android Discussion] gianton:
I tried both with Disable Service app and My Android Tools both services have to be disabled after a reboot. Maybe I'm unlucky lol.
[General Paranoid Android Discussion] MarceloLagos:
I spoke too soon. The update service reactivated by itself.

Had to undo all my changes and went back to disable the "Keep Awake" option for Google Play Services in Privacy. A bit drastic but it prevents the unnecessary awake time and it survives reboots and even upgrades.
[General Paranoid Android Discussion] mottlagh:
thanks bro for your help.

i'm already learning how to exclude or include some apps from stock package, but it's not simply.

can you explain me how to do that step by step.

i'm using gapps 20150307 & my device is xperia m & my rom cm12 build 20150303.:D
[General Paranoid Android Discussion] eurochild:
Alright, found a permanent solution for the stupid play services wakelock

* Tasker and Root required

** tested and survives reboot

1. Create a profile based on "Event > System > Device Boot"

2. Add a "Run Shell" action with the command "pm enable com.google.android.gms/.update.SystemUpdateService" and tick the "Use Root" option

3. Add a "Run Shell" action with the command "pm disable com.google.android.gms/.update.SystemUpdateService" and tick the "Use Root" option

4. profit

deep sleep is working like a charm!
[General Paranoid Android Discussion] bmakk2055:
Deleted
[General Paranoid Android Discussion] oak:
Works like a charm. Great use of Tasker! Thanks!
[General Paranoid Android Discussion] MarceloLagos:
Can confirm!. Works beautifully.

OPO CM12 latest nightly with latest PA Gapps.

Thanks man!
[General Paranoid Android Discussion] Achmeon:
gapps doesn't use .gapps-config

Installed a new rom (CM12) today and the updated gapps after a wipe/clean install. I thought I try to use the gapps-config to exclude some apps I don't want. After reading this thread, I thought I was doing it right: Copied the .gapps-config with several apps to exclude the stock installation, but it doesn't use it. I placed the file in the gapps.zip but the log file says there is nog gapps-config. What I am doing wrong?
[General Paranoid Android Discussion] ssonik:
Place the config file in the same folder as the zip file, instead of inside the zip file.
[General Paranoid Android Discussion] Achmeon:
Thank you. Never expected it to be that simple :D

In this case I have to go to recovery and just reinstall gapps from the zip? No need to wipe or something?
[General Paranoid Android Discussion] ssonik:
Depending on what you've set in your config file, you may need to reflash your current rom, then straight away flash the gapps package again. No need to wipe system or data though.
[General Paranoid Android Discussion] :
I'm pretty happy with the current BasketBuild Gapps, but I thought I might give the PA version a try since I am still on Google Services 6.5 (and I don't receive version 7 update for some reason).

I have installed Chrome, Keep, Calendar via the Play Store because they weren't included. If I were to flash PA mini Gapps now, is there anything I would have to do before, like deleting those apps from my phone first or can I juse flash the zip?
[General Paranoid Android Discussion] mikeoswego:
You won't need to delete the apps you've gotten from the Play Store but to switch from another set of GApps you'll need to follow the instructions in FAQ #6, in the third post of this thread: http://xdaforums.com/showpost.php?p=56832798&postcount=3

---------- Post added at 10:18 PM ---------- Previous post was at 09:49 PM ----------

Post #4 in this thread has all the details: http://xdaforums.com/showpost.php?p=56832806&postcount=4

Using the CM file manager (or whatever file manger you like) go into the folder where you have saved the PAGapps file that you downloaded.

Create a new file in that folder named .gapps-config

Open the .gapps-config file in the file manager editor. (Make sure you have set your file manger to show hidden files.)

You said previously that you only wanted Google+ and Earth over what is in the NANO package, so put the following 5 lines in your .gapps-config file:

Include

PlayGames

Search

GooglePlus

Earth

This will install the needed core Google files (PlayStore, etc), PlayGames and Google Search which are included in the NANO package and then Google+ and Google Earth as your additions.

Put the keyword Test in the .gapps-config and the installer won't do anything but it will generate the log file so you can see what would have been done if you'd like to do a trial run.

Hopefully this, along with some more studying of post #4 noted above will get you going!
[General Paranoid Android Discussion] oldman20:
Thanks you, i will try it
[General Paranoid Android Discussion] SpasilliumNexus:
You are awesome! Although I'm still a newbie with it, this is what makes Tasker is so amazing!

I also got hit with this drain two days in a row, waking up to a dead battery both times.
[General Paranoid Android Discussion] gianton:
Working great thanks for sharing patrida!
[General Paranoid Android Discussion] dandemonic:
Hopefully play services wakelock from SystemUpdateService is fixed now, just tried to send a Gmail and got the message on screenshot below, after opening google play services via play store it had updated to 7.0.93 from 7.0.92, and wakelocks appear to be gone.
[General Paranoid Android Discussion] airbeeting:
Yeah I´m in 7.0.93, I´ll give a try !!! :good:

---------- Post added at 09:00 AM ---------- Previous post was at 08:48 AM ----------

CM12 nightly 20150310 with gps 7.0.93, reboot and seems no problem with deep sleep.
[General Paranoid Android Discussion] occtec:
Interesting yet the lollipop 5.1 update has Google Play Services version 6.7.76 on the Nexus 5
[General Paranoid Android Discussion] dandemonic:
Are you experiencing wakelock with that version?

7.0.92 was causing the wakelocks on my i9500 and grouper.

Just forced update to my grouper play services by using browser to search "google play services" and then choosing to open on play store, then updating, to 7.0.93 from 7.0.92, only difference is i9500 was 438 version and grouper is 430 version.
[General Paranoid Android Discussion] occtec:
No wakelocks here, but as for the different versions I'm not sure if they are device specific, but I'd say they are..
[General Paranoid Android Discussion] dandemonic:
I think the older versions pre 7.0.9x possibly aren't affected, I just let phone idle for a bit longer with screen off and wakelock is still present with SystemUpdateService with 7.0.93 version on i9500 so looks like it's not fixed after all.
[General Paranoid Android Discussion] Breach1337:
I was having the SystemUpdater wakelock issue with 7.0.82.x as well (the one which comes with the 7 March PA Gapps package). Moved to 7.0.93 now, no change... Incredible... According to 3C Toolbox is the offending process is Google Account Manager.
[General Paranoid Android Discussion] AlexanderBig:
Can confirm, SystemUpdateService wakelock still present in Play Services 7.0.93. What a bummer.
[General Paranoid Android Discussion] Vinnom:
Stock keyboard here, swiping working fine
[General Paranoid Android Discussion] shivu5000:
Wow...which cm12 are you using??
[General Paranoid Android Discussion] hanschke:
GOOGLE PLAY SERVICES V6.5.99 (1642632-446) 5.0+

do you need it too?
[General Paranoid Android Discussion] Vinnom:
I'm not on cm12. I'm using frank n4 by sykopompos.
[General Paranoid Android Discussion] TKruzze:
I've decided to skip it for now. I'll just install Universal version for those who need it.

Nope. I'm not planning to do a 64-bit version of GApps.
[General Paranoid Android Discussion] TKruzze:
Pre-Release Build of Google Stock GApps

Before I go through and build all the versions, I wanted to get some feedback on the new Stock version of GApps. Below is a link to Beta2, which is a complete build of the new Lollipop Google Stock GApps with all features (per the OP) built in. Since I'm still running stock Lollipop, I can't really test this, so once I get a couple of people who can confirm everything is working properly, I'll go ahead and build the rest of the versions and upload them to the normal hosts.

I don't plan on leaving this link live for very long, so please grab it and report back ASAP. If you're not able to install and test in the next hour or two, then please skip it and wait for the final build. Thanks.

EDIT: Test Build Pulled: New Update Coming Soon
[General Paranoid Android Discussion] xda-dhd:
Final build

[MENTION=2777334]TKruzze[/MENTION]

Hey, Kruz!

When do you plan to release the final build (at least approximately)?

(Thanks in advance!)
[General Paranoid Android Discussion] purian23:
It looks like he's working on them. We can do our part by testing what he just put out vs waiting on his final versions.
[General Paranoid Android Discussion] da900:
All is working fine with latest stock Beta2. Could you add Ann option to remove new stock CM music player called Eleven.apk?
[General Paranoid Android Discussion] xda-dhd:
I am pleased to have helped in this, but I can not do it technically.

Characteristics of the device does not allow you to do that.

I only suitable for small size packages.

http://xdaforums.com/showthread.php?t=2533007 -> Pico/Nano/Micro recommended

http://xdaforums.com/htc-desire-hd/development/unofficial-cyanogenmod-12-doge-preview-t2951781 -> here the same
[General Paranoid Android Discussion] aoei:
i find that there is no 'GoogleCalendarSyncAdapter' in nexus 5 stock rom, so is it needed for nexus 5?

btw, i'm interested in where did you get the original apks? as the apks are odexed in the factory images.
[General Paranoid Android Discussion] Alxoom33:
I must be missing something. Link goes to a preview in g drive. Can't DL,[emoji22]
[General Paranoid Android Discussion] aamadorj:
The logs generated after the sucessful installation of stock BETA2 PA GApps on my N5 running OptiPop are attached. Thanks a lot, [MENTION=2777334]TKruzze[/MENTION], for all your hard work.
[General Paranoid Android Discussion] Alxoom33:
thanks. It worked!
[General Paranoid Android Discussion] TKruzze:
I'll consider that in the future. Should not be a problem to add.

GoogleCalendarSyncAdapter is ONLY used or needed for NON-Google Calendars. The Google Calendar has syncing built into it.

As to the core, I'm currently using the Nexus 7 image, but will likely be moving to the Nexus 6 in the future.
[General Paranoid Android Discussion] Fivesack622:
Everything is working great for me. Running an unofficial CM12 build from today using MultiROM TWRP 2.8.1 recovery on a Nexus 7 2013. CM12 is installed as a secondary ROM. Logs and debug info attached if needed. Thanks for all your hard work.
[General Paranoid Android Discussion] hlxanthus:
[MENTION=2777334]TKruzze[/MENTION] my shamu on stock just finally updated google play services to 6.5.99(1642632-430). Said I would update you when it updated manually. (Edit: meant automatically on its own)

Edit: Saw you already pulled the beta2 build. Was just getting ready to flash it for you. Was there are issue or did you get what you needed?
[General Paranoid Android Discussion] gianton:
+1 same here on my OPO running CM12.
[General Paranoid Android Discussion] hanschke:
if you dont write it google no one can fix it :silly:
[General Paranoid Android Discussion] :
Thanks, nonetheless I'm getting the following warnings:

WARNING: Google Calendar has/will not be installed as requested. Google Calendar
can only be installed during a Clean Install or as an update to an existing
GApps Installation.

!!! WARNING !!! - Duplicate files were noted between your ROM and this GApps
package. The duplicate files are shown in the log portion below. Please report
this information to the PA GApps developer (TKruzze) in the XDA forum.

# Begin GApps <> ROM Duplicate File List
/system/etc/permissions/com.google.widevine.software.drm.xml
/system/framework/com.google.widevine.software.drm.jar
# End GApps <> ROM Duplicate File List

Is it somehow possible to still install Calendar without doing a factory reset?

What about the second warning? Is this expected behavior for the CM12 nightly?
[General Paranoid Android Discussion] jellievis:
I miss something and hope someone can assist, please!

My config and log files are attached. It keeps on installing the CM File Manager and I do not understand why?

Thanks
[General Paranoid Android Discussion] gianton:
You've missed the last "r" in word Manager.
[General Paranoid Android Discussion] jellievis:
Thanks so much! Will try again.... :fingers-crossed:

What a stupid mistake :silly::rolleyes:
[General Paranoid Android Discussion] airbeeting:
Last nightly 20150311 cm12 and gps 7.00.93 and still bug. No deep sleep ... Google what are you doing? :confused:
[General Paranoid Android Discussion] L10nH34Rt:
Google Play Services 7.0.93 fixed wakelock on my end (OPO). Fresh installed cm12 0310 then updated to 0311 and Updated Play Services.
[General Paranoid Android Discussion] gianton:
It should be fixed shortly,

http://review.cyanogenmod.org/#/c/91021/
[General Paranoid Android Discussion] airbeeting:
I hope this change, help all of us, and it resolves the wakelock of deep sleep.

---------- Post added at 03:54 PM ---------- Previous post was at 03:43 PM ----------

For if it help to someone, i use My Android Tools Apps and disable the receiver "SystemUpdateService$SecretCodeReceiver" inside Google play services ... Wakelock stop, and deep sleep.
[General Paranoid Android Discussion] ricco333:
Do you mind sharing where did you find it in My Android Tools? I looked through all the setting and didn't find the "SystemUpdateService"

Thanks

Erik
[General Paranoid Android Discussion] Mistertac:
It's under Services --> Google Play Services

And here under Broadcast Receiver
[General Paranoid Android Discussion] mottlagh:
couldn't sign in to my google account after install stock gapps

thanks a lot bro.

i do whatever you say and could install gapps with include method.

but i have a new problem:

when i want to connect to my account(first time) i can't sign in to it, with below error:

" couldn't sign in

cant stablish a reliable connection to the server.

this could be a temporary problem or your android device may not be provisioned for data services.if it continues,call customer care."

please help me
[General Paranoid Android Discussion] mikeoswego:
You can safely ignore the warning about the duplicate widevine files.

As for the installing Calendar, [MENTION=2777334]TKruzze[/MENTION] has stated that this requirement may be removed in the future; there seemed to be some trouble for some people and that is why the restriction was put in place.

If you want to try, you can do this: Make a backup in TWRP or your recovery. Do a clean install by wiping /system /data and /cache and then flash your ROM, GApps, etc. Without leaving recovery, restore your /data partition only. Reboot and see what happens. If Google Calendar works OK, good for you! Otherwise, go back into recovery, wipe again and restore /system & /data to get back to where you were. Let us know if it worked or not for a data point on if the Calendar clean install restriction is needed in the future.
[General Paranoid Android Discussion] TKruzze:
I've been told by a member of the PA team that it is not possible to use Android System WebView with a custom AOSP or CM based ROM. While I could certainly install the app into the system partition, it would never end up being used by the OS. And, if I remove the AOSP Webview, all Webview calls will crash the system.

I know that there are some working on trying to find a solution to make this possible. I'm very willing to at least make an addon, but a solution will need to be found. If you come across anything, please share it here.

Nothing has changed on my end. What you're seeing are changes made by Google.

Perhaps you could link to the source.

This is a helpful group of users. However, you'll find people willing to help more if you're willing to put some effort in yourself. Share what you've come up with on your own and ask for help. Post #4 contains everything you need to know.

I'm probably going to remove the system file requirement for Google Calendar in the future. However, for now you'll need to do it as a clean install.

As to your second question, I find it highly unlikely that you're using an official CM12 ROM since the ROM is including Google proprietary files which, as I understand it, is a violation of AOSP guidelines. You won't have any problems because of it, though. I added the warning to make certain I was accidentally overwriting important files from the ROM. However, it will also show the warning if you're ROM dev is adding files which should only be in GApps.
[General Paranoid Android Discussion] TKruzze:
Google Play Services Discussions

I'm concerned that the Google Play Services wakelock discussions are taking over this thread. As you all know the purpose of this thread is to support PA GApps. It was NEVER intended to be a Google Applications Discussion forum. While I understand that there will always be a little of this going on, we've now gotten to the point where 50 of the last 60 posts have been about Google Play Services, and I think it's time to find a new home to continue the discussion.

If someone wants to create a new topic, please feel free to post the link here, but I'd really like this place to get back to its core intended function - supporting PA GApps.