yashsingh1/xdaforums huggingface dataset:
[XPERIA X8 General] junghyun01:
Remember: do it with your own risk :P and i don't warranthy if this method cause brick your lovely x8 :eek:
[XPERIA X8 General] ahmedz_1991:
the primary partition must be ext or can be fat or ntfs ?!

also do u notice real improvements ?
[XPERIA X8 General] darknessx10:
I never understood how to do it with terminal, so thanks for your help! :D
[XPERIA X8 General] junghyun01:
Your welcome :P
[XPERIA X8 General] RodrigoOgasawara:
Finally a simple and fast tutorial,thanks!
[XPERIA X8 General] junghyun01:
Second partition must be linux swap and primary
[XPERIA X8 General] RodrigoOgasawara:
I have a problem,when i format my sd card and put swap partition on mini partition tool,when i place my sd card back to phone its says "damaged sd card"...
[XPERIA X8 General] corsav6:
I have swap running on 2 x8's. 1 is using 7000mb fat, 400 ext2 and 4-500 linux swap, however i cannot see the ext and swap partitions when i connect to pc, even though everything is working fine i would like to know how i can reformat my 8gb sd back to 8gb.

The other x8 has a 2gb unpartioned sd using the other method where a 256mb swap file is created. It works fine and is simple to set up but i have over 90mb free ram on partition set up and 70-80mb on the simple method.

All mine were set up with trial and error and there was no way to really confirm it was set up properly so this thread has confirmed my setup. It could have saved me time a few weeks ago but i'm sure lots of users will find this thread very helpful.

@ mods, I think its time to refresh the stickies as some are obsolete and i believe this thread would be an ideal sticky.

@OP, nice job. Thanks for your contribution to our little x8 section :)
[XPERIA X8 General] junghyun01:
You want to know how to format your sd card with 7000mb fat32 400 ext3 linux swap 500mb

If you format it,it will back to 8Gb sd card
[XPERIA X8 General] junghyun01:
Let partition by this method:

1.connect your sd card to pc

2.open minitool partition

3.right click on your fat32 sd card and choose the word resize

4.after you resize u will see your partition

5.right click on your new partition and choose word create

6.partition it to linux swap and primary

7.apply it and wait the process

7.Done and Cheers :D
[XPERIA X8 General] mikhazloy:
what i do wrong?:(
[XPERIA X8 General] Papun:
its working only for custom kernels?
[XPERIA X8 General] lotus13:
Well i have a 4gb class 4 sd card.I;ve made'it 3.2 gb fat32 128linux swap and the rest ext 3.And i have min 90 mb free mem ,max 120.
[XPERIA X8 General] droidx8:
Don't forget to format after partitioning!

And with minitool for working swap and ext you must connect sd as phone's mass storage->not CWM mount usb storage, booted ROM and connect phone to PC.

Then you'll able to partition your sd. After all FORMAT and all will work.

+1 When you have a 4gb sd you must create FAT, when you have above 4 gb create FAT32. Create first a primary FAT(32), then a primary SWAP/EXT
[XPERIA X8 General] darknessx10:
I partitioned my SD card (4gb class 4) with this propieties

Primary: 3.4GB

Logical: 313MB

But when I put the sd card into the phone, it doesn't recognizes the SDCard.

It's weird because when I browse in my SD card via cwm it shows my files and folders :Z

Anyone knows what the hell i'm doing wrong?
[XPERIA X8 General] corsav6:
No, it is only showing as 7gb. When I format it stays at 7gb and I can't see the other 2 partitions on the PC. They work with links2sd and swapper. Do I need to remove anything from the rom connected with apps2sd, I'm using kuyadroid with alfs kernel. I have removed everything from the modules folder but my phone storage is low and links2sd says only 2% of ext2 been used even though it successfully links my apps, or so it claims. Sorry for all the questions but if I know then I can help others :) thanks for your reply
[XPERIA X8 General] daddy_rhon:
all partition MUST set in PRIMARY no LOGICAL... For me let swapper2 make your sdcard partition is the safest & easiest way,@author 1question do i need to format my sdcard when i let swapper2 partition my sdcard...
[XPERIA X8 General] lotus13:
Here is a easy tutorial for partition !

http://xdaforums.com/wiki/SD_card_partitioning
[XPERIA X8 General] daddy_rhon:
you cannot see the others partition because the card reader or phone shows the 1st partition,you can see the other partition by using partition tool,coz the 1st partition is only mounted which is fat32...
[XPERIA X8 General] rav3n_pl:
Partition + init.d script = no swapper need

It depends what number of partitions you have.

