Hey all, what a bummer this locked bootloader has been. Anyway, there isn't much we can do at this point except play the waiting game, as you may well already know; simply asking AT&T to unlock the bootloader for the purposes of development (perhaps in the form of a petition) might be our option at the moment, albeit futile.
Anyway, the purpose of this thread is to sort of collect any tweaks for the currently unrootable ATT Galaxy S5. Even stock, it's a beast of a phone, and I'm sure we can do a few things to push it to its unrootable limits like:
- Extending its monster battery life
- Making it run faster (at least APPEAR to)
- Performing some convenience tweaks
The first thing that came to mind was Developer options. Turning Window and Transition animation scales to x0.5 made seem it a bit snappier. Turning off all the gimmicky gestures and features like air browse, smart stay, smart pause, etc caused a noticeable improvement in battery, as did setting screen to standard. Turning off bloatware is also essential. But the real ace in the hole here is Tasker (or Llama, for those not inclined to buying apps). I will share my most valuable profiles with you. I will nest the profiles and associated tasks using brackets to avoid confusion, since I can't put whitespace.
Connectivity off when screen off {
Profile {
Event -> Display off;
}
Task {
Task -> Wait -> 1 min;
If -> %SCREEN ~ Off {
Net -> WiFi -> Off;
Net -> Mobile Data -> Off;
Net -> Auto-Sync -> Off;
}
}
}
Connectivity on when screen on {
Profile {
Event -> Display unlocked;
}
Task {
Net -> WiFi -> On;
Net -> Mobile Data -> On;
Net -> Auto-Sync -> On
}
}
Periodic connectivity toggle {
Profile {
Time -> Repeat every 30 min
+
State -> Variable value -> %SCREEN ~ Off
}
Task {
Net -> WiFi -> On;
Net -> Mobile Data -> On;
Net -> Auto-Sync -> On;
Task -> Wait -> 2 min;
Net -> WiFi -> Off;
Net -> Mobile Data -> Off;
Net -> Auto-Sync -> Off;
}
}
WiFi timeout after 1 min {
//Make sure you turn off beginner mode, open profile settings, and UNCHECK Restore Settings and Enforce Task Order for this one
Profile {
State -> WiFi connected (INVERT);
+
State -> Variable value -> %WIFI ~ On;
}
*Task* {
Task -> Wait -> 1 min;
Net -> WiFi -> Off;
}
Exit Task {
Task -> Stop -> *Task*;
}
}
Explanation: Basically, the profiles above turn off like connectivity one minute after your screen turns off, to avoid interruption, etc. Your phone radio stays you so you can still get calls and texts. When the screen is off, your phone will turn on all connectivity every 30 min and sync for 2 min. You can adjust this to your liking. When you unlock the screen, connectivity will turn on immediately. This is to avoid having the connectivity turn on if you are only checking the time on the lock screen or something. If you are in WiFi range, it won't use mobile data at all, as the phone maintains it accordingly. If wifi is disconnected for one minute, it will turn off. These Tasker profiles have roughly tripled my battery life.
If you all have any tweaks or Tasker profiles for our nerfed galaxies, by all means share them here!
thanks man, will check these out,
All i need is a way to by pass att tether restrictions and directly write to exsdcard and I may be able to live without root for a while...
I got wireless tethering working via Foxfi & bluetooth:
http://forum.xda-developers.com/showthread.php?t=2742017
This works on grandfathered unlimited data plans.
eddie.dean said:
directly write to exsdcard and I may be able to live without root for a while...
Click to expand...
Click to collapse
Seriously... these SD card restrictions are such bull****.
I just jumped off the ios bandwagon and got an android. I used to years ago play around with it and through this forum learned how to put it on my old windows phones. But so many years of being dumbed down by Apple I input these tables into my new Tasker app and have turn the profiles on and off to only receive a notification that says no active profiles. I am sure I did it wrong. Is it possible to upload the profiles so I can iMort them to compare what I messed up?
No you're probably doing it correctly, there are no active profiles because the tasks only happen when the screen if turned off or unlocked, and both actions take a split second. Where if you change from an event to a state trigger, you should have an active profile most likely.
I took newsstand or w.e it's called off and did art along with removed double click home for s voice and it's night and day fast. I can now wait for root without pulling my hair out...
Just to throw it out there has anyone tried to change the build prop to make the bootloader think it's a t-mobile phone instead of att?
Sent from my SAMSUNG-SM-G900A using XDA Premium HD app
I hope root comes out soon. Too much bloatware.
mep1127 said:
I hope root comes out soon. Too much bloatware.
Click to expand...
Click to collapse
Indeed. We desperately need it.
eddie.dean said:
thanks man, will check these out,
All i need is a way to by pass att tether restrictions and directly write to exsdcard and I may be able to live without root for a while...
Click to expand...
Click to collapse
Clockworkmod tether works great without root.
Sent from my SAMSUNG-SM-G900A using XDA Premium 4 mobile app
Related
Some of this advice is based upon our current understanding of bugs in CM9 and how to best workaround causes of battery drain until the developers are able to fix their causes. If you have suggestions for further improve this guide, please reply.
Power Saving Options
Google Talk is logged in by default.
You probably did not want this? Go into the Talk app, hit Menu button and Sign Out.
Turn off haptic feedback and touch sounds
By default the phone vibrates when you touch menu options or type on the onscreen keyboard. Vibration uses a lot of power. Sounds when you touch the screen also use a little power.
- Settings > Sound > scroll down to System
Dial pad touch tones - many users like it, others turn it off so it is silent when dialing the phone to avoid bothering other people.
Touch sounds - default touch sound is very subtle so many choose to keep it. You can save a little power if you turn it off
Screen lock sound - also subtle, I personally keep it.
Vibrate on touch - strongly recommend to turn this off if you want to maximize battery life.
- Settings > Language & input > Android keyboard > toggles to the right of it
Vibrate on keypress - turn this off to maximize battery.
Alternatively, you can make the vibration much smaller in Advanced settings near the bottom. Keypress vibration duration settings of 5ms is nice. It is a tiny reaction you can feel from pressing an onscreen keyboard button.
Turn off LED Notifications
- Settings > Display > Pulse notification light
Blinking LED notifications are nice. Unfortunately, the Epic CPU is unable to sleep while blinking the LED because it relies on software timers. For this reason, it is strongly recommended that you turn off LED notifications entirely if you wish to maximize battery life. As measured by CPU Spy, maximum CPU deep sleep can jump from 65% to over 95% with this option turned off. You can still hear the notification chime and vibration when you have an incoming message.
- Settings > Display > Pulse low battery light
You may also want to turn this off for the same reason. If you do not, the battery will drain even faster when the battery is already low.
Put Wifi to Sleep while phone is sleeping
- Settings > Wifi (touch the icon on the left) > Menu button > Advanced > Keep Wi-fi on during sleep
Strongly recommended to choose Only when plugged in. The behavior of this option is different from Gingerbread. Rather than turning off the wifi, CM9 instead seems to put it into a semi-sleep state. Data is turned off, but it can recover very quickly when needed. If you want Wifi to turn off entirely, Juice Defender Plus or Ultimate edition is capable of controlling Wifi sleep states while the screen is off. It is uncertain if Juice Defender disabled Wifi really uses less power than semi-sleeping Wifi as set by CM9.
No Signal? Use Airplane mode
- Settings > Battery > Cell standby
If your Time without signal is a high percentage, then your phone's radio is using extra power trying to find a cell tower that does not exist. If you are in rural areas with weak or no cell signal, your phone uses significantly more power as it tries to find a cell tower. Enable airplane mode in order to conserve your battery until you return to civilization.
Turn off Facebook Notifications and Background Data
In the Facebook app, hit Menu > Settings. Uncheck Notifications, and it also turns off background data refresh. This allows Facebook to fully close instead of always running in the background draining your battery and using some previous RAM.
If you want Facebook and its background service to die completely, use this procedure.
- Settings > Developer options > Kill app back button > Enable
From now on, when you are done using Facebook, hold down the Back button. This will completely kill Facebook until you run it again.
Turn off Data and Sync when you do not need it.
Different types of users
Why should your phone be busy while the screen is off?
Juice Defender - understanding the benefits and drawbacks
Reduce the number of applications that start automatically.
Apps you install will sometimes (and in most cases) have triggering events to start those applications in the background when certain events are triggered. In most cases, it is safe to disable that app from automatically triggering and instead launch that app when you want it as you normally would. By reducing the starting of applications, I have found that I also save battery because, well, my phone is doing less work and less work equals more battery.
I have seen some apps autostart even though you have disabled autostart events for that app (unclear yet why that's happening). If you find that is the case, and you want to stop it from running, try moving that app to the SD card using a program such as DroidSail along with disabling events. Why? Apps on SD cards at present do not receive the on_boot_complete event. Please note, this may break some functionality such as widgets.
In order to decide what to disable, you need to understand how you will use the app and whether you need it to run in the background. You can use an app such as Autostarts to control the startup on Android (At the writing of this it costs $1.03 USD).
When selecting apps to disable autostarting in Autostarts, stay clear of ones highlighted in Yellow as they are system apps.
- Look for these key events:
After Startup
Connectivity Changed
Other events can also be disabled but remember, by disabling events that start apps, you can be breaking the functionality that the app gives you. For example, disabling ‘after startup’ on an app such as AdAway will render the webserver that runs as part of that application to not run on boot. Be smart, but disable what makes sense.
If something doesn’t work right and you are not sure what you disabled for that app, simply uninstall it and reinstall it.
Stop syncing things that you don’t use regularly.
You can always manually sync them when you need them.
Access the menu here: Menu -> System Settings -> Accounts and Sync
For example, I use Gmail, Google Contacts, Google Calendar, and Google Browser regularly so I let that sync. I disable Google Currents, Google Docs, and Google Chrome Beta because I rarely use them. When I want to use them (once every couple weeks), I start the app and sync them manually.
Source: Cyanogenmod Epic 4G
Great guide ... congrats to Original Poster: wtogami
THANK YOU!
Re: [GUIDE][CM9] Battery Optimization
Finally, someone with a little bit of sense, even on the N4 I use most of those tips and get 2 days of battery with moderate use.
Enviado desde mi Nexus 4 usando Tapatalk
Very good man. Thank you.
What about Greenify?
underskyzx said:
What about Greenify?
Click to expand...
Click to collapse
I have been using it from a month, but I have not noticed any improvement or usefulness with Greenify
sekhar13515 said:
I have been using it from a month, but I have not noticed any improvement or usefulness with Greenify
Click to expand...
Click to collapse
Here it seems to do miracles, lots of persistent services that refuse to close (e.g Poweramp in my case) are automatically hibernated with Greenify.
Hello guys, I want to try to help everyone who has problems with battery life and performance.
First of all, I want to say that you shouldnt have any problems if you use your device in a normal way(calling ,social networking apps, playing light games etc)
A SOT of around 4-5h on mobile network or a SOT of 5-6h on WiFi is really good and in my opinion normal and you shouldnt need to worry about. Over night while you are sleeping (8h for example) your battery shouldnt drain more than 3-5%.
If you have much less SOT or much more battery drain over night, you should read the following steps and try them.
(I can tell you that my OP3 never drains more than 3-4% over night and I have no problem getting 4-5h SOT on mobile network or 5-6h or even more on WiFi use only. I have to say I dont use Facebook or twitter for example, but I have my Bluetooth always turned on because i use a mi band)
Please try the following steps and tell me if it did help you. (Please choose one option in the pool)
1. Activate doze mode and aggressive doze mode in developer options and change the animation scale
- Go into settings -> developer options -> Doze mode -> activate it
- Go into Settings ->Battery ->3 Dots Menu ->Agressive doze & app hibernation ->Tap the slider and activate for apps
- Go into settings -> developer Options -> Window Animation scale/Transitions Animation scale/Animator duration scale -> set them to .5x or even off
2. Install Greenify from Google Play Store and activate it
Activate it for every app you can, except for apps with a little blue cloud as they need to work in background to sync data. (WhatsApp for example)
3. Wipe cache after every update and from time to time (I recommend once a week)
Turn off your phone -> hold power button and volume down button -> release the power when your phone turns on -> select english by pressing the volume down button and then the power button -> go to wipe cache and data -> select cache (and nothing else!) and press the power button -> reboot now
4. Turn off potential power hogs you dont necessarily need
- For example turn off Bluetooth, GPS Location and Location history, Mobile Data if not in use, WiFi if not in use and NFC -> you can find them in settings under their name
- Also turn off things like gestures in settings: Go into settings -> Gestures -> turn them off
5. Use pocket mode
Settings -> Advanced -> Pocket Mode
6. Turn off Android Device Manager and Google Now Cards
- Settings -> Security & Fingerprint -> Device Administrators -> Android Device-Manager -> turn it off
- Open your Google App -> Settings -> Your Feed -> Turn off Feed
7. Configure your WiFi
- Settings -> Wifi -> tap the gear symbol -> turn off "Scanning always available"
- You can also turn off "Keep wifi on during sleep" but i dont recommend it as apps like WhatsApp will only receive messages when you turn your screen back on!
8. Use adaptive brightness
Use the little "A" in the dropdown settings menu next to your screen brigthness bar
9. Use a Browser that is developed for Snapdragon devices
I recommend using Gello Mod or TugaBrowser as they are developed especaily for using with a device with a snapdragon CPU to save battery -> just search for them in Google
10. Disable permissions of apps
Try disabling permissions of apps if possible. This should prevent apps from using your internet connection and staying in background keeping your CPU awake. Please be aware that some specific apps need some specific rights to work properly. Use the try and error method here.
11. If u have custom recovery installed you can use custom kernels such as ex kernel ,boeffla kernel, blu spark etc for better battery and performance.
Link to ex kernel
https://forum.xda-developers.com/oneplus-3/development/kernel-elementalx-op3-0-01-t3404879
Link to boeffla kernel
https://forum.xda-developers.com/oneplus-3/development/kernel-boeffla-kernel-xx-09-2016-t3455467
Link to blu spark kernel
https://forum.xda-developers.com/oneplus-3/development/kernel-t3404970
12.AKT are is another way to save battery and performance tweaks.(requires root)
Link to thread of AKT
https://forum.xda-developers.com/oneplus-3/how-to/advanced-interactive-governor-tweaks-t3476589
13.Have a look at this thread too
https://forum.xda-developers.com/oneplus-3/how-to/potential-fix-cpu-battery-drain-aosp-t3543369
If you follow these 10(Normal everyone can do)+3(require twrp/root) simple steps you should not have any problems with battery life or performance.
If you need any further help please ask and please share your suggestions and results!
Source one plus forums , XDA and me
This is a big guide and it's worth reading
Hit the thanks button if this helps:good:
These tips are like from 2010 which you come across random articles from web.. I thought you would post something new...
Also 3h sot on mobile network... I have used couple of phones past year never got such a bad backup on any of them..
Really stupid article.
For OB9 and above, what i have found that if you are using both greenify and aggressive doze, battery would drain like hell, Android System used to be always on top of stats with 25-30% of drain. Disabling aggressive doze and just using greenify solved this issue, and now Android System is back to normal.
pls guys, he trying to help .
if it works thanks him, if not find other tips
dont be so rude :fingers-crossed:
Sent from my OnePlus3 using XDA Labs
Wipeing is not necessary if not dump cause the phone has to build it up again and will use resources for that.
Thanks man, in my opinion, it's a good guide for beginners I'm not a beginner, I've just created a new user name
Thanks for sharing all these tips and references. As some mentioned I'd refrain or at least keep greenify as a last resort. Cheers
Hey, I've been tinkering for a few days with Tasker (begginer here) and I finally managed to do what I wanted when I installed it, that is turning WiFi or mobile data on for a few seconds every few minutes when the screen is off. I tested the battery drain with this task and after a full charge on my Huawei P9 lite, I managed to obtain 48 hours of battery life with 10 hours of usage.
Before anything else, this profile only works with Nougat. Marshmallow apparently doesn't allow apps to wake the device when it enters doze, even If I excluded Tasker and all the other apps I needed from doze. Nougat has a softer doze and it works great.
So, before you start, there are several requirements:
1. Tasker
2. Secure Settings plugin (for gps disabling and other stuff) - optionally
3. Taskkill (for killing processes when you turn the display off) - optionally
3. A rooted Nougat running phone
If you don't know how to root Nougat, there are several tutorials out there. Here's a small one for Huawei P9 Lite(mine runs on VNS-L21C432B370):
1. Revolution Recovery
2. Elite Kernel v5.1
3. PHH's Superuser
4. Adb and Fastboot drivers
5. Bootloader unlock code from huawei site (Tutorial)
6. USB drivers for your phone (just install HiSuite)
How to root Huawei P9 Lite Nougat:
- install adb and faastboot drivers
- use one of the methods to reboot to bootloader (i just reboot the phone with usb connected and hold volume down key)
- shift+right click where you have downloaded the recovery image, click "Open command window here" and type: fastboot oem unlock *insert bootloader unlock code here* and press enter
- after you unlocked your bootloader, from the same command window type: fastboot flash recovery revo_recovery.img
- reboot phone to recovery and install EliteKernel, after that wipe cache
- install PHH's Superuser from playstore and give Tasker, Secure Settings and Taskkill root permisions
Now for the Tasker profiles, small description:
Basically there are three profiles, one activates when the display is off, one after you unlock the display, and the third one does the magic. All the links are below.
Display Off profile with the Locked task does several things after you turn off the display:
- Sets variable LCD to 0 (you will se why in a minute)
- Sets Auto-Sync to off
- Turns off GPS (via Secure Settings plugin)
- several Taskkill actions (you can disable those if you want)
Display On profile with the WiFi On task does:
- Sets variable LCD to 1
- Turns on WiFi
- Waits 10 seconds
- If WiFi isn't connected turns of Mobile Data
- Turns on Auto-Sync
On-Off profile with Do task does the following every 2 minutes (change the value if you want or even set the hours between you want it active)
- If LCD~0 then
- Turn on WiFI
- Turn on Auto-Sync
- Waits 10 seconds
- If WiFi isn't connected then
- Turn on mobile data
- Wait 10 seconds
- Turn Wifi, Mobile Data and Auto-Sync off
Now go to Settings->Battery->Close apps after screen lock and allow Tasker, Secure Settings and maybe Superuser to run after you turn the screen off.
After that go to Settings->Apps press on the Settings icon on the bottom, go to Special Access->Ignore battery optimisation, press on the small arrow and select All apps, find Tasker, Secure Settinsg and maybe Superuser and allow them to stay active after doze.
You can customize the profile and add as many tasks as you like or play with the timers but I recommend not to alter the conditions for the profiles because some things won't work. This works 100%. Also, when I was researching, I found out you can monitor network usage and restrict the task from running if you have downloads in progress. I haven't implemented that, feel free to do the research and post the results.
And that's it. After this, enable all profiles and profit. Like I said, my average battery life is 48 hours and as long as nobody sends me important notifications that can't wait 2 minutes until I receive them, it's the best battery save trick I know.
Tasker profiles&tasks
Extract the archive and paste the files wherever. After that long press the Profiles and Tasks tabs in Tasker and import the XML files.
Let me know if it works for you.
Cheers.
Hey man, I'm going to tell you right now, this was a great post. The content was ok, but your style, your step by step instructions WITH reasons... remarkable.
Keep it up and you will be the tasker man, just based on your dedication.
Now if I may tweak your content?
Adding wait actions inside tasks is a battery destroyer and is bad taskering in general. Plus doing checks, waiting, checking etc... just hard to debug, hard to enjoy when you're leaving battery juice you could be saving.
Set a time context DO profile that runs every.... switch to variable . And the variable...name it something like %synccheck
Then on your screen off profile, set %synccheck to %TIMES+360 (the current time in secs, plus 5 min) this only runs on screen off.
Create a SCREEN ON profile, set %synccheck to %TIMES+120 (the current time in secs, plus 2 min) this only runs on screen on. SO 2 MIN IF SCREEN ON. 5 MIN IF SCREEN OFF.
(NOTE: I WOULDN'T put too much effort into checking whether on data or Wi-Fi. Under Wi-Fi settings, just disable "keep wifi on during sleep " and that lets the system handle disabling and reenabling when the screen comes on.
(Build a tasker task that enables Wi-Fi based on location and disables on it when you leave the Wi-Fi area...)
he current time is %synccheck. Since the current time can never be null, it will never run if the variable was cleared
Since in this example, it's set 5 min from now, the timing profile will run. The timing profile is the one that enables auto sync and whatever else you want to at a given time.
So there's no checking at all. If we clear the variable %synccheck then the profile never runs. The profile is only enabling auto sync and disabling on the exit task.
Hey, thanks for the reply. I am aware that my tasker knowledge is limited. I will take your tips into consideration and update my guide.
Cheers!
Hi
My P20Pro has latest firmware and I did set battery to manage the apps manually and keep them running in background, power saving mode is off.
But it does not change anything.
e.g. app Mapillary, which takes a picture every second, is killed after 20 sec
or oruxmaps to record a gps track, is killed after 1 min max, no gps track on device.
Anyone knows a way howto run a gps logger in background all the time without the need to keep the display on with this "no display off" apps?
echelon
echeloni2p said:
Hi
My P20Pro has latest firmware and I did set battery to manage the apps manually and keep them running in background, power saving mode is off.
But it does not change anything.
e.g. app Mapillary, which takes a picture every second, is killed after 20 sec
or oruxmaps to record a gps track, is killed after 1 min max, no gps track on device.
Anyone knows a way howto run a gps logger in background all the time without the need to keep the display on with this "no display off" apps?
echelon
Click to expand...
Click to collapse
Having similar issue with Strava tracker. Latest EMUI version 8.1.0.131.
Tracking is killed after aprox 3 km of bike ride and it's unable to use tracking app. Not sure what is reason but I suspect Huawei to be killing that app without proper reason.
Already tried all settings, nothing helped yet
--
Edit: I found one setting which looks promising: Settings > Apps & Notifications > Apps > Settings (bottom menu) > Special Access > Ignore Battery optimizations > STRAVA (Or your tracking app) > "Allow"
Going to test this setting tomorrow.
Hi,
I have set up the display timeout option with the settings below but it doesn't seem to work. I am using an oppo phone on Android 12.
Create a new task. Select the “+” button. Select “Display” followed by “Display timeout” Select the time span you want to set and then save. Now select “Profile” and click “+” and then “Applications” Mark the applications for which you want to activate this Tasker profile.
Then I open the app but after 15 seconds the screen turns off which is the default device screen timeout.
Is there no way to override this? Maybe get tasker to somehow keep interacting with the screen to keep it on?
I've tried this on a few apps and have got two different messages..
One says screen will stay on for 15 seconds which is the system screen time out.
Other says tasker will keep screen on but still times out after 15 seconds.
Really want this to work as some apps like games I don't want timing out after 15 seconds and I don't want to increase the system time to couple of mins for every app.
Hi,
I have the same problem on my OPPO A74 with Android 11 ((ColorOS Version V11.1). It seems impossible to create a task to change the screen time out; not in connection with a profile, shortcut or widget. The amazing thing, though - when you test the task in Tasker it works perfectly fine.
Media Volume, I think, also doesn't work. Other app connected profiles like autorotate or display brightness work well. I wanted to test more but I can't find the time.
I really miss the screen timeout though. It drains the battery too much to set it constantly to 15 minutes or so, but for some apps less simply is annoying.
The developer created some apk to help with some OPPO related problems, unfortunately, it didn't help with this one (sorry, I can't remember exactly what it was).
A kind of workaround: Once you've activated the Developer Options an your phone you can enable "Keep screen on while charging". When you need longer screen time, just plug into a charger.
But using a Tasker Profile would be much nicer.
Hope somebody knows a better trick.
Not sure if following could help your situation ( only for your gaming situation )
Create a new Profile, choose > apps > add your game apps in it. click left top arrow when finisning add gaming apps.
Tasker will pops-up task list > creat new task > Screen > Turn on.
** when above profile is complete , click the task when you are still in Profile list. Hold the task, it should pops-up with option exit task. Choose this as exit task.
Play around to see if this profile is working when gaming apps in foreground, screen never turn off.
EDIT: Try first not move the task as exit task. ( make the task as normal entry task )
eeeemc said:
Not sure if following could help your situation ( only for your gaming situation )
Create a new Profile, choose > apps > add your game apps in it. click left top arrow when finisning add gaming apps.
Tasker will pops-up task list > creat new task > Screen > Turn on.
** when above profile is complete , click the task when you are still in Profile list. Hold the task, it should pops-up with option exit task. Choose this as exit task.
Play around to see if this profile is working when gaming apps in foreground, screen never turn off.
Click to expand...
Click to collapse
Thanks for your reply.
Creating the profile is not the problem. It just seems that Tasker cannot change the system's setting. As mentioned, there is no problem when you create a profile allowing the screen to rotate using a speciffic app (and others as well ) I have no idea, why it does not work for the screen timeout.
Dreamcatcher0664 said:
Thanks for your reply.
Creating the profile is not the problem. It just seems that Tasker cannot change the system's setting. As mentioned, there is no problem when you create a profile allowing the screen to rotate using a speciffic app (and others as well ) I have no idea, why it does not work for the screen timeout.
Click to expand...
Click to collapse
I use no screen timeout, I use "screen turn on" in your situation as my op., enough I've not tried it on my Samsung A71.
eeeemc said:
I use no screen timeout, I use "screen turn on" in your situation as my op., enough I've not tried it on my Samsung A71.
Click to expand...
Click to collapse
"Display / turn on" works fine when I want the screen to turn on with a notification. But the screen turns dark after the system timeout has passed. I've also tried "Display / Stay On / with Wireless, AC or USB Power" and with the AutoInput Plugin "Screen Off Or On: Turn On / Timeout Never" but the screen always turns dark.
Those Profiles always worked on my other Smartphones (LG -D405, LG-K10 and Moto G6). I believe, it's the ColorOs that's causing the trouble.
Dreamcatcher0664 said:
"Display / turn on" works fine when I want the screen to turn on with a notification. But the screen turns dark after the system timeout has passed. I've also tried "Display / Stay On / with Wireless, AC or USB Power" and with the AutoInput Plugin "Screen Off Or On: Turn On / Timeout Never" but the screen always turns dark.
Those Profiles always worked on my other Smartphones (LG -D405, LG-K10 and Moto G6). I believe, it's the ColorOs that's causing the trouble.
Click to expand...
Click to collapse
below is a task ONLY FOR ROOTED DEVICE., no harm to try even if your's not root.
New task , run shell command , in the command input
there is a button 'use root' , check that button also.
settings put system screen_off_timeout 200000
** 200000 I'm not sure sure equals to how many second., just give it a try and if you get a longer screen on time from your issue it means it is working.
also, make another separate task, search for 'custom setting'. look up from there I thingk it is in system something about screen timeout.
EDIT: run shell command task suggest you run it manually., than see if it works. if not, restart device to check if it requires a restart in order to accept new timeout settings.
eeeemc said:
below is a task ONLY FOR ROOTED DEVICE., no harm to try even if your's not root.
New task , run shell command , in the command input
there is a button 'use root' , check that button also.
settings put system screen_off_timeout 200000
** 200000 I'm not sure sure equals to how many second., just give it a try and if you get a longer screen on time from your issue it means it is working.
also, make another separate task, search for 'custom setting'. look up from there I thingk it is in system something about screen timeout.
EDIT: run shell command task suggest you run it manually., than see if it works. if not, restart device to check if it requires a restart in order to accept new timeout settings.
Click to expand...
Click to collapse
I feel like I'm in Star Trek - "To boldly go, where no one has gone before" XD
When I try your suggestion, I only receive the message that my device isn't rooted.
Btw, for some tasks it is necessary to enable the Write Secure Setting Permission (f.e. Set Assistant), where xou have to setup ADB on your PC. Would such a procedure be registered by the phone as rooting? Anyway, I don't think I would dare to do something I know so little of.
Another solution I was thinking of, is it possible to create a tasker quick tile/ quick setting to change the system screen timeout.
So instead of having it change for certain apps which isn't working at the moment.
Maybe if we can change it from the system so will be for all apps. You can create two separate quick tiles to toggle between different screen timeout settings.
The newest version of Tasker (6.0.9) comes with Tasky.
Tasky offers the possibility to activate premade profiles. One of them is "Keep Display Awake For Apps". And that one works with my OPPO Phone.
I also tried "Auto-Mute Apps", another profile I couldn't get working. It also works fine.
To switch between Tasker and Tasky you just have to click on the "Three-Dots-Button" in the right top corner. It's not like switching apps but using different user interfaces.
Good luck!
- Sorry to say, but this seems to work for some apps and not for others. But at least sometimes it does work.
Thanks for replying back to this thread to inform me. I tried it and it works for the app I was trying to make it work for which is good! Makes it so much easier now.