Kernel - Desire 816 General

Can someone help with creating a kernel for the D816, that supports double tap 2 wake and other gestures

I would also be interested in learning more about how double tap to wake works. The online documentation is really lackluster and I'd like to know a bit more about how it works and is it possible to manually implement it.

Related

Auto KEY lock wanted

What I am looking for is a simple auto key lock, I am not the only one!
S2U2 I have tried and found to be laggy and unstable, essentially it is overkill, as are most auto key lock programs. I want something simple!
When pressing and holding the end key the keypad locks, all i want is a program to do this automatically after a set time delay, without any fancy tricks or graphics - surely this isn't too much to ask?
I am aware that the power button can put the phone to sleep and disable the keys/screen BUT they do not stay disabled if the phone wakes up (when getting a call/message etc.). Only the key lock does this.
As an alternative, does anyone know how to call the key lock software, where is it located in the windows folder? I can try and write something to do this?
I guess you don't want the password to be activated?
If you do want the password then you can easily do this via
Settings--Personal--Lock
and just specify the time before auto-lock happens
Here are a couple of aps that might help:-
LockWithPassword -I have this little app mapped to a shortcut on my today ...so I can instantly lock when needed ... thanks to slow23 right here at XDA
LockAndOff -does what it says on the tin ...again can be set up as a shortcut, and this one locks keys & turns the screen off (with a single click on the shortcut) but does not invoke the password
Got it from here:- link
Thanks jcsxda, LockAndOff is pretty close to what i want, now if it could be set to run after a short period of activity, or on device sleep/wakeup then it would be perfect
Im looking for the same thing.
A simple auto lock just like any other phone...
S2U2 is overkill and can miss up someother app.
it is the same as the device lock today shorcut?
sorry, my phone is in my car and im too lazy
VJDeviceLock can be used to automatically lock your phone when you switch it off (actually, when you switch it on but it amounts to the same thing).
You can assign any app to launch on power on, by using the events management functions built into the OS. Eg Memory Maid will let you run apps on power on etc.
V
Thanks Vijay for the great info. shutil.dll is responsible for the device lock on windows mobile when you press the today plugin for locking.
Do you know a command to use this DLL (to put in Memory Maid) ?
Is there a rundll32.exe like on desktops or something
VJ you are a star!
Exactly what I've been looking for. A little fiddly to setup, but shouldn't be a problem for anyone unless they are a total newbie!
Now it's setup it is perfect.
Thank you very much, donation on the way!
@jrg1967
Many thanks for the donation! For various personal reasons, I went cold turkey off XDA Devs for about a year, but I'm really glad to be slowly getting back into it. It's amazing how strong this community is, internationally!
@el_lo:
Although there is an API for enabling the lock, when I tried to implement it when WM5 first came out, for VJDeviceLock, it wasn't well documented, so VJDeviceLock does something else that I can't remember now to enable the lock.
I don't believe that there is a rundll32 type app on Windows Mobile. It wouldn't be hard to make one, but then you'd still be running an external app!
I believe that VJKeyPress can also be used to enable the keylock, and there are other 3rd party apps.
HTC may well have built in some function to enable the lock through ROM based software, but for me, VJDeviceLock serves me well.
V
@VJ, you have the makings of a commercial piece of software there- it is very hard to find a simple program to do this, as the poll bias shows. You just need a user friendly settings program to deal with the command lines and make it easy to use. I am sure it would appeal across the WM community...
yeh would be great for the phone to autolock after a set period of time like other phones. ok the screen turns off after 30seconds but it doesnt lock the keys. seems strange why this feature isnt already on the phone...
Ok, I'll put this out there:
If one was developing a (possibly commercial, but cheap) auto lock app, what features would it need?
VJDeviceLock is a very old app now, but it works fine and it still surprises me that autolocking on power off is not a standard feature, so I always install it. I understand that there is a registry entry on the newer non X1 HTCs that does something similar, but anyway:
What features would you need? First, auto locking after a fixed time.
What else?
In the interest of keeping it simple, don't ask for a slide to unlock replacement, as S2U is already fabulous, if that's your thing.
Also note that if you're interested, I can entirely replace the native unlock screen with a different interface, although again, I don't propose replacing S2U. I mean something more like a HUGE unlock button.
Give me ideas.
I can do gesture based unlocks, accelerometer based locking and unlocking (assuming I can do this on the X1, I don't have one, so someone feel free to give me one and I'll come and give your package a fondle).
Note that I'm busy on other stuff, so anyone else can code this, but for simple-ish features I'm happy to start working on it. Bigger stuff will take time.
It would probably be free because I can't deal with the hassle of getting rich
V
I'm using Auto Lock (CSDEVCTRL) works like a charm
http://forum.xda-developers.com/showthread.php?t=386451
Hey Vijay, glad to see you around!
jcsxda said:
I guess you don't want the password to be activated?
If you do want the password then you can easily do this via
Settings--Personal--Lock
and just specify the time before auto-lock happens
Here are a couple of aps that might help:-
LockWithPassword -I have this little app mapped to a shortcut on my today ...so I can instantly lock when needed ... thanks to slow23 right here at XDA
LockAndOff -does what it says on the tin ...again can be set up as a shortcut, and this one locks keys & turns the screen off (with a single click on the shortcut) but does not invoke the password
Got it from here:- link
Click to expand...
Click to collapse
thanks..seems like the lock app i was looking for.
X1 is like a mini comp....anyone can mess around with it if u leave it unlocked
Hi VJ,
It's still working great! Don't make this over complicated, as you can see from the poll people want a simple solution. Now I have it setup it's working just as needed, the standard unlock screen is fine, but the setup was a pain! So, IMHO all that is required is a simple front-end allowing to choose the options, rather than having to enter a command line. More complicated solutions to this issue are already available, so keep it simple.
Options for keylock/password lock at sleep and/or after a set time interval is probably all that is required.
BTW, X1 does NOT have accelerometer.
just having the regular keylock automatically come on after x amount of seconds would do me. no fancy screensavers, passwords or swiping the screen or anything like that. i noticed on diamond tweak there was an option for the keylock to come on when the standby kicked in and the screen goes off, doesnt work on the x1 though but that feature would be ideal.
vijay555 said:
Ok, I'll put this out there:
If one was developing a (possibly commercial, but cheap) auto lock app, what features would it need?
VJDeviceLock is a very old app now, but it works fine and it still surprises me that autolocking on power off is not a standard feature, so I always install it. I understand that there is a registry entry on the newer non X1 HTCs that does something similar, but anyway:
What features would you need? First, auto locking after a fixed time.
What else?
In the interest of keeping it simple, don't ask for a slide to unlock replacement, as S2U is already fabulous, if that's your thing.
Also note that if you're interested, I can entirely replace the native unlock screen with a different interface, although again, I don't propose replacing S2U. I mean something more like a HUGE unlock button.
Give me ideas.
I can do gesture based unlocks, accelerometer based locking and unlocking (assuming I can do this on the X1, I don't have one, so someone feel free to give me one and I'll come and give your package a fondle).
Note that I'm busy on other stuff, so anyone else can code this, but for simple-ish features I'm happy to start working on it. Bigger stuff will take time.
It would probably be free because I can't deal with the hassle of getting rich
V
Click to expand...
Click to collapse
you can make it very simple.assign lock software to power off button.when you display is off you phone ll be locked.this ll be lovely.thank you
Hi Vijay,
I was also trying to develop a simple autolock program. Because I couldn't find any locking program that can prevent X1BC from capturing the keys. What I need is something that kills X1BC just before locking, and re-launches it after unlocking. Currently, I am able to lock the device and kill X1BC when the display dimms, but detecting the unlock is a problem. Do you have any idea how I can detect the unlock? (My program is using the lock mechanism of QuickMenu and that is using the built-in lock).
Cheers

[Q] Keyboard dock: Disable tap to click? (Solved)

I hate trackpads that enable tap to click by default. It's near impossible to keep from hitting it while typing, and I often click on things by accident even when intentionally trying to just move the mouse. To me it's an absolutely useless feature, especially with dedicated left and right click buttons already there below the trackpad. I realize I can disable the touchpad altogether via the hotkey, but that's unnecessary unless I have an external mouse plugged in.
Now normally on desktop operating systems, there is a configuration utility for enabling and disabling advanced mouse features. This is not the case with Honeycomb, and Asus didn't see fit to include their own third party app for handling it, either. What options then do I have, if any? Can tap to click be disabled?
Edit: There now exists at least one custom kernel that can permanently disable tap to click. Grab it here. There are no options yet for those that want to be able to enable/disable on the fly.
You can't disable tap-to-click, but at least you can disable the trackpad completely (top row of buttons between bluetooth and screen brightness).
Considering you can use the TF screen as a touchpad, this should solve your main problem; as it did mine.
glg
or pick up a Bluetooth mouse.
Yeah, I ordered a Bluetooth mouse yesterday. It would just be nice to have some more control over the existing hardware.
There's an API to disable it, but not updated for 3.1 yet. Afaik it's being integrated into the custom firmware too...the thread's around here somewhere, lol... Sorry, too new to this!
Just wanted to update on this issue. A dev by the name clemsyn posted a modded kernel that disables tap to click. This permanently disables tap to click until you flash to a different kernel, though you won't hear any complaints from me.
You'll will of course need root and a custom recovery, and I run it alongside the PRIME! v1.4 ROM. Grab the kernel here.

[Q] double tap to lock/unlock the Note 4.

Hello there,
Today I went with a friend of mine and bought him a brand new LG G3, I played with the phone a bit, and I really liked the "double tap" feature where you can lock or wake the phone up without having to press the power button every time you wish to unlock the phone.
My question is, is it possible to implement this setting in the Note 4? (N910C)
and if it is developed or under development, can anyone suggest a kernel/mod/rom that has that feature...
Thanks guys.
it's just a simple question and I'm new here :/
can't anyone suggest something?
I would be appreciate it.
Nope and nope for both of your questions.
h4ni12 said:
it's just a simple question and I'm new here :/
can't anyone suggest something?
I would be appreciate it.
Click to expand...
Click to collapse
hi,
just a quick point. /and question ?
Why do i want to double tap to wake etc...? If i have some other good options?
i flip open my S view case, to wake my device (without touching my screen etc) To put my phone to sleep i can either also double tap screen (Screen off app on Play market) or slide my finger (along top right side)(GMD app.. need root) on screen.. same effect?
To me its just as cool !
(Just some other cool methods!)
Good luck
willcor said:
hi,
just a quick point. /and question ?
Why do i want to double tap to wake etc...? If i have some other good options?
i flip open my S view case, to wake my device (without touching my screen etc) To put my phone to sleep i can either also double tap screen (Screen off app on Play market) or slide my finger (along top right side)(GMD app.. need root) on screen.. same effect?
To me its just as cool !
(Just some other cool methods!)
Good luck
Click to expand...
Click to collapse
Well, yeah I know these options and about those apps, all of these apps have one thing, they can lock the screen and not wake it up.
Its not that I will need this feature in anyway.. was just asking if it's possible to implement it through the kernel or a rom, or if its a hardware sensor thing..
because I was wondering, how would a phone wake up from an "OFF" screen with tapping on it, if there wan't any sensor to detect it..
and I wanted to see how would that work on a phone that never had that feature before such as samsung.
Thanks for your answer.
PM: I don't have a samsung phone, my question was for educational purpose as I'm doing electrical engineering.
Yes, it's totally possible, and has been added to many custom ROMs for many different devices.
Actually, to be more accurate, it's added to the kernel. So basically just look at all the custom kernels that are available for you, and see if any have that feature. If not, you could always ask a kernel developer nicely, or offer to donate a little if they'd add it for you..

[Q] Multi-Window Alias.

Hello.
My problem: Multi window when using fingers is rather problematic, mainly due to the fact that each time I wish to bring the notification shade down, I seem to keep resizing windows when I only wanted one app on screen.
BUT .... I really appreciate multi window when my S-Pen is out, and I don't keep doing things I don't want to due to the improved precision....
My question: Seeing as I have Note Buddy.... Is there an alias I can write to the auto launch app option to enable multi-window when the S-Pen is undocked?
If not.... What would you ask in exchange for developing a simple Xposed module to achieve this? I'm not exactly rich, but I guess I can apport something if someone goes through the effort....
PS: Having to manually enable and disable each time I remove the S-Pen is not only a chore, I also keep forgetting it and hence why I keep getting into the same problems....
Thaaaanks guys

Stop the home button waking the display up

I like my new S7 Edge, but I wish the home button wouldn't wake my phone display up when it's in my pocket: I don't want it to wake the phone up under any circumstances, after all there's a nice button on the side to do this . I had a web search, and found a number of suggestions to the effect that it's easy if it's rooted. But NO actual descriptions of how to do it. My phone is rooted and working well on Nougat using this excellent ROM:
https://forum.xda-developers.com/s7-edge/development/android-nougat-7-0-beta-1-rom-test-t3498664
I had a search in XDA too, but have still found nothing to suggest how I can do this. Can someone point me in the right direction please!
So no one knows? Somewhat astonishing. There are guides on how to do this on older Galaxies by remapping the keyboard tables but it would appear that the way these work has changed in Nougat. There is no HOME KEY WAKE, or anything like it, in the /system/usr keyboard tables. Key 143 in generic.kl says 'WAKEUP' and I've tried commenting this out, but there is no observable difference in behaviour.
I assume the function has moved elsewhere but I'm surprised that no one on XDA now knows how to mod this!
im looking for that too, cant find a solution.

Categories

Resources