[Q] Different security settings based on wifi connection/gps? - Asus Eee Pad Transformer Prime

I cart my Transformer Prime back and forth between campus and home every day, and there's important enough information on my tablet that I use as complicated a swipe pattern as I could possibly make to keep it secure.
Except it's a royal pain in the butt when I'm at home. I tried both just dealing with it and changing the setting every time I got to either place but got annoyed with both solutions. Plus, with Tasker installed I always ask myself why do something when I can automate it?
I'm just wondering if what's asked in the thread title is possible, and if so, how? Thanks guys.

I thought tasker or a similar app could do something like that. Or find a widget or toggle button for THST feature you want.

I'm sure that tasker could do it, but on my own I haven't been able to figure out to have it change depending on which wifi network I connect to.

irishtexmex said:
I'm sure that tasker could do it, but on my own I haven't been able to figure out to have it change depending on which wifi network I connect to.
Click to expand...
Click to collapse
I'm sure that there are apps out there that let you set different user profiles. I would think that would include everything.
Bob

Related

Veoh.com question

Hey guys first time poster long time reader. Before I begin I just wanted to thank you all for the help and support with the ins and outs of the android OS.
Now that that is out of the way, I had a question in regards to Veoh.com and some issues I am having with it. I have Kaos Froyo v39, and I use Dolphin browser mini. When I change my useragent to iPhone and I go on Veoh it works okay for a little bit, and then it either stops loading videos or gives me an error message saying 'this video cannot be played' is there a fix for this? Am I doing something wrong?
Sent from my FroyoEris using XDA App
the kid escobar said:
Hey guys first time poster long time reader. Before I begin I just wanted to thank you all for the help and support with the ins and outs of the android OS.
Now that that is out of the way, I had a question in regards to Veoh.com and some issues I am having with it. I have Kaos Froyo v39, and I use Dolphin browser mini. When I change my useragent to iPhone and I go on Veoh it works okay for a little bit, and then it either stops loading videos or gives me an error message saying 'this video cannot be played' is there a fix for this? Am I doing something wrong?
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
Hi! Welcome. Is this over 3G or Wifi, or have you tried both?
Either way, this is safe to try: Download "APN OnOff" from the market. Launch it and choose "Show APN list" in the middle of the screen. Press Menu and choose "Reset to default". You may or may not need to perform a reboot to see if this helps. Try it without first.
This used to help me with restoring tethering when it stopped working.
A longer method to possibly achieve the same thing, but may be worth a try if the first method doesn't work:
Perform a nandroid and flash a stock-like ROM such as xtrSENSE (what I would recommend). You only have to use it long enough to download "APN Backup & Restore" off the market. Run it and choose "Backup APNs", you can name it whatever makes sense to you such as "xtrSENSE stock APN.xml", otherwise it just uses the current date and time.
Nandroid back to KaosFroyo and install "APN Backup & Restore" again. This time choose "Restore APNs" and restore the one you backed up from xtrSENSE. Again try it without a reboot first but if it doesn't work try a reboot.
You can do this as often as you like to see if this helps with any data trouble. I'm not positive if it helps with WIFI at all; I know it helps with 3G Data.
Please let us know if any of this helps or not.
Thank you so much, its working now. Only issue now is that the bar in the program is stuck in the off position, and when I click on it to turn it back on it just goes into the settings. My connections are still fine as you can see, should I be worried?
On an unrelated note, which tethering Rom did you use? I would love to tether my phone, but the threads I have read make it seem like a daunting process to me.
Sent from my FroyoEris using XDA App
the kid escobar said:
Thank you so much, its working now. Only issue now is that the bar in the program is stuck in the off position, and when I click on it to turn it back on it just goes into the settings. My connections are still fine as you can see, should I be worried?
On an unrelated note, which tethering Rom did you use? I would love to tether my phone, but the threads I have read make it seem like a daunting process to me.
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
Bar in which program? APN OnOff? As long as everything's working I wouldn't worry about it since I don't use that button; I think I've noticed that before. A reboot would probably restore it, in my experience.
I've tethered under every ROM but any GingerBread one, now. Started with xtrsense, found that it was marginally more reliable under Froyo so GB would probably be good too. What was better about 2.2+ tethering was how fast the tethering connection would be made, before it took a minute or two for the computer to recognize it; now down to less than 30 seconds.
I don't recommend the old wired or wireless tether for root under 2.2+, but I haven't tried them in a while. 2.2+ and CM6+ have their own native tethering. CM6.1's notification power widgets have a WIFI tether one which connects the fastest. Free Tethering Widget off the market will also give you a widget for that and/or USB tethering, which is built into 2.2+ itself but for some reason CM doesn't include a notification power widget for.
Wireless tethering eats your battery like crazy plus made the phone extra hot, but you have to understand that it was my only home internet until a month ago since last August. I kept the battery cover off and had a fan on it, but you don't have to do that for just occasional tethering. I also had it plugged in to charge constantly; I just liked how fast wireless connected.
Wired tethering also uses battery faster and makes it warmer, just not nearly as fast or warm as wireless.
Occasionally 3G would stop and I'd have to turn off tethering and do the steps in my other post to get it going again. Most of the time a reboot after doing APN OnOff made tethering last longer.
If you know how to install drivers with Device Manager (assuming you're on Windows), or you don't mind learning I would get the latest drivers from http://htc.developers.comhttp://developer.htc.com/ if I remember correctly.
I'm on my phone at the moment, I'll check later. The driver package is all the way at the bottom of the list, the last one.
Otherwise just install HTCSync for the Eris and that'll install older drivers.
Sent from my Gingerbread Eris using XDA App
Edit: corrected link to http://developer.htc.com/
Okay so let me get this straight... I have tethering on my Froyo 2.2 already and I just need to grab a widget in order to activate it? What is the driver for? I was under the assumption that my phone would become a "hotspot" so I could set it up to an Xbox PS3 etc. Do I need to download the driver in order to tether to the computer? If so, how would I be able to use a wired tether to something like a PS3? I am a pretty quick learner on the whole concept of rooting and flashing Roms, but I am a newb so I appreciate your time and patience.
Okay so let me get this straight... I have tethering on my Froyo 2.2 already and I just need to grab a widget in order to activate it? What is the driver for? I was under the assumption that my phone would become a "hotspot" so I could set it up to an Xbox PS3 etc. Do I need to download the driver in order to tether to the computer? If so, how would I be able to use a wired tether to something like a PS3? I am a pretty quick learner on the whole concept of rooting and flashing Roms, but I am a newb so I appreciate your time and patience.
the kid escobar said:
Okay so let me get this straight... I have tethering on my Froyo 2.2 already and I just need to grab a widget in order to activate it? What is the driver for? I was under the assumption that my phone would become a "hotspot" so I could set it up to an Xbox PS3 etc. Do I need to download the driver in order to tether to the computer? If so, how would I be able to use a wired tether to something like a PS3? I am a pretty quick learner on the whole concept of rooting and flashing Roms, but I am a newb so I appreciate your time and patience.
Click to expand...
Click to collapse
If you're running a recent enough version of a ROM based on CM6.x (6.1 or 6.2?), then if you enable the tethering widget in the notification menu power buttons (the buttons at the top), then you'd don't need anything else to WIFI tether.
You can do USB tethering by going into the stock settings, but it's such a PITA to do it there it's easier to do it by using that widget I mentioned, which also handles Froyo's WIFI tethering as well. So if you're never going to do USB tethering, you don't need any other drivers (called RDNIS drivers) and you don't need that widget off the market.
If you do ever plan on wire tether, then you will need to install some RDNIS drivers (the link I gave you) unless you've already installed HTCSync, since that includes both the regular and the RDNIS drivers. I have no idea if you can wire tether to a PS3 since in Windows you need to install a driver, but you can try it and let us know, or search for other people who wanted to do the same thing. You should be able to WIFI tether, however.
No problem, I'm glad you pick things up quickly, makes it that much easier. And you're welcome!
So help me - what bar in the program were you talking about?
On APN on /off, when I reset the settings I saw a bar on the main screen highlighted on. I turned it off thinking I should rest it. I couldn't toggle it back on, bit data was still working and I did a reboot just in case. It was nothing major thankfully.
Sent from my FroyoEris using XDA App
the kid escobar said:
On APN on /off, when I reset the settings I saw a bar on the main screen highlighted on. I turned it off thinking I should rest it. I couldn't toggle it back on, bit data was still working and I did a reboot just in case. It was nothing major thankfully.
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
You were correct in your end assessment that it shouldn't be anything to worry about, that APN switch in the middle of the screen. I've had mixed results with it in my observations, so I don't even touch it although as you noticed it doesn't seem to hurt anything.
Thanks for verifying; that was the only thing I could imagine you might be talking about!

[Q] Custom rom settings; EDVO Only, Any Wifi, ect...

First off hello I'm new to this forum but a friend suggested I came here for some answers to my questions.
I've successfully compiled (and am currently running) a version of CyanogenMod
I've edited a good number of roms both on my HTC and LG so I have a decent knowledge of the file system
I have Eclipse set up and have been messing around with that a bit. Now that I have that done I want to get into editing the settings (I've taken a few courses with computer programming but never java so editing the Zip would be easier but with more guidance so would editing the source)
Now for the questions
1) Is there a way to make it so that it is EDVO only? without going through the service menu?
I'm going to be using SIP only so I have no need for calls or texts and 1x is never enough to hold a good conversion for me so I'd rather EDVO only
2) I know there are apps like Wefi that allow you to connect to any wireless network but I was hoping there was a way to do this at the source? I was figuring I could bypass the check if its a remembered wifi or not this way theres no need for another program to running.
I've been looking through the wifi settings on eclipse but don't really know what to look for.
3) If the EDVO is a possibility is there a way to change the signal bars to not reflect 1x anymore and simply show no service when that is the option? I figured a theme would be the best way for this but was checking if there was an easier way.
4) I'd also like to set it up so that if theres a wifi connection it will turn off the radio and if the wifi connection is lost it will turn the radio back on. so basically Wifi OR EDVO since I don't need both for sip calls.
This can be done with tasker so it's not as important as the other ones but it would still be nice if it was a built in feature.
I've been doing a lot of googling and these are the answers I couldn't find. I'm only lookin for points in the right direction I'm trying to take this as a learning experience but really haven't got much of an idea on where to start other then theming the singal bars. The first two are the ones I would really like to accomplish first.

[Q] Tasker enable Wifi Tether problem

I posted this in Tasker's Google Groups, but nobody had a solid solution for me. Since the XDA is full of intelligent people, figured I'd give this a shot.
I want to use Tasker to automatically enable my WiFi Tether app automatically under certain circumstances (namely, to sync my tablet's RSS while I get ready for work in the morning).
I followed these directions to set it up, but quickly discovered that the command was wrong. After a little searching and then taking this picture, I arrived at the command being !/data/data/com.googlecode.android.wifi.tether/bin/tether start. However, that doesn't work. When I test it, it grants superuser permissions, but never starts tethering.
It was recommended to me that I try the misc/script function, but I don't understand how that works. Alternately, they recommended I try the built-in wifi tether functionality, but as I'm on a completely stock ROM, I don't believe I can do that (unless someone figure out what to change to unlock it). I used to do that on my old EVO 4G with MikG, though, so I know that would work if I had a ROM with the feature unlocked.
So, any advice on how to resolve this problem is welcome. At current, I turn it on manually, but Tasker is great at making life easier and this would be a huge convenience if I could get it to work.
And before someone recommends a custom ROM, I'm on the fence with doing that. There are features I'd love to have, but the ROMs that have all of those features also have features I don't want (like remapping the multi-tasking button, for example). Perhaps someday I'll have the time to sit down and figure out how to build my own ROM.
No ideas? The XDA has never let me down, before...
I read a mod yesterday that enables the built-in tethering.. it was like 1 change.. it worked for me.
btw i have tasker but maybe people didn't want to buy it and therefore can't help, just a thought?
edit:
open your build.prop and add anywhere in it the following line:
code:
ro.tether.denied=false
then reboot and u should be good to tether.
Well it's not necessarily familiarity with Tasker that I figured would help (of course, with the Misc/Script explanation, it would be), but rather the program language stuff. Perhaps the command I was using was wrong, and someone with ADB experience could correct it. With that said, I have seen a lot of people on here comment about how they use Tasker, so I didn't think it was a stretch that someone familiar with it could help with the Misc/Script part.
I will give your recommendation a shot, though. Thanks!
So I added the line to the build.prop, and it worked exactly once. Second time I started it, I got a data call failure as it dropped 3G. Continued getting the failure warning until turning off tethering. Repeating process yielded same results.
Sent from my EVO LTE using Tapatalk 2
Tasker for Wifi Tether
Not sure if your even paying attention to this post anymore but I had a few tidbits of info that might help.
I have had the same problem but I am using tasker in addition to NFC task launcher. I wanted to be able to turn WiFi tether on after swiping an NFC tag.
I tried the same string that you mentioned in post 1(!/data/data......) to no avail. The way that I got it to work was I set a task in NFC task launcher to open the WiFi tether app then a task that ran the string. Although the app opened and it APPEARED that it did nothing after that but it actually was working in the back ground. I haven't tested the same scenario using just tasker but it should work. So you should just need a task to open WiFi tether and one that runs the string. The string should be controlled with the Locale plugin. At least I think that is what its called. Hope this helps.

[Q] Having some issues with aggressive wifi to cellular handover

My issue is that I am constantly stepping outside, out of reach of my modem, and I'll have to turn my Wi-Fi off or my phone will stay connected to the the incredibly weak wifi signal.
So, I tried turning the dev option for "aggressive wifi to cellular handover" on thinking this would help and allow me to just leave wifi turned on while stepping outside and have it switch over to data without my assistance. And it worked, for the most part (it still held on to wifi signals *I* would deem too slow, but not often), BUT whenever I reboot the option in dev settings un-ticks so I have to go back in and turn the setting back on.
My question is, is there a way to prevent the aggressive wifi to handover from turning off on reboots, or is there another option I could try that may even be more aggressive?
Thank you in advance!
Have you tried the setting to automatically disconnect from a poor WiFi signal? It's under WiFi>settings>advanced WiFi>avoid unstable connections
Juggernaut79 said:
Have you tried the setting to automatically disconnect from a poor WiFi signal? It's under WiFi>settings>advanced WiFi>avoid unstable connections
Click to expand...
Click to collapse
That says it'll automatically disconnect from no connection, but I still have an internet connection off the wifi, it's just like slow as all get out
6NomoN6 said:
That says it'll automatically disconnect from no connection, but I still have an internet connection off the wifi, it's just like slow as all get out
Click to expand...
Click to collapse
For me it disconnects from a weak signal.
I'll be back!
6NomoN6 said:
My question is, is there a way to prevent the aggressive wifi to handover from turning off on reboots, or is there another option I could try that may even be more aggressive?
Click to expand...
Click to collapse
I have the same problem, discovered the same solution, and have run into the same issue with no persistence after reboot! I'm googling now for a solution because going into developer options every reboot is incredibly damaging to the smoothness of the user experience I've worked so hard to customize.
Whether I find a solution or not I'll post in this thread again to let you know. If the latter is the result I will personally either write a tasker script, init.d script, or if nesseceary an Xposed module depending on factors I've yet to research. Can you Beta test for me if it comes to that? Maybe it's as simple as editing build.prop, I don't know yet, but I wanted to make this post ASAP so that you know you aren't alone on this and someone capable is working on the issue. For a developer like myself tapping menus every boot is unacceptable! Hopefully there is already a fix out there in the wild and I won't have to do any work.
P.S. Don't forget to also enable cellular radio always active for fast network switching at the price of some battery life. It's a few options below aggressive handover in Developer Options and thank jolly the setting is sticky unlike it's counterpart. Also, sorry for the poor turnout on your thread. I figured there'd be 100 posts by now, but at least you got my attention.
Edit 1: "setprop persist.{i-dont-know-yet}" in terminal emulator may do the trick. Checking for variables for the setting we want now. Hopefully they exist!
Edit 2: :laugh: I FOUND EVERYTHING I NEED FOR A FIX!!! However, an Xposed module will be required. I need some sleep but I should have something by tomorrow night. In case any other developers are reading this, here is the information required to make things work the way Iwe want them to:
http://android.stackexchange.com/qu...-cellular-handover-option-in-developer-settin
https://android.googlesource.com/pl...ndroid/settings/DevelopmentSettings.java#1061
Edit 3: Now that I know how this setting actually works together with wifi_watchdog (see source code WifiWatchdogService.java) I think I may have changed my mind regarding how to go about solving the root problem at hand (network switching) which this setting really does a "hack" job of taking care of. The developer that made it decided on a arbitrary, static number to be used for decreasing the connected WiFi AP's RSSI value (thereby making handover more "aggressive") instead of exposing any kind of grainular control to the user. So yes I could easily make the developer options setting stick but a much better approach would be to hook the method android.net.wifi.WifiManager with an Xposed module and implement additional logic to the network switching. The great thing about this method is there is the possibility for adding additional checks besides just periodically pinging the current primary dns server and monitoring the delay and timeout of the result. I also know for a fact modding the framework persists after reboot which is afterall all we originally wanted to have. The second or alternative route would be to edit the secure settings database using SQLite. The pro of this method is it is guranteed to be compatible with nearly ANY rom, won't break anything after an update, and doesn't use resources like an Xposed module. The con is that you are limited to the variables built into android, can't implement any new logic, and the worst is that I'm not even sure the modified tables would even persist after a reboot (or network state change for that matter) which if true would defeat the original purpose of this expedition. I'll make a fourth edit to this post after I've thought about and considered how to best proceede to reaching the goal of having a solution to our problem. :victory:
FoxysWorkplace said:
I have the same problem, discovered the same solution, and have run into the same issue with no persistence after reboot! (...)
Click to expand...
Click to collapse
First of all, thank you so very much for looking into this!
I'm sorry for not responding sooner, but I had honestly lost hope of finding a solution to this issue mainly because I am not a developer myself and haven't the foggiest how to get started with it on Android
But when I opened my notifications and saw a response to this post (!) I got *extremely* excited, and as I read through your post, my excitement intensified to great happiness!
I can't express my gratitude, but I would be more than happy to help with anything that I can!
Any news on this?
Has anyone found a solution?
Had anyone found a solution that doesn't require root access?
Can we expect that fourth update any time soon? Any solution without xposed?
I'm following this thread in the event that someone finds a non-rooted solution. The Galaxy S7 really cannot be rooted without a serious performance hit (and yes I've gone through the two or three best/popular lag-fix solutions) but it works best in stock :-/

