How to tell an Android device that only has ADB connectivity about an NTP server?
1
vote
1
answer
1095
views
In a comment on [this question](https://android.stackexchange.com/questions/257503/a-way-to-set-time-on-android-phone-with-unaccessible-settings-through-adb-or-ano) Robert asked:
> Have you tried to provide an NTP server in your local network and announce it via DHCP?
How can I do that, please? I have several development devices whose only connectivity is ADB over USB to a Linux development host. That's part of a corporate network with an NTP server. The devices' date and time drifts, and has to be reset occasionally. Being able to tell them about an NTP server would be splendid, if they can access it through the ADB/USB connection.
I have root on the devices, and can this change their date & time from the ADB shell. If I couldn't do that, I'd use the GUI. They're running a pretty vanilla Android 12.
Asked by John Dallman
(2649 rep)
Jun 20, 2024, 02:46 PM
Last activity: Jul 7, 2024, 09:10 PM
Last activity: Jul 7, 2024, 09:10 PM