Remove All Ads from XDA
Find Your Device:
Or Continue to Thread: Flashing ROM after turning on …
3rd May 2012, 09:57 PM |#54  
Thanks Meter: 43
I've finished a beta version of, which is able to get the recovery system to decrypt and mount the encrypted partitions. It should detect the connected android device, do some checks, look for the crypto footer, ask for a password and finally decrypt and mount /userdata and /sdcard, so you can backup to or update from /sdcard. It includes a slightly modified binary of dmsetup, I put the source in a git repository.

I tested it on my Nexus S on Linux and on Windows, on both you need to have Python installed (Windows Installer) and have adb on your PATH environment variable (probably python, too, for convenience). It will probably fail with the current version of CWM recovery, as it seems only the CyanogenMod CWM-based recovery has all necessary flags set correctly.

If you have made backups and want to try it nevertheless, here's quick step-by-step guide.
  1. Extract attached file, open a terminal window and navigate into folder where you extracted it.
  2. Make sure you can execute 'adb' and 'python' without error (you can exit python by entering 'exit()'). If it doesn't work, check you Android SDK install, especially the PATH, CyanogenMod Wiki has a detailed howto.
  3. Run 'python', see what happens and report your output.
  4. Do not try to restore backups or format partitions inside CWM, I have no idea what will happen.
Attached Files
File Type: zip - [Click for QR Code] (164.8 KB, 886 views)
Last edited by shaaXo; 12th May 2012 at 09:42 AM. Reason: New Version, fixed partition detection when fstab does not contain block device names
The Following 8 Users Say Thank You to shaaXo For This Useful Post: [ View ] Gift shaaXo Ad-Free