Jump to content

[GUIDE]: The MacBookPro18 Project


  • Please log in to reply
498 replies to this topic

#21
manmal

manmal

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 439 posts
Hi valv,
thanks for your reply.
2 questions :

1) do you have native speedstep ? If yes , why do you have dropssdt=no in your boot.plist ?
2) is your SMexternalclock=280 correct in your smbios.plist? Isn't it 266?

Thanks !
Mal

#22
pepeducks

pepeducks

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Florida USA
First, Thank you so much , VALV
Your technic is cool.
Now my HDX is almost perfect for snow leopard.


Now it can sleep and wake. ( I removed Nullcpupowermanagement.kext)
The first time that it wake up. Bluetooth is working perfect.
But after that when it sleep and wake.
The bluetooth isn't working, and the wifi symbol ( on the top right) turn to red.
It must restart to make the bluetooth work.

Did you have this problem?
How to fix it?

Thank you, and sorry about my english. ;)
pepe

#23
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security

Hi valv,
thanks for your reply.
2 questions :

1) do you have native speedstep ? If yes , why do you have dropssdt=no in your boot.plist ?
2) is your SMexternalclock=280 correct in your smbios.plist? Isn't it 266?

Thanks !
Mal

hi Mal,
to be short:
1) yes, speed-step is working fine.
regarding DropSSDT key, I think u misunderstanding how it works. In fact DropSSDT=No means u load these tables. It depends though, either u load 'em from Bios or from HDD. please play with these values a little, it'll help u understand. If u still confused, give feedback into the right topic.
2) It may seem like I was mistyping the external clock value, but I ensure this and many more will be cleared later on the guide :D

btw: why quote my post like that. no need for it guys. please think about people suffering to follow what we accomplish here :D .
Sorry, maybe u was trying to show me something :borg:
could u please edit your post . thanx
Greetz,

The first time that it wake up. Bluetooth is working perfect.
But after that when it sleep and wake.
The bluetooth isn't working, and the wifi symbol ( on the top right) turn to red.
It must restart to make the bluetooth work.

Did you have this problem?
How to fix it?

Sorry, I don't have Bluetooth actually (was planning to buy an usb dongle though). But don't worry I wrote this one on my ToDo list. we'll get to it soon.

Greetz,

#24
pepeducks

pepeducks

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Florida USA

hi Mal,
to be short:
1) yes, speed-step is working fine.
regarding DropSSDT key, I think u misunderstanding how it works. In fact DropSSDT=No means u load these tables. It depends though, either u load 'em from Bios or from HDD. please play with these values a little, it'll help u understand. If u still confused, give feedback into the right topic.
2) It may seem like I was mistyping the external clock value, but I ensure this and many more will be cleared later on the guide :D

btw: why quote my post like that. no need for it guys. please think about people suffering to follow what we accomplish here. sorry for being harsh, maybe u was trying to show me something.
could u please edit your post. thanx
Greetz,


Sorry, I don't have Bluetooth actually (was planning to buy an usb dongle though). But don't worry I wrote this one on my ToDo list. we'll get to it soon.

Greetz,


Why you don't buy the internal bluetooth?
It'll be better.
http://www.impactcom...483113-001.html
maybe you can find it on ebay for cheaper.

Thank you

#25
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security

Why you don't buy the internal bluetooth?
It'll be better.
http://www.impactcom...483113-001.html
maybe you can find it on ebay for cheaper.

Thank you

It's not a matter of bucks (it remains affordable), but people over on hphdx scared me a little when it comes to antennas workout..
thank u anyway.

#26
hdx18

hdx18

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts
Hi valv!

By the way, it is now possible to purchase new models of pci-e mini-cards, integrating both Wi-Fi and Bluetooth, and using the same cable. To be honest, I don't know if it's compatible with OS X drivers... But it could be an option.

If you're interested, is't possible to modify your BIOS for any pci-e mini-card. I found a way to add a SLIP2.1 identification (to make your system recognized as manufactured with Windows 7, i.e. another way to activate this OS) and also to modify the whitelist for any pci-e mini-card device. :D

Since I did it more than 4 months ago, I don't really remember the details, but I managed to save the manipulations on an external HD. Actually, I have airport activated on my Snow Leopard, using a 2.4/5 GHz Wireless 1505 PCI Express WLAN Mini-Card for Dell Vostro 1310/ 1510/ 2510 Laptops (i.e. Broadcom chip), and it's working perfectly! :P It could be any other mini-card with an OSX-compatible chip... just changing for the right ID in the whitelist. In a matter of fact, I think there are now better cards.

#27
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security
@hdx18, Nice share! In fact It could be done this way, and if u can go further on, I know some that would really enjoy this.
Btw, it could be done on the card's level by patching its firmware. This way lazy people can overcome playin' with their Bios, thus avoindin' any dangerous harm.
I meant this part to be the bonus section of the guide :) but since u pushed it on the grill, u're welcome to make the sausage that goes with. Again thank u for this m8 ;)

#28
manmal

manmal

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 439 posts
hi valv,
i am really curious to know such things you are expecting to write soon to the guide in this thread :) I am thrilled about that !
Also ... i didn't understand where and how to use ssdt and other acpi tables (extracted from everest) using this anv's bootloader... i guess i will find the answers in this thread soon ;)
Great work !
Mal

#29
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security

Actually, I have airport activated on my Snow Leopard, using a 2.4/5 GHz Wireless 1505 PCI Express WLAN Mini-Card for Dell Vostro 1310/ 1510/ 2510 Laptops (i.e. Broadcom chip), and it's working perfectly!

I was thinking about another model BCM4321/4311. But if this worked for u, please if as some guidance
Greetz,

#30
hdx18

hdx18

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts

I was thinking about another model BCM4321/4311. But if this worked for u, please if as some guidance
Greetz,


It's not so important, because people can choose the chip ID they want. They just have to choose one supported by OS X. They'll put it the way and where I'll tell them in the BIOS (changing vendor & chip IDs of a PCI-E mini-card already in the whitelist with one supported). For example, my Dell card has a BCM4328 chip...

I may be wrong, but I see a possible complication with an ID change in the mini-card firmware. In fact, the BIOS compares IDs in the whitelist with the chip ID on the card (not the card itself). Since OS X uses this ID in its drivers, your modified card (i.e. modified chip ID) could be unrecognized by the OS even if passing though an unmodified BIOS whitelist checkpoint. I'm not completely sure about it, but it seems pretty logical. For that reason, I think its better to patch the BIOS with the original ID of a card recognized by Snow Leopard.

Another thing to consider: your new card must "fit" your cabling configuration; my original card was an Intel 5100 with TWO connections. Some Atheros (if not all, I'm not sure about it) have THREE connections... So, if you choose differently from your original wire setup, you'll have to change the cables (and open the computer case to do it :wacko: ) !!! Obviously, your mini-card must also fit the slot on your computer (pins are not always oriented the same way).

I already made some research on wireless chips natively supported in OSX. :wacko: I upload the IDs compilation I made (from original SL 10.6.3 kexts). Essentially, there are two vendors: Broadcom and Atheros. So, when choosing a card, be sure it has one of those chips.

I'll come with the entire solution (BIOS modification) in another post! ;)
PS: You'll need to do it in a Windows OS...

Attached Files



#31
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security

I may be wrong, but I see a possible complication with an ID change in the mini-card firmware. In fact, the BIOS compares IDs in the whitelist with chips IDs on the card (not the card itself). Since OS X uses those IDs in its drivers, your modified card could be unrecognized by the OS even if passing though an unmodified BIOS whitelist checkpoint. I'm not completely sure about it, but it seems pretty logical. For that reason, I think its better to patch the BIOS with the original ID of a card recognized by Snow Leopard.

This remains minimal, cuz' one's we overcome the Bios barrier, we can trick the system into thinking it is dealing with another card than the declared id ( we go like telling someone the truth by telling him the lie was a lie :( ). more seriously it would work just like the usb thing as long as u know how and what ( am sayin' this now because there is times where the device declares its id anyway -_- but we can go further on this and it should work)

my original card was an Intel 5100 with TWO connections.

same thing over here

I already made some research on wireless chips natively supported in OSX. :rolleyes: I upload the IDs compilation I made (from original SL 10.6.3 kexts). Essentially, there are two vendors: Broadcom and Atheros. So, when choosing a card, be sure it has one of those chips.

I'll come with the entire solution (BIOS modification) in another post! ;)
PS: You'll need to do it in a Windows OS...

that is really great news mate. btw, didn't look to the list by now (typing), do u know of compatible wifi cards that could include bluetooth (and be 100%ly osx)? by 100% I mean no external kext be needed.
till next time then, see ya
Greetz,

#32
hdx18

hdx18

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts

that is really great news mate. btw, didn't look to the list by now (typing), do u know of compatible wifi cards that could include bluetooth (and be 100%ly osx)? by 100% I mean no external kext be needed.
till next time then, see ya
Greetz,


To be honest, I can't tell you for sure because I have 2 cards on my HDX18 (BCM2045=Bluetooth; BCM4328=WiFi) and they were already installed when I purchased it. Both of them work perfectly in OSX.

Nevertheless, I did some search. A combo pci-e mini-card exists. It's made by Broadcom (BCM943224PCIEBT) and is installed in late-2009 MacBooks. It's a custom (but Broadcom-made) BCM43224 (basically a dual-band BCM4322 plus a BCM2070 for Bluetooth).

Picture of the card:
http://images.weipho...2478633560a.jpg
This is an official Apple replacement part, and may look slightly different from a generic Broadcom version.

The description for BCM943224HMB (the same card in a different form factor) can be viewed at
http://www.broadcom....ns/BCM943224HMB

So, if you find a mini-card manufactured with this chip, it should work. But again, you'll be faced with a problem I already mentioned: you'll need to connect 3 wires to it (2 for WiFi and 1 for Bluetooth). You only need one slot, but 3 wires... :)

#33
hdx18

hdx18

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts
So, let’s talk about modifying your BIOS whitelist for a new wireless device.

First of all, you know you do it at your own risks. Be sure of what you do, because messing up with your BIOS can kill your computer. This method is presented for educational purpose only… :(

To do the work, you will need:

1) A computer running a Windows OS

2) The last BIOS update from HP (F.32A for HDX18)
ftp://ftp.hp.com/pub/softpaq/sp46001-46500/sp46073.exe

3) EzH2O - The program to open your BIOS binary
http://www.mediafire.com/?3zdzl0h0n1j

4) An HEX Editor permitting you to access directly the computer memory and write to it.
I like WinHex, but you must register it to have the right to write the memory.
You could use any other HEX Editor of your choice.
http://www.x-ways.net/winhex.zip

5) A program to unzip the BIOS package for HP and the EzH2O program
Could be Winrar.
http://www.rarsoft.com/download.php

6) A natively airport-supported wireless card. Obviouly! :P

Your new card must "fit" your cabling configuration; my original card was an Intel 5100 with TWO connections. Some Atheros (if not all, I'm not sure about it) have THREE connections... So, if you choose differently from your original wire setup, you'll have to change the cables (and open the computer case to do it ) !!! Obviously, your mini-card must also fit the slot on your computer (pins are not always oriented the same way).

I already made some research on wireless chips natively supported in OSX. I upload the IDs compilation I made (from original SL 10.6.3 kexts). Essentially, there are two vendors: Broadcom and Atheros. So, when choosing a card, be sure it has one of those chips.

You will also need the Vendor/Chip & Subsys IDs of your new airport-supported wireless card. Since you purchased this card for that particular reason, you should already have an idea of those IDs. But to be sure, let’s confirm this info. Since you can’t install the mini-card without having it blocked by the BIOS barrier during the boot process, you’ll have to install it once Windows is running. Just before starting your computer, remove your original wireless card, but make sure the slot stays accessible. Once Windows is running, install the new card with CAUTION… Normally, it’s not a good idea to install a piece of hardware while a computer is powered on, but if you really want to be sure of your IDs, I don’t see otherwise. Next on Windows 7, go to “Control Panel”, “System and security”, “System”, “Device manager” . The way to get to the device manager can be a bit different depending of you version of Windows. Once there, you’ll search for the network adapter (chances are that a driver was installed for the new device; if not, just search for a new network adapter). Right-click on it and choose “Properties”. Select “Details” and search for the identification numbers for that device.

You should see something like this:

PCIVEN_14E4&DEV_4328&SUBSYS_000A1028&REV_03
PCIVEN_14E4&DEV_4328&SUBSYS_000A1028
PCIVEN_14E4&DEV_4328&CC_028000
PCIVEN_14E4&DEV_4328&CC_0280
(This is an example for a Dell Wireless 1505 Draft 802.11n WLAN Mini-Card)

The important numbers are: VEN for Vendor (In this example: 14E4), DEV for Chip (In this example: 4328), SUBSYS (In this example: 000A1028). You’ll have to manipulate them a bit for using them afterward. You will end up with two series of letters/numbers:

Vendor/Chip ID: Merging VEN and DEV together. Note the inversion of symbols of each series. In my example, VEN is now E414 and DEV is 2843. Put together, you have a Vendor/chip ID of E4142843.

Subsys ID: You must also make inversions. The two last symbols being now the first, and doing so, from the end to the beginning, two symbols at a time. In my example, 000A1028 gives you a Subsys ID of 28100A00

Now, the modifications! :D

1) Unzip the BIOS update with Winrar, but don’t run it. To make so, right-click on the filename and choose “Extract to sp46073”. In the new folder, you’ll find 7 files. The BIOS binary is named “3610F32.fd”

