{"id":1465,"date":"2022-08-04T13:31:29","date_gmt":"2022-08-04T11:31:29","guid":{"rendered":"https:\/\/www.ntp.od.ua\/?page_id=1465"},"modified":"2022-08-04T13:31:30","modified_gmt":"2022-08-04T11:31:30","slug":"android-rootless","status":"publish","type":"page","link":"https:\/\/www.ntp.od.ua\/?page_id=1465&lang=en","title":{"rendered":"Android (rootless)"},"content":{"rendered":"<p>This article will show an example of setting up synchronization of the clock of a mobile device with an NTP server.<\/p>\n<p>Unfortunately, at the moment, without super user rights, there is no way to automatically set the clock, you have to do it manually.<\/p>\n<p>Also because of this limitation, the accuracy is very low.<\/p>\n<p>The demonstration is made on the device <span style=\"color: #ff0000;\">&#171;LG G2 mini (D618)&#187;<\/span><\/p>\n<p>Finding an icon <span style=\"color: #ff0000;\">&#171;\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f&#187;<\/span> at the bottom of the screen<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr001.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-202\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr001.avif\" alt=\"LG-G2-Mini-scr001\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>A list of installed programs opens<\/p>\n<p>Scroll until we find <span style=\"color: #ff0000;\">&#171;Play \u041c\u0430\u0440\u043a\u0435\u0442&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr002.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-203\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr002.avif\" alt=\"LG-G2-Mini-scr002\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>After the market is found, launch it<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr003.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-204\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr003.avif\" alt=\"LG-G2-Mini-scr003\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>In the store program that opens, go to the section <span style=\"color: #ff0000;\">&#171;\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr004.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-205\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr004.avif\" alt=\"LG-G2-Mini-scr004\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>In block <span style=\"color: #ff0000;\">&#171;\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr005.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-206\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr005.avif\" alt=\"LG-G2-Mini-scr005\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>Click the icon <span style=\"color: #ff0000;\">&#171;\u043b\u0443\u043f\u044b&#187;<\/span> and do a search<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr006.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-207\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr006.avif\" alt=\"LG-G2-Mini-scr006\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>Enter the name of the program <span style=\"color: #ff0000;\">&#171;Clock sync&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr007.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-208\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr007.avif\" alt=\"LG-G2-Mini-scr007\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>Select the first item found<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr008.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-209\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr008.avif\" alt=\"LG-G2-Mini-scr008\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>We press the button <span style=\"color: #ff0000;\">&#171;\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr009.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-210\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr009.avif\" alt=\"LG-G2-Mini-scr009\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>We allow the program to receive data about our location by pressing a button <span style=\"color: #ff0000;\">&#171;\u041f\u0440\u0438\u043d\u044f\u0442\u044c&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr010.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-211\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr010.avif\" alt=\"LG-G2-Mini-scr010\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>The installation process will follow.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr012.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-212\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr012.avif\" alt=\"LG-G2-Mini-scr012\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>After the program is installed, it will be possible to <span style=\"color: #ff0000;\">&#171;\u043e\u0442\u043a\u0440\u044b\u0442\u044c&#187;<\/span> \u0438\u043b\u0438 <span style=\"color: #ff0000;\">&#171;\u0443\u0434\u0430\u043b\u0438\u0442\u044c&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr013.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-213\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr013.avif\" alt=\"LG-G2-Mini-scr013\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>We press the button <span style=\"color: #ff0000;\">&#171;\u041e\u0442\u043a\u0440\u044b\u0442\u044c&#187;<\/span><\/p>\n<p>We will see a window with a description of the changes in the new version.<\/p>\n<p>We press the button <span style=\"color: #ff0000;\">&#171;\u0417\u0430\u043a\u0440\u044b\u0442\u044c&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr014.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-214\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr014.avif\" alt=\"LG-G2-Mini-scr014\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>Next, the program shows the local time and the exact<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr015.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-215\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr015.avif\" alt=\"LG-G2-Mini-scr015\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>In the upper right part of the program, click on the icon <span style=\"color: #ff0000;\">&#171;three points&#187;<\/span><\/p>\n<p>In the menu that appears, click <span style=\"color: #ff0000;\">&#171;\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr016.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-216\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr016.avif\" alt=\"LG-G2-Mini-scr016\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>In the settings you need to specify our time server<\/p>\n<p>Choose an item <span style=\"color: #ff0000;\">&#171;NTP \u0441\u0435\u0440\u0432\u0435\u0440&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr018.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-218\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr018.avif\" alt=\"LG-G2-Mini-scr018\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>In the field that appears, erase what is there<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr019.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-219\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr019.avif\" alt=\"LG-G2-Mini-scr019\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>and specify one of <a title=\"\u0421\u0435\u0440\u0432\u0435\u0440\u0430\" href=\"https:\/\/www.ntp.od.ua\/?page_id=1053&amp;lang=en\">our servers<\/a><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr020.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-220\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr020.avif\" alt=\"LG-G2-Mini-scr020\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>We turn off automatic synchronization, since this function does not work without a super user<\/p>\n<p>In addition, we turn on <span style=\"color: #ff0000;\">&#171;\u0411\u0435\u0437 root&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr021.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-221\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr021.avif\" alt=\"LG-G2-Mini-scr021\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>As a result, the settings will look like this<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr022.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-222\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr022.avif\" alt=\"LG-G2-Mini-scr022\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>After completing the program settings, go to the main section<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr015.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-215\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr015.avif\" alt=\"LG-G2-Mini-scr015\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>Select the three dots icon again<\/p>\n<p>Click <span style=\"color: #ff0000;\">&#171;\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr016.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-216\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr016.avif\" alt=\"LG-G2-Mini-scr016\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>A transparent notification area will appear at the bottom of the screen, which indicates the exact time and deviation from the norm.<\/p>\n<p>Time settings will open automatically<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr024.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-224\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr024.avif\" alt=\"LG-G2-Mini-scr024\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>Uncheck the boxes for automatic time setting<\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr025.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-225\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr025.avif\" alt=\"LG-G2-Mini-scr025\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>Select <span style=\"color: #ff0000;\">&#171;\u0423\u0441\u0442. \u0432\u0440\u0435\u043c\u044f&#187;<\/span><\/p>\n<p>Enter the correct time<\/p>\n<p>Wait until the exact time reaches the specified position and press <span style=\"color: #ff0000;\">&#171;\u041e\u041a&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr026.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-226\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr026.avif\" alt=\"LG-G2-Mini-scr026\" width=\"360\" height=\"640\" \/><\/a><\/p>\n<p>On some devices, for higher accuracy, you need to uncheck the box in the settings <span style=\"color: #ff0000;\">&#171;\u041e\u0431\u043d\u0443\u043b\u044f\u0442\u044c \u0441\u0435\u043a\u0443\u043d\u0434\u044b&#187;<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr027.avif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-227\" src=\"\/wp-content\/uploads\/2022\/08\/LG-G2-Mini-scr027.avif\" alt=\"LG-G2-Mini-scr027\" width=\"360\" height=\"640\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will show an example of setting up synchronization of the clock of a mobile device with an NTP server. Unfortunately, at the moment, without super user rights, there is no way to automatically set the clock, you have &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.ntp.od.ua\/?page_id=1465&#038;lang=en\"> <span class=\"screen-reader-text\">Android (rootless)<\/span> \u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1400,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-1465","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/pages\/1465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1465"}],"version-history":[{"count":1,"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/pages\/1465\/revisions"}],"predecessor-version":[{"id":1466,"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/pages\/1465\/revisions\/1466"}],"up":[{"embeddable":true,"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/pages\/1400"}],"wp:attachment":[{"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}