How to fix a date and time issue (no internet connection)
1. Make sure that the automatic date and time are enabled (set to "Use network-provided time").
2. Enable USB debugging.
** To enable USB debugging,
Go to Settings
Device Preferences
About
Build
Press the OK button until the message prompt says, "You are now a developer."
Then press BACK
Developer Options
USB Debugging
Allow / Ok
3. On your smartphone, download the ADB Shell app from the Play Store.
4. Open the ADB shell, then type the IP address of your device, and the port is defaulted at 5555.
Allow access prompt on your device upon connecting.
** To get the IP address of your device,
go to Settings
Network & Internet
Connected network
IP address.
NOTE: Make sure your device and your smartphones are connected to the same network.
5. Type "adb shell settings put global ntp_server asia.pool.ntp.org"
To verify that the ntp is in asia, type "adb shell settings get global ntp_server"
Must return asia.pool.ntp.org
*Do not manually type the code. Just Copy Paste
6. Restart your device.
7. Disable the developer options.
** To disable the developer options, Go to settings
Device Preferencea
Disable developer options
8. To test your device, just unplug it and plug in the power adapter. If the date and time are automatically updated, it means your device is working properly.
** If not, try to factory reset your device, then repeat the process again.
Tested on:
** Xiaomi Box S
** Xiaomi TV Stick
** Xiaomi Smart Projector 2 Pro
** RealmeTV
Feedback if working
1. Make sure that the automatic date and time are enabled (set to "Use network-provided time").
2. Enable USB debugging.
** To enable USB debugging,
Go to Settings
Device Preferences
About
Build
Press the OK button until the message prompt says, "You are now a developer."
Then press BACK
Developer Options
USB Debugging
Allow / Ok3. On your smartphone, download the ADB Shell app from the Play Store.
4. Open the ADB shell, then type the IP address of your device, and the port is defaulted at 5555.
Allow access prompt on your device upon connecting.
** To get the IP address of your device,
go to Settings
Network & Internet
Connected network
IP address.NOTE: Make sure your device and your smartphones are connected to the same network.
5. Type "adb shell settings put global ntp_server asia.pool.ntp.org"
To verify that the ntp is in asia, type "adb shell settings get global ntp_server"
Must return asia.pool.ntp.org
*Do not manually type the code. Just Copy Paste
6. Restart your device.
7. Disable the developer options.
** To disable the developer options, Go to settings
Device Preferencea
Disable developer options8. To test your device, just unplug it and plug in the power adapter. If the date and time are automatically updated, it means your device is working properly.
** If not, try to factory reset your device, then repeat the process again.
Tested on:
** Xiaomi Box S
** Xiaomi TV Stick
** Xiaomi Smart Projector 2 Pro
** RealmeTV
Feedback if working
