Skip to content

Commit a87db20

Browse files
committed
clean APFSP & ionvme patch because it is no longer use
1 parent 4438f2e commit a87db20

7 files changed

Lines changed: 1 addition & 192 deletions

File tree

oclp_r/constants.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,8 @@ def __init__(self) -> None:
256256
self.allow_nvme_fixing: bool = True # Allow NVMe Kernel Space Patches
257257
self.apfs_trim_timeout: bool = True # Set APFS Trim timeout
258258
self.custom_sip_value: int = None # Set custom SIP value
259-
self.allow_apfs_aligned_patch: bool = True
260259

261260

262-
self.allow_ionvme_patch: bool = False
263-
264261

265262
## Non-Metal OS support
266263
self.legacy_accel_support = [

oclp_r/support/utilities.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,7 @@ def check_cli_args():
631631
parser.add_argument("--auto_patch", help="Check if patches are needed and prompt user", action="store_true", required=False)
632632
parser.add_argument("--update_installed", help="Prompt user to finish updating via GUI", action="store_true", required=False)
633633

634-
# Internal
635-
parser.add_argument("--ionv", help="Allow Nvme Patch for Samsung.", action="store_true", required=False)
634+
636635
args = parser.parse_args()
637636
if not (
638637
args.build or

oclp_r/sys_patch/patchsets/detect.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,9 @@
4040
display_backlight,
4141
gmux,
4242
keyboard_backlight,
43-
apfs_aligned,
4443
pcie_webcam,
4544
t1_security,
4645
cpu_missing_avx,
47-
io_nvme
4846
)
4947
from .hardware.USB import (
5048
modern_usb,
@@ -137,7 +135,6 @@ def __init__(self, constants: constants.Constants,
137135
modern_wireless.ModernWireless,
138136
legacy_audio.LegacyAudio,
139137
modern_audio.ModernAudio,
140-
apfs_aligned.APFSP,
141138
voodoo_audio.VoodooAudio,
142139
modern_usb.LegacyUSBHost,
143140
display_backlight.DisplayBacklight,
@@ -147,7 +144,6 @@ def __init__(self, constants: constants.Constants,
147144
t1_security.T1SecurityChip,
148145
legacy_usb11.USB11Controller,
149146
cpu_missing_avx.CPUMissingAVX,
150-
io_nvme.IONvme
151147
]
152148

153149
self.device_properties = None

oclp_r/sys_patch/patchsets/hardware/misc/apfs_aligned.py

Lines changed: 0 additions & 87 deletions
This file was deleted.

oclp_r/sys_patch/patchsets/hardware/misc/io_nvme.py

Lines changed: 0 additions & 83 deletions
This file was deleted.

oclp_r/wx_gui/gui_entry.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ def start(self, entry: SupportedEntryPoints = gui_main_menu.MainFrame, start_pat
8787
elif "--gui_unpatch" in sys.argv:
8888
self.frame.revert_root_patching()
8989

90-
if "--ionv" in sys.argv:
91-
logging.info(self.trans["Set IONvme Patch is True"])
92-
self.constants.allow_ionvme_patch = True
9390

9491

9592
self.app.MainLoop()

oclp_r/wx_gui/gui_settings.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -781,16 +781,6 @@ def _settings(self) -> dict:
781781
],
782782
"condition":self.condition_exp("USB")
783783
},
784-
self.trans["Allow APFS Patch For Non-T2"]: {
785-
"type": "checkbox",
786-
"value": self.constants.allow_apfs_aligned_patch,
787-
"variable": "allow_apfs_aligned_patch",
788-
"constants_variable": "allow_apfs_aligned_patch",
789-
"description": [
790-
self.trans["When enabled, this will patch the apfs.efi"],
791-
self.trans["on Tahoe."],
792-
],
793-
},
794784
self.trans["AppleHDA.kext Version"]: {
795785
"type": "choice",
796786
"choices": [

0 commit comments

Comments
 (0)