(android) install apps to main memory and sdcard? - Touch CDMA Android Development

I was curious to see if this was possible since android can now read our sdcards, like we can insert a new sdcard and it'll read it. Like wm gave us the option to install to main memory or sdcard. Is this possible? Or if I am running system and data on nand can I restart the phone and also install data to sdcard? Thanks in advance

android only lets you install apps to /data/app. if you want to be able to install apps to your sdcard for what ever reason you can create an ext2 partition on your sdcard and symlink /data/app to that partition. for me thats not very practical unless you have a huge amount of apps you want to install and they all won't fit on nand. you could try to symlink /data/app to a folder on the fat32 partition on your sdcard but i'm pretty sure there might be problems with that since android expects certain permissions/ownership for apks and fat/fat32 doesn't do nix permissions correctly.
so no android doesn't natively support installing apps to sd but you can hack around it.

Related

Jesus freak 1.5 apps to sd help?

i just installed jesus freak 1.5. i also purchased a 16gb micro sdhc card. I would like to know how to get apps to sd running correctly. I have followed another method and messed up the sd card. so i purchased a brand new one and before i even take it out of the package, i would like to talk to someone that has had sucesssful experience.
Thanx in Advance
A2SD in a Nutshell
the essence of apps2sd is:
1) creating a vfat/fat32 partition for storing user data
2) creating a second partition, ext2 to hold your apps and caches
3) creating directories within the ext2 partition on the SD to house your caches and apps
4) copying your apps and caches to the SD within the appropriate directories on the ext2 partition
5) rebooting within recovery console and deleting the original app and cache directories, AND
6) symbolically linking the ext2 apps/cache folders on the SD to the appropriate system partition folder names
7) rebooting to android and testing apps to determine which need to be reinstalled or reconfigured
your ext2 partition need not be very large relative to the volume of the SD; half a gig is normally adequate
pre-requisites:
you will need regular access to an OS that supports the ext2 filesystem, like linux. this is important because if your ext2 partition ever becomes damaged, the linux system has the tools to fix the ext2 filesystem errors.
you will need to know the commands for creating partitions on your SD
you should know how to use ADB to connect to your G1's shell, though this is optional
you need to know how to (re)boot to the recovery console and use its shell
you need to be familiar with the commands required to copy directories, create and delete directories, and create symbolic links
There are other Threads that have other programs and tutorials, but I used this one the other day on a JF 1.5 and it worked well.
http://forum.xda-developers.com/showthread.php?t=512743
Only issue I had was I had to move JF Updater back to Phone from SD , but that could have been a glitch when the phone checked for an update. The two apps used AppstoSD2 and a2sd pretty much do everything for you , very minimal command line required on your part.
Only thing to make it better would be an interface to either move the apps back to phone or integrate it so it would ask you when you install an app where to put it. But I am very happy with it. 16GB might be over kill , I have a 8 GB but they say not to go over 1.5 GB with the Ext2 partition, so while you will have 6.5 ( relative ) GB of space for Movies,Images, MP3's, Uninstalled apps, you are really limited to the 1.5GB for apps , well plus internal phone memory I guess. But for phone apps that's probably way more than enough.
question: how do you partition a 16gb sdcard? all the numbers and all that. ive done an 8 gb sd card and that was easy cause i was working with mb's. now with gb im lost. i got to parted and i typed up print and got 16.1gb if you could help me with the numbers for fat32,ext2/3,linux-swap. i would greatly appreciate it...
Personally, I would reccoment switching to a Cyanogen ROM. It's based off the same source as JF, but one of the features it has is automatic Apps2SD. This means you but have to push files here and there, whuch believe me can be a pain. It does still require an ext partition which you would have to format your self, but after that it will work without and modifications.
Do no more then 512 MB for your ext2(3,4) partition
Follow this guide for the card partitioning. Flash CM's rom and it will do apps2sd for you automatically.
Your other card is most likely not all lost and could be salvaged still, I would look into it if I was you, 16gb cards are not cheap.
And for the last time: it is Jeusus FREKE not Jesus Freak, Have some respect for the one who layed the foundation for us, at least enough to spell his name correctly.
AdrianK said:
Personally, I would reccoment switching to a Cyanogen ROM. It's based off the same source as JF, but one of the features it has is automatic Apps2SD. This means you but have to push files here and there, whuch believe me can be a pain. It does still require an ext partition which you would have to format your self, but after that it will work without and modifications.
Click to expand...
Click to collapse
I second that, and also jf won't be doing ROM any more :[
http://jf.andblogs.net/

A2SD questions help please

I a rooted running Fresh 2.0d. I am now interested in running A2SD, but have a few questions. In reading thru several posts I found the below steps if you are running Fresh.
Back up sd card
Boot into recovery
Choose partition SD Fat32,EXT2,Swap
Reboot phone
Reload files onto SD card
When it says reload onto sd card, what is meant here.
I backed up the card, ran the partition and moved the data back to the card. Now what do I do, how do you get all of the apps from the phone to now run on the card.
Also, is there a big benefit to this, is it really going to make a big difference?
Final question, I have a 16gb Kingston MicroSD. I have no idea what class of card this is, All I know is that it is 16gb. What type of card do I need for this to work properly?
reload to sd, just means copy all the files from the FAT partion pack to the drive. The FAT partion being the stuff you can see in windows....more than likely Pictures, "Lost", Rosie. Few other apps that put folders there too.
EDIT:
Let me reword this.
You copied all the files off your SD card. DCIM and stuff like that. More than likely to your Windows Desktop.
Plug your phone into USB, Mount as a Drive. Copy the files you copied off initially back to the SD Card drive. (it is probably smaller now than it was before so everything might not fit if it was full)
Edit 2:
Class 6 FTW - But I used to run on a Class 2 and it was fine.
Big Benefit = More Apps/On phone storage space - HOWEVER sometimes it is just a PITA to deal with. Especially if you switch roms alot.
Did you titanium backup or something similar to back up your apps? If not start downloading your apps again. The big benefit to apps2sd is you can download many more apps since your not limit to the internal storage space. Also on some roms you can upgrade without reinstalling your apps (if your lucky)
xxwckdxx said:
Did you titanium backup or something similar to back up your apps? If not start downloading your apps again. The big benefit to apps2sd is you can download many more apps since your not limit to the internal storage space. Also on some roms you can upgrade without reinstalling your apps (if your lucky)
Click to expand...
Click to collapse
Ok, so let me get this straight, A2SD is for market place apps that I have downloaded? I was under the impression that it was for system apps as well. I am a noob so just want to make sure my info is correct. I have mybackup pro which backups aps. Will I have to uninstall the apps and then reinstall on card? Could you please give me the proper steps on this?
jj4201998 said:
Ok, so let me get this straight, A2SD is for market place apps that I have downloaded? I was under the impression that it was for system apps as well. I am a noob so just want to make sure my info is correct. I have mybackup pro which backups aps. Will I have to uninstall the apps and then reinstall on card? Could you please give me the proper steps on this?
Click to expand...
Click to collapse
You won't have to Uninstall/Reinstall anything. As I recall the move is made automagically on boot up if it detects an EXT partition. And system programs like Rosie do not get moved to the sd card TMK.
Kcarpenter said:
You won't have to Uninstall/Reinstall anything. As I recall the move is made automagically on boot up if it detects an EXT partition. And system programs like Rosie do not get moved to the sd card TMK.
Click to expand...
Click to collapse
Before I do this, do I have to have a card with a certain speed, or does it not matter?
jj4201998 said:
Ok, so let me get this straight, A2SD is for market place apps that I have downloaded? I was under the impression that it was for system apps as well. I am a noob so just want to make sure my info is correct. I have mybackup pro which backups aps. Will I have to uninstall the apps and then reinstall on card? Could you please give me the proper steps on this?
Click to expand...
Click to collapse
To my understanding just the apps you download are installed on it, i could be wrong. As for the steps....
1. Backup your apps
2. Nandroid backup
3. Paritition
4. Install a2sd
5. Boot up
6. Restore apps
jj4201998 said:
Before I do this, do I have to have a card with a certain speed, or does it not matter?
Click to expand...
Click to collapse
Speed doesn't really matter a whole lot. If you have a 16gb card its likly a class 4+ card. I have never seen a class 2 16gig before at least. It would kind of defeat the purpose.
Class 6 is the standard for someone who would want to buy a new one, and they have a class 10 lurking around some sites. But you'll be fine on what you have. Again, I was on a class 2 for a while...racing thunder was the biggest issue, it was laggy from the SD card. haven't tried it with the new one.
Edit:
I stand corrected, it could be a class 2.
http://www.amazon.com/SanDisk-microSDHC-Memory-SDSDQ-016G-Packaging/dp/B001L1H0SC
jj4201998 said:
Ok, so let me get this straight, A2SD is for market place apps that I have downloaded? I was under the impression that it was for system apps as well. I am a noob so just want to make sure my info is correct. I have mybackup pro which backups aps. Will I have to uninstall the apps and then reinstall on card? Could you please give me the proper steps on this?
Click to expand...
Click to collapse
When you download apps from the marketplace (free or paid), Android will put it in one of two locations: /data/app or /data/app-private. Both of those locations are on the phone itself. The problem you run into is running out of free space on the internal storage space of the phone. A2SD, in its basic form, moves the data in /data/app and /data/app-private, to matching directories on your ext partition of your secure digital card. It also creates a symlink where /data/app and /data/app-private are located. These symlinks are nothing more than shortcuts to the directories on your SD card. Android still thinks it is storing apps in /data/app and /data/app-private, but it really is storing it on the SD card.
When the instructions say to backup the SD card, what it is talking about is the FAT32 part of the SD card. As someone said earlier, it is the part that Windows can actually see. You take all the data off of your SD card and put it on your computer. The reason you need to do this is that, when you add the ext2/ext3 and swap partition, you will repartition the entire SD card, which means you will lose your data on your FAT32 partition.
When you are restoring to SD, you are taking the contents you had previously on the Fat32 part of the SD card and putting it back onto the Far32 card.
As far as apps are concerned, the A2SD will automatically move them for you...but it is always a good idea to do a nandroid backup first to make sure that you have a way to restore an image in case something goes wrong.
tkirton said:
When you download apps from the marketplace (free or paid), Android will put it in one of two locations: /data/app or /data/app-private. Both of those locations are on the phone itself. The problem you run into is running out of free space on the internal storage space of the phone. A2SD, in its basic form, moves the data in /data/app and /data/app-private, to matching directories on your ext partition of your secure digital card. It also creates a symlink where /data/app and /data/app-private are located. These symlinks are nothing more than shortcuts to the directories on your SD card. Android still thinks it is storing apps in /data/app and /data/app-private, but it really is storing it on the SD card.
When the instructions say to backup the SD card, what it is talking about is the FAT32 part of the SD card. As someone said earlier, it is the part that Windows can actually see. You take all the data off of your SD card and put it on your computer. The reason you need to do this is that, when you add the ext2/ext3 and swap partition, you will repartition the entire SD card, which means you will lose your data on your FAT32 partition.
When you are restoring to SD, you are taking the contents you had previously on the Fat32 part of the SD card and putting it back onto the Far32 card.
As far as apps are concerned, the A2SD will automatically move them for you...but it is always a good idea to do a nandroid backup first to make sure that you have a way to restore an image in case something goes wrong.
Click to expand...
Click to collapse
I am running Fresh 2.0d. Someone mentioned to install A2SD, thought on Fresh it as already installed, am I missing somthing?
xxwckdxx said:
To my understanding just the apps you download are installed on it, i could be wrong. As for the steps....
1. Backup your apps
2. Nandroid backup
3. Paritition
4. Install a2sd
5. Boot up
6. Restore apps
Click to expand...
Click to collapse
I am on Fresh 2.0d I thought on this Rom it was already installed. I formatted the sd card as told. However, I don't think it is working. ON the Recovery menu there is a place that says transfer apps to sd & delvik. Am I supposed to use that?
jj4201998 said:
I am running Fresh 2.0d. Someone mentioned to install A2SD, thought on Fresh it as already installed, am I missing somthing?
Click to expand...
Click to collapse
No. You're not missing something. Fresh 2.0d has a Cyanogen version of A2SD. It's originally in the 1.5 Roms that are for the Hero.
Two other people, TrevE and myself, makes a variant of the original that is in Fresh 2.0d. TrevE works with ROM developers to put his in while I update mine in the distribution channels.
Whoever told you to install A2SD probably meant to go download the Darktremor A2SD 2.5 or 2.6.1 and flash it to your phone.
That part is optional, as Fresh 2.0d already has an A2SD installed.
jj4201998 said:
I am on Fresh 2.0d I thought on this Rom it was already installed. I formatted the sd card as told. However, I don't think it is working. ON the Recovery menu there is a place that says transfer apps to sd & delvik. Am I supposed to use that?
Click to expand...
Click to collapse
It does it automatically.
What makes you think it isn't working? Since you rooted, I presume you have ADB. If so, enter a console session on the phone by typing adb shell
Once you have done that, type the following:
cd /data/app
pwd
If pwd returns /data/app, it isn't working.
If pwd returns /system/sd/app, A2SD is working normally.
Do the same for app-private:
cd /data/app-private
pwd
If pwd returns /data/app-private, it isn't working
if pwd returns /system/sd/app, A2SD is working normally.
tkirton said:
No. You're not missing something. Fresh 2.0d has a Cyanogen version of A2SD. It's originally in the 1.5 Roms that are for the Hero.
Two other people, TrevE and myself, makes a variant of the original that is in Fresh 2.0d. TrevE works with ROM developers to put his in while I update mine in the distribution channels.
Whoever told you to install A2SD probably meant to go download the Darktremor A2SD 2.5 or 2.6.1 and flash it to your phone.
That part is optional, as Fresh 2.0d already has an A2SD installed.
Click to expand...
Click to collapse
I could not figure out how to get the version on Fresh d to work. I downloeaded the 2.5 version and it is working fine for me. This minor change has made all of the difference on the phone. I have asked on several posts how to speed up the hero and this truley made the difference. Thanks for the help.

