Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow replacement of Stock Apps on the smaller packages #168

Open
bendavid opened this issue Nov 18, 2015 · 12 comments
Open

Allow replacement of Stock Apps on the smaller packages #168

bendavid opened this issue Nov 18, 2015 · 12 comments
Assignees

Comments

@bendavid
Copy link

I would like to suggest to add an addition variant containing the subset of "stock" which directly replaces/implies the removal of some default/aosp component.

Motivation for this is for those who would like to install stock but don't have enough space in system on their devices.

On my gt-i9505 (galaxy s4 international) for example I don't have enough space to install stock, but if I install the subset as described above then it's fine (and I can just add the remaining stuff after from play store without ending up with duplicate applications)

This can be accomplished with the text file or aroma of course, but maybe it's a sufficiently common use case that a dedicated variant would make sense.

@mfonville
Copy link
Member

Hi bendavid,

thanks for your suggestion. I don't think the situation is that common that it would be appropiate to introduce a new variant for this. Also because it is impossible to make a package that only does the 'replacement' packages, because the Google Launcher that e.g. replaces Trebuchet depends on Google Search, which is not a replacement of a package.

But I do think your use case is common enough that some knowledge sharing about this would be appropiate.
Could I suggest that you write a short article on our wiki that:

  1. Describes the situation/applicability and goal
  2. Includes your gapps-config file and instructions of choosing the appropiate package

I do think fellow users would benefit from that and I will try to embed that knowledge into the documentation structure.

@legendtang
Copy link

Hello, I'm I9505 user too.

My suggestion for you to flash stock package is to create a gapps-config.txt including:

Books
CloudPrint
Fitness
Keep
NewsStand
NewsWidget
Hangouts
Movies

This will exclude those apps. They are not used frequently, at least for me, which can be still downloaded directly from Play Store without any issue.

Work for me, if still insufficient you can add more :)

@mfonville
Copy link
Member

It will be perfect to share such configs on the wiki :-)
@raulpetru is currently busy making one about how to flash OpenGApps on a Stock CyanogenOS ROM. One could follow the structure he sets up to share gapps-config for certain (stock) ROMs & device combinations.

@legendtang
Copy link

@mfonville I would like to. However, since the size of CyanogenMod ROMs, especially cm-13.0 branch, has not been stable enough, those configs are still coming with insufficient issue on some ROMs. The exact configs remain to be found out.

But I do suggest another pre-config, whose size should be between Stock and Mini and which does replace system apps, so that users of legacy devices can gain easy access to install gapps with newer Android OS. If this suggestion is available for discussion, I will open another issue :-)

@mfonville mfonville changed the title Additional variant suggestion Allow replacement of Stock Apps on the smaller packages Jan 4, 2016
@mfonville mfonville reopened this Jan 4, 2016
@mfonville
Copy link
Member

@legendtang I will reopen the issue, focused on allowing to replace stock apps on the smaller packages too (using keywords)

@mfonville mfonville self-assigned this Jan 6, 2016
@legendtang
Copy link

@bendavid Well, for us and some other samsung users only. You can just boot into TWRP (v2.8.7.0+) and select wipe - advance wipe - system partition - resize and you will regain 2.6G system partition.

Cheers!

@mfonville Due to Samsung's (maybe other OEMs also included) policy, partition is somehow change to default size when CM and other ROMs use patch partition method. This might trouble a lot of users.

@stellirin
Copy link

I came here to suggest exactly this.

This is becoming a more and more common problem - the difference between mini (290MB) and stock (605MB) is huge, it's more than double the size!

605MB means I can no longer install stock on my Xperia devices with 1GB RAM/8GB MMC. It was still possible last year when it was in the 500-550MB size range.

I just created an arm-23-stock package with these changes:

 gappsstock="cameragoogle
 keyboardgoogle
+street
+translate
 messenger"

 gappsstock_optional=""

gappsfull="
-books
 chrome
-cloudprint
-docs
-drive
-ears
-fitness
 googleplus
-keep
-movies
-music
-newsstand
-newswidget
-playgames
-sheets
-slides
 talkback"

This results in a 455MB package and installs fine. I prioritized communication apps over productivity and media consumption apps as I consider communication the core feature set of an android device.

Where does this fit into the opengapps range? I suggest a name such as stocklite or stockslim or even simply slim.

(I added street and translate because they are important to me personally, but I completely understand why you wouldn't want those included).

@stellirin
Copy link

Actually it was a 1GB RAM / 4GB MMC device that had an issue with the stock package, the /system partition is only 1.6GB. With the custom created package I made, the /system partition is over 80% full.

(Specifically the Xperia E3, which is still supported by Sony in AOSP 6.0)

Stock is probably only suitable for devices with /system partitions of at least 2GB.

@bgiesing
Copy link
Contributor

@AdFad666 It did grow some but the jump is not actually like that. 290MB to 605MB is if you are measuring the ZIP which also includes multiple variants of the same APK in all packages (so more space)

I don't have the exact size but it's probably more like 150MB to 300MB

@marcthe12
Copy link

marcthe12 commented Dec 21, 2016

Stock for me is 600 MB. But I noticed that if I removed any stock app on CM 14.1 that duplicates functionality of gapps I save 200MB. So The net change becomes 400.
Actually the first thing is to make sure this new version must strictly have all google apps to be replaced. This allow to have more space for other gapps.

@TheComputerGuy96
Copy link

I installed Open GApps ARM 4.4 Stock on a device (Samsung Galaxy Trend Plus, by the way) with only 1.1 GB /system partition (when running CM 11)

@NatoBoram
Copy link

I've taken a look at the wiki for every apps that can replace an AOSP component and I used the Aroma package to only install them. So far, it's the best way to install OpenGApps on smaller /system devices because smaller packages include useless apps but don't include the necessary to have a functional device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants