You have to download the Magisk.zip file on your Alldocube M8. Now Boot Device on recovery mode by pressing Volume Down + Power Button. Done! Now Click On install and find the Magisk.zip file in ROM and select it. Now click on to confirm Flash Next; the flashing process is done directly by tapping on Reboot. Congrats, you have successfully Rooted Alldocube M8.