no sd card access in xdandroid - Touch Pro2, Tilt 2 Android Development

Hello world. I have xdandroid running on my tilt 2. Im using itt right now to psot this. Newayz, when i got to menu, storage there is no sd card listed I also cant seee my sd cccard when plugged into usbon my puter. However, if i go into terminnal and run df -h i can see that the sd card is the first mounted device mounted at /sdcard. I can also use the cd /storagecard andd then ls to see everything on my card. I need tto be able to acccess files from my computer on my phone to ggetg psfreedom running. Im running the latest stable build (updated through android launcher about 15 minutes ago) any help is greatly appreciated

USB mass storage won't work until we're able to unmount the SD - IE when we're not running Android off of the SD...?
You really need to learn how to use search my friend...
If you download Astro or some file explorer, you should be able to see what's on the SD card within Android. If not, you need to format your card again with the HP Tool, GParted, basically anything but the default Windows one.
If you're having psfreedom issues, post in that thread. I'd also recommend reading that thread.
Oh, and use search!

awesome thanks......no problems using psfreedom just didnt know if there was a faster way of putting files on the sd card.......like not booting into winmo to put files on it and then booting back into xdandroid.......would have used search but was on my phone with edge connection and didnt have the patience...........POSTING A QUESTION WILL BE MY LAST RESORT FROM THIS POINT ON XD.......thanks again

Related

APP2SD??

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

Help rooting mytouch

I have a mytouch slide and im stuck on....
(htt p://theunlockr.co m/2010/08/16/how-to-root-the-htc-mytouch-slide-exploid-method/) 8:50 It says ESPRIMG not found?
I also tried this....
(htt p://w ww.youtube .c om/watch?v=sVjoKvy-YZg) 3:30
I have unpluged it many times and on my comp it is not on recovery???
please help thank you
(links are with out spaces sorry im a new user and the time on the side of the link is where in the part in the video is located and i feel ive done everything correct)
This is tearing me apart!!!!
ESPRIMG not found error is usually fixed by reformatting your SD card, taking care to use the FAT32 format (not just FAT). Format your card and put everything you need back on it and try again...
HTH,
JTB
JTownBrewer said:
ESPRIMG not found error is usually fixed by reformatting your SD card, taking care to use the FAT32 format (not just FAT). Format your card and put everything you need back on it and try again...
HTH,
JTB
Click to expand...
Click to collapse
Im a noob how do i do that.
I can't remember if it works to format the card with it in your phone or if you need to take the card out and plug it into your computer through a card reader .. think it works through the phone.
So plug your phone into you computer and make sure that the sd card contents are available through the computer (you might have to turn on the disk drive setting on your phone).
In Windows you would then right click on the drive for your phone's SD card and select format. Then make sure the format is set to FAT32.
JTB
Ok I've rooted every thing but I got a few problems
I get no cell phone service
And I want the slide rom not the nexus one and all I rooted for was to get the froyo ota for the slide that went unrealsed so if you can help I greatly love it thank you
heres the guide i used....
http://forum.xda-developers.com/wiki/index.php?title=File:HTC_Espresso.png
this is what i want....
http://forum.xda-developers.com/showthread.php?t=928250
If all you want is the official Froyo update then you can now go download it directly from HTC. See the Offical Froyo is out on HTC site! thread.
Note that following that path will remove root from your phone.
If you would rather keep root you have a few other options. There are a few sense rom variants including the one you linked to.
If you already have root and have installed rom manager then you shouldn't have any trouble using that to install a new rom, create backups, etc.
Not sure what your comment about nexus 1 meant? You certainly cannot install a nexus rom on the slide. Did you mean the Cyanogenmod ROMs?
JTB

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

SDCard Issues

Hey everyone. I am running savagedzen 2.2.1 (CFS). Up until about a week ago it was running fantastic. However, it recently has started to give me tons of SDcard errors, but they're intermittant. For example when trying to run spotify, i'll get errors that the SDcard isn't currently accessible when the phone has been running a little while; but then I'll be able to open fpse and play an iso off of the sdcard just fine. Then i'll try to open a game in my snes emulator and it won't be able to open the save file even though the game works fine.
Weird stuff.
As of today I'm copying everything off and reformatting. Any suggestions on tools, utils, or some sort of fsck utility for the memory card to make sure its working ok? None of the tools seem to indicate that there is any problem. I'm still using the stock memory card so I may look into grabbing a class 10 16GB card if the time has come for a replacement.
msarro said:
Hey everyone. I am running savagedzen 2.2.1 (CFS). Up until about a week ago it was running fantastic. However, it recently has started to give me tons of SDcard errors, but they're intermittant. For example when trying to run spotify, i'll get errors that the SDcard isn't currently accessible when the phone has been running a little while; but then I'll be able to open fpse and play an iso off of the sdcard just fine. Then i'll try to open a game in my snes emulator and it won't be able to open the save file even though the game works fine.
Weird stuff.
As of today I'm copying everything off and reformatting. Any suggestions on tools, utils, or some sort of fsck utility for the memory card to make sure its working ok? None of the tools seem to indicate that there is any problem. I'm still using the stock memory card so I may look into grabbing a class 10 16GB card if the time has come for a replacement.
Click to expand...
Click to collapse
reformatting is the first thing i would try.
you can also check to make sure the SD card is properly seated. perhaps it may have a loose/intermittent electrical connection.
i am not sure what else you can do.
Well, just copied everything off, and have formatted from recovery. Now I'm copying everything back - hopefully the wonkiness goes away.
Also deleted the /sdcard/android folder. Here's hoping that doesn't jack too much up. Worst case scenario is I install a new rom :X
Ok this is getting weirder.
When I try to format the disk (via recovery->wipe), it acts like it is formatting. However when i go into /sdcard, there are all my files.
I put the card in a sdcard reader, and opened it in windows - all the files are there. I am manually deleting them, and getting no errors. However when I open back up the card, all of my files are still there.
I'm about to try using dd and zeroing out the card - not sure what else to do. I don't think its write protection because there is no error when I attempt to delete a file. In explorer it even shows that the file was deleted. But if I unmount/remount the card... there it is again.
Thinking this may be a sign to get a new card.
Well, I'm about to declare the sdcard as shot.
Code:
dd if=/dev/zero of=/dev/mmcblk0
runs, and finishes with no issue. Then, wiped the card via Amon RA Recovery. Results? Files still present on the SD-Card.
The crazy thing is that I can add new files to the card, but I can't delete anything. If anyone has any ideas, I'd really appreciate it. Otherwise, I'm picking up a 16GB class 10 card on my way home from work.
Format it with Windows and see what happens
HipKat said:
Format it with Windows and see what happens
Click to expand...
Click to collapse
Tried it earlier; format fails with an unknown error. mkfs.vfat appears to succeed, but then the files are still there.
Edit:
Just had a coworker attempt to format the disk using mac diskutils - same thing. Showed a successful format, and it looked like it was blank. But then after unmounting/remounting, there were my files!
Looks like I'll be picking up a new card. In the meantime I'll keep this one around as my indestructable backup copy

[Q] SD Card Destroyed??

I picked up my phone looking to download a new ROM to it but then found that my ES File Explorer (given root permissions) was not able to view my external SD card via the mnt folder. At the same time, I was trying to back up my apps and such via Titanium Backup but it said that it couldn't backup anything because my card was full (it's default save location is my external card). It just said "Empty". I went to check my Settings to see if my card was somehow unmounted, but nope, it said it was still there. Even said that I had 11.27 GBs left out of 29 GB or whatever and gave me the usual options to Unmount and such. I pulled off my battery cover and the card was still there, so I assumed that the Android system might just need to sit for a while and cool off while off. Then I turned it back on to find that ES was still not able to view the contents of externalSDcard. So I went to my Root Browser and it too said that no files were there. I then went into my Settings and now it just says "Insert SD card".
I've had this happen before on other Android phones so I did what I normally do and hook it to my PC and reformat it. Windows found the device when I attached it via a SD card reader (the big fat kind like in your standard camera), it didn't want to format it. Windows brought up the prompt and said that it only could format 1GB so I knew Windows wouldn't be able to recognize it. I even tried formatting it via Command Prompt and typing "Format G:" and it too said there was only 1024MB to be formatted then went through trying to format and then said it failed.
I then tried pulling up Ubuntu's Disk Utility to format it. At first, Ubuntu wouldn't even correctly identify the device! Then I got the Disk Utility to recognize it and it couldn't even recognize how many GB/MB were originally on the card! Trying to format just brought up a message telling me that it couldn't do anything.
I had this happen a few times with my HTC Evo 4G OG but was able to format the card and put it back into my phone and have it work. Of course, the last time with my old 16GB card ended with it being destroyed much like this.
Please tell me that I can do something to fix this. Anything?!?!
This card is a 32GB Class 10 Patriot. This has happened before in my old HTC Evo 4G OG with a 16GB Class 4 SanDisk card. That card became unusable after a few times of this happening except I was able to fix it those times using the methods I tried above and allowing my phone to recognize the card again.

Categories

Resources