I am using tnt lite 4.3.2 and have tried a couple of custom kernels and have been unable to view what is on the harddrive. Fat32 works fine does someone know what I am doing wrong?
Have you read this thread? Maybe it will help.
http://forum.xda-developers.com/showpost.php?p=10154595&postcount=27
Thanks for the reply. Now for a real noob question where do I add those lines? In other words where would I find the terminal file?
I think "terminal emulator" comes pre-loaded in the rom and should be in your apps drawer.
Thanks I was missing that I will download it and try it,
Is the drive powered? The Gtab USB runs around 5v, definitely not enough to power a hard drive.
I have been trying a thumbdrive and a wall powered external. I have not been able to get either to work. I just installed TNT Lite 4.4.0 and went into terminal emulator and typed
mount -o umask=000 -t ntfs /dev/block/sda1 /mnt/usbdisk
It then showed some options like -o -t etc. I then tried to look at the usbdisk in Ifilemanger but it just showed up as blank.
I then tried terminal emulator again and it didn't like the mount command or unmount command.
Thanks
Thanks I got it to work. Now my other question is there anyway to make it permanent so you don't have to enter that info in terminal emulator everytime?
Thanks again
I am running TnTLite 4.4 which I am absolutely enjoying but I was unable to get the USB slot to read a thumb drive. Is there a work around for this?
brown14you said:
I am running TnTLite 4.4 which I am absolutely enjoying but I was unable to get the USB slot to read a thumb drive. Is there a work around for this?
Click to expand...
Click to collapse
I found that re-booting, with the usb device already attached, usually fixs it or, going into file explorer and issuing a 'refresh' command.
what if format for USB drive. Try formatting as FAT32. Tab does not like NTFS
Rumbleweed said:
what if format for USB drive. Try formatting as FAT32. Tab does not like NTFS
Click to expand...
Click to collapse
Rumbleweed said:
I found that re-booting, with the usb device already attached, usually fixs it or, going into file explorer and issuing a 'refresh' command.
Click to expand...
Click to collapse
Thanks for all your suggestions. I will give it a try.
Did you enable USB access on the gtab? I know I had to do that on the Vegan rom. The usb will detect but you still need to enable it for use.
How do you enable it? Or do you mean turning on usb debugging.
Can't get my seagate ntfs 350gb to be recognized... gonna try reformat
Sent from my SPH-D700 using XDA Premium App
One of the questions that has arisen a lot with Team-B CM7 for NT is the query about why the internal storage no longer shows as a mount point when connect via USB to a computer.
This is a valid question and one that curently I am unsure how to answer and to correct with the system. In Our latest build that we are using within the team the internal media partition is mounted but it doesn't show when connected via USB.
Does anybody know where the settings to enable this are hidden?
When issuing a mount command in the stock rooted rom terminal it shows media as having 'dirsync' which I'm assuming is how it shows in usb sync but I'm unsure at the moment how and where this is set.
So rather than spend a long time looking I thought it may speed us the process if I just asked because chances are that somebody else already know the answer
Thanks in advance for you help and advice.
Celtic.
I don't know if this is of any use, but with my modified vold.fstab internal storage is showing up via USB on my computer. But my real SDcard is not showing up on my PC now. It is mounting to /sd-ext though so I copied the Android folder from /sd-ext to /mnt/sdcard to make my apps happy. Anyway here is my vold.fstab.
dev_mount sdcard /mnt/sdcard 10 002 /devices/platform/usb_mass_storage/lun0 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
dev_mount sd-ext /sd-ext auto auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
tselling said:
I don't know if this is of any use, but with my modified vold.fstab internal storage is showing up via USB on my computer. But my real SDcard is not showing up on my PC now. It is mounting to /sd-ext though so I copied the Android folder from /sd-ext to /mnt/sdcard to make my apps happy. Anyway here is my vold.fstab.
dev_mount sdcard /mnt/sdcard 10 002 /devices/platform/usb_mass_storage/lun0 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
dev_mount sd-ext /sd-ext auto auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
Click to expand...
Click to collapse
it seems that unless told otherwise the system only shows whichever partition is showing as sdcard, which your changes prove, it lost the real sd but is showing the internal which you mojnted as sdcard. We need to work out how to make it show the media partition and the sd card. In current build we have the internal is mounting the media to mnt/media and it's mounting sdcard to mnt/sdcard wbut it only shows sdcard on usb sync mount. It going to be something in ramdisk thast quite obvious once we realise I'm sure!
I just had an idea... what about mounting an internal partition as an sd card and mount the external as "sd_ext" or something similar? We had to do that with another device I worked on.
I'll hit you up on gtalk
Celtic i have been looking in the Nook Color forums and there i found:
[APP][02/26] Nook Color USB Mass Storage utility - Mount any partition to your PC so possibly it can be modified for the nook tablet? . I don't know how different they might be in this scenario, just posting what i've found.
~ Veronica
darthvince said:
I just had an idea... what about mounting an internal partition as an sd card and mount the external as "sd_ext" or something similar? We had to do that with another device I worked on.
I'll hit you up on gtalk
Click to expand...
Click to collapse
I'm wondering something similar, I was wondering if this could cure the market install problem .... you never know
I'm aroudn so grab me on Gtanl
lavero.burgos said:
Celtic i have been looking in the Nook Color forums and there i found:
[APP][02/26] Nook Color USB Mass Storage utility - Mount any partition to your PC so possibly it can be modified for the nook tablet? . I don't know how different they might be in this scenario, just posting what i've found.
~ Veronica
Click to expand...
Click to collapse
Thanks I'll look into it and see if it can help
CelticWebSolutions said:
Thanks I'll look into it and see if it can help
Click to expand...
Click to collapse
There is also a IMEI generator in development section too that it might help with some apps not working like the free version of XDA which looks for an IMEI when it starts .
~ V
lavero.burgos said:
Celtic i have been looking in the Nook Color forums and there i found:
[APP][02/26] Nook Color USB Mass Storage utility - Mount any partition to your PC so possibly it can be modified for the nook tablet? . I don't know how different they might be in this scenario, just posting what i've found.
~ Veronica
Click to expand...
Click to collapse
Thanks
I didn't use the app but it showed what I needed to know
I now have media mounting automatically and then you can choose to mount sd card
Thanks again
CelticWebSolutions said:
Thanks
I didn't use the app but it showed what I needed to know
I now have media mounting automatically and then you can choose to mount sd card
Thanks again
Click to expand...
Click to collapse
grrrrrrreat, you're very welcome pal!
~ V
CelticWebSolutions said:
Thanks
I didn't use the app but it showed what I needed to know
I now have media mounting automatically and then you can choose to mount sd card
Thanks again
Click to expand...
Click to collapse
Can it mount both automatically?
tselling said:
Can it mount both automatically?
Click to expand...
Click to collapse
Yes tahst currently how I have mine set. Just testing a few things with it
CelticWebSolutions said:
Yes tahst currently how I have mine set. Just testing a few things with it
Click to expand...
Click to collapse
excellent!
Unfortunately while it allowed us to manually mount drives to sync to computer it didn't work when we entered them into a script in boot, it would work once , then oif you disconnected the usb cable and tried again nothing would mount at all.
So if anybody has any further ideas that would be great
Thanks again!
CelticWebSolutions said:
Unfortunately while it allowed us to manually mount drives to sync to computer it didn't work when we entered them into a script in boot, it would work once , then oif you disconnected the usb cable and tried again nothing would mount at all.
So if anybody has any further ideas that would be great
Thanks again!
Click to expand...
Click to collapse
I hope you don't mind if I speculate; I'm no programmer but I have a crazy idea that may or may not work.
I also acknowledge that what I'm about to suggest might seem obvious and you may have already tried it, but I'm doing what I can here!
When you say script, do you mean something resembling a shell script? Because if so, it sounds like it's listening for a USB connection and then the script finishes once it's connected, so it doesn't loop back to the start of the script and listen for a USB connection to mount the other partitions after it's already done it once.
If it is indeed a script of that nature, you could create a separate mounting script that does the work and then infinite loops back to the beginning after all of the operations are complete. Then you would call this mounting script in boot (something resembling sh mounting-script.sh &) and voila - you have a script that will continue listening for a USB connection after disconnect like it should.
Once again, this is all speculative, but shell scripts are very powerful things. Here's a full, detailed page on looping in Bash, including infinite loops:
http://www.cyberciti.biz/faq/bash-for-loop/
lavero.burgos said:
There is also a IMEI generator in development section too that it might help with some apps not working like the free version of XDA which looks for an IMEI when it starts .
~ V
Click to expand...
Click to collapse
Eehm that's odd, the FREE version of xda installed and works fine for my on CM7, but the PAID version doesn't install at all. Not from titanium backup nor from the market..
CelticWebSolutions said:
Unfortunately while it allowed us to manually mount drives to sync to computer it didn't work when we entered them into a script in boot, it would work once , then oif you disconnected the usb cable and tried again nothing would mount at all.
So if anybody has any further ideas that would be great
Thanks again!
Click to expand...
Click to collapse
Firstly huge thanks to the CM7 team for this excellent release.
Here is a script I wrote to automount the internal storage to the PC.
1. rename 10mountmedia.zip to 10mountmedia (can't upload non zip file)
2. Use root explorer to copy it to /system/etc/init.d and set permission to 755 (all read, top write, all execute)
3. reboot
Working /media mount
lavero.burgos said:
Celtic i have been looking in the Nook Color forums and there i found:
[APP][02/26] Nook Color USB Mass Storage utility - Mount any partition to your PC so possibly it can be modified for the nook tablet? . I don't know how different they might be in this scenario, just posting what i've found.
~ Veronica
Click to expand...
Click to collapse
It Works
just did this :
1.)mounted /media using :
Code:
mount -w -t vfat /dev/block/vold/179:10 /mnt/media
ln -s /mnt/media /media
2.)used the trick by samuelhoff in his post .
In terminal :
[Edit:]
Code:
echo /dev/block/mmcblk0p10 > /sys/devices/platform/usb_mass_storage/lun1/file
Use of lun1 seems to allow both to mount . However this indicates a deeper pathology because the vold .fstab file has :
Code:
dev_mount sdcard /mnt/sdcard auto auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
dev_mount media /mnt/media 10 002 /devices/platform/usb_mass_storage/lun0 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
The lun0 and lun1 are interchanged ??? I'm guessing this file has become redundant in CM7 ?
Anyways my updated batch file in attached zip file now works. only, It has to be done every time. Mayhap its possible to put this in autorun.inf script of the sdcard root ? (will try now)
@cobrato : maybe try using lun1 in your script
@daedricgeek
I've tried both but settled with lun0. Sdcard mount will take lun1 so both can be used at the same time.
Sent from my LT18i using Tapatalk
This doesn't solve the problem but may be of some help to diagnosing the problem. I found that when I plug in the USB cable and tell the tablet to turn on USB storage, the file /sys/devices/platform/usb_mass_storage/lun0/file gets populated with: /dev/block/vold/179:10
but the file /sys/devices/platform/usb_mass_storage/lun1/file is still empty.
Doing the mount command shows:
...
/dev/block/vold/179:10 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:17 /sd-ext vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /sd-ext/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
So I figured the empty file should be populated with: /dev/block/vold/179:17
So I echoed that into the file with the USB cable connected and I got the popup on my PC for lun1 (in my case the external sd card since I swapped them in vold.fstab). And both lun0 and lun1 were mounted on my PC. **** Note that the dev/block/vold entry differs on my two nook tablets... its /dev/block/vold/179:17 on one and /dev/block/vold/179:16 on anoher.... not sure why ****
So it appears to me that whatever process triggers the lun0/file to be populated isn't setup to do it for lun1. (It also it not clearing the file when I turn off USB storage for lun1.) I don't know if this is just useless information or not but I thought I would share it just in case it helps.
I also have to eject and reinsert my SD-card before it gets mounted to the NT after every reboot. Don't if thats unrelated or not.
hey after flashing cm10.1, I cannot able to detect my usb drive. It's neither shown in sdcard/0/extStorages, nor in ESExplorer usb drive after granting super user permissions. I could able to connect my tab to pc using mtp but usb is a no go. Thanks in advance...
ycharan said:
hey after flashing cm10.1, I cannot able to detect my usb drive. It's neither shown in sdcard/0/extStorages, nor in ESExplorer usb drive after granting super user permissions. I could able to connect my tab to pc using mtp but usb is a no go. Thanks in advance...
Click to expand...
Click to collapse
You sghould take a look in /mnt/usbdrive/...
lightman33 said:
You sghould take a look in /mnt/usbdrive/...
Click to expand...
Click to collapse
I got it....Actually its my mistake... I didnt check my usb is in ntfs format.... So I converted into Fat and I got it...
By the way is there any method to connect the usb drive with ntfs forrnat.. if it does then I hope we can connect our external hard disk too... that would be great...
ycharan said:
I got it....Actually its my mistake... I didnt check my usb is in ntfs format.... So I converted into Fat and I got it...
By the way is there any method to connect the usb drive with ntfs forrnat.. if it does then I hope we can connect our external hard disk too... that would be great...
Click to expand...
Click to collapse
for ntfs filesystem, maybe you need tools like paragon ntfs or ntfs mounter.
if you need storage for files files greater than 4go, you could also use ext4 file system which are usable with windows PC.
thanks
lightman33 said:
for ntfs filesystem, maybe you need tools like paragon ntfs or ntfs mounter.
if you need storage for files files greater than 4go, you could also use ext4 file system which are usable with windows PC.
Click to expand...
Click to collapse
thanks... i will try that...
Hello, I am having a problem getting my galaxy tab 10.1 to recognize a usb flash drive I have connected via an adapter. I know it works because it detected a wireless mouse I connected to it, and it shows up when I use dmesg or lsusb in the terminal. The thing is that none of the file explorers I've used (Es, Astro) are able to detect the files I have on it. The usb drive is formatted to fat32; would it be more likely to detect it if I formatted it to ext3 or ext4?
Maybe you need to use this?
RoberGalarga said:
Maybe you need to use this?
Click to expand...
Click to collapse
Thanks so much for showing me that! I went through at lest five other apps that didn't work before trying this. :victory: