Help Disabling Flash Protection Range Registers on Lenovo P360 Tiny BIOS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhorsen
    New Member
    • Jul 2023
    • 4
    • United States

    #1

    Help Disabling Flash Protection Range Registers on Lenovo P360 Tiny BIOS

    Hey guys,

    Hope you all are doing well. I come here from Win-Raid because I am having issues disabling Flash Protection Range Registers so I can flash my BIOS from within Windows using Intel's IFW tool/using flashrom within Linux, however I cannot due to the above mentioned error.

    Here is my thread on Win-Raid detailing the whole process I went through: https://winraid.level1techs.com/t/re...h-gen/95478/27

    Essentially I managed to boot into Windows while shorting PINs 1+5 of my audio chip to disable the HAP bit so that flash descriptors are unlocked until reboot, and then flashed a modified flash descriptor with the HAP bit disabled so that it will persist over reboot and disable Intel Management Engine.

    I thought that this would also enable write access for the BIOS region of my SPI, however it did not. After some heavy research, I found out that my BIOS has a Flash Protection Range Register option (hidden from the menu) so I booted into a UEFI shell and Disabled that option as well as the BIOS lock using datasone's setup_var.efi package here: https://github.com/datasone/setup_var.efi.

    However it does not persist after a reboot. I noticed that whenever I modify the BIOS lock or even just the FPRR option and reboot, I get to the Lenovo BIOS screen and the screen goes black then reboots again, where it again goes to the Lenovo BIOS screen and ultimately will continue booting the OS. It seems like when this BIOS screen goes black and reboots, the modified setup_var's get reset to default.

    Can anyone here assist me in disabling this Flash Protection Range Register setup_var? My chip is an XMC WSON8 chip and I would rather not have to desolder it from the board just to read/write to it if at all possible, I would like to keep this completely software-based.

    I know its possible as the option is there in the BIOS, I just can't figure out why the OS won't boot if those options are modified and the BIOS will ultimately reset the values on its own. I do have Secure Boot disabled.

    May I post my BIOS here for assistance? If so, would you need a full SPI dump (including DESC, ME, GbE, etc regions) or just the BIOS region?

    Thanks in advance for any assistance!
    Last edited by abhorsen; 07-06-2023, 10:34 AM.
  • abhorsen
    New Member
    • Jul 2023
    • 4
    • United States

    #2
    Re: Help Disabling Flash Protection Range Registers on Lenovo P360 Tiny BIOS

    Anyone that has any input on this or can help?

    Comment

    • abhorsen
      New Member
      • Jul 2023
      • 4
      • United States

      #3
      Re: Help Disabling Flash Protection Range Registers on Lenovo P360 Tiny BIOS

      Bump on this again? Really struggling to flash a BIOS to my chip; Tried using AMI's flash utilities as an alternative and got the below error:

      127 - Error: Failed to load image into memory.
      BIOS Guard is enabled, This feature may not be supported.

      Any input from anyone at all would be very much appreciated.

      Comment

      Related Topics

      Collapse

      • ekozeko333
        [Help] Lenovo Yoga Slim 7-14ARE05 (DA0LS3MBAF0) – 25Q80DVN1G Flash Is All FF, USB-C PD Stuck at 5V
        by ekozeko333
        Hi all,
        I’m trying to recover a Lenovo Yoga Slim 7-14ARE05 with board DA0LS3MBAF0 Rev:F. I’ve run into an unusual issue where USB-C PD is stuck at 4.7–5V and the system won’t boot (keyboard lights flash briefly, then nothing).
        🔥 The Problem Started After Suspected ESD/PD Fault
        I experienced a power issue or ESD event through a USB-C charger
        After that, the NX20P5090 power switch was visibly burned and was replaced
        Now the PD controller always negotiates 5V @ 2A, even with known-good chargers
        🧠 What I’ve Done So Far
        Flashed...
        06-21-2025, 02:48 AM
      • corrize
        Nikon D800 camera - flash don’t work and capacitor don’t charge
        by corrize
        Hello, I'm stuck in troubleshooting…
        The flash system works like that : when the (mechanic) flash button is pressed, the flash mecanically pop up, and a circuit buck boost elevate 7v (batt) to 200-300v (?) for charging the big capacitor. And when the photo shoot button is pressed, the capacitor is discharged in the xeon light.

        In the D800, there is a first « power board » close to the battery. 2 wires (batt 7v) goes to another little « flash board ». I measured 7v, so ok.
        When I press the flash button, it's detected by the system, flash icon appear on LDC display....
        10-01-2022, 10:02 AM
      • Document Archive
        STM32F103C8, STM32F103R8, STM32F103V8, STM32F103T8, STM32F103RB, STM32F103VB, STM32F103CB, STM32F103TB Datasheet
        by Document Archive
        The STM32F103C8, STM32F103R8, STM32F103V8, STM32F103T8, STM32F103RB, STM32F103VB, STM32F103CB, STM32F103TB medium-density performance line family incorporates the high-performance Arm Cortex-M3 32-bit RISC core operating at a 72 MHz frequency, high-speed embedded memories (Flash memory up to 128 Kbytes and SRAM up to 20 Kbytes), and an extensive range of enhanced I/Os and peripherals connected to two APB buses. All devices offer two 12-bit ADCs, three general purpose 16-bit timers plus one PWM timer, as well as standard and advanced communication interfaces: up to two I2Cs and SPIs, three USARTs,...
        10-07-2024, 04:40 AM
      • abajor
        Canon VIXIA HF S10 A read data from inernal flash memory.
        by abajor
        Hello I've had somebody bring in one of these charming little cameras to attempt retrieving data from the internal 32GB flash.
        Something is damaged inside the cameras lens assembly I can hear it clunking around and it has probably dislodged the sensor, powering up the camera gives a blank screen and the focus motor sounds like it's having a fit.
        The camera will not connect to a computer via USB in this state, I have no options no navigation, just power up and focus/zoom motor noises.

        I think my best shot is to figure out a way to read the internal flash memory outside...
        07-20-2024, 12:04 AM
      • Ihandyrepair
        4 red flash led 65X950G boot Sony and android logo but then black
        by Ihandyrepair
        HI guys

        I got here a Sony 65X950G - I tried to find any repairs guides for this model but not many online

        here is the issue
        I have Sony and android logo. but then 4 led red flash lights front of the tv

        I have 3.3v ref. 12v reg then T con 12v when I press the power on button
        but then I get black screen and 4 red flash light at the front LED
        but I get 3 led flash on the LED driver board.

        I check that few X900F or C YouTube repairs, seems that if you have 4 led red flash it could be due of LED black light error
        so I tried...
        07-11-2024, 01:45 AM
      • Loading...
      • No more items.
      Working...