0

I am trying to edit my host file in nvidia shield pro device. Its not rooted and I get read only error when I try to update the host file using adb push. I am a newbie in this. I need to do some url redirecting.

I am not trying to block anything. I have a local Apache server set up and want to redirect the traffic from the shield to my local server for some custom urls.

11
  • 1
    No root no hosts file editing. Asking for app recommendations is off-topic here. Please reformulate your question and describe what you want to achieve, especially what type to servers you want to block.
    – Robert
    Commented Oct 13, 2020 at 17:19
  • As @Robert has said without root, you won't be able to edit it. Asking for app is against the rules, but you should re-phrase your questions to allow others to assist you. Commented Oct 13, 2020 at 17:36
  • @ReddyLutonadio - Thanks for the tip. I am new here, wasn't aware of the app issue. Updated my question. Please review.
    – yonikawa
    Commented Oct 13, 2020 at 17:40
  • 1
    Answers from these questions might help you: android.stackexchange.com/questions/174515/… and android.stackexchange.com/questions/78320/… Commented Oct 13, 2020 at 17:44
  • 1
    In your case you only need to install a dns proxy on your server that also runs the Apache server. The DNS-proxy usually allows to specify additional entries or override existing entries so that you can map your server to a DNS name of your choice. On Android side you just need to configure the DNS server in your Wifi network to the IP of your server running the DNS-proxy (change the config to static IP address then you can set the DNS server).
    – Robert
    Commented Oct 13, 2020 at 17:51

0

You must log in to answer this question.

Browse other questions tagged .