[Q] Lock WifI so it cannot be used - G Tablet General

Is there a way to lock prevent the use of wifi and usb? I would like to deploy the tablet with data that i do not want users to be able to email or copy off the tablet. Is there some way to do this?

That is a tough request because aside from wi-fi and usb there is also bluetooth, microsd card and I'm sure a few other ways. So I guess to answer your question, No there is not a way. Basically in disabling all of these services you lose the entire purpose of a tablet...

A Kernel dev may be able to help you out here. They do a lot of work to get interfaces such as wifi working well on the gtab, but I imagine it would be a pretty simple task to disable them.

App lock on the market will disable almost any function including the settings so that you can lock people from getting where you don't want them. You can lock almost anything.
Sent from my Droid using XDA App

tenet420 said:
App lock on the market will disable almost any function including the settings so that you can lock people from getting where you don't want them. You can lock almost anything.
Sent from my Droid using XDA App
Click to expand...
Click to collapse
While the app does allow such functions, it does not allow locking the app (App Lock) itself. All one needs to do is uninstall the app & they will then have access to settings etc. etc.
Edit: I also found some bugs & loopholes. If running CM7, long pressing the back button kills the app, thereby leaving one vulnerable to access to the supposed "locked" apps.

+1 El tejano
It is Perfect AppLock and I couldn't find a way around it, even after killing it with a task manager. Not on CM7 so can't test that.
Sent from my Droid using XDA App

Why not just remove the bcm*.ko driver file from /system/lib/modules? Or simply rename it...that would prevent the WiFi driver from ever even loading.
Of course, this wouldn't help with USB or MicroSD, but since the original question was for WiFi, this certainly should do the trick...

tenet420 said:
+1 El tejano
It is Perfect AppLock and I couldn't find a way around it, even after killing it with a task manager. Not on CM7 so can't test that.
Sent from my Droid using XDA App
Click to expand...
Click to collapse
Thanks, just tried it on my phone & so far it looks like everything works. I'll play with it a bit longer to see if I can find any vulnerabilities.

Related

WiFi Tether for CM7

Anyone know where I can get a working WiFi Tether apk for CM7? The one I have from CM6 isn't working.
The stock tethering app works fine for me
Why wouldn't you use the built in hotspot? It works great.
You just need to use the built in hotspot, under wireless settings. You have the same features, can change the ssid, and password encrypt it. I'm using it right now.
RickBaller said:
Anyone know where I can get a working WiFi Tether apk for CM7? The one I have from CM6 isn't working.
Click to expand...
Click to collapse
use the built-in tether app. To make it really easy add it to a PowerControl widget (add widget to screen, select "Portable WiFi Hotspot" from the list of options).
If you don't want to use it, the other best one (in my experience) is called something like "Wireless Tether for Root Users"
Just use the built-in option under wireless settings...
Or check THIS page
Lol poor rickballer
Sent from my PC36100 using XDA App
I don't know if this has been mentioned but the stock hotspot iis pretty nasty. I suggest that
When I try and enable the built in Portable Hotspot it immediately deselects and says "Error." Any ideas?
RickBaller said:
When I try and enable the built in Portable Hotspot it immediately deselects and says "Error." Any ideas?
Click to expand...
Click to collapse
Hmmm are any other hotspots apps installed
None that are apparent to me.
What kernel are you using
Sent from my PC36100 using XDA App
Happens to me from time to time, just reboot your phone and should fix it.
dabbill said:
Happens to me from time to time, just reboot your phone and should fix it.
Click to expand...
Click to collapse
This. Thanks for the help guys and putting up with a lame thread.
Not lame for asking a question. You could have posted this in the development section.
Sweet, looks like restarting helped, my 4G speeds still sucks though in this area, i restarted and threw 4G and tethering on and tested my speed on my ipod touch and got .32Mbps/.21Mpbs and my battery was draining 1% per minute, lol.
Running CM7-n#14
I love the built in tether, but is there a way to make a widget for it? I'm just lazy and don't like having to jump through menus haha.
Its built into the power control widget.
gregs887 said:
I love the built in tether, but is there a way to make a widget for it? I'm just lazy and don't like having to jump through menus haha.
Click to expand...
Click to collapse
widgetsoid makes just about every setting option as a widget.
Will I get charged by Sprint when using the stock CM7 tether capabilities?

