2

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

New contributor
Odin is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Why don't you install the ROM directly from TWRP? – Reddy Lutonadio Feb 12 at 19:40
1

Eventually, I found a workaround (which is not a fix but it allowed me to continue the installation).

Since my device was detected in discovery, I did not used sideload. I just pushed the image to the sdcard with:

adb push xxxxx.zip /sdcard/

and then I installed the image from the sdcard directly in TWRP.

New contributor
Odin is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Odin is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.