mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-08-11 02:21:14 +10:00
fix: Merge issues from previous commit
This commit is contained in:
@@ -129,6 +129,8 @@ namespace WPinternals
|
|||||||
|
|
||||||
LumiaBootManagerPhoneInfo Result = BootManagerInfo;
|
LumiaBootManagerPhoneInfo Result = BootManagerInfo;
|
||||||
|
|
||||||
|
if (Result.State == PhoneInfoState.Empty)
|
||||||
|
{
|
||||||
byte[] Request = new byte[4];
|
byte[] Request = new byte[4];
|
||||||
ByteOperations.WriteAsciiString(Request, 0, InfoQuerySignature);
|
ByteOperations.WriteAsciiString(Request, 0, InfoQuerySignature);
|
||||||
byte[] Response = ExecuteRawMethod(Request);
|
byte[] Response = ExecuteRawMethod(Request);
|
||||||
@@ -180,6 +182,9 @@ namespace WPinternals
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result.State = PhoneInfoState.Basic;
|
||||||
|
}
|
||||||
|
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -193,6 +193,8 @@ namespace WPinternals
|
|||||||
|
|
||||||
LumiaFlashAppPhoneInfo Result = FlashAppInfo;
|
LumiaFlashAppPhoneInfo Result = FlashAppInfo;
|
||||||
|
|
||||||
|
if (Result.State == PhoneInfoState.Empty)
|
||||||
|
{
|
||||||
byte[] Request = new byte[4];
|
byte[] Request = new byte[4];
|
||||||
ByteOperations.WriteAsciiString(Request, 0, InfoQuerySignature);
|
ByteOperations.WriteAsciiString(Request, 0, InfoQuerySignature);
|
||||||
byte[] Response = ExecuteRawMethod(Request);
|
byte[] Response = ExecuteRawMethod(Request);
|
||||||
@@ -267,6 +269,9 @@ namespace WPinternals
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result.State = PhoneInfoState.Basic;
|
||||||
|
}
|
||||||
|
|
||||||
Result.IsBootloaderSecure = !(FlashAppInfo.Authenticated || FlashAppInfo.RdcPresent || !FlashAppInfo.SecureFfuEnabled);
|
Result.IsBootloaderSecure = !(FlashAppInfo.Authenticated || FlashAppInfo.RdcPresent || !FlashAppInfo.SecureFfuEnabled);
|
||||||
|
|
||||||
return Result;
|
return Result;
|
||||||
|
|||||||
@@ -172,6 +172,8 @@ namespace WPinternals
|
|||||||
|
|
||||||
LumiaPhoneInfoAppPhoneInfo Result = PhoneInfoAppInfo;
|
LumiaPhoneInfoAppPhoneInfo Result = PhoneInfoAppInfo;
|
||||||
|
|
||||||
|
if (Result.State == PhoneInfoState.Empty)
|
||||||
|
{
|
||||||
byte[] Request = new byte[4];
|
byte[] Request = new byte[4];
|
||||||
ByteOperations.WriteAsciiString(Request, 0, InfoQuerySignature);
|
ByteOperations.WriteAsciiString(Request, 0, InfoQuerySignature);
|
||||||
byte[] Response = ExecuteRawMethod(Request);
|
byte[] Response = ExecuteRawMethod(Request);
|
||||||
@@ -211,6 +213,9 @@ namespace WPinternals
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result.State = PhoneInfoState.Basic;
|
||||||
|
}
|
||||||
|
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user