[Q] Permanent Disable airplane mode option in Custom ROM - Galaxy Tab 2 Q&A, Help & Troubleshooting

I'm working on permanently disabling airplane mode in a slightly customized ROM I'm working on. Essentially, I want nothing to change when a user clicks the airplane mode button.
This is on the Verizon Galaxy Tab 2 (sch-i705).
I'm hoping for a simple solution (i.e. deleting some module) that will disable the functionality behind airplane mode or adjust which radios toggle when airplane mode is enabled.
I'm not sure where to start - right now I'm slogging through an upacked system.img with no success, and haven't found anything in my xda/google searches. Ideas of what files I could remove or modify?

So far I've tried looking through existing modules to see if airplane mode is like wifi (ie has drivers or something that can somehow be removed). It was a longshot, and I didn't come up with anything.
Anyone have any idea what I could modify in the system image to adjust which radios airplane mode toggles?

Still haven't figured this out - anyone have any ideas?

Out of curiosity... why?
Sent from my GT-p511x

sharonbw said:
Out of curiosity... why?
Sent from my GT-p511x
Click to expand...
Click to collapse
I'm working on designing an educational tablet that can be remotely managed (new content can be pushed, new apps can be added for the students, etc.). The issue is, if a student accidentally (or on purpose) turns on Airplane Mode, I would lose my connection with the tablet and be unable to interact with it, or restore it remotely. Not allowing airplane mode would be an easy way to avoid this problem.
It doesn't seem like there is an easy way to do this though.. I'm trying to sort out whether I could change the radios Airplane Mode toggles, or maybe change the UI so Airplane mode isn't offered as an option (right now it can only be accessed by pushing the power button, because I have access to settings restricted)
Any ideas?

That sounds like that solves your problem to remove airplane mode from the power menu.
Sent from my GT-p511x

sharonbw said:
That sounds like that solves your problem to remove airplane mode from the power menu.
Sent from my GT-p511x
Click to expand...
Click to collapse
Yeah, if I knew how to do that, the problem would be solved. Any idea how to do that?

Try settings/device/buttons/power menu
Sent from my GT-p511x

sharonbw said:
Try settings/device/buttons/power menu
Sent from my GT-p511x
Click to expand...
Click to collapse
Not available on my device, unfortunately. I'm on sch-i705 if that makes a difference.

evrkusd said:
Not available on my device, unfortunately. I'm on sch-i705 if that makes a difference.
Click to expand...
Click to collapse
Maybe check in developer options? If you don't have it, tap the build number multiple times...
Sent from my SAMSUNG-SGH-T769 using XDA Premium 4 mobile app

Related

[Q] Home and search buttons not working

Hi all,
Since installing CM7 (20130201) and Mazout's 2.6.32.60 kernel, my phone's home and search buttons are no longer functioning. Any ideas how to fix it? These are important functions.
It also doesn't go to sleep anymore, even when I push the power button.
Sounds like some gremlin mischief. Have you tried using the nullifier to wipe?
Edit: here's the link
http://forum.xda-developers.com/showthread.php?t=1854850
Thanks TwitchyEye. That worked, for a while, but the issues are back now. And randomly, the menu/home/back/search icons light up when the phone's otherwise asleep.
TwitchyEye said:
Sounds like some gremlin mischief. Have you tried using the nullifier to wipe?
Edit: here's the link
http://forum.xda-developers.com/showthread.php?t=1854850
Click to expand...
Click to collapse
Maybe it's something you restored?
natescape said:
Thanks TwitchyEye. That worked, for a while, but the issues are back now. And randomly, the menu/home/back/search icons light up when the phone's otherwise asleep.
Click to expand...
Click to collapse
Those are your lights acting as a notification. You can turn it off in cyanogenmod settings.
Sent from my LG-P999 using xda app-developers app
Where might I find that in the settings? I went through and couldn't find it.
natescape said:
Where might I find that in the settings? I went through and couldn't find it.
Click to expand...
Click to collapse
Settings => CyanogenMod settings => Interface => LED notifications. I select unconfigured then, edit category settings, LED mode, and force LED off. I suppose if you wanted to you could set individual settings for applications. There's also a few apps in the play store that take care of it too.

[Q] turn off LTE / 4 G antenna without going to Airplane mode

Hi
Been trying to find a way to shutdown the antenna without airplane mode.
I don't have 4g coverage everywhere anyway, so I figured to save some battery by shuting that down on occasion...
Anyone?
Thanks in advance
D
DeBoX said:
Hi
Been trying to find a way to shutdown the antenna without airplane mode.
I don't have 4g coverage everywhere anyway, so I figured to save some battery by shuting that down on occasion...
Anyone?
Thanks in advance
D
Click to expand...
Click to collapse
Any reason why you do not prefer the airplane mode ?
In case you are wondering, you can still turn on WiFi in airplane mode.
I'm interested too. I just got the 32gb version and the "no sim" prompt is a bit annoying. Since I don't have a sim in I don't think it's using batteries (I hope it doesn't) so it's not that bad.
DeBoX said:
Hi
Been trying to find a way to shutdown the antenna without airplane mode.
I don't have 4g coverage everywhere anyway, so I figured to save some battery by shuting that down on occasion...
Anyone?
Thanks in advance
D
Click to expand...
Click to collapse
xonix240719mu said:
Any reason why you do not prefer the airplane mode ?
In case you are wondering, you can still turn on WiFi in airplane mode.
Click to expand...
Click to collapse
algent said:
I'm interested too. I just got the 32gb version and the "no sim" prompt is a bit annoying. Since I don't have a sim in I don't think it's using batteries (I hope it doesn't) so it's not that bad.
Click to expand...
Click to collapse
There is an app in the play store called "network". Install it, open it and you can turn off the radio. Use it cautiously, you can screw up the settings if you're not careful, but it is useful for this need.
DeBoX said:
Hi
Been trying to find a way to shutdown the antenna without airplane mode.
I don't have 4g coverage everywhere anyway, so I figured to save some battery by shuting that down on occasion...
Anyone?
Thanks in advance
D
Click to expand...
Click to collapse
What's the problem with Airplane Mode + WiFi?
Cheers
Well I don't really have a problem with airplane mode, but would like a easy toggle / widget solution instead of the powerbutton solution
DeBoX said:
Cheers
Well I don't really have a problem with airplane mode, but would like a easy toggle / widget solution instead of the powerbutton solution
Click to expand...
Click to collapse
Toggle? Why can't it stay in airplane mode all the time?
Well answer is simple, in the course of a day I can enter and leave 4g/ lte /3g zones up to 10 times , and on occasion it would be nice to be able to very quickly turn on and off the 4g radio. Using the power button ( the button is a tad too "mushy" , on occasion I struggle to press it correctly) or browsing through the menus to find the toggle is a hassle ( specially now that you can't edit the toggles in the notification bar, thank you lollipop)
I think Lollipop has dynamic toggles, meaning once you access a setting a few times it would be added to your quick settings for easy access, or removed if you don't use it. I've noticed this on my phone (Moto G), but I haven't really given it any attention on my Shield tablet. It is possible Nvidia didn't keep this functionality I suppose.
Anyone know of a way to "force the issue" so to speak?
As in force lollipop to show the toggles I need....
The best solution I can think of is a 3rd party app. Power Toggles might be a good one.
DeBoX said:
Hi
Been trying to find a way to shutdown the antenna without airplane mode.
I don't have 4g coverage everywhere anyway, so I figured to save some battery by shuting that down on occasion...
Anyone?
Thanks in advance
D
Click to expand...
Click to collapse
You could use an RFID tag that is used with the app 'RFID Task Launcher' to turn on airplane mode and then turn on WiFi. You could setup when you tap once again to then turn off airplane mode (wifi will stay on).
Wouldn't that require root?
Tell me more
thisisjason said:
The best solution I can think of is a 3rd party app. Power Toggles might be a good one.
Click to expand...
Click to collapse
Problem is that lollipop seems to block third party access to ,amongst other things airplane mode
the best I've been able to do is set up a widget that sends me to the correct menu tab in settings so I can "flip" the airplane mode switch
not idea

PSA: Accessing Hidden Menu Will Break Knock-On

Based on this thread:
http://forum.xda-developers.com/lg-v10/help/knock-to-wake-t3239674
So far it's only a confirmed suspicion, but it's already happened to several people including myself. Accessing the hidden menu may break the knock on feature, even without doing any modification in it.
Possible Solutions:
-Hard Reset (100% working)
-Deleting Finger Prints (I've only seen this working on 1 person in another thread)
Please report if this has happened to you and if you've done something else to solve the issue. Thanks!
I go in the hidden menu a couple times a day to change RAT selection and have only had one issue. So I wouldn't say it's a 100% the hidden menu
Sent from my LG-H901 using Tapatalk
Nope, doesn't break it. Been in the hidden menu to access Engineering Mode a bunch of times already and knock-on works fine.
Went in there to unlock the APN fields. Knock-on works fine.
Sent from my LG-H901 using XDA Free mobile app
Guys, it only breaks, as I stated in another thread, if you open the IMS Settings (which causes a crash) in the hidden settings menu. It is 100% reproducible, but *ONLY* that setting causes the issue.
toastido said:
Guys, it only breaks, as I stated in another thread, if you open the IMS Settings (which causes a crash) in the hidden settings menu. It is 100% reproducible, but *ONLY* that setting causes the issue.
Click to expand...
Click to collapse
Nope that didn't break it either
@baymon - Funny how everyone notices this until you post a PSA about it then everyone has to try to rebuke it.
If it "breaks" (turns knock on, off) you can use the anycut type app from the play store and make a shortcut to the hidden menu knock on option to toggle it back on or off if you so chose (I turned mine off so it would stop turning on in my pocket).
toastido said:
@baymon - Funny how everyone notices this until you post a PSA about it then everyone has to try to rebuke it.
Click to expand...
Click to collapse
Obviously we need more data on this issue, there could be other variables in play as well but that's why we're raising the awareness of the knock on issue.
@toastido haha it's all good.
LancerV said:
I go in the hidden menu a couple times a day to change RAT selection and have only had one issue. So I wouldn't say it's a 100% the hidden menu
Sent from my LG-H901 using Tapatalk
Click to expand...
Click to collapse
How do you get into the hidden menu? Tried quickshortcutcreator but can't find it.
sentry07 said:
How do you get into the hidden menu? Tried quickshortcutcreator but can't find it.
Click to expand...
Click to collapse
Dial 277634#*#
I'm anxiously awaiting everyone now saying their knock on is broken ?
Didnt break mine! Thanks for the info to get into hidden menu though
nope mine still works but i do have issues with the screen in calls but thats it. but but was that way when i got it.
i think your hidden menu theory is good but my knock doesnt work but it stopped after i did a rest because the apn got messed up and it wouldnt let me add a new one. so i found this out this problem seams random as hell and if i turn knock pattern on to unlock the phone the knock works to turn the screen on but not off. i also noticed my second screen doesnt have the flash light on it when off anymore. so i will be doing a reset tomorrow unless anyone knows how to get the secound screen apps back when the screen is off. i think those apps are related to the tap on
It did break mine. Went to menu and hit apn unlock. No crash or anything. I noticed it not working immediatly. Knock code does still work.
I had the issue also, then did a reset. But I want to add to the issue that it didn't only effect knock on, but the touchscreen didn't register anything altogether when screen off. Meaning, the second screen can swipe when screen off to show the quick toggles, it did not work during that time.
joachim123 said:
I had the issue also, then did a reset. But I want to add to the issue that it didn't only effect knock on, but the touchscreen didn't register anything altogether when screen off. Meaning, the second screen can swipe when screen off to show the quick toggles, it did not work during that time.
Click to expand...
Click to collapse
mines the same no quick toggles
Mines the same no quick toggles but i found the answer with out rest on another post. i figured it out that its just something crashing the hidden menu doesnt matter what even force closing causes this problem. which is what i did seeing that the first time i used it nothing happened but the second time when the problem happened i cleared all apps and it stopped working. i'm guessing they disable it if something crashes it.
the knock on actually just gets turned off. Here's the quote for the answer make sure both knock on settings are on and it works instantly so no reboot needed.
-LBT- said:
Get yourself Quick Shortcut Maker, launch it, change the search type to 'Normal', search for 'Knock On', click on 'Settings', then on 'Try'. On the next screen, switch Knock On back and forth and see if that works.
Click to expand...
Click to collapse
clockcycle said:
If it "breaks" (turns knock on, off) you can use the anycut type app from the play store and make a shortcut to the hidden menu knock on option to toggle it back on or off if you so chose (I turned mine off so it would stop turning on in my pocket).
Click to expand...
Click to collapse
you are a genius and life saver!!! thank you.
hidden menu did break it, confirmed.

Weird behavior? Bug maybe?

So I've noticed since upgrading to Pie, when using the quick toggle switches, the wrong item is displayed at the bottom of the screen. If I was to click the wifi toggle, it will say mobile data enabled at the bottom of the screen. If I was to click the wifi toggle off, it says wifi enabled at the bottom. I'm 110% stock (Verizon version ?) thoughts?
ice711 said:
So I've noticed since upgrading to Pie, when using the quick toggle switches, the wrong item is displayed at the bottom of the screen. If I was to click the wifi toggle, it will say mobile data enabled at the bottom of the screen. If I was to click the wifi toggle off, it says wifi enabled at the bottom. I'm 110% stock (Verizon version ) thoughts?
Click to expand...
Click to collapse
I don't remember seeing this, but do you use any themes? If yes, try to remove the theme and see how it is without it
Charkatak said:
I don't remember seeing this, but do you use any themes? If yes, try to remove the theme and see how it is without it
Click to expand...
Click to collapse
My phone is 110% stock. Even the wallpaper comes from the preloaded ones
Gotta be an app you have installed. I just reset to most recent stock 9 a few days ago and don't even get toast notifications when using the quick settings.
Charkatak said:
I don't remember seeing this, but do you use any themes? If yes, try to remove the theme and see how it is without it
Click to expand...
Click to collapse
Ra6idr0y said:
Gotta be an app you have installed. I just reset to most recent stock 9 a few days ago and don't even get toast notifications when using the quick settings.
Click to expand...
Click to collapse
I can't figure it out for the life of me. I think you are on your way something tho, either an app or a setting. None of the other toggles show a toast notification. Don't wanna factory reset, might just have to tho
Mine keeps enabling "Night Mode" to "Always on" all by itself. I set it to "Always off" and it turns itself back on again after just a few minutes.
Weird stuff going on.
I may just start going through system apps and clearing cache and see what happens.
Sent from my Pixel 2 using Tapatalk
DurhamHusker said:
Mine keeps enabling "Night Mode" to "Always on" all by itself. I set it to "Always off" and it turns itself back on again after just a few minutes.
Weird stuff going on.
I may just start going through system apps and clearing cache and see what happens.
Sent from my Pixel 2 using Tapatalk
Click to expand...
Click to collapse
That I believe is because you have night mode turned on in the messages app, or any other Google app that has a dark mode setting. The night mode setting in developer options I've noticed, doesn't really matter. When I use Android auto, it switches between day and night on its own. Now if I pick up my device and use it while it is still plugged into my car, and I open messages which I have dark mode enabled, it will switch Android auto to dark. And I would have to unplug the USB and plug it back in. Hope that helps
ice711 said:
That I believe is because you have night mode turned on in the messages app, or any other Google app that has a dark mode setting. The night mode setting in developer options I've noticed, doesn't really matter. When I use Android auto, it switches between day and night on its own. Now if I pick up my device and use it while it is still plugged into my car, and I open messages which I have dark mode enabled, it will switch Android auto to dark. And I would have to unplug the USB and plug it back in. Hope that helps
Click to expand...
Click to collapse
You're absolutely right. The night mode setting for the notification pull down follows the setting in the Messages app ... which I had turned on.
Thanks! That was driving me nuts.
Sent from my Pixel 2 using Tapatalk

how to permanently make phone not able turn turn on airplane mode? i want to make one phone not able to turn on airplane mode? what paid app? settings

I want to make one phone not able to turn on airplane mode. what app do i need buy to do this? is there a setting i can use or script?? if airplane mode gets turned on i want to have it auto turn itself back on immediately.
thanks in advance
What is the purpose?
It only turns on if you toggle it.
Seems needlessly redundant.
Well your phone auto turn on airplane mode?
blackhawk said:
What is the purpose?
It only turns on if you toggle it.
Seems needlessly redundant.
Click to expand...
Click to collapse
the kids turn it on and i cant call them.
i want to have it so airplane mode can never be turned on
What device are you talking about?
LR7875 said:
Well your phone auto turn on airplane mode?
Click to expand...
Click to collapse
?
blackhawk said:
What device are you talking about?
Click to expand...
Click to collapse
android non root
GeneralKeys said:
the kids turn it on and i cant call them.
i want to have it so airplane mode can never be turned on
Click to expand...
Click to collapse
Sounds deliberate. Perhaps they aren't old and/or responsible enough to have the privilege of a phone.
Well see my video
LR7875 said:
Well see my video
Click to expand...
Click to collapse
yeah already tried that.... they just went into settings then connections and found airplane mode there
GeneralKeys said:
the kids turn it on and i cant call them.
i want to have it so airplane mode can never be turned on
Click to expand...
Click to collapse
Remove their smartphone privilege, give them dumb phones. Gotta make them respect you as a parent
GeneralKeys said:
yeah already tried that.... they just went into settings then connections and found airplane mode there
Click to expand...
Click to collapse
You're not likely to outsmart them when it comes to this sort of thing. If you can do it on their phone, they'll find a way to undo it.
Papote3 said:
Remove their smartphone privilege, give them dumb phones. Gotta make them respect you as a parent
Click to expand...
Click to collapse
Just give them your old Nokia 3310.
Or you can buy some crap phones
Well set a lock screen, and see if they will factory reset it.
Always backup first. Maybe they already know how to enter android recovery mode.
Papote3 said:
Remove their smartphone privilege, give them dumb phones. Gotta make them respect you as a parent
Click to expand...
Click to collapse
Lol, I survived childhood and half a century with no smartphone.
Maybe they just want some quiet time and space. Regardless of what you do they will get it... free will and hormones are a potent mix.
Being available 24/7 isn't a blessing, it's a curse.
GeneralKeys said:
I want to make one phone not able to turn on airplane mode. what app do i need buy to do this? is there a setting i can use or script?? if airplane mode gets turned on i want to have it auto turn itself back on immediately.
thanks in advance
Click to expand...
Click to collapse
IMO this only can be achieved on a phone with rooted Android running a related looping service in background mode.
Example code
Code:
// read the airplane mode setting
boolean isEnabled = Settings.System.getInt(
getContentResolver(),
Settings.System.AIRPLANE_MODE_ON, 0) == 1;
// toggle airplane mode
Settings.System.putInt(
getContentResolver(),
Settings.System.AIRPLANE_MODE_ON, isEnabled ? 0 : 1);
// Post an intent to reload
Intent intent = new Intent(Intent.ACTION_AIRPLANE_MODE_CHANGED);
intent.putExtra("state", !isEnabled);
sendBroadcast(intent);

Categories

Resources