Insufficient system storage after flashing? - Nexus 7 (2013) Q&A

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

Related

[Q] How to clean everything in flash and start from scratch?

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.

Who would like a 1GB System Partition???

THIS IS FOR DEVELOPMENT ONLY!!!! THIS IS ONLY A CONCEPt FORGETTING THE 1GB SYSTEM PARTITION.
30-Jan-13 update
Ok so using this method I now have a ported rom from the Samsung Galaxy S3 that has a 680+mb system booting on my G2. If any of you feel like helping me get it up and running PM me or you can download it from here http://sourceforge.net/projects/sgs3forg2/files/FJB4G2-orig-runtime.zip/download and see for yourself...
MAJOR EDIT: SO THE UPLOAD MUST HAVE BEEN CORRUPTED FOR THE EM1.zip. IT IS NON FUNCTIONAL. ALL CREDIT TO THE ONE I WILL PUT UP GOES TO FLINNY. I IN NO WAY DID ANYTHING TO CREATE THIS ROM JUST ALTERED THE MOUNTS TO GET THE 1GB SYSTEM PARTITION. THE FILE IS NAMED f10.zip. it is his 10.1 base.
Ok so I know its been a while but I have something I can not keep away from the community. Anyone want to get a 1GB System and 549MB Data partition??? Yes thats right we can swap the partitions. here is a link to some screen shots and another to, with the permission of nik3r, the modified Elitemod Rom. just go into recovery, format all partitions(sorry you will have to start over in order to swap the partitions, well for now that is), and flash the EM1.zip
http://www.mediafire.com/?ka8yq4hzs6upj
Ok so this all started after my wife got her new phone the samsung galaxy s3. in love with the phone and what it could do but unable to, due to financial constraints and TMobiles unwillingness to give me one for free like they did my wife, I set forth trying to find a way to port its OS to our G2. finally i have found a way, or at least now the space in which to put it. now will begin the porting phase. hence this thread, I bring you this solution to our space issue cause really is 1.3GB for G2 or 1GB for DZ partition for data really needed???
So here is what I did...
1. First I got android sdk all setup
2. Then I downloaded the android kitchen
3. Also downloaded the Elitemod Rom from nik3r's thread and set it up in the android kitchen
4. In the android kitchen I extracted the kernel and ramdisk from the boot.img
5. I editted all the init files in the BOOT-EXTRACTED/boot.img-ramdisk directory and changed the mount section of the init.rc to
# mount mtd partitions
# Mount /system rw first to give the filesystem a chance to save a checkpoint
mount yaffs2 /dev/block/mmcblk0p26 /system
mount yaffs2 /dev/block/mmcblk0p26 /system ro remount
mount yaffs2 /dev/block/mmcblk0p25 /data nosuid nodev
mount yaffs2 [email protected] /cache nosuid nodev
and the init.vision.rc mounts i also swapped
on early-fs
mkdir /system
mkdir /data 0771 system system
mkdir /cache 0770 system cache
mkdir /devlog 0700 root root
mount ext4 /dev/block/mmcblk0p26 /system wait ro barrier=1
setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000
mount ext4 /dev/block/mmcblk0p25 /data wait noatime nosuid nodev barrier=1 noauto_da_alloc
mount ext4 /dev/block/mmcblk0p27 /cache wait noatime nosuid nodev barrier=1
mount ext4 /dev/block/mmcblk0p28 /devlog wait noatime nosuid nodev barrier=1
6. now in order for it to boot right i had to get the files to go to the right place so i editted the updater-script and changed the mount for system to /dev/block/mmcblk0p26 (which as you know is the normal data partition) and the data mount to /dev/block/mmcblk0p25( normally system) now the files are going to places we want and the init files on boot remount the system on 0p26 and data on 0p25 (in reverse from normal) but it boots. so here we go lets get the life put back in this phone now we have the space.
Mad props to nik3r for his rom and permission to use it
UPDATE: For some reason the wifi got broken but to fix there is the MOD_Elitekernel zip found in the link at the top of this post that will fix that. I also put EdKeys wifi calling as well, have it running now on my phone so let me know if you find anything else.
UPDATE 2: I have put a hacked version of S Voice from the galaxy S3 in the link for the G2 *TO BE USED WITH THIS PROJECT ONLY*.
UPDATE 3: there must be some confusion with this. This is not a new rom with some timeframe to get it working. I have a fully opperational rom with no problems with apps or anything right now. This is about a mod that can be adapted to any rom or as brought up gapps which will be uploaded here tomorrow. My point is that any rom should be able to be altered this way.
So this means you're giving us Nature UX in the near future? Good luck :good: also does this open up multi booting possibilities (proper multi booting, not anything like Boot Manager)? 'Cause that'd be awesome, but would there need to be a special kernel?
WOW, Congrats man! Looking forward to this! As if the G2 will ever die! Pffft! And Kudos To nik3r for all his work towards this community!
BUT COME BACKKKKKK nik3r, we miss you!!
HTCDreamOn said:
So this means you're giving us Nature UX in the near future? Good luck :good: also does this open up multi booting possibilities (proper multi booting, not anything like Boot Manager)? 'Cause that'd be awesome, but would there need to be a special kernel?
Click to expand...
Click to collapse
working on one of those... not sure what it would take for multiboot... could look into it once my main task is done -> SGS3 to G2
So, this would allow me to install more apps and less moving apps to sd card? Noob question, but I really do not know the answer.
Sent from my HTC Vision using xda app-developers app
Less apps, lager rom, kinda like custom mtd partions for older devices. Probably would need to have an ext partition to hold apps if you need a lot... gotta say I've been waiting for something like this!
Sent from my HTC Vision using xda premium
So all roms need to be modefied in order to get this to work? I can go back to my previous rom without problems cause partitions are only mounted in different order by this rom? Just to be shure...
And multitasking wil benefit a lot of this?
Yes, the updater script just writes system to the data partition and since the init files are in the boot.img.they mount the "data" partition as /system and "system" partition as /data. Minor alterations to any rom would take advantage of this work around. And yes you can swap back and forth between a bacckup and this or any other altered rom but just remember in recovery(for now) formating system clears data and factory reset (clearing data) deletes the rom.
ineedone said:
So all roms need to be modefied in order to get this to work? I can go back to my previous rom without problems cause partitions are only mounted in different order by this rom? Just to be shure...
And multitasking wil benefit a lot of this?
Click to expand...
Click to collapse
Oke i wiped all partitions with 4ext, installed rom, rebooted, but now it hangs on bootlogo?
It does take a min to boot... remember there's no cache. What does logcat say????
ineedone said:
Oke i wiped all partitions with 4ext, installed rom, rebooted, but now it hangs on bootlogo?
Click to expand...
Click to collapse
I really mean the htc bootlogo. I can boot into recovery and when i take a look at the partition table, i see systeem is still 549 and there is a 500mb swap partition.. have no knowledge of logcat but i can try and see later tonight when I'm home.
Edit: data partition is now 549
ineedone said:
I really mean the htc bootlogo. I can boot into recovery and when i take a look at the partition table, i see systeem is still 549 and there is a 500mb swap partition.. have no knowledge of logcat but i can try and see later tonight when I'm home.
Edit: data partition is now 549
Click to expand...
Click to collapse
Did you do changes in ramdisk?
Sent from my HTC Vision using xda app-developers app
EnZl said:
Did you do changes in ramdisk?
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
as i stated in the OP... yes i did change the mounting in the init.rc and init.vision.rc in the ramdisk. once the updater script sends the info tho the partitions i needed to edit those to make it boot with it making /dev/block/mmcblk0p26(originally data) the system mount. same for data mount is now the 0p25 partition
ineedone said:
I really mean the htc bootlogo. I can boot into recovery and when i take a look at the partition table, i see systeem is still 549 and there is a 500mb swap partition.. have no knowledge of logcat but i can try and see later tonight when I'm home.
Edit: data partition is now 549
Click to expand...
Click to collapse
Oke forget this post, I had the wrong partition info, and forgot about the 500mb swap on my sd because i don't use it, sorry
This is the partition table after installing this rom:
------------------ Info -------------------
mount point | fs | size | free
system ext4 549.2MiB 539.3MiB
data ext4 1.0GiB 792.8MiB
cache ext4 295.3MiB 290.5MiB
sdcard fat32 28.7GiB 12.8GiB
sd-ext ext4 129MiB 108.9MiB
swap swap 513MiB -
Current Rom: unknown
There are some errors in the recover.log of 4ext touch recovery, which i included. Maybe someone can help me out
ineedone said:
Oke forget this post, I had the wrong partition info, and forgot about the 500mb swap on my sd because i don't use it, sorry
This is the partition table after installing this rom:
------------------ Info -------------------
mount point | fs | size | free
system ext4 549.2MiB 539.3MiB
data ext4 1.0GiB 792.8MiB
cache ext4 295.3MiB 290.5MiB
sdcard fat32 28.7GiB 12.8GiB
sd-ext ext4 129MiB 108.9MiB
swap swap 513MiB -
Current Rom: unknown
There are some errors in the recover.log of 4ext touch recovery, which i included. Maybe someone can help me out
Click to expand...
Click to collapse
you have to remember that recoveries still look to the 0p25 as system but i have a way to show you if it is installing right.
reboot into recovery
plug phone into usb and usb into computer - make sure adb works... type in a terminal or command prompt "adb shell" and hit enter
you should be in an android shell... you should see this ~ #
then type df and hit enter - this will show the partitions and how they are mounted
select to install the rom and as soon as it starts press the up arrow and hit enter (if the up arrow does not bring up the df command just type it)
do this repeatedly and you will watch as the rom is installed, the space on and which partition is what.
let me know
ok so an update I have gotten Flinny's latest 10.1 to work also but I will not put it out until/ if I get his permission to do so
[/SIZE]
OdiemanSAM said:
you have to remember that recoveries still look to the 0p25 as system but i have a way to show you if it is installing right.
reboot into recovery
plug phone into usb and usb into computer - make sure adb works... type in a terminal or command prompt "adb shell" and hit enter
you should be in an android shell... you should see this ~ #
then type df and hit enter - this will show the partitions and how they are mounted
select to install the rom and as soon as it starts press the up arrow and hit enter (if the up arrow does not bring up the df command just type it)
do this repeatedly and you will watch as the rom is installed, the space on and which partition is what
Click to expand...
Click to collapse
Here is the output:
Partitions seem to change and i lose 500MB some how
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk0p25
1099608 18840 1080768 2% /system
/dev/block/mmcblk0p26
1099608 18840 1080768 2% /data
/dev/block/mmcblk1p2 127936 16404 111532 13% /sd-ext
/dev/block/mmcblk1p1 30102144 16812160 13289984 56% /sdcard
/dev/block/mmcblk0p26
562384 10216 552168 2% /system
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk0p25
562384 10216 552168 2% /system
/dev/block/mmcblk0p26
562384 10216 552168 2% /data
/dev/block/mmcblk1p2 127936 16404 111532 13% /sd-ext
/dev/block/mmcblk1p1 30102144 16815296 13286848 56% /sdcard
/dev/block/mmcblk0p25
562384 10216 552168 2% /data
~ # df
also from previous recovery.log:
About to install:
EM1-1.zip
Continue install?
-- Installing: /sdcard/Download/EM1-1.zip
Finding update package...
I:Update location: /sdcard/Download/EM1-1.zip
Opening update package...
Installing update...
package_extract_file: no system/bin/backuptool.sh in package
set_perm: chown of /tmp/backuptool.sh to 0 0 failed: No such file or directory
set_perm: chmod of /tmp/backuptool.sh to 777 failed: No such file or directory
about to run program [/tmp/backuptool.sh] with 2 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
Creating filesystem with parameters:
Size: 1143992320
Block size: 4096
Blocks per group: 32768
Inodes per group: 7760
Inode size: 256
Journal blocks: 4363
Label:
Blocks: 279295
Block groups: 9
Reserved block group size: 71
Created filesystem with 11/69840 inodes and 9114/279295 blocks
warning: wipe_block_device: Discard failed
Initiating EliteMod ICS 120728
================================
Designed for HTC Desire Z/G2
Applying AOKP m6 and gapps...
minzip: Extracted file "/...........................................
.....................................................snip
minzip: Extracted file "/system/xbin/su"
package_extract_file: no system/bin/backuptool.sh in package
set_perm: chown of /tmp/backuptool.sh to 0 0 failed: No such file or directory
set_perm: chmod of /tmp/backuptool.sh to 777 failed: No such file or directory
about to run program [/tmp/backuptool.sh] with 2 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
package_extract_file: no system/bin/modelid_cfg.sh in package
set_perm: chown of /tmp/modelid_cfg.sh to 0 0 failed: No such file or directory
set_perm: chmod of /tmp/modelid_cfg.sh to 777 failed: No such file or directory
about to run program [/tmp/modelid_cfg.sh] with 2 args
run_program: execv failed: No such file or directory..............................................
.......................
minzip: Extracted file "/data/local/postsetup/undervolt.txt"
Applying EliteKernel 120728...
set_perm: chown of /system/etc/init.d/04mountsddl to 0 0 failed: No such file or directory
set_perm: chmod of /system/etc/init.d/04mountsddl to 775 failed: No such file or directory
set_perm: chown of /system/etc/init.d/11apps2sd to 0 0 failed: No such file or directory
set_perm: chmod of /system/etc/init.d/11apps2sd to 775 failed: No such file or directory
set_perm: chown of /system/etc/init.d/61swap2sd to 0 0 failed: No such file or directory
set_perm: chmod of /system/etc/init.d/61swap2sd to 775 failed: No such file or directory
set_perm: chown of /system/etc/init.d/64swapmarker to 0 0 failed: No such file or directory
set_perm: chmod of /system/etc/init.d/64swapmarker to 775 failed: No such file or directory
set_perm: chown of /system/xbin/virtuous_oc to 0 0 failed: No such file or directory
set_perm: chmod of /system/xbin/virtuous_oc to 775 failed: No such file or directory
about to run program [/sbin/busybox] with 3 args
minzip: Extracted file "/tmp/dump_image"
minzip: Extracted file "/tmp/mkbootimg"
minzip: Extracted file "/tmp/mkbootimg.sh"
Extracting Kernel files...
minzip: Extracted file "/tmp/unpackbootimg"
minzip: Extracted file "/tmp/zImage"
Installing kernel...
about to run program [/tmp/dump_image] with 3 args
about to run program [/tmp/unpackbootimg] with 3 args
BOARD_KERNEL_CMDLINE no_console_suspend=1
BOARD_KERNEL_BASE 4000000
about to run program [/tmp/mkbootimg.sh] with 1 args
minzip: Extracted file "/tmp/vision_wipe_efs"
about to run program [/tmp/vision_wipe_efs] with 1 args
Backing up partition /dev/block/mmcblk0p13 to /sdcard/part13backup-1358877146.bin ...
Backing up partition /dev/block/mmcblk0p14 to /sdcard/part14backup-1358877146.bin ...
Wiping partition /dev/block/mmcblk0p13...
Wiping partition /dev/block/mmcblk0p14...
Successfully wiped partitions 13 and 14.script result was []
EliteMod ICS installed successfully!
Credits to all the amazing devs that made this possible! Thank You!
Install from sdcard complete.
..................................................................
it also seems like only some files get written to data partition around 200mb, nothing to system...
you have dual mounts!!!! system and data are both mounted to both partitions. go into mounts windows in recovery and unmount both system and data partitions... then try again.
OdiemanSAM said:
you have dual mounts!!!! system and data are both mounted to both partitions. go into mounts windows in recovery and unmount both system and data partitions... then try again.[/QUOTE
mounted them last time because they didn't show up in fist instance :silly:
output:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk1p1 30102144 16824752 13277392 56% /sdcard
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk1p1 30102144 16824752 13277392 56% /sdcard
/dev/block/mmcblk0p26
1099608 31892 1067716 3% /system
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk1p1 30102144 16824752 13277392 56% /sdcard
/dev/block/mmcblk0p26
1099608 136220 963388 12% /system
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk1p1 30102144 16824752 13277392 56% /sdcard
/dev/block/mmcblk0p26
1099608 288248 811360 26% /system
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk1p1 30102144 16827968 13274176 56% /sdcard
/dev/block/mmcblk0p25
562384 10216 552168 2% /data
~ # dfFilesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk1p1 30102144 16824752 13277392 56% /sdcard
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk1p1 30102144 16824752 13277392 56% /sdcard
/dev/block/mmcblk0p26
1099608 31892 1067716 3% /system
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk1p1 30102144 16824752 13277392 56% /sdcard
/dev/block/mmcblk0p26
1099608 136220 963388 12% /system
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk1p1 30102144 16824752 13277392 56% /sdcard
/dev/block/mmcblk0p26
1099608 288248 811360 26% /system
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 188504 32 188472 0% /dev
/dev/block/mmcblk0p27
302356 4804 297552 2% /cache
/dev/block/mmcblk1p1 30102144 16827968 13274176 56% /sdcard
/dev/block/mmcblk0p25
562384 10216 552168 2% /data
~ # df
Click to expand...
Click to collapse
so is it working for you now???
UPDATED OP
Sorry , still on htc bootlogo
Only files seems to be written to data
Is there a way to view if/what data is written to the different partitions or boot ? Or do i need to install aditional gapps?

[Q] Free storage space

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

[Q] GPE 5.0.1 Lollipop: Is it possible to write to /system/media/audio/ringtones?

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

increase /data partition

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..

Categories

Resources