yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Nbsss:
Ok maybe not lol

But i couldn't wait, so here's V5 & V6.

V5 takes up 14mb in /system compared to 26mb in previous versions. 50% reduction :eek:

V6 takes up 12mb in /system

Changes - removed useless lib files, like those needed for face unlock, and google ears, removed photosphereviewer - doesn't even work to begin with.

V5 should work perfectly, V6 is a bit more experimental - will need to test a few days to see if it breaks anything.

I have some more ideas for rom slimming, i'll do that tonight

Edit: Uploaded. I don't think i'll release V6 though, the risk is not worth the 2mb :D & added link to jmcclue hboots in OP
[Android Software Development] alicarbovader:
Well, as a matter of fact, I'm not interested at all in Gapps..... For some reason or other, Google Play never downloads any apps on my phone, even when I bought it new........... Since then, I've been forced to download all apps from other websites. I know its piracy, but then I've got no other option....... I think the problem is with my carrier, Ufone....

Well, on the brighter note, this will be helpful to guys in other countries to slim their ROms :D
[Android Software Development] Nbsss:
Just installed latest evervolv 2013.05.11

Looks promising..

After slimming + gapps, only 150.5mb of system used :D

Thanks [MENTION=4577482]jmcclue[/MENTION] for hboots!

Edit: uploaded v7 (black 14mb)
[Android Software Development] alicarbovader:
Wow, you should be tester for Evervolv ROMs.... Its such a pity that I've got no other primary phone, so can't change my ROM everyday...... Would love to......!
[Android Software Development] timvdlinde:
I have GApps2 installed can I install GApps5 without full wipe, just cache en dalvik

Thanks
[Android Software Development] Nbsss:
That'll work but i don't think your /system will get any smaller, ie the files from v2 will still remain.

Probably need to wipe only system, reflash rom and flash gappsv5 - that should work without wiping your data - but do a backup just in case.

Or even better (and safer), do the following using root explorer:

-navigate to /system/app , delete GmsCore.apk

-navigate to /system/lib , delete "libfrsdk.so", "libgoogle_recognizer_jni.so", "libvorbisencoder.so"

Edit:

Just to let you guys know I'm busy this coming week and probably won't be on XDA - i'm not ignoring you :)

Will update slim-rom guide with roughly another 10megs i think, when i get back

PS try adding these lines to end of build.prop :)

ro.max.fling_velocity=19600

ro.min.fling_velocity=8000
[Android Software Development] timvdlinde:
Your THE man we need
[Android Software Development] Androidmarketuser:
WOW thats amazing :good:

The goal is nearly reached, let it fit into cm7r2 hboot :D

I'll start updating the script later that week, there are some things left in the ROM like music, development tools, sim toolkit and so on and I'll replace Camera by default maybe, if that has to be doen to make it fit in 145mb^^
[Android Software Development] alicarbovader:
Well, I never saw the SIM toolkit as closely to notice that it was even there :D
[Android Software Development] Pai Mei:
Is automated slim factory useful for vj's 5.4.1 rom which has gapps included in the ROM zip?

Thank you!
[Android Software Development] Nbsss:
Ok i'm back, downloading the latest evervolv now, expect something in about an hour...

All JB roms = automated slim factory

Any rom = guide

Edit 1: [MENTION=3083643]Androidmarketuser[/MENTION] I'll PM you the list of changes in a bit to add to the script, 13mb less, i'll test it in a sec & let you know the /system size. I'm Hopeful for cm7r2 :)

Edit 2: rom size is 147.2mb :/

might take a bit longer...

Edit 3: 144.36mb, should be ok :D
[Android Software Development] j00m:
I don't understand this.

1. open terminal

2. type su

3. ?????

---------- Post added at 11:04 AM ---------- Previous post was at 11:01 AM ----------

1|root@android:/ # a2sd install

a2sd install

Γ£û /sd-ext not mounted properly, it might have errors

Γ£û Block device doest exist: /dev/block/mmcblk0p2

Did you partiton your sdcard correctly??

Γ£û Aborting

1|root@android:/ #
[Android Software Development] Nbsss:
have you partitioned your sdcard?

See: http://xdaforums.com/showthread.php?t=2125513
[Android Software Development] Nbsss:
Changelog:

Delete offline google now:

"/system/usr/srec/config" (1.83mb)

Delete all tts:

Delete "system/tts/lang_pico" (1mb)

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)

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)

Biggest space gains though, were from moving "Gallery2.apk" (Camera & Gallery) & "LatinIME.apk" to /data/app - still works as a user app!

Updated post #2 & automated slim factory will be updated by [MENTION=3083643]Androidmarketuser[/MENTION] to make life easier for you :)
[Android Software Development] viditbhargava:
Amazing Stuff

Thanks a ton.

I have 'slimized' the Evervolv Nexus One Jellybean 4.2 release build and it is fantastic, using the Slim Machine.

Including GAPPS, the zip came out to about 98mb.

I have installed it on system partition of 175mb.

One question...when signing the zip, it gave me the error 'java is not recognized internal or external command'. I have java installed on my laptop. How to get around this?

Thanks a lot.
[Android Software Development] Pai Mei:
I also have problem with sign-em application: I put the new file zip created (called "New.zip") in the input folder, then I launch the sign-em app, it opens a window and press any key to start the program that suddenly close itself without creating anything in the output folder.

What I wrong?

Thanks!
[Android Software Development] Androidmarketuser:
Yes I'll do that, maybe today, maybe tomorrow ;)

Hmm, there are often problems with scripts/programs not recognising the java path, and there are also solutions which may work:

1. right-click computer -> properties -> advanced system settings -> environmental variables -> "Path" in system variables:

edit the path variable and add a semicolon (;) at the end of the line and paste your java path.

It should look like this: [...];C:\Program Files\Java\jdk1.6.0_21\bin

2. reinstall java

3. don't care about signing the zip (unsigned zips can be flashed, in 4ext recovery it is a default option)

Slim Factory isn't mainly for signing your rom, it is about slimming JB roms.

You put the ROM in the input folder run the script and the slimmed rom will be signed. You don't move anything during the process, at the end you should have two zips in output folder (signed and unsigned).

The sign-em.jar is used in the script and is only executed in the script. If you run it without any commands it won't do anything (and you don't need to run it manually)!
[Android Software Development] Androidmarketuser:
[MENTION=4788174]Nbsss[/MENTION]

Can you maybe update the gapps package to include Hangouts, the new Google Talk?
[Android Software Development] Nbsss:
Did you use 7-zip to compress the folder to zip format?

Good idea, will do tomorrow hopefully ;)

Edit: hmm..its a big file, 11.1mb - i might just upload the apk, and users can install it manually if they need it - that way it'll install into /data/app not /system/app
[Android Software Development] viditbhargava:
Thanks, option 1 worked. :cyclops:
[Android Software Development] Pai Mei:
My rom is JB! It's vj's 5.4.1 :)

However I solved the problem reinstalling java 64 bit on my pc although it was already installed.

It was a success and I'm using a slim version of vj's rom that fits in data++ hboot :)

Excellent guide!

Thank you!
[Android Software Development] j00m:
where to get latest Gallery and Music app? i can't find on Play Store.
[Android Software Development] Nbsss:
Why are you asking here?
[Android Software Development] j00m:
Sorry, Maybe wrong, but i can't find in your gapps
[Android Software Development] abaaaabbbb63:
Those are not gapps. They usually come with the rom.
[Android Software Development] Androidmarketuser:
Gallery2 is packed in every ROM, it includes Gallery and Camera. If you're using Slim FActory, have you maybe deleted Gallery2.apk?

Concerning Music, this is not included in Gapps, sometimes in Roms (in Evervolv it is the old Music2.apk).

In the update, which will be out today, music apps like music2 or apollo will be deleted from system, but I think I'll add Apollo to /data as most people listen to Music and Apollo is much better than Play Music from Google Play.

[MENTION=4788174]Nbsss[/MENTION]: You don't have change your Gapps package, I think I won't include Hangouts now, as not everyone likes it and it is updateable through Play Store (Talk, which is on /data will be replaced then).
[Android Software Development] Nbsss:
Hmm..yeah. Sorry for not getting back to your PM, i'm really not sure how the script should be adjusted to move apps to /data. I don't know if you can have a data folder in a rom? Making a flashable zip for /data seems like simplest solution to me. Anyhow, i'm sure you'll come up with something :)
[Android Software Development] MetinKale38:
I guess you have vjs cm10.1 with sense/stock hboot. It is trimmed from camera/gallery app, because most of the people are using 3rd party apos. Download quickpic for gallery and any camera (ics camera, canera 360...) of your fave from market

