[SOLVED-ISH]Cannot mount USB-OTG in TWRP

llabtaem

Member
Mar 14, 2015
25
5
0
***EDIT: The purpose of this post was to perform a clean flash using an USB-OTG cable that was not being read in TWRP. Please see https://forum.xda-developers.com/showpost.php?p=73174128&postcount=5 of this thread to perform a ADB sideload if need be.

Hello,

I have flashed the latest FreedomOS ROM with the latest ElementalX Kernel. I had to perform a dirty flash over the OxygenOS using the latest TWRP 3.1.1-1 because when I try to mount the USB-OTG, TWRP will not mount the flash drive. TWRP is showing the USB-OTG as nothing being there. I am experiencing a few issues so I want to perform a clean flash in hopes that a clean flash will correct these issues, but as most of you are aware. If I wipe the internal memory of the phone I will be left with a paper weight. So I did some Googling and came a crossed a potential fix and that was to format the flash drive as exFAT and/or FAT32, both of which did not work. I tried different flash drives as well. So before I buy a new USB-OTG cable (which does work when booted into the ROM) I was wondering if this post (https://forum.xda-developers.com/showpost.php?p=72828325&postcount=75) from searching these forums will correct the issue? I am not sure extacly what it will do so I don't want to flash it and it causes me more issues than what I am experiencing.

Any advise or assistance would be greatly appreciated. Thank you
 
Last edited:

dj_chapz

Senior Member
Jun 1, 2011
276
111
63
Frankfurt am Main
One thing that may affect that is that the option to mount OTG storage needs to be enabled in the stock ROM. It may be that this keeps this flag while booted but when you boot to TWRP, this flag may not be transmitted to the kernel and it may not enable OTG. I cant say thats the issue, but its certanly something to take into consideration.
 
  • Like
Reactions: llabtaem

llabtaem

Member
Mar 14, 2015
25
5
0
One thing that may affect that is that the option to mount OTG storage needs to be enabled in the stock ROM. It may be that this keeps this flag while booted but when you boot to TWRP, this flag may not be transmitted to the kernel and it may not enable OTG. I cant say thats the issue, but its certanly something to take into consideration.
I had a similar thought so I ensured the USB-OTG option in the ROM was set. I bought another USB-OTG cable as I found my self at a Staples anyhow. I tried that to no avail, so it is now quite obvious it is a software based issue. Unless I have worse luck than I thought and I have two USB-OTG cables that won't work with TWRP.... I guess for now I can research what would be better for flashing a ROM, fastboot or ADB and then read up on how to perform one or the other and hope I don't turn my shiny new phone into a paper weight. I wish I had the brain some of you guys here have. :silly:

Thank you for your time dj_chapz
 
  • Like
Reactions: gndnr

dj_chapz

Senior Member
Jun 1, 2011
276
111
63
Frankfurt am Main
I had a similar thought so I ensured the USB-OTG option in the ROM was set. I bought another USB-OTG cable as I found my self at a Staples anyhow. I tried that to no avail, so it is now quite obvious it is a software based issue. Unless I have worse luck than I thought and I have two USB-OTG cables that won't work with TWRP.... I guess for now I can research what would be better for flashing a ROM, fastboot or ADB and then read up on how to perform one or the other and hope I don't turn my shiny new phone into a paper weight. I wish I had the brain some of you guys here have. :silly:

Thank you for your time dj_chapz
Its REALLY hard these days to brick your phone :D TWRP does a great job of "protecting us from ourselves".
You can always while in TWRP use ADB sideload to push another zip if your first one fails for whatever reason.
ADB sideload should basically be your "external storage" option.
 
  • Like
Reactions: llabtaem

llabtaem

Member
Mar 14, 2015
25
5
0
Its REALLY hard these days to brick your phone :D TWRP does a great job of "protecting us from ourselves".
You can always while in TWRP use ADB sideload to push another zip if your first one fails for whatever reason.
ADB sideload should basically be your "external storage" option.
Hello again dj_chapz,

Thank you for this advice! I installed the Android SDK and tried to sideload the zip file but kept receiving an error about the ADB not being able to load the zip file. So after doing some searching around I came a crossed this post https://forum.xda-developers.com/showpost.php?p=69648733&postcount=47. After doing what was stated in that post and performing a reboot of my computer I was able to sideload the ROM and Kernel (clean slate, fresh start). So again thank you for all your help and time.:good: Hopefully this fresh start will clear up some issues I was having when I did the dirty flash.
 

adityakulkarni11

New member
May 7, 2018
2
0
0
Fastboot ROM

I'm also facing the same issue, when I try to mount a SD Card/OTG, the tickbox in isn't selected.
Can this issue be solved if I flash a fastboot ROM of my device?
Please Help!