[Q] Swap file on internal SD card - Galaxy S III Q&A, Help & Troubleshooting

Hi all,
Does anyone know if it is possible to make a swap file on the internal SD card?
I have a 32GB internal but a class 2 16 external so this is my only option.
will it shoten battery life or general phone's memory/ productivity life?
anyone tried it before?
thanks!

BADtoBONE said:
Hi all,
Does anyone know if it is possible to make a swap file on the internal SD card?
I have a 32GB internal but a class 2 16 external so this is my only option.
will it shoten battery life or general phone's memory/ productivity life?
anyone tried it before?
thanks!
Click to expand...
Click to collapse
If you want to have a swap file (swap.swp) this could possibly corrupt your fat partition. This is based on my own personal experience of course. I recommend use a swap partition honestly.
Just imagine mounting your sdcard to your computer to transfer files while your phone is still attempting to write to /sdcard/swap.swp. This can theoritically cause problems. And you don't want problems on your sdcard. A seperate partition is the safest way to go. But again... just my opinion.
NB: This mod will only work if the kernel you use has swap support built in !
Note that if you are using a rom based on Cyanogen's kernel it is NOT recommended to use swap at all. It will slow down your phone causing more problems than what it's worth. ('Swap grave' is how he put it.)
http://forum.xda-developers.com/showthread.php?t=1814311

Are you sure this is for the internal SD card?

BUMP...

Related

Something about partitioning of sd card?

Hey guys! I found some videos on YouTube and learned something about partitioning of the sdcard.And I believe that we need to choose some ext. partition of 128,256 or 512mb and do some swapping things.Will that actually increase the internal space on our phone? Can someone show me a thread regarding this or give me a detailed explanation??? Thanks!
Some ROMs have this feature implemented. (Void, megatron, etc) Nothing new...
Sent from my LG-P500 using XDA App
So will it increase internal storage space???
It doesn't increase it. The apps will install on sd card and you will have more free space on internal storage.
Sent from my LG-P500 using XDA App
Is it the same as Apps2sd?
Yes. App2sd needs that ext partition. Otherwise the phone simply uses the entire memory card with FAT filesystem.
masteryx said:
Yes. App2sd needs that ext partition. Otherwise the phone simply uses the entire memory card with FAT filesystem.
Click to expand...
Click to collapse
Do you mean the original 2GB SD has ext partition? I think there is only one partition although I can use apps-to-sd in my P500. What is the real benefit by using more than one partition?
Yeah I would like to know that too!
rikux said:
Do you mean the original 2GB SD has ext partition? I think there is only one partition although I can use apps-to-sd in my P500. What is the real benefit by using more than one partition?
Click to expand...
Click to collapse
No, rikux, the original card only has FAT partition.
EXT type partition should be created only if you plan to use app2sd with a custom ROM.
In case things are not clear, App2SD is a feature that moves installed applications onto the memory card. There are two ways of using it:
1. Simple install of the app from the market. Now you got yourself a nice little batch mover from internal memory to the card. It can not move apps installed as services and widgets. You could move the apps yourself, but you can only do it one by one - so there's where Apps2SD comes in handy because it lets you do it all at once. All clear so far, OK?
2. A more sophisticated use of this feature, actually called "a2sd" and used in the custom ROMs. What it does is tricking the phone into believing it has more internal memory available. But all this extra space must come from somewhere, right? Thus, this space it's taken from the memory card under the appearance of an EXT partition. Why EXT, I don't know - probably in order not to confuse the phone with two FAT partitions. Now, when you install an application, the app goes to the internal memory but physically it's hosted on the SD card... get it? No more "moving to SD card" necessary, because now if you choose to MOVE an app from the "internal memory" to the "SD card", what you're actually doing is moving it from the EXT partition to the FAT partition. Moreover, now even service apps and widgets go to the SD card, and everything happens automatically.
rikux, you're falling in the first case above.
AsherChua, what you've seen on Youtube fits in the second case above.
I really hope you understand now the differences, and the utility.
Masteryx thanks very much for the good explanation.
As I am not going to use any custom ROM, the Froyo 2.2 inbuild capability to install2SD one by one is enough for me. So it seems like I don't need any more partitions.
The question still remains, are these "App2SD" and "a2SD" somehow more efficient than the standart Froyo apps2sd, which cannot install all apps to sd and if it can then only a part of app is in sd. I assume methode 1. and 2. can install all apps to sd.
Still one question as my 2GB original SD is quite full allready. Is it OK to copy all from the original SD to a bigger SD with PC card reader? Can the new SD be formatted in PC and is FAT32 OK?
Method 1 can install on the card only the apps that Froyo allows, not all of them. Method 2 installs all of them on the card.
About the new card: yes, it will work just fine. Just make sure you copy everything, including the hidden files and folders.
I suggest formatting the new card in the phone. Let it "decide" what kind of FAT system should be used. I know that FAT32 is a bit more reliable, but the phone manual clearly states that the card should use FAT16 (aka FAT) file system. I'm pretty sure both will work exactly the same, so do as you please.
Thanks masteryx for the brilliant answer! One question though,I'm using megatron and it has apps2sd 'preinstalled' in that rom. So can I say that I have case 2 enabled too?
AsherChua said:
Thanks masteryx for the brilliant answer! One question though,I'm using megatron and it has apps2sd 'preinstalled' in that rom. So can I say that I have case 2 enabled too?
Click to expand...
Click to collapse
Yes, you do.
Right thanks!

[Q] Increase gtablet internal memory using micro sd card ?

Hello everyone,
I just reed this two post about increasing the internal memory of an android device using micro sd card.
1. http://www.technodify.com/increase-internal-memory-ram-android-phone-tablet-full-guide/
2. http://technokarak.com/increase-ram-of-android-smartphone.html
Did anybody tried to do this on a g tablet, does it drain your battery faster or anything ?
3rdo said:
I just reed this two post about increasing the internal memory of an android device using micro sd card.
1. http://www.technodify.com/increase-internal-memory-ram-android-phone-tablet-full-guide/
2. http://technokarak.com/increase-ram-of-android-smartphone.html
Did anybody tried to do this on a g tablet
Click to expand...
Click to collapse
There are 2 different techniques being discussed in those posts:
The first, is using a swap file to increase the amount of virtual RAM. That technique (and hence those apps) will work only on kernels which are compiled to do swapping. Some gTablet kernels have this enabled (2.6.39.x and 3.1.10.x) and some don't (2.6.32.x). On the kernels which don't have swapping enabled at compile-time, you can recompile the kernel with swapping enabled, but, in any case swapping to disk is of questionable usefulness because of the interaction with the Android low memory killer feature in the kernel. In most cases, the low memory killer will start killing apps before any apps can be swapped out to disk.
The second technique discussed is the "apps to SD" feature where a separate extn partition is created on an external SD card which is then used to complement the /data partition. On the gTablet, because we have a large 16GB internal SD card, it is simpler to just resize the /data partition instead of using hacks like apps2SD or link2SD which are meant for old smartphones and which are not guaranteed to work on all ROMs.

[Q] Install Android OS on externel sd card

Hi,
because my phones memory is just to slow for everday use (rocking i9000 and my internel memory only reads with 2mb/s and writes with 1 ...) I wanted to install CM11 on my externel sd card and maybe use the internel sd card and memory as data storage. I allready bought a 32 gb class 10 sd card which can do 20 read and 16 write in the phone.
I went looking ony the internet and found a bit but all was assuming that the internal storage is broken and/or ended in dead links.
This was the best I could find: http://forum.xda-developers.com/showthread.php?t=1881143
I would be very happy if someone could give me instructions on how to install CM11 (or any custom rom, should be the same right ?) on a externel sd card.
I thought I post it her in the general section cause this should be similar across most devices out there.
Thanks in advance
MfG Eleanor1967
Eleanor1967 said:
Hi,
because my phones memory is just to slow for everday use (rocking i9000 and my internel memory only reads with 2mb/s and writes with 1 ...) I wanted to install CM11 on my externel sd card and maybe use the internel sd card and memory as data storage. I allready bought a 32 gb class 10 sd card which can do 20 read and 16 write in the phone.
I went looking ony the internet and found a bit but all was assuming that the internal storage is broken and/or ended in dead links.
This was the best I could find: http://forum.xda-developers.com/showthread.php?t=1881143
I would be very happy if someone could give me instructions on how to install CM11 (or any custom rom, should be the same right ?) on a externel sd card.
I thought I post it her in the general section cause this should be similar across most devices out there.
Thanks in advance
MfG Eleanor1967
Click to expand...
Click to collapse
There is a way of swapping your internal and external sd cards for use as storage using a script in the internal phone memory but I think that runs after android is loaded using script manager. This sounds like he's done it in a similar way by seeing the external sd card as his internal.
jazzzy786 said:
There is a way of swapping your internal and external sd cards for use as storage using a script in the internal phone memory but I think that runs after android is loaded using script manager. This sounds like he's done it in a similar way by seeing the external sd card as his internal.
Click to expand...
Click to collapse
Yeah, figured that by now isn't there a way install the actual OS on the externel sd card ? reasoning for doing this that also the OS gets the speed boost of the faster storage.
MfG Eleanor1967
Push

How to use External SD as internal SD on CM12

Hello everyone,
there is a (easy) way to use external SD as internal SD on CM12 ? Because i haven't internal partition and I know that CM12 could see my SD in Ext4 format . Could i tweak it to use my sd card instead ?
Thank You
Don't think there is a way to do this anymore. There were methods for CM10 and CM11, but I think 12 changed too many things. Typically it is best to keep the important stuff on internal and link big apps and data to the external via Links2SD or FolderMount. I found this too http://forum.xda-developers.com/xposed/modules/xposed-disablesignaturecheck-t2789267 but others were mentioning it running well on stock roms, but not CM12 roms due to different coding and APIs. Your luck may vary. I don't use SD cards anymore so can't do anything to help test, and it often varies by device as well.

Increase Internal Storage through Marshmallow?

Well...
I've got a moto E and a 8GB SD card. I have been using MM(AICP) for like months and I really love the ROM and its battery backup but the thing is I'm running out of storage space.. The system itself takes like 1.2 GB out of 2.1 GB available internal storage and few basic apps - I'm full...
I have only 1 game and would like to try more like I used to but can't download as play stores says I'm out of space... Updating apps have been an issue too.. I want to fix this by buying a Samsung 32GB EVO+ class 10 (20MB/s Write Speed) and use it as my internal storage...
Worth it?
Anyone using their SDCards as internal storage? Bugs or Good Experience?
Should I buy or go back to CM11?
-Thanks
Yes. It will be worth it and the problem you are facing is faced by everyone.
So is your phone rooted? If not search xda for methods to root your phone. Then use Link2sd. You can find detailed guide on how Link2sd works in xda itself. if not then i can help.
How link2sd works? In short:-
It requires 2 partitions of your sd card (you will know how to partition your sd in every link2sd guide) one partition for media storage like songs videos images etc and the other will work as internal memory. For this you will require rooted device. And also you will need Foldermount which will enable you to move the obb or game data from internal to external sd. And root is necessary for this too. Hope it helps.
Marshmallow has inbuilt feature of using Memory Card as Internal Storage.
I am using it from a month and honestly no bugs.
The only problem is that you have to format your SD card in the phone itself to use again as portable storage device.
The second thing is that If you format your phone or start using another ROM your SD card data will be of no use and you will have to format it again.
Hope I helped you.
Thanks both of you... I should go for a 32GB class 10 then?
sarmamanashjyoti2012 said:
Yes. It will be worth it and the problem you are facing is faced by everyone.
So is your phone rooted? If not search xda for methods to root your phone. Then use Link2sd. You can find detailed guide on how Link2sd works in xda itself. if not then i can help.
How link2sd works? In short:-
It requires 2 partitions of your sd card (you will know how to partition your sd in every link2sd guide) one partition for media storage like songs videos images etc and the other will work as internal memory. For this you will require rooted device. And also you will need Foldermount which will enable you to move the obb or game data from internal to external sd. And root is necessary for this too. Hope it helps.
Click to expand...
Click to collapse
Thanks both of you... I should go for a 32GB class 10 then?
pXbz said:
Thanks both of you... I should go for a 32GB class 10 then?
Click to expand...
Click to collapse
Yes you can.
Now... I've got the SD Card. What should I prefer? Link2SD or Marshmallow's feature?
I want to get the best performance out of SD card... Plus hassle free operation.
pXbz said:
Now... I've got the SD Card. What should I prefer? Link2SD or Marshmallow's feature?
I want to get the best performance out of SD card... Plus hassle free operation.
Click to expand...
Click to collapse
marshmallows feature since it automatically moves all apps to SDcard.
One more thing link2sd will create partition out of your SD card while marshmallow will automatically format your SD card as internal storage..
Marshmallow feature is strongly preferred.
Hope I solved your query.?
Well I've been using this hybrid method lol. I partitioned my SD card so that - one partition is used for marshmallow's feature and rest space as portable storage
Didn't wanted to go all in as the feature encrypts the entire card and makes it unusable on other devices.
My phone's running smoother than before maybe coz of the Class 10 UHS-1(though UHS-1 speeds aren't supported by my device) card I've been using. I'm getting ~11.63 MB/s which is faster than phone stock internal storage(~11MB/s).
Thanks for all you suggestions and inputs!

Categories

Resources