How can I undo a botched rooting? Android 5.1.1
Check if you can reboot to stock recovery (Switch off the device completely. Boot into recovery mode by pressing and holding Volume Up, Home and Power keys at the same time. Release all three buttons when device screen flickers and the main screen of Recovery mode appears), from there you can factory reset your device.