mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-14 03:16:40 +10:00
Fixes
This commit is contained in:
@@ -779,6 +779,14 @@ namespace WPinternals.Models.UEFIApps.Flash
|
|||||||
ExecuteRawMethod(Request);
|
ExecuteRawMethod(Request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Erases MODEM_FS1 and MODEM_FS2, and restores MODEM_FSG to MODEM_FS1
|
||||||
|
internal void DoFactoryReset()
|
||||||
|
{
|
||||||
|
byte[] Request = new byte[4];
|
||||||
|
ByteOperations.WriteAsciiString(Request, 0, FactoryResetSignature);
|
||||||
|
ExecuteRawMethod(Request);
|
||||||
|
}
|
||||||
|
|
||||||
internal void EndAsyncFlash()
|
internal void EndAsyncFlash()
|
||||||
{
|
{
|
||||||
byte[] Request = new byte[7];
|
byte[] Request = new byte[7];
|
||||||
|
|||||||
@@ -261,7 +261,6 @@ namespace WPinternals
|
|||||||
await StorePaths();
|
await StorePaths();
|
||||||
|
|
||||||
bool AlreadyUnlocked = false;
|
bool AlreadyUnlocked = false;
|
||||||
LumiaFlashAppModel FlashModel = (LumiaFlashAppModel)PhoneNotifier.CurrentModel;
|
|
||||||
|
|
||||||
MachineState OriginalState = State;
|
MachineState OriginalState = State;
|
||||||
State = MachineState.LumiaGetGPT; // Stop handling arrival notifications in this screen
|
State = MachineState.LumiaGetGPT; // Stop handling arrival notifications in this screen
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ namespace WPinternals
|
|||||||
|
|
||||||
if (ModernFlashApp)
|
if (ModernFlashApp)
|
||||||
{
|
{
|
||||||
FlashModel.SwitchToFlashAppContext();
|
FlashModel.SwitchToBootManagerContext();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user