flar2 has integrated high brightness mode into his awesome kernel! This thread is to show how to use tasker to enable high brightness mode automatically when the phone is in the sun. This is not my doing. I learned this with the great help from italia0101.
steps to follow
1. download and install elementalx version 1.02.
2. download and install high brightness mode widget (https://play.google.com/store/apps/d...bmwidget&hl=en)
3. Download and install tasker (https://play.google.com/store/apps/d....taskerm&hl=en)
4. Follow the steps below given to me by italia0101 to get tasker to execute high brightness mode in the sun
to get HBM to turn on.......
on the top row you have profiles and tasks ... profile is the trigger for the task to activate. firstly we need a task .
Make sure tasks is selected on the top , press the + and name it HBM
now press the + again and find " run shell"
in command type "echo 1 > /sys/devices/virtual/graphics/fb0/hbm" and tick " use root "
That's your task done
now go back and hit " profile " on the main page, its the first tab
press + ,, choose " state " , go to " variables " , then press " variable values "
on the left box type " %LIGHT , press the box with the wonky line in , change it to "greater than"
on the right put 450
now choose the HBM task
To get HBm to turn off.....
on the top row you have profiles and tasks ... profile is the trigger for the task to activate. firstly we need a task .
Make sure tasks is selected on the top , press the + and name it HBM off
now press the + again and find " run shell"
in command type "echo 0 > /sys/devices/virtual/graphics/fb0/hbm"
That's your task done
now go back and hit " profile " on the main page, its the first tab
press + ,, choose " state " , go to " variables " , then press " variable values "
on the left box type " %LIGHT , press the box with the wonky line in , change it to "less than"
on the right put 450
now choose the HBM off task
steps to follow
1. download and install elementalx version 1.02.
2. download and install high brightness mode widget (https://play.google.com/store/apps/d...bmwidget&hl=en)
3. Download and install tasker (https://play.google.com/store/apps/d....taskerm&hl=en)
4. Follow the steps below given to me by italia0101 to get tasker to execute high brightness mode in the sun
to get HBM to turn on.......
on the top row you have profiles and tasks ... profile is the trigger for the task to activate. firstly we need a task .
Make sure tasks is selected on the top , press the + and name it HBM
now press the + again and find " run shell"
in command type "echo 1 > /sys/devices/virtual/graphics/fb0/hbm" and tick " use root "
That's your task done
now go back and hit " profile " on the main page, its the first tab
press + ,, choose " state " , go to " variables " , then press " variable values "
on the left box type " %LIGHT , press the box with the wonky line in , change it to "greater than"
on the right put 450
now choose the HBM task
To get HBm to turn off.....
on the top row you have profiles and tasks ... profile is the trigger for the task to activate. firstly we need a task .
Make sure tasks is selected on the top , press the + and name it HBM off
now press the + again and find " run shell"
in command type "echo 0 > /sys/devices/virtual/graphics/fb0/hbm"
That's your task done
now go back and hit " profile " on the main page, its the first tab
press + ,, choose " state " , go to " variables " , then press " variable values "
on the left box type " %LIGHT , press the box with the wonky line in , change it to "less than"
on the right put 450
now choose the HBM off task
Download from this link
No comments:
Post a Comment