APP2SD?? - Hero, G2 Touch Android Development

hey everyone..
i recently got my hero an have been upgrading roms back an forth, but each time i wipe to update the rom i lose all my apps.. i was wondering if anyone could please help me get app2sd installed or show me a step by step process for it.. itd help heaps an be greatly appreciated!!
thanks in advance,
brett

I need help for this altso, dont realy understand how this works?

+1
How to install apps from MARKET to SD card, so we dont have to reinstall them each flashing

you need root! and a custom rom (MCR2.2 or 2.3 are my faves) these have apps2sd built in.
http://forum.xda-developers.com/showthread.php?t=552591
p.s your thread should be in Q&A NOT the Dev section

problem
hi. i've partitioned my sd card as per the instructions on this website. prior to that, i'd installed the modaco rom version 2.2, which is meant to have apps2sd on it.
i thought that after partitioning my sd card my apps would automaticaaly get transferred to the sd card. but that doesn't seem to have happened. how do i go about making that happened. i don't want to reinstall the modaco rom, it should happen already shouldn't it?
also, where exactly is apps2sd on the modaco rom? i can't find it.

try booting your phone without the SD card in....are your apps still there?
apps2sd is built in to the rom, you dont need to run anything. It does it all by itself in the background.

thanks. I'll try that tomorrow. Before I do, just one other query. I thought that after partitioning the sd card, everything on it would get wiped. But the same folders (ther were only 2 before i partitioned it) are still there with the files in them!
which makes me think, did i successfully partition the card? there's no doubt that when i typed 'print' in the adb shell/ gparted after the partitioning process it gave a list of 3 partitions in the sd card. I basically followed the instructions to the letter. I won't be in a position to check again until tomorrow.

Just to be clear before I do something I may or may not regret, to get apps installed on the sd card, I need to partition it first, correct? Once it has been partitioned correctly, any app installations I do, say via the market, should go straight to the sd card? I'm running MCRv2.2.

Yes partition your card first. (FAT first, then EXT3 second)
they usually go to the SD card after a reboot i think.
AFAIK it is a script that is run during startup.

thanks alot for that.. i done a bit more research an have it all sorted.. cheers.. brett

good news. happy to help

as suggested earlier on this thread, i rebooted my phone without the sd card, and sure enough, all my applications/ widgets could not be loaded (except those that were already on the modaco 2.2 rom). rebooting again with the sd card in place, and everything is back to normal.
however, when looking on the sd card with astro file manager, i can't see a list of the applications anywhere. also, after connecting my phone to the computer, and then looking under 'removable disc' on my pc, i can't see the list of apps on my sd card then either.
so i guess what i'm asking is, how do you definitely know that apps2sd has kicked in. i've read on this and other forums that people have checked on their sd card and seen their list of applications. how does one do that? is what i've done above, namely booting my phone without the sd card in place and demonstrating that the downloaded apps don't work, enough proof that apps2sd has worked properly on my phone?

djdhrubs said:
as suggested earlier on this thread, i rebooted my phone without the sd card, and sure enough, all my applications/ widgets could not be loaded (except those that were already on the modaco 2.2 rom). rebooting again with the sd card in place, and everything is back to normal.
however, when looking on the sd card with astro file manager, i can't see a list of the applications anywhere. also, after connecting my phone to the computer, and then looking under 'removable disc' on my pc, i can't see the list of apps on my sd card then either.
so i guess what i'm asking is, how do you definitely know that apps2sd has kicked in. i've read on this and other forums that people have checked on their sd card and seen their list of applications. how does one do that? is what i've done above, namely booting my phone without the sd card in place and demonstrating that the downloaded apps don't work, enough proof that apps2sd has worked properly on my phone?
Click to expand...
Click to collapse
You can't see them in /sdcard because that is your FAT32 partition of the card.
Apps2SD works by mounting an ext3 partition from your card, it is mounted to /system/sd/ normally I think. Have a look there with your filemanager.
The reason for having a separate partition for it is that Android requires the ability to set access rights and ownership to files for it work, and FAT32 does not support this.

if you load a linux live cd (i use ubuntu) and plug in your card reader, or mount your hero, you will see the two partitions (or 3 if you use swap).
Windows can't see ext3 partitions, but linux can, cos its great

yeah i had a look using astro file manager and went into system/sd but nothing is listed there.
anyway, now i have a whole new bizarre problem. most of my apps force close when i try to use them! for example, i open taskiller, and its fine while its running, but as soon as i select something to kill, a message pops up saying it has to force close. same with advanced task manager, shopsavvy, shazam, flixster movies and many others. i've turned my phone off and on, and rebooted a couple of times to no avail. phone calls and internet access still works fine.
all this has started since i tried booting my phone without the sd card. i've taken it out again and tried again, but still same problem. weird!

ok problem above solved! i uninstalled then reinstalled the applications, and then they work.
thanks for all your help guys.

i used to get that on my g1...un-install and re-install always solved it for me too!
happy hero'ing!

I am glad that there is a ROM that support A2SD, but i prefer to run the generic one, and if possible is there a code to make my generic pre-rooted rom A2SD abled?

I answered a similar Question a day or so ago here.... Just general stuff
http://forum.xda-developers.com/showpost.php?p=4655969&postcount=2
Dayz xxxx

Related

Unavailable SD Card issue after (any) Rom Upgrade...Please help!

This is my first post, and I'm usually pretty careful about following instructions. I'm currently running Skyraider's 3.0 RC2, but to my dismay, I am finding that my phone still refuses to recognize my SD Card. Under settings it says it is unavailable, and when connected to PC, it gives an option to mount to disk but doesn't mount upon selecting this.
My phone is rooted with S-Off and 2.15 radio...Did a full wipe of everything before I flashed 3.0 RC2. Shows that my kernel is now King #2, but I have had this issue with many other roms and kernel combinations. I have been unsuccessful in finding a solution when searching the forums, and the only way to regain functionality is to restore a previous backup without any roms installed.
Any help is much appreciate. Thanks!!!
P.S. I've also tried mounting the card in clockworkmod's advanced recovery settings, but this does not change a thing. Internal storage is also currently unavailable. Mount through usb in recovery does work, but this doesn't help when I cannot access my sd card after boot.
I had a similar issue a couple days ago after upgrading from stock 2.1 to SkyRaider 2.5.2.
When I'd go to set my ringtones, the option for the SD card wasn't there. As if it wasn't reading it was in the phone at all. I opened up Astro file manager to see if it could read it and it in fact did. I could see that all the ringtones were still on the card right where they should be and they would play from Astro when I clicked on them. But, the option to actually set them still wasn't there.
I'm not exactly sure what 'fixed' it, but I went in to set my notification tone and suddenly the option to select from the SD card was there. Then, I could then access the card to set ringers as well. I'm sorry I don't have anything more specific. The card just seemed to suddenly decide to let the OS know it was there. I also rebooted the phone a couple times as well as removing the card while the phone was in use and reinserting it. Not sure if any of that helped the situation or not.
I had asked about this in two separate threads and not one person responded, so I'm guessing the issue is rare.
If you don't get anywhere with it, maybe try a different SD card just to see if it shows up.
Good luck.
I've had the same issue but was able to resolve it. Mount the sd card from a laptop or PC. If you can read the card copy the contents onto the PC (I placed mine in a separate folder). Then go into tools and do an error checking. After replacing the SD card back in the phone see if everything is ok. this fixed my SD card. However, I've had the SD card lose its primary disk notation so I had to reformat and then transfer the previous save files on the SD card from my backup an that solved my other issue. Also, some times the SD card speed can cause this issue and it is perfered that you a class 4 or better. I hope this helps.
Well, I took your advice and pulled the sd card only to mount it separately and scan it for errors. None were found. I've also reformatted and restored all the files that were on it. Phone still does not recognize card or internal storage. My phone did, however, recognize another card I had on hand and I believe it may be a compatibility issue between my 8 Gb A-Data brand Micro SD card and 2.2 roms. FYI...It's a class 6, and the one I tried that was recognized was a 6gb sandisk (class 4). I'll look into getting a 16 or 32 gig sandisk in the near future and keep you posted. Thank you guys for your insight.
always 'safely remove hardware' (stop the device, etc.) from your windows machine before unplugging your incredible
if you don't, you end up not being able to see the SD card until you restart your phone
Just reformatted my SD card, checked for errors after unmounting etc... and now it seems to work ok, although one of the music players I normally use doesn't seem to recognise it!!

[Q] could someone please tell me how to change sd card

hi all,
as i was testing my new desire using the 4gb card it came with, i did all the rooting with that card in, am now running on defrost 3.1 and all my mods are done.
I tried to partition my other 8gb card using the rom manager on another phone as my phone wont run without the sd card in, then once that was done, i cloned the cards ie copied the data on my mac, then copied it off to the new card.
started the phone with the new card but most features of defrost are not available and alot of the apps are missing.
now when you go to the application manager, it shows you where stuff is installed but it says they are on the phone, presume this is cos a2sd is more of a tricking the phone than a physical change of location for the installed apps
anyway, so my question is, can you change the sd card without re installing the rom?
thank you in advance
anyone????
jason4656 said:
anyone????
Click to expand...
Click to collapse
sorry mate didnt see this till now. in short no.
your phone should work without an sd in it, format the 8gb card use rom manager to partition or use AmonRa fake flash to partition (i prefer this way) and start over again. i know its a pain but its the safest way to do it.
i personally wiped everything on sd and phone so there was no partition and nothing on the phone, then i flashed my rom (dont do any mods yet) then either using amonra or rom manager, partition the phone may take a while to boot up but just LEAVE IT. then do everything again ie mods and apps. long i know but like i said its the safest way also you cant **** anything up.
hope this helps

[Q] SD card not recognized/doesn't mount [SOLVED]

Hello,
Got another problem here. I've had CyanogenMod 7 installed and that worked perfectly.
My device is S-OFF and has the CM7 HBOOT.
I thought to give MIUI a shot, so i installed the latest version 1.4.8 A2SD version.
That one installed fine but it couldn't find my SD card for pictures, music... it said no SD was installed.
I went back in recovery, and yes.... i can't mount my SD card anymore. No ADB access, partitioning is no option as it is not there.
I pushed a new recovery (Amon RA recovery 2) but that doesn't help.
What went wrong ?
Fixed!
I really don't understand how these things can happen just by flashing a new rom, i feel that there are more problems than months ago. Anyway, i used this to fix:
'fastboot oem enableqxdm 0'
Cheers
Hi there,
I am glad you found a solution. What i found was when trying to copy an .apk file from my laptop to my desire 8gb card( FAT, 1GB Ext 4, 300MB Ext 4, Swap ) i could never access the file. In fact, SDcard Mounted readonly pops up if i go to the directory where the file is using Astro explorer. My Rom is RCmixHD 3.5 rotating. Even if i create a few folders and then put the file in, i can go as far as where the file is. Maybe the file is corrupt?
Anyway, where is the rom you flashed and is it a patch of some sort? Thanks.
I have spent many a night trying to figure out exactly what is the cause that a SD mounts as read only while attempting to perform certain functions, but works fine if you use the same SD card in another device. The only conclusion I have is, I assume that the Desire doesn't like cheap cards. Things like class, capacity and brand are key regarding SD cards. So many check in those areas ...
I personally think its or the alpharev, or the Hboot.

[Q] CyanogenMod 7 is ruining my SD cards

