yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Satano666:
Same on my note 3. Sometimes it just stopped working and when I start knockr app than my screen turns black, I have to tap tap and then I can see the settings. After that it works again.. kinda weird behavior
[Android Apps and Games] Acela1230:
Yes I am aware of this. It has something to do with it not going to on destroy but I can't seem to figure out what causes it.
[Android Apps and Games] xPr0metheus:
Since the last update my screen is much less black with knockr...
[Android Apps and Games] Z3R000:
Battery

How does this affect battery? Are all the sensors on and is the cpu taking more power than when the screen is actually off?
[Android Apps and Games] Acela1230:
I changed the screen to be a little gray when you select the keep screen off option, but this doesn't have an affect if that option isn't selected. I did this so the user would be able to tell the screen is on and won't keep hitting the power button to turn it on.

No the only sensor being used is the proximity sensor which uses very little power. The screen is actively listening for touches when outside of your pocket. Since OLED screens actually turn off the pixel wgen displaying black the screen is using no power to display an image. You may have read some commenters say it will drain battery but if you use the power management system in the app correctly you will see little to no extra battery drain. The CPU is only used when a action is performed.
[Android Apps and Games] chachoi:
So am I right in assuming OLED and SAMOLED are basically the same thing? Thanks for making this app
[Android Apps and Games] Z3R000:
Thanks for replying and thanks for all your work.
[Android Apps and Games] KNIGHT97:
I made a request some time ago, but it got buried in all the posts, so I am asking again (apologies if anyone feels I am spamming).

Can you try making this app as a module for Xposed? That way it can hook to kernel and won't need to keep screen on, and can be used without battery drain.

Sent from my RPG with auto targeting
[Android Apps and Games] Acela1230:
Unfortunately right now I haven't any idea how to do that (I don't use Xposed nor have I ever even tried rooting my devices). Right now I have a few things scheduled to include in Knockr, after I do those things I will look into the possibility of xposed.
[Android Apps and Games] knite75:
Can someone elaborate on the "keep screen off" option?

I'm dumb. I read it ten times, and do not have a clue.
[Android Apps and Games] kimcuongden1712:
it's cool, Knockr is compatible with HTC j One? Knockr is name same as LG L70 features
[Android Apps and Games] Acela1230:
Knockr turns the screen on to listen for touches. This is y it only works with OLED screens. That option makes it so the screen doesn't turn on automatically. I put it in for screens without OLED screens.
[Android Apps and Games] streetenigma23:
Great work. I can't wait to see future developments of this once the bugs are ironed out.
[Android Apps and Games] nonoperez:
You are not alone man, I'm lost too
[Android Apps and Games] TheGvster:
wut

seriously are u ****ing stupid , didnt you know that S4 (GT-i9505) has an OLED display how else would it be able to make use of the smart covers that Samsung provides separately
[Android Apps and Games] Benny Bosser:
Knockr keeps your screen on, it turns out fully black so you don't notice it, but it's always turned on so that Knockr can always work.

This feature prevents that from happening, so your screen is turned off and this means you have to manually turn on your screen in order for Knockr to work ;)
[Android Apps and Games] rosco77:
No need to be verbally abusive. He was asking a question because he didn't know the answer. That's the reason most people come here, to learn and understand more. This type of communication is not welcome here and will be reported if it continues.
[Android Apps and Games] chachoi:
:good:

---------- Post added at 06:30 PM ---------- Previous post was at 06:22 PM ----------

I can attest to the fact that knockr does not drain the battery. Charged my device 100 percent, turned wifi off and slept at around 12am. I woke up by 7am and I still have 96% left. The key here is make sure to cover the proximity sensor to keep Knockr from constantly running and slightly lighting up the screen. I have a leather pouch case that does it well so for those that don't have it, make sure it's face down when not in use. If you ask me it kinda works like other proximity sensor based app so I'm contemplating which one to use. :confused:

