Root user internet access issue, via adb or via application

This is a discussion on Root user internet access issue, via adb or via application within the Android Forum forums, part of the Android Discussions category; Hello everybody ! I'm a noob on Android and I have a strange problem. I rooted my Wiko Pulp Fab (Lollipop 5.1) with KingRoot (after ...

Results 1 to 2 of 2

Thread: Root user internet access issue, via adb or via application

  1. #1
    Android Lurker remipassmoilesel's Avatar
    Join Date
    Apr 2016
    Posts
    2

    Root user internet access issue, via adb or via application

    Hello everybody !


    I'm a noob on Android and I have a strange problem. I rooted my Wiko Pulp Fab (Lollipop 5.1) with KingRoot (after so many tries with other solutions) and now when I get root internet seems doesn't work.


    I intend to use Linux Deploy and it can't download distribs (I tried use domain names and IPs, no difference)


    And when I connect to my phone's shell with adb I have the same problem.


    Normal user in shell, connection work:
    Code:
    shell@l5261:/ $ ping wikipedia.fr
    PING wikipedia.fr (78.109.84.114) 56(84) bytes of data.
    64 bytes from wikimedia2.typhon.net (78.109.84.114): icmp_seq=1 ttl=56 time=17.9 ms
    64 bytes from wikimedia2.typhon.net (78.109.84.114): icmp_seq=2 ttl=56 time=29.8 ms
    64 bytes from wikimedia2.typhon.net (78.109.84.114): icmp_seq=3 ttl=56 time=30.1 ms
    64 bytes from wikimedia2.typhon.net (78.109.84.114): icmp_seq=4 ttl=56 time=30.0 ms
    64 bytes from wikimedia2.typhon.net (78.109.84.114): icmp_seq=5 ttl=56 time=29.1 ms
    ...


    Root in shell, connection doesn't work:
    Code:
    root@l5261:/ # ping wikipedia.fr
    connect: Bad file number
    2|root@l5261:/ # ping 78.109.84.114
    connect: Bad file number


    I tried ping and other binaries, it doesn't work.


    What's wrong ? I heard that is a C message error about socket usage, but how can I fix it ?


    Maybe it is a problem with KingRoot ? I tried many many solutions to root my phone but nothing work. I tried to install "su" myself with adb or fastboot but it doesn't work (I don't know very much Android yet, I'd just beginning learn few days ago).


    Many thanks for your help !

  2. Android.net is the premier Android Forum. Registered users do not see these ads. .

  3. #2
    Android Lurker remipassmoilesel's Avatar
    Join Date
    Apr 2016
    Posts
    2
    I found a solution so I publish it here, maybe it can help !

    If this error appear, it is probably beacause SELinux is in enforce mode. SELinux is a security module who restrict users.

    To display refused operations:
    Code:
    # dmesg | grep -i denied

    To activate SELinux permissive mode:
    Code:
    # setenforce 0

    That's all !

Remove Ads

http://www.scramblerducati.org/

Sponsored Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. access internet nexus one
    By elbear in forum Nexus One
    Replies: 1
    Last Post: 04-14-2012, 10:24 PM
  2. Replies: 0
    Last Post: 11-16-2011, 01:40 PM
  3. Internet access control
    By Talal77maki in forum Android Forum
    Replies: 0
    Last Post: 08-27-2011, 05:58 AM
  4. Ally can't access internet
    By kollwitz in forum LG Ally Help
    Replies: 5
    Last Post: 12-28-2010, 05:17 PM
  5. Nexus One - Internet Access
    By Dazzadubai in forum Nexus One Introductions
    Replies: 2
    Last Post: 02-15-2010, 06:22 PM

Search tags for this page

utilisateur root shell adb

Click on a term to search our sites for related topics.
Android Forum