Flashlight/Torch toggle (similar to Moto) - Sony Xperia XZ1 Compact Themes, Apps, and Mods

I have a little app I assembled (using Tasker) to mimic the shake for flashlight/torch toggle functionality of the Moto phones; hope it's of use to others as well. I've only tested this on an Xperia XZ1 and XZ1 Compact, but I've been told it works on the Xperia X Compact (and possibly many other phones).
The first time it's run, the lamp goes on. From then on, one or two light "karate-chops" should toggle it on/off. Caveat: the screen must be on for the app to function.
The permissions dialog states it requires use of camera, but in reality it's only the camera LED.
http://kkef.org/FlashlightShake.01.apk
(Note to Moderator: Hopefully this is an appropriate place for the post.)

pseudonym58 said:
I have a little app I assembled (using Tasker) to mimic the shake for flashlight/torch toggle functionality of the Moto phones; hope it's of use to others as well. I've only tested this on an Xperia XZ1 and XZ1 Compact, but I've been told it works on the Xperia X Compact (and possibly many other phones)
Click to expand...
Click to collapse
Thanks, I will give it a go.
I really miss the Xposed torch, so this sounds ideal.
Good work.

pseudonym58 said:
...one or two light "karate-chops" should toggle it on/off. Caveat: the screen must be on for the app to function.
Click to expand...
Click to collapse
Thanks for sharing! I'm using this app:
Torchie (Access LED flashlight from the Volume buttons) - https://f-droid.org/app/in.blogspot.anselmbros.torchie

SGH-i200 said:
Thanks for sharing! I'm using this app:
Torchie (Access LED flashlight from the Volume buttons) - https://f-droid.org/app/in.blogspot.anselmbros.torchie
Click to expand...
Click to collapse
I wasn't aware of Torchie; always good to have choices! Thanks

Works great
with X Compact (stock ROM, Oreo), thanks!

Related

no lock (AOD) and nexus one flashlight?

Does anybody use these applications?
I ordered MT4 and I plan to install these:
no lock can wake up the phone by pressing ANY hard button
nexus one flashlight can use the phone's light.
mingkee said:
Does anybody use these applications?
I ordered MT4 and I plan to install these:
no lock can wake up the phone by pressing ANY hard button
nexus one flashlight can use the phone's light.
Click to expand...
Click to collapse
the phone comes stock with htc's flashlight that give you 3 modes of brightness, blinking and sos... also you can change the buttons in the key layout to wake without an app theres more on that here: http://forum.xda-developers.com/showthread.php?t=836702
he is correct and i was using no lock but be very careful because the genius button can place calls on its own if you have no lock enabled that gets kinda funny when you "butt dial" friends lol and i find the stock HTC flashlight app to work flawlessly already so no need for 3rd party apps.

[Q] Other ways to turn on/off the screen without using the hardware button

I'm wondering if there's a way (app or manual edit of system files) to make the hardware buttons less used to keep them from getting soft
and for that I'm mainly focusing on the power button as it is frequently used, I have two ideas:
- taking the gesture from the new M8 which is by double tapping the screen, if you're a developer please tell me if it's possible to take that function from the M8 maybe edit it and make it work on the One Max!
- We have a great special thing called fingerprint scanner, and since it's not that good at identifying the owner's fingerprint but always works at identifying fingerprints of people, maybe we can use it to wake up screen by simply swiping the finger over it!
So here is my question and here are my ideas, if you have a good answer for me please share it in the comments!
Thanks XDA!
Also looking for a way to do it, but in my case the reason is my power button stopped working and the only way to wake the device is by plugging a charger. What could I use else before having it fixed by service?
for switching off i use nova launcher with the app "screen off and lock"
DoubleTap on screen now the max going off. (i do this with all phones)
But switching on with doubleTap i always searching how it can work. I have
no idea
my understanding is that without a modded kernel, turning screen ON with touchscreen taps is a no go.
an alternate is to use something like the xposed sense 6 toolkit feature "wake screen with volume buttons". granted it still uses hardware buttons, but at least the power button wont have to take as much "abuse" anymore.
for turning screen off, sense 6 tookit offers gestures on the homescreen. i have mapped swipe down to screen off.
i vaguely remember reading about another xposed mod that can map double tap on status bar to screen off.
just my 2 cents!
edit: i m using another xposed mod called "sense 6 lockscreen mods" that enables double tap to screen off on the lockscreen.
Sent from my HTC One max using XDA Free mobile app
greddy said:
for switching off i use nova launcher with the app "screen off and lock"
DoubleTap on screen now the max going off. (i do this with all phones)
But switching on with doubleTap i always searching how it can work. I have
no idea
Click to expand...
Click to collapse
Try WTN by Wolandsoft. Works perfect for me. I was looking for a way to turn on the phone in the car while driving. This works perfectly.
https://play.google.com/store/apps/details?id=com.wolandsoft.wtn&hl=en
barrr said:
Try WTN by Wolandsoft. Works perfect for me. I was looking for a way to turn on the phone in the car while driving. This works perfectly.
https://play.google.com/store/apps/details?id=com.wolandsoft.wtn&hl=en
Click to expand...
Click to collapse
Try AutoScreenOnOff
https://play.google.com/store/apps/details?id=com.danielkao.autoscreenonoff#
Even better than WTN that I recommended. Just found this one last night. A lot smoother.

[APP] Pixel Pulse for ambient display

Introducing Pixel Pulse - a simple app to make your Ambient Display pulse when you have notifications!
Choose the interval and select the apps you want you to cause your screen to wake.
Optional paid features let you select different icons and colors for specific apps but the interval and app filter core functionality is all free.
https://play.google.com/store/apps/details?id=com.compass.pixelpulse
If you had previously purchased Ambi-Turner, it has been updated for the new permissions, but because it was written for 8.0 and when Google's ambient display worked differently I decided to leave it as it is. You may however transfer your purchase status of Ambient Display to Pixel Pulse using both apps.
FIRST!
So, I've installed and tested and here are my initial findings:
It works great and looks gorgeous!
If you have your notifications set to display the notification contents, those contents will also flash on the screen.
The default display interval of 60 seconds works perfectly, but when I set it to 30 seconds, it flashed approximately every 10 seconds for some reason.
The notification it chooses to flash doesn't appear to be based on the most recent received or highest priority. Can you explain how the app knows which notification to flash on the display?
So far, there is no way to interact with the notification. Swiping away or double tapping do nothing.
The only way to wake the phone is to press the power button or fingerprint scanner.
This is a great start and I hope you please keep up the great work! I will be donating to the cause!
PuffDaddy_d said:
FIRST!
So, I've installed and tested and here are my initial findings:
It works great and looks gorgeous!
If you have your notifications set to display the notification contents, those contents will also flash on the screen.
The default display interval of 60 seconds works perfectly, but when I set it to 30 seconds, it flashed approximately every 10 seconds for some reason.
The notification it chooses to flash doesn't appear to be based on the most recent received or highest priority. Can you explain how the app knows which notification to flash on the display?
So far, there is no way to interact with the notification. Swiping away or double tapping do nothing.
The only way to wake the phone is to press the power button or fingerprint scanner.
This is a great start and I hope you please keep up the great work! I will be donating to the cause!
Click to expand...
Click to collapse
The times were accurate on my pixel 2, but my pixel 3 which only just arrived, was being stopped. Probably due the aggressive process killing I've read about. So this morning I quickly added a secondary wake to keep it from being killed. I'll sync the times when I get home from work.
It uses the natural order of notifications. A priority option would be a good idea.
No interaction yet, but that's planned. So is a blackout period (don't pulse when you're sleeping for example).
Ignore my comment about the notification priority - that was user error.
Feature request: Can you add an option to have the ambient display stay on (no pulsing) until the user bypasses the ambient display screen? The flashing of the ambient display is a little distracting when the phone is on a desk. This way, we could still tell at a glance when we have a notification waiting, but the screen will go back to all black once we act on it or simply unlock the phone.
I can try but it may not be possible without root.
grokus said:
I can try but it may not be possible without root.
Click to expand...
Click to collapse
No worries - this is xda, root is all we do!
grokus said:
Introducing Pixel Pulse - a simple app to make your Ambient Display pulse when you have notifications!
Choose the interval and select the apps you want you to cause your screen to wake.
Optional paid features let you select different icons and colors for specific apps but the interval and app filter core functionality is all free.
https://play.google.com/store/apps/details?id=com.compass.pixelpulse
If you had previously purchased Ambi-Turner, it has been updated for the new permissions, but because it was written for 8.0 and when Google's ambient display worked differently I decided to leave it as it is. You may however transfer your purchase status of Ambient Display to Pixel Pulse using both apps.
Click to expand...
Click to collapse
I have been working on a similar app, and could not find a way to get this to work while still allowing the device to doze, so the battery life is heavily impacted. Did you solve the battery drain issue?
BLuFeNiX said:
I have been working on a similar app, and could not find a way to get this to work while still allowing the device to doze, so the battery life is heavily impacted. Did you solve the battery drain issue?
Click to expand...
Click to collapse
I haven't noticed a battery drain issue, but I'm hoping xda can help find one if it exists. I'm not actually turning on the screen so doze should remain active.
grokus said:
I haven't noticed a battery drain issue, but I'm hoping xda can help find one if it exists. I'm not actually turning on the screen so doze should remain active.
Click to expand...
Click to collapse
Ah, I see. I have not actually run your app. I did not realize that your were pulsing the notifications themselves -- that's clever! For my own implementation, I am animating a fake LED that fades in and out, which obviously requires the screen to be on. The AOD has a way to doze with the screen on, but I have not found a way to expose that functionality to an app without root.
Anyhow, I see you are using setExactAndAllowWhileIdle to schedule your pulses. I wonder what the battery (and timing) impact is compared to setAndAllowWhileIdle?
Nice work on this!
I originally went down the road of doing a custom screen to mimic the LED until I came up with this idea.
From other threads I've seen some people will prefer that even if it uses slightly more battery.
BLuFeNiX said:
Ah, I see. I have not actually run your app. I did not realize that your were pulsing the notifications themselves -- that's clever! For my own implementation, I am animating a fake LED that fades in and out, which obviously requires the screen to be on. The AOD has a way to doze with the screen on, but I have not found a way to expose that functionality to an app without root.
Anyhow, I see you are using setExactAndAllowWhileIdle to schedule your pulses. I wonder what the battery (and timing) impact is compared to setAndAllowWhileIdle?
Nice work on this!
Click to expand...
Click to collapse
I'm willing to be a tester for you if you need one. Pixel 3, rooted with magisk.
There's now an option to be able to swipe to dismiss and double tap to open the app. I'm working on notification actions next.
grokus said:
There's now an option to be able to swipe to dismiss and double tap to open the app. I'm working on notification actions next.
Click to expand...
Click to collapse
Dude, you're a beast! Keep it up!
I may be able to use the real icons and colors. If so should I just remove the icon customization or would people still find that useful?
Hi mate, i bought your app right away. If you can integreat the original Icons for the famused apps, that would be great.
And can you look at the puls time? I set my time to 20 seconds but it puls every 40 - 50 seconds? Strange.
grokus said:
I may be able to use the real icons and colors. If so should I just remove the icon customization or would people still find that useful?
Click to expand...
Click to collapse
just as it is perfect now, only the repetition time does not work reliably
There is a possibility that the AOD stays on until the message has been read
Been looking for a way to customize the notifications since there's no LED light on this phone. I installed and bought you a coffee, I'll let you know how it goes. Thanks for your efforts.
Hi is this app only usable to Google Pixel phones???
Man this sounds like an awesome app however I'm on an LG V30 (which also doesn't have an LED but this doesn't seem to work. The notification interaction feature alone would be worth the donation.
I'll mess around some more and see if I can get anything

