Differences between revisions 8 and 9
Revision 8 as of 2014-07-18 09:05:13
Size: 333
Editor: SamatJain
Comment:
Revision 9 as of 2014-09-25 22:06:53
Size: 782
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

== Android device encryption tips ==

[[http://forum.xda-developers.com/showthread.php?t=2484380|[Q] mount cryptfs? - xda-developers]]

In recovery, unlock an encrypted partition with:

{{{#!highlight sh numbers=off
setprop ro.crypto.state encrypted
vdc cryptfs checkpw 'your passphrase here'
mount -o rw /dev/block/dm-0 /data
}}}

Make sure to unmount /data.

Logs are in /dev/log/system and/ or (in a second shell) /dev/log/main.

Linux filesystem on SD card

Support for ext4 formatted external sd cards describes writing an init.d script that:

mount -o rw,UID=1000 -t ext4 /dev/block/mmcblk1p1 /storage/extSdCard

Android device encryption tips

[Q] mount cryptfs? - xda-developers

In recovery, unlock an encrypted partition with:

setprop ro.crypto.state encrypted
vdc cryptfs checkpw 'your passphrase here'
mount -o rw /dev/block/dm-0 /data

Make sure to unmount /data.

Logs are in /dev/log/system and/ or (in a second shell) /dev/log/main.

SamatsWiki: Android (last edited 2017-10-27 07:31:21 by SamatJain)