By 2024 and beyond, rooting Android 5.1.1 without a PC has become more difficult for two main reasons:

Works for some 5.1.1 devices, but not all – no PC needed

If you still want to root your Android 5.1.1 device: