yashsingh1/xdaforums huggingface dataset:
[Android Software Development] teraßyte:
Nevermind, somehow I forgot to remove the Apollo.apk line in the updater script. Fixed that and all is good.

If someone else is interested I took the X+ package and removed the following apks from being deleted by it:

Apollo.apk

Music.apk

DSPManager.apk

Camera2.apk

CMFileManager.apk

CMAccount.apk

HTMLViewer.apk

For a quick explanation:

I rarely listen to music and the default player is enough for me. I couldn't bother searching for another one.

Needed for #1.

Kept this for the headphones effects.

Same, I rarely use the camera app so the default one is good enough for me.

I used to have ES File Manager when I used the original firmware but this is simple and complete enough for me.

I kept this to avoid the setup wizard error so I can flash the zip immediately instead of having to reboot after I've done the setup wizard process.

I kept this apk since the user above mentioned it can cause issues with CM updates (I use Markox build but apart a few minor changes it's a basic CM ROM).

If anyone is interested in it I can share my edited ZIP. And thanks again to [MENTION=5772029]jajb[/MENTION] for creating this mini gapps package :good:

EDIT

I forgot to mention that I actually added 1 more package to be removed in my zip: Torch.apk. I use a different application with more option which suits more my needs so I don't need it.
[Android Software Development] josegalre:
thanks for this guy! good job
[Android Software Development] jeff5347:
Wow just found this thread off of tkruzzes as I used bankz before. After installing a new ROM I use tibu to delete all the Google apps ..wallpaper, pico, ect. Now I find this with THE bare minimums. I'm finally home!!!!
[Android Software Development] TulsaDavid:
Thumbs Up !!

Thank you very much. Minimal is :good:
[Android Software Development] oscar the grouch:
awesome. my hero
[Android Software Development] furyau:
Hey Min X and Min X + are stopping Dirty flashing of Aosp ROMs with a incompatible ROM data error....any ideas?

---------- Post added at 12:04 PM ---------- Previous post was at 12:03 PM ----------

Fullwipe flash is fine
[Android Software Development] roddem:
Hi,

thanks for you work.

is swype typing there?
[Android Software Development] manchucka:
As mentioned above CM looks for HTMLViewer.apk and refuses to dirty flash without it. This drove me crazy trying find the cause for my inability to dirty flash for more than a month. No longer.
[Android Software Development] jajb:
Thank you for pointing this out [MENTION=4482930]JoeSyr[/MENTION] and [MENTION=2899301]manchucka[/MENTION] for confirming the issue. This definitely warrants editing the scripts and both the X & X+ edition will be updated with those changes later today.

Yes, you will be able to install Camera Next and Apollo without any problems. I would recommend using CM App Installer instead as it's actively maintained.

In order for CM File Manager to be installed successfully, you will need to install the .apk in the /system/app directory. You can use ADB or Android Terminal Emulator to do this.

Done and done!

The Music.apk is not related to nor needed for the Apollo.apk to function properly. They're two separate apps. Apollo.apk is CyanogenMod's music player while Music.apk is AOSP music player.

Will remove CMAccount.apk from the X & X+ edition de-bloat list since this conflicts with the setup wizard. Also, this is quite a useful feature for those of you who don't already know - http://www.cyanogenmod.org/blog/cyanogenmod-account

AOSP keyboard is untouched so yes, swipe gesture is present. If you're referring to the Swype app, these packages do not include nor delete Swype.
[Android Software Development] teraßyte:
Thanks for letting me know this, I'll be sure to remove Music.apk too next time then. I only need Apollo :)
[Android Software Development] jajb:
UPDATES 2014-09-10

Removed HTMLViewer.apk from X & X+ Edition de-bloat list (conflict with updating to a newer CM build)

Removed CMAccount.apk from X & X+ Edition de-bloat list (conflict with CM setup wizard)

Removed Camera2.apk (AOSP Camera ) & CMFileManager.apk (CyanogenMod File Manager) from X edition de-bloat list
[Android Software Development] __Michael__:
The zip files are corrupt...
[Android Software Development] jajb:
Fixed.
[Android Software Development] __Michael__:
Thanks [emoji106]

Sent from my GT-I9300
[Android Software Development] Math_Apolo:
hey [MENTION=4996692]__Michael__[/MENTION] what Boeffla kernel NG do against Boeffla "normal" Thanks.
[Android Software Development] Steph310:
Maybe stupid question...

I want to use GApps minimal X+ on CM11

Do I need to flash it after each rom update?
[Android Software Development] Yeti47:
No, it adds a script to prevent this in /system/addon.d/70-gapps.sh
[Android Software Development] scoobyjenkins:
There's a script to prevent the removed apps being reinstalled? If so, do you know where that goes? Can only see the backup script in addon.d.

Tapatalked that shiznit.
[Android Software Development] Steph310:
Just tested...

When rom updated, deleted apps with gapps come back...

Then flash needed after each update.
[Android Software Development] Yeti47:
Sorry, I missed the x part so I downloaded them and examined the install and add-on scripts and came to the same conclusion...
[Android Software Development] __Michael__:
The NG version based on samsung code so I prefer this one, I am also getting better battery life with the NG version.
[Android Software Development] jr67:
If you use the X or X+ edition you need to flash it again every time you flash a rom or the removed apps will come back.

Or you need to add a script in the addon.d folder that will automatically remove those apps.
[Android Software Development] Darke5tShad0w:
This will always happen when updating the rom, deleted system files come back.

Theres is a script you can add to redelete these files after a rom update but i currently can't find it, if I do ill add a link to it.
[Android Software Development] scoobyjenkins:
I was wondering if that was possible, didn't think it was!

Tapatalked that shiznit.
[Android Software Development] Darke5tShad0w:
I don't use it myself but im positive i have come across it recently.
[Android Software Development] wardawgmalvicious:
What kind of file is the script? I am interested in this also.

-wardawgmalvicious
[Android Software Development] Yeti47:
Add this into the 70-gapps.sh file:

#!/sbin/sh

#

# /system/addon.d/70-gapps.sh

#

. /tmp/backuptool.functions

list_files() {

cat <<EOF

app/GoogleCalendarSyncAdapter.apk

app/GoogleContactsSyncAdapter.apk

etc/permissions/com.google.android.ble.xml

etc/permissions/com.google.android.camera2.xml

etc/permissions/com.google.android.maps.xml

etc/permissions/com.google.android.media.effects.xml

etc/permissions/com.google.widevine.software.drm.xml

etc/permissions/features.xml

etc/preferred-apps/google.xml

framework/com.google.android.ble.jar

framework/com.google.android.camera2.jar

framework/com.google.android.maps.jar

framework/com.google.android.media.effects.jar

framework/com.google.widevine.software.drm.jar

lib/libAppDataSearch.so

lib/libconscrypt_gmscore_jni.so

lib/libgames_rtmp_jni.so

lib/libgcastv2_base.so

lib/libgcastv2_support.so

lib/libgmscore.so

lib/libjgcastservice.so

lib/libjni_latinime.so

lib/libocrclient.so

priv-app/GoogleBackupTransport.apk

priv-app/GoogleFeedback.apk

priv-app/GoogleLoginService.apk

priv-app/GoogleOneTimeInitializer.apk

priv-app/GooglePartnerSetup.apk

priv-app/GoogleServicesFramework.apk

priv-app/Phonesky.apk

priv-app/PrebuiltGmsCore.apk

priv-app/SetupWizard.apk

EOF

}

case "$1" in

backup)

