WARNING!!! THIS COULD PERMENANTLY BRICK YOUR PHONE!!! Please fully understand that this may cause some unwanted problem. Make sure you can take the risk. YOU’VE BEEN WARNED.
(This method may only works on Kernel Version: 18.104.22.168-gd2764ed. This information can be found in Settings->About phone->Software information)
and then click ‘Temproot now’, and wait.
When it’s done, open the Terminal, input ‘su‘ and enter and click ‘allow‘ in the pop-up window, which is come form the ‘superuser’ app:
you will notice that the ‘$’ has changed to ‘#’. This means you have gain the root promission.
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
which makes the /system folder write-able.
then copy the gfree file to the /system/bin folder by inputing:
cp /sdcard/gfree /system/bin
then run the gfree:
after a lot of lines, you’ll see ‘Done‘ at the bottom.
go back to VISIONary, now click the ‘Attempt Permroot now‘, after confirmation, your phone will reboot.
And if everything works fine, your Desire Z/G2 should be rooted. Go to terminal and input su for a test!