Hi all,
For the purists amongst you, like myself, I have attached a modified, repacked boot image that will mount (automatically) external storage devices to /storage/usbdisk and /storage.
You need to be rooted and unlocked.
Installation:
Backup your boot image with recovery of your choice
Reboot into bootloader
fastboot flash boot neostock421.img
reboot into android
rename vold.txt to vold.fstab (XDA wouldn't let me upload a vold.fstab)
copy and paste vold.fstab (attached) into /system/etc/
set permissions on vold.fstab to 755
reboot
plug in your drive and enjoy
Notes:
The storage device will not show up in settings/storage, that requires modification of the framework, I could do it (if there is a suitable apktool available) and package the lot as an update.zip but for the time being I won't.
Observations:
I have observed that in Root explorer, the device is mounted read-only initially (you can simply remount read-write), but if I open /storage/usbdisk in Estrongs and return to Root Explorer, it's now read-write. Either way, you should no trouble getting read-write.
Warnings:
Do the above at your own risk, I take no responsibility, bla bla, etc etc.
Thanks for your stuff
Added in the Index for N10
Hello! Thank you! I can flash this on stock ROM? OTG will work?
Slin1402 said:
Hello! Thank you! I can flash this on stock ROM? OTG will work?
Click to expand...
Click to collapse
Yep,
That's the Idea Enjoy.
Does it support ext3/4 file systems, or only FAT?
This is not good!
ITS GREAT!
Thank you!!
:laugh:
:good:
Not working here :\
xtzz said:
Not working here :\
Click to expand...
Click to collapse
It just auto mounts existing supported file systems, nothing more, nothing less.
I haven't tested it with anything other than a fat file system cause that's all I have on my pen drives.
Unfortunately the N10 doesn't appear to source enough power to power my 2.5" hdd, shame cause my XOOM used to power it just fine.
Sent from my GT-I9300 using Tapatalk 2
I am using an external WD My Book Essential with external power supply. Is it suppposed to have a notification after it's plugged in? Cause it doesn't happen and it doesn't appear in Settings -> Storage.
xtzz said:
I am using an external WD My Book Essential with external power supply. Is it suppposed to have a notification after it's plugged in? Cause it doesn't happen and it doesn't appear in Settings -> Storage.
Click to expand...
Click to collapse
Nope, no notification, and nothing in Settings->Storage (like I said in OP).
Just open your file browser and it's mounted and visible in 3 places;
/mnt/usbdisk
/storage/usbdisk
/usbdisk
Sent from my GT-I9300 using Tapatalk 2
Had to wait for some time, I guess it needed it to index the files or whatever, finally it's working.
Thanks for your awesome work, I really missed only the USB OTG storage support from the stock jop40d
xtzz said:
Had to wait for some time, I guess it needed it to index the files or whatever, finally it's working.
Thanks for your awesome work, I really missed only the USB OTG storage support from the stock jop40d
Click to expand...
Click to collapse
What is your HD formatted in, FAT32 or NFTS?
How does this work with TWRP? Meaning, if a flash drive is selected as the destination, on a reboot of TWRP, is the setting retained?
wptski said:
What is your HD formatted in, FAT32 or NFTS?
Click to expand...
Click to collapse
+1
This works with any file system? Only FAT or NTFS, only read or write?
Slin1402 said:
+1
This works with any file system? Only FAT or NTFS, only read or write?
Click to expand...
Click to collapse
Only FAT... R/W
@alias_neo, hit me up on PM... I'd like to work with you to get this to a better state... aka, NTFS & settings storage support... I'm not running stock right now, so I need someone to send me some files and test it!!
craigacgomez said:
Only FAT... R/W
Click to expand...
Click to collapse
Yep that's right guys, as Craig says. If you want NTFS, go check out his amazing ROM, this is only intended for those that want to stay stock as possible.
Sent from my GT-I9300 using Tapatalk 2
alias_neo said:
Yep that's right guys, as Craig says. If you want NTFS, go check out his amazing ROM, this is only intended for those that want to stay stock as possible.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Do you think we can use this mod to mount a wireless hard drive like the Seagate GoFlex or the Kingston Wi-Drive if using this guide?
http://reviewlagoon.com/nexus-7-tutorial-mount-network-share-as-a-drive/
cadiken said:
Do you think we can use this mod to mount a wireless hard drive like the Seagate GoFlex or the Kingston Wi-Drive if using this guide?
http://reviewlagoon.com/nexus-7-tutorial-mount-network-share-as-a-drive/
Click to expand...
Click to collapse
This thread is more suited for that purpose... http://forum.xda-developers.com/showthread.php?t=2003836
craigacgomez said:
This thread is more suited for that purpose... http://forum.xda-developers.com/showthread.php?t=2003836
Click to expand...
Click to collapse
Thanks
Related
hi all
any1 know of a method or programs to copy/transfer files > 4GB to HOX?
Just mount as Removable Device, right click and Paste. I copied a 12gb HD movie to my HOX last night.
dr9722 said:
Just mount as Removable Device, right click and Paste. I copied a 12gb HD movie to my HOX last night.
Click to expand...
Click to collapse
I have done that.. and then it stops to tell me cant copy/transfer files > 4GB because FAT32 does not allow it (Partition type limitation)
I even tried FTP'ing the file to the device and it stopped at 4GB exactly
Have you formatted your card differently?
are you using windows to transfer/copy the files? (I am)
do you use the standard windows copy/transfer method? (I am Using TerraCopy)
just plug the usb to pc and format the sd card as NTFS and you can remove the limitations of 4GB
kami2k said:
just plug the usb to pc and format the sd card as NTFS and you can remove the limitations of 4GB
Click to expand...
Click to collapse
Won't that affect how apps are installed as well? AFAIK most devs optimise their apps for FAT32, as it's the default format of the storage.
Nop who said u so? Apkz r file independent
Sent from my HTC One X using xda premium
kami2k said:
Nop who said u so? Apkz r file independent
Click to expand...
Click to collapse
have you formatted you SD to NTFS?
as I have read on another Forum post that once they formatted the Card and rebooted.. the card reformatted to FAT32
@dr9722 could you please state all your system specs that has allowed you to transfer the files
including the model of your HOX and the ROM maybe this affects it as well (dont know why it should??)
i thought linux (out of the box at least) doesn't support ntfs?
lawrence750 said:
i thought linux (out of the box at least) doesn't support ntfs?
Click to expand...
Click to collapse
to my understanding that is true.. so how did anyone manage to copy a file >4GB to their HOX?
Anyone?
personally, i split the files with this method:
www.logichaos.com/joomla/guides/35/60-how-to-split-mkv-to-multiple-mkv-files.html
website isn't loading at the moment, maybe server is down or something
(google cached text only version works though: http://webcache.googleusercontent.c...tiple-mkv-files.html&hl=en&prmd=imvns&strip=1 )
if it still isn't working later theres loads of other pages that show ways to do it just search google for how to split mkv files
bit of a pain, but i normally watch tv episodes rather than movies so they're normally small enough even when in hd
http://www.google.co.uk/url?sa=t&so..._oG4Bg&usg=AFQjCNFFe5JNQ6pMb1mhUzRPLO3bNaGEYg
Sent from my HTC One X using Tapatalk 2
It'd have to be formatted as exFAT or something. I don't know if it's doable, but that's the only way I can think of. Or possibly as ext4 and do file transfer via MTP.
Sent from my Inspire 4G using Tapatalk 2
this thread has so many replies yet my thread which is much more crucial doesnt have any help! please guys, help me out on q&a
swordsx48 said:
this thread has so many replies yet my thread which is much more crucial doesnt have any help! please guys, help me out on q&a
Click to expand...
Click to collapse
Please refrain from hijacking threads
lawrence750 said:
personally, i split the files with this method:
www.logichaos.com/joomla/guides/35/60-how-to-split-mkv-to-multiple-mkv-files.html
website isn't loading at the moment, maybe server is down or something
(google cached text only version works though: http://webcache.googleusercontent.c...tiple-mkv-files.html&hl=en&prmd=imvns&strip=1 )
if it still isn't working later theres loads of other pages that show ways to do it just search google for how to split mkv files
bit of a pain, but i normally watch tv episodes rather than movies so they're normally small enough even when in hd
Click to expand...
Click to collapse
Thanks man I know about that method but thanks for the info great help for those that wanna copy movies to their phone
my problem lies in an actual file Copy ie. DVD image
yes I can zip it and split the files into varying sizes but then it defeats the purpose as I would like to move the file as is (time saving)
jinkira said:
Thanks man I know about that method but thanks for the info great help for those that wanna copy movies to their phone
my problem lies in an actual file Copy ie. DVD image
yes I can zip it and split the files into varying sizes but then it defeats the purpose as I would like to move the file as is (time saving)
Click to expand...
Click to collapse
if i'm honest, i don't think it's possible without a rom mod - maybe ask a rom developer if it's possible.
you would need to modify a lot of stuff so it all works together properly, and that's if its ntfs.
exfat would no doubt be easier on the android side to implement, but then you'd need an app on windows side to be able to read that (win7 might actually include exfat support actually...)
still it's not something possible by means of just an app etc i don't think.
whynot66 said:
http://www.google.co.uk/url?sa=t&so..._oG4Bg&usg=AFQjCNFFe5JNQ6pMb1mhUzRPLO3bNaGEYg
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
dont think this is specific mkv splitting so you wouldn't be able to watch the split mkv, you'd need to go onto a pc and merge the files before you could watch it, which would then leave you with a file that is once again too big to fit onto the phone :silly:
Like the title, I'm asking if there is a way to use MTP in CM9 for our device, like this.
Arco says that the MTP is a problem in every Samsung device with a CM9 but for GS2 for example is fixed.
No one knows how to make it working?
Thanks in advantage, and i'm sorry if I'm in wrong section or if isn't a considerable problem
i got a bug on that.. i think it is also affected by USB tethering..
My question is: Do you really *need* MTP?
If what you're after is a simple way to transfer files from/to the SDcard, I recommend using AirDroid instead.
_____ SGW + Bionic Cow 2 + xda app _____
Sincerely i need it for sync my music between PC and phone, without unmount the sd...I've done the swap and in usb mode I see only the internal...
Inviato dal mio GT-I8150 con Tapatalk 2
take a look at 'Multi mount sd' or 'dual mount sd' at store, they solve the problem alternatively to native android connection, both cards are visible either on phone or on pc
dimaka1256 said:
take a look at 'Multi mount sd' or 'dual mount sd' at store, they solve the problem alternatively to native android connection, both cards are visible either on phone or on pc
Click to expand...
Click to collapse
Thanks for the reply, but in alpha 7 the mount is fixed
iSadic said:
Thanks for the reply, but in alpha 7 the mount is fixed
Click to expand...
Click to collapse
eh, i quoted the wrong message.. these apps are the reply to general problem of visibility of storages on only 1 device - phone or PC
Hi guys,
i made quiet a mistake, i cancelled all contents of my SD card under TWRP, wiped system and i'm now left with no rom on the phone nor on the SD card.How can i make my laptop see my sd card under TWRP in order to tranfer a rom and install it ?
seems when i press on Mount sd card nothing happens..
thanks
biggg troubles
you need to use adb.
mounting the sdcard does nothing on the nexus as there is no mass storage
Zepius said:
you need to use adb.
mounting the sdcard does nothing on the nexus as there is no mass storage
Click to expand...
Click to collapse
mate how do you actually do this ? i've never tried it
i'm doing some search on the forums but seems confusing for me
http://forum.xda-developers.com/showthread.php?t=1812959
Zepius said:
http://forum.xda-developers.com/showthread.php?t=1812959
Click to expand...
Click to collapse
i have to install SDK in order to do this ? cause it's 400mb pack and my internet connection is soooo slow
wwwpuntoit said:
i have to install SDK in order to do this ? cause it's 400mb pack and my internet connection is soooo slow
Click to expand...
Click to collapse
ok people.
i solved this way
put every file i needed in usb stick, used usb on go cable and installed rom from usb stick
thanks for helping anyway
cheeers
wwwpuntoit said:
i have to install SDK in order to do this ? cause it's 400mb pack and my internet connection is soooo slow
Click to expand...
Click to collapse
wwwpuntoit said:
ok people.
i solved this way
put every file i needed in usb stick, used usb on go cable and installed rom from usb stick
thanks for helping anyway
cheeers
Click to expand...
Click to collapse
You really need to READ. Use a translator if you can't.
from the thread Zepius linked you:
What is the Android SDK and do I need it?
SDK stands for "software development kit. Do you need it? If you are developing, then yes (but then you probably would be reading this thread now would you... ). If you are not developing, then no, you do NOT need to install it. It is just a waste of space. The only files you need (to interface with your PC) that comes from the SDK are the fastboot and adb files, and they can be found here for Windows, Linux, and MacOS.
Click to expand...
Click to collapse
trying to make this work the usb mass store app,but no luck
Type "mount > /sdcard/MountInfo.txt" (removing quotes of course) inside a terminal emulator then post the newly created text file found on root of internal sd card and I most likely can make it work.
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
Type "mount > /sdcard/MountInfo.txt" (removing quotes of course) inside a terminal emulator then post the newly created text file found on root of internal sd card and I most likely can make it work.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
IS Their a zip or a easy way,i dont mess with terminal at all
Deezy88 said:
IS Their a zip or a easy way,i dont mess with terminal at all
Click to expand...
Click to collapse
you won't scew anything up doing that. and the only way to get it working is by figuring out what the heck the mount points are and applying them. It only works for external sd card btw. And i would run the commands myself but i don't have the note 3. I kinda want it but it seems too big.
---------- Post added at 04:58 PM ---------- Previous post was at 04:46 PM ----------
I take it you are rooted? I can make an app that will do the command for you just give me some time.
elesbb said:
Type "mount > /sdcard/MountInfo.txt" (removing quotes of course) inside a terminal emulator then post the newly created text file found on root of internal sd card and I most likely can make it work.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Here you go.
darkkterror said:
Here you go.
Click to expand...
Click to collapse
So is this an app or a zip to flash in recovery?
TWEAKED 2.5
BACARDILIMON said:
So is this an app or a zip to flash in recovery?
TWEAKED 2.5
Click to expand...
Click to collapse
No, it's just the mount info that elesbb asked for. I don't have the expertise to take that and turn it into something useful
I moddified my S4 UMS Widget. if it doesn't work, i am going to need more information. Let me know if it works or not.
It requires root of course. And if it doesnt work keep tapping it till you get back to MTP mode and go under USB setting in settings app and set that to MTP mode and you should be back to normal again. Really wish i had this to help you guys with mods and what not. but i'll do my best.
I tried the UMS Widget you posted. When I connect my phone to my computer with UMS mode from the widget the phone shows up as a CD-ROM drive, not a removable storage. If I try to click on the CD-ROM drive it asks me to insert a disc. Seems very strange to me.
Sent from my SM-N900T using XDA Premium 4 mobile app
darkkterror said:
I tried the UMS Widget you posted. When I connect my phone to my computer with UMS mode from the widget the phone shows up as a CD-ROM drive, not a removable storage. If I try to click on the CD-ROM drive it asks me to insert a disc. Seems very strange to me.
Sent from my SM-N900T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't have the device so bear with me.
I need you to uses a root browser to locate this for me
/sys/devices/virtual/android_usb/\
Give me the output of all the contents of android_usb directory.
you can type ls /sys/devices/virtual/android_usb > /sdcard/Stuff_in_android_usb.txt
to output it to a text file on your SD card.
The only thing in /sys/devices/virtual/android_usb is another directory called android0. I've attached the contents of /sys/devices/virtual/android_usb/android0.
darkkterror said:
The only thing in /sys/devices/virtual/android_usb is another directory called android0. I've attached the contents of /sys/devices/virtual/android_usb/android0.
Click to expand...
Click to collapse
Thanks! What's under f_mass_storage directory?
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
Thanks! What's under f_mass_storage directory?
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
device
inquiry_string
lun
power
product_string
sua_version_info
subsystem
uevent
vendor_string
Sent from my SM-N900T using XDA Premium 4 mobile app
i got usb 3.0
elesbb said:
you won't scew anything up doing that. and the only way to get it working is by figuring out what the heck the mount points are and applying them. It only works for external sd card btw. And i would run the commands myself but i don't have the note 3. I kinda want it but it seems too big.
---------- Post added at 04:58 PM ---------- Previous post was at 04:46 PM ----------
I take it you are rooted? I can make an app that will do the command for you just give me some time.
Click to expand...
Click to collapse
i got usb 3.0 and is fast to send it to the internal but sending it the ext card with mtp always been slow i dont get that if my rooted SG usb storage app work on the sg4 should work with this with no problems
Deezy88 said:
i got usb 3.0 and is fast to send it to the internal but sending it the ext card with mtp always been slow i dont get that if my rooted SG usb storage app work on the sg4 should work with this with no problems
Click to expand...
Click to collapse
Things are different across devices, try this one, *crosses fingers" it should work..
elesbb said:
Things are different across devices, try this one, *crosses fingers" it should work..
Click to expand...
Click to collapse
thanks but no luck its chage to cd drive I:
elesbb said:
Things are different across devices, try this one, *crosses fingers" it should work..
Click to expand...
Click to collapse
Still shows up as a CD-Drive when I plug in the phone and turn on UMS.
darkkterror said:
Still shows up as a CD-Drive when I plug in the phone and turn on UMS.
Click to expand...
Click to collapse
This really sucks not having the device -.- hold on im gonna have to write a "debug/get some info" app to get me some information.
That will happen tomorrow though. Really busy right now. Thanks for all the debugging and info getting!
elesbb said:
This really sucks not having the device -.- hold on im gonna have to write a "debug/get some info" app to get me some information.
That will happen tomorrow though. Really busy right now. Thanks for all the debugging and info getting!
Click to expand...
Click to collapse
Are you guys getting it to work?
mnlmnv said:
Are you guys getting it to work?
Click to expand...
Click to collapse
Without me having the device it's really hard to debug and figure it out. I kinda need to have a live logcat to look at. I know evil1art has it so maybe him and I can do some teamwork on it.
Sent from my SGH-M919 using Tapatalk
Okay guys, let's go offtopic! Here you can discuss everything related to Android 6.x.
Original AOSP 6.0 thread>>
Original CM13 thread>>
Can anyone tell me what is accelerometer bug??
kjinx01 said:
Can anyone tell me what is accelerometer bug??
Click to expand...
Click to collapse
Accelerometer is a sensor that defines a devices's position, so it gives you ability to use such functions as screen auto-rotation. And the bug is that sometimes this sensor stops working until the next reboot.
1-After format the SD with cm13, then how to back to normal SD?
2-Is right that if we use sd like part of system we can't use real system memory?
3-After formatting SD (with cm13) for using it like part of system, if we try to put it in PC and then back in the phone, it's real that the SD automatically delete all file inside it because was encrypted?
4-Can we store file like music, photo, video... on SD or it's only for app?
5-If for example i break my phone and put SD in an other phone what happen?
I know that are a lot of question but i hope someone can answer
AlexiusItaly said:
I know that are a lot of question
Click to expand...
Click to collapse
1. Settings > Storage & USB > sdcard > menu > Format as portable
2. No, sdcard space magically adds to real internal
3. Of course no.
4. From phone: yes, photos goes there
From PC: unknown, because MTP broken now. But probably yes.
5. Data will be unaccessable because partition encrypted.
And formatted in unusual way - Windows anyway can't deal with it.
Card supposed to work only with ROM where was adopted (key stored)
UPD: it somehow works in other phone
You can format back it into FAT32 via Explorer or some partition manager.
Also seems this feature still semi-broken: large games won't install.
Maybe PecanCM can fix it.
Bonoboo said:
1. Settings > Storage & USB > sdcard > menu > Format as portable
2. No, sdcard space magically adds to real internal
3. Of course no.
4. From phone: yes, photos goes there
From PC: unknown, because MTP broken now. But probably yes.
5. Data will be unaccessable because partition encrypted.
And formatted in ext4 - Windows anyway can't read it by default.
Card supposed to work only with ROM where was adopted (key stored)
You can format back it into FAT32 via Explorer or some partition manager.
Also seems this feature still semi-broken: large games won't install.
Maybe PecanCM can fix it.
Click to expand...
Click to collapse
Thanks in advance @Bonoboo :thumbup:
the mmeory is readable on linux?
Bonoboo said:
MTP broken now.
Click to expand...
Click to collapse
Are you serious? I even successfully tried creating folder via it. Did you switched from Charge only mode to MTP? 'Cause in charge-only mode MTP device is recognized, but it is empty, without available storages. Or maybe for you it doesn't work because of Windows crappiness, lol. Linux is more friendly with Linux.
cucumber09 said:
Are you serious?
Click to expand...
Click to collapse
Yes, I selected MTP and use Windows.
Just empty window.
@FindYanot somehow managed it to work on Win 10 after enabing / disabling USB debugging.
Anyway good, that MTP not completly broken.
Bonoboo said:
Yes, I selected MTP and use Windows.
Just empty window.
@FindYanot somehow managed it to work on Win 10 after enabing / disabling USB debugging.
Anyway good, that MTP not completly broken.
Click to expand...
Click to collapse
There are often problems with Android on Windows that are absent on Linux. I had irritating issues with UMS mode in TWRP when I was using Windows (more strange is that it worked earlier and then suddenly my PC went insane when connecting USB in TWRP with storage mode enabled), but on Linux it works like a charm. And it is not the only example of problems in Android-Windows "relationship".
Guys I flashed the rom and it booted as usual and i went to next page of the setup guide i.e. add wifi in that i tried connecting to my wifi but while entering the password it shows unfortunately, aosp keyboard has stopped after i removed my wifi password and connected then it goes again to the first page of selecting country and i repeatedly pressed the yellow icon to proceed to the next page but its stucked on that page plz help me guys and do i need to do anything else?
cucumber09 said:
There are often problems with Android on Windows that are absent on Linux. I had irritating issues with UMS mode in TWRP when I was using Windows (more strange is that it worked earlier and then suddenly my PC went insane when connecting USB in TWRP with storage mode enabled), but on Linux it works like a charm. And it is not the only example of problems in Android-Windows "relationship".
Click to expand...
Click to collapse
Oh, there are a bunch! Wondering how it'll fare with the Android File Transfer on Mac. �� At least, ADB works, right? I need to update a few of my apps to support Marshmallow since they removed the Apache HTTP client (Google, must you really make things difficult? I spent an hour yesterday writing 75 lines of code just to add dividers between RecyclerView items... SMH). I'll most probably be shifting back to Lollipop AOSP by tonight. Anyway, if MTP works, I'll update you guys...
EDIT: So, no. Unfortunately, doesn't work on OS X as well. I didn't really expect it to, but then I was hoping that since it was UNIX, it would.
EDIT 2: So, it works with OS X as well! I hadn't selected the USB to transfer files previously.
cucumber09 said:
Are you serious? I even successfully tried creating folder via it. Did you switched from Charge only mode to MTP? 'Cause in charge-only mode MTP device is recognized, but it is empty, without available storages. Or maybe for you it doesn't work because of Windows crappiness, lol. Linux is more friendly with Linux.
Click to expand...
Click to collapse
For me MTP storage is working on windows 10 too. Sometimes it gives empty folders sometimes it work without a mess
You guys are using marshmallow and teasing me :crying:
Haaaaah
+1
Sent from my C2005 using Tapatalk
Mysteryagr said:
You guys are using marshmallow and teasing me :crying:
Click to expand...
Click to collapse
why? are you not using it?
Because both of us waiting for dual sim[emoji5]
Sent from my C2005 using Tapatalk
kh34d said:
Because both of us waiting for dual sim[emoji5]
Sent from my C2005 using Tapatalk
Click to expand...
Click to collapse
oh okay . i'm forget about that, sorry for that
Never mind my bro
Sent from my C2005 using Tapatalk
Mysteryagr said:
You guys are using marshmallow and teasing me :crying:
Click to expand...
Click to collapse
+1