Forum RSS Feed Follow @ Twitter Follow On Facebook

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

Username:


Password:





[-]
Latest Threads
Lenovo ThinkPad SL510 Whitelist Removal....
Last Post: deepTeNk
Today 03:32 PM
» Replies: 5
» Views: 6356
[REQUEST] HP Pavilion G42-272BR Whitelis...
Last Post: eepromm
Yesterday 01:55 AM
» Replies: 0
» Views: 106
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: voyageur
11-21-2024 04:33 PM
» Replies: 475
» Views: 167318
[REQUEST] Acer Aspire 5738(G,Z): CPU Upg...
Last Post: DeathBringer
11-21-2024 03:44 PM
» Replies: 49
» Views: 32883
[REQUEST] HP Mini 110-4100 BIOS Unlock
Last Post: DSI INF
11-21-2024 09:24 AM
» Replies: 7
» Views: 251
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: Dudu2002
11-21-2024 03:11 AM
» Replies: 1780
» Views: 495170
Lenovo ThinkCentre M715q 2nd Gen & AMD R...
Last Post: Elmurley
11-20-2024 09:37 PM
» Replies: 2
» Views: 1293
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: SWZSSR
11-20-2024 09:34 PM
» Replies: 1775
» Views: 553988
[REQUEST] Lenovo Thinkpad X240 (GIETxxWW...
Last Post: Dudu2002
11-20-2024 04:58 PM
» Replies: 337
» Views: 143604
Unlock bios insyde
Last Post: Matox3140
11-19-2024 03:40 PM
» Replies: 0
» Views: 221
Whitelist WIFI card removal Lenovo Yoga ...
Last Post: Dudu2002
11-19-2024 12:58 PM
» Replies: 1
» Views: 229
[REQUEST] H310 MSI Gaming Infinite S (MS...
Last Post: awittyusername
11-19-2024 09:21 AM
» Replies: 10
» Views: 139
[REQUEST] Gigabyte GA-B85M-HD3 Rev 2.0 u...
Last Post: Maduli
11-19-2024 02:22 AM
» Replies: 0
» Views: 171
[REQUEST] Lenovo Ideapad 330-15ICH BIOS ...
Last Post: Dudu2002
11-18-2024 01:25 PM
» Replies: 8
» Views: 1908
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: Dudu2002
11-18-2024 01:23 PM
» Replies: 640
» Views: 221316
[Request] Unlocked Bios for Asus TUF FX5...
Last Post: FlT4ever
11-18-2024 01:05 PM
» Replies: 1
» Views: 428
[REQUEST] Lenovo ThinkPad Edge E125(v1.1...
Last Post: kamome74
11-18-2024 10:43 AM
» Replies: 0
» Views: 215
[REQUEST] Xpg 15g 4070 2023ver InsydeH20...
Last Post: MireVelli
11-18-2024 07:26 AM
» Replies: 2
» Views: 210
Please help me recover my bios
Last Post: FuryOP
11-17-2024 12:37 PM
» Replies: 0
» Views: 229
[Request-Camilo] Sony Vaio SA/SB/SC/SD/S...
Last Post: edit
11-17-2024 12:13 PM
» Replies: 107
» Views: 136969

[REQUEST] Lenovo IdeaPad U330, U430 & U530 (7CCNxxWW) Whitelist Removal
#51
on my case with T430,
winflash64.exe is the one that done the check and let the computer to reboot to do the real flashing process.
normally, modified phoenix SCT bios can not be flashed. winflash will complain that it failing on verification check.
i've managed to alter the logic of winflash and let it reboot as if the verification check is success.
however, after reboot, there's another message that showing the verification is failed.
i don't know the situation with insyde bios.
hope has an easier way to solve the problem.

(06-10-2014, 08:06 AM)RehabMan Wrote:
(06-10-2014, 05:56 AM)sebold Wrote: This is the best Tutorial i've found: http://donovan6000.blogspot.de/2013/06/i...lists.html

Who of you is in IA64-Assembler and can do this?

Yes, I've been reading Donavan's blog. I'm ok with x86 code, but need to become familiar with the tools. I hope to get started today.

BTW, if you run the BIOS updater, it doesn't even ask for confirmation. Just runs, reboots, flashes, and restarts. Also, no backup is made of the prior BIOS. The whole process is really quick. So... I have updated BIOS now. Of course, attempting to run a second time ... just informs that the same version BIOS is already installed and it aborts. Extracting the files reveals an .INI file for configuration where you can disable the version check, enable backups and other goodies.
find
quote
#52
Yes Phoenix - Insyde - Ami Aptio Bioses have the same structure and the tools are almost quite similar, so "Extracting the files reveals an .INI file for configuration where you can disable the version check, enable backups and other goodies." It is the same thing for all thiese Bioses !
There are flags into Platform.ini to set = 0 to avoid some checks !
Regards

[size=undefined]Your Brain [/size]. . . . It's the best tool U can use ! Wink
[size=undefined]Don't FLASH the Bios Mod if You get a Size Alert, You risk a Brick !!! [/size]
Donate to me for my work, click here BDM
find
quote
#53
I´ve found the module UEFIL05BIOSLock (obvious name) to be responsible for whitelist lock. (GUID: {11D378C2-B472-412F-AD87-1BE4CD8B33A6_2045})

I Disassembled it, but i don't know anything about Assembler.
Here is the disassembled file.


Attached Files
.zip   asm.zip (Size: 10.31 KB / Downloads: 5)
find
quote
#54
(06-11-2014, 07:58 AM)sebold Wrote: I´ve found the module UEFIL05BIOSLock (obvious name) to be responsible for whitelist lock. (GUID: {11D378C2-B472-412F-AD87-1BE4CD8B33A6_2045})

I Disassembled it, but i don't know anything about Assembler.
Here is the disassembled file.

I have completed patches (for BIOS whitelist and pmlock) and created a patched image. The file size is the same as the original and I have verified by re-extracting using Andy's phoenix tool that my patches are present and correct.

Unfortunately, it won't flash. It is accepted by the windows frontend, and the computer reboots to flash, and then it (the bios?) rejects the image. Digitally signed?

Interestingly, if I enable the backup option from platform.ini, the saved file (at c:\SharkBay.bin) is not signed (it is smaller than the original). And... the windows frontend will reject this file as it is not signed. The message is "It only supports to flash secure BIOS on current platform The image to be updated is not a secure BIOS." I can go through the same process to patch the unsigned binary, but how to flash it?

Nothing jumps out at me in platform.ini as a way to disable this check, although I'll look through it again today. And I'll probably do a bit of disassembly on the flashing tool binaries to see if this check can be disabled from there.

Now, I'm assuming there is some way to flash this backup... otherwise what would be the point of the tool creating a backup? I do have the "BIOS back flash" option enabled in BIOS.

Is there a way to create a BIOS recovery USB and use a special key sequence on startup to initiate a flash from media with the unsigned image? What should I look for?

But at least the work of creating a patched binary is done. And even if I have to resort to a hardware programmer, I'll have the patches in hand to apply...
find
quote
#55
Maybe this way?
http://edmarhobby.blogspot.de/2013/02/le...reset.html
find
quote
#56
Hi friend,
I want to say few things about new Bioses and Manufacturers (UEFI want to be protect).
Actualy Bioses are Capsulated and Signed (RSA key) and many manufacturers are missing the Recovery Procedure !
The only ways to reflash Modded Bios are :

1. Intel FPT (used to backup Bios)
2. Recovery Mode (to Recover Bios when Flash goes wrong)

Both Methods are going to be vanishing as Manufacturers are missing Recovery Procedure and FPT cannot rewrite Bios as Eeprom is Write Protect (error 28 or 280)

Bios when is Capsulated cannot be flashed and cannot be used for Recovery Mode as can Brick laptops !
So It needs to be Decapsulated before (there is a Dirty Guide of mine) :

http://rghost.net/52544682

CodeRush has done a tool to decapsulate Bios basing on my guide !
So many Modded Bioses can be flashed only using an SPI External USB Programmer with a POMONA Soic Clip !
About the Withelist Patch You are right and I think You have done well (I can say only after checked It), but UEFIL05BIOSLock is the right one !
If You needs some help feel free to ask !
Regards

[size=undefined]Your Brain [/size]. . . . It's the best tool U can use ! Wink
[size=undefined]Don't FLASH the Bios Mod if You get a Size Alert, You risk a Brick !!! [/size]
Donate to me for my work, click here BDM
find
quote
#57
(06-11-2014, 09:02 AM)sebold Wrote: Maybe this way?
http://edmarhobby.blogspot.de/2013/02/le...reset.html

I will give this a try after a bit more research...

(06-11-2014, 01:16 PM)BDMaster Wrote: Hi friend,
I want to say few things about new Bioses and Manufacturers (UEFI want to be protect).
Actualy Bioses are Capsulated and Signed (RSA key) and many manufacturers are missing the Recovery Procedure !
The only ways to reflash Modded Bios are :

1. Intel FPT (used to backup Bios)
2. Recovery Mode (to Recover Bios when Flash goes wrong)

Both Methods are going to be vanishing as Manufacturers are missing Recovery Procedure and FPT cannot rewrite Bios as Eeprom is Write Protect (error 28 or 280)

Bios when is Capsulated cannot be flashed and cannot be used for Recovery Mode as can Brick laptops !
So It needs to be Decapsulated before (there is a Dirty Guide of mine) :

http://rghost.net/52544682

CodeRush has done a tool to decapsulate Bios basing on my guide !
So many Modded Bioses can be flashed only using an SPI External USB Programmer with a POMONA Soic Clip !
About the Withelist Patch You are right and I think You have done well (I can say only after checked It), but UEFIL05BIOSLock is the right one !
If You needs some help feel free to ask !
Regards

I have a backup BIOS at this point and can patch it too. I believe it is 'decapsulated' as it is exactly 8192KB and smaller than the downloaded BIOS binary. Just need to determine a (safe) way to flash it.

If I have to, I'll use an external programmer.

I will also check out CodeRush's thread (on insanelymac, right?)... and maybe even ask him what he thinks should be my next steps...
find
quote
#58
No luck with any of the recovery methods. There is something going on when you hold Fn+R during power on. Black screen for a long time before falling back into the normal boot or onekey menu (tried both power buttons). Perhaps it is waiting for a special keystroke/sequence and we don't know what it is...

I think next stop is hardware flash programmer.
find
quote
#59
BTW, here is my work-in-progress patching files/utilities, attached in u430_bios_patching.zip...

If you prefer to do the hexedit manually, here are the patches...
For PMlock, PowerMgmtDxe, F7731B4C-58A2-4DF4-8980-5645D39ECE58_301.ROM
Code:
find: 80 fb 01 75 08 0f ba e8 0f
repl: 80 fb 01 eb 08 0f ba e8 0f

For WiFi and WWAN lock, UEFIL05BIOSLock, 11D378C2-B472-412F-AD87-1BE4CD8B33A6_2045.ROM
Code:
find: 38 1d 38 17 00 00 74 20
repl: 38 1d 38 17 00 00 eb 20
find: 80 3d 0e 17 00 00 00 74 40
repl: 80 3d 0e 17 00 00 00 eb 40

A short description of the files in the ZIP:

directory: bios_u430/
Designed to be integrated into the extracted files from the Lenovo BIOS updater package (use 7-zip to extract the contents of the EXE)

bios_u430/patch.cmd - a batch file used to patch the two .MOD files in that "in-between" state after pressing Go in Andy's phoenixtool and pressing OK. It modifies the files with the three patches using patcho.
bios_u430/Patching_Notes.txt - disassembly and brief commentary on the patches required.
bios_u430/patcho.exe - utility to patch binary files given hex find and replace strings
bios_u430/platform.ini - replacement platform.ini. This one turns on backups of existing BIOS, waits for confirmation before flashing, and allows flashing same version as current

directory: patcho/
This directory contains the C source files for the patcho.exe binary
Original version by SJ_Underwater here (for Mac/Unix only): http://www.tonymacx86.com/general-help/8...tcher.html

patcho/build.cmd - batch file to build patcho using VC++ 2013 "cross x64 tools". Will copy the result to ../bios_u430 for use there in patch.cmd
patcho/patcho.c - source for patcho
patcho/unistd.h - a few macros to make it compile (NOT a full unistd.h for MS-C)

Here is what the output from patch.cmd looks like:
Code:
C:\Users\Admin\Downloads\bios_u430>patch

C:\Users\Admin\Downloads\bios_u430>echo Patching files in DUMP
Patching files in DUMP

C:\Users\Admin\Downloads\bios_u430>del /s /q dump.bak
Could Not Find C:\Users\Admin\Downloads\bios_u430\dump.bak

C:\Users\Admin\Downloads\bios_u430>mkdir dump.bak

C:\Users\Admin\Downloads\bios_u430>copy dump\11D378C2-B472-412F-AD87-1BE4CD8B33A
6_2045.ROM dump.bak\11D378C2-B472-412F-AD87-1BE4CD8B33A6_2045.ROM
1 file(s) copied.

C:\Users\Admin\Downloads\bios_u430>copy dump\F7731B4C-58A2-4DF4-8980-5645D39ECE5
8_301.ROM dump.bak\F7731B4C-58A2-4DF4-8980-5645D39ECE58_301.ROM
1 file(s) copied.

C:\Users\Admin\Downloads\bios_u430>patcho 381d381700007420 381d38170000eb20 dump
\11D378C2-B472-412F-AD87-1BE4CD8B33A6_2045.ROM
find: '381d381700007420'
repl: '381d38170000eb20'
0x000002FB: 8

C:\Users\Admin\Downloads\bios_u430>patcho 803d0e170000007440 803d0e17000000eb40
dump\11D378C2-B472-412F-AD87-1BE4CD8B33A6_2045.ROM
find: '803d0e170000007440'
repl: '803d0e17000000eb40'
0x00000324: 9

C:\Users\Admin\Downloads\bios_u430>patcho 80fb0175080fbae80f 80fb01eb080fbae80f
dump\F7731B4C-58A2-4DF4-8980-5645D39ECE58_301.ROM
find: '80fb0175080fbae80f'
repl: '80fb01eb080fbae80f'
0x00001B6C: 9

C:\Users\Admin\Downloads\bios_u430>echo n | comp dump.bak\11D378C2-B472-412F-A
D87-1BE4CD8B33A6_2045.ROM dump\11D378C2-B472-412F-AD87-1BE4CD8B33A6_2045.ROM
Comparing dump.bak\11D378C2-B472-412F-AD87-1BE4CD8B33A6_2045.ROM and dump\11D378C2-B472-412F-AD87-1BE4CD8B33A6_2045.ROM...
Compare error at OFFSET 2F9
file1 = 74
file2 = EB
Compare error at OFFSET 322
file1 = 74
file2 = EB
Compare more files (Y/N) ?
C:\Users\Admin\Downloads\bios_u430>echo n | comp dump.bak\F7731B4C-58A2-4DF4-8
980-5645D39ECE58_301.ROM dump\F7731B4C-58A2-4DF4-8980-5645D39ECE58_301.ROM
Comparing dump.bak\F7731B4C-58A2-4DF4-8980-5645D39ECE58_301.ROM and dump\F7731B4C-58A2-4DF4-8980-5645D39ECE58_301.ROM...
Compare error at OFFSET 1B66
file1 = 75
file2 = EB
Compare more files (Y/N) ? C:\Users\Admin\Downloads\bios_u430>


Attached Files
.zip   u430_bios_patching.zip (Size: 60.63 KB / Downloads: 38)
find
quote
#60
Look here: http://www.bios-mods.com/forum/Thread-RE...s-7CCN26WW
find
quote


Forum Jump:


Users browsing this thread: 14 Guest(s)