Cryptfs Password

Cryptfs Password


Changes the Android disk encryption password

New: Experimental Lollipop support. Requires SuperSU

If you are using a pattern lock, enter the current password as
a sequence of dot numbers.
Dots are numbered left-to-right, top-to-bottom, starting with 1:

1 2 3
4 5 6
7 8 9

This tool REQUIRES root access to work. If you are not using disk encryption this tool will not be useful to you. In fact, it will not even start on your device.


*** WARNING ***
If you forget the new password after you change it, you will not be able to boot the device. You will have to perform a factory reset, DELETING all your data. Make sure you take a full backup before using this tool, and REMEMBER THE PASSWORD. You have been warned, use at your own risk!


Android 3.0 (Honeycomb) introduced disk encryption and it has been available on all subsequent versions. It encrypts the data partition with a key protected by a user-selected password and requires entering the password in order to boot the device. However, Android uses the device unlock password or PIN as the device encryption password, and doesn't allow you to change them separately. This effectively forces you to use a simple password, since you have to enter it each time you unlock your device, usually dozens of times a day. This tool allows you to change the encryption password to a more secure one, without affecting the screen unlock password/PIN. To change the device encryption password simply:

1. Enter the current password
(initially the same as the unlock password/PIN)
2. Enter and confirm the new password
3. Hit 'Change password'

The changes take effect immediately, but you will only be required to enter the new password the next time you boot your device. Make sure you choose a good password, not based on a dictionary word, since automated tools can brute force a simple password in minutes. Above all, make sure you REMEMBER the new password.

If you change the device unlock password/PIN, the encryption password will be automatically changed as well. You need to use this tool again to change it back, if required.

More details and some background information here:

http://nelenkov.blogspot.com/2012/08/changing-androids-disk-encryption.html

Not supported on Android L, but may not be required due to changes to disk encryption implementation.
More details about Android L:

http://nelenkov.blogspot.com/2014/10/revisiting-android-disk-encryption.html


This tool is open source. Code is available on Github under the Apache 2.0 license.
https://github.com/nelenkov/cryptfs-password-manager

Tested on Galaxy Nexus with
* stock Jelly Bean (4.1.1)
* CyanognenMod 9 (4.0.4)

NO WARRANTY. Use at your own risk.

Recent changes:
v1.2.3
* Experimental Lollipop support. Requires SuperSU
v1.2.2
* Limit to Android v1.2.1
* Support CyanogenMod builtin Superuser app
* Added explicit ACCESS_SUPERUSER permission
v1.2
* Better special character handling
* Improved password change error message
* Try to rollback to old password if changing fails for an unknown reason
v1.1
* Support for ICS
v1.0
* Initial release
Add to list
Free
92
4.6
User ratings
181
Installs
5,000+
Concerns
0
File size
27 kb
Screenshots
Screenshot of Cryptfs Password Screenshot of Cryptfs Password
About Cryptfs Password
Changes the Android disk encryption password

New: Experimental Lollipop support. Requires SuperSU

If you are using a pattern lock, enter the current password as
a sequence of dot numbers.
Dots are numbered left-to-right, top-to-bottom, starting with 1:

1 2 3
4 5 6
7 8 9

This tool REQUIRES root access to work. If you are not using disk encryption this tool will not be useful to you. In fact, it will not even start on your device.


*** WARNING ***
If you forget the new password after you change it, you will not be able to boot the device. You will have to perform a factory reset, DELETING all your data. Make sure you take a full backup before using this tool, and REMEMBER THE PASSWORD. You have been warned, use at your own risk!


Android 3.0 (Honeycomb) introduced disk encryption and it has been available on all subsequent versions. It encrypts the data partition with a key protected by a user-selected password and requires entering the password in order to boot the device. However, Android uses the device unlock password or PIN as the device encryption password, and doesn't allow you to change them separately. This effectively forces you to use a simple password, since you have to enter it each time you unlock your device, usually dozens of times a day. This tool allows you to change the encryption password to a more secure one, without affecting the screen unlock password/PIN. To change the device encryption password simply:

1. Enter the current password
(initially the same as the unlock password/PIN)
2. Enter and confirm the new password
3. Hit 'Change password'

The changes take effect immediately, but you will only be required to enter the new password the next time you boot your device. Make sure you choose a good password, not based on a dictionary word, since automated tools can brute force a simple password in minutes. Above all, make sure you REMEMBER the new password.

If you change the device unlock password/PIN, the encryption password will be automatically changed as well. You need to use this tool again to change it back, if required.

More details and some background information here:

http://nelenkov.blogspot.com/2012/08/changing-androids-disk-encryption.html

Not supported on Android L, but may not be required due to changes to disk encryption implementation.
More details about Android L:

http://nelenkov.blogspot.com/2014/10/revisiting-android-disk-encryption.html


This tool is open source. Code is available on Github under the Apache 2.0 license.
https://github.com/nelenkov/cryptfs-password-manager

Tested on Galaxy Nexus with
* stock Jelly Bean (4.1.1)
* CyanognenMod 9 (4.0.4)

NO WARRANTY. Use at your own risk.

Recent changes:
v1.2.3
* Experimental Lollipop support. Requires SuperSU
v1.2.2
* Limit to Android v1.2.1
* Support CyanogenMod builtin Superuser app
* Added explicit ACCESS_SUPERUSER permission
v1.2
* Better special character handling
* Improved password change error message
* Try to rollback to old password if changing fails for an unknown reason
v1.1
* Support for ICS
v1.0
* Initial release

User reviews of Cryptfs Password
Write the first review for this app!
Android Market Comments
A Google User
Feb 20, 2015
Awesome! Works as described. Now the phone encryption password can be as long as you wish. Thanks Nikolay, keep up the good work!
A Google User
Feb 18, 2015
lets you decouple the screen lock from the crypto lock on lollipop. using cm12, is super su still required? i used it initially - but i'm tempted to try without it as uninstalling super su is easier said than done, and i'd prefer to use the built in root managment....
A Google User
Jan 31, 2015
Worked perfectly with a nexus 7 on cm12 nightlies with SuperSU
A Google User
Jan 20, 2015
Works great, now on Android 5 I've used this app on CyanogenMod 11 (Android 4.4). Unfortunately, the latest version doesn't work on OnePlus One with HW encryption. It says "pw correct, but data corrupted". To answer the author: Sorry, that pw change dialog does not exist on CM12 Nightly 0118 for N4, N7, OPO.
A Google User
Jan 18, 2015
Nexus 4/5.0.1 Ok, I need support.. I change password, and it decrypts in TWRP. But it doesn't from regular boot procedure. Android 5.0.1/Nexus 4