Contribute
Register

HP ProBook Installer 6.1: 4x30s and 4x40s support

HP ProBook Installer 6.1 (beta): Ivy bridge support

- This is my favourite! A new serial number generator is added to all System definition options, so you'll get an unique Mac serial number on every ProBook run. Every time when you want to change your Mac serial number, just run the Installer and select only your system definition.

There's a bug in the new random serial# generator. Problem is in the part which generates the 3-random number sequence.

I reproduced the problem in Terminal (bash):

Code:
chars=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
echo ${chars:$(($RANDOM%${#chars})):3}

Output(when second line is run many times):
Code:
Speedy-ML:~ Admin$ for i in {1..20}; do echo ${chars:$(($RANDOM%${#chars})):3}; done
567
BCD
OPQ
STU
456
QRS
KLM
HIJ
789
VWX
OPQ
0
789
234
90
LMN
IJK
678
OPQ
0

First of all you'll notice there will only end up 34 valid combinations generated, because each character ends up consecutive. Two of the possible values generated are not valid ('90' and '0') because they are not 3 characters.

The expression should probably use:
Code:
${chars:$(($RANDOM%${#chars})):1}${chars:$(($RANDOM%${#chars})):1}${chars:$(($RANDOM%${#chars})):1}

As that will generate three random characters from the list of valid chars instead of a random substring of the valid chars...

Example:
Code:
Speedy-ML:~ Admin$ for i in {1..20}; do echo ${chars:$(($RANDOM%${#chars})):1}${chars:$(($RANDOM%${#chars})):1}${chars:$(($RANDOM%${#chars})):1}; done
XAR
WDO
T80
BKN
629
5PY
I6K
GD6
VJS
FF3
JGE
KWX
YRK
MWI
7UG
KBK
SKS
U79
T2A
2D4
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

i held off of the b13 because it made my sound stop working so i went back to b12 but i installed b14 now and now everything is back to normal thanks for this thread its very helpful and of course the probook installer :D:clap:
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

thanks, now the fan speed down to 3000 range on my probook.

I suppose it could have been invalid serial# causing issue with power management...??? If you ended up with an 10 or 11 character serial# last time, it could cause a problem (with the original b14 there was a 1 in 18 chance of getting an invalid serial#). That would have been something to test/verify, but too late now, since you now don't seem to have the issue.

Nice to hear things are working with the latest, though...
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

I've optimized the serial number generators a little:

i5 IB:
Code:
#!/bin/bash
week=QRTVWXY12345678
chars=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
week_letter=`echo ${week:$(($RANDOM%${#week})):1}`
function random_char { echo ${chars:$(($RANDOM%${#chars})):1}; }
serial="C02H"$week_letter$(random_char)$(random_char)$(random_char)"DTY3"
/usr/libexec/PlistBuddy -c "Set :SMserial $serial" ${3}/Extra/smbios.plist

Next version of the Installer will have these versions.
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

I suppose it could have been invalid serial# causing issue with power management...??? If you ended up with an 10 or 11 character serial# last time, it could cause a problem (with the original b14 there was a 1 in 18 chance of getting an invalid serial#). That would have been something to test/verify, but too late now, since you now don't seem to have the issue.

Nice to hear things are working with the latest, though...

RM, I have chimera 2.1.1 installed on my system. If I want to try chameleon from the last installer version, I have simply to install it or I have to do something with chimera before? Is chameleon really better than chimera now?

Thanks!
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

RM, I have chimera 2.1.1 installed on my system. If I want to try chameleon from the last installer version, I have simply to install it or I have to do something with chimera before? Is chameleon really better than chimera now?

Thanks!

Just install via ProBook Installer. It is a very straightforward replacement.

It is better for the ProBooks as it restores display backlight-brightness when used in conjunction w/ blinkscreen. That means setbrightness is no longer necessary...
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

Just install via ProBook Installer. It is a very straightforward replacement.

It is better for the ProBooks as it restores display backlight-brightness when used in conjunction w/ blinkscreen. That means setbrightness is no longer necessary...

RM I installed it right now and when I rebooted, I see the tonymacx86 logo in the bootloader screen. It means that I'm using chameleon or chimera yet?
How can I check which one I'm using?

Thanks!
 
HP ProBook Installer 6.1 (beta): Ivy bridge support

RM I installed it right now and when I rebooted, I see the tonymacx86 logo in the bootloader screen. It means that I'm using chameleon or chimera yet?
How can I check which one I'm using?

Thanks!

Code:
# in Terminal
bdmesg|head -n 1
 
Back
Top