Unable to mount USB in TWRP Recovery - Nexus 7 Q&A, Help & Troubleshooting

New to Nexus 7. I was under the impression one could mount USB internal storage in TWRP for transfering fo ROM files without having to reboot
I cannot check the box, getting
E:unable to mount 'usb--otg"
Click to expand...
Click to collapse
Does the Nexus 7 even allow USB OTG flash drives when booted?

Related

Stuck in Recovery

I recently rooted my Nexus 10 and was wiping by data and system partitions for a fresh install of CM10, and I accidentally chose format all data. So my device is wiped except for TWRP.
I was hoping to just plug it back into my comp. and copy the zip over to install but even though my computer sees the device it doesnt show as removable storage,
I also tried to use adb sideload, but i get the error "failed to write data 'protocol fault <no status>'
Does anyone have advice for how I can get that zip back on my tablet.
In TWRP, select mount, then mount usb drive. Plug into your pc and it should it appear as a usb drive for you to copy the rom or zip.
Edit. It appears that the nexus 10 version of TWRP does not have this option.
Instead, you could use an otg cable and flash drive and copy it to your n10 with TWRP's built in file manager.
Sent from my EVO using xda app-developers app

EXT4 usb drive mount

I have some problems with my ext4 usb drive.
I can use in recovery (I can read/write), and I can use with MultiROM also, but in the system I can't use.
Actually I'm using the stickmount, (and I placed the necessary files mount.exfat-fuse root of SD card) when I plug my USB drive, it looks like properly mount, but the all file explorer say empty drive....
Sent from my Nexus 7 using Tapatalk.
I'm alone here, who can try using ext4 usb drive?
Sent from my Nexus 7 using Tapatalk.
l3s said:
I'm alone here, who can try using ext4 usb drive?
Sent from my Nexus 7 using Tapatalk.
Click to expand...
Click to collapse
I have an ext4 formated USB thumb drive; I also cannot see it (running android 4.2.1) with any of the file explorers I use. I also have installed multirom and use the ext4 usb stick for Ubuntu.
I have an app called "USB OTG Helper" which helps mount stuff plugged into the OTG cable, and the file systems it mounts appear under /storage/UsbOtgDrives/, but the ext4 system does not seem to be mounted. If I plug a vFAT-formated usb stick into the OTG cable, it appears under /storage/UsbOtgDrives/.
So I suspect that the problem is that Android does not understand extX formats...there are probably some apps out there that will enable that but I have not seen them.
kyelo2 said:
I have an ext4 formated USB thumb drive; I also cannot see it (running android 4.2.1) with any of the file explorers I use. I also have installed multirom and use the ext4 usb stick for Ubuntu.
I have an app called "USB OTG Helper" which helps mount stuff plugged into the OTG cable, and the file systems it mounts appear under /storage/UsbOtgDrives/, but the ext4 system does not seem to be mounted. If I plug a vFAT-formated usb stick into the OTG cable, it appears under /storage/UsbOtgDrives/.
So I suspect that the problem is that Android does not understand extX formats...there are probably some apps out there that will enable that but I have not seen them.
Click to expand...
Click to collapse
Actually the USB OTG Helper solve my problem...
I can read and write my ext4 usb drive.

[Q] [PA 3.99] Enable USB mass storage instead of MTP?

Hello,
Is there a way to enable USB Mass Storage on Paranoid Android 3.99? I know it will supposedly prevent the phone from accessing the virtual sdcard partition while plugged to a computer, but this would be a minor annoyance in comparison to the complete pain in the ass that is MTP:
1. Transfers are slow and unreliable (stopping unexpectedly...)
2. It can only perform one task at a time (can't browse folders while copying files for example)
3. Poor implementation on Windows (Explorer keeps asking stupid questions like "are you sure this type of file will be recognized by your device?")
4. Computers with restricted user rights prevent MTP devices from installing.
and so on...
I've tried the following trick:
Code:
su
setprop persist.sys.usb.config mass_storage
reboot
But it didn't work.
Please help. I know it may require a lot of effort but I don't care: MTP is really too much of an annoyance.
No you cannot mount the sdcard as usb mass storage
In order to do that the sdcard has to be it's own fat partition.
On the nexus 4 it is part of the data partition and the folder is fused to the sdcard mount point.
Basically meaning that you can't mount /sdcard because it's not able to be mounted as it's not actually a partition.
And secondly the format is ext4 so even if you could mount it, it would not be readable by Windows
Sent from my Nexus 4 using xda app-developers app
Alex240188 said:
No you cannot mount the sdcard as usb mass storage
In order to do that the sdcard has to be it's own fat partition.
On the nexus 4 it is part of the data partition and the folder is fused to the sdcard mount point.
Basically meaning that you can't mount /sdcard because it's not able to be mounted as it's not actually a partition.
And secondly the format is ext4 so even if you could mount it, it would not be readable by Windows
Click to expand...
Click to collapse
How would Android react if /sdcard was actually a separate FAT32 partition mounted in its usual location?
CutterX said:
How would Android react if /sdcard was actually a separate FAT32 partition mounted in its usual location?
Click to expand...
Click to collapse
According to this article that should work.
http://www.engadget.com/2011/11/21/ice-cream-sandwich-supports-usb-mass-storage-after-all-galaxy-n/
Swyped from my Nexus 4 using Tapatalk 4
CutterX said:
How would Android react if /sdcard was actually a separate FAT32 partition mounted in its usual location?
Click to expand...
Click to collapse
It would work. However doing that is not an easy task.
It would require;
1. Changing the partition table on the phone.
2. Rewriting the bootloader (not 100% sure on this one, but it would be needed to flash any rom from the bootloader (stock)).
3. Rewriting a recovery to support the new partition.
4. Finally making the changes to the rom to support ums mounting.
Sent from my Nexus 4 using xda app-developers app
It looks like this would be something in relatively high demand. So I've been trying to get Android/vold to mount and recognize a vfat image as an sdcard but haven't had any success. It might be easier to work with if I killed off the fuse mount to start, but I'm not really looking to do that right now. Manually mounting the image isn't a problem (busybox mount or using losetup first to establish the loop) but without Android recognizing it, there's no chance of being able to use usb mass storage.
Of course the inherent issue will then be "lost" space with regards to the internal storage, since it'd be dedicated to the "sdcard". It seems most users would be fine with this, setting aside a gig or two.

[Q] Can't mount sdcard in CWM 6.0.4.4. Help!

Guys, all of a sudden CWM can't mount the sdcard. I wiped the data in order to install Vanir's ROM. I was previously on Rayglobe's. Is there anyway to come outta this? I'm desperate guys, please help me. I don't want this costly phone to become a brick! It's D802 BTW.
nvidiageek said:
Guys, all of a sudden CWM can't mount the sdcard. I wiped the data in order to install Vanir's ROM. I was previously on Rayglobe's. Is there anyway to come outta this? I'm desperate guys, please help me. I don't want this costly phone to become a brick!
Click to expand...
Click to collapse
Sorry,correct me if my knowledge was wrong - but how u want to mount a SD-Card when the phone has no slot for it?
Hi,
Yes, you can't mount sdcard in recovery with phones without sdcard (the recovery can't mount the link to the internal memory, even if it's called sdcard), if you have an USB OTG cable you can mount your external sdcard and make backup or put into it some flashable zip's...
If you wiped data, why you want to mount your sdcard , you have your rom in the internal memory so just flash it...
kont0mat said:
Sorry,correct me if my knowledge was wrong - but how u want to mount a SD-Card when the phone has no slot for it?
Click to expand...
Click to collapse
Internal storage is named "sdcard", even though that doesn't make any sense. I've Nexus 4 and it shows the same thing too.
viking37 said:
Hi,
Yes, you can't mount sdcard in recovery, if you have an USB OTG cable you can mount your external sdcard...
If you wiped data, why you want to mount your sdcard , you have your rom in the internal memory so just flash it...
Click to expand...
Click to collapse
I used to flash other ROMs through "sdcard" from CWM menu before, it was working perfectly until now. There's also "external_sdcard" sub-menu too.
nvidiageek said:
I used to flash other ROMs through "sdcard" from CWM menu before, it was working perfectly until now. There's also "external_sdcard" sub-menu too.
Click to expand...
Click to collapse
Hum... No need to mount your sdcard to flash your rom... Like I said external sdcard is if you use an USB OTG cable, it's the link for your external USB storage.
In CWM navigate to the sdcard then where you put your rom, simple...
But if you wiped your sdcard in recovery, it will be harder for sure...
Or I don't understand what you mean
So I flashed TWRP D802 ver. from Flashify, but now I can't even do a factory reset as it says that it cannot mount /data. Now I can't wipe nor can I install a zip from TWRP. Please help me.
Just flash stock. Go to general section. "Go back to stock"

"cannot stat 'rom.zip': No such file or directory"

So I have to push my rom from my pc to my phone since I did not do this and now I have no rom on my phone. I try to push it using "adb push rom.zip /sdcard/" and it does not work. Can someone please help me? I really want my phone to work again :crying:
kevinm614 said:
So I have to push my rom from my pc to my phone since I did not do this and now I have no rom on my phone. I try to push it using "adb push rom.zip /sdcard/" and it does not work. Can someone please help me? I really want my phone to work again :crying:
Click to expand...
Click to collapse
Give me a few details about your device. What model number? Rooted? Custom Recovery installed? If you have a custom Recovery installed look below?
Do you have TWRP or Philz Recovery installed? If yes, can you boot to recovery using the correct button sequence?If yes, while in recovery, connect to your PC and let the drivers install. Click on the Windows Start button and select Computer. Do you see your Galaxy S5 listed? If yes, double click on your device and see if Internal Storage is listed. If so, you can copy and paste your ROM Zip to internal storage and then flash it in recovery.
Let me know if this helps your situation or if we need to go a different route.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
Give me a few details about your device. What model number? Rooted? Custom Recovery installed? If you have a custom Recovery installed look below?
Do you have TWRP or Philz Recovery installed? If yes, can you boot to recovery using the correct button sequence?If yes, while in recovery, connect to your PC and let the drivers install. Click on the Windows Start button and select Computer. Do you see your Galaxy S5 listed? If yes, double click on your device and see if Internal Storage is listed. If so, you can copy and paste your ROM Zip to internal storage and then flash it in recovery.
Let me know if this helps your situation or if we need to go a different route.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thank you for replying
It's a G900P, right now it's not rooted because I wiped everything off my phone, including my old ROM.
My custom recovery is Philz, and yes I can get to recovery mode. However, when I connect my phone to my PC, I don't see my phone listed.
kevinm614 said:
Thank you for replying
It's a G900P, right now it's not rooted because I wiped everything off my phone, including my old ROM.
My custom recovery is Philz, and yes I can get to recovery mode. However, when I connect my phone to my PC, I don't see my phone listed.
Click to expand...
Click to collapse
While booted into recovery, have you tried using a different USB port on your PC? Have you tried a different USB cable as well? If this doesn't change anything, look below:
Do you have a micro SD card that you can stick into your PC and copy the ROM zip to it? If so, copy the ROM to the micro SD card and stick it into your S5 and flash the ROM zip using Philz. That's the way I do it.
fast69mopar said:
While booted into recovery, have you tried using a different USB port on your PC? Have you tried a different USB cable as well? If this doesn't change anything, look below:
Do you have a micro SD card that you can stick into your PC and copy the ROM zip to it? If so, copy the ROM to the micro SD card and stick it into your S5 and flash the ROM zip using Philz. That's the way I do it.
Click to expand...
Click to collapse
I have tried using different USB ports and cables, but I still have the same problem. Sadly, I don't have a microSD card.
If you can't get anything else to work then a microSD card will be the best way. Even if you have to borrow a card you can get the job done.
Just a quick question. Do you have the Samsung USB drivers installed to your PC?
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
If you can't get anything else to work then a microSD card will be the best way. Even if you have to borrow a card you can get the job done.
Just a quick question. Do you have the Samsung USB drivers installed to your PC?
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
Yep, I have them installed, but my phone still doesn't get recognized.
fast69mopar said:
If you can't get anything else to work then a microSD card will be the best way. Even if you have to borrow a card you can get the job done.
Just a quick question. Do you have the Samsung USB drivers installed to your PC?
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
Is there any other way I can do this?
kevinm614 said:
Yep, I have them installed, but my phone still doesn't get recognized.
Click to expand...
Click to collapse
Okay. I think I may have overlooked a step earlier in your ADB error. It looks like your trying to push your ROM.zip from your home directory instead of pushing the ROM zip from the files actual location. What folder is the ROM zip saved in? Is it in the "DOWNLOADS" folder? If so, then you ADB command would be:
adb push ~/Downloads/rom.zip /sdcard/
Let me know if changing your ADB command works and pushes the ROM.zip to your internal storage.
fast69mopar said:
Okay. I think I may have overlooked a step earlier in your ADB error. It looks like your trying to push your ROM.zip from your home directory instead of pushing the ROM zip from the files actual location. What folder is the ROM zip saved in? Is it in the "DOWNLOADS" folder? If so, then you ADB command would be:
adb push ~/Downloads/rom.zip /sdcard/
Let me know if changing your ADB command works and pushes the ROM.zip to your internal storage.
Click to expand...
Click to collapse
I still get the same error, cannot stat '~/Downloads/rom.zip': No such file or directory.
Okay. Here's what we need to do. I missed this part too and that's my bad. Boot to recovery and select "Mounts and Storage". Plug in the USB cable to the device. Now, make sure your device shows UNMOUNT SDCARD and UNMOUNT SYSTEM. You want your SDCARD and SYSTEM to be mounted so you can push the file.
Now that you are connected, open your command prompt and run your ADB push commands and tell me what happens. Does it transfer your file successfully?
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
Okay. Here's what we need to do. I missed this part too and that's my bad. Boot to recovery and select "Mounts and Storage". Plug in the USB cable to the device. Now, make sure your device shows UNMOUNT SDCARD and UNMOUNT SYSTEM. You want your SDCARD and SYSTEM to be mounted so you can push the file.
Now that you are connected, open your command prompt and run your ADB push commands and tell me what happens. Does it transfer your file successfully?
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
There is no mount/unmount sdcard option, but there is a "format /data and /data/media (/sdcard)" option. I can find the umount /system option though.
kevinm614 said:
There is no mount/unmount sdcard option, but there is a "format /data and /data/media (/sdcard)" option. I can find the umount /system option though.
Click to expand...
Click to collapse
Well, that's weird because I am looking at the Philz menu right now as we speak. I selected "Mounts and Storage" from the main screen. Now, while looking down the list in "Mounts and Storage" I see this:
mount /efs
unmount /cache
mount /system
unmount /data
mount /preload
mount /sdcard
mount /external_sd
mount /ext-sd
format /cache
format /system
format /data
format /preload
format /sdcard
format /external _sd
format /ext-sd
format /data and /data/media (/sdcard)
mount USB storage
*****Go Back*****
Does your Philz not look like this in the Mounts and Storage menu? If it does, then you want to see these two below:
Unmount /system
Unmount /sdcard
Sent from my Nexus 6 using XDA-Developers mobile app
---------- Post added at 04:29 AM ---------- Previous post was at 04:25 AM ----------
fast69mopar said:
Well, that's weird because I am looking at the Philz menu right now as we speak. I selected "Mounts and Storage" from the main screen. Now, while looking down the list in "Mounts and Storage" I see this:
mount /efs
unmount /cache
mount /system
unmount /data
mount /preload
mount /sdcard
mount /external_sd
mount /ext-sd
format /cache
format /system
format /data
format /preload
format /sdcard
format /external _sd
format /ext-sd
format /data and /data/media (/sdcard)
mount USB storage
*****Go Back*****
Does your Philz not look like this in the Mounts and Storage menu? If it does, then you want to see these two below:
Unmount /system
Unmount /sdcard
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Nexus 6 using XDA-Developers mobile app
---------- Post added at 04:30 AM ---------- Previous post was at 04:29 AM ----------
fast69mopar said:
Well, that's weird because I am looking at the Philz menu right now as we speak. I selected "Mounts and Storage" from the main screen. Now, while looking down the list in "Mounts and Storage" I see this:
mount /efs
unmount /cache
mount /system
unmount /data
mount /preload
mount /sdcard
mount /external_sd
mount /ext-sd
format /cache
format /system
format /data
format /preload
format /sdcard
format /external _sd
format /ext-sd
format /data and /data/media (/sdcard)
mount USB storage
*****Go Back*****
Does your Philz not look like this in the Mounts and Storage menu? If it does, then you want to see these two below:
Unmount /system
Unmount /sdcard
Sent from my Nexus 6 using XDA-Developers mobile app
---------- Post added at 04:29 AM ---------- Previous post was at 04:25 AM ----------
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
This is just a quick pic from a Google search I found and it matches my Philz menu.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
Well, that's weird because I am looking at the Philz menu right now as we speak. I selected "Mounts and Storage" from the main screen. Now, while looking down the list in "Mounts and Storage" I see this:
mount /efs
unmount /cache
mount /system
unmount /data
mount /preload
mount /sdcard
mount /external_sd
mount /ext-sd
format /cache
format /system
format /data
format /preload
format /sdcard
format /external _sd
format /ext-sd
format /data and /data/media (/sdcard)
mount USB storage
*****Go Back*****
Does your Philz not look like this in the Mounts and Storage menu? If it does, then you want to see these two below:
Unmount /system
Unmount /sdcard
Sent from my Nexus 6 using XDA-Developers mobile app
---------- Post added at 04:29 AM ---------- Previous post was at 04:25 AM ----------
Sent from my Nexus 6 using XDA-Developers mobile app
---------- Post added at 04:30 AM ---------- Previous post was at 04:29 AM ----------
This is just a quick pic from a Google search I found and it matches my Philz menu.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
All I see are
unmount /system
mount /data
unmount /cache
mount /firmware
mount /firmware-modem
format /boot
format/system
format /data
format /cache
format /firmware
format /firmware-modem
format /data and /data/media (/sdcard)
mount USB storage
kevinm614 said:
All I see are
unmount /system
mount /data
unmount /cache
mount /firmware
mount /firmware-modem
format /boot
format/system
format /data
format /cache
format /firmware
format /firmware-modem
format /data and /data/media (/sdcard)
mount USB storage
Click to expand...
Click to collapse
Another question, I know you said you didn't have a micro SD card but what about a USB-OTG device? You could connect it to your PC and save your new ROM zip to it. Then, You can select Mounts and Storage and then select Mount USB storage.
I need to look again the Galaxy S5 to see why you cannot see the SD card in Mounts and Storage. Ill post back shorlty.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
Another question, I know you said you didn't have a micro SD card but what about a USB-OTG device? You could connect it to your PC and save your new ROM zip to it. Then, You can select Mounts and Storage and then select Mount USB storage.
I need to look again the Galaxy S5 to see why you cannot see the SD card in Mounts and Storage. Ill post back shorlty.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
Nope, I have seen that, but I don't have it. If my problem still occurs over the weekend, I might buy a micro SD or a USB OTG.
kevinm614 said:
Nope, I have seen that, but I don't have it. If my problem still occurs over the weekend, I might buy a micro SD or a USB OTG.
Click to expand...
Click to collapse
The SD card or OTG will fix your problem. Let me know what you do. Good luck.
kevinm614 said:
So I have to push my rom from my pc to my phone since I did not do this and now I have no rom on my phone. I try to push it using "adb push rom.zip /sdcard/" and it does not work. Can someone please help me? I really want my phone to work again :crying:
Click to expand...
Click to collapse
Root Your Phone .. Install Custom recovery like PhiLz Recovery... Flash the rom using custom recovery You may Put your rom into your sd card .. It will definitely work for You ^_^
ZuBaiR ChAuDhrY said:
Root Your Phone .. Install Custom recovery like PhiLz Recovery... Flash the rom using custom recovery You may Put your rom into your sd card .. It will definitely work for You ^_^
Click to expand...
Click to collapse
The OP has Philz Recovery installed but he cannot get his PC to recognize his device while booted into recovery. I suggested that he/she use a Micro SD CARD or a USB OTG to save a ROM zip to and then flash it in recovery. I was waiting to see if the OP purchased a micro SD card or OTG.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
The OP has Philz Recovery installed but he cannot get his PC to recognize his device while booted into recovery. I suggested that he/she use a Micro SD CARD or a USB OTG to save a ROM zip to and then flash it in recovery. I was waiting to see if the OP purchased a micro SD card or OTG.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
I purchased a micro SD last night and all is going well. Thanks a lot

Categories

Resources