5,596,637 Members 41,901 Now Online
XDA Developers Android and Mobile Development Forum

Not enough space in system/app folder - Nexus 7 WiFi 2012

Tip us?
 
jazzespresso
Old
#1  
jazzespresso's Avatar
Senior Member - OP
Thanks Meter 191
Posts: 719
Join Date: Jul 2012
Location: New York City
Default Not enough space in system/app folder - Nexus 7 WiFi 2012

I am really hoping that someone can help me here:
I am on Stock 4.4.2 (did clean install all that good stuff), rooted. A few days ago, I was trying to copy one of ported app to system/app folder (the ported app only works in system/app), i was welcome with message that says system/app folder has only 12MB free space (the app I am copying is 20mb)..
I have been searching here in XDA forums, but could not find a definite answer or instructions to increase system/app partition. Some suggested to convert all odexed system apps to deodexed system apps, some suggested move some of apps out of system app folder, and install it as normal apps...
i do appreciate if any of you can give some feedbacks, suggestions, or easy way to resolve this.

bunch of thanks in advance, and merry Christmas to you all!!
================================================== =
  • Nexus 7 WiFi (1st gen) - Pure Stock ROM 4.4.2
  • Galaxy Note 3 - AT&T, Stock ROM 4.4.2
  • Galaxy Tab 2 7 - GT-P3113 - 4.4.2 - Official SlimKat ROM
  • Galaxy Note 8.0 - GT-N5110 - CivZ-FLEX-BEAM-REV3.6 ROM
================================================== =
 
bftb0
Old
#2  
Senior Member
Thanks Meter 774
Posts: 2,120
Join Date: Feb 2010
There are no methods "in the wild" to alter N7 partitioning. No doubt it could be done with "nvflash" if we had Nvidia/Asus private keys, but I wouldn't hold your breath waiting for that to happen.

Also, you could manually re-create the /system ext4 filesystem by hand (e.g. using mke2fs under TWRP) to tweak certain options to alter the ext4 overhead, but I really doubt you will gain much from doing that. You would also need to make sure that your recovery performed /system wipes thereafter using "rm -rf" instead of re-creating the ext4 filesystem... otherwise those changes wouldn't persist across ROM flashes or Nandroid restores)

I have a CM 10.2 ROM on my device right now, and "df" (terminal emulator or "adb shell df") reports 655,104 1k blocks in total file system size, with 414,168 used (63%).

OTOH, I have a KOT49H nandroid backup, and I see that the TWRP "system.ext4.win" backup file is 600+ Mb... so apparently the newest (KOT49H = 4.4.2) Factory ROM from Google is a bit of a pig.

(The TWRP archives are just tarballs, and mine are not compressed, so they *approximately* reflect disk usage when installed into a ext4 filesystem. I was too lazy to restore KOT49H to see how much actual space it would take up)

I think the suggestions you have stated are really your best options.

