I'm trying to root Lenovo vibe p1ma40 with Lollipop 5.1 this particular device since last couple of day, without any success. So I need your help to do this, or not this particular device but it would be good if there will be generic solution for root of android device.
Below is list of techniques that I've already tried :
1) KingoRoot, and other apps - seems they are under development for this particular device.
2) SP Flash Tool(link) - device go to charging mode after step-8.
3) Fast boot(link- METHOD 1) - command fastboot boot recovery.img gives error as - FAILED (remote: download for partition 'boot' is not allowed) or - command fastboot flash recovery recovery.img gives error as - FAILED (remote: download for partition 'recovery' is not allowed)
4) New Flashing Commands(link) - command fastboot flashing unlock_critical gives unknown command error.
Any help would be highly appreciated, Thanks in advance.