Hello all,
I have an s4 mini 8 GB, and it seems a lot of free space is unusable:
Code:
[email protected]:/data/data/berserker.android.apps.sshdroid/home # df
Filesystem Size Used Free Blksize
/dev 673.6M 48K 673.5M 4096
/storage 673.6M 0K 673.6M 4096
/storage/emulated 673.6M 0K 673.6M 4096
/storage/sdcard1 14.5G 7.3M 14.5G 32768
/mnt/secure 673.6M 0K 673.6M 4096
/mnt/asec 673.6M 0K 673.6M 4096
/mnt/obb 673.6M 0K 673.6M 4096
/mnt/fuse 673.6M 0K 673.6M 4096
/persdata/absolute 11.8M 4.1M 7.8M 4096
/system 1.4G 435.9M 1G 4096
/data 5.2G 4.1G 1.1G 4096
/cache 197M 87.1M 109.9M 4096
/persist 7.9M 4M 3.8M 4096
/efs 13.4M 4.2M 9.3M 4096
/firmware 64M 47.8M 16.1M 16384
/mnt/shell/emulated 5.2G 4.1G 1.1G 4096
/storage/emulated/0 5.2G 4.1G 1.1G 4096
/storage/emulated/0/Android/obb 5.2G 4.1G 1.1G 4096
/storage/emulated/legacy 5.2G 4.1G 1.1G 4096
/storage/emulated/legacy/Android/obb 5.2G 4.1G 1.1G 4096
[email protected]:/data/data/berserker.android.apps.sshdroid/home # uname -a
Linux localhost 3.4.0-cyanogenmod-g7ce908f #1 SMP PREEMPT Mon Sep 23 19:38:58 PDT 2013 armv7l GNU/Linux
Is there any way to shrink the /system partition and make /data larger?
I am aware that there are tools like link2sd (and I used them in the past) but this is not what I want.
Any comments welcome.
Regards,
George
papalexo said:
Hello all,
Is there any way to shrink the /system partition and make /data larger?
Any comments welcome.
Regards,
George
Click to expand...
Click to collapse
To repartition the emmc chip you need a pit file. But i strongly recommend against that procedure. There is a chance that ur device hard bricks.
And moreover no one has ever tried that on our device.
Instead u can root ur device and use xposed + obbonsd module. It will help with moving big apps and games to sd card.
Use a class 10 sd card. good luvk
Hi sasank360,
sasank360 said:
Instead u can root ur device and use xposed + obbonsd module. It will help with moving big apps and games to sd card.
Click to expand...
Click to collapse
yes, but this is not what I want.... link2sd can do the same thing...
I think no one has tried that hack, it's just too risky
Don't like link2sd try Folder mount
sasank360 said:
To repartition the emmc chip you need a pit file. But i strongly recommend against that procedure. There is a chance that ur device hard bricks.
And moreover no one has ever tried that on our device.
Click to expand...
Click to collapse
I did.
You don't need to change PIT. GPT is sufficient in most cases as ROMs and recoveries use GPT.
system & data partitions are quite at the end of the emmc, so you can resize them w/o having to interfere with eg boot or recovery partitions. Their PIT references would still be vaiid should you need to re flash those in download mode.
Instead of repartitioning you could just use an external sdcard as /data. This just requires modification of ramdisk.
Anyway you should understand what you are doing before trying any of this..
Related
There are so much crap in my GN's flash now (junk folders/files). It happens because when an app is uninstalled, it left over some folders/files, and I am not sure what to delete, what not to delete. Is there a zip file that I can run from ClockWorkMod to clean everything then install ROM, Gapps?
What about a factory reset either from CWM recovery or through Android settings?
Unlawful said:
What about a factory reset either from CWM recovery or through Android settings?
Click to expand...
Click to collapse
or
'fastboot erase partitions'
for example, partitions can be boot, system, userdata, recovery
is userdata partition at /mnt/sdcard?
Thanks
[email protected]:/ # df
df
Filesystem Size Used Free Blksize
/dev 347M 32K 347M 4096
/mnt/asec 347M 0K 347M 4096
/mnt/obb 347M 0K 347M 4096
/system 643M 233M 410M 4096
/data 13G 2G 10G 4096
/cache 425M 7M 418M 4096
/factory 19M 8M 11M 4096
/mnt/sdcard 13G 2G 10G 4096
Click to expand...
Click to collapse
if you erase userdata, it will erase /mnt/sdcard (/data/media) contents.
How much free disk storage should be on e980 with stock rom. Mine is showing 10gb. everywhere online shows this should be 32gb .
any ideas?
yankeefan said:
How much free disk storage should be on e980 with stock rom. Mine is showing 10gb. everywhere online shows this should be 32gb .
any ideas?
Click to expand...
Click to collapse
Had this issue as well. I had to....
1. flash stock ATT KDZ ... that brought back the 32gb memory.
2 flashed (in my case) e988 rom with TOT file in LGPST.
This way I had all my memory back and the ROM I wanted.
yankeefan said:
How much free disk storage should be on e980 with stock rom. Mine is showing 10gb. everywhere online shows this should be 32gb .
any ideas?
Click to expand...
Click to collapse
I'm on CM11 and got same issue:
Code:
[email protected]:/ $ su
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 898.8M 128.0K 898.7M 4096
/sys/fs/cgroup 898.8M 12.0K 898.8M 4096
/mnt/asec 898.8M 0.0K 898.8M 4096
/mnt/obb 898.8M 0.0K 898.8M 4096
/mnt/fuse 898.8M 0.0K 898.8M 4096
/system 2.5G 761.8M 1.7G 4096
/cache 1009.3M 18.8M 990.5M 4096
/data 10.1G 3.7G 6.4G 4096
/persist 7.9M 4.1M 3.8M 4096
/firmware 64.0M 55.1M 8.9M 16384
/sns 7.9M 4.1M 3.8M 4096
/factory 15.8M 4.1M 11.7M 4096
/mnt/shell/emulated 10.1G 3.7G 6.4G 4096
[email protected]:/ #
/data and /mnt/shell/emulated are basically the same. Any help?
fixed issue by tot to att and then reset phone, now back to 23gb free
yankeefan said:
fixed issue by tot to att and then reset phone, now back to 23gb free
Click to expand...
Click to collapse
but how can I flash a custom ROM and keeping all the free space?
tried sphinx and slimbean, both keep hiding the original internal sd partition.
when I format data through CWM, then I can see my old files on the full 23gb free space.
When you factory wipe and flash a new rom there are old files still on the internal storage that don't get deleted. Those files take up space, but don't read under storage. Get ES File Explorer from the Play Store. Go to device>data>media. There you probably have your old downloads, media and pics. Delete that whole media folder and your space is back. (Backup or copy the files if needed before deleting) You may have to reboot your phone.
Sent from my LG-E980 using xda app-developers app
I am trying to copy two of my ringtones into the /system folder of the phone, but the device is not letting me, it keeps failing on the copy command. Anyone know if this is possible?
I am doing the following:
su
mount -o remount,rw /system
cd /storage/ext_sd
cp r1.ogg /system/media/audio/ringtones/
BTW, the filesystem appears to have been re-mounted in read-write mode, because the output of the "mount" command shows /system to be mounted "rw".
I have tried the above commands via an interactive adb shell, as well as through the "terminal emulator" application and I keep getting the same failure.
Thx!
this should really go in the [email protected] thread
r2d-two said:
I am trying to copy two of my ringtones into the /system folder of the phone, but the device is not letting me, it keeps failing on the copy command. Anyone know if this is possible?
I am doing the following:
su
mount -o remount,rw /system
cd /storage/ext_sd
cp r1.ogg /system/media/audio/ringtones/
BTW, the filesystem appears to have been re-mounted in read-write mode, because the output of the "mount" command shows /system to be mounted "rw".
I have tried the above commands via an interactive adb shell, as well as through the "terminal emulator" application and I keep getting the same failure.
Thx!
Click to expand...
Click to collapse
all you have to do is put them in a folder named ringtones in the sdcard and the phone will show them in you ringtone choices
I put all the Sense ringtones on my developer edition / GPe conversion this way.
same with alarms and notifications
r2d-two said:
I keep getting the same failure.
Click to expand...
Click to collapse
Which is ?
I think your problem is not permissions but space ...
Have you verified that you have enough space remaining in your system partition ?
GPE system partition is known to be tight.
Besides if you modify system partition you won't get OTAs ..
you should follow @clsA advice. I copied my ringtons/alarms/notifications in appropriates folders in my sdcard and the result is absolutely the same....
Thanks for your replies and suggestions. I have specific reasons (perhaps wrong ones) to want to store the ringtone files in /system as opposed to either sdcard. I will open a separate post about that.
With regards to writing to /system, I have since re-installed the OS, but I think you are right in that the filesystem was full.
The output of "df" now shows only 1.2MB left on the filesystem. The 2 files I have been trying to write unto it are 270KB and 16KB each. So, I just re-tried the same commands and I was able to write the two files.
The only other change I made was that I disabled the setting in SuperSU which does the "mount namespace separation". So I am not sure if that made a difference or if the filesystem was full.
I do understand that modifying /system will prevent me from doing OTA GPE updates.
Thanks!
I'm on LP 5.01 on my Nexus 10 and I also wanted to write to my /system folder but noticed there is no free space to do so. This is on a factory default reload.
[email protected]:/system/app # df
df
Filesystem Size Used Free Blksize
/dev 549.6M 32.0K 549.6M 4096
/sys/fs/cgroup 549.6M 0.0K 549.6M 4096
/mnt/asec 549.6M 0.0K 549.6M 4096
/mnt/obb 549.6M 0.0K 549.6M 4096
/system 643.7M 643.7M 0.0K 4096
/cache 519.7M 8.8M 510.9M 4096
/data 27.3G 5.2G 22.1G 4096
/factory 19.7M 4.1M 15.6M 4096
/mnt/shell/emulated 27.3G 5.2G 22.1G 4096
/storage/emulated 549.6M 0.0K 549.6M 4096
/storage/emulated/0 27.3G 5.2G 22.1G 4096
/storage/emulated/0/Android/obb 27.3G 5.2G 22.1G 4096
/storage/emulated/legacy 27.3G 5.2G 22.1G 4096
/storage/emulated/legacy/Android/obb 27.3G 5.2G 22.1G 4096
It let me do it when I was on LP 5.00
This issue seems to be generalized with Android 5. It is discussed in this thread : http://forum.xda-developers.com/htc-one-m8/general/gpe-partition-free-space-5-0-1-ota-t2963992
I have a Fire TV that I am running and when using Kodi, I randomly will receive a popup from the Fire TV that says that the drive is full. I checked the Kodi application and both the data and cache is somewhat normal (no more than 200Mb combined).
I logged into my firetv and it looks like the "/data" partition is totally full...
Code:
[email protected]:/sdcard # df
Filesystem Size Used Free Blksize
/dev 973M 48K 973M 4096
/mnt/secure 973M 0K 973M 4096
/mnt/asec 973M 0K 973M 4096
/mnt/obb 973M 0K 973M 4096
/system 756M 684M 72M 4096
/data 5G 5G 0K 4096
/cache 756M 14M 741M 4096
/firmware 63M 7M 56M 16384
/persist 7M 4M 3M 4096
/system/fonts 79M 79M 0K 1048576
/mnt/shell/emulated 5G 5G 0K 4096
/storage/emulated/legacy 5G 5G 0K 4096
[email protected]:/sdcard #
Along with the system fonts and emulated legacy mounts. I'm assuming that I am receiving this message because of the /data mount being totally full.
The odd thing is-is that the only thing that I have on this box is Kodi and rooted it and installed busybox. There's nothing else on it! No photos (checked the size), or anything else that I'm aware of...but something must be taking up all my space.
I was wondering if anybody had any ideas of what I can remove from /data in order to free up some space or how I can stop receiving this message.
Thanks!
Apparently, I may had been wrong and /mnt/sdcard may had been full. I was in the middle of trying to update it tonight and when I put a file up there it said no space left. D'oh...
So, I'm going to try to wipe the partition after an update and hope for the best...
I have tried about 4 ROMs now. They all flash fine. However when I try to flash gapps Pico, I get an error: code 70, insufficient storage.
All images use about 800MB of space with about 60-80 MB remaining. Not enough for the Pico gapps
I tried wipe -> advanced -> resize partition on the system.
Everything was done with a full wipe. Any ideas?
ICANSEEYOU7687 said:
I have tried about 4 ROMs now. They all flash fine. However when I try to flash gapps Pico, I get an error: code 70, insufficient storage.
All images use about 800MB of space with about 60-80 MB remaining. Not enough for the Pico gapps
I tried wipe -> advanced -> resize partition on the system.
Everything was done with a full wipe. Any ideas?
Click to expand...
Click to collapse
Found the repartitioner zip and flashed this to resize the system. Should be good now!
ICANSEEYOU7687 said:
Found the repartitioner zip and flashed this to resize the system. Should be good now!
Click to expand...
Click to collapse
Do you have a link? I'm not having much luck. In my case I can't install any version of the gapps.
betam4x said:
Do you have a link? I'm not having much luck. In my case I can't install any version of the gapps.
Click to expand...
Click to collapse
I had the same problem until I found this thread : https://forum.xda-developers.com/showpost.php?p=76278047&postcount=19
It worked on my Nexus
Here is a df after the script :
Code:
[email protected]:/ $ df
Filesystem Size Used Free Blksize
/dev 903.9M 76.0K 903.8M 4096
/sys/fs/cgroup 903.9M 12.0K 903.9M 4096
/mnt 903.9M 0.0K 903.9M 4096
/system 1.1G 823.9M 300.4M 4096
/cache 258.8M 19.1M 239.7M 4096
/data 11.3G 2.8G 8.5G 4096
/persist 14.5M 4.2M 10.2M 4096
/storage 903.9M 0.0K 903.9M 4096