NookColor Turn off USB automouting
From nookDevs
Part of the NookColor portal
|
The Nook Color automatically defaults to automounting both the internal storage and SD card (if installed) when you plug it into your computer. This is great if your primarily use case for plugging it in is downloading books, but if you're reading this you are probably more likely to be tinkering or using adb. In that case, it could be useful to temporarily or permanently disable the automount functionality. Both can be reverted easily.
Temporarily Disable Automounting
If you want to disable the automounting temporarily and do not need it to persist across reboots, such as when doing some debugging using adb, use the following:
host$ adb shell setprop persist.service.mount.umsauto 0
Using a terminal emulator:
$ su # setprop persist.service.mount.umsauto 0
Using the NookColor and NookColor Tools:
NookColor Tools -> All Settings -> Development -> Auto Mount (uncheck)
To re-enable the default behavior, run the following command:
host$ adb shell setprop persist.service.mount.umsauto 1
Using a terminal emulator:
$ su # setprop persist.service.mount.umsauto 1
Using the NookColor and NookColor Tools:
NookColor Tools -> All Settings -> Development -> Auto Mount (check)
Permanently Disable Automounting
To disable automounting permanently, do the following:
host$ adb shell busybox echo -n 0 > /data/property/persist.service.mount.umsauto
To undo this change:
host$ adb shell rm /data/property/persist.service.mount.umsauto
You should be able to temporarily re-enable it using the setprop to 1 using the example in the Temporarily Disable Automounting section.