Custom Offscreen Gestures? - OnePlus 3 Questions & Answers

1. The offscreen gestures are just awesome! Is there any ROM that allows for creating custom gestures?
2. If not, would it be straightforward to add more of these gestures to a ROM (pre-included gestures like in pacrom)? Where in the source would the modification be made?

Looking for this as well, would be very useful

If this phone works anything like the oneplus one, these gestures are supported natively by the display/digitizer. This allows them to activate instantly even while the CPU is asleep. I know elemental x supports sweep to wake, but this causes noticeable battery drain, and I'm sure any other gesture other than the built in one will as well. If that's ok with you, there are apps that do this, but either your CPU will never sleep or the gestures won't work once CPU is asleep. I think being able to customize the built in gestures might be a good compromise, though I haven't seen any Roms that have this feature.

I would be interested in this as well. I use these very often and when using a custom ROM I would miss those a lot like I missed the Double Tap to wake on another device before (which is now replaced by the fingerprint reader either way):
O to open the Camera App, V to enable/disable Flashlight, > to skip a Music track

There's an Xposed module that lets you make custom gestures. I have it working on OOS 3.2.7
Sent from my ONEPLUS A3000 using XDA-Developers mobile app

nedloc96 said:
There's an Xposed module that lets you make custom gestures. I have it working on OOS 3.2.7
Sent from my ONEPLUS A3000 using XDA-Developers mobile app
Click to expand...
Click to collapse
Would be nice if you'd also tell which module that is, otherwise it's a somewhat pointless comment...
Sent from my OnePlus 3 using Tapatalk

xxBrun0xx said:
If this phone works anything like the oneplus one, these gestures are supported natively by the display/digitizer. This allows them to activate instantly even while the CPU is asleep. I know elemental x supports sweep to wake, but this causes noticeable battery drain, and I'm sure any other gesture other than the built in one will as well. If that's ok with you, there are apps that do this, but either your CPU will never sleep or the gestures won't work once CPU is asleep. I think being able to customize the built in gestures might be a good compromise, though I haven't seen any Roms that have this feature.
Click to expand...
Click to collapse
Had no idea sweep to wake drains a lot of battery. How bad is it? I might just disable it since I'm trying to have my battery last as long as possible. Even underclocked the CPU slightly.

stuldik said:
Had no idea sweep to wake drains a lot of battery. How bad is it? I might just disable it since I'm trying to have my battery last as long as possible. Even underclocked the CPU slightly.
Click to expand...
Click to collapse
I haven't tried it on the oneplus 3, but on several other phones I've used (moto x pure, nexus 6p, oneplus one, etc), sweep to wake tends to drain around 1-3% an hour.

xxBrun0xx said:
I haven't tried it on the oneplus 3, but on several other phones I've used (moto x pure, nexus 6p, oneplus one, etc), sweep to wake tends to drain around 1-3% an hour.
Click to expand...
Click to collapse
That seems quite a lot. I bet OP3 is no exception. Thanks for the information Bruno

Explorer23 said:
Would be nice if you'd also tell which module that is, otherwise it's a somewhat pointless comment...
Sent from my OnePlus 3 using Tapatalk
Click to expand...
Click to collapse
My bad, It's called gesture unlock with custom shortcuts. It can be downloaded from Xposed installer.
Sent from my ONEPLUS A3000 using XDA-Developers mobile app

Related

[APP] Delay Deep Sleep (So you can use S2W)

I have a small apk file that delays the deep sleep from happening.
So far been running it for more than 3 weeks now on my HTC ONE X and so far it works.
I created this apk file so I can use Sweep2wake without any problems.
If anyone is interested in testing this drop me a PM, but I take no responsibility on what this apk might do to your phone.
So far I've tested it and created this for my own use
Its a simple program, and no GUI as well. But if there's any interest on this, then i might further develop the application.
Battery Life: Well there's a slight decrease in battery life since it delays the deep sleep, but if you really like S2W then yeah
I would like testing your app. Can you send me a Download Link?
Gesendet von meinem HTC One X
why not just use this kernel?
http://forum.xda-developers.com/showthread.php?t=1870416
Sweep 2 wake works perfectly anyway?
Sent from my RENOVATED bricked One X..
So does this somehow improve sweep to wake in any way? It works fine already
Sent from my cardboard box
well, I created this simple app before Alex-V released his kernel.
So far works fine for me, just thought it would be easier to use an app than flash a new kernel
So far, I dont have any problems with S2W anymore. Im using Faux kernel
p5x said:
why not just use this kernel?
http://forum.xda-developers.com/showthread.php?t=1870416
Click to expand...
Click to collapse
This Kernel disables the deep sleep option, the APK here just delays it, so it has better battery life.
mwilky said:
Sweep 2 wake works perfectly anyway?
Sent from my RENOVATED bricked One X..
Click to expand...
Click to collapse
tomascus said:
So does this somehow improve sweep to wake in any way? It works fine already
Sent from my cardboard box
Click to expand...
Click to collapse
Sweep to wake works only when your phone is in Sleep, so it can monitor the touch buttons, When you don't use your phone for a long time, it will go to Deep Sleep, then it won't wake up with S2W because the software part (including the touch key monitor part of the kernel) is turned off in order to save battery life, to scape this problem, you can disable the power saving options all together (like the kernel couple of posts up) or you can delay the deep sleep a little, which is what this app does.
Hi,
how can i download your App?
cheers
starbase64
Deep sleep is pretty annoying sometimes I can't wake it up with the power button and forces me to emergency reboot.

why is nexus 7 able to be awaked by double tap or swipe twice?

I found it is awesome to use the elementX and bulletproof kernel!
it prolongs the life of my power button.
anyway , i am curious about why it is functional to realize this, double tap or swipe 2 times to awake the device?
And i found it is not every time that i can double-tap to turn on the screen? why?
pls tell me , thank u!
I'm running cleanROM1.3 with 3.4.0 ElementaX1.1+ kernel. Both tap2wake and swipe2wake are functioning flawlessly.
Enable 'Show Touches' in Developer options to check if your screen is misbehaving.
If that's alright, then increase your CPU freq. Low CPU freq on sleep hinders performance and affects battery life.
alicarbovader said:
Enable 'Show Touches' in Developer options to check if your screen is misbehaving.
If that's alright, then increase your CPU freq. Low CPU freq on sleep hinders performance and affects battery life.
Click to expand...
Click to collapse
thank u guys, and who will tell me how this kernel work?
Sent from my Nexus 7 using XDA Premium 4 mobile app
HansPsy said:
thank u guys, and who will tell me how this kernel work?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Erm, in what way.......??? Code-wise, performance-wise or batery-wise.....??
alicarbovader said:
Erm, in what way.......??? Code-wise, performance-wise or batery-wise.....??
Click to expand...
Click to collapse
i mean , if the screen always is ready for double tap to be waken, is it goona cause a battery drain or cpu exhaust?
HansPsy said:
i mean , if the screen always is ready for double tap to be waken, is it goona cause a battery drain or cpu exhaust?
Click to expand...
Click to collapse
It may cause battery drain, not CPU exhaust,in the short run. But it may tire your cpu in the long run.
I still show processor entering and staying in deep sleep mode the majority of time even with swipe to wake/sleep enabled. I think any battery drain/processor activity is negligible.
Sent from my Nexus 7 using Tapatalk 2
rsfinsrq said:
I still show processor entering and staying in deep sleep mode the majority of time even with swipe to wake/sleep enabled. I think any battery drain/processor activity is negligible.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Yep! d2w and s2w doesn't have a big impact on battery life.
That said if you touch your screen very often (when turned off) it can cost a severe amount of battery.
LukeNukem said:
Yep! d2w and s2w doesn't have a big impact on battery life.
That said if you touch your screen very often (when turned off) it can cost a severe amount of battery.
Click to expand...
Click to collapse
Agreed. I did not include the double tap to wake option for that reason. I use a cover so long swipe will not be misinterpreted like a double tap might.
I haven't used this kernel, nor am I much of a fan of double taps, so I don't know how it might help any cpu or battery
The touch sensor is never stopped, even when the display is off, on all kernels, not just the ones that have s2w/dt2w. What the custom kernel does is listen for touches, then wake the CPU to check if the right gesture was completed (sweep or double tap). This way, s2w can be achieved and there is no extra battery drain, unless you touch your screen a lot while the device is sleeping, since this would cause a CPU wakelock.
Sent using the xda app
hi. sometimes I use bulletproof kernel and the touchscreen has no response when i turn on the screen , not often but one or two times. is it normal?
Sent from my Nexus 7 using XDA Premium 4 mobile app
asp2010 said:
The touch sensor is never stopped, even when the display is off, on all kernels, not just the ones that have s2w/dt2w. What the custom kernel does is listen for touches, then wake the CPU to check if the right gesture was completed (sweep or double tap). This way, s2w can be achieved and there is no extra battery drain, unless you touch your screen a lot while the device is sleeping, since this would cause a CPU wakelock.
Sent using the xda app
Click to expand...
Click to collapse
hi. sometimes I use bulletproof kernel and the touchscreen has no response when i turn on the screen , not often but one or two times. is it normal?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Does that mean this t2w/s2w can also applied on any phone?

