I'm stupid, please help. Stuck in bootloop

I have been playing with some commands and wondered what would happen if I set a wrong screen resolution on my S7 Edge.

Code:
adb shell wm size 1080x1922

The answer is that you get stuck in a bootloop.

Now I'm wondering how to escape the bootloop.
Safe mode also bootloops.

Resetting it while booting didn't help:

Code:
adb shell wm size reset Error type 2 android.util.AndroidException: Can't connect to window manager; is the system running? at com.android.commands.wm.Wm.onRun(Wm.java:81) at com.android.internal.os.BaseCommand.run(BaseCommand.java:51) at com.android.commands.wm.Wm.main(Wm.java:46) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:316)

This script also didn't:

Code:
@ECHO off adb wait-for-device adb -d shell stop adb shell wm size reset

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by delaney.bashirian
3 hours ago
Last post by stoltenberg.alan
4 hours ago
Last post by phyatt
49 minutes ago
Last post by okon.abraham
2 hours ago
Last post by reese14
2 hours ago
Last post by sigurd.sauer
4 hours ago
Last post by reggie06
59 minutes ago
Last post by earl70
55 minutes ago