I have a Nexus 5 phone with a bad power button (completely not working). The phone was off for a while, and when I powered it on (using fastboot) it asked for cyanogenmod update - downloaded and restarted.
When the update finished the phone booted into the root screen saying "Root access possibly lost. Fix?" with "Yes", "No" options. However, since the power button isn't working - I can't select anything... (I can, however, go into rainbow mode! Weird, but cool)
Is there a way to simulate a button press from adb or something? Is there another way of getting over this screen?