[HELP][usb-otg] not work using twrp multirom - Nexus 5 Q&A, Help & Troubleshooting

hi,
i want to install ROM on my usb ptg drive but in twrp multirom in addROM input i can choose my otg drive without problem but in zip file browsing i can't access to my otg drive.
in mount input i tape on otg choice but it does not active in drive choice i also can't choose external drive (otg) someone can help me ?
before some update of multiROM usb otg work nicely

anyone can help me ?

I ran into the same problem , and it turns out for some reason while it doesn't act as though it's mounted when you first access it to flash a zip, if you go back a few folder levels to the main Root-level of files choices and select the USB-OTG folder all your files should be visible. It's weird, but only through that method of accessing it does it give you full access. Super weird.
Also, I just got my first OTG drive for this phone like an hour ago so I'm flashing a ROM using OTG for the first time right now and it appears to be slow. As. Heck.
I imagine somewhere in the four months after positing this you found an answer to your question, but on the off chance that you haven't or that someone else stumbles across this thread looking for an answer I thought I'd try and help. That plus I found the solution to the problem while tinkering with TWRP MultiRon while waiting for this page to load, so it just felt right, you know?

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.)

[Q]install from SD using CWM 5.8.3.4 / restore the recovery without USB cable

i did an CWM update and m unable to install stuff from the SD card.
is it somehow possible to force a recovery install from the SD card ?i didn't find a way to do this without a cable....
rootkited said:
i did an CWM update and m unable to install stuff from the SD card.
is it somehow possible to force a recovery install from the SD card ?i didn't find a way to do this without a cable....
Click to expand...
Click to collapse
-----------------------------------------------
i have a similar problem...................
i have stupidly installed aurora V3 screen patch .zip for aurora instead of the ADVANCE ii patch .zip and now i have a white screen which i cannot see anything. :-S
I also have NO mini usb port, i damaged it weeks ago when i dropped tablet off my desk while being plugged in.and the port had snapped pins so i totally removed the otg port and have been using extsd to install my stuff...but now i cannot see the screen to do anything.
What my question is is....CAN WE BOOT OR RESTORE FROM THE EXTSDcard with novo 7 advanced 2?
I have read on another site that the aurora, fire and some other ainol tablets can do this i read something about putting uboot and some other files into extsd and it will do a system format then install new os upon totally on its own without any user input.
This maybe done by a.script being activated from the extsd on startup but im not sure.
I even went and bought a miniHDMI lead to see if i could see the sxreen on my tv. But the firmware probably doesnt support hdmi output because my tv shows " no signal"
Like i said any help would be greatly appreciated.
Ps THIS SITE Kicks *arse!! :-o

Cm10.1 with wrong gapps

Please help I am new to this stuff and yesterday I got my phone to cm 10.1 but I realized the .zip from the thread was wrong and now i have 4.2.1 running on my phone but 4.3 gapps and because of that my phones keyboard wont work. Also I cant flash new gapps because it doesn't let me install from my external sd and i haven't found a way to connect my phone to my computer.
Can someone please help me?
Tell me ways I can connect to my pc?
charminster said:
Please help I am new to this stuff and yesterday I got my phone to cm 10.1 but I realized the .zip from the thread was wrong and now i have 4.2.1 running on my phone but 4.3 gapps and because of that my phones keyboard wont work. Also I cant flash new gapps because it doesn't let me install from my external sd and i haven't found a way to connect my phone to my computer.
Can someone please help me?
Tell me ways I can connect to my pc?
Click to expand...
Click to collapse
You can't just... Plug it in to your PC? Don't you have a USB cable?
Connor Baker
No it doesn't connect to my computer. Even tried with other computers and wires
charminster said:
No it doesn't connect to my computer. Even tried with other computers and wires
Click to expand...
Click to collapse
If you cannot turn developer mode on and use ADB push, then, you should be able to in CWM.
Failing that, does Google Play work?
If so, install (from your PC via Google Play page) WiFi File Transfer Pro, fire up an FTP session and push the needed GApps over.
And if all else fails...
ODIN back to stock.
I really don't get it
Can you explain this in detail?
charminster said:
I really don't get it
Can you explain this in detail?
Click to expand...
Click to collapse
Sure thing.
ADB is the debug program for Android. You can use it specifically to push files to the device. But it is not turned on on the device by default. You will need to go into developer options under settings and turn USB debugging on (if Developer Options is not there, go into About Phone and tap Build Number 7 or 8 times tom unlock the feature).
For this to work, you will need a linux PC with an ADB binary (if using Debian/Ubuntu, can "apt-get install adb", then run adb as superuser or sudo) or a windows computer with adbsetup installed. The latter will install the program to C:\adb. So open a command prompt and (with the device plugged in and developer options turned on) type:
Code:
c:
cd \adb
adb devices
You should get a listing of your device, raring to go. If so, great! Copy the the appropriate Gapps package to C:\ADB and type:
Code:
adb push gapps-4.2.zip gapps-4.2.zip
...or whatever the filename is called (there twice as it needs the local and remote file name).
So if that works, can reboot into recovery (CWM) via the three finger salute (turn device off fully, wait a few seconds, hold down both volume buttons while pressing the power button), wipe dalvik cache, and flash the right GApps.
Another option is if you can add Google Play apps to your device. Don't imagine, but if it is possible, fire up your computer and log into your Google Play account. Search for "WiFi File Transfer Pro" and install. With a Wifi connection on the device, it should download and install. If it doesn't, try the scorched earth option below. If it does install, open Wifi File Transfer Pro, turn on FTP server, and keep note of the IP address and Port (Will be noted as IPort). Open or install an FTP client like FileZilla on your PC, and open a connection using that IP address and Port. Transfer the Gapps package over to the device, in the root folder. Then like above, reboot into recovery and wipe dalvik, flash gapps.
The last option, the scorched earth method, is to bring everything back to stock, mind you with root and CWM. Pick option D from the above link (previous post). Download and install adbsetup for the drivers. Option D download will come with a program called ODIN, and that link will have detailed instructions (download and extract the files, open ODIN, put the phone into download mode by turning the device off, hold down both volume buttons while inserting the MicroUSB cable, place the extracted files inthe right sections of ODIN, and flash away).
Hope this helps.
Ok one of my main problems is that I can't use keyboard...which means no internet because I can't type any passwords
And the other big thing is that none of my computers connect toy phone even with USB debugging on from setting and even in recovery
I was wondering if I get a connection with no password will I be update from the phone because there is an option to do so.
charminster said:
Ok one of my main problems is that I can't use keyboard...which means no internet because I can't type any passwords
And the other big thing is that none of my computers connect toy phone even with USB debugging on from setting and even in recovery
I was wondering if I get a connection with no password will I be update from the phone because there is an option to do so.
Click to expand...
Click to collapse
Because Google Play is part of Gapps, there is no guarantee that will work either to update. If you can find an unsecured network (or temporarily turn off WPA on your router), you can test this, but at this point, I would be doing the scorched earth method. You would only be going back to Gingerbread, and however you play your cards (whether you disable lagfix or flash ICS as an intermediary), you would only be one or two flashes away from a functional Jellybean.
Ok my phone doesnt connect with usb ive tried several different times.
I did the adb method everything was fine except i didnt get the device list ,it was empty.
So if it cant connect how will i connect it to my computer to use odin?
Ps. I did download the drivers
charminster said:
Ok my phone doesnt connect with usb ive tried several different times.
I did the adb method everything was fine except i didnt get the device list ,it was empty.
So if it cant connect how will i connect it to my computer to use odin?
Ps. I did download the drivers
Click to expand...
Click to collapse
True enough. Lets try this (as I just thought about it via some other weird, more convoluted way). CM 10.1 comes with a file manager right? Download the 4.2 Gapps onto your mcroSD card, insert it into your device. Fire up the file manager. Copy the Gapps file from the external SD card to the internal card, root folder (where the offending Gapps lies). Reboot into ClockworkMod and wipe Dalvik and install the appropriate zip.
If this does not work, my more convoluted way wouldn't either (search and download "wifi file transfer pro apk" to SD, open with file manager, install, follow the rest of above option 2), and would be out of options except getting your hardware fixed (as it sounds like your device not connecting via USB is a hardware issue).
Ive tried with micro sd before and it hasnt worked
The thing is that All of this stopped working after the update and the thing that i disliked the most was that when i was getting the update it said jb 4.2 gapps but proved wrong
:crying:
charminster said:
Ive tried with micro sd before and it hasnt worked
Click to expand...
Click to collapse
You tried mounting the microSD with the proper Gapps, and copying it with CM's File Manager (to the internal disk to be picked up by CWM later)? Just being clear, and making sure you are not talking about trying to install a zip directly from the MicroSD with CWM (as mentioned, and ruled out before). Because these are two completely different things. Is the MicroSD readable at all on your device? Is it formatted properly (FAT32, or even Ext2/3/4, but not NTFS)?
Can you explain the formatting stuff?
charminster said:
Can you explain the formatting stuff?
Click to expand...
Click to collapse
Sure. Insert the microSD into your computer, and open up Windows Explorer. There will be a new drive that appears. Right click on that removable drive, and select Properties. Confirm the File System. If it is FAT32, you are okay. If it is NTFS, or exFAT, you will need to format (as the Infuse will not recognize these formats). Press Cancel.
Before beginning, make a backup of the MicroSD card, as we are going to wipe and start from scratch. Then, right click on the removable drive again (and only this drive, or you will cause damage to your computer) and select Format. Change the file system to FAT32. If this is not an option, find and download a disk utility that will (I'm not familiar with them, but google "removable storage format fat32 download" for one). Press start, and wait a few minutes. When done, you can reload your files on the drive (restore your backup), and try inserting it in your Infuse again.
Hope this helps.
I followed all your steps bit the phone still doesnt read it i opened setting..storage..mount external sd
But it wasnt letting me and the same thing trying through recoveryCWM
charminster said:
I followed all your steps bit the phone still doesnt read it i opened setting..storage..mount external sd
But it wasnt letting me and the same thing trying through recoveryCWM
Click to expand...
Click to collapse
Probably not, IIRC external SD did not work in CWM for the Infuse. But re-read post #10, what I'm suggesting is getting CWM to read the proper Gapps from the internal card, but placing it there with CyanogenMod's file manager.
CM 10.1 comes with a file manager right? Download the 4.2 Gapps onto your mcroSD card, insert it into your device. Fire up the file manager. Copy the Gapps file from the external SD card to the internal card, root folder (where the offending Gapps lies). Reboot into ClockworkMod and wipe Dalvik and install the appropriate zip.
Click to expand...
Click to collapse
I cant get it there because i cant do anything with the sd card it doesnt show in file manager either
charminster said:
I cant get it there because i cant do anything with the sd card it doesnt show in file manager either
Click to expand...
Click to collapse
Sorry, I misread your previous post. Thanks for the clarification. What are the details on the microSD card? Make, model, speed, capacity? If it is a 64+ GB card, it would spell problems as the Infuse was never rated for a capacity that large.
It's a sandisk 16 gb
Sd card
Fat32
No reason why the microSD won't work in the Infuse.
If you have a Bluetooth keyboard you can borrow - or try buying (not sure if it will connect) - but if you can get your hands on one, you could use that (never had to use one so I don't know how they connect) to download the right GApps package to your phone (via the built-in browser).
I'm curious as well, if the speech-to-text works. You could use google now search to find the gapps package ("okay google, xda developers") and browse to the right page. Of course you will need a unsecured network to attempt.
Other than that, unfortunately I'm out of ideas.

Stuffed up storage system

First post, sorry if this isn't the correct place to start the thread
Alright so I'm running resurrection remix 6.1.0 rom on my rooted oneplus 3T (android version 8.1.0)
The other day, I was trying to input a usb otg into my phone but it would not recognise. Searched all over the settings but there were no options for the usb otg (didnt seem like RRemix supported it)
Now what I did next was kinda stupid on my part, so after searching over the internet and various forums, I tried two approaches
First one was to go to the terminal, entered 'su' to get root access and entered 'sm set-force-adoptable true'
Now I'll admit that I didn't know what this command was at that time, but it still didn't make my phone recognise the otg usb
Next I installed the StickMount app from playstore, mounted the mass storage, but again didnt make my phone recognise the otg usb
But then the problems started to arise, and note that I had enough internal storage (60%)
First I couldnt update some apps (says not enough storage while 11% through download)
Couldnt take pictures nor screenshots (again says no storage)
Also couldnt delete any files Ive downloaded through the default file app ( but can delete any apps)
However I could still download new apps or new files from the internet
So I'm guessing I stuffed up the SD card/ internal storage systems. I was thinking of flashing the RR rom again and starting the phone fresh but that would be a waste of time as I have to set up everything again
I have also tried the command 'sm set-force-adoptable false' but no success
So I'm wondering, are there any ways of undoing whatever I just did, without having to wipe everything and restart??
Thank you so much for any replies, I'll make sure to know what I'm doing in the future before I follow instructions on the net haha
also just curious, but would greatly appreciate if someone could tell me what I just did, searched over the internet but couldnt find a precise answer. My phone also does not have an external SD card
What you did was tell the device to use an external storage device as part of the Interminal storage.
You will have to start over from scratch. Make sure to back everything up.
What you want to do is part of their closed sources rom. I have never had a single aosp based roms with otg.
Sent from my SM-G955U using Tapatalk
zelendel said:
What you did was tell the device to use an external storage device as part of the Interminal storage.
You will have to start over from scratch. Make sure to back everything up.
What you want to do is part of their closed sources rom. I have never had a single aosp based roms with otg.
Sent from my SM-G955U using Tapatalk
Click to expand...
Click to collapse
Ah I see what hapenned, thanks for your reply!
Luckily I decided to do a reboot and super glad it fixed everything. Camera app works perfectly and my phone can recognise my storage again

USB OTG not working in TWRP

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

Categories

Resources