Remove wifi access

Hi,
I have rooted android 4.2 tablet.
I would like to destroy my wifi.
If I will remove MAC adress (if it possible??) will it make the job? I thought that would be possible through software code. or remove some systems folder.
also, if there is an option to remove the wifi icon from status bar and also from setting menu that would be great. I will turn it off then remove those symbols.
I need help with those things. if you have other better ideas I'll be happy to hear.
Thank you.
oriels said:
Hi,
I have rooted android 4.2 tablet.
I would like to destroy my wifi.
If I will remove MAC adress (if it possible??) will it make the job? I thought that would be possible through software code. or remove some systems folder.
also, if there is an option to remove the wifi icon from status bar and also from setting menu that would be great. I will turn it off then remove those symbols.
I need help with those things. if you have other better ideas I'll be happy to hear.
Thank you.
Click to expand...
Click to collapse
This by far is the strangest post I have ever encountered in all my time on xda, anyway, I don't think it's possible, atleast with simple ways, for removal of options from quick tiles and settings you will need to mod the settings and systemui which will make it impossible to access wifi on/off option which in turn will remove wifi in a sense. But doing it takes some advanced knowledge on the workings and manipulation of Android system files.
Mufrad said:
This by far is the strangest post I have ever encountered in all my time on xda, anyway, I don't think it's possible, atleast with simple ways, for removal of options from quick tiles and settings you will need to mod the settings and systemui which will make it impossible to access wifi on/off option which in turn will remove wifi in a sense. But doing it takes some advanced knowledge on the workings and manipulation of Android system files.
Click to expand...
Click to collapse
:laugh: I need it to block the internet for some reasons.
Does it possible with any firewall or specific app to block the internet?
oriels said:
:laugh: I need it to block the internet for some reasons.
Does it possible with any firewall or specific app to block the internet?
Click to expand...
Click to collapse
I don't think any app will help you turn wifi off if someone intentionally wants to use wifi on the device, a firewall can only stop apps from accessing the internet. But maybe you can try a method that I am not 100% sure about but it worked for some people, go to build.prop the find the lines;
wifi.interface=
wifi.supplicant_scan_interval=
And delete them, or if those lines aren't present then go to system>etc>wifi, find the files which are named "bcmdhd_" and delete them and reboot, but I definitely recommend taking a backup with a custom recovery before doing either of the two because these edits might cause adverse side effects or might bootloop your device, so use caution. Hope it helps.
Mufrad said:
I don't think any app will help you turn wifi off if someone intentionally wants to use wifi on the device, a firewall can only stop apps from accessing the internet. But maybe you can try a method that I am not 100% sure about but it worked for some people, go to build.prop the find the lines;
wifi.interface=
wifi.supplicant_scan_interval=
And delete them, or if those lines aren't present then go to system>etc>wifi, find the files which are named "bcmdhd_" and delete them and reboot, but I definitely recommend taking a backup with a custom recovery before doing either of the two because these edits might cause adverse side effects or might bootloop your device, so use caution. Hope it helps.
Click to expand...
Click to collapse
Thank you.!!
I found that line: "wifi.interface=wlan0" but didn't found "wifi.supplicant_scan_interval=".
Anyway I deleted that line. At first WI-FI woreked well but after reboot it stoped.
Now it show "WIFI" symbol and I can enter to wifi interface but he can't find any of the lans available. and the lans I used to connect it say "out of range" even I near the router. That enough for me and that is what I wanted.!!
Thank you!
oriels said:
Thank you.!!
I found that line: "wifi.interface=wlan0" but didn't found "wifi.supplicant_scan_interval=".
Anyway I deleted that line. At first WI-FI woreked well but after reboot it stoped.
Now it show "WIFI" symbol and I can enter to wifi interface but he can't find any of the lans available. and the lans I used to connect it say "out of range" even I near the router. That enough for me and that is what I wanted.!!
Thank you!
Click to expand...
Click to collapse
No problem, glad I could help you out. Still the strangest request ever. Lol. Take care buddy.

Categories

Resources