Hello,
How to make it possible to take a selfie and send that to the cloud every time when someone touches the lock screen.
Samsung note10 rooted.
Thanks.
IMHO means unauthorised use of one’s image.
Lock screen Help
For security purposes, if you only touch the screen on lockscreen a photo is taken by front cam and sent to the cloud, all these types of applications do such things but when entering the password only. How to do it, please help.
jbxr said:
For security purposes, if you only touch the screen on lockscreen a photo is taken by front cam and sent to the cloud, all these types of applications do such things but when entering the password only. How to do it, please help.
Click to expand...
Click to collapse
This is close what you are looking for, except the cloud.
https://play.google.com/store/apps/details?id=org.twinone.intruderselfie
As one-liner, just for the buttons, might need some adjusting to your device:
(make sure that the front camera is selected one)
while true; do toolbox getevent -c 1 /dev/input/event1 && am start -a android.media.action.STILL_IMAGE_CAMERA_SECURE && sleep 1 && input keyevent 27 && input keyevent 26; done
Click to expand...
Click to collapse
Pros: -
Cons: phone stolen/mashed
How about just keeping that thing near you...
Thanks but, I tried the Intruder Selfie, but I meant a solution not necessarily from the app store, because I will add that is about a rooted phone, wich is taking a photo or log with an entry about the event, not when entering the password wrong or good, but whenever when you contact/ touch/ swipe, or the screen somehow wakes up when the lock screen is active and send it to the cloud or store it outside the phone.
I would like to add that I have been looking for it for a long time and I must admit that it is a challenge for me, not just a need, and it is strange that there is no such thing yet.
If just logging is enough then you can find everything what has happened from android's own log I'm sure. How to filter things you're interested in? IDK...
By using getevent:
while true; do echo $(date) >> /sdcard/mylog.txt && toolbox getevent -l -q -c 1 >> /sdcard/mylog.txt; done
Click to expand...
Click to collapse
Photo would be better, but if there's a problem or is it impossible then just a log entry about a specific event, i.e. touching the screen when the lock screen is enabled, and sending it immediately to an e-mail or to the cloud. Sending it outside the phone is a must have not on sd.
/sdcard is usually your internal memory.
jbxr said:
Photo would be better.
Click to expand...
Click to collapse
There is all sort of spy|hidden|background cameras, but very few stay in PlayStore.
Here is one that says it's opensource, but where's the source?...
https://forum.xda-developers.com/showthread.php?t=1934513
Related
I'm really sensitive to the button backlight screen bleed on these phones. Here are two things which have helped me so far:
1. mVideoPlayer https://market.android.com/details?id=afzkl.development.mVideoPlayer&feature=search_result
This is the only video player I have found which disables the button backlight when playing in the dark.
2. Screen Filter https://market.android.com/details?id=com.haxor&feature=search_result
Allows you to disable the button backlight all together!!! Set the filter to 100% if you don't want it to dim your screen and the de-select the check box for soft-key backlight.
Ideally I would prefer to find an app which will timeout the capacitive back lighting but I have not been able to find one.
Dude... you just fixed my phone!
I used the screen filter app and it works perfect!
I mean those buttons are in the same place all the time why do they even need to be lit?
Thanks for sharing~
Turboboxer said:
Dude... you just fixed my phone!
I used the screen filter app and it works perfect!
I mean those buttons are in the same place all the time why do they even need to be lit?
Thanks for sharing~
Click to expand...
Click to collapse
I felt the same way
Thanks a lot that screen bleed is gone. Doesn't bother at all now. Never need the keys at the bottom to light anyways.
Sent from my HTC_Amaze_4G using xda premium
Tasker + Locale Execute Plug-in
OR
Tasker + Secure Settings (Recommended)
Secure Settings -> Market Link
Local Execute Plug-in -> Market Link
Tasker -> Market Link
There is a difference between the Market Version and Off market version -> http://tasker.dinglisch.net/faq-ov.html
Command to turn off softkeys backlight -> echo 0 > /sys/class/leds/button-backlight/brightness
For Locale Execute Plug-in, "@! echo 0 > /sys/class/leds/button-backlight/brightness" without the quotes
heyodee said:
Tasker + Locale Execute Plug-in
OR
Tasker + Secure Settings (Recommended)
Secure Settings -> Market Link
Local Execute Plug-in -> Market Link
Tasker -> Market Link
There is a difference between the Market Version and Off market version -> http://tasker.dinglisch.net/faq-ov.html
Command to turn off softkeys backlight -> echo 0 > /sys/class/leds/button-backlight/brightness
For Locale Execute Plug-in, "@! echo 0 > /sys/class/leds/button-backlight/brightness" without the quotes
Click to expand...
Click to collapse
Nice, but why spend the money if you only using it for that feature??? Couldn't you just run the echo from a Terminal?
vw671 said:
Nice, but why spend the money if you only using it for that feature??? Couldn't you just run the echo from a Terminal?
Click to expand...
Click to collapse
Tasker is arguably one of the best apps ever developed on android. Its feature extensive. A must have app for all android devices. Then again, that's my setup, tot i share
vw671 said:
Nice, but why spend the money if you only using it for that feature??? Couldn't you just run the echo from a Terminal?
Click to expand...
Click to collapse
Yes it can be tun straight from terminal emulator.
Code:
su
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 0333 /sys/class/leds/button-backlight/brightness
The second line makes the changes permanent until reboot. Otherwise locking the screen and unlocking again, as well as some other things, will turn the backlights back on again.
To undo the permanence, type this:
Code:
su
chmod 0647 /sys/class/leds/button-backlight/brightness
vw671 said:
I felt the same way
Click to expand...
Click to collapse
+1,000,000 and thanks OPoster for this!!!
the screen filter darkens it a lot..
Felinos11 said:
the screen filter darkens it a lot..
Click to expand...
Click to collapse
Set it to 100% to disable the filter.
Thank you!!! Great find! Now there's not a single flaw with my phone .
For some weird reason, after installing Screen Filter, I was unable to install a third-party application downloaded from the Internet, the Install button froze. Then after uninstalling Screen Filter everything went back to normal...
Just in case someone else bumps into the same problem
lgtsanev said:
For some weird reason, after installing Screen Filter, I was unable to install a third-party application downloaded from the Internet, the Install button froze. Then after uninstalling Screen Filter everything went back to normal...
Just in case someone else bumps into the same problem
Click to expand...
Click to collapse
have had trouble sideloading apps too
I just reboot when it happens
fixed the last 3 times. Seems to happen every couple of days for whatever reason
Awesome thanks a lot .. works great
lgtsanev said:
For some weird reason, after installing Screen Filter, I was unable to install a third-party application downloaded from the Internet, the Install button froze. Then after uninstalling Screen Filter everything went back to normal...
Just in case someone else bumps into the same problem
Click to expand...
Click to collapse
Just pull down the taskbar and click on the screen filter icon to disable it , and your apps should install like normal .
I have tasker and I just downloaded secure settings. However I am confused by your instructions. How do I set this up? Do I create a profile if so what profile? What type of task do I assign that profile? Sorry to sound like a tasker newbie but I am. I saw your post purchased tasker and tried to set it up but there is no clear cut way.
Sent from my HTC_Amaze_4G using XDA App
cirrob said:
I have tasker and I just downloaded secure settings. However I am confused by your instructions. How do I set this up? Do I create a profile if so what profile? What type of task do I assign that profile? Sorry to sound like a tasker newbie but I am. I saw your post purchased tasker and tried to set it up but there is no clear cut way.
Sent from my HTC_Amaze_4G using XDA App
Click to expand...
Click to collapse
Create New Profile -> Softkeys Light
First Context -> Event -> Display -> Display ON
**The Task should pop up**
Add New -> Plugin -> Secure Setting -> Run Command ( from dropdown)
Use Root (Checked)
Command Name (backlight) or whateva
Command is
chmod 644 /sys/class/leds/button-backlight/brightness (make file writable for chanages
echo 1 > /sys/class/leds/button-backlight/brightness (turn softkeys backlight on)
sleep 10 (wait 10 seconds)
echo 0 > /sys/class/leds/button-backlight/brightness (turn softkeys backlight off)
chmod 444 /sys/class/leds/button-backlight/brightness (make readonly to prevent changes by system)
Thats it, you can tweak however you like, or tell it to stay off when a particular app is running in Fore Ground stuff like that
***You could add a second context to the first So when you are in a bright environment, it doesn't come on
Second Context -> State -> Sensor -> Light Level --- Range (0-15)
Thanks! I will try this when I get home today. I appreciate your detailed and patient response.
Sent from my HTC_Amaze_4G using XDA App
OK I think I did something wrong. I created the profile just fine and then created the task by cutting and pasting the text of your command in the run command field of secure settings. Hit apply and nothing has changed.
Am I missing a step?
Sent from my HTC_Amaze_4G using XDA App
Apologies if this doesn't belong here. I have been searching for a solution for a few days now. A bit about what I am trying to do. I own a Pivos Xios android device. It is a set top box type thing for your tv. Unfortunately my tv is slightly older and is still vulnerable to the screen burning if a static image is left to long. It has no display timeout so none of the screen savers on the play store will work. I started to mess with Tasker to make my own, but there is no way to detect a screen touch event in Tasker to know when to toggle a screen saver.
I am a complete newb when it comes to scripting for android. I took a look at an app called script manager, it looks useful, but doesn't help me much right now. So I wonder if this is possible or not, but what I would like to do is have a script that senses when the touch events happen and then writes to a text file. It doesn't even have to write anything worth a value. Tasker can detect the change in the text file and trigger my screen saver event.
I found out that using getevent -lt /dev/input/event2 in a terminal gives me a nice list of all my touch events. Is there a simple way to use it for what I want? Is there anyone that could give me a code snippet to fulfill my needs? Or at the very least point me in the right direction?
Thanks for taking the time to read!
So I go into the dialer app, press *#0*# and nothing happens.
I decide to press call, it does, and I get a Verizon recording.
Tried a couple other codes I've found through google with the same result. What am I not understanding about the process?
Edit: It seems Verizon has a hand in this as well. Is there a VZW workaround or are we **** out of luck?
All those screens accessed via dialler codes can still be run if you have root (and some don't even need root). Which code did you want?
EDIT: The *#0*# code opens HwModuleTest.
If you adb or even a terminal app on your phone:
Code:
su
am start -n com.sec.android.app.hwmoduletest/.HwModuleTest
com.sec.android.app.hwmoduletest is the name of the package whilst .HwModuleTest is the name of the activity you want to run. Replace these with others you want to run (some don't even need root).
EDIT2: If the activity doesn't need root (for example the camera firmware check) it's even easier (quoting from my earlier post):
Do you mean you want to check which version of sensor you have? As in Samsung or Sony Sensor?
There are several ways, you don't even need root. The most user friendly way is via one of the many custom launchers on the Play Store.
Any launcher that allows you to run activities will do.
As an example I'll use the most popular one, Nova Launcher:
1) Long press on the homescreen.
2) Press on Widgets
3) Press on Activities
4) Scroll down to Camera Test
5) Press on CameraFirmware Standard (com.sec.android.app.camerafirmware.CameraFirmware ). If you long press it'll open up instead of creating a shortcut on the homescreen
6) Once open, click on ISP VER CHECK to check the version. The Rear Camera will start with SONY if a Sony sensor or SLSI if a Samsung sensor. The front camera will always be a Samsung so it'll start with SLSI.
Click to expand...
Click to collapse
much easier than doing
Code:
am start -n com.sec.factory.camera/com.sec.android.app.camerafirmware.CameraFirmware
I have made "Moto_LED_Blinker.prj.xml" file. See attached file.
This is a simple LED Blinker for the rooted Motorola Edge 20 Lite(Fusion)
"Moto_LED_Blinker.prj.xml" is a project file of "Tasker" for the blinking LED notification.
It is require "Tasker" for the running it.
The LED starts to blink by:
a phone calling.
a message of some messenger applications(Eg, WhatsApp, Signal, Telegram and so on).
a charging battery.
And the LED stops to blink when open an anpplicable application.
Moto_LED_Blinker.prj.xml is not a perfect.
However, it is so nice.
Please customize it for your device.
Regards!
this sounds great!
i've never used tasker before, can it be exported as a stand alone app so people without tasker can use it?
trevtdogg said:
this sounds great!
i've never used tasker before, can it be exported as a stand alone app so people without tasker can use it?
Click to expand...
Click to collapse
Techinical Iinformation:
Moto_LED_Blinker.prj.xml makes LED on and off by writting data to /sys/class/leds/charging/brightness.
This writing operation require the ROOT permission.
It is possible to export as a standalone application and people can execute the application without Tasker.
In this case, the standalone application have to be ran with the ROOT permission.
We need ROOTED device for the running the standalone application.
I have no plan to export the standalone application.
Because:
(1) There is no easy way to verify that the standalone application is secure by another person. This is a great chance to mix malicious code into the standalone application.
(2) The standalone application can not change a triggering application for the LED blinking.
(3) After all, the standalone application needs ROOT permission.
Regards,
TakaSZK said:
Techinical Iinformation:
Moto_LED_Blinker.prj.xml makes LED on and off by writting data to /sys/class/leds/charging/brightness.
This writing operation require the ROOT permission.
It is possible to export as a standalone application and people can execute the application without Tasker.
In this case, the standalone application have to be ran with the ROOT permission.
We need ROOTED device for the running the standalone application.
I have no plan to export the standalone application.
Because:
(1) There is no easy way to verify that the standalone application is secure by another person. This is a great chance to mix malicious code into the standalone application.
(2) The standalone application can not change a triggering application for the LED blinking.
(3) After all, the standalone application needs ROOT permission.
Regards,
Click to expand...
Click to collapse
Nice work
This reminds me.. I need to fix the flashlight toggle on pbrp.
Do you know which dir is for flash / torch?
I assume it'll be one of these 3.. Not had a chance to test
Code:
/sys/class/flashlight/mt-flash-led1
/sys/class/flashlight/mt-flash-led2
/sys/class/flashlight_core/flashlight
CFKod said:
Nice work
This reminds me.. I need to fix the flashlight toggle on pbrp.
Do you know which dir is for flash / torch?
I assume it'll be one of these 3.. Not had a chance to test
Code:
/sys/class/flashlight/mt-flash-led1
/sys/class/flashlight/mt-flash-led2
/sys/class/flashlight_core/flashlight
Click to expand...
Click to collapse
@CFKod
Hi,
I had confirmed in my Edge 20 Fusion.
I think that the torch is depend in /sys/class/flashlight/mt-flash-led1/ directory.
Because:
When the torch is OFF then follwing results.
:/ #
:/ # cat /sys/class/flashlight/mt-flash-led1/torch_brightness
12
:/ # cat /sys/class/flashlight/mt-flash-led1/mode
Off
:/ # cat /sys/class/flashlight/mt-flash-led2/torch_brightness
0
:/ # cat /sys/class/flashlight/mt-flash-led2/mode
Off
:/ #
When the torch is ON then follwing results.
the mode file of mt-flash-led1 says "Torch".
:/ #
:/ # cat /sys/class/flashlight/mt-flash-led1/torch_brightness
12
:/ # cat /sys/class/flashlight/mt-flash-led1/mode
Torch
:/ # cat /sys/class/flashlight/mt-flash-led2/torch_brightness
0
:/ # cat /sys/class/flashlight/mt-flash-led2/mode
Off
:/ #
I had tried to write "Off" and "Torch" into mode file.
It was failed. It so regrettable.
:/ #
:/ # echo Off > /sys/class/flashlight/mt-flash-led1/mode
: can't create /sys/class/flashlight/mt-flash-led1/mode: Permission denied
1|:/ #
1|:/ # echo Torch > /sys/class/flashlight/mt-flash-led1/mode
: can't create /sys/class/flashlight/mt-flash-led1/mode: Permission denied
1|:/ #
1|:/ #
Regards,
Does this mod use the white led over the top of the screen that lights up on the boot sequence?
xvivo said:
Does this mod use the white led over the top of the screen that lights up on the boot sequence?
Click to expand...
Click to collapse
Let's try below if you have rooted Edge 20 fusion. You can find which LED going ON ;-)
# echo 1 > /sys/class/leds/charging/brightness
# echo 0 > /sys/class/leds/charging/brightness
For anyone still wondering, it indeed uses the Led near the top grill.
It works well. Thanks.
I found my way around and customized it for my applications using the original application slots.
How to add more such slots?
Second question is that some apps pop up a temporary notification when they are checking for new messages (for example gmail, whatsapp). This notification triggers the script, but since it goes away, I check the phone and there is nothing there. I thought it was a bug until I found out what is happening from the "monitoring" option in tasker. Any way to stop these false alarms?
To answer my second question, I just added that it will trigger the led only if the display is off.
I also changed most off triggers to happen when the notification is cleared instead of needing to open the app.
In my case, I find a false alarm(false notifaction) in the history of notification and disable the false alarm.
> How to add more such slots?
I am very sorry. I have no answer because I don't know slot.
Good morning. Where can I find the procedure to import the file on tasker in my Edge 30 fusion? Thank you
Is it possible to detect fold/unfold using tasker? And then execute some tasks as a result?
lombrozo said:
Is it possible to detect fold/unfold using tasker? And then execute some tasks as a result?
Click to expand...
Click to collapse
Apparently it is by looking at the log; kaledh44 has worked it out.
see this thread;
Nova Launcher lock rotation brave toggle desktop-mode (Using Tasker)
Using Tasker to change the default launcher for OPPO FIND N, by canceling Oppo's method to enforce their launcher. -- Requirements 1- Tasker (paid ~3$). --- Autoinput (2$), for Brave desktop/phone mode auto switiching. 2- Launcher of your...
forum.xda-developers.com
In Tasker create a new profile choose Event and search for logcat entry.
>>>Fold
Component
OplusFoldingAngleManager
Filter
notifyFaceHallEventChanged status:3
>>>Unfold
Component
OplusFoldingAngleManager
Filter
notifyFaceHallEventChanged status:0
And create a task for it
Done
kaledh44 said:
In Tasker create a new profile choose Event and search for logcat entry.
>>>Fold
Component
OplusFoldingAngleManager
Filter
notifyFaceHallEventChanged status:3
>>>Unfold
Component
OplusFoldingAngleManager
Filter
notifyFaceHallEventChanged status:0
And create a task for it
Done
Click to expand...
Click to collapse
Amazing! Thanks!
@kaledh44 do you know if is possible to have Gmail and GMaps in phone mode also in the internal display?
Thank you
danilos2k said:
@kaledh44 do you know if is possible to have Gmail and GMaps in phone mode also in the internal display?
Thank you
Click to expand...
Click to collapse
by using shell command
(adb shell wm density 300)
The only problem that we dont have root access which is needed to run this command in tasker
This appears to have been changed since.
The above solutions no longer worked for me consistently on Galaxy Fold 4.
I managed to get it working with this: ( Tested only on Galaxy Fold 4 )
Folded / Closed: Logcat Entry
Component: DeviceStateProviderImpl
Filter: notifyDeviceStateChangedIfNeeded, newState=0
Unfolded / Opened: Logcat Entry
Component: DeviceStateProviderImpl
Filter: notifyDeviceStateChangedIfNeeded, newState=1
These events are executed once, as/when the inside screen turns on/off.