Tapatalked with my JellyBean powered HTC Desire
[Android Software Development] Androidmarketuser:
YEAH

I'm finally finished, took more time than I thought :/

So here is SlimFactoryV2, you should DEFINATELY update

Changes:

- more apps deleted

- updated according to [MENTION=4788174]Nbsss[/MENTION] updated guide

- some apps moved to /data

- updated NovaLauncher and Terminal Emulator

- Talk was removed

- EVERVOLV FITS IN CM7R2 :):):)

I'm sorry for removing Talk/Hangouts, but it is too large to stay in /system and after moving it to /data it didn't show up in the Launcher (permissions were alright)

You can install it (only the new Hangouts) through Google Play, or I'll give you a installable apk of Talk if you want.

For moving apps to /data I had to edit the updater-script to keep the process fully-automatic.

The updater-script tells the recovery what to do (for example to mount /system and extract folders). I added some lines at the end of it to mount /data and to extract /data/app. It should work with every rom, but I can't guarantee that. If you got an error during the installation please report that :)

BTW I definately recommend to install Evervolv, it is BLAZING FAST
[Android Software Development] Nbsss:
it'll be moved to "android development and hacking > android software development" (which is non-device specific) soon hopefully. I think there was a misunderstanding.
[Android Software Development] TonyStark R.I.P.:
Done:good:
[Android Software Development] GEKTHEBOSS:
Just a question!

What is voicesearchstub???
[Android Software Development] m3adow:
It doesn't for me. The newest Nightlies need around 147 MB I think. Is it because I integrated the slim GApps?

Furthermore the Nightlies 25.-28. are useless after your script (didn't test earlier builds) since the Evervolv settings crash when selected. Sadly I don't have time for a logcat since I need a working phone ASAP. Will try the 20. Nightlies now.
[Android Software Development] Lim Wee Huat:
Wow... This is a ROM slimming centre!
[Android Software Development] Nbsss:
I think it's the old google search app that was replaced by google now, i think it's still needed though for 'google now' to work after installing it from market.

I think only Androidmarketuser can help you with the script unfortunately...try the manual method in post #2, it should fit & not cause crashes & it's great fun doing it yourself :)
[Android Software Development] Wooaarr:
DroidSansFallback - PDF

Be careful when deleting DroidSansFallback, as some PDF files may be rendered as a black page :)

Regards

Wooaarr
[Android Software Development] m3adow:
I'll most likely do this today. The Evervolv settings even crash in some original nightlies, so i'll try to find a fairly stable one and manually slim it.
[Android Software Development] Androidmarketuser:
Sorry, forgot to mention it seperately, the Evervolv Settings refer to the EVToolbox and this app is deleted :P

It really fits, every version for me.

BUT you have to delete (nearly) everything, it takes up 143-144mb after that.

So everywhere yes concerning deletion + delete all tts languages (you propably don't need them anyway).

Otherwise I would recommend to use a different hboot, there are custom ones made by [MENTION=4577482]jmcclue[/MENTION] in the first post

PS: Greetings from Wiesbaden ;)

[MENTION=4663907]Wooaarr[/MENTION]: Hmm,never tested it, thanks for the hint.

I'll test it and maybe I let the user decide, but it needs some space unfortunately :/

So for me it is a little bit difficult to decide about how much the user should decide, I want it to be fast and easy, maybe I'll change some dialogues:

- Email+Exchange deleted by default, can be installed afterwards

- instead option for Evervolv settings

- adding an option to keep DroidSansFallback.ttf
[Android Software Development] SysGhost:
gapps not compatible...

Gapps version 5 and 7. is not compatible with FeraVolt's "Feralab JellyBean v2"(Sony Ericsson Xperia X10i) I didn't try the other versions, ut I suspect they will yield the same result.

When I use Play Store, I keep getting "No connection" with a retry button, even when the data connection fully works otherwise. Hitting retry doesn't work.

Once I flashed back the original, full size, "gapps for JB", Play Store works as intended again.
[Android Software Development] Nbsss:
I had that issue a while back when I first made v5, took me an hour to figure it out, I actually had no connection, there was an issue from the internet providers end lol.

If you have the time, confirm the internet is working on your phone's browser, do a full wipe, flash your rom, flash v5 gapps, wipe cache and dalvik and let us know how it goes. If that still doesn't work flash v2 over it and let me know if it works.