I`m using swap partition, and to enable it automagically I made simple script in init.d

mkswap /dev/block/mmcblk0p2;
echo 50 > /proc/sys/vm/swappiness;
swapon /dev/block/mmcblk0p2;

But: I have only 2 partitions on SD: Fat and swap. If s1 have 3 of them (fat+ext+swap) it should looks like:

mkswap /dev/block/mmcblk0p3;
echo 50 > /proc/sys/vm/swappiness;
swapon /dev/block/mmcblk0p3;

Last number in mmcblk0pX decides what partition you want to use.
[XPERIA X8 General] droidx8:
I don't understand: i created swap with minitool and installed GXP v22. When I try to install an app, it asks me where do I want to install: Internal, External or Default. Why? I don't created any ext partition :D But it's very good :P
[XPERIA X8 General] dotsen9:
You can create swap file on sdcard too ,you dont need to format:p

And it's working great.
[XPERIA X8 General] rav3n_pl:
In 2.3 roms we have native app2sd - we not need ext partition, apps can be installed on fat (external). Internal means phone memory.

This have nothing to do with swap.
[XPERIA X8 General] junghyun01:
Format by using your pc!!but if it don't work you partition it by using minitool and all partition must be fat32 and apply
[XPERIA X8 General] corsav6:
No good, the card only reads as 7gb, I can't see the other partitions to merge them or delete them.
[XPERIA X8 General] daddy_rhon:
like i said b4 the card reader only mount the 1st partition,if you want to see the other partition,use partition tools,if you want to format your sdcard by phone,go to storage,then unmount,then format...
[XPERIA X8 General] corsav6:
I will try tomorrow when im at my laptop, on mobile now, thanks for your reply, I will report back tomorrow and also hit thanks on your post.

Edit: I only seen your other reply now. Im sorry I missed it but I have been flashing kernels and roms on the other x8 and I have only been glancing through the threads on mobile app. I am unable to mount using alfs kernel so cwm was my only option. Im fairly sure you solved my problem, I will try to find the sd card adapter tomorrow and use that with minitool. Thanks for your help.
[XPERIA X8 General] droidx8:
I know GB has native app2sd. But when I try to install,there's 3 buttons instead of 2: cancel, install and a list what conntains 3 options: Default, External, Internal. I never seen it before I partitioned my sd.
[XPERIA X8 General] daddy_rhon:
maybe it's new script of native gb app2sd,same as mine when i use this rom i did'nt partition my sdcard but i also have the same option where am i wanna install my apps...
[XPERIA X8 General] rav3n_pl:
Default: let system decide ("use phone if there is room")

External: force SD

Internal: force phone
[XPERIA X8 General] junghyun01:
Anybody have any problem with this tutorial?
[XPERIA X8 General] StormIceX:
work on stock kernel?

Inviato dal mio X8 usando Tapatalk
[XPERIA X8 General] junghyun01:
No,only for nAa and alfs that supported swap!!!
[XPERIA X8 General] stevyc:
Hi. I'm using GDX and alfs kernel. Do i still need to create an ext2 partition since 2.3 support native app2sd mentioned in the posts above? Thanks for the help :D
[XPERIA X8 General] junghyun01:
For me i dont use ext2 or ext3 partition it useless!!
[XPERIA X8 General] stevyc:
So actually we don't need to create any ext2 or ext3 partition?

I partition my SD card into fat32, ext2 and swap linux using minitool but when i boot into rom some of the apps went missing. Is there something to do with the ext2??? :mad: Help pleasee :(
[XPERIA X8 General] 8xfan:
try to boot recovery..CMW --> advance --> boot recovery..i do and it work for me..the missing apps came back :)
[XPERIA X8 General] junghyun01:
Hehe how many partition on your sd card?
[XPERIA X8 General] 8xfan:
3..fat32,ext4,swap
[XPERIA X8 General] junghyun01:
For me only two i dont like ext partition!!!
[XPERIA X8 General] 8xfan:
will resaiz it later...:p
[XPERIA X8 General] panchuckles:
What is exactly swappiness?

Enviado desde mi E15i usando Tapatalk
[XPERIA X8 General] rav3n_pl:
Use wiki? :P

It tells to system how much part of memory can be moved to swap.
[XPERIA X8 General] enemyneno:
What benefits do you get from swap?
[XPERIA X8 General] junghyun01:
The benefit of swap make u can running hd game smoothy and free more ram for everyday using!i give u a hint: when i off swap my phone can't play plant vs zombie!it show open the app then back to homescreen after i on it the game run perfectly ^^
[XPERIA X8 General] droidx8:
How can I change/set swappiness?

Thx in advance.
[XPERIA X8 General] dotsen9:
You can use swapper, you can change it from settings
[XPERIA X8 General] junghyun01:
yes u can change it in swap preference :) good luck
[XPERIA X8 General] 8xfan:
can we use swap partition with only 2 partiton?
[XPERIA X8 General] junghyun01:
yes sure :)

Note: if you use swap it will be instead comcache!so no need to enable it :)
[XPERIA X8 General] 8xfan:
i never use compache :) why i partition my sdcard with 2 partition and swap doest work? with 3 partition it work
[XPERIA X8 General] junghyun01:
go to swap preference and choose advance preference and then click on swap partition and delete number 3 and replace it to number 2 :)
[XPERIA X8 General] karkand:
how much maximum size for linux swap?

i have 32gb class 10..it's now free about 18gb..is good if i put it on 5 to 10gb for swap?

and there is need to configure anything else?
[XPERIA X8 General] Dzol Cp:
i follow your tutorial and i already make a swap partition..

then how do i move all my apk to the swap partition.,

what is the command..after reboot..all my apk still there and internal memory still get low :confused:
[XPERIA X8 General] dotsen9:
Bro it's too much ,set it at 256~512 mb
[XPERIA X8 General] junghyun01:
Yes you right!swap just workin when phone need large space of ram and it just replace around 20%-30% of ram!!
[XPERIA X8 General] Gaziaggelos:
the swap an primary partition how much mbs should it?
[XPERIA X8 General] ghost9685:
Its designed in the ROM to make the job easier (for moving apps to SD card after they are installed). So in Ginger Xperia u can choose where u wanna install them at the time of installation itself.
[XPERIA X8 General] ghost9685:
okay... i have 8GB class 4 card and i have formatted with 1.5 GB of swap and remaining as primary partition. I have installed Swapper 2 and did the same as its explained.. however i am not getting any kind of huge difference in performance.. am i missing anything here??
[XPERIA X8 General] ->Sid:
How can i know that its working.. I'm using swapper2 without partitioning sdcard..

Sent from my W8 :)
[XPERIA X8 General] junghyun01:
Go in terminal then type free

U will see
[XPERIA X8 General] ->Sid:
Thanx...

Sent from my W8 :)
[XPERIA X8 General] Spevky:
Rename the thread to How to use swap like a boss! :D
[XPERIA X8 General] junghyun01:
Lolz
[XPERIA X8 General] ->Sid:
Can I see the increased in ram in settings-application-running apps...

Sent from my W8 :)
[XPERIA X8 General] cascabel:
nice. i'm gonna try this later. :D
[XPERIA X8 General] junghyun01:
U can check when u use your phone with lots of app, swapper will auto enable to replace some ram for free to phone! U can try plants vs zombies, when u don't use swap u cannot play it!
[XPERIA X8 General] ->Sid:
Okay... thanx.... will try it..

Sent from my W8 :)
[XPERIA X8 General] dagger:
Hello I am using swap by partitioning the SD card.

my first partition is Android-SD->7GB.

and the second is linux swap->400mb.

but when i try to acces my SD card in recovery, it says

Error mounting SD card.

Also my SD card isnt detected by the PC. but on my phone it is working allright.

Please help...
[XPERIA X8 General] junghyun01:
Check your partition how of that 2partition! 1 must be fat32 Primary and another one is Linux swap Primary!!
[XPERIA X8 General] dagger:
Yes the partition is correct...
[XPERIA X8 General] junghyun01:
Try format it!
[XPERIA X8 General] dagger:
Done everything but still both PC and CWM recovery fail to recognise my phone.

Here is my partition scheme (attatched).

The card works well on my phone but the PC and recovery wont recognise it.

Please help...
[XPERIA X8 General] junghyun01:
Try partition it again, but first partition must be fat32
[XPERIA X8 General] Hummer951:
Hi, thanks for the tutorial, just one question, do I need to check safe to unmount and safe to remount if i`m using the none partitioning method?
[XPERIA X8 General] junghyun01:
No need, :)
[XPERIA X8 General] anthonyng:
junghyung i have some question here...

is the label of internal,external,default is

default=fat32

internal=ext3

external=linux

is this correct? need answer as possible... wanna swap my sd card now
[XPERIA X8 General] junghyun01:
default all,
[XPERIA X8 General] anthonyng:
i hate it when it happens something bad to me :mad: not to scold you... pls don misunderstand
[XPERIA X8 General] piggysheng:
junghyun01, sorry for disturbing.:)

This is my first post here. well, im using samsung galaxy S plus i9001. and im trying to use the swapper 2 for root user. I used the non partitioned method, for 256mb. It works fine, and I checked using terminal emulator, the swap is successful. But there is a problem, the swapper swapped my internal SD card instead of external SD card.. Any idea on how to swap on my external SD? thanks!
[XPERIA X8 General] junghyun01:
Just partition it first!
[XPERIA X8 General] piggysheng:
I will make that my last option :) because it is so bad that I have to backup all files if I need to partition it.

Actually I went through the setting of the Swapper 2, under Settings> Swap place, is that the place I can set the swapped file located in?

And for my 8GB class4 sd card, how much swappiness can it withstand? :))
[XPERIA X8 General] SpyderX:
In Swapper2 --> settings --> swap place , change the location of the swap file to /mnt/sdcard/swapfile.swp

As for swappiness, recommended is either 30 or 10 :).
[XPERIA X8 General] piggysheng:
I guess I got it. The swapper file now located in my external sd. I tried swappiness 10, and my alphat6 can just play smooth as a silk, without any delay and lag! Thanks junghyun01 for tutorial and SpyderX for help :D
[XPERIA X8 General] junghyun01:
Ya welcome :)
[XPERIA X8 General] Jerry-Hins:
thank u so much!:D
[XPERIA X8 General] SpyderX:
I notice that you have been going around and thanking others through posts. Just a tip: the thanks button is enough, there is no need to repeat what others posted and say that it is correct or thank others through posting, because then it is considered spam.
[XPERIA X8 General] lqg_phy:
How do i know that swapper successfully :confused:? I check the ram but it still have about 168 MB...:)

Sorry for my bad english.
[XPERIA X8 General] SpyderX:
Open terminal emulator and type in

free

and then look under swap. If you are using compcache it will be listed under swap too. Just make sure the "total swap" value is greater than or equal to your assigned swap size.
[XPERIA X8 General] demon36:
total swap in output is 18860 for me

although i sat swap file size to 128mb

??
[XPERIA X8 General] SpyderX:
OK, provided you didn't miss out a number, it appears that swap is not working. The 18860 means that you have compcache (zRam) activated.

Check if the swap file is there. If it isn't, create one.

Try typing this in terminal emulator:

su

swapon /(location of swap file)

Or try this method below

Download Swapper for Root

Open Swapper for Root and set create location and size of swap file that you want

Create the swap file (takes quite long depending on set size, recommended <1GB size for swap file)

Uninstall Swapper for Root

Read the steps for swap partition

For swap partition and swap file (cont.)

Open Swapper2

Under advanced settings, tick the option: use swap partition

Set swap partition location to the location of the swap file that you created OR the location of the swap partition

If your swap file is on the FAT partition, make sure that the safe unmount and remount when mounting to PC options are ticked

If you are using a swap partition or if your swap file is not on the FAT partition, untick the two options

Set swappiness to either 10 (default) or 30.

Tick the option: Run at boot

Go back to the starting screen of Swapper2 and hit "On".

Your swap file/partition has been set up properly :).
[XPERIA X8 General] cwkhong:
not working

'turning swap off (partition)FAIL

'swapoff :/dev/block/mmcblk0p3:function not implemented'

...same with enabling swap..FAIL

I have 3 partition, choose swap partition.

what's wrong?
[XPERIA X8 General] Anilikos:
I have an Xperia U, without an SD card slot.

It's got an internal memory of 4gs that allows me to create the swap file

on the terminal though it doesn't seem to work

any ideas?
[XPERIA X8 General] junghyun01:
Which swap partition that u partition? It No.2 or No.3!
[XPERIA X8 General] junghyun01:
Swap need custom kernel to make swap support guys!!!
[XPERIA X8 General] buatcintaku:
if i use stock kernel, what effect on my HH?
[XPERIA X8 General] junghyun01:
It won't work on stock kernel!!!
[XPERIA X8 General] amitjangir123:
MY kernel is not supporting swap .....partition what to do for change permission of swap in my vimicro kernel....???????
[XPERIA X8 General] junghyun01:
If your kernel don't support swap it cannot work!
[XPERIA X8 General] kreatonn:
If i use swap partition, i need to off the swap or not when on usb storage?
[XPERIA X8 General] junghyun01:
No problem u can see it in setting!
[XPERIA X8 General] KalolParty:
Thanks a lot ^_^

Great post ^_^
[XPERIA X8 General] junghyun01:
my pleasure :) :)
[XPERIA X8 General] eddie obscurant:
So it's 2 years since this thread started, did anyone have any problems with their sd-cards? I don't mind if it dies in a couple of years, but i do mind if does in a couple of months, because then it won't worth it.

Do you have swap always enabled or only when you want to run an app/game that runs out of memory and needs the extra mbs?

Theoretically a bigger swap file will have less writes, because once everything is written, it will stay there. Small size swap (64mb) would have more data written, because data would need to be replaced. Is that correct ?

Why the recommended value of swappiness is 10% or 30% and not 60% that is the default value for android? Is a big % better or worse for the life of sd-card ?

If some cells/sectors of the sd-card gone bad, can they be marked as bad sectors (from android or other os) and the sd-card continues to work? Or everything goes corrupted and even after format the sd-card has to be replaced?

Theoretically, if now and then we swap off and then swap on again, that would prolong the sd-card's life since the new file will be created in a different/random place on the sd-card. Is that correct? Even with partitions this could be done. The first time, you create a 512mb partition at the end of your sd-card, then after six months or 1 year you delete it and create a new 512mb partiton in front of that. Sure you'll lose the last 512mb of your sd-card but you'll prolong it's life.

Sorry I know, too many questions.

Glad if anyone can answer them, or at least give me their opinion.
[XPERIA X8 General] junghyun01:
Lolz i dun understand clearly can u ask me one by one? And it's your choice u want to use it or not! I think this won't damage your sd card in couple month dun worry!
[XPERIA X8 General] eddie obscurant:
My main question is, do you have swap file/partition always enabled, or do you enable it only when you want to run a game that doesn't run without it? And if you are using it everyday since the last 2 years that this thread started, did you have any problems with your sd-card ?
[XPERIA X8 General] cascabel:
I started using a swap partition when nAa release jb rom. I honestly can't remember how long ago that was. Might have used swap for half a year. Bought a new sdcard and have been using it for swap for close to a year. No problems so far. I don't deactivate swap, though i lower the swapiness from time to time.
[XPERIA X8 General] eddie obscurant:
Thanks, why do you do that? To prolong the sdcard's life or some other reason?

I have an xperia ray (1ghz, 512mb ram - 350mb user accessible through task manager), and i think 256mb file swap and 60% swappiness is better for everyday use and multitasking, than a 64mb file and 20% swappiness that is recommended. Should i be worried with the high % ?
[XPERIA X8 General] cascabel:
I lower it since swap is a lot slower than ram. The difference in perfomance is noticeable. I don't know much about the ray, but i have the same settings as you. 256mb @ 60%, though i lower it to 20-30. If you have zram, it's better than swap imo. :)

---------- Post added at 09:49 PM ---------- Previous post was at 09:40 PM ----------

One more thing: i'm just a user, not an expert, so i went and did a quick search. Check this: http://xdaforums.com/showthread.php?p=6768932

I admit it's from years ago, but afaik the info there is still relevant. :)
[XPERIA X8 General] eddie obscurant:
No I've already tried zram and it's no good for me. I have lag, sometimes even in the menus.

After reading the link, i realize that having a swap partition is safer than a file in case of hard reboot, etc, so i might try it.

Again thank you very much.
[Acer Iconia A500] mihnead:
anyone else get it or is it old?
[Acer Iconia A500] kjy2010:
Old, dropped awhile ago ;)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] fishhf:
It seems my galaxy ace will suddenly scrolls down by itself, mostly in opera mini.

Sometimes, in google map, if "flicks" to another place by itself too.:mad:

Any one has the same digitizer problem? I'm thinking if I should take it for repair.

Or if someone already tried to get it fixed, but it'll never be fixed like some design error, I'd rather save my time...

Edit:

Tried both stock rom and CM7. My GF, a colleague and a friend who owns an ace told me they have the same issue:eek:
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] tim111:
i have this bug too, and i think all ace users has it too. and for now there isnt any fix for it.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] codeknight11:
And I thought I was the only one having this problem. Samsung sucks >_<
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] fishhf:
I'll take it to Samsung later today.

I hope it can be fixed, its getting annoying.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] SuperAce609:
Lol, you can't fix something that's wrong with all the Aces. I have that problem too. I'm guessing its another factory fault like the battery meter.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] fishhf:
Got the phone back,the problem still exists.

What apps are u guys using when the erratic scrolls occurs?
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] fishhf:
No wonder samsung doesn't care, it seems the users don't really care, except me:D

I'll try to fix it in the touch driver in the kernel and release a patch if it's fixed.

The plan is to filter those extremely quick finger press and release events, where those events are impossible to be human(by time and distance of the 2 points).

I can't seem to find the kernel source for the CM7 roms for ace, so it'll be a patch for the stock kernel.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] fuzzynoise:
Same problem here, this scrolling glitch gets very annoying after some time
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] diditdr:
Its kinda spooky hhhh. Like a ghost using ur phone too :D
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Norcio82:
Is there any patch for it ?