I came across this the other day
http://htc-vogue-100.handster.com/software.php?id=3339&for=HTC+Vogue+100
It uses the vogue's USB-Host??? Does the vogue have USB-Host driver???
I'm only asking because i'm interested in using Zeno USB host drivers http://forum.xda-developers.com/showthread.php?t=480899, but the device requires to have usb-host.
thoughts?
thanks.
I'm not sure what your intentions are, but if it's just for use at home, use MyMobiler. It's free and allows you to control your device throught your PC.
Anyone know why "logcat" works when run via ADB but not when run from a local console (EG via connectbot)? I assumed they would use the same UID but in hindsight I'd guess that any android app that starts a shell would be running with the parent app's UID and ADB would provided a different UID again .
I'm trying to investigate what the N1 currently does with a powered (hacked together) USB OTG cable (say connected to a flash drive) I know the kernel doesn't currently support the host mode switch (or at lease it didn't when I was messing with my G1, don't know about 2.1 ) but I wanted to see if anything at all happened.
Anyone done any OTG experimentation of the N1?
I haven't done debugging yet, but I'm interested in your efforts. I'm looking to USB OTG support in an Android phone for MIDI sequencing purposes (record MIDI data on the phone from a USB powered MIDI device). Many people are saying that WiFi/Blutooth solutions are the way to go, but that requires the devices to be powered separately. USB OTG would solve the power problem and in the case of MIDI, solve the latency problem (not to mention that most devices are USB and don't have wifi/bluetooth support...so that would mean making an in-between widget to convert USB to wireless on the device side while powering it).
TL;DR Smashed phone, need to find a ROM with ADB enabled to use it
Long story short, I smashed my phone last Friday. The LCD screen works and the phone appears to be fully functional except for the digitiser. I had ADB disabled as I frequently plug my phone into computers at university and elsewhere and I don't want to run the risk of ADB commands being run maliciously. Since the Nexus 4 can't do USB OTG without a splitter cable (and, I believe, some configuration) I can't just plug in a mouse to control the phone. Annoyingly, this happened while moving house and I don't have internet at home until tomorrow; I was planning on using USB or WiFi tethering to get my PC online.
I found this page with a suggestion on what I might be able to do. Alternatively, my other plan is to connect an Ouya controller by bluetooth and use the touch pad on that to control the phone. Either way, the plan hinges on using ADB to control the phone to begin with to either configure an app or enable bluetooth.
I've noticed a lot of ROMs (since 4.3.1?) have ADB disabled until the user enables it. Also, whether or not ADB is enabled to begin with isn't something a developer is likely to list in their first post. Does anyone know any ROMs that have ADB enabled on first boot? Any other suggestions on what to do would also be great.
Hi, I've been reading, re-reading and reading the Android SDK docs about USB connection.
I have developed and application which is quite useful however, after many days and hours of research I cannot for the life of me figure out how to detect:
When my handheld device is attached to any device (macbook, PC, laptop)
Communicate between connected device and handheld using USB
Detect keystrokes on connected device - when I type on the, for example, laptop which my handheld is connected to using USB I'd like to detect when I type on my laptop
Detect any other events such as opening of a browser, application or whatever on connected device using USB
I don't know the vendor information of device what the handheld will be connected to using a USB cable.
Can anyone point me in the right direction, I'm not asking for a solution more a tips, hints and maybe someone knows a library which already handles what I need to solve?
Many thanks in advance.
Detect Connected Laptop/Desktop Events USB
*edit* What I need is a way to find detect keyboard strokes from the device connected to my Android smartphone.
Is it possible to detect whether the handheld is connected to a desktop/laptop and using USB detect the events on the laptop/desktop?
It's looking impossible at the moment. I have spent quite a few days just figuring it out and have got no where.
Thanks in advance.
chronograff said:
Hi, I've been reading, re-reading and reading the Android SDK docs about USB connection.
I have developed and application which is quite useful however, after many days and hours of research I cannot for the life of me figure out how to detect:
When my handheld device is attached to any device (macbook, PC, laptop)
Communicate between connected device and handheld using USB
Detect keystrokes on connected device - when I type on the, for example, laptop which my handheld is connected to using USB I'd like to detect when I type on my laptop
Detect any other events such as opening of a browser, application or whatever on connected device using USB
I don't know the vendor information of device what the handheld will be connected to using a USB cable.
Can anyone point me in the right direction, I'm not asking for a solution more a tips, hints and maybe someone knows a library which already handles what I need to solve?
Many thanks in advance.
Click to expand...
Click to collapse
Hi,
My brothers phone screen is basically unusable.
When I connect the phone to the PC it recognises it in Windows but the phone contains no folders. At first I assumed it was because his screen was locked so I connected a OTG and keyboard and using commands managed to get his phone "unlocked" to the home screen.
However this didnt fix the issue.
Reading around it seems I may need USB Debugging enabled (if he hasn't already) but due to not being able to use the screen how would I do that?
Do I need a MICRO USB to HDMI & USB adapter to use a mouse and TV output?
Or is there a way I can fix this through windows using ADB?
At this point we are willing to try anything as all we are looking for is some family photos off of it then binning the phone and I don't want to put £100-200 into the screen replacement just to attempt this data recovery.
All help is greatly appreciated,
Cheers
ADB is the door to any Android device. As long as ADB has not been activated on the device - and the related RSA keys got created - you have no chance to pull out data from device, IMO.
Ok,
Well see the fact when I connect it to windows it shows the phone but not the folders inside, and I can only assume there will be a popup on the screen mentioning to ALLOW/DECLINE transfer etc..
If I use the OTG adapter I can plug my keyboard in and use the sequence SPACE, SPACE, BKSPACE, BKSPACE, then my PIN and ENTER and it unlocks to the home screen.
But because I would need the phone connected by both PC and KEYBOARD at the same time is it possible to get a splitter on the OTG adapter and this would hopefully let me press RIGHT and ENTER to accept the message?
If not then can the phone be connected via HDMI to see if any message is infact popping up??
Rowan88 said:
Hi,
My brothers phone screen is basically unusable.
When I connect the phone to the PC it recognises it in Windows but the phone contains no folders. At first I assumed it was because his screen was locked so I connected a OTG and keyboard and using commands managed to get his phone "unlocked" to the home screen.
However this didnt fix the issue.
Reading around it seems I may need USB Debugging enabled (if he hasn't already) but due to not being able to use the screen how would I do that?
Do I need a MICRO USB to HDMI & USB adapter to use a mouse and TV output?
Or is there a way I can fix this through windows using ADB?
At this point we are willing to try anything as all we are looking for is some family photos off of it then binning the phone and I don't want to put £100-200 into the screen replacement just to attempt this data recovery.
All help is greatly appreciated,
Cheers
Click to expand...
Click to collapse
OK, new to this. To get usb debugging on, click system. About phone, Software information, build number. Click that several times. (AT least 10). You will see a message that you are in developer mode. Go back to home screen. Click settings icon. Scroll to bottom you should now see { } Developers optiions. Click that. Find the section for ADB, enable ADB. Once ADB is up and running you should be able to pull the files. The screen for an android is the desktop, mouse, and keyboard. (PC analogy). You need something to see your icons, something to click, and a keyboard. If OTG acts as a mouse, and you can see the basic display, and have an external keyboard. I think you can do this. I am not sure what OTG is .
wdtr2002 said:
OK, new to this. To get usb debugging on, click system. About phone, Software information, build number. Click that several times. (AT least 10). You will see a message that you are in developer mode. Go back to home screen. Click settings icon. Scroll to bottom you should now see { } Developers optiions. Click that. Find the section for ADB, enable ADB. Once ADB is up and running you should be able to pull the files. The screen for an android is the desktop, mouse, and keyboard. (PC analogy). You need something to see your icons, something to click, and a keyboard. If OTG acts as a mouse, and you can see the basic display, and have an external keyboard. I think you can do this. I am not sure what OTG is .
Click to expand...
Click to collapse
1. I cant follow that process as the screen is completely destroyed (no display/no touch), thats why I have been blindly using a keyboard to try and find the setting
2. OTG is ON THE GO , its a small adapter that lets you connect USB devices to your phone.
Sorry about that. I think you are stuck. without some visual clues I think you can not put the phone in developer mode. Did you try just a plugin (via usb) into windows and seeing if there is a pictures folder?
It find the phone in Windows, but wont display the folders.
The OTG splitter I purchased to be able to connect it to the PC and KEYBOARD at same time didnt work as it doesnt supply power (should have checked reviews).
Any other solutions? Or is this a new screen for £200 just to get data?
I purchased another OTG splitter that has a OTG/CHARGE switch so this should let me connect it to the PC and KEYBOARD.
Can anyone give me shortcut keys or step by step on how many times I need to press certain buttons to get down to the USB DEBUGGING section please?