Okay, I've finally managed to get somewhere (I managed to get adb root to succeed in the script by using adb shell -> su and keeping the shell open). For some reason one of the pushes failed the first time but I ran it again and it completed (you really need at least a sleep if not user interaction before adb reboot).
Now though I still get the same google logo lock screen looking thing. It's not booting up.
[Update]: I don't know whether this is relevant, I used the hammerhead-20170110-083543.zip as my starting point (rather than cm-stripped)
Okay, I've finally managed to get somewhere (I managed to get
adb root
to succeed in the script by usingadb shell
->su
and keeping the shell open). For some reason one of the pushes failed the first time but I ran it again and it completed (you really need at least a sleep if not user interaction beforeadb reboot
).Now though I still get the same google logo lock screen looking thing. It's not booting up.
[Update]: I don't know whether this is relevant, I used the
hammerhead-20170110-083543.zip
as my starting point (rather than cm-stripped)