diff --git a/README.md b/README.md index b9f1d21..95185e3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Nugget -Unlock your device's full potential! Works on all versions iOS 17.0+ +Unlock your device's full potential! Works on all versions iOS 17.0-18.1 beta 4 + +Sparserestore was patched in iOS 18.1 beta 5. It will not be supported, please stop asking. This uses the sparserestore exploit to write to files outside of the intended restore location, like mobilegestalt. diff --git a/fix-minimuxer.py b/fix-minimuxer.py index a6d7f58..bd57adc 100644 --- a/fix-minimuxer.py +++ b/fix-minimuxer.py @@ -1,4 +1,4 @@ -from exploit import backup, perform_restore +from Sparserestore import backup, perform_restore from pymobiledevice3 import usbmux from pymobiledevice3.lockdown import create_using_usbmux from pymobiledevice3.lockdown import LockdownClient @@ -34,4 +34,4 @@ back = backup.Backup(files=[ backup.ConcreteFile("", "SysContainerDomain-../../../../../../../.." + "/crash_on_purpose", contents=b""), ]) -perform_restore(backup=back, reboot=True, lockdown_client=lockdown) \ No newline at end of file +perform_restore(backup=back, reboot=True, lockdown_client=lockdown) diff --git a/gui/main_window.py b/gui/main_window.py index 8719229..2429e33 100644 --- a/gui/main_window.py +++ b/gui/main_window.py @@ -98,6 +98,7 @@ class MainWindow(QtWidgets.QMainWindow): self.ui.stageManagerChk.clicked.connect(self.on_stageManagerChk_clicked) self.ui.ipadAppsChk.clicked.connect(self.on_ipadAppsChk_clicked) self.ui.shutterChk.clicked.connect(self.on_shutterChk_clicked) + self.ui.findMyFriendsChk.clicked.connect(self.on_findMyFriendsChk_clicked) self.ui.pencilChk.clicked.connect(self.on_pencilChk_clicked) self.ui.actionButtonChk.clicked.connect(self.on_actionButtonChk_clicked) @@ -318,6 +319,8 @@ class MainWindow(QtWidgets.QMainWindow): def on_shutterChk_clicked(self, checked: bool): # TODO: allow the user to select the region tweaks["Shutter"].set_enabled(checked) + def on_findMyFriendsChk_clicked(self, checked: bool): + tweaks["FindMyFriends"].set_enabled(checked) def on_pencilChk_clicked(self, checked: bool): tweaks["Pencil"].set_enabled(checked) def on_actionButtonChk_clicked(self, checked: bool): diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index 46cc26f..b215989 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -1417,6 +1417,11 @@ class Ui_Nugget(object): self.verticalLayout_8.addWidget(self.shutterChk) + self.findMyFriendsChk = QCheckBox(self.gestaltPageContent) + self.findMyFriendsChk.setObjectName(u"findMyFriendsChk") + + self.verticalLayout_8.addWidget(self.findMyFriendsChk) + self.pencilChk = QCheckBox(self.gestaltPageContent) self.pencilChk.setObjectName(u"pencilChk") @@ -2192,6 +2197,7 @@ class Ui_Nugget(object): self.stageManagerChk.setText(QCoreApplication.translate("Nugget", u"Enable Stage Manager Supported (WARNING: risky on some devices, mainly phones)", None)) self.ipadAppsChk.setText(QCoreApplication.translate("Nugget", u"Allow iPad Apps on iPhone", None)) self.shutterChk.setText(QCoreApplication.translate("Nugget", u"Disable Region Restrictions (ie. Shutter Sound)", None)) + self.findMyFriendsChk.setText(QCoreApplication.translate("Nugget", u"Enable Find My Friends", None)) self.pencilChk.setText(QCoreApplication.translate("Nugget", u"Enable Apple Pencil Settings Tab", None)) self.actionButtonChk.setText(QCoreApplication.translate("Nugget", u"Enable Action Button Settings Tab", None)) self.internalInstallChk.setText(QCoreApplication.translate("Nugget", u"Set as Apple Internal Install (ie Metal HUD in any app)", None)) diff --git a/tweaks/tweaks.py b/tweaks/tweaks.py index 2a79379..bda01f2 100644 --- a/tweaks/tweaks.py +++ b/tweaks/tweaks.py @@ -17,6 +17,7 @@ tweaks = { "StageManager": MobileGestaltTweak("Toggle Stage Manager Supported (WARNING: risky on some devices, mainly phones)", "qeaj75wk3HF4DwQ8qbIi7g", value=1), "iPadApps": MobileGestaltTweak("Allow iPad Apps on iPhone", "9MZ5AdH43csAUajl/dU+IQ", value=[1, 2]), "Shutter": MobileGestaltMultiTweak("Disable Region Restrictions (ie. Shutter Sound)", {"h63QSdBCiT/z0WU6rdQv6Q": "US", "zHeENZu+wbg7PUprwNwBWg": "LL/A"}), + "FindMyFriends": MobileGestaltTweak("Toggle Find My Friends", "Y2Y67z0Nq/XdDXgW2EeaVg"), "Pencil": MobileGestaltTweak("Toggle Apple Pencil", "yhHcB0iH0d1XzPO/CFd3ow"), "ActionButton": MobileGestaltTweak("Toggle Action Button", "cT44WE1EohiwRzhsZ8xEsw"), "InternalStorage": MobileGestaltTweak("Toggle Internal Storage (WARNING: risky for some devices, mainly iPads)", "LBJfwOEzExRxzlAnSuI7eg"),