Get use out of the 2gb wasted /system space when using a custom ROM - Galaxy S 4 Q&A, Help & Troubleshooting

Hello xda,
When you install a (lightweight) custom rom on a s4, you will easily have about 2gb of the /system partition unused (+plus a few gb more in some other partitions). It sums up to about 4.5gb (!) of unused space.
Changing the partition sizes using a modified pit file is impossible.
Converting user apps to system apps seems useless as updates are installed on the internal storage.
Can something be done using foldermount? (moving cache to one of those unused system partitions?)
What do you think is the best way to get use out of this wasted space?
Thank you in advance,

Pretty much the only thing you can do with that extra space is to flash another ROM on it and then you can dual boot any 2 ROMs.
You can have a TouchWiz ROM and a LineageOS ROM, or any other combination of 2 ROMs.
This is pretty much the only thing you can do. Even if you somehow move apps to /system, their data will still be written on the /data partition.
Also, /system is read-only by default.

nxss4 said:
What do you think is the best way to get use out of this wasted space?
Thank you in advance,
Click to expand...
Click to collapse
Flash a bigger Gapps package. The Google apps will be installed on the system partition. Don't fill it completely, though.

Thank you for the replies guys! Dual booting is a good way to fill up space, indeed. But I'm really satisfied with RR 7.1.1. Maybe dualboating touchwiz for the camera is an idea, I will see!
Salut, thanks but I does it have any benefits? As updates will be installed on the internal storage anyway.

nxss4 said:
Salut, thanks but I does it have any benefits? As updates will be installed on the internal storage anyway.
Click to expand...
Click to collapse
There's no reason to fill your phone up with a bunch of useless apps. Install the package that fits your needs most.

As you can convert user apps to system apps you can integrate updates to system partition too.

tset351 said:
As you can convert user apps to system apps you can integrate updates to system partition too.
Click to expand...
Click to collapse
That's interesting, is there an automated way to do that? I did some research before starting this thread but couldn't find anything?
I like my phone to 'just work' (not like iphones) when I am busy

nxss4 said:
That's interesting, is there an automated way to do that? I did some research before starting this thread but couldn't find anything?
I like my phone to 'just work' (not like iphones) when I am busy
Click to expand...
Click to collapse
Automated? Well, it's not an iPhone
With link2sd you can migrate apps and updates into system partition.
Good luck

tset351 said:
Automated? Well, it's not an iPhone
With link2sd you can migrate apps and updates into system partition.
Good luck
Click to expand...
Click to collapse
Oh well, I'm going to look into that, I use apps2sd atm for foldermount, they don't have this option. I'm gonna try out link to sd, thanks!
UPDATE: It works flawlessly, thanks !
Just no automatic applying updates to system apps, but i guess I can live with that

Related

/dev/block/mmcblk0p12 - the best thing to do with it...

