5,604,730 Members 33,679 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 14
Posts: 77
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 14
Posts: 77
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 14
Posts: 77
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: 645
Join Date: Sep 2012
Out of curiosity... why?

Sent from my GT-p511x
 
evrkusd
Old
#5  
Member - OP
Thanks Meter 14
Posts: 77
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: 645
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 14
Posts: 77
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: 645
Join Date: Sep 2012
Try settings/device/buttons/power menu

Sent from my GT-p511x
 
evrkusd
Old
#9  
Member - OP
Thanks Meter 14
Posts: 77
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 346
Posts: 1,085
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


XDA PORTAL POSTS

Microsoft Finally Brings Remote Desktop to Windows Phone

You may recall that back in October of last year, Microsoft released itsofficial … more

SideControl Gains New Powers through Xposed

You may recall that a little overa month ago, we first talked about SideCutsby XDA Forum … more

Leak Points to Windows Start Menu’s Return as Soon as August

About a month ago at this year’s Build conference, Microsoft … more

Wearables Walkthrough: Tasker on the Samsung Galaxy Gear – XDA Developer TV

The future certainly looks like it is full of wearables. … more