kaitai_struct_formats icon indicating copy to clipboard operation
kaitai_struct_formats copied to clipboard

Android timezone info

Open KOLANICH opened this issue 3 years ago • 2 comments

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

KOLANICH avatar Mar 14 '21 18:03 KOLANICH

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

ian-abbott avatar Mar 15 '21 13:03 ian-abbott

https://github.com/armijnhemel/binaryanalysis-ng/blob/master/src/parsers/system/android_tzdata/android_tzdata.ksy should work

armijnhemel avatar Apr 10 '22 19:04 armijnhemel