0
Restore to stock

  1. lpb1337
    Cupcake Jun 19, 2021

    lpb1337 , Jun 19, 2021 :
    I need help restoring my oneplus 7pro to stock. I had Lineage OS 18.1 installed and I attempted to restore to stock following this guide but now all the phone does is go to the bootloader in fastboot mode.

    Here is what I did:

    I downloaded OnePlus7ProOxygen_13.W.15_OTA_015_all_1910300136_7ea4bb9be2eb4046.zip which is the open beta based on A10.

    I extracted the payload.bin and used python to dump all the files out of payload.

    Then ran the following commands:
    1. fastboot -w
    2. fastboot flash aop_a aop.img
    3. fastboot flash aop_b aop.img
    4. fastboot flash bluetooth_a bluetooth.img
    5. fastboot flash bluetooth_b bluetooth.img
    6. fastboot flash boot_a boot.img
    7. fastboot flash boot_b boot.img
    8. fastboot flash dsp_a dsp.img
    9. fastboot flash dsp_b dsp.img
    10. fastboot flash dtbo_a dtbo.img
    11. fastboot flash dtbo_b dtbo.img
    12. fastboot flash modem_a modem.img
    13. fastboot flash modem_b modem.img
    14. fastboot flash oem_stanvbk oem_stanvbk.img
    15. fastboot flash qupfw_a qupfw.img
    16. fastboot flash qupfw_b qupfw.img
    17. fastboot flash storsec_a storsec.img
    18. fastboot flash storsec_b storsec.img
    19. fastboot flash system_a system.img
    20. fastboot flash system_b system.img
    21. fastboot flash vbmeta_a vbmeta.img
    22. fastboot flash vbmeta_b vbmeta.img
    23. fastboot flash vendor_a vendor.img
    24. fastboot flash vendor_b vendor.img
    25. fastboot flash LOGO_a LOGO.img
    26. fastboot flash LOGO_b LOGO.img
    27. fastboot reboot bootloader
    Everything worked with no errors however I am stuck on the bootloader and it will not go into a recovery or OOS. I'm assuming if I had a way to put a recovery on it I would be able to install a rom.

    When I type fastboot boot twrp.img I see the following:
    downloading 'boot.img'...
    OKAY [0.717s]
    booting...
    Failed (remote: Failed to load/authenticate boot image: Load Error)
    finished. total time: 0.748s

    What can I do?
     

    #1
  2. Artemus.
    Community Hero 2020 Jun 19, 2021

    Artemus. , Jun 19, 2021 :
    https://forum.xda-developers.com/t/...0-gm21ba-collection-of-unbrick-tools.3956595/
     

    #2
    J4t1np4r3kh, Tobikage and lpb1337 like this.
  3. lpb1337
    Cupcake Jun 19, 2021

    lpb1337 , Jun 19, 2021 :
    Thank you for the fast reply. That thread got me on the right track. Sent me to this XDA thread which has fastboot roms with a flash.all file. That didn't boot but got the recovery/bootloader back. From there I was able to boot to twrp recovery, flash the stock rom, and all done and in OOS again. So thank you thank you thank you.
     

    #3
    J4t1np4r3kh and Artemus. like this.
  4. Artemus.
    Community Hero 2020 Jun 19, 2021

    Artemus. , Jun 19, 2021 :
    Could you mark my post as best answer, please? It'd help others who happen to stumble upon this thread will know the solution? :)
     

    #4
    Liehjan and J4t1np4r3kh like this.