Jump to content

KextsToPatch how-to (?)

KextsToPatch

  • Please log in to reply
11 replies to this topic

#1
jj_9

jj_9

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Hi all,

I'm very sorry for my dummy question but did you manage to master the syntax ?

If I want to add this to config.plist :

sudo perl -pi -e '$c+=s/\xE2\x00\x00\x00\x0F\x30/\xE2\x00\x00\x00\x90\x90/; END { printf "%s: %d substitution%s made.\n",($c==1 ? "Success" : "Error"),$c,(!$c || $c>1 ? "s" : ""); $?=($c!=1); }' /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement


How-to translate from \xE2\x00\x00\x00\x0F\x30 to the correct format for clover ??
(same question for \xE2\x00\x00\x00\x90\x90 ;)

Also don't hesitate to reply to this post with you patches in case they could help others :)

Regards
JJ

#2
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,870 posts
  • Gender:Male
  • Location:Moscow

<key>Find</key>

<string>E20000000F30</string>

<key>Replace</key>

<string>E20000009090</string>



#3
jj_9

jj_9

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
:thumbsup_anim:

Thank you so much ...

I must admit I didn't understand the original sample with "headphones" as "48 65 61 64 70 68 6F 6E 65 73 00" and the actual search for the string <data>SGVhZHBob25lcwA=</data>
:)

A+
JJ

Edit : one more question :
Could it be possible with clover to replace a whole kext
ie: put my applehda.kext in the kext folder and have it to replace the original one ?
(or is it only a folder to load non existent kext)

#4
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,870 posts
  • Gender:Male
  • Location:Moscow
You may use AppleHDADisabler+VoodooHDA. But I don't know a method to replace one AppleHDA by another one.

#5
jj_9

jj_9

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Thank you for your reply :)

A+
JJ

#6
tdtran1025

tdtran1025

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 351 posts

how do I patch AppleRTC.kext?



#7
alexanderq

alexanderq

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 186 posts
  • Gender:Male

   <key>KernelAndKextPatches</key>
    <dict>
        <key>AppleRTC</key>
        <true/>

    <dict>



#8
eʍwe

eʍwe

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Jongen
  • Interests:Respect to the others

iam noob in clover, i wish to install maverick into AMD machine, but the problem is the installation required custom kernel. how to config custom kernel into clover config.
i can't customize the mavericks setup installer, because i use this command to restore mavericks dmg file into my usb flashdrive :

 

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia –volume /Volumes/Cloverboot/ –applicationpath /Applications/Install\ OS\ X\ Mavericks.app –nointeraction

 



#9
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,870 posts
  • Gender:Male
  • Location:Moscow

boot-args="Kernel=mach_kernel.amd"



#10
eʍwe

eʍwe

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Jongen
  • Interests:Respect to the others

boot-args="Kernel=mach_kernel.amd"

Thanks before.. :D
and where should i place the AMD/another custom kernel?
thanks for the answer.



#11
pico joe

pico joe

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 122 posts
  • Gender:Male

put on root or .../kexts/10.x  and don't forget boot without caches

if still get a problem with that method (createinstallmedia) .. so you must restore with basesystem method



#12
eʍwe

eʍwe

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Jongen
  • Interests:Respect to the others

put on root or .../kexts/10.x  and don't forget boot without caches

if still get a problem with that method (createinstallmedia) .. so you must restore with basesystem method

Thanks for guide..
i'll try it tonight. :yes:  :thumbsup_anim:







Also tagged with one or more of these keywords: KextsToPatch

  Topic Stats Last Post Info

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy