User Tools

Site Tools


android_-_os:s7edge

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
android_-_os:s7edge [2017/01/20 19:09]
tkilla
android_-_os:s7edge [2017/03/22 12:40] (current)
tkilla [Crypt home]
Line 29: Line 29:
 The first Sdcard partition must be formatted to exfat. The Partition type must be FAT32 LBA and bootflag must be set: Then android 6 will recognize it. The first Sdcard partition must be formatted to exfat. The Partition type must be FAT32 LBA and bootflag must be set: Then android 6 will recognize it.
 The second partition will be trigger a "corrupted sd" message, but the first one will be mounted. The second partition will be trigger a "corrupted sd" message, but the first one will be mounted.
- 
-Commands to setup crypted partition: 
- 
-  cryptsetup -c aes-xts-plain64 --key-size 512 --hash sha512 -y luksFormat /dev/mmcblk0p2 
-  cryptsetup luksClose /dev/mapper/sdhome 
-  mkfs.ext4 -j -m 1 -O dir_index,filetype -L homecrypt /dev/mapper/sdhome  
- 
-Mount the partition in linux bootscript: 
- 
-  busybox mkdir $chrootdir/dev/block/ 
-  busybox -o bind /dev/block/ /$chrootdir/dev/block 
-   
-Then inside the chroot, it can be mounted 
-  cryptsetup luksOpen /dev/block/mmcblk0p2 sdhome 
-  mount /dev/mapper/home /mnt/sd 
-   
- 
- 
  
  
  
  
android_-_os/s7edge.1484935747.txt.gz ยท Last modified: 2017/01/20 19:09 by tkilla