[Q] Default Linux users and USB Mode - Samsung Galaxy S (4G Model)

I've tried a lot of different means but ultimately I want to make sure of something. In regards to Linux, in particular debian, does everyone else have issues with actually keeping the galaxy s 4g connected in USB mode? Here is a rundown of what happens.
1.) Plug in phone and start USB mode
2a.) If left idle all is well and the device stays connected.
2b.) Else the phone disconnects itself during data transfers.
Here are more details to my setup
~ I've experienced this problem with Fedora 14 >, OpenSuse, Ubuntu, Linux Mint
~ Currently using debian(latest version squeeze).
~ Phone is running FB VahallaBlack with Subtly Modified Stock with CWM5 + Voodoo Lagfix
~ USB Debug mode is off
~ There are no tweaks active to my knowledge.
That's all the information that comes to mind, if anything else is needed please let me know and I'll post it. I dual boot windows and debian and I'd rather my phone work on both OS and not just one.

I use Ubuntu and I have this same issue. I just began either syncing over Dropbox or plugging my sd card directly into the computer. I've tried Googling the issue, but was unable to find a solution. If you don't wanna do either of these, and you hate switching to Windows just to transfer **** (as I did), you should perhaps try running a virtual instance of Windows and transferring the files on that.

adobrakic said:
I use Ubuntu and I have this same issue. I just began either syncing over Dropbox or plugging my sd card directly into the computer. I've tried Googling the issue, but was unable to find a solution. If you don't wanna do either of these, and you hate switching to Windows just to transfer **** (as I did), you should perhaps try running a virtual instance of Windows and transferring the files on that.
Click to expand...
Click to collapse
Sad to say I've tried all of that. Virtual instances of windows are worse from my experience as there were time where the VM actually found the phone and there were times it didn't, mostly didn't. Best possible thing I see myself doing is using a SD converter to do the transfers. What I don't understand is that A LOT of this tech today uses linux in some way or another. Hell some of them have linux controlling the most basic level functions with another software to handle UI on top of it. Yet when it comes to actually working with linux through said UI you get issues like this. Thanks for the reply, I'll continue to check back here for most of the day but I'm assuming most of the replies will be the same.

Related

need help connecting to pc before I go insane