Thanks :thumbup:
[Android Software Development] rabies876:
Sir, I must say thank for the education.

How, I followed your guide the only issue I have is the keyboard.

Thanks again.
[Android Software Development] casonswag:
This includes the new playstore correct?
[Android Software Development] Nbsss:
Will update to the latest version of play store today, in v8 gapps. After uni :)
[Android Software Development] Nbsss:
I'll try troubleshooting for ya.

Did you move the keyboard to /data/app on your pc or just placed in /system/app? Did you copy paste the lib file to the right place?
[Android Software Development] rabies876:
Yes, Sir.

Tried four things.
[Android Software Development] Nbsss:
Yes - as in you did the changes all on windows and not with an android file manager?

Could you describe what exactly is wrong with the keyboard ie does it not show at all? doesn't recognise input?

Maybe you need to select the keyboard manually under "language & input".

Check do you have the correct permissions?

This is an English only keyboard by the way.

There's not much more i can think of unfortunately....

Anyhow......v8 is ready as promised! Includes latest 4.1.10 play store (an update from 4.1.6 that fixes battery drain issue on some devices).

Get it from post #1 :)
[Android Software Development] Nbsss:
Hmm... I can confirm this issue, but I've also solved it. :)

It happens when flashing the gapps over an old rom install ie if you don't flash the rom and gapps together after full wipe and then wipe cache.

To solve, you can either reflash rom and gapps together...

Or with a root explorer, go to /etc and delete the 'hosts' file & unplug and reconnect your internet router.

Its not an issue with your particular rom :)
[Android Software Development] Nbsss:
New gapps version 9.

I'm 90% sure this will be the final version.

Offline google now files removed.

Other useless apks removed.

Google talk removed - download hangouts from play store.

Will update OP later after i've tested & i get some feedback from you guys, for now here's the link:

This one's 8mb ;)

http://d-h.st/qGQ
[Android Software Development] TimHermans:
Thanks a lot for your hard work..!!

Greetz
[Android Software Development] Lim Wee Huat:
Downloading and testing it now...

Edit: it's working good... Flashed on 3 devices.
[Android Software Development] Nbsss:
Thanks mate appreciated! :thumbup:
[Android Software Development] CanYouSmell:
The black bar

i have a htc chacha and after flashing the normal gapps the black bar appeared at the rignt side of screen but it has some issues i reinstalled but it has gone. anyway to bring it back
[Android Software Development] Pai Mei:
I would remove calendar app from my rom (VJ's CM 10.1 version 5.4.1.) in order to install the Google Calendar from the playstore.

In /system folder I have 3 files that contain the word "Calendar":

- Calendar.apk

- CalendarProvider.apk

- GoogleCalendarSyncAdapter.apk

In your guide, you indicate only "Calendar.apk" to remove...so I'm asking you: can I remove all these files?

Thank you!
[Android Software Development] abaaaabbbb63:
CalendarProvider.apk and GoogleCalendarSyncAdapter.apk both help with calendar syncing. Syncing any calendar with your google accound won't work without them. So no, don't delete them.
[Android Software Development] Nbsss:
Not sure what you mean.

You want a black bar on the right...

What does this black bar do?
[Android Software Development] CanYouSmell:
That "black bar" has the back and home and recent apps buttons :rolleyes:
[Android Software Development] Nbsss:
Lol you mean the navigation bar

And its on your right, because you're holding your phone in landscape, so that it's on your right side? :)

Which android version are you on? this is for 4.2.X only.

And check for me if the status bar works properly.

In terms of fixing it...you could try reflashing the rom zip. then the gapps zip straight after without leaving recovery, then wiping cache/dalvik, and reboot. always do a backup 1st though
[Android Software Development] CanYouSmell:
YES

the navigation bar yes . since i have chacha which is mainly landscape so it is on the right but the status bar works perfectly and i am on CM10.1

which is android 4.2.2 ? about reflashing . pal i did that more times that i cant remember them all
[Android Software Development] Nbsss:
that's really odd...is the md5 of the gapps correct? did you try re-flashing the entire ROM not just the gapps? which version of gapps did you use. sorry i can't be of anymore help :(
[Android Software Development] CanYouSmell:
??

i excuse you this is a weird problem i flashed the whole normal gapps to get the whole apps the v2 and i flashed the entire rom each time
[Android Software Development] Nbsss:
I have a feeling it may be that you have insufficient space in /system for the gapps. Please try wipe system, reflash rom & flash v9 gapps, then wipe dalvik + cache, then check system space in recovery, then reboot and see if it works, then report back. If still doesn't work, try following:

Hope you're patient :)

1) Wipe everything

