※root化必須です。
cryptoniteというtoolを使用します。
Android Terminal Emulatorも必要となります。
また今回はsudoでコマンドを打つので
sudo for Androidも入れておきます。
cryptoniteをインストールすると
/data/data/csh.cryptonite/truecrypt
にtruecryptのバイナリがインストールされるのでこちらを使います。
次にAndroid Terminal Emulatorを立ち上げ以下のコマンドを入力します。
shell-session
sudo truecrypt --filesystem=none --protect-hidden=no --keyfile= --fs-options="uid=1000,gid=1000,umask=0002" /sdcard/xxx.tc
パスワード入力を求められるので入力します。
keyfileやpathは適宜置き換えてください。
これで/dev/block/loop*にmountされるはずなので
その後以下のコマンドでntfsでmountをします。
shell-session
sudo mount_nfsd_fuse /dev/block/loop0 /storage/usbdisk3
これでmountできるはずです。
※以下トラブル情報
- Error: Failed to create a file or directory in a temporary directory.
Please make sure that the temporary directory exists, its security permissions allow you to access it, and there is sufficient disk space:
とのエラーがでる場合
起動するにはテンポラリフォルダの設定が必要なので
以下のフォルダを作成します。
shell-session
mkdir -p /sdcard/Android/data/csh.cryptonite/
suになるとあったりなかったりとかあるので注意
- Error: Cannot convert from the charset 'encoding -1'! との警告がでる。 今のとこ処理は継続できて問題ないようなので無視しています。 すこし気持ち悪いですが…