Related
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..
First of all, I apologize in advance. I searched through everything and can't find my question. I'm a complete smartphone noob (got my first one a couple days ago--Canada's wireless providers are criminally expensive and I boycotted them as long as I could) and, while I'm reasonably good at technical things overall, I'm totally inexperienced here, with smartphones in general, Android, and it's parent OS Linux.
That out of the way: I have a Samsung Galaxy Ace, with Gingerbread 2.3.4 on it, through the provider Koodo. I am loving this phone, but I'm not entirely sure why certain things didn't work. There were apps I couldn't download due to a lack of space (despite a mostly empty 16GB microSD card), and apps that wouldn't install for other reasons. And always that frighteningly small 158MB system drive staring me in the face. So I decided to try to fix it.
I carefully read every bunch of instructions I could find and understand. Successfully rooted the phone. Installed ClockworkMod Recovery. I repartitioned the SD card with a big ext partition and swap space using CWM. I installed CF-Root-S5830_dtapps2sd-v1.2.zip successfully, and App2SD from the market.
This hasn't helped my free space at all. Nothing seems to be using that new ext partition. My available space did not go up at all...but (of course) my SD card space went down by the size of the new partitions.
I was under the impression there were kernels that could help your phone treat the SD card ext partitions like system space, but I can't figure out where or how for the life of me. Everything has worked, but it hasn't actually done anything.
-NoobGrrl
ur cf-root is not the latest, and I think if u make sd card partition by using cwm, the format will be ext3 not ext4.. so, u should try this step :
1. flash the latest cf-root v37-b82 through cwm from this post http://forum.xda-developers.com/showthread.php?t=1158197
2. partition ur sd card by using minitool partition wizard (google it) and make ext4 format.
3. flash the latest darktremor through cwm (don' forget to mount system n sd card) from this post http://forum.xda-developers.com/showthread.php?t=715116
4. install a2sd gui from market... done..
You probably forgot to move the dalvik cache to sd-ext from A2SDGUI.
To begin with, as you haven't done this before, I recommend you download the app link2sd rather than app2sdgui. Your system will be ext3 from CWM. Select and reboot. Then return to link2sd and you can move apps one by one or by batch installation to your partition by creating a "link". This method gives you finer control over which apps to move. It shows file sizes and how much of the app will be moved. After moving the apps reboot and hey presto - free internal memory.
I also recommend getting an app called DiskUsage to see what is taking up space and a file browser with root functions. I use Root Browser by jrummy16 - free on market.
Sent from a phone with an app.
First of all, thanks for the replies! I like the detailed instructions from musf especially...step-by-step for me is really the best way.
Okay, tried to follow those directions exactly. Minitool Partition Wizard has reformated the little 2GB partition I made on the SD card to ext4. Most recent CF-Root and dtapp2sd zips seemed to install fine. I think I mounted all the drives...I just do it from CWM, yes?
Downloaded A3SDGUI and it gives me an error:
Exiting A3SDGUI
Could not start for one of these reasons:
1. Your device is not rooted (it is, superuser shows access granted to A3SDGUI)
2. A3SD scripts could not be found (if so, no idea why.)
3. No EXT partition found (again, no idea why.)
Edit: Tried Link2SD and it gave an error as well, "Mount script could not be created. No such device."
Okay, so obviously it doesn't see my SD card's partition. So I put it back in my PC and recreated it again. No change at all...
yes from cwm, choose the "mount n storage" menu, then moutn system, then mount sdcard, then instal the darktremor zip file..
That seems to have almost worked...yes, I was mounting the drives after running DT. Duh. (I assumed somehow that DTapp2sd allowed me to set up the drives and I was telling the phone to mount it afterward so it could be used. I didn't realize DTapp2sd just needed to write to the drive.)
Almost. Almost worked.
Now, app2sd actually starts up successfully, no errors. (link2sd still gives the same error.) However, App2SD can't actually move anything. All items remain disabled, even after selecting them.
So then I remember the post above about the dalvik cache. So I go into App2SD and try to move it to the sd-ext folder, and it tells me there is not enough space. I have 124 MB of system memory left right now...and the SD card is mostly empty.
Follow the following instructions and tell me if they work:
(redo the steps even if you have done them already)
1. download cwm5 from the forum and place it into your sd card.
2. make a backup of your sd card and reboot your phone into recovery.
3. flash cwm5 file and reboot the recovery.
4. from the recovery, re-partition your card with a ext partition (you dont need more than 256-512mb. I have 16gb card and mine is only 256mb).
5. select swap if you want it.
6. ~partitioning complete~
7. Connect your phone to your computer with usb wire (while in recovery.)
8. mount usb storage from recovery.
9. copy the cfroot file to your memory card from pc.
10. unmount the usb storage.
11. mount system,sdcard, sd-ext (just to be on safe side) and flash with cfroot.
12. reboot.
13. open a2sdgui.
14. click yes, apps are on sd!, zipalign on boot is on!.
15. set swap if you want it.
16. from dalvik, click on dalvik cache on sd-ext and click move and rebuild.
17. your phone should reboot and you will be done
Notes: Its normal that after flashing a2sd script, your phone restarts a coupe of times so just leave it alone for a moment.
Don't forget to give superuser permission to a2sdgui.
If you still get some error, sty flashing the script again.
If it still doesn't get through, search for the dt a2sd beta 4 script and flash that from recovery. Other steps are the same!
Happy FLASHING
I'm using Clockworkmodace. That's 4, not 5, right?
I can't find a zip for CWM5 that is designated for the galaxy ace...
Here is CWM 5 : http://forum.xda-developers.com/showthread.php?t=1291327
Then , i would recommend you to use cyanogenmod 7.2 RC1 , it is better than a stock ROM
2 mistakes from redlag's instruction (cmiiw) :
first, cwm 5 is for cm7 based rom, dunno what'll happen if used on stock gb.. n second, point 4 can't be used, it'll make ext3 not ext4..
uninstall the link2sd then reflash the dta2sd (mount!) or uninstal the dt then reflash link2sd.. can't use both, they're like fire n water, lol.. u must choose..
musf said:
2 mistakes from redlag's instruction (cmiiw) :
first, cwm 5 is for cm7 based rom, dunno what'll happen if used on stock gb.. n second, point 4 can't be used, it'll make ext3 not ext4..
uninstall the link2sd then reflash the dta2sd (mount!) or uninstal the dt then reflash link2sd.. can't use both, they're like fire n water, lol.. u must choose..
Click to expand...
Click to collapse
I think cwm5 should work and i made it using point 4 and it works perfectly.
p.s. sd-ext are normally ext2, not ext3 or ext4. ext4 is normally used in internal.
EDIT: No it dsn't. Use cwm4. I guess that one has partitioning option too right? O easy way out, flash to ics1.2
aymi60 said:
Here is CWM 5 : http://forum.xda-developers.com/showthread.php?t=1291327
Click to expand...
Click to collapse
Edit: Ah, missed clarifications of my worried on the second page.
Then , i would recommend you to use cyanogenmod 7.2 RC1 , it is better than a stock ROM
Click to expand...
Click to collapse
What is cyanogenmod?
musf said:
2 mistakes from redlag's instruction (cmiiw) :
first, cwm 5 is for cm7 based rom, dunno what'll happen if used on stock gb.. n second, point 4 can't be used, it'll make ext3 not ext4..
uninstall the link2sd then reflash the dta2sd (mount!) or uninstal the dt then reflash link2sd.. can't use both, they're like fire n water, lol.. u must choose..
Click to expand...
Click to collapse
No go...no change at all.
IrishRed said:
What is cyanogenmod?
Click to expand...
Click to collapse
Go to recovery, Wipe cache/system/data. (make sure you have made a backup of your data.)
Mount the stuff and flash with http://forum.xda-developers.com/showthread.php?t=1258830
You have a new rom with dt a2sd running within
I'm going to try a different version of dtapp2sd first.
Should the ext and swap partitions be logical or primary?
I'm starting to think my EXT partition is not formatting properly in mini partition tool. Unfortunately CWM uses Ext3 and I'm told it's worse than Ext4 and Ext2 is better than both for an SD card.
Both primary. 1st one should be fat32 and second one should be ext2.
Well, good news and bad news. After some work, reformatting the partitions again, reflashing a new kernel, I finally got it working.
Trouble is, it's not stable. Apps keep crashing, the "Gallery" app only shows a black screen, and it randomly loses access to the FAT32 partition when running, and the SIM card occasionally says "Unrecognized" (forcing me to "restore to factory.")
*sighs*
Flash to the rom i linked you to.
Ok people, I don't understand any of this. Does anyone care to explain to me how this ext4 thing works and how should my phone be set up?
first of all running cwm5 and ICSunday2
At first I partitioned my phone with cwm5, make a 800mb partition on my sd card. Then I used Titanium backup to move my apps to SD card. I set up from CM settings to install apps to external... now all my memory keeps getting full with time. With that partition I don't think I gained anything just lost almost half my SD card capatity.
my current memory according to Titanium:
system rom: 81/216 free
internal: 65/187 free
sd card 684mb/1.1gb free
Also CM settings sais that the device deosn't have expanded internal storage...
Can anyone help me get back to square one and guide me from a clean slate??
Cheers
P.s. while updateing apps i get storage full warning....
Download s2e this will help
Sent from my GT-S5830 using xda premium
will this detect all my apps and put them in the correct place? including them ones already on the sd card moved by titanium?
EDIT: great it just put me in a boot loop, fkin awesome
Edit2: restoring -_-
I used this on all my phones on my galaxy s i had 724 apps installed and on ace ive got353 apps it will put everything like cache apps etc in your ext
Sent from my GT-S5830 using xda premium
yeah i got that, except that the app got my phone into a boot loop... had to restore from cwm
I'll try to explain (CMIIW):
Firstly, the option in Titanium Backup and CyanogenMod settings refer to native Apps2SD, i.e. the one used by FroYo up. It will move data files to your partition under /sdcard/.android_secure/ and/or /sdcard/Android/
a2sd, however (such as DTA2SD, Link2SD and S2E) takes ALL the files of an application and puts them in the ext4 partition, then creates a link (a shortcut in Windows terms) in /data/app/ (and other concerning directories).
My personal favorite is Link2SD, because you chioose which apps to link, what files of the app to link and supports FAT, ext2, ext3 and ext4 partitions.
I have yet to try S2E.
Sent from my GT-S5830
OK, I get it. Thanks. But will it move the apps from the sd card that the titanium moved?
I tried the apps, both move the apps to regular sd aprtition not to /sd-ext
someone tell me what to do step by step, not "download **"
Jokerman170 said:
I tried the apps, both move the apps to regular sd aprtition not to /sd-ext
Click to expand...
Click to collapse
"Both apps" as in Titanium Backup and CM7 Settings?
Okay, I'll try to give you directions to use Link2SD (if you want to use another app, that's fine, but I'll only post instructions for Link2SD for the moment):
1. Download and flash CWM 5.
You've done that, right? Okey-dokey, next step
2. Partition your SD card with CWM.
It's recommended to backup then format your SD card in order for it work optimally. After that, boot into CMW and partition from there. I don't remember where, but it should be under the "advanced" option.
You'll get a prompt on how large the partition will be (I recommend 512MB; it's more than enough). After that, there'll be a prompt on the swap size; you should choose 0MB if you don't plan on using swap, otherwise pick ~200MB.
The created partition will use the ext3 partition; DTA2SD and S2E (AFAIK) don't support ext3, but Link2SD does.
3. Download/install Link2SD from the Market.
Pretty straightforward there.
4. Open and set up Link2SD mount scripts.
The first time you open Link2SD, there will be a dialog on what your 2nd partition filesystem is. As stated above, it's ext3, so pick ext3. After Link2SD creates the mount scripts, reboot in order to be able to start using it.
5. Pick apps to move to sd-ext and set up Link2SD settings.
Sidenote: you can't move system apps to sd-ext, for safety reasons.
You can batch-link your apps to sd-ext by: Filter icon (the kitchen funnel thing; don't know what it's called) > User > Menu button > Multi-select > Menu button > Select all > Menu button > Actions > Create link > OK. By doing that, all your apps will be moved to the ext partition.
If you want to automatically link to sd-ext every time you install an app: Menu-button > Settings > Auto-link.
Hope that'll work. Link2SD never fails for me (except for that one time when the mount script didn't work, but that was because I selected the wrong filesystem type; user error).
thanks for the guide. earlyer today I got a little problem I used the link2sd but i selected ext4, i moved the apps, but they went to the normal partition. i deleted link2sd and used s2e, s2e worket but only transfered the apps from my phone not the ones from my SD card that link2sd moved.. now any app i try to install or move the phone reboots... or sais that i have not enough space on my phone to copy back
any helps with that?
edit: ill just restore my backup and start over
Yup worked fine now, thank you so much again. You should post it somewhere as tutorial for noobs
Currently I have an HTC Explorer on the stock ROM with stock kernel, and it is rooted and I use link2SD to move all my apps to my SD card. However, this method does not move the application data. I would like to install a new apps2SD script that will move app data as well as apps, as I am running out of space due to the data.
The problem I am facing is that with link2SD, I am using a FAT32 partition (my current stock kernel does not support ext partitions). Almost all my apps are on this FAT32 partition. I believe if I switch to a different script, I must use an ext partition. I think I will need to install a custom kernel that supports ext partitions (and init.d scripts?) and create a new ext partition.
My questions are these:
1. Will installing a new kernel be enough without installing a new ROM? (If so, can anyone suggest one for the Explorer that adds ext & init.d support? Preferably as few other features as possible, I'd like to stick reasonably close to stock)
2. How can I move all my existing apps from the FAT32 partition to the ext partition, and also move all the data currently on internal storage to the ext partition, without losing anything? (If I back everything up with Titanium Backup, make the switch, and then restore the backup once the script is installed, will that work? If so, do I need to do a wipe at any point?)
3. Which apps2SD script should I use? I have read about several, and have no idea which is best.
4. How do I actually make the switch? Do I uninstall link2SD, remove the FAT32 partition and replace it with an ext2 partition, install the new script in recovery, then boot up? Or would that cause problems with the remnant symlinks made by link2SD? Do I need to do a wipe at some point?
I realise I am asking a lot of questions here, at this point I am beginning to regret not going with a custom kernel and a full a2sd script in the first place. Any help would be much appreciated.
Would like to know also..
hey guys, i want to use a2sd to move apps to sdcard so i have installed linktosd cuz am using stock rom 2.3.3 and when i installed the app the super user gave force close. after that i updated the super user then when opened the linktosd app then it showed the type of partition like ext2,ext3,ext4 etc. i tried every option it says ext partition no directory found. i have tried mounting the sdext in recovery still not working!! plz help!!! am tired of this thing! i want a decent apps2sd on stock rom 2.3.3!!! :|
Sent from my LG-P500 using xda app-developers app
How did you partition your SD card? What program did you use, what type of partition is it, and how is it formatted?
post-mortem said:
How did you partition your SD card? What program did you use, what type of partition is it, and how is it formatted?
Click to expand...
Click to collapse
I have used clockwork mod recovery 5.0.2.7 I guess I have partitioned my sdcard i.e. 512mb ext
Sent from my LG-P500 using xda app-developers app
I believe CWM defaults to ext4. If you didn't make any other partitions, then your SD card partition structure should be as follows now:
/mnt/sdcard, FAT, primary
/sdext, ext4, primary
Try using link2sd's menu to recreate mount scripts, & choose ext4. Also, make sure you're still rooted properly, and still have expected su access.
post-mortem said:
I believe CWM defaults to ext4. If you didn't make any other partitions, then your SD card partition structure should be as follows now:
/mnt/sdcard, FAT, primary
/sdext, ext4, primary
Try using link2sd's menu to recreate mount scripts, & choose ext4. Also, make sure you're still rooted properly, and still have expected su access.
Click to expand...
Click to collapse
Bro I chose ext4 it says no directory found!! I have seen in menu it shows sdcard 1.35gb and ext partition not mounted!!! I have partitioned many times!! I have mounted ext many times in recovery still not working!! Any suggestions!!!
Sent from my LG-P500 using xda app-developers app
I recollect facing the same problem.I guess the problem isn't with link2sd its got to to do with the fact that the stock kernel doesn't support ext partition try flashing a custom kernel that supports ext partition.
anuragchowdry said:
I recollect facing the same problem.I guess the problem isn't with link2sd its got to to do with the fact that the stock kernel doesn't support ext partition try flashing a custom kernel that supports ext partition.
Click to expand...
Click to collapse
Ah, good catch! I didn't notice that.
If you don't want to flash a new ROM, you can format the 2nd partition as FAT, and link2sd has the option to mount that the same way as others.
post-mortem said:
Ah, good catch! I didn't notice that.
If you don't want to flash a new ROM, you can format the 2nd partition as FAT, and link2sd has the option to mount that the same way as others.
Click to expand...
Click to collapse
I can't flash kernels now!!! Which one suits stock better!! Or modified stock kernel!!!
Sent from my LG-P500 using xda app-developers app
I don't understand. Do you want to keep stock, or flash a custom ROM? If all you want is to use link2sd, you shouldn't need to flash anything.
post-mortem said:
I don't understand. Do you want to keep stock, or flash a custom ROM? If all you want is to use link2sd, you shouldn't need to flash anything.
Click to expand...
Click to collapse
I didn't want to flash custom kernel!! But am still asking which kernel suits better! Is there is any modified stock kernel!! Will the kernel will affect my camera quality!!!?
Sent from my LG-P500 using xda app-developers app
Link2sd application vanishes from launcher menu after wiping dalvik cache from the recovery and even all application which are in sd ext also don't appear please give me solutions
Sent from my LG-P500 using xda premium
Backup your sd card on PC.
Do factory reset
Re partition ur sd card in cwm
Start phone & install link2sd before any other application
Use ext4
If ur kernel doesnt support ext 4
Partition ur card on PC using some partitioning software. use ext2 in this case. And try link2 sd now
Pls let me know if this helps
Sent from my E15i using xda app-developers app
RoyalEagle said:
Backup your sd card on PC.
Do factory reset
Re partition ur sd card in cwm
Start phone & install link2sd before any other application
Use ext4
If ur kernel doesnt support ext 4
Partition ur card on PC using some partitioning software. use ext2 in this case. And try link2 sd now
Pls let me know if this helps
Sent from my E15i using xda app-developers app
Click to expand...
Click to collapse
I want the solution for flashing new nightlie each time...
Reinstall link2sd -> menu -> More -> Recreate mount scripts
Reboot.