Jump to content

Finnished. 11C71 beta Lion 10.7.2 Mobility 4650 shrike kexts binpatched


smartie77
 Share

23 posts in this topic

Recommended Posts

UPDATE.GM STATUS , October 4th. 10.7.2 is done.

 

11C73 is GM, final 10.7.2 - grab the kexts from my Lion Guide , see signature.

 

Although I see no difference in the 11C71 ones.. but well. who knows last minute tweaks or so. Better use the GM ones.

 

this topic here no longer maintained. thanks.

 

---------------------------------------------------------------------------------------------

 

for Laptop Users with LVDS and Shrike framebuffer @ 1366x768 only.

 

LATEST : 11C71 LION 10.7.2 beta 7 , September 30 2011

 

hopefully the last .. it gets boring.

 

Ati kexts , version 7.12.9 from combo update 10.7.2beta latest.

 

 

 

1. 11c71 Ati 46xx family kexts here ( shrike mobility ATY_init for QE/CI activation included, use latest chameleon without graphicsenabler - put Aty-init in S/L/E ) :

 

2. correct 11c71 AppleGraphicsPowerManagement.kext (AGPM) , modded for SMBIOS of MacBookPro5,1 ( uses fanspeed settings of iMac with Mobility 4670 , this goes in /S/L/E ) :

 

what was modded ?

 

DeviceID 9480 ( = Mobility 4650 HD )

 

Hexstrings in ATI4600controller :

 

APPLE LVDS default 02 00 00 00 40 00 00 00 09 01 00 00 02 01 00 03

 

TOSHIBA LVDS shrike 02 00 00 00 40 00 00 00 09 01 00 00 12 00 00 07

 

output to 1366x768 internal 15,6 inches.

------------------------------------------------------------------

all older builds from 11c37 to 11c55 removed to make space.

Edited by smartie77
  • Like 1
Link to comment
Share on other sites

Do they work under 10.6.8?

 

I can't imagine that.

 

SnowLeo's Ati kexts are versioned 1.6.x

 

Lion are 7.x.x

 

OpenGL is also different in Snow and Lion ..

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

 

I'm trying to get my ATI Radeon HD4530 to run using your method and have some questions. It would be great if you cold give me some help on this:

 

According to the mucha's guide, the 4600 kext should only have 2 instances of personality:

 

http://www.insanelymac.com/forum/index.php?showtopic=252061:

 

"5- You should find 2 instances of the searched personality: the first one is for x86_64 and the second for i386 (make sure you have only 2),"

 

1) In the original and your patched Lion drivers I always find 4 instances. Do the new Lion drives have 4 instances that need to be patched?

 

2) I can not get the RadeonHD kext to run, to get the last bits for my HD4530 personality, do you have any advice on that? See my post in the mucha's thread:

http://www.insanelymac.com/forum/index.php...061&st=420#

 

Danke,

Denis

Link to comment
Share on other sites

Hi,

 

I'm trying to get my ATI Radeon HD4530 to run using your method and have some questions. It would be great if you cold give me some help on this:

 

According to the mucha's guide, the 4600 kext should only have 2 instances of personality:

 

http://www.insanelymac.com/forum/index.php?showtopic=252061:

 

"5- You should find 2 instances of the searched personality: the first one is for x86_64 and the second for i386 (make sure you have only 2),"

 

1) In the original and your patched Lion drivers I always find 4 instances. Do the new Lion drives have 4 instances that need to be patched?

 

2) I can not get the RadeonHD kext to run, to get the last bits for my HD4530 personality, do you have any advice on that? See my post in the mucha's thread:

http://www.insanelymac.com/forum/index.php...061&st=420#

 

Danke,

Denis

 

LVD values appear 4 times in Lion's ATI4600controller, yes . 2 x 32bit and 2x64bit - I can only speculate why this is.

 

RadeonHD.kext can not be used together with ATi kexts or with ATY_init. It is a kext on its own ( replacing ALL framebuffers ). You wont achieve QE/CI as long as you have radeonhd.kext in your system. Use that only for diagnostics or if all other methods for proper resolution not working. It is a 2d vesa framebuffer kext, only for diagnostics and correct resolutions. I used it long before I had luck with ati modding on Leo and Snow, so yes I know the basics of dong's kext.

Link to comment
Share on other sites

Hi Smartie,

 

I'm almost there. ;)

 

I got RadeonHD.kext to run on the 10.6.0 to get the last bits. It came out that they are the same as by mucha.

 

[RadeonHD]: Mapping DIG1 encoder to KLDSKP_UNIPHYE

[RadeonHD]: Crtc[0]: found native mode from Monitor[LVDS Panel]:

[RadeonHD]: Modeline "1366x768" 69 1366 1414 1446 1447 768 771 775 806[RadeonHD]:

[RadeonHD]: Connector "PANEL" uses Monitor "LVDS Panel":

[RadeonHD]: RHDValidateScaledToMode

[RadeonHD]: rhdModeValidateCrtc

[RadeonHD]: DxModeValid: ATOM CRTC 1

[RadeonHD]: rhdAtomOutputModeValid

[RadeonHD]: Listing modesetting layout:

[RadeonHD]: ATOM CRTC 1: tied to Atom PLL 1 and LUT A:

[RadeonHD]: Outputs: AtomOutput UniphyE (PANEL)[RadeonHD]:

[RadeonHD]: ATOM CRTC 2: unused

[RadeonHD]: Unused Outputs: AtomOutput DACA[RadeonHD]: , AtomOutput UniphyB[RadeonHD]:

[RadeonHD]: RHDModesPoolCreate

 

Shrike:

02 00 00 00 40 00 00 00 09 01 00 00 12 00 00 06 Panel

10 00 00 00 10 00 00 00 00 01 00 00 00 10 01 01 VGA

00 08 00 00 00 02 00 00 00 01 00 00 20 01 02 02 HDMI

 

I patched your ATI4600Controller.kext from 11c40 bundle with my values, four times for panel and VGA, but only two times for HDMI - is this correct with HDMI?

 

Updated the Info.plist in ATI4600Controller.kext and ATIRadeonX2000.kext with 95531002. I did not install ATIRadeonX2000VADriver.kext.

 

And no QE/CI.

 

I used both the native boot and the boot_Mobility4650_Shrike.zip

 

ATY_Init posts the card at the boot, but I don't see the ATIFramebuffer.kext being loaded:

 

bash-3.2# kextstat | grep ATI

62 1 0x5d571000 0x139000 0x138000 com.apple.kext.ATISupport (7.1.0) <61 14 13 7 5 4 3 1>

63 0 0x5cedc000 0x27000 0x26000 com.apple.kext.ATI4600Controller (7.1.0) <62 61 14 13 5 4 3 1>

81 0 0x5dd44000 0x24d000 0x24c000 com.apple.ATIRadeonX2000 (7.1.0) <69 61 14 7 6 5 4 3 1>

 

I'm running 10.6.8.

 

Do you have any hints for me?

Link to comment
Share on other sites

Hi Smartie,

 

I'm almost there. :D

 

I got RadeonHD.kext to run on the 10.6.0 to get the last bits. It came out that they are the same as by mucha.

 

[RadeonHD]: Mapping DIG1 encoder to KLDSKP_UNIPHYE

[RadeonHD]: Crtc[0]: found native mode from Monitor[LVDS Panel]:

[RadeonHD]: Modeline "1366x768" 69 1366 1414 1446 1447 768 771 775 806[RadeonHD]:

[RadeonHD]: Connector "PANEL" uses Monitor "LVDS Panel":

[RadeonHD]: RHDValidateScaledToMode

[RadeonHD]: rhdModeValidateCrtc

[RadeonHD]: DxModeValid: ATOM CRTC 1

[RadeonHD]: rhdAtomOutputModeValid

[RadeonHD]: Listing modesetting layout:

[RadeonHD]: ATOM CRTC 1: tied to Atom PLL 1 and LUT A:

[RadeonHD]: Outputs: AtomOutput UniphyE (PANEL)[RadeonHD]:

[RadeonHD]: ATOM CRTC 2: unused

[RadeonHD]: Unused Outputs: AtomOutput DACA[RadeonHD]: , AtomOutput UniphyB[RadeonHD]:

[RadeonHD]: RHDModesPoolCreate

 

Shrike:

02 00 00 00 40 00 00 00 09 01 00 00 12 00 00 06 Panel

10 00 00 00 10 00 00 00 00 01 00 00 00 10 01 01 VGA

00 08 00 00 00 02 00 00 00 01 00 00 20 01 02 02 HDMI

 

I patched your ATI4600Controller.kext from 11c40 bundle with my values, four times for panel and VGA, but only two times for HDMI - is this correct with HDMI?

 

Updated the Info.plist in ATI4600Controller.kext and ATIRadeonX2000.kext with 95531002. I did not install ATIRadeonX2000VADriver.kext.

 

And no QE/CI.

 

I used both the native boot and the boot_Mobility4650_Shrike.zip

 

ATY_Init posts the card at the boot, but I don't see the ATIFramebuffer.kext being loaded:

 

bash-3.2# kextstat | grep ATI

62 1 0x5d571000 0x139000 0x138000 com.apple.kext.ATISupport (7.1.0) <61 14 13 7 5 4 3 1>

63 0 0x5cedc000 0x27000 0x26000 com.apple.kext.ATI4600Controller (7.1.0) <62 61 14 13 5 4 3 1>

81 0 0x5dd44000 0x24d000 0x24c000 com.apple.ATIRadeonX2000 (7.1.0) <69 61 14 7 6 5 4 3 1>

 

I'm running 10.6.8.

 

Do you have any hints for me?

 

you did everything correct, but I thought you was using Lion. These kexts here are for Lion that is..

 

the method for Snow is identical. 10.6.8 hex info is also in ati4600controller. ( 10.6.6 and normal 10.6.7 combo they are in atiframebuffer , and for 10.6.7 macbook combo they are again in ati4600controller ). You can extract the kexts from apples combo updaters using pacifist, or grab mine pre-patched ones from my snow guide.

 

I cannot guarantee that these lion kexts work in snow, thats why it *might* fail here..

 

like i said : you did basically everything right, but the kexts might be wrong. you can only try to see what happens if you put in the x2000va that i said to be excluded ( for dubious lions ) .

 

Lion kexts are numbered 7.x.x

 

Snows are 1.6.x

Link to comment
Share on other sites

like i said : you did basically everything right, but the kexts might be wrong. you can only try to see what happens if you put in the x2000va that i said to be excluded ( for dubious lions ) .

 

Lion kexts are numbered 7.x.x

 

Snows are 1.6.x

 

Hi Smartie,

 

I had to reinstall osx and wanted to get drivers to run on the 10.6.x before upgrading to 10.7.x just to spare the upgrading time.

 

tried with x2000va - no result.

 

Unpacked original 10.6.8 kexts, patched ATI4600 and added the values to both plists, used different bootloaders - same result - no framebuffer is loaded:

 

bash-3.2# kextstat | grep ATI

70 1 0x5bef9000 0x12e000 0x12d000 com.apple.kext.ATISupport (6.3.6) <66 14 13 7 5 4 3 1>

71 0 0x5bda2000 0x29000 0x28000 com.apple.kext.ATI4600Controller (6.3.6) <70 66 14 13 5 4 3 1>

79 0 0x5c65e000 0x247000 0x246000 com.apple.ATIRadeonX2000 (6.3.6) <67 66 14 7 6 5 4 3 1>

 

I can load ATIframebuffer.kext manually, but even then nothing happens:

 

kextutil -v ATIframebuffer.kext

ATIframebuffer.kext appears to be loadable (not including linkage for on-disk libraries).

Loading ATIframebuffer.kext.

ATIframebuffer.kext successfully loaded (or already loaded).

bash-3.2# kextstat | grep ATI

70 2 0x5bef9000 0x12e000 0x12d000 com.apple.kext.ATISupport (6.3.6) <66 14 13 7 5 4 3 1>

71 0 0x5bda2000 0x29000 0x28000 com.apple.kext.ATI4600Controller (6.3.6) <70 66 14 13 5 4 3 1>

79 0 0x5c65e000 0x247000 0x246000 com.apple.ATIRadeonX2000 (6.3.6) <67 66 14 7 6 5 4 3 1>

104 0 0x5b5e0000 0x13000 0x12000 com.apple.kext.ATIFramebuffer (6.3.6) <70 66 14 13 7 5 4 3 1>

 

 

<key>EthernetBuiltIn</key>

<string>Yes</string>

<key>GraphicsEnabler</key>

<string>No</string>

<key>Kernel</key>

<string>mach_kernel</string>

<key>Kernel Flags</key>

<string>-v arch=i386</string>

<key>Legacy Logo</key>

<string>Yes</string>

<key>Timeout</key>

<string>2</string>

 

Display:

 

Type: GPU

Bus: PCIe

PCIe Lane Width: x8

VRAM (Total): 3 MB

Vendor: ATI (0x1002)

Device ID: 0x9553

Revision ID: 0x0000

Displays:

Display:

Resolution: 1024 x 768

Pixel Depth: 32-Bit Color (ARGB8888)

Main Display: Yes

Mirror: Off

Online: Yes

 

ATI kexts in S/L/E:

 

ATI4600Controller.kext

ATIFramebuffer.kext

ATIRadeonX2000.kext

ATIRadeonX2000GA.plugin

ATIRadeonX2000GLDriver.bundle

ATIRadeonX2000VADriver.bundle

ATISupport.kext

ATY_Init.kext

 

All kexts in E/E:

 

ACPIMonitor.kext

ElliottForceLegacyRTC.kext

EvOreboot.kext

FakeSMC.kext

IntelCPUMonitor.kext

IOAHCIBlockStorageInjector.kext

LegacyAppleRTC.kext

NullCPUPowerManagement.kext

SuperIOFamily.kext

 

what the heck???

Link to comment
Share on other sites

...

 

Display:

 

Type: GPU

Bus: PCIe

PCIe Lane Width: x8

VRAM (Total): 3 MB

Vendor: ATI (0x1002)

Device ID: 0x9553

Revision ID: 0x0000

Displays:

Display:

Resolution: 1024 x 768

Pixel Depth: 32-Bit Color (ARGB8888)

Main Display: Yes

Mirror: Off

Online: Yes

 

ATI kexts in S/L/E:

 

ATI4600Controller.kext

ATIFramebuffer.kext

ATIRadeonX2000.kext

ATIRadeonX2000GA.plugin

ATIRadeonX2000GLDriver.bundle

ATIRadeonX2000VADriver.bundle

ATISupport.kext

ATY_Init.kext

 

.........

what the heck???

 

ATY_INIT is not loading the Framebuffer and/or is ignored completely. Thats the Problem here.

the output for Display should say such like this:

 

ATI Radeon Mobility 4650:

 

Chipsatz-Modell: ATI Radeon Mobility 4650

Typ: GPU

Bus: PCIe

Steckplatz: Slot-1

PCIe-Lane-Breite: x16

VRAM (gesamt): 1024 MB

Hersteller: ATI (0x1002)

Geräte-ID: 0x9480

Versions-ID: 0x0000

ROM-Version: 113-B1480A-236

EFI-Treiberversion: 01.00.236

Monitore:

Monitor:

Auflösung: 1366 x 768

Pixeltiefe: 32-Bit Farbe (ARGB8888)

Hauptmonitor: Ja

Synchronisierung: Aus

Eingeschaltet: Ja

Integriert: Ja

 

And Systemprofiler under "PCI Cards" would name the framebuffer like this :

 

Name: ATY,Shrike

Typ: Monitor-Controller

Treiber installiert: Ja

MSI: Ja

Bus: PCI

Steckplatz: Slot-1

Hersteller-ID: 0x1002

Geräte-ID: 0x9480

Subsystem-Hersteller-ID: 0x1179

Subsystem-ID: 0xff80

Versions-ID: 0x0000

Link-Breite: x16

Link-Geschwindigkeit: 2.5 GT/s

 

the Problem IS ATY_init ( from /S/L/E ) , not the kexts , that's also why no GPU BIOS/EFI data is in your output ( remember the data is provided only via ATY_init's fake entries ) .

 

Make sure you have not "radeonhd.kext" somewhere in /S/L/E or /E/E ..

 

try this ATY_INIT one here , works 100% in Snow also and has no DeviceID hardcoded, works for all 46xx cards : ATY_Init_generic46xxfamily.kext.zip

Edited by smartie77
Link to comment
Share on other sites

ATY_INIT is not loading the Framebuffer and/or is ignored completely. Thats the Problem here.

try this ATY_INIT one here , works 100% in Snow also and has no DeviceID hardcoded, works for all 46xx cards : ATY_Init_generic46xxfamily.kext.zip

 

Hi Smartie,

 

thanks a lot for spending your time on this!

 

With this ATY_Init.kext the boot process hangs with "still waiting for root device" and "can't get kextd port"

 

I can get through this using PCIRootUID=1, but still no framebuffer is loaded.

 

PCI Card in System Profiler says:

 

"This computer doesn't contain any PCI cards. If you installed PCI cards, make sure they’re properly installed."

 

Following devices are not recognised by the system:

 

2917 8086 ICH9M-E LPC Interface Controller

2a41 8086 Mobile 4 Series Chipset PCI Express Graphics Port

2a40 8086 Mobile 4 Series Chipset Memory Controller Hub

aa38 1002 RV710/730

9553 1002 M92 Mobility Radeon 4500 5100 Series

8172 10ec RTL8191SEvB Wireless LAN Controller

 

Following errors appear at the boot:

 

IntelCPUMonitor: CPU family 0x6, model 0x17, stepping 0xa, cores 2, threads 0USBF: 0.989 AppleUSBUHCI[0x6e37000]::start unable to initialize UIM

 

ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out

 

virtual bool IOHIDEventSystemUserClient::initWithTask(task*, void*, UInt32): Client task not privileged to open IOHIDSystem for mapping memory

 

Danke,

xaled

Link to comment
Share on other sites

I got this to work on my ati mobility 4670 with fille 1920x1080 resolution in Lion 10.7.2. (had to hex edit ATI4600Controller with my correct settings) thanks again smartie!

 

I was wondering what i need to edit in aty_init.kext and AppleGraphicsPowerManagement.kext to get the ati powerplay/speedstep to work for my device id 9488. the fan is annoying me. would appreciate it if you steered me in the right direction to stop the fan.

 

BTW i am using SMBIOS MBP6.1 since my laptop has an i7 cpu in it.

Link to comment
Share on other sites

First, i would like to thank you for bringing back hope to me :)

i have a sony vaio VGN-FW51ZF with a mobility 4650 card.but after copying files to /S/L/E then reboot i get a black screen. ;)

any idea of the causes and how to correct this problem. thanks in advance.

Link to comment
Share on other sites

aminbh111 follow this guide;

 

http://www.insanelymac.com/forum/index.php...00#entry1736810

 

to find out what you need to hex edit in ATI4600Controller.kext/Contents/MacOS/ATI4600Controller

 

If you can get the 1: radeondump of your video card ROM 2: Dong's RadeonHD.kext output then post it so people will be able to help you more

Link to comment
Share on other sites

here is my decoded dump!

NO Senseid for LVDS!!!

ATOM BIOS Rom:

SubsystemVendorID: 0x104d SubsystemID: 0x9035

IOBaseAddress: 0xd000

Filename: BR34169.001

BIOS Bootup Message:

Sony_M764_M96M2LP_gDDR3 M96 GDDR3 128bit 450e/600m

 

PCI ID: 1002:9480

Connector at index 0

Type [@offset 46098]: LVDS (7)

Encoder [@offset 46102]: INTERNAL_UNIPHY2 (0x21)

Connector at index 1

Type [@offset 46108]: VGA (1)

Encoder [@offset 46112]: INTERNAL_KLDSCP_DAC1 (0x15)

i2cid [@offset 46179]: 0x90, OSX senseid: 0x1

Connector at index 2

Type [@offset 46118]: HDMI-A (11)

Encoder [@offset 46122]: INTERNAL_UNIPHY (0x1e)

i2cid [@offset 46202]: 0x94, OSX senseid: 0x5

Link to comment
Share on other sites

did you add your device id of 9553 1002 into the kexts?

Hi Smartie,

 

thanks a lot for spending your time on this!

 

With this ATY_Init.kext the boot process hangs with "still waiting for root device" and "can't get kextd port"

 

I can get through this using PCIRootUID=1, but still no framebuffer is loaded.

 

PCI Card in System Profiler says:

 

"This computer doesn't contain any PCI cards. If you installed PCI cards, make sure they’re properly installed."

 

Following devices are not recognised by the system:

 

2917 8086 ICH9M-E LPC Interface Controller

2a41 8086 Mobile 4 Series Chipset PCI Express Graphics Port

2a40 8086 Mobile 4 Series Chipset Memory Controller Hub

aa38 1002 RV710/730

9553 1002 M92 Mobility Radeon 4500 5100 Series

8172 10ec RTL8191SEvB Wireless LAN Controller

 

Following errors appear at the boot:

 

IntelCPUMonitor: CPU family 0x6, model 0x17, stepping 0xa, cores 2, threads 0USBF: 0.989 AppleUSBUHCI[0x6e37000]::start unable to initialize UIM

 

ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out

 

virtual bool IOHIDEventSystemUserClient::initWithTask(task*, void*, UInt32): Client task not privileged to open IOHIDSystem for mapping memory

 

Danke,

xaled

Link to comment
Share on other sites

did you add your device id of 9553 1002 into the kexts?

 

 

npci=0x2000 might also help with hanging boot

 

device IDs go into Ati4600controller.kext and into ATiRadeonx2000.kext.

Link to comment
Share on other sites

  • 3 weeks later...
Do not worked for me(((( id9553 notebook samsung rv508.... Help me plz!

 

exchange kexts IOPCIfamily and AppleACPI with the ones from 10.6.7.

Link to comment
Share on other sites

  • 2 months later...

hi smartie77,

 

I have a Sony Vaio FW41E with an 4650 mobility VendorID 1002 and DeviceID 9480. I've heard that senceID can't be decoded from these chips.

What approach should I take? I just installed iAtkos L2 and I didn't add any graphics stuff because it always ends up bad!

Please help me, I am on my way to buy a macbook air, but until then I need to get this working on my laptop so I can make important presentations in Keynote in my college :(

Althought I use hackintosh since the Tiger version, I'm kinda n00b when it comes to edditing hex files or getting videodumps and stuff, so be gentil :D

 

 

CPU: Intel C2D T6400 2.0 MHz

Motherboard: Intel Cantiga PM45

RAM: 4 GB DDR- SDRAM

Graphic Card: ATI Mobility Radeon HD 4650 512 mb GDDR3- VendorID 1002 DeviceID 9480

 

If you need more info just ask me and/or tell me how to get access to them (when it comes to tricky stuff)!

 

Thanks in advance!

Link to comment
Share on other sites

this worked for me ... I have a ATI Mobility Radeon HD 5165 1GB but since it's just a 4650 with higher clocks it has the same device and vendor id ... the only thing not working smoothly is HDMI ... I mean I can plug an external monitor and it will detect it but only one can be available while the other goes black xD ... any thoughts on the matter?

 

PS: thanks for the thread xD

Link to comment
Share on other sites

smarties i used ur kext and also the chameleon .. and it works! but my lvds only work when i plugged in the hdmi.. btw im not using the same laptop as u .. im using dell xps studio 16 with 4670 hd. i change the id in kext n it works. i just having that problem .. can you tell me how to hex edit in framebuffer or the ati4600 ?? i dunno which one to start edit first tq.

Link to comment
Share on other sites

 Share

×
×
  • Create New...