Hi, I recently partitioned my SD card and moved all my apps to it.
Now I want to flash a new rom, but when I boot the new rom and use link2sd, my apps aren't there.
They are on the SD EXT partition and link2sd shows their MBs.
How can I restore my SDEXT to my new rom without wiping SDEXT and restoring and relinking from TiBu?
Thanks.
xNotta said:
Hi, I recently partitioned my SD card and moved all my apps to it.
Now I want to flash a new rom, but when I boot the new rom and use link2sd, my apps aren't there.
They are on the SD EXT partition and link2sd shows their MBs.
How can I restore my SDEXT to my new rom without wiping SDEXT and restoring and relinking from TiBu?
Thanks.
Click to expand...
Click to collapse
Make sure the Rom you have installed has app2sd installed and you have the right ext for your Rom version
new rom must support a2sd. if it does but isnt pre installed you may have to flash dt's a3sd when you load the rom... then after you flash the new rom open terminal emulator and type: su(enter) a2sd reinstall(enter) you will see a2sd do its thing and then your phone will reboot. you will need to also use tibackup and do a batch restore of your apps and data. This is how i do it. You may also want to download from the market, apps2sd gui. its really not that hard or time consuming.
when you partitioned did you upgrade your sdext2 partition to sdext3?
dbenney said:
new rom must support a2sd. if it does but isnt pre installed you may have to flash dt's a3sd when you load the rom... then after you flash the new rom open terminal emulator and type: su(enter) a2sd reinstall(enter) you will see a2sd do its thing and then your phone will reboot. you will need to also use tibackup and do a batch restore of your apps and data. This is how i do it. You may also want to download from the market, apps2sd gui. its really not that hard or time consuming.
when you partitioned did you upgrade your sdext2 partition to sdext3?
Click to expand...
Click to collapse
Thank you for explaining that one further it is hard to type a lot on this little keyboard with fat fingers
dbenney said:
new rom must support a2sd. if it does but isnt pre installed you may have to flash dt's a3sd when you load the rom... then after you flash the new rom open terminal emulator and type: su(enter) a2sd reinstall(enter) you will see a2sd do its thing and then your phone will reboot. you will need to also use tibackup and do a batch restore of your apps and data. This is how i do it. You may also want to download from the market, apps2sd gui. its really not that hard or time consuming.
when you partitioned did you upgrade your sdext2 partition to sdext3?
Click to expand...
Click to collapse
Thanks for the reply.
My partition is Ext2, I have not upgraded it.
I have been using the app Link2sd ( http://anonym.to/?https://market.android.com/details?id=com.buak.Link2SD )
Any idea on how to restore with that?
sorry bro. no clue. i recommend darktremors a2sd. most roms support it and have it preinstalled just incase here is the link to it.
http://forum.xda-developers.com/showthread.php?t=715938
Related
Hey I recently changed from an insertcoin a2sd rom where I had over 100mb worth of system space after moving most apps to SD. I've now moved the Cyanogenmod 7 which lets you move all apps to SD but I only have 55mb of space?
Is there any way to increase this space?
Sent from my HTC Desire using XDA App
You did already flash a2sd script, didn't you:
http://forum.xda-developers.com/showpost.php?p=10675412&postcount=2
If yes, go s-off and flash cm7 hboot:
http://alpharev.nl
Nice guide how to this;
http://forum.xda-developers.com/showthread.php?t=1016084 (STEP FOUR)
No warranty for any damage.
MatDroid, thanks. This also helps me.
I didn't realise you needed to flash a2sd in addition to the CyanogenMod 7 or CM7, which I am using. I switched from Leedroid, and it looks great.
I am getting low disk space warnings.
So, can I flash the Google or CyanogenMod A2SD they are talking about here AFTER I've been using the new Rom for a couple of days?
Second question, will this automatically manage my apps from internal to external storage for me?
Thanks!
Why not use something like Rom Manager to partition your sd card and s2e?
After flashing darktremor's A2SD script, I recommend to download a2sdGUI from market. With this program you are able to move apps and dalvik-cache to EXT partition. After a successfull reboot all apps you installed and the dalvik-cache are moved to EXT and all new apps will be automatically moved there.
To make sure everything worked (after the named reboot), you should download a terminal emulator from Market and enter these commands:
Code:
su
ls -l /data
Post the output here.
Great information!
Can I flash Darktremor's script after I've been using the CyanogenMod? Or do I need to reflash the ROM and start over from the beginning?
Where's a good place to go for Darktremor's script?
Thanks
Should work even you used the rom for a while. But make a nandroid backup, just in case. Check cyanogenmod-thread here on xda.
here is the link for the script http://forum.xda-developers.com/showthread.php?t=719151
yh you have to start from the beginning. wipe everything, than flash the rom and flash the script straight after
Cyanogenmod like to use thisapp2sd [Script/APK] S2E (simple2ext): app2sd for CyanogenMod7
As far as I know, after flashing the script (which I can highly recommend) the OP can follow my guide without wiping anything. Nevertheless, backups (Titanium Backup + Nandroid) should be created before doing anything!!
Thanks MatDroid, this helped a lot.
I flashed synergy rsl1
I have a 16 gig card partitioned per directions in thread.
I installed dta2sd and after reboot all my apps were GONE.
Where did they go?
If they are on the ext3 partition how do I look and see?
How do I get them back?
Go to terminal and type
su
a2sd reinstall
It should reset itself.
After that wipe cache & dalvik
Sent from my PC36100 using Tapatalk
i think that when you partition your sd card it erases everything. did you make a backup of the sd?
ak074 said:
i think that when you partition your sd card it erases everything. did you make a backup of the sd?
Click to expand...
Click to collapse
I made the partition prior to installing dta2sd.
It was only after dta2sd that all my apps are missing which i think they transfered but not being reconized.
bcarter2000 said:
Go to terminal and type
su
a2sd reinstall
It should reset itself.
After that wipe cache & dalvik
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Isnt there a FAQ or walk through somewhere to get people running Synergy RLS1 + Ext3 on their SD? If not, there needs to be one. Wiping and Flashing the ROM is easy but I can see where people get confused creating the partition then installing a2sd, etc. A good Synergy + Ext3 setup in step by step walk through would prevent a lot of these threads.
This one is pretty good when it comes to the basics of formatting/partitioning before a Synergy install.
[GUIDE][07/07/11]How to Partition your SD Card
Another
TalkAndroid Guide: Partitioning your Evo’s SD Card to Take Advantage of GingerSense ROMs
Alpine- said:
Isnt there a FAQ or walk through somewhere to get people running Synergy RLS1 + Ext3 on their SD? If not, there needs to be one. Wiping and Flashing the ROM is easy but I can see where people get confused creating the partition then installing a2sd, etc. (more accurately, just the order in which it should be done). A new user may not even know what "terminal" refers to. A good Synergy + Ext3 step by step walk through would prevent a lot of these threads. It's been discussed a ton in the Synergy thread but its so huge and bloated its hard to get anything useful out of it.
Click to expand...
Click to collapse
Totally agreed!!!
Its way to confusing.
I think my partition may be messed up... Is there a way to start over from scratch? I can't even see the partition is there. I was going to remove the partition thru a windows program partition manager but it doesn't show up. Just shows up as a 14.8 card. In windows explorer it shows up as 11 gig card I know its not going to add the partition to it but... still it should have showed up in the partition manager.
Back to a2sd
I tried reinstall and repair and it won't work. I also think somehow i d/l and older version.
I tried some other commmands and i got an error that it couldn't find the correct directory or some verbage i can't remember.
a2sd repair ..... got me EXT partition not mounted
a2sd reinstall..... got me ext sd not mounted
Any suggestions on what i should do?
Windows isn't going to help you in seeing the EXT partition (since Windows doesn't natively support any Linux partitions). You'll need a Linux machine or you can try to adb into your recovery.
If you do ADB into recovery, first thing you should look for is a program called parted in /sbin. If it's there, you can use that to remove and install a new EXT partition (sorry, I don't remember the exact commands off hand).
Darktremor may not be mounting it as it may not actually see the correct block device. It really depends on the version you are using.
To find the version, type a2sd help
pholt1 said:
Totally agreed!!!
Its way to confusing.
I think my partition may be messed up... Is there a way to start over from scratch? I can't even see the partition is there. I was going to remove the partition thru a windows program partition manager but it doesn't show up. Just shows up as a 14.8 card. In windows explorer it shows up as 11 gig card I know its not going to add the partition to it but... still it should have showed up in the partition manager.
Back to a2sd
I tried reinstall and repair and it won't work. I also think somehow i d/l and older version.
I tried some other commmands and i got an error that it couldn't find the correct directory or some verbage i can't remember.
a2sd repair ..... got me EXT partition not mounted
a2sd reinstall..... got me ext sd not mounted
Any suggestions on what i should do?
Click to expand...
Click to collapse
This might help...
[MOD] DarkTremor (DT) a2sd on Synergy and Kingdom ROMs:
http://forum.xda-developers.com/showthread.php?t=1126626
The Synergy rom has the CM a2sd script built-in so if you create an ext3 partition PRIOR TO flashing the Synergy rom, your 3rd party apps will automatically be stored on the ext3 partition upon installation. There is a specific version of DTA2SD for Synergy that can be found in the Synergy Updater app that comes preinstalled when you flash Synergy. The 'primary' reason for its use is to move the dalvik from the SD card back to internal storage and eliminate lag that may be bothersome to some people. I hope this clears up any lingering confusion. As for what happened to the apps, I can only 'assume' that the OP flashed a version of DTA2SD not specific to Synergy.
from my EVO 4G
dougjamal said:
The Synergy rom has the CM a2sd script built-in so if you create an ext3 partition PRIOR TO flashing the Synergy rom, your 3rd party apps will automatically be stored on the ext3 partition upon installation. There is a specific version of DTA2SD for Synergy that can be found in the Synergy Updater app that comes preinstalled when you flash Synergy. The 'primary' reason for its use is to move the dalvik from the SD card back to internal storage and eliminate lag that may be bothersome to some people. I hope this clears up any lingering confusion. As for what happened to the apps, I can only 'assume' that the OP flashed a version of DTA2SD not specific to Synergy.
from my EVO 4G
Click to expand...
Click to collapse
Is that Synergy-specific version of DTA2SD *only* available through the Synergy Updater? I ask because I have not set-up the Synergy Updater yet (requires server addresses, etc.).
Thanks!
OK, so I figured out how to get the Synergy version through the updater.
Flashed it successfully.
Seems as though just flashing it, I lost about 130MB of internal storage. Does that sound right? I went from close to 300MB, down to about 170MB. Is the Dalvik cache that big?
I am using Cyanogenmod 7 and App2SD (as explained here). I want to move EVERYTHING to the SD card (including data) and use ext4. How should I partition the card (using Gparted) to have it working properly?
I tried doing it with Clockworkmod but it is very limited (only 1 partition+swap?) and does not ask me if it should be ext4.
yah its better if u use gparted live cd..cwm create by default an ext3
but be aware that any cwm recovery below 5.x will format ur ext partition in ext3 as soon u do a wipe or a restore on it! to use an ext4 u should use cwm 5.x and up (or alternative amon_ra 2.0.1)
My question was: How should partitions look on the card. What types, sizes and for what purpose. For 4gb and 8gb card. I checked the default partitioning done by CWM and it was 1.8gb fat + 1.8gb ext3 + swap. Why the division? Why fat? Can I do it differently, like 10mb fat + 3.8gb ext4?
Dont make your EXT partition over 2GB
All the data moved from the phone to SD card though app2SD - would they be kept on ext or fat partition? Is the FAT partition the one visible on the computer if the phone is connected as a USB storage?
impactor said:
All the data moved from the phone to SD card though app2SD - would they be kept on ext or fat partition? Is the FAT partition the one visible on the computer if the phone is connected as a USB storage?
Click to expand...
Click to collapse
You need to be clear on your definitions before we can answer that.
Do you mean:
1)apps2sd = /manage applications/<application name>/Move to sd?
2)apps2sd = App on teh market that uses the mechanism in 1) to move in bulk?
3)apps2sd = a2sd/+ script that moves apps to ext partiton?
Yes, FAT is the main data storage partition
I have installed app2sd and then done
Cache2SD
adb shell
/sd-ext/userinit.d/10cache2sdext-binds enable
Data2SD
adb shell
/sd-ext/userinit.d/11data2sdext-binds enable
Now, after reset there is not a single installed application, not even gmail. Even those installed on system partition before (not moved to SD card) are gone and I can't even access Market to reinstall them.
Is this normal? What can I do now?
gmail is not installed with cm, and if u not find it on the market mean is not available in ur country
this is not related to app2sd things..ur orignal problem was the space..with the app2sd u should have solved it now..reinstall all ur apps (leave ur apps on the internal memory, they will automatically moved on the ext) and u shouln't get anymore low space messages
How can I reinstall them if I don't even have Market anymore?
impactor said:
How can I reinstall them if I don't even have Market anymore?
Click to expand...
Click to collapse
maybe u didn't read cm instructions ya?
after flash cm, u have to flash in recovery the gapps package here
this contains the market
I didn't reflash CM. I only installed App2SD
impactor said:
I didn't reflash CM. I only installed App2SD
Click to expand...
Click to collapse
before u said "after reset"..what means?
I mean "after reboot".
I just tried installing gapps for CM but evne though the installation looked successful, after reboot I still cannot see any new apps, including the market.
I also cannot install any nightly build over current RM 7.1 as I am getting an ERROR during installation attempt.
After few tries, I managed to install newest nightly build (7.1 RC won't install at all as it says the zip is BAD even though md5 is correct).
Anyway, I installed google apps afterwards, but I only got google talk in the app menu. Still no Market...
If I do not have a partition for A2SD installed, and I run an a2sd script to enable it on a ROM, and move an app to the SD, does it still get fully moved to the SD? And can someone shed a little more light on this situation, with no partition space, but moving apps 2 sd/
Also, if I move an app to an sd, but do not wipe the sd:ext partition or sd card, but wipe all data partitions, will the app + its data be there if i flash a new rom?
i never wipe sd ext and all my apps are there for recovery once my new rom is up and running. As far as A2SD, i think you have to be partitioned for it to work. And the partition sdext2 must be upgraded to ext3. here is a walkthrough on how to partition your sd card... very easy this is how i did it.
http://forum.xda-developers.com/showthread.php?t=1158993&highlight=partition+sd+card
Also if you are not using aomn_ra recovery id suggest using that instead of clockwork. some roms or kernels recommend flashing only with amon_ra
Here's the Amon-RA recovery which you can still flash CWM recoveries if you choose to http://www.mediafire.com/?6eo9jo7fdazp2 you may also want to read the thread on partitioning your SD card mentioned above
dbenney said:
i never wipe sd ext and all my apps are there for recovery once my new rom is up and running. As far as A2SD, i think you have to be partitioned for it to work. And the partition sdext2 must be upgraded to ext3. here is a walkthrough on how to partition your sd card... very easy this is how i did it.
http://forum.xda-developers.com/showthread.php?t=1158993&highlight=partition+sd+card
Also if you are not using aomn_ra recovery id suggest using that instead of clockwork. some roms or kernels recommend flashing only with amon_ra
Click to expand...
Click to collapse
Some say ext 3 deteriorates the life of your sd card because it's constantly writing. I use ext 2 and it works perfectly.
Aside from that you must have a ROM and kernel that supports a2sd as well as swap if you choose to use it. Simply flashing the a2sd script won't work if neither conditions are met
Sent from my PC36100 using xda premium
Naturesretard said:
Aside from that you must have a ROM and kernel that supports a2sd as well as swap if you choose to use it. Simply flashing the a2sd script won't work if neither conditions are met
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
OOPS forgot to mention that part. Aren't most non stock roms set up for a2sd? I haven't run into one yet that wasnt. I was under the impression that it had to be upgraded to ext3.
Ok so if I move my SMS app to ext-2 or ext-3, then if I wipe it all but that, and flash a new rom, they should be there on the new rom?
It does not have to be ext 3 to use a2sd. And some roms don't support it or they just don't have it installed
It would still be there, but the symlink won't I believe
Sent from my PC36100 using xda premium
symlink? What is that?
When you move apps to the partition, which is automatic, it creates a symlink in the drawer telling the down where the app is
Sent from my PC36100 using xda premium
And how does that have to do with its data?
Basically DT a2sd just sets up sym links from the normal place the apps folder would be to a location on your ext2/3 partition on your SD card. From the perspective of Android it just thinks the folder is in the normal location it is supposed to be then (even though under the covers the underlying Linux OS is actually reading/writing the SD card). This applies to both the apps plus there data if they store it in the normal location (some apps write their data to the normal part of the SD card in which case the data would still go there).
So, if you switch ROMs and that ROM has A2SD support, it should detect the SD-Ext partition and re-setup this sym link for you when you install the ROM and you will then have all your apps back (plus any uninstallable apps the ROM includes should go there). If your ROM doesn't support A2SD out of the box, as long as the kernel supports ext2/3 (whichever you formatted your SD card with) you should be able to flash DT a2sd after you flash the ROM and then run the a2sd script as root to set up the link to put the apps on the SD-ext partition again (I think this will preserve the apps that are there, but honestly haven't done it myself so you should make a nandroid of the SD-ext partition before doing this if you want to make sure you won't have to re-install your apps).
Hope this helps some.
Doesn't matter what custom ROM I use, after the installation they all work until I restart the phone again (I restart the phone after clean ROM installation to see if it will boot, and it never does). After flashing any ROM I flash CronMod INT2Ext4, I have 512MB sd-ext (8GB SD Card). Can anyone help me with this? I would be thankfull.
srtjko said:
Doesn't matter what custom ROM I use, after the installation they all work until I restart the phone again (I restart the phone after clean ROM installation to see if it will boot, and it never does). After flashing any ROM I flash CronMod INT2Ext4, I have 512MB sd-ext (8GB SD Card). Can anyone help me with this? I would be thankfull.
Click to expand...
Click to collapse
Why would you flash INT2EXT4 on any ROM that you flash? By the way, do you delete the already existing a2sd scripts from the ROM before flashing INT2EXT4?
dvsk69 said:
Why would you flash INT2EXT4 on any ROM that you flash? By the way, do you delete the already existing a2sd scripts from the ROM before flashing INT2EXT4?
Click to expand...
Click to collapse
I flash for more internal storage, I know there are other ways, I just didn't know how to do them. And I don't delete any a2sd scrips, looks like I do most things wrong...
srtjko said:
I flash for more internal storage, I know there are other ways, I just didn't know how to do them. And I don't delete any a2sd scrips, looks like I do most things wrong...
Click to expand...
Click to collapse
try flashing the rom without flashing INT2EXT4. Most roms have built in a2sd scripts, which allow you to move apps to an sd ext partition.
Also, how did you create the partition, best done with 4ext recovery or gparted.
512MB is also quite small, might want to consider 1-1.5GB.
As above, just flash Rom without another a2sd script as most have them built in or activate with terminal commands, check each thread. Which Rom are you using?
eddiehk6 said:
Also, how did you create the partition, best done with 4ext recovery or gparted.
512MB is also quite small, might want to consider 1-1.5GB.
As above, just flash Rom without another a2sd script as most have them built in or activate with terminal commands, check each thread. Which Rom are you using?
Click to expand...
Click to collapse
I created the partition with CWM Recovery, I'll look for the guide and make one with 4ext.
I want to use 1Gig but that INT2EXT4 guide said that I need 100mb internal storage per every 512mb sd-ext. (and I had like 150mb free intenal)
ROM I want to use is AOKP CM10. Don't know how to activate a2sd, and I don't need to know it if 4ext recovery will do it...
srtjko said:
I created the partition with CWM Recovery, I'll look for the guide and make one with 4ext.
I want to use 1Gig but that INT2EXT4 guide said that I need 100mb internal storage per every 512mb sd-ext. (and I had like 150mb free intenal)
ROM I want to use is AOKP CM10. Don't know how to activate a2sd, and I don't need to know it if 4ext recovery will do it...
Click to expand...
Click to collapse
making the partition using cwm may have been your problem. Use this guide to remake the partition. Im assuming you want to use VJ's CM10.1 ROM. If this is the case, there is no need to use INT2EXT4. Instead use the preinstalled a2sd script.
After flashing the rom, you can activate a2sd by doing the following:
Open terminal emulator provided in the rom.
Type the following commands
su
a2sd install
Y
N
Y
chromium96 said:
making the partition using cwm may have been your problem. Use this guide to remake the partition. Im assuming you want to use VJ's CM10.1 ROM. If this is the case, there is no need to use INT2EXT4. Instead use the preinstalled a2sd script.
After flashing the rom, you can activate a2sd by doing the following:
Open terminal emulator provided in the rom.
Type the following commands
su
a2sd install
Y
N
Y
Click to expand...
Click to collapse
Yes, that's the guide I'm looking into now, but the ROM I want to use is VJs AOKP ROM:
http://forum.xda-developers.com/showthread.php?t=1863780
It doesn't have a2sd I think...
srtjko said:
Yes, that's the guide I'm looking into now, but the ROM I want to use is VJs AOKP ROM:
http://forum.xda-developers.com/showthread.php?t=1863780
It doesn't have a2sd I think...
Click to expand...
Click to collapse
It does. And you activate it the same way, as how i said above.
chromium96 said:
It does. And you activate it the same way, as how i said above.
Click to expand...
Click to collapse
Ok, thank you, now just one more thing. I have to remove the previous sd-ext partition and I can't do that on PC cause disk managment doesn't recognize it, it shows 6.87GB free, I think it should be about 7.3GB cause its 8GB SD. Can EXT4 recovery do that or should I find some program on PC?
---------------
I figured it out.
srtjko said:
Ok, thank you, now just one more thing. I have to remove the previous sd-ext partition and I can't do that on PC cause disk managment doesn't recognize it, it shows 6.87GB free, I think it should be about 7.3GB cause its 8GB SD. Can EXT4 recovery do that or should I find some program on PC?
Click to expand...
Click to collapse
In 4ext, there is an option to "Remove all partitions and start from scratch". Im guessing that deletes/wipes your fat32 partition as well, so back your files up.
If you want to delete it without the fat32 being formated too, you can use gparted. But thats a bit time consuming and a hassle.