Computer modification
Note: USB is set to debug mode
1, the phone must first root, Xiaomi can be Android development version of the system can be
2, Android ADB tool (Android Debug Bridge)
3. Execute the following command in turn
1, the root access of ADB root will automatically start Server2, adb remount settings/system to read and write; 3, adb pull/system/etc/hosts Copy the Hosts file of the phone to the C packing directory of the PC 4, open the Hosts file on the PC, save 5, adb push hosts/system/etc/Copy the Hosts file on the PC to the phone after the modification is completed.
4. Verify that the modification is successful
ADB Shell cat/system/etc/hosts
Mobile phone Modification
1. Android 920 Editor
2. Open file--select root--directly edit the/system/etc/hosts file--Save
Note: You need to grant the editor root permission .
General changes to the hosts for Domain name resolution, you can also use the following methods:
Make the phone use the computer's network, so that only the computer's host can be modified.
1, the computer modifies the hosts and installs such as Cheetah WiFi, phone connection cheetah WiFi.
2. Connect directly with the data cable. See Baidu Library " mobile phone with USB connection computer broadband Internet "
Android Phone Modify host