Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,353 Members 40,357 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Permanent Disable airplane mode option in Custom ROM

Tip us?
 
evrkusd
Old
(Last edited by evrkusd; 27th January 2014 at 08:06 PM.)
#1  
Member - OP
Thanks Meter 15
Posts: 96
Join Date: Nov 2013
Location: New York
Default [Q] Permanent Disable airplane mode option in Custom ROM

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?
 
evrkusd
Old
#2  
Member - OP
Thanks Meter 15
Posts: 96
Join Date: Nov 2013
Location: New York
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?
 
evrkusd
Old
#3  
Member - OP
Thanks Meter 15
Posts: 96
Join Date: Nov 2013
Location: New York
Still haven't figured this out - anyone have any ideas?
 
sharonbw
Old
#4  
sharonbw's Avatar
Senior Member
Thanks Meter 124
Posts: 648
Join Date: Sep 2012
Out of curiosity... why?

Sent from my GT-p511x
 
evrkusd
Old
#5  
Member - OP
Thanks Meter 15
Posts: 96
Join Date: Nov 2013
Location: New York
Quote:
Originally Posted by sharonbw View Post
Out of curiosity... why?

Sent from my GT-p511x
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?
 
sharonbw
Old
#6  
sharonbw's Avatar
Senior Member
Thanks Meter 124
Posts: 648
Join Date: Sep 2012
That sounds like that solves your problem to remove airplane mode from the power menu.

Sent from my GT-p511x
 
evrkusd
Old
#7  
Member - OP
Thanks Meter 15
Posts: 96
Join Date: Nov 2013
Location: New York
Quote:
Originally Posted by sharonbw View Post
That sounds like that solves your problem to remove airplane mode from the power menu.

Sent from my GT-p511x
Yeah, if I knew how to do that, the problem would be solved. Any idea how to do that?
 
sharonbw
Old
#8  
sharonbw's Avatar
Senior Member
Thanks Meter 124
Posts: 648
Join Date: Sep 2012
Try settings/device/buttons/power menu

Sent from my GT-p511x
 
evrkusd
Old
#9  
Member - OP
Thanks Meter 15
Posts: 96
Join Date: Nov 2013
Location: New York
Quote:
Originally Posted by sharonbw View Post
Try settings/device/buttons/power menu

Sent from my GT-p511x
Not available on my device, unfortunately. I'm on sch-i705 if that makes a difference.
 
njstein
Old
#10  
njstein's Avatar
Senior Member
Thanks Meter 478
Posts: 1,430
Join Date: Jan 2013
Location: Boise
Quote:
Originally Posted by evrkusd View Post
Not available on my device, unfortunately. I'm on sch-i705 if that makes a difference.
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

The Following User Says Thank You to njstein For This Useful Post: [ Click to Expand ]
Tags
airplane mode, custom rom
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Share Your Thoughts Anonymously with A Minimalist Social Network

Nowadays, almost everyone has a second life onthe Internet. Among the best … more

Enable Heads Up Notifications For The Sprint Galaxy S3

Heads up notifications, in case you didn’t already know, are an experimental … more

Android One Goes Live in India!

Android One is a Google initiative set to bring an AOSP-like experience tosome emergingmarkets like India, … more

XDA and LeaseWeb: Win Free Server Trial and Moto 360

As you might recall from a previousBehind the Scenesarticle we wrote, XDA’s … more