If I cannot root the device from the device (no option to install from usb) I’ll have to flash twrp-3.7.0_9-0-X00P.img from my computer (ubuntu 23.10) using fastboot (bootloader)

I plan to follow this instructions: https://xdaforums.com/t/recovery-unofficial-x00pd-v3-3-1-teamwin-recovery-project-24-06-2019.3942717/ unless you mean the instructions are outdated and I shouldn’t do this. However I have questions:

the link shows this command:

fastboot flash recovery $RECOVERYNAME

I don’t understand it: Do I have to change $RECOVERYNAME with twrp.img?

Neither do I understand what follows: Boot to OLD TWRP > INSTALL > Select Image > Navigate to twrp.img > Select it & Swipe to Flash, in the device? from my computer with fastboot? As of now there is no TWRP installed in the device.

help appreciated.

  • BearOfaTime@lemm.ee
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    1 year ago

    Do I have to change $RECOVERYNAME with twrp.img?

    Yes.

    The breakdown of that command:

    fastboot - using the fastboot system

    flash - flash (write) to the named partition

    recovery - the partition to be flashed

    recoveryname - the path to and filename of the image to flash

    “Flashing” as a concept (and the origin of the name) goes back to the first EEPROM (Electronically Erasable Programmable Read-Only Memory) chips, which you programmed by literally flashing light onto it. UV maybe, no, think it was infrared? I forget, this was back in the 80’s, and EEPROM flashing was done with a little box with the light source in it with a holder for the EEPROM package.

    • vestmoriaOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      thank you for breaking that command down for me. The command should look:

      fastboot flash recovery /home/alice/TWRP/twrp.img

      However, I still don’t understand this:

      flash - flash (write) to the named partition

      I haven’t named any partition, there is no path to the partition, is there?

      • T4V0@lemmy.pt
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        I haven’t named any partition

        Yes you did. It’s the recovery partition.

        there is no path to the partition, is there?

        No.