Have you checked out /dev/block/mmcblk0p12 on your device?
It's a ~500MB partition, that just seems to be reserved for GameHub (it's not mounted by default, it's just THERE... mine happens to have some hidden ngmoco content on it).
I feel we could make better use of this, thoughts? I wonder if we'd get a good boost by formatting it as swap for example?
Fellow devs, share your thoughts...
P
Do we really need swap on a phone with 1 GB of RAM?
No, not necessarily, that's my point... it's silly to be wasting nearly half a gig tho...
P
paulobrien said:
No, not necessarily, that's my point... it's silly to be wasting nearly half a gig tho...
P
Click to expand...
Click to collapse
Hmm.. A very "creative" idea.. Make it another /system partition with another ROM. Dual booting FTW!
kalpik said:
Hmm.. A very "creative" idea.. Make it another /system partition with another ROM. Dual booting FTW!
Click to expand...
Click to collapse
That would be a VERY VERY creative idea, and a VERY good use of that extra space!!!!!
kalpik said:
Hmm.. A very "creative" idea.. Make it another /system partition with another ROM. Dual booting FTW!
Click to expand...
Click to collapse
Oh yes, that is a brilliant idea!
There are issues with /data conflicts between ROMs, but assuming the ROMs aren't too wildly different, it could work!
Another option would be to use it for dalvik-cache to save space on /data?
P
Having a play with the swap option just for fun!
Code:
# free
total used free shared buffers
Mem: 853048 512220 340828 0 19616
Swap: 524284 0 524284
Total: 1377332 512220 865112
#
I'm away for a week from tomorrow, but when I get back I might rustle up a 'Dual ROM switcher'...
P
Mr O'Brian on fire as usual.
How much work would be involved in modifying CWM to boot from either partition? Is that even possible?
That'd be cool!
You can make a multi boot script just editing some of the boot scripts - no actual need to modify CWM
paulobrien said:
Oh yes, that is a brilliant idea!
There are issues with /data conflicts between ROMs, but assuming the ROMs aren't too wildly different, it could work!
Another option would be to use it for dalvik-cache to save space on /data?
P
Click to expand...
Click to collapse
My vote goes to using it for dalvik-cache and increase data by 500MB
Or we could use it to add an extra 500mb of space available for the user in the internal SD.They are on the same memory chip,right?Reformatting both and merging them sounds about right.
That's if we don't find something better.
As for the second rom thing,I have an idea.What if we use that space as a secondary /system,and split a 1-2gb of space from the internal SD to use as /data for the second rom?That way,only the boot scripts would need modifying,unless I am missing something that I shouldn't be missing.
I believe ODIN has that function to repartition. would it be right to say that as long as the custom rom to be flashed would actually mount/recognize the partitions properly then the phone should boot as per normal with the new sizes then just soft/hardlink the folder ?
just thinking out loud.
Brilliant ideas, if it works we can have a dual boot with HTC Sense n Meego... until a new mobile OS joins in
Sent from my GT-I9100 using XDA Premium App
This is getting interesting by the moment yeaaah!!!
Enviado desde mi GT-I9100 usando Tapatalk
Dual boot seems like a nice option to do.....maybe running cm7 and stock simultaneosly.....dalviks-cache is a good idea too, but as it is now, its more than enouh for me....that one would depend on users data usage. Swap memory, yeah 1 gb for android is more than enough. Maybe we could initially use it for storage of cwm backups (which shouldnt be to hard to do), then move on to dual booting or whatever is decided.
Why didnt I see that partition before?...**facepalm**
doctorcete said:
Dual boot seems like a nice option to do.....maybe running cm7 and stock simultaneosly.....dalviks-cache is a good idea too, but as it is now, its more than enouh for me....that one would depend on users data usage. Swap memory, yeah 1 gb for android is more than enough. Maybe we could initially use it for storage of cwm backups (which shouldnt be to hard to do), then move on to dual booting or whatever is decided.
Why didnt I see that partition before?...**facepalm**
Click to expand...
Click to collapse
I believe no one had seen that up until now.
I guess you people missed this one.
phunkycow said:
I guess you people missed this one.
Click to expand...
Click to collapse
LOL. Well spotted Seems this has been in use for some time
I personally would use the block 12 for general file storage, and as a place for tweaks to be processed (sorta like a scratch filesystem in photoshop and adobe software). I use /cache for it right now, but you never know when it might come in handy...
kalpik said:
Hmm.. A very "creative" idea.. Make it another /system partition with another ROM. Dual booting FTW!
Click to expand...
Click to collapse
First thing that came to mind after reading Paul's post. Good thinking Batman!

[Q] How can I make my ext partition on my SD card bigger?

I have Android in NAND and I was running out of memory. So I made an partition on my SD. So that apps automaticly are going to install on my SD. That partition was 2GB. I use a ton of apps and within a week the partition was full. So how can I make that partition bigger WITHOUT losing any data?
Do a full cwm backup (titanium backup too, just in case)and also backup the fat partition of the SD card, reformat to desired size, then in cwm choose backup/restore, advanced - restore sd-ext, then restore your fat partition stuff too(important that bit, because there's android stuff on the fat partition too)
you can potentially just do a full restore from cwm rather than a selective sd-ext restore, but id try the selective restore first.
elias2204 said:
I have Android in NAND and I was running out of memory. So I made an partition on my SD. So that apps automaticly are going to install on my SD. That partition was 2GB. I use a ton of apps and within a week the partition was full. So how can I make that partition bigger WITHOUT losing any data?
Click to expand...
Click to collapse
A little bit off topic, but what kind of apps are you talking about?
I have over 100 apps, and my 1GB ext partition is not even half full.
Are you sure it's 2GB ?
Marvlesz said:
A little bit off topic, but what kind of apps are you talking about?
I have over 100 apps, and my 1GB ext partition is not even half full.
Are you sure it's 2GB ?
Click to expand...
Click to collapse
+1 - I have a fair number of apps including games and stuff, most of which are in my EXT partiton, and yet I have only used up around 350MB. Are you linking the libs files as well?Or did you create a smaller partition than you thought, as Marvlesz suggested (perhaps 256MB)?
Nigeldg said:
+1 - I have a fair number of apps including games and stuff, most of which are in my EXT partiton, and yet I have only used up around 350MB. Are you linking the libs files as well?Or did you create a smaller partition than you thought, as Marvlesz suggested (perhaps 256MB)?
Click to expand...
Click to collapse
I have Fifa 12, MC2, MC3, Dead Trigger,Real Football and PES 2012.
elias2204 said:
I have Fifa 12, MC2, MC3, Dead Trigger,Real Football and PES 2012.
Click to expand...
Click to collapse
That's strange i had 224 apps installed on my hd2 including many big games still i had 600 mb left from my 2gb ext partition
Sent from my LG P350 using xda premium
P.S. my HD2 got a dead touchscreen.so using this this till the HTC guys fix it
Anurag pandey said:
That's strange i had 224 apps installed on my hd2 including many big games still i had 600 mb left from my 2gb ext partition
Sent from my LG P350 using xda premium
P.S. my HD2 got a dead touchscreen.so using this this till the HTC guys fix it
Click to expand...
Click to collapse
When I want to get something like Facebook, Maps or Songpop it says that I have not enough space those apps are around 10mb. When I go to settings it says that I have 28mb. But if I want to get something big like Minecraft it installs it without a problem.
elias2204 said:
When I want to get something like Facebook, Maps or Songpop it says that I have not enough space those apps are around 10mb. When I go to settings it says that I have 28mb. But if I want to get something big like Minecraft it installs it without a problem.
Click to expand...
Click to collapse
What is the script that you're using for the sd-ext? Are you using link2sd?
(Pressed thanks by mistake )
Marvlesz said:
What is the script that you're using for the sd-ext? Are you using link2sd?
(Pressed thanks by mistake )
Click to expand...
Click to collapse
I have no idea I'm just using this rom: http://forum.xda-developers.com/showthread.php?t=1817793
those roms dont support sd-ext by default, you have to flash one.
samsamuel said:
those roms dont support sd-ext by default, you have to flash one.
Click to expand...
Click to collapse
Oke, what do I have to flash?
elias2204 said:
Oke, what do I have to flash?
Click to expand...
Click to collapse
You have to flash an a2sd script that suits your needs
EDIT:
Sorry, my fault. I know you're going to ask "what is that" and "where do I get it".
Here: http://forum.xda-developers.com/showthread.php?t=1716124
I (just) hope that you will find all the information you need there.
Ohh, and before I go, don't ask us which is the best, there is no best .
And the one I'm using is this : INT2EXT+
Good luck
Marvlesz said:
You have to flash an a2sd script that suits your needs
EDIT:
Sorry, my fault. I know you're going to ask "what is that" and "where do I get it".
Here: http://forum.xda-developers.com/showthread.php?t=1716124
I (just) hope that you will find all the information you need there.
Ohh, and before I go, don't ask us which is the best, there is no best .
And the one I'm using is this : INT2EXT+
Good luck
Click to expand...
Click to collapse
I installed INT2EXT+ and it f*cked up my rom. When I boot up I get only force closes. So it made my phone unusable. Had to flash my rom back.
elias2204 said:
I installed INT2EXT+ and it f*cked up my rom. When I boot up I get only force closes. So it made my phone unusable. Had to flash my rom back.
Click to expand...
Click to collapse
Most of the scripts have to be flashed right before instalation of the rom.
So flash a script in a rom with all the apps already installed is not a good idea.
Magic2010 said:
Most of the scripts have to be flashed right before instalation of the rom.
Click to expand...
Click to collapse
flash the script BEFORE the rom?? that would be a neat trick to see.
@op, i use int2ext+ with the aokp jb rom from that thread, , flash the rom, let it set up, (dont bother with for example google account details and what not, just let it set up till you see the desktop).reboot, flash the script(you HAVE created teh ext partition already right? cos this script doesnt create it), reboot, then install your apps and data and such .
samsamuel said:
flash the script BEFORE the rom?? that would be a neat trick to see.
@op, i use int2ext+ with the aokp jb rom from that thread, , flash the rom, let it set up, (dont bother with for example google account details and what not, just let it set up till you see the desktop).reboot, flash the script(you HAVE created teh ext partition already right? cos this script doesnt create it), reboot, then install your apps and data and such .
Click to expand...
Click to collapse
I will try that. But meanwhile I flashed CM10 on my phone and then the script and it's working!!!!! But I like Paranoid Android more so I'm going to do what you said. BTW yes I have a partition on my SD-Card it's 2GB.
samsamuel said:
flash the script BEFORE the rom?? that would be a neat trick to see.
Click to expand...
Click to collapse
I meant to say right after the Rom, and before all the apps.
Thank You Thank You Thank You!!!!!!!!!!!!!!!
It's working!!!!!!!!!
elias2204 said:
Thank You Thank You Thank You!!!!!!!!!!!!!!!
It's working!!!!!!!!!
Click to expand...
Click to collapse
Why don't people use the thanks button?
Start from page one, and press the "Thanks" button for everyone that helped you (or even just tried to), yes, including me.
That is better than saying "Thank you" a million times.
Marvlesz said:
Why don't people use the thanks button?
Start from page one, and press the "Thanks" button for everyone that helped you (or even just tried to), yes, including me.
That is better than saying "Thank you" a million times.
Click to expand...
Click to collapse
Did that.

Do custom ROMs save a significant amount of system space?

I want to free up a bit more space on my 16gb nexus 4. Right now the system portion is taking about 3.5 GBs. I was wondering if custom ROMs use a smaller system area. Looking at unexpanded install files for different ROMs and comparing them to the stock install tar file, it does look like the stock is a bit bigger than custom ROMs (cyanogenmod's install tar was about 107mb while stock was about 330mb). Its hard to tell though since those install packages/files are compressed tar. Could some of you with custom ROMs post your system area size?
not really. maybe a rom like slim bean might be a little bit smaller but not that big of size difference. and btw the stock rom is an image (.img) and cyanogenmod is most likely a zip (.zip), which is more compressed, so zips are usually smaller files than images
lazer155 said:
I want to free up a bit more space on my 16gb nexus 4. Right now the system portion is taking about 3.5 GBs. I was wondering if custom ROMs use a smaller system area. Looking at unexpanded install files for different ROMs and comparing them to the stock install tar file, it does look like the stock is a bit bigger than custom ROMs (cyanogenmod's install tar was about 107mb while stock was about 330mb). Its hard to tell though since those install packages/files are compressed tar. Could some of you with custom ROMs post your system area size?
Click to expand...
Click to collapse
Welling looking at Titanium Backup it says CM10.1 Jellybo is taking up 867mb with basic Gapps. It says i have 440mb free. So to me by going off that info the system part is only about 1.4gb. Most of my gapps like gmail, maps that kind of stuff is on the data part.
No matter what ROM you flash the space you have available to you is the same.
Smaller ROM just will give you more free space in the /system partition. Which you can't access without root anyways.
albundy2010 said:
No matter what ROM you flash the space you have available to you is the same.
Smaller ROM just will give you more free space in the /system partition. Which you can't access without root anyways.
Click to expand...
Click to collapse
Yeah space is already reserved for the system so it doesn't matter. Just flash whatever ROM you feel most suites your needs.
zephiK said:
Yeah space is already reserved for the system so it doesn't matter. Just flash whatever ROM you feel most suites your needs.
Click to expand...
Click to collapse
From my understanding what the OP is asking is if other roms will have more free space on the system part most likely because he wants to install more apps on the system part to free up space on the data part. Titanium Backup allows you to do this. I do it on my wife's Gravity Smart to free up space on the data. Not really sure what all you are going to move since there is so little space there.
Prod1702 said:
From my understanding what the OP is asking is if other roms will have more free space on the system part most likely because he wants to install more apps on the system part to free up space on the data part. Titanium Backup allows you to do this. I do it on my wife's Gravity Smart to free up space on the data. Not really sure what all you are going to move since there is so little space there.
Click to expand...
Click to collapse
First off, why would you want to install apps into the /system/app/ folder? It makes no sense, it's not going to free up significant space that every body has to use. This phone isn't the G1 where we had limited storage and people had to install apps to the sdcard (apps2sd). It logically makes no sense.
Restoring system apps via Titanium Backup is also not a good idea and tends to leads you to trouble upon flashing ROMs and restoring system apps. Then people wonder why their phone is having force closures or acting funky. This is the Nexus 4, a highend phone not a Gravity Smart, a phone I never even heard of. No offense.
zephiK said:
First off, why would you want to install apps into the /system/app/ folder? It makes no sense, it's not going to free up significant space that every body has to use. This phone isn't the G1 where we had limited storage and people had to install apps to the sdcard (apps2sd). It logically makes no sense.
Restoring system apps via Titanium Backup is also not a good idea and tends to leads you to trouble upon flashing ROMs and restoring system apps. Then people wonder why their phone is having force closures or acting funky. This is the Nexus 4, a highend phone not a Gravity Smart, a phone I never even heard of. No offense.
Click to expand...
Click to collapse
You bring up bad memories. It was so complicated just to have all your apps, you would need to jump thru all the loops. At least now storage is easy to come by.
Sent from my Nexus 4 using xda app-developers app
A little OT, but are there any custom MTD partitions mods for the N4, so that unused /system space could be made available for /data
Root - put stuff wherever you want.

System Partition

hello, wanted to know if you have to increase the system partition because the 1.3GB of space is very low for the system and a decent version of gapps, thank you already! ?
matheusgcdj said:
hello, wanted to know if you have to increase the system partition because the 1.3GB of space is very low for the system and a decent version of gapps, thank you already!
Click to expand...
Click to collapse
I have 1.23 and seems to have pretty much the most used ones Gmail, Inbox , Maps, Drive and the works. Why is this a problem really?
KerDrooid said:
I have 1.23 and seems to have pretty much the most used ones Gmail, Inbox , Maps, Drive and the works. Why is this a problem really?
Click to expand...
Click to collapse
you see, we have a partition to cache ~ 500MB among some other partitions without even index (could be wrong), so I thought why not optimize available space by increasing the system partition ...
matheusgcdj said:
you see, we have a partition to cache ~ 500MB among some other partitions without even index (could be wrong), so I thought why not optimize available space by increasing the system partition ...
Click to expand...
Click to collapse
Are you trying to odex a live ROM? if you are this the additional space can certainly be used. I guess you are right 100 M should be good of cache in any case I guess in most cases. MAybe we need to check with the larger games to determine how much cache they need.
KerDrooid said:
Are you trying to odex a live ROM? if you are this the additional space can certainly be used. I guess you are right 100 M should be good of cache in any case I guess in most cases. MAybe we need to check with the larger games to determine how much cache they need.
Click to expand...
Click to collapse
because I want to know if there is a method to increase the system memory may be up to decreasing the data partition?

Possible to change system partition size ?

Hello xda community, i was wondering if is possible to change the size of the system partition on s8+ exynos version.
EDIT: I don't need to change sysytem partition size anymore, topic can be closed, thanks.
dan.97 said:
Hello xda community, i was wondering if is possible to change the size of the system partition on s8+ exynos version.
Click to expand...
Click to collapse
I don't believe it is.
But if If your anything like me it's all the free space available after a debloat.
So the trick there is move some user apps to system. Ones you use. Say like I got su.
My clock widgets file explorers. All my nessicary app bassicly. Some time they don't always work swapped over. But most do
Instead of resizing the partition I have bassicly utilized most of the free space thus gaining that space back in user data partition
Excellent? By the way
TheMadScientist said:
I don't believe it is.
But if If your anything like me it's all the free space available after a debloat.
So the trick there is move some user apps to system. Ones you use. Say like I got su.
My clock widgets file explorers. All my nessicary app bassicly. Some time they don't always work swapped over. But most do
Instead of resizing the partition I have bassicly utilized most of the free space thus gaining that space back in user data partition
Excellent? By the way
Click to expand...
Click to collapse
The point is that i need more space for system stuffs...

Categories

Resources