Now that we have s-off, is there a way to resize system and data, to shrink the system partition and redistribute the excess to make the data partition larger? This seems useful for any future light AOSP style ROMs that are soon to coke.
Wait for ROMs
Sent from my HTC One M8!
U WOT M8?
i am Waiting for ROMs
Related
Anybody wanna help me resize my data and system partitions? I can't figure out how to do it myself, the closest thing I found was for evo 4G, but I'd rather not take the risk of blocking my phone using that method. http://forum.xda-developers.com/showthread.php?t=1077426
Question I have to ask is why ?
Garridon said:
Anybody wanna help me resize my data and system partitions? I can't figure out how to do it myself, the closest thing I found was for evo 4G, but I'd rather not take the risk of blocking my phone using that method. http://forum.xda-developers.com/showthread.php?t=1077426
Click to expand...
Click to collapse
It can't be done with this method, it looks like that's firerats custom MTD partitions and the Shift is EMMC partitioned which means no one has even thought about that.
prboy1969 said:
Question I have to ask is why ?
Click to expand...
Click to collapse
The reason this mod came about was because the older phones like the hero and whatnot had very little system memory, but after running firerats script it would give the hero like 300mb of system memory on Sense, so its a major memory increase and it would most likely eliminate the need for a2sd
Sent from my myTouch_4G_Slide using Tapatalk 2
Might be a better idea to do use a sd-ext rom with a partition on your sdcard. The shift has so little internal space in general, it might be a better idea to do that if your looking to get space.
Also, the OG Evo has a MTD memory, and the Shift has EMMc, which I believe is a lot less flexable to being changed than MTD is. Tell me if I'm wrong though.
Thanks for the quick response guys, I was really hoping to increase my data partition. There's so much room left untouched in the system folder. So no hope in doing this I assume your saying?
Sd_ext or move trusted apps from /data to /system
Garridon said:
Thanks for the quick response guys, I was really hoping to increase my data partition. There's so much room left untouched in the system folder. So no hope in doing this I assume your saying?
Click to expand...
Click to collapse
You really wouldn't get much more outta system for data as you would a ext partition. Sd-ext is virtually unlimited depending on the size of your sdcard.
Not to mention you would have to revert back to the stock settings in order to install a sense rom for updating prl and such things. This could be very tedious.
Firerat's initial custom mtd was for the G1, which is a aosp phone stock and does not need tons of system/rom space.
Sent from my PG06100 using xda premium
WARNING: This is far from complete, read carefully to know whether it is safe!
I created a tiny mod that automatically moves dalvik-cache to your /system partition in order to gain space on /data. The idea to do it came from here: http://petermolnar.eu/linux-tech-coding/how-to-move-dalvik-cache-to-system-partition-in-android/
Fiddling with the bootimage seemed to cumbersome and on a ROM supporting init.d-scripts, it should be possible to fix all from there (remount /system rw and check whether symlink is damaged from a dalvik-cache wipe attempt). This is my first working-for-me zip to automate the process in a flashable zip.
The installer contains an option to revert the mod -- works for me.
Prerequisites
For this to work, you need:
A ROM that supports init.d scripts
busybox installed (of course)
A custom recovery with all busybox links in place (should work on most)
Enough free space on /system for dalvik-cache
Limitations
Untested -- so far tested only on my Sensation with SuperXE 4.2.1 ROM
Prerequisites unchecked -- this includes busybox and space requirements on /system. Check yourself for now before flashing
Dalvik cache wipe non-functional -- at least for me on 4EXT Touch recovery. But it doesn't do any harm, at least.
Benefits
More space on /data -- around 150 MB for me
Downsides
/system must be kept rw
TODOs
Check some prerequisites to make it safer to flash
Analyze why dalvik-cache wiping does not work, maybe provide own wiping-option in AROMA
Check whether this works on ROMs with dalvik-cache on /cache; it already looks there after /data, so it SHOULD work
dalvik-syscache_0.2a_ALPHA.zip - use at your own risk.Nandroid keeps you safe, so please test after backup !
Older versions
dalvik-syscache_0.1a_ALPHA.zip
Changelog
* 0.2a:
Added dalvik-cache wipe option in AROMA
Minor cosmetic changes
Very nice idea!
On a related note - is there no safe way to repartition our device and just shrink the /system partition, giving it to /data instead?
manuelkuhs said:
Very nice idea!
Click to expand...
Click to collapse
Thanks, although the idea is old, just tried to automate it.
On a related note - is there no safe way to repartition our device and just shrink the /system partition, giving it to /data instead?
Click to expand...
Click to collapse
I don't think so. No idea what kind of partition table is used, but given the fact it's all on the same internal mmc block device, even the recovery partition, I assume it would be quite risky. But maybe someone around knows better?
wipe dalvike-cache option added in aroma ...
great job!
but i want to know if there any harm to our phone when system partition been read and write much more frequently than before?
AW: [MOD][ALPHA][2013-02-14] Save internal memory: dalvik-cache on /system AROMA
theggs said:
great job!
but i want to know if there any harm to our phone when system partition been read and write much more frequently than before?
Click to expand...
Click to collapse
No worries there, it's the same underlying block device. The only "issue" with having /system rw is it's maybe easier to accidently mess with your Rom at the command prompt. But wear on the flash is the same, no matter what partition is used for dalvik-cache.
Sent from my HTC Sensation XE using xda app-developers app
trying it out
trying it on cm10.1..it works!save 200+mb in /data. now more apps can be installed. now i can install much more apps thx for your great job!
just for one thing, this mod just move dalvik-cache in /data to /system, and dalvik-cache in /cache is still there. so still can only creat 50mb swap partition in /cache with the turbo boost.
Sent from my HTC Sensation using Tapatalk 2
theggs said:
trying it on cm10.1..it works!save 200+mb in /data. now more apps can be installed. now i can install much more apps thx for your great job!
just for one thing, this mod just move dalvik-cache in /data to /system, and dalvik-cache in /cache is still there. so still can only creat 50mb swap partition in /cache with the turbo boost.
Click to expand...
Click to collapse
Hi, thanks for testing!
For your issue: I think there should be only one dalvik-cache (either in /data or in /cache), the other one probably being a leftover of another rom. could you try wiping dalvik-cache & cache and see which one is re-created at boot? [If really both, I'll gonna have a look at CM 10.1 myself...]
edit: uninstall the mod before wiping please ...
tired and still get dalvik-cache in both /date and /cache without this mod. and with this mode, dalvik-cache in both /cache(67.73mb) and /system(238.32mb).
theggs said:
tired and still get dalvik-cache in both /date and /cache without this mod. and with this mode, dalvik-cache in both /cache(67.73mb) and /system(238.32mb).
Click to expand...
Click to collapse
Ok thanks ... I just researched a little on this and probably your ROM splits dalvik-cache in two parts, for system apps (on /cache) and user apps (on /data).
Of course I could make this mod move both of them to /system, but I think I'll first try to implement some checks for available space in order to make this a safe operation. I'll think about solutions ...
edit: for stripped-down / AOSP roms, this should always be safe, having around 450 to 500 MB free space on /system -- but in order to make this mod safe for all, I think I'll have to work a little on it
Looking forward to the next vision. thx for your work again!
Nice idea!
Just wondering since most of us have s-Off, isn't there a way to repartition the band, so I can make more space on data instead of system? I always use aosp roms, so there isn't needed much space on system for me
Sent from my HTC Sensation using xda premium
Caspertje19 said:
Just wondering since most of us have s-Off, isn't there a way to repartition the band, so I can make more space on data instead of system? I always use aosp roms, so there isn't needed much space on system for me
Click to expand...
Click to collapse
Yep, I had that idea, too. Especially using AOSP, the space on /system is wasted.
I'm still not sure whether repartitioning is possible, but now I think I wouldn't dare to, given the fact that recovery resides on the same block device -- I'd worry to brick my phone fiddling with the partition table.
So, for me, moving dalvik-cache to system and installing apps I constantly use to /system/app seemed to be the "next-best" solution.
I'll update this mod probably this weekend, adding some logic checking space-requirements should make it safe to flash.
Caspertje19 said:
Nice idea!
Just wondering since most of us have s-Off, isn't there a way to repartition the band, so I can make more space on data instead of system? I always use aosp roms, so there isn't needed much space on system for me
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
Only people I know who can create custom hboots are alpharev and thalmus_
Sent from my HTC Sensation using xda app-developers app
It's an old thread, but has anyone a working link to download this ?
I think this is relevant for today.
I've always had issues with ROMs when it comes to partition size. If I used system 3 & 4 and put a data partition of 1000M on both, the second ROM I installed would fail to boot after apps were installed. I got around this by making the data partitions 800M instead so now I can run two ROMs. I don't understand why this would be happening though. With 800M data partitions I can't have a third or fourth ROM and by the time I get my apps installed anything under 800M isn't enough space. Is there something I am missing or is this just the way that it is?
nbucko said:
I've always had issues with ROMs when it comes to partition size. If I used system 3 & 4 and put a data partition of 1000M on both, the second ROM I installed would fail to boot after apps were installed. I got around this by making the data partitions 800M instead so now I can run two ROMs. I don't understand why this would be happening though. With 800M data partitions I can't have a third or fourth ROM and by the time I get my apps installed anything under 800M isn't enough space. Is there something I am missing or is this just the way that it is?
Click to expand...
Click to collapse
How many USER apps do you have installed on system 1? Since bmm creates the additional partitions on the system 1 data partition, that has a lot to do with it.
I also have same query.
Actually after installing Kitkat ROM on my Atrix 2, I prefer to switch runtime to ART and ART consumes lot of space while retaining same number of apps like in dalvik runtime. And the usual 1 GB partition which we create during multiboot setup seems too less in case of ART, though its enough if we keep the runtime to dalvik. It fills up very soon.
Right now my preference is to keep two ROMs apart form stock ICS so total there are three ROMs in my phone.
Is there any way to create data partition of more than 1 GB? BMM refuses to create 2GB partition when there is already one custom ROM in one of the system.
Haven't tried to see if 2 GB is possible if only single custom ROM is installed along with stock ROM. If 2GB is possible in case of only single ROM along with stock then also I can live with it.
Jack Sparrow xda said:
I also have same query.
Actually after installing Kitkat ROM on my Atrix 2, I prefer to switch runtime to ART and ART consumes lot of space while retaining same number of apps like in dalvik runtime. And the usual 1 GB partition which we create during multiboot setup seems too less in case of ART, though its enough if we keep the runtime to dalvik. It fills up very soon.
Right now my preference is to keep two ROMs apart form stock ICS so total there are three ROMs in my phone.
Is there any way to create data partition of more than 1 GB? BMM refuses to create 2GB partition when there is already one custom ROM in one of the system.
Haven't tried to see if 2 GB is possible if only single custom ROM is installed along with stock ROM. If 2GB is possible in case of only single ROM along with stock then also I can live with it.
Click to expand...
Click to collapse
I don't recall who or where, but someone posted a workaround for creating a 2 GB partition. The good news is that it can be done. The bad news is the info is probably BURIED somewhere here in Q&A.
Hello,
I was wondering if it is possible to repartition partitions on Nexus 5? I was thinking about reducing system partition size and expanding data partition to get a little bit more internal space.
Can that be done?
No one has reported this being possible yet.
or reduce cache partition that is about 650mb, useless...........I think.
I'v done repartition with old htc desire and with my xoom.........I think that every android device can be repartitioned, the partition is in MTD.....table
SoftWord said:
or reduce cache partition that is about 650mb, useless...........I think.
I'v done repartition with old htc desire and with my xoom.........I think that every android device can be repartitioned, the partition is in MTD.....table
Click to expand...
Click to collapse
Not all devices are MTD devices. HTC desire was done by modification of hboot by flashing either custom hboot or flashing into hboot a custom mtd layout. Most devices, this is not possible.
not all? ah ok, I don't know that
So the partition table is set in read only memory? I wouldn't be able to use adb and fdisk to delete any partitions?
Hi all...
Just wandering if anyone new how to resize the system partition of a galaxy a53?
Need to make it larger to fit files onto it but not able to delete bloatware or anything for some reason using all the recommended processes. And to be honest having larger system partition would probably just be useful anyway.
My phone is rooted. I'm not fussed about having to refresh ect. And I have TWRP flashed and Stock Rom.
Please help lol
TWRP should automatically resize your system partition.
When you're installing the ROM, make sure you format /data then /system before installing.
It does, but i want to make the partition larger so i can add files to the system partition once the rom is flashed and phone is set up to be used.
At the moment it say 6GB partition and only the rom fits onto the partition and there isnt any room to add extra files. so im looking to make the partition say 10GB to give myself some wiggle room to play with.
i Have 128GB in total so can spare some extra GB's lol