Hi Aspirant,
Hope you are doing great as per the question asked by you it depends upon hostel to hostel some may allow some may not. Generally hostels of schools doesn't allow its students to carry phones or other electronic gadgets but college hostels or university hostel do allow there students to carry phones with them.
Hope you found this answer useful.Stay motivated stay positive.
All the best!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile