-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
partitionmanager: allow skipping additional fstab processing
* Set 'TW_SKIP_ADDITIONAL_FSTAB := true' to skip additional fstab processing * Set 'keymaster_ver' prop in device tree if you want to use a specific keymaster version regardless of what may be found in ramdisk manifest (if version can't be determined by checking device manifest) * Set above prop and add 'TW_FORCE_KEYMASTER_VER := true' if you want to enforce keymaster_ver set in device tree and skip checking on device In current state, if additional fstab cannot be found, then keymaster_ver never gets set. This breaks devices using twrp-common as the correct service will never start for decryption, resulting in a hang at the TWRP splash. Separating fstab processing allows keymaster to be found on device and keymaster_ver to be set regardless of fstab availability. If keymaster_ver cannot be determined by checking vendor on device, use default keymaster version set in device tree, or if not present, set from TWRP ramdisk based on binaries found, unless values are forced as mentioned above. Change-Id: Ic498b82a2ff2a5461493ce4ad304f1a6679291df Signed-off-by: Mohd Faraz <[email protected]>
- Loading branch information
1 parent
05c6978
commit 5f2a0b7
Showing
5 changed files
with
150 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters