- Saved searches
- Use saved searches to filter your results more quickly
- License
- lemonsqueeze/FakeWifiConnection
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- Как симулировать наличие Wi-Fi в Android
- Как подделать WiFi под мобильные данные на Android
- Как подделать WiFi под мобильные данные на Android
- How to Fake WiFi as Mobile Data on Android
- How to Fake WiFi as Mobile Data on Android
- About Chief Editor
- Sadique Hassan
- Saved searches
- Use saved searches to filter your results more quickly
- Internet working only in the browser #397
- Internet working only in the browser #397
- Comments
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Make android apps believe Wifi is connected
License
lemonsqueeze/FakeWifiConnection
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Make android apps believe Wifi is connected.
Handy in situations where there is a (non wifi) connection, but some app won’t do its thing unless it’s on wifi ( android running in virtual machine / emulator, 3g but no wifi around, usb 3g modem connection, usb reverse tethering . )
With this you can for instance access wifi-only features while on 3g.
If you’re used to iOS, it’s the android equivalent of 3g Unrestrictor or My3G.
Tested on Android KitKat 4.4.2, play store working over ppp !
No app is faked by default. Open FakeWifiConnection app to enable/disable hack (master switch) and select which apps to fake. Changes take effect immediately (background apps need a reboot).
- Install Xposed Framework.
Get installer from http://repo.xposed.info/
Open Xposed Installer->Framework->Install
Reboot - Install FakeWifiConnection.apk
Open Xposed Installer->Modules, tick FakeWifiConnection
Reboot - Open FakeWifiConnection app to change settings.
Debug messages are disabled by default.
To enable set debug_level to 1 with Preferences Manager and reboot.
logcat | grep FakeWifiConnection
Как симулировать наличие Wi-Fi в Android
Много мобильных приложений требуют для своей работы только Wi-Fi, и их не интересует, что на вашем счету еще несколько сотен мегабайт трафика в 3G. Это делается для того, чтобы нельзя было перетратить деньги в мобильнике. Однако если необходимо получить всю функциональность такой программы при отсутствии Wi-Fi, последний можно симулировать.
Чтобы обмануть приложение и заставить его поверить в наличие Wi-Fi, необходимо обязательно иметь в телефоне две вещи: root-доступ и установленный фреймворк Xposed. Установка последнего не вызывает никаких проблем и проходит, как установка обычного приложения APK.
1. Откройте Xposed и перейдите в раздел Download, после чего перейдите на вкладку Modules. С помощью встроенного поисковика найдите модуль Fake Wifi Connection. Загрузите и установите последнюю доступную версию.
2. Активируйте модуль Fake Wifi Connection после установки, нажав галочку напротив его названия в разделе Modules. Перезагрузите гаджет для запуска этого модуля.
3. Запустите Fake Wifi Connection, как любую другую обычную программу. Приложение покажет перечень всех установленных в мобильном гаджете утилит. Отметьте те, которые работают только при наличии Wi-Fi, и сохраните изменения.
Как подделать WiFi под мобильные данные на Android
В этом руководстве мы покажем вам, как подделать ваш Wi-Fi как мобильные данные на вашем устройстве Android. Чтобы выполнять индивидуальные настройки разработки, такие как рутирование через Magisk, тестирование недавно выпущенных ПЗУ и ядер, а также использование множества модов от Xposed, я держу под рукой несколько дополнительных устройств. [from different OEMs]. В этих устройствах SIM-карта вставляется только во время первоначальной настройки, чтобы убедиться, что модем и радио прошитого ПЗУ работают хорошо и хорошо.
После завершения этапа тестирования я устанавливаю SIM-карту на свое основное устройство, и она остается такой. Тем не менее, недавно я наткнулся на мод, который специально требовал данных оператора для Интернета, а Wi-Fi не годился. Более того, я взаимодействовал с этим модом чаще, чем предполагал изначально, поэтому переключение SIM-карт между моим основным и тестовым устройствами стало настоящей проблемой только для использования этого мода.
Чтобы решить эту проблему, я перекопал углы всемирной паутины и наткнулся на отличный метод, с помощью которого вы можете подделать свой WiFi как мобильные данные на своем устройстве Android. И в этом руководстве мы сообщим вам об этом. Следуйте вместе.
Как подделать WiFi под мобильные данные на Android
Программы для Windows, мобильные приложения, игры — ВСЁ БЕСПЛАТНО, в нашем закрытом телеграмм канале — Подписывайтесь:)
- Для начала рутируйте свое устройство через Magisk.
- Затем скачайте и установите приложение LSPosed.
- Теперь скачайте и установите Поддельное приложение для подключения к данным.
- Затем запустите LSPosed и перейдите в его раздел «Модули».
- Теперь включите переключатель рядом с Fake Data Connectivity.
- Наконец, проверьте приложение, рядом с которым необходимо реализовать эту настройку.
Вот и все. С этого момента вы можете использовать Wi-Fi, и приложение будет обмануто, полагая, что вы используете данные оператора. Итак, на этой ноте мы завершаем это руководство о том, как вы можете подделать свой WiFi как мобильные данные на своем устройстве Android. Если у вас есть какие-либо вопросы относительно вышеупомянутых шагов, сообщите нам об этом в комментариях. Мы вернемся к вам с решением в ближайшее время.
[Module Credits: XDA Senior Member firefds].
How to Fake WiFi as Mobile Data on Android
In this guide, we will show you the steps to fake your WiFi as Mobile Data on your Android device. To carry out custom development tweaks such as rooting via Magisk, testing out newly released ROM and kernels, and welcoming abode a plethora of mods from Xposed, I keep a few secondary devices at hand [from different OEMs]. These devices only have the SIM inserted during the initial setup to verify that the flashed ROM’s modem and radio are working well and good.
Once the testing phase is done, I put back the SIM on my primary device and it stays that way. However, recently I came across a mod that specifically required carrier data for the internet, having a WiFi won’t just do. Moreover, I was interacting with this mod more often than I had initially anticipated, so it became a real hassle in switching SIMs between my primary and testing devices just for using this mod.
To overcome this issue, I dug up the corners of the World Wide web and stumbled upon a nifty method through which you could fake your WiFi as Mobile Data on your Android device. And in this guide, we will make you aware of the same. Follow along.
How to Fake WiFi as Mobile Data on Android
- To begin with, root your device via Magisk.
- Then download and install the LSPosed app.
- Now download and install Fake Data Connectivity App.
- Then launch LSPosed and go to its Modules section.
- Now enable the toggle next to Fake Data Connectivity.
- Finally, check the app next to which this tweak needs to be implemented.
That’s it. From now on, you could use the WiFi and the app will be tricked into believing that you are using the carrier data. So on that note, we round off this guide on how you could fake your WiFi as Mobile Data on your Android device. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.
[Module Credits: XDA Senior Member firefds].
About Chief Editor
Sadique Hassan
A technical geek by birth, he always has a keen interest in the Android platform right since the birth of the HTC Dream. The open-source environment always seems to intrigue him with the plethora of options available at his fingertips. “MBA by profession, blogger by choice!”
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internet working only in the browser #397
Internet working only in the browser #397
Comments
After updating to Android 11 (and MIUI 12.5) I have Internet connection only when using my browsers.
All other apps don’t have access to the Internet. Any ideas how to fix that?
The text was updated successfully, but these errors were encountered:
I have Internet when connected to wifi, but I want to use gnirehtet only. I didn’t have this issue before the update.
OK, then probably the apps check for wifi/mobile access, and the old MIUI ROM returned true when a VPN was enabled and now it returns false (just a guess).
In any case, I don’t know what gnirehtet could do.
Can confirm this is also an issue with Android 5
OK, then probably the apps check for wifi/mobile access, and the old MIUI ROM returned true when a VPN was enabled and now it returns false (just a guess).
So this relates to #393 @najum98 and #349 @simonferndriger
I experience the same thing on Android 10 custom ROM. Some apps work, some do not.
gnirehtet is a wonderful great tool. It would be nice to have a solution for this issue.
I understand an app needs to think it has WiFi/mobile access in order to work with gnirehtet.
So I thought. can we simulate an existing WiFi connection while the physical WiFi chip is off, in order to make the app think it has WiFi access?
I looked for a solution and found two apps:
https://github.com/chylek/FakeWifi
https://github.com/lemonsqueeze/FakeWifiConnection
Both are based on the Xposed Framework, which is discontinued and not available for newer Android versions. So I tried the apps with the EdXposed framework and the 2nd app FakeWifiConnection works for me on a rooted device.
- install Magisk app (newest version Magisk.apk from https://github.com/topjohnwu/Magisk/releases/)
- 4th symbol in the Magisk app: Modules -> install from memory: riru-v25.4.4-release.zip from https://github.com/RikkaApps/Riru/releases
- 4th symbol in the Magisk app: Modules -> use the online search to install «Riru -EdXposed» v0.5.2.2 from solohsu, MlgmXyysd
- install EdXposedManager.apk from https://github.com/ElderDrivers/EdXposedManager/releases
go into EdXposedManager, the app should show a blue checkmark with «EdXposed Framework is active», provide root access when needed, maybe system reboot is needed - install FakeWifiConnection.apk from https://github.com/lemonsqueeze/FakeWifiConnection/raw/master/FakeWifiConnection/bin/FakeWifiConnection.apk
- go into EdXposedManager, menu top left, modules, activate Fake Wifi Connection, maybe system reboot is needed
- go into FakeWifiConnection, select apps you want to fake WiFi for, save
- use gnirehtet and be happy 🙂
I hope this helps others to utilize gnirehtet to its full potential. Faking a WiFi connection while the physical WiFi chip is off is a nice workaround and exactly what I want.
It would be nice to have a newer and more compatible app, maybe without framework, to fake WiFi and make this process easier.