onoz ! i have twrp and boootloader, but no system files... HELP ! - Nexus 7 (2013) Q&A

due to my own stupidity, i had unlocked and installed twrp with a lot of effort, as the usb is decidedly iffy
i managed to use a file manager to import the requisite lineage rom and gapps, and then in my infinite wisdom stored them somewhere volatile - one mistake i won't make again
and so when i cleaned the device prior to a "new" install, i inadvertently lost the zip files, and now the computer refuses to recognise the device
no amount of forcing the right usb driver onit works, because i presume the computer does not know it's a flo
so, is there any way i can get it connected and push the roms to storage ?
my skills at the command line are limited, but i can follow scripts
this is sad, as i was soooooooo close to completing the install, after which the usb would have become redundant (i have a wireless charger and can wifi file across with a working system)
is this thus my very first brick ?
or can i trick the usb connection into working with the computer, or somehow wirelessly transfer to such a basic installation, or rig an otg connection (i have no cables that would seem to join micro-usb to any female plug to use a memory stick or sd card in adaptor)
thanks for any suggestions :fingers-crossed:

Get an image file from Google https://developers.google.com/android/images
Try going into TWRP and go into sideloading (can't remember exact menu - only used it once to get out of a similar problem), then try to connect USB lead to PC.
Run flash-all.bat on PC and that should at least get a system on the device.
Maybe...

thanks for the suggestion, but the sideload could place the lineage.zip instead if the computer would accept a usb connection - that's the problem: sideload can't work because the usb device is not recognised
my best bet would appear to be load the zip via otg - the twrp interface appears to allow that
i'll report back here if that works (once i procure a usb otg connector)

I was in a similar position once and couldn't get a normal USB ADB connection with PC until I tried TWRP sideloading which kicked in the PC connection.
Did you try it?
OTG was the next thing I was going to suggest

scruffy1 said:
the usb is decidedly iffy
no amount of forcing the right usb driver onit works, because i presume the computer does not know it's a flo
Click to expand...
Click to collapse
As the USB port is broken there is no hope that an OTG adapter would work because it can not function without the data connections, exactly like PC-USB. Have a look at the port's soldering, it may need some re-work. If the port's connectors are damaged then a replacement is very cheap.
:good:

k23m said:
As the USB port is broken there is no hope that an OTG adapter would work because it can not function without the data connections, exactly like PC-USB. Have a look at the port's soldering, it may need some re-work. If the port's connectors are damaged then a replacement is very cheap.
:good:
Click to expand...
Click to collapse
thanks for the suggestion
i sprung the back and was going to attempt to reflow the solder in case it had a dodgy connection - but i noted that the actual usb connector looked like it had been stretched, and took to it with my favourite pliers and performed some creative metalwork by squeezing it
lo and behold! the otg connection worked, at least for long enough to transfer the custom rom
thereafter when i reassembled the case, the otg connection failed but now the usb link seems to be happy enough even though that makes no great sense seeing it is the same connector port, and the otg works on my other android devices
still, gotta take what you can get, and i am now the proud owner of a nexus 7 "flo" with lineage doing nicely
thanks for all assistances

scruffy1 said:
thanks for the suggestion
i sprung the back and was going to attempt to reflow the solder in case it had a dodgy connection - but i noted that the actual usb connector looked like it had been stretched, and took to it with my favourite pliers and performed some creative metalwork by squeezing it....
Click to expand...
Click to collapse
Ahh this explains why my N7 - used daily - has never developed any USB port problems! I thought that this USB port's construction was rather 'weak' so preemptively I applied a simple reinforcement, have a look at the attachments.
It was 4 years ago....
:highfive:

Related

[Q] USB host? Is it possible with the a100?

Hello friends, I am new to this forum, but certainly not new to the tablet world. I purchased the iconia a100 a few weeks ago and I must say it is a superb tablet in almost everyway. That being said, I am trying to come up with a solution for the lacking usb host on this tablet. I am certainly not a dev, but I am wondering if there is anything in the works for a working usb host? Does anyone know if acer has any plans to offer an adapter or even a different docking station with the usb host working from the 40 pin? If anyone has any ideas or would like to start a project i will be glad to help in anyway I can. While i was researching this usb host problem i see that there was a very sinilar situation with the galaxy which has since been resolved. Any suggestions? Thanks
Not yet possible, but you can pretty much count on it to be baked into a custom ROM when we get the ability to fully unlock and root this device. Root is already possible, and done. Unfortunately, we cant really do much development on it right now due to the encrypted bootloader. Most devs are waiting for the ics update in January to get the ball rolling on tweaks and hacks to the a100.
Sit tight, they'll have you up and running in no time
ummmmm............ could you repeat that?
This is also #1 on my wishlist. However, I don't know if that is even possible with a custom ROM; it requires the hardware to support it and I don't recall seeing any teardown that states that it would be possible.
I've seen it done in various phones, but don't know if its been posted on any here, but I'm sure a search on the forum would help find them. Its a matter of reconfiguring the port in the programming and getting an adapter from micro USB to standard USB.
But don't quote me on any of this, I could be mistaken with other devices. There has been talk about USB hosting on the a100 before.
ummmmm............ could you repeat that?
Yes, you would need something called an OTG (on the go) adapter. The hardware in the device has to support host, so it is not JUST software.
I can confirm that i have tried the otg adapter as well as other adapters...and it only works as slave. I would just like someone to confirm that usb host is possible [that the harware supports host capabilities]. I am just glad to see there are more people interested in fixing this problem as this tablet is superfast and top quality in every other way in my opinion. Thanks again
Maybe something comes out of
http://www.circuitsathome.com/mcu/programming/android_adk_compatible_usb_host_library_release
I ordered an OTG cable and once it comes I will take a look at enabling USB host mode.
I am guessing that the hardware supports USB host, but will need a kernel module and some scripts to enable it.
I also suspect that the USB port will not supply power to an attached device. If this is the case, the workaround is to attach a powered USB hub to the OTG cable.
Crossing my fingers, and waiting for that OTG cable to come in the mail...
flar2 said:
I ordered an OTG cable and once it comes I will take a look at enabling USB host mode.
I am guessing that the hardware supports USB host, but will need a kernel module and some scripts to enable it.
I also suspect that the USB port will not supply power to an attached device. If this is the case, the workaround is to attach a powered USB hub to the OTG cable.
Crossing my fingers, and waiting for that OTG cable to come in the mail...
Click to expand...
Click to collapse
USB host is enabled in the kernel. Hardware does support USB host.
Acer left it off the board entirely, so I doubt much can be done without hardware modding, which I'm all for lol.
Tapatalked from my Galaxy S II.
Sounds grim if the hardware connection is not there, are we sure that the port is just not supplying power?
do the kernel modules load? (e.g. usb-hid, usb-storage)
Has anyone actually tried to:
a) insmod the correct modules
b) force change to host mode (the device probably has to be either slave or host, not both at once)
c) connect something (e.g. a mouse or a thumbdrive) through the otg cable and a powered usb hub?
At least I won't have to build a kernel to test this out.
flar2 said:
Sounds grim if the hardware connection is not there, are we sure that the port is just not supplying power?
do the kernel modules load? (e.g. usb-hid, usb-storage)
Has anyone actually tried to:
a) insmod the correct modules
b) force change to host mode (the device probably has to be either slave or host, not both at once)
c) connect something (e.g. a mouse or a thumbdrive) through the otg cable and a powered usb hub?
At least I won't have to build a kernel to test this out.
Click to expand...
Click to collapse
I know this comes up every now and then, I really dont know how far anyone gets before giving up. Feel free to try out whatever you want, while I don't care about USB host I know a lot of people do and would love an update on any progress anyone can make. Even if its just things that don't work.
Acer is generally lazy and cheap, we use the same kernel source as the a500 which has host, which is why we also have it. It could be modules, though I doubt its so simple. Also a powered hub would be needed, there is no power supplied to the port that anyone has found. This could be remedied with some hardware work I'm sure. The hub would also need to be one way, meaning not dumping power to host as I doubt the a100 will take it and without protection would likely suffer damage if the power pins are even hooked up.
The system itself runs at 12v though I'm sure there's a 5v rail someplace but if it can support powering anything past maybe a flash drive is unknown.
Take a visit to iconia-dev on free node, they'll know more of this then probably anyone here does lol
Tapatalked from my Galaxy S II.
The A500 does not implement USB otg, but rather a standard USB port. In other words, USB otg is not necessary for the A500 since it has a standard port. The USB otg standard allows a the port to act as both master and slave depending on the connection. In the A100 service manual, the schematic shows only one connection to the chipset (client), host is unconnected, which could be a problem. However, it is known that the Tegra 2 can support otg connections. I'm not certain, but it may be possible that by shorting pins 4 and 5 in the micro usb connector (ie, using an otg cable) and with the proper kernel level support, the A100 could still act as a USB host, albeit with no power supply to the micro USB port.
I'll continue to investigate this once I have a chance to build otg support into the kernel and recieve the otg cable.
flar2 said:
The A500 does not implement USB otg, but rather a standard USB port. In other words, USB otg is not necessary for the A500 since it has a standard port. The USB otg standard allows a the port to act as both master and slave depending on the connection. In the A100 service manual, the schematic shows only one connection to the chipset (client), host is unconnected, which could be a problem. However, it is known that the Tegra 2 can support otg connections. I'm not certain, but it may be possible that by shorting pins 4 and 5 in the micro usb connector (ie, using an otg cable) and with the proper kernel level support, the A100 could still act as a USB host, albeit with no power supply to the micro USB port.
I'll continue to investigate this once I have a chance to build otg support into the kernel and recieve the otg cable.
Click to expand...
Click to collapse
Thanks for that, but one thing, its already in the kernel. However Linux society and/or waydownsouth would know more about what's in there, I just know it isn't blocked there. Modules etc I don't know. I look forward to seeing some progress on this topic.
Tapatalked from my Galaxy S II.
Pulled the kernel config from my tablet, you are correct, otg support is built into the kernel.
I'm using ezterry's kernel, almost everything is built in, there are only a few modules that have nothing to do with this.
I tested with an OTG cable, which shorts pins 4 and 5 in the micro usb connector. As expected, this did not enable USB host mode.
I tested wtih 5V going into the micro usb connection, as some of the non-powered devices need that voltage applied to activate the port, still nothing. (and no damage!)
I added a few other things to the kernel, the dmesg output changed slightly compared ezterry kernel
When connecting otg cable with 5V, dmesg shows:
tegra-otg tegra-otg: SUSPEND --> PERHIPHERAL
vbus connected, lock wakelock
tegra-otg tegra-otg: PERHIPHERAL --> SUSPEND
tegra_usb_phy_power_off(inst:0), phy->regulator_on: 1, line : 2754
tegra_usb_phy_power_off(inst:0), tegra_get_revision(): 0
vbus disconnected, unlock wakelock
android_work: did not send uevent (0 0 (null))
In the possibility that USB host is not possible on the micro usb port, a hardware mod could be done. There are points for a mini PCI-E connector on the motherboard (this is where the 3G module would be for A101). Solder wires to pins 36 and 38 for USB data, 4 for ground and connect them to a usb port. The PCI-E only gives 3.3V, but power could be supplied by a powered hub instead. There is even space inside the unit to mount a micro usb connector on the end with the power button.
The main roadblock is that the solder points are on the back side of the pcboard so you have to fully disassemble the unit to remove the motherboard. It would actually be fairly easy to do if the points were showing when you remove the back cover.
I don't think I have the nerve to actually try this.
flar2 said:
In the possibility that USB host is not possible on the micro usb port, a hardware mod could be done. There are points for a mini PCI-E connector on the motherboard (this is where the 3G module would be for A101). Solder wires to pins 36 and 38 for USB data, 4 for ground and connect them to a usb port. The PCI-E only gives 3.3V, but power could be supplied by a powered hub instead. There is even space inside the unit to mount a micro usb connector on the end with the power button.
The main roadblock is that the solder points are on the back side of the pcboard so you have to fully disassemble the unit to remove the motherboard. It would actually be fairly easy to do if the points were showing when you remove the back cover.
I don't think I have the nerve to actually try this.
Click to expand...
Click to collapse
Well if you want to play it like that, you can use a mini pci-e > usb adapter, which is also available with and without sata too lol. It would, maybe, depending on the board used, even line up with the sim slot, so minimal case cutting would be needed to make it accessible for usb. Straight drop in for an A101, though we lack the actual slot for it. Might be something I'll try later on.
Edit: I forget, does the sim slot line up with the pci-e slot? Been awhile since I saw the inside of one, so I may be wrong on that point.
There isn't an actual mini pci-e connector in my tab, it's just the solder points, so you would have to solder on a connector to use the adapter. The sim slot doesn't line up. But it looks like the empty sim slot is not high enough for a micro usb port to fit anyway.
I tried the hardware mod. Unfortunately the mini pci-e is not hooked up to the system. In other news, the motherboard is very easy to remove and reinstall.
there is a ROM in which they have implemented the usb otg?
Inviato dal mio Galaxy Nexus con Tapatalk 2

OTG + charge project. Charge phone while using FLASH DRIVE

Just want to know for something like, connect a external storage and the other usb to charge the phone or something else and still have the other one to charge the phone.
Thanks
EDIT:
Well since this is getting into a project. I will be adding the info here.​
New thread: http://forum.xda-developers.com/showthread.php?p=32618626#post32618626
New info
highvista said:
It looks like it works! Both the phone and my 64GB flash drive are being powered via a USB charger connected to a Y-cable. As far as I can tell, the phone battery isn't being charged and may still be draining a bit--this may depend on the current delivered by the USB charger. But I've been playing music for hours from an attached USB flash drive with my screen on and the battery level is still sitting at 98%.
I've attached ZIP files with a boot image containing the kernel. The yakju boot image was created by replacing the stock kernel in a Nandroid boot image obtained from the Galaxy Nexus described in my sig. The other boot images were created from the boot image included with the Google factory ROM. I can't test these, so use with caution. NOTE!!! Make sure you do a Nandroid backup of your phone before trying out the attached boot images. Things can go wrong and you want to be able to recover.
This was posted earlier in the thread, but credits for the kernel code tweak, along with details, go to the contributor to this thread
http://rootzwiki.com/topic/30615-can-you-charge-usb-host-mode-simultaneously/
Have fun!
10/09/12:
I've added two more ZIP files. These contain boot images with the code modded such that the phone battery is charged when using the Y-cable. NOTE: The phone will think it is being charged any time a USB OTG cable is connected. I haven't figured out a way around this yet. This doesn't really hurt anything, except if you have your phone set to stay on when charging, you could end up running down your battery! Important safety tip.
10/15/12:
I've replaced the previous ZIP files with two new ones. These contain boot images for takju and yakju JRO03C/4.1.1 that provide USB OTG+charging, with the added benefit that you can still use a standard USB OTG cable to connect an external device. As in the stock kernel, the phone will provide power for the external device. In other words, the new kernel in the ZIP archives auto-detects if there is a charger attached via a y-cable and uses it to power the external device and charge the phone, if it's found.
I've also fixed the problem where the phone would show a charging icon in the notification bar if a USB OTG cable was attached without any external device connected to it.
NOTE: THESE ZIP FILES ARE NOT MEANT TO BE FLASHED TO YOUR PHONE. These files contain a file called boot.img that can be flashed to your rooted phone from your computer via ADB with the commands
fastboot flash boot /path/to/<boot>.img
fastboot reboot
You can learn more about using fastboot at http://wiki.cyanogenmod.org/wiki/Fastboot.
12/28/12:
Version V4 is replacing V3. This new version fixes the bug where detaching external power from the USB OTG y-cable or USB hub wasn't detected by the phone. Now, when power is detached, the phone switches to battery power, including supplying battery power to any attached USB devices.
Note that the reverse is not true. If you connect external power when the phone and external USB devices are being powered by battery, the phone will continue to use battery power. The external power is not detected. When in doubt, disconnect and reconnect the USB OTG cable to cause the phone to recognize what's attached.
-----------------------------
12/28/12:
Version V4 is replacing V3. This new version fixes the bug where detaching external power from the USB OTG y-cable or USB hub wasn't detected by the phone. Now, when power is detached, the phone switches to battery power, including supplying battery power to any attached USB devices.
Note that the reverse is not true. If you connect external power when the phone and external USB devices are being powered by battery, the phone will continue to use battery power. The external power is not detected. When in doubt, disconnect and reconnect the USB OTG cable to cause the phone to recognize what's attached.
Click to expand...
Click to collapse
Rotary Heart said:
Just want to know for something like, connect a external storage and the other usb to charge the phone or something else and still have the other one to charge the phone.
Thanks
Click to expand...
Click to collapse
No one knows? what about a usb hub?
Its, like something else.
Sent from my Galaxy Nexus using Tapatalk 2
android01 said:
Its, like something else.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
What does that means?
Rotary Heart said:
Just want to know for something like, connect a external storage and the other usb to charge the phone or something else and still have the other one to charge the phone.
Thanks
Click to expand...
Click to collapse
I believe he is making a reference to your op
I don't understand what op is asking.
Sent from my Galaxy Nexus using xda app-developers app
I think he is wanting to somehow daisy chain the devices having power from the first one provide enough charge current for the last one. Least that is what im thinking he said i dunno though
Ok let me explain it a bit better. Lets say I have a flash drive (external storage, external hard drive, whatever you want to call it) I connect it to my phone with a usb to micro usb adapter. Now I have my ONLY micro usb connector in use, but after a while I'm running out of battery so I want to charge my phone BUT I can't since I can't remove my flash drive (because I'm using it).
Now I'm asking for an adapter or something that can let me connect my flash drive and still be able to charge my phone. like a 2 usb to 1 usb adapter for PC. Or like the adapter to connect 2 headphones in one headphone port.
I hope it's clear enough now. :laugh:
http://www.monoprice.com/mobile/Pro...Id=103&categoryId=10303&subCategoryId=1030303
Connect that to a powered hub, plug flash drive into one of the hub ports. That should work, though i don't use usb otg, so i couldn't say for sure.
Rotary Heart said:
Ok let me explain it a bit better. Lets say I have a flash drive (external storage, external hard drive, whatever you want to call it) I connect it to my phone with a usb to micro usb adapter. Now I have my ONLY micro usb connector in use, but after a while I'm running out of battery so I want to charge my phone BUT I can't since I can't remove my flash drive (because I'm using it).
Now I'm asking for an adapter or something that can let me connect my flash drive and still be able to charge my phone. like a 2 usb to 1 usb adapter for PC. Or like the adapter to connect 2 headphones in one headphone port.
I hope it's clear enough now. :laugh:
Click to expand...
Click to collapse
This is the closest thing i could find.
ttabbal said:
http://www.monoprice.com/mobile/Pro...Id=103&categoryId=10303&subCategoryId=1030303
Connect that to a powered hub, plug flash drive into one of the hub ports. That should work, though i don't use usb otg, so i couldn't say for sure.
Click to expand...
Click to collapse
I thought about this one, maybe I will give it a try. I hope it works.
Thanks
Rotary Heart said:
Ok let me explain it a bit better. Lets say I have a flash drive (external storage, external hard drive, whatever you want to call it) I connect it to my phone with a usb to micro usb adapter. Now I have my ONLY micro usb connector in use, but after a while I'm running out of battery so I want to charge my phone BUT I can't since I can't remove my flash drive (because I'm using it).
Now I'm asking for an adapter or something that can let me connect my flash drive and still be able to charge my phone. like a 2 usb to 1 usb adapter for PC. Or like the adapter to connect 2 headphones in one headphone port.
Click to expand...
Click to collapse
Unfortunately, the answer is no. I've tried several ways to get this to work, with no success. I routinely mount a flash drive using a USB OTG cable and the Stickmount app in order to listen to my music collection. It works great, but USB OTG drains the phone battery rather quickly.
I even cut out a notch on my desktop dock so I could attach the flash drive while trying to charge the phone via the dock's pogo pins. Here's a thread discussing this:
http://forum.xda-developers.com/showthread.php?t=1651757
The USB standard does provide for a method of charging while using USB OTG via a device called an Accessory Charger Adapter. But I haven't found such a device available anywhere.
Sorry to be the bearer of bad news. If you do happen to find another solution, do let us know.
I don't think I have the bits needed to try it, but looking through the spec, I think you can simulate the requirements for the ACA.
Connect a 124K resistor from ID to GND on the micro side. That should tell the OTG host (the phone) to go to Charge/Host mode allowing the B device (memory stick etc) to work AND allowing the phone to charge... You will need to provide a decent 5V power connection. You need to power both the phone and the accessory device from this.
ttabbal said:
I don't think I have the bits needed to try it, but looking through the spec, I think you can simulate the requirements for the ACA.
Connect a 124K resistor from ID to GND on the micro side. That should tell the OTG host (the phone) to go to Charge/Host mode allowing the B device (memory stick etc) to work AND allowing the phone to charge... You will need to provide a decent 5V power connection. You need to power both the phone and the accessory device from this.
Click to expand...
Click to collapse
Ok I understand the resistor and where to connect it, but where I will connect the power source? if the memory stick is using the micro usb port?
Rotary Heart said:
Ok I understand the resistor and where to connect it, but where I will connect the power source? if the memory stick is using the micro usb port?
Click to expand...
Click to collapse
Powered hub. Or otherwise connect to the power lines..
ttabbal said:
Powered hub. Or otherwise connect to the power lines..
Click to expand...
Click to collapse
Ok thanks I will try this one and when I have it done will update the thread.
Rotary Heart said:
Ok thanks I will try this one and when I have it done will update the thread.
Click to expand...
Click to collapse
So? You tried that out? it worked?
caioketo said:
So? You tried that out? it worked?
Click to expand...
Click to collapse
I'm waiting to receive my powered hub... So will let you know.
I'm about to do this too, so if I got mine first, i update here. =D
And it should work, couse it will be the same in specification, so teorically it will work!
caioketo said:
I'm about to do this too, so if I got mine first, i update here. =D
And it should work, couse it will be the same in specification, so teorically it will work!
Click to expand...
Click to collapse
If you got it to work I will love to see it . Mine still on its way home...

