USB OTG not working in TWRP - OnePlus 7 Pro Questions & Answers

I have a problem/question : I want to use USB dongle to flash Q beta, pendrive connected via USB dongle is visible if in the system, but when I reboot to recovery, then it is not. In Install menu I s go to Select storage then USB OTG shows 0 MB and I cannot access it and if I go to Mount menu, USB OTG is not ticketed, but I cannot tick it/mount it (when I press it, it dyas unticketed). Any solutions to that? I tried it on stock kernel and also on Blu spark.

make sure your drive is the correct format. likely the problem

knives of ice said:
make sure your drive is the correct format. likely the problem
Click to expand...
Click to collapse
Well it is FAT32, so I think it is ok? Besides as I said - when system is running, files manager sees pendrive and all the files, only in TWRP it cannot be seen...

spawnn617 said:
Well it is FAT32, so I think it is ok? Besides as I said - when system is running, files manager sees pendrive and all the files, only in TWRP it cannot be seen...
Click to expand...
Click to collapse
If it's a usb-c drive try flipping it over.
Even on q betas I've never had an issue with the drive not mounting.
Usually it automounts once you select it as storage. It will show 0mb till you click it

spawnn617 said:
Well it is FAT32, so I think it is ok? Besides as I said - when system is running, files manager sees pendrive and all the files, only in TWRP it cannot be seen...
Click to expand...
Click to collapse
Did you mount it in twrp?

twinnfamous said:
If it's a usb-c drive try flipping it over.
Even on q betas I've never had an issue with the drive not mounting.
Usually it automounts once you select it as storage. It will show 0mb till you click it
Click to expand...
Click to collapse
Yeah I know, but clicking it does nothing unfortunately - doesn't open it nor change 0 MB.
lollyjay said:
Did you mount it in twrp?
Click to expand...
Click to collapse
I tried as I described in first post "if I go to Mount menu, USB OTG is not ticketed, but I cannot tick it/mount it (when I press it, it dyas unticketed)" - is there any other way to mount it?

twinnfamous said:
If it's a usb-c drive try flipping it over.
Even on q betas I've never had an issue with the drive not mounting.
Usually it automounts once you select it as storage. It will show 0mb till you click it
Click to expand...
Click to collapse
Flipping it over sever times also didn't help...
Maybe I should somehow activate USB OTG in the Rom/kernel so it can be used in recovery? Any ideas?

Solved maybe somehow? I have the same.

Did anyone find a fix for this?

Hi, same thing happend to me. The USB drive can't be mount and it's not seen in TWRP. I tried with the drives, intending to do a backup, but with no success.

its probably a slow usb 2.0 drive or the adapter making it mount really slow or when twrp boots goto reboot recovery and reboot it sometimes twrp cant decrypt put on pc and transfer to phone in recovery

ecompton59 said:
its probably a slow usb 2.0 drive or the adapter making it mount really slow or when twrp boots goto reboot recovery and reboot it sometimes twrp cant decrypt put on pc and transfer to phone in recovery
Click to expand...
Click to collapse
It is a 2.0 drive but it works fine once the phone is booted. I will try a 3.0 or a USB C drive later.
Sent from my GM1917 using Tapatalk

If on 10 twrp is weird i use USB 2.0 one has changed its format to raw lol used dispart on PC to fix the writing speed is too slow my Samsung 64gb Evo works great and the OnePlus otg adapter works best eBay 3.95

twrp error 2 usb-otg
Between a twrp, I get this error, when repairing: /sbin/fsck.fat -y process ended with error:2 unable to repair usb-otg.
unable to repair usb-otg
formatting usb-otg using mkfs.fat...
mkfs.fat process ended with error: 1
unable to wipe usb-org.
error changing file system.
updating partition datails...
...done
wipe
partition options for: usb-otg
mount point: /usb-otg
file system: vfat
present: no removable: yes
size: 0MB used: 0MB
free: 0MB backup size: 0MB

Any one solved this?
I have also 0b and can't backup to type C drive, in Android 10 it works ok.

mikek753 said:
Any one solved this?
I have also 0b and can't backup to type C drive, in Android 10 it works ok.
Click to expand...
Click to collapse
I just bought a newer 128Gb USB-C thumb drive and everything works fine.

Had the same issue. Turns out I had plug in my usb before booting into recovery for it to shown up as usbotg in TWRP.

ntfs drive canoot red by all twrp but fat32 can be read all twrp , but how we fix?

I've noticed that if I tried connecting a USB drive by way of my USB otg cable, it wouldn't pick it up.
However, when I used my drive that has a type C connector at the end and plugged it in, it would work.
This is the drive that has both the USB and the type C connector, one on each end. The USB side with otg adapter would not work in twrp

I know this is a really really old post....but....I have a OP 3 with olny Pitch Black recovery on it. I have (at least to this point) never walked away from something like this, but shortly this phone is going in the creek behind my apartment if I can not fix it.
adb - nope doesnt recognise
otg - nope
rebooted and shut down and restarted with usb plugged in - nope
msm - 10 different tools -nope
I'm just a duffer, and I dont even know if this is possble, but could I write/modify files in terminal to get/force to recognise otg/adb/msm?
I've been at this about 3 months, continuing to believe, perhaps erroneously, that I will be able to use the damn again. Any help/suggestions/cults I can join, phone gods to pray to to move the ball forward - appreciated more than there are descripitives in the mother-tongue to quantify.
but, please tell me change usb ports, cables, computers, any of that stuff..been there, done that about 100 times
I know that all these tools are installed correctly
Thank you for you time and energy considering my plea (more accurately, my prayer)
btw, phone is not encrypted, according to PB - wiped and formated from recovery mucho times

Related

Accessing Usb thumb drive.

I have been working my way thru several posts tonight but still can not access my thumb drive.
Wifi xoom running tiamat rom. Official Motorola camera connection cable. Sandisk cruzer USB thumb drive formatted to fat32.
I have a folder labeled usbotg on the xoom (not on the sdcard) but nothing shows. Whati step am I missing?
can you show us the outcome of "df" on your xoom?
rkboid said:
I have been working my way thru several posts tonight but still can not access my thumb drive.
Wifi xoom running tiamat rom. Official Motorola camera connection cable. Sandisk cruzer USB thumb drive formatted to fat32.
I have a folder labeled usbotg on the xoom (not on the sdcard) but nothing shows. Whati step am I missing?
Click to expand...
Click to collapse
Did you download the latest version of the USB Mass Storage Watcher app from the market? Also, I have found that when I insert a usb drive, I usually have to reboot to see it in the /usbOTG folder.
qwerp - "df" ? Is that an adb command? if so I assume I need run it after I have inserted the USB?
okantomi - Yes I installed it, but it does not see that I have plugged in a thumb drive.
A little more info - my USB mouse works without a problem - The light on USB/USBs flash and then does become solid.
rkboid said:
qwerp - "df" ? Is that an adb command? if so I assume I need run it after I have inserted the USB?
okantomi - Yes I installed it, but it does not see that I have plugged in a thumb drive.
A little more info - my USB mouse works without a problem - The light on USB/USBs flash and then does become solid.
Click to expand...
Click to collapse
df is the command you run in the terminal to see devices mounted on your drive.
if you are running the latest tiamat kernel, you do not need the USB watcher.
you see something like
/mnt/usbOTG 1G 1G xxxxxxx
also, can you do a "ls" under /dev/block/ ?
rkboid said:
qwerp - "df" ? Is that an adb command? if so I assume I need run it after I have inserted the USB?
okantomi - Yes I installed it, but it does not see that I have plugged in a thumb drive.
A little more info - my USB mouse works without a problem - The light on USB/USBs flash and then does become solid.
Click to expand...
Click to collapse
I'm not sure if its a power problem or the unusual way the built-in Sandisk software mounts the drive (it mounts as a "cd drive" in Windows); but Sandisks are problematic.
If you can, please try another thumb drive just to be sure. Preferably, one with no lights (to minimize power requirements) and not a Sandisk or Kingston, which both use proprietary built-in software upon insertion into PC usb ports.
Try downloading an app call USB Mass Storage. Its not in market but I found the thread. Hope it helps.
http://forum.xda-developers.com/showthread.php?t=1068999
Try flashing the kernel in that thread through recovery. Make sure you flash the correct images first.
When I run "df" in terminal i get/data/media/extrenal and /mnt/sdcard.
I am going to flash the tiamet kernal seperate from the rom and see if that fixes things.
Might be obvious to everyone else but when I first plugged a drive in I noticed two folders called usbOTG, one in the root and one in /mnt/usbOTG. The one in the root is always empty and the one in /mnt is the one I need to access. Again, not sure if relevant but just thought I'd share
burden010 said:
Might be obvious to everyone else but when I first plugged a drive in I noticed two folders called usbOTG, one in the root and one in /mnt/usbOTG. The one in the root is always empty and the one in /mnt is the one I need to access. Again, not sure if relevant but just thought I'd share
Click to expand...
Click to collapse
I just looked at my Xoom's file system again, and actually, the relevant usbOTG folder is on the root. It's on the same directory level as the internal sdcard that contains all of your apps. There is also a mnt/ folder that contains the external sdcard as well as another usbOTG folder (among other things), but that one is empty.
I apologize for having given a wrong location for the usbOTG in the past. I was being lazy.
Edit: I don't know, it's possible that your file system may show usbOTG at a different location, but I just checked again, and mine is on the root. Also can completely hot-swap, no reboot needed. (That's for fat32.)

Problem with ClockworkMod Recovery v3.0.2.4 (USB Not Recognnized)

I wiped and cleared everything (cache, SD Card...) from the settings in order to install the new Ice Cream rom which I got working but then wanted to clean everything up. So obviously after doing the formats, it also wiped the zip (icecream). I can access clock work recovery, but it doesn't recognize my USB at all, same machine and cable is fine. I am trying to do it as a USB Mass Storage device but still it cannot recognize it. Any help would me much appreciated.
namsu55 said:
I wiped and cleared everything (cache, SD Card...) from the settings in order to install the new Ice Cream rom which I got working but then wanted to clean everything up. So obviously after doing the formats, it also wiped the zip (icecream). I can access clock work recovery, but it doesn't recognize my USB at all, same machine and cable is fine. I am trying to do it as a USB Mass Storage device but still it cannot recognize it. Any help would me much appreciated.
Click to expand...
Click to collapse
I'm not sure if you mean SD storage and not USB but you should have never formatted your SD storage.
In clockworkmod recovery there is an option to mount the SD storage. Make sure its mounted and then try activating the USB storage again. This should give you the ability to add a ROM zip file on the SD storage so you can flash it.
Thanks for the reply. Basically I am in clockwork recovery mode, I mount the SDCARD, then I go and select the option "mount USB storage". Sometimes I find that it finds Android 1.0 and I see the I: come up but then goes away quite quickly. But most of the time it comes up as unrecognized.
Now I have 2 cables, both which charge the phone fine. I have used one on a BlackBerry and remember it does the job of connecting as a data connection fine. Also have tried my XP laptop, same result.
My feeling is that it may possibly be the actual USB port on the phone that is the problem but I am unsure in this. It never failed to connect when the phone was working properly (in an actual OS).
You should update your CWM... 5.0.2.0 is the latest version.
But anyway, you don't need to mount SD card then mount USB storage. Only need to do the latest. Once you do this, unplug and replug the phone, the drive should pop up.
polobunny said:
You should update your CWM... 5.0.2.0 is the latest version.
But anyway, you don't need to mount SD card then mount USB storage. Only need to do the latest. Once you do this, unplug and replug the phone, the drive should pop up.
Click to expand...
Click to collapse
When I go into clock work recovery it says USB device Unrecognized. Problem is I don't have anything on the SD I have the ROM on my computer. Whether I go to the mount USB storage menu or not. Unsure what to do?
namsu55 said:
When I go into clock work recovery it says USB device Unrecognized. Problem is I don't have anything on the SD I have the ROM on my computer. Whether I go to the mount USB storage menu or not. Unsure what to do?
Click to expand...
Click to collapse
I imagine you don't have a working adb setup on your computer to update CWM, right?
Boot into CWM with phone plugged in. Go to mount USB storage. If your "SD" isn't recognized, still on that screen, unplug and replug phone. It should get detected then.
Tried this several times keep getting Unknown Device. I installed the SDK with Google Drivers. Unsure if that is the ADB set up.
namsu55 said:
Tried this several times keep getting Unknown Device. I installed the SDK with Google Drivers. Unsure if that is the ADB set up.
Click to expand...
Click to collapse
Yes that's the adb setup.
You might need to manually install the drivers for your phone, although this shouldn't impact on the SD mounting capabilities. Just to make sure, I would get a working adb setup and use fastboot to update your Clockworkmod Recovery to 5.0.2.0.
You can follow this to know how to use fastboot
http://wiki.cyanogenmod.com/wiki/Fastboot#Flash_Custom_Recovery.img
If you have trouble getting your phone to be detected and the drivers installed, I suggest you use PDAnet drivers instead (if you're under Windows). Some phones for some reason need .inf driver hacking to get detected.
http://junefabrics.com/android/
I will give this a go many thanks.
polobunny said:
Yes that's the adb setup.
You might need to manually install the drivers for your phone, although this shouldn't impact on the SD mounting capabilities. Just to make sure, I would get a working adb setup and use fastboot to update your Clockworkmod Recovery to 5.0.2.0.
You can follow this to know how to use fastboot
http://wiki.cyanogenmod.com/wiki/Fastboot#Flash_Custom_Recovery.img
If you have trouble getting your phone to be detected and the drivers installed, I suggest you use PDAnet drivers instead (if you're under Windows). Some phones for some reason need .inf driver hacking to get detected.
http://junefabrics.com/android/
Click to expand...
Click to collapse
Just to let you know, I am trying to access USB Storage from clockwork recovery since I don't have any rom on here at all.
This may sound weird but I held the USB in the phone port in an angle, luckily the removable drive came up. I got the the ROM on the SD it has installed and loading. I'll see if its an issue with the USB on the phone later on but as long as it got back up and running (Ice Cream) for now.
Anyway thanks guys much appreciated. I'll be a lot more careful next time before I go around wiping everything especially the SD LOL.
namsu55 said:
Just to let you know, I am trying to access USB Storage from clockwork recovery since I don't have any rom on here at all.
Click to expand...
Click to collapse
I gathered this much from your posts.
Edit: Glad you got it working. Make sure you get CWM updated whenever you can if you haven't done so, this could lead to problems down the road to flash different zips.
polobunny said:
I gathered this much from your posts.
Edit: Glad you got it working. Make sure you get CWM updated whenever you can if you haven't done so, this could lead to problems down the road to flash different zips.
Click to expand...
Click to collapse
I'll do that next time I get a chance, I thought my phone was gone there for sure. Thanks again.
namsu55 said:
I'll do that next time I get a chance, I thought my phone was gone there for sure. Thanks again.
Click to expand...
Click to collapse
The Nexus S is a difficult phone to brick, luckily. Most of the rooting, bootloader unlocking and flashing steps are easy to follow too.
No problem!
namsu55 said:
This may sound weird but I held the USB in the phone port in an angle, luckily the removable drive came up.
Click to expand...
Click to collapse
Sounds like you have a bad connector on your phone.
obsanity said:
Sounds like you have a bad connector on your phone.
Click to expand...
Click to collapse
Yeah I think so.

[Q] Wiped storage, now USB OTG not being mounted by TWRP v2.8.0.1

Hi,
I'm in deepsh*t right now !! ... I was about to install new ROM for my Moto G XT1033, so I wiped clean everything, and while doing the same way, USB OTG was inserted, went back to mount option to mount the USB OTG, but it doesn't mount it, basically I click on it and it doesn't work, is there any other way or I will have to throw away my phone now ??
Is there a way to manually move ROM data to the root directory or under any directory there using just a cable and adt-bundle ??
Nevermind
TWRP wasn't detecting it due to some FS related issue of the pendrive, i just formatted the pen drive from TWRP, though it wasn't mounting I just wanted to check the wipe option for USB OTG, and it formatted into its recognizable FS, i think it would still be NTFS, but anyway, working now !! ... Almost had a heartattack ...
But anyway, if anyone knows, if similar happens, how to move files directly under root access using some tool or commands, connecting the phone with USB and laptop please give an update
devlamania said:
TWRP wasn't detecting it due to some FS related issue of the pendrive, i just formatted the pen drive from TWRP, though it wasn't mounting I just wanted to check the wipe option for USB OTG, and it formatted into its recognizable FS, i think it would still be NTFS, but anyway, working now !! ... Almost had a heartattack ...
But anyway, if anyone knows, if similar happens, how to move files directly under root access using some tool or commands, connecting the phone with USB and laptop please give an update
Click to expand...
Click to collapse
Use adb sideload
Agree with post above. Just use either ADB to push a file to your phone or use ADB to sideload a ROM to install.
Try this!
devlamania said:
Hi,
I'm in deepsh*t right now !! ... I was about to install new ROM for my Moto G XT1033, so I wiped clean everything, and while doing the same way, USB OTG was inserted, went back to mount option to mount the USB OTG, but it doesn't mount it, basically I click on it and it doesn't work, is there any other way or I will have to throw away my phone now ??
Is there a way to manually move ROM data to the root directory or under any directory there using just a cable and adt-bundle ??
Click to expand...
Click to collapse
Goto Fastboot Mode and Install philz_touch_6.57.9-falcon.img and try using OTG cable. Make sure the pendrive you use is in FAT 32 format.
exactly
CedricAndroidlover said:
Goto Fastboot Mode and Install philz_touch_6.57.9-falcon.img and try using OTG cable. Make sure the pendrive you use is in FAT 32 format.
Click to expand...
Click to collapse
Im not too sure, but i think i have used ntfs before, but as you mentioned fat32 works

Use OnePlus One as USB mass storage device?

How can I use my OnePlus One as USB mass storage device? I dislike MTP.
I do like this-
1. Switch off the phone.
2. Connect to PC
3. Enter recovery mode
Now drivers will load automatically and you can exchange data in Mass Storage Mode.
Sent from my A0001 using XDA Free mobile app
id2xda said:
I do like this-
1. Switch off the phone.
2. Connect to PC
3. Enter recovery mode
Now drivers will load automatically and you can exchange data in Mass Storage Mode.
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
Really? It will be detected as a USB drive??? Is this with a particular recovery or will TWRP do it? I'd like to add a partition to my phone that will contain a bootable Linux distribution so that I can use my phone as a rescue disk. Would this be possible?
uudruid74 said:
Really? It will be detected as a USB drive??? Is this with a particular recovery or will TWRP do it? I'd like to add a partition to my phone that will contain a bootable Linux distribution so that I can use my phone as a rescue disk. Would this be possible?
Click to expand...
Click to collapse
Hi. I am using latest TWRP recovery and Oneplus is responding well invariably.
I have not tried adding partitions and also dont know much about it.
Goodluck if u r planning to try it.
id2xda said:
Hi. I am using latest TWRP recovery and Oneplus is responding well invariably.
I have not tried adding partitions and also dont know much about it.
Goodluck if u r planning to try it.
Click to expand...
Click to collapse
Will look into this. Thanks!
I just looked into it and got nothing. It talks over usb, but no USB Mass Storage support (reading Linux dmesg to test). I looked over TWRP, and it looks like the disabled USB Mass Storage when Android shifted away from having a separate FAT filesystem you could mount under Windows. Your SD Card is now a directory under /data and most kernels don't have the ability to even export USB Mass Storage anymore because, as ext4, Windows will tell you that the drive is unformatted and ask you to format it for you!! And that would mean losing the entire /data partition. Basically USB Mass Storage is gone. I'm thinking with a custom kernel and maybe compiling TWRP myself, I might be able to get it back, but its going to be far from trivial. I think the end result (a recovery system that I can boot a PC from in an emergency with plenty of tools) will make a great addition to my phone.
TWRP is supposed to support MTP now, but its not working for me. I end up using USB OTG for "bare clean wipe" flashes.
Any news? Unfortunately, since it was upgraded to lollipop I can not connect the OnePlus one to my car radio as a removable disk. It remains uncomfortable leaving your phone in recovery to use UMS

TWRP does not regonize usb-otg (no chance)

Hi,
I have used this adapter and this adapter. I have tried this USB-Stick and others that I have at home (4 pieces).
I have tried to format in FAT16, FAT32, NTFS and exFAT. Nothing seems to help.
I become crazy with TWRP version 3.0.2.0.
All the rest is fine, but I can not use USB-otg. When I boot in recovery, it shoes the store of my device and in the second line "UBS-otg" with 0 MB. And I can not choose the USB-otg, just nothing happens.
If I go to mount and click on USB-otg, nothing happens. In the menus from "Mount", there is a option "mount usb". If I do this, then I stay on this window and can do nothing. No chance to go to the backup options. I first have to unmount the usb and then I can go back.
Please, for about 2 weeks I am working on this and still no chance to make a full backup on the stick. TWRP still just dont sees or recognizes the usb-otg.

Categories

Resources