Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
M@31
Old
#11  
Senior Member
Thanks Meter 356
Posts: 1,470
Join Date: Sep 2011
Location: Daegu
I have been just pulling out my usb and nothing bad has happened.
Maybe a stupid question, but is it really necessary to unmount before pulling out the USB?

I know that things could go wrong, but is it really risky to just pull out?
Samsung Galaxy S III LTE (SHV-E210S)
Stock Jelly Bean 4.1.2 (E210SKSJMB7) - rooted with Tegrak

Samsung Galaxy Tab 10.1 (SHW-M380W - Transformed into GT-P7510)
Fourth Bar: Revolution with Yoda's Kernel v2.2


Samsung Galaxy S SHW-M110S - Retired
 
makbil
Old
#12  
makbil's Avatar
Senior Member
Thanks Meter 809
Posts: 4,940
Join Date: Sep 2008
Location: Bodrum
Not absolutely necessary but a good practise. I have run into a few issues on my Windows system due to delayed write operations. It's just a habit I acquired and hasn't done any harm.

Sent from my GT-P7500 using XDA Premium HD app

HTC One - ARHD 9.1 | JB 4.1.2
HTC One X - Android Revolution HD 21.0 | Sense 4+ | Base 3.20.401.1 | JB 4.1.1 /Quietly rooted
Samsung Note 10.1 (N8005) 3G+Wi-Fi ([JB 4.1.2])
The Following User Says Thank You to makbil For This Useful Post: [ Click to Expand ]
 
1andoid
Old
#13  
Junior Member
Thanks Meter 0
Posts: 6
Join Date: Jan 2012
Default will try it on iconia a500

Quote:
Originally Posted by jimrob233 View Post
I've tried the app on a cheap Chinese WM8850 based tablet running ICS and it doesn't work. It says that the drive is unmounted, but the files are still visible even if USB scanning is disabled. The drive can be unmounted by going through the Settings menu and it's under storage>USB>unmount SD card (sic). That unmounts the drive (and doesn't unmount the SD card). A button on the home page to do the job would be welcome, but I'm not (yet) sufficiently familiar with ICS to have a go at writing one.
I use a usb sticks a lot on iconia. after moving to ics, the unmount disk is a pita, will try this on iconia.
thanks
 
RavenY2K3
Old
(Last edited by RavenY2K3; 22nd September 2012 at 10:21 AM.)
#14  
RavenY2K3's Avatar
Senior Member
Thanks Meter 223
Posts: 957
Join Date: Nov 2006
Quote:
Originally Posted by M@31 View Post
I have been just pulling out my usb and nothing bad has happened.
Maybe a stupid question, but is it really necessary to unmount before pulling out the USB?

I know that things could go wrong, but is it really risky to just pull out?
Ok I'm gonna try my best and explain it, this is certainly the case for windows PCs at least and I'm assuming the option is there in Android, as it does the same thing.

Basically when you write files to a removable storage device, it holds part of the data in a buffer if there isn't enough data for it to warrant the process being carried out. Unless you copy a substantial amount for it to do it in one go of course.

If it has got some data in the buffer, when you tell it to unmount, you're actually telling it to write any remaining data to the removable storage, flush the buffer and eject the device.

The problems occur if you pull out the device before "all" the data has been written, ending up with corrupt files on the device you were copying it to.

Hope this all makes sense and gives you an answer to your question.

Swyped from my finger to your face, on my Samsung Galaxy Note.
Current Device: Model: Samsung Galaxy Note II, Galaxy Tab 10.1 GT-P7500 & Galaxy Camera EK-GC100

Retired but still own: Samsung Galaxy Note GT-N7000 - Dell Streak - HTC Touch Pro 2, and HTC Kaiser - MDA Vario III

Used to own: Samsung Galaxy SII - HTC Desire - HTC Hermes (MDA Vario II) - Raphael - HTC Touch Pro -
HTC Wizard (MDA Vario) - HTC Alpine (O2 XDA IIi) - HTC Magician (MDA Compact)
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more