Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 11 Vote(s) - 4.64 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[Request] Thinkpad X12 Detachable Gen 1 ...
Last Post: megid0nt
Today 01:25 AM
» Replies: 0
» Views: 22
[REQUEST] Lenovo B50-70 (9DCNxxWW) White...
Last Post: Mario_m01
Yesterday 10:19 AM
» Replies: 176
» Views: 121543
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: GrozaAlex
Yesterday 07:52 AM
» Replies: 506
» Views: 315758
[REQUEST] Lenovo ThinkPad R60e (0657) Wh...
Last Post: senpai345438
Yesterday 12:01 AM
» Replies: 0
» Views: 160
[Request] ASUS R5E10 reBAR injecting
Last Post: Helmut79
07-10-2026 04:05 PM
» Replies: 0
» Views: 133
[REQUEST] Lenovo IdeaPad U330, U430 & U5...
Last Post: Amertsu
07-10-2026 04:42 AM
» Replies: 412
» Views: 249021
[REQUEST] HP Pavilion dv6-6101er (HPMH-4...
Last Post: Aleksandr_SPb
07-10-2026 03:17 AM
» Replies: 0
» Views: 156
[REQUEST] Acer Aspire 4930G BIOS Unlock
Last Post: BIUW
07-10-2026 01:23 AM
» Replies: 22
» Views: 6696
[Recovery – NOT an unlock request] HP En...
Last Post: heather1202
07-09-2026 04:23 PM
» Replies: 0
» Views: 176
[REQUEST] Lenovo IdeaPad Y410p & Y510p (...
Last Post: puqui
07-09-2026 02:18 PM
» Replies: 101
» Views: 94840
Help me with a CMOS Passworded HP Proboo...
Last Post: TheKungFuRobber
07-09-2026 01:43 PM
» Replies: 0
» Views: 212
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: FFNN
07-08-2026 08:55 AM
» Replies: 44
» Views: 40308
[REQUEST] Lenovo T520 (8AETxxWW) Whiteli...
Last Post: zahaar
07-08-2026 01:47 AM
» Replies: 149
» Views: 146602
Lenovo ThinkPad x130e 8RET54WW(V1.17) WH...
Last Post: nervtechdept
07-07-2026 03:49 PM
» Replies: 5
» Views: 5172
[REQUEST] Lenovo Thinkpad T540p (GMETxxW...
Last Post: Dudu2002
07-07-2026 01:23 PM
» Replies: 88
» Views: 68064
[REQUEST] Lenovo Yoga 500-14ISK (D3CNxxW...
Last Post: Dudu2002
07-07-2026 01:21 PM
» Replies: 5
» Views: 4848
[REQUEST] HP 15-bs000 (Intel) series BIO...
Last Post: gouthuuu
07-07-2026 11:43 AM
» Replies: 7
» Views: 9625
Foxconn H61MXE & Xeon
Last Post: Elmurley
07-07-2026 04:40 AM
» Replies: 2
» Views: 930
[REQUEST] Lenovo B490 (H1ETxxWW) Whiteli...
Last Post: samuelmenegatti
07-06-2026 01:56 PM
» Replies: 91
» Views: 65723
Lenovo Z470 Wifi Whitelist
Last Post: Schneider90210
07-06-2026 06:14 AM
» Replies: 25
» Views: 19768

(UEFI) Dell XPS 15z L511z modded BIOS - and HOWTO
Happy new year kasar Smile I'm away from the laptop until mid-Jan, hence silence from my end for a while ^^

Unlocking 0x1AD MSR should be fairly easy, I had accomplished something similar to unlock the MSR for Speedstep to work correctly in OS X. Under my existing BIOS hack I have unlocked Bit 15 of MSR Register 0xE2 so a bit of hunting around in that region should do the trick.

For 0xE2 I had to look for the opcodes

"b9 e2 00 00 00" (mov $0xe2,%ecx)
...
"75 08" (jne next)
"0f ba e8 0f" (bts $0xf,%eax)

and make sure that the CPU did not execute the last instruction through an unconditional jump. So I replaced "75 08 0F BA E8 0F" with "EB 08 0F BA E8 0F". I don't have the specific module with me right now (only so many things I can take when off skiing) but I'd assume you can search for "75 xx 0F BA E8 28" (xx could be anything depending on next jump) immediately after "B9 AD 01 00 00".

Let me know if you need any help!
find
quote
thanks a lot for the info jkbuha Big Grin

Glad to know this still active Smile

I will give a look to the stuff at night when I arrive my grandspa home

should I look into any particular or specific modules?

Im looking for the MSR 0xCE bit 28 in particular

I will be away from my HW programmer this week, but I still have my old CD recovery, so I will still able to recover from BIOS region based bricks
find
quote
You're welcome mate Smile

Ok, now I understand, you want to set MSR_PLATFORM_INFO (0xCE) Bit 28, so this is (in theory) what needs to be done:

1) Open up the module I had modded to set MSR 0xE2. IIRC, most of the MSR read/writes are done from one module only, so this should be the correct one.

2) Find the byte sequence "B9 CE 00 00 00" which corresponds to the get MSR_PLATFORM_INFO register

3) Use a disassembler (IDA or equivalent) to dump the asm instructions around that area. We should be looking for an instruction to unset/reset Bit 28. Once found we force condition to set or else force jump away from the reset instruction.

4) Once successful, set 0x1AD to multiplier of choice from Intel XTU.
find
quote
I am stuck on step 3

well, I never used IDA or any other disassemblers before, so I feel a little noob here Big Grin

I'll try doing following

I picked of ida pro 6.1

and ran idaq64.exe

then loaded powermanagement2.efi

