mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-14 03:16:40 +10:00
5dae1da560
- WPinternals is now a .NET Core 3.0 application - Implemented new unlock process for Spec A devices - Updated logic for unlocking Spec B devices - Implemented MMOS support for Spec B devices - Implemented battery status in Flash Mode - Implemented Fuse configuration information in Flash Mode - Implemented Reboot from mass storage for Spec A and some Spec B devices - Implemented shutdown from flash mode (preliminary) - Fixed label mode support for Spec B
166 lines
12 KiB
XML
166 lines
12 KiB
XML
<!--
|
|
Copyright (c) 2018, Rene Lergner - wpinternals.net - @Heathcliff74xda
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
copy of this software and associated documentation files (the "Software"),
|
|
to deal in the Software without restriction, including without limitation
|
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
and/or sell copies of the Software, and to permit persons to whom the
|
|
Software is furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
DEALINGS IN THE SOFTWARE.
|
|
-->
|
|
|
|
<UserControl x:Class="WPinternals.NokiaNormalView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:WPinternals"
|
|
mc:Ignorable="d"
|
|
d:DesignWidth="700">
|
|
<UserControl.Resources>
|
|
<local:HexConverter x:Key="MACConverter" Separator=":" />
|
|
<local:HexConverter x:Key="HexConverter" />
|
|
<local:BooleanConverter x:Key="VisibilityConverter" OnTrue="Visible" OnFalse="Collapsed" OnNull="Collapsed"/>
|
|
<local:BooleanConverter x:Key="InverseVisibilityConverter" OnTrue="Collapsed" OnFalse="Visible" OnNull="Collapsed" />
|
|
</UserControl.Resources>
|
|
<StackPanel VerticalAlignment="Center">
|
|
<Border BorderThickness="1" BorderBrush="#FFD4D4D4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Padding="25" Margin="0,0,0,20">
|
|
<local:FlowDocumentScrollViewerNoMouseWheel Grid.Column="1" Margin="20,0" VerticalScrollBarVisibility="Auto" >
|
|
<FlowDocument FontFamily="Segoe UI" FontSize="12" Loaded="Document_Loaded" PagePadding="1">
|
|
<local:Paragraph>
|
|
<Run Text="General info" FontSize="18" FontWeight="Bold" Foreground="#FF3753A6" />
|
|
<LineBreak />
|
|
<LineBreak />
|
|
<Grid IsHitTestVisible="False">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="200" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Grid.Row="0" Grid.Column="0" Text="Brand / model" />
|
|
<TextBlock Grid.Row="0" Grid.Column="1" FontWeight="Bold" Foreground="#FF3753A6" TextWrapping="Wrap">
|
|
<TextBlock.Text>
|
|
<MultiBinding StringFormat="Nokia Lumia {0}">
|
|
<Binding Path="ManufacturerModelName" />
|
|
</MultiBinding>
|
|
</TextBlock.Text>
|
|
</TextBlock>
|
|
<TextBlock Grid.Row="1" Grid.Column="0" Text="Operating mode" />
|
|
<TextBlock Grid.Row="1" Grid.Column="1" Text="Normal (Windows Phone OS)" FontWeight="Bold" Foreground="#FF3753A6" TextWrapping="Wrap" />
|
|
<TextBlock Grid.Row="2" Grid.Column="0" Text="Product code" />
|
|
<TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding Path=ProductCode}" FontWeight="Bold" Foreground="#FF3753A6" TextWrapping="Wrap"/>
|
|
<TextBlock Grid.Row="3" Grid.Column="0" Text="Operator" />
|
|
<TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding Path=Operator}" TextWrapping="Wrap" />
|
|
<TextBlock Grid.Row="4" Grid.Column="0" Text="Firmware version" />
|
|
<TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding Path=Firmware}" TextWrapping="Wrap" />
|
|
<TextBlock Grid.Row="5" Grid.Column="0" Text="Hardware version" />
|
|
<TextBlock Grid.Row="5" Grid.Column="1" Text="{Binding Path=HWID}" TextWrapping="Wrap" />
|
|
</Grid>
|
|
</local:Paragraph>
|
|
</FlowDocument>
|
|
</local:FlowDocumentScrollViewerNoMouseWheel>
|
|
</Border>
|
|
<Border BorderThickness="1" BorderBrush="#FFD4D4D4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Padding="25" Margin="0,0,0,20">
|
|
<Expander Header="Phone identity" HorizontalContentAlignment="Stretch" Template="{DynamicResource TopicExpanderTemplate}" Margin="20,0">
|
|
<local:FlowDocumentScrollViewerNoMouseWheel Grid.Column="1" VerticalScrollBarVisibility="Auto" >
|
|
<FlowDocument x:Name="Document" FontFamily="Segoe UI" FontSize="12" Loaded="Document_Loaded" PagePadding="1">
|
|
<local:Paragraph>
|
|
<LineBreak />
|
|
<Grid IsHitTestVisible="False">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="200" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Grid.Row="0" Grid.Column="0" Text="IMEI" />
|
|
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding Path=IMEI}" TextWrapping="Wrap" />
|
|
<TextBlock Grid.Row="1" Grid.Column="0" Text="Public Phone ID" />
|
|
<TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding Path=PublicID, Converter={StaticResource HexConverter}, Mode=OneWay}" TextWrapping="Wrap" />
|
|
<TextBlock Grid.Row="2" Grid.Column="0" Text="WLAN MAC 1" />
|
|
<TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding Path=WlanMac1, Converter={StaticResource MACConverter}, Mode=OneWay}" TextWrapping="Wrap"/>
|
|
<TextBlock Grid.Row="3" Grid.Column="0" Text="WLAN MAC 2" />
|
|
<TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding Path=WlanMac2, Converter={StaticResource MACConverter}, Mode=OneWay}" TextWrapping="Wrap"/>
|
|
<TextBlock Grid.Row="4" Grid.Column="0" Text="WLAN MAC 3" />
|
|
<TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding Path=WlanMac3, Converter={StaticResource MACConverter}, Mode=OneWay}" TextWrapping="Wrap"/>
|
|
<TextBlock Grid.Row="5" Grid.Column="0" Text="WLAN MAC 4" />
|
|
<TextBlock Grid.Row="5" Grid.Column="1" Text="{Binding Path=WlanMac4, Converter={StaticResource MACConverter}, Mode=OneWay}" TextWrapping="Wrap"/>
|
|
<TextBlock Grid.Row="6" Grid.Column="0" Text="Bluetooth MAC" />
|
|
<TextBlock Grid.Row="6" Grid.Column="1" Text="{Binding Path=BluetoothMac, Converter={StaticResource MACConverter}, Mode=OneWay}" TextWrapping="Wrap" />
|
|
</Grid>
|
|
</local:Paragraph>
|
|
</FlowDocument>
|
|
</local:FlowDocumentScrollViewerNoMouseWheel>
|
|
</Expander>
|
|
</Border>
|
|
<Border BorderThickness="1" BorderBrush="#FFD4D4D4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Padding="25" >
|
|
<local:FlowDocumentScrollViewerNoMouseWheel Grid.Column="1" Margin="20,0" VerticalScrollBarVisibility="Auto" >
|
|
<FlowDocument FontFamily="Segoe UI" FontSize="12" Loaded="Document_Loaded" PagePadding="1">
|
|
<local:Paragraph TextAlignment="Left">
|
|
<Run Text="Security" FontSize="18" FontWeight="Bold" Foreground="#FF3753A6" />
|
|
<LineBreak />
|
|
<LineBreak />
|
|
<Grid IsHitTestVisible="False">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="200" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Grid.Row="0" Grid.Column="0" Text="Boot policy" />
|
|
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding Path=BootPolicy}" FontWeight="Bold" Foreground="#FF3753A6" TextWrapping="Wrap" />
|
|
<TextBlock Grid.Row="1" Grid.Column="0" Text="DB" />
|
|
<TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding Path=Db}" FontWeight="Bold" Foreground="#FF3753A6" TextWrapping="Wrap" />
|
|
<TextBlock Grid.Row="2" Grid.Column="0" Text="DBX" />
|
|
<TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding Path=Dbx}" FontWeight="Bold" Foreground="#FF3753A6" TextWrapping="Wrap" />
|
|
<TextBlock Grid.Row="3" Grid.Column="0" Text="KEK" />
|
|
<TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding Path=Kek}" FontWeight="Bold" Foreground="#FF3753A6" TextWrapping="Wrap" />
|
|
<TextBlock Grid.Row="4" Grid.Column="0" Text="PK" />
|
|
<TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding Path=Pk}" FontWeight="Bold" Foreground="#FF3753A6" TextWrapping="Wrap" />
|
|
<TextBlock Grid.Row="5" Grid.Column="0" Text="Sim lock" />
|
|
<TextBlock Grid.Row="5" Grid.Column="1" Text="Disabled" FontWeight="Bold" Foreground="#FF40C133" TextWrapping="Wrap" Visibility="{Binding Path=IsSimLocked, Converter={StaticResource InverseVisibilityConverter}}" />
|
|
<TextBlock Grid.Row="5" Grid.Column="1" Text="Enabled" FontWeight="Bold" Foreground="#FFAC3631" TextWrapping="Wrap" Visibility="{Binding Path=IsSimLocked, Converter={StaticResource VisibilityConverter}}"/>
|
|
</Grid>
|
|
<LineBreak />
|
|
<LineBreak />
|
|
<Run Text="For more detailed and accurate status info, switch to " />
|
|
<Hyperlink NavigateUri="Flash">Flash</Hyperlink>
|
|
<Run Text=" mode." />
|
|
</local:Paragraph>
|
|
</FlowDocument>
|
|
</local:FlowDocumentScrollViewerNoMouseWheel>
|
|
</Border>
|
|
</StackPanel>
|
|
</UserControl>
|