Guest User

Untitled

a guest
Jun 17th, 2020
1,887
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Patch string format
  2. # FileGuid SectionType PatchType:FindPatternOrOffset:ReplacePattern
  3. # Please ensure that the latest symbol in patch string is space
  4.  
  5. # Possible section types:
  6. # PE32 image 10
  7. # Position-independent code 11
  8. # TE Image 12
  9. # DXE Dependency 13
  10. # Version information 14
  11. # User interface string 15
  12. # 16-bit code 16
  13. # Guided freeform 18
  14. # Raw data 19
  15. # PEI Dependency 1B
  16. # SMM Dependency 1C
  17. # Please do not try another section types, it can make the resulting image broken
  18.  
  19. # Possible patch types:
  20. # P - pattern-based, first parameter is a pattern to find, second - a pattern to replace
  21. # O - offset-based, first parameter is hexadecimal offset, second - a pattern to replace
  22. # Patterns can have . as "any possible value" symbol
  23.  
  24.  
  25. # for xx40 thinkpads. no warranties. do not use if dumb - \x
  26.  
  27. # LenovoWmaPolicyDxe | Whitelist removal | T440p W540 T540
  28. # https://github.com/thrimbor/thinkpad-uefi-patches/
  29. 79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:0bc841390b0f8468010000:0bc841390be96901000000
  30. 79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:41390b7517:41390b7500
  31. 79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:41394b04741b:41394b04eb1b
  32.  
  33. # LenovoWmaPolicyDxe | Whitelist removal | L540 1.93 test1 | \x
  34. #79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:0BC841390B0F8438010000:0BC841390B90E938010000
  35. #79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:41390b7517:41390b7500
  36. #79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:41394B04741C:41394B04EB1C
  37.  
  38.  
  39. # LenovoWmaPolicyDxe | Whitelist removal | T440 2.41 test1 | \x
  40. #79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:41390C240F8466010000:41390C2490E966010000
  41. #79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:41390C247516:41390C247500
  42. #79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:41394C2404741B:41394C2404EB1B
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49. # SystemFormBrowserCoreDxe | advanced menu enable | \x
  50. 32442D09-1D11-4E27-8AAB-90FE6ACB0489 10 P:04320B483CC2E14ABB16A73FADDA475F:778B1D826D24964E8E103467D56AB1BA
  51.  
  52. # enable the bottom patches only for a mem overclocker
  53.  
  54. #PlatformHiiAdvancedDxe | show XMP and manual memory timings | \x
  55. #CFEF94C4-4167-466A-8893-8779459DFA86 10 P:4084EC00450A0200000000000000:4084EC00450A0100000000000000
  56. #CFEF94C4-4167-466A-8893-8779459DFA86 10 P:4084EC00450A0300000000000000:4084EC00450A0100000000000000
  57. #CFEF94C4-4167-466A-8893-8779459DFA86 10 P:450A0300000000000000300240043C27450A0300000000000000:450A0100000000000000300240043C27450A0100000000000000
  58.  
  59.  
  60. #PlatformHiiAdvancedDxe | show XMP and manual memory timings (cleaned up)| \x
  61. #CFEF94C4-4167-466A-8893-8779459DFA86 10 P:4084EC00450A0300000000000000:4084EC00450A0100000000000000
  62. #CFEF94C4-4167-466A-8893-8779459DFA86 10 P:450A0300000000000000300240043C27450A030000000000000030021502:450A0100000000000000300240043C27450A010000000000000030021602
RAW Paste Data