Samsung Galaxy S series and Note series users, does your display still slightly lit up when in a totally dark room with knockr running and proximity sensor is not covered?
[Android Apps and Games] rvignacio:
Yes, I can confirm that on S4 mini. And since last update the hardware buttons LEDs are always on too. Before they lighted up for a few seconds, but now they're always on.
[Android Apps and Games] chachoi:
Thanks for the reply, my buttons don't light up all the time, around 1 second, but maybe because I'm running on a MIUI Rom.
[Android Apps and Games] ljjehl:
In devices like the M7, you can have a kernel that uses S2W or DT2W, that can be used to turn the screen on as opposed to using a Power button. I have "Keep screen off" checked, so that allows me to use my kernel's DT2W feature, then I swipe the direction I want to get the final output. At this point, this app rocks! :good::good:
[Android Apps and Games] Acela1230:
I thought I had gotten complaints about the capactive buttons staying on so I tried to fix it but it seems it was the on screen navigation buttons that people were complaining about and I'll take that fix/mess up out in the next update. It should be out sometime this weekend.

With that fix on my S5 it had no effect though.
[Android Apps and Games] boosha:
nice work
[Android Apps and Games] hasni2005:
It seems awesome...but how about the battery consumprion??

Envoyé de mon GT-I9300 en utilisant Tapatalk
[Android Apps and Games] rvignacio:
Please, read the thread, you will find there are lots of posts about battery consumption on OLED and non OLED screens.
[Android Apps and Games] skivnit:
Too bad its killing my battery
[Android Apps and Games] Acela1230:
I know I said the next update would be up this weekend. I'm sorry but I ended up falling asleep in the afternoon both days and just ran out of time. I have added a lot of new things in this update as well. I'm going to try and upload tomorrow night when I get home from work.
[Android Apps and Games] dedichthui:
Battery consumption for this application is not significant. The sensors will temporarily shut down for more than 10 seconds and back normally works (air-wakeup. ...) In addition to the errors mentioned above, I think the app works well on screen or supper Amoled . ( tested on S4 and Note3 and works fine ) thank you.
[Android Apps and Games] skivnit:
On my s5 the phone was awake the whole time since disabling it, it came back to normal
[Android Apps and Games] cableghost:
I notice at night, Knockr will slightly illuminate, turning on the Nav bar continuously and even waking the display to the homescreen. Something I noticed is that my proximity sensor must really be sensitive and is causing these effects. I realize the light sensor would be more valid for the effects, but this occurs with the phone on a table/couch, and only at night.

Maybe you could add 'Orientation' as an alternative to the proximity sensor. This could... a) allow Knockr to be off when phone is upside down, etc., and b) no need to have the proximity sensor running.

Another good option is to make a Tasker plugin for Knockr that would allow customizing Knockr on/off, based upon conditions.

BTW, this is great work for a guy who doesn't even have a rooted device!
[Android Apps and Games] Acela1230:
Ok just uploaded the new update. Should be available in the morning (EST).

Some of the highlights being 10 new gestures and I changed the 'keep screen off' option to 'lockscreen only' and created a sorta lockscreen out of it (if this part becomes popular I will try and add the ability to have widgets). The lockscreen option makes Knockr a much better app in my opinion and opens it up to other devices outside of OLED ones.
[Android Apps and Games] ravijani:
^ thank you dev for adding more gestures.
[Android Apps and Games] Satano666:
orientation would me a lot more effektiv than proximity sensor, that's a rellay good idea, please implant that:) so disable knockr when phone is upside down instead proximity
[Android Apps and Games] Acela1230:
How would this be better? Some people don't put their phones in their pockets upside down, what about lying the phone face down, and an upside down phone would have a lot more false positives then the proximity sensor has.
[Android Apps and Games] ravijani:
i found one bug in app.

if i press home button on knockr lock screen app never loads again.

i think it needs to block home button.
[Android Apps and Games] testmonkey1:
[MENTION=5214470]Acela1230[/MENTION] Thank you for developing this app! I just discovered it today and I'm thrilled to test it out, great possibitilies are uncovered hehe. I can finally get that dreaded LG G2 knock on feature.

Anyways a quick suggestion, adding music control gestures would be simply amazing. I would set up the app to change the song when you swipe left, etc. That way I don't have to wake up the display every time I want to change a song on something.
[Android Apps and Games] xPr0metheus:
Would it be possible to add an option to disable the white arrows for gestures? because I use this only for the knock on feature...
[Android Apps and Games] boosha:
Thank you for this awesome app
[Android Apps and Games] sanketss84:
Firstly thanks a lot for this awesome app. :good: I really needed the double tap to unlock feature.

But few findings from my end.

