Emulate External CD Drive - Captivate Q&A, Help & Troubleshooting

I was wondering if it is possible to emulate an external cd drive with the captivate. Essentially i would use an iso image from the sd card and boot servers/pc's with the phone rather than carryin an external cd drive and cd's. Any idea if this is possible?

I'm not sure this is the right place for this post, but if I understand what you're trying to do then I think the answer is that you can probably do what you want. I don't think there's any way to mount an ISO image on the SD card and make it look like a CDROM, but most newer PC's will allow you to boot off of a USB flash (or hard) drive. Since the Captivate can appear to the PC as a flash drive you should be able to put a bootable image on it and boot your PC that way. You can probably even set up some sort of boot manager to be able to select different OS's if you needed more than one.
Just google how to boot whatever OS you want from a flash drive and follow the instructions using the captivate as the flash drive. I've never tried it, but I don't see why it wouldn't work.

First off, I don't believe this relates to development.
Second, I've had to boot several netbooks from USB drives before. The easiest way that I have done it, is to download the program called UNetbootin. Run that, select the .iso, select the drive, and it does all of the work for you. I'm not sure if it would with a Captivate, but its worth a shot.

I know i can boot via usb drives, but depending on the type of disc i want to boot it gets complicated and i need more than one usb drive or i have to fashion a multiboot usb flash drive.
Either way its not 100% and its not as easy as selecting a new iso you download to boot from. When troubleshooting servers and such its handy to have bootable cd media.
I would assume there should be a way to emulate other devices with an android, all dependant of course on the usb controller. I didnt want to dig too far to find out, but if any one knows if it is possible it might be worth it for me to code it out.
I dont see why it would not relate to development as it is a development related question.

Related

Help my SD Card Wont Mount

I can access my sd card through a reader but I can't access my phone through usb (but it still charges). I have 2 partitions, one is fat32 (with some music, pictures and stuff) and another is ext3 (i reformatted it last night thinking it might be that but it wasn't)
Basically, I've tried it on xp, vista, win7 but win7 and vista it says it has malfunctioned and then when I go device manager its called unknown device
I have used swapper and most likely did try to mount my phone which I've heard screws up your card. So before I do it do I need to reformat my fat32 partition and if I do have to should I reformat it to fat32 or fat?
Or is there another solution?
Thank you
Have you tried formatting it from within the G1. settings->sd card -> format? You'll want Fat32 if formatting elsewhere, also if you want multiple partitions I'd try formatting the whole card first, then partitioning/formatting again.
Make sure you have a drive letter assigned to the FAT32 partition. (Eg. F:/)
hmmm
On xp it just says unknown device, I've reformated from my pc (the fat32 partition) maybe it would be an idea to do it from the phone. I just don't know what to do tbh I mean its weird. Do you think its to do with app2sd?
hmm
And I can't sign a driver letter because it doesn't come up with mount on my phone all it does it charge
kushion said:
I can access my sd card through a reader but I can't access my phone through usb (but it still charges). I have 2 partitions, one is fat32 (with some music, pictures and stuff) and another is ext3 (i reformatted it last night thinking it might be that but it wasn't)
Basically, I've tried it on xp, vista, win7 but win7 and vista it says it has malfunctioned and then when I go device manager its called unknown device
I have used swapper and most likely did try to mount my phone which I've heard screws up your card. So before I do it do I need to reformat my fat32 partition and if I do have to should I reformat it to fat32 or fat?
Or is there another solution?
Thank you
Click to expand...
Click to collapse
Are you using the data cable that came with the phone? I lost mine a while back and tried using just a regular USB to Type A (the port on the phone) on the phone and got the same results. It'll use the power from the USB drive but won't mount or even connect.
Also, you might want to try to install the Android USB Driver for Windows. It's floating around here somewhere, just do a search for it.
If you have adb installed there's a command called ?adb kill server? or something like that. Sry on phone right now but a google search should help. Sometimes this process has been knows to fix similar problems where the pc doesn't recognize the phone. Not sure why it woult effect mass storage tho. But wth worth a try I suppose.
Well I'm using the data cable that came with the phone, adb remount just gives error:device not found and I have usb drivers because I have used this phone on this laptop before so you know
This is annoying
I've tried reflashing my spl but still no dice, I just dont get it :S
Like everyone else has stated, Format your entire card to fat32 and setup your partitions again. That should do it. the SPL doesn't really affect it. GL
Ill have a go
Right I'm going to have a go now
Ill tell you my results
Good luck Kushion!
I had the same problem only my sd card would actually show and mount for a second then unmount. I finally gave up and went and bought an sd card .
this is what I do now.
vm ware player http://www.vmware.com/products/player/
I believe with this running and a guest os I can mount the sd card.
I know for sure that I can do it with ubuntu but im not completely sure with windows 7.
This is also good for "sandboxing" programs or testing files to see if they have a virus. by running the guest os in the virtual software you are not infecting your main os . I use it when i wanna test things but dont wanna run the risk of borking my main os.
god daaaaaaaaammit
right I have deleted the ext3 partiton and then reformated it all to fat32, I then wiped, I then reinstalled cyragon firmware and booted and guess what...
doing the same thing :|
It lets in power but doesn't let me mount, doesnt even give me the option
I am having the same exact problem. My work computer, have always used it, same cable, same everything, then all of the sudden today I came to work, had some downtime was going to mess with my phone and it won't recognize my phone. Uninstalled and reinstalled drivers at least ten times but to no avail. Any help greatly appreciated.
lukekirstein said:
Are you using the data cable that came with the phone? I lost mine a while back and tried using just a regular USB to Type A (the port on the phone) on the phone and got the same results. It'll use the power from the USB drive but won't mount or even connect.
Also, you might want to try to install the Android USB Driver for Windows. It's floating around here somewhere, just do a search for it.
Click to expand...
Click to collapse
I know this is a bit old, but the topic got bumped and I saw this one... I do most of my "work" on my phone here at the office, and just use a standard MiniUSB cord with no problem. Not that you're the first one I've heard say that, but I don't think your phone (or PC?) is working right if that is the problem.. The ExtUSB cable that comes with the phone has standard data pins, just extra headset pins - that's the only difference.
bakler5 said:
I am having the same exact problem. My work computer, have always used it, same cable, same everything, then all of the sudden today I came to work, had some downtime was going to mess with my phone and it won't recognize my phone. Uninstalled and reinstalled drivers at least ten times but to no avail. Any help greatly appreciated.
Click to expand...
Click to collapse
Reboot the PC? Maybe an obvious question, but just in case. And.. It sounds like you have a reasonable level of admin access to the PC, but just in case - are you sure your employer hasn't blocked mass storage devices? I'm in IT myself, so I can use it on my PC.. But if I tried to plug my G1 into any of our other PCs here, it would happily charge away but never mount the drive, due to our security policies.
Wow old thread but similar problem...
My wife's G1 won't mount to pc as a mass storage device, however mine does without a problem. I have the drivers, sdk. I can see the phone through adb, it just won't mount. Also, I've tried it on both our pc's which are win7 x64. Check sig for phone details.

Mounting the SD..... Disconnected?

Okay so here's the run down:
I've been having this problem with my G1 for awhile now, I've been connecting it to my computer, selecting Mount and it all works like normal. I go to my computer -> "Andrizzle" and then I can see all the folders. It's only when I attempt to modify anything in the SD Card that it will then disconnect and my phone acts like I chose to disconnect, allowing me to select mount again.
It's really annoying because now I have to take the SD card out, put it in a SD reader and then do it from there. Although it's not a HUGE hassle, it's still an unnecessary step that I'd like to solve. I've been trying to find a problem similar to this and couldn't find the right way to word it, nor could I find anyone with this issue in a thread. If someone has already solved this problem please direct me to it, otherwise I'm here anxiously awaiting some divine intervention!
instead of divine intervention, you get me, sorry life's a *****
This kept happening to me also, but my problem was on ubuntu, It was kicking me off because it was mistaken my phone for my ipod, I flashed a different rom and rebooted my computer and that did the trick for me, but you have prob already tried this......right?
i was going thru this ealier today. jus to to recovery and fix the file systems option will fix it believe it or not
So wait how exactly do I do that?
I know how to get to the recovery mode but there's a setting I need to change?
Nevermind.
That didn't solve it either
Bump?
Any help from anyone? This is a seriously annoying issue to have
What ROM are you using? What OS?
Give a little more details on your setup
I had the same problem today
I just powered down, then removed the sdcard and put it back in then rebooted. Then it was just fine. My guess is the contacts were just miss aligned.
I was on the Cyanogen STABLE 4.0.4 but am now currently on the Experimental version.
I have USB Debugging on and i've tried other SD cards. I don't know what the problem is. Any other information you need? I really want this to be fixed it's very annoying when I'm trying to do anything
i actually cannot remember the last time i tried to mount my sdcard while my phone was up and running (i.e. not in recovery), i always use adb bc it makes life better.
try to mount it in recovery with ums_enable and ums_disable to mount and unmount the sdcard respectively. if those work then it may be something that will not allow the phone to mount the sdcard when it is fully powered up (i.e. not in recovery).
i use to get a problem where it would mount then quickly unmount the sdcard. i usually just had to either try it a lot, or use my card reader.
I tried going into recovery and doing so,
it still didn't transfer the file.
I can see it in the Explorer, I can browse all the folders and such, look at pictures / videos / music but when I try to move anything around or transfer a file over it stops running.
Any ideas?

Questions about MeeGo (can it work for us?)

Ok so MeeGo is now available for phones. It kinda looks similar to Android but it is still a completely different OS. On their website it has a Tutorial on how to boot it up into a phone, now my question is... Will it mess up my phone or something if I did this? It is only going to be installed on the MicroSD card and not the phone so id assume by booting the phone up with MeeGo installed on the MicroSD, one of 2 things would happen. 1 would be absolutely nothing, which is what I am kinda hoping for due to not wanting to mess my phone up lol. Or 2, it would load up the OS with or without issues.
Here is the tutorial from http://meego.com/devices/handset/installing-aava-device
Using Windows
To use Windows (XP, Vista, 7) to copy the image to your Micro SDHC card, you will need to make sure:
* You can unpackage the image file. To do this you will need a compression utility, like 7-Zip http://7zip.com
* You have an image writer utility, like Win32DiskImager.exe
https://launchpad.net/win32-image-writer/+download
Using your preferred compression utility, extract the contents of the downloaded image. Once uncompressed, you will have a named directory containing the MeeGo Handset Images.
Once you have extracted and located the image you wish to install, use you preferred image writer to write the image to your Micro SD card. Here's an example of the process you may follow to use the W32DiskImager:
1. Run W32DiskImager.exe
2. Select the desired MeeGo Handset Image
3. Select the drive letter for your Micro SDHC card
4. Click the "Write" button to start writing the MeeGo Handset Image to the Micro SDHC card.
Booting MeeGo Handset Images
Once you have successfully written the MeeGo Handset Image to your Micro SDHC, simply remove the battery and insert your Micro SDHC card into the Micro SDHC card slot. Replace the battery and boot your system.
Click to expand...
Click to collapse
The requirements state that I would need "Aava Mobile Intel Moorestown platform" which is basically a "Intel Atom" processor. Moorestown is just the codename for Atom. But one of the supported devices is a "Nokia N900" which is a new phone from Nokia. But that doesn't have an Atom inside of it so I assume that maybe MeeGo could work.
I somehow know that if this does work, none of the sprint services would work at all but I am kinda just curious as to if it does work or not lol.
Can anybody verify this for me?
The images can be found on the download section at http://meego.com but I believe none of the "Moorestown" will load up. So that leaves the only possibility of using an N900 image. http://repo.meego.com/MeeGo/releases/1.0/core/images/meego-n900-open-armv7l/
I would do most of this myself, but I have no knowledge of this kind of stuff and knowing me, I would end up messing something up lol.
I don't think it would be able to boot up.
If it did, it wouldn't erase anything on your phone since it would be booting from the SD card. Also, it doesn't have any drivers so nothing would work.

Internal SD card failing after 2.2 Rogers update?

Im having issues with the internal SD card after the update. So is Dennishwc
http://forum.xda-developers.com/showpost.php?p=10484065&postcount=1057
Via Windows 7 64 "Error 0x80070057:The parameter is incorrect 'for file copy and 'The file is too large for the destination file system' when I try to make a folders.
When I try to format in Windows, it shows capacity only as 2.19GB rather than 13gb or whatever it should be. Same occurs on a Win XP laptop I tried, but explanation of the errors are more general but seem to be the same.
Seems it might be this issue that 2.2 caused for the SGS Vibrant ?
http://forum.xda-developers.com/showthread.php?t=860328
http://forum.xda-developers.com/showthread.php?t=846384
Could just be the SD card failing unrelated to the update, but I have no idea. Seems I can copy to an external SD, and then copy via the phone to the internal SD. Odd.
I have tried format via Windows, which resulted in 2.19gb size, but phone reboot reset it to 13gb. Format via phone did not resolve either.
Any fix that will work? or is it borked.
I'll repost my question here.
Did you try the "format internal-sd" from CWM recovery ?
No, Im new-ish to Android so I dont know all the apps to use yet, but have done phone hacking for years on Palm and iOS.
Seems CWM Recovery is a desktop app? I will try when Im off work.
rye&ginger said:
No, Im new-ish to Android so I dont know all the apps to use yet, but have done phone hacking for years on Palm and iOS.
Seems CWM Recovery is a desktop app? I will try when Im off work.
Click to expand...
Click to collapse
Download Rom Manager from the market and run it. Click on install clockworkmod recovery. Then you can reboot into recovery. Please see the clockworkmod thread for more info
Sent from my SGH-I897 using XDA App
Don't forget to root first. I had a pain rooting this JL1. I spent 20 minutes playing with JL1 and I couldn't stand the lagginess. I'm sure lagfix would've helped, but I just went to a custom ROM instead.
Tried superoneclick only once and I'm rooted even went as far as unlocking it. Also, my phone isn't affected by the sd card bug. I can transfer files bigger than 2.19 Gb and it's showing the full size in Windows. Froyo runs flawless so far even though it's still not clear whether it's official or not.
Hmm, that's an odd one indeed.
Curious - I took a look at the 2 threads that Rye pointed out and one seems to be about external sd issues and the other about the mounting issues with 2.2 vibrant kernels. Doesn't seem like the problem you are having is either one of those... Could be but didn't seem that way upon review.
Did you happen to try and restore any backup after upgrading to 2.2 or anything? Can't imagine what would cause it but seems like it's getting mounted strangely or something... Surprised that a format internal sd wouldn't fix it in recovery...
Second question - what Samsung drivers / driver pack are you using on your Windows 7 x64 install? Wondering if the driver is failing to recognize the file system type and is causing Windows to treat it as a file system that shouldn't accept a file larger than 2+GB...
I havent noticed any problems with the size of the file. What happened with mine is that i transfered a couple of movies (about 3 or so) and then transfered about 4 gigs of music. halfway through the music it started giving me the error. after that, even transferring individual mp3 or pictures would result in an error. The internal sd card showed up on my computer as having 8gig free. after that i ran the check disk (by right clicking, going to properties then tools). my computer found errors and corrected them. after that, the internal sd card showed up as only having like less than a hundred mb left
Riker2k, not sure if the drivers for Windows are the issue. I think I installed some drivers called SGH-i897_Captivate_USB_Drivers_5_02_0_2 that I got from the Samsung website, but I also just installed Kies to get the 2.2 update.
On the XP laptop, I was just using mass storage so it must have been generic drivers that were already on it.
To be clear, its usually shows as correct size in Windows explorer, but when I go to the format utility in Windows, it shows 2.19gb.
Im about to do the CWM recovery format and will post the results.
If you are using the Rogers 2.2 update with no kernel modifications then the CWM will not work for you.
The Froyo kernel from Samsung comes with Recovery 3e which RomManager can not replace for 2e as 3e requires digitally signed packages.
consider (i have not tried):
- root device
- adb shell
- su
- backup any files you need on /sdcard to /sdcard/external_sd
- use the format commands to re-format /sdcard
-- probably mkfs.vfat or the like.
rye&ginger said:
Riker2k, not sure if the drivers for Windows are the issue. I think I installed some drivers called SGH-i897_Captivate_USB_Drivers_5_02_0_2 that I got from the Samsung website, but I also just installed Kies to get the 2.2 update.
On the XP laptop, I was just using mass storage so it must have been generic drivers that were already on it.
To be clear, its usually shows as correct size in Windows explorer, but when I go to the format utility in Windows, it shows 2.19GB.
Im about to do the CWM recovery format and will post the results.
Click to expand...
Click to collapse
Yea, really not sure if the drivers are a problem or not. When I checked mine, running the Rogers 2.2, it shows the same as what yours does in the format utility - 2.19GB. That is odd because it seems to set the filesystem type as FAT32 which can easily handle the 13.0GB size of the volume. The properties in Windows show 13.0GB w/ about 11.0GB on my disk that is available...
Regardless, I would be hesitant to format or repair that disk within Windows. Who knows if there is something within Android that is put there as a translation layer that maybe Windows isn't seeing / reading correctly through the driver, etc. I'm sure someone does know but I'm not that guy so if anyone call fill in the details...
And, after just testing on my own system... bang, same issue trying to copy a 900MB file to it... Hmm, this just got interesting.
Going to check a couple of other things, will post result.
I had this exact same issue. The only fix for it that I could find was to do a complete restore of the stock rom. Oh well, nice to have a fresh phone.
Hmm, this is not a fun problem.
Just tested formatting the volume - from within the running phone only, mind you - and the result is strange. After copying everything from my SD card to my computer, with no issues, I unmounted the USB, formatted the card through the settings / sd card storage menu / format internal sd card. Took about 30 seconds after which point I reconnected the device, windows picked it up and I mounted it, recopied about 2GB worth of data to the card with no issues at all. Added an additional 500MB file to it with no issues. Disconnected the device from within windows using the safe removal tray tool, turned off usb connection on the device and then unplugged it. Remount the usb device and windows sees it no issues but I can't copy a single item or create a folder on it. Exact same errors as what Rye described and I encountered the first time.
So, seems like after a fresh format the sd card can be mounted in windows, ONCE, and then all hell breaks loose.
Why??? Will keep testing but looking like I need to move back to my previous di11igaf's ROM. Can't work like this...
Interested in what you find, Rye.
Oh btw, i am able to transfer files with no problems if i connect to the pc in media player mode. I have problems when i am in mass storage and kies connect modes
Riker2k, good stuff. I have no news, Im stuck where I am unless I swap the kernel it seems as I cant use CMW Recovery to format.
This is over my head, so I will for now probably just do a format, load up the card via Windows, and then use the external card to slowly add items when I want to and transfer over to the internal through the handheld. Ghetto. Either our Sd cards will get worse and die, or more people will have issues and it will get patched I guess?
Dennishwc, I will try media player mode but I think it did nothing when I connected that way the other day. I didnt mess with it much though. I need mass storage to use iSyncr app though, but there is a wi-fi add-on that may help me avoid that.
Well I just tried the format and dump a lot of stuff via Windows idea, and it only did about 2.2gb before the error stopped the fun. It did this twice, so this is is EXACTLY at the 2.19gb capacity that Windows is seeing in the format utility. So, I do have some news.
Again, this is over my head as to what to do next.
Has anyone tried moving files over via adb and see if you hit a 2.19GB limit?
I am having the same issue when copy files while connected in USB Mass Storage Mode (consistent).
On the plus side, I also tried connecting in USB Kies Mode, and I have yet to see this error. Copying is slower; but, it seems to work.
This could be a workaround for folks getting the error in Mass Storage Mode.
I am running Rogers 2.2 (all stock) and rooted with SuperOneClick.
i'm having the exact same problem. if i pick "mass storage" i can't copy anything over hte internal sd card, but if i use "media play" option, i can do it without any problem. i guess that's a temporary solution
i'm having the same problem, though the size and free space of the internal storage shows up correctly in my system.
i can also copy files no problem to the external SD when in mass storage mode.

Formatting USB flash drive using my T701T dock

Hey, another slightly dumb question from me. After finding one of my old flash drives in need of a format I wondered - is it at all possible to format an unreadable USB flash drive using an android device (e.g. my TF701T dock + drive in the dock)?
I read some things from the web, found out it was possible to format using a mkfs.xxx command if you were rooted with BusyBox running. I used a df command and saw that my particular messed up flash drive was visible as the standard /Removable/USBdisk1 but as I am kind of scared to unlock and root, I still want to know - is it possible to format a flash drive from Android without root, or if I NECCESSARILY have to root, can I format a drive into FAT32 or NTFS (do commands like mkfs.ntfs or mkfs.fat32 even exist, lol?)

Categories

Resources