Post Reply

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

OP Nbsss

5th May 2013, 06:01 PM   |  #1  
Nbsss's Avatar
OP Senior Member
Thanks Meter: 984
 
1,281 posts
Join Date:Joined: Aug 2012
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!

LINKS:

(Remeber to hit thanks after downloading )



__________________________________________________ ___________________________

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 by Nbsss; 6th November 2013 at 12:22 AM.
The Following 215 Users Say Thank You to Nbsss For This Useful Post: [ View ]
5th May 2013, 06:02 PM   |  #2  
Nbsss's Avatar
OP Senior Member
Thanks Meter: 984
 
1,281 posts
Join Date:Joined: Aug 2012
[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 !
Attached Files
File Type: apk NovaLauncherFree.apk - [Click for QR Code] (2.37 MB, 391 views)
File Type: zip sign-em.zip - [Click for QR Code] (14.2 KB, 443 views)
File Type: zip 65DisableKeyBacklight.zip - [Click for QR Code] (322 Bytes, 219 views)
File Type: zip hostapd.zip - [Click for QR Code] (162.1 KB, 214 views)
File Type: zip SlimRom-Keyboard-extract-files-first.zip - [Click for QR Code] (4.27 MB, 766 views)
Last edited by Nbsss; 27th November 2013 at 01:41 AM.
The Following 76 Users Say Thank You to Nbsss For This Useful Post: [ View ]
5th May 2013, 06:04 PM   |  #3  
TimHermans's Avatar
Senior Member
Thanks Meter: 304
 
345 posts
Join Date:Joined: Apr 2012
Could come in handy..

Greetz
The Following User Says Thank You to TimHermans For This Useful Post: [ View ]
5th May 2013, 06:05 PM   |  #4  
Nbsss's Avatar
OP Senior Member
Thanks Meter: 984
 
1,281 posts
Join Date:Joined: Aug 2012
Quote:
Originally Posted by TimHermans

Could come in handy..

Greetz

have u tried latest nightly? unbelievable smooth...
The Following User Says Thank You to Nbsss For This Useful Post: [ View ]
5th May 2013, 06:34 PM   |  #5  
paolo-red1's Avatar
Senior Member
Flag Somewhere in the middle of Italy
Thanks Meter: 254
 
642 posts
Join Date:Joined: Jun 2011
Donate to Me
More
So latest nightly + slim gapps fit in 210 /system hboot?
5th May 2013, 06:53 PM   |  #6  
TimHermans's Avatar
Senior Member
Thanks Meter: 304
 
345 posts
Join Date:Joined: Apr 2012
Quote:
Originally Posted by Nbsss

have u tried latest nightly? unbelievable smooth...

Nope but after your comment, I will do so tonight..

Greetz
5th May 2013, 10:57 PM   |  #7  
Nbsss's Avatar
OP Senior Member
Thanks Meter: 984
 
1,281 posts
Join Date:Joined: Aug 2012
Quote:
Originally Posted by paolo-red1

So latest nightly + slim gapps fit in 210 /system hboot?

You'd need to slim the rom first. I've currenty 14mb free space, so it could probably even fit in a 200mb system hboot. See post 2 soon.
The Following 3 Users Say Thank You to Nbsss For This Useful Post: [ View ]
6th May 2013, 02:32 AM   |  #8  
TimHermans's Avatar
Senior Member
Thanks Meter: 304
 
345 posts
Join Date:Joined: Apr 2012
Just been using latest nightly and must say you are right.. Buttery.. Except for camera, that's slower with other/fewer glitches.. Overall nice..

Greetz
The Following User Says Thank You to TimHermans For This Useful Post: [ View ]
6th May 2013, 04:52 AM   |  #9  
vijendrahs's Avatar
Senior Member
Flag Bengaluru
Thanks Meter: 6,417
 
751 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Quote:
Originally Posted by TimHermans

Just been using latest nightly and must say you are right.. Buttery.. Except for camera, that's slower with other/fewer glitches.. Overall nice..

Greetz

Play some games, it has glitches.

Sent from my HTC Desire using xda premium
The Following User Says Thank You to vijendrahs For This Useful Post: [ View ]
6th May 2013, 05:37 AM   |  #10  
TimHermans's Avatar
Senior Member
Thanks Meter: 304
 
345 posts
Join Date:Joined: Apr 2012
Quote:
Originally Posted by vijendrahs

Play some games, it has glitches.

Sent from my HTC Desire using xda premium

True..!! didn't notice it cause I haven't got time to play games..

Greetz

The Following 2 Users Say Thank You to TimHermans For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Android Software Development by ThreadRank