📜 ⬆️ ⬇️

Update time zones on Android

After reading the article “Moving the MSD time zone to MSK - a new local scale Y2K” - was, to put it mildly, puzzled. Has nobody made any Android patch yet? Thoughtful googling led to confirmation of the information: yes, no patches. There are no updates either. Do what you want - and do it.
Well, actually - and started doing ...

Contradictory information


According to information found on the web, the time zone file on Android is:

Picking up adb, far and other necessary things, he began a mini-study. Total:

Instruments


Briefly, because the “spreading of the cape over the tree” is unlikely to be interesting to anyone.

In the end, everything turned out to be much easier. After half an hour of persistent search, a link was found that had a set of development tools for android, including a shell script that calls zic for a specific set of directories and generates output, and a Java source for actually creating zoneinfo.dat and zoneinfo .idx.
The archive with the data of time zones, to which the script should be set, was found here .

results


As a result, we get the current time zone files for Android, it remains to upload them to the device. Alas, the update does not threaten users without root access to the phone.
Update options - two.

Update via ADB


I suppose that with basic knowledge of adb: what it is, how to use it, where to get it - you are familiar. If not, then here is the first link found on the go, studying ...

Update via custom recovery using the example of CWM-AlphaRev Recovery


Description refers to HTC Desire A8181; on phones of other models, the process of entering recovery may be slightly different.



On this, perhaps, everything. Comments, corrections, additions - are welcome.

')

Source: https://habr.com/ru/post/130808/


All Articles