[Q] Using phone as a iso reader - Android Q&A, Help & Troubleshooting

Guys I searched in forums and I couldn't find a good thread (except mikob2d's thread)
You know when you disable usb debugging and then pluging usb cable and mount, Pc shows internal sd, external sd also a cdrom image. I know we can change internal external mounts but is there a way to change cdrom image? I've a ultrabook which hasn't got a optical drive, but it can mount sd cards also the cdrom image when I plugged my phone. I want to use my phone as a cdrom. If any developers interested, I want to help too.
Think about an app which selects iso files and then when you plug you phone via usb, pc saw phone's sd cards and also that chosen iso file as a cdrom.
Thank you for reading, I check my messages everyday.

You can mount isos to a virtual optical drive within Windows with various apps, I use Virtual CloneDrive:
http://www.slysoft.com/en/virtual-clonedrive.html
I'm not sure why you would want to do this from Android, seems like it would be more of a pain to have to transfer the iso file over.

Dude I know daemon methods but our phones can do this, And also you can't use Operating System based virtualization methods. Thus I need a external solution which can be a external optic drive but hey, our phones alredy does that. Just a little script can make the magic. also USB transfer speeds are low but sdcard transfer speeds are quite faster. Also this is a poweruser level request.

If I am right the cd image includes software drivers for the phone in that case you could find the file (which I am assuming is a image file) on the phone that it is using then replace it with a symlink to your cd image.
To figure out which file I would use a terminal to check the output of "lsof" when it is mounted on your computer to see possible filenames.

shadowofdarkness said:
If I am right the cd image includes software drivers for the phone in that case you could find the file (which I am assuming is a image file) on the phone that it is using then replace it with a symlink to your cd image.
To figure out which file I would use a terminal to check the output of "lsof" when it is mounted on your computer to see possible filenames.
Click to expand...
Click to collapse
That's what I'm saying. I can find it easily but I was thinking can I change the mount script. A little program which chooses the iso files from sdcard and mounts these isos instead of manifacturer's driver iso.

Related

[Q] USB seems to link to mystery area on tablet

When I hook my tablet up to the PC via USB, I get a drive letter in Windows. When I open that drive, there are files in there- however, I can't find where these files are on the tablet when I look there. There are folders in the PC view like Android, data, DCIM, Download, kindle, LOST.DIR, media, and .android_Secure and .HuffPost. However, these are not folders on my SD card (which would be /sdcard2) or my internal /SDcard folder. I've tried hunting and pecking through the tablet file structure and doing searches on the files in the folders, but I can't find where the location I see on the PC is on the tablet.
Any help? Big thanks in advance. I successfully rooted the tablet using the TNT_Lite ROM, and haven't noticed any other problems.
debug mode....
I've found the same...sort of. Sometime I get that it is in debug mode and I can't access file, and other times it does mount fine and I can access the files.
It's not that. When USB Debugging is on, I can't see the tablet in Windows.
Just to ask while waiting for a better answer- when everyone here connects their G tablet via USB to their PC, what area do they connect to?
Not sure if this is any different from Vegan's setup but I'm assuming it isn't.
The files and folders you listed when you connect your tablet to your pc via usb are in the "/sdcard" directory. On vegan tab at least, it is set up so that your internal memory (the 16 gb or whatever it is that is built into the tablet) is accessed through the folder /sdcard. What you may be confusing this with is either the /sdcard2, which would be an external microsd card, or the root ("/") directory of your tablet.
All of You,
Here is a link to a post I did that should help you:
http://forum.xda-developers.com/showthread.php?t=1010943
Read this and post back if you have more questions.
Rev

Is a Virtual SDCard possible?

I've been thinking of getting a wireless HDD to pair with my phone, but I don't want to be limited to the streaming capabilities of the HDD's app. I would prefer to mount it as a native SDCard, but I'm kinda surprised that no one has tried doing that yet. I came across another forum that uses the command below to create an ISO file that will mount as an external drive, but if I'm not mistaken that only works on the computer the phone is connected to, right?
mksdcard 64M sdcard.iso
So, is it possible to mount an ISO in Android itself? And then could I simply mount an ISO stored on a network path? Or is what I want to do even possible?

Taking Ownership of EXT3 in Android

I recently purchased a Pivos Xios Android Media Center. I bought it to replace my Popcorn Hour Network Media Tank. I had been using a 1 terabyte drive in the NMT, which the Linux back end of the NMT had formatted to the EXT3 file system. After my NMT died, I moved the hard drive into an external USB enclosure. I was able to get the Xios to read from the drive using the USB OTG (On the Go) Helper; the Xios would not recognize the drive without the app, as apparently the build of ICS it uses cannot natively read from EXT3 devices connected externally (even though it uses an EXT format on its internal drive space). The Xios was able to read from the files deposited by the NMT on the drive fine; I could also see and read the files on my PC using the Samba File Sharing app. So things were looking up, and it looked like I had found a good replacement for my NMT. Then I ran into a problem.
Any file I copy from my PC to the EXT3 USB drive is unreadable. I can copy files to the FAT32 Microsd card without issue, but the files I copy to the HD show as Readable: No and Writable: No on ES File Explorer. Any media player that attempts to play the files fails. I can play media from the SD card fine, and from my PC fine. If I attempt to copy a file from the SD card to the HD using ES, the copy operation fails.
From my limited experience with Unix/Linux, I'd say permission to write a readable file to the HD still belongs to my dead Popcorn NMT. I need a way to have the Xios take ownership either for the files I copy from my PC, or the entire partition. The Xios comes rooted by default. Is there some kind of Android command line app and a script I can use to do this, or some kind of an ownership app I can use to take ownership of the drive?
Thanks!
Ustankragnar said:
I recently purchased a Pivos Xios Android Media Center. I bought it to replace my Popcorn Hour Network Media Tank. I had been using a 1 terabyte drive in the NMT, which the Linux back end of the NMT had formatted to the EXT3 file system. After my NMT died, I moved the hard drive into an external USB enclosure. I was able to get the Xios to read from the drive using the USB OTG (On the Go) Helper; the Xios would not recognize the drive without the app, as apparently the build of ICS it uses cannot natively read from EXT3 devices connected externally (even though it uses an EXT format on its internal drive space). The Xios was able to read from the files deposited by the NMT on the drive fine; I could also see and read the files on my PC using the Samba File Sharing app. So things were looking up, and it looked like I had found a good replacement for my NMT. Then I ran into a problem.
Any file I copy from my PC to the EXT3 USB drive is unreadable. I can copy files to the FAT32 Microsd card without issue, but the files I copy to the HD show as Readable: No and Writable: No on ES File Explorer. Any media player that attempts to play the files fails. I can play media from the SD card fine, and from my PC fine. If I attempt to copy a file from the SD card to the HD using ES, the copy operation fails.
From my limited experience with Unix/Linux, I'd say permission to write a readable file to the HD still belongs to my dead Popcorn NMT. I need a way to have the Xios take ownership either for the files I copy from my PC, or the entire partition. The Xios comes rooted by default. Is there some kind of Android command line app and a script I can use to do this, or some kind of an ownership app I can use to take ownership of the drive?
Thanks!
Click to expand...
Click to collapse
Update: I'm able to use Root Explorer to change the permissions on files deposited onto to the drive by PC over Samba. I have to change permissions on both the created folder and the file to do this. This is a tedious process using Root Explorer. Would I be able to use Remote ADB to change the permissions on the ext3 drive from my PC in bulk, or does it always have to be done at the file/folder level. I'd preferably just like to transfer ownership of the ext3 partition to the Xios.

Mount USB and SDcard drives

I have a lenovo A10 Tab 2 upgraded to MM. I have su installed.
When I plug in an external usb drive, programs like vlc cannot find it as they do not seem to have access to /mnt or simply do not bother looking in it. I have a USB with music that I Would like to create playlists for and do other things(since I have multiple USB drives with various uses).
What I'd like to is is be able to create a permanent mount to the usb port to a useful place that I can easily access as well as other programs. I'd like to do this for the sdcard too.
One thing I hate is these "random" hex string representing the devices. I never know what is what.
I have tried to use mount -t /mnt/1DVE-4323 /drives/USBDrive
and get operation not permitted
I've tried to go in to /dev/block/vold/public:8,1 and mount that but same issue or other issues.
I've tried creating a symlink using ln -s but same issues.
executing mount by itself lists quite a bit of stuff and it does show the mount point to the 1DVE-4323 which I guess android creates internally when the usb drive is inserted but I can't mount that put.
I'm using terminal emulator and call su from the start.
All I want is to be able to access these damn devices in a convenient way but it's damn near impossible It really shouldn't be that difficult(in fact, I shouldn't have to go to the terminal). While I can use explorers to explore the disk I tend to have to bookmark things because stuff is just not organized in a natural way. (either hex values for drive names or things like emulated or usbtg, etc... most of which tend to be empty and I never remember what is what).
What would be awesome is if I had 3 directories like
/root which took me to the system root
/usbdrive which took me to the usb drive
/sdcard which too me to the sd card
and that these could easily be found by every other program.
or possibly
/drives/root
/drives/sd_internal
/drives/usb
/drives/sd_external
Any ideas how to achieve nirvana?

Trying to set up a DLNA server on my S3 - what file systems are usable?

I have a USB hdd connected through usb otg and it recognizes a drive is plugged in, but thinks it's empty / unusable. I think it's ext3 or 4. Which file systems can the S3 read? If I flash a custom ROM would it allow me to read other file systems? Thanks
The usb hdd needs to be fat32. Do not use windows own formatter as it is broken. Use an external app like easeus. A custom rom will allow other file systems but you might not be able to read them on a pc.

Categories

Resources