how to move apps to sd after rooting - Desire Q&A, Help & Troubleshooting

i have just rooted my htc desire and now i want to move all the apps that take up the space to sd card. i would realy appreciate any help. if there is step by step guide that would be really great. thnx

these are the best set of guides for what you need, start here. if none of it makes sense read it again slowly, then google anything which doesnt make sense
you'll likely need an sd partition, recommend backing up your sd card and then using gparted for this (do not use minitool, uninstall rom manager if you have it)
easiest way to use the partition would be to install a custom rom with built in script to move apps to the sd-ext partition.
when everything is set up, install and app like diskusage to check all your partitions are being used properly.

What worked for me was CM7, 1Gb partition of my SD card (Minitool Partition Wizard meant no loss of data from the card) and installing S2e. Finally got rid of the low space message on the Desire.

Related

Too many a2sd a2sd+ app2sd, really confused...

I'm really confused, first with all the different a2sd variants and ones that are made by Darktremor or other people or the FroYo version. This is as much as I know for this app.
Secondly, I really couldn't find any information on doing partitions manually or setting ALL partitions to ext since I have a linux box, I really don't care to use windows to copy over files or whatever. I have a VMware box to do that on my windows machine anyways.
Third, the ClockworkMod recovery has NO options to do the partition following Darktremor's faq, and I don't know if I should install another recovery after flashing my hboot to 0.93 S-OFF (Alpha)
Mind you I only had my android for about 6 days and this is my first one, so learning curve is hard.
Please help
1) the names can be confusing but old apps2sd is an ext partition on your SD card that appears to the system as internal storage. Froyo apps2sd is using Froyo to transfer mapps to the fat32 partition (normal partition) of your SD card. You just need to use context because people tend to use apps2sd for both.
2) you can use gepart to partition. You need a fat32 partition for apps to write to and for any personal data because Android looks to that partition for that kind of data. I have my SD card as 5 gb fat32 and 3 gb ext3. Fat32 goes first.
3) go to ROM manager. Partition SD card. Choose size....there is only 3 sizes though.
If anything I wrote is wrong I'm sure I'll be corrected.
Sorry to hijack the thread, but since this is related to a2sd in general I might as well ask it here. What's the effect of having a2sd+ on your battery? Would it lower battery life due to cache and apps being stored mainly on SD instead of internal memory? I observed that this was often the case when I store always-on apps on SD back on my old Windows device.
So no way of not using a fat32 eh?
It still seems I don't have much space left after using the Rom manager way. I have 120meg free on internal mem.
Could I just format using linux mkfs? I want to make the apps partition about 2GB to hold more apps. Though it seems some widgets can't take putting on SD card, it dissipates.
BriEE said:
So no way of not using a fat32 eh?
It still seems I don't have much space left after using the Rom manager way. I have 120meg free on internal mem.
Could I just format using linux mkfs? I want to make the apps partition about 2GB to hold more apps. Though it seems some widgets can't take putting on SD card, it dissipates.
Click to expand...
Click to collapse
Widgets must be installed on internal storage, or they wont work.
If you want an easy method to make a ext 3 partition use ROM manager premium from the Market. It will make you automatically an ext3 partition with a maximum of 512 mb which is enough (put swap to 0). Just keep in mind that first inside ROM Manager you need to select the option Flash ClockworkMod Recovery, and after that go to the SD partition option otherwise it wont work. And also remember you need to have the PREMIUM version otherwise it might not work
Now if you want to have more than a 512 mb you can use gparted. It is a livecd which means that can work on linux, mac or windows just reboot with the cd inside and is quite straightforward to use. Hope this helps.
Hello guys, any thought about that issue maybe?
http://forum.xda-developers.com/showthread.php?t=816098

[Q] After I partition my SD card...

Hi,
Spent hours trying to find answers. Most questions about partitioning in this forum have 0 replies so i'll take a shot at it...
There are what seems to be many (outdated) tutorials for partitioning the SD card.
I went ahead and used ROM Manager to do mine. added 512 ext partition.
After that, I checked my phone and it still says I only have 60MB of free storage.
So after I partitioned, is there a required step I missed in order for my phone to recognize the space?
Also, before partitioning my drive of course i backed up everything, nand backup and SD backup. The SD backup took a whole 2 minutes. Now after the partition my computer says it's going to take 85 minutes to put the same exact data that only took 2 minutes to transfer, to my SD card. Is there a reason for that?
any help greatly appreciated.
The phone won't 'see' the EXT partition as such, the ROM will automatically install apps to it assuming you're using a custom ROM with A2SD enabled. The phone will still store app cache to the internal memory so things will go down gradually but nowhere near as fast as before
It's always best to partition a card and then install a fresh ROM
gparted is better for creating partition... (linux swap etc) i was left with 60mb internal after... if you need more space install data2sd
also with apps2sd + dont move things to your SD - as in settings - apps - move to SD... no point thats done auto by the apps2sd script
Thanks for helping. I went ahead and took the advice to do a fresh install and I am trying out leedroid a2sd version. Works great.

[Q] Is there a noob guide to data2ext

Hi,
currently running InSertcoin 2.0 using apps2sd but I see lots complementing data2ext.
I read lots about it but I can't fathom it out, lots of recommends but no guides on how to do it.
I have an 8Gb Class 6 card
When I try to do it I keep getting boot loops and hangs, market not working etc.
Does anyone have a proper nooby guide to partitioning the SD Card?
Many thanks for any replies. My searches seem to round in circles.
the simplistic way is to use mini tool partition wizard
http://www.partitionwizard.com/free-partition-manager.html
back up anything you want to save on your sd card to your computer, backup apps with titanium backup and move the files to your computer..
you might want to download and use the insertcoin 2.0.1 as it has an updated data2sd script
boot in to recovery on your phone and mount the sd card.
connect phone to computer using your usb cable
open mini tool partition wizard
delete all existing partitions, this completely wipes your card, thats why backups moved to your computer are needed.
then click create
then make your fat32 partition say 6gb choose primary in the first drop down menu, use up all the space but leave 1.4gb free
then click create again
make an ext3 partition of 1gb make primary
then make an ext3 partition of 100mb make primary
then make a linux swap partition of 100mb
then click apply and let it make your partitions
thats it, move your rom on to your sd card
unmount your sd card
and flash the rom
^^ Now THAT!! Is exactly what I was looking for.
All partitioned and Insertcoin 2.0.1 installed, just syncing now.
Many thanks, appreciate your time.
chr15gb said:
^^ Now THAT!! Is exactly what I was looking for.
All partitioned and Insertcoin 2.0.1 installed, just syncing now.
Many thanks, appreciate your time.
Click to expand...
Click to collapse
Thanks SnakeyEyes, I've added this to the InsertCopinWiki: hope you're OK with that.

[Q] Internal Memory Full after Reboot; All Apps on SD

My HTC Desire was restarted due to low battery long after I restored some backups (app + data) with Titanium Backup. When I booted back into Android, it showed 1MB of free internal space! So thought it might be the 4 downloads I had, so I deleted all of them and Android then said it had 61MB of free internal space.
Then I rebooted but now I only have 216KB free space!!
This is the second time it's happened and I've tried everything including SD Maid and every single app is linked to the SD card's 2nd partition. This didn't happen when Installing apps from the Play store or from Easy Installer; and Avast finds no problems.
It keeps saying "Unfortunately Google Play Store has stopped" etc. and the phone is very slow including booting.
I'm not willing to re-flash everything again and manually install each app, especially as the first time re-flashing, Clockwork Recovery said it couldn't mount the SD card, then after formatting, Windows 7 wouldn't recognize it, then neither would (after formatting using gparted)!
I'm only using Link2SD on ICS for HTC Desire 0.4.4.4.1, default HBoot, Clockworkmod Recovery Touch 5.8.0.2, aGPS and default homescreen with no scripts.
This is extremely irritating, can anyone help please?
Using any scripts like A2SD?
Cool story bro. Please post more relevant information so peeps here can help you out. How about letting us know your hboot information, rom you are currently using, scripts etc. ;-)
I'm only using Link2SD on ICS for HTC Desire 0.4.4.4.1, default HBoot, Clockworkmod Recovery Touch 5.8.0.2, aGPS and default homescreen with no scripts.
DarkIceGB said:
I'm only using Link2SD on ICS for HTC Desire 0.4.4.4.1, default HBoot, Clockworkmod Recovery Touch 5.8.0.2, aGPS and default homescreen with no scripts.
Click to expand...
Click to collapse
try stock a2sd then enable it with terminal
Code:
su
a2sd install
y
y
y
Edit: also DL 5.1, i found 4.4.4.1 SUPER buggy.
Thanks for the help, I've tried the above and it's been booting for 10 minutes now, should I wait for it to finish or is it stuck?
Edit: After 30 minutes of booting, I took the battery out. It now won't go past booting (the animated 'X screen') and it takes ages to get past the 'HTC' screen to the boot screen.
Edit 2: I booted into recovery and cleared all caches and fixed permissions and after booting it doesn't say the memory is full! Thanks for your help!
What else did it move and is the data on the first partition of the SD card or the second and can I remove the SD card safely? Any idea how the internal memory was filled and why there were issues with the SD card or if they might appear again? It's a new Samsung Extreme Speed Class 10 16GB Micro SDHC card.
I can't move apps from the SD card to the SD card's second partition or to the internal memory. It says, "pkg: /mnt/asec/appnamehere/pkg.apk Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]".
The internal memory is empty, the SD card has 8GB of free space and the 2nd partition has 1GB free out of 2GB.
Just upgraded to 5.1 and it's the same as above. Any ideas?
Anyone have any idea?
What A2SD-option did you pick in Aroma Installer? I cannot see any Link2SD option there.
Sorry I meant I chose the built-in a2sd but I used this app called Link2SD as I have a second partition on my sd card for apps.
DarkIceGB said:
Sorry I meant I chose the built-in a2sd but I used this app called Link2SD as I have a second partition on my sd card for apps.
Click to expand...
Click to collapse
How have you partitioned your SD? Primary and secondary FAT32 or primary FAT32 and secondary EXT? I've never used Link2SD 'cause i prefer the script way, but i think it works the same way.
If you are using EXT for secondary, i recommend you the 4ext recovery, if you are S-OFF you can install it directly from the phone using the Updater form 4ext.net.
Then I suggest you to do:
A nandroid backup
A backup of your SD data
Repartition you SD using 4ext
Check partition allignment with 4ext
Do a full wipe
Restore your SD's backup
Restore your nandroid backup
Re-install 0.5.1 and select built-in a2sd
In rom use terminal like bortak stated, but say NO to moving appdata (slowed down my phone a lot)
Uninstall Link2SD
This will give you a standard installation for a2sd.
If I were in you, i would format everything (except SD card first partition) and start from scratch with the built-in a2sd method without Link2SD; you'll have to reinstall everything and lose every data (backup with TB if you can), but you are sure to run a rock solid method to "enlarge you space"
If you are on double FAT32... well, i cannot help you there
Bortak, correct me if i ever say stupids things i want to help out and you surely are a master in troubleshooting and point to my errors
I'm actually running BCM 3.0U0 + 3.0U1 update with m2sd (with apps and dalvik on ext), 100% V6 supercharged and ScrollingCache patched... i have to say, in my opinion, it finally surpassed Sandvold ICS!
Thanks a lot for the help, I've followed the steps and everything's working now!
I used 4ext recovery, which appears to be a lot better than clockworkmod, with more useful options. 4etx said that the partitions weren't aligned (which I previously set in clockworkmod) so I wiped everything and made fresh partitions which were perfectly aligned. I'm using 0.5.2 now with a full format.
I had/have fat32 then ext4.
I've noticed that most apps don't appear to be on the SD card though. Any advice?

[Q] Using Link2sd correctly

