An app to disable airplane mode? - General Topics

I haven't flown in 40 years and probably never will again. For a lot of other people I know too having a button on a phone that can disable radios is a time bomb. It gets turned on at least a few times a year by accident, after it's been forgotten about and sometimes looks like an internet outage. What if you install an app with a switch that sits in Settings and the only purpose of it is to disable airplane mode. Maybe it puts up an overlay on the screen saying airplane mode is disabled, or maybe it reverts to normal on each reboot, whatever.
The permission to do this would probably have to be allowed when the app was installed.

Not possible without root.
Why don't you edit your quick settings toggles to remove that button, so there is no accidental activation?

Hmm, I can't seem to do that myself on my own phone so I don't see how to tell someone else to do it. I'm on an Android 9 phone but I don't see a way to make a permanent change. The setup in question is my 93 year old mother on her Kindle.
I haven't done much Android programming or have a sandbox but I was remembering how in early days of Linux you were root until you created another user. So whoever installs an apk isn't root? Not really root but with a couple of priveliges.

Related

NEXUS 5 CAMERA FIX "Cannot Connect to Camera" (Requires Root)

Hi All,
This is the first time I have posted but have used this site to diagnose issues all the time so I thought I would give back to the community on what I have found to fix the dreaded Nexus 5 "Cannot connect to Camera" issue.
The day I brought this phone I thought it was one of the best devices around for money and the hardware was nothing to joke about, but over time the smaller cracks started to show which became quite a hassle such as Camera and Battery.
Camera Issues:
Cannot connect to Camera
Grey Screen with the image logo on it
After an hour or so the Camera cannot connect
Typical Fixes:
Clear Camera Cache (Temporary or no effect)
Reboot Phone (Temporary)
Uninstall software (Possible fix but at what cost)
Run in Safe Mode (Not of much use apart from diagnosing)
I have found most of these to be quite useless if not unproductive.
So a brief history on what I have found with the Nexus 5 Camera, it appears that when Google partnered up with LG to design this phone they skimped on a few things and unfortunately the Camera was one of them, its unclear whether this is a hardware or software issue but I have been able to solve it. I had googled dozens of pages read through hundreds if not thousands of comments and none have seemed to have fixed it permanently until now.
Common things that you will find when trying to find fixes for the Nexus 5 Camera.
So I have the following steps which should help you fix the camera issue and possibly battery life in one go!
1. First thing to do is to confirm its not a hardware/software (can it be fixed or do you need to return it for replacement) is to put it into Safe mode, to do this push and hold the power button till the "Power Off" menu come up and hold the soft button till you get the "Reboot to Safe Mode" (make sure you Camera cannot connect before doing this or you will be wasting your time).
2. Once in safe mode open up the camera app and see if it starts up, if it doesn't then its most likely a hardware issue and will need to be RMA'd and take a pic or two then just exit out by pressing the back button. next is to let it sit for an hour or so then try again (this will also check if its a bug in the ROM/Hardware). Chances are if you could get the camera working fine in safe mode it will continue to do so. If it fails check the rom or RMA.
3. If the Camera continues to work fine Reboot the phone into normal mode by just shutting it down and starting it back up. From here we can pretty much say its a software issue, now reading all these forums and comments it seems that it can be almost a dozen different apps that cause the camera to drop off and not reconnect, the resolution? App Ops (Unfortunately I cannot post the link but its not hard to find, search name exactly) this handy program lets you control the permissions for each individual application on your phone and the time they last accessed it, do note this does require ROOT access.
4. Next step is to run App Opps and go to the media tab, just note or take a screen shot of everything running, now go to the camera and take a picture and exit it via the back button and go do something for an hour or 2 or when you suspect the Camera to fail (best to not use your phone/camera during this time for more accurate diagnostics). After your break, test the camera, if it still works just take a break till it fails.
5. Now that the camera has failed go back to App Ops and check the media tab, you will see a list of programs that last tried to access you media hardware/software with a time and what they tried to access, in this instance mine was Viber, which tried to access the Camera in the last 10 minutes of it failing.
6. From here you want to go into the app in App Ops, scroll down to the setting that uses the camera and disable it (set it to off) this will prevent the application from using your camera without a manual input.
It doesn't prevent me from using the Camera in Viber but it does prevent Viber from automatically opening the Camera and then leaving it in an unusable state. I have had this going for about 2 days now and have been able to open my Camera up every single time and it also seems a lot more responsive.
It might take you a while to find out exactly which app it is but it will be well worth it to get the camera going like a normal smart phone should.
If you found this guide helpful please let others know and give some stars to App Ops for such a great program.
Tested on Stock Lollipop 5.0 but I do not see why it would not work for Kit Kat or Custom Rom's.
If you have any questions feel free to ask.
Battery Save?
Another thing I forgot to add in this is that App Ops also controls start up and keep awake applications, just like the Camera function you can disable the Keep awake and Auto start up applications to prevent unnecessary battery drain, I have managed to get it from 1.5% to 0.8% battery drain per hour while in sleep mode, of course this will only be effective if you have multiple programs which keep your phone awake (please note it may also stop notifications coming through so choose wisely what you disable).

[Q] VZW Note Edge Safe Mode

hi friends, hope all is well with ya. i have a question, for anyone else with a VZW Note Edge that they obtained on release date or shortly afterwards. does anyone else have a phone that's booting in Safe Mode, and will NOT exit out of Safe Mode whatsoever? I had some trouble activating it (despite VZW's simple instructions of just popping the new SIM in the phone and turning it on) so i got that taken care of, but even when I first booted it up initially, it was still in Safe Mode. There's a notification in the drop down bar stating, "Safe Mode is enabled" and to tap it to disable Safe Mode, which essentially just restarts the phone. and every time it boots back up, it's still in Safe Mode, which restricts any/all customization whatsoever, and what is the point of having a phone if you can't customize it. thankfully i still have my Note 4 handy if necessary, and i've backed everything up with VZW's cloud, Google + photos, SMS Backup/Restore for texts and Helium for my game data. i've done a battery pull, checked the settings, powered it off and on, performed a factory reset, and i can't find anything that will disable it, other than the predetermined instructions that Samsung has on the VZW variant page (http://www.samsung.com/us/support/owners/product/SM-N915VZKEVZW). turning to you guys first before i decide to harass customer service and/or take a trip to a VZW store to handle it in person. is anyone else having this issue? thoughts? ideas?
I got mine on the 9th. Booting normally after lots of restarts and tweaked configs. I'd go swap it out if you haven't already.
DeathBySnuggles said:
I got mine on the 9th. Booting normally after lots of restarts and tweaked configs. I'd go swap it out if you haven't already.
Click to expand...
Click to collapse
thank you. i did swap it out, turns out the down button was jammed completely, you could actually see that it wasn't at a perfect vertical angle when comparing it to my replacement device. so far booting perfectly fine, getting everything restored from Helium as well.

Warning to Kingo Battery app users!

Last few days I had Kingo SuperBattery app installed on my android tablet and last time I turned it on the touchscreen was VERY messed up. I had a Messenger chat-head and some other notifications but the device was very very slow and I couldn't click/touch anything properly and it looked like I had one of those viruses you get on the PC that make it slow as sh** no matter the hardware you have. It looked like somebody else was using my device and all the widgets and icons in my home-screen were trying to move themselves and other weird stuff like that. The first thing I did was to turn-off the wi-fi and it was quite difficult and it didn't even work. I tried using the Clean Master Antivirus app and start a scan and it did not find anything but I also did a phone boost with it. I didn't see any problems with the the device while in the CM Antivirus app, it was kinda like a way of taking a deep breath and then again the same stuff in the home-screen. I couldn't click/touch on the chat-head from messenger and something was always trying to open my notifications slide. The reason I used my tablet was actually because I was trying to fix my phone using my PC (bootloop issue) and the only way to get the .ftf (ROM file) in the sd-card was to use another device (I couldn't find an sd-adaptor) so I tried using my tablet :/ but then here is the "new" problem I'm telling you about ^^^^^^^^^^. I prayed to God at some point and things started getting easier :angel:. I managed to go to developer options and enable "Show Touches" and that's when I saw there was always a dot right above the notifications area (for those who don't know, the Show Touches setting shows a dot on every spot where there is touch). I opened the CM app again and found that the persistent touch-dot (if that is its name) disappeared. I kind of found some tricks to use the touchscreen properly after I realised how the problem works. And then I uninstalled the Kingo Battery Saving app and the problem was gone! :laugh:
Moral lesson: be careful with third-party, rooting, and suspicious looking apps.
Panosu said:
Last few days I had Kingo SuperBattery app installed on my android tablet and last time I turned it on the touchscreen was VERY messed up. I had a Messenger chat-head and some other notifications but the device was very very slow and I couldn't click/touch anything properly and it looked like I had one of those viruses you get on the PC that make it slow as sh** no matter the hardware you have. It looked like somebody else was using my device and all the widgets and icons in my home-screen were trying to move themselves and other weird stuff like that. The first thing I did was to turn-off the wi-fi and it was quite difficult and it didn't even work. I tried using the Clean Master Antivirus app and start a scan and it did not find anything but I also did a phone boost with it. I didn't see any problems with the the device while in the CM Antivirus app, it was kinda like a way of taking a deep breath and then again the same stuff in the home-screen. I couldn't click/touch on the chat-head from messenger and something was always trying to open my notifications slide. The reason I used my tablet was actually because I was trying to fix my phone using my PC (bootloop issue) and the only way to get the .ftf (ROM file) in the sd-card was to use another device (I couldn't find an sd-adaptor) so I tried using my tablet :/ but then here is the "new" problem I'm telling you about ^^^^^^^^^^. I prayed to God at some point and things started getting easier :angel:. I managed to go to developer options and enable "Show Touches" and that's when I saw there was always a dot right above the notifications area (for those who don't know, the Show Touches setting shows a dot on every spot where there is touch). I opened the CM app again and found that the persistent touch-dot (if that is its name) disappeared. I kind of found some tricks to use the touchscreen properly after I realised how the problem works. And then I uninstalled the Kingo Battery Saving app and the problem was gone! :laugh:
Moral lesson: be careful with third-party, rooting, and suspicious looking apps.
Click to expand...
Click to collapse
Greetings and welcome to assist. I'm glad you resolved your issue so I'll close this up
Regards
Sawdoctor

Push Notifications - Don't work on mobile data

