yashsingh1/xdaforums huggingface dataset:
[General Paranoid Android Discussion] TavoAcAr:
Thanks [MENTION=2777334]TKruzze[/MENTION]

I managed to flash successfully the corrupted file and all in the system goes well.....

But I have a doubt regarding the fix for the ones who are running on the corrupted one now: will there be any issues (same or similar) when we want to flash this new "a" update or next future versions of the "fixed" Gapps because we're now on the "corrupted" one?? :confused:
[General Paranoid Android Discussion] Andrw0830:
Same here. I am using Phil's Touch recovery on CM 11 01/22. I did have an older Gapps Package installed in /data when I tried to install, could that be the problem? Also, to install PhotoSphere, does the .forcephotosphere file have an extension or is it just a file?
[General Paranoid Android Discussion] udjat:
Verified install works. Thank you for all your hard work.
[General Paranoid Android Discussion] TKruzze:
It appears that we're going to see a lot more posts of folks with failed installs due to insufficient storage space. The good news is that the installer now prevents an install that would either corrupt the device or lead to significant problems after booting up.

The installer will actually account for all files it deletes on install as well as the space difference for any files it's replacing. The key numbers to analyze when looking at the pa_gapps.txt file are the two numbers below

free_system_size_kb=169460

free_space_reqd_kb=186108
​

free_system_size_kb shows how much space is currently free in the system partition while free_space_reqd_kb shows how much space is needed (including the 10MB buffer) for a successful, problem free install. If free_system_size_kb is less than

free_space_reqd_kb the installer will abort BEFORE making ANY changes to the device.

Judging by the number of early posts received with users of legacy devices with small system partitions, I'm actually considering a Micro GApps would be very minimal.

Perhaps it would only include the following Play Store apps:

Gmail | Google Calendar (replaces stock/AOSP Calendar) | Google Play services | Google Search | Google Text-to-Speech
[General Paranoid Android Discussion] TKruzze:
First of all, the corrupted version didn't install or do ANYTHING to your device... nothing happened. Second, the corruption was not in any of the apps, only the 'gapps-list.txt' file that's used by the installer.

I just looked up Status 7 error. Since I'm not a user (nor a fan) of CWM Recovery, I hadn't heard of it before. Basically, it means the install failed. However, if you read the message displayed, it should tell you WHY the install failed. Also, you'll find a pa_gapps.txt file in /sdcard/ that you can post or view to explain why the install failed.
[General Paranoid Android Discussion] Andrw0830:
Yeah the message was regarding couldn't make changes to something, so I think some files in /data is preventing the setup which is weird because going to different rom's without wiping /data worked before.
[General Paranoid Android Discussion] GatoL0c0:
Lol!

---------- Post added at 01:34 PM ---------- Previous post was at 01:33 PM ----------

Wow really? What part of "successful" do you not understand?

---------------

Samsung Galaxy S3

CM11 Nightlies / PhilZ Touch Recovery 6.0 / TWRP / 0-Day PA GApps
[General Paranoid Android Discussion] bobgeneric:
In the part that TWRP says "successful", but on the .txt file says 20140117.

:confused:
[General Paranoid Android Discussion] tsatomas:
As far as I know error 7 has to do with recovery, maybe old cwm?
[General Paranoid Android Discussion] seabelial:
where is the quicksettings ? i can not find it.
[General Paranoid Android Discussion] abdel12345:
I think you meant to post this in the ROM thread?:confused:

Sent from my white LG Nexus 5
[General Paranoid Android Discussion] seabelial:
i can not post on dev forum because im a new user...
[General Paranoid Android Discussion] osm0sis:
That's what the q&a section is for. Follow the rules.
[General Paranoid Android Discussion] TKruzze:
PA GApps Update Announcement

PA GAPPS - JANUARY 23 UPDATE 2

JANUARY 23, 2014 - 20140123

Introduced a Micro Modular GApps Package. This package is designed for users of legacy devices with small system partitions or those who prefer a minimalistic approach.

Until the introduction of system partition space checking, I did not realize that a need for such a package existed. Now that I know a need exists, I've added it to the OP.

PLEASE CHECK THE OP for

Complete Summary of Recent Changes

List of Common Questions and Answers

Package Details and Download links
[General Paranoid Android Discussion] iXNyNe:
how does this happen exactly? does the installer somehow measure the size of the files that are supposed to be deleted?

my original thought was measure free space, backup files, delete files, measure free space again, calculate difference

if free space = enough then install

if free space != enough then restore backed up files that were deleted
[General Paranoid Android Discussion] TKruzze:
Yep. The process works as below:

(Size_of_GApps_Package + Size_of_Optional_Extras_(FaceUnlock/Photosphere) + Size_of_Buffer(10MB) - Size_of_Files_being_Deleted - Size_of_Files_being_Replaced) < Free_System_Space

If the above is not true, the install will abort BEFORE it makes ANY changes to your device.

This way, a user could download a smaller GApps package and copy it to their device all while still in recovery and without causing any problems with their install.
[General Paranoid Android Discussion] iXNyNe:
very cool - the "before changes" part is what i was wondering (sanity check)

so this idea occured to me;

can you make an addon package for each of the google apps in the stock package (seems like most are already done) that don't replace their stock counterpart unless a file exists on /sdcard/ like .replacestock

(same concept as the photosphere addon only installing under certain conditions)

so no matter what you get the gapp installed (assuming free space is available), but with the .replacestock file your stock app would also be removed

i dont know if there should be a different file name for each addon pack or if just one name to get the point across to the installer

pros for different file names would be that you could replace the stock browser but keep the stock sms app all in one sweep in recovery

cons would be that's a pretty decent number of files for users to create and keep track of - almost would want some kind of gui like an app or aroma-like installer at that point

another idea would be to just have one file called .gapps and inside that file could be something like this

forcephotosphere=yes
replace.browser=yes
replace.calendar=yes
replace.keyboard=no

and so on

i guess the keyboard line would also determine if the keyboard were installed to /system or /data (since they don't play nice together)
[General Paranoid Android Discussion] kara mustafa:
GoogleHome.apk is a google search app, right?
[General Paranoid Android Discussion] exodius48:
I already post pa_gapps on my comment http://xdaforums.com/showpost.php?p=49691834&postcount=2672, pls check it!
[General Paranoid Android Discussion] dannyella:
Dirty flashed update over previous gapps, no issues whatsoever.:good:
[General Paranoid Android Discussion] shuli81:
Flashed Google stock on cm11-m2 snapshot. Everything seemes to be working fine. Including photosphere camera.

Well done.
[General Paranoid Android Discussion] mohdezwandy:
how do you solve this?
[General Paranoid Android Discussion] Mickyman:
Update CWM recovery or use the latest TWRP or Philz.
[General Paranoid Android Discussion] rafcano:
I had this error before in CWM with a ROM installation. My problem was that I hadn't enough free space to install the ROM. Could be this your problem?

Enviado desde mi Nexus One mediante Tapatalk
[General Paranoid Android Discussion] benwih:
accidently flashing this google dialer on a clean install, and i have FC. What should i do?

Thanks
[General Paranoid Android Discussion] spoooky1:
Very usefull, thank a lot :cowboy:
[General Paranoid Android Discussion] abdel12345:
Just wipe system and flash your ROM again and them gapps

Sent from my white LG Nexus 5
[General Paranoid Android Discussion] IceFe:
Hi guys,

on my HTC ONE X I have installed CyanogenMod 11 nightlies, and I have flash GOOGLE STOCK PACKAGE.

I did not forced the installation of the photosphere. Now I have a rom without the Camera and Gallery, why? :confused:

Should not install Camera and Gallery without the photosphere? :crying:

thanks

HELP MEEEEE
[General Paranoid Android Discussion] TDSJR:
Remember to delete .addon file!
[General Paranoid Android Discussion] shakatu:
This might help someone. I always install the full gapps, but this time figured I could try using PAOTA. It downloaded the modular gapps which reported I was out of space. I manually downloaded and installed the new full gapps package and it was fine. Maybe you have to use the same package when updating or it fails?
[General Paranoid Android Discussion] TKruzze:
This idea does have merit. I've added it to my list of things to possibly add in a future update.

No. It's the Google Experience Launcher.

Please post the last part of your recovery.log so I can see more detail on what happened. TWRP makes this very easy to to your SDCard, I'm not sure how CWM does it, but that should be an option.

If you did not force the installation, then the installer will not touch the stock/AOSP camera on a non-Nexus device. Something else is likely causing your issue.

It's NEVER a good idea to change GApps packages without following the procedure in the FAQ #4. However, the installer does not perform any checks if you make a GApps package change. If you saved the PA_GApps.txt, I may be able to see what happened.
[General Paranoid Android Discussion] iXNyNe:
This idea could also eliminate the need for two separate "stock" and "full" packages as the installs would be configurable.
[General Paranoid Android Discussion] jguerdat:
Is there a way to add the AOSP launcher back? The GEL is deleting the rightmost favorite on each reboot and I haven't found a replacement launched to my taste.
[General Paranoid Android Discussion] MJiindal:
Here are the contents from the text file: # begin pa gapps properties

# This file contains information needed to flash PA GApps

current_gapps_version=201401117

current_gapps_type=stock

installing_gapps_version=20140123

installing_gapps_type=stock

total_system_size_kb=2064208

used_system_size_kb=649892

free_system_size_kb=1414316

free_space_reqd_kb=10240

total_gapps_size_kb=346844

install.faceunlock=true

install.photosphere=false

photosphere.device=none

device_name=t03g

# end pa gapps properties

Android Version 4.4.2. Custom Probam Rom by Codexc. CWM recovery

Just wanted to understand whether is there anything else that needs to be done and how to have Google Dialer on my phone? Also is there any need of installation of Chrome browser add on module after flashing the full 263 mb version?
[General Paranoid Android Discussion] shakatu:
Yeah that's why I don't usually use PAOTA but do it myself.
[General Paranoid Android Discussion] osm0sis:
If you read the OP, you'll see the "Stock" package contains Chrome, so you don't need that add-on. The OP also states Google Dialer is only available as an add-on, so you will need to flash that after your GApps. Follow the Dialer instructions in the OP if you don't want Phone to FC.
[General Paranoid Android Discussion] mido_fedo:
thanks for MICRO MODULAR i will try it on My Neo :)

Edit: MICRO MODULAR working good here thanks my Bro :)

i have one problem with Google Now

Edit 2: every thing now working good :)
[General Paranoid Android Discussion] ffolkes:
Does anyone know how to get Photo Sphere to work on 4.4 on the L900 (Sprint Note 2)? There was a version for 4.3 that worked well and I really miss it.
[General Paranoid Android Discussion] F-L-Y-E-R:
Does these packages support ART? Because I tried it and seems to be working :confused: but before it used to crash
[General Paranoid Android Discussion] drewski_1:
when was "before"? it's been ART compatible for awhile.
[General Paranoid Android Discussion] tjsooley:
I am using them on art
[General Paranoid Android Discussion] Klejdi90:
Thanks for the update works perfectly. Fixed the insufficient storage issue I had with 17-1-14 stock package. THANKS :D
[General Paranoid Android Discussion] davidteri91:
I can't install micro gapps I have an error with script .....

Inviato dal mio Moto G utilizzando Tapatalk
[General Paranoid Android Discussion] MJiindal:
Well I did read the Original post and that's the reason I didn't flashed the chrome add-on. Photosphere flashing failed on my phone but was able to flash the Google Dialer and keyboard add - on successfully. Now after flashing what's next - where do I find the Google Dialer and how do I start making use of it? I see no change in my phone dialer even after flashing this. Pls advise. Thanks
[General Paranoid Android Discussion] MJiindal:
Was such a reaction really warranted? Not everyone is a genius my friend and there is no harm in asking and learning or is it there?
[General Paranoid Android Discussion] chewdaniel:
try searching for a company name in the phone search bar... and wait a while (make sure u have data/wifi turned on)

or call a company's phone number that u don't have saved and watch what happens... or get a registered company phone number that u don't have saved to call you...
[General Paranoid Android Discussion] j_r0dd:
Wrong thread.....
[General Paranoid Android Discussion] osm0sis:
If you check the OP again, you'll notice Keyboard is also included in the "Stock" package so wasn't required. As for Photosphere, it's also included in the "Stock" package and you can attempt to force it's installation on non-Nexus devices via the "Stock" package using the info in the OP. To see if Google Dialer is installed (vs. stock AOSP), go into the settings on it, there it gives you the option to enable Google's Caller ID.

Again, all this is in the OP. Please read it again, and read it more carefully. Hence people facepalming you all over the place.
[General Paranoid Android Discussion] MJiindal:
Thanks a lot for your assistance friends. Now that I have installed the full stock package and later flashed the keyboard, Google dialer add-ons also, request to kindly help me with a couple of things more.....

1) In the above scenario having flashed keyboard add-on, do I need to install the whole stock package again or do something else or would all the applications work fine if I leave the things as the are?

2) Now that Google Dialer is enabled on my phone, do I need to configure it in some way to obtain the desired results?