start taking a look in /system/app and /system/priv-app to see what is taking up all the space, and start getting rid of stuff (apps you don't use). Or perhaps move some system apps to /data/app**

Here's the "top 40" usage from KOT49H in /system:

Code:
-rw-r--r-- root/root  35440244 2013-11-28 01:27:33 lib/libchromeview.so
-rw-r--r-- root/root  25124722 2013-12-11 00:02:23 app/PlusOne.apk
-rw-r--r-- root/root  19674996 2013-12-11 00:04:06 lib/libwebviewchromium.so
-rw-r--r-- root/root  19032528 2008-08-01 05:00:00 usr/icu/icudt51l.dat
-rw-r--r-- root/root  15826119 2013-12-11 00:05:05 priv-app/Velvet.apk
-rw-r--r-- root/root  15557503 2013-12-11 00:01:39 app/LatinImeGoogle.apk
-rw-r--r-- root/root  12919557 2013-12-11 00:02:38 app/QuickOffice.apk
-rw-r--r-- root/root  12296345 2013-12-11 00:04:27 priv-app/Launcher2.apk
-rw-r--r-- root/root  11981284 2008-08-01 05:00:00 vendor/pittpatt/models/recognition/face.face.y0-y0-22-b-N.bin
-rw-r--r-- root/root  11768578 2013-12-11 00:03:11 framework/framework-res.apk
-rw-r--r-- root/root  10903908 2013-12-11 00:01:32 app/Hangouts.apk
-rw-r--r-- root/root  10714004 2013-12-11 00:03:35 lib/libearthmobile.so
-rw-r--r-- root/root  10659152 2013-07-29 23:59:34 usr/srec/en-US/rescoring_lm
-rw-r--r-- root/root  10641384 2013-12-11 00:03:44 lib/libgoogle_recognizer_jni_l.so
-rw-r--r-- root/root  10417331 2013-11-28 01:25:04 app/Chrome.apk
-rw-r--r-- root/root   9740321 2013-12-11 00:04:45 priv-app/Settings.apk
-rw-r--r-- root/root   9528752 2013-12-11 00:03:15 framework/framework.odex
-rw-r--r-- root/root   8513051 2013-12-11 00:01:02 app/GalleryGoogle.apk
-rw-r--r-- root/root   8493004 2013-12-11 00:03:23 lib/libLLVM.so
-rw-r--r-- root/root   8333828 2013-07-29 23:56:15 app/GooglePinyinIME.apk
-rw-r--r-- root/root   8111070 2013-12-11 00:04:41 priv-app/PrebuiltGmsCore.apk
-rw-r--r-- root/root   7979409 2008-08-01 05:00:00 priv-app/Wallet.apk
-rw-r--r-- root/root   7531998 2013-12-11 02:00:42 app/YouTube.apk
-rw-r--r-- root/root   7455155 2013-12-11 02:00:42 app/Maps.apk
-rw-r--r-- root/root   7383526 2013-12-11 00:01:21 app/GoogleTTS.apk
-rw-r--r-- root/root   7370099 2013-12-11 00:02:03 app/Music2.apk
-rw-r--r-- root/root   7170651 2013-12-11 00:00:55 app/Drive.apk
-rw-r--r-- root/root   6150752 2013-11-28 01:25:56 app/Magazines.apk
-rw-r--r-- root/root   6126834 2008-08-01 05:00:00 priv-app/Phonesky.apk
-rw-r--r-- root/root   6023439 2012-11-19 16:55:46 lib/libnjubase2.so
-rw-r--r-- root/root   5519762 2013-11-28 01:24:38 app/Books.apk
-rw-r--r-- root/root   5461064 2013-11-28 01:25:34 app/GoogleHindiIME.apk
-rw-r--r-- root/root   5401442 2013-11-28 01:25:10 app/Currents.apk
-rw-r--r-- root/root   4874800 2013-12-11 00:04:01 lib/libvideochat_jni.so
-rw-r--r-- root/root   4543143 2013-12-11 00:01:08 app/GoogleCamera.apk
-rw-r--r-- root/root   4529044 2012-11-19 16:55:46 fonts/DroidSansFallback.ttf
-rw-r--r-- root/root   4431628 2013-12-11 00:03:57 lib/libpatts_engine_jni_api.so
-rw-r--r-- root/root   4353896 2013-12-11 00:00:58 app/EmailGoogle.odex
-rw-r--r-- root/root   3932520 2013-12-11 00:03:47 lib/libgtalk_jni.so
-rw-r--r-- root/root   3837744 2013-12-11 00:01:19 app/GoogleEarth.apk

** YMMV. I understand that - for reasons that I don't understand - that certain Android system apps can't be installed correctly as user (/market) apps. I don't know what the details are, but it seems to me that some apps (e.g. Maps? Chrome? ) run fine well when installed on CM without the use of "gapps" installs.

If you are manually removing system apps, be sure to clean the corresponding entries from /cache/dalvik-cache, /data/data and /data/app-lib.

good luck.
"I'm gonna start coding placebo apps. That way I will be sure that the complaints are real and the praises hollow."
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes