rumpeltux/viomi-rooting

Error: Device (Null) not found

Subtixx opened this issue · 4 comments

Using ubuntu the script spams the console with that, and refuses to work because of it

grafik

Model: STYTJ02YM

Might be a different ADB version…

Try to adjust the filters ("no devices/emulators found") in https://github.com/rumpeltux/viomi-rooting/blob/master/viomi-root.sh#L70 (and below)

Unfortunately that didn't work either. It doesn't print out anything anymore but after about 30 tries it still hasn't patched the ssh

Sorry, I have no idea how to help you further, except for maybe try using a different computer. If you learn anything let us know.

I think the issue is with the piping.

Changing piping to 2< or something. Like redirecting all output to grep seemed to work. Although it said: "can't rm error: device not found" BUT it did replace adb_shell and I was able to go on manually after that. Although somehow it looses connection every ~5 minutes.

Edit: works now. Have installed valetudo successfully