LoginSignup
0
0

More than 5 years have passed since last update.

truecryptで暗号化されたntfsのvolumeファイルをandroidにmountする

Last updated at Posted at 2016-05-04

※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'! との警告がでる。 今のとこ処理は継続できて問題ないようなので無視しています。 すこし気持ち悪いですが…
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0