First step is to check if the file format is documented somewhere. If not, it probably makes sense to check if you can spot patterns in the file. For example, every SMS message or contact very likely follows a similar pattern. Dates/time values for example are stored in many formats as 4-byte integers with seconds since 1970.