[GAPPS][GUIDE][TOOL] PROJECT SLIM-8mb GApps & AUTO SLIM-FACTORY (free 134mb /system)

Search This thread

Nbsss

Senior Member
Aug 11, 2012
1,297
1,001
Google Pixel 7 Pro
[GAPPS][GUIDE][TOOL] PROJECT SLIM-8mb GApps & AUTO SLIM-FACTORY (free 134mb /system)

Project Slim is closed, thanks.


Post #1 = slim gapps (8mb)
Post #2 = slim rom guide

What is Project Slim?
Many older devices (eg. HTC Desire) have limited NAND storage. This leaves very little space for user apps. This project is intended for such phones and aims to overcome that limitation by freeing as much space from the /system partition as possible - allowing for hboot partitions to be flashed with less space allocated to /system and more to /data. This allows for more apps to be installed with app-to-sd scripts - or even negates the need for such scripts in some cases.

How does it work?
Simply flash the 8mb gapps provided below instead of your normal gapps after a ROM install
If more space is required, see post #2. This guide will walk you though how to easily reduce the size of your ROM on your Windows PC manually before moving to sdcard for flashing. An automated script that does all the work for you can also be found in post #2.

Will it work for my ROM?
The Gapps have been tested on HTC Desire, Galaxy S2, Nexus One - They should work for all devices.
Regarding ROM slimming, the principles the guide is based on remain the same no matter the device, but i can't guarantee the automated script will work on all roms.

I Need more Google apps!
This is the slimmest gapps you'll find. Download Calendar, Hangouts, Maps, etc. from play store.

Requirements?
All files necessary are provided.
Windows PC - if ROM slimming



SLIM GAPPS:

APKs: Basically just the play store, and the necessities. Note, i've removed 'Google Now' coz u can download that from play store, and "Google Ears" coz that's useless. Also, useless libs for face unlock, google ears, etc removed... Play store also updated to latest version.

Full List:
ChromeBookmarksSyncAdapter
GoogleBackupTransport
GoogleCalendarSyncAdapter
GoogleContactsSyncAdapter
GoogleLoginService
GoogleServicesFramework
NetworkLocation
Phonesky
SetupWizard


Zip size is 8.3mb. Takes up approx. 10mb in system. Normal (trimmed) gapps is 63mb. So that's an extra 53mb free! :D

LINKS:





_____________________________________________________________________________

GAPPS FOLDER:
http://d-h.st/users/Nbsss/?fld_id=27638#files

______________________________________________________________________________



TOGETHER WITH SLIM-GUIDE BELOW AND SLIM-FACTORY UPTO 134MB CAN BE FREED!!

GET HTC DESIRE (BRAVO) HBOOTS HERE - thanks jmcclue !




(Old 4.2.X Versions)

 
Last edited:

Nbsss

Senior Member
Aug 11, 2012
1,297
1,001
Google Pixel 7 Pro
[GUIDE] Nbsss SLIMMING ROMS GUIDE

Best viewed on web browser.

FOR AUTOMATED SCRIPT SEE BOTTOM OF POST

A) Download and extract ROM zip
B) Removing audio files (about 5.2mb freed)
  1. Navigate on extracted ROM to /system/media/audio
  2. Delete all audio from "alarms" folder (except one that you wish to keep)
  3. Delete all audio from "notifications" folder (except one that you wish to keep)
  4. Delete all audio from "ringtones" folder (except one that you wish to keep)
  5. Delete from "ui" folder: "camera_click", "camera_focus", "VideoRecord", "VideoStop"
  6. (You can set default tones by editing last couple of lines in the build prop or set manually once booted - Thanks "FordNate")
C) Removing boot animation (optional) (about 6mb freed)
  1. Navigate to /system/media
  2. Delete bootanimation.zip
D) System apps cleaning (about 45 mb freed)
  1. Navigate to /system/app
  2. Delete "Calendar.apk" (1.3mb freed)
  3. Delete "LatinIME.apk"
    Paste "LatinIME.apk" file attached below
    Navigate to /system/lib
    Paste "libjni_latinimegoogle.so" (17.5mb freed)
  4. Navigate again to /system/app
  5. Delete "Launcher2.apk" or "Trebuchet.apk" (depending on what you have)
  6. Paste "NovaLauncher.apk" (free version) (10mb freed)

