Android network time

Last updated : 17/1/2023

- Introduction -

- Prerequisites -
- Setting network time server -


This is my guide on configuring network time on Android devices, based off the older PrivMod guide.


Required stuff :

Preparation guide (USB debugging) :

  1. Open terminal in computer
  2. Ensure Android device has USB debugging enabled by entering Developer options
  3. Connect computer & Android device
  4. Grant computer adb shell access with the command:
  5. adb shell

    Alternatively, when adb shell access is only required for each command, insert adb shell before inserting command.

Preparation guide (rooted) :

  1. Ensure Android device has Magisk installed (both the Magisk-patched image & Magisk apk)
  2. Install & open terminal emulator app
  3. Type su in terminal & grant the terminal app root access when prompted
  4. The prompt will not appear if Magisk apk is not installed, even if Magisk is already flashed.

Setting network time server

Here are the commands to change network time provider server :

Back to top

Index - cellphone

Main Page