list_files | while read FILE DUMMY; do

backup_file $S/$FILE

done

;;

restore)

list_files | while read FILE REPLACEMENT; do

R=""

[ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"

[ -f "$C/$S/$FILE" ] && restore_file $S/$FILE $R

done

;;

pre-backup)

# Stub

;;

post-backup)

# Stub

;;

pre-restore)

# Stub

;;

post-restore)

rm -f /system/app/BrowserProviderProxy.apk

rm -f /system/app/PartnerBookmarksProvider.apk

rm -f /system/app/Provision.apk

rm -f /system/app/Vending.apk

rm -f /system/priv-app/BrowserProviderProxy.apk

rm -f /system/priv-app/PartnerBookmarksProvider.apk

rm -f /system/priv-app/Provision.apk

rm -f /system/priv-app/Vending.apk

rm -f /system/app/BasicDreams.apk

rm -f /system/app/CMHome.apk

rm -f /system/app/CMWallpapers.apk

rm -f /system/app/Galaxy4.apk

rm -f /system/app/HoloSpiralWallpaper.apk

rm -f /system/app/LiveWallpapers.apk

rm -f /system/app/LiveWallpapersPicker.apk

rm -f /system/app/MagicSmokeWallpapers.apk

rm -f /system/app/NoiseField.apk

rm -f /system/app/PhaseBeam.apk

rm -f /system/app/PhotoPhase.apk

rm -f /system/app/PhotoTable.apk

