When I try to push my rom to /sdcard/ with TWRP, I get

adb push myRom.zip /sdcard/
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
adb: error: connect failed: no devices/emulators found

How do I resolve this error. Things seem to work with adb sideload but the rom doesn't boot. The LineageOS install instructions say specifically to use with adb push.

  • It means your phone and pc cannot communicate. Do you have debugging on in your developer options? Adb and fastboot drivers on your pc? Phone specific drivers depending on make and model. – Tom Jones May 25 '18 at 23:23
  • If adb sideload doesn't work then high probability adb push won't either, it's a similar process. Figure out why it wouldn't boot first? – Andy Yan May 26 '18 at 1:33

Try killing the process and then retrying:

adb kill-server
adb push myRom.zip /sdcard/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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