USB OTG in Place? - MTCD Hardware Development

Does anyone know if it's possible to access the PX5's OTG USB using one of the existing external USB connections (without having to pull the head unit apart)? I'm trying to get a USB connection for ADB and came across this on the wiki:
Bootloader mode
Holding the power button while turning on the unit will get you into bootloader mode. **This is battery power not acc power** The screen will be black but plugging in a usb to the front usb will prompt the PC to install the RockChip bootloader drivers - this might help http://www.cnx-software.com/2013/11...install-rockchip-usb-drivers-in-windows-xp78/
Click to expand...
Click to collapse
I noticed on the MTCD schematic that the MCU has pins for CTL_RECOVERY and CTL_WAKEUP, which leads me to believe it might be possible to program the PX5 in place using some sort key combination. I tried the wiki instructions, but can't get the PX5 get picked up at all on the USB connection.

It depends on the hardware - Some GS might as the original GS has the hardware configuration and switch correctly implemented, which some GS users have reported. Others manufacturer units might not, ostensibly because they messed up the implementation (e.g. my JY or Joying).
Give it try, put device into recovery mode and connect usb port to PC.

Teh crickets!

Oops, pardon the late response. I've given it a try and the manufacturer even sent a special cable (purple connector instead of the white), but I'm unable to get the PC to detect anything on the USB port. Doesn't even try to enumerate a device on Windows.

If it helps, this is a KLD device.

Related

No USB devices work without powered hub on archos 70

Just a word of warning so others don't do as I did.
If you are messing with USB devices in host mode that require more power than what the Archos 70 can provide (100mA), and require extra power, use a powered hub at your own risk. It has the advantage of providing extra power, however after using one I now am unable to power anything without the hub. It seems that I now have 0mA from the unit. I did have the multi adapter (which was powering the hub) on the wrong (higher) voltage at one stage so it could be that, or there could have been a spike when I was trying (unsuccessfully) to get my usb DVB device to work. So I might have fried it!
This isn't a major problem and the USB port still works with the powered hub if I boot the unit with the hub connected, so I can link up a wireless keyboard/mouse and a usb pen at the same time. It just means that I can't use the usb host function at all if I am not near a plug socket. There are no issues with connecting to a PC in slave mode.
I have been messing around with SDE firmware and various rooting options, and the failure cannot be 100% pinned to the use of a powered hub, as I understand firmware updates can cause issues. The irritating thing is I would have voided my warranty, however I am not sure that I will miss the 100mA of power that much!
So you say, you can still connect devices, but only with a powered hub in between?
So data is still working but power isn't?
You may take a look at this topic: http://forum.xda-developers.com/showthread.php?t=948935
chulri said:
So you say, you can still connect devices, but only with a powered hub in between?
So data is still working but power isn't?
You may take a look at this topic: http://forum.xda-developers.com/showthread.php?t=948935
Click to expand...
Click to collapse
That is correct - I did take a peek at that topic before, and it was more specific to the 101, but I have seen other posts around that suggest that the 70 has similar issues. I can't see a solution, and I would imagine that it is a hardware issue. It would not imagine it was built with the idea that someone would attach a powered hub to it. There are no other issues with the device, and I don't have a problem with the screen powersaver.

WIFI problem, doesn't start at all

Hi,
i have problem with wifi on my tg01 orange. It won't start. However it started twice after many attemps, when i tested this phone immediatelly after receiving, but later never again. I tested several roms with different radioroms. At this moment depending on rom version after clicking on wifi icon i have message "in preparation, please wait" or just nothing. Can i do something with it or it is hardware issue ?
What is more, after plugging headphones cable nothing happen. Does tg01 should autodetect headphones cable ?
Regards, Tom
avathar said:
Hi,
i have problem with wifi on my tg01 orange. It won't start. However it started twice after many attemps, when i tested this phone immediatelly after receiving, but later never again. I tested several roms with different radioroms. At this moment depending on rom version after clicking on wifi icon i have message "in preparation, please wait" or just nothing. Can i do something with it or it is hardware issue ?
What is more, after plugging headphones cable nothing happen. Does tg01 should autodetect headphones cable ?
Regards, Tom
Click to expand...
Click to collapse
Tom,
WiFi - Forgive if 'teaching granny'; use Wireless Manager to turn on WiFi. Then Start|Settings|WiFi Settings and you should get a display of any available WiFi devices. If nothing showing, tap 'Add New' to allow insertion of the SSID info for a known device and force a search. Are you able to check connectivity with your hub using another WiFi enabled phone or PC in the same location ? Assuming that works OK, try seeing if the WiFi adapter for that device can be detected by the TG01 in close proximity. If you are not getting anything at this point, then I'm afraid it suggests a probable hardware issue with the radio in your TG01. Depending on where/how purchased, you may be able to go back to the vendor if within warranty; alternatively it may be worth contacting the authorised Toshiba Repair Centre in the UK - Regenersis Ltd in Scotland. They would have the necessary facilities to test/repair.
Audio Output - the TG01 uses the newer micro-USB port standards. This defines a single port capable of multiple functions: Charging, Analogue Audio Out (+mic), Data (USB sync) and also USB Host capability. It does this under processor control by sensing the type of device being attached. One aspect is based on the resistance seen between the 0V pin and Pin 5 ( a special 'sense' pin). For audio output, it uses the resistance across the D+ and D- (Pins 2 and 3). If you plug in earphones or similar which have too low a resistance, it will not recognise them and therefore will not switch the audio output from the phone speaker to the uUSB port. The supplied audio adapter includes appropriate resistors. You can also buy simple uUSB to 3.5mm adapters which include or can make or adapt your own. There are references to this with more detail in this post in a different thread.
Good luck, and hope you are able to get the TG working properly
Regards,
Kevin
Thanks for reply.
1.wifi problem isn't in network search or connect, but in turning on. I can not turn it on. When i'm trying to turn it on i see "in preparation, please wait" - this is what happening on original orange ROM. Now i'm using miROM1_cfc and there is just no reaction when i try to turn it on.
2.headphones - i'm not sure that i understand everything. So if i will put 500ohm resistor between D+ and GND(0V) and between D- and GND(0V) and such a prepared cable i will connect to phone ,it will cause headphone mode ? if yes, it didn't work for me.
Is this specification of audio detection same for miniUSB and htc diamond ?
avathar said:
Thanks for reply.
1.wifi problem isn't in network search or connect, but in turning on. I can not turn it on. When i'm trying to turn it on i see "in preparation, please wait" - this is what happening on original orange ROM. Now i'm using miROM1_cfc and there is just no reaction when i try to turn it on.
2.headphones - i'm not sure that i understand everything. So if i will put 500ohm resistor between D+ and GND(0V) and between D- and GND(0V) and such a prepared cable i will connect to phone ,it will cause headphone mode ? if yes, it didn't work for me.
Is this specification of audio detection same for miniUSB and htc diamond ?
Click to expand...
Click to collapse
WiFi - It's pointing to hardware I'm afraid. But if you are willing to try another ROM, suggest try my WM6.5 edition (see link in my sig) and see what happens with that. It's using Radio 0300.76. If that also shows the same symptoms then I think you will need to look for a repair.
Headphones - yes should work OK. A baseline check would be to just plug in the supplied headphone adapter - does that work ? If so then there is nothing wrong with the phone and in which case I'd recommend checking you are using the correct pins on the uUSB plug and/or that there are no solder whiskers between contacts or similar (apologies if 'teaching Granny' here ). I'm not familar with any devices using a mini-usb in a similar manner - only one I've had with mini-USB was a Motorola RAZR3 but that was essentially just a 'dumb' hardwired USB port. The re-configurable approach only arrived with the introduction of the uUSB standard along with the TG01, HD2 and similar. Don't know about HTC Diamond, but in general HTC used a proprietary 11-pin connector which includes dedicated separate audio out as well as data and charging capabilities.
Best regards,
Kevin
kevinpwhite said:
WiFi - It's pointing to hardware I'm afraid. But if you are willing to try another ROM, suggest try my WM6.5 edition.
Click to expand...
Click to collapse
yes i tried several ROMs and Radio ROMs
kevinpwhite said:
A baseline check would be to just plug in the supplied headphone adapter - does that work ?
Click to expand...
Click to collapse
No it isn't working that is why i'm asking.
To eliminate all problems that can be found at this headphone adapter i created special cable.
I used uUSB->USB cable (included with phone) and USB cable removed from mouse, so i can easily attach here resistor for test purpose.
And once again if i will put e.g. 500ohm resistor between D+ and GND and second resistor between D- and GND(no headphoes connected), this should force headphone mode ?
avathar said:
yes i tried several ROMs and Radio ROMs
No it isn't working that is why i'm asking.
To eliminate all problems that can be found at this headphone adapter i created special cable.
I used uUSB->USB cable (included with phone) and USB cable removed from mouse, so i can easily attach here resistor for test purpose.
And once again if i will put e.g. 500ohm resistor between D+ and GND and second resistor between D- and GND(no headphoes connected), this should force headphone mode ?
Click to expand...
Click to collapse
I'm very sorry - can't think of any other simple checks re the WiFi just now.
However still some hope with the headphone output - I can now see from your photo that you have used the uUSB to USB A Host adpater - the plug on this is internally wired with a short between pins 4 and 5 (0V and the Sense pin). That causes the device to go into Host mode - so it is expecting to see a USB Flash Drive or similar on the end - not headphones. You need a lead with a basic uUSB B (that's the shaped connector with black insert rather than this one which is rectangulat with a white insert).
When I mentioned the 'original connector' previously, I was referring to checking with the supplied earphone/mic cable....
Hope that helps resolve...
Best regards,
Kevin

[Q] Root w/o USB

I got a bolt recently for parts, and it turned out being in better condition than my current one.
Only downside to the new one is that the USB port will only charge and not recognize being plugged into PC.
I've seen an app that allows wireless adb w/o root, but it requires you to be plugged in to initiate it...
Just wanted to see if there was any hope for getting root on the thing...
bobz1993 said:
I got a bolt recently for parts, and it turned out being in better condition than my current one.
Only downside to the new one is that the USB port will only charge and not recognize being plugged into PC.
I've seen an app that allows wireless adb w/o root, but it requires you to be plugged in to initiate it...
Just wanted to see if there was any hope for getting root on the thing...
Click to expand...
Click to collapse
You may just need a different cable, or to use a different USB port on the PC.
May even wanna try a friends/family members PC if yours doesn't have at least one powered USB 2.0 port.
Most likely it's the cable, the port, or lack of drivers on the pc.
If the port gets power to charge, then the port should be fine.
santod040 said:
You may just need a different cable, or to use a different USB port on the PC.
May even wanna try a friends/family members PC if yours doesn't have at least one powered USB 2.0 port.
Most likely it's the cable, the port, or lack of drivers on the pc.
If the port gets power to charge, then the port should be fine.
Click to expand...
Click to collapse
The phone does work great for the most part, but the water damage stickers are bad. I popped it open and the insides look alright, but considering the sticker on the inside is bad too, there may be a chance it messed with one of the pins or something on the micro USB port. It is too small and covered for me to be able to tell if part of it is actually bad. Computer notices something was plugged in (listed as unknown).
As I mentioned, it was listed as a parts phone (claimed to not turn on), but figured I could pull the screen assembly if i cracked another one..
Same result using multiple computers/wires, leaving it to the phone.
I have rooted many of these before using the old adb methods and revolutionary, generally using your ROMs, mainly because they're made with quality and you're one of the only developers this phone has left.
I've been trying to work around the need for the USB cable, but using adb provides the permissions needed to get the files over to the data folder.. I do have ssh access to the phone, but the commands are very limited (no dev mode).

[Q] Unable to connect to pc (no it's not a driver issue....)

Hi,
Having a problem since a few weeks with my s3.
Normally i could connect wiht my phone to any pc,, without any problems. Either it be unix, win, whatever...
Suddnely it stopped working, only thing that happens is charging when i connect it to my pc. Different cables tested, original one, etc..
Connecting it to different pc's resulted in a no go.. so it must be phone related.
No windows pop up, or anything!!
So I figured: Let's install a new rom.
Tried ultima 15 rom, got a different CM rom now (sentinel)... all to no avail.
Is it possible that this has something to do with my radio?
rom info:
android: 4.3
baseband: CEEMG2
Anyone have an idea what to do? Even ADB push ain't working..
See your identical post
I experienced the same problem when m using the Galaxy Nexus S But it was solved by using the app from play store named SD booster... In this app m just set the value of sd card to 1024 give root access and Boom my phone is connected as normal
If this not help then i seriously recommend you to replace the charging port of the mobile through samsung outlet
Go into developer settings, some ROMs may have different ways to get into develop er setting and after you get in make sure USB debugging is enable ^.^
Sent from my SPH-L710 using XDA Premium 4 mobile app
Usb debugging is not required for phone to pc connection see basic faqs and guides .
But as OP has ruled out drivers and cable that only leaves the phone so its worth trying .
Usual replies are
Drivers
Cable
Dirty USB Ports
Not connected to main-board usb port .
I had same issue with my Galaxy SII and when i took it to service center they said mother board needs to be replaced.
So after that SII was good as new.
Got same problem here.
phone is charging over usb , but no data connection (tried different usb cables, different usb ports, different pc etc) but nothing..
also.. tried in download mode and so (after reading forums..) but without success.
then i decided to dissasemble that phone and look, what's inside that beast
cleaned usb port (inside, with contact cleaner), resoldered all pins and etc..
reassembled it back to one piece again and still, no data connection, but only charging
so, here i am, what to do next ? change the usb port on motherboard ?
(visually, everything looks right, good solder points and etc.)
Thanks, Martin
hani93 said:
Got same problem here.
phone is charging over usb , but no data connection (tried different usb cables, different usb ports, different pc etc) but nothing..
also.. tried in download mode and so (after reading forums..) but without success.
then i decided to dissasemble that phone and look, what's inside that beast
cleaned usb port (inside, with contact cleaner), resoldered all pins and etc..
reassembled it back to one piece again and still, no data connection, but only charging
so, here i am, what to do next ? change the usb port on motherboard ?
(visually, everything looks right, good solder points and etc.)
Thanks, Martin
Click to expand...
Click to collapse
if anybody interested:
i've got it working again :victory:
basically, the problem was the hard way (crap usb data connections on motherboard)
soldered new ways for data+ and data-, and now it's back alive again...
(pictures of ways in attachment)
Martin
see you fixed it already but a note to others :
try using usb port right on the motherboard instead of the case front panel usb ports.....connecting to the front usb ports didn't work for me on some roms, but the rear one always connected so I just have a long cable running out of the back to connect my phone and it works on all roms I've used so far
Nice work hani93, i unfortunately do not dare to desolder and solder this stuff
I've noticed another thing though which is weird!!
When i tried to charge my phone via the power charger (the ac one?), when i check my battery view it still says that i'm charging via USB.
I don't think this is correct, i thought it should say AC or something and when charging via USB port on pc it should display USB?
I think this might be one of the issues that it's also not popping up on the computer.
Anyone know what is causing this or someone can confirm that when charging via power supply it should say something else then USB?
Just confirming your question when charging by PC it says (USB) and when its charging from the Mains it says (AC).
hmmm... guess it must be a hardware issue then?
Either usb port or mainboard... christ...
open it up and cleaned the contacts a bit of the usb port...
Still not functioning..
Morbie said:
open it up and cleaned the contacts a bit of the usb port...
Still not functioning..
Click to expand...
Click to collapse
try to go into Download mode (volDown+Home+Power) and then connect usb, same situation?(eg, no data connection to pc ?)
if nothing again.. try to clean usb port inside (where you plug usb cable), sometimes there is dust and etc. then it stops working.
also, how did you clean contacts on motherboard ? i suggest to take soldering iron with clean bit, and drag iron along the pins.

screen broken, trying to get control [SOLVED]

hello,
my screen is broken (half lower part of screen is no sensitive responding)
I have tried a full restore but this don't work,
so now I have a full clean phone with the first install screen and no usb debug. (and screen don't want to rotate at this time)
I have acces to adb only under TWRP.
I would like to use this phone as 4G router.
I have done this https://forum.xda-developers.com/showthread.php?t=2786395
but still not managed adb working on booted phone.
any idea ?
If it's only the touchscreen which is no longer functioning on the lower half of your screen (and the full display is still functioning) then the easy solution is to connect a mouse or a USB touchpad to your phone. I have done this several times when I have dropped phones and damaged the touch screen. If you are going to use a regular mouse, then you will only need an adaptor to allow your mouse's USB socket to plug into a 'micro USB to USB' cable. I didn't need this, as I already had a USB touchpad which uses a micro-USB socket.
Geoff2 said:
If it's only the touchscreen which is no longer functioning on the lower half of your screen (and the full display is still functioning) then the easy solution is to connect a mouse or a USB touchpad to your phone. I have done this several times when I have dropped phones and damaged the touch screen. If you are going to use a regular mouse, then you will only need an adaptor to allow your mouse's USB socket to plug into a 'micro USB to USB' cable. I didn't need this, as I already had a USB touchpad which uses a micro-USB socket.
Click to expand...
Click to collapse
yeha I have tried, but I never managed to get OTG working on my Z5c, I have tried many mouse.
May I must do something to get OTG working ?
hazote said:
yeha I have tried, but I never managed to get OTG working on my Z5c, I have tried many mouse.
May I must do something to get OTG working ?
Click to expand...
Click to collapse
I have just tried to connect my USB keyboard and touchpad for the first time with my Z5 compact. Unlike with my Z3 compact, they didn't work straight away. However, you can get them working like this: (1) Settings>Device connection>USB Connectivity (2) plug in your device (3) Click on 'detect USB device.' This will take up to a minute. You will get a message saying 'USB Connected.' Then you can use your mouse/keyboard/whatever. Hopefully, your broken touchscreen will not prevent you from doing the above!
Geoff2 said:
I have just tried to connect my USB keyboard and touchpad for the first time with my Z5 compact. Unlike with my Z3 compact, they didn't work straight away. However, you can get them working like this: (1) Settings>Device connection>USB Connectivity (2) plug in your device (3) Click on 'detect USB device.' This will take up to a minute. You will get a message saying 'USB Connected.' Then you can use your mouse/keyboard/whatever. Hopefully, your broken touchscreen will not prevent you from doing the above!
Click to expand...
Click to collapse
I can't because I'm on the first install screen and don't even have the rolling menu.
I put a old usb connect and boot with usb bluetooth mouth plug in (so plug in it before boot)
and I get a cursor !
so I had put usb debug, instal some air droid apk, and a tethering apk on the upper on my screen !
thanks all

Categories

Resources