E) Remove unneeded text-to-speech engine (6.1mb freed)
  1. Navigate to /system/tts/lang_pico
  2. Delete all
F) Remove unneeded fonts (10mb freed)
  1. Navigate to /system/fonts
  2. Delete unneeded fonts "MTLmr3m.tff" (Japanese) & "NanumGothic.tff" (Korean) & "DroidSansFallback.tff" (backup)

G) Delete offline google now: (1.83mb freed)
  1. Navigate to "/system/usr/srec/"
  2. Delete "config"

H) FREE ANOTHER 35mb (fits CM7r2 Hboot):


Under /system/app
  • Delete VideoEditor.apk (4.7mb)
  • Delete "Exchange2.apk" & "Email2.apk" (4.1mb) - use GMail instead
  • Delete "LiveWallpapers.apk" & "LiveWallpapersPicker.apk" (2mb)

Delete all livewallpapers under "/system/app/": (1.52mb)
galaxy4.apk
MagicSmokeWallpapers.apk
VisualizationWallpapers.apk
HoloSpiralWallpaper.apk
phasebeam.apk
NoiseField.apk
PhotoTable.apk

EVstuff under "/system/app/" 1.3mb) - for evervolv roms
EVToolbox.apk
evwidgets.apk
EVTips.apk

Junk under "/system/app/" (.3mb):
vociedialer.apk
speechrecorder.apk
stk.apk
soundrecorder.apk

Other under "/system/app/"
browser.apk (2.85mb)
QuickSearchBox.apk (1mb)

Move(12mb)
"Gallery2.apk" (Camera & Gallery) & "LatinIME.apk" (keyboard) from /system/app and place in /data/app (you could use adb for this eg. = "adb install Galley2.apk"


NOTE: IN KITKAT 4.4, SOME APPS THAT ARE LISTED ABOVE WILL BE UNDER THE DIRECTORY /system/priv-app/ , OTHERWISE THE PROCESS IS THE SAME


Total Freed: 82mb

Last Step: Repacking before flashing
1) Check file size before zipping
2) Re-zip with 7zip, view the zip to make sure its all ok (ie you don't have something like /CM10.1.zip/CM10.1/)
3) Sign your updated re-zipped ROM with sign-em application. Place ROM in "input", run exe, signed ROM found in "output"



[TIPS]
If you get stuck, always good to have a saved PC copy of the apks saved on your phone beforehand.
Use: "adb pull /data/app C:\Users\<wherever-you-want>" (without quotes)
That way if you have no file explorer, you can use like "adb install <filemanagername>.apk" (must place in adb folder of course)
Its also faster to restore your phone, just use: "adb push C:\Users\<wherever-you-want> /data/app"
Then restore app-data ONLY from TitaniumBackup -much faster and less issues



[MODS - FOR HTC DESIRE (BRAVO)]:
-Wifi tethering with password fix - Extract files "hostapd" and "hostapd_cli", copy extracted files, mount system R/W, paste in /system/bin replacing the original files, set permissions (rwxr-xr-x), reboot
-Keyboard BL disable: Extract 65DisableKeyBacklight file, place into system/etc/init.d folder, set permissions same as other files in this folder (---rwxr-x), reboot
--a2sd: open terminal, type "su", type "a2sd install", respond with yny and it'll reboot automatically


Credits/thanks:
-SlimRom for the lightweight keyboard
-ryuinferno for his zip signer
-Nova launcher
-jmcclue for DisableKeyBacklight script
-thanks tom0769 for part E!
-HUGE thanks to Androidmarketuser for the script!

(Remeber to hit thanks here and thank Androidmarketuser ;))
FOR AUTOMATING THE PROCESS - DOWNLOAD SLIM-FACTORY SCRIPT!!


ENJOY ! :)
 

Attachments

  • NovaLauncherFree.apk
    2.4 MB · Views: 559
  • sign-em.zip
    14.2 KB · Views: 603
  • 65DisableKeyBacklight.zip
    322 bytes · Views: 309
  • hostapd.zip
    162.1 KB · Views: 319
  • SlimRom-Keyboard-extract-files-first.zip
    4.3 MB · Views: 1,128
Last edited:

alicarbovader

