mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
spoofed device model options
This commit is contained in:
@@ -76,7 +76,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
|
||||
self.ui.enableAIChk.toggled.connect(self.on_enableAIChk_toggled)
|
||||
self.ui.languageTxt.textEdited.connect(self.on_languageTxt_textEdited)
|
||||
self.ui.spoofModelChk.toggled.connect(self.on_spoofModelChk_toggled)
|
||||
self.ui.spoofedModelDrp.activated.connect(self.on_spoofedModelDrp_activated)
|
||||
|
||||
## FEATURE FLAGS PAGE
|
||||
self.ui.clockAnimChk.toggled.connect(self.on_clockAnimChk_toggled)
|
||||
@@ -225,16 +225,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
self.ui.rdarFixChk.setText(f"{rdar_title} (modifies resolution)")
|
||||
if Version(self.device_manager.data_singleton.current_device.version) >= Version("18.1"):
|
||||
self.ui.enableAIChk.show()
|
||||
self.ui.languageLbl.hide()
|
||||
self.ui.languageTxt.hide()
|
||||
self.ui.aiInfoLabel.hide()
|
||||
self.ui.spoofModelChk.hide()
|
||||
self.ui.aiEnablerContent.hide()
|
||||
else:
|
||||
self.ui.enableAIChk.hide()
|
||||
self.ui.languageLbl.hide()
|
||||
self.ui.languageTxt.hide()
|
||||
self.ui.aiInfoLabel.hide()
|
||||
self.ui.spoofModelChk.hide()
|
||||
self.ui.aiEnablerContent.hide()
|
||||
if Version(self.device_manager.data_singleton.current_device.version) >= Version("18.0"):
|
||||
self.ui.aodChk.show()
|
||||
self.ui.iphone16SettingsChk.show()
|
||||
@@ -447,19 +441,16 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
tweaks["AIGestalt"].set_enabled(checked)
|
||||
# change the visibility of stuff
|
||||
if checked:
|
||||
self.ui.languageLbl.show()
|
||||
self.ui.languageTxt.show()
|
||||
self.ui.aiInfoLabel.show()
|
||||
self.ui.spoofModelChk.show()
|
||||
self.ui.aiEnablerContent.show()
|
||||
else:
|
||||
self.ui.languageLbl.hide()
|
||||
self.ui.languageTxt.hide()
|
||||
self.ui.aiInfoLabel.hide()
|
||||
self.ui.spoofModelChk.hide()
|
||||
self.ui.aiEnablerContent.hide()
|
||||
def on_languageTxt_textEdited(self, text: str):
|
||||
tweaks["AIEligibility"].set_language_code(text)
|
||||
def on_spoofModelChk_toggled(self, checked: bool):
|
||||
tweaks["SpoofModel"].set_enabled(checked)
|
||||
def on_spoofedModelDrp_activated(self, index: int):
|
||||
if index == 0:
|
||||
tweaks["SpoofModel"].set_enabled(False)
|
||||
else:
|
||||
tweaks["SpoofModel"].set_selected_option(index - 1)
|
||||
|
||||
|
||||
## SPRINGBOARD OPTIONS PAGE
|
||||
|
||||
209
qt/mainwindow.ui
209
qt/mainwindow.ui
@@ -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 "Spoof Device Model" and click the "Apply Tweaks"
|
||||
Once the model has downloaded, set "Spoofed Device Model" to "None" and click the "Apply Tweaks"
|
||||
button on the "Apply" 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 "Apply" 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">
|
||||
|
||||
@@ -1408,28 +1408,89 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout_16.addWidget(self.enableAIChk)
|
||||
|
||||
self.languageLbl = QLabel(self.euEnablerPageContent)
|
||||
self.aiEnablerContent = QWidget(self.euEnablerPageContent)
|
||||
self.aiEnablerContent.setObjectName(u"aiEnablerContent")
|
||||
self.verticalLayout_34 = QVBoxLayout(self.aiEnablerContent)
|
||||
self.verticalLayout_34.setObjectName(u"verticalLayout_34")
|
||||
self.verticalLayout_34.setContentsMargins(0, 5, 0, 5)
|
||||
self.languageLbl = QLabel(self.aiEnablerContent)
|
||||
self.languageLbl.setObjectName(u"languageLbl")
|
||||
|
||||
self.verticalLayout_16.addWidget(self.languageLbl)
|
||||
self.verticalLayout_34.addWidget(self.languageLbl)
|
||||
|
||||
self.languageTxt = QLineEdit(self.euEnablerPageContent)
|
||||
self.languageTxt = QLineEdit(self.aiEnablerContent)
|
||||
self.languageTxt.setObjectName(u"languageTxt")
|
||||
|
||||
self.verticalLayout_16.addWidget(self.languageTxt)
|
||||
self.verticalLayout_34.addWidget(self.languageTxt)
|
||||
|
||||
self.aiInfoLabel = QLabel(self.euEnablerPageContent)
|
||||
self.line_21 = QFrame(self.aiEnablerContent)
|
||||
self.line_21.setObjectName(u"line_21")
|
||||
self.line_21.setStyleSheet(u"QFrame {\n"
|
||||
" color: #414141;\n"
|
||||
"}")
|
||||
self.line_21.setFrameShadow(QFrame.Plain)
|
||||
self.line_21.setFrameShape(QFrame.HLine)
|
||||
|
||||
self.verticalLayout_34.addWidget(self.line_21)
|
||||
|
||||
self.aiInfoLabel = QLabel(self.aiEnablerContent)
|
||||
self.aiInfoLabel.setObjectName(u"aiInfoLabel")
|
||||
sizePolicy1.setHeightForWidth(self.aiInfoLabel.sizePolicy().hasHeightForWidth())
|
||||
self.aiInfoLabel.setSizePolicy(sizePolicy1)
|
||||
self.aiInfoLabel.setTextFormat(Qt.AutoText)
|
||||
|
||||
self.verticalLayout_16.addWidget(self.aiInfoLabel)
|
||||
self.verticalLayout_34.addWidget(self.aiInfoLabel)
|
||||
|
||||
self.spoofModelChk = QCheckBox(self.euEnablerPageContent)
|
||||
self.spoofModelChk.setObjectName(u"spoofModelChk")
|
||||
self.label_8 = QLabel(self.aiEnablerContent)
|
||||
self.label_8.setObjectName(u"label_8")
|
||||
|
||||
self.verticalLayout_16.addWidget(self.spoofModelChk)
|
||||
self.verticalLayout_34.addWidget(self.label_8)
|
||||
|
||||
self.spoofedModelDrp = QComboBox(self.aiEnablerContent)
|
||||
self.spoofedModelDrp.addItem("")
|
||||
self.spoofedModelDrp.addItem("")
|
||||
self.spoofedModelDrp.addItem("")
|
||||
self.spoofedModelDrp.addItem("")
|
||||
self.spoofedModelDrp.addItem("")
|
||||
self.spoofedModelDrp.setObjectName(u"spoofedModelDrp")
|
||||
self.spoofedModelDrp.setMaximumSize(QSize(325, 16777215))
|
||||
self.spoofedModelDrp.setStyleSheet(u"QComboBox {\n"
|
||||
" background-color: #3b3b3b;\n"
|
||||
" border: none;\n"
|
||||
" color: #e8e8e8;\n"
|
||||
" font-size: 14px;\n"
|
||||
" padding-left: 8px;\n"
|
||||
" border-radius: 8px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox::drop-down {\n"
|
||||
" image: url(:/icon/caret-down-fill.svg);\n"
|
||||
" icon-size: 16px;\n"
|
||||
" subcontrol-position: right center;\n"
|
||||
" margin-right: 8px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView {\n"
|
||||
" background-color: #3b3b3b;\n"
|
||||
" outline: none;\n"
|
||||
" margin-top: 1px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView::item {\n"
|
||||
" background-color: #3b3b3b;\n"
|
||||
" color: #e8e8e8;\n"
|
||||
" padding-left: 8px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView::item:hover {\n"
|
||||
" background-color: #535353;\n"
|
||||
" color: #ffffff;\n"
|
||||
"}")
|
||||
|
||||
self.verticalLayout_34.addWidget(self.spoofedModelDrp)
|
||||
|
||||
|
||||
self.verticalLayout_16.addWidget(self.aiEnablerContent)
|
||||
|
||||
self.verticalSpacer_7 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
@@ -1994,6 +2055,27 @@ class Ui_Nugget(object):
|
||||
|
||||
self._21.addWidget(self.skipSetupChk)
|
||||
|
||||
self.line_20 = QFrame(self.settingsPageContent)
|
||||
self.line_20.setObjectName(u"line_20")
|
||||
self.line_20.setStyleSheet(u"QFrame {\n"
|
||||
" color: #414141;\n"
|
||||
"}")
|
||||
self.line_20.setFrameShadow(QFrame.Plain)
|
||||
self.line_20.setFrameShape(QFrame.HLine)
|
||||
|
||||
self._21.addWidget(self.line_20)
|
||||
|
||||
self.deviceSettingsBtns = QHBoxLayout()
|
||||
self.deviceSettingsBtns.setObjectName(u"deviceSettingsBtns")
|
||||
self.deviceSettingsBtns.setContentsMargins(-1, -1, -1, 0)
|
||||
self.resetPairBtn = QToolButton(self.settingsPageContent)
|
||||
self.resetPairBtn.setObjectName(u"resetPairBtn")
|
||||
|
||||
self.deviceSettingsBtns.addWidget(self.resetPairBtn)
|
||||
|
||||
|
||||
self._21.addLayout(self.deviceSettingsBtns)
|
||||
|
||||
self.verticalSpacer_51 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self._21.addItem(self.verticalSpacer_51)
|
||||
@@ -2513,6 +2595,7 @@ class Ui_Nugget(object):
|
||||
self.devicePicker.setCurrentIndex(-1)
|
||||
self.pages.setCurrentIndex(0)
|
||||
self.dynamicIslandDrp.setCurrentIndex(0)
|
||||
self.spoofedModelDrp.setCurrentIndex(0)
|
||||
|
||||
|
||||
QMetaObject.connectSlotsByName(Nugget)
|
||||
@@ -2565,7 +2648,7 @@ class Ui_Nugget(object):
|
||||
self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None))
|
||||
self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None))
|
||||
self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None))
|
||||
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.1 (beta 1)", None))
|
||||
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.1 (beta 2)", None))
|
||||
self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None))
|
||||
self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None))
|
||||
self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None))
|
||||
@@ -2616,9 +2699,16 @@ class Ui_Nugget(object):
|
||||
self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI model, you must spoof the device model. This will break Face ID until\n"
|
||||
"you revert.\n"
|
||||
"\n"
|
||||
"Once the model has downloaded, disable \"Spoof Device Model\" and click the \"Apply Tweaks\"\n"
|
||||
"Once the model has downloaded, set \"Spoofed Device Model\" to \"None\" and click the \"Apply Tweaks\"\n"
|
||||
"button on the \"Apply\" page again to fix Face ID.", None))
|
||||
self.spoofModelChk.setText(QCoreApplication.translate("Nugget", u"Spoof Device Model", None))
|
||||
self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None))
|
||||
self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None))
|
||||
self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone16,2 (iPhone 15 Pro)", None))
|
||||
self.spoofedModelDrp.setItemText(2, QCoreApplication.translate("Nugget", u"iPhone17,3 (iPhone 16 Pro)", None))
|
||||
self.spoofedModelDrp.setItemText(3, QCoreApplication.translate("Nugget", u"iPhone17,4 (iPhone 16 Pro Max)", None))
|
||||
self.spoofedModelDrp.setItemText(4, QCoreApplication.translate("Nugget", u"iPad16,3 (iPad Pro M4)", None))
|
||||
|
||||
self.spoofedModelDrp.setCurrentText(QCoreApplication.translate("Nugget", u"None", None))
|
||||
self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Springboard Options", None))
|
||||
self.label_13.setText(QCoreApplication.translate("Nugget", u"Lock Screen Footnote Text", None))
|
||||
self.footnoteTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Footnote Text", None))
|
||||
@@ -2655,6 +2745,7 @@ class Ui_Nugget(object):
|
||||
self.springboardOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None))
|
||||
self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None))
|
||||
self.skipSetupChk.setText(QCoreApplication.translate("Nugget", u"Skip Setup (non-exploit files only)", None))
|
||||
self.resetPairBtn.setText(QCoreApplication.translate("Nugget", u"Reset Device Pairing", None))
|
||||
self.statusBarLbl_2.setText(QCoreApplication.translate("Nugget", u"Location Simulation", None))
|
||||
self.label_4.setText("")
|
||||
self.loadLocSimBtn.setText(QCoreApplication.translate("Nugget", u"Start Location Simulation", None))
|
||||
|
||||
@@ -1408,28 +1408,89 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout_16.addWidget(self.enableAIChk)
|
||||
|
||||
self.languageLbl = QLabel(self.euEnablerPageContent)
|
||||
self.aiEnablerContent = QWidget(self.euEnablerPageContent)
|
||||
self.aiEnablerContent.setObjectName(u"aiEnablerContent")
|
||||
self.verticalLayout_34 = QVBoxLayout(self.aiEnablerContent)
|
||||
self.verticalLayout_34.setObjectName(u"verticalLayout_34")
|
||||
self.verticalLayout_34.setContentsMargins(0, 5, 0, 5)
|
||||
self.languageLbl = QLabel(self.aiEnablerContent)
|
||||
self.languageLbl.setObjectName(u"languageLbl")
|
||||
|
||||
self.verticalLayout_16.addWidget(self.languageLbl)
|
||||
self.verticalLayout_34.addWidget(self.languageLbl)
|
||||
|
||||
self.languageTxt = QLineEdit(self.euEnablerPageContent)
|
||||
self.languageTxt = QLineEdit(self.aiEnablerContent)
|
||||
self.languageTxt.setObjectName(u"languageTxt")
|
||||
|
||||
self.verticalLayout_16.addWidget(self.languageTxt)
|
||||
self.verticalLayout_34.addWidget(self.languageTxt)
|
||||
|
||||
self.aiInfoLabel = QLabel(self.euEnablerPageContent)
|
||||
self.line_21 = QFrame(self.aiEnablerContent)
|
||||
self.line_21.setObjectName(u"line_21")
|
||||
self.line_21.setStyleSheet(u"QFrame {\n"
|
||||
" color: #414141;\n"
|
||||
"}")
|
||||
self.line_21.setFrameShadow(QFrame.Plain)
|
||||
self.line_21.setFrameShape(QFrame.Shape.HLine)
|
||||
|
||||
self.verticalLayout_34.addWidget(self.line_21)
|
||||
|
||||
self.aiInfoLabel = QLabel(self.aiEnablerContent)
|
||||
self.aiInfoLabel.setObjectName(u"aiInfoLabel")
|
||||
sizePolicy1.setHeightForWidth(self.aiInfoLabel.sizePolicy().hasHeightForWidth())
|
||||
self.aiInfoLabel.setSizePolicy(sizePolicy1)
|
||||
self.aiInfoLabel.setTextFormat(Qt.AutoText)
|
||||
|
||||
self.verticalLayout_16.addWidget(self.aiInfoLabel)
|
||||
self.verticalLayout_34.addWidget(self.aiInfoLabel)
|
||||
|
||||
self.spoofModelChk = QCheckBox(self.euEnablerPageContent)
|
||||
self.spoofModelChk.setObjectName(u"spoofModelChk")
|
||||
self.label_8 = QLabel(self.aiEnablerContent)
|
||||
self.label_8.setObjectName(u"label_8")
|
||||
|
||||
self.verticalLayout_16.addWidget(self.spoofModelChk)
|
||||
self.verticalLayout_34.addWidget(self.label_8)
|
||||
|
||||
self.spoofedModelDrp = QComboBox(self.aiEnablerContent)
|
||||
self.spoofedModelDrp.addItem("")
|
||||
self.spoofedModelDrp.addItem("")
|
||||
self.spoofedModelDrp.addItem("")
|
||||
self.spoofedModelDrp.addItem("")
|
||||
self.spoofedModelDrp.addItem("")
|
||||
self.spoofedModelDrp.setObjectName(u"spoofedModelDrp")
|
||||
self.spoofedModelDrp.setMaximumSize(QSize(325, 16777215))
|
||||
self.spoofedModelDrp.setStyleSheet(u"QComboBox {\n"
|
||||
" background-color: #3b3b3b;\n"
|
||||
" border: none;\n"
|
||||
" color: #e8e8e8;\n"
|
||||
" font-size: 14px;\n"
|
||||
" padding-left: 8px;\n"
|
||||
" border-radius: 8px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox::drop-down {\n"
|
||||
" image: url(:/icon/caret-down-fill.svg);\n"
|
||||
" icon-size: 16px;\n"
|
||||
" subcontrol-position: right center;\n"
|
||||
" margin-right: 8px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView {\n"
|
||||
" background-color: #3b3b3b;\n"
|
||||
" outline: none;\n"
|
||||
" margin-top: 1px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView::item {\n"
|
||||
" background-color: #3b3b3b;\n"
|
||||
" color: #e8e8e8;\n"
|
||||
" padding-left: 8px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView::item:hover {\n"
|
||||
" background-color: #535353;\n"
|
||||
" color: #ffffff;\n"
|
||||
"}")
|
||||
|
||||
self.verticalLayout_34.addWidget(self.spoofedModelDrp)
|
||||
|
||||
|
||||
self.verticalLayout_16.addWidget(self.aiEnablerContent)
|
||||
|
||||
self.verticalSpacer_7 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
@@ -1994,6 +2055,27 @@ class Ui_Nugget(object):
|
||||
|
||||
self._21.addWidget(self.skipSetupChk)
|
||||
|
||||
self.line_20 = QFrame(self.settingsPageContent)
|
||||
self.line_20.setObjectName(u"line_20")
|
||||
self.line_20.setStyleSheet(u"QFrame {\n"
|
||||
" color: #414141;\n"
|
||||
"}")
|
||||
self.line_20.setFrameShadow(QFrame.Plain)
|
||||
self.line_20.setFrameShape(QFrame.Shape.HLine)
|
||||
|
||||
self._21.addWidget(self.line_20)
|
||||
|
||||
self.deviceSettingsBtns = QHBoxLayout()
|
||||
self.deviceSettingsBtns.setObjectName(u"deviceSettingsBtns")
|
||||
self.deviceSettingsBtns.setContentsMargins(-1, -1, -1, 0)
|
||||
self.resetPairBtn = QToolButton(self.settingsPageContent)
|
||||
self.resetPairBtn.setObjectName(u"resetPairBtn")
|
||||
|
||||
self.deviceSettingsBtns.addWidget(self.resetPairBtn)
|
||||
|
||||
|
||||
self._21.addLayout(self.deviceSettingsBtns)
|
||||
|
||||
self.verticalSpacer_51 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self._21.addItem(self.verticalSpacer_51)
|
||||
@@ -2513,6 +2595,7 @@ class Ui_Nugget(object):
|
||||
self.devicePicker.setCurrentIndex(-1)
|
||||
self.pages.setCurrentIndex(0)
|
||||
self.dynamicIslandDrp.setCurrentIndex(0)
|
||||
self.spoofedModelDrp.setCurrentIndex(0)
|
||||
|
||||
|
||||
QMetaObject.connectSlotsByName(Nugget)
|
||||
@@ -2565,7 +2648,7 @@ class Ui_Nugget(object):
|
||||
self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None))
|
||||
self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None))
|
||||
self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None))
|
||||
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.1 (beta 1)", None))
|
||||
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.1 (beta 2)", None))
|
||||
self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None))
|
||||
self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None))
|
||||
self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None))
|
||||
@@ -2616,9 +2699,16 @@ class Ui_Nugget(object):
|
||||
self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI model, you must spoof the device model. This will break Face ID until\n"
|
||||
"you revert.\n"
|
||||
"\n"
|
||||
"Once the model has downloaded, disable \"Spoof Device Model\" and click the \"Apply Tweaks\"\n"
|
||||
"Once the model has downloaded, set \"Spoofed Device Model\" to \"None\" and click the \"Apply Tweaks\"\n"
|
||||
"button on the \"Apply\" page again to fix Face ID.", None))
|
||||
self.spoofModelChk.setText(QCoreApplication.translate("Nugget", u"Spoof Device Model", None))
|
||||
self.label_8.setText(QCoreApplication.translate("Nugget", u"Spoofed Device Model", None))
|
||||
self.spoofedModelDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None))
|
||||
self.spoofedModelDrp.setItemText(1, QCoreApplication.translate("Nugget", u"iPhone16,2 (iPhone 15 Pro)", None))
|
||||
self.spoofedModelDrp.setItemText(2, QCoreApplication.translate("Nugget", u"iPhone17,3 (iPhone 16 Pro)", None))
|
||||
self.spoofedModelDrp.setItemText(3, QCoreApplication.translate("Nugget", u"iPhone17,4 (iPhone 16 Pro Max)", None))
|
||||
self.spoofedModelDrp.setItemText(4, QCoreApplication.translate("Nugget", u"iPad16,3 (iPad Pro M4)", None))
|
||||
|
||||
self.spoofedModelDrp.setCurrentText(QCoreApplication.translate("Nugget", u"None", None))
|
||||
self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Springboard Options", None))
|
||||
self.label_13.setText(QCoreApplication.translate("Nugget", u"Lock Screen Footnote Text", None))
|
||||
self.footnoteTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Footnote Text", None))
|
||||
@@ -2655,6 +2745,7 @@ class Ui_Nugget(object):
|
||||
self.springboardOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None))
|
||||
self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None))
|
||||
self.skipSetupChk.setText(QCoreApplication.translate("Nugget", u"Skip Setup (non-exploit files only)", None))
|
||||
self.resetPairBtn.setText(QCoreApplication.translate("Nugget", u"Reset Device Pairing", None))
|
||||
self.statusBarLbl_2.setText(QCoreApplication.translate("Nugget", u"Location Simulation", None))
|
||||
self.label_4.setText("")
|
||||
self.loadLocSimBtn.setText(QCoreApplication.translate("Nugget", u"Start Location Simulation", None))
|
||||
|
||||
@@ -42,7 +42,7 @@ tweaks = {
|
||||
## AI Enabler
|
||||
"AIEligibility": AITweak(),
|
||||
"AIGestalt": MobileGestaltTweak("Enable Apple Intelligence (for Unsupported Devices) (Gestalt)", "A62OafQ85EJAiiqKn4agtg", min_version=Version("18.1")),
|
||||
"SpoofModel": MobileGestaltTweak("Spoof Device Model", "h9jDsbgj7xIVeIQ8S3/X3Q", value="iPhone17,3", min_version=Version("18.1"), divider_below=True),
|
||||
"SpoofModel": MobileGestaltPickerTweak("Spoofed Device Model", "h9jDsbgj7xIVeIQ8S3/X3Q", ["iPhone16,2", "iPhone17,3", "iPhone17,4", "iPad16,3"], min_version=Version("18.1"), divider_below=True),
|
||||
|
||||
## Springboard Tweaks
|
||||
"LockScreenFootnote": BasicPlistTweak(
|
||||
|
||||
Reference in New Issue
Block a user