Now I'm not moaning about CyanogenMod here, I'm just trying to understand how I can fix the issue.
Basically, I had CyanogenMod 7 RC2 on my Desire Z. That was it.
Eventually I saw through ROM Manager that the full release of 7 was out so I downloaded, took a backup, wiped everything and did a fresh install of the new ROM.
It installed fine, but none of my apps that needed root access were getting it.
So I booted into recovery, restored my backup, root was back.
I then installed 7.0 over my RC2. That worked fine, but again root was gone.
At this point, my phone started damaging SD cards.
It suddenly started saying that my 8GB card that came with the phone was damaged. I tried to fix it on the phone, but it just said 'Checking card' and then giving up.
Putting it in an old MP3 player, it is not detected at all.
Putting it in a card reader, the card is unreadable and when I try to format it Windows says the card is 'read only' (this is not due to the reader).
I put a functional 2gb card I had lying around into my Desire Z and it broke it in the exact same way.
My question to you guys is - what could be causing this and how do I fix it because I have a 16gb card coming and I'm obviously cautious of putting it in the phone.
Also, how would I go about flashing the new Cyanogenmod 7.02 ROM if my phone keeps breaking SD cards I put into it?
This error can be because when ever you install a CyanogenMod ROM over another, It leaves files your new ROM think is useful such as data that the new ROM doesn't support. It is damaging your SD Card because it keeps attempting to fix the error but is making it worst by trying to remove system files. Your best bet is to try another ROM and see if it does the same thing and report it to CyanogenMod Developer Team if it only does this to CyanogenMod ROMs otherwise it would be just a virus on your SD Card feeding off of personal data. If it is only CyanogenMod ROMs, we will adress this issue ASAP. Hope I helped
Thank you VS4, you are indeed helpful
I've since heard some people have managed to fix their SD cards by formatting them in ClockworkMod but I can't even mount it first in order to do this! Is my card truly dead?
Also, do you think the reason that CM7.0 had no root (even when it was a clean install) was due to me not 'fixing permissions'?
Thanks
Just a note to say that I've managed to fix it!
Despite being unable to 'mount sdcard' in clockworkmod, I found I was able to activate USB Storage and through this I was able to format the card (Windows 7 was previously saying that the same card was 'read only' in a multitude of card readers).
I hope this helps any poor chap with the same problem.
I had this exact same problem, munched 2 of my 8GB cards, and had a 16 on the way. I somehow fixed it before the 16 came and I've never had the issue since, glad to see an explanation of it.
Thanks, nofixio!
I had the same problem on my Samsung Fascinate with CM7. It ate my 16GB SD card to the point where the phone wouldn't recognize it, CWM wouldn't mount it, and it wouldn't show up on my computer in multiple SD readers.
I wasn't quite clear what you were suggesting when you said you were able to "activate USB Storage." I thought maybe you meant within CWM. That didn't work for me, but I was able to boot the phone up with the problem SD card in it and turn on USB storage as normal. Suddenly my computer could not only see the SD card, it could see all the files that were on it before it died! I backed everything up, formatted the card in Windows, and everything's good now. Thanks for the tip!
rfschmid said:
Thanks, nofixio!
I had the same problem on my Samsung Fascinate with CM7. It ate my 16GB SD card to the point where the phone wouldn't recognize it, CWM wouldn't mount it, and it wouldn't show up on my computer in multiple SD readers.
I wasn't quite clear what you were suggesting when you said you were able to "activate USB Storage." I thought maybe you meant within CWM. That didn't work for me, but I was able to boot the phone up with the problem SD card in it and turn on USB storage as normal. Suddenly my computer could not only see the SD card, it could see all the files that were on it before it died! I backed everything up, formatted the card in Windows, and everything's good now. Thanks for the tip!
Click to expand...
Click to collapse
how do i activate usb storage? i have several memory cards that stopped working out of no where and i have important files on them. PLEASE HELP!!!
hotboyray said:
how do i activate usb storage? i have several memory cards that stopped working out of no where and i have important files on them. PLEASE HELP!!!
Click to expand...
Click to collapse
I'm not sure why you would ask this in such an old thread but... Try just plugging it in to your computer maybe? What ROM are you on?
noneabove said:
I'm not sure why you would ask this in such an old thread but... Try just plugging it in to your computer maybe? What ROM are you on?
Click to expand...
Click to collapse
im running cm7 ... it wont read from computer. i tried several micro sd card readers. it just tells me it cant format. its just like what was mentioned before.
Weird, I've never had any problems with Cyanogen 7 roms. I've flashed one over another and had no issues at all, Mayb because I use SuperWipe before hand? Or maybe its a certain sd card issue???
Running Desire Z and Andromadus Beta 11 I had similar problem after I had applied remote wipe from Exchange (wanted to see if it works). Remote wipe worked: it destroyed contents of SD card and erased phone back to factory settings. After wipe mounting SD card failed and Andromadus seemed to be unable to format the card.
Solution: Booted phone to Clockwork recovery and applied advanced -> Partition SD Card.
Posted this on this thread since it came first when searching solution.
hotboyray said:
how do i activate usb storage? i have several memory cards that stopped working out of no where and i have important files on them. PLEASE HELP!!!
Click to expand...
Click to collapse
Go into Recovery (Clockwork), go to mounts and storage, then scroll down and it should say mount USB storage.

I have deleted every thing on my sd card.

Hi. I did something really stupid as you can tell by the Title of this post. I was using WildChild Rom which i like, but my phone internal memory was filling up even though i have a 8 gb sd card installed. I went into rom manager and partitioned my sd card which as you know deletes everything.
Well now i have done a reset and i now have my phone with WildChild booting up as normal.
I then downloaded all the apps that i had wiped off, but when i try to open up an app i get a message that says " The application Facebook(process com.facebook.katana}has stopped unexpectedly. Please try again.
It says the same for all the apps except the facebook part of the message. I also thing that the sd card is no longer partitioned.
I now that i should not mess about and it won't happen again. Can any one Please help me get my phone working so that i can use it like i should be able to.
Thanks for reading this.
Many thanks.
Alan
I had a similar problem when using RM to partition SDcard. I had to use gparted (Linux) Reboot PC with cd, then removed partitions and made one Fat32 partition. copied files back to SDcard and it worked OK after that.
You can download from Dropbox here
Hope this Helps

Categories

Resources