Change keys light duration whit terminal.. - Samsung Galaxy S7 Edge Guides, News, & Discussion

Hello,
Small guide to change the soft key light duration.
Download emulator.
Open and grant permissions (su)
After this you have to digit
settings put system button_key_light 0
THIS FOR ALWAYS OFF..
IF YOU NEED ALWAYS ON DIGIT
settings put system button_key_light -1
NEED 1.5 SEC? NO PROBLEM DIGIT
settings put system button_key_light 1500
FOR 6 SEC
settings put system button_key_light 6000
NO OTHER ENTRY ARE AVAILABLE..
TESTED ON S7 EDGE..EXYNOS G935F..
If you share please enter the link of my post. thank you.

Also works well with Tasker and the run shell command. I have them disabled at night when reading as they are to bright. Didn't know about the different time settings.

Related

[for beginners]type your defualt tweaks you are using, i will build a cab with them

hi all
i saw there are many switching from a rom to another and they waste a long time to set their tweaks like clear type, start menu sound....etc
so, just list your tweaks needed, then you will have a cab file ready with your settings (type whatever you want ), i'm sure you will need this always .
i need a cab
my screen for wmp is flipped backwards on my 8125 can you make a cab to flip it back to default?
IronMan19 said:
my screen for wmp is flipped backwards on my 8125 can you make a cab to flip it back to default?
Click to expand...
Click to collapse
do you mean landscape and portrait!!!
I do these things:
Run P_Generic_Conn_Settings.CAB and P_Other_Conn_Settings.CAB in \extended_rom\ to install T-Mobile USA connection settings. These CABs are left in extended rom by install of official T-Mobile 2.26 WM5 prior to installing WM6 build.
Set Button 1 to <Start Menu>
Set Word Completion to suggest after 2 letters, suggest 4 words and not add a space after the word.
Set Ring type to "Vibrate and ring"
Enable Start Menu sounds with .reg file
Change the DeviceID
Set Backlight to brightest setting
Set Battery power to turn off backlight after 1 min and turn on when a button or screen is pressed.
Set External power to tun off backlight after 4 min and turn on when a button or screen is pressed.
Set to Display the clock on the title bar in all programs
Disable Microphone AGC
Set Battery power to turn off device after 2 min.
Set External power to tun off device after 5 min.
Set Regional settings to English (United States)
Set Time style to h:mm:ss tt (instead of hh:mm:ss tt)
Enable ClearType
Set Left Soft Key to "Outlook" to launch "\Windows\tmail.exe"
Configure PIE for "Fit To Screen" and Text Size = "Smaller"
Configure Camera to save to Storage Card, Disable Shutter Sound and don't Apply "Date and time stamp". Set Photo capture size to 1.3M (1280x1024)
Install my Apps:
SlingPlayer Mobile - configure for SlingPlayer
spbDiary - restore backed up settings from SD card
IM+ - configure ICQ/MSN/AIM accounts
Remote Desktop add-on (if not included)
Mocha VNC
Live Search
Remove Init_Tray.lnk from \Windows\Startup and other startup tray icons I don't use like Dr.Yar's, Battery Status, etc.
Configure Today screen and theme/background
Configure Menus to show the Apps I use (Apps installed + Internet Sharing and Total Commander)
Copy Favorites from SD card to \Windows\Favorites
Restore contacts using PIM Backup
Setup Exchange server/DirectPush options and sync
Configure my alarms that I use to wake up each morning including custom Alarm sound.
Setup some ringtone/wav file specific sound/notification options for New E-mail, Incoming calls and new text message.
OCGuy said:
I do these things:
Run P_Generic_Conn_Settings.CAB and P_Other_Conn_Settings.CAB in \extended_rom\ to install T-Mobile USA connection settings. These CABs are left in extended rom by install of official T-Mobile 2.26 WM5 prior to installing WM6 build. (give me the cabs)
Set Button 1 to <Start Menu> (which button, IE or inbox, or ...)
Set Word Completion to suggest after 2 letters, suggest 4 words and not add a space after the word.
Set Ring type to "Vibrate and ring"
Enable Start Menu sounds with .reg file
Change the DeviceID (to what??)
Set Backlight to brightest setting
Set Battery power to turn off backlight after 1 min and turn on when a button or screen is pressed.
Set External power to tun off backlight after 4 min and turn on when a button or screen is pressed.
Set to Display the clock on the title bar in all programs
Disable Microphone AGC
Set Battery power to turn off device after 2 min.
Set External power to tun off device after 5 min.
Set Regional settings to English (United States)
Set Time style to h:mm:ss tt (instead of hh:mm:ss tt)
Enable ClearType
Set Left Soft Key to "Outlook" to launch "\Windows\tmail.exe"
Configure PIE for "Fit To Screen" and Text Size = "Smaller"
Configure Camera to save to Storage Card, Disable Shutter Sound and don't Apply "Date and time stamp". Set Photo capture size to 1.3M (1280x1024)
(can't be done without the cabs)
Install my Apps:
SlingPlayer Mobile - configure for SlingPlayer
spbDiary - restore backed up settings from SD card
IM+ - configure ICQ/MSN/AIM accounts
Remote Desktop add-on (if not included)
Mocha VNC
Live Search
Remove Init_Tray.lnk from \Windows\Startup and other startup tray icons I don't use like Dr.Yar's, Battery Status, etc. (can't remove them using a cab)
(the rest can't be done)
Configure Today screen and theme/background
Configure Menus to show the Apps I use (Apps installed + Internet Sharing and Total Commander)
Copy Favorites from SD card to \Windows\Favorites
Restore contacts using PIM Backup
Setup Exchange server/DirectPush options and sync
Configure my alarms that I use to wake up each morning including custom Alarm sound.
Setup some ringtone/wav file specific sound/notification options for New E-mail, Incoming calls and new text message.
Click to expand...
Click to collapse
read the red words
Set Button 1 to <Start Menu> ( Done via Start/Settings/Buttons. On my MDA, it's the hardware button on the top left of the screen with the envelope picture on it.)
Change the DeviceID - I change it to <my name>Phone, but this is not that important... just listing ALL my steps
As for the Apps, I have the cabs on my SD card and they don't take that long to install. Mocha VNC requires a Windows installer so I have no CAB for it.
I also forgot about MS Voice Command - I install that as well.
T-Mobile cabs are attached
OCGuy said:
Change the DeviceID
Click to expand...
Click to collapse
Look in HKLM/Ident/ [Name] and [OrigName]
I have this on my phone so it does everything for me.
This is one hell of a help...
Here are my settings, based on the OCGuys post:
Set Button 1 to <Start Menu> (Inbox Button)
Set Word Completion to suggest after a space, suggest 4 words and add a space after the word.
Set Ring type to "Vibrate and ring"
Set Ring tone to Ring-Standard
Change the DeviceID to Gerard_PPC
Set Backlight to brightest setting
Set Battery power to turn off backlight after 30 secs and turn on when a button or screen is pressed.
Set External power to tun off backlight after 5 min and turn on when a button or screen is pressed.
Set to Display the clock on the title bar in all programs
Set Battery power to turn off device after 1 min.
Set External power to tun off device after 5 min.
Set Regional settings to Spanish (Dominican Republic)
Configure Camera to save to Storage Card, Disable Shutter Sound and Apply "Date and time stamp". Set Photo capture size to 1.3M (1280x1024)
Set Home Time Zone to GMT-4 Caracas, La Paz
Add a Net connection called OrangeNet, Modem (Cellular Line GPRS), Access Point (orangenet.com.do).
Set Wireless LAN Power Save Mode to (Best Performance)
Click to expand...
Click to collapse
If this can be done:
In Calendar prog:
Set Start in to Day View
Set 1st day of the week to Monday
Set Week View to 5-Day Week
Set to Show half hour slots
Dunno if the list is too long
TIA
a cab for IE Cache to SD
I know you have this covered in your rom but I allways have to change the values of the cache and cookies and history to save to SD when I install a new Rom.
also if you have it change the value in the email section to save attachment to SD also would be great
Thank you
Shoukran
I always use these powersave tweaks.. i'm not sure if you have already used them in 5.0...
Sweet
Hide sim contacts
HMCU\CONTROL PANEL\PHONE\ShowSim = 0
Enable Caps Indicator
HKCU\Control Panel\Keybd\EnableIndicator = 1
Disable Menu Animation
HKLM\System\GWE\Menu\AntiType = 0
Orig = 6
Allow the unsigned app from installing for everything.
HKEY_LOCAL_MACHINE\Security\Policies\Policies] Change value 0000101a = 1
Disable SMS sent notification
HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\SMSNoSentMsg = 1
These are the 5 I do with each rom.
landscape mde it is upside down
WMP landscape mode it is upside down
its right said:
hi all
i saw there are many switching from a rom to another and they waste a long time to set their tweaks like clear type, start menu sound....etc
so, just list your tweaks needed, then you will have a cab file ready with your settings (type whatever you want ), i'm sure you will need this always .
Click to expand...
Click to collapse
What do you want to build? A personal cab for everybody or some kind of wizard app?
Hi mate,
need a cab for moving mails to sd card, actually the following reg string.
--------1.CAB
[HKEY_LOCAL_MACHINE\System\Inbox\Settings]
"PropertyPath"="\Storage Card\Mail"
"AttachPath"="\storage card\mail\attachments"
--------2.CAB
[HKEY_CURRENT_USER\ControlPanel\Keybd]
"Locale"="0407"
cheers
irm
its right said:
hi all
i saw there are many switching from a rom to another and they waste a long time to set their tweaks like clear type, start menu sound....etc
so, just list your tweaks needed, then you will have a cab file ready with your settings (type whatever you want ), i'm sure you will need this always .
Click to expand...
Click to collapse
Hey its right,
Can you make a cab for me that places this image(attachment) into this directory:
Program Files/Slide2Unlock/GFX/Res/
Thnx in advance!
Gr. bram
ok guys, i will create cabs for the easiest settings, then i will do the rest.
just wait for your cab
bram_smulders said:
Hey its right,
Can you make a cab for me that places this image(attachment) into this directory:
Program Files/Slide2Unlock/GFX/Res/
Thnx in advance!
Gr. bram
Click to expand...
Click to collapse
attached, others are comming
4irm said:
Hi mate,
need a cab for moving mails to sd card, actually the following reg string.
--------1.CAB
[HKEY_LOCAL_MACHINE\System\Inbox\Settings]
"PropertyPath"="\Storage Card\Mail"
"AttachPath"="\storage card\mail\attachments"
--------2.CAB
[HKEY_CURRENT_USER\ControlPanel\Keybd]
"Locale"="0407"
cheers
irm
Click to expand...
Click to collapse
all attached
gdribot said:
Hide sim contacts
HMCU\CONTROL PANEL\PHONE\ShowSim = 0
Enable Caps Indicator
HKCU\Control Panel\Keybd\EnableIndicator = 1
Disable Menu Animation
HKLM\System\GWE\Menu\AntiType = 0
Orig = 6
Allow the unsigned app from installing for everything.
HKEY_LOCAL_MACHINE\Security\Policies\Policies] Change value 0000101a = 1
Disable SMS sent notification
HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\SMSNoSentMsg = 1
These are the 5 I do with each rom.
Click to expand...
Click to collapse
attached dude
tkdsl said:
I know you have this covered in your rom but I allways have to change the values of the cache and cookies and history to save to SD when I install a new Rom.
also if you have it change the value in the email section to save attachment to SD also would be great
Thank you
Shoukran
Click to expand...
Click to collapse
attached bro (the both)

Screenshot with Proximity Sensor

Hello, I am looking for an app that will use the proximity sensor on my phone to capture a screenshot. I tried one called quickscreenshot but it didnt seem to be supported on my phone. I also have tasker if anyone knows a profile to do this. Thanks!
R_Chin said:
Hello, I am looking for an app that will use the proximity sensor on my phone to capture a screenshot. I tried one called quickscreenshot but it didnt seem to be supported on my phone. I also have tasker if anyone knows a profile to do this. Thanks!
Click to expand...
Click to collapse
You just need a profile "ProxVar" with a task that checks if the proximity sensor is active and set a variable %PROX and one profile "ProxScreen" to react to this variable so it takes a screenshot. I would recommend to include the "wait" function (the part included in the [ ] brackets) to ensure that the screenshot task will only being activated if the proximity sensor is covered for one second to avoid accidential screenshots.
Profile: ProxVar
State: Proximity
Task: SetProx
Variable / SetVariable %PROX to 1
Exit Task: ResetProx
Variable / SetVariable %PROX to 0
Profile: ProxScreen
State: Variable %PROX = 1
Task: ScreenshotProx
[Task / Wait 1 Second]
Task / If %PROX Matches *, 1,*
-> take screenshot
I take a screenshot by using the Secure Settings plugin for Tasker and chose "Actions" -> "Execute Shortcut" -> "Slim Shortcuts" -> "Screenshot"
orville87 said:
You just need a profile "ProxVar" with a task that checks if the proximity sensor is active and set a variable %PROX and one profile "ProxScreen" to react to this variable so it takes a screenshot. I would recommend to include the "wait" function (the part included in the [ ] brackets) to ensure that the screenshot task will only being activated if the proximity sensor is covered for one second to avoid accidential screenshots.
Profile: ProxVar
State: Proximity
Task: SetProx
Variable / SetVariable %PROX to 1
Exit Task: ResetProx
Variable / SetVariable %PROX to 0
Profile: ProxScreen
State: Variable %PROX = 1
Task: ScreenshotProx
[Task / Wait 1 Second]
Task / If %PROX Matches *, 1,*
-> take screenshot
I take a screenshot by using the Secure Settings plugin for Tasker and chose "Actions" -> "Execute Shortcut" -> "Slim Shortcuts" -> "Screenshot"
Click to expand...
Click to collapse
Thanks you very much. I am trying this now. The only thing I am having trouble with is the secure settings and getting it to screenshot. When I went to execute shortcut I cannot find the slim shortcuts you are talking about for the screenshot.
R_Chin said:
Thanks you very much. I am trying this now. The only thing I am having trouble with is the secure settings and getting it to screenshot. When I went to execute shortcut I cannot find the slim shortcuts you are talking about for the screenshot.
Click to expand...
Click to collapse
Hmm, maybe this is part of my Custom ROM. Otherwise you could run a command to execute the screenshot. As I have no access to my PC right now, I can't search for the corresponding command.
R_Chin said:
Thanks you very much. I am trying this now. The only thing I am having trouble with is the secure settings and getting it to screenshot. When I went to execute shortcut I cannot find the slim shortcuts you are talking about for the screenshot.
Click to expand...
Click to collapse
So, I found this plugin, which you can use to trigger a screenshot in Tasker.
R_Chin said:
Thanks you very much. I am trying this now. The only thing I am having trouble with is the secure settings and getting it to screenshot. When I went to execute shortcut I cannot find the slim shortcuts you are talking about for the screenshot.
Click to expand...
Click to collapse
Okay, if the above linked app does not work, you can set up a task that runs a shell command to take the screenshot (which would be the far more easier way as no additional app is required). The command for this is
Code:
/system/bin/screencap -p %filename
where "%filename" is a variable describing the path to the folder (plus a variable name, depending on date/time for example) where the screenshot should be stored. For me, this would be
Code:
/system/bin/screencap -p /storage/emulated/0/Pictures/Screenshots/Screenshot_%DATE%TIME.png
This method will take a screenshot, but wouldn't show you the "Screenshot captured" notification. But you can add a toast notification to indicate that the screenshot has been captured by adding Alarm -> Flash to the screenshot task and enter something like "Screenshot captured" as a toast title.
I hope that I was able to help you set up your proximity-screenshot profile for Tasker
Decided to put this instructions into one big post.
You have to set up two profiles, one for checking if the proximity sensor is currently covered and another profile to execute the task for screenshot capturing.
The first profile ProxVar uses a task called SetProx, which will set a variable %PROX to 1 if the proximity sensor is covered and an exit task ResetProx to reset %PROX to 0 if it is no longer covered. It will also abort the task ScreenshotProx for screenshot capturing, in case that the proximity sensor has been covered by accident. You might also add another state Display On to trigger this profile only when your device's screen is turned on to prevent Tasker from taking countless screenshots when your device is in your pocket.
Profile: ProxVar
State: Proximity
State: Display On
Task: SetProx
Variable / SetVariable %PROX to 1
Exit Task: ResetProx
Variable / SetVariable %PROX to 0
Task / Stopp Task ScreenshotProx
The second profile will react to the %PROX variable. In case %PROX matches 1, its corresponding task ScreenshotProx will start by waiting one second and check again, if the proximity sensor is covered by checking the %PROX variable again. If %PROX is still 1, it will run the shell command to execute the screenshot capturing and save it to the specified folder (/Pictures/Screenshots in your internal memory) with the current date and time in its name. Afterwards, it will display a short toast notification to verify that the screenshot has successfully been captured.
Profile: ProxScreen
State: Variable %PROX = 1
Task: ScreenshotProx
Task / Wait 1 Second
Task / If %PROX Matches *, 1,*
Code / Run Shell
Code:
/system/bin/screencap -p /storage/emulated/0/Pictures/Screenshots/Screenshot_%DATE%TIME.png
Alarm / Flash "Screenshot captured"
Task / End If
In case you want to change the target folder for the screenshots to be saved, you can use any file manager to determine the path of the desired folder and enter it into the above stated shell command.
orville87 said:
You just need a profile "ProxVar" with a task that checks if the proximity sensor is active and set a variable %PROX and one profile "ProxScreen" to react to this variable so it takes a screenshot. I would recommend to include the "wait" function (the part included in the [ ] brackets) to ensure that the screenshot task will only being activated if the proximity sensor is covered for one second to avoid accidential screenshots.
Profile: ProxVar
State: Proximity
Task: SetProx
Variable / SetVariable %PROX to 1
Exit Task: ResetProx
Variable / SetVariable %PROX to 0
Profile: ProxScreen
State: Variable %PROX = 1
Task: ScreenshotProx
[Task / Wait 1 Second]
Task / If %PROX Matches *, 1,*
-> take screenshot
I take a screenshot by using the Secure Settings plugin for Tasker and chose "Actions" -> "Execute Shortcut" -> "Slim Shortcuts" -> "Screenshot"
Click to expand...
Click to collapse
orville87 said:
Okay, if the above linked app does not work, you can set up a task that runs a shell command to take the screenshot (which would be the far more easier way as no additional app is required). The command for this is
Code:
/system/bin/screencap -p %filename
where "%filename" is a variable describing the path to the folder (plus a variable name, depending on date/time for example) where the screenshot should be stored. For me, this would be
Code:
/system/bin/screencap -p /storage/emulated/0/Pictures/Screenshots/Screenshot_%DATE%TIME.png
This method will take a screenshot, but wouldn't show you the "Screenshot captured" notification. But you can add a toast notification to indicate that the screenshot has been captured by adding Alarm -> Flash to the screenshot task and enter something like "Screenshot captured" as a toast title.
I hope that I was able to help you set up your proximity-screenshot profile for Tasker
Click to expand...
Click to collapse
Thank you so much. The app works great. I tried the code just to test and it didn't seem to work. Thanks so much!
orville87 said:
Okay, if the above linked app does not work, you can set up a task that runs a shell command to take the screenshot (which would be the far more easier way as no additional app is required). The command for this is
Code:
/system/bin/screencap -p %filename
where "%filename" is a variable describing the path to the folder (plus a variable name, depending on date/time for example) where the screenshot should be stored. For me, this would be
Code:
/system/bin/screencap -p /storage/emulated/0/Pictures/Screenshots/Screenshot_%DATE%TIME.png
This method will take a screenshot, but wouldn't show you the "Screenshot captured" notification. But you can add a toast notification to indicate that the screenshot has been captured by adding Alarm -> Flash to the screenshot task and enter something like "Screenshot captured" as a toast title.
I hope that I was able to help you set up your proximity-screenshot profile for Tasker
Click to expand...
Click to collapse
So the app doesn't actually work as I though. I'm gonna try the code. So I just go code and then shell command. And put it in there?
R_Chin said:
So the app doesn't actually work as I though. I'm gonna try the code. So I just go code and then shell command. And put it in there?
Click to expand...
Click to collapse
Yes, when you select the shell command you just put this command line there. Ensure that the folder Screenshots exists inside of the folder Pictures on your internal storage. Otherwise it won't work. And you need root access to execute this command, so check the "Use root" box.
orville87 said:
Okay, if the above linked app does not work, you can set up a task that runs a shell command to take the screenshot (which would be the far more easier way as no additional app is required). The command for this is
Code:
/system/bin/screencap -p %filename
where "%filename" is a variable describing the path to the folder (plus a variable name, depending on date/time for example) where the screenshot should be stored. For me, this would be
Code:
/system/bin/screencap -p /storage/emulated/0/Pictures/Screenshots/Screenshot_%DATE%TIME.png
This method will take a screenshot, but wouldn't show you the "Screenshot captured" notification. But you can add a toast notification to indicate that the screenshot has been captured by adding Alarm -> Flash to the screenshot task and enter something like "Screenshot captured" as a toast title.
I hope that I was able to help you set up your proximity-screenshot profile for Tasker
Click to expand...
Click to collapse
orville87 said:
Yes, when you select the shell command you just put this command line there. Ensure that the folder Screenshots exists inside of the folder Pictures on your internal storage. Otherwise it won't work. And you need root access to execute this command, so check the "Use root" box.
Click to expand...
Click to collapse
So I put the command in and I have root and I ran the shell with a pop-up after to make sure the shell ran all the way through which it said it did. But when I checked my photos there was nothing there and I have the folder which it should be trying to save to. Any ideas?
R_Chin said:
So I put the command in and I have root and I ran the shell with a pop-up after to make sure the shell ran all the way through which it said it did. But when I checked my photos there was nothing there and I have the folder which it should be trying to save to. Any ideas?
Click to expand...
Click to collapse
Could you check the path of the folder where you want to store the screenshots? Is it /storage/emulated/0/Pictures/Screenshots? Otherwise you have to use the path to your folder instead. For quick verification of the functionality of the task you can run the task from Tasker by clicking on the triangular symbol in the left corner when you have selected the ScreenshotProx task.
I assume you have granted super user access to Tasker via SuperSU or whatever super user app you are using.
orville87 said:
Could you check the path of the folder where you want to store the screenshots? Is it /storage/emulated/0/Pictures/Screenshots? Otherwise you have to use the path to your folder instead. For quick verification of the functionality of the task you can run the task from Tasker by clicking on the triangular symbol in the left corner when you have selected the ScreenshotProx task.
I assume you have granted super user access to Tasker via SuperSU or whatever super user app you are using.
Click to expand...
Click to collapse
Yes the file path is correct and tasker has permission. I went to run the screenshotprox and it went through everything gave the if task a green light but didn't go to the screenshot command
R_Chin said:
Yes the file path is correct and tasker has permission. I went to run the screenshotprox and it went through everything gave the if task a green light but didn't go to the screenshot command
Click to expand...
Click to collapse
I attached my setup. Please check if you have the same on your device.
The task ScreenshotCommand is the same as the ScreenshotProx.
Some German translations (IDK why Tasker had those commands in German with overall language set to English):
Shell ausführen = Run Shell
Popup-Benachrichtigung = Flash
orville87 said:
So, I found this plugin, which you can use to trigger a screenshot in Tasker.
Click to expand...
Click to collapse
orville87 said:
I attached my setup. Please check if you have the same on your device.
The task ScreenshotCommand is the same as the ScreenshotProx.
Some German translations (IDK why Tasker had those commands in German with overall language set to English):
Shell ausführen = Run Shell
Popup-Benachrichtigung = Flash
Click to expand...
Click to collapse
I just went through there were a couple things different but i changed everything to be like yours. I even went into the screenshotcommand task and played it and as my finger went over the sensor it turned the if statement to green and then back to red when removing my finger, it just doesnt take the screenshot. If i run the proxset manually then run the screenshotcommand it will go through everything and give a toast notification but then no pciture. I am going to try and change the path so it just goes in my pictures instead of a sub folder.
R_Chin said:
I just went through there were a couple things different but i changed everything to be like yours. I even went into the screenshotcommand task and played it and as my finger went over the sensor it turned the if statement to green and then back to red when removing my finger, it just doesnt take the screenshot. If i run the proxset manually then run the screenshotcommand it will go through everything and give a toast notification but then no pciture. I am going to try and change the path so it just goes in my pictures instead of a sub folder.
Click to expand...
Click to collapse
Hmm, maybe you have to cover the proximity sensor a little bit longer.
orville87 said:
Hmm, maybe you have to cover the proximity sensor a little bit longer.
Click to expand...
Click to collapse
Correction upon inspecting my files via root explorer i noticed it is taking the screenshots. It just isnt showing up in the gallery. Any idea. And also in tasker it doesnt seem to be running the SetProx task all the time. Like the profile isnt green.
R_Chin said:
Correction upon inspecting my files via root explorer i noticed it is taking the screenshots. It just isnt showing up in the gallery. Any idea. And also in tasker it doesnt seem to be running the SetProx task all the time. Like the profile isnt green.
Click to expand...
Click to collapse
Okay, so it is capturing the screenshots. Good. Maybe you have disabled the media scanner for your device or put a .noMedia file into the Screenshots folder, thus the screenshots are not shown in your gallery.
The SetProx task will only been triggered if you cover the proximity sensor due to the fact that it reacts to the state Proximity, which is only being activated when the proximity sensor is covered. Try covering the proximity sensor while in the Profile section of Tasker and you may see that the ProxVar profile's name will turn green.
R_Chin said:
Correction upon inspecting my files via root explorer i noticed it is taking the screenshots. It just isnt showing up in the gallery. Any idea. And also in tasker it doesnt seem to be running the SetProx task all the time. Like the profile isnt green.
Click to expand...
Click to collapse
if u guys need a app for this , maybe i can code one using all the useful u guys have provided in the post, would you guys be interested in such a app??
orville87 said:
Hmm, maybe you have to cover the proximity sensor a little bit longer.
Click to expand...
Click to collapse
orville87 said:
Okay, so it is capturing the screenshots. Good. Maybe you have disabled the media scanner for your device or put a .noMedia file into the Screenshots folder, thus the screenshots are not shown in your gallery.
The SetProx profile will only being triggered if you cover the proximity sensor due to the fact that it reacts to the state Proximity, which is only being activated when the proximity sensor is covered. Try covering the proximity sensor while in the Profile section of Tasker and you may see that the profile's name will turn green.
Click to expand...
Click to collapse
So how would i fix the media scanner so that it shows in my gallery. And yea i realized after i said that it was because i wasnt activating it haha. Also thank you so much for your help, you are helping me understand tasker more as i am semi new and also I hated taking screenshots with the buttons.

Android Q- cannot disable "dark mode"

This is on by default in Android Q Beta 1 and can't be disabled as far as I know. I've checked everywhere and developer options. Anyone notice the same?
I read in a lot of posts that there is no toggle in DP1, you have to run an adb command.
If you're familiar with tasker, you can just create a quick toggle that runs those commands easily.
you can also factory reset. If you factory reset, you can turn on system wide dark mode by turning on battery saver.
Have you tried to turn off the battery saver option?
Go to the play store and download "settings database editor"
Open it and open the drop down menu that says system table and select secure table.
Then find ui_night_mode in the big list tap it and select edit value and set it to 0, 1, or 2. 0 = Auto mode 1 = always bright mode 2 = always dark mode.
StykerB said:
Go to the play store and download "settings database editor"
Open it and open the drop down menu that says system table and select secure table.
Then find ui_night_mode in the big list tap it and select edit value and set it to 0, 1, or 2. 0 = Auto mode 1 = always bright mode 2 = always dark mode.
Click to expand...
Click to collapse
I haven't this parameter in my pixel 3 under Android Q.
I have search on other table and same
titof174 said:
I haven't this parameter in my pixel 3 under Android Q.
I have search on other table and same
Click to expand...
Click to collapse
Have the same issue...can't find the value in the table.
Installed Q over the air with not activated "darkmode"
Gordietm said:
You can toggle dark mode with this:
https://www-xda--developers-com.cdn...a-developers.com/android-q-toggle-dark-theme/
Click to expand...
Click to collapse
This trick was working

How to change polling rate with adb?

Using commands adb shell settings put system peak_refresh_rate and adb shell settings put system min_refresh_rate caps your refresh rate to the highest possible and lowest possible number to your liking, however is there a command that does this with sampling rate? adb shell settings put system peak_polling_rate for example does nothing.

S905X4 Mediabox - Switch/Force apps to run in TV layout

Hey everyone! We've bought a lot of Android mediaboxes with Amlogic S905X4. Unfortunately, all of them came without an "AndroidTV emulation", thus all of the apps are running in a tablet layout and expects a touchsreen, while all that we have is a tv remote (As you can imagine, highly impractical). The mediabox is rooted. Is there a way to force apps to run in TV layout? Thanks for the answers!
It's possible to override the default screen orientation by disabling accelerometer rotation and setting user rotation in the system settings database.
On Android console you enter the commands
Code:
su
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
insert into system (name,value) values('accelerometer_rotation',0);
insert into system (name,value) values('user_rotation',1);
.exit
Info:
user_rotation 0 -> ROTATION_0
user_rotation 1 -> ROTATION_180
user_rotation 2 -> ROTATION_270
user_rotation 3 -> ROTATION_90
xXx yYy said:
It's possible to override the default screen orientation by disabling accelerometer rotation and setting user rotation in the system settings database.
On Android console you enter the commands
Code:
su
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
insert into system (name,value) values('accelerometer_rotation',0);
insert into system (name,value) values('user_rotation',1);
.exit
Info:
user_rotation 0 -> ROTATION_0
user_rotation 1 -> ROTATION_180
user_rotation 2 -> ROTATION_270
user_rotation 3 -> ROTATION_90
Click to expand...
Click to collapse
Thanks for the answer, I haven't made myself clear - I'm not talking about screen rotation, the problem is that the app layout is set to "tablet", not "tv", so the app "expects" a touchscreen, while all that we have is a tv remote, thus highly impractical. Sorry for the confusion

Categories

Resources