Hey People,
As the title shows I have some questions about using Link2sd correctly.
First off my phone is rooted and is using a standard VM rom with most of the bloatware already removed and apps2sd built into the rom.
I am only using a 4 gig SD card that has 2 partitions.
In Link2sd SD(/mnt/sdcard) card shows total .97GB and SD Card 2nd Part (/data/sdext2) has total 2.84GB.
I think I have them backwards, should /mnt/sdcard be the larger partition since that is the one I have access to?
And what is the difference between Linking something to the SD card and just moving it to the SD card?
From what I have gathered when something is Linked to the SD card it gets moved to the /data/sdext2.
And if you just move it to the SD card it gets moved to the /mnt/sdcard partition.
When would you choose one over the other?
Thanks
Quick study Links2SD can move any app; A2SD can only move apps written to be moved to SD [/sdcard]. I prefer to use the ext2 or ext3 [/sdext] as much as possible for apps as its a native file system [android is a linux branch after all]. The fat32 can cause longer delays at boot time imo. I believe your partition sizes to be a good choice though. Your fat32 will fill up with nandroids, downloaded roms and mods, music, documents and such before you know it
Hope that helps.
Rob
Sent from my HTC_A510c using Tapatalk 2
I think your ext partition is to big for a 4gb sdcard, you may want to reduce it to 1gb or 2gb if you have plenty of apps. Let me tell you more about this link2sd, app2sd and data2sd so that you will understand better and be able to decide which is suitable for your phone.
As mentioned above, link2sd moves apps to your ext2/ext3/ext4 partition. But not only apps or the apk's, it also moves the dalvik, cache, and library files supporting the apps. The advantage of link2sd is the freedom to choose which of those you want to move. You can easily check or uncheck this options during the linking process.
Native app2sd moves apps to the fat32 partition (/sdcard). And it only moves the apk, leaving cache, dalvik and library files in the internal memory. If you have several applications moved in this manner, a certain portion of your internal memory is still being consumed.
There's also Data2Sd, it creates a link of the entire /data folder and moves everything to the ext partition. Logically speaking, your ext partition becomes your /data partition. The original data partition now becomes a useless space. The advantage of this is the size of your internal memory, which is only limited to the size of your ext partition. But there's also a disadvantage, to use app2sd you need a fast sdcard (category 6 and above is recommended) because everything is now residing on the sdcard which is normally slower than the built-in memory and may result to lagging on some applications.
I have a new SD cart I have partition it like the 1i use know
How do I copy all of my staff from one card to another? So that link 2sd will work with no problem?
Sent from my HTC Wildfire S A510e using Tapatalk 2
anhelogr said:
I have a new SD cart I have partition it like the 1i use know
How do I copy all of my staff from one card to another? So that link 2sd will work with no problem?
Sent from my HTC Wildfire S A510e using Tapatalk 2
Click to expand...
Click to collapse
I you mean the apps linked into your old sdcard, then do this:
1. Backup all your apps using titanium backup. The backup will be stored in your /sdcard under "TitaniumBackup" folder.
2. Use a card reader to copy that folder to your new sdcard.
3. Insert your new sdcard to your phone, then download and reinstall titanium backup.
It will automatically scan for backup up files in your sdcard and will allow you to restore all your apps.
Ok thanks s I will try this
Send from my Wildfire S Rom : Wildchild Lite v1. 1
Why is link2sd not finding my ext 2 particion ?
Is this because I used cwr to particion my SD card ?
I have made a 2gb ext2 with 512 swap I have linked a lot of apps to SD card but when I get the memory status I get the SD particion not detected
What can I do? The think is that the phone works fine
Send from my Wildfire S Rom : Wildchild Lite v1. 1
2GB is probably more that you'll ever need. I've always used 1GB and it has not yet run out.
Could you clarify what you mean when you say that you have linked a lot of apps but the SD partition is not detected?
Does Link2SD say that the apps are on the sdcard or the apps are LINKED to SD?
AceRoom said:
2GB is probably more that you'll ever need. I've always used 1GB and it has not yet run out.
Could you clarify what you mean when you say that you have linked a lot of apps but the SD partition is not detected?
Does Link2SD say that the apps are on the sdcard or the apps are LINKED to SD?
Click to expand...
Click to collapse
Well the problem is this when I open the link2sd a windows pops up and tells me to choose
Ext2 ext 3 ext 4 fat 32 if I choose ext 2 it say that it can't found the ext2 and I have to do a restart then it finds the ext2 and tells me to restart again if I do not turn the phone off there is no problem but if I turn the phone off at night I have to do this again:banghead: in order for the link2sd to find the ext2 partition if I go to link2sd settings storage use the 2end partition is not available only if I do 2 restarts
Sent from my HTC Wildfire S A510e using Tapatalk 2
Did you ever use data2sd or s2e or anything else which uses the sd-ext partition? It sounds like there might be a conflict between different startup scripts.
Could you open a root explorer (Or terminal or adb) and find the init.d folder.
On my CM9, the folder is at /system/system/etc/init.d
Post here a list of all the files inside that folder.
AceRoom said:
Did you ever use data2sd or s2e or anything else which uses the sd-ext partition? It sounds like there might be a conflict between different startup scripts.
Could you open a root explorer (Or terminal or adb) and find the init.d folder.
On my CM9, the folder is at /system/system/etc/init.d
Post here a list of all the files inside that folder.
Click to expand...
Click to collapse
No I haven't use anythink
I have a new rom Installed with link2sd ready for use
I have a lot of free space the rom is what I wanted the only promplem is this :banghead:
The solution is never turn off my phone (I think this is no good for any phone )
Send using Htc Wildfire S
Rom Wildchild v1.1
anhelogr said:
No I haven't use anythink
I have a new rom Installed with link2sd ready for use
I have a lot of free space the rom is what I wanted the only promplem is this :banghead:
The solution is never turn off my phone (I think this is no good for any phone )
Send using Htc Wildfire S
Rom Wildchild v1.1
Click to expand...
Click to collapse
I've got confirmation that the Link2SD/a2sd in this ROM are working just fine. Many users have reported that; and a few users have even told me that Data2SD also works just fine (I dunno... I only use Link2SD) with the only point being that you can't delete/uninstall any of the app2sd scripts that come bundled with the ROM. If you must use Data2SD (why??) then simply install it and you're off and running. Other than that, Link2SD should work just fine (it does for me and, literally, hundreds others).
I suspect this has to do with what/how you restored from Titanium Backup... or the fact that you partitioned with CWM. No offense, but CWM's strength is in backup/recovery, not partitioning (or even partitioning WIPING, if you read a few key posts on this forum).
I suggest you format with MiniTool Partition Wizard (lots of good tutorials on XDA). I'm using ext2fs myself and it works just fine (of course, ext4fs also works... I've tried it myself).
Good luck,
Tigger31337 said:
I've got confirmation that the Link2SD/a2sd in this ROM are working just fine. Many users have reported that; and a few users have even told me that Data2SD also works just fine (I dunno... I only use Link2SD) with the only point being that you can't delete/uninstall any of the app2sd scripts that come bundled with the ROM. If you must use Data2SD (why??) then simply install it and you're off and running. Other than that, Link2SD should work just fine (it does for me and, literally, hundreds others).
I suspect this has to do with what/how you restored from Titanium Backup... or the fact that you partitioned with CWM. No offense, but CWM's strength is in backup/recovery, not partitioning (or even partitioning WIPING, if you read a few key posts on this forum).
I suggest you format with MiniTool Partition Wizard (lots of good tutorials on XDA). I'm using ext2fs myself and it works just fine (of course, ext4fs also works... I've tried it myself).
Good luck,
Click to expand...
Click to collapse
I though the same that the problem is the partition method I use I will try the mini tool
Send using Htc Wildfire S
Rom Wildchild v1.1
I found the problem I was selecting ext2 for link2sd but when I use mini tool it said ext3 so I load up again the card start link2sd ext3 reboot and vouala all ok know I really enjoy my phone
Send from my HTC Wildfire S
ROM. Wildchild. v2. 0

Categories

Resources