[MOD][Xposed] Fake Wifi Connection [1.7] - Xposed Framework Modules

This module makes android apps believe Wifi is connected.
Handy in situations where there's 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 ...)
This means 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 and many others working over ppp !
Lollipop
For android 5.0+ try v1.9 (thanks pyler)
Nougat
Looks like there are issues with nougat and later. Dev help welcome, if someone gets it working please share so others can benefit. Create a PR on github if you have a patch.
Installation
Just be safe, backup your ROM.
Install Xposed Framework:
Get installer from repo.xposed.info
Open Xposed Installer->Framework->Install
Reboot
Install FakeWifiConnection.apk
Open Xposed Installer->Modules, tick FakeWifiConnection
Reboot
How to use
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).
Try just faking the app you're interested in first.
If that doesn't work then try faking everything, save and reboot:
Some apps use other apps/services internally, which might need faking as well. For example many games use Google Play Services. Usually you can find out by looking at the logs (see debugging) see what tasks get activated while the app is running.
Contribute !
Have code to share ? Create a PR on github.
Click [Thanks] button
Project's working for you ? Have something cool to report ? Post your story !
Useful feedback about an app that's not working is valuable. It could well be that this app needs a tweak that's not there yet, and once it's added not only this app will work but also all the other apps that rely on the same mechanism. If you find your favorite app doesn't work report it if it's not mentioned already. Describe what happens, how/what doesn't work. Give details about your setup, especially if it's something unusual (android version ...), how to replicate the problem etc.
Make a donation
See also
Xposed module page and project page on github.
Kudos
rovo89 for awesome Xposed Framework !
UI code by hamzahrmalik.

Finally the app/module I've been searching for! ?
I did a quick test but unfortunately it doesn't work with the xfinity tv go app. It seems to make the app think it's corrupted and wants me to reinstall.
I think a whitelist would be a good addition to this module! ?
EDIT: False alarm..the xfinity app was actually corrupted. After reinstalling, this module faked it properly! Thanks!
Sent from my SM-N900T using Tapatalk

hamsup1o said:
Finally the app/module I've been searching for! ?
I did a quick test but unfortunately it doesn't work with the xfinity tv go app. It seems to make the app think it's corrupted and wants me to reinstall.
I think a whitelist would be a good addition to this module! ?
Sent from my SM-N900T using Tapatalk
Click to expand...
Click to collapse
If you know how to modify apks, you can decompile it and make the network connectivity check always return true. It's what I did and it works fine (and no, I will not share the apk for obvious reasons).

I tried it on the Triiing! app (free calling over Wi-Fi for Telenet ISP customers), but it still detects that it isn't connected to Wi-Fi.
I've been searching for months for this app, if only it'd work, but I have faith in the developers around here.
Sent from Tapatalk on my GT-I8190 running Novafusion's Carbon 4.4.4

Changelog
v1.1
fake getNetworkInfo(TYPE_WIFI) calls as well

Finally the app/module I've been searching for!
I think a whitelist would be a good addition to this module!
Click to expand...
Click to collapse
Glad it works :laugh:
For the whitelist, do you mean a way to select which apps are faked ?
GXGOW said:
I tried it on the Triiing! app (free calling over Wi-Fi for Telenet ISP customers), but it still detects that it isn't connected to Wi-Fi.
Click to expand...
Click to collapse
GXGOW, try v1.1 that should help.

lemonsqueeze said:
Glad it works :laugh:
For the whitelist, do you mean a way to select which apps are faked ?
Try v1.1 that should help.
Click to expand...
Click to collapse
that's exactly what i meant. this should eliminate having to reboot everytime you want to enable/disable the mod, which can be a pain. there are also apps out there that would use higher quality streams on wifi vs. mobile data and not having a whitelist would certainly use more data if someone is on a limited data plan. hopefully you will consider this. thanks again!
Sent from my SM-N900T using Tapatalk

My friend's been wanting this
Thanks, will tell him

lemonsqueeze said:
Glad it works :laugh:
GXGOW, try v1.1 that should help.
Click to expand...
Click to collapse
Yup, working now over here. Great module, I've been waiting for months for this!
Sent from Tapatalk on my GT-I8190 running Novafusion's Carbon 4.4.4

Installing this module causes this module (http://repo.xposed.info/module/tw.fatminmin.xposed.networkspeedindicator) to break.

Oooo, I asked for something like this a month or so ago. Some apps need a wi-fi or mobile data connection, and don't work with Bluetooth via PdaNet+. Facebook Messenger (although Facebook works), Words with Friends don't work, and Gameloft games (and others, probably) that need that "additional file" to download don't work with BT/PdaNet, so these apps with my wi-fi tablet aren't available to me sometimes.
I'll give this a try and let you know how it works for me.

Alright, v1.3 is out with user interface to select apps :
Every app is faked by default. Open app to enable/disable hack and select which apps to fake. Changes take effect immediately (background apps might need a reboot).

lemonsqueeze said:
Alright, v1.3 is out with user interface to select apps :
Every app is faked by default. Open app to enable/disable hack and select which apps to fake. Changes take effect immediately (background apps might need a reboot).
Click to expand...
Click to collapse
Nice! Working well! Just one suggestion...maybe add a loading bar when the UI opens? I thought the app was frozen when it was loading my list of apps. No biggie though.
I think someone already mentioned this but it is not playing well with another xposed module Network Speed Indicator. The network speed indicator is no longer showing on the status bar when your module is enabled.
Thanks again!!
EDIT: Ok some more info on the 2nd part of my post...i disabled another module (Tinted Status Bar) and the network speed indicator is back. So I'm not sure what's breaking what lol.
Sent from my SM-N900T using Tapatalk

It works fine on Samsung S4 4.3, thanks.
The only thing I noticed that does not work well is that when the wifi is completely turned off, some apps can see that the wifi is turned off and do not go forward. I solved the problem by leaving the wifi on and not connected (obviously) but this trick consumes more battery. Can you fix this?
Thank you and congratulations for the very useful app.
crash44

lemonsqueeze said:
This module makes android apps believe Wifi is connected.
Handy in situations where there's 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 ...)
Tested on Android KitKat 4.4.2, play store working over ppp !
Added user interface:
Every app is faked by default. Open FakeWifiConnection app to enable/disable hack temporarily (master switch) or select which apps to fake. Changes take effect immediately (background apps might need a reboot).
I didn't have any luck with HackConnectivity.apk and couldn't find a better way, so ended up writing this. (maybe HackConnectivity works with older android version ?).
Feedback Welcome !
I can only test on my setup, if you find some other app/android version works/doesn't work feel free to post.
Installation
Just be safe, backup your ROM.
Install Xposed Framework:
Get installer from repo.xposed.info
Open Xposed Installer->Framework->Install
Reboot
Install FakeWifiConnection.apk (repo.xposed.info/module/com.lemonsqueeze.fakewificonnection)
Open Xposed Installer->Modules, tick FakeWifiConnection
Reboot
From now on connectivity is forced to wifi. Open app to change settings.
Source code: github.com/lemonsqueeze/FakeWifiConnection
Debugging: see README
Kudos to rovo89 for awesome Xposed Framework !
UI code by hamzahrmalik, thanks !
Click to expand...
Click to collapse
Its such a very Great App !

Great idea, unfortunately it's not working for me. Maybe it only works on KitKat (I'm using JB 4.3)? Or maybe it's the app I'm trying to fake (UPC Horizon Phone) but it just keeps telling me I'm not connected to a WiFi network - even with WiFi switched on as someone suggested.
Great app though and good to see it's working for others.

Kind of works
I have been using the Network Spoofer app which has no trouble with the Play store, but has no way to automatically start in WiFi mode that I am aware of.
This app does exactly what I need it to do but it does have an issue with the Play store. Access to the store works, however when downloading it always says "waiting for network".

Very good module, let me ask, could be added an option to be in some specific wifi apps understood as if in 3g? I ask this because I use a wifi modem to share internet and wifi that wanted to follow the rules to put 3g, I think it would be a great addition to this module or to create another based on this
Thanks
Enviado de meu XT1058 usando Tapatalk

