guardianproject/LUKS — Issue #3: loopback device error
Author: askillen
Created: 2011-11-09 08:03:24+00:00
State: open

Not really sure if this is where I should post this but...

I have been trying for a while to get Android LUKS to work. Here is my setup:
- rooted HTC Desire w/ CyanogenMod 7.1 (also tried with 6.1)
- BusyBox 1.19.1 in /system/xbin (also tried older versions)
- cryptsetup binary (also tried "Nemesis2 LUKS Manager" statically linked "lm.cryptsetup" binary)

I tried to configure a file container with info from the guardianproject README. I fail on the "luksOpen /dev/loop0" step with a message: "Device /dev/loop0 is too small". I have tried connecting the loopback device with files ranging from 5MB to 25MB and always the same error.

Any help would be greatly appreciated.

Also, if anyone has any advice on compiling the stock Android 2.3.x kernel with the necessary crypto, loopback, and device mapper modules I would be very thankful. I tried simply taking the generic linux 2.6.3x modules and placing them in the Android kernel module directory, but I can't get them to compile.

Thanks.