[Q] Selinux permissive NTFS access. - Galaxy Note Pro 12.2 Q&A, Help & Troubleshooting

Hi Y´all.
I love this device.
6 monts ago, if someone had walked up to me and told me i´d buy a new -Droid device without rooting it, i´d have laughed in their face.
Yet here i sit - wondering if rooting is worth it. There is very nearly nothing i miss.
One of the very few things that could make rooting necessary is that i miss NTFS support.
I did however try accessing a NTFS formatted usb-stick using my rooted N3.
The drive was a 64 Gig usb3 drive that i´d partitioned into two logical drives - it is a recovery drive for my desktop computer but that shouldn´t matter. I could read & write both logical drives nicely using a bog std. windows laptop.
On the Note 3 however i could only detect one logical drive. I googled a bit around and evidently this can only be fixed with a permissive kernel.
This brings me to my humble request:
Is there one of you nice folks with a SElinux permissive kernel installed that could do me a huge favour and try accessing any ntfs disk with more than one logical partition - and then report back if you can detect/read/write all the partitions?
Thank you
Regards
Elo

Related

[Q] XOOM and portable hard drive

Does the XOOM pair well with a portable hard drive? Im noticing I am traveling more, and need my laptop less and less in the process. The XOOM seems to take care of a majority of my needs, but I was wondering if I am able to plug in an external portable hard drive, and have the XOOM pull data, and add data to the hard drive. I'm sure I would need an app to do this (if possible) as well?
Your help is greatly appreciated
anyone know this?
If you use a USB Drive enable kernel (like Tiamet) and the drive is powered and does not contain a USB hub (like the one I tried), it might work.
I actually tried this yesterday. My XOOM is rooted and configured to use a USB Host adapter to accept USB storage. I've tested with several thumb drives, all seem to work. Yesterday I hooked up a 320GB self powered USB HDD and unfortunately it did not work. It could be just this drive, so only way to find out is test with others =)
StirCwazy said:
I actually tried this yesterday. My XOOM is rooted and configured to use a USB Host adapter to accept USB storage. I've tested with several thumb drives, all seem to work. Yesterday I hooked up a 320GB self powered USB HDD and unfortunately it did not work. It could be just this drive, so only way to find out is test with others =)
Click to expand...
Click to collapse
Your problem is most likely that you don't have the drive formatted as FAT32. I tried a 250GB drive and it worked nicely. In this thread I have a link to a site that offers you a free simple solution (Windows itself does not allow formatting of such large drives with FAT32).
funnycreature said:
Your problem is most likely that you don't have the drive formatted as FAT32. I tried a 250GB drive and it worked nicely. In this thread I have a link to a site that offers you a free simple solution (Windows itself does not allow formatting of such large drives with FAT32).
Click to expand...
Click to collapse
You know what, you are 100% correct. I forgot I had this drive formatted at NTFS for something else I was toying with. I just tried a FAT32 self powered USB drive (120GB) and it worked just fine.
StirCwazy said:
You know what, you are 100% correct. I forgot I had this drive formatted at NTFS for something else I was toying with. I just tried a FAT32 self powered USB drive (120GB) and it worked just fine.
Click to expand...
Click to collapse
I LOVE easy solutions! Enjoy your HDD and don't forget to thank the guys that enabled the USB hosting!!!
so I should pick up a hard drive (portable), and then format it to fat32? Ill use the link from your post and I'm good?
kasrhp said:
so I should pick up a hard drive (portable), and then format it to fat32? Ill use the link from your post and I'm good?
Click to expand...
Click to collapse
If you read the thread carefully people mention issues with certain thumb drives that have indicator lights because they might require too much power. However, when I connect my iPhone all it does is charge So my interpretation is that the HDD needs to have its own power source
Sadly the problem with fat32 and Android in general at the moment is that you can't use files >2 gigs. You could on Androids internal storage which is usually a file system that supports large files(RFS,EXT3/4...) if your device has that much internal storage available.
Does anyone know what our internal file system is? I haven't messed with it enough to know yet - but assuming because the thing mounts in Windows. - its FAT(at least the part we can mount and write to from windows).
And all of this boils down to Windows and their lack of reality in that we don't all run NTFS, and that maybe, possibly, someone MIGHT WANT TO HOOK UP A GOD BLESSED EXT DRIVE!
But i guess I could just format all of my stuff as NTFS, because the open source community is actually smart and Linux can read it. But then again maybe I would need to work on someones stupid ass Mac and need to write a file to said NTFS drive - OH WAIT CAN'T EF'IN DO THAT!
/rant
You could probably use ext2 on the hard drive - it can be configured to be readable and writable in Windows. It's similar to FAT32 but doesn't have the limit on file size.

[Q] Mount Xoom as USB Storage

I just swapped my Samsung Galaxy Tab with a Xoom and I'm a bit miffed. I understand that the Xoom has 32GB of internal storage and does not come with an external SD card (or at least the person I bought it from kept the card).
With my SGT, when I plugged it into my Win7 64bit PC, the SD card would come up as a USB mass storage device.
Is there any way to do this with the internal storage of the Xoom? It's aggravatingly SLOW transferring files through the Personal Music Player icon that Win7 tosses in My Computer. I (as well as several other apps I use) would rather have a physical drive letter to copy to and from.
Not afraid to use a custom ROM or a modded apk or other system file. Yes, I did search and I also read the suggested topics that came up on the posting page, nothing was specifically related to the Xoom.
Yes. The Tiamat Rom, as well as the official 3.2 update activated the SD card slot in the xoom. No, the Xoom didnt ever come with a sdcard already in the slot like phones do, so you didnt get ripped off. the xoom file system is a little funny, "SDcard" is a seperate partition in the internal memory. If using Tiamat, and you have a sdcard in the sdcard slot, its labeled "external1" in the /mtn partition. When first placing an sd card in the slot, the system does take f o r e v e r, to recognize it (make sure you are also pushing the "mount sdcard" button in the storage settings menu). I generally just reboot the xoom after mounting a new card, that usually speeds up the process. When its all said and done when you plug the xoom into your pc you will get two hard drives that pop up, internal and sdcard. And heads up, you still cant put apps2sd like phones can, and you have to use root manager to move files from internal sdcard to external.
Yeah, that's the problem. At the moment, I don't have an SD card to put in it, but I was still expecting the internal storage to be mapped to a hard drive. I don't mind the Xoom showing up as a PMP but a lot of the apps I use as a developer (and some I use recreationally) need an actual drive letter I was hoping that even without an SD card mounted, that the internal storage would show up as a local disk. I've got 3.2.2 if that helps any.
Bought several SD cards, seems one of the contacts on the inside is dead, so I'm out as far as SD cards are concerned
LycaonX said:
Bought several SD cards, seems one of the contacts on the inside is dead, so I'm out as far as SD cards are concerned
Click to expand...
Click to collapse
If that's the case, you got a bad deal. Generally, the Xoom is excellent and though you can work around it, having the sdcard feels pretty essential to me. Hopefully you can get it fixed or get your other tab back.
The contact wasn't dead, it had a piece of clear plastic tape over it (not intentionally, it was a corner of what looks like shipping or packing tape). Got a whopping 4GB SD card plugged in, shows up fine under /mnt/external1 but neither of them are showing up as drives in Explorer
I've got 3.2.2, 4G build (HLK75D), tried this with and without root, no luck with any config.
Edit: Okay, lots of searching later, and it seems Google thought it was a wonderful idea to not include such functionality with Honeycomb. I am extremely well versed in c++ but I have never written a driver before, but I will be downloading and studying the Windows Driver Development Kit and seeing if I can write a replacement driver specifically for the Xoom to create an MTP to Logical Disk bridge driver.
In effect, you'll replace the standard Windows MTP Driver for the Xoom with this custom driver, which will bridge MTP to a lettered drive in Windows Explorer. Yeah, I know it's a complicated step but I want my damn Xoom to have drive letters in Explorer and as a programmer, I usually end up solving my own problems when the software giants pull retarded stuff like this.
LycaonX said:
The contact wasn't dead, it had a piece of clear plastic tape over it (not intentionally, it was a corner of what looks like shipping or packing tape). Got a whopping 4GB SD card plugged in, shows up fine under /mnt/external1 but neither of them are showing up as drives in Explorer
I've got 3.2.2, 4G build (HLK75D), tried this with and without root, no luck with any config.
Edit: Okay, lots of searching later, and it seems Google thought it was a wonderful idea to not include such functionality with Honeycomb. I am extremely well versed in c++ but I have never written a driver before, but I will be downloading and studying the Windows Driver Development Kit and seeing if I can write a replacement driver specifically for the Xoom to create an MTP to Logical Disk bridge driver.
In effect, you'll replace the standard Windows MTP Driver for the Xoom with this custom driver, which will bridge MTP to a lettered drive in Windows Explorer. Yeah, I know it's a complicated step but I want my damn Xoom to have drive letters in Explorer and as a programmer, I usually end up solving my own problems when the software giants pull retarded stuff like this.
Click to expand...
Click to collapse
Cool. Let us know when you've got it. I'm sure there will be interest for such a driver.
Just an update, the MTP side of the bridge appears rather simple to do. I may see why Google decided on MTP instead of the old unmount/mount dance. MTP allows the device to basically 'share' the storage without isolating it to a single device. Although if a hobbyist programmer like me can feasibly believe that they can program an MTP bridge, I don't see why the college educated, career programmers at Google couldn't do the same.
Basically what I am looking at is a driver that will bridge the MTP side of the Xoom over to a virtual hard disk device in Windows. It looks like I'll need to implement a way to present the virtual drive as a FAT32 (or maybe NTFS) formatted device, since software-wise all a virtual disk handles are pointers to what amounts to the 'raw' areas of a disk. Still working on it, as mentioned before I'm a hobbyist and have never dug into driver development.
LycaonX said:
Just an update, the MTP side of the bridge appears rather simple to do. I may see why Google decided on MTP instead of the old unmount/mount dance. MTP allows the device to basically 'share' the storage without isolating it to a single device. Although if a hobbyist programmer like me can feasibly believe that they can program an MTP bridge, I don't see why the college educated, career programmers at Google couldn't do the same.
Basically what I am looking at is a driver that will bridge the MTP side of the Xoom over to a virtual hard disk device in Windows. It looks like I'll need to implement a way to present the virtual drive as a FAT32 (or maybe NTFS) formatted device, since software-wise all a virtual disk handles are pointers to what amounts to the 'raw' areas of a disk. Still working on it, as mentioned before I'm a hobbyist and have never dug into driver development.
Click to expand...
Click to collapse
I forgot that Team Tiamat had implemented usb mass storage in an earlier verion of their Xoom kernel, but decided to remove it as it caused many complications. Look in the back pages of the Development section, for tiamat kernels and also dinomite's mass storage watcher thread. You may be able to find something you can use.

Will rooting give me Mass Storage USB?

Hi all. I hope I'm posting this in the right forum.
I got my Asus TF300T about a week ago and am enjoying it so far. I don't like the MTP mode for USB though. Will rooting this bad boy give me Mass Storage USB mode?
1. Sorry, this is the wrong forum. Questions generally go in the question/answer section.
2. There may be an app that can do it, but rooting by itself won't give you UMS, and I'm not entirely sure any apps can do it. You're welcome to try a couple of the UMS apps and report back.
Root and use SAMBA
its an app that lets you connect via SMB/CIFS from any network device.
Wait, this app doesn't say anything about Mass Storage device... :/
no since with ics and JB the sdcard is a mounted folder on your internal memory - so the only one close to it is either use an ftp server/client (kinda clunky) or use SAMBA which you can use like a network share and works with Win/OSX/*unix.
To clarify things, there is a reason that ICS and JB use MTP and not UMS: filesystems. Before ICS (actually, Honeycomb, I think), manufacturers just shipped phones with microSD cards formatted as FAT32. This is convenient because all computers can read this filesystem. All the phone has to do is turn the SD card into a disk drive, and the computer will mount it. Now, with ICS and JB, manufacturers are using internal storage formatted as ext4 (the most common Linux filesystem), but there's a problem. Windows computers can't read ext4 (or ext2 or ext3 or anything besides FAT32, exFAT, and NTFS for that matter), so turning the storage into a disk drive isn't an option because Windows computers will completely ignore it, and since Windows is the most popular OS, that would alienate most of the potential customers. The solution is to mount the internal storage as a FUSE (Filesystem in Userspace) device. FUSE isn't a real filesystem. It's more of an intermediary solution. It kind of "translates" from one filesystem into a generic one. That is then sent to the computer as an MTP or PTP device.
Pretty much the only options if you can't find any UMS apps are to reformat your internal storage as FAT32, exFAT, or NTFS (which would cause other problems) or use a network-based solution as suggested. It doesn't have to be SAMBA, though. There are apps that create either an HTTP or FTP server on your phone so you can connect from your browser (or an FTP client) over Wifi. That's what I do because Linux doesn't play nice with MTP or PTP, and I refuse to use Windows unless necessary (it nearly killed me to root my GS3, because it requires Odin in Windows; finding and installing drivers again reminded me why I hate Windows). So, I'm in roughly the same spot as you, but I'm coping with it. Until Windows is finally killed or MS decides to support more than just its own filesystems, we don't have much choice.
EndlessDissent said:
To clarify things, there is a reason that ICS and JB use MTP and not UMS: filesystems. Before ICS (actually, Honeycomb, I think), manufacturers just shipped phones with microSD cards formatted as FAT32. This is convenient because all computers can read this filesystem. All the phone has to do is turn the SD card into a disk drive, and the computer will mount it. Now, with ICS and JB, manufacturers are using internal storage formatted as ext4 (the most common Linux filesystem), but there's a problem. Windows computers can't read ext4 (or ext2 or ext3 or anything besides FAT32, exFAT, and NTFS for that matter), so turning the storage into a disk drive isn't an option because Windows computers will completely ignore it, and since Windows is the most popular OS, that would alienate most of the potential customers. The solution is to mount the internal storage as a FUSE (Filesystem in Userspace) device. FUSE isn't a real filesystem. It's more of an intermediary solution. It kind of "translates" from one filesystem into a generic one. That is then sent to the computer as an MTP or PTP device.
Pretty much the only options if you can't find any UMS apps are to reformat your internal storage as FAT32, exFAT, or NTFS (which would cause other problems) or use a network-based solution as suggested. It doesn't have to be SAMBA, though. There are apps that create either an HTTP or FTP server on your phone so you can connect from your browser (or an FTP client) over Wifi. That's what I do because Linux doesn't play nice with MTP or PTP, and I refuse to use Windows unless necessary (it nearly killed me to root my GS3, because it requires Odin in Windows; finding and installing drivers again reminded me why I hate Windows). So, I'm in roughly the same spot as you, but I'm coping with it. Until Windows is finally killed or MS decides to support more than just its own filesystems, we don't have much choice.
Click to expand...
Click to collapse
yeah thats the TLR version put it on wiki - nice summary! - was to lazy to write it up
i suggested samba since you dont need a client to access it - just an OS for simplicity. and uploading via http is a pita imho. Samba shows you a folder structure plain and simple (like ums would have) its just not as a device on "my computer" but as a connected network share
but nice summary - btw - windows ain't so hard - had more probs on my gentoo with my droid tbh.
cheers
Honestly, I just never looked up how to set up SAMBA, but I've considered it. I got used to using MIUI File Explorer, which had a built-in FTP server. With gFTP or FileZilla, it was dead-easy to set up a connection. SAMBA would probably work well in my house since there are a couple Windows computers, but since I don't use them (they belong to others), I have no need to access them. Still kicking it over in my mind.
EndlessDissent said:
To clarify things, there is a reason that ICS and JB use MTP and not UMS: filesystems. Before ICS (actually, Honeycomb, I think), manufacturers just shipped phones with microSD cards formatted as FAT32. This is convenient because all computers can read this filesystem. All the phone has to do is turn the SD card into a disk drive, and the computer will mount it. Now, with ICS and JB, manufacturers are using internal storage formatted as ext4 (the most common Linux filesystem), but there's a problem. Windows computers can't read ext4 (or ext2 or ext3 or anything besides FAT32, exFAT, and NTFS for that matter), so turning the storage into a disk drive isn't an option because Windows computers will completely ignore it, and since Windows is the most popular OS, that would alienate most of the potential customers. The solution is to mount the internal storage as a FUSE (Filesystem in Userspace) device. FUSE isn't a real filesystem. It's more of an intermediary solution. It kind of "translates" from one filesystem into a generic one. That is then sent to the computer as an MTP or PTP device.
Pretty much the only options if you can't find any UMS apps are to reformat your internal storage as FAT32, exFAT, or NTFS (which would cause other problems) or use a network-based solution as suggested. It doesn't have to be SAMBA, though. There are apps that create either an HTTP or FTP server on your phone so you can connect from your browser (or an FTP client) over Wifi. That's what I do because Linux doesn't play nice with MTP or PTP, and I refuse to use Windows unless necessary (it nearly killed me to root my GS3, because it requires Odin in Windows; finding and installing drivers again reminded me why I hate Windows). So, I'm in roughly the same spot as you, but I'm coping with it. Until Windows is finally killed or MS decides to support more than just its own filesystems, we don't have much choice.
Click to expand...
Click to collapse
Bugger.
I think in this article/video You will find some answers:
http://www.xda-developers.com/android/easy-ums-usb-mass-storage-and-media-transfer-protocol-xda-developer-tv/
Cheers
invertedskull said:
Bugger.
Click to expand...
Click to collapse
Well, I didn't mean to rain on any parades. In fact, the way I'm thinking is, since FUSE more-or-less emulates a generic filesystem, it should be possible to get it to broadcast as UMS. But if it were that easy, why would the hardware vendors use MTP instead?
since a couple of you are linux guys like me, I'll mention NFS is also an option
well at least I'm able to mount my ubuntu-server NFS shares on my TF300
have been doing this daily for a while now
then about a week or so ago and I found a nice package botbrew-basil
which allows installation of packages from emdebian
NFS common runs just fine on my device
I did not look for the NFS server daemon
but should also be possible
EndlessDissent said:
Honestly, I just never looked up how to set up SAMBA, but I've considered it. I got used to using MIUI File Explorer, which had a built-in FTP server. With gFTP or FileZilla, it was dead-easy to set up a connection. SAMBA would probably work well in my house since there are a couple Windows computers, but since I don't use them (they belong to others), I have no need to access them. Still kicking it over in my mind.
Click to expand...
Click to collapse
install the samba app start it up, set username and pw then enable it. then use ur filebroeser/finder/explorer and browse to your device ip or name - done. easy .. takes 1 minute tops and nice thing is my gnex can talk to my tabs an vice versa with i.e. es file explorer
cheers
edit: kad79
nsf mount is nice but perm connections drain my batteries i feel. i use es file explorer to access any nsf/smb share and just fav it for easy access.
cheers
Sent from my Galaxy Nexus using xda app-developers app
I'm surprised
es file explorer can do NFS??
I've actually got es file explorer installed, will have to take a closer look
but I don't think it can do NFS (Network File System)
NFS shares usually must be mounted before you can access them
editbuster99 - I checked es file explorer does not do NFS
it can't even detect that they are available on the network
radekula said:
I think in this article/video You will find some answers:
http://www.xda-developers.com/android/easy-ums-usb-mass-storage-and-media-transfer-protocol-xda-developer-tv/
Cheers
Click to expand...
Click to collapse
Ta mang, will watch that in a moment.
A thought... What if I unlocked bootloader, and installed a custom ROM built from Honeycomb? Chances of me doing this are very slim, just a thought though.
Use the app Airdroid. Its quick, simple GUI, and user friendly.
Thanks for the suggestions. I have AirDroid, and forgot it does this. I only just got my wifi working again so I was looking primarily for a wired solution, but it looks like I'll either have to put up with MTP or use a wireless method.

Expanding storage

Right now I'm playing with expanding the storage for stuff not necessarily related to apps. While I can get the majority of my media through streaming (via a media server), there are some things that I need more space for.
I have a USB hub connected via a USB OTG cable as I also plan to use my Logitech F710 (maybe multiple if it works). I have confirmed my USB flash drives work fine. Note that I'm referring to USB flash drives, not USB card readers (they work a bit differently).
exFAT: so far, no go (some Android devices support this, apparently not the NPlayer)
FAT32: works great, but the larger the drive, the less storage efficiency (I'm working with a 64gb drive), and it has a hard limit on storage size (128gb) and file size (2gb)
NTFS: read only
EXT2: does not work
So it looks like if you are using a large storage device, and if it works, ext2 will be the best option. For you Windows users, this can bring complications due to lack of native support. There's ext2fsd but you can't format a drive with it, only read/write.
If EXT2 works as I've seen with my past usage with Android, this gives you the option to get some pretty large storage expansion with decent efficiency. FAT32 has some pretty harsh limitations. With 512gb USB flash drives in existence, if you want to go large, FAT32 may not be an option.
Edit: updated state of ext2
I suspect these may be problems with the app being used. To extend beyond this, it appears I may need root. The end result is if you want a volume larger than 128gb, you're going to be read-only. If you want read/write on a large volume (larger than, say, 32gb) you're going to have poor storage efficiency.
So now we wait for the hacking to get better storage support!
nimdae said:
Right now I'm playing with expanding the storage for stuff not necessarily related to apps. While I can get the majority of my media through streaming (via a media server), there are some things that I need more space for.
I have a USB hub connected via a USB OTG cable as I also plan to use my Logitech F710 (maybe multiple if it works). I have confirmed my USB flash drives work fine. Note that I'm referring to USB flash drives, not USB card readers (they work a bit differently).
exFAT: so far, no go (some Android devices support this, apparently not the NPlayer)
FAT32: works great, but the larger the drive, the less storage efficiency (I'm working with a 64gb drive), and it has a hard limit on storage size (128gb) and file size (2gb)
NTFS: read only
EXT2: still formatting the drive, will update with results
So it looks like if you are using a large storage device, and if it works, ext2 will be the best option. For you Windows users, this can bring complications due to lack of native support. There's ext2fsd but you can't format a drive with it, only read/write.
If EXT2 works as I've seen with my past usage with Android, this gives you the option to get some pretty large storage expansion with decent efficiency. FAT32 has some pretty harsh limitations. With 512gb USB flash drives in existence, if you want to go large, FAT32 may not be an option.
Click to expand...
Click to collapse
Thanks for testing the formats. Once we have root, we'll be able to have the NP recognize the external storage everywhere with StickMount and, with something like the Xposed module "OBB on SD" (or any number of other methods of mounting android space to external) you'll be able to install a ton of games/etc to the external drive where you have unlimited space. The 8gb limit in the NP still sucks, but once we have root that'll be largely mitigated if not moot for most users.
http://forum.xda-developers.com/xposed/modules/mod-obb-sd-v0-1-t2884004
Thanks for the info, mate.
If it reads NTFS does it means I can load my HDD via windows and just plug and play on nexus player?
Has anyone tried Towelroot
Elrondolio said:
Thanks for testing the formats. Once we have root, we'll be able to have the NP recognize the external storage everywhere with StickMount and, with something like the Xposed module "OBB on SD" (or any number of other methods of mounting android space to external) you'll be able to install a ton of games/etc to the external drive where you have unlimited space. The 8gb limit in the NP still sucks, but once we have root that'll be largely mitigated if not moot for most users.
http://forum.xda-developers.com/xposed/modules/mod-obb-sd-v0-1-t2884004
Click to expand...
Click to collapse
Ordered last week should in my hands on the first week of December. I have a 2T drive that would great if that works. I will hold on to my FireTv which it has been rooted using the 2T drive.
Keep in mind that if you have a bus powered hard drive, it will likely require a powered USB hub to work. I doubt the OTG port will provide enough power, but I could be wrong. I have a USB 3 drive I could test later.
Yes, if you have a NTFS formatted drive, you can put stuff on it with your computer and read it with the NP. As long as reading that something doesn't try to modify something there, it should work fine.
Note to self: Use a linux machine to format ext2. Seems these windows programs are really really slow at it.
So I'm thinking I need to re-assess the above results as I suspect ES File Explorer is to blame for things expected to work, but not working. It will not work with EXT2 and requests to use either FAT32 or NTFS.
I'll have to do more digging.
Edit: Tested several file managers and was unable to get any further. To get EXT2 I suspect it needs to be mountable somewhere in /, which is what I believe stickmount takes care of for us (I could be wrong). But this requires root.
I'm assuming that scenario would work just fine, however I can't test it to be certain.
Drewg over in the kodi forums posted a manual way of correctly mounting usb storage into the / filesystem. Here's a bit of that and a link:
Code:
mknod /dev/sda1 b 8 1
mkdir /mnt/obb/mnt
mount -t vfat /dev/sda1 /mnt/obb/mnt
You could, of course, choose what dir you mount the storage in, its the mknod that is key. This also assumes your usb storage is being recognized as sda1 already.
http://forum.kodi.tv/showthread.php?tid=206515&pid=1832231#pid1832231
Anyone test this. .
Elrondolio said:
Drewg over in the kodi forums posted a manual way of correctly mounting usb storage into the / filesystem. Here's a bit of that and a link:
Code:
mknod /dev/sda1 b 8 1
mkdir /mnt/obb/mnt
mount -t vfat /dev/sda1 /mnt/obb/mnt
You could, of course, choose what dir you mount the storage in, its the mknod that is key. This also assumes your usb storage is being recognized as sda1 already.
http://forum.kodi.tv/showthread.php?tid=206515&pid=1832231#pid1832231
Click to expand...
Click to collapse
I'll have to see if I can do this with ext2. vfat has the same limitations as fat32 as that is the spec it implements.
Rooted & Installed Stickmount.. still unable to access USB files
Before I was rooted, I tried exFAT, NTFS, and FAT32.. but the USB would show in ES File explorer but won't open. Now I've rooted and installed Stickmount. When I connect the USB, it mounts it ("/sdcard/UsbStorage/sda"). But I'm still not able to access it. Any suggestions or solutions if you guys have rooted your device?
EDIT: I tried again using a 32GB USB Drive (exFAT) and StickMount mounted and I was able to access its contents using ES File Explorer and it also showed up in MX Player. I was able to play HD movies through it with no problem. Working perfectly. (I had to sideload stickmount, as it can't be installed through web play store).
I'm planning to experiment with this today. I just need to get the stickmount apk transferred over as the play store lists it as incompatible. Ext2 might work best for this method as I'm not sure the stock kernel has exfat nor ntfs support and I'm biased against using fat32.
It appears root, stickmount + foldermount 2.7 works fine and lets you move games to OTG-USB. I moved MC4 easily enough and it worked although it couldnt create the mc4 directory on the stick so it stuck it directly in an obb dir I created, so you might want to create your directories first.
But MC4 definitely appears to be working. Im going to try bards tale next.
Edit Bards Tale doesnt seem to work and I attempted to move MC4 into a cleaner directory and I cant get it to work again, so I am going to download its data and try again...
Edit2: now MC4will not work. Pin turns green showing everything to be linked properly but its not working now
volwrath said:
It appears root, stickmount + foldermount 2.7 works fine and lets you move games to OTG-USB. I moved MC4 easily enough and it worked although it couldnt create the mc4 directory on the stick so it stuck it directly in an obb dir I created, so you might want to create your directories first.
But MC4 definitely appears to be working. Im going to try bards tale next.
Edit Bards Tale doesnt seem to work and I attempted to move MC4 into a cleaner directory and I cant get it to work again, so I am going to download its data and try again...
Edit2: now MC4will not work. Pin turns green showing everything to be linked properly but its not working now
Click to expand...
Click to collapse
Thanks for your updates. I am away on business but am very interested in this aspect of the NP. Hopefully you can get it working and others can help troubleshoot. There are a few different apps that enable this functionality once rooted, but I'm sure all of them have some teething issues under the new Lollipop. Good luck.
volwrath said:
It appears root, stickmount + foldermount 2.7 works fine and lets you move games to OTG-USB. I moved MC4 easily enough and it worked although it couldnt create the mc4 directory on the stick so it stuck it directly in an obb dir I created, so you might want to create your directories first.
But MC4 definitely appears to be working. Im going to try bards tale next.
Edit Bards Tale doesnt seem to work and I attempted to move MC4 into a cleaner directory and I cant get it to work again, so I am going to download its data and try again...
Edit2: now MC4will not work. Pin turns green showing everything to be linked properly but its not working now
Click to expand...
Click to collapse
What filesystem did you use?
nimdae said:
What filesystem did you use?
Click to expand...
Click to collapse
I kept it simple and used a 32gig flash drive fat32
I can confirm stickmount works with fat32. I'm working out how to get ext2 or ext4 working. ext2 would be preferred for a flash drive but I've not had luck yet. I plan to try ext4, but given the fact ext2 didn't work, I don't have high hopes. I think It's an issue with permissions and I might have to futz with that to make it work.
Good to know stickmount is working well. Have either of you attempted foldermount, obb on sd, etc and had success yet? Thanks for the updates.
Elrondolio said:
Thanks for your updates. I am away on business but am very interested in this aspect of the NP. Hopefully you can get it working and others can help troubleshoot. There are a few different apps that enable this functionality once rooted, but I'm sure all of them have some teething issues under the new Lollipop. Good luck.
Click to expand...
Click to collapse
I might switch to another app tomorrow, but I sent the foldermount author an email describing the problem. I feel pretty confident it is simply teething issues as it did work for a small amount of time.
Elrondolio said:
Good to know stickmount is working well. Have either of you attempted foldermount, obb on sd, etc and had success yet? Thanks for the updates.
Click to expand...
Click to collapse
I had some issues with stickmount. It works, but I wouldn't say "well". At one point it kept freezing and getting into a bad state but since reinstalling it I haven't had any further trouble. Caveat emptor.

[Q] USB OTG RootKit

Hi, I have 2 external hard disks one WD My Passport 1TB and one WD My Book 2TB
I know this might not be the right place to ask but it's funny that I think some developer should know the answer.
So I think my Systems are Affected with some sort of virus and none of my systems (Windows 8.1, ubuntu 14, mac OSX 10.10) are able to read it, but my Nexus 5 can and I confirmed my Data being there on both hard drives, but on my systems I can't load them and if they load they will with a super slow response speed. can anyone tell me what might be the problem and how I can fix it?
I previously tried all sort of recovery tools and I even tried to change the drives in terminal to logical, but they can't be applied to the hard disks after I change them, after trying to apply "ALL" my systems go to a loop and cause a system crash. why is only my nexus 5 able to read them if any any chance it's not a virus?
and by the way all my drives on the hard drives are NTFS except one drive which is fat32.
Any help would be appreciated.

Categories

Resources