kaitai_struct_formats
kaitai_struct_formats copied to clipboard
Android timezone info
meta:
id: android_timezone_info
title: Android timezone info
application:
- Android
- ZoneCompactor
- tzupdater
-filename-regexp: tzdata
doc: |
A file used in Android devices to store info about timezones.
doc-ref: https://android.googlesource.com/platform/system/timezone/+/master/input_tools/android/zone_compactor/main/java/ZoneCompactor.java
I'm not not sure of the overall format of this file, but the center section seems to consist of a bunch of TZif files joined together. I extracted some of them and they validate against the tzif.ksy from https://github.com/ian-abbott/kaitai_struct_formats/blob/081a6d8d2703c7c93774b5eb93e776b593c67975/common/tzif.ksy
https://github.com/armijnhemel/binaryanalysis-ng/blob/master/src/parsers/system/android_tzdata/android_tzdata.ksy should work