Not sure if anyone can help, or if it's been covered before but I'm a new oneplus 6 user and have scoured these forums, oneplus, reddit etc and cannot find a working solution to my problem.
I currently have no real issues receiving push notifications on wifi, however mobile data is different. Once the screen has been locked for a small period of time I stop receiving push notifications. When I wake the phone some will show up, some won't show until the relevant app is opened.
Advanced battery optimisation is off.
Individual apps I want notifications from all have battery optimisation set to "Do not optimise".
I have cleared the phone cache through recovery mode.
All notification settings for the apps are on, background data on etc.
There is no option for doze mode in developer mode to turn off.
I have a Tesco Mobile and a 3 sim card. The issue seems worse with the Tesco mobile sim card. The 3 one seems to work better but slowly reverts to the same issue the Tesco one has. I've tried other people's tesco sim cards and replaced my own but none have worked.
Any help would be appreciated, it's driving me mad.
Just to make sure, under Advanced optimization settings there are two switches which are "Advanced Optimization" and "Sleep standby optimization", keeping the latter off might be the problem. Though if they're both off, I assume that it's just the native Doze working to save battery
Allen Hu said:
Just to make sure, under Advanced optimization settings there are two switches which are "Advanced Optimization" and "Sleep standby optimization", keeping the latter off might be the problem. Though if they're both off, I assume that it's just the native Doze working to save battery
Click to expand...
Click to collapse
Yes both are turned off. Do you know of anyway to turn off this "native doze". As a football (soccer) fan, I want instant score notifications for games, I used to get these fine on my iphone 6 but now I have to wake my phone all the time to get them to come up, even then sometimes they don't come through for another 15-20mins.
Have you tried settings in Wifi preferences?
xdadel said:
Have you tried settings in Wifi preferences?
Click to expand...
Click to collapse
I've looked in there but can't see anything that would affect mobile data. The notifications work ok when on wi-fi. I've checked mobile data settings and there are no settings for the apps in question which would restrict data usage.
toddenham said:
Yes both are turned off. Do you know of anyway to turn off this "native doze". As a football (soccer) fan, I want instant score notifications for games, I used to get these fine on my iphone 6 but now I have to wake my phone all the time to get them to come up, even then sometimes they don't come through for another 15-20mins.
Click to expand...
Click to collapse
Is this happening to all apps (ex. social apps like twitter or whatever) or just the football app? If it's the latter it should be a problem with that specific app. While if it's the former case, It should be something system-wide, so I'd recommend doing a factory reset maybe?
Btw my phone performs the same as yours with the "sleep standby optimization" on, while it operates as normal with it off, so your case seems pretty hilarious :/
I've experienced on all apps, it's most noticeable on the football one as you can time the push notifications exactly so can tell when they're late but WhatsApp, facebook messenger etc both the same. It seems as if the device just goes into a form of heavy sleep mode after around 5mins of lock. I've tried a factory reset already and nothing changed. OP have advised me to try and reinstall the OS but I don't hold any hope. It's almost as if the phone cuts off all mobile data after 5mins of downtime.
toddenham said:
I've experienced on all apps, it's most noticeable on the football one as you can time the push notifications exactly so can tell when they're late but WhatsApp, facebook messenger etc both the same. It seems as if the device just goes into a form of heavy sleep mode after around 5mins of lock. I've tried a factory reset already and nothing changed. OP have advised me to try and reinstall the OS but I don't hold any hope. It's almost as if the phone cuts off all mobile data after 5mins of downtime.
Click to expand...
Click to collapse
If factory resetting doesn't solve the problem then reflashing the system likely wouldn't either I suppose.
I still have two options in mind that you may be able to try.
First option is to use apps like "Doze" or "Naptime" both on play store, and mess with those advanced Doze settings to try to disable the function itself and see if it works.
The other would be to try the new HydrogenOS P beta or other custom Roms such as Havoc and see if they don't have this problem.
If neither of these work, I really have no other ideas
But I think these are worth giving a try though
Allen Hu said:
If factory resetting doesn't solve the problem then reflashing the system likely wouldn't either I suppose.
I still have two options in mind that you may be able to try.
First option is to use apps like "Doze" or "Naptime" both on play store, and mess with those advanced Doze settings to try to disable the function itself and see if it works.
The other would be to try the new HydrogenOS P beta or other custom Roms such as Havoc and see if they don't have this problem.
If neither of these work, I really have no other ideas
But I think these are worth giving a try though
Click to expand...
Click to collapse
I tried the Naptime app but that required root and doze didn't seem to do anything.
I've now tried Android P beta. Exactly the same issue. Once the phone has been locked for a few minutes all updates stop. Once I unlock the phone I get flooded with notifications. So frustrated.
toddenham said:
Not sure if anyone can help, or if it's been covered before but I'm a new oneplus 6 user and have scoured these forums, oneplus, reddit etc and cannot find a working solution to my problem.
I currently have no real issues receiving push notifications on wifi, however mobile data is different. Once the screen has been locked for a small period of time I stop receiving push notifications. When I wake the phone some will show up, some won't show until the relevant app is opened.
Advanced battery optimisation is off.
Individual apps I want notifications from all have battery optimisation set to "Do not optimise".
I have cleared the phone cache through recovery mode.
All notification settings for the apps are on, background data on etc.
There is no option for doze mode in developer mode to turn off.
I have a Tesco Mobile and a 3 sim card. The issue seems worse with the Tesco mobile sim card. The 3 one seems to work better but slowly reverts to the same issue the Tesco one has. I've tried other people's tesco sim cards and replaced my own but none have worked.
Any help would be appreciated, it's driving me mad.
Click to expand...
Click to collapse
no idea dude sorre
I'm having the same problem
I have similar but different issue with a few apps that I don't use often.
The push notifications only come through the second I put my phone on charge
Sent from my unknown using Tapatalk
Which mobile networks are you on? I found the issue to be resolved when using an o2 SIM card instead of my Tesco mobile one
Edit: Since this I have tried again with an o2 sim card and it didn't resolve the issue. Leads believe it's an issue with my handset.
Since few days, i have the same problem here, i try severall things but no solution at the moment.
I also had notification issues. Then I installed the stock rom of this topichttps://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665 and my notification returned to normal
my notification come onl;y when i turn my screen on -> https://forum.xda-developers.com/oneplus-6/help/notification-android-p-stable-t3849170
I have this issue and I can't understand why more people aren't complaining about it.
Don't suppose your apps are restored from some kind of backup?
EDIT: Okay, people are complaining about it: https://forums.oneplus.com/threads/push-notification-issues.451149/page-121
have this exact same issue on my note 8 with android pie on vodafone network and so far nothing seems to help or fix the same really frustrating.
did you manage to find any solutions so far ?
toddenham said:
Not sure if anyone can help, or if it's been covered before but I'm a new oneplus 6 user and have scoured these forums, oneplus, reddit etc and cannot find a working solution to my problem.
I currently have no real issues receiving push notifications on wifi, however mobile data is different. Once the screen has been locked for a small period of time I stop receiving push notifications. When I wake the phone some will show up, some won't show until the relevant app is opened.
Advanced battery optimisation is off.
Individual apps I want notifications from all have battery optimisation set to "Do not optimise".
I have cleared the phone cache through recovery mode.
All notification settings for the apps are on, background data on etc.
There is no option for doze mode in developer mode to turn off.
I have a Tesco Mobile and a 3 sim card. The issue seems worse with the Tesco mobile sim card. The 3 one seems to work better but slowly reverts to the same issue the Tesco one has. I've tried other people's tesco sim cards and replaced my own but none have worked.
Any help would be appreciated, it's driving me mad.
Click to expand...
Click to collapse

