I want to install a custom rom (LineageOS with microG) on My Asus Zenfone Max Pro M1. I followed every steps detailed in the tutorial (enable debugging, unlock bootloader, run fastboot, flash TWRP, reboot in recovery, backup then wipe the system with TWRP).
My problem is when I want to sideload the custom rom. So,
adb devices works and detects my phone in recovery mode. However, as soon as I lauch the sideload mode in TWRP,
adb devices is not able to detect my phone anymore and the command
adb sideload xxxxxx.zip fails because it cannot see any device.
I'm running TWRP 3.2.3, my computer runs on GNU/Linux (Xubuntu 18.04), I have the latest version of the Android SDK.
It is the same question as here from 2015: Device disappears from ADB devices when entering sideload but there was no answer.
Thanks in advance