g890a root? how to repair imei? i have both boxes?

hi guys how do I root the g890a 5.1.1 PB3 ? I need to repair imei , I have both boxes octopus and z3x , ?