Please Help Me Find And Remove This.

About 6 months ago I found Spynote &a RAT on my device after a couple of years of people saying I was crazy because I knew someone was in my device. I got a new phone a week ago from a guy that owned me money and asked if he coulld give me his ex's phone that is basically brand new TCLT768W. I did a manual and regular factory reset before putting my accounts on the device but I started noticing strange behavior a few days after putting my account on it. So I put antivirus and a privacy detector that notifies me if my camera or microphone is accessed by a 3rd party. I've been noticing the same things that made me know Last time that my device was corrupted so I decided to put a firewall up and go through my Apps and found a no name Android App that had Hyperloop in the link attached to it and an app called RatSwitch that I cant find anything about but Androrat is the entire first page of Google search when I tried. So I checked my anti virus ran another scan, nothing. But I went into the privacy detector and it was shut off and I am certain I had it on so I clicked it on and when I did I accidentally shut my screen off and when I turned it back on I saw what the video shows. Every time the screen comes on the camera is accessed by a 3rd party. Notice how I'm holding it at an angel. That's what is the craziest. I tried recording the screen and when I did it doesn't do it. So I got my other phone and I couldn't believe my eyes, if my camera was pointing directly at the phone in question it still didn't do it. So I tilted it and sure enough, it did it again. The notification that pops up every time I turn on the screen says Camera access by 3rd party and stays on about 5-10 second. If I don't go into privacy detector every, 15-30 minutes it's shut off. So, Here we go again. My temp solution is to deactivate my camera and restrict it from access internet but how can I get this off. Totalvirus, metadefender, my antivirus all day I'm clear but I say phone's don't do this dmic they are clean. I know hoverwatch, the spy app, takes picture of person who u unlock screen just like this every time it's unlocked but nobody has had access to put anything in my phone and after reading about my situation I'm convinced it's attached to my browser or account. Problem is everything, my kid's pictures of they're entire lives, 400+ passwords and basically my entire adult life of memories are on this account and deleting it not an option. An I just screwed or do I have another option for removing this and whatever else is with it. I thought I got everything when got rid of spynote and the dropper I found with it 8 month ago. I. One more thing, how can I trace who put it here. I'm convinced it's someone I know and I'd pay a month salary to find out who. Not really but you get the idea. Any help appreciated. Thank you.
Have you been to their website? The FBI deleted it.
I saw some virus that I found in my log files while I was developing. It was saying swipe up swipe down click. It turns out that it can persist in a factory reset. I forget the name of it. I got it late one night grabbing for a flashlight app as fast as possible during the pre sytems flashlight. It was doing like...Survey or somethings.
So I've seen something capable of this. They say you have to sell your phone.
Did you ever install RatSwitch? I'm interested in that app.
Wait a minute. What version of Android are you running? Something isn't right.
If you're cool with Venmo or Cashapp then I can download Spynote and look at it for you.
Hmm. That' funny. Spynote.us is back up. I'm sure that I forgot to use TOR before I went there. I'm sure that I got directly hacked over tcpip
I probably did. That's probably exactly whaet happened.
Temporarily the Fbi had a notice up letting everyone know they took them down. The new website is even more deceiving.

Categories

Resources