rm -f/system/app/VideoEditor.apk

rm -f /system/app/VisualizationWallpapers.apk

rm -f /system/app/VoicePlus.apk

rm -f /system/app/WhisperPush.apk

rm -f /system/priv-app/PicoTts.apk

rm -f /system/priv-app/talkback.apk

;;

esac

Sorry away for the weekend, so cannot attach the actual file...

---------- Post added at 10:13 PM ---------- Previous post was at 10:06 PM ----------

Believe that should delete the required files after a ROM update. Have not tried myself as away, but don't see an reason it would not work ...
[Android Software Development] Darke5tShad0w:
Its not a kind of script its editing the addon script like just yeti just posted
[Android Software Development] wardawgmalvicious:
So should I just copy and paste the whole thing over the entire other script?

-wardawgmalvicious
[Android Software Development] jajb:
UPDATES 2014-09-12

Updated 70-gapps.sh for X & X+ Edition (fixes issue with previously deleted apps re-appearing after updating ROM to a newer build)

*Credits to [MENTION=5561469]Yeti47[/MENTION] for the fix.
[Android Software Development] Yeti47:
Thanks, was just going to start doing that myself now I'm awake... ;)
[Android Software Development] randommmm:
Is it possible to make a super mini version, sync Calendar & Contact ONLY? I mean, no GCM services, location services and so on... I don't need it. My battery is getting old, can take them any more
[Android Software Development] rayman95:
remove yourself wahat you don't need in the zip before flashing
[Android Software Development] TreviSyn:
Thanks to continue Banks project ^^

I have a problem with your version and Mokee rom. On first boot your version make google keyboard fc.
[Android Software Development] Facuu:
Why is calendar and calendar sync needed? I don't use calendar at all
[Android Software Development] EXV:
Just because you don't use it, doesn't mean others don't as well.
[Android Software Development] Facuu:
My question should have been: can I delete those without having problems?
[Android Software Development] Ultramanoid:
If you don't use them or have any other applications that rely on them, no problem, delete away.
[Android Software Development] SteveMurphy:
Best to freeze it first and see what problems (if any) occur. That way you can simply unfreeze if need be, instead of restoring/reflashing.
[Android Software Development] hsrn:
it would be great if the gallery app could be removed along with the camera in the x+ version.

i prefere google camera from play store and quickpic.
[Android Software Development] Steph310:
I think gallery needed.

You can freeze it if you don't use it.

A good photo editor is included and not all apps have this feature.

I use excellent Sony Album to see photos videos and gallery to edit.
[Android Software Development] wardawgmalvicious:
There isn't many apps left after using Minimal X+. Just uninstall them after flashing your ROM, there's literally nothing left really. He has to leave some things in there, because some people do use that.

-wardawgmalvicious
[Android Software Development] hsrn:
x+ is optional. you don't have to flash x+ if you want to keep all these apps.

the purpose of x+ is to have the option to install the alternatives you want and not to be bond to the apps delivered with the rom.

and concerning gallery: quickpic is really much better than the aosp gallery.
[Android Software Development] tool_king:
+1
[Android Software Development] carlese:
Sorry to bother guys.. so the only difference between the 3 packages is that the X and X+ remove some apk right? I do it in the rom zip file so I don't need it..
[Android Software Development] rockvoid:
Thanks!

GApps Minimal X Edition ist great!

PS: Is it possible to flash "Minimal Edition" after "Minimal X Edition"?
[Android Software Development] teraßyte:
Why would you want to flash the normal version after flashing the X one which removes some apps?!
[Android Software Development] rockvoid:
I did it already. Had to reflash CM11 again afterwards to get all apps back.
[Android Software Development] jajb:
I would still need to include play services and the rest of the libs and apks in order for it to work properly. So a smaller version with only sync calendar and contact would not be possible.

If you haven't done it already, I would advise you to turn off Google location reporting and location history, this will save you some battery.

Sorry to hear you are having problems with this package. I also use Google Keyboard and haven't had any issues. Because of this and the fact that I don't have a version of Mokee to test nor your specific device, can't say I'd be able to help much.

Yes, you can safely delete the AOSP calendar from your device and remove the calendar sync from the GApps package.

The X+ Edition already removes the AOSP camera.

While I agree and quite like QuickPic, a lot of users prefer the standard AOSP gallery, so I won't be adding it to the removal list. However, if you are comfortable with editing some of the scripts, you may add the following lines to...

70-gapps.sh

rm -f /system/app/Gallery2.apk

updater-script

"/system/app/Gallery2.apk"

Yes, that is correct.

Not too sure what you were trying to accomplish but yes, you can flash any of these packages over one another. Please note that flashing X and or X+ removes certain system applications. Please read the OP for details.
[Android Software Development] wardawgmalvicious:
That is exactly what I was saying. If you don't want the aosp, then uninstall it afterwards. I agree that the aosp gallery is inferior. But it is not difficult to uninstall it yourself afterwards.

-wardawgmalvicious
[Android Software Development] jajb:
UPDATES 2014-06-18

Updated Google Play Services to v6.1.05

Updated Google Calendar Sync to v4.4.4-1230475

Updated libs (*credits go to TKruzze)

NOTE: GApps package size has increased due to the latest version of Google Play Services.
[Android Software Development] sauron82:
Any plans to release a Minimal+ package that includes Google Search? It's handy in Gapps because it needs to be a system app for universal "Ok Google" to work. I think Banks had that as an option. I prefer your Gapps over PA nano because bloat removal is optional on yours.
[Android Software Development] remizik:
Hi,

i would love to use the X+ package because I love a very light rom. But I really need the email app (work phone, exchange server ...)

is there a way to re-add just these two lines manually ? because i don't think it's on the market

Apollo.apk (CyanogenMod's Apollo Music Player) - use Google Play Music instead

Camera2.apk (AOSP Camera ) use Google Camera or CyanogenMod's Camera Next instead

CellBroadcastReciever.apk (Cell Broadcast Reciever)

CMFileManager.apk (CyanogenMod File Manager) - use ES File Explorer instead

Dashclock.apk (Dashclock widget for lockscreen)

DSPManager.apk (Sound Processor & Graphic Equalizer)

Email.apk (Email Sync for IMAP, POP3, Exchange accounts)

Exchange2.apk (Part of Email.apk)

Music.apk (Slimkat Music Player) - use Google Play Music instead

thanks !
[Android Software Development] scoobyjenkins:
You can extract the backup script from addon.d folder in the zip and delete the lines for email and exchange2 where they appear at the bottom:

rm -f /system/app/Email.apk

rm -f /system/app/Exchange2.apk

Then add the modified script back to the zip and repack. If you use ZArchiver app, you can browse the zip, extract the file, use a text editor then browse the zip again and add the file back, overwriting the original. The zip should then still work and you won't lose the email app. I don't know if there's any libs you'd need to avoid removing though...

Tapatalked that shiznit.
[Android Software Development] remizik:
thanks, i'll try that a bit later :)
[Android Software Development] scoobyjenkins:
No worries, if it doesn't work (I'm not sure if it's just the script that removes them but know that it does prevent apps listed being reinstalled) you could reflash rom once you've edited the script and if the email app was removed, you'll get it back! I actually just use the minimal package and used the script from minimal x to make my own script that keep apps I've removed from being reinstalled. I didn't realise it was possible but this script has proven very useful!

Tapatalked that shiznit.
[Android Software Development] tool_king:
The main argument of this packages is the minimalistic idea. Adding Google Search would more than double the file size. :cyclops:
[Android Software Development] sauron82:
I thought the idea is minimal apps, just the basics. I don't think it has anything to do with file size. I pick it because I don't want all the extra apps. The size is the size.
[Android Software Development] Ultramanoid:
Size is the only consideration for some people who have devices with extremely limited space available. BaNkS' minimal pack was the only one small enough so that they could flash.

Edit : Not my case, but just trying to say not all of us have the same reasons for using this.
[Android Software Development] carlese:
Besides, does Google Search really need to be in system to use the ok Google function? If not, then you could always download it from play store..
[Android Software Development] Aerowinder:
It does. I really recommend the user use the PA gapps and write his own script to delete the apks he doesn't want.
[Android Software Development] sauron82:
I understand that, but Banks also had the minimal with and without Google Search. I'm just asking if both could be offered.
[Android Software Development] sauron82:
Deleted
[Android Software Development] carlese:
Well, +1 for Google search integrated in the gapps then..
[Android Software Development] jukyO:
I would rather give +1 for duckduckgo search integrated.
[Android Software Development] EXV:
Or you could always download the Google Search apk and push it to system instead of asking OP to do it for you.
[Android Software Development] superleeds27:
Google play services has been updated to 6.1.07
[Android Software Development] daniu:
Hi

For banks with google search there is another new package at tkruzze's thread. I think there is absolutely no need to add any new package with google search ...

Just my 2Yuan
[Android Software Development] PunchUp:
He said he wants to remove bloat, that is why not using PA nano
[Android Software Development] tool_king:
In PA pico Google Search isn't included anyway. You mean the PA nano package.
[Android Software Development] PunchUp:
Yep corrected it before your post
[Android Software Development] daniu:
Hi

Minimal x from 18/9 in conjunction with markox rom (galaxy s2) from 19/9: google play services keep crashing ... did a clean install with factory reset.

Will try to flash same gapps package again and see how ...

Did lots of cache/dalvik cache clean and reinstall but all in vain ... however the only problem is these annoying crash notifications ... play store works fine ...
[Android Software Development] daniu:
Hi

Flashed the last version (12/9) on top - problem gone ...

Is nobody else having that problem?
[Android Software Development] CitizenX:
I have the same bug.

Gesendet von meinem Nexus 5 mit Tapatalk
[Android Software Development] daniu:
Hi

The bug came back. Currently it seems that it is some xposed module I am using. At the moment it seems like the problem is gone with only xprivacy running ... are you using xposed?

I turned off the following modules:

-disable location consent

-gravity box for kk

-suggestion toggle

-wakelock terminator

Gonna try enabling them again slowly ...

Edit: I did enable them - not one by one - but slowly and found that without disable location consent the google play service fcs at startup are gone ... changelog of this module shows that this problem was there before ...

Ok - enough OT now ... sorry to all the rest

Greez
[Android Software Development] Ultramanoid:
Some info about this. Location services are unfortunately included in Google Play Services and not independent as it used to be, and it's been like this for a while.

If someone wants to use location or location-aware applications WITHOUT Play Services, take a look at NOGAPPS Project or install CyanogenMod and use it without a Google account.
[Android Software Development] daniu:
Hi

Thanks for the reply but that is not my problem. The problem was an xposed module that disabled some location consent message which btw was removed by Google or better: they added a "don't show again" checkbox. So the module causing the crash is obsolete anyways ...

Regards
[Android Software Development] CitizenX:
You're right, had the same module installed. Didn't know that it's not needed anymore, thanks.

Gesendet von meinem Nexus 5 mit Tapatalk
[Android Software Development] EXV:
Just wanted to say thanks for this. This is perfect at getting rid of tons of unnecessary bloat.
[Android Software Development] jajb:
UPDATES 2014-09-24

Updated Google Play Services to v6.1.09

Users now have the option to download the correct version of Google Play Services for their device

Updated FAQ

NOTE: BaNkS original GApps package included Google Play Services 038 (480 DPI). Since Google releases different versions of the Google Play Services for various screen densities, it is best practice to install the correct GPS version for your device.

To find out the correct GApps package to install, check your build.prop (system/build.prop) and search for "ro.sf.lcd_density=YOUR DPI". From there, match up your DPI to the appropriate package.
[Android Software Development] daniu:
Hi

Thanks a lot for this new diversity! It is really great that you are putting so much effort in this! Thanks a lot!

Can someone explain what the impact of the correct vs. the wrong density version is?

Regards
[Android Software Development] Ultramanoid:
It can sometimes show the wrong graphics and / or cause FC when using the Play Store. Nothing that will break or damage your system, but can get buggy and annoying.

Edit : There is a multi-DPI version but obviously it would be a bit of a waste as it is a bigger file to download and install, with many resources that the device does not need. Thank you jajb indeed for making all DPI versions available !
[Android Software Development] wardawgmalvicious:
It really is, there's only a few apps I need to uninstall after installs.

-wardawgmalvicious
[Android Software Development] pgflying:
Please just make only one gapps zip, do not make lots of dpi gapps, when I want to flash it, I must use Antutu to know the dpi of my phone, and lots of people who do not know the DPI or PPI, it is very complicated.
[Android Software Development] PunchUp:
You just have to find out the DPI once and then remember it. In case you manage to forget somehow, just google your device name and GSM Arena usually has a mention of it

If you still don't want to do that, use PA GApps instead. But you'll have to download the updater with all the play service versions which is 84 MB + the GApps package which has multi DPI version (which takes more space after installation if not used with play service updater)
[Android Software Development] scoobyjenkins:
You can also download this dpi changer: https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi

It tells you what yours is at (plus you can change it if you wish)

Tapatalked that shiznit.
[Android Software Development] pgflying:
thankyou. but the pa gapps minimal version just 35MB, not big at all. and the minimal muti_DPI version which you made before is still smaller , why do not make the muti-DPI version this time?