|
http://blog.sina.com.cn/s/blog_004df7170101dd5o.html 原帖
乞丐版 |
| 改装后 | CPU Intel B960 |
| CPU Intel I7-3612QM | 内存 2G |
| 内存 8G DDR3 1600 | 硬盘 320G |
| 硬盘 MSATA 128G SSD + 64G SSD | 主板 Intel HM77 |
| 主板 Intel HM77 | 显卡 Intel HD 3000 |
| 显卡 Intel HD 4000 | 网卡 2230 BGN |
| 网卡 AR5B195(Ar9002wifi+蓝牙) | BIOS:H2ET68WW(1.68) |
| BIOS:H2ET66WW(1.66)无白名单限制 |
准备工作
1.去白名单限制的bios
2.10.9镜像修改版
3.DSDT及各种驱动
备份现有bios版本
需要安装Microsoft .NET Framework 3.5
BIOS_Backup_TooKit_V2.0工具下载
http://www.bios.net.cn/down/BIOSsggj/2009-09-14/437.html#edown
http://pan.baidu.com/s/1oqjxD
Dos启动盘制作工具
http://pan.baidu.com/s/1mUqlk
要再纯dos环境刷
然后刷添加白名单BIOS 1.66
http://pan.baidu.com/s/1oWmU6
一定要先刷原版bios ,再刷修改版。
刷完之后就可以换网卡了
或者刷去除白名单限制的bios
http://pan.baidu.com/s/11N21X
-------------------------------------------------------------------------------
安装Mavericks
将硬盘划分一个10G的临时分区,不要格式化,分配盘符。
用HDinstall硬盘写入助手将懒人包写进10G的分区里,然后安装win版变色龙,引导安装。
安装后替换mac版变色龙。
变色龙win版 wowpc.iso.Chameleon_2.2svn_r2255_trunk
http://pan.baidu.com/s/1iQA8r
变色龙mac版 Chameleon_2.2svn_r2255_trunk_pkg
http://pan.baidu.com/s/1GG8kU
DSDT
http://pan.baidu.com/s/1CCMTB
http://pan.baidu.com/s/1zgeg8
HD4000神奇代码(如果用DSDT驱动显卡,可不用加入下面神奇代码)
<key>device-properties</key>
<string>5e0000000100000001000000520000000100000002010c00d041030a000000000101060000027fff04002c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000003006601</string>
http://pan.baidu.com/s/145tsg
SMBIOS机型设置(air/pro均支持)
http://pan.baidu.com/s/1km78s
WIFI&蓝牙
WIFI内建,修改DSDT,替换自己的subsystem-id和subsystem-vendor-id,这两个id从windows设备管理器看。比如我的网卡ID......168C002B&SUBSYS_30AB1895&REV_01,把红色部分对调AB 30就是subsystem-id,蓝色部分对调95 18就是subsystem-vendor-id。改完以后可以连接WPA2-PSK AES加密网络。- Device (RP02)
- {
- Device (ARPT)
- {
- Name (_ADR, Zero)
- Name (_PRW, Package (0x02)
- {
- 0x0B,
- 0x05
- })
- Method (_DSM, 4, NotSerialized)
- {
- Store (Package (0x0C)
- {
- "AAPL,slot-name",
- Buffer (0x08)
- {
- "AirPort"
- },
- "device-id",
- Unicode ("*"),
- "device_type",
- Buffer (0x08)
- {
- "AirPort"
- },
- "model",
- Buffer (0x34)
- {
- "Atheros 9285 8802.11 b/g/n Wireless Network Adapter"
- },
- "subsystem-id",
- Buffer (0x04)
- {
- 0xAB, 0x30, 0x00, 0x00
- },
- "subsystem-vendor-id",
- Buffer (0x04)
- {
- 0x95, 0x18, 0x00, 0x00
- }
- }, Local0)
- DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
- Return (Local0)
- }
- }
复制代码 1.蓝牙直接冷启动启动会出现: 蓝牙不可用
需要安装IOath3kfrmwr.kext
http://pan.baidu.com/s/1gjdYE
官方下载地址:
https://code.google.com/p/os-x-atheros-3k-firmware/downloads/list
2.蓝牙无法关闭,蓝牙唤醒灰色不可选:
先查蓝牙硬件ID
需要将16进制转换为10进制
VID 0x0CF3 转换后 3315
PID 0x3002 转换后 12290
http://www.statman.info/conversions/hexadecimal.html
可以在这里转换,只用填写0x后面的。
测试后不起作用,后来发现从mac里面看蓝牙ID和win里面的蓝牙id不一样,上面按照mac的id改了之后没有任何效果,就用win的id试试
Windows里面看为Generic Bluetooth Enumerator
VID 0x0CF3 转换后 3315
PID 0x3005 转换后 12293
找到
/System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHCIControllerUSBTransport.kext/Contents/Info.plist
查找
BroadcomUSBBluetoothHCIController - MediaLink BT3.0 Adapter
BroadcomUSBBluetoothHCIController - MediaLink BT4.0 Adapter
保险起见把这两个都改了,如图。
改完后,重建缓存,重启发现蓝牙可以关闭,也可以勾选允许蓝牙设备唤醒
3.蓝牙驱动,但无法搜索蓝牙硬件
经过大量尝试最终找到解决方案,找到
/Library/Preferences/com.apple.Bluetooth.plist
将ControllerPowerState 从0改为1,清除以前的蓝牙缓存(DeviceCache、HIDDevices)如图
4.出现 [IOBluetoothHostControllerUSBTransport][configurePM] -- ERROR -- waited 30 seconds and still did not get the commandWakeup() notification 之类的等待30秒的问题
找到 /System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHostControllerUSBTransport.kext/Contents/macOS/IOBluetoothHostControllerUSBTransport,用UltraEdit打开
修改红色部分
00 00 01 0f 85 de 00 00 00
00 00 01 0f 84 de 00 00 00
------------------------------------------------------------------------
声卡驱动
http://pan.baidu.com/s/17nh4W
http://pan.baidu.com/s/1oqsDW
有线网卡驱动
http://pan.baidu.com/s/19puyY
电池驱动驱动
http://pan.baidu.com/s/1nAtdO
触摸板键盘驱动
http://pan.baidu.com/s/1uvTIv
USB3.0驱动
http://pan.baidu.com/s/11h4j9
开机会停留在Waiting for DSMOS比较长的时间,影响开机速度
可以尝试下面的方法解决
http://www.insanelymac.com/forum ... really-slow-solved/
执行 "sudo chown root:wheel /" 并重新启动
K29的bios提供ctrl和fn键互换的功能,在config里keyboard/mouse开启enabled就行了。
HDMI音频输出,修改DSDT,添加显卡,需要注意ig-platform-id用你自己的 Method (_DSM, 4, NotSerialized) {
Store (Package (0x06)
{
"device-id",
Buffer (0x04)
{
0x66, 0x01, 0x00, 0x00
},
"AAPL,ig-platform-id",
Buffer (0x04)
{
0x03, 0x00, 0x66, 0x01
},
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
删除神奇代码
用Ultraedit或者HexEdit打开
S/L/E/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri
里面的接口信息
05 03 00 00 02 00 00 00 30 00 00 00 // LVDS
02 05 00 00 00 04 00 00 07 04 00 00 // HDMI
03 04 00 00 00 04 00 00 81 00 00 00 // DVI
04 06 00 00 00 04 00 00 81 00 00 00 // DVID
查找到02 05 00 00 00 04 00 00 07 04 00 00
改为02 05 00 00 00 08 00 00 06 00 00 00
出现 Network delay is not specified! Defaulting to 0x384的解决办法
/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources
Mac-00BE6ED71E35EB86 iMac13,1
Mac-2E6FAB96566FE58C MacBookAir5,2
Mac-4B7AC7E43945597E MacBookPro9,1
Mac-6F01561E16C75D06 MacBookPro9,2
Mac-7DF2A3B5E5D671ED MacBookPro9,2
Mac-031AEE4D24BFF0B1 Macmini6,1
Mac-66F35F19FE2A0D05 MacBookAir5,1
Mac-AFD8A9D944EA4843 MacBookPro10,2
Mac-C3EC7CD22292981F MacBookPro10,1
Mac-F65AE981FFA204ED Macmini6,2
Mac-FC02E91DDD3FA6A4 iMac13,2
找到自己的机型设置,添加
<key>NetworkTimerDelay</key>
<integer>900</integer>
---------------------------------------------------------------
关于屏幕亮度,之前总觉得亮度不够,虽然调节了最大亮度,后来修改了AppleIntelFramebufferCapri才达到真正的最大亮度。
找到你用的ig-platform-id,比如 03 00 66 01
01020400 //FBIndex / Pipes/ Ports = 4 10070000 10070000 // Maximum brightness 0x710修改为:12130000 12130000 // Maximum brigthenss 0x1312
关于VGA(网上有些接口写错,注意多对比)
AAPL,ig-platform-id: 01660003, Stolen RAM for FB: 64MB, Pipes: 2, Ports: 2, FBMem: 2
05 03 00 00 02 00 00 00 30 00 00 00 // LVDS 正常
02 05 00 00 00 08 00 00 06 00 00 00 // DisplayPort 正常
03 04 00 00 00 04 00 00 81 00 00 00 // DisplayPort 无
04 06 00 00 00 04 00 00 81 00 00 00 // DisplayPort VGA不显示
0503 - LVDS (笔记本内建显示器)
0602 - VGA VGA - 1000/0010/0001
0205 - HDMI HDMI - 0008 and 06
0406 - DVI DVI DUAL LINK - 0400
0304 - DP DVI/DP - 0004
VGA : 06 02 00 00 10 00 00 00 ?? ?? 00 00
ig-platform-id: 01660000, Stolen is FB RAM: 96MB, Pipes: 3, Ports: 4, FBMem: 3
ig-platform-id: 01660001, Stolen is FB RAM: 96MB, Pipes: 3, Ports: 4, FBMem: 3
ig-platform-id: 01660002, Stolen is FB RAM: 64MB, Pipes: 3, Ports: 1, FBMem: 1
ig-platform-id: 01660003, Stolen is FB RAM: 64MB, Pipes: 2 Ports: 2, FBMem: 2
ig-platform-id: 01660004, Stolen is FB RAM: 32MB, Pipes: 3, Ports: 1, FBMem: 1
ig-platform-id: 01620005, Stolen is FB RAM: 32MB, Pipes: 2, Ports: 3, FBMem: 2
ig-platform-id: 01620006, Stolen RAM for FB: 0MB, Pipes: 0, Ports 0, FBMem: 0
ig-platform-id: 01620007, Stolen RAM for FB: 0MB, Pipes: 0, Ports 0, FBMem: 0
ig-platform-id: 01660008, Stolen is FB RAM: 64MB, Pipes: 3, Ports: 3, FBMem: 3
ig-platform-id: 01660009, Stolen is FB RAM: 64MB, Pipes: 3, Ports: 3, FBMem: 3
ig-platform-id: 0166000A, Stolen is FB RAM: 32MB, Pipes: 2 Ports: 3, FBMem: 2
ig-platform-id: 0166000B, Stolen is FB RAM: 32MB, Pipes: 2 Ports: 3, FBMem: 2
K29含LVDS,VGA, HDMI三个接口
可选0,1,8, 9,A, B进行测试。
AAPL,ig-platform-id: 01660000
01 00 00 00 02 00 00 00 03 00 00 00 // LVDS
02 05 00 00 00 04 00 00 07 00 00 00 // DisplayPort
03 04 00 00 00 04 00 00 07 00 00 00 // DisplayPort
04 06 00 00 00 04 00 00 07 00 00 00 // DisplayPort
AAPL,ig-platform-id: 01660001
01 00 00 00 02 00 00 00 03 00 00 00 // LVDS
02 05 00 00 00 08 00 00 06 00 00 00 // HDMI
03 04 00 00 00 04 00 00 07 01 00 00 // DisplayPort
04 06 00 00 00 04 00 00 07 01 00 00 // DisplayPort


AAPL,ig-platform-id: 01660008
01 00 00 00 02 00 00 00 03 00 00 00 // LVDS
02 05 00 00 00 04 00 00 07 01 00 00 // DisplayPort
03 04 00 00 00 04 00 00 07 01 00 00 // DisplayPort
AAPL,ig-platform-id: 01660009
01 00 00 00 02 00 00 00 03 00 00 00 // LVDS
02 05 00 00 00 04 00 00 07 01 00 00 // DisplayPort
03 04 00 00 00 04 00 00 07 01 00 00 // DisplayPort
AAPL,ig-platform-id: 0166000A
02 05 00 00 00 04 00 00 07 01 00 00 // DisplayPort
03 04 00 00 00 04 00 00 07 01 00 00 // DisplayPort
04 06 00 00 00 08 00 00 06 00 00 00 // HDMI
AAPL,ig-platform-id: 0166000B
02 05 00 00 00 04 00 00 07 01 00 00 // DisplayPort
03 04 00 00 00 04 00 00 07 01 00 00 // DisplayPort
04 06 00 00 00 08 00 00 06 00 00 00 // HDMI
AAPL,ig-platform-id: 01660003
05 03 00 00 02 00 00 00 30 02 00 00 // LVDS
02 05 00 00 00 08 00 00 06 00 00 00 // HDMI
03 04 00 00 00 04 00 00 81 00 00 00 // DVI
06 02 00 00 02 00 00 00 30 00 00 00 // VGA
测试结果:
更换了01660009的ID。
platform-id 和修改的ppleIntelFramebufferCapri必须对应,比如ID 01660009,搜索 09 00 66 01,否则修改其他的不会生效。
|
打赏楼主
扫码打赏,你说多少就多少
|