Ive been waiting for well over 2 years for something like this
I was getting pretty close to doing some research on the finer points about how androids wifi works on the lowest layers, and trying to make my own app or now a module that would help me do what I want to make happen, I havent started that yet...
I have a few questions after playing around with the module.
Firstly, what i want to make happen on my droid is being able to use the hotspot connection full time (its the only ISP ive had for about 2 years now, and having that active, any method or driver that works idc, is absolutely necessary. Now, I want to use aps like Allcastto stream to my 360, or chromecast streaming from my phone, also apps like, or... or another decent one is Signal Tracker
these all refuse to even start up if wifi tether is on and wifi is off. Now i was able to use
WiFi Tether Router to work exactly like ive been trying to explain, it worked for about 2 days and now i cant figure out what I did to break that. I set the router settings to use HostApd as the main method. Id first make sure wifi itself was active ad not connected to anything, then i would enable wifitetherrouter, and the android wifi connection wold be uneffected and stay on working fine. While this is going the routher app works as descripbed... being a hotspot wth this app is no different from the built in wifiap.
my question is, does this xposed module do anything like this, or am i way off and still going to be searching for how to do thihs? I played around with it trying to use allcast and couldnt get it to do anything..
how hard would it be exactly to trick android into thinking the devices connected to your phone while its a hotspot are also able to be connected to over the regular wifi methods.. I know its possible because like i mentioned, i saw this happening using wifitetherrouther with my own eyes.. I had my laptop and xbox both on my phones hotspot, and actually both were downloading something as well.. then I startedallcast and TADA instead of complaining theres no wifi connection, it found my 360 onthe network in about half a second.. i was able to stream video in high def to my tv
no problem.

Just have a quick question - anybody using this module has seen any increase in battery life? Basic premise being that apps would think Wi-Fi is connected so would not wake up the phone radio directly

Related

[Q] GPS Data Collection?!

Hi, I'm new here, but I figure my question is as good as any other. I recently became proud owner of the Xperia Neo MT15, which is now rooted and thoroughly protected, but I noticed something about the GPS and Network Location that bothers me - each time I enable either one, it asks me to agree to anonymous data collection.. Well, I don't agree, and I see no reason why I should be denied the features, because of my belief. So my question is this - does anyone know which system apk controls this? I would really like to impose it some restrictions using Pdroid as to stop the data collection. Any input is appreciated, thanks.
IddAgent.apk --- Anonymous Usage Stats
http://forum.xda-developers.com/showthread.php?t=1089470
Nope. Not the culprit, since I don't even have it. I do however notice a lot of calls for Network Location from com.sonyericsson.learningclient(which sounds logical) and devicemonitor(which sounds just suspicious). They start actively operating as soon as I enable GPS. I've disabled the access to most things for both and set GPS and Network Location data to be served as random. I don't think there are any other moles.
It's weird, because they both sound so harmless, when I look at their descriptions in the list you linked to. Maybe there's something else. I'll see if I can find anything.
Sony has a particular feeling to collect data .
Soon you will discover also that the sony Gps will not works without data at all, because is affected by a bug, and it drops every 5 minutes if you don't have data enabled.
For more informations, please, read my thread about gps on xperia phones
http://forum.xda-developers.com/showthread.php?t=1524121
Holy... why did I ever buy a SE in the first place?! I love the brand, and I've loved every phone I've had/used (those include K750, K850, P1i). I'll try to see if I have the 5 min. bug.
EDIT: I'm not sure if i observed the behavior or not. I didn't go anywhere, but stayed on the window with the GPS and nav software on. The software never displayed a loss of connection. I did notice the GPS icon went to it's unfixed state twice for a split second, 5 minutes apart, but I guess I'm supposed to be on the move to notice the issue. All the while learningclient would call for GPS location and be fed random data. The wifi and data connections were both disabled. I'm going for a drive, I'll test and report back.
nutterbg said:
Nope. Not the culprit, since I don't even have it
Click to expand...
Click to collapse
Hm, you don't have it? You deleted it? I just run a search trough my phone and found a lot of files with idd in their names. Some are even in etc/security and in system/lib there is even one in framework
there's even one folder data/idd who also have output folder. It stores some files in there but can't figure out what trigger loging.
Hm there are also some iddd lib
nutterbg said:
I do however notice a lot of calls for Network Location from com.sonyericsson.learningclient(which sounds logical)
Click to expand...
Click to collapse
Hm interesting, on link above, it says it "learns user typed words for default keyboard". I just opened up dex file from that app, looks like that app is for alot of things based on some strings in side of it.
nutterbg said:
and devicemonitor(which sounds just suspicious).
Click to expand...
Click to collapse
I deleted that one
But as I see, that app is checking bunch lot of things(states) of your phone
nutterbg said:
They start actively operating as soon as I enable GPS. I've disabled the access to most things for both and set GPS and Network Location data to be served as random. I don't think there are any other moles.
Click to expand...
Click to collapse
Hm, what app you use for tracking those things.
Madfysh said:
...
Click to expand...
Click to collapse
I don't remember deleting IddAgent. The other two I track using PDroid. I just enable its notifications for everything and I watch what does what. learningagent seems very keen on getting GPS location, while it's on, and device monitor calls network location every once in a while, I see no good reason why.
If you are able to unlock your bootloader, and install a custom kernel like inteks, or nightelf ones (void guarantee), question about collecting data while you enable gps just dissapear. I dont know if there is a easier way.
If I wanted to throw away my warranty, I would have done it the day I bought it. I know a custom Rom would solve the issue, but I don't want to risk it with the warranty, not yet anyway.
Sent from my MT15i using XDA

Firewalling - Whats The Minimum Required Stuff To Allow

Hi guys. i installed a firewall on my phone, and i just wanted to ask as to what basic stuff i need to allow to use internet.
What i mean is that i have firefox on the phone, and if i block everything and only allow firefox, i cant browse internet. but if i turn off the firewall, i can browse normally.
So i was just wondering what else i need to allow to use firefox.
i hope you guys get what i am trying to ask here.
You could try opening ports 80 (default http) and 443 (default https), but isn't your question better directed to the maker of the firewall?
ok got it to work, instead of blacklisting, i did white listing, and it worked well.
advisable for anyone who wants security to give it a try
if you would firewall your pc, then why not your phone?
nstream said:
ok got it to work, instead of blacklisting, i did white listing, and it worked well.
advisable for anyone who wants security to give it a try
if you would firewall your pc, then why not your phone?
Click to expand...
Click to collapse
Which firewall application did you use? I tried Android Firewall, but it would crash all the time, and it would not store or display activity logs. I previously used Droidwall on my original Incredible running CM7 (Gingerbread) and it seemed to work very well with the white listing of applications.
I removed Android Firewall from the Dinc 4G today and have no idea if anything else out there will work on ICS or Jellybean
biodiesel.ufo said:
Which firewall application did you use? I tried Android Firewall, but it would crash all the time, and it would not store or display activity logs. I previously used Droidwall on my original Incredible running CM7 (Gingerbread) and it seemed to work very well with the white listing of applications.
I removed Android Firewall from the Dinc 4G today and have no idea if anything else out there will work on ICS or Jellybean
Click to expand...
Click to collapse
i am using avast!
it does require root though
nstream said:
i am using avast!
it does require root though
Click to expand...
Click to collapse
Oh, I am rooted, S-OFF and running CM10.1 thanks to the hard work and inspiration of the developers here. I will look into Avast, thank you.

[MOD][6/5] - Tether Hack

The Tether Hack and Tether hack with WiFi notification should work on stock rooted and stock de-odex I545VRUAMDK based ROMS.
If your rocking a custom ROM check with your ROM dev for changes to framework-res.apk BEFORE flashing this.
The other two mods, Remove E911 Icons, and disable Ongoing WiFi Noticiation NEED a de-odex ROM.
The orginal "Tether Hack doesnt always kill the WiFi Notification so I rebuilt the mods using a different method.
EDIT: One of the mods were removed because it caused GPS Issues.
Mods / Features
Tether Hack.zip
Adds Free tether for everyone
Removes ongoing WiFi Notification in status bar
Thanks to shoman94 for his help re-compiling framework-res. He has a good tut HERE!
Tether Hack - With WiFi Notification.zip
Adds free tether for everyone.
Keeps WiFi notification in the status bar
Remove E911 Icon.zip
Removed that hideous GPS icon in the status bar
Must be de-odex!
Make a back up before flashing!
You can use this Mod in your ROM or however you see fit just give credit please.
Thanks!
-Scott
Download HERE
MOD EDIT: Download link removed with OP's permission.
Thanks and hit Thanks!
-Scott
Good looking
Sent from my SCH-I545 using Tapatalk 4 Beta
Dont mean to sound like a noob....but do u wipe cache and dalvik after flashing right?
Sent from my SCH-I545 using xda app-developers app
I am curious how you got this to complie and run. I tried removing com.samsung.sgp and the line below it from my framework-res. I even added the + to the different files that needed it. When I would recompile my phone would just sit at the verizon logo.
Did you do anything else besides adding the + to the layout lines?
Sent from my SCH-I545 using xda premium
Nice job! I see it removes the Wifi notification, does it add a toggle for the wifi with all the other toggles?
chriskader said:
I am curious how you got this to complie and run. I tried removing com.samsung.sgp and the line below it from my framework-res. I even added the + to the different files that needed it. When I would recompile my phone would just sit at the verizon logo.
Did you do anything else besides adding the + to the layout lines?
Sent from my SCH-I545 using xda premium
Click to expand...
Click to collapse
After posting the exact same question in the Q&A thread, I found it was because I needed to clear the cache/dalvik cache (maybe one or the other, but I did both).
I was able to successfully boot after doing so.
chriskader said:
I am curious how you got this to complie and run. I tried removing com.samsung.sgp and the line below it from my framework-res. I even added the + to the different files that needed it. When I would recompile my phone would just sit at the verizon logo.
Did you do anything else besides adding the + to the layout lines?
Sent from my SCH-I545 using xda premium
Click to expand...
Click to collapse
Compression has to be set to "None" on Samsung framework-res.apk
Thanks for posting this, both of the mods work great.
Just a quick question. With regards to the Tether Hack, how does this compare to apps like pdanet which bypass the subscription check but still seem to use the stock Wifi Hotspot? I don't know what exactly is happening behind the scenes with these other apps, if they do anything other than bypass the check. As an unlimited data user, is it "safer" to use pdanet or the other apps, or are you really just doing the same thing they provide without the need for another app?
Thanks again.
i already am using the widget to bypass the subscription check, just curious exactly what this tether hack does. also does it allow for USB tethering as well
nice mod!
stranula said:
Thanks for posting this, both of the mods work great.
Just a quick question. With regards to the Tether Hack, how does this compare to apps like pdanet which bypass the subscription check but still seem to use the stock Wifi Hotspot? I don't know what exactly is happening behind the scenes with these other apps, if they do anything other than bypass the check. As an unlimited data user, is it "safer" to use pdanet or the other apps, or are you really just doing the same thing they provide without the need for another app?
Thanks again.
Click to expand...
Click to collapse
I never used one of those apps so I cant honestly tell you what they do. However I can tell you what this one does...
It bypasses the Samsung tether check and just turns it on.
I have used this mod for quite some time and never had any one complain about being busted by Big Red... However AT&T and this mod will get you busted if you use it excessively.
dansan382 said:
i already am using the widget to bypass the subscription check, just curious exactly what this tether hack does. also does it allow for USB tethering as well
Click to expand...
Click to collapse
It hacks the tether feature samsung put in the ROM to call upon another app to verify the subscription.
So instead of
1. Tether app start
2. Call App to check subscription
3. Return results to tether app
4. Tether... Or not Tether...
It goes...
1. Start tether app
4. Tether.
Steps 2 and 3 are removed from the framework of the ROM
Yes on USB and if I wasnt so damned lazy I could even do Bluetooth... But this is good enough for 99.99% of the people. Who the hell uses Bluetooth anyways... Damn kids and there fads :angel:
theidoctor said:
nice mod!
Click to expand...
Click to collapse
Thanks
stranula said:
Thanks for posting this, both of the mods work great.
Just a quick question. With regards to the Tether Hack, how does this compare to apps like pdanet which bypass the subscription check but still seem to use the stock Wifi Hotspot? I don't know what exactly is happening behind the scenes with these other apps, if they do anything other than bypass the check. As an unlimited data user, is it "safer" to use pdanet or the other apps, or are you really just doing the same thing they provide without the need for another app?
Thanks again.
Click to expand...
Click to collapse
These apps are using something momentary (IE: The hack has to happen every time you push the *Big Friendly Button*) to bypass the check; I'm not sure what and I haven't had the opportunity/need to go digging into the how. I use Widgetsoid and it does the same thing.
This hack is permanent; it happens when you flash and doesn't require anything afterward. It allows you to use the included app on the phone without having to download any free apps that might have limits or ads and there's no paid version (FoxFi, for example). It means there are less "moving parts" involved, and theoretically, there are fewer things that could go wrong.
As for is one "safer" than the other...I'll assume you mean any less likely to get you in trouble...and the answer is no. They're achieving the same thing through different methods; one's just a bit "cleaner" than the others.
EDIT: Didn't see Scott's post...damn pages. Still relevant, I think.
scrosler said:
I never used one of those apps so I cant honestly tell you what they do. However I can tell you what this one does...
It bypasses the Samsung tether check and just turns it on.
I have used this mod for quite some time and never had any one complain about being busted by Big Red... However AT&T and this mod will get you busted if you use it excessively.
It hacks the tether feature samsung put in the ROM to call upon another app to verify the subscription.
So instead of
1. Tether app start
2. Call App to check subscription
3. Return results to tether app
4. Tether... Or not Tether...
It goes...
1. Start tether app
4. Tether.
Steps 2 and 3 are removed from the framework of the ROM
Yes on USB and if I wasnt so damned lazy I could even do Bluetooth... But this is good enough for 99.99% of the people. Who the hell uses Bluetooth anyways... Damn kids and there fads :angel:
Thanks
Click to expand...
Click to collapse
Thanks for the reply and good to know. I already have flashed a mod that removes the ongoing WiFi notification so obviously Im going to make a backup and flash this, see if it plays nice with the mod already installed
dansan382 said:
Thanks for the reply and good to know. I already have flashed a mod that removes the ongoing WiFi notification so obviously Im going to make a backup and flash this, see if it plays nice with the mod already installed
Click to expand...
Click to collapse
It will work fine. We used the exact same method to override the WiFi notification.
However after further testing... If you download something it will come back.
At least it did for me
Then again my phone is in a constant state of flux so... I may not even have the mod installed, lol
Is it possible to implent the smart stay notification removal hack. Currently, I have to choose between the RWC95 hack (ongoing wifi and smart stay) and yours. I'm having issues running the two hacks together as it seems some stuff cancels one another out. Could you possibly help and talk with him (RWC95) about merging your two hacks together? That'd be great
when you say this works on stock rooted i assume you mean it can work on odex roms right?
dansan382 said:
when you say this works on stock rooted i assume you mean it can work on odex roms right?
Click to expand...
Click to collapse
I have the same question
edit: I tried it and it works
datboiro said:
Is it possible to implent the smart stay notification removal hack. Currently, I have to choose between the RWC95 hack (ongoing wifi and smart stay) and yours. I'm having issues running the two hacks together as it seems some stuff cancels one another out. Could you possibly help and talk with him (RWC95) about merging your two hacks together? That'd be great
Click to expand...
Click to collapse
I have no desire to remove that icon. If someone needs my help with something (which rwc95 does not, as I have worked on stuff with him before, he knows what he is doing) they can reach out to me.
dansan382 said:
when you say this works on stock rooted i assume you mean it can work on odex roms right?
Click to expand...
Click to collapse
loudaccord said:
I have the same question
edit: I tried it and it works
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Right this is just a resource hack. Framework-res does not have any smali code and subsequently no dex or odex files.
Which app are you using to tether?
Hi Scott,
Thanks for developing the Clean Rom!
I've used your clean rom on the S3 and the S4 and I must admit it's some good stuff you've developed. :laugh:
I've installed this tether hack but after reading this thread, I'm not clear on what app you are using to tether?
Is it the mobile hotspot app from the Big Red?
Or does Samsung have their own separate tethering app?
I know it's a newbie question, but any info would be appreciated.
Thanks again!
Where is the tether app icon? I can't find it anywhere...
Is this the TrevE tether?
What exactly does this do since we already have a hot spot with this phone?
Also, when flashing do the cache's need to be wiped?
Sent from my SCH-I545 using Tapatalk 2

How to remove "Internet connection requirement" from Android apps?

Hi, I have an app which looks like the developer has removed their servers so it always fails the "internet connection" check.
Its IONROAD. A AR driving app.
I paid for the PRO version so its all good. I use an older version not the latest as I hate the latest version.
99% of the app is using the GPS or the camera. It does check the internet for the weather and a few little things.
I've tried it at home while connected to wireless, in the car while connected to Mobile Data, I've uninstalled, reinstalled and updated and all versions fail the internet checks. To me it looks like they closed their servers so the app refuses to work without the internet so it will never work again.
What I want to do is remove that internet check so it will keep working without the need for their servers. If it never connects to the internet it doesn't bother me. I dont care for the current weather in a AR driving app, I care for how close the car in front of me is or if i'm drifting out of the lane I'm in. Absolutely nothing to do with the internet so how do I remove that check?
I have the APK, trying to get it into the Android SDK and not sure how? Even if I do get it there what do I remove?
All I want is that internet check removed. As I said I paid for the app so the licence check always passes as I paid for it.
The dev has abandoned the app, they refuse to reply or update. As they closed their servers I'm guessing they totally abandoned the app.
Any help what to remove and how to remove it? Is it an easy unzip, edit a file then zip and reinstall? Or is it a complete import into SDK, rebuild, test, etc and make a whole new app?
I'm not sure what or how to edit it.
Thanks
BTW, Here are links to the apps. (if the link doesn't work use the txt below it. just add HTTP: to the start)
FREE version
https://play.google.com/store/apps/details?id=com.picitup.iOnRoad
//play.google.com/store/apps/details?id=com.picitup.iOnRoad
PAID version
https://play.google.com/store/apps/details?id=com.picitup.iOnRoad.pro
//play.google.com/store/apps/details?id=com.picitup.iOnRoad.pro
Here is their website, you can see half the site is down. You cant log in, and every page has a cache/database error.
http://ionroad.com
EDIT: Looks like the site is shut down completely now.
Nobody? I thought someone would know?
NakedFaerie said:
Nobody? I thought someone would know?
Click to expand...
Click to collapse
It is not a simple matter as it would require ripping the app apart and searching through smali code for the server stuff to be removed. As that is what it is doing. It uses their servers to send the weather and a few other things. Now that their servers are off you can bet that it wont be working for long as it will also use other info for things connected to the gps.
zelendel said:
It is not a simple matter as it would require ripping the app apart and searching through smali code for the server stuff to be removed. As that is what it is doing. It uses their servers to send the weather and a few other things. Now that their servers are off you can bet that it wont be working for long as it will also use other info for things connected to the gps.
Click to expand...
Click to collapse
The app refuses to work completely. As soon as it loads up it says there is no internet and closes. Thats why I want to remove the need for their servers and internet.
I was hoping there might be some sort of offline mode built in I could enable or remove the "no internet connection" error so it never fails.
Go have a look at the app and you will see you cant do anything as it fails the internet check when the app loads. As they have closed the servers then they have abandoned the app so we can do what we want with it as they obviously dont care about it anymore.
The problem I have is its the best AR driving app there is for android and as they abandoned it there is nothing to replace it with as all the others are crap.
Hi, similar problem to the GoPro app where internet connection is required. I would also really like to remove the internet checking and although the app is free are we getting in to the areas of cracking?
Please update this if you get somewhere.
Xposed mod anyone?
Sent from my HTC One_M8 dual sim using XDA-Developers Legacy app
NakedFaerie said:
Hi, I have an app which looks like the developer has removed their servers so it always fails the "internet connection" check.
Its IONROAD. A AR driving app.
I paid for the PRO version so its all good. I use an older version not the latest as I hate the latest version.
99% of the app is using the GPS or the camera. It does check the internet for the weather and a few little things.
I've tried it at home while connected to wireless, in the car while connected to Mobile Data, I've uninstalled, reinstalled and updated and all versions fail the internet checks. To me it looks like they closed their servers so the app refuses to work without the internet so it will never work again.
What I want to do is remove that internet check so it will keep working without the need for their servers. If it never connects to the internet it doesn't bother me. I dont care for the current weather in a AR driving app, I care for how close the car in front of me is or if i'm drifting out of the lane I'm in. Absolutely nothing to do with the internet so how do I remove that check?
I have the APK, trying to get it into the Android SDK and not sure how? Even if I do get it there what do I remove?
All I want is that internet check removed. As I said I paid for the app so the licence check always passes as I paid for it.
The dev has abandoned the app, they refuse to reply or update. As they closed their servers I'm guessing they totally abandoned the app.
Any help what to remove and how to remove it? Is it an easy unzip, edit a file then zip and reinstall? Or is it a complete import into SDK, rebuild, test, etc and make a whole new app?
I'm not sure what or how to edit it.
Thanks
BTW, Here is the free version. I have the paid version but I'm guessing its the same.
https://play.google.com/store/apps/d...icitup.iOnRoad
Here is their website, you can see half the site is down. You cant log in, and every page has a cache/database error.
http://ionroad.com
EDIT: Looks like the site is shut down completely now.
Click to expand...
Click to collapse
can you give me the apk to try and remove it for you? i am not guarantee anything that it will work. also you have root access?
NakedFaerie said:
The app refuses to work completely. As soon as it loads up it says there is no internet and closes. Thats why I want to remove the need for their servers and internet.
I was hoping there might be some sort of offline mode built in I could enable or remove the "no internet connection" error so it never fails.
Go have a look at the app and you will see you cant do anything as it fails the internet check when the app loads. As they have closed the servers then they have abandoned the app so we can do what we want with it as they obviously dont care about it anymore.
The problem I have is its the best AR driving app there is for android and as they abandoned it there is nothing to replace it with as all the others are crap.
Click to expand...
Click to collapse
Just because they abandon it doesn't meant that they might not throw a fit at having it edited. I'll take a look at the decompiled apk. I have a feeling that everything it does will be tied to the servers so even if we did stop it from checking the servers the stuff you want might still not work.
zelendel said:
Just because they abandon it doesn't meant that they might not throw a fit at having it edited. I'll take a look at the decompiled apk. I have a feeling that everything it does will be tied to the servers so even if we did stop it from checking the servers the stuff you want might still not work.
Click to expand...
Click to collapse
Great thanks.
When the app worked it was mainly GPS and camera stuff, It would get the weather from the server and it does keep a log at the server so it will send a result at the end but while your driving I doubt it does anything with the server as I've been to some places without phone reception and it still worked fine.
Maybe there is only a check when it loads up that we need to remove?
stefanosapostolopoulos said:
can you give me the apk to try and remove it for you? i am not guarantee anything that it will work. also you have root access?
Click to expand...
Click to collapse
You just quoted a link........
And no, I sortof dont have root access. My tablet is rooted my Note 4 is not. I use it on my note 4 which is not rooted.
NakedFaerie said:
You just quoted a link........
And no, I sortof dont have root access. My tablet is rooted my Note 4 is not. I use it on my note 4 which is not rooted.
Click to expand...
Click to collapse
the link for play store does't work anymore the app isnt there
stefanosapostolopoulos said:
the link for play store does't work anymore the app isnt there
Click to expand...
Click to collapse
FREE version
https://play.google.com/store/apps/details?id=com.picitup.iOnRoad
//play.google.com/store/apps/details?id=com.picitup.iOnRoad
PAID version
https://play.google.com/store/apps/details?id=com.picitup.iOnRoad.pro
//play.google.com/store/apps/details?id=com.picitup.iOnRoad.pro
Not sure what happened? the link did work. Here are new links. Oh, the forum changes the links and breaks them.
I could have more luck if I knew what apps to use.
How do you decrypt apps?
What should I edit and look for when its decrypted? (I'm guessing a link to the website or something like that?)
How do I encrypted it again and pack it back into a working APK?
I've tried a few apps and had no luck.
NakedFaerie said:
I could have more luck if I knew what apps to use.
How do you decrypt apps?
What should I edit and look for when its decrypted? (I'm guessing a link to the website or something like that?)
How do I encrypted it again and pack it back into a working APK?
I've tried a few apps and had no luck.
Click to expand...
Click to collapse
There are tons of tutorials on how to decompile the app. You will need a pc. As for what to look for. That is hit or miss really. As it is in smali and not Java. Also there could be safe guards that if the code is removed then the app won't work. Also some apps can't be decompiler at all as they self destruct if they are.
zelendel said:
There are tons of tutorials on how to decompile the app. You will need a pc. As for what to look for. That is hit or miss really. As it is in smali and not Java. Also there could be safe guards that if the code is removed then the app won't work. Also some apps can't be decompiler at all as they self destruct if they are.
Click to expand...
Click to collapse
Ok. I'll wait and hope someone has a go at doing it. As I said I've tried and had no luck at all thats why I'm here asking as I cant do it, someone who knows more than me hopefully will have more luck than I've had.
Anyone having a go at seeing if they can remove the connection to internet requirement?
I want to keep using v1.6.3 but I did find v1.5.1 works with only a random internet check. For my last 10 min drive it checked 3 times but I did do a 15 min drive and it never checked the whole time.
As their servers are down it will always fail if it checks.
If you know where to look you will find all different versions. I wont post where but they are available. 1.6.3 to me is the best, its the most stable, has the best features but its got the internet checks which need to be removed before you can use it as it checks at the start and closes as it cant connect to their servers.
NakedFaerie said:
Anyone having a go at seeing if they can remove the connection to internet requirement?
I want to keep using v1.6.3 but I did find v1.5.1 works with only a random internet check. For my last 10 min drive it checked 3 times but I did do a 15 min drive and it never checked the whole time.
As their servers are down it will always fail if it checks.
If you know where to look you will find all different versions. I wont post where but they are available. 1.6.3 to me is the best, its the most stable, has the best features but its got the internet checks which need to be removed before you can use it as it checks at the start and closes as it cant connect to their servers.
Click to expand...
Click to collapse
Dude if you use it without mobile data how it respond?
stefanosapostolopoulos said:
Dude if you use it without mobile data how it respond?
Click to expand...
Click to collapse
??? I dont understand?
Their servers are down forever. they closed them so it doesnt respond. I want the app to stop checking their servers, to work 100% offline.
NakedFaerie said:
??? I dont understand?
Their servers are down forever. they closed them so it doesnt respond. I want the app to stop checking their servers, to work 100% offline.
Click to expand...
Click to collapse
No I mean if you use it with gps only the app should not try to connect with the servers because it checks the network status to see if there is internet connection...
stefanosapostolopoulos said:
Dude if you use it without mobile data how it respond?
Click to expand...
Click to collapse
stefanosapostolopoulos said:
No I mean if you use it with gps only the app should not try to connect with the servers because it checks the network status to see if there is internet connection...
Click to expand...
Click to collapse
the app always tries to connect to their servers at startup. as they closed the servers it always fails and the app closes.
if you turn mobile data off it also fails and closes the app.
we need to remove the check so the app will work again.
NakedFaerie said:
the app always tries to connect to their servers at startup. as they closed the servers it always fails and the app closes.
if you turn mobile data off it also fails and closes the app.
we need to remove the check so the app will work again.
Click to expand...
Click to collapse
This isn't simple.Even if we remove the permission the code of the app will try to access the internet and it will fail. but i will try it

[APP][Rooted]Ril Control[4.4+][Oreo]

I'm sure many of you are already using @kessaras great AOSCP Oreo Rom!
One small current issue is the ril-daemon sometimes needs to be stopped and started to make your sim card and cellular work properly. In the past, you could just reboot, or stop and start the daemon from the command line. But now you can just tap a button! That's right, just a simple, easy to use app that stops or starts the ril-daemon when you tap the buttons.
This app requires root permission!
This app is open source, licensed under the Apache 2.0, and you can check out the source code here:
https://github.com/alaskalinuxuser/app_ril_control
You can download the app here:
https://github.com/alaskalinuxuser/app_ril_control/blob/master/app/Ril_Control.apk
Get it on the Play Store!
https://play.google.com/store/apps/details?id=com.alaskalinuxuser.rilcontrol
Reserved for Change log.
great tool ! Thank you ! it will make easier this ril restart for everyone
Thank you very much, this is very useful!
I'm using it quite often. It's very useful for me. Thank you so much!
tqwzUX6fn39GZMEzSnDF said:
I'm using it quite often. It's very useful for me. Thank you so much!
Click to expand...
Click to collapse
Great! I'm glad you like it and find it useful!
Have you tried my kppd control app?
https://forum.xda-developers.com/showthread.php?t=3639878
Sent from my Life One X2 using XDA-Developers Legacy app
AlaskaLinuxUser said:
Great! I'm glad you like it and find it useful!
Have you tried my kppd control app?
https://forum.xda-developers.com/showthread.php?t=3639878
Sent from my Life One X2 using XDA-Developers Legacy app
Click to expand...
Click to collapse
No, I didn't try this app. Color and so on is fine for me.
But I had to reboot very often due to missing sim detection and I'm happy that I don't need to do it anymore.
This will surely save folks the hassle of using the Terminal to restart the Radio Interface Layer.
Muchos gracias @AlaskaLinuxUser
---------- Post added at 08:05 AM ---------- Previous post was at 08:05 AM ----------
This will surely save folks the hassle of using the Terminal to restart the Radio Interface Layer.
Muchos gracias @AlaskaLinuxUser
Just wondering if the change is supposed to be instant when I press the button. I have a newly unlocked H812 and it takes sometime ten tries to get it to work
Hey it is possible to add a function like automatic restart the ril-daemon with different time settings?
Like restart it ervery 24 or 15 hours.
I have problems with my G4 on LOS 14 Roms the ril stop working after different hours.
Hey @AlaskaLinuxUser I am curious, can this be used for newer ROMs? I am using LineageOS 15.1 and experience mobile data drop off all the time. I would like to use this app (Google Play pulled the app, I used your direct download link) to see if it would help.
Any issues doing this?
FirebirdStud said:
Hey @AlaskaLinuxUser I am curious, can this be used for newer ROMs? I am using LineageOS 15.1 and experience mobile data drop off all the time. I would like to use this app (Google Play pulled the app, I used your direct download link) to see if it would help.
Any issues doing this?
Click to expand...
Click to collapse
Yes, I was using it on aoscp Oreo, so it should work on 15.1. :good:
Yes, Google Play is pulling a lot of my apps. Root apps and apps for 32 bit phones are harder to keep on the Play store.
AlaskaLinuxUser said:
Yes, I was using it on aoscp Oreo, so it should work on 15.1. :good:
Yes, Google Play is pulling a lot of my apps. Root apps and apps for 32 bit phones are harder to keep on the Play store.
Click to expand...
Click to collapse
Thanks for the quick response! I am on a Samsung Note 4 with custom ROM based on Android 8.1, so I wasn't sure if this was specific to any make or operating system.
FirebirdStud said:
Thanks for the quick response! I am on a Samsung Note 4 with custom ROM based on Android 8.1, so I wasn't sure if this was specific to any make or operating system.
Click to expand...
Click to collapse
It should work. It may need busybox or toybox installed, which were on the original ROM I built this for.... Of course, root is required.
Let me know how it turns out.
AlaskaLinuxUser said:
It should work. It may need busybox or toybox installed, which were on the original ROM I built this for.... Of course, root is required.
Let me know how it turns out.
Click to expand...
Click to collapse
Hmm, I don't want to get in over my ski-tips here.
I am new to rooting. I was tired of an older phone with a poorly performing operating system, so I travelled down this road to revitalizing my phone - without spending over a thousand dollars for a new one.
I do not know what busybox or toybox is, or if it is incorporated into this LineageOS operating system v15.1 for the Samsung SM-N910V.
I do have root, managed by Magisk Manager v17.3, and use TWRP v1.21 build 34 for recovery.
I do not have a recent backup or anything like that, as I am a noob and use this phone as a daily driver. I don't want to really screw anything up by installing this app. Do you think there could be incompatibilities that could cause issues? I am trying to avoid continually backing up all of my data and files to my computer, as it takes forever. (yeah, I realize that developing new stuff is a gamble, but I am trying to find stable things already built )
The only issue with this ROM is RIL instability when switching towers, and going into buildings that forces the data connection to go from LTE to 3G, and that is when I lose data connection. I have to restart the phone every time, and I end up having to do this a lot while driving and travelling for work.
What are your thoughts?
FirebirdStud said:
Hmm, I don't want to get in over my ski-tips here.
I am new to rooting. I was tired of an older phone with a poorly performing operating system, so I travelled down this road to revitalizing my phone - without spending over a thousand dollars for a new one.
I do not know what busybox or toybox is, or if it is incorporated into this LineageOS operating system v15.1 for the Samsung SM-N910V.
I do have root, managed by Magisk Manager v17.3, and use TWRP v1.21 build 34 for recovery.
I do not have a recent backup or anything like that, as I am a noob and use this phone as a daily driver. I don't want to really screw anything up by installing this app. Do you think there could be incompatibilities that could cause issues? I am trying to avoid continually backing up all of my data and files to my computer, as it takes forever. (yeah, I realize that developing new stuff is a gamble, but I am trying to find stable things already built )
The only issue with this ROM is RIL instability when switching towers, and going into buildings that forces the data connection to go from LTE to 3G, and that is when I lose data connection. I have to restart the phone every time, and I end up having to do this a lot while driving and travelling for work.
What are your thoughts?
Click to expand...
Click to collapse
This app will not cause you any trouble. It will either work, or will not work, but will have no detrimental affect on your phone or files. I'd recommend you give it a try. But it is always up to you.
AlaskaLinuxUser said:
This app will not cause you any trouble. It will either work, or will not work, but will have no detrimental affect on your phone or files. I'd recommend you give it a try. But it is always up to you.
Click to expand...
Click to collapse
I took the leap, and while out and about today I installed RIL Control. And guess what, it worked! I was able to kick the data connection in the butt and it reconnected.
However, I have a big problem now. I got home, and turned on wifi, and it doesn't work now. The toggle switch moves to on, and then right back to off. I cannot get the wifi to turn on! I restarted the phone, and it still won't turn on. Bluetooth works just fine.
So, now what happened? How do I get wifi to work again? Honestly, I need wifi more than data connection at this point.
FirebirdStud said:
I took the leap, and while out and about today I installed RIL Control. And guess what, it worked! I was able to kick the data connection in the butt and it reconnected.
However, I have a big problem now. I got home, and turned on wifi, and it doesn't work now. The toggle switch moves to on, and then right back to off. I cannot get the wifi to turn on! I restarted the phone, and it still won't turn on. Bluetooth works just fine.
So, now what happened? How do I get wifi to work again? Honestly, I need wifi more than data connection at this point.
Click to expand...
Click to collapse
Odd. The commands in the app only stop/start ril-daemon, which has nothing to do with WiFi. WiFi is wpa-supp. So I'm not sure if that is connected to my app. However, if that is the only thing you installed/changed, then I guess that would have to be it.
I'm guessing restarting the phone didn't work? :fingers-crossed:
You could always uninstall my app. But if that doesn't work, I guess you would have to load a backup of your phone. I just don't see how my app is affecting the WiFi.
AlaskaLinuxUser said:
Odd. The commands in the app only stop/start ril-daemon, which has nothing to do with WiFi. WiFi is wpa-supp. So I'm not sure if that is connected to my app. However, if that is the only thing you installed/changed, then I guess that would have to be it.
I'm guessing restarting the phone didn't work? :fingers-crossed:
You could always uninstall my app. But if that doesn't work, I guess you would have to load a backup of your phone. I just don't see how my app is affecting the WiFi.
Click to expand...
Click to collapse
Thanks for the help.
Correct, installing and using your app is the only change I have made, and I have never had a wifi issue in the month or so that I have been running this custom ROM.
Restarting the phone 4 times did not work. I may have panicked haha.
I did boot into TWRP and wipe the Dalvik cache.. and whala, I booted back up and the wifi worked.
I'm now afraid to try your app again when I am out and about, but maybe I should to see if this same condition happens again? What do you think?
FirebirdStud said:
Thanks for the help.
Correct, installing and using your app is the only change I have made, and I have never had a wifi issue in the month or so that I have been running this custom ROM.
Restarting the phone 4 times did not work. I may have panicked haha.
I did boot into TWRP and wipe the Dalvik cache.. and whala, I booted back up and the wifi worked.
I'm now afraid to try your app again when I am out and about, but maybe I should to see if this same condition happens again? What do you think?
Click to expand...
Click to collapse
Well, if you have a good backup, and since wiping dalvik and cache worked before, it might be worth a try. Was the WiFi on when you used my app? As always, if you are worried about it, you should play it safe. :good:

Categories

Resources