We all know (unfortunately) that the Vodafone charges us 4 euro (6 € from 23 / 06 / 15) per day as soon as we share our internet connection. Fortunately we can overcome this problem, and to do this there are more methods.
A few months ago, for example, I explained how to use Vodafone Tethering (USB) for free, through an application: Tether. In the same post I promised that I would do an additional guide to make thehotspot, exactly modifying the APN. In reality, with the modification of the APN, USB Tethering (or Bluetooth) will also work, with the advantage that it will not be necessary to use applications, which - as in the case of Tether - have limitations and are often paid.
The modification of the APN is very fast and simple, even for a newcomer to the Android world, but apparently it is not effective on all devices (or ROMs, probably). On my device, in fact, it was useless, and the same on a friend's smartphone. In another case, however, it worked.
Having said that, after explaining how to modify APNs, we will see an alternative method, or through ADB.
28 / 06 UPDATE: Many users have had problems with the MIUI ROM. At the end of the article you will find a new solution to solve 😉
Before starting, it is advisable to activate the PC internet blocking service from the Vodafone website or directly from the dedicated application: My Vodafone. It is not necessary, but it does not cost anything, indeed, we will save our 4 euros if the configuration should go wrong. The easiest and most immediate way is through the app, here's how:
After logging into My Vodafone, in the menu on the left, you need to select Manage Offers, Then Lifestyle and scroll to find the item Internet lock from PC. Press "Activate" and wait for the SMS to be activated before proceeding with the next step.
Once the confirmation SMS has arrived, we can continue with the APN configuration. First, go to Settings -> Mobile networks, now open the entry Access Point Names (APN). Here you should find two APNs related to Vodafone, which have the following 'addresses' in their description: mobile.vodafone.it e web.omintel.it. The latter must be deleted; this APN is in fact activated when we use our smartphone as a hotspot or tethering. After deleting it, open mobile.vodafone.it and find all the entries Type APN; select this item, then add ", dun"(Without quotation marks - following image) and save. Now restart your phone, activate the Hotspot and share your connection without worries! 😉
Edit via ADB
As I mentioned earlier, the procedure described above does not work on all smartphones.
In this case, we must proceed with a somewhat more complicated method, but not so much for those familiar with ADB. In fact 2 is enough simple commands to have the free Vodafone Hotspot; there is no need for root permissions to be active. Finally, as in the previous case, it would be advisable to activate Vodafone services to block Internet from a PC.
ADB (Android Debug Bridge), to put it simply, is a tool to communicate with an Android device. Through a terminal, with ADB we can execute commands to obtain certain actions, such as: obtaining information about our device; root; install ROM, etc or make various changes.
If you have not understood some of the aforementioned terms, it is probably better to read some guidelines about it; however I will explain what we must do, so that even the less experienced can understand without difficulty.
- Windows: On Windows, in addition to ADB, you must also install the drivers for your smartphone. To facilitate the operation, on XDA there is a tool that, launching it with administrator privileges, installs everything you need in a matter of seconds, so the PC will be ready to communicate with your Android device.
ADB Installer | Download in English
- Linux: Usually - especially on Ubuntu - just type the command
to install and run adb. No additional drivers are required. If your distribution does not have repositories, just add them and install adb using the following two commands:
sudo apt-get install android-tools-adb android-tools-fastboot
sudo add-apt-repository ppa:phablet-team/tools && sudo apt-get updatet
sudo apt-get install android-tools-adb android-tools-fastboot
After installation, we need to 'prepare' our device.
For ADB to work, you must activate the Debug USB; to do this, it is necessary to have the le active Developer options. If they are active, you can skip this step
- Enter the Settings, scroll to the end and open Info on the phone, then 'stop' several times and quickly on the item Build number until a message appears informing you that the Developer Options have been activated.
- Go back, in the Settings, and above the 'Info on phone' option you will find a new menu: 'Developer options';
- log in and activate the 'USB debugging' option.
Now everything is ready, let's check that ADB communicates with Android.
We open the Command Prompt on Windows; the terminal on Linux. We connect our device to the PC, so in the terminal we type:
If a message similar to that of the following image appears, it means that ADB recognizes the device, so it will be possible to continue with the commands that will follow. If it is not recognized, verify that you have done all the steps correctly.
Please note: Android will ask if you want to associate the PC with the device. Confirm.
adb shell settings get global tether_dun_required
This last command should return a value:
- null o 1: they indicate that our operator knows we are using the hotspot, ergo we pay.
- o: our operator does not know that we are using the hotspot.
It is easy to deduce that the value must be set to 0. If it is, of course, the tethering / hotspot is already working, but if you are following this guide, surely the value will be different from 0. It may also be that the command generates a Warning similar to this
Warning: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix.
No fear, go on anyway. To bring the value to 0, type the following command in the terminal:
settings put global tether_dun_required 0
Once this is done, exit with the 'exit' command, disconnect the smartphone from the PC and restart. At start up you will have working hotspots and tethering, without spending a penny! 😉
This method should work on any device, with any version of Android. The article was created taking inspiration from multiple resources on various forums.
28 / 06 update: Vodafone free hotspots on MIUI and Xiaomi
You have a smartphone Xiaomi or mount a ROM MIUI and you can't activate the free hotspot? If adb returns an error message similar to the following:
Error while accessing settings provider
java.lang.SecurityException: Permission denial:
writing to settings requires: android.permission.WRITE_SECURE_SETTINGS
it is necessary to enable a second option of Debug USB, which allows adb to make the necessary changes. All you have to do is go to the usual menu Developer options, then tick the second item Debug USB and accept subsequent 3 warnings. Without this, you can easily give the commands from adb, as described in the previous point!
I thank "spritzer"For the very useful advice and for sharing with all the following images
- Xiaomi Mi2, WIUI 4.4.4
- Nexus 4 Android 5.0 Lollipop
- Samsung Galaxy S6 Edge | APN
- Nexus 6 | ADB
- Samsung Galaxy S4 | APN
- Motorola Moto G 2013
- LG G3 | ADB
- Samsung S3 Neo | ADB
- OPPO Find 7 QHD | ADB
- OnePlus One | ADB
- Nexus 5 Lollipop 5.1 | ADB
Report your device and your Android version!
Was this solution useful? Do you know alternative methods? Let me know with a comment!