← cd ../bios

Insyde H2O UEFI · Dual SPI Flash

# Lenovo IdeaPad P400 Touch

Firmware personalizado mediante ingeniería inversa. Parcheo binario directo en chips SPI U5/U6 para eliminar restricciones OEM, optimizar el suministro de energía y maximizar el rendimiento de la iGPU.

# Hardware

CPU
Intel Core i7-3632QM (Ivy Bridge, 35W TDP)
GPU
Intel HD 4000 (GT2, max 1150 MHz)
RAM
12GB DDR3 Dual Channel
Firmware
Insyde H2O UEFI
SPI Flash
2 chips separados (U5 + U6), ambos SOIC-8

#Arquitectura del Firmware

U5 — Chip Principal

4MB (0x400000) · Insyde Freeform + Custom DXE

0x000000
Intel Flash Descriptor + ME Region
0x185000
FFSv2 Freeform (LZMA) — filesystem 7A9354D9...
0x193000
Non-empty Padding (DXE Insyde) ← patches here

Filesystem GUID

7A9354D9-0468-444A-81CE-0BF617D890DF

Freeform files FFSv2 (0 diffs vs original)

9415B75C-E1B8-4E2A-988D-DD399B9A985EC3C89EA3-58A6-43ED-B685-0ED535B2E36F4CD76A24-C25B-4E60-9B4F-25E96B9EBFF6

U6 — Almacén NVRAM

2MB (0x200000) · NVRAM + Microcodes + VSS Variables

0x000000
Empty padding (0xFF)
0x0EE000
Intel Microcodes (7x)
0x10E000
VSS NVRAM Variables ← mods here

Key variable @ 0x111AAD

Setup / A04A27F4-DF00-4D42-B552-39511302113D (size: 0x3CC bytes)

#Modificaciones en U5

(Non-empty Padding @ 0x193000)
#VariableOriginalCustomPropósito / Descripción
1PCI Whitelist WLAN0x1E→0x00Bypasses Error 1802. Disables WiFi Vendor/Device ID check.
2PCI Whitelist WWAN0x01→0x00Unlocks M.2 slot for unapproved 3G/4G LTE modems.
3BIOS Password ResetDisabled→EnabledExposes hidden setup option to clear supervisor password.

#Modificaciones en U6

(NVRAM Setup Variables)

All variables reside in VarStore: Setup (GUID: A04A27F4-DF00-4D42-B552-39511302113D). Offsets mapped via IFRExtract from the SetupUtility module. Note: A duplicate Custom variable exists @ 0x1116F/0x11167F with the same GUID, but Setup @ 0x111AAD is targeted.

#VariableOriginalCustomPurpose / Description
4DVMT Pre-Allocated64MB→512MBEliminates i915 driver ring buffer timeouts and graphic artifacts.
5Aperture Size256MB→512MBExpands PCI aperture for heavy OpenGL / Vulkan workloads.
6RC6 Render StandbyEnabled→DisabledForces iGPU active. Fixes random desktop freezes during GPU state transitions.
7Deep RC6Enabled→DisabledDisables deepest C-state power gating on the iGPU.
8Gfx Low PowerEnabled→DisabledPrevents GPU clock down-stepping during high-priority frame rendering.
9Turbo PWR MSR LockLocked→UnlockedUnlocks MSR 0x610. Enables live runtime TDP tuning from the OS.
10PL1 Long Duration35W→45WSustained power budget. Prevents throttling under continuous workloads.
11PL2 Short Duration44W→60WShort-burst power budget (28s). Instant boost for app launches.
12GPU Current LimitAuto→5ACurrent limit to iGPU. 5A maintains rock-solid 1150 MHz boost.
13Boot Display (Hybrid)LFP→CRT+LFPOutputs POST/BIOS to both external display (VGA) and internal panel (Offset 0x198: 0x10 → 0x02).

#Resumen

#VariableOriginalCustomChip
1Whitelist WLAN0x1E0x00U5
2Whitelist WWAN0x010x00U5
3Password ResetDisabledEnabledU5
4DVMT Pre-Allocated64MB512MBU6
5Aperture Size256MB512MBU6
6RC6 Render StandbyONOFFU6
7Deep RC6ONOFFU6
8Gfx Low PowerONOFFU6
9Turbo PWR MSR LockLockedUnlockedU6
10PL135W45WU6
11PL244W60WU6
12GPU Current LimitAuto5AU6
13Boot Display DeviceLFPCRT+LFPU6

Total: 10 bytes modificados en NVRAM (U6) + 3 parches en módulo DXE (U5)

#Verificación Post-Flasheo

DVMT 512MBOK
Aperture 512MBOK
VT-xOK
Artefactos GráficosEliminados
Third-party WiFiNo Error 1802
GPU 1150 MHzStable RP0

#Binarios del Firmware

Advertencia: Requiere un programador SPI CH341A + pinza de prueba SOIC-8. Se requiere flasheo directo al chip; el sistema rechaza imágenes sin firmar. Siempre haz una copia de seguridad de los chips originales primero.

#Herramientas

UEFITool — firmware module analysis & extraction · UEFIPatch — applying patches to DXE modules · IFRExtract — extracting IFR forms from SetupUtility · CH341A + SOIC-8 clip — SPI programmer · Hex editor — direct binary editing of the VSS store

ESC
Navegación
→ Inicio / → Sobre mí /about → Blog /blog → Uses /uses → Videos /videos → BIOS /bios → Colaborar /colaborar → Apoyar /apoyar
Artículos
· Simgot EW300 HBB: Review honesta — ¿valen $80 unos IEMs tri-híbridos? 2026-07 · DeepSeek CLI: Guía de instalación, comandos y uso en terminal (Linux/macOS) 2026-04 · Cómo arreglar Artifacts y Parpadeos (TearFree) en Gráficas Intel (Linux + VGA) 2026-04 · Instalar Arch Linux en Android de forma Semi-Nativa con chroot 2026-04
Proyectos
⚡ Corex (cx) Rust / Agent ⚡ deepseek-cli TypeScript ⚡ lenovo-p400-bios Firmware
Redes Sociales
↗ YouTube external ↗ GitHub external ↗ Discord external
↑↓ navegar ↵ abrir ESC cerrar