double tap to wake?

Hi, this is my first Emui device ,i was wondering is there is a way to get double tap to wake without root.
Thanks
Its not possible at fhe moment
The only way to wake the phone without pressing the power button is touching the screen in the fingerprint sensor area....
another alternative or workaround is turning on "pick up to wake" in settings
zambara said:
Its not possible at fhe moment
The only way to wake the phone without pressing the power button is touching the screen in the fingerprint sensor area....
Click to expand...
Click to collapse
How can you know what exactly the position you should tap on? Or it always display on the screen?
lemonade747 said:
How can you know what exactly the position you should tap on? Or it always display on the screen?
Click to expand...
Click to collapse
If you tap the screen anywhere a purple fingerprint will illuminate on the screen, but the first tap is not necessary if you're already used to where you should put the finger, you can just put the finger even though it is not displaying the purple icon and it will unlock. The optical fingerprint sensor is not great though, was hit or miss for me.
It'd be handy for the screen to turn on though. Are there any good apps that accomplish this? Obviously the screen is already always expecting input so this wouldn't be that much to add, I think.
I sent request to HW to make this very convernient feature. I hope they will listen to users!
Sent from Mate 20 Pro using Tapatalk
Zanr Zij said:
I sent request to HW to make this very convernient feature. I hope they will listen to users!
Sent from Mate 20 Pro using Tapatalk
Click to expand...
Click to collapse
They would have to pay LG for the patent to implement it in M20P as double tap to wake is a feature patented by LG.
mrbeem said:
They would have to pay LG for the patent to implement it in M20P as double tap to wake is a feature patented by LG.
Click to expand...
Click to collapse
Sony was the first to implement that feature in 2014 with the Z2
a-Rcky said:
Sony was the first to implement that feature in 2014 with the Z2
Click to expand...
Click to collapse
Hmmm... Maybe not all Z2... I mean my friend had a Z2 and it did not have this feature.
Sent from my LYA-L29 using XDA Labs
a-Rcky said:
Sony was the first to implement that feature in 2014 with the Z2
Click to expand...
Click to collapse
aaa, no. LG is the first one with the LG G2 in 2013
mrbeem said:
Hmmm... Maybe not all Z2... I mean my friend had a Z2 and it did not have this feature.
Sent from my LYA-L29 using XDA Labs
Click to expand...
Click to collapse
It had to enabled... But you can google it to see the Z2 had that feature.
a-Rcky said:
It had to enabled... But you can google it to see the Z2 had that feature.
Click to expand...
Click to collapse
Damn... You're right.
Sent from my LYA-L29 using XDA Labs
i.adrian said:
aaa, no. LG is the first one with the LG G2 in 2013
Click to expand...
Click to collapse
I didn't know... but Sony also implement that feature. Which means is not a unique patent from LG like the main post suggested...
---------- Post added at 02:08 PM ---------- Previous post was at 01:46 PM ----------
mrbeem said:
Damn... You're right.
Sent from my LYA-L29 using XDA Labs
Click to expand...
Click to collapse
Those were the good old Sony days...
but you know what's weird? We have double-tap to take a screenshot that works on any app so clearly the hardware/kernel functionality is there?
Everything is software isn't?
zhuhang said:
Everything is software isn't?
Click to expand...
Click to collapse
Exactly. There is already the "double tap to take screenshot" why wouldn't they enable double tap to wake
Maybe somebody who has root can try this
https://www.xda-developers.com/enable-double-tap-to-wake-on-huawei-and-honor-devices/
You can yous doubke tap to wake:
Huawei have very bad AOD, it doesn't have any information only time. I found this AOD that have so much settings and very, very, useful.
- AOD (time, calendar, weather),
- Notification (when you get messages on som application like Viber it shows Viber icon, you can touch icon and read message on AOD without unlock it),
- Blacklist app - app you dont want to show on AOD,
- Duble tap to wake, swipe up for camera and etc...,
- Edge lights for notifications,
- Background for wallpaper,
- Adaptive mod,
- Font style,
- Music Controls,
- Automatic move clock,
- And many more settings...
Name of app: Allways on Amoled Edge Light
LINK: https://play.google.com/store/apps/details?id=com.newgen.alwayson
* I havent test batter drain of this application.
p.s. this is not my application i just found it. All the best, enjoy
isko01 said:
You can yous doubke tap to wake:
Huawei have very bad AOD, it doesn't have any information only time. I found this AOD that have so much settings and very, very, useful.
Name of app: Allways on Amoled Edge Light
LINK: https://play.google.com/store/apps/details?id=com.newgen.alwayson
* I havent test batter drain of this application.
p.s. this is not my application i just found it. All the best, enjoy
Click to expand...
Click to collapse
It kinda works but the fingerprint reader doesn't always work because of the overlay, I guess that's the payoff. sad that double tap is there but does not do something as basic as wake the phone.
charliebigpot said:
It kinda works but the fingerprint reader doesn't always work because of the overlay, I guess that's the payoff. sad that double tap is there but does not do something as basic as wake the phone.
Click to expand...
Click to collapse
Yes buy I use fave unloc so no problem then ?

Question Edge lighting not working on the s23 Ultra!

Anyone having the same problem?
Tried everything, and nothing worked so far.
The devil is in the details. This app was always troublesome, seems to have a mind of its own Check notification status; it won't function if notifications are disabled.
I never did quit figure it 100% on my N10+. I play with it from time to time as amusement, just went through it again. What a mess. May be interacting for other 3rd party apps... I wouldn't get too concerned.
Do some Google searches fot its setup include the Android version. Older Android versions may apply if you don't get many hits on the newer ones. It's very customizable... when it works
Oddly Google play Services always seems to work
Did you disable any apps on your phone?
Edge lighting is connected to always on display, so if you disable that app, edge lighting will also stop working.
MrDusan said:
Did you disable any apps on your phone?
Edge lighting is connected to always on display, so if you disable that app, edge lighting will also stop working.
Click to expand...
Click to collapse
at my phone there is no edge lighting setting.
at my note 20 ultra 5g normal.
creatinemonster said:
Anyone having the same problem?
Tried everything, and nothing worked so far.
Click to expand...
Click to collapse
it works for me but is it worth it? The battery drain that it causes doesn't really compensate for the eye candy
It's not called edge lighting anymore.
In settings, you go to notifications > notification pop-up stile, and then select brief. Then you will have all the edge lighting options below.
It works just for few apps
Fl1nt91 said:
It works just for few apps
Click to expand...
Click to collapse
It works for the apps you choose to work.
MrDusan said:
Did you disable any apps on your phone?
Edge lighting is connected to always on display, so if you disable that app, edge lighting will also stop working.
Click to expand...
Click to collapse
I didn't have AOD on my s20+ and it worked fine, but yes I do not have AOD on the ultra rn
MrDusan said:
It's not called edge lighting anymore.
In settings, you go to notifications > notification pop-up stile, and then select brief. Then you will have all the edge lighting options below.
Click to expand...
Click to collapse
I'm aware of this, doesn't fix the issue sadly.
Also if you turn off transition effect it wont work.
amirage said:
it works for me but is it worth it? The battery drain that it causes doesn't really compensate for the eye candy
Click to expand...
Click to collapse
any other solution 3rd party app wise?
I've tried Notification Buddy, it work very well . A notification dot will blink on the off-screen, at the app color.
Just like LED notification few years ago, which I miss a LOT.
But , this app make a 2% drop /h on the phone, and makes my 3rd most hungry app...
I can confirm the edge lighting works as it's supposed
oVeRdOsE. said:
any other solution 3rd party app wise?
I've tried Notification Buddy, it work very well . A notification dot will blink on the off-screen, at the app color.
Just like LED notification few years ago, which I miss a LOT.
But , this app make a 2% drop /h on the phone, and makes my 3rd most hungry app...
Click to expand...
Click to collapse
Try aodnotify from play store.
mine works fine, even with the AOD on, I don`t have any issues.
I think I found the solution! Seems like some apps just don't work with it. But I had to deselect All Apps, and individually select which apps I definitely want it for. For whatever reason, on my end, email (I have Outlook) is one of the ones that doesn't work with edge lighting on s23 ultra, & I do have pop-ups enabled.
I already tried resetting/restarting/adjusting methods (in system & the app itself) & none worked until I did it this way. It's weird. If anyone has a way or reason as to why some do & don't work, I want to hear it! I'd like for all apps to work, but this will have to do.
I'm using an app - Reolink - and it does not work for edge lightning and notifications on turned off screen - it's driving me nuts. It worked flawlessly on S21FE & S22+ (all with latest updates for April/May), but it is not working on S23U.
I have the three phones in front of me - same settings, it doesn't matter if I chose all apps or specific apps only as @sw33tla suggested - it works only on S21FE & S22+.
Stenlius said:
I'm using an app - Reolink - and it does not work for edge lightning and notifications on turned off screen - it's driving me nuts. It worked flawlessly on S21FE & S22+ (all with latest updates for April/May), but it is not working on S23U.
I have the three phones in front of me - same settings, it doesn't matter if I chose all apps or specific apps only as @sw33tla suggested - it works only on S21FE & S22+.
Click to expand...
Click to collapse
Just out of curiosity, did you used samsung smart switch app when you bought your s23 ultra to copy all the data from the older phone?
Or you did a clean instalation and manual copy of your data?

Categories

Resources