[Tutorial] Quick Wi-Fi Fix

Hey guys,
I've been following XDA-developers for a long time, and would like to return something for all the help the community has provided. I traded my iPhone 4 for a G2X today only to find out that my BB data plan is incompatible -_-. Unwilling to wait until Memorial Day was over (611 closed), I decided to turn on Wi-Fi and tinker with it.
Unfortunately I fell victim to the phone's Wi-Fi's problems. It worked for seconds at startup, then simply stopped. Frustrated, I decided to take manners in my own hands. The evil culprit is T-Mobile's My Account program. Here is how to fix it (root and a $3.99 Market purchase required, no piracy!!)
First follow the directions in this tutorial to root your phone. Its pretty simple. ADVANCED: unrooting method.
Make sure Wi-Fi calling is turned on, as well as 3G/4G (from Mobile networks settings page)
Do a battery pull AFTER you enable the above ^. Wait 1 minute before rebooting your phone.
Wi-Fi should work on its own (although buggy) with these two enabled. If you have 3G/4G, you do not need to do this: for Wi-Fi only users, continue to reboot until you have somewhat of a stable Wi-Fi connection. It's very intermittent but eventually it will work for enough time to download Root Explorer from the market!
Go to the Market and install Root Explorer (purchase required, there may be free ways but I do not know of them and I do not advocate piracy)
Open this app. A popup from Superuser will ask you for permission. Grant it with "Allow"
From Root Explorer, navigate to /system/apps
At the top of the list box click the "Mount R/W" button
Scroll down and look for the following: MyAccount.apk and com.nuance.nmc.sihome (the latter may be named differently but it has a My Account icon)
A box will come up telling you that com.nuance.nmc.sihome has encountered an error. This box will refuse to go away. Simply do a battery pull.
YOUR WI-FI WOES SHOULD BE GONE, and your phone's stability should have improved. Enjoy!
You can download the latest version of My Account from Market now and cease to have problems.
Other safe-to-remove T-Mobile stuff:
EA Games (EAPK)
Zinio (does anyone use this?)
Telenav
Nova
Need for Speed
Polaris Office
LMIRescue (an app T-Mobile can use to potentially remotely command your phone?)
LMIRescueSecurity
yaldak said:
Hey guys,
I've been following XDA-developers for a long time, and would like to return something for all the help the community has provided. I traded my iPhone 4 for a G2X today only to find out that my BB data plan is incompatible -_-. Unwilling to wait until Memorial Day was over (611 closed), I decided to turn on Wi-Fi and tinker with it.
Unfortunately I fell victim to the phone's Wi-Fi's problems. It worked for seconds at startup, then simply stopped. Frustrated, I decided to take manners in my own hands. The evil culprit is T-Mobile's My Account program. Here is how to fix it (root and a $3.99 Market purchase required, no piracy!!)
First follow the directions in this tutorial to root your phone. Its pretty simple. ADVANCED: unrooting method.
Make sure Wi-Fi calling is turned on, as well as 3G/4G (from Mobile networks settings page)
Do a battery pull AFTER you enable the above ^. Wait 1 minute before rebooting your phone.
Wi-Fi should work on its own (although buggy) with these two enabled. If you have 3G/4G, you do not need to do this: for Wi-Fi only users, continue to reboot until you have somewhat of a stable Wi-Fi connection. It's very intermittent but eventually it will work for enough time to download Root Explorer from the market!
Go to the Market and install Root Explorer (purchase required, there may be free ways but I do not know of them and I do not advocate piracy)
Open this app. A popup from Superuser will ask you for permission. Grant it with "Allow"
From Root Explorer, navigate to /system/apps
At the top of the list box click the "Mount R/W" button
Scroll down and look for the following: MyAccount.apk and com.nuance.nmc.sihome (the latter may be named differently but it has a My Account icon)
A box will come up telling you that com.nuance.nmc.sihome has encountered an error. This box will refuse to go away. Simply do a battery pull.
YOUR WI-FI WOES SHOULD BE GONE, and your phone's stability should have improved. Enjoy!
You can download the latest version of My Account from Market now and cease to have problems.
Other safe-to-remove T-Mobile stuff:
EA Games (EAPK)
Zinio (does anyone use this?)
Telenav
Nova
Need for Speed
Polaris Office
LMIRescue (an app T-Mobile can use to potentially remotely command your phone?)
LMIRescueSecurity
Click to expand...
Click to collapse
You don't need to do any of this noob stuff if your wifi doesn't connect to your home router or any router for that matter. It's unneccesary and time consuming, not to mention risky since you could "brick" your phone. All you have to do is reboot the phone, simplest way is hold power button and volume up simultaneously, then it should connect, assuming you entered the correct password if router has secure connection.
I just turn wifi off then back on. Works for me.
And stop with the noob stuff the guy just wrote he came from an iPhone to a g2x.
He will figure it out as he goes.
Sent from my LG-P999 using XDA Premium App
mr.orange303 said:
He will figure it out as he goes.
Click to expand...
Click to collapse
I see two band-aid solutions, a reboot, and a restart...gosh that is advanced.
Verse a solution to fully resolve the problem, and keep it gone. More importantly a possible isolation of the cause.
These super duper pro android interlopers are unapproachable on their savvy solutions. Ummm no
Since the OP says its linked to My account program, and I know on first run it says a newer copy is available, I am going to wonder that many users don't touch it.
So since I am already freshly on a complete reset of everything (erase all date, or hold down volume and power) I am going to try.
1. Full erase reset
2. First thing upadate new version of My Account.
3 Hard restart.
4. See how it reacts
My wifi is decent except sometimes it does clog up and I have to clear buffers and shut down programs to get it to kick up. Start and stop wifi solves nothing on mine.
Anyways its about 10 minutes of time to do, since my phone already is in near out of the box setup.
Sorry but I'm not here to post "noob" stuff. Of course restarting the phone or its wifi radio were part of my first efforts. But the phone's stock software has a bug in which the default My Account program a) causes a DNS issue and b) displays itself twice in Manage Applications. Things work great if you have a working data connection from tmo but if not you will notice that wifi refuses to work on its own. I'm not dumb and by no means am I a noob. I've been following XDA since the days of the Wizard. By the way rooting and deleting useless carrier garbage like the buggy and persistent MyAccount.apk will not brick your phone unless you are careless.
"My Account" from tmo has been nothing but a pain in the ass for me. I froze it using Antek App Manager (a free app). I used the same software to freeze the other garbage that came installed by tmo, and battery and booting issues have greatly improved. Just my 2 cents.
Other stuff I froze include: Car Home, ea games, Zinio reader, AppPack, T-Mobile TV, and wifi calling.
Of course some are big fans of wifi calling but I don't need or use it.
yaldak said:
Sorry but I'm not here to post "noon" stuff. Of course restarting the phone or its wifi radio were part of my first efforts. But the phone's stock software has a bug in which the default My Account program a) causes a DNS issue and b) displays itself twice in Manage Applications. Things work great if you have a working data connection from tmo but if not you will notice that wifi refuses to work on its own. I'm not dumb and by no means am I a noob. I've been following XDA since the days of the Wizard. By the way rooting and deleting useless carrier garbage like the buggy and persistent MyAccount.apk will not brick your phone unless you are careless.
Click to expand...
Click to collapse
News flash....The MyAccount app isn't causing the DNS issue. Do some fact checking before posting.
LOL... man u guys are harsh
LG is sending out a fix. What does that tell you? Only can manage till then.
Sent from my LG-P999 using XDA Premium App
prettyboy85712 said:
News flash....The MyAccount app isn't causing the DNS issue. Do some fact checking before posting.
Click to expand...
Click to collapse
Okay sorry, it causes the HSPA / Wi-Fi switching issue. Could you be any more polite about correcting me? FYI I haven't found any SOLID proof of this. Immediately after removing MyAccount and all of its derivatives from the phone DNS requests worked flawlessly; It's been 9 hours of constant wi-fi only use without issues (NO radio turned on). Prior to removing the app, only IP addresses would be resolved by the browser.
LOL... man u guys are harsh
Click to expand...
Click to collapse
Seriously are, I was only trying to make a helpful post to those users or viewers who are not very tech-literate but possess the ability to root a phone and forget about it to fix an irritating issue with the phone.
dude dont worry about it....good job
Thanks for trying to help with this problem. Its threads like this that help to get to the bottom of these things.
Seems some people here would rather everyone be so afraid to post bad information that there is none at all. But we know better right?
sl0play said:
Thanks for trying to help with this problem. Its threads like this that help to get to the bottom of these things.
Seems some people here would rather everyone be so afraid to post bad information that there is none at all. But we know better right?
Click to expand...
Click to collapse
No..Those people you're referring to would rather have people search before posting. This so called "fix" has been posted many times. No need to start a new thread.
I tried this and got no error lol. What I did was reinstalling MyAccount with the MyAccount.apk in system\app and now my wifi actually works with the Market.

Compatible Anti-Theft Apps

I've successfully rooted and installed the Android Market on my Kindle Fire, and in doing so came across some of the anti-theft apps like Prey. However, these apps seem to rely on SMS and GPS as a large part of their functionality. Is there any security app that would work for the Kindle; something that gives coarse location through WiFi and things such as that?
This would help me greatly, as it's the only device I have to worry about actually losing at present.
The closest I can seem to get is Cerberus. It has remote wiping, locking, alarms, and etc, but does not show coarse location. After attempting to send the locate device command, it does not appear on the map.
Well from my understanding no app can add functions that the kindle just can not have. Like to be located loo sorry but amazon made it this way and nothing you do will change that maybe custom Roms but even then how you will locate a lost kindle is beyond me. Since it has no gps or cell signal. And if you password portect it. It cant connect to new wifi
Sent from my Kindle Fire using Tapatalk
i put lookout on mine and im going to use the giude on how to put gps on it and then lookout will work
The GPS only works when connected through your phone, I believe.
Sent from my Kindle Fire using xda premium
movieaddict said:
i put lookout on mine and im going to use the giude on how to put gps on it and then lookout will work
Click to expand...
Click to collapse
And how exactly are you going to "put gps on it" ? If you're not going to attach tons of gadgets to your microUSB port or another cell phone with a duck tape behind your KF, let me know
Sent from my Kindle Fire using Tapatalk
(bumping this thread)
My wife works for a doctor's office doing research, and they're getting a patient form-filling app that runs on Android. The Kindle Fires or another cheap tablet looks like the best way to go, but they are concerned about these things growing legs.
Without SMS and GPS, tracking using the typical apps such as Prey just won't work. I've got some ideas, I'm looking for others:
Mainly: Pair with a bluetooth device that sits in the office. I think I should be able to use Tasker or on{x} to detect when the bluetooth disconnects, and (a) play an alarm on the device, (b) alert the office
The alert the office part could possibly be done through (1) pairing with a laptop, (2) Google Voice? (3) Some web or email thingy, if the device is either still in WiFi range or connects to a public WiFi.
Sound reasonable?

Profile manager

I am looking for a profile manager that will set my phone to behave a certain way in different states. I would like for my mobile data/wifi to cut off when the screen is off. I have searched for one, but haven't found one to do what I want it to do. I want to squeeze every minute of battery out of this thing. If it matter I am on flapjaxx kernal, sky jelly 10.3. I use system tuner, etc.
Thanks!
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Tried llama?
Sent from my SGH-I727 using xda app-developers app
Settings Profile works great for me. I tried Locale,, Llama, Tasker, but SP work the best for me.
Sent from my Nexus 7
Kinda new to Android but I recently installed Tasker to do what you are asking for. Not exactly a novice app but I was able to get it to do what I wanted it to do fairly easily. I've set up two profiles in it to turn off WiFi, Bluetooth, and volume when I'm at work and turn them back on when I'm at home based on local cell phone towers rather than GPS because I couldn't get a good lock inside my office. Has way more capability than I'll probably ever know but I'm still learning.

[Q] Force app to use WIFI only

How can I force a specific app not to use mobile data but only WIFI?
My use case is:
I like reading news through Play Newsstand, but it uses up way too much data for my plan... I would be happy to let it sync every night through WIFI and then just read the stuff from yesterday, without it constantly pulling new stuff using tens of MBs.
Any way to do that without using flight mode every time??
Thanks!
Disable background data on the app
Settings > Data > choose app then restrict background of said app.
radicalisto said:
Disable background data on the app
Settings > Data > choose app then restrict background of said app.
Click to expand...
Click to collapse
I looked at that already, but for example today I see 25MB of Foreground data and only 5MB of background data, enough to make me think that the effect of that flag would be minimal.
In fact, the most data is downloaded while I use the app rather than in background.
Anything else I could try? I am also rooted.
Hmm, Xprivacy (xposed module) may work although I have never personally used it. But from what I have read about it, it restricts app data etc. Give it a whirl and see perhaps?
The play newsstand app has it's own setting:
'Download via Wi-Fi only'
Does this not work as advertised, or am I missing something?
eddiehk6 said:
The play newsstand app has it's own setting:
'Download via Wi-Fi only'
Does this not work as advertised, or am I missing something?
Click to expand...
Click to collapse
It does not unfortunately
That flag only controls how data is synced in the background, but my problem is when I actually open the app to read the news. In that particular moment it starts downloading all news (and images) for the feed I open every time, and that generates tens of MB of mobile traffic.
Gatz said:
It does not unfortunately
That flag only controls how data is synced in the background, but my problem is when I actually open the app to read the news. In that particular moment it starts downloading all news (and images) for the feed I open every time, and that generates tens of MB of mobile traffic.
Click to expand...
Click to collapse
you could get a firewall program (maybe you'll need root for it), and block it from accessing 3G (but allow through wifi)
then use tasker to turn on wifi when you are using the app. this way, the app will never use 3G
radicalisto said:
Hmm, Xprivacy (xposed module) may work although I have never personally used it. But from what I have read about it, it restricts app data etc. Give it a whirl and see perhaps?
Click to expand...
Click to collapse
paperWastage said:
you could get a firewall program (maybe you'll need root for it), and block it from accessing 3G (but allow through wifi)
then use tasker to turn on wifi when you are using the app. this way, the app will never use 3G
Click to expand...
Click to collapse
Thanks for the suggestions.
I could try both, but waiting for Android 4.4.3 to install Xposed.
If any of those can do "Prevent app XYZ from using mobile data" then it's fine.
Xprivacy could be a better choice as it doesn't sound like it's going to use up as much cpu/mem/battery as a firewall.
Gatz said:
Thanks for the suggestions.
I could try both, but waiting for Android 4.4.3 to install Xposed.
If any of those can do "Prevent app XYZ from using mobile data" then it's fine.
Xprivacy could be a better choice as it doesn't sound like it's going to use up as much cpu/mem/battery as a firewall.
Click to expand...
Click to collapse
i'm using Xprivacy... XPrivacy isn't completely foolproof either.
there's an option to block "internet".
In android, you can call "isConnected()" function to check if you are connected, and then not do anything. XPrivacy overrides that function and can return "false".
however, apps can "ignore" or not use those functions, and just force it's way to connect to the internet. it can still succeed (you can test to see if this happens)...
firewall shouldn't be using a lot of your CPU cycles...
paperWastage said:
i'm using Xprivacy... XPrivacy isn't completely foolproof either.
there's an option to block "internet".
In android, you can call "isConnected()" function to check if you are connected, and then not do anything. XPrivacy overrides that function and can return "false".
however, apps can "ignore" or not use those functions, and just force it's way to connect to the internet. it can still succeed (you can test to see if this happens)...
firewall shouldn't be using a lot of your CPU cycles...
Click to expand...
Click to collapse
Thanks.
Could you suggest a firewall app in particular, considering that I don't need advanced functions at all, but merely the bit to turn mobile data off?
Gatz said:
It does not unfortunately
That flag only controls how data is synced in the background, but my problem is when I actually open the app to read the news. In that particular moment it starts downloading all news (and images) for the feed I open every time, and that generates tens of MB of mobile traffic.
Click to expand...
Click to collapse
Lol 'Download via Wi-Fi only' is a misleading setting!
Another possible way, xposed and 'App Settings' module, could also prevent internet access I believe, but not sure if it can specifically block mobile only.
eddiehk6 said:
Lol 'Download via Wi-Fi only' is a misleading setting!
Another possible way, xposed and 'App Settings' module, could also prevent internet access I believe, but not sure if it can specifically block mobile only.
Click to expand...
Click to collapse
FYI, AFWall+ seems to work just fine!
I will also maybe try Xprivacy when 4.4.3 comes out and I will install Xposed.
So far, happy with the firewall approach, might come in handy for more apps that I want to prevent from using up data when underway.

Categories

Resources