This repo contains:
- A GUI app to control the fan speed / Mode for many Razer Blades
- EC Mod tutorial to patch your own EC to unlock all fan speed manual control, Unlock Higher or lower TDP, Change GPU TDP mode
- Documented discovery for those who is interested on how does the EC of Razer Blade work and how does Razer Synapse communicate with it and how does the EC controls the Razer Blade(For this check FINDINGS.MD)
The process and mechanism is very complicated(it took me a day to just write the MarkDown files), it's advised that you directly ask your trusted AI how to use
-
For Razer Blade 15 Base (Early 2020,
RZ09-0328), you can use the controller immediately:Go to the Releases page and download
BladeFanControl.exe, then you can use that app to control the fan with limited range of rpm. -
For other Razer Blades:
Given that most razer blades share the same method of fan/mode control(The same method used by Synapse), the app should also work on other razer blades, do the same procedure as given above for
RZ09-0328and it normally would work. There is chance that it won't work because I haven't tested on other blades yet, but it won't do any damage if doesn't work.
A not modded Razer Blade will have limitation to how much can you adjust it's fan RPM, every mode other than factory test mode will have a specific range of RPM allowed for manual rpm control. Different razer blade will have different limits with un-modded EC, for example
Rz09-0328have different limit compared toRz09-0330. According to EC firmware codes/instructions EC will return successful when you set RPM manually outside the RPM range and it will set the RPM to the closest available RPM, for example assuming theManual RPM minis 2000, and you set 1500, EC will return success but set RPM to 2000 instead of 1500. Normally the "Silent" mode give you the biggest range of manual fan control.The limit of
Rz09-0328is given as below:
Mode Name Auto RPM range Auto steps Manual RPM min Manual RPM max Manual default 0 Balanced 0 (stop) or 2500–5300 0–9 4300 5500 4900 1 Gaming 0 (stop) or 2700–5500 0–9 4900 5500 5200 2 Creator / Perf 0 (stop) or 2700–5500 0–9 4900 5500 5200 3 Legacy 0 (stop) or 2700–5500 0–9 4900 (requests below this give 0 RPM, a firmware quirk) 5500 – 4 Custom 0 (stop) or 2700–5500 0–9 4900 5500 5200 5 Silent 0 (stop) or 2200–3250 0–7 2400 5000 3100 6, 7 Silent clones 0 (stop) or 2200–3250 0–7 2400 5000 3100
Warning
Due to the electronic physical limit of a laptop fan, it can't operate reliably at low RPM, for my razer blade it would appear that the fan might come to stop unexpectedly or not starting at all for RPM of range 1-1000, though there is probably no harm of setting such RPM other than it might not always run. RPM of 1500 and above seems to be able to keep the fan running reliably. If you want the fan to keep running but as silent as possible, a good range I would recommend is 1500-2200 RPM.
On stock firmware, manual fan control is heavily restricted which has been show above. The way to remove the limit is to reprogram/patch the EC ourself by rewriting the firmware partially
There isn't a limit to how much you can change the EC, as far as I am concerned, you can reprogram the EC to send morse code if you want, but that is pointless, normally you would rewrite the EC to change the fan limit or TDP limit.
With my offline patching script, you can unlock full 0–5500 RPM manual control across every mode
- If you already have python installed locally proceed to step 2, if not: install Python 3.10+ and tick "Add python.exe to PATH".
- Download this repository.
- Enter the folder of this repository that you(Blade-EC-Control) and double-click
ec_research/EcRomDump.cmdand click Yes on the UAC prompt. The script installs PawnIO temporarily, reads the EC, then uninstalls PawnIO. - Wait for "Press any key". Your EC backup is saved inside
diagnostics/rom-dump-<timestamp>/ec-rom-00000-3ffff.bin(the exact folder path is printed in the window).
After extracting the EC in step 1, you might want to modify it to change settings such as fan RPM restriction or CPU TDP or GPU TDP or other stuff, for this read below:
You have 3 method of patching/modding the EC(The first and third is the most recommended):
- Use the auto-patcher program provided in release page
- Manually read through the structure of the EC and manually reprogram it
- Ask a AI agent to do it for you
- Method 1: Auto-Patcher
- Download RazerECAutoPatcher.exe
- Double click it to run it and in the user interface load the
ec-rom-00000-3ffff.binyou extracted earlier - 2 thing might happen after you load the binary, either your bin matches the signature and the program is able to recognize the bytes of your binary, then you can proceed to the next step. If the program fails to recognize the signature pattern of your binary then you will have to try Method 2 or 3, RazerECAutoPatcher.exe can't help you.
- If the program is able to recognize your
.binthen congrats! You can now edit your binary inside the app. - After finishing your edits, Go to tab Signature Scan & Diff and check the check box
Force 0xff (SPI mirror). - run a verification simulation to check if the new patched firmware will work in the EC by clicking "Verify & Preview (NDS32 Emulator)", if verification passes proceed to next step, if not create a issue
- Press "Save Patched ROM (.bin)..." to save
- All done! Proceed to flashing the ROM you just patched!
-
Method 2: Manual programming Read all the MD of this repo including FINDINGS.MD and then hopefully you will understand how to do it :)
-
Method 3: Ask for the help of a AI Agent Just send the URL of this repository to a AI you think is the smartest and send it the binary of the EC you extracted and ask it to parse it and give you options to mod it. Best if you do it with a Agent instead of a web AI model, for reference ChatGPT Sol 6+ MAX/ Astra 6.2 Max in codex can definitely do it, Gemini Neon/Carbon/Hydrogen/Argon in google antigravity has no problem as well.
Caution
Read before flashing: Flashing EC firmware always carries hardware risk if power is lost or the wrong file is flashed. Never flash a ROM from a different laptop model, follow the full step-by-step checklist in docs/FLASH_GUIDE.md. No copyrighted Razer firmware or flasher binaries are hosted here — you dump your own backup and patch it locally.
Disclaimer: Use at your own risk. Flashing or modifying EC firmware can permanently brick your device, and this repository or the owner of this repository is not responsible for any damage.
- Verify your backup & patched binary:
- Make sure your dumped stock backup (
ec-rom-00000-3ffff.bin) is saved off-machine (e.g., on a USB drive).
- Make sure your dumped stock backup (
- Prepare the laptop:
- Make sure your laptop won't loss power during the process by plug in charger and make sure battery is full enough
- Close Razer Synapse,
BladeFanControl.exe, HWiNFO, MSI Afterburner, and any other hardware/sensor monitoring software. - Disable auto sleep/hibernation in windows setting in case your blades decides to sleep
Important
Never run the unpatched Razer_EC_Flash_v1.03.exe. Razer's original flasher has a bug where a verification failure still exits Follow Mode (0xFC) and forces a reboot. Always patch it first with patch_razer_flasher.py.
- Unpack Razer's official EC flasher (
Razer_EC_Flash_v1.03.exe) and patch its verify-failure bug(that's right, razer's own EC updater have bugs):- Download Razer's official EC updater package RazerUpdater_v1.1.1.2_CH551-ECv0101.exe (this works for blades of other model as well)
- Extract the installer without running the update using either method:
- Method 1 — 7-Zip (Recommended, never executes the installer): Right-click
RazerUpdater_v1.1.1.2_CH551-ECv0101.exe→ 7-Zip → Extract to "RazerUpdater_v1.1.1.2_CH551-ECv0101" (or open it inside 7-Zip File Manager and drag the payload files out). - Method 2 — From
%TEMP%: LaunchRazerUpdater_v1.1.1.2_CH551-ECv0101.exebut stop at the welcome screen (do NOT click Update). PressWin + R, type%TEMP%, press Enter, open the newly created temporary Razer folder, copy the payload files out, and close the updater window.
- Method 1 — 7-Zip (Recommended, never executes the installer): Right-click
- Create a clean working folder (e.g.,
ec_flash\) and copy only these 6 files into it:Razer_EC_Flash_v1.03.exe(46,592bytes, SHA-256:3590f72531078eb9562f8ed864753ea710a1d2723f693923b99b3a981b78f07b)ToolConfig.iniWinRing0x64.dll&WinRing0x64.sysWinRing0.dll&WinRing0.sys
- Delete
CH551_EC_01_01.binimmediately so you can never accidentally flash theRZ09-0330ROM onto your board. - Run our offline
.NETsafety patcher againstRazer_EC_Flash_v1.03.exe, change the path as needed:python ec_research/patch_razer_flasher.py --in-exe ec_flash/Razer_EC_Flash_v1.03.exe --out-dir ec_flash
- This creates two safe executables inside
ec_flash\:Razer_EC_Flash_v1.03_safe.exe: Fixes Razer's verify-failure bug so if verification ever fails, it skips0xFC(Exit Idle) and exits with code2instead of forcing a reboot into a bad flash.Razer_EC_Flash_v1.03_recovery_in_follow_mode.exe: Allows immediate re-flashing in the same Command Prompt if_safe.exeever reports a verification mismatch.
- Configure
ToolConfig.ini:- Delete any foreign
.binfiles that came with the Razer updater so you cannot accidentally flash the wrong model. - Copy your patched
.bin(and your stock rollback.bin) into the flasher folder and editToolConfig.ini:(Replace[ToolConfig] FILE=your-patched-ec-8dff.bin SSID=2011 REBOOT=0
2011with your own board's 4-digit hexSSID— shown in theEcRomDump.cmdconsole output and insidediagnostics/rom-dump-<timestamp>/probe.jsonunder"ssid", without the0xprefix.)
- Delete any foreign
- Allow
WinRing0x64.systo load temporarily:- Because Razer's flasher uses
WinRing0x64.sys, Windows 11 blocks it by default. Temporarily turn off Memory Integrity (HVCI) and the Microsoft Vulnerable Driver Blocklist in Windows Security → Device Security → Core Isolation and you must reboot before continue.
- Because Razer's flasher uses
- Run the flash:
- Open Command Prompt as Administrator,
cdinto your flasher folder, and run:Razer_EC_Flash_v1.03_safe.exe
- If it prints
Update <your-file>.bin file ok!(with NO.......Failline):- Perform a full Windows shutdown (do not just click Restart).
- Wait 10 seconds, then press the power button to turn the laptop back on (the EC mirrors the new firmware on cold boot).
- If it EVER prints
.......Fail(%ERRORLEVEL% == 2):- DO NOT reboot or power off!
- Immediately run
Razer_EC_Flash_v1.03_recovery_in_follow_mode.exein the same Administrator Command Prompt (or pointToolConfig.inito your stock rollback.binfirst and run_recovery_in_follow_mode.exe) until it printsUpdate <file> file ok!.
- Open Command Prompt as Administrator,
If your Blade's IT8390E-256 flashes internal eFlash directly (SPI ID == FF FF FE rather than an external GD25Q64), you can use our pure-Python Linux flasher (ec_research/ite_ec_flash_linux.py), which includes a 100% read-only --verify-only dry run and automatic per-sector retries without needing WinRing0:
- Temporarily disable Secure Boot in BIOS (Linux blocks
/dev/portunder Secure Boot lockdown) and boot a Linux Live USB (e.g., Ubuntu). - Read-only board check:
sudo python3 ec_research/ite_ec_flash_linux.py --check-only
- Mandatory read-only dry run (zero erase / zero write):
(If this reports an external SPI chip ID instead of
sudo python3 ec_research/ite_ec_flash_linux.py --verify-only --stock path/to/ec-rom-00000-3ffff.bin
FF FF FE, it will safely abort without touching flash — use Option A instead.) - Flash the patched ROM (only after
--verify-onlypasses 100%):sudo python3 ec_research/ite_ec_flash_linux.py --flash path/to/your-patched-ec.bin --i-accept-brick-risk
- Wait for
FLASH & 256 KiB VERIFY SUCCEEDED 100%, shut down completely (sudo poweroff), wait 10 seconds, and power back on.
- Verify live: Back in Windows (with HVCI re-enabled), double-click
ec_research/EcVerifyLive.cmd(or runpython ec_research/ec_sio_probe.py --verify-live) to confirm your patched bytes, cache version, and new RPM/power limits are active in live EC RAM. - Rollback to stock anytime: Flash your stock backup
.bin(with0x0008D = 0xFFon mirror boards) using the exact same steps above. On first boot, the stock firmware detects the bumped cache version and automatically rebuilds the external BIOS SPI caches back to factory defaults.
Enjoy!
If you find this repository useful, please consider giving it a star ⭐!
If you successfully extracted or flashed the EC on your razer blade please create a issue or send me a email with your razer blade model so I can add it to supported device list
Your support helps more people discover this project and motivates further development and improvements.
Thank you for your support!
| Path | What's Inside |
|---|---|
| Releases | Pre-built standalone BladeFanControl.exe & RazerECAutoPatcher.exe |
| docs/FLASH_GUIDE.md | Step-by-step EC dump, patch, flash, live verification & stock rollback guide |
| FINDINGS.md | Full technical reference for tinkerers (memory maps, registers, ACPI/PECI/GPU details, hidden 0xFE/0xFF direct-PWM modes) |
| docs/ACPI_FAN_ANALYSIS.md | Why BIOS/ACPI/DPTF fan settings don't control the physical fans |
| ec_research/ | EC dumper, live verifier, NDS32 disassembler, ROM analyzer, v1/v2 patchers, Linux flasher & Razer flasher safety patcher |
| gui/ | Python source code for BladeFanControl.exe + Quiet/Performance preset scripts |
- PawnIO (
namazso/PawnIO&namazso/PawnIO.Modules) — WHCP-signed driver enabling safe, HVCI-compatible EC ROM dumping on Windows 11. - blade-control & razer-ctl — Prior open-source Razer HID protocol references.
- ACPICA
iasl— ACPI table disassembly.