Can't boot my android after changing permissions
I hoped you made a backup:-)

Try to reflash the ROM on your phone in the recovery mode and restore your backup.

And NEVER use 777 because now anyone can access your /system.