[Q] After installing 5.1, I have no free /system space - Nexus 5 Q&A, Help & Troubleshooting

Is this a normal thing, that after installing 5.1 I have no free space, I found this the case after attempting to install both xposed for 5.1 and trying to install busybox. Both fail.
Other then uninstalling applications, is there a way to free up space in /system?
What is the reasoning behind the 0 Free space of system partition?

slixzen said:
Is this a normal thing, that after installing 5.1 I have no free space, I found this the case after attempting to install both xposed for 5.1 and trying to install busybox. Both fail.
Other then uninstalling applications, is there a way to free up space in /system?
What is the reasoning behind the 0 Free space of system partition?
Click to expand...
Click to collapse
No. System partition is full and that's it. System partition is 1.05 GB and system.img of 5.1 simply take all of that space.

slixzen said:
What is the reasoning behind the 0 Free space of system partition?
Click to expand...
Click to collapse
Security.

Something's wrong here most apps don't get installed to the system partition
Sent from my Nexus 5 using Tapatalk

ldubs said:
Something's wrong here most apps don't get installed to the system partition
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
...
slixzen said:
install both xposed for 5.1 and trying to install busybox.
Click to expand...
Click to collapse

ldubs said:
Something's wrong here most apps don't get installed to the system partition
Click to expand...
Click to collapse
Yeah. http://forum.xda-developers.com/google-nexus-5/help/5-1-0-integrating-rom-t3051105

I have a script to wipe the Google bloat from /system and I know Vomer has CleanRom. I linked it in another thread a few days ago, if you can't find it PM me and I'll give you a link. I would just put the link here but on mobile.

Aerowinder said:
I have a script to wipe the Google bloat from /system and I know Vomer has CleanRom. I linked it in another thread a few days ago, if you can't find it PM me and I'll give you a link. I would just put the link here but on mobile.
Click to expand...
Click to collapse
It's not problem to remove any of system apps, you can do it with TiB or Root explorer.

zagorteney said:
It's not problem to remove any of system apps, you can do it with TiB or Root explorer.
Click to expand...
Click to collapse
Sure you can. It's just slow. And you have to do it every time Android updates, or you flash a stock-based ROM.

Related

[DEV] Removing System Apps

Ok I bought a Sim Free Desire HD so its completely stock, straight from HTC.
However its got some stuff I would quite like to remove such as Amazon MP3, Peep, News, Stocks, Transfer Data and Teeter, however these are locked down.
I have tried to remove them using adb however it says I do not have permission as the system is read only.
My device is rooted using VISIONary.
Here's the commands i've been running.
@adb shell rm /system/app/amazonmp3
Which should work, but I get this error
rm failed for /system/app/amazonmp3.apk, Read-only file system
Now, I thought root gave us these permissions?
This root method doesn't give full access. Read the thread
Sent from my Desire HD using XDA App
xmoo said:
This root method doesn't give full access. Read the thread
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Yeah I figured that. Just trying to see if there is a way
you cant remove them .... but u can disable em by :-
1) find the process neme by running in ADB shell or terminal app
pm list packages
Click to expand...
Click to collapse
eg. amozon mp3 is com.amazon.mp3
2) then diable it by running
pm disable com.amazon.mp3
Click to expand...
Click to collapse
and then reboot your phone or just restart the launcher :-D
we need full access to our phones!
S-OFF in these hours would be a hand on the wheel ...!
=]
one day who knows ...!!!
Evostance said:
Ok I bought a Sim Free Desire HD so its completely stock, straight from HTC.
However its got some stuff I would quite like to remove such as Amazon MP3, Peep, News, Stocks, Transfer Data and Teeter, however these are locked down.
I have tried to remove them using adb however it says I do not have permission as the system is read only.
My device is rooted using VISIONary.
Click to expand...
Click to collapse
until we don't have a full root this action is impossible. Disabling apps works only
jankos said:
until we don't have a full root this action is impossible. Disabling apps works only
Click to expand...
Click to collapse
http://android.modaco.com/content/t...m/322030/03-nov-r2-g2-google-goggles-remover/
the last version of titanium backup is able to totally remove system and/or preinstalled apps, like amazonmp3 etc. tried it and it worked for me, after two reboots the app is completely gone!
all of the above "hacks" didn't work for me (although i am temp rooted with visionary and used the "su" command), but titanium backup did the trick!
version: 3.5.7.3
click and hold on the app, choose "force remove app (by recovery exploit)"
TML1504 said:
the last version of titanium backup is able to totally remove system and/or preinstalled apps, like amazonmp3 etc. tried it and it worked for me, after two reboots the app is completely gone!
all of the above "hacks" didn't work for me (although i am temp rooted with visionary and used the "su" command), but titanium backup did the trick!
version: 3.5.7.3
click and hold on the app, choose "force remove app (by recovery exploit)"
Click to expand...
Click to collapse
Thank you very much , worked for me too !!
Beware, you won't be able to install future OTAs if you delete stock apps.
Eddie1506 said:
Beware, you won't be able to install future OTAs if you delete stock apps.
Click to expand...
Click to collapse
may i ask why? some sort of checksum??
Yes, you will have to flash the stock rom first.
michal_banszel said:
Yes, you will have to flash the stock rom first.
Click to expand...
Click to collapse
thx, do we really have to reflash a stock rom or would it be enough to just hard reset?
Reflash is required.
michal_banszel said:
Reflash is required.
Click to expand...
Click to collapse
Ur sure about that !?? and how do we reflash the stock rom ??
erdinc said:
Ur sure about that !?? and how do we reflash the stock rom ??
Click to expand...
Click to collapse
eh, I'm sure. Read the forum to know how to flash stock rom.
TML1504 said:
may i ask why? some sort of checksum??
Click to expand...
Click to collapse
If the OTA patches any of the apps you removed, the update script will check for that file and will fail when it can't find it.
michal_banszel said:
eh, I'm sure. Read the forum to know how to flash stock rom.
Click to expand...
Click to collapse
I did read it ! managed to create a '' rom.zip'' renamed it , put it on my SDcard . tried power + volumebutton ... but I need Hboot and can't find it anywhere ! can you point me to the right direction ??
now that I have permanent root, what should I do to be able to remount the system?

[GAPPS] Android 4.3 | CM10.2 |