1. In Resurrection Remix i have the PA Peek feature switched ON, which i love more than anything and that stops functioning after installing this.

2. If you turn your screen off and instantaneously hit double tap or perform any gesture it wont work , there is a small delay of few seconds before the screen can accept any gestures.

3. Notification LED does not work as reported by many.

NOTE : My ROM details are in my signature.
[Android Apps and Games] Satano666:
yeah I know that I would totally not replace the proximity sensor but maybe give an option for that so people like me who carry their phones in their pockets can use this feature if they want to. It should just be another option you can activate If you want but not have to.
[Android Apps and Games] cableghost:
Orientation would be another option,rather than having the Proximity monitor on all the time. Plus, I notice having the Proximity monitor also gives false positives; I'm seemingly always accidentally triggering Knockr when I only meant to pick the phone up.

The best option, to cover all conditions, would be a Tasker plugin for Knockr. This way, Knockr users could set how they want to interact with Knockr.

Tasker Dev Plugin link: http://tasker.dinglisch.net/plugins.html
[Android Apps and Games] AndyCosmos:
Awesome

Very nice update ,I'm on Carbonrom with GS II and I notice when I checked the Power Management box , the device when too deep sleep and all the gestures no longer wok and have to wake up by pressing home button in order to turn the screen on , and still the Capacitive buttons still turn on even when the check box is in used , hope this bugs will be address in the future , thank you for the amazing app.
[Android Apps and Games] HTcOneV:
I hope that this will ever work as good on non OLED devices ?

Verstuurd vanaf mijn HTC One mini met Tapatalk
[Android Apps and Games] marbulas:
Just could but not battery friendly.
[Android Apps and Games] Acela1230:
Just put up a new update that should be live now. It makes Knockr only activate when the screen is locked, so it won't activate when on a phone call. I also changed a few things with the lockscreen only option.

The next update I am going to try and work on tasker integration.
[Android Apps and Games] xueyao:
Very good app! Note 3 latest cm 11 nightly. A few problems:

- Capacitive key turn off dosent work (most likely a bug in cm)

- Responds to some other gesture not part of the app (eg. Swipeback on xposed and gmd gestures)

Workarounds: I configured to stop vibration in settings and used xposed additions to disable all hardware and capacitive when i'm in this app.

Suggestions / requests:

- Root support. Definitely will increase performance. And you control capacitive much better in root mode.

- More accurate gestures. I understand OP is working hard, but the gestures is still pretty easy to execute. Suggest a system like gmd where you can select where to start and where to end so it is more accurate.

- Xposed implementation. With this, you can enhance it even further. You can force sleep mode (300Mhz) or deep sleep, listen to proximity sensor directly from kernel and so much more.

Overall, this app is already great. It has a lot of potential since I know people would want this because of hard to reach buttons or broken buttons. With root and xposed around, the battery consumption and efficiency of the app can be much more optimised. Thanks alot OP for this great application!
[Android Apps and Games] KNIGHT97:
If using Xposed, an app can directly hook to the kernel and provide the G2 like feature of touch2wake even though the device is in deep sleep. And that way, even knock code can be implemented

Sent from my RPG with auto targeting
[Android Apps and Games] xueyao:
This is near impossible to implement I think. Every device has different digitiser and behaves differently when device is put into deep sleep. Hence dt2w or s2w is rarely not often or difficult to implement into phones. However, with amoled screen, this provides a wealth of opportunities as you simply bypass this problem by keeping digitiser on and simulate a locked phone by displaying a black screen, thereby achieving the same function as s2w. However, it can well be enhanced by slowing down cpu and force deep sleep and decrease digitiser polling among other things. On the whole, I'm very excited about this as it ushers in a completely buttonless phone, or rather saving thousands of buttons from dying :P
[Android Apps and Games] tyler78:
I uninstalled Knockr last week. After that, I rooted my Note 2 and installed xposed framework with wanam(Which I didn't change it much) and greenify.

Today I installed Knockr again. But it's not working anymore. I've tried different settings, checked greenify to make sure it's not get slept. But nothing. How can I make it work?
[Android Apps and Games] Gunde:
I can't get it to work at all either. Is anything known to conflict with Knockr?
[Android Apps and Games] optimummind:
AFAIK, the latest update broke functionality on TouchWiz 4.4.2 on the Note 3.

It still works on S4 but the screen timeout bug is still present. So I reverted back to v1.2 on my S4 and it's working okay. I had to use a macro app to set screen timeout to 300 secs every time the screen is turned on to work around the issue.

Sent from my SPH-L720
[Android Apps and Games] optimummind:
[MENTION=5214470]Acela1230[/MENTION] For those having issues with the latest v1.3.1 update, could you post for download the older version apk files?

Sent from my SPH-L720
[Android Apps and Games] Acela1230:
Sorry I haven't been responding the last couple days, I have been sick and just didn't feel like doing much of anything.

The only thing that I changed that would affect the off screen part of Knockr working was only launching it when the screen turns off and it is locked. Do you guys know if your screen locks immediately when hitting the power button? I know when my screen times out it doesn't lock immediately and Knockr doesn't launch then. If this is the case I can fix it easy by just putting an option in instead of just making it mandatory.

I don't know why this is happening. Try setting you screen timeout in your phones settings, then open Knockr (the setup where you select what the gestures do). I have code in that activity to get the system screen timeout and when the Knockr gesture listener (the black screen) is closed it resets the screen timeout to the system timeout. I don't seem to be experiencing any problems with the screen timeout with the latest version.

Unfortunately I don't have that file as I overwrite the apk everytime I publish a new one.
[Android Apps and Games] tyler78:
I've found out an interesting thing when I was checking that. I normally don't use a lockscreen. To check if the screen lock immediately when hitting the power button, I temporarily enabled lockscreen. And voila! Knockr works. :) So there is the problem. Knockr doesn't work if lockscreen is disabled on the phone.
[Android Apps and Games] optimummind:
On the S4, I have the swipe-to-unlock lockscreen enabled.

On the Note 3, one phone has no lockscreen and one phone has the swipe-to-unlock. Knockr v1.3.1 doesn't work on both Note 3's. And both Note 3's has the screen timeout set to 5 mins. So I had to revert back to v1.2. On v1.2, Knockr works fine on both Note 3's.

Sent from my SPH-L720
[Android Apps and Games] Gunde:
Yeah guess that's the problem for me as well since I don't use a lock screen. Bummer :(
[Android Apps and Games] Benny Bosser:
For the no deep sleep issue related to this app, I've found an awesome xposed module with a lockscreen profile. Here you can limit your cpu speed when lockscreen is active :)

Link: http://xdaforums.com/xposed/modules/xposed-performance-profile-t2723739
[Android Apps and Games] xPr0metheus:
Would be awesome if you could do something like on the G3 to unlock the phone (knock code)

And still I would like to disable the white lines.
[Android Apps and Games] BrgMrc:
There's some hope to have led notifications working when knockr active ?

however great work !
[Android Apps and Games] Mjuksel:
My Note2 just totally crashed on me after installing o_O ?!

Running CM11 atm.

After "installing" when i tried to start the app, it said "not installed" BUT the icon was visible.

Then my phone rebooted and cant get into any launcher :? xD

/edit: Oh, my hardware keys arent working anymore either O_O

after removal and 4 reboots, it works again. wow, time for another try

working now, it only responds on the 2nd time you do a gesture, 1st gesture will shortly light up the keys

it also flips out when tapping once, then pressing power. sent me in a reboot again.

will follow updates
[Android Apps and Games] xPr0metheus:
is this app still under development? I would really love above features
[Android Apps and Games] brink94@mail.ru:
Very very nice work...
[Android Apps and Games] xPr0metheus:
Bug report: when I'm outside and the sun is shining screen is always turning off after a second or so (very unregularly) this is only happening outside (maybe because of the sunlight?) and very annoying
[Android Apps and Games] Acela1230:
Hey everyone this app is still under development. I have been really busy and under the weather for the last month. I just got back to finishing some of the updates to the app and just testing them before I release the update.
[Android Apps and Games] xPr0metheus:
Nice to see you back :)
[Android Apps and Games] optimummind:
Can I make a feature request? I'd like to see an option where Knockr can be toggled off when plugged in to a charger and then toggled back on after the charger has been disconnected. I tried to toggle it on and off using macro apps like MacroDroid and e-robot but their commands weren't able to turn off Knockr.

Sent from my SPH-L720
[Android Apps and Games] xPr0metheus:
Nice Update. :) Still I would like if you make knockr an xposed module so it's unkillable and I'd you add knock code.
[Android Apps and Games] optimummind:
Can you explain a bit more about the Knockr Everywhere feature?

Sent from my SPH-L720
[Android Apps and Games] Acela1230:
When you turn it on a black circle with a k in it will appear in the top left. You can move it anywhere you want on the screen. A single tap on the circle will bring a window up that let's you input a gesture and will open the app corresponding to it. If you give permission to the app double tapping the black circle will lock the screen.
[Android Apps and Games] djangosteen:
Thanks for this awesome app, i always wonder how to turn on my Note 3 with only double tap (like what LG does), without root. and this is the solution.

However, i found some bugs (idk whether it is a bug, or not).

1. When the screen is in turned off state, you can see the notification bar by dragging from the top of the screen and swipe it downwards.

2. I can still change my Volume power (by pressing volume keys) while my screen is turned off.

3. I can press my Menu and Back button (the backlights turn on), but the screen is still turned off. not a big deal, but is it gonna drain my battery especially in your pocket? because it will always touch my pocket and the lights turn on everytime.

4. Usually, when i receive any message / notification while my screen turned off, my Indicator light will turn on. Now its never turned on, even while im charging (usually when im charging, there is red indicator light, and turned into green indicator light if its already full)

5. EDIT: Now power button is not working to turn on my screen, remain black if i press it.

Thanks before!
[Android Apps and Games] n70shan:
[MENTION=5214470]Acela1230[/MENTION] hello mate!! i want to request you that could you please port this motion launch feature for my htc desire 816?? its fantastic phone but its power button is awkwardly placed and we have difficulty to power on phone using that. thousands of desire 816 users shall be thankful to you for this favor.. Thanks
[Android Apps and Games] Kevinnme:
Excellent app!! Is it possible to say tap to show notifications instead of unlocking the phone completely? like acDisplay type of feature.
[Transformer TF300T Q&A, Help & Troubleshooting] friedsonjm:
OK, I've done this many times to many devices, never had this happen before. Unlocked, rooted, TWRP installed, have tried two different ROMS, Slim and CM11, tried both direct download and from my PC then transferred, can't get a custom ROM to install, keeps erroring out while trying to install ROM from TWRP, even though I wipe System, Dalvik, and Cache. 'Error updating binary executor in zip'

thoughts?

EDIT: on twrp 2.5.0.0 - maybe need a newer version?

Tried 2.6.3.0 - it won't wipe dalvik, cache, or system? Actually, it cant see or mount any drives...

And CM Recovery has the same issue...?

This worked:

http://xdaforums.com/devdb/project/dl/?id=3727
[Transformer TF300T Q&A, Help & Troubleshooting] CaliTexan5:
If you are trying to install CM11, which is based on KitKat, looks like everyone says to use the Omni version of TWRP. Here's a link to that zip in my Dropbox. https://www.dropbox.com/s/cctivhx2kcpwnfz/TWRP-TF300T-2_7_0_1.zip. Install is different for it though. Put the zip file on a micro SD card or in the internal storage and then boot into whatever custom recovery you have working (I usually go back to stock and flash TWRP 2.4.0.0 or 2.4.4.0 whenever I run into problems. I found a great TWRP recovery installer someone made for Windows, here's that zip. https://www.dropbox.com/s/jut7sytp8n7c94u/recoverytf300t4.2.zip). Once in recovery, go to Install and flash the Omni version 2.7.0.1. After that finishes, reboot to system so that the Omni version can complete installation (you'll see the blue install bar, like what shows when you Fastboot install a recovery). Your tablet will reboot after that so I usually hold Volume Down when the display goes dark so that I can go into the new recovery. I've also recently found 2 "new" recoveries that work fairly with CM11, probably due to the fact that they are based on CM Recovery. I'll include the links for you. They both get installed via Fastboot. Hope this helps!

Philz Touch Recovery - https://www.dropbox.com/s/eea29g652s34p76/philz_touch_6.19.3-tf300t.img

Flatline Recovery (from the process of Wheelie/NVFlash for Jelly Bean, which I recommend you do if you haven't yet. It's been a life saver.) -https://www.dropbox.com/s/xvn7tg3tt0pxo8s/flatline_tf300.img