a2sd and swap on ICS - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Can anyone help me about find the solution for enabling ext4 and swap partition in ICS roms.
on GB i flash script by darktermor and then my swap partition and ext4 partition works perfectly and after installing apps,they move automatically to ext partition.
But in ICS this script doesnt work and when I install link2sd it ask about my partition but it moves my apps to android.secure not ext partition and my swap partition doesnt work.
I tried mesa kernel,kernel panic,but in terminal my swap partition is 0 .
Can you help me please

Thing is, darktremore a2sd doesnt work well with ics/jb. Try mount2sd script, can mount swap partition too.

an0nym0us_ said:
Thing is, darktremore a2sd doesnt work well with ics/jb. Try mount2sd script, can mount swap partition too.
Click to expand...
Click to collapse
thank you,I installed from this topic but still it doesnt work
Code:
http://forum.xda-developers.com/showthread.php?t=1342387

it will work. i'm using it.

My phone is xperia mini pro
with kernel panic.
Can I use your kernel will it enable this ?
Or it is because of my rom that it cant support this ?

mount2sd need a type of sysinit that invoke init.d script after boot, and my kernel does support it.
just make sure u create partition correctly eg:
1st partition as fat32, primary. this is for usual sdcard files.
2nd partition as ext2/3/4, primary, this is for mount2sd use for moving dalvik, apps, apps data etc.
3rd partition swap.

I use swap and ext partition on GB as well and had no problem.
but now even use mesa but it cant mount my sd card i install both aroma installer and legacy install of mount2sd script but it doesnt work.

an0nym0us_ said:
3rd partition swap.
Click to expand...
Click to collapse
for best performance (multitasking or whatever), how much should i create for that?
Sent from my SK17i

andrasandhi said:
for best performance (multitasking or whatever), how much should i create for that?
Sent from my SK17i
Click to expand...
Click to collapse
256mb or 512mb should be enough.

an0nym0us_ said:
256mb or 512mb should be enough.
Click to expand...
Click to collapse
thankz buddy
Sent from my SK17i

Related

App2SD with ext2,3,4 support xRecovery installation

Download here - app2sd.ext4(modified 3.1.11)
Or if you want both, apps and dalvik-cache on SD - download here - app2sd.dc2sd.ext4
First of all make backup in xRecovery
Install app2sd through xRecovery - install custom zip
ext2 or ext3 or ext4 partition on SDcard needed
After app2sd installed, don´t turn the phone on without SD card with installed apps inserted, until it is really necessary
First boot after installation takes longer, depending on the amount of installed apps
If you make backup with xRecovery after installation -
- your personal data and setting of your apps will be backed up
- installed apps will no longer be backed up, but still remaining in the ext partition on SD card
If some app won´t work correctly, please reinstall the app from Market or from the file browser (rootexplorer) - you can find your apps in /system/sd/app directory
Compatible with JIT?
Yes, it is.
peetr_ said:
Download here - app2sd.ext4
Install through xRecovery - install custom zip
Click to expand...
Click to collapse
Could u upload the file on megaupload.com
Thanks,...
Ok... now it´s on megaupload.
Installed it, how can i check it? This is my first app2sd try
Sent from my E10i
In rootexplorer, /data/app - shows used and remaining space, added together it should be size of your ext partition.
Ok at first i didnt have a ext2 partition.
Now i have formated my sd card and app2sd seems to waork, my problem is after installing the uptade.zip my phone reboots and at first it shows all the apps in menu then they dissapear, i think theyre transfered to sd card. and then i can do nothing just have the standart apps, appbrain doeasnt works, cant start root explorer etc... but all m apps appera in the menu for deinstallation. Hope you can help me
EDIT//
after another restart everything seems to work fine
I am glad to hear that
Works well with my previous ext2 partition.
I already had app2sd working, and it still works this way.
I'm now trying a new sdcard. I formatted an ext4 partition in ubuntu, but the phone enters into an eternal loop. Don't know why, but it seams that it is not recognizing the partition.
Any Ideas?
Regards
Use ext3,for mini is better - stable
I made ext4 partition making first ext3 and then ext4 manually in xrecovery through adb with this tutorial http://forum.xda-developers.com/showthread.php?t=534714 and its stable.
But maybe ext3 is faster with our kernel. Dont know, didnt compared.
peetr_ said:
Ok... now it´s on megaupload.
Click to expand...
Click to collapse
Thanks brader.....
This sounds awesome but does this mean that I can have apps on ext2 + ext 3 which means double the amount of apps?
NO.On ext3 is better performance.
No, but you can double the amount of partition size
Nice so say I've doubled it, will it increase the amount of apps I can put on my mini? just want to know a bit more about this
peetr_ said:
Download here - app2sd.ext4
Install through xRecovery - install custom zip
ext 2,3 or 4 partition on SDcard needed
Click to expand...
Click to collapse
THANK YOU VERY MUCH !!!
now i have a question, i got a 1gb ext2 partition, would it be better when i format it in ext3 or ext4 ? i dont know wich class the microsd card is, its a 8gb....
I have ext4 but few people said ext3 has better performance.
I had no time yet, to try ext3.
I think 1 GB is too much, because there are still some data, that are stored in internal memory and when you run out of internal memory, remaining place in ext partition is unused.
500 MB is enough, this is not high-end phone and too many apps means more slowness and less stability, i think.
M
peetr_ said:
I have ext4 but few people said ext3 has better performance.
I had no time yet, to try ext3.
I think 1 GB is too much, because there are still some data, that are stored in internal memory and when you run out of internal memory, remaining place in ext partition is unused.
500 MB is enough, this is not high-end phone and too many apps means more slowness and less stability, i think.
Click to expand...
Click to collapse
Can I skip doing ext2 just make ext3 n 4..then intall the zip file using recovery?to make partition ext3 or 4 using same method of make partition ext2?
sent from my E10i

[Q]Link2SD and CM7 KANG = ??

Following from this thread, I finally partitioned my sd card and had link2sd installed in my ace.
http://forum.xda-developers.com/showthread.php?t=919326
I moved my apps using apps2sd. I found out there are some remaining data in the phone. Are those data : dalvik-cache (.dex) file and lib files (.so) ? Or those are the game saves data. So, if i use Link2SD, i can completely move those data to sd?
It shows an error when I try to start it.. I could not link any of the apps.
Mount Script Error
Mount script cannot be created.
mount: mounting /dev/block/vold/179:2 on data/sdext2 failed: Device or resource busy
Click to expand...
Click to collapse
my 2nd partition is on fat32
did u create both partition as primary?
btw i still think link2sd is buggy and annoying. at least in my experience. sometimes it fails to mount partition during booting and just prompt to reboot, or the moved app wouldnt even show in app drawer.
A2SD works perfectly for me.. There aren't many functions as Link2SD but it does the job..
an0nym0us_ said:
did u create both partition as primary?
btw i still think link2sd is buggy and annoying. at least in my experience. sometimes it fails to mount partition during booting and just prompt to reboot, or the moved app wouldnt even show in app drawer.
Click to expand...
Click to collapse
Yes, both are primary as guided from the thread. :S
So any other than link2sd that can fully move an apps including it's data etc. My internal memory getting full soon.
Pahan88, is App2SD free same thing as A2SD?
here if we said a2sd or app2sd it generally means dartremore a2sd. u need to be rooted, and if ur on gingerbread u need to use kernel which support init.d script which is ketut's cfroot kernel. darktremore a2sd can move apps, data and dalvik cache to sdcard
edited: sorry, just realize ur thread title said cm7 kang. ur already rooted and using cfroot. u just need to flash darktremore a2sd via recovery
Thanks.. Do you mind showing me the right thread? I did a search and there are so many threads about it.. I dont even know which one is the right one.
partition ur sdcard with two partition, both primary. 1st partition as fat32 and 2nd partition as ext2/ext3/ext4
get the flashable zip file from its thread here
put it in sdcard, boot into cwm and choose to mount system and mount data.
choose to install zip from sdcard and flash the earlier zip file.
get terminal emulator from market, open it and do
Code:
su
a2sd reinstall
and ur phone will reboot.
when it boot up, open terminal again and do
Code:
su
a2sd cachesdreset
to move dalvik cache to sdcard, or
Code:
su
a2sd datasd
to move data to sdcard
Hi, I got a new sd card 4gb. But I partitioned using CWM. I checked through MiniTool Partition Wizard, it didnt show any 2nd partition but it did shows reduced MB. Partition via CWM is ok?
And no-one points the poor guy to s2e
Hi there. I saw the information there. Sounds so simple.. Is there anything I should know before I try it? And im not a guy btw.. THanks ^^
WishFinder` said:
Hi there. I saw the information there. Sounds so simple.. Is there anything I should know before I try it? And im not a guy btw.. THanks ^^
Click to expand...
Click to collapse
Sorry, but Yea its that simple But if your a frequent backup/restorer kind of person, using advanced mode may get very confusing and you will get force closes as it brings anything you moved to SD-EXT. Don't worry about the Cache size and ext4 journaling in the settings.
to use link2sd with CM7 KANG rom .just mount the second partition as ext3 format.link2sd will work.
scoffyburito said:
Sorry, but Yea its that simple But if your a frequent backup/restorer kind of person, using advanced mode may get very confusing and you will get force closes as it brings anything you moved to SD-EXT. Don't worry about the Cache size and ext4 journaling in the settings.
Click to expand...
Click to collapse
mm when i run the s2e, I cant click on anything except the "Download cache" part. The others, I cant tap on it. Cant move my apps..

[Q] SWAP

Hey guys i want to use swap, i have made 64mb swap partition from CWM, but how to activate it in a ROM?
using a2sd + darktremor script. or using S2E (for CM7 only).
i used a2sd GUi but it is showing me error :
Could not start for one of these reasons :
1. Your device is not rooted
2. A2sd scripts could not be found
3. No EXT partition found
and i use s2e for moving apps but i didnt found any swap option in that app
nilzkul said:
i used a2sd GUi but it is showing me error :
Could not start for one of these reasons :
1. Your device is not rooted
2. A2sd scripts could not be found
3. No EXT partition found
and i use s2e for moving apps but i didnt found any swap option in that app
Click to expand...
Click to collapse
Flash cf-root kernel then install ext4 manager to convert your system to ext4 then activated dta2sd
regards,
•ƒγяύs ργяσ™•
pyronia said:
Flash cf-root kernel then install ext4 manager to convert your system to ext4 then activated dta2sd
regards,
•ƒγяύs ργяσ™•
Click to expand...
Click to collapse
will it format SD?
when you do partition with CWM, do you also make the ext partition? (before swap partition option)
have you install the darktremor script? is your ace rooted?
dianpadi said:
when you do partition with CWM, do you also make the ext partition? (before swap partition option)
have you install the darktremor script? is your ace rooted?
Click to expand...
Click to collapse
Yes i did partitioned with EXT and SWAP both, and No, NO darktremor script and yes device is rooted.
nilzkul said:
Yes i did partitioned with EXT and SWAP both, and No, NO darktremor script and yes device is rooted.
Click to expand...
Click to collapse
you should install the darktremor script
I also had same problem a month ago...
dianpadi said:
you should install the darktremor script
I also had same problem a month ago...
Click to expand...
Click to collapse
link plz
Type Darktremor A2SD into forum search
Tap-a-talked from my Galaxy Ace
Hatshipuh said:
Type Darktremor A2SD into forum search
Tap-a-talked from my Galaxy Ace
Click to expand...
Click to collapse
Okay after installing this script, will my swap partition will get activated by a2sd?
nilzkul said:
Okay after installing this script, will my swap partition will get activated by a2sd?
Click to expand...
Click to collapse
yes. you can play the options with a2sdGUI...
dianpadi said:
yes. you can play the options with a2sdGUI...
Click to expand...
Click to collapse
i installed this script though same error
There is an app called "Swapper 2 (for root users)", in Market, which worked for me.
Sent from my GT-S5830 using XDA App
nilzkul said:
i installed this script though same error
Click to expand...
Click to collapse
do you /mount system and data when flashing the script?
dianpadi said:
do you /mount system and data when flashing the script?
Click to expand...
Click to collapse
Oops! no i didnt mount system
i flashed after mounting system, all is working perfect.
Thanxx All
and last question, do class 4 Sd is liable for swap?
nilzkul said:
Oops! no i didnt mount system
i flashed after mounting system, all is working perfect.
Thanxx All
and last question, do class 4 Sd is liable for swap?
Click to expand...
Click to collapse
swap is for helping ram. recommended for using class 10.
do you have "laggy" problem with class 4 swap partition?

How to use ext2

How do i use ext2 partition on native ap2sd? i used to have link2sd but i heard native is better so i made an ext2 partition anyone know how to set it? minicm7 2.2.1
EXT2 is not supported with this ROM, must create EXT3 or EXT4.
I was tested EXT2 + link2SD but that didnt work. Tested FAT32 + link2sd = same fail.
If you create EXT3/EXT4 it could be auto-mounted, but some bugs could appear...
I recomended to not use EXT, just that SWAP you created. If you use native "move to card", they will be stored on mmc too, but will be visible in some "xxx-secure" folder (not stored in ext part.) - I spent almost whole day to recover all files after testing SWAP and EXT3 (both auto-mounted via minicm) - dont do the same mistake
penthaler said:
EXT2 is not supported with this ROM, must create EXT3 or EXT4.
I was tested EXT2 + link2SD but that didnt work. Tested FAT32 + link2sd = same fail.
If you create EXT3/EXT4 it could be auto-mounted, but some bugs could appear...
I recomended to not use EXT, just that SWAP you created. If you use native "move to card", they will be stored on mmc too, but will be visible in some "xxx-secure" folder (not stored in ext part.) - I spent almost whole day to recover all files after testing SWAP and EXT3 (both auto-mounted via minicm) - dont do the same mistake
Click to expand...
Click to collapse
srry but i didnt realy understand i have a 3gb normal and 300 swap and 300 ext2 what should i change ext2 to?and dunt worry i have backups
LukBoy99 said:
srry but i didnt realy understand i have a 3gb normal and 300 swap and 300 ext2 what should i change ext2 to?and dunt worry i have backups
Click to expand...
Click to collapse
you should change ext2 to ext3 or ext4, but i think he is saying: get rid of the ext-partition and just keep fat for app2sd/link2sd, and keep swap.
You must format the ext2 to ext3 or EXT4. There is a command for this built into minicm and I think it's something like a2sd format in terminal. Or you can use something like gparted from linux
X10man
Sent from my Fender Stratocaster to your face via XDA Premium
x10man said:
You must format the ext2 to ext3 or EXT4. There is a command for this built into minicm and I think it's something like a2sd format in terminal. Or you can use something like gparted from linux
X10man
Sent from my Fender Stratocaster to your face via XDA Premium
Click to expand...
Click to collapse
made ext3 how do i activate it?
EXT3 is automatically mounted by ROM, so you dont have to enable it.
You can just choose if you want to use NONE / A2SD / DC2SD mode in cyanogenmod settings.

Link2SD Problem

Im trying to create an SDext on my ray but i keep getting this error in link2sd when i try to create the mount scripts.
Mount script Connot be created.
Mount: mounting/dev/block/vold/179:2 on/data/sdext2
Faild: invalid argument.
Ive tried all diffrent formats but nothing works. ive done all this before on my x8 and did it the same way with mini tool can any one help please.
gavster26 said:
Im trying to create an SDext on my ray but i keep getting this error in link2sd when i try to create the mount scripts.
Mount script Connot be created.
Mount: mounting/dev/block/vold/179:2 on/data/sdext2
Faild: invalid argument.
Ive tried all diffrent formats but nothing works. ive done all this before on my x8 and did it the same way with mini tool can any one help please.
Click to expand...
Click to collapse
it will be different on other rom eg: in cm7 i have to choose ext4, although my sdcard is ext3 format
antr34 said:
it will be different on other rom eg: in cm7 i have to choose ext4, although my sdcard is ext3 format
Click to expand...
Click to collapse
Nothings working mate any other ideas.
Edit: Sdext wont mount in cwm recvery either.
I use ext 2 format for link my application use link2sd..
And work for my mango...
Sent from my Xperia Mini Pro using XDA
gavster26 said:
Im trying to create an SDext on my ray but i keep getting this error in link2sd when i try to create the mount scripts.
Mount script Connot be created.
Mount: mounting/dev/block/vold/179:2 on/data/sdext2
Faild: invalid argument.
Ive tried all diffrent formats but nothing works. ive done all this before on my x8 and did it the same way with mini tool can any one help please.
Click to expand...
Click to collapse
How did u partition it? Via CWM ?
If u did via CWM, it will be ext3
Try supersu app.
Sent from my WT19i using xda app-developers app
bandarigoda123 said:
How did u partition it? Via CWM ?
If u did via CWM, it will be ext3
Click to expand...
Click to collapse
i used mini tool to create ext partition and swap partition swapper2 has linked to my swap partition but link2sd wont mount the ext partotion. ive reformated it with all the formats but none of them work and ive tried to mount sdext in cwm mounts & storage but it says error mounting sdext aswell. im out of ideas
just double check n make sure all ur partition is in primary partition
In mini tool partition,
First create the main storage
second should be ext
Third is swap
U partitioned like above bro?
bandarigoda123 said:
In mini tool partition,
First create the main storage
second should be ext
Third is swap
U partitioned like above bro?
Click to expand...
Click to collapse
yep, but i dont creat swap partition coz i dont use it. but make sure fisrt partition (fat) n second parttion (ext) both are primary not extended or logical partition.
just to make sure if u dont have any importand files in ur fat partition or maybe back it up first then re partition all over again n choose primary not logical
bandarigoda123 said:
In mini tool partition,
First create the main storage
second should be ext
Third is swap
U partitioned like above bro?
Click to expand...
Click to collapse
I think thats were ive gone wrong my swap is at the top of the list then fat then ext. Stupid man lol. Thanks bro.
Then good luck bro. Have a Nice day!
gavster26 said:
I think thats were ive gone wrong my swap is at the top of the list then fat then ext. Stupid man lol. Thanks bro.
Click to expand...
Click to collapse
Is it solved bro?
Sent from my SK17i using xda app-developers app
what you need to do it first backup all your data on your system.. then format the memory card(check to make it fat32)... then create the partation..copy back your data to memory card back again... hope this will work for you
here is the full tutorial of how to use link2sd card and mini tools..
http://forum.xda-developers.com/showthread.php?t=1841716

Categories

Resources