If your interested in understanding, good places to start would be a c or c++ course, then move from there to console based Linux, when you feel comfortable with bash, cron, init, etc you'll be well on your way to understanding how one hacks or roots a phone.
Edit:
intently those same skills can land you a great many jobs