3) I have true caller application premium version installed on my phone and now that I have Google Dialer should I uninstall it or would it work in sync with the dialer?

Advise on the above concerns and any other information you feel worth sharing would be highly appreciated. Thanks again.
[General Paranoid Android Discussion] chewdaniel:
1. Read the OP again. Also what osmosis replied. Carefully.

2. U haven't seen the settings yet, right? Else u won't be asking this.

3. While it's perfectly fine to have more than 1 dialer... Why?
[General Paranoid Android Discussion] Kilian76:
huge stock google apps

Hi guys,

I can´t install stock google apps on my samsung galaxy s2. It always says "system has got insufficient space". Stock google apps from end of year 2013 work. Did google change anything?

Thanks

P.S. ROM is SlimSaber 4.4.2 with stock kernel
[General Paranoid Android Discussion] exodius48:
Working fine now with new build, thanks for fix. :)
[General Paranoid Android Discussion] TavoAcAr:
Please...

"an application requires installation requested by com.google.android.gsf.login"

Any clue why this message always pops up in the status bar at the time I sync for the very first time one account in particular (of my existing two linked with google)???

And if I click on the error message it takes me to the Play Store and opens in the Play Services app (which already appeared installed as a downloaded app) is this normal?..... I'm on latest 23a with google keyboard and no clear app data nor wipe cache and dalvik, fixing permissions, etc, has helped 'till now :(

Thanks for your assistance
[General Paranoid Android Discussion] provolinoo:
I guess the message is related to the recent downgrade of the play service apk, don't worry... I have the same and just ignore it :)

[MENTION=2777334]TKruzze[/MENTION]

may I suggest you d-h.st a mirror for GApps? It's the best one for me :)
[General Paranoid Android Discussion] mido_fedo:
working good with me
[General Paranoid Android Discussion] TKruzze:
Since I reverted Google Play Services to an old version from the Nexus 5 factory image, Google will try and do a silent update upon first boot of your device after flashing. It's not uncommon to see an FC while the update is happening. Just ignore it and after a reboot, everything should be working fine. If not, you might ask in a Google support forum as it's Google's issue, not a GApps problem.

If you can share the error message, the PA_Gapps.txt (copied to /sdcard), or your recovery log, we should be able to determine what caused the error. Without that information, it'd be speculation.

You might read the OP, specifically the change log. I've added a system partition memory check routine to make certain your device has sufficient storage available BEFORE installation. You may need a smaller GApps package. Share your PA_Gapps.txt file and we'll know for certain.

I'd gladly switch to dev-host. Unfortunately, only RC's, RT's, and RD's are given free premium access. If someone would like to donate their account to me or pay the subscription, I'll switch.
[General Paranoid Android Discussion] mido_fedo:
yes after reboot every thing working good

thanks :)
[General Paranoid Android Discussion] rtfpessoa:
Have you guys ever thought about creating a package with all the google stuff except the apps that are available through play store?

Something like: Core base, Launcher, Dialer, Photosphere?

That could be a good package and would never give problems with apps that we install from market, that sometimes happen if they already exist in system.

Can you consider this?
[General Paranoid Android Discussion] GatoL0c0:
I'm pretty sure TKruzze already said that he isn't going to do that. If you don't want a particular app to install you can remove it but Play Store apps won't install in the system partition (unless you move manually). In the end this helps saves space for apps that are installed from the Play Store.

---------------

Samsung Galaxy S3

CM11 Nightlies / PhilZ Touch Recovery 6.0 / TWRP / 0-Day PA GApps
[General Paranoid Android Discussion] Nephilim:
Install Banks Gapps, this is not a request board.

