UEFI utility to spoof the brand string of modern AMD processors via Machine State Registers. (Mirrored from https://github.com/InvoxiPlayGames/amd-brand-string-edit )
at master 19 lines 1.1 kB view raw view rendered
1# amd-brand-string-edit 2 3UEFI utility to edit the brand string of AMD processors (Family 10h through 4Family 19h) via the `Core::X86::Msr::ProcNameString` Machine State Registers. 5 6This is temporary and doesn't modify the CPU in any way, and the change is 7purely aesthetic. This does not work on Intel, TransMeta, WinChip, or VIA CPUs. 8 9![UEFI console text output that displays the CPU vendor as "AuthenticAMD" and logs current brand as "AMD Ryzen 7 2700 Eight-Core Processor", then logs new brand as "Lappy 486".](media/uefi_output.png) 10 11![Windows desktop displaying the Settings app's About screen with the Processor listed as "Lappy 486", and Task Manager's Performance monitor open to the CPU tab which displays the CPU as "Lappy 486".](media/windows_display.png) 12 13## Usage 14 15Replace the brand string in `src/main.rs` with your desired brand string, then 16run `cargo build --release --target x86_64-unknown-uefi`. Run the output .efi 17file (`target/x86_64-unknown-uefi/amd-brand-string-edit.efi`) on the computer 18via either an EFI shell or with the boot picker and the file located at 19`EFI/Boot/bootx64.efi` on removable storage.