Please help! Want to use swap in my mini cm7??? - Sony Ericsson XPERIA X10 Mini

Hi
I want to use swap feature in my mini cm7! Any 1 plz provide me full details How to activate swap and to use in my xperia mini cm7 Rom??

One forum member told me to create SWAP partition on my memory card with MiniTool Partition Wizard (pc program - freeware) and that is all.
Phone finds it itself and will use it automatically.
(to check if you really use Swap partition DL and open "terminal emulator" and type "free")
Instructions how to do that you can find here on forum (it is almost the same thing like creating EXTx partitions).

penthaler said:
One forum member told me to create SWAP partition on my memory card with MiniTool Partition Wizard (pc program - freeware) and that is all.
Phone finds it itself and will use it automatically.
(to check if you really use Swap partition DL and open "terminal emulator" and type "free")
Instructions how to do that you can find here on forum (it is almost the same thing like creating EXTx partitions).
Click to expand...
Click to collapse
I have created the ext partition but the phone does not recognize it automatically what to do? Am not using a2sd
U did not provide instructions website plz help

If you use latest minicm7 with latest nAa kernel, there is the swap partition really automatically mounted and used.
In MiniTool Partition Wizard you have to create new partition (not option EXT but option Linux Swap). The tutorial how to make EXT partition is here on forum (i cant find it right now), and instead of EXT, choose LINUX SWAP.
After that just start your phone and done.
If you need to check - you need Terminal Emulator installed in your phone, open it and type "FREE" and submit. Then you will see many rows and there is one begining with SWAP ... used/free values...
btw. EXT3/4 phone automatically recognizes too, but it doesnt help with swapping

penthaler said:
If you use latest minicm7 with latest nAa kernel, there is the swap partition really automatically mounted and used.
In MiniTool Partition Wizard you have to create new partition (not option EXT but option Linux Swap). The tutorial how to make EXT partition is here on forum (i cant find it right now), and instead of EXT, choose LINUX SWAP.
After that just start your phone and done.
If you need to check - you need Terminal Emulator installed in your phone, open it and type "FREE" and submit. Then you will see many rows and there is one begining with SWAP ... used/free values...
btw. EXT3/4 phone automatically recognizes too, but it doesnt help with swapping
Click to expand...
Click to collapse
Ok you mean I should make swap partition from the partition tool am going to do this...
But can u plz tel me what about I select for swap partition..?

I wrote it before, it is the same like creating ext partition, but only difference is that you choose LINUX SWAP instead of EXT3/4...
Label: you can write here swap or something
Drive letter: here you choose the memory card
Create as: Primary
File system: LINUX SWAP
Cluster size: Default

Successfully using swap in my mini cm7
And checked through terminal emulator by typing free its giving values and after opening applications the values are different and mobile runs fast..
One question in mind that I can't use a2sd and swap at the same time???
I have two partition. One for ext4 and other swap both are set to be primary but swap partition is mounted and other ext4 does not mounted checked through mini cm7 builtin feature
Any suggestions?

Man, I dont know what is your problem, but you can use SWAP and EXT partitions both together simultaneously.
Yesterday I bought a new msd and created around 600MB SWAP partition (primary), today 2GB EXT3 partition (primary) and rest let in FAT32.
Before I done this, I formated msd with Panasonic SD Formater.
Now Terminal shows me about 30 - 100MB used / 500 MB free SWAP and in CM7 settings I have showed and succesfully mounted 2GB size EXT3 with free 1.8GB.
So there must be problem with memory card, try to format it
--------------------------------------
EDIT: After that creating ext3/4 partition, restart your phone and now you can choose the A2SD settings.
MENU - SETTINGS - CYANOGEN MOD - PERFORMANCE - A2SD SETTINGS - i chose here A2SD. And restarted phone again.
and
MENU - SETTINGS - CYANOGEN MOD - APPS - "INSTALL PLACE" - choose automatic / intern (phone memory)
It works that all aplications installed to phone memory are in EXT partition of your msd! Only few files rests in phone memory.
You can everytime move apps from SD to (ext - phone mem) in APP MANAGER.
EDIT2: Looks like there are some troubles... after few restarting phone all apps in EXT dissappeard and could restore them... Trying to recover them...

Related

About to give up......on ext3 and swap

I think I've tried everything but can't get it to work.
I used Paragon Partition Manager 2009 on a windows XP pc and partitioned my 8GB card into fat32, 512MB ext3, and then 32MB linux swap in that order.
I am using the Modaco 2.3 ROM.
When I boot with the card inserted I get a constant reboot cycle (the little android in the letter "O" keeps being repeated). Then, when I remove the card and boot up without it, all my apps are gone.
I have retried this about 4 times and get the same result.
In Partition manager there are options for ext2, ext3, linux swap, linux swap2 but I don't know which to use. Also, should the partitions be primary or extended?
Please help!
try to us this won http://forum.xda-developers.com/showthread.php?t=561124
for future reference all the partitions should be primary.
i rely recommend u try the link i has posted 2 mess before
Partition your SD directly from the menu! (500MB Ext2, 32MB Swap, remaining Fat32)
KinkyGolab said:
i rely recommend u try the link i has posted 2 mess before
Partition your SD directly from the menu! (500MB Ext2, 32MB Swap, remaining Fat32)
Click to expand...
Click to collapse
+1 on that for sure.
Moved to Q & A
OK, thanks, KinkyGolab. I think it's working!
I now have 104MB free in my phone with lots of apps installed.
I flashed the recovery rom like you said so I now I use that one rather than the cyanogen recovery rom and partitioned the card from within the recovery console.
When I put the card back into my PC and examined it with Paragon partition manager I could see that the swap partition was described as "linux swap2" rather then simply "linux swap" that I had used before. Maybe that was the issue?
Anyway, I'm off to do some testing now.
Thanks again.

[Q] Swap for U20i with nAa 10, MiniCM7 2.1.8 and about Ext4

1. About Swap
I've used latest nAa kernel and minicm7 for a while, but something bugs me..
It says that nAa kernel has "Swap" function. CUrious, I tried several methods.
Firstly, I tried to use swapper from android market. Seems like it's no use, since typing "free" on terminal emulator shows "0" for swapping (swap data is created already on my SD card). Not working, I uninstalled it.
Then, somebody told me to use swapper 2 since it's working nicely on him. Strangely enough, my market said it's not compatible with my phone.
Third, I tried to create a linux swap file on my SD card with 200 MB size using partition manager. And my phone runs lag like hell. So, I finally delete the partition again and wipe factory reset etc.
My question is : How do I turn swap things on ?
2. About Ext4
Until recently (before I created linux swap partition on my SD card and finally erased it again), I never create an ext4 partition on my SD card. Now, I'm trying to use it. What is the difference between using an ext4 partition and not ?
Thank you very much for your answer
StardustGeass said:
1. About Swap
I've used latest nAa kernel and minicm7 for a while, but something bugs me..
It says that nAa kernel has "Swap" function. CUrious, I tried several methods.
Firstly, I tried to use swapper from android market. Seems like it's no use, since typing "free" on terminal emulator shows "0" for swapping (swap data is created already on my SD card). Not working, I uninstalled it.
Then, somebody told me to use swapper 2 since it's working nicely on him. Strangely enough, my market said it's not compatible with my phone.
Third, I tried to create a linux swap file on my SD card with 200 MB size using partition manager. And my phone runs lag like hell. So, I finally delete the partition again and wipe factory reset etc.
My question is : How do I turn swap things on ?
2. About Ext4
Until recently (before I created linux swap partition on my SD card and finally erased it again), I never create an ext4 partition on my SD card. Now, I'm trying to use it. What is the difference between using an ext4 partition and not ?
Thank you very much for your answer
Click to expand...
Click to collapse
Here's the problem.
Apps2SD
SD swap files
SD cache files
All this adds up in total bandwidth use.
And then the speeds when reading and writing from the card are not really up to the task.
Even my Big x10i was not up to the task with a class 8 SD
The best would be for developers to partition a small piece of 'internal' storage to allow for a swap file.
OmegaRED^ said:
Here's the problem.
Apps2SD
SD swap files
SD cache files
All this adds up in total bandwidth use.
And then the speeds when reading and writing from the card are not really up to the task.
Even my Big x10i was not up to the task with a class 8 SD
The best would be for developers to partition a small piece of 'internal' storage to allow for a swap file.
Click to expand...
Click to collapse
I see then...
So, you're suggesting me to not use swap files ? ok then, thank you for your explanation and opinion

[Q] darktremor & sd-ext

i often have this problem: There is an app2sd-gui DT script included in the rom... and this automatically places apps to the fat partition on the sd card ..
now, i always partition my sdcards with a second ext4 partition and prefer to use that one as an sd-ext directory and use linking to place my apps and all the stuff on my sd.
This allows me to use virtually unlimited storage and keep my internal memory completely free... (i also have a htc wildfire with CM7 and this setup; there i have about 70 apps installed. the internal memory has about 10 MB in use with some files i really wanted to have there so they always start fast like go keyboard, go contacts ex and my ringtones / alarm sounds. All other files are on my 16 gb sd card)
With a lot of the roms i've been trying i just can't get this working on my galaxy ace... especially the ICS roms i can't see my EXT4 partition as /SD-EXT for some reason, but often it gets mounted as /System/SD and thus link2sd cannot use my second partition.
Especially if app2sd is builtin as a system app this seems to be a problem. Has anyone ideas on how i could get this working again with these roms?
BoGy1980 said:
i often have this problem: There is an app2sd-gui DT script included in the rom... and this automatically places apps to the fat partition on the sd card ..
now, i always partition my sdcards with a second ext4 partition and prefer to use that one as an sd-ext directory and use linking to place my apps and all the stuff on my sd.
This allows me to use virtually unlimited storage and keep my internal memory completely free... (i also have a htc wildfire with CM7 and this setup; there i have about 70 apps installed. the internal memory has about 10 MB in use with some files i really wanted to have there so they always start fast like go keyboard, go contacts ex and my ringtones / alarm sounds. All other files are on my 16 gb sd card)
With a lot of the roms i've been trying i just can't get this working on my galaxy ace... especially the ICS roms i can't see my EXT4 partition as /SD-EXT for some reason, but often it gets mounted as /System/SD and thus link2sd cannot use my second partition.
Especially if app2sd is builtin as a system app this seems to be a problem. Has anyone ideas on how i could get this working again with these roms?
Click to expand...
Click to collapse
You have to edit the a2sd-script wich should be located in /etc/init.d/
But using "Link2sd" would be much easier. It is a well structured app and the usage is simple, because the first time (when you open the app) you have to choose your partition and the mountscript will be created automatically.
You can get Link2SD from this xda-thread or the play store
BoGy1980 said:
i often have this problem: There is an app2sd-gui DT script included in the rom... and this automatically places apps to the fat partition on the sd card ..
now, i always partition my sdcards with a second ext4 partition and prefer to use that one as an sd-ext directory and use linking to place my apps and all the stuff on my sd.
This allows me to use virtually unlimited storage and keep my internal memory completely free... (i also have a htc wildfire with CM7 and this setup; there i have about 70 apps installed. the internal memory has about 10 MB in use with some files i really wanted to have there so they always start fast like go keyboard, go contacts ex and my ringtones / alarm sounds. All other files are on my 16 gb sd card)
With a lot of the roms i've been trying i just can't get this working on my galaxy ace... especially the ICS roms i can't see my EXT4 partition as /SD-EXT for some reason, but often it gets mounted as /System/SD and thus link2sd cannot use my second partition.
Especially if app2sd is builtin as a system app this seems to be a problem. Has anyone ideas on how i could get this working again with these roms?
Click to expand...
Click to collapse
sd-ext is for CYANOGENMOd only...in stock based rom's u wont find a sd-ext..so s2e wont work.... but charmingly link2sd works....
now if it isn't working what shall u do???
-- if it says mount script not created,, partiotion is busy,,,, reflash the rom or i tried flashing another rom on wich link2sd worked and then reflashing the rom u want... install link2sd apk.. choose ext4 partition reboot.... (it works u can switch from cm7 to stock it wont be a problem)
- if ur sd-ext partition is of ext3 type,,, still choose ext4 on link2sd partition type screen
Fly-High said:
You have to edit the a2sd-script wich should be located in /etc/init.d/
But using "Link2sd" would be much easier. It is a well structured app and the usage is simple, because the first time (when you open the app) you have to choose your partition and the mountscript will be created automatically.
Click to expand...
Click to collapse
I always try to use links2sd; but if app2sd(gui) is installed it won't work.
I'd like to edit the init.d 'mount' script, but i don't know how to open thiis since it always says it cannot be found when i try to open it for editing or even for reading.
(i'm trying to open it with an app that has SU rights like Total Commander)
i have some experience with android and installing custom roms ; but i don't have real experience with editing files in a live OS.
Or should i edit the files in the APK before installing it? (isn't this going to break the APK's CRC-key rendering the file unusableN)
I already thank you guys for reading and sharing your knowledge...
I found it
I could edit the mountsd file in the original ZIP (which is not a crc'ed APK )
then reflash my device.
I removed everything in the mountsd file except this;
Code:
#!/system/bin/sh
#
# mount ext partition from sd card
(so this is what's left)
then i installed S2E & Link2SD, i let link2sd initialize it's scripts and pataboom; i got access again after the next reboot of my device ... finally i have a galaxy ace with unlimited space (or at least kinda limitless compared to the 120mb you get)
i was so used to the big space since it worked like a shine on my htc wildfire (like 60+ apps and only a few mb in use by some apps i really wanted on the internal memory so they start up fast anytime (no interference when other apps are running/starting).
I really love link2sd since it allows you to put apps on external memory and still use the widgets/services/.... while app2sd can't do that
thx again for your help guys! (although i did a lot of fo the job myself too

[Q]SD-EXT - General description of use

Hi,
I looked on forum for some summary what is general use of SD-ext partition.
So far I found some explanations and some solutions for CM ROMs.
So, if I uderstand correctly, I can use sd-ext
- either as seamless extension of internal partitions (/data, /system, /cache), for more storage
- and/or for installing apps on SD card, that work when SD card is connected to PC ass mass storage
Is it right?
I am on AOKP ROM, I tried to use it for moving apps with Link2SD and Android Assistent, but they tried to move apps to sdcard.
So, what is correct use of sd-ext and how to make it with AOKP? Mainly I want to extend internal storage (384MB)
I think you need to have a ext3 partition in the SD...
try this method...
MrTapa said:
Ok so I am gonna make an easy guide. But befor i start i will say the requirements
Requirements
1.Rooted
2.Busybox installed(v19.4 reccomended)
4.Card reader
So here we are.
1.Download MiniTool Partition
2.Remove the sd-card from phone and put it in a card reader and plug in pc.
4.Select only important files like Pictures, Music , Titanium and clockworkmod backups and all that important stuff for you
5.Copy them to a folder in computer.
6.Install MiniToolPartition and open it.
7.You will see your hard drives and your sd card.
8. Right click on sd card and click delete. Then again right click and Create.
9.Select "File System:" FAT when you have 2GB or smaller card.
Select "File System:" FAT32 when you have 4GB or greater card.
10.Dont select the whole volume. Select for example if you have 4GB card select 3GB if you want your sd-ext to be 1GB
11.When you are done.Again right click on the sd card and create ext2 or ext3 partition.Then select the full volume allwoed.
12.Make sure that this volume is enough for all apps on your phone.
13.Whn you are done click on the apply button on the top left corner. Wait for it to finish. When you are done. Copy teh prevously backed up data to the card.
14.Put it on the phone and on the market download Link2SD
15.Run the app and it will ask for root.Then select your tipe of partition. tehn reboot.
16.After reboot go to the app and you can mult iselect your apps with the options menu. Then in actions.Click Create link. Then ok.
17.You are done. Now you have a cleaner sd and initial storage
FAQ:
Q:What is sd-ext partition.
A: Its a tipe of partiton than linux supports so Android can use it as an initial memory.
Q:Why i dont see more space when i go to Apps in phones settings
A:The phone cant display sd-ext partiton. you can view it via Link2SD.(Otions>Storage info)
Alternetive version of discribing:http://forum.xda-developers.com/showthread.php?t=1338708
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1750888
thanks!
I used MiniTool Partition Wizard but Neo couldn't find it.
Luckily I found this http://www.butonic.de/2012/03/14/partitioning-the-sd-card-for-app2ext-with-adb-shell/ and was able to fdisk my sdcard from putty connected to sshdroid. Now SD is correctly formatted and Link2SD created mount script.
I can't tell if it works or no. From what I expect, there should be more MB when I look at Settings -> Storage, because Link2SD extends my internal storage... but there is still the same ~420MB.
Can it be that Link2SD silently moves new apps to /sd-ext, but internal storage is still the same?
DarshanaXN said:
I think you need to have a ext3 partition in the SD...
try this method...
http://forum.xda-developers.com/showthread.php?t=1750888
Click to expand...
Click to collapse
PetrGasparik said:
thanks!
I can't tell if it works or no. From what I expect, there should be more MB when I look at Settings -> Storage, because Link2SD extends my internal storage... but there is still the same ~420MB.
Can it be that Link2SD silently moves new apps to /sd-ext, but internal storage is still the same?
Click to expand...
Click to collapse
I think you missed this line in my post.
Q:Why i dont see more space when i go to Apps
in phones settings
A:The phone cant display sd-ext partiton. you
can view it via Link2SD.(Otions>Storage info)
although phone settings doesn't display about sd-ext you may see that amount of free storage increases as you create links with link2sd. I've attached two screenshots showing one before linking asphalt and anti terror shooter to sd-ext and after linking.
I had the same problem with minitool. then I used CWM to partition the sd.
u need to format ur SD to ext2 and you need link2sd app
indycar said:
u need to format ur SD to ext2 and you need link2sd app
Click to expand...
Click to collapse
It depends on the kernel which file format it supports.
The FAQs from link2sd says that fat 32 is supported by every Android / kernel for SD ext partition.
This is my still unused SD ext fat 32 partition.
So if you are not sure fat 32 should always do the work. By the way mini partition tool works great.
Send from my Neo V with JJHybrid 3.3b and Night Elf 1.4 using Tapatalk 2
use ext 2
ext3 and 4 didnt work on my neo
Hi,
I used Link2SD for some time. I had some troubles with ROM - random reboots, YT not working etc
I stopped using Link2SD, because I tried to eliminate everything "unnatural".
At the end, I changed ROM from AOKP to Paranoid and it solved all these troubles (there are some new ones )
Now, then I installed Link2SD and try to create mount script, Link2SD fails with "Mounting script cannot be created"
what do you suggest? reformat card partition? I would like to re-link apps that are there.
DarshanaXN said:
I think you missed this line in my post.
Q:Why i dont see more space when i go to Apps
in phones settings
A:The phone cant display sd-ext partiton. you
can view it via Link2SD.(Otions>Storage info)
although phone settings doesn't display about sd-ext you may see that amount of free storage increases as you create links with link2sd. I've attached two screenshots showing one before linking asphalt and anti terror shooter to sd-ext and after linking.
I had the same problem with minitool. then I used CWM to partition the sd.
Click to expand...
Click to collapse
Yeah, you're right. It is still a little of mystery for me, but hey, I learn to use it
Anyway, Minitool IS great, but when I formatted a card with it, phone couldn't read it. So I had to use ssh to phone.

[Q] miniCM10 w/ link2sd + a2sdgui Trouble

Hi guys,
I have a Sony ericsson X10 mini pro with nAa's Kernel 2.6.32.60-nAa-05 and miniCM10-4.1.0-20130518-NIGHTLY and I also flashed:
gapps-jb-20121011-signed.zip,
miniCM7-SEMC_kb.zip and
querty_br.zip
On top of that a internal memory of 192MB and a 16GB SDHC class10 SD card.
Boring story part (with more details and links and stickie just in case I forget something ) :
So far so good until I start installing apps and noticed that with a couple the memory was full. After a little research I found link2SD was the solution,
the SD card I have is more than fit for the job.
But then starter the problems, after I partitioned, with MiniTool,
my SD card as FAT32 (~13GB) and ext-N (2, 3 & 4) (~1GB) as primary none worked (at least for long).
I had some success with Ext-3 but the 2nd time I restarted my phone, Scrips were nowhere to be seen nor any linking of some kind.
Then (after more Googling) I tried both partitions as FAT32 and there it was working cool again.
Well went to download more apps, but memory was full, how so? I added a GB to it!
Found that I would, also, need to use A2SDGUI and it's Scripts (Version 2.7.5.3 Beta 04).
Flashed the scripts and then tried to run A2SDGUI not working pop's this error window:
Exiting A2SDGUI
Could not start for one of these reasons:
Your device is not rooted
A2SD scripts could not be found
No EXT partition found
Click to expand...
Click to collapse
Now I'm in trouble because android DOES NOT mount my 2nd partition if it's filesystem is not FAT32
(perhaps this is a scripting problem instead of Filesystem support ? )
And A2SDGUI is no longer being developed/suported.
Bottom line:
I installed link2SD but it only works when my 2nd partition is also FAT32, or else it won't mount,
and the phone internal memory continues to get shorter as I install apps.
Then I installed A2SDGUI and (Flashed) it's Scripts to try to JOIN the internal memory(/data)and SD card's 2nd partition so,
android doesn't give that annoying low memory error message.
I'm having trouble making andoid think that /data is ~1.2GB.
Can someone help me out on this? How can I "make" a "bigger" internal memory?
I searched Google but I couldn't find any GOOD answer to my question.
Shaameless self bump

Categories

Resources