mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-20 22:21:13 +10:00
Fix MMOS support for x50 devices
This commit is contained in:
@@ -152,7 +152,8 @@ namespace WPinternals
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
if ((e.DevicePath.IndexOf("VID_0421&PID_0660&MI_04", StringComparison.OrdinalIgnoreCase) >= 0) ||
|
if ((e.DevicePath.IndexOf("VID_0421&PID_0660&MI_04", StringComparison.OrdinalIgnoreCase) >= 0) ||
|
||||||
(e.DevicePath.IndexOf("VID_0421&PID_0713&MI_04", StringComparison.OrdinalIgnoreCase) >= 0)) // for Spec B
|
(e.DevicePath.IndexOf("VID_0421&PID_0713&MI_04", StringComparison.OrdinalIgnoreCase) >= 0) || // for Spec B
|
||||||
|
(e.DevicePath.IndexOf("VID_045E&PID_0A01&MI_04", StringComparison.OrdinalIgnoreCase) >= 0)) // for Spec B (650)
|
||||||
{
|
{
|
||||||
CurrentInterface = PhoneInterfaces.Lumia_Label;
|
CurrentInterface = PhoneInterfaces.Lumia_Label;
|
||||||
CurrentModel = new NokiaPhoneModel(e.DevicePath);
|
CurrentModel = new NokiaPhoneModel(e.DevicePath);
|
||||||
|
|||||||
@@ -516,6 +516,10 @@ namespace WPinternals
|
|||||||
{
|
{
|
||||||
ModeSwitchProgressWrapper(ProgressText, null);
|
ModeSwitchProgressWrapper(ProgressText, null);
|
||||||
string TempFolder = Environment.GetEnvironmentVariable("TEMP") + @"\WPInternals";
|
string TempFolder = Environment.GetEnvironmentVariable("TEMP") + @"\WPInternals";
|
||||||
|
if (Info.Type == "RM-1152")
|
||||||
|
{
|
||||||
|
Info.Type = "RM-1151";
|
||||||
|
}
|
||||||
string ENOSWPackage = LumiaDownloadModel.SearchENOSW(Info.Type, Info.Firmware);
|
string ENOSWPackage = LumiaDownloadModel.SearchENOSW(Info.Type, Info.Firmware);
|
||||||
SetWorkingStatus("Downloading " + Info.Type + " Test Mode package...", MaxProgressValue: 100);
|
SetWorkingStatus("Downloading " + Info.Type + " Test Mode package...", MaxProgressValue: 100);
|
||||||
DownloadEntry downloadEntry = new DownloadEntry(ENOSWPackage, TempFolder, null, null, null);
|
DownloadEntry downloadEntry = new DownloadEntry(ENOSWPackage, TempFolder, null, null, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user