did you drop or get it wet? the error is due to a lack of operating system on the phone.
did you use the correct OS during the update? Why did you do the update "several times". Why did you upgrade?
It may be a brick KB02792-BlackBerry smartphone displays Error message “507” when upgrading BlackBerry Device Software