Changing ext4 partition to swap without having to format entire scard? - Android Q&A, Help & Troubleshooting

Hi, one of devs from my device had told us that he'll move system and data images from scard to SD ext, but actually he left before doing this so now I'm stuck with useless 5gb ext4 partition on my scard. I'd format it and then change partitions if my sdcard wouldn't be filled with over 20GB of various files. Is it possible to change the size of the second partition to about 500 MB and turn it from ext4 to swap without formatting entire sdcard?
Thanks for any help.
Sent from my R800i using xda premium

I don't care this much about resizing it. Changing to swap would be enough but if resizing is possible then I'm more than happy
Sent from my R800i using xda premium

I've tried fdisk stuff via terminal emulator but sdcard0 is read only (it's not) and I have no idea what I might be doing wrong
Sent from my R800i using xda premium
Why the **** posts are not being merged now?...

Bump
Sent from my R800i using xda premium

I think gparted is capable of deleting partitions. Then you can resize the unallocated space, and format it to whatever you like.
You should be able to do this without touching your other partition with 20gb of stuff on it, and therfore you shouldnt lose any data.

Deleted
Sent from my R800i using xda premium

It worked! ^_^ thanks a lot mate!
Sent from my R800i using xda premium

Related

Is cm7 on ext4 format?

Hi as the title says was just wondering if cm7s on ext4 can't really find it using xda app sorry if this question was asked already
Sent from my SGH-T959V using XDA App
Only the data partition is EXT4. The reast of the partitions are in YAFFS2 which is specially designed for flash storage devices.
Oh I see thank you
Sent from my SGH-T959V using XDA App

New 16 SD what should I do?

Ok so this is simple, I got a new sd card for my ace and I have a this question Can I just exchange sd cards and keep using the phone or do I have to do anything special so I can use it? If it helps I'm using a cm7 based rom right now. Thanks in advance.
Sent from my GT-S5830 using xda premium
I wonder if it simply done by copying all the data. But wait, how about the data on partition?
Sent from my GT-S5830 using XDA App
You won't have to change anything at all. Put it in and go (unless you've partitioned your previous card a2sd, s2e)
Sent from my Nexus S using xda premium

Resizeing sustem partition?

So i run slimbean and i have about 170mb freee on system giv or take a little. So im wondering if we can shrink system and gove that space to datadata
Sent from my SGH-T959 using xda premium

Telling me I don't have enough storage but I do.

Hey guys I have about a gig of free space on my internal storage and close to 10 gigs on my SD and my phone keeps telling me to free up space when I try open the gallery. Any ideas?
Sent from my SCH-I605 using xda app-developers app
move some apps over to your external sd....(apps to sd)
droidstyle said:
move some apps over to your external sd....(apps to sd)
Click to expand...
Click to collapse
I have a gig free
Sent from my SCH-I605 using xda app-developers app
If you're rooted and dirty-flashed a rom, you can get the same error. I had the same issue awhile back with a particular rom I flashed/upgraded. Hope that helps.
Sent from my SCH-I605 using Tapatalk 2
could be not enough room in the system partition due to the way some apps work?
just guessing but the space it needs might not be in the partitions you are looking at?
how can I view the internal storage on my phone? it says I have 9 gigs full but I don't know how to view it in astro
Sent from my SCH-I605 using xda app-developers app

Storage Full??

So when I go into storage it said I have 9gb of "other" ?? Anyone have an idea what it can be? I've looked everywhere through my phone to find these mysterious files.
Sent from my HTC6435LVW using XDA Premium 4 mobile app
Like a bunch of text maybe game saves obb files
Sent from my HTC6435LVW using xda app-developers app
Try file manager in root mode and check for your old files and ROM backups in /data/media folder.
Sent from my HTC6435LVW using xda app-developers app
OK just to be sure here. I'm on a 4.2 rom as well and I have a about 9 gigs taken up. I turned es file Explorer on root mode and unhid the hidden files. I looked and there was a data/media folder with about 9 gigs in it. Should I delete this and I will be fine?
Sent from my HTC6435LVW using xda app-developers app
That's all your personal data. Don't delete the whole thing but look for the large directories under there.
Sent from my HTC6435LVW using xda app-developers app
Well I looked through there and it seems to be almost a copy of my SD card folder. I looked through all the files and there is 5 files with the exact same contents. They are all identical to the SD card folder and they are taking up the same amount of space . the files are SD card, inside the data/media and 0 inside the same folder. Inside the storage folder there is both sdcard0 and legacy. All these have the same contents.
What's up with this?
Sent from my HTC6435LVW using xda app-developers app
Your old home folder is /data/media the new one is the 0 folder. You can delete most of the duplicates from media, and can move anything into 0 that you want to keep.
Sent from my HTC6435LVW using xda app-developers app
When you upgrade from a 4.1.1 rom to a 4.2.2 rom or 4.3 rom your storage changes from sdcard0 to something else so you will find a lot of duplicates that can be deleted. Just for future reference.
Sent from my HTC6435LVW using XDA Premium 4 mobile app
If you check the size of the /data it will probably explain the missing space. Just backup your important info to the pc and do an internal wipe
Sent from my HTC6435LVW using XDA Premium HD app
Similar issue, except /data/media doesn’t appear to be what's using my space. See attached screenshot for details. Thanks in advance for any suggestions.
Sent from my DLX using xda app-developers app
Similar issue, except /data/media doesn’t appear to be what's using my space. See attached screenshot for details. Thanks in advance for any suggestions.
Sent from my DLX using xda app-developers app
techinv said:
Similar issue, except /data/media doesn’t appear to be what's using my space. See attached screenshot for details. Thanks in advance for any suggestions.
Sent from my DLX using xda app-developers app
Click to expand...
Click to collapse
I've had this problem, and like torrentd said back up important files to pc and I format internal storage in recovery. Deletes all useless files and replicas.
Sent from my HTC6435LVW using xda app-developers app
henslo said:
I've had this problem, and like torrentd said back up important files to pc and I format internal storage in recovery. Deletes all useless files and replicas.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Thanks, but would you mind giving me some specifics on what directories/file systems to format? The space usage for me doesn't appear to be in /data/media like many others have posted so part of my problem is that I'm not sure where to look.
techinv said:
Thanks, but would you mind giving me some specifics on what directories/file systems to format? The space usage for me doesn't appear to be in /data/media like many others have posted so part of my problem is that I'm not sure where to look.
Click to expand...
Click to collapse
If you use twrp recovery, just go in wipe, and wipe internal storage.
Sent from my HTC6435LVW using xda app-developers app
henslo said:
If you use twrp recovery, just go in wipe, and wipe internal storage.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Okay. Would I be flashing my ROM/kernel combination after that step?
I assume that restoring a backup might introduce problems so probably better to stay away from that??
Thanks
techinv said:
Similar issue, except /data/media doesn’t appear to be what's using my space. See attached screenshot for details. Thanks in advance for any suggestions.
Sent from my DLX using xda app-developers app
Click to expand...
Click to collapse
That screenshot is useless, depending on if you are using android 4.1.x or android 4.2.x
4.2.x introduces a new filesystem and starts using a new directory /data/media/0
all of your old data is still in /data/media and your phone is looking at /data/media/0 for sdcard space
it calculates total space by how big /data media is and its contents are under /0 (the 0 is the user that is on the device, /1 would be a second user account, however user accounts are disabled on phones)

Categories

Resources