Senior Member
Feb 16, 2013
775
1,004
In Emperor's Chamber in Death Star 1
So what's up with the latest Nightly...? Does it support DSP Manager being used for better sound quality??? Ya know, CM ROMs run DSP like a boss. Evervolv ROMs don't....... They are smooth and all, but no DSP Manager means that I'm not installing them.........
 

Nbsss

Senior Member
Aug 11, 2012
1,297
1,001
Google Pixel 7 Pro
Just bought a galaxy s2 for my mum. :)
she'll have a better phone than me but I'm more excited to see where devs take this classic phone :D

So.. i assume 14 downloads and no complaints means v2 works fine ?
Anyone tried it?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 226
    [GAPPS][GUIDE][TOOL] PROJECT SLIM-8mb GApps & AUTO SLIM-FACTORY (free 134mb /system)

    Project Slim is closed, thanks.


    Post #1 = slim gapps (8mb)
    Post #2 = slim rom guide

    What is Project Slim?
    Many older devices (eg. HTC Desire) have limited NAND storage. This leaves very little space for user apps. This project is intended for such phones and aims to overcome that limitation by freeing as much space from the /system partition as possible - allowing for hboot partitions to be flashed with less space allocated to /system and more to /data. This allows for more apps to be installed with app-to-sd scripts - or even negates the need for such scripts in some cases.

    How does it work?
    Simply flash the 8mb gapps provided below instead of your normal gapps after a ROM install
    If more space is required, see post #2. This guide will walk you though how to easily reduce the size of your ROM on your Windows PC manually before moving to sdcard for flashing. An automated script that does all the work for you can also be found in post #2.

    Will it work for my ROM?
    The Gapps have been tested on HTC Desire, Galaxy S2, Nexus One - They should work for all devices.
    Regarding ROM slimming, the principles the guide is based on remain the same no matter the device, but i can't guarantee the automated script will work on all roms.

    I Need more Google apps!
    This is the slimmest gapps you'll find. Download Calendar, Hangouts, Maps, etc. from play store.

    Requirements?
    All files necessary are provided.
    Windows PC - if ROM slimming



    SLIM GAPPS:

    APKs: Basically just the play store, and the necessities. Note, i've removed 'Google Now' coz u can download that from play store, and "Google Ears" coz that's useless. Also, useless libs for face unlock, google ears, etc removed... Play store also updated to latest version.

    Full List:
    ChromeBookmarksSyncAdapter
    GoogleBackupTransport
    GoogleCalendarSyncAdapter
    GoogleContactsSyncAdapter
    GoogleLoginService
    GoogleServicesFramework
    NetworkLocation
    Phonesky
    SetupWizard


    Zip size is 8.3mb. Takes up approx. 10mb in system. Normal (trimmed) gapps is 63mb. So that's an extra 53mb free! :D

    LINKS:





    _____________________________________________________________________________

    GAPPS FOLDER:
    http://d-h.st/users/Nbsss/?fld_id=27638#files

    ______________________________________________________________________________



    TOGETHER WITH SLIM-GUIDE BELOW AND SLIM-FACTORY UPTO 134MB CAN BE FREED!!

    GET HTC DESIRE (BRAVO) HBOOTS HERE - thanks jmcclue !




    (Old 4.2.X Versions)

    80
    [GUIDE] Nbsss SLIMMING ROMS GUIDE

    Best viewed on web browser.

    FOR AUTOMATED SCRIPT SEE BOTTOM OF POST

    A) Download and extract ROM zip
    B) Removing audio files (about 5.2mb freed)
    1. Navigate on extracted ROM to /system/media/audio
    2. Delete all audio from "alarms" folder (except one that you wish to keep)
    3. Delete all audio from "notifications" folder (except one that you wish to keep)
    4. Delete all audio from "ringtones" folder (except one that you wish to keep)
    5. Delete from "ui" folder: "camera_click", "camera_focus", "VideoRecord", "VideoStop"
    6. (You can set default tones by editing last couple of lines in the build prop or set manually once booted - Thanks "FordNate")
    C) Removing boot animation (optional) (about 6mb freed)
    1. Navigate to /system/media
    2. Delete bootanimation.zip
    D) System apps cleaning (about 45 mb freed)
    1. Navigate to /system/app
    2. Delete "Calendar.apk" (1.3mb freed)
    3. Delete "LatinIME.apk"
      Paste "LatinIME.apk" file attached below
      Navigate to /system/lib
      Paste "libjni_latinimegoogle.so" (17.5mb freed)
    4. Navigate again to /system/app
    5. Delete "Launcher2.apk" or "Trebuchet.apk" (depending on what you have)
    6. Paste "NovaLauncher.apk" (free version) (10mb freed)

    E) Remove unneeded text-to-speech engine (6.1mb freed)
    1. Navigate to /system/tts/lang_pico
    2. Delete all
    F) Remove unneeded fonts (10mb freed)
    1. Navigate to /system/fonts
    2. Delete unneeded fonts "MTLmr3m.tff" (Japanese) & "NanumGothic.tff" (Korean) & "DroidSansFallback.tff" (backup)

    G) Delete offline google now: (1.83mb freed)
    1. Navigate to "/system/usr/srec/"
    2. Delete "config"

    H) FREE ANOTHER 35mb (fits CM7r2 Hboot):


    Under /system/app
    • Delete VideoEditor.apk (4.7mb)
    • Delete "Exchange2.apk" & "Email2.apk" (4.1mb) - use GMail instead
    • Delete "LiveWallpapers.apk" & "LiveWallpapersPicker.apk" (2mb)

    Delete all livewallpapers under "/system/app/": (1.52mb)
    galaxy4.apk
    MagicSmokeWallpapers.apk
    VisualizationWallpapers.apk
    HoloSpiralWallpaper.apk
    phasebeam.apk
    NoiseField.apk
    PhotoTable.apk

    EVstuff under "/system/app/" 1.3mb) - for evervolv roms
    EVToolbox.apk
    evwidgets.apk
    EVTips.apk

    Junk under "/system/app/" (.3mb):
    vociedialer.apk
    speechrecorder.apk
    stk.apk
    soundrecorder.apk

    Other under "/system/app/"
    browser.apk (2.85mb)
    QuickSearchBox.apk (1mb)

    Move(12mb)
    "Gallery2.apk" (Camera & Gallery) & "LatinIME.apk" (keyboard) from /system/app and place in /data/app (you could use adb for this eg. = "adb install Galley2.apk"


    NOTE: IN KITKAT 4.4, SOME APPS THAT ARE LISTED ABOVE WILL BE UNDER THE DIRECTORY /system/priv-app/ , OTHERWISE THE PROCESS IS THE SAME


    Total Freed: 82mb

    Last Step: Repacking before flashing
    1) Check file size before zipping
    2) Re-zip with 7zip, view the zip to make sure its all ok (ie you don't have something like /CM10.1.zip/CM10.1/)
    3) Sign your updated re-zipped ROM with sign-em application. Place ROM in "input", run exe, signed ROM found in "output"



    [TIPS]
    If you get stuck, always good to have a saved PC copy of the apks saved on your phone beforehand.
    Use: "adb pull /data/app C:\Users\<wherever-you-want>" (without quotes)
    That way if you have no file explorer, you can use like "adb install <filemanagername>.apk" (must place in adb folder of course)
    Its also faster to restore your phone, just use: "adb push C:\Users\<wherever-you-want> /data/app"
    Then restore app-data ONLY from TitaniumBackup -much faster and less issues



    [MODS - FOR HTC DESIRE (BRAVO)]:
    -Wifi tethering with password fix - Extract files "hostapd" and "hostapd_cli", copy extracted files, mount system R/W, paste in /system/bin replacing the original files, set permissions (rwxr-xr-x), reboot
    -Keyboard BL disable: Extract 65DisableKeyBacklight file, place into system/etc/init.d folder, set permissions same as other files in this folder (---rwxr-x), reboot
    --a2sd: open terminal, type "su", type "a2sd install", respond with yny and it'll reboot automatically


    Credits/thanks:
    -SlimRom for the lightweight keyboard
    -ryuinferno for his zip signer
    -Nova launcher
    -jmcclue for DisableKeyBacklight script
    -thanks tom0769 for part E!
    -HUGE thanks to Androidmarketuser for the script!

    (Remeber to hit thanks here and thank Androidmarketuser ;))
    FOR AUTOMATING THE PROCESS - DOWNLOAD SLIM-FACTORY SCRIPT!!


    ENJOY ! :)
    29
    SLIM FACTORY by Androidmarketuser

    SLIM FACTORY V4.0

    Updated 18.08.2013
    So here is my SlimFactory :)
    I tried to make it as comfortable and safe as possible and it has some cool extras

    FEATURES:
    • step by step customization
    • easy and fast TTS language selection
    • nearly fully automatic
    • optionally GAPPS Injection, no need to flash files seperately
    • bullet-proof and tested ;)
    INSTRUCTIONS:
    The execution of the script is self-explanatory, but here are some instructions anyway:
    1. Download and extract SlimFactory
    2. Download your desired rom and put it in "input_rom"
    3. [OPTIONAL] Download any GAPPS from first post and put it in "input_gapps"
    4. Start the script and select which things you want to delete
    5. Flash the ROM from output folder, signed or unsigned version (if you don't have java)

    CHANGELOG:
    Changes V4.0 (18.08.2013):
    • Fully compatible to Android 4.3
    • LatinIME.apk from Android 4.3, slimmed, compatible to older Android versions
    • new ultra-cool finish screen ;)
    Changes V3.1 (10.08.2013):
    • Updated following Apps: NovaLauncher, AndroidTerm, Apollo
    Changes V3 (04.06.2013):
    • Option to keep EVToolbox (EVWidgets and EVTips are still being deleted) NOT IMPORTANT FOR USERS WITHOUT EV ROM
    • LiveWallpaperPicker deleted
    • No option too keep LWPs anymore
    • Added option to delete DroidSansFallback (another 5mb more space gain!)

    Forgot to metion it but it's important:
    IF YOU DELETE RINGTONES YOU MAYBE HAVE TO SELECT THE REMAINING RINGTONE IN SETTINGS!


    REMOVED:

    • [OPTIONALLY] DroidSansFallback.ttf
    • [OPTIONALLY] Offline Google NOW
    • [OPTIONALLY] System sounds (except default ringtones, alarms, etc.)
    • [OPTIONALLY] TTS languages
    • Japanese and Korean fonts
    • Live Wallpapers
    • Email.apk and Exchange.apk
    • LatinIME.apk
    • Launcher2.apk
    • Trebuchet.apk
    • Provision.apk
    • QuickSearchBox.apk
    • Vending.apk
    • EVToolbox.apk
    • EVWidgets.apk
    • EVTips.apk
    • VoiceDialer.apk
    • SpeechRecorder.apk
    • Stk.apk
    • SoundRecorder.apk
    • Music.apk
    • MusicFX.apk
    • VideoEditor.apk
    • Development.apk
    • Apollo.apk
    • AndroidTerm.apk
    • Term.apk
    • Talk.apk
    MOVED/ADDED TO /DATA:

    • [REPLACEMENT] NovaLauncher.apk -> replaces other launcher, it IS fast
    • [ADDITION] Apollo.apk -> becuase it's a cool music app that can't be found in Market, so it is a thing of comfort ;)
    • [REPLACEMENT] Term.apk -> newer version of AndroidTerm, better looking icon
    • [MOVED] Gallery2.apk
    • [MOVED] DeskClock.apk
    • [MOVED] Torch.apk
    • [MOVED] Browser.apk
    • [MOVED] Calendar.apk
    • [MOVED] Calculator.apk
    ALL THESE APPS CAN BE UNINSTALLED EASILY.
    For example to have more space in /data replace Gallery2 with QuickPic and Camera360.

    Afterwards my personal configuration (Evervolv's Nightlies) ended up in 105mb 97mb 92mb zip (including gapps) which takes 175mb 140mb 137.5mb on system partition.
    It'll definately work on Evervolv's ROM, but it should also work on any other JB ROM.

    TESTED:
    Evervolv Nightlies -> min. /system size: 140mb
    Nikez
    VJ CM10.1

    CREDITS:
    Nbsss - Idea/Guide
    Androidmaretuser - Script
    Benjamin Lin and Bernd Johannes Wuebben - dos2unix (used for updater-script)
    Jack Palevich - Terminal Emulator
    kevin@TeslaCoil - NovaLauncher
    CM Team - Apollo
    maybe more...

    Please download SlimFactoryV4.0
    11
    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!
    9
    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 :)