In a hat
Axell A) If you edited the vold, then he'll have to explain that it is necessary to dismount, ie vold himself and must then perform the operation unmounting. b) mounting / mht / usb point does not exist or / storage / usb - not a mount point or incorrect arguments at umount, for example, is not specified device. c) It is necessary to call unmountVolume method (String mountPoint, ...). This is done through a utility service, call the team.
1. Study the command service call, if you do not know. I propose to immediately look for in Tasker topic can be here Poshukayte and Google.
Continue until you are reading. We learned how to run a service methods?
2. It is necessary to determine the transaction number and a method arguments.
Take the source code of his version of Android, you learn unmountVolume method in the frameworks / base / core / java / android / os / storage / IMountService.java, see ibid TRANSACTION_unmountVolume transaction number.
3. Find through the same service command server for MountService.
4. service call server transaction path s16
PROFIT!
Fun entertainment I came up with you for the holidays, given that demand will almost anyone to their end? : D
d) Only I advise you to make a backup nandroid. By experience, when people get to the service, the team, they are in some umount not stop. There is vast pool of opportunities. Except that if a transaction number does not guess, is sooo painful.
GrAnd1 @ 30.04.2014, 16:04
It is available only on Linux newer kernels
Nicho so new, since 2.6.19.
GrAnd1 @ 30.04.2014, 16:04
leads to the discharge of the buffer to disk after writing the last file
Not. When a disk enters into a state of idle, ie to him will not be appeals.
In general, Russian pedivikiya such pedivikiya.
Post has been editedusername11 - 23.02.20, 15:53Reason for editing: post is placed in the header