Cripes, so confused about DarkTremor A2SD on CM7

I'm really surprised that there is no documentation on this thing that I can understand. I'm having major issues with CM7 with DT A2SD. Every one of my widgets is broken. I can't tell what's installed to EXT and what's not. If I go into Manage Applications, all of the widget apps are installed to phone. I have next to zero internal space left.
I need to know how I can differentiate what's on internal, what's on Froyo SD, and what's on DT A2SD - As well as how to move them and tell where each app is going.
i honestly wish i knew. this is on my list to do, but i didnt feel like formatting my memory card cause there's so much on it, so i am just hoping gingerbread improved method will give me enough space.
i wish there was a tutorial or wiki for DT A2SD. you prob should just read that whole thread and it is explained there somewhere.
Some quick commands executed from adb shell or even the terminal on the phone can give you some more information:
a2sd check will give you basic diagnostic information from the DT a2sd script - this will reveal what is running where (apps on /sd-ext, data location, etc).
ls -al /data will help you understand what a2sd actually does for you. If a2sd is set up correctly, you should see an entry similar to "app --> /sd-ext/app", which indicates your /data/app directory is symbolically-linked to your /sd-ext partition (the ext-formatted partition on your SD card). This makes Android see /sd-ext/app and /data/app as the exact same thing, and everything within that folder will actually reside on the /sd-ext partition. The same thing applies to the dalvik-cache.
You can find out more about using a2sd via the a2sd help command, which shows an easy-to-understand listing of the various a2sd commands available.
All the documentation is in DarkTremor's thread.
There is no choosing in A2SD. If it's installed - all apps that are shown as "internal" go to EXT partition. But the phone doesn't know it, and you won't see it in OS visually in any place.
You can choose if you're sending your app data and your Dalvik-cache to SD also, that you can do from the Terminal (command line).
I should probably mention that all apps that are installed to SD using stock Froyo method, remain there - and cause a waste of space. So using A2SD you should move ALL your apps to "internal memory" (substituted with EXT partition).
This is a handy link for Darktremor users...
http://www.facebook.com/note.php?note_id=158826790833326
Sent from my Nexus One using XDA App
Hmm.. maybe I should had included some more info.
If I use Root Explorer and check my sd-ext folder, it does have apps within, and from install date I can tell they're from my CM7 install (plus I wiped everything including SD-EXT before flashing anyway). The problem is that some of these apps are things I do NOT want on SD-FAT or SD-EXT, I need them on internal (basically anything that I use with widgets, and LauncherPro). Pretty sure having widgets on EXT is what's causing my home screens to **** the bed.
Checked Install Location, right now that's set to Automatic.
If I go to Manage Applications, these apps appear to be on internal (Move to SD card is available on the button). I've read the FB page and original thread, I still see no way to differentiate between Internal, SD-FAT and SD-EXT - or how to move them between with certainty.
/sd-ext is the same as internal for all intents and purposes. You don't choose what apps to run off of /sd-ext, they all do. This is not causing your widget issues.
If you use DT a2sd, "Internal" becomes synonymous with "sd-ext". They are one and the same.
You SHOULD, however, move all of your apps off of SD-FAT - that is the implementation of "apps to sd" that breaks widgets.
Ok, I moved all of my apps off of SD-FAT and back to internal.. seems to be going well so far. The only thing I'm curious about now is that I didn't really get any space back, I still only have 21MB free (cleared browser and market cache as well). I've obviously messed something up somewhere along the line. Any ideas? I'm such a n00b at this apparently.
I really appreciate the help thus far guys!
You shouldn't have. Your space doesn't change as a result of moving apps to SD and back anymore - because they're all either on EXT, or partially on EXT and partially on FAT32.
If you don't have enough space left on internal memory - which can happen, if you have a lot of apps and they use a lot of data - you can move app data to SD and also Dalvik-cache to SD. This is done using command line commands.
One of those is usually enough.
I prefer the Dalvik-cache on SD - it might be a bit slower (never noticed that), but at least system settings (that are stored in /data/data) remain on the phone's internal memory and aren't prone to corruption.
Jack_R1 said:
You shouldn't have. Your space doesn't change as a result of moving apps to SD and back anymore - because they're all either on EXT, or partially on EXT and partially on FAT32.
If you don't have enough space left on internal memory - which can happen, if you have a lot of apps and they use a lot of data - you can move app data to SD and also Dalvik-cache to SD. This is done using command line commands.
One of those is usually enough.
I prefer the Dalvik-cache on SD - it might be a bit slower (never noticed that), but at least system settings (that are stored in /data/data) remain on the phone's internal memory and aren't prone to corruption.
Click to expand...
Click to collapse
On that note, moving the dalvik-cache is generally a better idea than moving /data/data. Better stability and compatibility and whatnot. Only bother with moving /data/data if you really really need the space.
You can move the dalvik-cache to sd with the a2sd cachesd command in either the terminal or adb shell.
OH MAN THANK YOU! Moved dalvik to SD-EXT and that did it! 120MB free! Time for a downloading spree!
level5music said:
OH MAN THANK YOU! Moved dalvik to SD-EXT and that did it! 120MB free! Time for a downloading spree!
Click to expand...
Click to collapse
Glad to help

[Q] HELP TY

CM7 can make you install apps on the sd card, how does it differ from app2sd or app2ext? i have been trying to decide if i should partition my new sd card or its not necessary. There must be an advantage to have app2ext right?
Thank you.
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
bassmadrigal said:
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Can you do this with rooted stock?
lolobabes said:
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Click to expand...
Click to collapse
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
yes you can.
bassmadrigal said:
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
Click to expand...
Click to collapse
thanks for the reply i think i read on darktremors post class 4 will do for the data2sd. I have class 4 16GB sd card would 1GB good for the ext? ty
It really depends on how much you think you will be installing. I did a 1GB partition on mine, but now that I install most of the Amazon free daily apps, that space is dwindling quickly. I have programs that will resize the partition for me, but most will have to wipe the card and partition it manually. I do have the install location set to automatic, so it allows developers to specify whether they want it in the "internal" (really it is on the sdext partition, but to the phone it is internal) or external using the froyo method. The Angry Bird apps all default to install on the sdcard, so my installed app base is even larger than 1GB.
bassmadrigal said:
... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
I second this
Sent from my Nexus One using XDA App
is it true that cwm sets the partition to ext3 by default? unlike in ra recovery where you still need to convert it? ta
I have heard that it creates it in ext3, but right now, DTa2sd is showing that it is a ext2 partition. I can't figure out how to find out for sure while the card is in the phone. Either way, it is getting mounted as an ext2 partition.
temasek said:
I thought CWM will create ext3 by default? Your steps are ok, np.
Anyway when u read the ext partition type in android, most likely u will see ext2 if u are using official DT script cuz of the auto syntax it uses.
Click to expand...
Click to collapse
then it maybe so, this was posted on the darktremor thread
http://forum.xda-developers.com/showthread.php?p=14134665#post14134665
Well, whether or not it is formatted as an ext3 partition, Android is still mounting mine as an ext2 partition.
Code:
mount | grep ext
NOTE: the "|" is called a pipe. On the keyboard it is the shift option on the backslash key "\". I don't know exactly where it is on the stock keyboard, but on swype it is located under the "D" key when the keyboard has the shift key pressed and you access it by longpressing.
To get your sdcard to ext3, you just need to turn on journaling. You can do this through adb while in the recovery (because you need the partition unmounted to do this).
Code:
adb reboot recovery
adb shell
mount system
e2fsk /dev/block/mmcblk0p2
tune2fs -j /dev/block/mmcblk0p2
reboot
Supposedly Android should auto-mount this as ext3 on boot (which you can check with the first command). At that point, I don't think it will matter what a2sd shows. As the writing of the journal (the big thing with ext3, since it helps minimize write errors on a bad shutdown) is done at the OS level, not the a2sd level.

