Airplane mode or switching of mobile data without root possible? - Samsung Galaxy S7 Questions and Answers

Hi folks,
I just switched my rooted custom rom HTC One M8 with the Galaxy S7 and now I am missing a few things (which was expected).
Is there a way to activate / deactivate airplane mode with Tasker or toggle mobile data even though Secure Settings is out of the picture (for now)?
I know this is not exactly a Galaxy S7 specific question but there may be a chance that someone else also switched from a rooted phone....
Additionally, I can't get Android Auto to work.

massaquah said:
Hi folks,
I just switched my rooted custom rom HTC One M8 with the Galaxy S7 and now I am missing a few things (which was expected).
Is there a way to activate / deactivate airplane mode with Tasker or toggle mobile data even though Secure Settings is out of the picture (for now)?
I know this is not exactly a Galaxy S7 specific question but there may be a chance that someone else also switched from a rooted phone....
Additionally, I can't get Android Auto to work.
Click to expand...
Click to collapse
Yes, I was able to do this on my unrooted Z3C using Tasker and AutoInput. AutoInput emulates user swipes on the screen, meaning that you can pull down the notification menu and then enable/disable whatever toggle you want, including airplane mode.

Related

[Q] Carbon Rom on Samsung Galaxy Tab 10.1 p7500Signal or Mobile Data Toggle

@kasper_h Hi, I installed your carbon rom on my Samsung Galaxy Tab 10.1 p7500. It works better than what I had before (CM) as there's less lag and some nice features but I can't seem to find a toggle for signal or data to turn on and off mobile data. Could you help me? Thanks very much! Currently all I can find is a 2G toggle to turn 2G off (which seems to default to 3G) or to force 2G on. I want to be able to turn off mobile data completely for when I'm at home or overseas and use wifi.
quarian said:
@kasper_h Hi, I installed your carbon rom on my Samsung Galaxy Tab 10.1 p7500. It works better than what I had before (CM) as there's less lag and some nice features but I can't seem to find a toggle for signal or data to turn on and off mobile data. Could you help me? Thanks very much! Currently all I can find is a 2G toggle to turn 2G off (which seems to default to 3G) or to force 2G on. I want to be able to turn off mobile data completely for when I'm at home or overseas and use wifi.
Click to expand...
Click to collapse
HY,there are several ways.Some roms offer you the option by long pressing the power button which gaves you a menu including mobile data toggle.If this doesnt work for your rom go to settings ,more and APN which means acess points names and select the option that suits your data plan.The easier way is to go to play store and download a app like beautifull widgets that will help you toggle on mobile data(to make sure this works you need to make sure that apn is set as it should,if you are not sure just call your provider and ask them)PLEASE PRESS THANKS IF I HELPED!!!!
johnyvlad said:
HY,there are several ways.Some roms offer you the option by long pressing the power button which gaves you a menu including mobile data toggle.If this doesnt work for your rom go to settings ,more and APN which means acess points names and select the option that suits your data plan.The easier way is to go to play store and download a app like beautifull widgets that will help you toggle on mobile data(to make sure this works you need to make sure that apn is set as it should,if you are not sure just call your provider and ask them)PLEASE PRESS THANKS IF I HELPED!!!!
Click to expand...
Click to collapse
I'm gonna thank you anyway. Some good ideas but Carbon power menu doesn't seem to have the option. I didn't want to have to install another widget or app just for this so I'll see if I can wait, maybe they'll fix it in an update. I know other carbon users I talked to at the irc channel said they have a "signal" toggle to add on to control data but I've looked so many times and it isn't one of the toggles I have on my tab. Apparently tab 10.1 is an unofficial device! crying:
quarian said:
@kasper_h Hi, I installed your carbon rom on my Samsung Galaxy Tab 10.1 p7500. It works better than what I had before (CM) as there's less lag and some nice features but I can't seem to find a toggle for signal or data to turn on and off mobile data. Could you help me? Thanks very much! Currently all I can find is a 2G toggle to turn 2G off (which seems to default to 3G) or to force 2G on. I want to be able to turn off mobile data completely for when I'm at home or overseas and use wifi.
Click to expand...
Click to collapse
@kasper_h Hi sorry a little bump. I just flashed your 1 July version for carbon rom for my Tab 10.1 (p4) and I did notice my auto-rotate which seemed to be broken on 18 June version is now working. Great work and thanks! Still cannot find a signal or mobile data toggle. Am I just not looking in the right place? I haven't tested the GPS to see if it's more reliable yet. On the older Carbon Rom, GPS worked but dropped signal a few times suddenly while I was driving (my i9305 was able to maintain GPS tho).

