Related
Hi all.
Today i can share with you NTFS automounter. It modifies vold (daemond that mounts devices) to mount ntfs disk. It first try to mount as FAT, and if fails try to mount as NTFS.
You need latest corvusKernel (tested) or Buzz Kernel (both has ntfs static, so no mess with modules).
MAKE A NANDROID BACKUP BEFORE APPLYING THIS PATCH
Use CMW like always to appy this, and obviously you must have usb in host mode.
The ntfs disk will mount in /mnt/usbdisk
http://dl.dropbox.com/u/13580211/corvus-vold-for-vega.zip
Thanks weeds2000 for make this...
Corvus.
Thanks corvus, this works really well.
But, my usb memory stick was mounted to '/mnt/usb/system_usb' instead. Do you know why?
NTFS memory too???
It must mount in /mnt/usbdisk, but maybe i change it and dont remember
Corvus.
Will this be auto-included in the next release of your kernel per chance?
Maybe... i need to spend some time fixing some things... once done i will group all together and release it.
Corvus.
corvus said:
Maybe... i need to spend some time fixing some things... once done i will group all together and release it.
Corvus.
Click to expand...
Click to collapse
Ok, thanks.
Ok i found a program made by a member here on xda that is called gscript its on market in a lite ver(ad supported) and the full witch gets updates faster well with this program you can create shortcuts on your home screen to scripts you want to run so you can make a script and not have to type in shell commands every time you want to mount your ntfs drive. you will need to be rooted and have super user installed
1. Ok to do this first you must have a custom kernel that supports ntfs pershoot's and clemsyn's both do this.
2. get gscript full or lite from market
3. tap the menu or settings button on right side of the gtab(the one between home and back button dont know what its called)
4. select new script. add a name for the script and then type
mount -o umask=000 -t ntfs /dev/block/sda1 /mnt/usbdisk
Save the script
create a second script labled unmount and type
umount /mnt/usbdisk
save the script
5. once saved go to you're home screen and perform a long press this will bring up a menu that will allow you to select shortcut once you do select
gscript this will boot gscript select you're mounting script this will place a shortcut on the home screen so you can use it with one touch without having to type that long command into a terminal!
you can also up the the unmount command infront of the mount command like this
umount /mnt/usbdisk
mount -o umask=000 -t ntfs /dev/block/sda1 /mnt/usbdisk
this will unmount any drives that you had hooked up before and mount your new one not sure if this script works on fresh boots tho i had a mess up where it would not mount the drive but i dont know if it was the script or me
Why not just put umount /mnt/usbdisk at the begining of each script
That way it unmounts it each time and not cause any errors
yes you can do that i just quickly made this after i found it so there is always room for improvement.
guess nobody else has used this?
I have not tried it, but I will once I get back to my desk. Have to format something to ntfs.
Seems like my tab doesn't have enough power for my 750gb ext HD this would be useful if only the HD worked. I remember when I had my G2 I showed people how to use GScript to overclock and I was popular for a bit, had so many PM's for help request and so many people thanking me lol. GScript is just awesome
ya the drive i am using has its own power plug so that's not a issue but this will also work with ntfs formatted flash drives.
Why not just use Mount Manager from Market? Automatically mounts your shares when your on wifi.
That's no click mounting!
um because you might not have wifi to share your computers share folder or might be far away from your home. this is made to mount a ntfs formated thumb drive or portable hard drive right on the gtab no other computers required. like what im going to do with it i have a 320gb WD portable hard drive going to load it with movies so when me and my family go on out trip here soon we can watch movies. cant do that with if your trying to get your share folders from home
Works great! Thanks for the script.
Yes, thank you very much. I love this forum.
Thanks, works well
It not working for me.... I am getting the following message.
stderr : failed.
stderr : mount: no such device
Try on 40gb and 320gb hitachi
I am on vegan5.11 with pershoot kernel.. I think ...
help...Anyone..
are they formated ntfs?
are you using drives that have thier own power source or trying to use the gtabs? they might not be getting enought power to run if using the gtab
Ok after some farting around i got it figured.
Plug in the hard drive to the gtab Before you power the gtab up if you can power the drive first, second make two scripts one for mounting and one for unmounting that way it there will be no conflict this is how i got it to work
Both my hdd are formatted with ntfs with additional power input.
I am still having the same error with the 2 separate scripts.
stderr : failed ---- for the umount script
stderr : mount: no such device ----- for the mount script
It might be due to my setup...
I will try this again when I try other rom and kernel.
Thanks Xargon321
try having your hd plugged in before you power on you gtab and see how that works. also make sure you giving gscript super user permissions.
tried the script thing. I get a no such device error too. Even tried powering it down, plugging in the 16GB NTFS flash drive, powering up the gtab, and running script. No such luck for me
Try using clemsyn's kernel. That's the one I have been able to get it to work on. I think pershots mounts it to a different directory so my script wont work.
Also make sure its plugged in and powered before you turn on your gtab
for pershoot's kernel you would use:
mount -o umask=000 -t ntfs /dev/block/sda /mnt/usbdisk
That should work.
also make sure that you download the libraries and put them in /system/lib, Then you could also add a line to the on-click script to use the NTFS library. Your script would like something like this:
insmod /system/lib/modules/fs/ntfs/ntfs.ko
umount /mnt/usbdisk
mount -o umask=000 -t ntfs /dev/block/sda /mnt/usbdisk
That is what my script looks like on pershoot's kernel.
JD
Hi.
As so many apps still don't support card locations other than /mnt/sdcard, I manually run as root the following to mount /Removable/MicroSD off /mnt/sdcard
mount -o bind /Removable/MicroSD /mnt/sdcard/MicroSD
This works great. Non /Removable aware apps then pick up files on the Transformers sdcard slot.
However, I'd like to automate this. Anyone know how I would do this? I guess a tweak to the android equivalent fstab file?
Thanks!
I have been looking for a solution for this, and found an older thread here on XDA with several methods.
I used root explorer to modify the mount point in /etc/vold.fstab
Just change the mount point from /Removable/MicroSD to /mnt/sdcard/MicroSD and reboot.
This seems to work great so far, but I have only been using this for a couple of hours. Don't forsee any problems though.
Sent from my Transformer TF101 using Tapatalk
kbrabble said:
I have been looking for a solution for this, and found an older thread here on XDA with several methods.
I used root explorer to modify the mount point in /etc/vold.fstab
Just change the mount point from /Removable/MicroSD to /mnt/sdcard/MicroSD and reboot.
This seems to work great so far, but I have only been using this for a couple of hours. Don't forsee any problems though.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Thanks for that. I'll give it a go!
Hmm, this seems to cause a force close when you eject the card. It then also fails to mount the first 2-3 times when you plug the card back in.
I guess some Asus service is relying on the card being at /Removable
There must be a way to autorun a mount -bind somehow?
Have you also tried hooking up to your computer, as I know on some devices changing the mount points to nested like that would screw up the process for mounting to the computer properly.
I haven't experienced any force closes, or any problems mounting the card when reinstalled. As far as mounting on the computer, I have not tried. I agree that a -bind would be the best way, but haven't found a way to do this at boot yet.
Sent from my Transformer TF101 using Tapatalk
Hi Guys,
I have recently flashed Dark Nexus on my A110. I love the ROM! However, pen drives are not getting detected (via OTG). Any idea whats happening?
Akshay
kaos333 said:
Hi Guys,
I have recently flashed Dark Nexus on my A110. I love the ROM! However, pen drives are not getting detected (via OTG). Any idea whats happening?
Akshay
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=net.shajul.usbotg&hl=en buddy install this app and open up and mount the otg when any pendrive is connected to ur device...
then download root browser...open it go to storage u will find usbotgdrives...here u go
hit thanks if i helped
kaos333 said:
Hi Guys,
I have recently flashed Dark Nexus on my A110. I love the ROM! However, pen drives are not getting detected (via OTG). Any idea whats happening?
Akshay
Click to expand...
Click to collapse
Try Stick Mount from play store [Root]. It has automatic mount during boot option
rakeshz said:
Try Stick Mount from play store [Root]. It has automatic mount during boot option
Click to expand...
Click to collapse
rakeshz, play store says stick mount app is not supported on my phone.
[email protected], thanx for ur suggestion. usb mouse/keyboard and pen drives work but by 500GB usd HDD does not get detected. I am also facing another issue, when I unmount the pen drive and remove it from the OTG cable, I get the error: "android.process.media has stopped" and after that nothing gets detected until I restart my phone.
External HDDs require additional power so most don't work. However make sure you the memory device is on FAT32. If you are on NTFS, use binaries provided in the description of stick mount on google play.
I am a newbie into this rooting and upgrading stuffs on my android phone. Iv rooted, installed custom ROMs etc etc and tinkered with my phone a lot of times. I am also a curious learner. could anyone please tell me what exactly mounting storage, mounting data or mounting cache mean. Iv mounted and unmounted them alot of times going by the guidelines provided for the specific installations. Would be nice if i actually know why i am doing it Also Kindly let me on what actions can be performed or not performed when.they are mounted/ unmounted thank you.
#wannabeDeveloper
if you want to install a custom rom, sometimes a procedure for mounting tell you, it's like you open a permission to install that rom to your device
Sorry for my bad english
Achesh97 said:
I am a newbie into this rooting and upgrading stuffs on my android phone. Iv rooted, installed custom ROMs etc etc and tinkered with my phone a lot of times. I am also a curious learner. could anyone please tell me what exactly mounting storage, mounting data or mounting cache mean. Iv mounted and unmounted them alot of times going by the guidelines provided for the specific installations. Would be nice if i actually know why i am doing it Also Kindly let me on what actions can be performed or not performed when.they are mounted/ unmounted thank you.
#wannabeDeveloper
Click to expand...
Click to collapse
Mounting is the point where you can edit the files in the folder that you mount, it similar to that of mounting drives.
Similarly there are mounting such as when you use root explorers you can mount them as read/write or read only.
A Linux user can explain you in the best way, coz they usually mount their partitions as drives to work on them.
Hit thanks rather than typing it now Free
zipperX said:
if you want to install a custom rom, sometimes a procedure for mounting tell you, it's like you open a permission to install that rom to your device
Sorry for my bad english
Click to expand...
Click to collapse
your English is fine
so everytime you have to perform an update or flashing anything, you have to make sure that all the three are mounted? rigjt?
parkourkarthik said:
Mounting is the point where you can edit the files in the folder that you mount, it similar to that of mounting drives.
Similarly there are mounting such as when you use root explorers you can mount them as read/write or read only.
A Linux user can explain you in the best way, coz they usually mount their partitions as drives to work on them.
Hit thanks rather than typing it
Click to expand...
Click to collapse
Thank You there so whenever i have to flash a zip file or particularly an update, i have to mount everything? and what should be their states before rebooting? like mounted or unmounted?
Achesh97 said:
Thank You there so whenever i have to flash a zip file or particularly an update, i have to mount everything? and what should be their states before rebooting? like mounted or unmounted?
Click to expand...
Click to collapse
No need of mounting everytime you flash.
Mostly the zip files itself contains scripts to mount your partition, they do the job theirself.
In rare cases the developer of the flashable zip file would recommend you to mount the partitions required, in those cases only you need to mount through CWM
Hit thanks rather than typing it now Free