freqVectorsEdit.sh icon indicating copy to clipboard operation
freqVectorsEdit.sh copied to clipboard

Propose backup

Open cecekpawon opened this issue 7 years ago • 9 comments

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

cecekpawon avatar Jul 29 '16 12:07 cecekpawon

Is that with macOS Sierra?

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

Piker-Alpha avatar Aug 01 '16 15:08 Piker-Alpha

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

cecekpawon avatar Aug 03 '16 06:08 cecekpawon

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....

Piker-Alpha avatar Feb 13 '17 13:02 Piker-Alpha

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...

PMheart avatar Feb 14 '17 06:02 PMheart

@PMheart ,

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

Piker-Alpha avatar Mar 16 '17 15:03 Piker-Alpha

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.

PMheart avatar Mar 28 '17 13:03 PMheart

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

Piker-Alpha avatar Mar 28 '17 20:03 Piker-Alpha

@Piker-Alpha Done! Waiting for his reply.

PMheart avatar Mar 30 '17 13:03 PMheart

Hello! How can I be of service?

tluck avatar Mar 30 '17 13:03 tluck