Skip to content

chnzzh/lenovo-logo-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lenovo UEFI Boot Logo Changer

GitHub License GitHub top language GitHub Workflow Status (with event) Static Badge

Lenovo UEFI Boot Logo Changer is a rust program designed to modify the Boot startup logo on Lenovo devices with UEFI firmware. This tool allows you to customize the boot logo with different format image.

20240128171115

Download the latest executable file compiled by GitHub Actions

You can also refer to How to build to compile it yourself.

Important

  • This program involves modifications to UEFI variables and the ESP partition. Please ensure to backup important files before usage.
  • This program will not check if the image files you are using comply with the correct image format. Please ensure that your images can function properly. (Otherwise your system may be compromised: LogoFAIL)
  • This program is intended for personal research use only.
  • All risks are assumed by the user.

Usage

ui

Windows

  • Right-click on the executable file and run it in administrator mode.
  • Click "Open Image" to upload a suitable image.
  • Click "Change Logo"

Linux

  • Run the program with root privileges:
    sudo ./lenovo-logo-changer
  • Click "Open Image" to upload a suitable image.
  • Click "Change Logo"

How it Works

Lenovo UEFI Boot Logo Changer operates by leveraging Lenovo's support for user customization of the boot logo through the ESP (EFI System Partition). The process involves placing a custom image into the ESP partition and then configuring UEFI variables to instruct the DXE (Driver Execution Environment) program to read and display the user-defined logo during the system's boot process.

So this tool do:

  1. Read UEFI Variables to determine whether the system supports Logo Change;
  2. Place Selected Image in ESP Partition;
  3. Modify UEFI Variables to enable the UEFI program to correctly set and display the customized logo.

All of the above operations need to be performed with administrator privileges.

How to build

On Linux

  1. Install Rust:
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

For Linux

  1. Build the project:
    cargo build --release

For Windows

  1. Add the Windows target for Rust:

    sudo apt install mingw-w64 -y
    rustup target add x86_64-pc-windows-gnu
  2. Build the project:

    cargo build --release --target x86_64-pc-windows-gnu

Currently Supported Devices

🔴 ThinkPad

  • ThinkPad E14
  • Thinkpad T14P Gen 1
  • ThinkPad X13 Gen 4

📕 ThinkBook

  • ThinkBook 14 G4+ ARA
  • ThinkBook 16 G5+ ARP
  • ThinkBook 16 G7 IML
  • ThinkBook 14p G3 ARH
  • ThinkBook 14 G7+ IAH

💻 IdeaPad

  • Lenovo IdeaPad Slim 5 14AHP9 (83DB)
  • Lenovo Ideapad Gaming 3 15ACH6 (82K2)
  • Lenovo Ideapad Slim 3i
  • Lenovo IdeaPad Slim 5 16AHP9
  • Lenovo IdeaPad Slim 3 15ARP10

🎮 LOQ

  • Lenovo LOQ 15IRH8
  • Lenovo LOQ 15ARP9
  • Lenovo LOQ 15IAX9
  • Lenovo LOQ 15IRX10

⚡ Legion

  • Lenovo Legion Pro 5 16ADR10 (83LT)
  • Lenovo Legion Go

🪽 Yoga

  • Lenovo Yoga Slim 6 14IAP8
  • Lenovo Yoga Slim 7 Aura Edition 15,3"
  • Lenovo Yoga Pro 7i Aura Edition

Community Contributions Welcome

If you have successfully used this tool on a Lenovo device, please report it in #34. Thanks to everyone who tests and shares successful devices!

About

Personalize your Lenovo's UEFI boot logo with jpg/tga/pcx/gif/bmp/png

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages