yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Androidmarketuser:
First off it's not needed to sign zips but if you want to do it you can enter the full path of your java exe (e.g. "C:\Program Files (x86)\Java\...\java.exe" "command") instead of java "command" or you can set up an environment variable which should work too, but simply doesn't sometimes (own experience :P)
[Android Software Development] abhishekturumella:
thanxxx a lott for this dudee...this helped me a lotttt....

actly i like using stock rom with many mods installed...

so this is perfect for me...almost 100 MB of rom freed....

wonderful :good::laugh:
[Android Software Development] Nbsss:
glad you found it helpful
[Android Software Development] Pai Mei:
What is "stk.apk" in /system/app?

I see I can delete it but I don't know what is its function. :confused:

Thanks!
[Android Software Development] Nbsss:
Sim toolkit I believe. Its useless
[Android Software Development] Pai Mei:
I don't know what it is :D
[Android Software Development] tostep:
/system/lib folder

HTC Desire with custom ROM: CM10.1 VJ Jelly Bean 4.2.2 v6.3. Folder /system/lib is about 64.5MB.

I deleted some files from /system/lib:

libfilterpack_facedetect.so, used by Face Unlock.

libgtalk_jni.so and libgtalk_stabilize.so, used by Google Talk.

libgoogle_recognizer_jni.so, used by Google Now and Google Voice Services.

libgcomm_jni.so, used by Google TTS Engine.

Common size of these libs is about 19,67MB.

What about another files to delete from /system/lib?
[Android Software Development] Pai Mei:
Just a question: when I install a rom I have to see how is big the /system folder in order to choose the correct hboot. Right?

What about the Gapps?

I have to to the same as the rom and sum the dimension of both /system folder (one of the rom and one of the Gapps) in order to choose the correct hboot?

In this way I can understand better how to slim a rom :)

For esample the paranoid android's /system folder is 221 MB big, while Gapps' /system folder is 203 MB.

Now I need a (221+203) 424 MB /system hboot?

Thanks!
[Android Software Development] Nbsss:
Gapps is 203mb? :o

But yeah u have the right idea, add the sizes of system folder after extracting from .zip
[Android Software Development] Pai Mei:
Yes, in the attachment you can see gapps (recommended with the rom) properties' screenshot.

In paranoid android page recommended to use stock hboot (250MB system) for htc desire, but if the sum of both system folder is 424 MB, I think there's a problem, don't you?
[Android Software Development] Nbsss:
You're using PA FULL gapps, the desire doesn't have enough nand storage for that, you'll never get it to fit unless you use a smaller gapps package - which will work fine
[Android Software Development] Pai Mei:
Indeed...

When I install a ROM I use to slim it in order to use a small hboot.

It seemed strange this gapps dimension. I'll flash smaller one.

Thank you!
[Android Software Development] Nbsss:
[MENTION=4625662]conjro[/MENTION]

I've uploaded a test version for 4.1.2 to this post if you want to give it a try.

There's a chance it may not work, let me know what errors/bugs you get.

View attachment 2350228
[Android Software Development] Nbsss:
OP updated with links for all JB versions (4.1-4.3) and cleaned up a bit :)
[Android Software Development] tostep:
Another folder to delete

Some ROMs contain folder /system/media/video, which also can be deleted.

P.S. In CyanogenMod 10.1.3 KANGed for bravo ROM this folder is 6MB
[Android Software Development] naifaharsy:
Nice work buddy..
[Android Software Development] Nbsss:
no probs, i'll probably update all the links with the latest play store version by the weekend.

Off-topic: My Nexus 5 (black 32gb) has shipped. Gonna get it Monday, so excited!
[Android Software Development] Sigur Rós:
Thanks for the great work, I was looking for a GApps package with only Play Store included, without other Google's stuff. But does it go well for every CM based ROMs?
[Android Software Development] Nbsss:
All roms. Just pick the right one for your android version number.
[Android Software Development] Nbsss:
I've made new gapps (using latest play store apk from the nexus 5 -ie playstore version 4.4.22) for android versions:

*gingerbread

*jellybean 4.1

*jellybean 4.2

*jellybean 4.3

*kitkat 4.4

I've done something a little different this time, so i could use some testers, thanks!

Link:

http://d-h.st/users/Nbsss

Edit: Note these gapps are really slim, there's no point flashing on a phone with enough nand storage for a full gapps package.

The intention is to provide access to the play store and allow selective choosing of google apps from play store.

I wouldn't flash the 4.4 gapps on say a nexus 4 or 5, as you lose some features like face unlock etc.
[Android Software Development] Nbsss:
any feedback please?
[Android Software Development] feelpt:
hi there... installed last night latest version on samsung i9505 with liquidsmooth JB4.3 and everything seems to be working properly..

all core services seem to be working and phone sleeps well, without any of googles battery draining services waking up the device

let me know if you need more info

cheers and keep up the good work
[Android Software Development] Nbsss:
Thanks heaps! I've started using linux so i did things a little differently this time.

If the 4.3 one works, the rest probably do to then.

Thanks for the confirmation!

I'll add the link to the OP

Would be great if someone could test the kitkat version, i have no idea if it'll work but i'm pretty confident :fingers-crossed:

Any interest in a ICS gapps?
[Android Software Development] azazel71:
Just used the 4.3 package with no problems many thanks for the work :D

sent from a slim one x
[Android Software Development] Lgrootnoob:
This is great! I have 5 devices that I will flash this to.

Now I don't mean to hijack your thread either but can I get some testers?

http://xdaforums.com/showthread.php?p=47241123#post47241123
[Android Software Development] Nbsss:
lol my thread is a ghostown, you won't get many testers ;)

I see 7 downloads of the kitkat gapps, does it work lol?
[Android Software Development] Lgrootnoob:
Sorry about the wait im caught up with arch linux.

Yeah i only have three downloads on my stuff.

but im testing the expiremental 4.4 gapps slim.
[Android Software Development] Urticant2:
I tried gapps 4.4 on carbon but all fc
[Android Software Development] Nbsss:
Thanks, which device?
[Android Software Development] Urticant2:
Nexus 4

And if possible or any plan for have odexed slim GApps for use with ART enabled

Thanks

PS: limited to 8 thanks per day ,-(
[Android Software Development] Nbsss:
I think i know what the issue is.. i'll look into it next week after exams :)

Does ART really make a difference? I read some n5 users bricked their devices with it on

Anyway thanks for the feedback!
[Android Software Development] Urticant2:
Difference? speed up my device for all operation but the BIG probleme is when i reboot, boot up is very slooooooow +10mn (+de 200 apps/system apps included) and no other problem encountered
[Android Software Development] RandomAwesomeName:
dpi

You should also try to remove the unnecessarry and unused DPIs in the APKs using 7zip.
[Android Software Development] Nbsss:
kitkat gapps ready :)
[Android Software Development] j00m:
Is it ready on texasice ROM 4.4 too?
[Android Software Development] Nbsss:
Any device running any 4.4 rom. Gapps are universal...
[Android Software Development] j00m:
Great, it's working :good:
[Android Software Development] j00m:
[MENTION=4788174]Nbsss[/MENTION]: Could you update the second post for 4.4 ROM please? As scheme directory on 4.4 is diffenrent with 4.3/.2 , ex: \system\priv-app
[Android Software Development] Nbsss:
yeah i was thinking about that...

Some of the apks are under /system/app and some under /system/priv-app as you mentioned.

However, the ones i've listed that are safe to delete haven't changed, just their location.

As i'm not sure if the location is the same for different roms/devices, i think i'll just update #2 to say that it may be under /system/priv-app/ if its not present in /system/app.

Thanks for the heads up :)
[Android Software Development] ela1103:
Nbss

Slim 4.4.X Gapps is a Odexed is compatible with ART without FC ?
[Android Software Development] Nbsss:
Deodexed, not art compatible.

Art is at too early of a stage atm and not worth it yet imo.

Adds around 5mb too, and the aim is to be as lightweight as reasonably possible :)
[Android Software Development] viditbhargava:
Automated Script for KitKat

Hi,

Do we have an automated script compatible with KitKat?
[Android Software Development] !@ndre@!:
Any news for a script compatible with KitKat?
[Android Software Development] abaaaabbbb63:
You could follow the manual guide in post 2.
[Android Software Development] rabies876:
Really a life saver.
[Android Software Development] Nbsss:
Merry Chistmas everyone :)

KitKat gapps v2 released!

Only 9.5mb (you won't find any other kitkat gapps under 10mb ;))

You will be prompted to install Google Play Services from the PlayStore and it will install in /data/app eg. if you try to use Google Keep.

This will save space in /system as any update you receive to google play servcies will be automically installed in /data/app anyway.

Enjoy!
[Android Software Development] Sigur Rós:
Hi everyone, what's this change between Slim_4.4.X_gapps_Nbsss_v2 and Slim_4.4.X_gapps_Nbsss_v1? What's the difference between the first version and the second?:confused:
[Android Software Development] Nbsss:
See the post above yours.

But basically v1 has google play services preinstalled.
[Android Software Development] alicarbovader:
your thread's going awesome man...! Keep up the work... just flashed the new KitKat Gapps on my OneX, not that I have storage problem at all, but I'm a bit reserved when it comes to storage after using Desire lol :D
[Android Software Development] Sigur Rós:
That are? Are they necessary to use the Play Store?
[Android Software Development] Nbsss:
Nope, but some apps need it eg google keep and I recommend installing it from the play store.

For example, play services was updated recently to version 4.2 with chromecast support. Everyone who had an older version previously (99.99% of devices I imagine) would have this newer version installed in data/app automatically. So v2 just frees up the duplicate older version of play services that is normally installed in system/app.

I might have worded this poorly, oh well hope you get the basic idea ;)
[Android Software Development] Nbsss:
Haha I think the thread is quite dead actually :p

I also trim the Google fat on my Nexus 5, which has 32gb, its not so much the space issue, I just have no use for bloat like "google play newstand" taking up background resources etc

Enjoy your One X, it's a great phone. The desire was a good phone in its time, I remember people bragging about a 1ghz CPU, but yeah, it's kinda small, slow and old now :(
[Android Software Development] Sigur Rós:
Sorry dude, I didn't get it, can you explain with words more simple?:p
[Android Software Development] Nbsss:
I'll try again. Let me know at which point I lose you.

You internal storage (say 1gb) has part of it devoted to the system (say 300mb).

Gapps are installed in that system part of the storage.

Google Play Services is an app. Some apps need google play services to work.

You can either install the Google Play Services in the system part, or the normal storage part.

If you install it in the system partition (ie v1 gapps), when there's a update available - which there will be, then it will install the update as a full app in the normal storage area. So you have two copies of the same app installed. One is old (in system partition), one is new (in data partition).

By installing v2 Gapps, you can directly install the updated version of the Google Play Services app into your data partition (say 700mb from before). You don't have duplicates.
[Android Software Development] alicarbovader:
You still using Desire..? I burnt mine last september lol due to overclocking and i still regret losing it man... OneX doesn't get updates that easy... Desire had kitkat before OneX lol
[Android Software Development] Sigur Rós:
I flashed Slim_4.4.X_gapps_Nbsss_v2 on my Nexus 4 and, as I wanted to install an app, the phone says I need Google Play Services to use this app. I try to install GPS, but when the download from Play Store is almost finished, I get this error: Incompatible with other applications using the same shared ID. Why? And how can I fix this?
[Android Software Development] Phoneboot:
Will this also work on Galaxy Ace with GB2.3.6 original stockrom? Or is there some other method for this phone with limited system ram.
[Android Software Development] rabies876:
What's the difference between banks and your Gapps?
[Android Software Development] viditbhargava:
Gapps for 4.4.4

Hey Nbsss,

Could you please update your Gapps for Android 4.4.4?

It would be of great help.

Thanks
[Android Software Development] Nbsss:
I'll work on it tonight, been meaning to do it for a while but keep getting busy
[Android Software Development] viditbhargava:
Hey, have you had the chance to work on this? Please update your Google Apps package.

Thanks a ton.
[Android Software Development] Nbsss:
Version 3 for 4.4.X released!

Updated to latest Google libs/apks

You guys know the drill, only essentials included, recommended only for devices with limited storage eg HTC Desire

Zip is a fair bit bigger than previous releases as Google continues bloating google play services etc.

Download link is the same, enjoy!

I have also uploaded a version without google play services for those that prefer to install it through the play store, where it will install under /data/app/ directory.

Let me know of any issues thanks :)
[Android Software Development] ela1103:
This gapps best for low memory device
[Android Software Development] Don DD:
Not exactly an issue but...

I just downloaded the 'Slim_4.4.X_gapps_Nbsss_v3.zip' and I see the '__macosx' folder and several '.DS_Store' files inside the zip.

I know installing this zip will not result in copying these folder and files into the Android system. But still odd to have unnecessary garbage inside the zip for something called 'slim' :)
[Android Software Development] Nbsss:
That's not good, I'll fix it today, had the Mac for a few weeks now so still learning how it works :)

Thanks for the feedback.
[Android Software Development] teraßyte:
Did you get around to fixing it? I just downloaded the file and I see it still contains those files. Unless I downloaded the old file, but I figure you're going to remove the old one once it's fixed?
[Android Software Development] Sir_gpm:
Does this gapps works with KK?. I used to use banks..but no more, so I am looking for an alternative.
[Android Software Development] AlexanderDG83:
Of course! I'm use this gapp on cm11 M9. [emoji6]
[Android Software Development] Cozmos23:
In op there is "Zip size is 8.3mb. Takes up..."

but the zip size without GPServices is 11.58MB and with 22.69.

Does without GP Services mean without Playstore? Or do I have to use v1?
[Android Software Development] Sir_gpm:
That he improves what bank start [emoji12]
[Android Software Development] andPS2:
i used the Slim_4.4.X_gapps_Nbsss_v2.zip and it is working on a 220/16/200 hboot

play store is working
[Android Software Development] dev>null:
[MENTION=5671782]Cozmos23[/MENTION] Play store works without GPServices. Hangouts doesn't.

BUT you could get an old version of Talk (4.0), that works as well, in case you need it !
[Android Software Development] salmanfarisy:
Does this gapps works with LOLLIPOP (cm12)?

I think i only need googleloginservice so i can use Blogger app. Does simple extraction apk from rom work?
[Android Software Development] Androidmarketuser:
Haha very funny :p

I'm no dev, maybe you changed some of these lib or core files and heaven knows what else is out there ^^
[Android Software Development] Nbsss:
Thanks! Good to know its working, was getting worried :)

Haha I understand, just seemed funny to me, no offence intended :p

Any feedback on post #2 welcome.

I think principles can be applied to most roms, to get smaller hboot version.

Also any interest in black version of latest play store?
[Android Software Development] Nbsss:
Added V3 and V4 to OP

I recommend V4 :D

Edit: updated mod part of post 2 also
[Android Software Development] alicarbovader:
You're right... Minecraft PE doesn't work as it used to on my CM7.2 ROM before, hangs and then force closes.......
[Android Software Development] tom0769:
Great!

Unneeded languages could also be deleted in "/system/tts/lang_pico/", frees some more MB.

Maybe add this to your 2nd post.
[Android Software Development] Nbsss:
Thanks! Was waiting for some input from u flashing experts to make this the ultimate guide :cool:

Will add tonight :)
[Android Software Development] Nbsss:
Done.

Total is now 38mb freed :)

Anyone have other suggestions so we can reach 40 free :p

hmmm...maybe system fonts, i'll look into it

Edit: Success 42mb :D

Next goal = 60mb - got some ideas, want to keep it simple though
[Android Software Development] abaaaabbbb63:
What about removing more system apps, like live wallpapers. I don't think many use them due to battery consumption.

I personally uninstall the email app on every rom I use, and use the Gmail app.

And you could edit the OP, and write what apps does the gapps pack include.
[Android Software Development] Nbsss:
lol u bet me to it, was gonna do the following tomorrow:

video editor -> 4.7mb

different latinime ->7mb

android email ->5m

camera/gallery +replace w quickpic+ics camera ->2mb

live wallpapers ->3mb

I'll change my goal to 65 actually ;)

Thanks for input, will update OP w gapp list :)
[Android Software Development] Nbsss:
So...anyone know how to invent this "SLIM-FACTORY/MACHINE"?? :P

Edit: I like that name "slim-project" :D
[Android Software Development] Nbsss:
Updated post 2...thanks ?ababababa? forgot the name :P

Could someone test the LatinIME.apk i pulled from slimrom? My phone's unusable atm, partitioning a Class10 UHS1 that came today :) Nice partitioning guide aba btw :good:

Just checked my system folder...running evervolv nightly only 173mb used :D
[Android Software Development] Androidmarketuser:
I'll try it but it'll take some time :)
[Android Software Development] Nbsss:
The new sdcard is fast!!!!!!!!!!!!!! :) :) :)

Should've got it ages ago :rolleyes:

Good news.... The latinime.apk above works! - so thats another 7.5mb ;)

You'd do that? You're a legend, take your time :)

OK. I've reached my goal. Over 100mb freed from system. I'm using only 166mb of system with the evervolv nightly. I'm done now. I can die in peacefully. :D

Now we just need to automate the whole thing sort of AROMA style - thanks Androidmarketuser :)
[Android Software Development] alicarbovader:
Delete the LatinIME on installing and configuring the ROM, and install some 3rd party keyboard. I'm using perfect keyboard pro, and its better than built-in keyboard.

BTW, what's up on the latest evervolv nightly...? Did they try ION, and does it work????
[Android Software Development] Androidmarketuser:
Hmm propably won't be AROMA style as it is too time-intensive for me, but at least a fully automatic bat script ;)

So I've got a question: If I delete Calendar.apk is there no calendar app left? Or is one included in your gapps package?

I can only see CalendarSync...

I think this is about personal taste, additionally perfect keyboard pro costs money so including it won't be possible.
[Android Software Development] kees1982:
Project Slim

Ok, I tried to create a

Slim Factory Machine

. How it works:

Download

the attachment en unzip it (with 7zip).

Put the

ROM .zip

in the newly created

[IN] directory

.

run

slimMyRom.bat

During the script it will give you the possibility to add or delete some files

manually

. Just

press enter

if you don't want this or when you're done.

In the [OUT] folder will be 2 files.

You should flash the 'signed' file.

I HAVEN'T TEST THE SIGNED FILES THAT THIS TOOL PRODUCES YET. PLEASE PM ME IF SOMETHING IS WRONG.

You need java installed because the 'sign' tool uses it.

The files that will be deleted or added are in the 2 files:

toBeDeleted.txt

and

toBeAdded.txt

. You can modify this files to match your own preferences.

Tnx Ryuinferno for "sign-em" and Nbsss for his work on this thread!
[Android Software Development] MetinKale38:
How about an aroma installer, where you can select any zip and flash it SLIMMED according to the preferences the user does?

You would need to extract the files file by file and parse the updater scripts for chmod and symlinking operations.

Tapatalked with my JellyBean powered HTC Desire
[Android Software Development] Nbsss:
I like the aosp keyboard :p

I'm still running one of the ion nightlies. May desire seems to like it a lot, no reboots, super fast esp. w my new sdcard, no bugs, etc.

install calendar from play store.

sounds great! Is there a way to move your post to #3?

That would be awesome, anyone is welcome to give it a go :)

I'm really digging this everyone working together thing :D
[Android Software Development] Nbsss:
Thanks man appreciated. Will test then add to OP :)
[Android Software Development] Nbsss:
And good battery life too!
[Android Software Development] TimHermans:
Guys,

Must say I'm really proud of this lil thread, everybody working on this together, and really constructive, not much negativity to be found.. Keep it up..!!

Edit: nonsense..

Greetz
[Android Software Development] Nbsss:
Mate!!!!

I must say, really great job, seriously- you've done the project justice, its exactly how i imagined the process should be, if i knew how to code i would've done the exact same - nothing different - its perfect.

HUGE thanks to everyone that contributed - true community effort - what started off as a simple gapps package has grown to an awesome Slim Factory - after much trial and error, a bit of creativity & problem solving, and most importantly YOU GUYS :D

It's official, PROJECT-SLIM is complete - get it now! :)

Edit: Do you think i should request to move this thread to general section - seeing as it'll be useful for other devices also?
[Android Software Development] dodge67:
Do I have to do this on a PC. Can't do it on my phone thanks.
[Android Software Development] Androidmarketuser:
I think there are always things to do ;)

I think the Slim Gapps package from you can definately be shared in the General section + the guide, but the automated installer is mainly for the Evervolv builds. Some roms are packed with lots of other stuff like all Gapps and they should be removed also...

I plan to work on the script during the week :)

Yes, it is a batch script and works only for Windows!
[Android Software Development] dodge67:
Ok thanks. Will try it :)
[Android Software Development] ricevitore:
So using this a stock hboot rom can fit into cm7r2 hboot rom?
[Android Software Development] alicarbovader:
Yep..... Try jmcclue's HBoots too here... Maybe you can squeeze a few more mb's of space.

http://xdaforums.com/showthread.php?t=2141165
[Android Software Development] Androidmarketuser:
Yes, searched for this too.

Try also this mod to use internal space as swap: http://xdaforums.com/showthread.php?t=2145133

It was here as a development thread, but was deleted as it was a refferer/placeholder thread. I think the multitasking got better by using this.
[Android Software Development] Nbsss:
Lol true i could probably slim it a bit more :)

Thanks for your great work, we all appreciate it :thumbup:

I'm not sure if anyone got it to work as we need a kernel that supports swap, myself and a few others tried but no luck unfortunately, I've only tested it with evervolv kernel

That was the original goal - to use smaller hboots for more /data :D

I think ill try to upload a 6mb gapps version tonight or tomorrow after I test it well :)