Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to patch 15-inch 2010 MacBook Pro on High Sierra #35

Closed
jeromydp opened this issue Oct 9, 2017 · 17 comments
Closed

Unable to patch 15-inch 2010 MacBook Pro on High Sierra #35

jeromydp opened this issue Oct 9, 2017 · 17 comments
Assignees
Labels

Comments

@jeromydp
Copy link

jeromydp commented Oct 9, 2017

I'm getting the following message:
| Checking compatibility
MBPModelVersion : MacBookPro6,2 ➔ Compatibility : OK ✓
| Checking SIP Status
SIP Disabled
| Searching for AppleGraphicsPowerManagement.kext
AppleGraphicsPowerManagement.kext found
********** Starting MBP GPU Fix **********
Copying Info.plist file
Previous Info.plist file removed
Could not open Info.plist file
********************* MBP GPU Fix FAILED *********************

@jeromydp jeromydp changed the title Unable to patch 152010 Unable to patch 15-inch 2010 MacBook Pro on High Sierra Oct 9, 2017
@julian-poidevin julian-poidevin self-assigned this Oct 9, 2017
@julian-poidevin
Copy link
Owner

Hi,

Did you try the app on a previous version of macOS before updating to High Sierra ?

After patch failure, can you please go to /tmp/ directory and see if there is a file named PatchedInfo.plist in it. If so, let me know if you are able to open the file by double-clicking on it.

Also, before running the patch, you can also try to remove all the files in /tmp/ folder.

Thanks.

@mhamzas
Copy link

mhamzas commented Oct 17, 2017

It worked fine for me on High Sierra

@kickass-id
Copy link

For me, I got MBP GPU Fixed Successfully but it doesn't seem to work (also MBP 15" mid-2010, High Sierra). After applying the patch (log below), I excitedly open IMDB using Safari, and my laptop crashed :(

| Checking compatibility
MBPModelVersion : MacBookPro6,2 ➔ Compatibility : OK ✓
| Checking SIP Status
SIP Disabled
| Searching for AppleGraphicsPowerManagement.kext
AppleGraphicsPowerManagement.kext found
********** Starting MBP GPU Fix **********
Copying Info.plist file
Patching Info.plist
- FindChild - key|MacBookPro6,2
- NextSibling - dict
- FindChild - key|LogControl
- ModifyIntValue - integer|1
- FindSibling - key|Vendor10deDevice0a29
- FindSibling - key|BoostPState
- FindSibling - key|BoostTime
- FindSibling - key|Heuristic
- FindSibling - key|IdleInterval
- ModifyIntValue - integer|10
- RemoveSiblingLabel - P3HistoryLength Not found
- FindSibling - key|SensorSampleRate
- ModifyIntValue - integer|10
- FindSibling - key|Threshold_High
- FindSibling - key|Threshold_High_v
- FindSibling - key|Threshold_Low
- FindSibling - key|Threshold_Low_v
Info.plist successfully patched
| Loading Kernel Extension
Removing existing kext in tmp : ✓
Copying actuel kext into tmp : ✓
Copying patched Info.plist into kext : ✓
Changing permission of kext : ✓ /tmp/AppleGraphicsPowerManagement.kext/Contents/_CodeSignature/CodeResources
/tmp/AppleGraphicsPowerManagement.kext/Contents/_CodeSignature
/tmp/AppleGraphicsPowerManagement.kext/Contents/MacOS/AppleGraphicsPowerManagement
/tmp/AppleGraphicsPowerManagement.kext/Contents/MacOS
/tmp/AppleGraphicsPowerManagement.kext/Contents/Info.plist
/tmp/AppleGraphicsPowerManagement.kext/Contents/version.plist
/tmp/AppleGraphicsPowerManagement.kext/Contents
/tmp/AppleGraphicsPowerManagement.kext

Removing existing kext : ✓
Copying patched kext into Extension : ✓
Loading modified kext : ✓
********************* MBP GPU Fixed Successfully *********************

@mhamzas
Copy link

mhamzas commented Oct 23, 2017 via email

@kickass-id
Copy link

kickass-id commented Oct 23, 2017

After applying the patch twice, my laptop hasn't crashed ever since. I have Android Studio opened (usually it's instant-crash). What kind of sorcery is this!!! :D

EDIT: Just curious, what's the downside other than making it unsuitable for gaming (which I don't care, I have a PC)?

@julian-poidevin
Copy link
Owner

The Mac is just a bit less performant and it does not work if you are using an external screen. These are the only two downsides.

@mhamzas
Copy link

mhamzas commented Oct 23, 2017

@kickass-id , The same happened to me and I thought that may be it didn't get applied. After crashing I tried and it worked.
That's strange but some how I make it work :p

@mhamzas
Copy link

mhamzas commented Oct 23, 2017

@julian-poidevin But you really did an amazing job. You've save a lot of $ !

@julian-poidevin
Copy link
Owner

julian-poidevin commented Oct 23, 2017

@mhamzas : Glad it finally worked. If I saved you the price of a mac please consider paying me a beer via the donation button in the app !😄 🍺

@mhamzas
Copy link

mhamzas commented Oct 23, 2017

@julian-poidevin I am not gonna pay you for beer. I'll pay you for a Dinner. 🥇

@julian-poidevin
Copy link
Owner

@jeromydp Could you get the patch running by following my tips ?

@julian-poidevin
Copy link
Owner

@jeromydp Please let me know if it's ok for you, I'll close the issue if I get no news in few days.

@jeromydp
Copy link
Author

jeromydp commented Nov 16, 2017 via email

@jeromydp
Copy link
Author

I followed you instructions, reran the patch and it appears to be successful! Do I need to reapply the patch after minor operating system upgrades?

@julian-poidevin
Copy link
Owner

Yes, the patch has to be run after EVERY OS update.

@amordicus
Copy link

Bonjour Julian,
I'm not sure you will get this message, since the issue is closed. But I'll comment anyway!
This problem happens when MBPMid2010_GPUFix is ran from a none admin user. And login into an admin account to run it again doesn't stop the error (Could not open Info.plist file) from happening again, but deleting files from /tmp/ works just fine.

I guess the application should ask for an admin user name!

@Bl2c5FlA9
Copy link

Bl2c5FlA9 commented Nov 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants