Can we use virtual storage in WM? - Shift General

Forgive my stupidity, but I was wondering why the forum is not abreast with talk about using internet virtual storage in WM6, thereby giving near limitless storage for data, films, music, video, tomtom maps etc.
I realise there will be access speed limitations, but apart from media I would not have thought that would be a problem.
If this has all been achieved already, then can any of you users make any recommendations?
Thanks.

Do you mean just for storing files, or more than that, such as having files associated with programs or executables and relating *.EXEs on the device with associated files (*.dll, *.sys etc.) online?. This would sound very complicated to me. Maybe possible with full blown Windows on a Desktop or Laptop ( I don't know how realistic this idea is, or whether it's out there already somewhere).
For file storage, I can't see a problem. Access would be considerably slower than a Windows PC for example due to the system and OS. This is obvious. But it would certainly be possible to "host" your files online. Personally I would make sure I'm using a very well known web based file storage service with the best reliability and a flawless wi-fi connection or unlimited data plan for it to be completely viable.
Personally, I've never had a WM device that holds a good wi-fi connection, but that's for another thread!
Apologies if I've misunderstood what your asking and barking up the wrong tree!!!

My idea was mainly a virtual storage for files.
However, we are all wishing for SD access. SD cards can have various performance characteristics. Slow SD memory doesnt fail - the computer simply waits until the data is loaded. As a further example, remember the floppy disk drive? That was slow, but we could use it for file storage such as tomtom maps without the slow access causing system problems.
So the idea I envisage is a virtual external drive. (I.e not virtual CPU memory).
The concept seems sound to me. And if people here can achive liberation, gps access, and phone access on the Shift, I would have thought virtual storage would be within the ability of these talanted people.
I would love someone to get tomtom working on such a virtual storage drive.

Related

Defragging

I defragged my SD and the performance gain was considerable. Is there any program that can defrag the main memory or the Storage?
i used my cardreader, but i think that's diffrent :?
Defragmenting flash or SD memory is useless since every address on the chip has the same access time. Defragmentation only makes sense with devices like hard disks, where the relative location of data plays a role.
is there any way of defragmenting the device itself not the SD card
Dandie said:
Defragmenting flash or SD memory is useless since every address on the chip has the same access time. Defragmentation only makes sense with devices like hard disks, where the relative location of data plays a role.
Click to expand...
Click to collapse
Not quite sure I understand your response. Using Pocket Mechanic, I can format the SD card with FAT16 or FAT32. Both file systems can become fragmented...
BTW, Pocket Mechanic can defragment the internal storage memory (if you rename it to something other than "Storage" - it seems to have a problem with the default Magician file name), but NOT the main memory file system.
stevedebi said:
Dandie said:
Defragmenting flash or SD memory is useless since every address on the chip has the same access time. Defragmentation only makes sense with devices like hard disks, where the relative location of data plays a role.
Click to expand...
Click to collapse
Not quite sure I understand your response. Using Pocket Mechanic, I can format the SD card with FAT16 or FAT32. Both file systems can become fragmented...
Click to expand...
Click to collapse
Yes, they can become fragmented, even NTFS can get fragmented although MS designed it not to. But that is besides the point, as pointed out before. Defragmenting can speed up (and mechanically relieve) all devices that use mechanical means to retrieve the data. On a hard disk there are tracks kind of like on an old vinyl audio media. Fragmentation in this context means you want to listen to track 1,3,7,9 and 11. So you have to lift the needle after each track and reposition it. Same happens when a hard disk wants to read a file smeared across multiple tracks on the disk platter. It reads some part, then has ro reposition the head and keep reading. Defragmenting puts the data of one file into one long track so the time needed for positioning is eiliminated. In the analogy that would be pressing a new vinyl disk that only contains the tracks desired (1,3,7,9,11) just one after another. You won't have to lift the needle anymore.
This is the theory. But for memory chips (all kinds, be it RAM, ROM, USB-Sticks, SD-Cards, ..., any storage media with NO MOVING Parts) this is not applicable. When the system wants File A it looks in the File Table where that file is located. Then it gets a list of positions and starts requesting the contents of these positions from the card device. The access time to any of these positions is exactly the same. Go back to the audio comparison. For a vinyl disk you have to lift and reposition the needle if you selectively want to hear certain songs only. If you had the same album on a MP3 player or other device you can arrange your playlist and no matter in which order or position the tracks are the time until the player starts playing them is the same.
Hope that clears it up. I am actually not too sure why the PocketMechanic author has put in Defragmentation. It does not make sense to me. Maybe on FAT devices there is a slight advantage to having the files en bloc because that way their position data is more compact (just START-END or something as opposed to START1-END1 ... START2-END2 ...) but I am not sure about this. Even if this was the case your only gain would be a few bytes of SPACE not TIME.
Takes ages too to defragment a SD-card. So if you insist in defragmenting you'd better put your SD in a card-reader & transfer the contents to your harddisk, format the card if you like (faster than deleting) or delete everything & transfer everything back.
M
STAY AWAY from defragging flash memory!!!
1.) This doesn't help anything, it won't be faster. Flash memory is adressed directly (like already said) and doesn't need to be defragged.
2.) If you want (for whatever reason) the files to be in one piece (that's what defragging does) on the flash memory, simply copy the contents of the card to the PCs harddisk, reformat the card and copy the stuff back on. This has the same result as defragging.
3.) Defragging will destroy you card! Flash memory has a limited amoung of read/write cycles before the will die someday. It's unlikely you'll ever see that in real life use because read/write cycles are used faithfully by PPCs. However defragging uses an insane amount of read/write cycles since data is read and written so often from one point to another that it will shorten the lifetime of the card noticeably.
I don't know why defragging of flash memory is offered at all, it's no good at all and only damages the cards in the long run. But maybe it's a feature that has to be "there".
Wow, I never knew that. :!: I had been faithfully defragging my SD once every few months; I am going to stop doing that.
Always learn something new around here! 8)
Well, best is to use that format method and move the contents to the PC and after formating the flash memory card copy the stuff back on. This has the same effect as defraggin, takes much less time (since defraggin flash mem in a PPC is not that fast at all) and has no negative effect on the lifetime. I tend to do that once in 2-3 month. But the speed gain is not even worth mentioning, it's basically nonexistant.

Install in Storage Card or Internal Memory?

Where do you guys usually install your apps to? Are there any benefits in installing to the Storage Card vs. installing in the internal memory of the phone?
Is the phone faster if all apps are installed on the storage card?
some apps definitely would not respond well if you install it in the storage card, especially if the app needs to 'wake up' from the power standby, due to the battery saving mode for external storage.
with X1, the phone storage is plenty that it doesn't make any difference for you to install in phone storage versus external. Upon fresh hardreset, my phone would have at least 204MB after deleting away the demo videos, etc. And this is standard ROM, not custom ROM.
Tri3Dent said:
Where do you guys usually install your apps to? Are there any benefits in installing to the Storage Card vs. installing in the internal memory of the phone?
Is the phone faster if all apps are installed on the storage card?
Click to expand...
Click to collapse
The truth is that it is "horses for courses"
If you regard the device as a phone with a bit of residual computer capability, then 300Mb of Storage will last a lifetime
If you regard it as a computer with a phone segment attached, then use the SD card for everything you can. The tnyynt SD tweak for speeding card access is brilliant to the point where I am unable to tell the practical difference between Storage and card use.
I use mine as a work computer with a phone attached. My 16Gb card is already 55% full (ie. just under 9Gb of data and programs) - this cannot fit in Storage.
man what kind of programs and data that you have that takes over 8 gigs on your phone.
music and videos i can understand, programs and data???? i got a 4 gig card and the only program that i have that takes up 1 gig is the maps for tomtom 7.910
hopefully the 32 gig card will be compatable with the x1 in the near future.
c_legaspi said:
man what kind of programs and data that you have that takes over 8 gigs on your phone.
music and videos i can understand, programs and data???? i got a 4 gig card and the only program that i have that takes up 1 gig is the maps for tomtom 7.910
hopefully the 32 gig card will be compatable with the x1 in the near future.
Click to expand...
Click to collapse
OK, well 1) as I said, my device is used as a computer with a phone segment attached, so having >8Gb "on my phone" is not really accurate. I have >8Gb on my card (ie. HDD) and growing
2) Music and video ?? None of them, I use hifi and TV for those when I'm home
3) I use the device for geological/geotechnical mapping on a world-wide basis, together with CAD/3D modeling of collected and supplied data. So high-level topo data, drillhole data, outcrop data, survey data, engineering constraints, zillions of reference reports etc etc + the slew of large programs needed to run these data collections
So for me, smaller, faster ROM = better and better
4) you bet I'm hanging out for the 32Gb cards
problem with having too little phone storage is some program use storage as temp
currently i have about 40gb storage free but still
the comic book reader crash often because the .net program in question
unzip the whole comic to some temp dir in phone storage
when it operates and apparently the comic use more then 40gb
would be easy for the programmer to fix so it didn't unzip all or did it to
the sd card but..
I put pretty much all programs that can be installed onto the card on the card... I also have shedloads of files on there mainly for language learning (I am learning Chinese and also have some Russian stuff)... from 16gb I am down to 7.7 and thats only cos I deleted a few tv shows from China...
PS I am reposting this due to the deletion bug thing... I did have a longer post but cant remeber all my witty reply...
flip a coin

Folder structure

I am trying to understand the folder structure on the TF.
I have a 16GB micros SD card and I want all data type files to be saved there e.g. photos, downloads, music etc.
There is a folder at the top level called /SDCARD and I had assumed that this was the MicroSD card and all this sort of data is being stored in sub folder from there.
I have now realised that the MicroSD card is actually accessed from /Removable/MicroSD and that the TF has not stored anything on it. I have just moved my music and video to there.
Can I move all the other SDCARD subfolders to /Removable/MicroSD and then delete the SDCARD folder?
I can't see the point of having a folder called SDCARD it is very misleading.
Thanks for any help.
This is your internal storage. I'm not sure why it is displayed this way, maybe that will become standard in Gingerbread?
You cannot 'delete' the SDCARD folder. It is a mount point for the remainder of your internal storage (16GB or 32GB)
As bizarre as it seems when compared to a phone, this actually makes more sense. My Droid X has 6.5GB of the 8GB internal memory put aside for the /data partition. Despite having the phone for a full year and having a ton of apps installed, /data still has 5GB free. That's 5GB of storage I do not have access to, so it's effectively wasted.
On the ASUS (and others HC tabs?) that space exists as a virtual device /dev/fuse and is mounted as /mnt/sdcard. A symbolic link exists /sdcard which points to the mount point. The net result is, you have the majority of free space on the internal memory available to you. If you didn't, there'd be no incentive to buy the 32GB version over the 16GB version.
It is called /sdcard to maintain the illusion within the OS. This space, like it or not, is your primary storage. It makes your actual sdcard more of a transient storage location, great for just music, movies, etc., that you do not necessarily want to keep on the device long term. This is a great advantage as you can keep multiple sdcards with different content and not worry about messing up the core OS storage needs.
Be aware that the OS and apps expect to find certain data in /sdcard and moving the folders to your 'external' card will only force these apps and processes to recreate the folders in /sdcard. Also some apps will have lost some of their data and may not operate as expected or will act as when they were first installed (games will redownload supporting data, for example)
Sent from my rooted ASUS Transformer running PRIME 1.4
jhanford said:
You cannot 'delete' the SDCARD folder. It is a mount point for the remainder of your internal storage (16GB or 32GB)
As bizarre as it seems when compared to a phone, this actually makes more sense. My Droid X has 6.5GB of the 8GB internal memory put aside for the /data partition. Despite having the phone for a full year and having a ton of apps installed, /data still has 5GB free. That's 5GB of storage I do not have access to, so it's effectively wasted.
On the ASUS (and others HC tabs?) that space exists as a virtual device /dev/fuse and is mounted as /mnt/sdcard. A symbolic link exists /sdcard which points to the mount point. The net result is, you have the majority of free space on the internal memory available to you. If you didn't, there'd be no incentive to buy the 32GB version over the 16GB version.
It is called /sdcard to maintain the illusion within the OS. This space, like it or not, is your primary storage. It makes your actual sdcard more of a transient storage location, great for just music, movies, etc., that you do not necessarily want to keep on the device long term. This is a great advantage as you can keep multiple sdcards with different content and not worry about messing up the core OS storage needs.
Be aware that the OS and apps expect to find certain data in /sdcard and moving the folders to your 'external' card will only force these apps and processes to recreate the folders in /sdcard. Also some apps will have lost some of their data and may not operate as expected or will act as when they were first installed (games will redownload supporting data, for example)
Sent from my rooted ASUS Transformer running PRIME 1.4
Click to expand...
Click to collapse
After reading your explanation, it makes better sense to me. I was a bit annoyed, but I see how this could work to my favor. Using just the actual SD cards for movies, music, ect.
Moving data - Video
Sorry, I find what is said here a little disconcerting.
Why have SD cards and USB devices attached (eg. USB Flash drives, hard drives) when the data flow only goes one way, "in", and not out.
If I want to edit a video, the files are too large to email.
I can't find a way to move the video to an external device.
All one can do, as far as I can tell, is to upload the unedited video to YouTube.
Once there initially one get an error message saying that the file type is not recognized. It is...eventually, but only after it's fully processed. This is really confusing to the user. You'd think Google would give Android users a processing message rather than something that makes you think there is no way to view and share your video other than your tablet.
I couldn't find a way to tag a video either.
The default seemed to be "entertainment."
The options for sharing video are much to limited.
The only site you can upload a video to is YouTube.
I'd love to be able to put it on another site (e.g. a personal/corporate website).
I sure wish there were a way of off-loading and storing a folder generated from the Tablet to an external device, especially one with external ports like the Transformer.
If anyone knows of an app to do two way data flows, I'd sure like to know about it because my SHDC card and USB Flash drives look so lonely with nothing to do.
[email protected] said:
Sorry, I find what is said here a little disconcerting.
Why have SD cards and USB devices attached (eg. USB Flash drives, hard drives) when the data flow only goes one way, "in", and not out.
If I want to edit a video, the files are too large to email.
I can't find a way to move the video to an external device.
All one can do, as far as I can tell, is to upload the unedited video to YouTube.
Once there initially one get an error message saying that the file type is not recognized. It is...eventually, but only after it's fully processed. This is really confusing to the user. You'd think Google would give Android users a processing message rather than something that makes you think there is no way to view and share your video other than your tablet.
I couldn't find a way to tag a video either.
The default seemed to be "entertainment."
The options for sharing video are much to limited.
The only site you can upload a video to is YouTube.
I'd love to be able to put it on another site (e.g. a personal/corporate website).
I sure wish there were a way of off-loading and storing a folder generated from the Tablet to an external device, especially one with external ports like the Transformer.
If anyone knows of an app to do two way data flows, I'd sure like to know about it because my SHDC card and USB Flash drives look so lonely with nothing to do.
Click to expand...
Click to collapse
There is nothing stopping you from copy files from the internal storage to an external sdcard. From the built-in file manager you can select a folder using the check boxes to the left of it, and then click the Copy or Cut button at the top of the screen, then navigate up until you see "Removable". Tap that and then "MicroSD" and then you can tap "Paste" at the top of the screen to copy or move to the new location.
Sent from my Transformer TF101 using XDA Premium App
Drive letters or some kind of unique ID from the root would be favorable. I know it's meant to adapt to Android, but last time I checked, Honeycomb was a separat version of the OS. It's unfortunate that it has to fool both the user and itself to be effective.
moo99 said:
Drive letters or some kind of unique ID from the root would be favorable. I know it's meant to adapt to Android, but last time I checked, Honeycomb was a separat version of the OS. It's unfortunate that it has to fool both the user and itself to be effective.
Click to expand...
Click to collapse
It still maintains the overall Adroid/Linux filesystem structure, there are no lettered drives in *NIX.
I know that, bru. Calling it , I dont know, "Internal" instead of "SD Card" would make a little sense considering there are two separate ports for SD Cards on there. Writing an alias isnt that complicated

My experience setting up Atrix file and folder security

I was considering storing financial and personal information on my phone in the form of files and realized that though the fingerprint scanner is ok to prevent the casual browser from logging into the phone when it is left unaccompanied, a real hacker could easily see whats on there with very little effort.
The Atrix on the face of it looks like a secure phone with the fingerprint reader; however XDA users would know that nothing prevents a thief from entering fastboot and mounting the files and folders to see whats on there. No security app can prevent that.
Using the android built-in option and encrypting the entire sdcard is NOT an option for me at this time. I think its going to slow down the phone operation if the OS files are encrypted and each time it needs to decrypt each and every file and folder. Also it may present issues when testing new ROMs. (And I am dual booting - so my extSD also has a ROM which I would not want to slow down anymore than it already is)
So I searched for methods and apps to encrypt individual files or folders on the Atrix. There are quiet a few in the market and a few are free as well with good reviews. However most -even the ones with the best reviews seem to be just changing the file name and location and not doing real encryption. Also most of these use proprietary algorithms or methods to hide information. A really good app would be one that uses an open source algorithm to encrypt the files and folders - so that the algorithm would be tested and verified as being strong by the world.
Also another requirement was for the ability to frequently sync and update the files on the phone with the PC. The app should have a PC equivalent - that is the file can change on my PC and then I should be able to sync the changed file with the phone in some automated way.
Yet another requirement would be the ability to quickly encrypt and decrypt huge audio or video files. A few good apps could encrypt small audio and video files but not files of size 1GB or more. The apps would either freeze after some time or not encrypt them at all.
Finally I was looking for an option by which the files if I unencrypt them to be available across all apps for the duration of that session - not just in the app that encrypts and decrypts them. So in other words, once I enter the password, the folder should be mounted and available in any app that can browse the phone - until I decide to end or unmount the encrypted store.
I found only Cryptonite doing all of this. Unfortunately Cryptonite does not support Truecrypt containers on Motorola phones. There is some info here on the truecrypt port to android here:
http://forum.xda-developers.com/showthread.php?t=872297&page=7
However I could not get it working with the Atrix. Has anyone had success getting Kryptonite and Truecrypt to work on the Atrix?
Cryptonite also supports Dropbox, but I am not a big fan of storing sensitive info in the cloud - however well known the company is.
Cryptonite does support encFS and I was able to successfully create encFS encrypted folder on my Atrix. I would have liked to have TrueCrypt than encFS, just because I have been reading that Truecrypt has better overall support.
The method I use now for storing and synching encrypted information is:
for the first time only: create the encfs folder on the PC, then mount Atrix as a USB drive and copy the encrypted folder to Atrix.
To sync the encrypted files with the PC, I have to connect the Atrix as USB drive, open EncFS on the PC and select the folder on the Atrix to mount as a drive volume. Also mount the PC encFS folder as another drive. Now sync with the PC using any sync tool like MS SyncToy.
I went through a lot of searching and came to this which I think is good enough at the moment. I would like to hear if anyone else has a better app or method to secure and sync secured files on the Atrix - especially if you have got Truecrypt to somehow work on the Atrix. And I post this so that is anyone else needs this information, it is here.
shenoyh said:
Yet another requirement would be the ability to quickly encrypt and decrypt huge audio or video files. A few good apps could encrypt small audio and video files but not files of size 1GB or more. The apps would either freeze after some time or not encrypt them at all.
Click to expand...
Click to collapse
I don't know about the rest of it, I never used any strong security on my phone nor do I intend to, but I think you shouldn't ever expect to be able to "quickly encrypt and decrypt huge files". You're pretty much asking for impossible here. It's like asking to build a full-featured house, furnished and all, in 30 minutes or less. A lot of data will always require a lot of time to process. Heck, even, say, straight plain copying such a file to a computer would take quite a while.
No.
Your not going to get business class security on your atrix, or any current phone most likely.
LUKS manager is the closest thing to legitimate encryption (not gimicky BS) i have seen, but it has some fatal flaws.
Passwords and such are safe and easy to store with KeePass, which is also on windows/linux for syncing and has years of reputation (also free/open source). It isnt for files though.
-------------------------------------------------
Atrix 4G
Rom: Cyanogenmod 7.2 [20120805]
Recov: Romracer 5.0.2.7-atrix5
Radio: N_01.97.00R
Kernel: Faux 1.00ghz-026b1
UV: -0/-25/-50/-100/-150/-225/-300

USB Mass Storage Mode?

OK, what Kit Kat ROMs have USB mass storage mode?
If a ROM does have it, exactly how/where is it enabled?
Either a ROM doesn't have it or if it does the dev hides it some place and requires digging through 100's of stupid pointless posts to maybe if you are lucky, find the answer.
I'm at the point with this USB mass storage B.S. that I'm ready to leave Android completely and get a flip phone. Whomever thought it was a good idea to remove it was an idiot and whomever signed off on it was even a bigger idiot.
Lokifish Marz said:
OK, what Kit Kat ROMs have USB mass storage mode?
If a ROM does have it, exactly how/where is it enabled?
Either a ROM doesn't have it or if it does the dev hides it some place and requires digging through 100's of stupid pointless posts to maybe if you are lucky, find the answer.
I'm at the point with this USB mass storage B.S. that I'm ready to leave Android completely and get a flip phone. Whomever thought it was a good idea to remove it was an idiot and whomever signed off on it was even a bigger idiot.
Click to expand...
Click to collapse
MTP is absolutely terrible, completely half baked and totally unreliable.
Right now I just discovered that ChromeOS doesn't even support MTP... Google's OWN PRODUCT...
I'd like to know the answer as well.
I understand the frustrations but the problem with mass storage is that it surrenders all control of the internal storage to a PC not a problem when that's a different chip but on the n7 and most new smartphones its an emulated partition and giving over total control would mean that android cannot function at the same time. This was brought in to stop manufacturers using two separate chips giving you loads of "storage space" but very little application space. Its a work in progress and has many issues but its here to stay I don't think any ROMs will support USBMS as it not possible on a single chip without shutting down android.
Sent from my C5303 using xda app-developers app
LOL. In camera mode you have access to the "Pictures" folder and is readable by Windows and other OSes. All that needs to be done is duplicate the same process and direct it to a folder called "Storage" with full permissions for the folders contents. This essentially simulates USBMS. You can even redirect mounts to that folder so that apps see it as a storage area as well so things like map data and so on are put in the "Storage" folder.
I don't have the time to mess with this but it can be done and something almost exactly like this has been done before on almost every OS.
Lokifish Marz said:
LOL. In camera mode you have access to the "Pictures" folder and is readable by Windows and other OSes. All that needs to be done is duplicate the same process and direct it to a folder called "Storage" with full permissions for the folders contents. This essentially simulates USBMS. You can even redirect mounts to that folder so that apps see it as a storage area as well so things like map data and so on are put in the "Storage" folder.
I don't have the time to mess with this but it can be done and something almost exactly like this has been done before on almost every OS.
Click to expand...
Click to collapse
I imagine it can be done but it wouldn't be mass storage and would require apps to be compatible it may have been done on other systems but how much space should this storage folder be allocated because it would no longer be avalible to install apps. In camera mode android still retains control of the folder other os can read that folder but files must be copied off the device to be edited. It would be good if android could mount the SD card as mass storage.
Sent from my C5303 using xda app-developers app
No it would not technically be mass storage, thus the "simulated" comment. As far as other OSes, it's already been done to a point on android already via the simulated partition that's already in use. This has also bee done using third party apps to mount folders as virtual drives.
App compatibility, if the folder is used as mount point then it is transparent to the OS and the apps. This has been done for some time now using third party apps.
The folder size could have the same limitations that the storage area has already been limited to. If coded so that it is part of the boot process then everything outside of system apps would only see the virtual area. Kind of like what's being done right now.
Dual mount. This has been used with much success and allows for PC and Android access to the same storage area at the same time.

Categories

Resources