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. ...


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 ...


12

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 ...


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. ...


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

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


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

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

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

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

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

Checkout BradyBound. It's a system wide download speed shaper/limiter. Few things to note: The app requires root access. It works by dropping packets using iptables. This wastes some traffic - how much depends on the type of traffic (e.g. long running download, web browsing). Rate measurement is done by number of packets instead of bytes so the speed limit ...


3

In Chrome for Android, you select "Request desktop site" from the menu in the browser. I don't know if your phone ships with Chrome as the default browser or something LG have cooked up, so the option might be named differently, but there should be an equivalent. Most sites will respect this, but you might find that if a site is redirecting you to push you ...


3

Run "nslookup google.com" from Terminal Emulator and the first result should be your DNS. Also you could run a standard test from dnsleaktest.com from your browser. Edit: I just noticed this answer is kind of outdated for newer Androids because nslookup doesn't seem to run if you install Terminal Emulator. The modern method seems to be to install ...


3

From https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/: WARNING Uninstalling system applications can be dangerous so please know what you’re getting rid of before you complete these steps. Failing to do so could result in your phone becoming unusable until you perform a factory reset. Of course, by removing any given system ...


3

You just need to configure the dhcp. Open Terminal emulator and type in: su . The $ will change to #. Type the following command in Terminal Emulator: netcfg rndis0 dhcp The name for usb interface inside Android may vary. It is usually rndis0 or usb0. Type busybox ifconfig to identify the name. It can happen that automatic dhcp method does not work. In ...


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