Added listening for the HID interface (charging) and bug fixing

This commit is contained in:
Gustave Monce
2019-12-30 16:51:25 +01:00
parent 81145ed0e9
commit a3f323259a
3 changed files with 188 additions and 190 deletions
+8
View File
@@ -143,6 +143,14 @@ namespace WPinternals
if (SecurityStatus == null)
IsBootLoaderUnlocked = (Info.Authenticated || Info.RdcPresent || !Info.SecureFfuEnabled);
if (RootKeyHash == null)
{
RootKeyHash = Info.RKH;
if (RootKeyHash == null)
RootKeyHash = new byte[32];
}
TestPos = 3;
if (Info.FlashAppProtocolVersionMajor < 2)