Use OnePlus One as USB mass storage device? - ONE Q&A, Help & Troubleshooting

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

Related

[Q] Usb not detecting on ubuntu using Ics

Just flashed my nexus with ics..One problem though...When i try to connect it to ubuntu..its not getting detected...any idea??
Did you do the necessary edits in Ubuntu to get the USB device to be recognized?
http://forum.xda-developers.com/showthread.php?t=883032
Greetz
I had no problem connecting with stock rom..After flashing ics,everything started. I am not being able to mount even mass storage.Everytime i want to copy some files, i have to go into cwm recovery.
I have no problems on latest kang, connects via mtp as intended. Mass storage with on board non removable flash devices like the galaxy nexus is not possible anymore as they have redone the drive structure.
abhay1987 said:
I had no problem connecting with stock rom..After flashing ics,everything started. I am not being able to mount even mass storage.Everytime i want to copy some files, i have to go into cwm recovery.
Click to expand...
Click to collapse
Sent from my Nexus S using XDA App

[Q] usb mass storage mode?

How do enable this so I can transfer some files on my computer? I only get mtp or some other camera option. I just want it to show up as a normal drive. Is there a different driver to be installed?
google removed mass storage mode from android (jellybean(?) and later)
(i think it was b/c mass storage mode does not allow the phone to mount /sdcard while connected to PC.... so apps using /sdcard for storage may become unstable... MTP allows both phone and computer to access /sdcard together, with the phone controlling access)
custom kernels/roms may still include this feature
It can't be done on a FUSE file system
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
abmone said:
How do enable this so I can transfer some files on my computer? I only get mtp or some other camera option. I just want it to show up as a normal drive. Is there a different driver to be installed?
Click to expand...
Click to collapse
Via Developer Options and enabling USB Debugging, mine shows up as you say "like a normal drive". To see everything, you'll want to make sure "Media Device (MTP)" is selected. Also make sure you have the drivers for your device installed on your computer.
If that still doesnt work, try using: SG USB Mass Storage Enabler, available for free on the app store (play.google.com)
That worked for me on my Galaxy S4 on the GPE Rom.
paperWastage said:
google removed mass storage mode from android (jellybean(?) and later)
(i think it was b/c mass storage mode does not allow the phone to mount /sdcard while connected to PC.... so apps using /sdcard for storage may become unstable... MTP allows both phone and computer to access /sdcard together, with the phone controlling access)
custom kernels/roms may still include this feature
Click to expand...
Click to collapse
this is just all kinds of wrong.
google didnt remove it, there's just no sdcard slot so there is no mass storage mode. end of discussion.
This is also wrong. The one x had no sdcard slot but still had mass storage mode.
The reason it's gone is because of the fused sdcard partition. It is actually an ext4 partition which cannot be read by windows in mass storage mode.
The reason they did this was firstly better performance and less limitations than fat in android. And that the partition can be dynamically changed so no risk of /data becoming full and not being able to install anymore apps etc..
There are several other reasons but I'm not going into the boring stuff
Sent from my Nexus 4 using xda app-developers app
Alex240188 said:
The reason it's gone is because of the fused sdcard partition. It is actually an ext4 partition which cannot be read by windows in mass storage mode.
The reason they did this was firstly better performance and less limitations than fat in android.
Click to expand...
Click to collapse
Exactly. Windows blows, we all know that.
Alex240188 said:
There are several other reasons but I'm not going into the boring stuff
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I think I pretty much covered the reasons in my n5 data thread in general if anyone wants to read it
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit

HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I have accidentally formatted my entire LG G2(VS980) in CWM. and now I am stuck at the main LG screen with nowhere to go because their is no ROM installed. I cant use adb sideload either because I cant confirm the handshake and ive tried to use OTG in CWM but nothing pops up. I have wasted money on an over the night delivery because someone guaranteed me it would work so now I am out money....please I really need help...I am so screwed...:crying:
MoE MuRk said:
I have accidentally formatted my entire LG G2(VS980) in CWM. and now I am stuck at the main LG screen with nowhere to go because their is no ROM installed. I cant use adb sideload either because I cant confirm the handshake and ive tried to use OTG in CWM but nothing pops up. I have wasted money on an over the night delivery because someone guaranteed me it would work so now I am out money....please I really need help...I am so screwed...:crying:
Click to expand...
Click to collapse
FIRST: calm down please
Which version of CWM is installed? You can mount USB storage in the recovery and simply copy a rom to your sdcrad as it will be handled as usb mass storage. In case you can't mount storage --> we'll get it working another way
WHY you use adb to copy files? Mass storage is even more easy + safe
LS.xD said:
FIRST: calm down please
Which version of CWM is installed? You can mount USB storage in the recovery and simply copy a rom to your sdcrad as it will be handled as usb mass storage. In case you can't mount storage --> we'll get it working another way
WHY you use adb to copy files? Mass storage is even more easy + safe
Click to expand...
Click to collapse
v6.0.4.4 is the version of CWM I have
MoE MuRk said:
v6.0.4.4 is the version of CWM I have
Click to expand...
Click to collapse
You can mount USB storage in the recovery and simply copy a rom to your sdcrad as it will be handled as usb mass storage.
Can you do like this?
LS.xD said:
You can mount USB storage in the recovery and simply copy a rom to your sdcrad as it will be handled as usb mass storage.
Can you do like this?
Click to expand...
Click to collapse
when I try to mount USB it doesn't do anything at all. I tap on it and it does nothing at all
MoE MuRk said:
when I try to mount USB it doesn't do anything at all. I tap on it and it does nothing at all
Click to expand...
Click to collapse
Device must connected to pc... If it does not mount try restarting the recovery and do again. Close all adb instances on your computer.
LS.xD said:
Device must connected to pc... If it does not mount try restarting the recovery and do again. Close all adb instances on your computer.
Click to expand...
Click to collapse
ok i didn't close ADB ill try that in device manager it doesn't recognize my phone..do you know the commands to shut down all ADB stuff?
MoE MuRk said:
ok i didn't close ADB ill try that in device manager it doesn't recognize my phone..do you know the commands to shut down all ADB stuff?
Click to expand...
Click to collapse
Str-Alt-Del --> Close ADB.exe
also use a different USB port!
And have you installed latest USB drivers for your device?
FIXED!!!
Fixed thanks to LS.xD.....GENIUS!!!!!