RK3188 1024x600 front USB not working? Any workarounds?

I'm not able to get to the bootloader screen because the front usb port is not functioning on my unit. Has anyone been able to use one of the USB ports on the back to get to ADB and/or get to the bootloader? Is this a known issue with a workaround? I've done quite a bit of searching and have not turned up any solutions. Considering what is involved in shipping this back, I'd much rather figure something out. Thanks in advance for any help!
Edit: I should mention that I have used the adbon password and it does acknowledge that adb has been enabled. Just nothing seems to work on the front port. When I connect my Linux machine and run lsusb nothing shows for the unit. I have considered buying or making a USB-A to USB-A cable to connect my computer to one of the back USB ports, but I'm concerned about how these back USB ports are designed. Is it as simple as a built-in OTG cable? If so I'm probably fine. If it is more like a computer's USB port I could damage my laptop, my headunit, or both. I'd really like to hear if anyone else has had to deal with this. Unfortunately I haven't verified if the front USB will charge a phone. This is my next step.
dutchhome said:
I'm not able to get to the bootloader screen because the front usb port is not functioning on my unit. Has anyone been able to use one of the USB ports on the back to get to ADB and/or get to the bootloader? Is this a known issue with a workaround? I've done quite a bit of searching and have not turned up any solutions. Considering what is involved in shipping this back, I'd much rather figure something out. Thanks in advance for any help!
Edit: I should mention that I have used the adbon password and it does acknowledge that adb has been enabled. Just nothing seems to work on the front port. When I connect my Linux machine and run lsusb nothing shows for the unit. I have considered buying or making a USB-A to USB-A cable to connect my computer to one of the back USB ports, but I'm concerned about how these back USB ports are designed. Is it as simple as a built-in OTG cable? If so I'm probably fine. If it is more like a computer's USB port I could damage my laptop, my headunit, or both. I'd really like to hear if anyone else has had to deal with this. Unfortunately I haven't verified if the front USB will charge a phone. This is my next step.
Click to expand...
Click to collapse
My front USB also doesn't work. I even got mini to standard USB cable with unit, but plugging flash drive into it doesn't produce any reslt.
I also plugged extension cable to one of back USB ports and tried it (plugibg same USB flash) but it doesn't work either.
So I'm also confused.
Does that mean you are still running the stock ROM? I have been hesitant to install the custom ROM because they say you must be able to get into the bootloader even though I couldn't find a step in the process that required it.
Regarding the USB ports not working at all, you may find that you need to use a powered USB hub. I've seen reports of USB devices acting up due to the low power. This is one of the reasons I thought it might be safe to use the rear ports with my computer. (My first real test is going to be mangling a male-to-male USB cable so only the data lines are connected to see if I can get those rear USB ports to talk to the computer. I figure that way there is no chance of frying any circuits.. Each side already has its own power and I don't believe any signaling is sent via the power pins.)
On my unit (MTCB-KGL-V2.80), I have used a T-Mobile USB broadband modem successfully on the rear port, so I know rear ports are live. I did take it apart to see if something was obviously wrong with the front port, but nothing jumped out at me.
So I have a bit more information on my headunit. BTW, I have the BMW E46 model with MCU MTCB-KGL-V2.80.
On my system, both the front USB port and the rear 3G USB port are wired as device ports connected to an AU6258 USB controller (http://www.sunnyqi.com/upLoad/product/month_1403/201403162331285643.pdf). I don't remember exactly which USB ports they are connected to, but I believe the 3G port is connected to port 2 (pins 6 & 7) and the front USB port is connected to either ports 3 or 4 (pins 9 & 10 or 11 & 12 respectively). Nothing is connected to port 1 or to the upstream port. The other rear USB port is wired directly to the MTC_RK3188 board.
All three ports are wired with only four pins, so I'm concerned that none of them could work with the computer. The USB controller doesn't have USB ID pins, so does that mean that the 4 downstream ports are OTG and the upstream port is for a computer? Unfortunately I don't know the hardware side.
dutchhome said:
Does that mean you are still running the stock ROM? I have been hesitant to install the custom ROM because they say you must be able to get into the bootloader even though I couldn't find a step in the process that required it.
Regarding the USB ports not working at all, you may find that you need to use a powered USB hub. I've seen reports of USB devices acting up due to the low power. This is one of the reasons I thought it might be safe to use the rear ports with my computer. (My first real test is going to be mangling a male-to-male USB cable so only the data lines are connected to see if I can get those rear USB ports to talk to the computer. I figure that way there is no chance of frying any circuits.. Each side already has its own power and I don't believe any signaling is sent via the power pins.)
On my unit (MTCB-KGL-V2.80), I have used a T-Mobile USB broadband modem successfully on the rear port, so I know rear ports are live. I did take it apart to see if something was obviously wrong with the front port, but nothing jumped out at me.
Click to expand...
Click to collapse
No I flashed Malaysk ROM from GPS SD card. No problems. Just follow instruction. I had luck that I didn't need to recover from USB.
Did you tried with USB powered hub? I don't have one to try it myself.
RK3188 1024x600 front USB not working confirmed
pa.ko said:
My front USB also doesn't work. I even got mini to standard USB cable with unit, but plugging flash drive into it doesn't produce any reslt.
I also plugged extension cable to one of back USB ports and tried it (plugibg same USB flash) but it doesn't work either.
So I'm also confused.
Click to expand...
Click to collapse
I checked on my Linux workstation with
Code:
lsusb |wc -l
plugging and unplugging all three USB cables and the number did not change. BTW where did you use the "adbon" command? The only place that I could even try was at Settings > Factory Settings. Regards Flint

Problems with USB connection

I had been somewhat unlucky and while charging my beloved FLO something went puf (literally). After that I don't have any USB connectivity. Charging my N7 works (very slowly), but no USB OTG or USB ADB. OK Fine and dandy if I wouldn't be total idiot and wipe system while trying to install new ROM before transferring ROM image to internal storage.
Now I have FLO paper clip able to go to TWRP but can't install nothing. As far I understand there's no way to enable wifi in TWRP.
Any ideas what would needed to be replaced to make my FLO work again so I can put some ROM on it and make it work again.
I'm not sure if USB daughter board would suffice and solve my problem. Any suggestions?
jxl69 said:
I had been somewhat unlucky and while charging my beloved FLO something went puf (literally). After that I don't have any USB connectivity. Charging my N7 works (very slowly), but no USB OTG or USB ADB.
Click to expand...
Click to collapse
Either the USB port developed "dry joints" or the wide silver cable (LCM) needs to be re-seated on both connectors.
Disconnect the battery before fixing LCM cable. Here is advice on USB port repair.
Replacing the daughterboard PCB should be the last resort because it is unlikely that the touch function will work 100%. It would work if we had access to the touch calibration software - the problems are described here https://forum.xda-developers.com/ne...rivers-to-calibrate-touch-screen-usb-t3334898
k23m said:
Either the USB port developed "dry joints" or the wide silver cable (LCM) needs to be re-seated on both connectors.
Disconnect the battery before fixing LCM cable. Here is advice on USB port repair.
Replacing the daughterboard PCB should be the last resort because it is unlikely that the touch function will work 100%. It would work if we had access to the touch calibration software - the problems are described here https://forum.xda-developers.com/ne...rivers-to-calibrate-touch-screen-usb-t3334898
Click to expand...
Click to collapse
I doubt re-seating would help or cleaning USB port, since it was something electrical happening with that *puf*. If my memory serves me right there was a smell of burnt electronics. I doubt that some shortage disconnected any cables.
jxl69 said:
I doubt re-seating would help or cleaning USB port, since it was something electrical happening with that *puf*. If my memory serves me right there was a smell of burnt electronics. I doubt that some shortage disconnected any cables.
Click to expand...
Click to collapse
Sounds like you need a new charging port and board. Easy to fit but difficult to get hold of one. Maybe purchase a broken Flo on eBay and extract the charging port board
dave457 said:
Sounds like you need a new charging port and board. Easy to fit but difficult to get hold of one. Maybe purchase a broken Flo on eBay and extract the charging port board
Click to expand...
Click to collapse
Even tho charging works? The only problem is data part of USB connection. USB OTG will not work neither will it connect to a PC for file transfer/adb. But if connected to PC or plug device charges. I believe it will not charge past 80 or 90%.
jxl69 said:
Even tho charging works? .
Click to expand...
Click to collapse
Yes

Can't get file transfer/ADB/fastboot over USB

I just bought a used Pixel 2 XL and it has the file transfer/ADB/fastboot over USB problem. I've been through every solution here and on Google Pixel support with no luck (see below).
The phone connects via USB for a second and brings up ADB debugging auth, then disconnects. Every other thing I plug into the phone works fine (thumb drive, OTG camera, charger). Wireless ADB works fine, but I can't unlock the bootloader this way (that I know of). I can't get ADB or Fastboot access in bootloader or recovery mode.
I'm guessing software/kernel problem on the phone since everything else works with the USB port. I'm currently running build RP1A.201005.004.
On the factory image page, there's a new image, RP1A.201005.004.A1, Dec 2020, that I hope is a fix, but I've got no way to install it except if I get it OTA.
If anyone has any ideas on other things to try, please LMK! Thanks!
Solutions I've tried:
Cleaned port, dozens of cables, USB 1, 2, & 3 ports on four different machines and three different OS that work with ADB on other phones, every phone ADB/USB setting on/off in all combinations, cleared data for external storage, can't clear data for media storage because it's now grayed out in this build.
I've also tried the old tricks to try and get the OTA sent, but I'm guessing those tricks don't work with Android 11.
I may try replacing the internal USB port and cable since it's only $7, but I don't think it's the problem from what I've read in other posts here.
phineous said:
I just bought a used Pixel 2 XL and it has the file transfer/ADB/fastboot over USB problem. I've been through every solution here and on Google Pixel support with no luck (see below).
The phone connects via USB for a second and brings up ADB debugging auth, then disconnects. Every other thing I plug into the phone works fine (thumb drive, OTG camera, charger). Wireless ADB works fine, but I can't unlock the bootloader this way (that I know of). I can't get ADB or Fastboot access in bootloader or recovery mode.
I'm guessing software/kernel problem on the phone since everything else works with the USB port. I'm currently running build RP1A.201005.004.
On the factory image page, there's a new image, RP1A.201005.004.A1, Dec 2020, that I hope is a fix, but I've got no way to install it except if I get it OTA.
If anyone has any ideas on other things to try, please LMK! Thanks!
Solutions I've tried:
Cleaned port, dozens of cables, USB 1, 2, & 3 ports on four different machines and three different OS that work with ADB on other phones, every phone ADB/USB setting on/off in all combinations, cleared data for external storage, can't clear data for media storage because it's now grayed out in this build.
I've also tried the old tricks to try and get the OTA sent, but I'm guessing those tricks don't work with Android 11.
I may try replacing the internal USB port and cable since it's only $7, but I don't think it's the problem from what I've read in other posts here.
Click to expand...
Click to collapse
I just installed the update using ADB from my Chromebook via Crostini Linux. I had an issue at first due to the USB cable I was using. Switched to a USB 3 cable and it worked flawlessly. Kinda weird that after the update it still says October 2020. Looks like the .A1 on the end of the build is the only difference, other than whatever security updates they pushed.
robn30 said:
I just installed the update using ADB from my Chromebook via Crostini Linux. I had an issue at first due to the USB cable I was using. Switched to a USB 3 cable and it worked flawlessly. Kinda weird that after the update it still says October 2020. Looks like the .A1 on the end of the build is the only difference, other than whatever security updates they pushed.
Click to expand...
Click to collapse
I just got the update OTA today. I still can't get a USB connection to work for longer than a second or two. I've tried dozens of cables and several computers. I'm going a little crazy here.
phineous said:
I just got the update OTA today. I still can't get a USB connection to work for longer than a second or two. I've tried dozens of cables and several computers. I'm going a little crazy here.
Click to expand...
Click to collapse
I have noticed mine is a little finicky with ADB, especially when connected via USB 3.0. Connecting with USB 2.0 with a good cable seems to always be reliable and never disconnect. Also if you haven't tried using the stock cable that came with the Pixel, I would try that for sure.
I just replaced the internal USB assembly and nothing has changed. The old connector was definitely worn though.
I'll go back to trying more cables and ports. I ordered a cable that another poster claimed worked for them, but I had no luck with it.
For anyone wanting to replace their USB ass'y, here's what I learned from doing it. The service manual on ifixit is a good guide but leaves out a couple of important steps.
Heat is your friend. I used a clothes iron adjusted to 160F. The phone dissipates heat quickly so you may need to heat it several times. Place a towel over the screen and set the iron on it. I used guitar picks to pry up the screen and keep it separated while I heated the other sides.
The screen cable connection covers are hard to remove and you'll probably need a to use a metal spudger.
Heat the back of the phone to help remove the loudspeaker ass'y without damaging it, and again to remove the old cable ass'y.
The replacement ass'y I got had adhesive applied for the center of the cable, but not the adhesive foam pad under the antenna connector, so heat and scrape between the pad and phone body to remove it intact for reuse.
My old antenna connector partially came off in the white antenna connector and it was very hard to see what was wrong even under strong magnification.
You'll need a new screen adhesive sheet to reattach the screen securely.
Both parts came from a seller on ebay. Dougsgadgets was the only one that had both parts in stock. I think I paid $11 and they shipped quickly.
Good luck!

Categories

Resources