[Symbian Installation File] Add machine UID decoding.

This commit is contained in:
2023-10-08 03:16:19 +01:00
parent bd9965724c
commit 15e1924640
2 changed files with 144 additions and 4 deletions

View File

@@ -87,4 +87,139 @@ public sealed partial class Symbian
0x2003A678 => Localization.SIS_Platform_UID_Nokia_Belle,
_ => string.Format(Localization.SIS_Platform_UID_0, uid)
};
static string DecodeMachineUid(uint uid) =>
uid switch
{
0x200005f8 => "UID_NOKIA_3250",
0x20024104 => "UID_NOKIA_5228",
0x20023763 => "UID_NOKIA_5230",
0x20023764 => "UID_NOKIA_5230a",
0x2002376b => "UID_NOKIA_5230_NURON",
0x20024105 => "UID_NOKIA_5235",
0x2002bf93 => "UID_NOKIA_5250",
0x2000da5a => "UID_NOKIA_5320",
0x20000602 => "UID_NOKIA_5500",
0x2001de9d => "UID_NOKIA_5530",
0x2001de9e => "UID_NOKIA_5530_chinese",
0x2000da61 => "UID_NOKIA_5630",
0x20002d7c => "UID_NOKIA_5700",
0x20014dd3 => "UID_NOKIA_5730",
0x2000da56 => "UID_NOKIA_5800",
0x20002d7b => "UID_NOKIA_6110",
0x20002d7e => "UID_NOKIA_6120",
0x2000da55 => "UID_NOKIA_6124",
0x2000da54 => "UID_NOKIA_6210",
0x2000da52 => "UID_NOKIA_6220",
0x2000da53 => "UID_NOKIA_6220_cn",
0x20000606 => "UID_NOKIA_6290",
0x2000da57 => "UID_NOKIA_6650",
0x2001de9b => "UID_NOKIA_6700",
0x20014dd1 => "UID_NOKIA_6710",
0x20014dcd => "UID_NOKIA_6720",
0x2001de9a => "UID_NOKIA_6730",
0x200227e2 => "UID_NOKIA_6760",
0x200227e6 => "UID_NOKIA_6788",
0x2001de98 => "UID_NOKIA_6790",
0x20024107 => "UID_NOKIA_C5_00",
0x20029a75 => "UID_NOKIA_C5_01",
0x2002bf91 => "UID_NOKIA_C6_00",
0x2002376a => "UID_NOKIA_C6_01",
0x2002bf92 => "UID_NOKIA_C7_00",
0x20002495 => "UID_NOKIA_E50",
0x20002498 => "UID_NOKIA_E51",
0x20014dcc => "UID_NOKIA_E52",
0x20014dcf => "UID_NOKIA_E55",
0x20001856 => "UID_NOKIA_E60",
0x20001858 => "UID_NOKIA_E61",
0x20002d7f => "UID_NOKIA_E61i",
0x20001859 => "UID_NOKIA_E62",
0x200025c3 => "UID_NOKIA_E63",
0x20000604 => "UID_NOKIA_E65",
0x2000249c => "UID_NOKIA_E66",
0x2002bf96 => "UID_NOKIA_E7_00",
0x20001857 => "UID_NOKIA_E70",
0x2000249b => "UID_NOKIA_E71",
0x20014dd8 => "UID_NOKIA_E71x",
0x20014dd0 => "UID_NOKIA_E72",
0x20029a6d => "UID_NOKIA_E73",
0x2000249d => "UID_NOKIA_E75",
0x20002496 => "UID_NOKIA_E90",
0x20024100 => "UID_NOKIA_E5_00",
0x10200f9a => "UID_NOKIA_N70",
0x200005ff => "UID_NOKIA_N71",
0x200005fb => "UID_NOKIA_N73",
0x200005fe => "UID_NOKIA_N75",
0x2000060a => "UID_NOKIA_N76",
0x20000601 => "UID_NOKIA_N77",
0x20002d81 => "UID_NOKIA_N78",
0x2000da64 => "UID_NOKIA_N79",
0x20029a73 => "UID_NOKIA_N8_00",
0x200005f9 => "UID_NOKIA_N80",
0x20002d83 => "UID_NOKIA_N81",
0x20002d85 => "UID_NOKIA_N82",
0x20002d86 => "UID_NOKIA_N85",
0x20014dd2 => "UID_NOKIA_N86",
0x200005fc => "UID_NOKIA_N91",
0x200005fa => "UID_NOKIA_N92",
0x20000600 => "UID_NOKIA_N93",
0x20000605 => "UID_NOKIA_N93i",
0x2000060b => "UID_NOKIA_N95",
0x20002d84 => "UID_NOKIA_N95_8GB",
0x20002d82 => "UID_NOKIA_N96",
0x20014ddd => "UID_NOKIA_N97",
0x20014dde => "UID_NOKIA_N97a",
0x20023766 => "UID_NOKIA_N97_mini",
0x20029a76 => "UID_NOKIA_X5_00",
0x20024101 => "UID_NOKIA_X5_01",
0x200227dd => "UID_NOKIA_X6",
0x20008610 => "UID_SAMSUNG_I400",
0x2000a677 => "UID_SAMSUNG_I450",
0x20003abd => "UID_SAMSUNG_I520",
0x2000a678 => "UID_SAMSUNG_I550",
0x2000c51c => "UID_SAMSUNG_I560",
0x2000a679 => "UID_SAMSUNG_I590",
0x2000c51f => "UID_SAMSUNG_I7110",
0x2000c51e => "UID_SAMSUNG_I8510",
0x2000c520 => "UID_SAMSUNG_I8910",
0x2001f0a1 => "UID_SONYERICSSON_SATIO",
0x10274bf9 => "UID_SONYERICSSON_M600",
0x10274bfa => "UID_SONYERICSSON_W950",
0x20002e6a => "UID_SONYERICSSON_W960",
0x1020e285 => "UID_SONYERICSSON_P990",
0x20002e69 => "UID_SONYERICSSON_P1",
0x2000cc70 => "UID_SONYERICSSON_G700",
0x2000cc6c => "UID_SONYERICSSON_G900",
0x20024eec => "UID_SONYERICSSON_VIVAZ_U5i",
0x20024eed => "UID_SONYERICSSON_VIVAZ_U8",
0x1027400d => "UID_MOTOROLA_Z8",
0x101ff809 => "UID_LG_KT610",
0x10200f97 => "UID_NOKIA_3230",
0x101f466a => "UID_NOKIA_3650",
0x101f8c19 => "UID_NOKIA_NGAGE",
0x101fb2b1 => "UID_NOKIA_NGAGE_QD",
0x101fb3f4 => "UID_NOKIA_6260",
0x101fb3dd => "UID_NOKIA_6600",
0x101f3ee3 => "UID_NOKIA_6620",
0x101fbb55 => "UID_NOKIA_6630",
0x101fb3f3 => "UID_NOKIA_6670",
0x10200f99 => "UID_NOKIA_6680",
0x10200f9c => "UID_NOKIA_6681",
0x10200f9b => "UID_NOKIA_6682",
0x101f4fc3 => "UID_NOKIA_7650",
0x10005e33 => "UID_NOKIA_92XX",
0x101f8ddb => "UID_NOKIA_9x00",
0x1020e048 => "UID_NOKIA_9300i",
0x10200f98 => "UID_NOKIA_N90",
0x101fbe09 => "UID_NOKIA_7710",
0x101fa031 => "UID_SENDO_X",
0x101f9071 => "UID_SIEMENS_SX1",
0x101fe7b7 => "SAMSUNG_SGH_D730",
0x101f408b => "UID_SONYERICSSON_P800",
0x101fb2ae => "UID_SONYERICSSON_P900",
0x10200ac6 => "UID_SONYERICSSON_P910",
0x101f6b26 => "UID_MOTOROLA_A9XX",
0x101f6b27 => "UID_MOTOROLA_A1000",
_ => $"{uid:X8}"
};
}

View File

@@ -1,7 +1,4 @@
<wpf:ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="clr-namespace:System;assembly=mscorlib"
xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xml:space="preserve">
<wpf:ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xml:space="preserve">
<s:String x:Key="/Default/CodeInspection/CppInitialization/DefaultPointerInitializer/@EntryValue">Null</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=858398D1_002D7321_002D4763_002D8BAB_002D56BBFEC74E29_002Fd_003Acuetools_002Enet/@EntryIndexedValue">ExplicitlyExcluded</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ArgumentsStyleAnonymousFunction/@EntryIndexedValue">WARNING</s:String>
@@ -691,6 +688,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=ANDOS/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Anex/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=aofs/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=appcap/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=appleudf/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Apridisk/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Arachelian/@EntryIndexedValue">True</s:Boolean>
@@ -854,6 +852,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=Descramble/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=descrambled/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=desequentialize/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=devcap/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=dflybsd/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=dicf/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=dicremote/@EntryIndexedValue">True</s:Boolean>
@@ -1167,6 +1166,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=netatalk/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=newfs/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=nfree/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=NGAGE/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ngcd/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ngroups/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=nhdhdr/@EntryIndexedValue">True</s:Boolean>
@@ -1198,6 +1198,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=ntracks/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=NTSC/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Nuon/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=NURON/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=nvlist/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Nvme/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=NWDOS/@EntryIndexedValue">True</s:Boolean>
@@ -1328,6 +1329,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=SASI/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=sasidisk/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SATA/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SATIO/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=sblkno/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=sbsize/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SCMS/@EntryIndexedValue">True</s:Boolean>
@@ -1363,6 +1365,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=SEGAOS/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SEGASATURN/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=seglist/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SENDO/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=sequentialize/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SETMARK/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=setmarks/@EntryIndexedValue">True</s:Boolean>
@@ -1375,6 +1378,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=smin/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SOFS/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=sonycdi/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SONYERICSSON/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=spamsum/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Spareblock/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=sparespercyl/@EntryIndexedValue">True</s:Boolean>
@@ -1511,6 +1515,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=videogame/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Vinum/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=virtualpc/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=VIVAZ/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=VMDK/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=VMFS/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=vmkcore/@EntryIndexedValue">True</s:Boolean>