Peter Cai 90edd2e867 ext4crypt: support wrappedkey for FBE
Qualcomm devices use a special `wrappedkey` mode for FBE. This is ported
from CAF
https://source.codeaurora.org/quic/la/platform/system/vold/commit/?h=LA.UM.7.8.r4-01000-SDM710.0&id=9229262d893a8592f7bc1b4e8a8dab7aad8df68c,
originally by folks at Mokee for vold
https://mokeedev.review/c/MoKee/android_system_vold/+/34102.

This patch ports the above changes to `ext4crypt`, which we can use in
recovery. Note that since we do not have `fs_mgr` in the recovery, we
cannot read the `wrappedkey` flag from fstab. Instead, similar to
`fbe.contents`, we use a special property `fbe.data.wrappedkey` to
indicate support for wrappedkey mode. Devices that need to use this
should set this property to `true` to activate corresponding code.

Change-Id: I79c2855d577156670b45c10c7c7b1fcd9fece8d9
2019-09-01 19:33:30 +02:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2017-10-11 16:56:12 -07:00
2018-08-24 11:17:39 -05:00
2019-04-29 17:45:31 -04:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2019-03-19 18:05:40 +01:00
2015-06-20 15:57:56 -05:00
2018-08-24 11:17:39 -05:00
2014-11-12 11:03:50 -06:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2017-05-10 16:11:35 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2019-05-12 21:03:35 +01:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2013-09-17 20:06:14 +00:00
2015-11-05 20:58:39 +02:00
2016-02-03 16:05:56 -06:00
2018-08-24 11:17:39 -05:00
2019-05-24 16:31:09 -05:00
2018-08-24 11:17:39 -05:00
2019-05-24 16:31:09 -05:00
2017-06-17 07:05:45 -05:00
2018-08-24 11:17:39 -05:00
2017-09-08 07:14:59 -05:00
2014-11-04 15:34:19 +01:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2019-05-24 16:31:09 -05:00
2014-04-25 15:47:34 -07:00
2018-08-24 11:17:39 -05:00
2017-01-18 17:41:17 +01:00
2015-12-19 08:31:01 -06:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2016-03-31 15:43:53 +01:00
2016-03-31 15:43:53 +01:00
2018-08-24 11:17:39 -05:00
2017-09-08 07:14:59 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2012-09-05 15:24:31 -04:00
2017-04-16 15:53:47 -07:00
2016-03-17 16:00:20 -05:00
2017-10-12 10:45:04 -07:00
2012-09-05 15:24:31 -04:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2018-08-24 11:17:39 -05:00
2017-10-05 12:02:13 -07:00
2017-10-05 12:02:13 -07:00
2017-10-11 16:56:12 -07:00
2015-01-27 15:07:19 +01:00
2015-01-27 15:07:19 +01:00
2017-01-18 20:02:43 +01:00
2017-09-08 07:14:59 -05:00
2017-09-08 07:14:59 -05:00
2017-09-08 07:14:59 -05:00
2019-03-20 10:57:07 -05:00
2017-01-18 17:41:17 +01:00
2018-08-24 11:17:39 -05:00
2019-05-16 12:11:32 -05:00
2017-09-08 07:14:59 -05:00
2017-07-06 21:53:00 +00:00
2017-10-11 16:56:12 -07:00
2017-10-05 12:02:13 -07:00
2017-10-11 16:56:12 -07:00
2017-09-08 07:14:59 -05:00
2017-09-08 07:14:59 -05:00

Team Win Recovery Project (TWRP)

You can find a compiling guide here.

Description
No description provided
Readme 102 MiB
Languages
C++ 50.2%
C 43.6%
Makefile 1.9%
Java 1.8%
Roff 1%
Other 1.4%