Jump to content

Clover General discussion

Bootloader EFI Clover

  • Please log in to reply
16865 replies to this topic

#16861
bronxteck

bronxteck

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 439 posts

been there lol.... you need to convert 0x10f68086 and 0x10d38086 to ascii for plist edits



#16862
Pavo

Pavo

    InsanelyMac Legend

  • Developers
  • 750 posts
  • Gender:Male
  • Location:Fort Gordon, GA

been there lol.... you need to convert 0x10f68086 and 0x10d38086 to ascii for plist edits

Ummm afaik a string is a string (ie... already ascii) unless I am wrong. Could you explain this please?



#16863
PMheart

PMheart

    InsanelyMac Legend

  • Coders
  • 883 posts
  • Gender:Female
  • Location:Singapore

Ummm afaik a string is a string (ie... already ascii) unless I am wrong. Could you explain this please?

Just change the find/replace patterns into ASCII form, that's all.

(0x10f68086 is 30783130663638303836, and 0x10d38086 is 30783130643338303836, use these two instead. Both are little endian, yet I don't think you'll need to mess with these thingies.)


I think I'll just let it black, I just wanted to know if it's possible, but it seems to be more complicated than it should be, thanks for answer anyway.

You need 10.10+ for the black Apple logo. Plus a relatively new SMBios model is supposed to be set. (Cannot remember the exact border unfortunately) As for Mac Pro series, black logo will only appear on MacPro6,1.

Even if on older Mac with 10.10+, the logo is also grey with white background. Thus you may not really need to let you hack be "more like the real Macs".

Maybe there's a way to patch boot.efi for the older models...



#16864
Pavo

Pavo

    InsanelyMac Legend

  • Developers
  • 750 posts
  • Gender:Male
  • Location:Fort Gordon, GA

Just change the find/replace patterns into ASCII form, that's all.

(0x10f68086 is 30783130663638303836, and 0x10d38086 is 30783130643338303836, use these two instead. Both are little endian, yet I don't think you'll need to mess with these thingies.)

Yeah tried that, I don't think ForceKextsToLoad is working correctly. I am assuming that Clover takes whatever is in the list of ForceKextsToLoad first and loads them and then KextsToPatch to patch them since KextsToPatch only patches kexts that are in cache.



#16865
apianti

apianti

    I have dementia!

  • Developers
  • 888 posts
  • Gender:Not Telling

I am having issues with KextToPatch. Bootlog shows this:

0:107  0:000   - [0]: System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\Intel82574L.kext
0:107  0:000  KextsToPatch: 1 requested
0:107  0:000   - [00]: Intel82574L (Add on-board ethernet device)[ERROR] bin2hex '0x10f68086' syntax error
0:107  0:000  [ERROR] bin2hex '0x10d38086' syntax error
0:107  0:000   - invalid Find/Replace data - skipping!

the KextToPatch section and ForceKextToLoad section look like this in config:

<key>KernelAndKextPatches</key>
	<dict>
		<key>ForceKextsToLoad</key>
		<array>
			<string>\System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\Intel82574L.kext</string>
		</array>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Name</key>
				<string>Intel82574L</string>
				<key>Comment</key>
				<string>Add on-board ethernet device</string>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Find</key>
				<string>0x10f68086</string>
				<key>Replace</key>
				<string>0x10d38086</string>
			</dict>
		</array>
	</dict>

What is wrong?

 

Remove the 0x prefix from the string. By specifying <string> you say the string is hexadecimal encoded binary, by specifying <data> you say the string is base64 encoded binary.



#16866
Trung_Nguyen

Trung_Nguyen

    InsanelyMac Protégé

  • Members
  • PipPip
  • 72 posts
  • Gender:Male
  • Location:Hanoi, Vietnam

You just have two different kinds of RAM, you need to set them up how you want in firmware then in the end they should get that speed because of SMBIOS tables.

 

 

Ok, I made one incorrect statement because he said a bunch of confusing stuff. First, I thought he was talking about reading a key from the keyboard buffer. And second, I immediately looked at the code, saw how it worked, and fixed what I said. Huge difference.

 

EDIT: Oh, and I see finally what he wants. Whenever you are loading a driver that is a keyboard driver, it's reconnected and the previous key buffer is lost. So you need to actually check when loading each driver if a keyboard driver is loaded and if it is, check if it has any keys before reconnecting. I completely misunderstood you before, lol. I thought he was trying to get PS2 support for Filevault....

:D Oh I have AptioInputFix now, Why do I need a PS2 Driver anymore? :) What I'm trying to get now is to get the Alt/Option (modifiers) is recognized when pressed just that key. I think it is possible because in the keyboard viewer, when you pressed a modifier, it still show it.








2 user(s) are reading this topic

1 members, 1 guests, 0 anonymous users


© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy