It's no secret that cellphone radios are among the biggest killers of your battery life. Among the worst offenders is the LTE radio, which is not as efficient as the 2G HSPA radio. Now, when you're connected to WiFi, no data is actually being transmitted however your phone still utilizes the LTE radio for connecting to your carrier's cell tower for calls/texts rather than the more efficient 2G HSPA radio. If you have poor LTE signal in your area, you can turn off the LTE radio while you're on WiFi to squeeze some extra battery life out of your phone.
Prerequisites
Root access
Secure Settings plugin to change preferred network mode
Instructions
Create a new Profile and name it Toggle 2G/4G.
Create a new State context, go to Net and choose Wifi Connected. Leave everything blank here.
You can leave the task name blank, as it is unlikely you'll be using this elsewhere.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now, you'll create the entry task
Code --> Run Shell. These are the commands you'll need to run. Make sure you have "Use Root" checked!
Code:
setenforce permissive;
svc data disable;
setenforce enforcing
Plugin --> Secure Settings. Expand the "Actions" dropdown and pick "Device Setting." For the Setting Table, pick "global." For the Setting Name, find "preferred_network_mode1" (make sure it's exactly this one, there are similar ones that don't work). Change Setting Value to 1 if you're on a GSM phone, or to 0 for WCDMA.
Now, create the exit task by pressing on the Toggle 2G/4G profile then long-pressing on the entry task. Tasker will give you a few options here, but choose to "Add Exit Task."
Code --> Run Shell. These are the commands you'll need to run. Make sure you have "Use Root" checked!
Code:
setenforce permissive;
svc data enable;
setenforce enforcing
Plugin --> Secure Settings. Expand the "Actions" dropdown and pick "Device Setting." For the Setting Table, pick "global." For the Setting Name, find "preferred_network_mode1" (make sure it's exactly this one, there are similar ones that don't work). Change the Setting Value to 9 if on T-Mobile or 10 if you're on Sprint/Verizon.
Exit out, and you're done! Now whenever you connect to WiFi, the LTE radio will be disabled, and when you disconnect it'll be enabled again! You'll still be able to receive calls and texts while on WiFi, of course, because the 2G HSPA radio is still on.
Its turn on/off mobile data.
Not switch 2g-4g/LTE.
frrancuz. said:
Its turn on/off mobile data.
Not switch 2g-4g/LTE.
Click to expand...
Click to collapse
Oops! Sorry, I left out one step in the entry/exit task. It uses Secure Settings to change the preferred network type. Thanks for pointing it out.
Do you tested it?
SS -> run shell: settings put global preferred_network_mode XX
Its the same.
On my phone preffered network wont changed. Need reboot.
[Sorry for the mistakes.
I do not know English well.
I use Google translator.]
frrancuz. said:
Do you tested it?
SS -> run shell: settings put global preferred_network_mode XX
Its the same.
On my phone preffered network wont changed. Need reboot.
[Sorry for the mistakes.
I do not know English well.
I use Google translator.]
Click to expand...
Click to collapse
Yes, I tested it. Make sure it's EXACTLY this: preferred_network_mode1. Note the 1 at the end. The other ones don't work!
I have not "preferred_network_mode1" on my global settings, only "preferred_network_mode". When I change network mode the number change - 1 for 2g, 11 for LTE.
So?
This guide is not for all?
what should I use for setting value if I am not using sprint, tmobile or verizon?
Sent from my ALE-L21 using Tapatalk
1. Set manual 2g
Run shell: sqlite3 /data/data/com.android.providers.settings/databases/settings.db "SELECT name, value FROM global;"
Store matvhes in 2g. txt
2. Set LTE/4g
Run shell
Store matches in 4g.txt
Check what do you have in "network-preffered"
frrancuz. said:
1. Set manual 2g
Run shell: sqlite3 /data/data/com.android.providers.settings/databases/settings.db "SELECT name, value FROM global;"
Store matvhes in 2g. txt
2. Set LTE/4g
Run shell
Store matches in 4g.txt
Check what do you have in "network-preffered"
Click to expand...
Click to collapse
ok, thanks. now I can't find network_preffered1... only network_prefered.
Sent from my ALE-L21 using Tapatalk
so, this method is not for you..
Do you have xposed? Gravity box? Intelli3g?
If not, instal this:
https://play.google.com/store/apps/details?id=com.cygery.togglenetworktype
Tasker support.
frrancuz. said:
1. Set manual 2g
Run shell: sqlite3 /data/data/com.android.providers.settings/databases/settings.db "SELECT name, value FROM global;"
Store matvhes in 2g. txt
2. Set LTE/4g
Run shell
Store matches in 4g.txt
Check what do you have in "network-preffered"
Click to expand...
Click to collapse
Good idea on using SQLite. For anyone that can't get it working using his method, try downloading the Tasker SQLite Plugin.
I couldnt get the network to turn back on when my wifi turns off :/
---------- Post added at 11:43 PM ---------- Previous post was at 11:39 PM ----------
frrancuz. said:
I have not "preferred_network_mode1" on my global settings, only "preferred_network_mode". When I change network mode the number change - 1 for 2g, 11 for LTE.
So?
This guide is not for all?
Click to expand...
Click to collapse
Thanks! I got the network to turn on yay
Did you measure the battery consumption of 4G vs 3G vs 2G?
Disabling mobile data will clearly improve your battery life, however, unless you have poor 4G and good 2G and the phone insists on using 4G, I don't see how disabling 4G can be an improvement.
First of all, because 4G is faster, you will spend a shorter amount of time in high power transmit mode for a given number of bytes transferred. Additionally, newer standards typically improve power efficiency even in low power / standby modes.
If disabling 4G really improves battery life, maybe it is specific to your location. In this case, it may be better to set your script to trigger only on a specific WiFi network, or in a specific location.
gub said:
Did you measure the battery consumption of 4G vs 3G vs 2G?
Disabling mobile data will clearly improve your battery life, however, unless you have poor 4G and good 2G and the phone insists on using 4G, I don't see how disabling 4G can be an improvement.
First of all, because 4G is faster, you will spend a shorter amount of time in high power transmit mode for a given number of bytes transferred. Additionally, newer standards typically improve power efficiency even in low power / standby modes.
If disabling 4G really improves battery life, maybe it is specific to your location. In this case, it may be better to set your script to trigger only on a specific WiFi network, or in a specific location.
Click to expand...
Click to collapse
This post goes into detail about the effect on battery life from 4G vs 2G: https://www.reddit.com/r/Android/comments/3z8guc/psa_one_of_the_biggest_battery_life_killers_is/
Anyone tried this on Sprint S5? Love the idea. Just wondering if anyone else has experimented before I implement.
Thanks!
Josh
I just did it on my s4 and it works perfect, excellent guide.
So what do those of us do that don't have preferred_network_mode1 but only preferred_network_mode ?
Brutal_Master said:
So what do those of us do that don't have preferred_network_mode1 but only preferred_network_mode ?
Click to expand...
Click to collapse
+1
Is there any way to get this to work with Project Fi? I've been trying to make this work so it will switch to GSM or CDMA, depending on whether I'm connected to T-Mobile or Sprint, but I haven't quite figured it out.
Brutal_Master said:
So what do those of us do that don't have preferred_network_mode1 but only preferred_network_mode ?
Click to expand...
Click to collapse
Another option if your rooted is to use xposed+gravitybox since this option is built in, at least for the MM version anyway...
Related
Dear all,
I am currently under a MVNO and my Xperia Z1 (stock 4.2.2) currently shows the R for roaming.
I would like to remove the R in order to show H, E or 3G in the top bar.
I have found this guide and I really would like to receive an help from a dev:
tiwag said:
the only problem what i have with BHuvan goyal's ICS AOKP beta 2.1 is, that it doesn't handle my MVNO (mobile virtual network operator)
http://en.wikipedia.org/wiki/Mobile_virtual_network_operator
as home-net. By default it classifies it as net used by roaming.
This is somehow annoying, and can be financially dangerous, when one allows "data on roaming" by default and "automatically select operator network".
On Samsung-GB-ROM's there was a solution for this behaviour which i described already here
http://forum.xda-developers.com/showthread.php?p=22947309#post22947309
and here
http://forum.xda-developers.com/showthread.php?p=23025991#post23025991
But i found a dirty hack, which solves at least the nasty roaming - sign problem, so that i get at least the H, 3G or E signs instead of the odd R sign above the field-strength symbol.
i use this script, which is started as root-user automatically at boot-time
Code:
#!/system/bin/sh
getprop | grep operator
echo bobA1 start
setprop gsm.sim.operator.alpha "A1"
setprop gsm.operator.isroaming false
getprop | grep operator
echo bobA1 done
it needs some explanation:
MCC - mobile country code, 232 = Austria
MNC - mobile network code, different network operators in this country
see
http://en.wikipedia.org/wiki/Mobile_Network_Code
my MVNO provider is "bob", MCC=232, MNC=11 (23211)
bob's home-net is "A1", MCC=232, MNC=01 (23201)
what it basically does is the following:
1.) overrrides the name of the operator, which is stored on the sim card, from "bob" to "A1", so that it matches the operator name given by the network.
Code:
setprop gsm.sim.operator.alpha "A1"
and
2.) overrrides the roaming status flag.
Code:
setprop gsm.operator.isroaming false
the rest ist only a status output primarily for debugging that one can see what was stored in these properties before and after the hack.
This overridden properties are valid until a Flightmode setting or until a reboot.
The effect of this change is only, that the roaming sign "R" disappears and does not reappear, because the strings stored in
[gsm.operator.alpha] and [gsm.sim.operator.alpha] are now ident.
One can now disable "data on roaming" and enable "automatically select operator network" safely, because when you get out of the range of the A1 network, the roaming flag is automatically reset by the OS after changing to another countrys network operator, where we are really roaming as intended, and therefore do not want to allow data because of high roaming costs.
Hope this helps for all suffering by the national roaming MVNO problem.
Hope also that this issue get's fixed one day by the ROM devs.
Click to expand...
Click to collapse
Can someone please help me??
I'd like some help with this too. I'm in the process of researching what the cause of this problem is.
I actually have a galaxy S4, but it looks like the problem is not device specific. I found this thread through the search function and it has no replies! Please chip in somebody if you have more info!
forcedmeme said:
I'd like some help with this too. I'm in the process of researching what the cause of this problem is.
I actually have a galaxy S4, but it looks like the problem is not device specific. I found this thread through the search function and it has no replies! Please chip in somebody if you have more info!
Click to expand...
Click to collapse
I just hacked together a little app (requires root) for my gf's phone that *could* fix your problem. You can download it on my github https://github.com/jclehner/NoRoaming/releases/tag/0.1-alpha. It's still very much alpha, but it does work for her.
In the input field where it says "SIM operator", use the value of "gsm.operator.alpha" (displayed in the box below). Then reboot just to be sure.
Hey, nice work with the app. I haven't tested it because I actually 'fixed' this by running a script on boot using scriptmanager, that essentially does what you app is doing (if I understand it correctly).
I will install it soon and verify for you that it works for me too.
How can I make this works? When I open this app I have this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My main operator is PLAY but it uses t-mobile and orange transmitter.
Wysłane z mojego D5503 przy użyciu Tapatalka
caspase said:
I just hacked together a little app (requires root) for my gf's phone that *could* fix your problem. You can download it on my github https://github.com/jclehner/NoRoaming/releases/tag/0.1-alpha. It's still very much alpha, but it does work for her.
In the input field where it says "SIM operator", use the value of "gsm.operator.alpha" (displayed in the box below). Then reboot just to be sure.
Click to expand...
Click to collapse
Hi, dl your app and works on Stock MM 6.0.1 / MotoXForce!
Thx for your work! :good:
I often work in a building where my phone ends up roaming, which is fine with me, except that I keep getting the stupid data roaming warning. I can't seem to disable it, because the options are check and greyed out in the data roaming guard menu.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
how can i enable these options so i can uncheck them??
IIIMik3 said:
I often work in a building where my phone ends up roaming, which is fine with me, except that I keep getting the stupid data roaming warning. I can't seem to disable it, because the options are check and greyed out in the data roaming guard menu.
how can i enable these options so i can uncheck them??
Click to expand...
Click to collapse
Change the Network type back to "LTE/CDMA" from "Automatic".
EDIT: After checking, I can't find any combination of options that disables these options.
That's strange that those are grayed out like that. Even with them unchecked I still get the pop-up on my phone though.
metalfan78 said:
That's strange that those are grayed out like that. Even with them unchecked I still get the pop-up on my phone though.
Click to expand...
Click to collapse
ugh, really?
I drive also drive through some remote areas semi-regularly, and that pop-up is super annoying
I hate it
This happens to me when I don't clean flash ROMs sometimes
Ph33zy said:
This happens to me when I don't clean flash ROMs sometimes
Click to expand...
Click to collapse
my phone's totally stock
metalfan78 said:
That's strange that those are grayed out like that. Even with them unchecked I still get the pop-up on my phone though.
Click to expand...
Click to collapse
Me too - super irritating.
Has anyone found a way to disable the guard options?
Roaming guard fix
Hello.
I am not a developer but I have a solution to roaming guards if you have root. I am a very tech savvy person and usually modify all my phone's on my on.
Here we go and I am not responsible for anything that could go wrong. Don't worry this is fairly simple computer programming.
1. Make sure you have root.
2. Download SQLite editor from the play store.
3. Open SQLite editor and go to the root of your phone.
4. Open data/data/com.android.providers.settings
5. Open Setting.db and select secure.
6. Scroll down to line 117 and highlight data_roaming_guards_blocked and hit the pencil to edit.
7. Change wording to data_roaming_guards_allowed and save.
8. Scroll to line 122 and highlight voice_roaming_guard_blocked and hit pencil to edit.
9. Change wording to voice_roaming_guard_allowed and save.
10. There is no need to reboot just go directly to settings, mobile data and roaming guards. You should be able to select and deselect.
I hope this works for you and if it does let's put it out there. Lots of people have this problem and it took me several days to figure this out
Jeb1008 said:
Hello.
I am not a developer but I have a solution to roaming guards if you have root. I am a very tech savvy person and usually modify all my phone's on my on.
Here we go and I am not responsible for anything that could go wrong. Don't worry this is fairly simple computer programming.
1. Make sure you have root.
2. Download SQLite editor from the play store.
3. Open SQLite editor and go to the root of your phone.
4. Open data/data/com.android.providers.settings
5. Open Setting.db and select secure.
6. Scroll down to line 117 and highlight data_roaming_guards_blocked and hit the pencil to edit.
7. Change wording to data_roaming_guards_allowed and save.
8. Scroll to line 122 and highlight voice_roaming_guard_blocked and hit pencil to edit.
9. Change wording to voice_roaming_guard_allowed and save.
10. There is no need to reboot just go directly to settings, mobile data and roaming guards. You should be able to select and deselect.
I hope this works for you and if it does let's put it out there. Lots of people have this problem and it took me several days to figure this out
Click to expand...
Click to collapse
I am rooted, so I paid for the SQLite application and tried your suggestion. My lines numbers were slightly different, but I found the entries and made the modifications. It allowed me to disable the options! I am not currently in a roaming area, as I was over the weekend, so I cannot currently ensure it disables the prompts. However, the options are now clickable...and now unchecked for me! Thank you!
Thanks
Thanks for the reply. Let me know if you have any problems.
ReproOne said:
I am rooted, so I paid for the SQLite application and tried your suggestion. My lines numbers were slightly different, but I found the entries and made the modifications. It allowed me to disable the options! I am not currently in a roaming area, as I was over the weekend, so I cannot currently ensure it disables the prompts. However, the options are now clickable...and now unchecked for me! Thank you!
Click to expand...
Click to collapse
I also found out you can leave the name the same "_blocked", and then you only have to delete the value "domestic,international" from both entries. You have to restart the phone, but then that tells the system there is nothing to block. I have since went back and left the name entries as they were at default, but removed the values so they are blank.
Again, I appreciate your post as it was extremely helpful!
Roaming Guard Greyed out fix.
IIIMik3 said:
I often work in a building where my phone ends up roaming, which is fine with me, except that I keep getting the stupid data roaming warning. I can't seem to disable it, because the options are check and greyed out in the data roaming guard menu.
how can i enable these options so i can uncheck them??
Click to expand...
Click to collapse
Please see your original thread about Roaming Guards being locked. I have posted a fix for the issue. I am trying to get enough post to be able to make a new thread in the developers section.
Thanks
Roaming guard fix
See Roaming guard fix at the bottom of page 1.
I have the same issue as above, the options are greyed out. I have pulled the settings.db file, but the lines mentioned above are not present. This is Lollipop 5.1.1 on Boost Mobile. I'm attaching the settings.db file which has been exported to csv then converted to xls for attachment purposes (csv attachments aren't allowed?). I would be grateful for any help deciphering this to determine which lines to edit or possibly just flipping the 1/0 switch to enable the options to turn roaming guard on/off. Thanks.
Anyone with experience with these databases? Thanks.
Ok, I can't recommend trying to edit the database on Boost Mobile's LG G Stylo Lollipop 5.1.1. At least not with asqlite manager. I did earlier today, I edited line 124 rguard_domestic_data which was set to 1 or on. I changed it to 0 or off, the phone immediately rebooted and went into a boot loop. I'm not sure if the app changed the permissions of the database or if that particular option just shouldn't be changed, but I had to factory reset and set everything back up from scratch. I was able to get to recovery where I cleared cache, then wiped data and reset. The phone is operational now and I did not have to root it again, but it was quite a pain setting everything back up again as I had quite a few customizations. Perhaps there's a better app for the job or a way to edit and restore the original permissions?
I have a VZW note 5 and I don't have the find my mobile option in settings, was this excluded for VZW or am I missing something on my phone?
Thanks!
Download the Android Device Manager from the Play store
Sent from my SM-N920V using Tapatalk
buckifvr said:
Download the Android Device Manager from the Play store
Sent from my SM-N920V using Tapatalk
Click to expand...
Click to collapse
the reviews on that app aren't very good, I've watched a couple of Note 5 tips and tricks youtube videos and it seems to be baked in on some devices. I think both videos used AT&T phones, so maybe that's it?
I think it's pretty good and easyu to use. Just install the app and login into Google account. If you lose your phone, login to your Google account and type find my phone. That's all. Simple.
Sent from my SM-N920V using Tapatalk
i've been using that app for a while now. it's no longer even a matter of it ever updating my current device anymore - it has never shown the correct device at all. you're better off going to the webpage version.
(Sent from another Galaxy via Tapatalk)
Find my Mobile's pretty cool and I used it on my international devices for years when there was no ADM. Surprisingly, AT&T didn't maim it. It's easy to use and manage across multiple devices and is both fast and accurate even on "GPS only." Here's what it can do.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have Find My Mobile, but I don't have reactivation lock...and that sucks as it was a pain to bypass
So I guess it's a per carrier or per market thing. I'll give ADM a try.
Stone 13 said:
So I guess it's a per carrier or per market thing. I'll give ADM a try.
Click to expand...
Click to collapse
It very well might be. A few years ago Rogers had their own location system just like findmymobile, they did take out the native location system on their phone until they decided to discontinue their service and put the option back in.
Hi.
At first thanks for question .you said dont find the setting option .But how ths possible .what may come if it is not available so you should go to the play-store and download the android device manager .I guess it will be okay .
Mobile HotSpot Settings - Samsung Galaxy Note5
[Device-Specific Instructions]
Note To configure settings, Mobile Hotspot must be turned on switch on icon.
From a Home screen tap Apps Apps icon.
Note These instructions apply to Standard mode only.
Tap Settings.
From the Wireless and networks section, tap More.
Tap Mobile Hotspot.
Tap the device name (located above Connected devices) (e.g., SM-N910Vxxxx).
Note By default, xxxx are the last 4 digits of of the Wi-Fi MAC address.
Tap one of the following:
All devices
Allowed devices only
Tap the Menu icon Menu icon (located in the upper-right).
Tap Configure Hotspot.
Configure the following then tap Save.
Network SSID
Hide my device
Note Enabled when a check mark is present.
Security
Open
Note If presented with Warning screen, tap Continue.
WPA2 PSK
Password
Note Must be at least 8 characters.
Show password
Note Enabled when a check mark is present.
Tap Show advanced options
Note Enabled when a check mark is present.
When Advanced options are enabled, configure the following:
Tap the appropriate Broadcast channel: 2.4 GHz or 5 GHz.
Note Enabled when a check mark is present.
Tap the 'Channel' Dropdown menu Drop down menu icon then select the appropriate channel (e.g., Auto, 1 - 11).
Note Auto (default setting) is recommended.
mohinipollob said:
Hi.
At first thanks for question .you said dont find the setting option .But how ths possible .what may come if it is not available so you should go to the play-store and download the android device manager .I guess it will be okay .
Mobile HotSpot Settings - Samsung Galaxy Note5
[Device-Specific Instructions]
Note To configure settings, Mobile Hotspot must be turned on switch on icon.
From a Home screen tap Apps Apps icon.
Note These instructions apply to Standard mode only.
Tap Settings.
From the Wireless and networks section, tap More.
Tap Mobile Hotspot.
Tap the device name (located above Connected devices) (e.g., SM-N910Vxxxx).
Note By default, xxxx are the last 4 digits of of the Wi-Fi MAC address.
Tap one of the following:
All devices
Allowed devices only
Tap the Menu icon Menu icon (located in the upper-right).
Tap Configure Hotspot.
Configure the following then tap Save.
Network SSID
Hide my device
Note Enabled when a check mark is present.
Security
Open
Note If presented with Warning screen, tap Continue.
WPA2 PSK
Password
Note Must be at least 8 characters.
Show password
Note Enabled when a check mark is present.
Tap Show advanced options
Note Enabled when a check mark is present.
When Advanced options are enabled, configure the following:
Tap the appropriate Broadcast channel: 2.4 GHz or 5 GHz.
Note Enabled when a check mark is present.
Tap the 'Channel' Dropdown menu Drop down menu icon then select the appropriate channel (e.g., Auto, 1 - 11).
Note Auto (default setting) is recommended.
Click to expand...
Click to collapse
I'm not referring to Mobile Hotspot, I have that functionality. Samsung has a find my mobile option on some note 5 phones in either certain markets or on certain carriers., but thanks
Is find my mobile better than google android??2
Sent from my SAMSUNG-SM-N920A
Where ia reactivation lock? Grrrr
Sent from my SM-N920W8 using Tapatalk
tried cerberus? pretty good stuff there also
I've had Cerberus for years. But its very easy to get around if you know what it is and what it does. I always used it in tandem with Samsung's security. Samsung has the option to render the power button useless...you cannot turn off the phone unless you remove battery or let the phone drain. Battery removal wise, can't do it with my last 2 phones (s6 and note 5), so if somebody stole my phone I could have easily locked it and used Cerberus to spy on the thief and had a few hours to find him. Now, if anybody steals my phone all he has to do is vol down + home + power until phone turns off and flash with odin, then wipe in recovery. At least with reactivation lock my phone would have been a paper weight
Sent from my SM-N920W8 using Tapatalk
Great
Best Battery Saving Profiles For Tasker
Best Battery Saving Profiles For Tasker
Battery saving mode when battery is low on your Android
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Steps:
Go to Profile, then State and select “Power“. Choose “Battery Level” and set the desired range (let’s say from 0-20).
Create new Task and tap the “+” icon. Select “Net” and turn Bluetooth off, auto sync off, Wi-Fi off and Mobile data off (if its available on your device).
Dim Brightness at specific times
Steps:
Create new profile. Go to “Time” and select the time range in which you want to lower (or increase) the brightness.
Create a new task and tap the “+” icon. Go to “Display” and then “Display Brightness“. Select your preferred value.
Night mode or Quiet time
Steps:
Create a new profile and select time. Choose the desired time range (for example, from 00:00 – 06:30).
Create a new task and tap the “+” icon.
Go to “Audio” then set Silent mode ON or vibrate.
Go to “Net” and turn auto sync OFF and Wi-Fi OFF.
Battery saver
If you run lollipop and above you can toggle the battery saver without purchasing any app or even without rooting you phone.
ADPL said:
If you run lollipop and above you can toggle the battery saver without purchasing any app or even without rooting you phone.
Click to expand...
Click to collapse
Is it possible to toggle the battery saver from within Tasker without root?
D0rd said:
Is it possible to toggle the battery saver from within Tasker without root?
Click to expand...
Click to collapse
Yes it is possible but only above lollipop and works for marshmallow too
ADPL said:
Yes it is possible but only above lollipop and it is not tested for marshmallow.
Click to expand...
Click to collapse
I'm on Lollipop at the moment. Do you have any further information or links on this? I've been looking but can't see any that work without root.
D0rd said:
I'm on Lollipop at the moment. Do you have any further information or links on this? I've been looking but can't see any that work without root.
Click to expand...
Click to collapse
It doesn't look like this is possible unless you have root.
D0rd said:
I'm on Lollipop at the moment. Do you have any further information or links on this? I've been looking but can't see any that work without root.
Click to expand...
Click to collapse
It's a small task but very long to explain. If possible could you send me your email id. I will email you the procedure with some screenshots
I an looking to use tasker or automatic to create the following rule, incoming call=turn on BT, connect to headset, answer call; end call, turn off BT after 30 seconds. Is this wishful thinking or can it b done with one of these apps. The BT wakelock is killing me. If it matters I'm running Pure Nexus 12/19 with latest ElementalX kernel. Thanks in advance.
worth on lollipop?
nero8762 said:
I an looking to use tasker or automatic to create the following rule, incoming call=turn on BT, connect to headset, answer call; end call, turn off BT after 30 seconds. Is this wishful thinking or can it b done with one of these apps. The BT wakelock is killing me. If it matters I'm running Pure Nexus 12/19 with latest ElementalX kernel. Thanks in advance.
Click to expand...
Click to collapse
Honestly, by the time the call is received, bluetooth turned on, made a connection to your headset, and answer the call it would probably just go to voice mail. It's doable for sure but probably wouldn't help out any.
As for battery saving, here's my addition,
Quiet Time -> toggle all sounds off and set brightness to low @ 2130 until the next morning (I could probably turn off data as well)
Sync modes -> Toggle auto sync to off > enable every 30 minutes for 5 minutes > Sync> turn off sync
Thanks. I actually got it to work with Automagic app. BT turns on with incoming call or when I make a call, then turns BT off after I hang up.
My favorite battery saving tip for AMOLED device (provided you have a kernel with KCAL enabled) mimics Samsung's Ultra Power Saving mode by turning your device grayscale.
Just run this shell command to turn it grayscale:
Code:
echo "0" > /sys/devices/platform/kcal_ctrl.0/kcal_enable
echo "255 255 255" > /sys/devices/platform/kcal_ctrl.0/kcal
echo "255" > /sys/devices/platform/kcal_ctrl.0/kcal_cont
echo "0" > /sys/devices/platform/kcal_ctrl.0/kcal_hue
echo "35" > /sys/devices/platform/kcal_ctrl.0/kcal_min
echo "128" > /sys/devices/platform/kcal_ctrl.0/kcal_sat
echo "255" > /sys/devices/platform/kcal_ctrl.0/kcal_val
echo "1" > /sys/devices/platform/kcal_ctrl.0/kcal_enable
You can combine this with any context to make it run whenever you want.
Here's another battery saving tip - automatically set tasker to turn on airplane mode at say ... 1am and turn it of at ..6am. GSM modules are notorious for eating a noticeable amount of battery. There you go:
Tasker Auto Airplane Mode On/Off - http://forum.xda-developers.com/u/tasker-tips-tricks/tasker-auto-airplane-mode-off-t3316767
I can recommend an plugin for Tasker, name is Autoinput. It is very simple and awesome plugin that let you automate commands that in other cases needs root. You can for example toggle Power saving mode, Mobile data, NFC... whatever your want.
I use it daily for all different tasks since im not rooted (yet).
Hello friendz
My spend most of time in reading on cell, so the screen is the biggest sucker of my batt juice because i set screen timeout @ max(30min).
I wish any way that will increase my screen dim time(the time taken b4 screen goes to completely black) . So that I can save some amount of juice without affected my reading (hobby)
Any help would be highly appreciated.
TIA
Sent from my Lenovo P1a42 using XDA-Developers mobile app
@MishaalRahman
Try:
echo X > /sys/devices/virtual/mdnie/mdnie/accessibility
X:
0 - normalne
1 - negative
2 - greyscale
3 - Screen off but not locked and touchscreen is still working
frrancuz. said:
@MishaalRahman
Try:
echo X > /sys/devices/virtual/mdnie/mdnie/accessibility
X:
0 - normalne
1 - negative
2 - greyscale
3 - Screen off but not locked and touchscreen is still working
Click to expand...
Click to collapse
I think that only works for Samsung devices, unfortunately.
I use following profiles/tasks for battery saving;
Auto-off Unpaired bluetooth (shuts off bluetooth after 2 min IF no BT device connected)
Autosync schedule Home (sync is off 20min, turns on for 3 min, then turns off. Repeat every 20 min)
Autosync schedule Work (sync is off 2 hours, turns on for 5 min, then turns off. Repeat every 2 hour)
Switch to 2G/3G when Wifi connected (no wifi = 4G/LTE)
NFC turns OFF if not connected to my home-Wifi (NFC battery drain is negligible though..)
Turn ON high accuracy GPS when opening Google Maps (back to balanced/power saving when Maps is closed)
Nightmode = Samsung power saving mode, Wifi OFF, Mobile data OFF, Sync OFF (since not Wifi connected). All these modes activated through tap of NFC tag (about 2% battery is drained on 8-9 hours)
Is auto sync for Google?
Sent from my SM-N920T using Tapatalk
It used to be under Settings > Connections > Mobile Networks. Like in the picture below, but now it's nowhere to be found. How do I turn off VoLTE now?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hidden phone settings probably.
This might work for that model...
*#*#4636#*#*
blackhawk said:
Hidden phone settings probably.
This might work for that model...
*#*#4636#*#*
Click to expand...
Click to collapse
Code didn't work. What worked, though, is this Samsung Band Selection app from the Play Store. There's a VoLTE toggle accessible through that app. I wonder what Samsung is thinking, removing this very basic option for us.
Sharpshooterrr said:
Code didn't work. What worked, though, is this Samsung Band Selection app from the Play Store. There's a VoLTE toggle accessible through that app. I wonder what Samsung is thinking, removing this very basic option for us.
Click to expand...
Click to collapse
They changed the code. An oversight probably, but who knows? Sammy's been forgetting all kinds of important things lately.
What's My Name?! NOTE!!!
What side is my spen on?
And where the fk is my up to 1tb of expandable storage?
Sorry Sammy but ball dropping isn't a desirable skillset...
Sharpshooterrr said:
It used to be under Settings > Connections > Mobile Networks. Like in the picture below, but now it's nowhere to be found. How do I turn off VoLTE now?
View attachment 5595475
Click to expand...
Click to collapse
It's been removed by Samsung. I remember having it when i got the phone. Then an update (Android 11, not 12) removed the option altogether. There is currently no user facing method of toggling VoLTE, at least in India, where I'm from. It's just on by default. Don't know why this was done, but that's the way it is. Maybe with root app or some adb method, you may be able to access the setting. But for now I'm not aware of any regular method to do so
Huh...I don't what I'm missing here but I have this option...
On my S21U (998B) it it still there in A12, but it is called "call via 4G" (my translation of 'bellen via 4G') which is the same as VoLTE.
Not having the the VoLTE selection function could also be a CSC-thing...
enigmaamit said:
It's been removed by Samsung. I remember having it when i got the phone. Then an update (Android 11, not 12) removed the option altogether. There is currently no user facing method of toggling VoLTE, at least in India, where I'm from. It's just on by default. Don't know why this was done, but that's the way it is. Maybe with root app or some adb method, you may be able to access the setting. But for now I'm not aware of any regular method to do so
Click to expand...
Click to collapse
You can actually access the toggle with a non-root app called Samsung Band Selection - it's in the Play Store.
I am facing the same problem —VoLTE toggle disappeared from settings (Nokia 6.1) since I changed sim Airtel to VI. Nokia 6.1 has Android 10 and Android One UI and support VoLTE on both sim simultaneously.
I don't think you are going to get much help here..better post this in that forum.
Sharpshooterrr said:
You can actually access the toggle with a non-root app called Samsung Band Selection - it's in the Play Store.
Click to expand...
Click to collapse
This is the correct answer.
I figured this out after a search through the phone settings.
The phone turns on Volte by default as soon as you switch to the 5G/4G modes for unlocked models in the US. You can verify this by going to
Settings >> About Phone >> Status Information >> Sim Card Status >> Mobile Voice Network Type
( or just use the search bar and type "Voice Ne" )
This will show "LTE" basically saying its Voice of LTE (VoLTE) . If you set your data mode to 3G/2G only, this shows "GSM".
So VoLTE is working on the unlocked models, there just isn't an option, its happening automatically. Really annoying tbh
PHAZED19 said:
I figured this out after a search through the phone settings.
The phone turns on Volte by default as soon as you switch to the 5G/4G modes for unlocked models in the US. You can verify this by going to
Settings >> About Phone >> Status Information >> Sim Card Status >> Mobile Voice Network Type
( or just use the search bar and type "Voice Ne" )
This will show "LTE" basically saying its Voice of LTE (VoLTE) . If you set your data mode to 3G/2G only, this shows "GSM".
So VoLTE is working on the unlocked models, there just isn't an option, its happening automatically. Really annoying tbh
View attachment 5708601
Click to expand...
Click to collapse
It's self provisioning as long as the data on the sim card is correct. On my new N10+ all I did was put the sim card in and it was good to go.
A latter check showed it was properly configured.
Samsung has removed this option from phone. Although it works automatically i.e. if your network supporting the VoLTE it'll be automatically enabled and you'll see VoLTE icon next to signal bar.