24

Without rooting your device, you won't have much choice: you can either disable the network when the app runs in foreground, as LinX64 suggested – or "hibernate" (suspend) it when it goes to background (is not actively used), as suggested by Dalvik. Of course, you could combine the two – which should effectively prevent that app from accessing the network. ...


14

Using only your Android: Kaspersky's Parental Control software does exactly as the title says. Mind you, it's still in beta, but I did install it and tried it out, and it seems to do it's job of blocking websites as well as applications. By the way, Kaspersky's not the only app out on the store that you can use, but I chose it due to its reputation. It's ...


13

ifconfig and ip Android 7 adb shell ifconfig adb shell ip address show ifconfig was an annoying implementation that did not show all versions by default on earlier versions as explained below, but now it works fine. netcfg Android 5.1.1 This tool was removed in later Android, and ifconfig was made more decent and shows all interfaces by default, thus ...


11

There are actually three types of dual SIM phones. Dual SIM Standby (DSS): Only one SIM can be used at a time, 1 radio chip. The phone has single IMEI number. Dual SIM Dual Standby (DSDS): Two SIMs can be used at a time, but if one opens a call or data connection, the other is offline. The phone has two different IMEI numbers. Dual SIM Active (or sometimes ...


11

At the moment a large number of popular website are dropping support for all SSL/TLS versions below TLS1.2 because of the known vulnerabilities in TLS1.1/TLS1.0 and older. Your device is very very old and does not support TLS1.2 therefore you can't connect to certain sites like https://wikipedia.org which requires TLS 1.2 according to the test of SSLLabs. ...


10

In most cases you won't be able to make inbound connection when using Mobile Data because of CGNAT and firewalls at ISP level, as explained by acejavelin in comment. To know the problem in detail and how it can be worked around see How to connect to Android through SSH over 3G/4G public IP? However if you can reach your phone from internet, extending this ...


7

just type netcfg it will lists the interface, and work on any terminal emulator. running on the phone itself, or remotely via adb.


7

When the data indicator is orange (on Kit kat ; grey on older versions), this means that the device is unable to receive a response from GCM (Google Cloud Messaging, the framework that handles push notifications). This traffic is sent through ports 5228, 5229, and 5230. If the AP is blocking or interfering with traffic on those ports, push notifications won'...


7

This has been happening throughout the world and is caused by a technical feature of 4G LTE. Most people don't even notice it because of the small amount of data that's used off their data plan. This is what happens: every time your phone receives or makes a voice call, it automatically switches from 4G to 3G mode due to the fact that LTE is a data-only ...


7

If you have rooted phone, go for nethogs (for live monitoring) or iptables (to get statistics) commandline tools. Using VPN or Android stats based apps is the only possible non-root solution. Or refer to this answer for a logcat/dumpsys based solution. First of all, tracking a UID or PID of a network stream isn't straight forward because these aren't ...


6

Droidwall The app Droidwall will do this, but it requires a rooted android device. It works very well, though, giving you the option of allowing either cellular or wifi internet access to each app (or both or neither), as well as disabling the rules entirely while keeping the settings so you can easily give everything full normal access when desired, then go ...


6

Try the app No-Root Firewall. It allows you to control what apps have Internet access over both wifi and cell data. It works by setting up a VPN on your phone.


6

There is one hack by which you can block your incoming calls. Go to Settings -> Call settings -> Call forwarding Now Click on Always forward and enable it to forward the calls to a wrong number. This will ensure that calls will not come to you and the caller get the tone that call is being forwarded and number is wrong. You can disable Call forwarding ...


6

While the setprop method to change DNS does not work, the getprop method to read those values should be still valid today: shell@A0001:/ $ getprop | grep dns [dhcp.wlan0.dns1]: [192.168.1.1] [dhcp.wlan0.dns2]: [] [dhcp.wlan0.dns3]: [] [dhcp.wlan0.dns4]: [] [net.change]: [net.rmnet0.dns2] [net.dns1]: [208.67.222.123] [net.dns2]: [208.67.220.123] [net.rmnet0....


6

I finally found that proxy was set to some ip in APN setting. I removed proxy and saved APN setting. And Internet is working fine now. Mobile Networks > Access Point Names > open the one APN > delete the content in Proxy


5

I managed to make it work. Here is an "OSI-like" diagram of my setup, if it makes sense: ____________________ ______________________________ ____________ | LinuxVM <----+ | | | | | | VirtualBox | | | | | | | Windows7(host) | | | +--> AndroidPhone <--...


5

There're also apps like Internet Booster promising to "clear DNS cache" (amongst other things). I didn't try it out myself, and furthermore there seems no way to do only that (just one "optimize" button which "applies improvements"); also its effects might differ between devices (says the app's description) -- but it might be better than a reboot. Btw: while ...


5

Android's debugging bridge adb supports backup/restore: adb backup -f wifisettings.bak presents you a message on screen which you need to confirm (and maybe enter a passphrase) to create the backup. adb restore wifisettings.bak restores it. Just set up your phone to a very simple initial state (nothing else besides the wifi settings, or so). Then ...


5

Even thought the photos are stored locally, when in the main view of the photos app only the thumbnails or nothing at all (if thumbs are not cached) will be shown when internet is off/blocked/limited. The only way you can access the local copies while using the photos app is to open the menu on the left and select "Device Folders" and then go into the ...


5

Yes, your bank wants to establish a secure connection to you. To make sure that the connection is secure, a set of certificates must be installed on both your client and the bank's servers. If the website that you blurred out is correct, then installing the certificates is perfectly safe. TL;DR: press Install to access your bank securely.


4

XDA developer capslock66 has developed a reverse tethering tool which is the simplest yet (and hopefully in future too). Only requirement is a rooted phone. You can download it from here- Android reverse tethering via usb It comes as a zip file with all the adb files and dependencies. Once you open the application, it will do all the settings on your phone ...


4

Following are some apps that claims to be a firewall, mostly using IP-tables or VPN to restrict internet access to apps: Root access not required: Mobiwol NoRoot Data Firewall LostNet NoRoot Firewall Root access required: Root Firewall MsWall Firewall Advanced Firewall DroFirewall Antivirus and Security Firewall Plus Firewall Gold Access not mentioned: ...


4

No, it is not possible to block all such sites. That would either require a 100% effective blacklist, which would be impossible to maintain, or a 100% effective detection mechanism, which would basically be an artificial intelligence capable of making human-like judgements. You can get all kinds of parental controls and blockers on the Play store, but ...


4

Dual Sim standby : If you are talking in Sim A when someone calls to Sim B then they will hear Sim B is not reachable. You wont get prompted Dual Sim Active : If you are talking in Sim A when someone calls to Sim B then they will hear your call is on waiting. You will get prompted and you can place the current call in hold and answer the new call. But you ...


4

Some Samsung devices have a feature called "Blocking Mode", which allows this. You can check if your phone has it from Phone -> Call settings -> My Device -> Blocking Mode -> Disable incoming calls.


4

Just a quick comparison Xiaomi Redmi note 3: Credits Gsmarena Acer Liquid Z630s: credits: Gsmarena The link speeds you mentioned are usually achieved only under ideal conditions which is not usually the case in situations where there is a lot of wave interference from other devices. Additionally, the maximum speeds you see may depend on the wireless ...


4

It's possible, but far from easy to achieve. There are multiple approaches we can use to block (or at least try to block) incoming traffic. But blocking one way traffic doesn't make sense in most cases. An app sending TCP packets but not receiving back responses will consider itself disconnected from internet. However, you may try for your particular case ...


4

Yes, it is possible, but you need to root your device. The Android kernel supports it, simply there is no option to do that in the GUI. There are also apps to do it, but all of them requires root privilege. The other direction (sharing your wifi or mobile network for a computer connected with usb) works seamlessly.


3

There is a port for cURL for Android: http://thesoftwarerogue.blogspot.com/2010/05/porting-of-libcurl-to-android-os-using.html But I think that your best bet for this one is the git repo: https://github.com/jahrome/curl-android _ _ ____ _ ___| | | | _ \| | / __| | | | |_) | | ...


3

The emulator is a program on your computer like any other. The program can connect to the Internet in just the same way Firefox can. In particular, this means it makes no difference what kind of connection the host is using. From inside the emulator, there's a 'fake' network driver. It appears to Android like a mobile Internet connection, but instead of ...


Only top voted, non community-wiki answers of a minimum length are eligible