Subscribe to our RSS news feed
AAPL 275.62 (0.56)

Chameleon with SMBIOS patching
***
  • Group: Members
  • Posts: 128
  • Joined: 23-October 08
  • Member No.: 308,601
Hello all. Despite not having much free time I could held myself off coding and wrote an SMBIOS patching for Chameleon. As usual compiled version + patch. Thanks superhai for pointing me which values have to be changed in SMBIOS. This work is really fresh. I didn't test it much yet. After installing it you need to specify the SMBIOS values in com.apple.Boot.plist. Original message by superhai. In square brackets - the names of variables in com.apple.Boot.plist
QUOTE
There are certain things that are more important than others. But the values I change in SMBIOSResolver are the following that smbios uses:

Table Type 0 (bios):
version (MBP41.88Z.00C1.B00.0802091544) [SMbiosversion]

Table Type 1 (system):
manufacturer (Apple Inc.) [SMmanufacter]
productname (MacBookPro4,1) [SMproductname]
version (1.0) [SMsystemversion]
serial-number (SECRETSERIAL) [SMserial]

Table Type 4 (cpu):
external-clock [SMexternalclock]
maximum-clock [SMmaximalclock]

Table Type 17 (memory):
manufacturer (Unknown) [SMmemmanufacter]
memorytype [SMmemtype]
memoryspeed [SMmemspeed]
serialnumber (Unknown) [SMmemserial]
partnumber (Unknown) [SMmempart]
devicelocator [SMmemdevloc]
banklocator [SMmembankloc]

You should check if they contain a sane value, and if not update with a dummy value (what I have in parentesis is what I used). Except clock and memoryspeed, which should be calculated or provided from some kind of input file, for memory you could also make routine to read spd data via smbus, but i dont think that is feasible due to space. Serialnumbers could be made more appleish or just provide whatever is there.


Depending on your BIOS you may not need to modify all theese parameters. If there are multiple tables of the same type then modifications will be applied to all of them. If you want to modify only first table then suffix "_1" to parameter name, "_2" for second, ...
Eg SMmemserial changes serials of all memory banks
SMmemserial_1 changes the serial of first bank
SMmemserial_2 changes the serial of second bank

Here is extract from my com.apple.Boot.plist using superhai's values:
CODE
         <key>SMbiosversion</key>
         <string>MBP41.88Z.00C1.B00.080209154</string>
         <key>SMmanufacter</key>
         <string>Apple Inc.</string>
         <key>SMproductname</key>
         <string>MacBookPro4,1</string>
         <key>SMsystemversion</key>
         <string>1.0</string>
         <key>SMserial</key>
         <string>SECRETSERIAL</string>


P.S. yeah I know this thread should belong to XLabs but I have no right to create threads there. Could anybody move it?
Thanks for Korrupted for moving thread
Attached File(s)
Attached File  Chameleonsm.zip ( 40.56K ) Number of downloads: 2427
 
PM Profile Card
Go to the top of the page
+ Quote Post