[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

Fully Wipe internal Storage and flash new Rom from Pc

Hey guys, I just wanted to know if there is any way by which I could completely wipe the internal memory and flash a rom, kernel etc straight from the PC through USB? Also If someone could recommend a Rom and gapps (xposed user) it would be greatly appreciated. Thank you.
Sent from my A0001 using XDA-Developers mobile app
Edit : I don't necessarily have to flash from the PC, I just want to completely wipe the Internal memory before flashing a new Rom coz of viruses. Thank you
Sent from my A0001 using XDA-Developers mobile app
You have that option on Twrp.
Wipe -> Advanced -> Choose all partitions including internal storage
If you to Instal new rom from PC, you have to use fastboot but you can use USB otg to
FSadino said:
You have that option on Twrp.
Wipe -> Advanced -> Choose all partitions including internal storage
If you to Instal new rom from PC, you have to use fastboot but you can use USB otg to
Click to expand...
Click to collapse
But if I choose Internal storage from TWRP won't the rom and gapps get erased too?
Sent from my A0001 using XDA-Developers mobile app
Well yes that would happen, you'd delete the files you put on the internal storage so, when you do the "full" wipe in TWRP using the Advanced wipe option, select everything except the internal storage which will leave those files located there intact.
br0adband said:
Well yes that would happen, you'd delete the files you put on the internal storage so, when you do the "full" wipe in TWRP using the Advanced wipe option, select everything except the internal storage which will leave those files located there intact.
Click to expand...
Click to collapse
I understand but I want to wipe the internal storage too , is there a way for me to flash the files from the PC through recovery?
Sent from my A0001 using XDA-Developers mobile app
No, there's not really much you can do at that point since you'd be cleaning out any content there you'd need to redo the phone back to a functional state. The only types of ROMs you can flash directly in fastboot mode are pretty much the factory CyanogenOS ones from what I can tell, those are the only ones provided as actual partition images, the rest are designed to be installed through recovery, even OxygenOS comes in a recovery flashable form (the last one for the OPO, 2.1.4).
Well there's one possible way: using an OTG USB stick with the ROM files on that, it might work but I can't say for certain it will. You could do the full wipe including the internal storage, use the file manager in TWRP to copy the ROM from the OTG USB stick back to internal storage then flash, maybe.
Just put all the files you need on pen drive, wipe all partitions including internal storage, plug pen drive through otg cable and flash everything you need
galaxys3lover said:
Edit : I don't necessarily have to flash from the PC, I just want to completely wipe the Internal memory before flashing a new Rom coz of viruses. Thank you
Sent from my A0001 using XDA-Developers mobile app
Click to expand...
Click to collapse
Android is vulnerable to virus?
I just wipe and transfer the ROM/Gapps/addons from my PC while still in recovery.
This has always worked fine with my Oneplus One. My Note 5 and Galaxy Tab S2 will not be detected by my PC in recovery.
ADB sideload the ROM after erasing the Internal Storage
Doomerts said:
I just wipe and transfer the ROM/Gapps/addons from my PC while still in recovery.
This has always worked fine with my Oneplus One. My Note 5 and Galaxy Tab S2 will not be detected by my PC in recovery.
Click to expand...
Click to collapse
Thank you. Is there a tool to do that? I remember having a tool to do that for the S3.
Sent from my A0001 using XDA-Developers mobile app
galaxys3lover said:
Thank you. Is there a tool to do that? I remember having a tool to do that for the S3.
Click to expand...
Click to collapse
euh, Windows explorer?
I don't use a tool at all. I plug in the USB cable, computer goes "pling", I drag and drop files from my computer into the phone's folder and done.
If you can't do this I'm not really even sure where to begin to find out why I can and you can't. Try just, going into recovery, plugging your phone into your computer and seeing what happens?
Doomerts said:
euh, Windows explorer?
I don't use a tool at all. I plug in the USB cable, computer goes "pling", I drag and drop files from my computer into the phone's folder and done.
If you can't do this I'm not really even sure where to begin to find out why I can and you can't. Try just, going into recovery, plugging your phone into your computer and seeing what happens?
Click to expand...
Click to collapse
My bad , I thought windows woudnt recognize the phone storage while in recovery , I thought i would have to do it through fastboot , i just checked it reads while in recovery ,I will try flashing now , Thanks for your help
galaxys3lover said:
My bad , I thought windows woudnt recognize the phone storage while in recovery , I thought i would have to do it through fastboot , i just checked it reads while in recovery ,I will try flashing now , Thanks for your help
Click to expand...
Click to collapse
We cool. Good luck!
You could always just format everything through recovery and then either push or sideload the new rom through adb.
darshiz said:
ADB sideload the ROM after erasing the Internal Storage
Click to expand...
Click to collapse
this is the right answer
I'm surprised people haven't come up with ADB push yet.
Before wiping everything ADB pull the required files.
Wipe everything from the recovery, and while in recovery, ADB push everything you pulled back to the device.
Profit!
Mr.Ak said:
Android is vulnerable to virus?
Click to expand...
Click to collapse
Everything that is connected to the internet is vulnerable to virus

Categories

Resources