GAPPS FOR ANDROID 4.3 ARMV6 DEVICES​
INTRODUCTION:
As some people had problems with Android 4.3 GApps and the space left on our phone I created an special GApps. This will be installed in /cache. This means that the GApps won't be installed in /system so you had more space on your device.
INFORMATION:
After install GApps, don't wipe cache unless needed, if you wipe cache you need to re-install GApps.
HOW TO INSTALL:
Flash Android 4.3 ROM
Reboot an configure it
Install GApps
Reboot and Enjoy!
DOWNLOAD:
Download Android 4.3 GApps | Light
CREDITS:
[*] Rashed97
Thank you. Always you are there to help us. We are proud of you.
Sent from my LG-P500 using xda app-developers app
tanks bro...i0m gonna try it right now.....only one question....i always use int2ext+...i have to installa gapps after int2ext or normal way(rom->gapps->int2ext+) tanks for your work
magicreal said:
tanks bro...i0m gonna try it right now.....only one question....i always use int2ext+...i have to installa gapps after int2ext or normal way(rom->gapps->int2ext+) tanks for your work
Click to expand...
Click to collapse
You can install it in normal way :highfive:
This means the low space prob should be bypassed if these gapps are used
OT : Ever thought of applying for recognised developer user title ?
Sent from my GT-I9082 using xda-premium
[Offtopic] Recognized Contriburor should be applied to you. [/Offtopic]
akiratoriyama said:
This means the low space prob should be bypassed if these gapps are used
OT : Ever thought of applying for recognised developer user title ?
Sent from my GT-I9082 using xda-premium
Click to expand...
Click to collapse
Kevinjoa said:
[Offtopic] Recognized Contriburor should be applied to you. [/Offtopic]
Click to expand...
Click to collapse
Thanks guys :highfive:
@_MarcoMarinho_
Hey, you did it. I guess I missed this one too. Thank you so much. Tu estas un dev.
Edit: Ok, there is 71mb in (uncompressed) in the cache folder of the zip, so I guess that it will still require some trimming. But comparing it to other gapps packages, I think that this will be fairly easy to do. Again... muchas gracias mi hermano. Tu estas el primo.
sent from the p509 that I thought I killed again... no trouble at all
Ok, I've successfully installed this with cm10.2. Took out gnow and a few unnecessary libs. Also copied Googletts.apk and libpatts_engine_jni_api.so to /system (fc issue). Rebooted, and it's all still there. Beautiful... just beautiful.:beer:
Sent from my LG-P500 using xda app-developers app
Nice!
It is possible to install them on /data partition instead of /cache.
Just arguing installing int2ext+ script directly on the rom (like i'm used to do) and then install gapps on data will save more space and we can wipe cache!
uf0999 said:
Nice!
It is possible to install them on /data partition instead of /cache.
Just arguing installing int2ext+ script directly on the rom (like i'm used to do) and then install gapps on data will save more space and we can wipe cache!
Click to expand...
Click to collapse
I believe that would require changing the mount statement and all of the symlinks in the updater script. Then your script would symlink gapps again, from /data/app to sd-ext. Double linking. I prefer the /cache method. It's hard enough to fit all my user apps in /data, even with link2sd, or some script. I noticed that somehow the /cache/dalvik-cache folder is empty. And the only other subfolder of /cache that seems to contain anything is recovery (log, 16kb). I just don't see anything that would need to be wiped.
Sent from my LG-P500 using xda app-developers app
[Noob][Q] Link2sd and wiping cache?
I would like to flash this /cache gapps.
Just two questions that I am not sure about what can happen:
- Can I use link2sd to link whatever apps to /sd-ext? Will it leave the gapps in /cache in place untouched or in some way link2sd interfere with it?
- Is the /cache partition used the same that will be used for app caching? What happens if I clear cache by mistake? That is, from recovery, or from any app that has "clear cache" option (e.g. link2sd, Titanium Backup etc etc)? Will I have to reinstall gapps, or it's a separate /cache partition?
Awesome idea, the low storage in p500 sucks...
Individual app caches are largely stored in /data/data/, so for clearing browser cache (big one) will have no effect on /cache partition. Link2sd will also not effect gapps (which have usually been installed to /system in the past). It will only link user apps (/data/app/) , or system apps that have been converted to user apps. Yes, wiping /cache from recovery will effectively uninstall gapps. But with this installation I haven't found ANYTHING in /cache that would need to be wiped.
sent from the p509 that I thought I killed again... no trouble at all
After installing these gapps, the only working buttons are power and home and latinime FC's!( I removed libcomm-jni.so and gtalk libs)
Sent from my LG-P500 using xda app-developers app
Yeah, I had fc also. But Latinime is not in gapps. It's in the rom. I previously had a problem with one of rashed's gapps packages, which installed an incompatible libjni_latinime.so. But this package doesn't do that. I fixed this by installing a trimmed version as a user app, and it's lib into /system/lib. Buttons? Don't know. But I did take latinime.apk (23mb) out of /system. So possibly it's a space problem.
sent from the p509 that I thought I killed again... no trouble at all
@borchaniz
Well... I was wrong about latinime. It is the gapps. Specifically, the symlinks in the updater script. Two symlinks (libjni_latinime.so and libjni_latinimegoogle.so) are written to /system/lib/ overwriting the former. But these libs do not exist in /cache/gapps/lib/. So either edit updater script, to remove those symlinks, or copy libjni_latinime.so to the zip before flashing. Still don't know about buttons yet.
sent from the p509 that I thought I killed again... no trouble at all
ibub said:
@borchaniz
Well... I was wrong about latinime. It is the gapps. Specifically, the symlinks in the updater script. Two symlinks (libjni_latinime.so and libjni_latinimegoogle.so) are written to /system/lib/ overwriting the former. But these libs do not exist in /cache/gapps/lib/. So either edit updater script, to remove those symlinks, or copy libjni_latinime.so to the zip before flashing. Still don't know about buttons yet.
sent from the p509 that I thought I killed again... no trouble at all
Click to expand...
Click to collapse
Thx I'll try this later
Sent from my LG-P500 using xda app-developers app
ibub said:
@borchaniz
Well... I was wrong about latinime. It is the gapps. Specifically, the symlinks in the updater script. Two symlinks (libjni_latinime.so and libjni_latinimegoogle.so) are written to /system/lib/ overwriting the former. But these libs do not exist in /cache/gapps/lib/. So either edit updater script, to remove those symlinks, or copy libjni_latinime.so to the zip before flashing. Still don't know about buttons yet.
sent from the p509 that I thought I killed again... no trouble at all
Click to expand...
Click to collapse
I got same problem- performed full wipe, then flashed rom (cm10.2 from Rashed's thread: and gapps following instructions in op.
Then got the problem with buttons not functioning and keyboard either fc or not showing at all.
So, I flashed rom again, this time with mini gapps by Rahulsby and everything works fine.
However, I prefer of course to have gapps linked to /cache so I hope we manage to nail what's causing the problem..
Sent from my GT-I9000 using Tapatalk 4
Yeah, something that I did during my previous installation allowed my buttons to work correctly. But I haven't had the time yet to go back and research everything that I did. It could be system space, as the gapps does write a little bit to /system. Or it could be another symlinked lib. But we will find the cause. Just need a little time...
sent from the p509 that I thought I killed again... no trouble at all
ibub said:
Yeah, something that I did during my previous installation allowed my buttons to work correctly. But I haven't had the time yet to go back and research everything that I did. It could be system space, as the gapps does write a little bit to /system. Or it could be another symlinked lib. But we will find the cause. Just need a little time...
sent from the p509 that I thought I killed again... no trouble at all
Click to expand...
Click to collapse
The problem is fixed for me thx a lot(button problem is fixed too) I just verified all symlinks one by one and made sure their apps and libs exist and now everything is OK!
Sent from my LG-P500 using xda app-developers app

[Q] TWRP shows 0 MB Internal storage, cannot mount Data

My Nexus 5 is running Cyanogenmod 11 and seems to be working just fine. However, when I get a prompt to install a Cyanogenmod update, the phone reboots to recovery, attempts to install the update, and fails. I have found that this seems to be caused TWRP showing 0 MB internal storage and not being able to mount Data. Again, the phone works fine except for this weirdness.
I should also add that it does strange things after I reboot from recovery. First, the Phone app continually stopped, then was fine a while after. Then Google Play Services was constantly crashing, so I uninstalled the updates and it started working. And finally, Cyanogenmod gave the initial setup screen the last time I rebooted from recovery, though it only went through language and time zone.
As a final note, I don't really know a whole lot about Android in terms of the more advanced things, so try to keep any suggestions relatively noob friendly. Thanks.
Please can you open the zip you're flashing and get the updater-script from meta-inf/com/Google/android, rename to a .txt file and upload here?
I think cm updates are using wrong /sdcard location.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Please can you open the zip you're flashing and get the updater-script from meta-inf/com/Google/android, rename to a .txt file and upload here?
I think cm updates are using wrong /sdcard location.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
There ya go.
windoge said:
There ya go.
Click to expand...
Click to collapse
Thanks.
That looks fine actually...
What's the actual error message you get? Are there any logs in /cache/recovery?
restorecon sdcard
su
restorecon -rF /data/media/0
rootSU said:
Thanks.
That looks fine actually...
What's the actual error message you get? Are there any logs in /cache/recovery?
Click to expand...
Click to collapse
Here's a log.
Should also mention that, since posting this thread, the details of the issue seem to have changed. TWRP now shows the proper amount of space rather than 0MB and is able to mount all partitions. At this point, installing the update just fails for some reason.
hrbwaxdoll said:
su
restorecon -rF /data/media/0
Click to expand...
Click to collapse
Not sure what to do with that. Terminal editor? TWRP?
windoge said:
Here's a log.
Should also mention that, since posting this thread, the details of the issue seem to have changed. TWRP now shows the proper amount of space rather than 0MB and is able to mount all partitions. At this point, installing the update just fails for some reason.
Not sure what to do with that. Terminal editor? TWRP?
Click to expand...
Click to collapse
Download the zip and dirty flash it. Skip the updater
http://download.cyanogenmod.org/?device=hammerhead
Sent from my Nexus 5 using XDA Free mobile app
windoge said:
Here's a log.
Should also mention that, since posting this thread, the details of the issue seem to have changed. TWRP now shows the proper amount of space rather than 0MB and is able to mount all partitions. At this point, installing the update just fails for some reason.
Not sure what to do with that. Terminal editor? TWRP?
Click to expand...
Click to collapse
Download the zip and dirty flash it in recovery. Skip the updater
http://download.cyanogenmod.org/?device=hammerhead
Sent from my Nexus 5 using XDA Free mobile app
windoge said:
Here's a log.
Should also mention that, since posting this thread, the details of the issue seem to have changed. TWRP now shows the proper amount of space rather than 0MB and is able to mount all partitions. At this point, installing the update just fails for some reason.
Not sure what to do with that. Terminal editor? TWRP?
Click to expand...
Click to collapse
Download the zip and dirty flash it in recovery. Skip the updater
http://download.cyanogenmod.org/?device=hammerhead
Sent from my Nexus 5 using XDA Free mobile app
windoge said:
Here's a log.
Should also mention that, since posting this thread, the details of the issue seem to have changed. TWRP now shows the proper amount of space rather than 0MB and is able to mount all partitions. At this point, installing the update just fails for some reason.
Not sure what to do with that. Terminal editor? TWRP?
Click to expand...
Click to collapse
Download the zip and flash it in recovery. Skip the updater http://download.cyanogenmod.org/?device=hammerhead
Sent from my Nexus 5 using XDA Free mobile app
---------- Post added at 06:20 PM ---------- Previous post was at 06:19 PM ----------
Wtf?
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Download the zip and dirty flash it. Skip the updater
http://download.cyanogenmod.org/?device=hammerhead
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Still doesn't work, causes same problem.
Also, here's the error message:
Code:
assert failed: apply_patch_check("/system/priv-app/SystemUI.apk","db0ed1023cv7e3ef6b1a02beab40a3042e078b68","78af477050e20251e9f5eebb39bf57b68ca8ad74")
E:Error executing updater binary in zip '/cache/cm-hammerhead-1f023a4eca-to-a3225bddbd-signed.zip'
Updating partition details...
windoge said:
Still doesn't work, causes same problem.
Also, here's the error message:
Code:
assert failed: apply_patch_check("/system/priv-app/SystemUI.apk","db0ed1023cv7e3ef6b1a02beab40a3042e078b68","78af477050e20251e9f5eebb39bf57b68ca8ad74")
E:Error executing updater binary in zip '/cache/cm-hammerhead-1f023a4eca-to-a3225bddbd-signed.zip'
Updating partition details...
Click to expand...
Click to collapse
Are you using the latest version of twrp?
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Are you using the latest version of twrp?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Must be. I just reinstalled it and get the same error.
windoge said:
Must be. I just reinstalled it and get the same error.
Click to expand...
Click to collapse
I got the same error in my Samsung Galaxy S3. Either TWRP 2.8.1.0 or 2.6.3.1 didn't work. It may be some securities don't allow to read storage.
I got my phone rooted by towelroot and install TWRP using Flashify.
same problem
I have j710F with stock android 6.0.1,I flashed twrp two but when i booted into recovery I was facing the problem of 0 mb internal storage so I formatted the data and the problem was fixed but when I rebooted my phone into system and made the whole setup again and after that I again booted into recovery the problem was again the same so i again repeated the whole process and the result is same....
I wamt to flash a custom rom but couldn't due to this problem can anybody help me?

Resize the system partition?

I am running a stock image on my N5 with root and need to add an apk into the system partition but the problem is that I have only 4mb left on there and the apk does not fit. Is it possible to resize the partitions and:
Still keep your data
and/or
Allow for OTA installations down the road?
Short answer is no. And you certainly can't do it without wiping everything else. Repartitioning Android partitions is not for the faint of heart. It takes a lot of knowledge and can easily brick your device.
Sent from my Nexus 9 using XDA Free mobile app
psychephylax said:
I am running a stock image on my N5 with root and need to add an apk into the system partition but the problem is that I have only 4mb left on there and the apk does not fit. Is it possible to resize the partitions and:
Still keep your data
and/or
Allow for OTA installations down the road?
Click to expand...
Click to collapse
Why don't you just simply delete some unused pre-installed apps from /system?
xnormskix said:
Why don't you just simply delete some unused pre-installed apps from /system?
Click to expand...
Click to collapse
He will need to revert changes in order to run the OTA process.
Sent from my Nexus 5 using Tapatalk
Plus, with a nexus image there really isn't much stuff to delete as there is on a carrier image
Sent from my Nexus 7 using Tapatalk
What i am really trying to do is get the droid circle widget working which should live in priv-app in system. I wonder if I can symlink from the user data partition
psychephylax said:
What i am really trying to do is get the droid circle widget working which should live in priv-app in system. I wonder if I can symlink from the user data partition
Click to expand...
Click to collapse
Stock Google OS comes with a ton of crap on /system that really belongs on /data. You delete all those apps, then download them from the playstore. 300ish MB free on /system.
I wrote a script to do this here, or you could use @vomer CleanRom that gets rid of some crap. My script (from memory) keeps stock keyboard, stock camera, and a stock launcher. Everything else is gone and can be reacquired through the playstore, the way it should have been from the beginning.
If it bothers you, could could use TiBu to back up that app data before you delete them, then restore after playstore install.
Who cares about OTA? Really not of concern.
Thank you for putting me on the right track. What I wound up doing was converting a couple of the apps that are baked into the stock ROM from system to user apps with TiBu. Worked like a charm!
awesome ...
Aerowinder said:
Stock Google OS comes with a ton of crap on /system that really belongs on /data. You delete all those apps, then download them from the playstore. 300ish MB free on /system.
Click to expand...
Click to collapse
Thanks for your awesome and simple script - great idea!
Worked on my Nexus 5, 6 and 7. Boosted free space by 360 MB.
Regards.
Update : your script also worked on my Nexus 6 running Stock Marshmallow Version "mra58r" now that I have 863 MB free on /system.
:: TWRP 2.8.7.1 + ElementalX-N6-3.06 Kernel + SuperSU BETA 2.52
Same issue with CM13
I'm facing low system space when installing CM13.
The ROM installs correctly. However, when I go to flash GAPPS, I get a low system error.
How can I fix this?
Flash back to stock, perform a factory wipe, flash twrp, flash cm and gapps. Hopefully, those fixes the issue.
Aerowinder said:
Stock Google OS comes with a ton of crap on /system that really belongs on /data. You delete all those apps, then download them from the playstore. 300ish MB free on /system.
I wrote a script to do this here, or you could use @vomer CleanRom that gets rid of some crap. My script (from memory) keeps stock keyboard, stock camera, and a stock launcher. Everything else is gone and can be reacquired through the playstore, the way it should have been from the beginning.
If it bothers you, could could use TiBu to back up that app data before you delete them, then restore after playstore install.
Who cares about OTA? Really not of concern.
Click to expand...
Click to collapse
Original link to script above is dead. Any chance we could still get the script, particularly if it would still work okay on Android 6 (Marshmallow) or 7 (Nougat)? Thanks.

Less storage after update to nougat..

After updating to the latest version..
Free storage shown is only 21gb..
7.92gb has been taken up by firmware..
Any solution as to how can we free up some more space ?
Simply, Do a Factory reset after Every update and clear cache partition, Uninstall Bloatware , if you have root use system app uninstaller remove useless apps
ashkar777 said:
After updating to the latest version..
Free storage shown is only 21gb..
7.92gb has been taken up by firmware..
Any solution as to how can we free up some more space ?
Click to expand...
Click to collapse
Root your phone to uninstall bloatware.
venugopalu007 said:
Simply, Do a Factory reset after Every update and clear cache partition, Uninstall Bloatware , if you have root use system app uninstaller remove useless apps
Click to expand...
Click to collapse
Well i havent noticed. This is the right solution OP

Categories

Resources