Moving from link2SD to another apps2SD script - Android Q&A, Help & Troubleshooting

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..

Related

A2SD

Hello.
I just got an HTC Hero, and I've faced the problem of lack of space already.
So I read about this app, unaware I would need it (naive of me), while I was downloading the VillainRom v13, to replace the VillainRom v12 I had.
I flashed it succesfully. I installed the apps I had before. But now, unfortunately, I'm running low on internal space.
How can I move application to the SD card? Is there a tutorial that explains me how to do it for my phone and rom?
How can I determine if my SD card is fast enough?
Thanks for any help you can provide.
to move applications just go to settings>applications>manage applications and click on which ever app you want to move to sd card. Once you click on the app it'll go to a page which will allow you to move your app to the sd. Usually class 4+ SDs are fast enough
The question is that I have tried that... But I don't have that option!
I believe it is because I'm on the 2.1 rom, instead of 2.2, and that option was only introduced in 2.2.
welll, im not sure how to do it without wiping and starting all over again but,
if you make a nandroid.. then backup your sd card onto your computer(including the nandroid backup)
you could go into your recovery image and partition your sd card, swap - 32mb, ext2 - 512mb and fat32 the rest (it takes you through those settings step by step)
then wipe factory reset/all data and wipe your dalvik cache
then flash your rom (double check that the rom has a2sd).. and the rom will do the work for you!
i just did this with wildhero... its the only rom im 100% sure will do the a2sd for you
xsirhc6x said:
welll, im not sure how to do it without wiping and starting all over again but,
if you make a nandroid.. then backup your sd card onto your computer(including the nandroid backup)
you could go into your recovery image and partition your sd card, swap - 32mb, ext2 - 512mb and fat32 the rest (it takes you through those settings step by step)
then wipe factory reset/all data and wipe your dalvik cache
then flash your rom (double check that the rom has a2sd).. and the rom will do the work for you!
i just did this with wildhero... its the only rom im 100% sure will do the a2sd for you
Click to expand...
Click to collapse
Thanks!
I was struggling with this aswell
The thing is my ClockWork Mod doesn't have that formatting option...
Does VR13 support A2SD natively? I believe so.
I use HTC HD2, Android on SD card, don't know how to use A2SD ?
Now i use Swapper2 to set Swap file.

[Q] SD card change+Rom change from xpart to a2sd+ and taking over ext4?

Hey guys.
I've read some threads about moving ext4 from one SD to another, but this isn't exactly what I need.
I am currently on MIUI XJ 1.8.12 XPart rom and I want to change to 1.8.12 A2SD+ and a bigger SD card.
Changing the rom isn't the problem, but backing up my ext4 partition from the old SD is!
I used the newest ubuntu live CD(11.04 I believe) to partition the new SD card to FAT32/ext4. Everything is fine.
The SD gets recognized as it should. FAT32 and EXT4 partition mount and I can access them.
But with my old SD it doesn't work.
If I plug it in, FAT32 and EXT4 partition get recognized. FAT32 partition is named "195" and EXT4 is "userdata".
When I try to click the EXT4 it just dissappears. In the media tab it is listed, but I can't access it because I am not the owner of it/I am missing permissions/rights to access it.
I partitioned it with CWM recovery, but meanwhile I changed my recovery to RMD 1.03 (I don't think that this matters though...).
Now my questions:
1. How can I access my EXT4 partition to backup its content?
2. If I can't access it because I can't change permissions... do I really need to copy it or will it be enough to restore my apps that I backed up under xpart with MIUI Backup?
3. Is it a problem to restore a app backup done under xpart-script with a a2sd+ rom?
Thank you for reading!
you can backup your ext partition in recovery. i think you can also just open a file explorer and copy the folder /sd-ext (i havent tried this, so im not sure if this will work)
Ok, I haven't tried to backup it with recovery.
Will it then be possible to flash a new rom (a2sd+ instead of xpart) and restore only the ext partition?
I want a clean install with a2sd+ but I don't want to loose settings and savegames.
Just a small "up" for my thread.
I backed up my sd-ext partition and I could wipe right now.
Will there be any problems with restoring the ext partition on a new rom?
What will happen if I just wipe sd-ext and restore MIUI Backup?
Will sd-ext will just be "rebuilded" from the MIUI Backup?
Bananebieger said:
Will there be any problems with restoring the ext partition on a new rom?
Click to expand...
Click to collapse
there will only be problems if your rom does not support either your a2sd or your current ext filesystem (which is to say, does it support ext4 or does it only support ext2 or ext3?)
Bananebieger said:
What will happen if I just wipe sd-ext and restore MIUI Backup?
Will sd-ext will just be "rebuilded" from the MIUI Backup?
Click to expand...
Click to collapse
i believe so (please dont take my word for it as i have not done this before. however, im pretty sure it will be "rebuilt" as you have it included in your backup)
Thank you again.
Its the MIUI rom from XJ for Desire Classic with XPART script. Your ext Partition gets converted to ext4 if you install this rom.
Will there be problems with using sd-ext content from XPART after update to A2SD+?
Maybe I'll bother the dev from this rom

Link2SD question for 2.3

Am I the only one who notices this or did I not configure my link2sd properly.
After setting up Link2SD to work, if I reflash my ROM, suddenly the new ROM will only recognize my Link2SD partition instead of my 1st partition.
Is there an easy way to point to the ROM to the correct partition rather than having to remove the Link2SD partition?
Thx.
sasukewa said:
Am I the only one who notices this or did I not configure my link2sd properly.
After setting up Link2SD to work, if I reflash my ROM, suddenly the new ROM will only recognize my Link2SD partition instead of my 1st partition.
Is there an easy way to point to the ROM to the correct partition rather than having to remove the Link2SD partition?
Thx.
Click to expand...
Click to collapse
The ROM can only recognize one partition at a time, if you have swap set up then you can switch between partitions, other wise, only link2sd can recognize the second partition and only on ROMS/Kernels that have the option enabled, otherwise your SD card will show up as corrupted or only one partition.
Basically the new rom wipes your swap enabled and your custom installrecovery.sh files which run your link2sd.
You need to create the required files in system/etc for your phone to be able to read the partitions correctly. And I think some roms need a custom kernel to activate swapiness too.
I have my link2sd all set up with wolfs rom and thjaps kernel, and take a backup before I flash anything now in case it screws it up.
Sent from my X10i using XDA App
Foloow the link in my signature and read up on how to update with link2sd...
If you still need help then PM me

[Q] SD ext Partition: What did I miss?

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.

[Q] Using sd-ext to keep apps

Hello,
I would like to be able to use the sd-ext partition as a way to store my apps and if possible the config file of them (like config of an app, game saves, ...).
So, I will be able to install a new rom and use directly all my apps which are still on the sd-ext.
And yes, I known that a backup program can do that but it's far to be as good as what I'm looking for.
Apps can be installed on sd-ext using A2SD Script.
If you want to install a new rom without deleting the installed app,then don't wipe (or factory reset).
But most of rom required wipe during installation.
Link2sd is very good app and I find it better than app2sd because it allows widgets to still be used, (Which i beleive cannot be done with app2sd?)
Free download from play store.
You need to partition your sd card though.
Follow this guide to do it, its very easy and gives all the instructions to work.
I have been following this since my x10 days and now onto my neo phone. I cant live without it.
@svprm: Make a wipe is not a problem as I can save my apps by connecting directly my sd-card to my computer. So if a wipe is really necessary: backup data from sd-ext, make a wipe threw CWM, restore sd-ext, install rom
@gregbradley: I already install Link2SD but it creates symbolic links into the /data folder so if you make a wipe of this folder, you lost those symbolic links. So Link2SD could be perfect if it was possible to save/restore those symbolic links!
I think it will work as you said
1.Install the rom as per insutruction.
2.Install the A2SD script.
3.Restore the sd-ext from pc if you wiped.
4.Boot it.
Try it.
Yes sorry, my fault, I thought that you spoke about Link2SD.
So yes, with A2SD it seems to be possible (which require A2SDGui), in this case all the /data/app is moved to the SD as I understand. This will also save the "config files" (like config of an app, game saves, ...) ?
Yes,Apps and Config can be saved on sd-ext by A2SD++
See this thread for more info:http://forum.xda-developers.com/showthread.php?t=1716124
Wow, that's a very interesting thread, I was looking after this for a while. Thanks!
But I'v one more question if I can, where are store the "config files"? Into the /data/data folder?
Because there is so many possibilities with those scripts, it's not so easy to choose. Saving "config files" + apps seems to be the better way as dalvik cache could be regenerated quickly.
Config files are saved on /data/data folder.
Ok, so I've the choice between A2SD++ and INT2EXT.
A2SD++ seems to moves some sub-folders from /data while INT2EXT mount the sd-card on /data. So with A2SD++ there is still some sub-folders on the internal memory.
Have you test both of these solutions, which one is the best for you and why? Sorry to ask so many questions, it's the last one promise.
I think it depends on your sdcard speed(class).
INT2EXT working well for me.
Yokav said:
@gregbradley: I already install Link2SD but it creates symbolic links into the /data folder so if you make a wipe of this folder, you lost those symbolic links. So Link2SD could be perfect if it was possible to save/restore those symbolic links!
Click to expand...
Click to collapse
Isnt that why we use titanium backup?
So when we do a wipe we can restore all apps+data from the backup (Stored on the SD card) and have link2sd automatically relink them.
That always works for me.....I think you are finding problems where thay dont exist.
Yes, it will works like this. But for me using a backup tool is not interesting. The goal of storing data to the sd-card is to don't have to make any backup.
So my choice gone for the CronMod script presented by svprm but thanks for your comment, it's always good to have different point of view.
I found another great application to use with the CronMod script: Apps2ROM (https://play.google.com/store/apps/details?id=com.lrenault.tools.apps2rom).
Because external sd-card could never be as fast as internal memory, it's interesting to keep the possibility to move easily an application to the internal memory. And at the same time, to avoid duplicate application after an update.
Yokav said:
Yes, it will works like this. But for me using a backup tool is not interesting. The goal of storing data to the sd-card is to don't have to make any backup.
So my choice gone for the CronMod script presented by svprm but thanks for your comment, it's always good to have different point of view.
Click to expand...
Click to collapse
True,
But if you change roms you should not use the data froma previous rom, so changing from stock to CM to MIUI etc needs you to use a backup and restore tha apps without data
svprm said:
I think it depends on your sdcard speed(class).
INT2EXT working well for me.
Click to expand...
Click to collapse
I just tried with INT2EXT and it's slow...too slow.
Maybe that you've OC your Neo and have a very fast sd-card. I've a class 10 sd-card of 32Go, which should not be so bad.

Categories

Resources