After spending my entire Saturday trying in vain to get my win 7 laptop to recognize my captivate I've decided I need to reach out for some help.
Right when I gore my phone, without too much hassle I did the superoneclick root via my pc with great success. Did the lagfix after that and all was well. Go me right?
I used my phone for a little bit and decided that it was time to but sonera music and pictures on it. This is where it all went wrong.
For background, I have done up to this Point: tried both driver sets that are floating around (and exe and the version most often linked to in help threads with a simple setup file), Ive tried kies, I've tried going into device manager to manually locate the divers. Nada.
At this point the drivers with the setup file will no longer install because the install of the exe screwed up at some point. Windows is only showing the device as us composite hub or as a unknown device. I can sometimes get it to say Samsung android usbb device but it shows that it is in error and it still wot see the phone. Someone else asked me if I had used the mount option when I comes up in my notifications bar which I haven't because it never gives me the option. I've tried disabling launcherpro, undoing the root, undoing the lagfix, formatting and wiping user data on the phone, still nada. I've tried all usb modes. Nada.
First things first, can someone explain to me exactly what I should do in device manager to get the drivers in order? I'm pretty sure this is the root of my problem. Any idea on how to get rid of the erroneous drivers that are causing the driver setup to fail?
Any help would be great :S
Need to try and manually remove three old drivers, then try and re install. Id suggest using the ones design gears posted on his one click back to stock post
Sent from my SAMSUNG-SGH-I897 using XDA App
I snipped this from one of my old posts in the Vibrant section...
For those of you having a problem with Windows 7 recognizing your Vibrant ... here is how I fixed it on my system.
*Note: You do not need to load any special USB drivers for your phone to be recognized in Mass Storage mode in Windows 7.
*Warning: You follow these instructions at your own risk ... no screaming at me if you try it and something gets screwed up!
1) Navigate your way into the Device Manager / Universal Serial Bus Controller
2) Uninstall the device(s) "USB Root Hub" (My system had 2 listed)
3) You will lose mouse and keyboard control (because you just removed the USB Hubs)
4) Reset your PC and allow Windows to boot normally.
5) Go back to the device manager and wait for all of the "!" marks to go away as windows re-installs the USB Hubs and reinitializes all of your devices.
6) Make sure your Vibrant is in mass storage mode and has USB debugging OFF
7) Plug in your Vibrant via the USB cable and be amazed as windows recognizes your device and assigns the drive letters. After you select the mount option on your phone you will have normal access via windows explorer.
Hope this helps some of you out there !!!
~Stresa
Sent from Samsung Vibrant
thanks for the good responses guys but both of those have failed. Odin cant even see my phone, same issue with superoneclick root. I even just tried on an enitrely different PC and got the same "device could not start" message.
tried deleting all the drivers for the USB devices. nada. still no connection
Subrock said:
After spending my entire Saturday trying in vain to get my win 7 laptop to recognize my captivate I've decided I need to reach out for some help.
Right when I gore my phone, without too much hassle I did the superoneclick root via my pc with great success. Did the lagfix after that and all was well. Go me right?
I used my phone for a little bit and decided that it was time to but sonera music and pictures on it. This is where it all went wrong.
For background, I have done up to this Point: tried both driver sets that are floating around (and exe and the version most often linked to in help threads with a simple setup file), Ive tried kies, I've tried going into device manager to manually locate the divers. Nada.
At this point the drivers with the setup file will no longer install because the install of the exe screwed up at some point. Windows is only showing the device as us composite hub or as a unknown device. I can sometimes get it to say Samsung android usbb device but it shows that it is in error and it still wot see the phone. Someone else asked me if I had used the mount option when I comes up in my notifications bar which I haven't because it never gives me the option. I've tried disabling launcherpro, undoing the root, undoing the lagfix, formatting and wiping user data on the phone, still nada. I've tried all usb modes. Nada.
First things first, can someone explain to me exactly what I should do in device manager to get the drivers in order? I'm pretty sure this is the root of my problem. Any idea on how to get rid of the erroneous drivers that are causing the driver setup to fail?
Any help would be great :S
Click to expand...
Click to collapse
kies or mass storage?
for kies debugging in settings>aplications must be disabled. i dont remember what works better ask on connection or to have connection type preset in settings>applications>usbsettings. im on froyo which works a million times better, kies on jf6 was like a 90% fail rate. it just didn't work for me.
for mass storage you need to mount the phone from a message in the notification bar, even if it asks the connection type and you tick mass storage it will not be mounted, you still need to mount from the notification bar.
you can also mount the sdcards from the notification bar in debugging mode which bypasses the connection type setting in settings>applications>usbsettings.
i tend to leave debugging on in case i need adb to fix my phone, i only turn it off to use kies which is useful to fix my contacts when i have multiples (it's alot easier to fix 200+ contacts on a computer screen using a mouse and keyboard), or install an update if i choose to run the phone stock.
tried in every combination of modes, cant get it connect any possible way. I also dont get the option to mount it from the notification bar so perhaps I have a hardware issue.
Are you using the stock usb cable? I've had problems with some but not all generic cables.
Sent from my SAMSUNG-SGH-I897 using XDA App
may not be what you want to hear
I actually had a similar problem, though not the same. My phone charges and I can use mass storage without issue, but I could not get Odin One Click updaters to ever "see" my phone. I tried every USB port on my box, tried several different driver sets (including the ones DG recommends). Eventually, I tried on a different computer. Odin saw it fine, updated no problems, first time out of the gate.
I know, I know, not everyone has access to two computers, and furthermore there "should" be no reason it can't work on a particular one, but for me, short of formatting my PC and reinstalling OS, I tried everything else I could think of.
Good luck, either way!
post moved to new thread
I don't think there should be a logical reason as to why this would ever work, but Windows (and computers in general sometimes) has a tendency to surprise me like that... but what if you try removing the drivers by whatever automatic means you are provided with, and then check and remove them manually (if necessary), and finally run CCleaner or some other program with registry cleaning capabilities to give your PC that last little enema.
Then use DG's drivers and install them in whatever way he recommends (been a while since I installed the drivers). That's really all I can think of on the PC side... maybe putting a cheap little USB hub between your phone and your PC if you have one laying around as another mostly futile attempt.
Fair warning, it is possible for CCleaner to mess up your PC... any program that messes with the registry can potentially do so. I've never seen the program cause harm, but it is possible.
I've had the same problem with my Crappy from day one. I still somehow got SuperOneClick to Root my phone through multiple attempts. But if all you need to do is transfer files from your phone to PC, and vice versa. I would recommend Android Sync Manager. It can read most of the file systems in the phone, and transfers at a decent speed.
same here
One of my PCs recognizes Cappy with the same cable, OS, drivers. Other one doesn't.
So I ended up using "ADB Wireless" from Market. It works pretty good, slower than USB, but works.
Also - if you are willing to make your PC work - try fresh reinstall of Windows 7SP1 and disable driver update from Internet.
Since your just trying to put music and pictures on the phone, try Kies Air from the market. Install it on your phone then you can transfer files wirelessly with the browser from your computer.
USB Cable
gbrown2036 said:
Are you using the stock usb cable? I've had problems with some but not all generic cables.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Definitely check the USB cable. I had this exact issue before. I checked drivers, did a bunch of un-installing and manual installing of drivers. Finally I tried my stock USB cable and all worked perfectly!

[Q] VirtualBox on Ubuntu

As much as I would like to post this in development as I'm sure it'd get more attention and hopefully find a solution, this is better suited here by technicality...
I'm on Ubuntu 11.04, I have a VirtualBox running Windows XP. I have the Samsung drivers installed on both machines, but we will focus primarily on the Windows machine. I have managed to get windows to fully read my Charge through USB. I can transfer files to and from it.
Here's the problem. Because Heimdall won't correctly flash for the Charge at this point in time, I need Odin. I do not have access to a full blown Windows device so let's just not clutter this thread with those recommendations. This is strictly to find a fix for Odin on my VirtualBox.
Odin will recognise my phone when it is on with USB debugging on. Problem here is that the phone isn't recognised in download mode. Also, when Odin see's the phone, it see's it on 2 separate com ports even with the phone plugged into 1.
So there in is my problem, Odin can find my Charge just not in the problem way. Any suggestions?
boostedjti said:
As much as I would like to post this in development as I'm sure it'd get more attention and hopefully find a solution, this is better suited here by technicality...
I'm on Ubuntu 11.04, I have a VirtualBox running Windows XP. I have the Samsung drivers installed on both machines, but we will focus primarily on the Windows machine. I have managed to get windows to fully read my Charge through USB. I can transfer files to and from it.
Here's the problem. Because Heimdall won't correctly flash for the Charge at this point in time, I need Odin. I do not have access to a full blown Windows device so let's just not clutter this thread with those recommendations. This is strictly to find a fix for Odin on my VirtualBox.
Odin will recognise my phone when it is on with USB debugging on. Problem here is that the phone isn't recognised in download mode. Also, when Odin see's the phone, it see's it on 2 separate com ports even with the phone plugged into 1.
So there in is my problem, Odin can find my Charge just not in the problem way. Any suggestions?
Click to expand...
Click to collapse
OK, I am no expert on flashing ROMs or anything like that really so I do not know how to fix your problem; BUT, as a person who does a lot of work in tech support I can offer some suggestions for a workaround.
First, since it seems you are set on using linux, why not try a different VM manager, such as VMWare rather than Virtual Box. Again, I'm no expert but maybe VMWare will handle USB connections slightly differently than Virtual Box. Don't know, just saying.
Second, and this is what I would do, since you clearly have a copy of Windows XP and the space for it on your hard drive, why don't you just dual boot XP and Ubuntu? Then, you could get a free ext4 reader so could continue to access your files in Ubuntu from Windows. The way I see it is, why spend all this time this time trying to figure out this very specific problem when I believe this solution would work quite well.
streetlightman said:
OK, I am no expert on flashing ROMs or anything like that really so I do not know how to fix your problem; BUT, as a person who does a lot of work in tech support I can offer some suggestions for a workaround.
First, since it seems you are set on using linux, why not try a different VM manager, such as VMWare rather than Virtual Box. Again, I'm no expert but maybe VMWare will handle USB connections slightly differently than Virtual Box. Don't know, just saying.
Second, and this is what I would do, since you clearly have a copy of Windows XP and the space for it on your hard drive, why don't you just dual boot XP and Ubuntu? Then, you could get a free ext4 reader so could continue to access your files in Ubuntu from Windows. The way I see it is, why spend all this time this time trying to figure out this very specific problem when I believe this solution would work quite well.
Click to expand...
Click to collapse
While dual booting is probably my last resort it is an option I've had in mind.
I tried VMWare with no success and think this is more of a usb recognition problem but I'm not certain.
I don't want to dual boot mainly because my hard drive is "limited" as is, and seeing as how this is only a laptop, battery life with Ubuntu is much greater which is something I needed since I am a full time student. If I can't find a solution soon I will probably just build a new desktop and run dual boot with it. Just trying to get a temp solution for the time being.
I do appreciate your advice and will probably end up going that route, just looking to see if there is an easy solution as it seems I'm so close to fixing my virtual box issue.
This can be closed. Wiped my drives and did a dual boot setup.
boostedjti said:
This can be closed. Wiped my drives and did a dual boot setup.
Click to expand...
Click to collapse
That's the way to go. I too prefer Ubuntu, but there's just too many things for my work and my hobbies that work much better in Windows for me not to have a native copy running on my machine. Unfortunately, suspend/resume still is a little finicky on my Toshiba laptop, so I end up having to run Windows if I anticipate I'll be opening and closing it alot...
Another person I met on irc had issues with ubuntu and his toshiba. Thankfully my dell is a champ.
I only needed odin for this phone so 30gb allocated space will be fine. With school I can use all the stuff that comes with ubuntu which is free and it will revert to Microsoft office files. Plus my laptop runs better lol
I know that you wanted to get it working, but I would avoid ever trying to flash a phone from within a virtual machine environment, even if the phone does get picked up. One drop in communication between the virtual USB/host driver/hardware and you could be staring a very expensive paperweight. While a drop in communication is possible even in a non-virtual OS, you're adding another point of failure to the process by trying in a virtual machine, and one that is also quite possibly the weakest link in the entire chain.
imnuts said:
I know that you wanted to get it working, but I would avoid ever trying to flash a phone from within a virtual machine environment, even if the phone does get picked up. One drop in communication between the virtual USB/host driver/hardware and you could be staring a very expensive paperweight. While a drop in communication is possible even in a non-virtual OS, you're adding another point of failure to the process by trying in a virtual machine, and one that is also quite possibly the weakest link in the entire chain.
Click to expand...
Click to collapse
Thanks for pushing me into dual boot in irc lol.
Like you said, just better this way.

screen went wrong

hey guys, my phone's screen has gone wrong, whenever i start it, it shows only a grey and black strips, so pls help me how to fix that.. need dire help.
Which phone, what ROM, what all you did before this happened?
immortalneo said:
Which phone, what ROM, what all you did before this happened?
Click to expand...
Click to collapse
nothing, it was stock rom, kept on the table, went out for an hour, came back picked up the phone, switched it on and voila!! found the problem, i can feel the capacitive buttons and all the other things going on but can't see anything, tried removing the battery- did not help....
sralli said:
nothing, it was stock rom, kept on the table, went out for an hour, came back picked up the phone, switched it on and voila!! found the problem, i can feel the capacitive buttons and all the other things going on but can't see anything, tried removing the battery- did not help....
Click to expand...
Click to collapse
Sounds like a problem with the LCD screen (well, duh ) but it may just be a loose cable. If the device is still under warranty then return it for repair, no messing about or anything else.
Till you get a replacement device try the following steps to gain a little functionality.
Note; you'll want to ADB (Android debugging bridge) to install the suggested app to the broken device.
Use droid VNC server on the device you want to view remotely
https://play.google.com/store/apps/details?id=org.onaips.vnc&hl=en
http://opensourceexcedio.wordpress.com/2010/10/28/droid-vnc-server/
use “what is my ip” google search when connected to the wifi or via modem tethering to find your IP address
Then copy past the multi digit code into the app you are using to connect to the device
Example IP: 107.168.192.2.1
Note you'll still need the "port" number too.
App to use to connect to your device you want to view
https://play.google.com/store/apps/details?id=me.freeroam.android.androidVNC
There are only three required places to edit to make a good connection
1. Target IP
2. Target port
3. Password (sometimes username but leave it blank if the Target doesn't have one set)
This will give you a remote viewing screen so that you can get your info off easy. Furthermore you can use your computer instead of a second Android device to make the connection and this may be easier to interact with too.
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
Thanx for all the help guys.. i think it was the problem with the fps.. i read sumwhere that, if a device loses (depletes) it's battery then it's fps may get wrong, so the technique was to keep it idle for some time.. but how i fixed it was by keeping the charger in, removing the battery and again re- inserting it, voila- the screen is working alright, this trick may help some... it took me 4-5 tries like this to get it working, so don't get disappointed if it doesn't work after a try!!!

have .fw but need .IMG any ideas?

Long story short.
AGPTEK 718JQ quad core IPS screen, runs like a champ
or did
its my msons, and last night he turns it on and i havve the android robot on his back with his door open.
Som Im thinking corrupted OS
Ive flashed more than my fair share of tablets, but this ones giving me fits/
The maker: http://www.agptek.com/support/download.html has a manual drivers and FW
only problem is all my pcs are either linux or Win7 and theres a known issue w/ WIN7, mostly the driver wont start to allow their tool to connect to the tablet, even if i manually set it up.
Have considered trying to boot WinXP from a USB and trying that, but before I go that route, seems to me as though there should be a method whereby I could convert the .FW files to a .IMG file write it to a micro SD and reboot the tablet/.
anyone w/ any ideas they are deeply appreciated
thanks
j

Running Andy OS in bridged network mode and backing it up

I needed some of my apps running on AndyOS to search/recognize/talk with the the machines on my physical network. I checked in the VMWare player that installs with AndyOS. It turned out that the AndyOS guest was having two virtual network adapters one configured in NAT and another Host Only. As far as my understanding goes, to let guest to communicate with machines on physical network we need guest to have virtual network adapter connected in bridged mode. So I configured one and booted Andy OS. Power off those other two virtual NICs and ran the OS from VMWare. But it seems that AndyOS is not meant to run directly through VMWare. Is it so? It did not started. So I started it from the Start Andy system tray icon. It loaded only the bottommost black button bar of the Andy but nothing else. Now I have reset whatever I have done and trying it to start. But same behavior, only the bottommost black button bar loads. Seems that I have screwed my Andy OS. Is it? (1)Is there are any way to recover. I am surprised to find this since I did not do much changes and still the stuff is not working well. Now I think I should have copy pasted old stable vmdks somewhere so that I could have ran Andy from them once it gets screwed. But (2) is it possible to copy paste vmdks as say system image? Anyone tried?

Categories

Resources