Stuck with new Fairphone 3

That’s where @Ingo’s question matters decisively:
What exactly was done so far?

Installing /e/ should still be possible with the bootloader already unlocked and the displayed willingness to use the command line :slight_smile: .

Install instructions for /e/ are here … Install /e/OS on a Fairphone FP3/3+ - “FP3”.

If you want to try, make sure you use adb and fastboot from the current Android SDK Platform Tools, that’s a bit hidden in the instructions and not doing that can lead to some frustration with certain Linux distributions currently.

We can help if there are questions.
A few of us here are running /e/ already (because).

1 Like

Thank you very much.

I don’t know what was done so far.

I can switch between

  • restart bootloader
  • recovery mode
  • power off
  • start

with the volume down button.

But it ends always in the same state (see picture)

I wish to set the FP in the original state, and don’t know how.

On the FP thre is no command line

Ok, starting in Fastboot Mode …

  • Use the volume keys to select “Recovery mode” and press power to proceed.
  • Recovery mode should start with a picture of an Android with an opened hatch and with the text “No Command”.
  • In the menu there has to be a “factory reset” somewhere, that should be worth a try (even if it doesn’t do what the name implies, it just deletes Apps and user data, but sometimes it’s enough to get things going).

No, that would be on the computer.
We will need that if the factory reset proves to be not enough.

Which OS do you use on the computer … Windows/Linux/macOS?

1 Like

Recovery mode doen’t work

I use Windows 10, have a command line and can run adb. But adb doesn’t see my FP

Ok.

ADB only works when Android is booted, or with a very limited feature set in recovery mode. But ADB wouldn’t be of help now anyway.

With the phone in Fastboot Mode and connected to the computer you can use the fastboot command … fastboot devices should see the phone.

1 Like

Hello AnotherElk
thank you, one little step forward:

C:\Users\uwe\Documents\fairphone\platform-tools_r30.0.1-windows\platform-tools>fastboot devices
A209HLH80202 fastboot

and

C:\Users\uwe\Documents\fairphone\platform-tools_r30.0.1-windows\platform-tools>fastboot getvar all
(bootloader) version:0.5
(bootloader) hw-chip:SDM632
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:3830261
(bootloader) variant:MTP eMMC
(bootloader) unlocked:yes
(bootloader) secure:no
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) logical-block-size:0x200
(bootloader) erase-block-size:0x200
(bootloader) display-panel:
(bootloader) off-mode-charge:1
(bootloader) adb-enabled:0
(bootloader) charger-screen-enabled:1
(bootloader) max-download-size: 0x1fe00000
(bootloader) slot-count:2
(bootloader) current-slot:INVALID
(bootloader) slot-retry-count:b:0
(bootloader) slot-success:b:No
(bootloader) slot-active:b:No
(bootloader) slot-unbootable:b:Yes
(bootloader) slot-retry-count:a:0
(bootloader) slot-success:a:No
(bootloader) slot-active:a:No
(bootloader) slot-unbootable:a:Yes
(bootloader) has-slot:userdata: No
(bootloader) has-slot:product: Yes
(bootloader) has-slot:frp: No
(bootloader) has-slot:logdump: No
(bootloader) has-slot:dpo: No
(bootloader) has-slot:msadp: No
(bootloader) has-slot:apdp: No
(bootloader) has-slot:keymaster: Yes
(bootloader) has-slot:cmnlib64: Yes
(bootloader) has-slot:cmnlib: Yes
(bootloader) has-slot:lksecapp: Yes
(bootloader) has-slot:mcfg: No
(bootloader) has-slot:syscfg: No
(bootloader) has-slot:mdtp: Yes
(bootloader) has-slot:dip: No
(bootloader) has-slot:mota: No
(bootloader) has-slot:limits: No
(bootloader) has-slot:oem: No
(bootloader) has-slot:config: No
(bootloader) has-slot:prodinfo: No
(bootloader) has-slot:keystore: No
(bootloader) has-slot:misc: No
(bootloader) has-slot:persist: No
(bootloader) has-slot:vendor: Yes
(bootloader) has-slot:system: Yes
(bootloader) has-slot:devinfo: No
(bootloader) has-slot:boot: Yes
(bootloader) has-slot:vbmeta: Yes
(bootloader) has-slot:dtbo: Yes
(bootloader) has-slot:aboot: Yes
(bootloader) has-slot:splash: No
(bootloader) has-slot:sec: No
(bootloader) has-slot:fsg: No
(bootloader) has-slot:DDR: No
(bootloader) has-slot:modemst2: No
(bootloader) has-slot:modemst1: No
(bootloader) has-slot:dsp: Yes
(bootloader) has-slot:devcfg: Yes
(bootloader) has-slot:tz: Yes
(bootloader) has-slot:rpm: Yes
(bootloader) has-slot:sbl1: Yes
(bootloader) has-slot:ssd: No
(bootloader) has-slot:fsc: No
(bootloader) has-slot:modem: Yes
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata:    0xc2f6f9e00
(bootloader) partition-type:product_b:raw
(bootloader) partition-size:product_b:   0x8000000
(bootloader) partition-type:product_a:raw
(bootloader) partition-size:product_a:   0x8000000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp:         0x80000
(bootloader) partition-type:logdump:raw
(bootloader) partition-size:logdump:     0x4000000
(bootloader) partition-type:dpo:raw
(bootloader) partition-size:dpo:         0x2000
(bootloader) partition-type:msadp:raw
(bootloader) partition-size:msadp:       0x40000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp:        0x40000
(bootloader) partition-type:keymaster_b:raw
(bootloader) partition-size:keymaster_b:         0x100000
(bootloader) partition-type:keymaster_a:raw
(bootloader) partition-size:keymaster_a:         0x100000
(bootloader) partition-type:cmnlib64_b:raw
(bootloader) partition-size:cmnlib64_b:  0x100000
(bootloader) partition-type:cmnlib64_a:raw
(bootloader) partition-size:cmnlib64_a:  0x100000
(bootloader) partition-type:cmnlib_b:raw
(bootloader) partition-size:cmnlib_b:    0x100000
(bootloader) partition-type:cmnlib_a:raw
(bootloader) partition-size:cmnlib_a:    0x100000
(bootloader) partition-type:lksecapp_b:raw
(bootloader) partition-size:lksecapp_b:  0x20000
(bootloader) partition-type:lksecapp_a:raw
(bootloader) partition-size:lksecapp_a:  0x20000
(bootloader) partition-type:mcfg:raw
(bootloader) partition-size:mcfg:        0x400000
(bootloader) partition-type:syscfg:raw
(bootloader) partition-size:syscfg:      0x80000
(bootloader) partition-type:mdtp_b:raw
(bootloader) partition-size:mdtp_b:      0x2000000
(bootloader) partition-type:mdtp_a:raw
(bootloader) partition-size:mdtp_a:      0x2000000
(bootloader) partition-type:dip:raw
(bootloader) partition-size:dip:         0x100000
(bootloader) partition-type:mota:raw
(bootloader) partition-size:mota:        0x80000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits:      0x8000
(bootloader) partition-type:oem:raw
(bootloader) partition-size:oem:         0x10000000
(bootloader) partition-type:config:raw
(bootloader) partition-size:config:      0x8000
(bootloader) partition-type:prodinfo:raw
(bootloader) partition-size:prodinfo:    0x200000
(bootloader) partition-type:keystore:raw
(bootloader) partition-size:keystore:    0x80000
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc:        0x100000
(bootloader) partition-type:persist:raw
(bootloader) partition-size:persist:     0x2000000
(bootloader) partition-type:vendor_b:raw
(bootloader) partition-size:vendor_b:    0x40000000
(bootloader) partition-type:vendor_a:raw
(bootloader) partition-size:vendor_a:    0x40000000
(bootloader) partition-type:system_b:raw
(bootloader) partition-size:system_b:    0xc0000000
(bootloader) partition-type:system_a:raw
(bootloader) partition-size:system_a:    0xc0000000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo:     0x100000
(bootloader) partition-type:boot_b:raw
(bootloader) partition-size:boot_b:      0x4000000
(bootloader) partition-type:boot_a:raw
(bootloader) partition-size:boot_a:      0x4000000
(bootloader) partition-type:vbmeta_b:raw
(bootloader) partition-size:vbmeta_b:    0x10000
(bootloader) partition-type:vbmeta_a:raw
(bootloader) partition-size:vbmeta_a:    0x10000
(bootloader) partition-type:dtbo_b:raw
(bootloader) partition-size:dtbo_b:      0x800000
(bootloader) partition-type:dtbo_a:raw
(bootloader) partition-size:dtbo_a:      0x800000
(bootloader) partition-type:aboot_b:raw
(bootloader) partition-size:aboot_b:     0x300000
(bootloader) partition-type:aboot_a:raw
(bootloader) partition-size:aboot_a:     0x300000
(bootloader) partition-type:splash:raw
(bootloader) partition-size:splash:      0xb00000
(bootloader) partition-type:sec:raw
(bootloader) partition-size:sec:         0x4000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg:         0x180000
(bootloader) partition-type:DDR:raw
(bootloader) partition-size:DDR:         0x8000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2:    0x180000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1:    0x180000
(bootloader) partition-type:dsp_b:raw
(bootloader) partition-size:dsp_b:       0x1000000
(bootloader) partition-type:dsp_a:raw
(bootloader) partition-size:dsp_a:       0x1000000
(bootloader) partition-type:devcfg_b:raw
(bootloader) partition-size:devcfg_b:    0x40000
(bootloader) partition-type:devcfg_a:raw
(bootloader) partition-size:devcfg_a:    0x40000
(bootloader) partition-type:tz_b:raw
(bootloader) partition-size:tz_b:        0x200000
(bootloader) partition-type:tz_a:raw
(bootloader) partition-size:tz_a:        0x200000
(bootloader) partition-type:rpm_b:raw
(bootloader) partition-size:rpm_b:       0x80000
(bootloader) partition-type:rpm_a:raw
(bootloader) partition-size:rpm_a:       0x80000
(bootloader) partition-type:sbl1_b:raw
(bootloader) partition-size:sbl1_b:      0x80000
(bootloader) partition-type:sbl1_a:raw
(bootloader) partition-size:sbl1_a:      0x80000
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd:         0x2000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc:         0x400
(bootloader) partition-type:modem_b:raw
(bootloader) partition-size:modem_b:     0x5800000
(bootloader) partition-type:modem_a:raw
(bootloader) partition-size:modem_a:     0x5800000
(bootloader) hw-revision:10000
(bootloader) serialno:A209HLH80202
(bootloader) kernel:lk
(bootloader) product:FP3
all:
Finished. Total time: 1.953s

The Fairphone 3 is a so-called A/B device.
It has 2 “slots” (A and B) it can boot an OS from, but there’s still only one place for user data, so it’s not a complete dual-boot solution.
A/B is primarily there for updating the OS in the background (on the other slot which is not being used) while you can still use the phone and then just reboot into a completely updated OS (by just switching to the updated slot on reboot).
That being said …

What does the phone do after that?

C:\Users\uwe\Documents\fairphone\platform-tools_r30.0.1-windows\platform-tools>fastboot --set-active=a
Setting current slot to ‘a’ OKAY [ 0.020s]
Finished. Total time: 0.033s

C:\Users\uwe\Documents\fairphone\platform-tools_r30.0.1-windows\platform-tools>fastboot reboot
Rebooting OKAY [ 0.002s]
Finished. Total time: 0.005s

same behaviour

Back in Fastboot Mode? Then …

fastboot --set-active=b
fastboot reboot

same with b

C:\Users\uwe\Documents\fairphone\platform-tools_r30.0.1-windows\platform-tools>fastboot getvar all
(bootloader) version:0.5
(bootloader) hw-chip:SDM632
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:3850698
(bootloader) variant:MTP eMMC
(bootloader) unlocked:yes
(bootloader) secure:no
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) logical-block-size:0x200
(bootloader) erase-block-size:0x200
(bootloader) display-panel:
(bootloader) off-mode-charge:1
(bootloader) adb-enabled:0
(bootloader) charger-screen-enabled:1
(bootloader) max-download-size: 0x1fe00000
(bootloader) slot-count:2
(bootloader) current-slot:b
(bootloader) slot-retry-count:b:0
(bootloader) slot-success:b:No
(bootloader) slot-active:b:No
(bootloader) slot-unbootable:b:Yes
(bootloader) slot-retry-count:a:0
(bootloader) slot-success:a:No
(bootloader) slot-active:a:No
(bootloader) slot-unbootable:a:Yes
(bootloader) has-slot:userdata: No
(bootloader) has-slot:product: Yes
(bootloader) has-slot:frp: No
(bootloader) has-slot:logdump: No
(bootloader) has-slot:dpo: No
(bootloader) has-slot:msadp: No
(bootloader) has-slot:apdp: No
(bootloader) has-slot:keymaster: Yes
(bootloader) has-slot:cmnlib64: Yes
(bootloader) has-slot:cmnlib: Yes
(bootloader) has-slot:lksecapp: Yes
(bootloader) has-slot:mcfg: No
(bootloader) has-slot:syscfg: No
(bootloader) has-slot:mdtp: Yes
(bootloader) has-slot:dip: No
(bootloader) has-slot:mota: No
(bootloader) has-slot:limits: No
(bootloader) has-slot:oem: No
(bootloader) has-slot:config: No
(bootloader) has-slot:prodinfo: No
(bootloader) has-slot:keystore: No
(bootloader) has-slot:misc: No
(bootloader) has-slot:persist: No
(bootloader) has-slot:vendor: Yes
(bootloader) has-slot:system: Yes
(bootloader) has-slot:devinfo: No
(bootloader) has-slot:boot: Yes
(bootloader) has-slot:vbmeta: Yes
(bootloader) has-slot:dtbo: Yes
(bootloader) has-slot:aboot: Yes
(bootloader) has-slot:splash: No
(bootloader) has-slot:sec: No
(bootloader) has-slot:fsg: No
(bootloader) has-slot:DDR: No
(bootloader) has-slot:modemst2: No
(bootloader) has-slot:modemst1: No
(bootloader) has-slot:dsp: Yes
(bootloader) has-slot:devcfg: Yes
(bootloader) has-slot:tz: Yes
(bootloader) has-slot:rpm: Yes
(bootloader) has-slot:sbl1: Yes
(bootloader) has-slot:ssd: No
(bootloader) has-slot:fsc: No
(bootloader) has-slot:modem: Yes
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xc2f6f9e00
(bootloader) partition-type:product_b:raw
(bootloader) partition-size:product_b: 0x8000000
(bootloader) partition-type:product_a:raw
(bootloader) partition-size:product_a: 0x8000000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp: 0x80000
(bootloader) partition-type:logdump:raw
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:dpo:raw
(bootloader) partition-size:dpo: 0x2000
(bootloader) partition-type:msadp:raw
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:keymaster_b:raw
(bootloader) partition-size:keymaster_b: 0x100000
(bootloader) partition-type:keymaster_a:raw
(bootloader) partition-size:keymaster_a: 0x100000
(bootloader) partition-type:cmnlib64_b:raw
(bootloader) partition-size:cmnlib64_b: 0x100000
(bootloader) partition-type:cmnlib64_a:raw
(bootloader) partition-size:cmnlib64_a: 0x100000
(bootloader) partition-type:cmnlib_b:raw
(bootloader) partition-size:cmnlib_b: 0x100000
(bootloader) partition-type:cmnlib_a:raw
(bootloader) partition-size:cmnlib_a: 0x100000
(bootloader) partition-type:lksecapp_b:raw
(bootloader) partition-size:lksecapp_b: 0x20000
(bootloader) partition-type:lksecapp_a:raw
(bootloader) partition-size:lksecapp_a: 0x20000
(bootloader) partition-type:mcfg:raw
(bootloader) partition-size:mcfg: 0x400000
(bootloader) partition-type:syscfg:raw
(bootloader) partition-size:syscfg: 0x80000
(bootloader) partition-type:mdtp_b:raw
(bootloader) partition-size:mdtp_b: 0x2000000
(bootloader) partition-type:mdtp_a:raw
(bootloader) partition-size:mdtp_a: 0x2000000
(bootloader) partition-type:dip:raw
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:mota:raw
(bootloader) partition-size:mota: 0x80000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits: 0x8000
(bootloader) partition-type:oem:raw
(bootloader) partition-size:oem: 0x10000000
(bootloader) partition-type:config:raw
(bootloader) partition-size:config: 0x8000
(bootloader) partition-type:prodinfo:raw
(bootloader) partition-size:prodinfo: 0x200000
(bootloader) partition-type:keystore:raw
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-type:persist:raw
(bootloader) partition-size:persist: 0x2000000
(bootloader) partition-type:vendor_b:raw
(bootloader) partition-size:vendor_b: 0x40000000
(bootloader) partition-type:vendor_a:raw
(bootloader) partition-size:vendor_a: 0x40000000
(bootloader) partition-type:system_b:raw
(bootloader) partition-size:system_b: 0xc0000000
(bootloader) partition-type:system_a:raw
(bootloader) partition-size:system_a: 0xc0000000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo: 0x100000
(bootloader) partition-type:boot_b:raw
(bootloader) partition-size:boot_b: 0x4000000
(bootloader) partition-type:boot_a:raw
(bootloader) partition-size:boot_a: 0x4000000
(bootloader) partition-type:vbmeta_b:raw
(bootloader) partition-size:vbmeta_b: 0x10000
(bootloader) partition-type:vbmeta_a:raw
(bootloader) partition-size:vbmeta_a: 0x10000
(bootloader) partition-type:dtbo_b:raw
(bootloader) partition-size:dtbo_b: 0x800000
(bootloader) partition-type:dtbo_a:raw
(bootloader) partition-size:dtbo_a: 0x800000
(bootloader) partition-type:aboot_b:raw
(bootloader) partition-size:aboot_b: 0x300000
(bootloader) partition-type:aboot_a:raw
(bootloader) partition-size:aboot_a: 0x300000
(bootloader) partition-type:splash:raw
(bootloader) partition-size:splash: 0xb00000
(bootloader) partition-type:sec:raw
(bootloader) partition-size:sec: 0x4000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg: 0x180000
(bootloader) partition-type:DDR:raw
(bootloader) partition-size:DDR: 0x8000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2: 0x180000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1: 0x180000
(bootloader) partition-type:dsp_b:raw
(bootloader) partition-size:dsp_b: 0x1000000
(bootloader) partition-type:dsp_a:raw
(bootloader) partition-size:dsp_a: 0x1000000
(bootloader) partition-type:devcfg_b:raw
(bootloader) partition-size:devcfg_b: 0x40000
(bootloader) partition-type:devcfg_a:raw
(bootloader) partition-size:devcfg_a: 0x40000
(bootloader) partition-type:tz_b:raw
(bootloader) partition-size:tz_b: 0x200000
(bootloader) partition-type:tz_a:raw
(bootloader) partition-size:tz_a: 0x200000
(bootloader) partition-type:rpm_b:raw
(bootloader) partition-size:rpm_b: 0x80000
(bootloader) partition-type:rpm_a:raw
(bootloader) partition-size:rpm_a: 0x80000
(bootloader) partition-type:sbl1_b:raw
(bootloader) partition-size:sbl1_b: 0x80000
(bootloader) partition-type:sbl1_a:raw
(bootloader) partition-size:sbl1_a: 0x80000
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd: 0x2000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc: 0x400
(bootloader) partition-type:modem_b:raw
(bootloader) partition-size:modem_b: 0x5800000
(bootloader) partition-type:modem_a:raw
(bootloader) partition-size:modem_a: 0x5800000
(bootloader) hw-revision:10000
(bootloader) serialno:A209HLH80202
(bootloader) kernel:lk
(bootloader) product:FP3
all:
Finished. Total time: 1.930s

I have a backup dir:

backup

Can I put this an a sd-card in FP and do a recover?

When your phone is showing the screen like the picture you post, press volume key to select Power and then press the power button.
If you are lucky you get into to a page where you can choose:

restart bootloader
recovery mode
power off
start

Have a look at the right top end of the screen, there you can reboot your phone normally.

Hopefully this works on your phone to.

You can try. This looks like a TWRP backup. TWRP is a custom recovery program.

I have tried to restore a complete TWRP backup two times on my Fairphone 3, unsuccessfully, both times ending in a bootloop. Just to manage expectations, I myself obviously don’t know how to do that so that it works afterwards :slight_smile: .

TWRP will look for backups to restore in the following directory structure either in Internal Storage (which isn’t an option in this case here) or on an SD card in the phone (includes the serial number of the phone you got with fastboot devices):

  • TWRP
    • BACKUPS
      • A209HLH80202
        • (some directory name TWRP puts together automatically, shouldn’t be too important if you have to make one up)
          • here are all these files

If you have this structure already, just copy it to the SD card as it is.

Download the TWRP image to your computer from TWRP for Fairphone 3.

With the phone in Fastboot Mode
fastboot boot twrp-whatever-else-is-in-the-filename.img

TWRP starting the first time (or not being able to access the data partition) will ask whether to keep the system partition read-only or to allow modifications … keeping it read-only is the safe choice, this doesn’t hamper restoring.