2) Flash rom without gapps

3) Wipe cache + dalvik

4) Reboot

5) Check if nav bar is working

6) If nav bar is working, reboot recovery, flash v9 gapps

7) wipe cache + dalvik

8) reboot

9) please work :P
[Android Software Development] CanYouSmell:
WAIT

i will try and give you the feed back in an hour
[Android Software Development] Nbsss:
cool, i'm going to bed, hope it works out for you, its the only solution i can think of, goodnight :)
[Android Software Development] CanYouSmell:
Very sorry i have some issues with my chacha and i flashed an ruu and i need at least a day to reunlock my bootloader but i won't forget. a couple of days and you will see me again just don't forget me
[Android Software Development] Nbsss:
Lol I won't forget the chacha man :cool:
[Android Software Development] Nbsss:
[MENTION=3083643]Androidmarketuser[/MENTION]

I just compared a manual slimmed rom with the automated version, there are some differences.

Could you move the slim latinime.apk to /data/app

Delete email.apk from /system/app

Provide the option to delete droidsansfallback from fonts - just warn that some pdf's will blank (never happened to me yet though)

Delete "LivewallpapersPicker.apk" from /system/app

If you could add those changes to an upcoming V3, it would be awesome mate, cheers :)
[Android Software Development] m3adow:
Could you provide a list of unneccessary files you removed from the original gApps? I want to use a VJ-ROM which has integrated GApps, so I have to manually remove unneeded files.

Thanks in advance.
[Android Software Development] Pai Mei:
I'm using VJ's ROM (5.4.1) and I slimmed it following the post #2 of this guide!

It's amazing, try it !
[Android Software Development] m3adow:
I used 6.2 on stock hboot and now want to use less system space for 6.3. I still want to slim down the integrated gapps.
[Android Software Development] Nbsss:
You got my PM bro?

Edit: lol i should've checked my inbox before posting :P

Edit2: i whipped up a different guide on Nikez's forum, if u guys want to check it out: http://forum.nikez.nu/viewtopic.php?f=9&t=78
[Android Software Development] CanYouSmell:
BACK

The ChaCha MaN is baack on the grid and testing :victory:

---------- Post added at 02:17 PM ---------- Previous post was at 01:41 PM ----------

I am sorry to tell you that it didn't work :crying: i have done everything you have told me but it isn't my fate to have a nav bar on my chacha
[Android Software Development] Nbsss:
I

Can you check how much space you have in /system and let me know? Thanks

Was it working in step 5?
[Android Software Development] Androidmarketuser:
Yes, as you can see I already promised that, but I couldn't find the time to do this yet, maybe today or tomorrow :)
[Android Software Development] CanYouSmell:
it didn't work on any step and there is 32 megas
[Android Software Development] Nbsss:
Oh sorry, i missed that part :p

take your time though, there's no hurry!
[Android Software Development] Nbsss:
So the problem happens before you flash the gapps?

Check the thread you got your ROM from to see if its a known bug, ortherwise it might be a bad ROM download - redownload and try again.
[Android Software Development] CanYouSmell:
i will give it a try
[Android Software Development] Androidmarketuser:
[UPDATE] SlimFactory V3

GET IT NOW

You will get ~5mb more free space by deleting DroidSansFallback.ttf

Here is the changelog:

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!)
[Android Software Development] Androidmarketuser:
Something I forgot to mention:

IF YOU DELETE RINGTONES ETC. CHECK THAT THE REMAINING ONE IS SELECTED IN AUDIO SETTINGS!
[Android Software Development] CanYouSmell:
THE ChaCha MAN figured out that the nav bar is an option in the rom . sorry for disturbtion
[Android Software Development] Nbsss:
That's funny, glad you figured it out
[Android Software Development] CanYouSmell:
Thanks for your care about my problem . if you want any thing about the chacha i will be in serve
[Android Software Development] TimHermans:
I usually edit existing lines in the build.prop file, easy and automatically define ringtone for call, notif. and alarm.. They are near the end of the file if I remember correctly..

Greetz
[Android Software Development] jejer:
Could you include "weather & news" app? I can't find it in Google Play.