Sent from my Android 4.4.2 Galaxy Nexus
[General Paranoid Android Discussion] rtfpessoa:
Ok, fair enough...then i will need keep doing my own :(
[General Paranoid Android Discussion] Network_Pro:
Youtube shows video in low resolution.

PA gapps package is http://goo.im/devs/paranoidandroid/roms/gapps-micro/pa_gapps-modular-micro-4.4.2-20140123-signed.zip

Phone is Galaxy S2 i9100 with OmniROM/latest nightlly

Any idea how to fix it ?

Regards.
[General Paranoid Android Discussion] bleggy:
the s2 requires a smaller gapps package due to how the partitions are setup. mini or micro.
[General Paranoid Android Discussion] GatoL0c0:
So you're saying you can't switch over to HD? You know you have that option, right? ?

---------------

Samsung Galaxy S3

CM11 Nightlies / PhilZ Touch Recovery 6.0 / TWRP / 0-Day PA GApps
[General Paranoid Android Discussion] Network_Pro:
The HQ option is "lit up" - its turned on. When I turn it off - the quality is even worse.
[General Paranoid Android Discussion] mr.ea:
We need core version
[General Paranoid Android Discussion] AA1973:
Use Banks core package, the modular micro or .. DIY
[General Paranoid Android Discussion] osm0sis:
[MENTION=2777334]TKruzze[/MENTION] are you sure you don't want to switch some more of that to shell script? Those nested EDIFY ifelse statements look like they were a huge headache to write. ;)

I went through the same thing awhile back with my Nexus BootUnlocker zip:

http://xdaforums.com/showpost.php?p=45894042&postcount=106 :D

I made it even simpler the other day by slimming it all down into a "case" statement, which I'll update to when the next Nexus device comes out and I add support:

device=`getprop ro.product.device`;
test -z $device && device=unknown;
case $device in
maguro|toro|toroplus)
ui_print "Galaxy Nexus: $device";
block=/dev/block/platform/omap/omap_hsmmc.0/by-name/param;
offset=124;
locked=01;
unlocked=00;
hastamper=0;;
mako)
ui_print "Nexus 4: $device";
block=/dev/block/platform/msm_sdcc.1/by-name/misc;
offset=16400;
locked=00;
unlocked=01;
hastamper=1;;
hammerhead)
ui_print "Nexus 5: $device";
block=/dev/block/platform/msm_sdcc.1/by-name/misc;
offset=16400;
locked=00;
unlocked=01;
hastamper=1;;
flo|deb)
ui_print "Nexus 7 (2013): $device";
block=/dev/block/platform/msm_sdcc.1/by-name/aboot;
offset=5241856;
locked=00;
unlocked=02;
hastamper=0;;
manta)
ui_print "Nexus 10: $device";
block=/dev/block/platform/dw_mmc.0/by-name/param;
offset=548;
locked=00;
unlocked=01;
hastamper=0;;
*)
test $device == "grouper" -o $device == "tilapia" && ui_print "Nexus 7 (2012): $device" || ui_print "Device: $device";
ui_print "Bootloader: $bootloader";
ui_print " ";
ui_print "Unsupported device.";
test $device == "grouper" -o $device == "tilapia" && ui_print "For N7'12 BootUnlocker Script go to http://v.ht/N7BU";
abort;;
esac;
[General Paranoid Android Discussion] RoadToNever:
nevermind.
[General Paranoid Android Discussion] :
Photosphere

For flashing photosphere, try placing the .forcephotosphere file in the internal memory of your phone instead of your external sd card.
[General Paranoid Android Discussion] TKruzze:
I think my next step might actually be converting almost everything to Shell. While the simplicity of edify is tempting, I'm actually really starting to enjoy Shell and the million ways it seems there is to do the same thing. That case command would make the photosphere installer so much cleaner and simpler.

One question, though. In your script you're actually using edify commands from within Shell ( i.e. ui_print / getprop). I did not know that was even possible. Do you have a reference site you use for Shell commands?
[General Paranoid Android Discussion] benwih:
Sory for the newb question. But how to delete .addon file? I search that there is no .addon file even under hidden file.
[General Paranoid Android Discussion] venuspunk:
New gapps working great thanks devs
[General Paranoid Android Discussion] drewski_1:
there's an /addon.d folder in /System

back-up / restore scripts are in there.
[General Paranoid Android Discussion] JeepFreak:
I'm not sure why, but I starred getting really bad battery drain a few weeks ago. I'm on a Nexus 4 with CM11 and I have always done the complete PA gapps package. I looked in battery stats and the Google keyboard was close to the top! After switching to the modular package and installing everything but the Google keyboard.... WOOOOOOW!!!! GREAT BATTERY LIFE!! Like, my battery is seriously lasting 4 times longer than it was!!

I doubt many people are effected the way I was, but if you're having issues, this is definitely with considering!!
[General Paranoid Android Discussion] medmonie:
i have galaxy s2 and runing omni rom with the stock google apps including photosphere without any issue, i think u need a clean installation for your rom and gapps
[General Paranoid Android Discussion] mohdezwandy:
already update. now i used Philz.

thank you.

yes i have a same problem with you.

but all solve after i used gapps micro.

:good::victory: