Skip to content

Instantly share code, notes, and snippets.

View newperson1746's full-sized avatar

newperson1746

View GitHub Profile

Secrets of APFS System (SSV) Snapshots that aren't talked about

  • Electric Light Co. and others point out that 1) SSV snapshots are only made by the OS upon update and deleted afterwards, 2) the user is not able to restore these since Big Sur and later because by the time they would be useful they have been deleted, 3) it is impossible to boot from them because the seal was broken???

  • on update to 14.3 (booted to 14.3 and failed) there remained a previous bless snapshot from a month ago, possibly? original 14.2.1 install Verified it by mounting it and checking Systemversion.plist

  • to boot from it all I had to do was Mount the previous snapshot I wanted e bless --folder /Volumes/VOLUME@xxxx-xxx/System/Library/CoreServices --snapshot <uuid of snapshot from disk utility> --bootefi where xxxx-xxx are some numbers

@newperson1746
newperson1746 / build_RyzenAdj_macos.md
Last active February 11, 2024 14:35 — forked from b00t0x/build_RyzenAdj_macos.md
RyzenAdj for macOS

Description

How to build RyzenAdj for macOS (UPDATED through Ventura?)

Limitations

  • Monitoring functions like ./ryzenadj --info not working
    • adjustment only

Prerequisites

@newperson1746
newperson1746 / somefile.md
Last active March 5, 2021 23:36
Compile synergy-core on 10.6 Snow Leopard (or older with tigerbrew)

COMPILING SYNERGY ON 10.6 SNOW LEOPARD

  1. Install Xcode-3.2.6 (latest)
  2. install tigerbrew (curl will SSL error out due to age, so download it with Arctic Fox or transplant)
  3. download src from https://github.com/symless/synergy-core/releases/tag/v1.7.6-stable (latest I tested, 1.8.8 doesn't compile)
  4. brew install cmake
  5. go to synergy root, cd ext
  6. make directories for gmock-1.6.0 and gtest-1.6.0, then extract the zips into there
  7. from root, mkdir build, then run CFLAGS=-mmacosx-version-min=10.6 LDFLAGS=-mmacosx-version-min=10.6 cmake .. -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.6.sdk -DOSX_TARGET_MAJOR=10 -DOSX_TARGET_MINOR=6