Lollipop Data Toggle Non-Root

Fixed my issue on Note 5. Posting in general just for discussion and if anyone had questions.
Saw a bunch of people with issues using widgets to toggle mobile data in lollipop as well as any automation apps.
I put a small app that acts as a widget and emulates you clicking to save you the trouble. Under Venture Alpha J&A.
Put together using Autoinput and requires it to run. Made it to fix my issue with Tasker not being able to turn my data off automatically when I'm wifi range. If anyone wants it... its a $1.42 cause Google gets 30%... link https://play.google.com/store/apps/details?id=com.venturealpha.datatoggle
Only tested on the new Samsungs but should work on devices running lollipop.
If you don't want to do the $1.42 you can put it together with Tasker and autoinput and make a profile for it to resume the less clicks for data toggle.
Verizon Wireless Technician using Tapatalk on Note 5
Data MODE toggle
Can you make one of these to toggle 3G/LTE Mode?
Bmillz said:
Can you make one of these to toggle 3G/LTE Mode?
Click to expand...
Click to collapse
So far all the apps that I have tried to do that on verizon won't go to the lesser network speeds UNLESS the other is unavailable. Or else I would be in 3g unless downloading for battery life
My app works off the capabilities the phone already had settings for.
Verizon Wireless Technician using Tapatalk on Note 5

Attempt to Recover Data Toggle on G920T (6.0.1)

So I have a G920T that is factory unlocked with an CSC being XAR that works perfectly most of the time. After I updated from 5.1.1 to 6.0.1, however, the mobile data toggle in the notification centre is gone, which according to my observation on the Internet happens to a lot of other users in the U.S. (except for Verizon users). I am reluctant to root as that would permanently disable me from using Samsung Pay, so I figured out a way to modify the system UI without root using a Windows computer and ADB commands:
1. Enable USB debugging in the developer mode
2. Connect the phone to the Windows computer
3. Run adb.exe in cmd on the computer
4. Input
settings put secure sysui_qs_tiles Wifi,Nfc,PowerSaving,RotationLock,Bluetooth,WifiCalling,Location,SilentMode,AirplaneMode,DormantMode,Flashlight,UltraPowerSaving,AllShareCast,Sync,SFinder,
and enter
It seems to work pretty well as the toggles can be moved, removed and added, as long as the syntax is correct. But when I try to get the data toggle, inputting MobileData, (as suggested by many other people on the Internet) doesn't work, neither do Data, CellData, or CellularData,. If I put Cellular, however, a mysterious toggle with an unfinished icon appears in my toggle tray saying "Emergency Calls Only", and if you click on it it's gonna display your recent data usage in the notification centre, with options to go into the data usage settings or "Done". Nonetheless, it still does not allow you to turn on/off your mobile data with one click like before. So I'm really just wondering: anyone knows what syntax I should use for the data toggle? Or it's basically impossible because Samsung has permanently removed this feature from non-Verizon U.S. phones?
Thanks!
Screenshots:
https://drive.google.com/open?id=0B1IVkT3djgHeYUIzaFhyOFdTRTA
https://drive.google.com/open?id=0B1IVkT3djgHeRlJKckFGbEQ5UG8

Nougat Non-Root Guide Tips/Tricks...That Root Functionality Without the Root

The Non-Root Nougat Guide for the Sprint S7​
You need stock Nougat on your device. There are several ways to achieve this:
1. OTA Update​2. Install the firmware via ODIN from Sammobile; Updato​
Why Most People Root​
1. Ad Blocker
2. Hotspot Hack
3. Youtube Ad Free
4. Remove Bloatware
5. Xposed (not right now)
6. Other tips/tricks
7. Credits
Here my tips and tricks for getting this Root feel, but keeping the stability of stock.
1. Ad Blocker
This are local hosts, meaning that your info doesn't go to a random server and then come back to you. It stays on your device for your eyes only!
1. DNS66 This one uses a hosts file, just like adaway for those of you who used it while rooting. Since everything is done via a local DNS, you the battery life it is the same as adaway, non-existent! Given that it only blocks entire host names, it cannot block as detailed as some other ad blockers. However, I haven't seen any ads in apps or browsers and no battery hit either! Just make sure the hosts files have a red dot next to them and you have to refresh before activating. Will still block ads on device even when tethering! Great support too!
2. Ad Guard. Good ad blocker. Runs everything through a VPN though, which comes at a battery hit. This one also comes with a price tag! Offers Youtube Ad Blocking, but you must enable their DNS, which puts your information to their servers and then back to you...this blocks ads about 50% of the time. Good support too!
3. Adhell Uses Samsung Knox to block ads and trackers. Blocks most things on webpages and apps (no youtube), but saves a ton a battery since it doesn't require VPN. Not as good as blocking as the first two, but does work a little. Just my opinion though. Also, it is FREE!
4. Disconnect Pro Similar to Adhell, but a paid app,but can be found for free during sales. Search the Galaxy App Store to buy it. Uses Samsung Knox too.
5. AdClear. Some have had success with this, I've had mixed results.
6. BlockThis! Works well, but caused issues on some webpages.
As with all of the above, you will need to whitelist some apps for them to work properly. Like, AdHell and Disconnect have the Google Play Music bug. If you find an app is using a ton of battery, it may need to be whitelisted...usually, google apps have this problem.
2. Hotspot Hack
1. Enable developer mode:
a. Go to settings
b. Scroll down to about phone
c. Repeatedly tap "Build number" until developer access is granted
2. Get ADB installed w/ drivers
a. https://forum.xda-developers.com/showthread.php?t=2588979
3. Enable USB Debugging
a. Go to settings
b. Go down to developer options
c. Scroll down to USB Debugging and turn it on
d. Connect phone with USB to PC
4. Get into ADB shell
a. Open a command prompt (windows key + R , type "cmd" in the box and press enter is my favorite way)
b. Run:
Code:
adb shell
5. Enable the bypass
a. Disable the DUN requirement
Code:
settings put global tether_dun_required 0
b. Overwrite the DUN APN
Code:
settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,,,,310,120,,default,mms,dun"
6. Turn off Mobile Data
7. Turn on HotSpot
8. Turn on Mobile Data
Every time that you want to use the hotspot you have to turn data off; turn hotspot on; turn data back on. When you disconnect your hotspot you need to do the following:
1. Turn Hotspot Off
2. Turn Mobile Data Off
3. Turn Mobile Data On
People will complain, but after you run the code the first time, turning hotspot on and off literally takes just seconds.
3. Youtube Ad Free
1. Youtube in the background, downloading, and so far ad free Youtube can be achieved with OG Youtube. Read the OP and also install this apk found in post 5592 It doesn't say, but in combination with DNS66, I haven't seen any ads after installing this and disabling the old Youtube. It will occasionally ask you to update and just hit Later.
2. If you want to use the original Youtube app, this doesn't block ads, but it does silent and auto skip them. Cygery
3. Use an VPN to route your data somewhere and back. It isn't 100%, but AdGuard offers this type of service. I believe Block This and AdClear may too.
4. Remove Bloatware
This is probably the biggest difference between root and non-root. They are all installed with the same apps. With root, you can delete the system apk or, with root and non-root, you can use a package disabler, you can disable unwanted apps. The problem is that occasionally you will disable or delete something that will cause a chain reaction leading to boot loops or excessive battery drain.
I find it best to go to the application manager and manually disable or uninstall through it. This way, the system will know what's there and what isn't...no surprises. You can uninstall the Sprint crap like TV, Tech Support, Fun and Games, Family Locator...basically every Sprint app except for voicemail. Not disable, but uninstall them completely!
You can disable the following (probably more, but I must be using them): Amazon; Kindle; Facebook; Instagram; Lookout; Messenger; Prime Stuff; S Health; S Voice; Samsung Gear; Youtube (remember the tip above); some of the Google Play apps like Movies and TV; probably more too, but I must actually use those apps.
I'm sure there are some that I'm missing too....I remember uninstalling some weather app too.
The point is that Nougat seems friendlier in terms of uninstalling or disabling software compared to Marshmallow.
5. Xposed (not right now)
Not available for Nougat at the moment. But this update is really customizable!
6. Other tips/tricks
1. Skip Tracks With Volume Keys
1. Frinky Music Controller Allows you to skip tracks with screen off.
2. Noyze Not sure if still being developed, but works. Let's you skip tracks by long pressing with screen off.
Doze Related
Remember to whitelist apps you want running in the background...like Pandora, Google Music, etc. I would leave them off at first and if it cuts off when the screen is off, you need to white list it.
I haven't used these apps in Nougat as the new doze seems fine, but to each his own:
1. ForceDoze puts your phone into doze mode without the motion detectors and 30 minute wait. Great app! Does require you to install adb (adb installer) since you have to run a command to get it to run properly. Check Disable motion sensing and turn off while charging
2. Greenify The auto hibernation works great if we had root, but we don't. It works, but can be extremely annoying at times and can drain battery because it may continuously try to force stop/close an app you greenify. Plus, it will take a few seconds to re-unlock your phone immediately after you turn off the screen. However, I use it with force doze for the aggressive doze. I saw a difference in battery life by using them both. Still need to adb a command
Other Tips
Besides the obvious of gmail/facebook/whatspp/twitter/snapchat syncing
1. Turn off wi-fi scanning
2. Back up my data for Samsung and Google under back up and reset
3. Turn off some features under advanced features in settings...for example, palm swipe to capture if you never use it
4. Location History under Location
5. Change locating method...I leave mine on GPS, wi-fi, mobile, but some people want more battery life and turn it off.
6. Turn on developer options and change animations to 0.5
7. Turn off Always on Display under settings > display. I like it, so I leave it on...but takes about 2% an hour
7. Credits
These people did all of the hard work:
@YMNDLZ -- Download link
@julian_klode -- DNS66
@ paul2112 -- Hotspot Fix
@ cygery -- AdSkip
@ OGMods -- OG Youtube
@resident77 -- OG Youtube Fix
@ ssrij -- ForceDoze
@ SEVEN_AdClear -- AdClear
@daria -- AdGuard
@ Snoop05 -- ADB Fast Installer
And anyone I missed, let me if you want to be added and thanks for your work!
thanks Hotspot works great i just turn it on toggle data off then on and wallaa
also i can just shut off hot spot and everything works no toggling for shut off.
I was on the OG PB5 firmware because of the apns being editable but now ive made the leap
Gotta have that hotspot
Thanks
Robalboa said:
thanks Hotspot works great i just turn it on toggle data off then on and wallaa
also i can just shut off hot spot and everything work no toggling for shut off.
I was on the OG PB5 firmware because of the apns being editable but now ive made the leap
Gotta have that hotspot
Thanks
Click to expand...
Click to collapse
Awesome. And you should be able to use phone data with this method while tethering too. @paul2112 did most of the legwork for this fix.
Please credit @paul2112 for the Hotspot fix in the OP. He pioneered this effort.
Sent from my SM-G935P using Tapatalk
lvpre said:
Awesome. And you should be able to use phone data with this method while tethering too. @paul2112 did most of the legwork for this fix.
Click to expand...
Click to collapse
yes you can use phone while hotspot is activated no problem. plus when u shut it off no toggling.
thanks @paul2112
daddymikey1975 said:
Please credit @paul2112 for the Hotspot fix in the OP. He pioneered this effort.
Sent from my SM-G935P using Tapatalk
Click to expand...
Click to collapse
Read the credits... he's been there since the post. I slightly modified his code because this was the only way I could get tether data and phone data to work simultaneously. I couldn't get both on his last suggestion.
Robalboa said:
yes you can use phone while hotspot is activated no problem. plus when u shut it off no toggling.
thanks @paul2112
Click to expand...
Click to collapse
Sent from my SM-G930P using XDA-Developers Legacy app
lvpre said:
Read the credits... he's been there since the post. I slightly modified his code because this was the only way I could get tether data and phone data to work simultaneously. I couldn't get both on his last suggestion.
Sent from my SM-G930P using XDA-Developers Legacy app
Click to expand...
Click to collapse
My apologies if I missed it.
Sent from my SM-G935P using Tapatalk
daddymikey1975 said:
My apologies if I missed it.
Sent from my SM-G935P using Tapatalk
Click to expand...
Click to collapse
No problem. But this fix was the only way I was able to get phone and tether data working together. Not sure if you had success with what he posted, but I always would get one or the other.
how can I hide the carrier text?
John.C01 said:
how can I hide the carrier text?
Click to expand...
Click to collapse
Have to root for that one. Mine only shows on the lockscreen though. Is yours showing constantly?
Sent from my SM-G930P using XDA-Developers Legacy app
lvpre said:
Have to root for that one. Mine only shows on the lockscreen though. Is yours showing constantly?
Click to expand...
Click to collapse
I don't know if it's because my country... But my CHN-UNICOM is always showing.
John.C01 said:
I don't know if it's because my country... But my CHN-UNICOM is always showing.
Click to expand...
Click to collapse
Even with icons in the notification bar?
Sent from my SM-G930P using XDA-Developers Legacy app
Im confused on what the "hotspot" hack is. When I turn on Hotspot on my stock S7e, it turns off WIFI and only uses LTE. Are you saying this hack will allow us to use hotspot with WIFI?
ryan2202 said:
Im confused on what the "hotspot" hack is. When I turn on Hotspot on my stock S7e, it turns off WIFI and only uses LTE. Are you saying this hack will allow us to use hotspot with WIFI?
Click to expand...
Click to collapse
No. It will allow you to make your phone a router and use your phone data for internet.
Sent from my SM-G930P using XDA-Developers Legacy app
Ok, I'm lazy. Is there a single button method for the toggling for hotspot? I'm using my phone as a hotspot for a tablet thats installed in my car and so being quick is important. I'm trying to build something using "Automate" app but does anyone have something already configured?
fyi, actually just turning on hotspot or off now does the trick. No need to toggle mobile network on/off. I'm on Sprint.
I can confirm Hotspot last through new android update/dated 3/29 heres a screen shot
new update 5/31/17 hotspot non root method sticks and works fine. id like to offer a new method and give thanks to the guy that found it maybe you can incorporate this into your guide so easy a caveman can do it lol
this https://forum.xda-developers.com/sprint-s7-edge/how-to/finally-free-hotspot-galaxy-s7-edge-t3612592
Success! (Stock SM-G930P & SM-G935P)
Thank you so much for this guide! It's been the only successful method to get unlimited hotspot working on my S7 & a friend's S7 Edge! (both stock & most recent firmware) :good:
When using this method, I achieve hotspot as mentioned....but loose ipv6 by doing so!? Any ideas on why or how to fix so when I toggle data/hotspot I can keep ipv6 connectivity, thanks

Toggle Mobile Data and Wifi From Gear S3?

So, Is there a way to toggle Mobile Data / Wifi On and Off from the Gear S3 ?
This is a function I believe Samsung should initiate even if they kept it within the bounds of Galaxy phones from Gear Watches it would be a great marketing point.
As it stands, the data toggle in particular is not achievable easily as third party access to mobile data was removed by Google for security reasons in Lollipop. It can be achieved by rooting your phone with the usual caveats that go with that (and I did this successfully on my Galaxy S6). At the moment the work around I use on my unrooted Galaxy S8 is Tasker with the AutoInput plugin and TaskS2 on my watch. It allows me to mimic button presses on the phone screen and has replaced most of the functions I had previously, however I can only toggle data, WiFi, airplane mode, I can't select on or off discretely because of the way AutoInput is employed. All of these apps are paid apps.
Sent from my SM-T710 using XDA-Developers Legacy app

Categories

Resources