Posts in this topic
- mackerintel   Chameleon with SMBIOS patching   Nov 18 2008, 07:25 PM
- - roisoft   this patch contains your previous DSDT patch? gra...   Nov 18 2008, 07:41 PM
|- - mackerintel   QUOTE (roisoft @ Nov 18 2008, 08:41 PM) t...   Nov 18 2008, 07:44 PM
|- - roisoft   QUOTE (mackerintel @ Nov 18 2008, 08:44 P...   Nov 18 2008, 07:47 PM
- - THe KiNG   QUOTE (roisoft @ Nov 18 2008, 09:41 PM) t...   Nov 19 2008, 08:43 AM
- - Slice   Please look here http://forum.insanelymac.com/inde...   Nov 19 2008, 08:49 AM
- - mackerintel   QUOTE (THe KiNG @ Nov 19 2008, 09:43 AM) ...   Nov 19 2008, 08:57 AM
- - Slice   I tried. This is my Boot.plist CODE<dict> ...   Nov 19 2008, 09:54 AM
|- - mackerintel   QUOTE (Slice @ Nov 19 2008, 10:54 AM) I t...   Nov 19 2008, 02:01 PM
|- - Slice   QUOTE (mackerintel @ Nov 19 2008, 05:01 P...   Nov 19 2008, 04:31 PM
|- - mackerintel   QUOTE (Slice @ Nov 19 2008, 05:31 PM) Yes...   Nov 19 2008, 04:48 PM
|- - Superhai   QUOTE (Slice @ Nov 19 2008, 05:31 PM) Yes...   Nov 20 2008, 04:24 AM
- - BlackCH   It works here; DSDT override and SMBIOS features. ...   Nov 19 2008, 03:20 PM
|- - mackerintel   QUOTE (BlackCH @ Nov 19 2008, 04:20 PM) I...   Nov 19 2008, 03:25 PM
- - robertoSTUDIOS   Hi! Grat stuff! Working serial, modell, ...   Nov 19 2008, 05:53 PM
|- - mackerintel   QUOTE (robertoSTUDIOS @ Nov 19 2008, 06:5...   Nov 19 2008, 06:05 PM
- - osx86_noob   QUOTE (mackerintel @ Nov 19 2008, 03:25 A...   Nov 20 2008, 04:02 AM
- - Slice   Next attempt CODE<key>SMexternalclock...   Nov 20 2008, 10:10 AM
|- - mackerintel   QUOTE (Slice @ Nov 20 2008, 11:10 AM) Nex...   Nov 20 2008, 11:55 AM
|- - Slice   QUOTE (mackerintel @ Nov 20 2008, 02:55 P...   Nov 20 2008, 01:33 PM
- - milanca   Working great here as well, on Q6600, all vanilla ...   Nov 20 2008, 10:52 AM
|- - NOYFB   QUOTE (milanca @ Nov 20 2008, 10:52 AM) W...   Nov 27 2008, 03:57 PM
|- - mackerintel   QUOTE (NOYFB @ Nov 27 2008, 04:57 PM) Hi ...   Nov 27 2008, 05:03 PM
- - Slice   I build AppleSMBIOS from latest Apple's source...   Nov 20 2008, 11:49 AM
- - roisoft   i´m using this info CODE<key>Graphics M...   Nov 20 2008, 12:02 PM
|- - mackerintel   QUOTE (roisoft @ Nov 20 2008, 01:02 PM) i...   Nov 20 2008, 12:29 PM
- - Slice   I am sorry about vanilla SMBIOS. Newest version is...   Nov 21 2008, 09:04 AM
- - npwski   Chameleon_SMBIOS works fine with my config (see si...   Nov 22 2008, 01:36 PM
|- - mackerintel   QUOTE (npwski @ Nov 22 2008, 02:36 PM) Bu...   Nov 22 2008, 05:10 PM
- - npwski   mackerintel Sorry, this is my mistake: I added tho...   Nov 22 2008, 10:18 PM
- - Slice   For me autodetect works but not perfect   Nov 24 2008, 03:02 PM
- - JaS   Thanks for this mackerintel, great job. Edit: I j...   Nov 27 2008, 05:11 PM
- - snackole   After replacing and renameing boot I get a kernel ...   Nov 27 2008, 05:30 PM
|- - mackerintel   @JaS: thanks QUOTE (snackole @ Nov 27 2008, ...   Nov 27 2008, 05:37 PM
- - JaS   @mackerintel: Are you working with zef and them to...   Nov 27 2008, 05:43 PM
- - snackole   Oh I see thanks. I am using /Extra to load kexts f...   Nov 27 2008, 05:45 PM
- - mackerintel   QUOTE (JaS @ Nov 27 2008, 06:43 PM) @mack...   Nov 27 2008, 06:34 PM
- - snackole   Thanks for the info. Have a happy Thanksgiving bro   Nov 27 2008, 07:25 PM
- - lebidou   Hello, I've tried it today but the bus speed ...   Nov 27 2008, 08:09 PM
- - lebidou   I've just understood my mistake about bus spee...   Nov 28 2008, 01:51 PM
- - Panshie   Hello: Could this be used to specify the voltages ...   Nov 28 2008, 04:18 PM
|- - mackerintel   QUOTE (Panshie @ Nov 28 2008, 05:18 PM) H...   Nov 28 2008, 05:25 PM
- - maclancer   Thanks a lot guys, I configured this as an iMac5,1...   Nov 28 2008, 11:09 PM
- - mitch_de   O GOD: What happens to the monthly average Mac Ben...   Nov 29 2008, 02:04 PM
- - tuxianer   Hi, i have installed this Chameleon version and in...   Nov 30 2008, 07:20 PM
|- - maclancer   QUOTE (tuxianer @ Nov 30 2008, 02:20 PM) ...   Nov 30 2008, 10:15 PM
- - tuxianer   that doesn't work for me. The only Thing it fi...   Dec 1 2008, 09:29 AM
|- - mitch_de   QUOTE (tuxianer @ Dec 1 2008, 10:29 AM) t...   Dec 4 2008, 09:32 PM
- - mackerintel   QUOTE (tuxianer @ Nov 30 2008, 08:20 PM) ...   Dec 1 2008, 01:17 PM
|- - maclancer   QUOTE (mackerintel @ Dec 1 2008, 08:17 AM...   Dec 1 2008, 01:56 PM
- - roisoft   hi mackerintel, is there any possibility to add a ...   Dec 1 2008, 01:56 PM
|- - mackerintel   QUOTE (roisoft @ Dec 1 2008, 02:56 PM) hi...   Dec 2 2008, 10:29 PM
|- - roisoft   QUOTE (mackerintel @ Dec 2 2008, 11:29 PM...   Dec 2 2008, 11:02 PM
|- - Superhai   QUOTE (mackerintel @ Dec 2 2008, 11:29 PM...   Dec 3 2008, 12:08 AM
- - pharillion   This is great work, thanks. I've been making ...   Dec 1 2008, 05:01 PM
- - mackerintel   We've just integrated SMBIOS patching (includi...   Dec 4 2008, 02:53 PM
|- - pharillion   QUOTE (mackerintel @ Dec 4 2008, 02:53 PM...   Dec 4 2008, 11:32 PM
|- - Kaydis   QUOTE (mackerintel @ Dec 4 2008, 08:53 AM...   Feb 15 2009, 12:20 AM
- - ab___73   QUOTE (mackerintel @ Nov 18 2008, 07:25 P...   Dec 5 2008, 05:02 PM
- - Tommy   After a couple reboot, the model name is showing a...   Dec 9 2008, 07:14 PM
|- - mackerintel   QUOTE (Tommy @ Dec 9 2008, 08:14 PM) iore...   Dec 13 2008, 07:30 PM
|- - jeff4760   QUOTE (mackerintel @ Dec 13 2008, 07:30 P...   Jan 19 2009, 08:50 PM
|- - Chrysaor   QUOTE (jeff4760 @ Jan 19 2009, 03:50 PM) ...   Jan 20 2009, 12:01 AM
|- - jeff4760   QUOTE (Chrysaor @ Jan 20 2009, 12:01 AM) ...   Jan 20 2009, 05:51 AM
- - Bart86   Will this work properly with the current vanilla A...   Jan 1 2009, 07:44 PM
|- - MacUser2525   QUOTE (Bart86 @ Jan 1 2009, 03:44 PM) Wil...   Jan 1 2009, 11:06 PM
- - Slice   QUOTE (Bart86 @ Jan 1 2009, 10:44 PM) Wil...   Jan 3 2009, 09:31 AM
- - Beerkex'd   QUOTE (Bart86 @ Jan 1 2009, 05:44 PM) Wil...   Jan 7 2009, 02:31 AM
- - jeff4760   Excerpt of dmidecode from macPro1,1 Handle 0x001C...   Jan 17 2009, 04:01 AM
- - Slice   Another one   Jan 17 2009, 05:42 PM
- - Keog   what should i put in smexternalclock and maximalcl...   Jan 21 2009, 11:28 PM
|- - MacUser2525   QUOTE (Keog @ Jan 21 2009, 07:28 PM) what...   Jan 22 2009, 04:28 AM
- - Keog   thanks, now it reads fine my cpu speed, but it sti...   Jan 22 2009, 03:24 PM
|- - MacUser2525   QUOTE (Keog @ Jan 22 2009, 11:24 AM) than...   Jan 22 2009, 05:12 PM
- - Keog   you're right, with that command all my process...   Jan 22 2009, 10:08 PM
- - admirald   Nice work. e: and thanks for the .diff!   Jan 27 2009, 02:54 AM
- - Azimutz   Hy.. just want to say that it works fine for me. C...   Feb 1 2009, 05:57 AM
- - avian   Mackerintel this is brilliant. Thanks so much for...   Feb 4 2009, 01:18 AM
- - filosofem   I have Quad Q6600 processor and SystemProfiler did...   Feb 4 2009, 06:27 AM
|- - jeff4760   QUOTE (filosofem @ Feb 4 2009, 06:27 AM) ...   Feb 9 2009, 06:27 PM
- - tuxianer   Hi, geekbensh says: Motherboard: Gigabyte Technol...   Feb 14 2009, 02:50 PM
|- - MacUser2525   QUOTE (tuxianer @ Feb 14 2009, 10:50 AM) ...   Feb 14 2009, 07:34 PM
- - tuxianer   yes i have done this already. But the Motherboardn...   Feb 14 2009, 08:34 PM
|- - Beerkex'd   QUOTE (tuxianer @ Feb 14 2009, 06:34 PM) ...   Mar 19 2009, 06:04 PM
- - artofware   Guys, help me out here. I'm not seeing any str...   Mar 21 2009, 12:03 AM
|- - Beerkex'd   You're supposed to put the strings and keys th...   Mar 21 2009, 12:46 AM
|- - Beerkex'd   Great news; SMboardmanufacter and SMboardproduct ...   Apr 4 2009, 05:34 PM
- - Arial   I just knew how powerful Chameleon2. http://www.in...   May 22 2009, 04:27 AM
|- - Beerkex'd   QUOTE (Arial @ May 22 2009, 01:27 AM) I j...   May 28 2009, 08:57 PM
|- - Master Chief   QUOTE (Arial @ May 22 2009, 05:27 AM) - S...   Jun 1 2009, 01:18 AM
|- - Beerkex'd   QUOTE (Master Chief @ May 31 2009, 10:18 ...   Jun 2 2009, 02:14 AM
|- - Master Chief   QUOTE (Beerkex'd @ Jun 2 2009, 03:14 ...   Jun 2 2009, 09:26 AM
- - Jingu   I have an Acer Aspire 9525 Intel Core 2 Duo 2Gghz ...   May 22 2009, 04:45 PM
- - Kabyl   QUOTE (Master Chief @ Jun 2 2009, 10:26 A...   Jun 4 2009, 04:50 PM
|- - Master Chief   QUOTE (Kabyl @ Jun 4 2009, 05:50 PM) You ...   Jun 4 2009, 05:57 PM
- - Kabyl   QUOTE (Master Chief @ Jun 4 2009, 06:57 P...   Jun 4 2009, 08:11 PM
|- - Master Chief   QUOTE (Kabyl @ Jun 4 2009, 09:11 PM) Not ...   Jun 4 2009, 11:43 PM
|- - iPhoneTom   QUOTE (Master Chief @ Jun 4 2009, 11:43 P...   Jun 5 2009, 05:37 AM
- - Kabyl   QUOTE (Master Chief @ Jun 5 2009, 12:43 A...   Jun 5 2009, 05:50 AM
- - incabulos   QUOTE (Kabyl @ Jun 5 2009, 01:50 AM) I...   Jun 8 2009, 01:14 AM
2 Pages V   1 2 >

Reply to this topic Start new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 31st July 2010 - 01:52 PM