[SOURCE | MINNOW] Kitkat Kernel Source for Moto 360

Hey folks,
as everyone knows, due to the GPL every company who creates android images is forced to release the kernel source!
I started digging around in the internet and found the sources at Googles git server.
The kernel is based on top of linux kernel version 3.10.x, so here we go:
https://android.googlesource.com/kernel/omap/+/android-omap-minnow-3.10-kitkat-wear
After i found and ordered a nice usb connector for my Moto 360 which i got last thursday,
i will start creating custom kernels and port over a modded version of cm
(which may takes a while as i have to create a few interface layouts first! ofcourse whishes and ideas are welcome).
Best regards,
OldDroid
Good luck man!
Oh fun. Huh turns out they lowered the standard fps to 45, and in ambient mode its capped down to 30. For battery I guess.
Thanks OMAPa!
Metallice said:
Oh fun. Huh turns out they lowered the standard fps to 45, and in ambient mode its capped down to 30. For battery I guess.
Thanks OMAPa!
Click to expand...
Click to collapse
Hm, why would you need 30fps in the dimmed mode (No seconds had there anyway)?
Or are we talking about the normal screen on state with ambient enabled?
Would lowering this further enhance the battery effiency significantly?
Diamondback said:
Hm, why would you need 30fps in the dimmed mode (No seconds had there anyway)?
Or are we talking about the normal screen on state with ambient enabled?
Would lowering this further enhance the battery effiency significantly?
Click to expand...
Click to collapse
I think he means the normal screen rate is 30fps with ambient enabled...
I wouldn't mind upping the rate to 60fps because the watch last me a full day with plenty battery left over ... This way we can at least have a smoother experience
Sent from my HTC One using Tapatalk
thesparky007 said:
I think he means the normal screen rate is 30fps with ambient enabled...
I wouldn't mind upping the rate to 60fps because the watch last me a full day with plenty battery left over ... This way we can at least have a smoother experience
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Yep the panel can definitely do 60fps. According to the source that was what it was originally set to. Wouldn't be too tricky to revert the relevant changes.
Edit: there actually is a time when the panel runs at 60fps... On the charger :/
Metallice said:
Yep the panel can definitely do 60fps. According to the source that was what it was originally set to. Wouldn't be too tricky to revert the relevant changes.
Edit: there actually is a time when the panel runs at 60fps... On the charger :/
Click to expand...
Click to collapse
Haha, yea that totally makes sense :victory: Did you spot yet which cpu governor we are running on by default?
Userspace. Its probably set in the ramdisk on boot like all the other nexuses. Based on older commits it is probably interactive but you'd have to look at the init files to be sure.
There are a lot of interesting things to tweak here not just frame rate. Gestures and sensitivity, frequencies/scaling/voltages, screen/misc timeouts, lots and lots of stuff can be tweaked with ambient mode - the timeouts, the max brightness for the ULP display state, and so on. Looks like we could even go revert back to "normal" ambient mode for those that want it.
there can be made various battery related changes
maybe i gonna try to implement blx (battery life extender) at the weekend, but we will see
i think some governor tweaks can be done aswell ... (don't know if touch boost interface has been implemented by motorola, will check later)
OldDroid said:
there can be made various battery related changes
maybe i gonna try to implement blx (battery life extender) at the weekend, but we will see
i think some governor tweaks can be done aswell ... (don't know if touch boost interface has been implemented by motorola, will check later)
Click to expand...
Click to collapse
If you are referring to caf CPU boost then no it is not in this kernel.
MikeC84 said:
If you are referring to caf CPU boost then no it is not in this kernel.
Click to expand...
Click to collapse
thx for looking it up!
Diamondback said:
Haha, yea that totally makes sense :victory: Did you spot yet which cpu governor we are running on by default?
Click to expand...
Click to collapse
yep, it's interactive:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
it's set in init.minnow.rc
Sweet thanks for the link. As for features, can't think of much that isn't already handled via setting proc settings (screen off on charge etc), perhaps add an App that can make these configurable via a GUI?
This probably needs messing around with /system, but my biggest annoyance is probably the fact that cards always cover up my analog faces unless I mute, which still adds the mute logo so not the best solution.
What USB connector did you order?
Sent from my HTC One_M8 using XDA Free mobile app
blacklistedcard said:
What USB connector did you order?
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
I am curious, too, as I do not want to make my own, but want to BL unlock and root.
r3pwn said:
I am curious, too, as I do not want to make my own, but want to BL unlock and root.
Click to expand...
Click to collapse
Me too.. Coz I want to participate with this project without messing with home made cables. Mind to share it?
Sent from my XT1033 using XDA Free mobile app
I want to build a custom kernel for this guy. There are a lot of cool things I could do with CPU scaling, voltages, and ambient mode settings.
Unfortunately I reeeaally don't want to try to hack together my own cable. Hopefully someone will sell one but it seems unlikely.
Metallice said:
I want to build a custom kernel for this guy. There are a lot of cool things I could do with CPU scaling, voltages, and ambient mode settings.
Unfortunately I reeeaally don't want to try to hack together my own cable. Hopefully someone will sell one but it seems unlikely.
Click to expand...
Click to collapse
Yeah, newer toolchain and some optimizations would really help that old processing in the Moto 360. I just wish we did not have you use a custom cable.
Will it ever be possible root over adb? Or through the NFC charger plugged into a PC?
Sent from my XT1097 using XDA Free mobile app

Your favourite rom

Im using aicp and i likes it a lot, but someyimes it drains my battery so im thinking that i should switch it. Whats yout favourite rom for ze551ml?
Bump
CM-14.1. Amazingly fast.
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
CM-14.1. Amazingly fast.
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
Isnt it buggy?
Cm14.1 aswell
krasCGQ said:
CM-14.1. Amazingly fast.
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
i'm thinking of switching from stock(currently mm .144) to cm14.1, can you give me cons & pros comparing both roms? well, in terms of ui, battery drain, apps & games performance/compatibility.
Tapped from my Zenny 2 using XDA Legacy
I agree!The only thing that prevents me from enjoying it is no Radio and no Cover support(the rest of Zenui apps are working)
Also there are some incompatibilities with pixelmaster
Sent from my ASUS_Z00AD using Tapatalk
biondo_92 said:
Isnt it buggy?
Click to expand...
Click to collapse
Most of CM features aren't here, but it would be available as the time goes on.
Flynhx said:
i'm thinking of switching from stock(currently mm .144) to cm14.1, can you give me cons & pros comparing both roms? well, in terms of ui, battery drain, apps & games performance/compatibility.
Click to expand...
Click to collapse
I don't use stock so much because I'm more attached to CM/AOSP than stock.
As for performance, it's blazing fast. My 1080p 10-bit videos could play smoothly, even with CPU clock limited to 1333 MHz. I test PPSSPP games and it's same as CM13, but it performs a little bit better.
As for UI, CMTE is absent right now. Substratum is incompatible. So, I leave most things unthemed. One unique but useful thing I found is Power notification tuner inside System UI Tuner > Other, which could be used to force set an app's notification's priority.
The only thing that bugging me is Opera Max notifications, because there's one data control panel notification and one empty and useless space from Opera Max. Disabling it from the app's settings doesn't get rid of notifications.
Games compatibility: I think I should open a new thread for CM-14.1 games compatibility list, that also include Ingress which has started to working.
Sent from my ASUS_Z00A using XDA Labs
Du v10.6. Smooth and good battery
krasCGQ said:
Most of CM features aren't here, but it would be available as the time goes on.
I don't use stock so much because I'm more attached to CM/AOSP than stock.
As for performance, it's blazing fast. My 1080p 10-bit videos could play smoothly, even with CPU clock limited to 1333 MHz. I test PPSSPP games and it's same as CM13, but it performs a little bit better.
As for UI, CMTE is absent right now. Substratum is incompatible. So, I leave most things unthemed. One unique but useful thing I found is Power notification tuner inside System UI Tuner > Other, which could be used to force set an app's notification's priority.
The only thing that bugging me is Opera Max notifications, because there's one data control panel notification and one empty and useless space from Opera Max. Disabling it from the app's settings doesn't get rid of notifications.
Games compatibility: I think I should open a new thread for CM-14.1 games compatibility list, that also include Ingress which has started to working.
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
I see, another question, how much SoT you have from moderate to heavy usage?
And btw, do i still need to install xposed for its features like gravitybox or it is already integrated on the rom?
EDIT: I think for now i'll just stick to Stock MM as i saw on the CM14.1 Z00A thread that there are cases of battery sudden drop to 0℅, sensor bugs, etc.
Tapped from my Zenny 2 using XDA Legacy
Flynhx said:
I see, another question, how much SoT you have from moderate to heavy usage?
And btw, do i still need to install xposed for its features like gravitybox or it is already integrated on the rom?
Click to expand...
Click to collapse
1. Probably I would have to charge my phone until full, then. However, I attached my session from 87% to 9% recorded by AccuBattery, with moderate usage on browsing here and there, doing update to 12/11 build, then playing a PSP game.
2. Xposed is absent for Nougat.
Flynhx said:
EDIT: I think for now i'll just stick to Stock MM as i saw on the CM14.1 Z00A thread that there are cases of battery sudden drop to 0℅, sensor bugs, etc.
Click to expand...
Click to collapse
Sudden battery drop: I feel it.
Sensor bugs: Some devices affected.
Other things: Unimplemented/WIP features, GPS bugs (I don't care :v)
Sent from my ASUS_Z00A using XDA Labs
The first is CM14.1
The sencond is stock 5.0 - always stable (except with Facebook apps:silly
And btw, i hate stock 6 the most, it even drain my battery faster than CM13/14.1
Flynhx said:
I see, another question, how much SoT you have from moderate to heavy usage?
And btw, do i still need to install xposed for its features like gravitybox or it is already integrated on the rom?
EDIT: I think for now i'll just stick to Stock MM as i saw on the CM14.1 Z00A thread that there are cases of battery sudden drop to 0℅, sensor bugs, etc.
Tapped from my Zenny 2 using XDA Legacy
Click to expand...
Click to collapse
Average sot for every rom on this board with average usage is 4 to 5 hours. I've been on here a long time , and have read through pretty much all the threads . Especially the Rom ones. And it is pretty much universally 4 to 5 hours. Of course it will all depend on what you are doing.
Sent from my ASUS_Z00AD using Tapatalk
No xposed for nougat? Damn, i will wait then

Laggy gesture navigation experience

Does anyone else have really laggy or just buggy gesture navigation experience on MIUI 10.0.40? I tried updating, switching launchers, keyboards and so on but no, It really seems that the way I use it is the problem. I do a really fast fling and let go immediately and that's the part when its starts lagging. When I open the app switcher it's fine, but going home is really the main problem.
It's really irritating because these gestures are not all that bad but they just simply cannot lag or be buggy.
same here and I dont know what I can do.
goikg home always been laggy.
if you have root, install kernel adiutor and in the cpu section go to Little core tunables and set "boost" setting to "1". I enabled this switch in AOSP ROM, definatle feels the difference.
chiudikas said:
if you have root, install kernel adiutor and in the cpu section go to Little core tunables and set "boost" setting to "1". I enabled this switch in AOSP ROM, definatle feels the difference.
Click to expand...
Click to collapse
What are the downsights?
Flippy485 said:
What are the downsights?
Click to expand...
Click to collapse
not much,
the Little cores frequency distribution before modification was Deep Sleep 90%, 633Mhz 10%.
Now after the mod Deep Sleep is the same but 633Mhz is 1% and 1400Mhz is 9%
chiudikas said:
not much,
the Little cores frequency distribution before modification was Deep Sleep 90%, 633Mhz 10%.
Now after the mod Deep Sleep is the same but 633Mhz is 1% and 1400Mhz is 9%
Click to expand...
Click to collapse
Did some test but it really seems that the way I use it is the problem. Oh well
I don't feel any lags in 10.0.6
Even full-screen gesture was working fine in 10.0.4
Flippy485 said:
Did some test but it really seems that the way I use it is the problem. Oh well
Click to expand...
Click to collapse
try turning off MIUI gestures and use Fluid Gestures (https://play.google.com/store/apps/details?id=com.fb.fluid&hl=en)
maybe it will work better for you.
Also i noticed when you turn off animation in MIUI gestures settings it work a lot faster.
I have been reporting this lag since MIUI 9 but it seems that they can't fix it.
When it happens?
When you have too many apps open in the background.
My solution?
If you clean all background apps the lag goes away, but after opening and minimizing a lot of them it starts lagging.

Categories

Resources