(the one for L502X I hex edited long time ago with your speedstep changes and also I found the "B9 CE 00 00 00" hex secuence on it)

then when I ask IDA to load the rom file, it ask to load with those settings.

[Image: DN31DRE.jpg]

then after I try to search the "B9 CE 00 00 00" part, it go to the selected zone


[Image: jTGAh7b.jpg]


///////////////////////////////////

then ..... well, I feel lost after that step :'D

I attached the powermanagement2.rom module

maybe you can point me into the right direction ^^


Attached Files
.rom   powermanagement2.ROM (Size: 16.09 KB / Downloads: 0)
find
quote
well it looks like you *have* found something... ^^

this is the procedure to call MSR 0xCE and then immediately after call MSR 0x1AD, both of which we know are key to unlocking multipliers - nice work =D

question is; I cannot see any instructions to read/lock specific bits (btr/bts), so I'm not sure how the BIOS is locking these specific bits in this module.

unfortunately I won't be back until week after next so won't be able to help you much for the next few days. in the meantime i'l try googling around to see if anyone has had a similar method of unlocking.
find
quote
Happy new year everyone!

@kasar , @jkbuha

I think you are using wrong cpu for disassembly - according to your screen you've loaded image for Z80 cpu , which has "a bit different" bytecode
I may be wrong if image loader , in this case it is PE64 , forces IDA to use correct processor, but I'm not sure
find
quote
@follow_me

yes, you are probably right, I never user IDA before or any other dissasembler app before, so I just loaded the efi module with default settings.

there are many of them, so I'm not sure wich one to pick

[Image: f5ec8cbdd0fe1393219baeb8049840af.png]

wich settings do you guys use to dissasembly your uefi bioses?
find
quote
Hi both - kasar's settings are correct. Even if the setting was Z80, IDA correctly interprets the code as PE AMD64 (in top window dialog).

FWIW, the correct setting should be Intel 8086 (metapc) or some such; will check exactly when I'm back on terra firma
find
quote
thx jkbuha

I will wait your return Wink

anyway many people told me about is useless what I'm trying to do with my current proccesor ...Big Grin

however, I still interested, even it will not work with my CPU, its good to have it unlocked in case I upgreade the CPU again

also I'm pretty sure the people at NBR using my L502X bioses will like it.
find
quote
(04-27-2014, 04:47 AM)follow_me Wrote: Sorry for a delay, had a long backup/restore cycle
I have tested the latest firmware :

- RAID mode works, I was able to create stripe array with 2 disks
- Legacy boot wortks, was able to boot Linux from this disk
- UEFI boot works , was able to boot UEFI Shell from this disk and it's fs was mapped
- TRIM is NOT WORKING , tested by removing file, forcing Linux to trim filesystem and then reading physical sectors of underlying SSD , and there was data,not zeroes as it shold be with trim working

* UPDATE *
as it turned out TRIM should be tested with the latest WINDOWS driver , I will make some addition tests to clarify weather TRIM working or not

To be able to boot from Raid disk it is required to add boot record using bcfg
for the RAID mode device handle is
UnknownDevice ExtendedSCSIPassThru EfiAtaPassThruProtocolGuid UnknownDevice UnknownDevice PCIIO DevicePath(PciRoot(0x0)/Pci(0x1F,0x2))

and there is one small issue - I have 3 ssd drives , one of whitch is replaced stock DVD-Drive , and I can't find a handle of it in RAID mode, may be it was just renamed to something else


so - most features are working with a little bcfg magic , TRIM, unfortunately, not

I will be glad to answer any questiong you have, or make some additional tests if neeeded

BTW: @brabbelbla do you have any other thoughts about TRIM to be enabled ? Can I have a FW with a fancy RAID menus ? Smile

One more thing @brabbelbla - can you please replace SystemIsaFloppyDxe.efi with this one https://dl.dropboxusercontent.com/u/1694672/FfsDxe.efi ?

Hi there, I have xps l502x with kasars modified 12A bios with unlocked RAID option seems very similar to your one

I've been reading all your post re RAID and already reached the UEFI shell and tried to add some boot options without success, 
I'm not really experienced with all bios unlocking tools, so can't really do it myself and looking for help.
What I'm really not getting is how did you build a RAID array?
I'm guessing I can't boot into the OS because I'm simple haven't build the array it self but how do I do it? 
I tried to follow that guide

Quote:
  1. Before you start, go to firmware setup and adjust the boot order so the USB and CD/DVD entries are on top. Should anything go wrong you will at least be able to boot an external device. Also enable UEFI boot for the shell.

  2. Fetch yourself a USB flash drive, format it to FAT32, and place the attached file on it as EFI\boot\bootx64.efi.

  3. Boot your machine from the USB drive.

  4. Type "dh -b -p blockio". This should present you with a list of driver handles connected to the protocol BlockIO. You are looking for entries ending with an SCSI adress. Probably it will show ../Pci(0x1F,0x2)/Scsi(0x0,0x0). Take a note of the hexadecimal handle number.

  5. Type "bcfg boot dump -b" and look for the number of boot entries presented. By default there should be 10 (Boot0000 up to Boot0009).

  6. Type "bcfg boot addh (hexadecimal number of boot entries present + 1) (handle number) "Some description"". With only the default boot entries in place and handle number 199, it would be
    Code:


I though I can simply add my HDD to the boot list and simple boot with RAID enabled but it's seems I can't find proper boot string or I just need to build RAID before boot.... Please point me to the right direction.

Basically my goal is to enable intel smart response, but for that RAID must be enabled.....
find
quote


Forum Jump:


Users browsing this thread: 18 Guest(s)