Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lenovo L430 is Compatible #27

Closed
dte102 opened this issue Feb 27, 2020 · 11 comments
Closed

Lenovo L430 is Compatible #27

dte102 opened this issue Feb 27, 2020 · 11 comments

Comments

@dte102
Copy link

dte102 commented Feb 27, 2020

Decided to try out the patch on an L430 thinkpad, and the result that it's compatible.

Machine: L430
Bios: G3ET94WW(2.54)
Version:
Flashsize: 80 M

@n4ru
Copy link
Owner

n4ru commented Feb 28, 2020

Great to hear! I'll investigate some more and see if the existing patches work on the BIOS.

Flashsize seems incorrect though. You sure it's 80 and not 8?

@dte102
Copy link
Author

dte102 commented Feb 28, 2020

Yeah, ran it again to make sure and got a flash size of 80 M. Gonna attach a picture of the result just in case I'm misinterpreting something though
IMG_20200227_191924
.

@n4ru
Copy link
Owner

n4ru commented Feb 28, 2020

Interesting. I'll take a look, maybe I messed up with printing it.

Your laptop is def compatible though so I'll take a deeper look.

@dte102
Copy link
Author

dte102 commented Feb 28, 2020

Good to know!
If you need the laptop for any reason, I'll be happy to ship this one over if needed.

@digmorepaka
Copy link
Collaborator

@dte102 It would be highly appreciated if you ran flashrom -p internal:laptop=force_I_want_a_brick --ifd -i fd -r L430_ifd.rom and uploaded the L430_ifd.rom somewhere. You should be able to run this from a regular linux install with the iomem=relaxed kernel option, or the 1vyrain usb. :D

@dte102
Copy link
Author

dte102 commented Feb 28, 2020

@digmorepaka Here's a zip of the rom file I got from running the command on the L430.
L430_ifd.rom.zip

@digmorepaka
Copy link
Collaborator

@dte102 wonderful, Thank you!

@n4ru
Copy link
Owner

n4ru commented Mar 2, 2020

Looked into the BIOS patches, and unfortunately none of them seem compatible with the L430, either the new BIOS or the older revisions. It is 100% doable for sure, but unfortunately the existing patches that we have seem to only work on the main line of ThinkPad products (T/X/W). I don't foresee having time to explore new patches by myself, so I apologize in advance; but if we find a better way to generate patches or eventually come back around to this, I will let you know.

@dte102
Copy link
Author

dte102 commented Mar 2, 2020

Gotcha, that's fine since we know that it's at least compatible and that at some point the L430 might get support. Thanks for looking into it!

@n4ru
Copy link
Owner

n4ru commented Mar 5, 2020

Took another look at this, and turns out I was wrong and that the patches are compatible. My error was that the offset for where the 4MB BIOS begins is different, and after double-checking with binwalk I had success creating a modded BIOS.

You can extract your BIOS from the FL1 file with dd if=BIOS.FL1 bs=1 of=4MB skip=4325840 count=4194304, then patch it with UEFIPatch using this documentation for all the non whitelist patches.

For the whitelist patches, the L430 has slightly different offsets. Add these patches in addition to whichever other ones you want:

79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:C8390E0F84:C8390E90E9 
79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:C8390E75620F:C8390E75000F 
79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:0983FA0474:0983FA04EB 

Once you've created your custom BIOS, just run 1vyrain to unlock your BIOS region (let it run and exit after telling you it is compatible - at this point your BIOS region is already unlocked), then flash your file with flashrom.

@valpackett
Copy link

(See #87 for further L430 discussion)

In addition to the patches above, one more is required:

79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:C8394E04754E83:C8394E04750083

because there's one more condition right after C8390E75620F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants