Piker-Alpha / freqVectorsEdit.sh

Script to add/replace 'FrequencyVectors' to Mac-F60DEB81FF30ACF6.plist
79 stars 17 forks source link

Propose backup #7

Open cecekpawon opened 8 years ago

cecekpawon commented 8 years ago

Hello Pike,

I want to propose a simple backup before doing anything so user can undo/repeat their experiments with a "virgin" backup plist at ~/ssdtPRGen/Backup.

Also want to confirm from my last comment on your blog, with 2.3 I no longer have any X86PlatformShim line(s), only XCPM: registered ~> IOPPF: XCPM mode. Is that normal?

Thanks 🍺

bkp_freqVectorsEdit.diff.zip

Piker-Alpha commented 8 years ago

Is that with macOS Sierra?

Edit: I thought that we already had a backup facility in the script, but apparently not. Good idea!

cecekpawon commented 8 years ago

Sorry not to mention sir, 10.11.6 here .. Besides I no longer have X86PlatformShim it randomly KP with 2.3, so I went back to AICPM ATM

Piker-Alpha commented 7 years ago

Sorry for being so darn slow, and we are not going to have a backup feature. My initial idea was – and still is – to injected the data via a dummy kext, like my AppleHDA dummy is doing, but that never came to fruition in the script....

PMheart commented 7 years ago

I think we may do something like this:

  1. Copy /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext to /tmp/DummyX86PP.kext
  2. Patch (Add/Replace FrequencyVectors) /tmp/DummyX86PP.kext/C*/Resources/${your_board_id}.plist
  3. Make a dummy kext like AppleHDA8Series.sh did: Patching Info.plist, Adding binary link, etc...
  4. Install the dummy kext to /L/E, note that this kind of dummy kext will load anyway. No matter SIP is enabled/disabled.

Will try to do this...

Piker-Alpha commented 7 years ago

@PMheart ,

I got word that you forked my work. Great. Please add a link to a Github (alike) repository. Thanks!

PMheart commented 7 years ago

Oops. But soon I deleted the fork cuz I think @tluck has implemented this! (http://www.insanelymac.com/forum/topic/321021-guide-hwpintel-speed-shift-enable-with-full-power-management/?p=2370222) Also sorry for the late reply.

Piker-Alpha commented 7 years ago

Would you mind PM'ing him and ask us to join here? Thanks.

PMheart commented 7 years ago

@Piker-Alpha Done! Waiting for his reply.

tluck commented 7 years ago

Hello! How can I be of service?