Add /firmware to the mount list for L decrypt

Needed by Nexus 6 and possibly others

Change-Id: I3309e2141a21a94dce90e34cced16450b591a92c
This commit is contained in:
Ethan Yonker
2014-11-19 16:14:55 -06:00
parent 0e67837dd0
commit 2b556013bf
+1
View File
@@ -1395,6 +1395,7 @@ int TWPartitionManager::Decrypt_Device(string Password) {
strcpy(cPassword, Password.c_str());
#ifdef TW_INCLUDE_L_CRYPTO
Mount_By_Path("/vendor", false); // if exists, mount vendor partition as we may need some proprietary files
Mount_By_Path("/firmware", false); // if exists, mount firmware partition as we may need some proprietary files
#endif
int pwret = cryptfs_check_passwd(cPassword);