From the TWRP main menu:
Restore - Select Storage (select Micro SD Card) - select the backup to restore - select the partitions to restore - Swipe to restore

(Can’t have a look right now, I hope that’s about right from memory.)

When the restore is done, reboot.

In case the restored state of the phone doesn’t boot, here’s another shot at it …

1 Like

Hello AnotherElk,
thank you.

Can you tell me how to build a partition table?

See:

C:\Users\uwe\Documents\fairphone\platform-tools_r30.0.1-windows\platform-tools>fastboot boot twrp-3.3.1-0_k4y0z-20200202-02-fp3.img
Sending ‘boot.img’ (28690 KB) OKAY [ 0.825s]
Booting FAILED (remote: ‘unknown reason’)
fastboot: error: Command failed

C:\Users\uwe\Documents\fairphone\platform-tools_r30.0.1-windows\platform-tools>fastboot devices
A209HLH80202 fastboot

C:\Users\uwe\Documents\fairphone\platform-tools_r30.0.1-windows\platform-tools>fastboot flash recovery twrp-3.3.1-0_k4y0z-20200202-02-fp3.img
Sending ‘recovery’ (28690 KB) OKAY [ 0.903s]
Writing ‘recovery’ FAILED (remote: ‘partition table doesn’t exist’)
fastboot: error: Command failed

C:\Users\uwe\Documents\fairphone\platform-tools_r30.0.1-windows\platform-tools>

I don’t know how to do that, and luckily you don’t need to do that, because …

… there simply is no recovery partition on the Fairphone 3. You can’t flash TWRP to the Fairphone 3 this way.
Installing TWRP would work differently, but this doesn’t help now.

This should work with an unlocked bootloader.
What happens on the phone when it should be booting TWRP?
Apart from the warning screen displayed due to the unlocked bootloader, there could be a second screen coming up, where you would have to press the power button to proceed, else the phone would reboot after 30 seconds or something like this.

Ok, if TWRP doesn’t work you can still flash the stock OS with fastboot manually …

Stock OS partition images are here … https://github.com/gougeon-s/fp3_flash_stock (as well as a convenient script for Linux).

Once you downloaded e.g. the A.0111 (an earlier version of the stock OS, you can update it once it’s running again) ZIP file and unzipped the partition images in it to where your fastboot command is, you can flash the partition images to the phone.

Determine the active slot first with
fastboot getvar current-slot
That will give either a or b.

Let’s say you still have slot b active.
You could then …

fastboot flash product_b product.img -S 522239K
fastboot flash keymaster_b keymaster.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash cmnlib_b cmnlib.img
fastboot flash lksecapp_b lksecapp.img
fastboot flash mdtp_b mdtp.img
fastboot flash vendor_b vendor.img -S 522239K
fastboot flash system_b system.img -S 522239K
fastboot flash boot_b boot.img
fastboot flash vbmeta_b vbmeta.img
fastboot flash dtbo_b dtbo.img
fastboot flash dsp_b dsp.img
fastboot flash devcfg_b devcfg.img
fastboot flash tz_b tz.img
fastboot flash rpm_b rpm.img
fastboot flash modem_b modem.img
fastboot flash aboot_b aboot.img
fastboot flash sbl1_b sbl1.img

This would have flashed slot b with the stock OS partition images.
Try to fastboot reboot

(If you have slot a active just substitute all “_b” with “_a”.)

thank you so much, i will try it tomorrow