spoofed device model options

This commit is contained in:
leminlimez
2024-10-11 13:45:05 -04:00
parent ab9a4152b1
commit d03cb9d27c
5 changed files with 390 additions and 80 deletions

View File

@@ -1566,7 +1566,7 @@ QToolButton:pressed {
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Nugget GUI - Version 3.1 (beta 1)</string>
<string>Nugget GUI - Version 3.1 (beta 2)</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -2574,44 +2574,152 @@ QComboBox QAbstractItemView::item:hover {
</widget>
</item>
<item>
<widget class="QLabel" name="languageLbl">
<property name="text">
<string>Language Code (not needed for English)</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="languageTxt">
<property name="placeholderText">
<string>Language Code (i.e. en)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="aiInfoLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>In order to download the AI model, you must spoof the device model. This will break Face ID until
<widget class="QWidget" name="aiEnablerContent" native="true">
<layout class="QVBoxLayout" name="verticalLayout_34">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>5</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>5</number>
</property>
<item>
<widget class="QLabel" name="languageLbl">
<property name="text">
<string>Language Code (not needed for English)</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="languageTxt">
<property name="placeholderText">
<string>Language Code (i.e. en)</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_21">
<property name="styleSheet">
<string notr="true">QFrame {
color: #414141;
}</string>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="aiInfoLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>In order to download the AI model, you must spoof the device model. This will break Face ID until
you revert.
Once the model has downloaded, disable &quot;Spoof Device Model&quot; and click the &quot;Apply Tweaks&quot;
Once the model has downloaded, set &quot;Spoofed Device Model&quot; to &quot;None&quot; and click the &quot;Apply Tweaks&quot;
button on the &quot;Apply&quot; page again to fix Face ID.</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="spoofModelChk">
<property name="text">
<string>Spoof Device Model</string>
</property>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>Spoofed Device Model</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="spoofedModelDrp">
<property name="maximumSize">
<size>
<width>325</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QComboBox {
background-color: #3b3b3b;
border: none;
color: #e8e8e8;
font-size: 14px;
padding-left: 8px;
border-radius: 8px;
}
QComboBox::drop-down {
image: url(:/icon/caret-down-fill.svg);
icon-size: 16px;
subcontrol-position: right center;
margin-right: 8px;
}
QComboBox QAbstractItemView {
background-color: #3b3b3b;
outline: none;
margin-top: 1px;
}
QComboBox QAbstractItemView::item {
background-color: #3b3b3b;
color: #e8e8e8;
padding-left: 8px;
}
QComboBox QAbstractItemView::item:hover {
background-color: #535353;
color: #ffffff;
}</string>
</property>
<property name="currentText">
<string>None</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>None</string>
</property>
</item>
<item>
<property name="text">
<string>iPhone16,2 (iPhone 15 Pro)</string>
</property>
</item>
<item>
<property name="text">
<string>iPhone17,3 (iPhone 16 Pro)</string>
</property>
</item>
<item>
<property name="text">
<string>iPhone17,4 (iPhone 16 Pro Max)</string>
</property>
</item>
<item>
<property name="text">
<string>iPad16,3 (iPad Pro M4)</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
<item>
@@ -3715,6 +3823,35 @@ button on the &quot;Apply&quot; page again to fix Face ID.</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_20">
<property name="styleSheet">
<string notr="true">QFrame {
color: #414141;
}</string>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="deviceSettingsBtns">
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="resetPairBtn">
<property name="text">
<string>Reset Device Pairing</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_5">
<property name="orientation">