[Partition] increase /system partition ? - Galaxy S II Q&A, Help & Troubleshooting

Hello everyone, now I'm trying to flash Paranoid4 with full gapps, But the problem is that the SGS II System partition is only 512Mb.
When I try to flash gapps, I get insuficient storage. Gapps need 320Mb and i've only 250Mb free.
There does not it a way to change the size of the partition or install gapps in /data?
I have this topic: http://forum.xda-developers.com/showthread.php?t=1668994&page=2
But I do not understand the approach to be followed, apparently you can do with lvm (if I understood a little ...).
(Sorry for my english, i'm french)
Thanks !!!!

Related

[Q] Ext3 partition

Hi guys i'm new , and newbie
i need help to use my ext partition on my O1.
I have flashed the Gtr 5.8 rom based on cm 7.2 but i can't see the partition.
i tried to use freespace app and a2ext app but these can't see this one.
I have flashed 3 Roms but no one works with this partition.
My recovery is Clockwork 5.0.0.7.
Sorry for my bad english and thanks a lot for anyone can answer me
I'm not familiar with that ROM, but I just glanced at the discussion thread, and there are instructions/advice for using apps2sd. Have you read that?
mrocco86 said:
Hi guys i'm new , and newbie
i need help to use my ext partition on my O1.
I have flashed the Gtr 5.8 rom based on cm 7.2 but i can't see the partition.
i tried to use freespace app and a2ext app but these can't see this one.
I have flashed 3 Roms but no one works with this partition.
My recovery is Clockwork 5.0.0.7.
Sorry for my bad english and thanks a lot for anyone can answer me
Click to expand...
Click to collapse
I had the same problem.I did this and it worked.It's simple just create the partition again
First backup all the data of SD card
then install Amnora recovery as mentioned in GTR rom by neko95.
Reboot into recovery
Then in partition set value 0 in both partition n swap,you'll have a blank SD with it's full capacity
Then again partition as your wish.
Then copy all the backed up data.
Then open S2e
it'll be able to detect the created partition
Hope i helped!!
yes, use amonra...clockwork's default to ext3/ext4....forget which one or maybe both....if you want specifically ext3 for whatever reason that might be, use amonra than partitition than upgrade from ext2 to ext3 in the partition portion of amonra recovery
ok, i think to have undestanded.
When i have an hour free i try to do this, with amonRa.
Thank you a lot

Re-Partition /system and /data ?

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

[Q] Problems increasing internal memory with link2sd

Hello all,
few days ag I asked how to move internal apps to SD with Titanium Backups. Hitesh2626 recommeded me to use another method : http://forum.xda-developers.com/showthread.php?t=2082465 and I did so.
I've followed the guide but I did not succeed and I think I konw why: when I run CWM I don't have any /sd-ext partition.
I've followed all the steps under "Partition SD Card" , and I've used ext2 for formatting the new "memory" .
Anyone has had the same problem? Anyone could help me to find what am I doing wrong?
TIA,
Arnau
pelacables79 said:
Hello all,
few days ag I asked how to move internal apps to SD with Titanium Backups. Hitesh2626 recommeded me to use another method : http://forum.xda-developers.com/showthread.php?t=2082465 and I did so.
I've followed the guide but I did not succeed and I think I konw why: when I run CWM I don't have any /sd-ext partition.
I've followed all the steps under "Partition SD Card" , and I've used ext2 for formatting the new "memory" .
Anyone has had the same problem? Anyone could help me to find what am I doing wrong?
TIA,
Arnau
Click to expand...
Click to collapse
Were you able to create the mount scripts? Can you elaborate the problem that you are facing?
mahithm said:
Were you able to create the mount scripts? Can you elaborate the problem that you are facing?
Click to expand...
Click to collapse
Hello, first of all, thanks for your answer.
I guess you are talking about step 11, just after chossing the filesystem type:
10) First , Choose ext2. If it don't work then restart Link2SD and when then don't choose ext2 but ext4. ( Don't worry , it works )
11) It will say mount script created. Reboot your phone now.
Click to expand...
Click to collapse
If so, yes, after chossing ext2 it does not complain. After reboot I see a second partition "/data/sdext2" : Total:0.89GB used 64,91MB Free: 850MB.
(is it ext2? If I plug the mobile into my linux box it says it's FAT32):
Code:
Device Boot Start End Blocks Id System
/dev/sdc1 1 13564453 6782226+ c W95 FAT32 (LBA)
/dev/sdc2 13564454 15564799 1000173 83 Linux
Teh "problem" comes when doing "Placing the 2nd partition of SD Card to internal." :
18) Foramt /data /sd-ext /system
Click to expand...
Click to collapse
I don't have that "/sd-ext" partition, so I cannot format it.
But I've continued with the manual and tried to install an app (whatsapp). Now Link2sd says that the app has been linked, the /data/sdext2 partitoin now shows 85,97MB used but when I go to apps, manage apps, I see that my mem has decreased in ~ 20 MB . Is that the expected behaivour?
This I explain myself clear? if not, sorry but I'm newb to this world
TIA,
Arnau
pelacables79 said:
Hello, first of all, thanks for your answer.
I guess you are talking about step 11, just after chossing the filesystem type:
If so, yes, after chossing ext2 it does not complain. After reboot I see a second partition "/data/sdext2" : Total:0.89GB used 64,91MB Free: 850MB.
(is it ext2? If I plug the mobile into my linux box it says it's FAT32):
Code:
Device Boot Start End Blocks Id System
/dev/sdc1 1 13564453 6782226+ c W95 FAT32 (LBA)
/dev/sdc2 13564454 15564799 1000173 83 Linux
Teh "problem" comes when doing "Placing the 2nd partition of SD Card to internal." :
I don't have that "/sd-ext" partition, so I cannot format it.
But I've continued with the manual and tried to install an app (whatsapp). Now Link2sd says that the app has been linked, the /data/sdext2 partitoin now shows 85,97MB used but when I go to apps, manage apps, I see that my mem has decreased in ~ 20 MB . Is that the expected behaivour?
This I explain myself clear? if not, sorry but I'm newb to this world
TIA,
Arnau
Click to expand...
Click to collapse
Yes, that's how Link2SD works. It will link the data associated with the app to ext partition. If you go to the Settings> Storage, you will see that the total internal memory remains the same. But you can still see the available memory has increased due to linking to ext. To see how much of the ext partition is used, just go to Link2SD> Storage. Now if you are not satisfied with Link2SD, you can try the CronMod Unofficial. First backup all the SD Card data. Also if you want to try CronMod Unofficial after installing Link2SD, it better to flash the custom rom again after formatting /system and /data from CWM. This will get rid of all Link2SD files which can otherwise mess with CronMod Official. Now go to CWM> Format /sdcard. This will delete the ext partition. Now CWM> Advanced> Partition SD Card> Size (Max 1GB, anymore and system will lag)> Swap (0MB) and wait for it to say "Partitioning done". Now download and place CronMod Unofficial to SD Card. Now again go to CWM> Mounts & Storage> Mount /system then flash the Cronmod Unofficial zip from CWM and finally unmount /system. Reboot and you are good to go. Now go to Settings>Storage to see the newly increased internal memory. Here is the link,
Cronmod Unofficial
Hope I Helped
Hi mahithm,
mahithm said:
Yes, that's how Link2SD works. It will link the data associated with the app to ext partition. If you go to the Settings> Storage, you will see that the total internal memory remains the same. But you can still see the available memory has increased due to linking to ext. To see how much of the ext partition is used, just go to Link2SD> Storage.
Click to expand...
Click to collapse
ops... I expected more space for installing apps, not just for data. Ok, I can install more apps than before, but not all the ones I want.
Now if you are not satisfied with Link2SD, you can try the CronMod Unofficial. First backup all the SD Card data. Also if you want to try CronMod Unofficial after installing Link2SD, it better to flash the custom rom again after formatting /system and /data from CWM. This will get rid of all Link2SD files which can otherwise mess with CronMod Official. Now go to CWM> Format /sdcard. This will delete the ext partition. Now CWM> Advanced> Partition SD Card> Size (Max 1GB, anymore and system will lag)> Swap (0MB) and wait for it to say "Partitioning done". Now download and place CronMod Unofficial to SD Card. Now again go to CWM> Mounts & Storage> Mount /system then flash the Cronmod Unofficial zip from CWM and finally unmount /system. Reboot and you are good to go. Now go to Settings>Storage to see the newly increased internal memory. Here is the link,
Cronmod Unofficial
Click to expand...
Click to collapse
A couple of questions:
1.-) So, with this method I'll be able to install all the app in SD?
2.-) 7-Flash your desired script : what does it refer to?
3.-) It also refer to sd-ext, but I can't format that partition... (as it was my original problem). is cronmod going to use it even if I don't format it? (as link2sd has done).
Hope I Helped
Click to expand...
Click to collapse
Yes!! Thanks a lot!
Arnau
pelacables79 said:
Hi mahithm,
ops... I expected more space for installing apps, not just for data. Ok, I can install more apps than before, but not all the ones I want.
A couple of questions:
1.-) So, with this method I'll be able to install all the app in SD?
2.-) 7-Flash your desired script : what does it refer to?
3.-) It also refer to sd-ext, but I can't format that partition... (as it was my original problem). is cronmod going to use it even if I don't format it? (as link2sd has done).
Yes!! Thanks a lot!
Arnau
Click to expand...
Click to collapse
1. Yes with this method you'll be able to install all apps to the ext partition of the SD Card as long as you have free space on ext partition
2. Flashing the desired script refers to flashing the script in question, i.e., CronMod Unofficial
3. Can you tell me what happens when you try Mounts & Storage> Format /sd-ext? CronMod uses you ext partition even if you don't format it. Its not compulsory and CronMod should work fine.
Sorry for the late reply. If you have anymore doubt, post here. I'll be glad to help
mahithm said:
1. Yes with this method you'll be able to install all apps to the ext partition of the SD Card as long as you have free space on ext partition
Click to expand...
Click to collapse
Great. But since yesterday I've been experience speed "problems". I'm wondering if makes snes to gain space but lose speed... Maybe I try and decide with this new method. (Maybe the ROM also affects? ace-i-sure 8 to 12 could cause such speed issues?)
2. Flashing the desired script refers to flashing the script in question, i.e., CronMod Unofficial
Click to expand...
Click to collapse
Why just say so thanks!
3. Can you tell me what happens when you try Mounts & Storage> Format /sd-ext? CronMod uses you ext partition even if you don't format it. Its not compulsory and CronMod should work fine.
Click to expand...
Click to collapse
I'll let you know after trying it, it will take a couple of days
Sorry for the late reply. If you have anymore doubt, post here. I'll be glad to help
Click to expand...
Click to collapse
You don't have to apologise!! Many thanks for your detailed answers and for your time!!
Cheers,
Arnau
Hi,
after a couple of days I've seen that the speed problems do not compensate teh fact of having more apps installed, so I'm not going to try this new approach.
I've re-flashed the rom without using externad SD and it's running really fine.
Many thanks for your help dude!
Cheers,
Arnau
pelacables79 said:
Hi,
after a couple of days I've seen that the speed problems do not compensate teh fact of having more apps installed, so I'm not going to try this new approach.
I've re-flashed the rom without using externad SD and it's running really fine.
Many thanks for your help dude!
Cheers,
Arnau
Click to expand...
Click to collapse
Glad I could help And yes irrespective of what method you choose to increase the internal memory, there will always be a lag after you exceed a certain number of app install. This is because in all cases the /data is moved to ext partition of the SD Card. SD Card R/W speed is always lesser than internal memory R/W speed. You can control this lag to a certain extend by using class 8 or higher SD Card and only installing necessary apps.

SAMSUNG GT-I9100 re-partition

Hello, i am trying to install cm13 to my gt-i9100, but after installing cm13 i want to install opengapps but it say insufficient space for instalation, so i proceed with repartion, i partitioned system with 6 gb, and after reinstalled cm13 still i have insufficient space to isntall gapps.
So i started my phone without gapps and installed titanium backup an titanium i see 3 partitions, one is called stock rom that has 530 mb and few space, the next one is 5.97 gb and the thid one is 9 gb, can you help me with an advise about that stock rom partition?
How can i increase that space?
Thank you
That <>500mb space is the system partition. What you did was increase the data partition. Read THIS, and choose a pit file with a 1gb system such as 1gb_3gb or 1gb_4gb in the name.
Thank you, i will try today and reply.
first thing after repartitioned i tryed to install cm13 and opengapps and gives the same error that is not space, i entered in CWM in advanced and format system and after that i was able to install CM13 and opengapps mini.
Thank you very much for your help :good:

How I can restore partition size to original?

When i was uploading new rom, partitions connect to one. Many roms have a problems with this. Second partition has a 0MB size. I try upload stock rom by flashtool and no results. I want to restore original size. How I can do this? My phone is sony xperia lt30p.
What ROM have you flashed? Have you done a clean install, means having wiped existing Android OS before?
What's the name of the mentioned 0MB partition?
BTW:
Android comes with standard partitons as
/boot
/system
/recovery
/data
/cache
/misc
and their sizes basically are hardcoded.
Never have noticed, heard or read that when a ROM gets flashed a partition with size of 0MB will be created.
Name se
jwoegerbauer said:
What ROM have you flashed? Have you done a clean install, means having wiped existing Android OS before?
What's the name of the mentioned 0MB partition?
BTW:
Android comes with standard partitons as
/boot
/system
/recovery
/data
/cache
/misc
and their sizes basically are hardcoded.
Never have noticed, heard or read that when a ROM gets flashed a partition with size of 0MB will be created.
Click to expand...
Click to collapse
The name second partition is ,,sdcard". Tt isn't sdcard it is internal memory for photos and the like things
jareczex said:
Name se
The name second partition is ,,sdcard". Tt isn't sdcard it is internal memory for photos and the like things
Click to expand...
Click to collapse
Don't confuse /sdard and sdcard.
With regards to /sdcard:
This is NOT a partition on the internal storage memory of the device but rather the ( external ) SD card.
With regards to sdcard:
This simply is a symbolic link to device's /data/media partition what is mounted as /storage/emulated/0
And How i Can restore default memory this partition? Partition with external sdcard has other name.
OK it's the partition named /data/media you're referring to.
If a partitition shows 0MB ( can't get mounted ) then this is because it probably is encrypted. Hence decrypt it. The common method is to perform a Factory Reset. If you've TWRP installed / at your fingertips then decrypting also can be done with TWRP.
This phone is other than many phones
For me, everything you post is crazy stuff: I can not understand what the problem really is.
Since Android is on the market, it has more or less the same partition layout as shown above. And I'm pretty sure your phone has this, too.
I mean about problem, when i am installing rom, show me comunicat ,,Error instaling zip file 'external_sd/android9 sony t/open_gapps-arm-9.0-pico-20201114.zip" and i wanna get rid of this problem, across restore this partition. Do you know, what i have a mean?
My last 2 cents here: Open Gapps isn't a ROM. It's merely a suite of re-compiled Google apps.
FYI: I no longer participate this thread. I hope for you others jump in.
ok, thank you for your help. Information for other people: I can't install apps on this roms, so i want to restore this partition

Categories

Resources