Anyone knows and explain how to increase the /system partition ? By standard, poco has 2975 mb on /system , I need to increase this for flashing some gsi's that require a bigger system partition.
saintjimmy1984 said:
Anyone knows and explain how to increase the /system partition ? By standard, poco has 2975 mb on /system , I need to increase this for flashing some gsi's that require a bigger system partition.
Click to expand...
Click to collapse
Don't go on that route. It is risky.
If you are rooted, use Titanium Backup to uninstall various Google apps (which are available on the PlayStore and can be reinstalled as user apps later). The bloatware of Xiaomi apps can also be uninstalled. You will get sufficient space.
Related
Hello XDA,
I've begun flashing ROMs and rooted my device a little under a month ago. From what I've noticed, the system partition on my Samsung Galaxy Ace is usually quite free (40mb+ on most ROMs). However, the /data partition isn't.
I'd like to know if there's a way so I can take some of the space used in the /system partition and add it to the /data partition. I do have Link2SD installed, but the problem is that some apps won't install because there simply isn't enough internal space available. I know that it's possible with other phones such as the LG Optimus, but is there a way to achieve this on our phone?
Thanks! I'm running StockLite v6
Note: The LG Optimus instructions are in the thread "[HOW-TO] Easily resize system + data partitions!" by effortless.
Haven't seen a method to use system partition as data .
But we don't need to do that.As AMARULLZ Scripts(original thread Amarullz Script) does a fine job
It will mount as sd-ext partition as /Data and vice-versa and copies system data to sd-ext(which now points to original internal mem.) so no performance degrade.
DO a nandroid Backup before.
If you have sd -ext partition just disable/uninstall links2sd ,s2e or any other such app and delete their script from init.d folder and reboot you will have no app in your app drawer from sd-ext if you did it successfully.
Now flash This Script.zip.(Mount System)
check you have 40ad2sdx in your init.d
Atleast reboot 2 times for smoother experience.
Now you will have Internal memory equal to sd-ext partition so never run out of memory .
i just wanted to ask if it is possible to re-partition /system and /data partition .. i am thinking of pulling some of /system memory and add it to /data because my system has around 60mb+ more free memory which i can't use while my /data is only less than 20mb free and its irritating to see the low memory notification ..
or is it possible to pull some of /cache memory and add it to /data ?
thanks
xlSKYFiRElx said:
i just wanted to ask if it is possible to re-partition /system and /data partition .. i am thinking of pulling some of /system memory and add it to /data because my system has around 60mb+ more free memory which i can't use while my /data is only less than 20mb free and its irritating to see the low memory notification ..
or is it possible to pull some of /cache memory and add it to /data ?
thanks
Click to expand...
Click to collapse
Try using scripts like CronMod to increase you internal memory. All you need is a rooted phone and an SD Card with ext partition. You can create an ext partition from CWM (Advanced> Partition SD card> Size (maximum 1GB)>Cache (0MB)). Make sure to backup your SD card before you create the ext partition. Here is the link to the script,
Cronmod Unofficial / Data2sdext
Hope I Helped
mahithm said:
Try using scripts like CronMod to increase you internal memory. All you need is a rooted phone and an SD Card with ext partition. You can create an ext partition from CWM (Advanced> Partition SD card> Size (maximum 1GB)>Cache (0MB)). Make sure to backup your SD card before you create the ext partition. Here is the link to the script,
Cronmod Unofficial / Data2sdext
Hope I Helped
Click to expand...
Click to collapse
i found CronMod a couple of days ago, well i tried Data2Ext .. when i installed it my phone was 80% more laggy, i don't know why .. but i kinda like it more since it shows the sd-ext partition on the app manager instead of the original device storage .. but still, i'll try cronmod
also, it says on the thread that the attached files are outdated, but the links on the post seems to be dead
also, i added facebook, facebook messenger, google play services, hangout, clean master and quickpic to the .zip of the rom so they would be pre-installed to the /system but still my device storage is only at 30~40% initial after flashing considering that the apps are installed in the /system partition
i also tried TouchWiz ROM, it's great but i haven't installed a single app yet but the /data partition seems to be 60% Loaded already ?? is there a remedy for it ? thanks
you helped me again, hit thanks :good:
by the way, will cronmod work with pre-installed apps ? i mean the system apps ?? will cronmod manage to move all of its Dalvik Cache and Data to SdExt ??
xlSKYFiRElx said:
i found CronMod a couple of days ago, well i tried Data2Ext .. when i installed it my phone was 80% more laggy, i don't know why .. but i kinda like it more since it shows the sd-ext partition on the app manager instead of the original device storage .. but still, i'll try cronmod
also, it says on the thread that the attached files are outdated, but the links on the post seems to be dead
also, i added facebook, facebook messenger, google play services, hangout, clean master and quickpic to the .zip of the rom so they would be pre-installed to the /system but still my device storage is only at 30~40% initial after flashing considering that the apps are installed in the /system partition
i also tried TouchWiz ROM, it's great but i haven't installed a single app yet but the /data partition seems to be 60% Loaded already ?? is there a remedy for it ? thanks
you helped me again, hit thanks :good:
Click to expand...
Click to collapse
This is how CronMod works. It basically loads the /data to /sd-ext so that now /sd-ext contains all the data files. Now we mount the ext partition as the new /data mount point. Then all files in /sd-ext are moved back to /data. Since certain files like gps will not work when it is in ext partition, it is then moved back to /sd-ext. Then all the contents in /data and /sd-ext in binded so that any change in any of them is reflected to original. This is initialized every time at the boot. The reason CronMod lags is because the ext partition is loaded as the mount point for /data. Since SD card read/write operations are slower than internal memory read/write operation, /data operation will be slow. This is can be solved to a greater extend if you have a Class 8 or 10 SD card. BTW which verson did you install? If you installed CronMod by croniccorey then gps will not work. Go with CronMod Unofficial by Styke. Also this doesn't affect /system partition. Using this script will not increase the /system space. It will only increase the /data memory, so that you can install more apps and games.
---------- Post added at 11:05 AM ---------- Previous post was at 11:00 AM ----------
xlSKYFiRElx said:
by the way, will cronmod work with pre-installed apps ? i mean the system apps ?? will cronmod manage to move all of its Dalvik Cache and Data to SdExt ??
Click to expand...
Click to collapse
Since this script moves the /data partition to your ext, none of the pre-installed apps are moved to ext partition. /system thereby system apps remains intact. I suggest you install apps like facebook, facebook messenger, google play services, hangout and clean master after you setup this script. Once you install an app as system app, it can never be moved to ext partition. Hope I Helped
Since this script links the /data partition to your ext, none of the pre-installed apps are moved to ext partition. /system thereby system apps remains intact. I suggest you install apps like facebook, facebook messenger, google play services, hangout and clean master after you setup this script. Once you install an app as system app, it can never be moved to ext partition. Hope I Helped
Click to expand...
Click to collapse
i see, i think you didn't understood my question, sorry for that .. i mean, will the system applications cache and dalvik cache be linked to the sd-ext ?? .. nonetheless, i'll try again
but, do you happen to have a link to the latest versions ?? the latest version links are dead on the thread so i can't find a download link
thumbs up again for you mate, you help a lot
EDIT: also, will be SDHC be sufficient to aid the lag (even for a little ?) its a Class 10 32GB RIDATA MICRO SDHC
xlSKYFiRElx said:
i see, i think you didn't understood my question, sorry for that .. i mean, will the system applications cache and dalvik cache be linked to the sd-ext ?? .. nonetheless, i'll try again
but, do you happen to have a link to the latest versions ?? the latest version links are dead on the thread so i can't find a download link
thumbs up again for you mate, you help a lot
EDIT: also, will be SDHC be sufficient to aid the lag (even for a little ?) its a Class 10 32GB RIDATA MICRO SDHC
Click to expand...
Click to collapse
LOL I explained everything in detail thinking that you will understand. Long story short, CronMod script basically moves /data to ext partition. Since all the system and user application's dalvik cache is present in /data, Yes, it will be moved to ext. Nothing in /system will be moved to ext partition. All system apps are present at /system/app, so it can't be moved. User apps that you install goes to /data/app, so those will be moved. Also download the latest version from the "Attached Files" section in the same link. It works. Before you buy a new SD Card, try this in your current SD Card. See if it lags a lot. I might have an another solution. If that too doesn't work, you can buy a new SD Card. Do post the result. Hope I Helped
mahithm said:
LOL I explained everything in detail thinking that you will understand. Long story short, CronMod script basically moves /data to ext partition. Since all the system and user application's dalvik cache is present in /data, Yes, it will be moved to ext. Nothing in /system will be moved to ext partition. All system apps are present at /system/app, so it can't be moved. User apps that you install goes to /data/app, so those will be moved. Also download the latest version from the "Attached Files" section in the same link. It works. Before you buy a new SD Card, try this in your current SD Card. See if it lags a lot. I might have an another solution. If that too doesn't work, you can buy a new SD Card. Do post the result. Hope I Helped
Click to expand...
Click to collapse
i get stuck at bootscreen with cronmod, i don't know why, with Data2Ext, with my previous experience with is is ultimate lag
xlSKYFiRElx said:
i get stuck at bootscreen with cronmod, i don't know why, with Data2Ext, with my previous experience with is is ultimate lag
Click to expand...
Click to collapse
Are you using any other data2ext scripts currently apart from CronMod? Usually installing CronMod on a device that already has a data2ext script will give this error. Make sure to delete all other data2ext scripts if present. Since you are stuck at boot screen, you will have to reflash the rom. Make sure to do Mounts and Storage>Format /system before flashing the new rom. There are two ways by which you can install CronMod. First one is by flashing the zip from CWM (in that case you have to mount /system before flashing). Second one is the easiest one. Just extract the CronMod zip file. You will get a file 40int2ext in /system/etc/init.d/. Now extract the rom that you are going to flash, put the file 40int2ext in /system/etc/init.d/ and then compress it back. Done! Now flash the rom and you are good to go. Try the second method. Make sure you have an ext partition and the rom has init.d support (all custom roms has init.d support). If that method doesn't work or devices lags like hell, then post here and I'll be glad to share the other method. Hope I Helped
I dont understand
Some people say apps use it
But i dont agree
But if so then
Whats is the cache files in /data/data/*/cache ?
For
And why does apps like galleries
Make files in our internal memory aka /sdcard
But not in /cache ?
I dont get it
Any help clarifying it for me would be nice
Some apps do use it, as a less permanent cache than cache in /data partition. Specifically I know some of googles apps use it, thumbnails, market downloads, previews etc. /cache partition is basically data that won't affect the app at all if flushed. Cache in /data partition is more per app specific files that theoretically could stay until reset or app is deleted. At least that's my understanding.
Its also used for other non app stuff like logs, filesystem lost and found etc
Hello,
Would it theoretically possible to delete the recovery system of android and use the space for example for data?
I mean, if you have SPflashtool, you would not need the android recovery, becuase you can flash the phone over pc,
if something is broken on the firmware, so why not deleting it, and use the space the recovery takes normally for other purposes?
Is the recovery system only needed for recovery, or has it other functions too (Booting the normal system for example)?
@Rufus0700
Partitions aren't resizeable on Andoid A-only devices, hence by deleting the mentioned /recovery partition one doesn't gain storage space that can get added/merged to another partition, for example /data partition.
jwoegerbauer said:
@Rufus0700
Partitions aren't resizeable on Andoid A-only devices, hence by deleting the mentioned /recovery partition one doesn't gain storage space that can get added/merged to another partition, for example /data partition.
Click to expand...
Click to collapse
But I think it would be possible to edit the partition table BEFORE flashing the ROM on the phone?
TWRP, Pitchblack, OrangeFox, whatever recovery I try, I always end up with this Super partition. And I can't see how much size it is. It's just sitting 8192MB by default.
Aren't there any recoveries that show partitions normally like system, vendor separately, with actual sizes filled ?
MPK99 said:
TWRP, Pitchblack, OrangeFox, whatever recovery I try, I always end up with this Super partition. And I can't see how much size it is. It's just sitting 8192MB by default.
Aren't there any recoveries that show partitions normally like system, vendor separately, with actual sizes filled ?
Click to expand...
Click to collapse
That's because there are no dedicated partitions for system, vendor, and product. They are all located inside one partition called "super". Think of it as one big partition that houses other smaller partitions. The size of the individual partitions is variable hence you'll only be able to see the size of the super partition.
The size of the super partition is fixed and cannot be resized after a rom is installed. The super partition was created to eliminate the need for vendors to allocate specific sizes for sub partitions. Before the super partition, each partition had to be allocated a specific size and any free memory left after writing data to it could not be used when other partitions required more space. This free space was therefore wasted.
In the super partition, the sub partitions can be the exact size of the files contained within them. Any free space is left inside the super partition and can therefore be used by other sub partitions if they need it.
Unfortunately, the biggest setback for developers is that they cannot modify the contents of sub partitions once they're made read only (usually on the first boot after installing a new rom). People who try to modify these partitions often get into boot loops forcing them to reinstall the stock rom.
twistyplain said:
That's because there are no dedicated partitions for system, vendor, and product. They are all located inside one partition called "super". Think of it as one big partition that houses other smaller partitions. The size of the individual partitions is variable hence you'll only be able to see the size of the super partition.
The size of the super partition is fixed and cannot be resized after a rom is installed. The super partition was created to eliminate the need for vendors to allocate specific sizes for sub partitions. Before the super partition, each partition had to be allocated a specific size and any free memory left after writing data to it could not be used when other partitions required more space. This free space was therefore wasted.
In the super partition, the sub partitions can be the exact size of the files contained within them. Any free space is left inside the super partition and can therefore be used by other sub partitions if they need it.
Unfortunately, the biggest setback for developers is that they cannot modify the contents of sub partitions once they're made read only (usually on the first boot after installing a new rom). People who try to modify these partitions often get into boot loops forcing them to reinstall the stock rom.
Click to expand...
Click to collapse
Understood. But can we access /system & /vendor folders & modify files in it through root explorer.
So you're saying there's no way to remove system bloatware & unwanted apps ?
twistyplain said:
That's because there are no dedicated partitions for system, vendor, and product. They are all located inside one partition called "super". Think of it as one big partition that houses other smaller partitions. The size of the individual partitions is variable hence you'll only be able to see the size of the super partition.
The size of the super partition is fixed and cannot be resized after a rom is installed. The super partition was created to eliminate the need for vendors to allocate specific sizes for sub partitions. Before the super partition, each partition had to be allocated a specific size and any free memory left after writing data to it could not be used when other partitions required more space. This free space was therefore wasted.
In the super partition, the sub partitions can be the exact size of the files contained within them. Any free space is left inside the super partition and can therefore be used by other sub partitions if they need it.
Unfortunately, the biggest setback for developers is that they cannot modify the contents of sub partitions once they're made read only (usually on the first boot after installing a new rom). People who try to modify these partitions often get into boot loops forcing them to reinstall the stock rom.
Click to expand...
Click to collapse
Thx for explanation bro. Currently I have this issue. Can you take a look into this thread below & answer there ?
Unable to decrypt FBE device
Plz anybody help this out... I unlocked bootloader, then immediately flashed Pitchblack recovery, then booted into recovery. Initially console shows decrypted FBE device with default password. But Encryption status : Encryped So I went into wipe...
forum.xda-developers.com
MPK99 said:
Understood. But can we access /system & /vendor folders & modify files in it through root explorer.
So you're saying there's no way to remove system bloatware & unwanted apps ?
Click to expand...
Click to collapse
In some custom miui roms like miui eu it is possible without causing a bootloop. Sometimes a bootloop will occur because of the root explorer you use. However, of you're still on stock rom you'll very likely end up in a bootloop. AOSP roms don't have this weaknesses but they're not as stable as miui.
I recommend installing a debloated rom like MiuiMix or miui eu. Then get help from the support forums to find out how to get into system without killing the rom.
Everytime I tried to flash a ROM without wiping system (bc I can't) I got error 7. So I had to do a format data and I lost all of my stuff. Is there any way of wiping system so I don't have to do a format data?
Piusak said:
Everytime I tried to flash a ROM without wiping system (bc I can't) I got error 7. So I had to do a format data and I lost all of my stuff. Is there any way of wiping system so I don't have to do a format data?
Click to expand...
Click to collapse
Once after booting up any rom, check whether the device is encrypted or not. (Security > Encryption)
If it is, then offcourse, in recovery you had to wipe everything if you wanna flash a new rom. This device has dynamic partition update, that merges all OS partitions (system, vendor, product) & encrypts data partition if it's decrypted.
Ofcourse you also can't able to modify partitions while encrypted, caz you'll end up into errors.