)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":487,"name":"DarthJabba9","email":"darthjabba9@gmail.com","username":"DarthJabba9"},"change_message_id":"b3e39e99196b87e022793fd9860195153ace12f4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"19a2b0fa_495cf5cf","updated":"2022-06-03 10:25:28.000000000","message":"Lines 261-264","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":28,"name":"Marc Bourgoin","email":"themard85@gmail.com","username":"ThEMarD"},"change_message_id":"68bfc7486eed49c2e5953376a8b5d84c89f3cdbd","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":13,"id":"eef4a534_25f0d223","updated":"2022-08-18 15:10:54.000000000","message":"this plus 5405 fixes decryption for dubai, heart, payton, Z01RD, and zippo","commit_id":"1ab800cefa9363873c927132bd0e400d218a198f"}],"Android.bp":[{"author":{"_account_id":751,"name":"Fernando Oliveira","display_name":"faoliveira78","email":"fernandoaju78@gmail.com","username":"faoliveira78"},"change_message_id":"c6c01c19e60c9c2cc0d5f11f3f474a5e6bf5ae7e","unresolved":true,"context_lines":[{"line_number":13,"context_line":"        \"-Wno-unused-parameter\","},{"line_number":14,"context_line":"        \"-Wno-unused-variable\","},{"line_number":15,"context_line":"        \"-Wno-macro-redefined\","},{"line_number":16,"context_line":"        \"-DUSE_FSCRYPT_POLICY_V1\u003d1\""},{"line_number":17,"context_line":"    ],"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"    clang: true,"}],"source_content_type":"application/octet-stream","patch_set":8,"id":"66fd4f21_60fa03c0","line":16,"updated":"2022-08-01 02:50:06.000000000","message":"After you removed that line, I\u0027m having errors with backup encrypted data, \"failed to look up fscrypt tar policy\". The device is FBE v1. I entered the line and the backup worked again","commit_id":"89a0729070ebc3223b97138624ff739199abe537"},{"author":{"_account_id":783,"name":"sekaiacg","email":"sekaiacg@gmail.com","username":"sekaiacg"},"change_message_id":"21efc6d5476d715b5b71eb9d461cbc1e5d0f23e7","unresolved":true,"context_lines":[{"line_number":13,"context_line":"        \"-Wno-unused-parameter\","},{"line_number":14,"context_line":"        \"-Wno-unused-variable\","},{"line_number":15,"context_line":"        \"-Wno-macro-redefined\","},{"line_number":16,"context_line":"        \"-DUSE_FSCRYPT_POLICY_V1\u003d1\""},{"line_number":17,"context_line":"    ],"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"    clang: true,"}],"source_content_type":"application/octet-stream","patch_set":8,"id":"ad6531f0_bea5b9ba","line":16,"in_reply_to":"1f87beb3_9ebe601d","updated":"2022-08-01 06:21:23.000000000","message":"see FileBasedEncryptionPolicyTest.cpp\n\nAfter analysis\nThe factory is v1 for Android 10\nThe factory is Android 11 and above is v2\n\nYou can use configure: TW_USE_FSCRYPT_POLICY :\u003d 1","commit_id":"89a0729070ebc3223b97138624ff739199abe537"},{"author":{"_account_id":751,"name":"Fernando Oliveira","display_name":"faoliveira78","email":"fernandoaju78@gmail.com","username":"faoliveira78"},"change_message_id":"ecaba971a131587030ebd7944421de451a0b7716","unresolved":true,"context_lines":[{"line_number":13,"context_line":"        \"-Wno-unused-parameter\","},{"line_number":14,"context_line":"        \"-Wno-unused-variable\","},{"line_number":15,"context_line":"        \"-Wno-macro-redefined\","},{"line_number":16,"context_line":"        \"-DUSE_FSCRYPT_POLICY_V1\u003d1\""},{"line_number":17,"context_line":"    ],"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"    clang: true,"}],"source_content_type":"application/octet-stream","patch_set":8,"id":"1f87beb3_9ebe601d","line":16,"in_reply_to":"66fd4f21_60fa03c0","updated":"2022-08-01 03:10:46.000000000","message":"With this line\nhttps://bin.perosar.tech/IZxp\n\nWithout\nhttps://bin.perosar.tech/5u5Q","commit_id":"89a0729070ebc3223b97138624ff739199abe537"},{"author":{"_account_id":783,"name":"sekaiacg","email":"sekaiacg@gmail.com","username":"sekaiacg"},"change_message_id":"8b5be36ecfdef1ac7858a849958ecab2f6b6ca70","unresolved":false,"context_lines":[{"line_number":13,"context_line":"        \"-Wno-unused-parameter\","},{"line_number":14,"context_line":"        \"-Wno-unused-variable\","},{"line_number":15,"context_line":"        \"-Wno-macro-redefined\","},{"line_number":16,"context_line":"        \"-DUSE_FSCRYPT_POLICY_V1\u003d1\""},{"line_number":17,"context_line":"    ],"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"    clang: true,"}],"source_content_type":"application/octet-stream","patch_set":8,"id":"13eb3d72_0c5f6bb2","line":16,"in_reply_to":"ad6531f0_bea5b9ba","updated":"2022-08-01 07:29:55.000000000","message":"Need to sync the repo with this commit\nhttps://gerrit.twrp.me/c/android_bootable_recovery/+/5768","commit_id":"89a0729070ebc3223b97138624ff739199abe537"}],"Decrypt.cpp":[{"author":{"_account_id":783,"name":"sekaiacg","email":"sekaiacg@gmail.com","username":"sekaiacg"},"change_message_id":"4d833a57d142f69a79d2d92c5e17d21dde6d958b","unresolved":true,"context_lines":[{"line_number":298,"context_line":"\t\t\t\tspblob_path + \"0\" + handle_str + \".pwd\","},{"line_number":299,"context_line":"\t\t\t\tspblob_path + \"00\" + handle_str + \".pwd\""},{"line_number":300,"context_line":"\t\t};"},{"line_number":301,"context_line":"\t\tbool found_pwd_file \u003d true;"},{"line_number":302,"context_line":"\t\tfor (auto\u0026\u0026 pwd_file:pwd_file_paths) {"},{"line_number":303,"context_line":"\t\t\t\tif (!android::base::ReadFileToString(pwd_file, \u0026pwd_data)) {"},{"line_number":304,"context_line":"\t\t\t\t\t\tprintf(\"Failed to read \u0027%s\u0027\\n\", pwd_file.c_str());"}],"source_content_type":"text/x-c++src","patch_set":12,"id":"56e6df3f_4fc2a129","line":301,"updated":"2022-08-10 06:30:06.000000000","message":"There is a logical error here.\nAlso, there are .spblob and .secdis files that require the same logic.\nafter modification:\n\t\tbool found_pwd_file \u003d false;\n\t\tfor (auto\u0026\u0026 pwd_file:pwd_file_paths) {\n\t\t\t\tif (!android::base::ReadFileToString(pwd_file, \u0026pwd_data)) {\n\t\t\t\t\tprintf(\"Failed to read \u0027%s\u0027\\n\", pwd_file.c_str());\n\t\t\t\t} else {\n\t\t\t\t\tfound_pwd_file \u003d true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}","commit_id":"447c7b789e8b11bba34cfdf860350bedc9fee07b"},{"author":{"_account_id":783,"name":"sekaiacg","email":"sekaiacg@gmail.com","username":"sekaiacg"},"change_message_id":"1f04c00e4a92d82829fd867e1d219401124102b8","unresolved":false,"context_lines":[{"line_number":298,"context_line":"\t\t\t\tspblob_path + \"0\" + handle_str + \".pwd\","},{"line_number":299,"context_line":"\t\t\t\tspblob_path + \"00\" + handle_str + \".pwd\""},{"line_number":300,"context_line":"\t\t};"},{"line_number":301,"context_line":"\t\tbool found_pwd_file \u003d true;"},{"line_number":302,"context_line":"\t\tfor (auto\u0026\u0026 pwd_file:pwd_file_paths) {"},{"line_number":303,"context_line":"\t\t\t\tif (!android::base::ReadFileToString(pwd_file, \u0026pwd_data)) {"},{"line_number":304,"context_line":"\t\t\t\t\t\tprintf(\"Failed to read \u0027%s\u0027\\n\", pwd_file.c_str());"}],"source_content_type":"text/x-c++src","patch_set":12,"id":"346bd0f0_c7840046","line":301,"in_reply_to":"56e6df3f_4fc2a129","updated":"2022-08-11 10:24:24.000000000","message":"Done","commit_id":"447c7b789e8b11bba34cfdf860350bedc9fee07b"}],"FsCrypt.cpp":[{"author":{"_account_id":487,"name":"DarthJabba9","email":"darthjabba9@gmail.com","username":"DarthJabba9"},"change_message_id":"b3e39e99196b87e022793fd9860195153ace12f4","unresolved":true,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"60d15493_654f86fa","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"updated":"2022-06-03 10:25:28.000000000","message":"These lines break decryption in miatoll","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":1,"name":"bigbiff","email":"bigbiff@teamw.in","username":"bigbiff"},"change_message_id":"818aa230058b1d1dc16177eb1089375ecb3d3a42","unresolved":true,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"ca60b2e3_d124ee54","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"in_reply_to":"414ce2f4_3b059d8e","updated":"2022-06-03 14:10:08.000000000","message":"Hmm, it sounds like your device doesn\u0027t need wrappedkey.","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":487,"name":"DarthJabba9","email":"darthjabba9@gmail.com","username":"DarthJabba9"},"change_message_id":"db3a7e507b8cf83299c7f24f8032e82f84031b09","unresolved":true,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"d24d7fc7_805a7f31","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"in_reply_to":"43a7203b_97414176","updated":"2022-06-03 13:27:59.000000000","message":"I would imagine so, since the wrappedkey flag is in all the fstab mounts for metadata and userdata.","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":1,"name":"bigbiff","email":"bigbiff@teamw.in","username":"bigbiff"},"change_message_id":"92a6f396e0750be8ee1dda550e47250814817545","unresolved":true,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"43a7203b_97414176","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"in_reply_to":"60d15493_654f86fa","updated":"2022-06-03 12:07:09.000000000","message":"This was introduced by a wrappedkey patchset outside of this patch. Is your device wrappedkey?","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":1,"name":"bigbiff","email":"bigbiff@teamw.in","username":"bigbiff"},"change_message_id":"bb8bd5bb1254d2bb421b59fba23661e843ebdc73","unresolved":true,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"9c1e9fd4_bd55b87d","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"in_reply_to":"7a49cddb_b76c7909","updated":"2022-06-03 23:35:25.000000000","message":"This isn\u0027t from this patchset, it\u0027s from https://gerrit.twrp.me/c/android_system_vold/+/5490/1/FsCrypt.cpp","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":487,"name":"DarthJabba9","email":"darthjabba9@gmail.com","username":"DarthJabba9"},"change_message_id":"55dd1d58b9a0f82c1ca3bade1a7611560878c669","unresolved":true,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"e4070622_4f2b2269","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"in_reply_to":"9c1e9fd4_bd55b87d","updated":"2022-06-04 06:16:09.000000000","message":"No. I have ascertained that this isn\u0027t the real cause of the problem. Removing it only cures the problem for those ROMs that require the wrappedkey flags to *not* be set - but the real solution for those ROMs is to change the fstab. For the ROMs that do require the wrappedkey flags, removing this code breaks decryption. \n\nThere never used to be a problem at all with this device (miatoll); Ig the real problem may not even be in vold at all, but whatever it is, it happened in the past week or so, following some repo syncs.","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":487,"name":"DarthJabba9","email":"darthjabba9@gmail.com","username":"DarthJabba9"},"change_message_id":"44f41a31ef20e5eb54e9496699a1549e1beefe9f","unresolved":true,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"f64f6266_15ca38a6","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"in_reply_to":"ca60b2e3_d124ee54","updated":"2022-06-03 14:13:37.000000000","message":"Perhaps the current ROM doesn\u0027t. There will be a need to test other ROMs.","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":487,"name":"DarthJabba9","email":"darthjabba9@gmail.com","username":"DarthJabba9"},"change_message_id":"446384adbecd010ba01d2eb489381b0df525aad2","unresolved":true,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"df608ea5_f17d42c4","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"in_reply_to":"d24d7fc7_805a7f31","updated":"2022-06-03 13:29:09.000000000","message":"Once those lines are commented out, everything works fine again.","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":487,"name":"DarthJabba9","email":"darthjabba9@gmail.com","username":"DarthJabba9"},"change_message_id":"873be7f9ad04e2b3374015d8716b59106864f3bc","unresolved":true,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"414ce2f4_3b059d8e","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"in_reply_to":"df608ea5_f17d42c4","updated":"2022-06-03 13:59:08.000000000","message":"Restoring those lines and removing the wrappedkey flag from the fstab mounts also works.","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":487,"name":"DarthJabba9","email":"darthjabba9@gmail.com","username":"DarthJabba9"},"change_message_id":"16a39003396c4ac7d40596d38e0de9cd5c37c7da","unresolved":false,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"0898b97e_b0ba93db","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"in_reply_to":"e4070622_4f2b2269","updated":"2022-06-04 15:07:29.000000000","message":"After further investigation, the conclusion is that the true cause of the problem is not related to this patch at all.","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"},{"author":{"_account_id":487,"name":"DarthJabba9","email":"darthjabba9@gmail.com","username":"DarthJabba9"},"change_message_id":"656f394a48fba40dbfca06637861324ab346dbfa","unresolved":true,"context_lines":[{"line_number":258,"context_line":"                      \"this flag from the device\u0027s fstab\";"},{"line_number":259,"context_line":"        return false;"},{"line_number":260,"context_line":"    }"},{"line_number":261,"context_line":"    if (options-\u003eversion \u003d\u003d 1) {"},{"line_number":262,"context_line":"        options-\u003euse_hw_wrapped_key \u003d"},{"line_number":263,"context_line":"            GetEntryForMountPoint(\u0026fstab_default, DATA_MNT_POINT)-\u003efs_mgr_flags.wrapped_key;"},{"line_number":264,"context_line":"    }"},{"line_number":265,"context_line":"    return true;"},{"line_number":266,"context_line":"}"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"7a49cddb_b76c7909","line":264,"range":{"start_line":261,"start_character":0,"end_line":264,"end_character":5},"in_reply_to":"f64f6266_15ca38a6","updated":"2022-06-03 23:16:50.000000000","message":"Something seems to have gone awry with the latest vold patch as far as miatoll is concerned. Now, some ROMs require the wrappedkey flags to be set in the fstab, otherwise they will not decrypt. Other ROMs require the wrappedkey flags to NOT be set in the fstab, otherwise they too will not decrypt.\n\nI have reverted to an earlier patch, which decrypts all ROMs, with the wrappedkey flags enabled.","commit_id":"49dbf431c00deb51efaf6f45a1b3ed86720ca689"}],"fscrypt_policy.cpp":[{"author":{"_account_id":487,"name":"DarthJabba9","email":"darthjabba9@gmail.com","username":"DarthJabba9"},"change_message_id":"b6cfeae6d9b43ca42617e17f00b710ac16e1747f","unresolved":true,"context_lines":[{"line_number":163,"context_line":"#ifdef USE_FSCRYPT_POLICY_V1"},{"line_number":164,"context_line":"extern \"C\" bool Get_Encryption_Policy(struct fscrypt_policy_v1 \u0026policy, std::string path) {"},{"line_number":165,"context_line":"#else"},{"line_number":166,"context_line":"bool TWFunc::Get_Encryption_Policy(struct fscrypt_policy_v2 \u0026policy, std::string path) {"},{"line_number":167,"context_line":"#endif"},{"line_number":168,"context_line":"\tif (!TWFunc::Path_Exists(path)) {"},{"line_number":169,"context_line":"\t\tLOGERR(\"Unable to find %s to get policy\\n\", path.c_str());"}],"source_content_type":"text/x-c++src","patch_set":11,"id":"8424c638_e3f507f2","line":166,"updated":"2022-08-04 13:15:55.000000000","message":"Does vold understand \"TWFunc::\" ?","commit_id":"bbe1ac55cdaef730c29424b426e47b66787bb93b"},{"author":{"_account_id":1,"name":"bigbiff","email":"bigbiff@teamw.in","username":"bigbiff"},"change_message_id":"3e8f52cd14e17dd19984495fb82a79485f1fded2","unresolved":false,"context_lines":[{"line_number":163,"context_line":"#ifdef USE_FSCRYPT_POLICY_V1"},{"line_number":164,"context_line":"extern \"C\" bool Get_Encryption_Policy(struct fscrypt_policy_v1 \u0026policy, std::string path) {"},{"line_number":165,"context_line":"#else"},{"line_number":166,"context_line":"bool TWFunc::Get_Encryption_Policy(struct fscrypt_policy_v2 \u0026policy, std::string path) {"},{"line_number":167,"context_line":"#endif"},{"line_number":168,"context_line":"\tif (!TWFunc::Path_Exists(path)) {"},{"line_number":169,"context_line":"\t\tLOGERR(\"Unable to find %s to get policy\\n\", path.c_str());"}],"source_content_type":"text/x-c++src","patch_set":11,"id":"f7d69c92_8e14f812","line":166,"in_reply_to":"8424c638_e3f507f2","updated":"2022-08-04 22:47:08.000000000","message":"Done","commit_id":"bbe1ac55cdaef730c29424b426e47b66787bb93b"}]}
