Jump to content

Editing custom personalities for ATI Radeon HD[45]xx


  • Please log in to reply
772 replies to this topic

#661
smx

smx

    InsanelyMac Protégé

  • Tech Team
  • 39 posts
  • Gender:Male
  • Location:Italy

Hi bcc9. I'm very happy with you tool, and i use it all the time to patch the personalities after a system upgrade (to remove the ghost display of the stock Kext). The problem is that, after the last upgrade to osx 10.8.4, your tool just says ConnectorInfo count is 0 for all the personalities and the offsets seems wrong (i don't get the usual connector structures in hexdump).
I'm using ati-personality version 0.10 from first post
I attach the normal output, the verbose one and a copy of the AMD Controller (my GPU is a MSI R5770)
 

Attached Files



#662
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 565 posts
  • Gender:Male

@smx: Look here for the fixed version.


  • smx likes this

#663
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,282 posts
  • Gender:Male

@smx: Look here for the fixed version.

Thanks, this is the first time I've been made aware that users were bumping into the otool compatibility issue with this script. Xcode as of 4.6 broke my scripts by changing the (default) output style from hex to decimal in otool. I did notice this before with my ahci patch script but I forgot about this one. I'll update.
  • smx likes this

#664
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,282 posts
  • Gender:Male
I've updated post #1 with version 0.11. otool is simply invoked as otool -Q to get its former (more useful IMO) behavior. The script also warns the user when otool is missing instead of simply failing to run correctly.

#665
smx

smx

    InsanelyMac Protégé

  • Tech Team
  • 39 posts
  • Gender:Male
  • Location:Italy

It worked like a charm. Thanks kenny, bcc9 and slice



#666
delifruit

delifruit

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Hi..

This script doesn't work mavericks' AMD kext.

I ran it at mavericks GM and 10.8.5.

Can someone help me please?

 

 

$ perl ati-personality.pl /Volumes/mavericks/System/Library/Extensions/AMD5000Controller.kext
Kext /Volumes/mavericks/System/Library/Extensions/AMD5000Controller.kext/Contents/MacOS/*Controller
Personality: Douc
ConnectorInfo count in decimal: 0
Disk offset in decimal 635296
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Langur
ConnectorInfo count in decimal: 0
Disk offset in decimal 635344
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Uakari
ConnectorInfo count in decimal: 0
Disk offset in decimal 635392
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Zonalis
ConnectorInfo count in decimal: 0
Disk offset in decimal 635456
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Alouatta
ConnectorInfo count in decimal: 0
Disk offset in decimal 635552
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Hoolock
ConnectorInfo count in decimal: 0
Disk offset in decimal 635616
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Vervet
ConnectorInfo count in decimal: 0
Disk offset in decimal 635664
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Baboon
ConnectorInfo count in decimal: 0
Disk offset in decimal 635728
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Eulemur
ConnectorInfo count in decimal: 0
Disk offset in decimal 635776
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Galago
ConnectorInfo count in decimal: 0
Disk offset in decimal 635824
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Colobus
ConnectorInfo count in decimal: 0
Disk offset in decimal 635872
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Mangabey
ConnectorInfo count in decimal: 0
Disk offset in decimal 635920
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Nomascus
ConnectorInfo count in decimal: 0
Disk offset in decimal 635968
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Orangutan
ConnectorInfo count in decimal: 0
Disk offset in decimal 636048
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010


#667
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,659 posts
  • Gender:Male
  • Location:Moscow

I made a replacement ATI -> AMD in the script but still no go

Personality: Juncus
ConnectorInfo count in decimal: 0
Disk offset in decimal 649648
Personality: Osmunda
ConnectorInfo count in decimal: 0
Disk offset in decimal 649712
Personality: Pondweed
ConnectorInfo count in decimal: 0
Disk offset in decimal 649776
Personality: Spikerush
ConnectorInfo count in decimal: 3
Disk offset in decimal 649824
0000000    02  00  00  00  40  00  00  00  29  05  01  00  00  00  00  05
0000010    00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01
0000020    00  04  00  00  00  01  00  00  00  09  02  00  21  03  02  02
0000030
Personality: Typha
ConnectorInfo count in decimal: 0
Disk offset in decimal 649888

and so on



#668
EvgeniX

EvgeniX

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
  • Gender:Male

any updates for 10.9 ConnectorInfo?



#669
existation

existation

    InsanelyMac Protégé

  • Members
  • PipPip
  • 68 posts

Hi. Need help with ati hd 4670 on dell cps 1647 laptop. 

What fbname i need to use for this card?

What binary need to patch with connectors info?

I done with Shrike but have no luck, reboot before desktop shows.

I made patches with clover.

Dell has 3 out ports VGA, HDMI-A, DP and monitor of laptop on LVDS. 



#670
dhisnotnull

dhisnotnull

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

The offset is still valid - you can still use it :)

 

its the ConnectorInfo count value that failed to read correctly leading not being able to hex dump the value at offset.

 

Tried on Powercolor HD 5750

 

 

Hi..

This script doesn't work mavericks' AMD kext.

I ran it at mavericks GM and 10.8.5.

Can someone help me please?

 

 

$ perl ati-personality.pl /Volumes/mavericks/System/Library/Extensions/AMD5000Controller.kext
Kext /Volumes/mavericks/System/Library/Extensions/AMD5000Controller.kext/Contents/MacOS/*Controller
Personality: Douc
ConnectorInfo count in decimal: 0
Disk offset in decimal 635296
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Langur
ConnectorInfo count in decimal: 0
Disk offset in decimal 635344
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Uakari
ConnectorInfo count in decimal: 0
Disk offset in decimal 635392
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Zonalis
ConnectorInfo count in decimal: 0
Disk offset in decimal 635456
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Alouatta
ConnectorInfo count in decimal: 0
Disk offset in decimal 635552
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Hoolock
ConnectorInfo count in decimal: 0
Disk offset in decimal 635616
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Vervet
ConnectorInfo count in decimal: 0
Disk offset in decimal 635664
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Baboon
ConnectorInfo count in decimal: 0
Disk offset in decimal 635728
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Eulemur
ConnectorInfo count in decimal: 0
Disk offset in decimal 635776
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Galago
ConnectorInfo count in decimal: 0
Disk offset in decimal 635824
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Colobus
ConnectorInfo count in decimal: 0
Disk offset in decimal 635872
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Mangabey
ConnectorInfo count in decimal: 0
Disk offset in decimal 635920
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Nomascus
ConnectorInfo count in decimal: 0
Disk offset in decimal 635968
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: Orangutan
ConnectorInfo count in decimal: 0
Disk offset in decimal 636048
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010

 



#671
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,282 posts
  • Gender:Male
I've updated the script in post #1 to include 10.9 support.
Since the kext names finally changed from ATI to AMD, I had to generalize the kext wildcarding a bit more. Also the driver code changed slightly so the connector counts were all being mis-detected.

I stopped using my ATI 5670 card about 2 years ago, so I may not be the fastest to keep this script up to date; anyone want to take over?

#672
vjuluss

vjuluss

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

Hi

 

I've been trying for like 4 or 5 hours and I got nothing, no sound on HDMI. No sound at all, not on hdmi, not on motherboard. 

 

I have a 5670, my hackintosh is running Maverick well, but still no audio. 

 

I dumped the card's BIOS with GPU-Z on Windows, here is the dump :

 

ATOM BIOS Rom: 

SubsystemVendorID: 0x174b SubsystemID: 0xe166
IOBaseAddress: 0x0000
Filename: 166X0306.S21
BIOS Bootup Message: 
REDWOOD XT GDDR5 64Mx32 UCODEv:12602                                        
 
PCI ID: 1002:68d8
Connector at index 0
Type [@offset 44362]: DisplayPort (10)
Encoder [@offset 44366]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 44446]: 0x91, OSX senseid: 0x2
Connector at index 1
Type [@offset 44372]: HDMI-A (11)
Encoder [@offset 44376]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 44473]: 0x94, OSX senseid: 0x5
Connector at index 2
Type [@offset 44382]: DVI-I (2)
Encoder [@offset 44386]: INTERNAL_UNIPHY1 (0x20)
i2cid [@offset 44510]: 0x92, OSX senseid: 0x3
Connector at index 3
Type [@offset 44392]: DVI-I (2)
Encoder [@offset 44396]: INTERNAL_KLDSCP_DAC1 (0x15)
i2cid [@offset 44510]: 0x92, OSX senseid: 0x3

 

So I guess my HDMI port is the number 1 ?

 

Keep going. 

 

I ran IORegistry, I search for "ATY". Here I found that my HDMI port would be the number 0, because it's the only one with "display-type = LCD" and I only have a HDTV plugged on this hackintosh, on HDMI port of course.

 

So wich port is the good one ? Did I miss something ?

 

I tried to edit AMD5000Controller in hex mode, to change lines for Uakari profile, like this :

 

Personality: Uakari

ConnectorInfo count in decimal: 4
Disk offset in decimal 635392
0000000    00  08  00  00  00  02  00  00  00  71  00  00  22  05  05  06
0000010    00  08  00  00  00  02  00  00  00  71  00  00  22  05  05  05
0000020    00  02  00  00  14  00  00  00  00  71  00  00  00  00  06  05
0000030    00  08  00  00  00  02  00  00  00  71  00  00  22  05  05  04
0000040

 

But after reboot, still no sound on HDMI. My computer does not detect any audio device...

 

What's next ? Buying a card wich works out of the box ? That would be cheating, I'm pretty sure I can manage that.

 

Thanks for your help.



#673
Xplosionist2

Xplosionist2

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Hi all. I have 10.9 Mavericks installed on my Dell, creating a new Hackintosh (have Lion on an older Dell, fully working) The video card I have is a Radeon HD5570, but it's an odd one. I tried to find an older known-working card, but the "normal" ones are all discontinued. I found a 4-DVI version, though:

http://www.amazon.co...5/dp/B004JU260O

(1002:68d9 / 0x68D91002)

When it first came up, at least without GraphicsEnabler, it worked for at least two displays, but no QE/CI, or at least no ability to play videos. Quicktime or youtube. So, I set about trying to enhance things. Turning to trying profiles from the ati code within Chameleon, I got various results, but not yet any success so was starting to look here.Using the script to find where to edit the files I understand. But, I'm not sure from posts here what tool(s) I need to use to interrogate the card to see what is and isn't being detected or reported… I have Xcode installed, but was unable to find IORegistry. Is that still available in Xcode 5.x? Thanks.

#674
phumap

phumap

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

hi guys,

im using OSx 10.9 with ATI 5430M, i try to edit personality like this:

 

bios dump:

ATOM BIOS Rom: 
	SubsystemVendorID: 0x1028 SubsystemID: 0x0466
	IOBaseAddress: 0xe000
	Filename: BR40158.001 
	BIOS Bootup Message: 
Dell DJ1 PARK LP DDR3 64Mx16 512MB /1GB                                     

PCI ID: 1002:68e1
Connector at index 0
	Type [@offset 45440]: LVDS (7)
	Encoder [@offset 45444]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 45496]: 0x90, OSX senseid: 0x1
Connector at index 1
	Type [@offset 45450]: VGA (1)
	Encoder [@offset 45454]: INTERNAL_KLDSCP_DAC1 (0x15)
	i2cid [@offset 45519]: 0x91, OSX senseid: 0x2
Personality: Hoolock
ConnectorInfo count in decimal: 3
Disk offset in decimal 635616
0000000    00  04  00  00  04  06  00  00  00  01  00  00  21  03  05  01
0000010    00  04  00  00  04  06  00  00  00  01  00  00  11  02  04  02
0000020    04  00  00  00  14  02  00  00  00  01  00  00  02  04  01  03
0000030

i try edit first line with:

02 00 00 00

40 00 00 00

00 09

00 00

00

02

01

01

 

the second line with:

10 00 00 00

10 00 00 00

00 09

00 00

00

02

02

02

 

then reinstall AMD5000Controller.kext with kext wizard, boot with AtiConfig=Hoolock but not full QE/CI.

 

help me with my problem.

Best regards.



#675
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,659 posts
  • Gender:Male
  • Location:Moscow

I've updated the script in post #1 to include 10.9 support.
Since the kext names finally changed from ATI to AMD, I had to generalize the kext wildcarding a bit more. Also the driver code changed slightly so the connector counts were all being mis-detected.

I stopped using my ATI 5670 card about 2 years ago, so I may not be the fastest to keep this script up to date; anyone want to take over?

Still no go with rev 0.12

Personality: Ikura
ConnectorInfo count in decimal: 0
Disk offset in decimal 663280
Personality: IkuraS
ConnectorInfo count in decimal: 0
Disk offset in decimal 663296
Personality: Junsai
ConnectorInfo count in decimal: 0
Disk offset in decimal 663392
Personality: Kani
ConnectorInfo count in decimal: 0
Disk offset in decimal 663488
Personality: KaniS
ConnectorInfo count in decimal: 0
Disk offset in decimal 663504
Personality: DashimakiS
ConnectorInfo count in decimal: 0
Disk offset in decimal 663600
Personality: Maguro
ConnectorInfo count in decimal: 0
Disk offset in decimal 663664
Personality: MaguroS
ConnectorInfo count in decimal: 0
Disk offset in decimal 663680
iMac:Downloads slice$ 

I have 10.9 with XCode5.0.1.



#676
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 565 posts
  • Gender:Male

@Slice: Works fine here with Xcode 5.0.1 Build version 5A2053.

 

The output:

Spoiler


#677
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,282 posts
  • Gender:Male
slice, looks like you're running the old version. Make sure it says 0.12 in the comment header in the script. Otherwise, run with -v -v for some debugging, since it's working for the rest of us.

#678
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,659 posts
  • Gender:Male
  • Location:Moscow

slice, looks like you're running the old version. Make sure it says 0.12 in the comment header in the script. Otherwise, run with -v -v for some debugging, since it's working for the rest of us.

O yes, sorry! I downloaded the script from topic again and see it working. Thanks!



#679
Lord Kamina

Lord Kamina

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
  • Gender:Male
  • Location:Santiago, Chile

I'm running the latest version on 10.8.5 and am getting the same problem as Slice had.

 

Now, here's the catch: I'm only having that problem if I try parsing a kext in a path other than /S/L/E

 

Actually... let me be more specific: If, on the latest version of the script and while running 10.8.5, I try to parse a 10.9 Kext, it reads the personality addresses (not sure if they're correct though) but does not display any info on the connectors and all ConnectorInfoCount show as 0.



#680
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,282 posts
  • Gender:Male

Actually... let me be more specific: If, on the latest version of the script and while running 10.8.5, I try to parse a 10.9 Kext, it reads the personality addresses (not sure if they're correct though) but does not display any info on the connectors and all ConnectorInfoCount show as 0.

Since you're running 10.8, the script identified the OS version as 10.8. But you fed the script a 10.9 executable, at which point the script cannot find the expected instructions as it was expecting a 10.8 executable.
I guess the script could use an option to override the OS version as my patch-hda.pl script has. You can patch this temporarily by overriding $osxvers with 10.9...





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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