2) Unrar the EzH2O program in a folder of your choice.

3) Install WinHex (or the Hex Editor of your choice). You must have the capacity to read from and write directly to the memory.

4) Then, start EzH2O.exe
Once started, choose “File”, then “Load File…” Open the BIOS binary (3610F32.rd) you just unzipped previously. A pop-up window with some infos about your BIOS will appear. Press OK. Let the program run in the background and do nothing else with it for now.

5) Open WinHex. Choose “Tools”, “Open RAM…”, go to “Ezh2o” and open its primary memory.

6) Now, the idea is to replace two sets of numbers (Vendor/Chip and Subsys IDs) of a wireless PCI-E device included in the whitelist with those of your new hardware. I choose not to modify the IDs of my WiFi 5100 (VEN_8086, DEV_4237, SUBSYS_12118086); this way, I can swap again with the original hardware if necessary. So, in WinHex, search the RAM for this hexadecimal chain: 86803242 and replace it with your new Vendor/Chip ID (in my example, E4142843). Do the same for the Subsys ID: search and change 86800112 for your new ID (in my example, 28100A00). You shouldn’t find more than one Vendor/Chip ID (86803242) and one Subsys ID (86800112) to change.
Once done, save your changes in WinHex by hitting the disk. This will directly write to the EzH2O program’s working RAM memory.
CAUTION not to do any other changes to the RAM memory before saving it!!! :(

7) Then, go back to EzH2O and “Save as” with a filename different from the original BIOS binary.

8) Use the flash utility inside sp46073 folder to flash the new image to the BIOS.

9) Voilà! You have now a working airport mini-card in your system!!! :D :D :D



Edit: I removed the modification for the Subsys ID. Even if I already read about it, I think it has no sense. In fact, the result was modifying a Vendor/chip ID of another card in the whitelist with a Subsys ID. This has no real impact on the whitelist, other than making the BIOS think that this Subsys ID is new card to allow (wich is not!)...

Edit 2: Finally, I verified to be sure and I change my mind again. Sorry! :robot: So, you must modify also the Subsys ID. I was correct the first time. The HEX chain 86800112 is really an original Subsys ID linked to the original Vendor/Chip ID 86803242. It means that you must change both of them for the new Vendor/Chip & Subsys IDs of your airport compatible mini-card. I re-edited the method above to reflect the correct manipulations... :)



Now valv, I'm ready for the rest of your DSDT & SSDT files modifications!

:P

Attached Files



#34
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security
@hdx18, wow! what else can I say about. u really made a good contribution to the rrest of us. big thank you.
Regarding DSDT, don't worry, it is weekend soon, and I will be adding some hacks for your eyes.
Greetz

#35
rachaf

rachaf

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts
Thank you very much Valv
i have hp dv5 laptop and your hacks work also for me
waiting for your next hacks (fixs) :)

#36
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security

Thank you very much Valv
i have hp dv5 laptop and your hacks work also for me
waiting for your next hacks (fixs) :lol:

soon :)
btw, should we rename the topic to hp notebooks then :P ? just kidding.
keep tuned.

#37
rachaf

rachaf

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts

soon :)
btw, should we rename the topic to hp notebooks then :P ? just kidding.
keep tuned.


Why not :P ? :lol: between the only hack that not worked for me is this:
6) For each line 806 & 820,
replace Name (BCL1, Package (0x0D)
with Name (BCL1, Package (0x0B)


it seems that this ok for me

thank you again

and sorry for my english;

#38
manmal

manmal

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 439 posts
hi valv,
changing the bootloader to anv's one (manual installation method of boot0, boot1h and boot) , battery meter shows correctly with voodoobattery ! it was my latest ver of chameleon i was using causing such strange behaviour.
Thanks for that :(
...I am just waiting for you for other dsdt fixes and how-to-use ssdt-x tables ... ;)
Mal

#39
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security

hi valv,
changing the bootloader to anv's one (manual installation method of boot0, boot1h and boot) , battery meter shows correctly with voodoobattery ! it was my latest ver of chameleon i was using causing such strange behaviour.
Thanks for that :(
...I am just waiting for you for other dsdt fixes and how-to-use ssdt-x tables ... ;)
Mal

Hi Mal,
Glad to know it did work for u. yep, It took longer time than expected with the loader. but, don't worry, I'll be posting next free time :D

Greetz,

#40
jdys_1991

jdys_1991

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
Is the guide 100% complete yet or is there still bits missing?
And thank you for the great work, Valv! :unsure:





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