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 dickinson.jewell
1 hour ago
Last post by trinity.schmeler
2 hours ago
Last post by janice91
1 hour ago
Last post by powlowski.ressie
3 hours ago
Last post by fisher.zoie
3 hours ago
Last post by kelsi61
1 hour ago
Last post by zulauf.josiane
4 hours ago
Last post by xlindgren
4 hours ago
Last post by osborne03
3 hours ago
Last post by colleen09
2 hours ago
Last post by yrenner
18 minutes ago
Last post by kiehn.augusta
2 hours ago
Last post by muriel03
20 minutes ago
Last post by slueilwitz
4 hours ago
Last post by murphy.rosalia
1 hour ago