How to move apps from external sd to internal sd

So I have four partitions in my galaxy mini :
System rom 216mb (21.4mb free)
Internal 479mb(447mb free)
Sd card 15.3gb(13.5gb free)
Sd card(a2sd) 187mb(8.54mb free)
When I try to move my apps to sd card using the default move it moves to sd card(a2sd) and not to sd card .
So how do I do that ? + Is their a way I can move stuff from my system rom to other partitions ?
im abcd said:
So I have four partitions in my galaxy mini :
System rom 216mb (21.4mb free)
Internal 479mb(447mb free)
Sd card 15.3gb(13.5gb free)
Sd card(a2sd) 187mb(8.54mb free)
When I try to move my apps to sd card using the default move it moves to sd card(a2sd) and not to sd card .
So how do I do that ? + Is their a way I can move stuff from my system rom to other partitions ?
Click to expand...
Click to collapse
First Search in Google Then Post......
P.S.=Don't Spam please
pratyush369 said:
First Search in Google Then Post......
P.S.=Don't Spam please
Click to expand...
Click to collapse
Sorry to not meet upto your expectations but nowhere in google did I find the desired result and In no way do I feel that I have spamed xda forums .
Maybe you can help me to recognize in what way I have spammed ?
Bump , no help ? :/
sdcard, external_sd
a2sd is moving apps to your other partitions. the 16 gig card you got has to be the one where you got to move apps. all apps are stored in your internal memory. the system rom is read only, so you wont be able to move or erase it. its permanent, programmed at the factory. so forget rom. if you formatted your sdcards correctly, then you must be able to delete partitions, or reformat them. i recommend deleting the partition after uninstalling all apps on that partition. remember, you are rooted, so if you have root access apps on that partition, then you first have to undo everything the apps did. eg: if you have chainfire, then you got to remove all plugins(qualcomm, nvidia, powervr if installed) the cf3d plugin with egl if installed, then uninstall cf. connect your mobile via usb cord, or get your sdcard in a memory card reader, connect to pc. use "device manager" in your pc to see all partitions of your hard drives. look for your sdcard drive, and you will see all types of data divided in it, that is, formatted data, raw data, etc. if you see raw data, then you have to format it, and its likely that you will be done there. but i f you see formatted data, then just delete the 8 mb partition, and then its possible that you may succeed. this is dangerous, and your data can sort of "vanish", but it will only be the 8mb data according to me. its also possible that you may not be able to delete the partition after all, as this usually works for hard drives. if so, you may use hp format tool to format your device to NTFS and try again. this also can make your data vanish by what you say. the simplest would be to try and delete the partition from your mini itself. the app which you used to partition must allow you to remove partitions also, so look for it. and if this particular app is in the sdcard(a2sd), then you would better move tit to phone memory first. remember, uninstall ALL apps on the partition, and undo ALL the changes they made to your device before trying this out. this may horribly go wrong, so beware! (i havent tried it yet, so. and someone gifted me an ipod 5g, which i tried to partition, but was unsuccessful.) just hit thanks if you find this helpful!
---------- Post added at 11:16 PM ---------- Previous post was at 11:10 PM ----------
Link2SD is an application that makes it easy for Android 1.6+ users with root privileges on their phone to move applications to the SD card.
The idea behind is same with apps2sd scripts, linking applications to SD card's second partition but differs in two ways.
One, instead of linking /data/app folder (that means moving all applications), you can select applications that you want to move.
Two, it's an application which means has a user interface. You can manage your applications with few clicks.
It also provides native apps2sd features on Android 2.2 and higher. It can move any non-protected user apps to SD card (force move), with batch moving capability.
That feature uses Android's standard SD-card installation feature and does not require a second partition. It can break some apps if they are not meant to be moved to the SD card (Such as Widgets).
Features:
- Create and remove link for apk, dex and lib files of the applications you select
- Automatically link newly installed apps (optional)
- Move any user apps to SD even though the app does not support moving to SD (a.k.a. "force move", for Android 2.2 and higher)
- Shows the apps that support moving to SD with native apps2sd (for Android 2.2 and higher)
- Set the default install location of the apps; auto, internal, or external (for Android 2.2 and higher)
- Batch link, unlink, reinstall, uninstall, "move to SD", "move to phone" functions (multi-select mode)
- Uninstall system applications (bloatware removal)
- Freeze and un-freeze system and users applications
- Convert system apps into user apps
- Convert user apps into system apps
- Integrate "Updated" system apps into system (ROM)
- Clear data and cache of the application
- Clear all apps cache at once (1-tap cache cleaner without being root)
- List applications, show detailed size information and link status
- Sort and filter applications
- Search applications by name
- Display available space information of internal storage, SD card and SD card 2nd partition
What you need:
- root permission.
- a second partition on your SD card.
You should have two partitions on SD card and both should be primary.
The first FAT partition is your standard SD card storage. The second partition is used for application files and can be ext2, ext3, ext4 or FAT32.
Some phones lack the ext2, ext3 or ext4 file system support and you may get mount errors like "no such device", "invalid argument". These phones need ext2.ko or ext3.ko modules and even some additional modules to be able to mount. Using FAT32 on the second partition will eleminate such problems, because FAT32 is supported on all phones.
Link2SD does not create the second partition, you need to create it yourself. You can use any partition manager such as Minitool, Paragon, Easeus etc. for this.
How it works:
Link2SD mounts the second partition of your SD card and makes OS mounts it at boot time.
When you press "Create Link" button Link2SD moves apk file, dalvik-cache (.dex) file and lib files (.so) to SD card's 2nd partition and creates symbolic links in original directories.
Note: On Android 1.6 and 2.1, shortcut and the widget of the app should be re-added to homescreen if you move the apk file.
You can remove the links and put application files back to phone. Just click on "Remove Link" button.
Some points
- System applications should not be linked to SD card. Link2SD does not allow these applications to be linked.
- When you connect your phone to PC as mass storage, Android unmounts the first FAT partition but the second partition remains mounted. Therefore linked applications are not affected and can be run without problems.
- Link2SD does not move application's private data files; it moves apk, dex (dalvik-cache) and lib files.
DISCLAIMER: It is made available for use at your own risk with no warranty of any kind.
you may try this before everything else!
To move apps to sdcard, use link2sd and long press the desired app & select "Move to sdcard"(if u have root).
Sent Via XDA™ Premium

Categories

Resources