Hardware button on Custom Roms - Lenovo P2 Questions & Answers

Hi guys
I was wonderingif someone can tell me if there are any custom roms where the additional hardware button (battery saver) works as intended or has any other function?
Kind regards

Not possible unfortunately. Maybe in future but don't count on it.
Sent from my Lenovo P2a42 using Tapatalk

Was wondering about that too.
How about more features for the "HOME" button, I see that some ROMs mention "long press / double press (depends on the hardware)" but are these usable on the P2 ? Thanks !

Related

OK Button Remapping...

I know this has been asked many times about remapping of ok button on front of hermes .....i also have reassigned the ok button to close instead of minimize using ae button plus 2.52 but long press function of ae on OK button doesnt work....
i want that when i long press the OK button spb pocket plus menu opens whereas when i press OK button it closes the running application.
Thx in advance
i really luv this community.
Hey max, when did you get a hermes? What happened to your magician?
I've been away for quite a while and missed a bit.
V
vijay555 said:
Hey max, when did you get a hermes? What happened to your magician?
I've been away for quite a while and missed a bit.
V
Click to expand...
Click to collapse
got it after my xams as birthday gift....sold magician quite a time ago.now running black 4 and the ok button is really irritating me .....plz help
There are a number of threads about remapping the ok button. However, I've not seen any about the press and hold.
AE Button Plus is the best app I know/knew of for remapping. If it doesn't work, it doesn't work I'm afraid. Speak to the author of the app specifically to see if it's a known issue.
V
try handy switcher v3.0, it works for me
Dear Vijay555,
glad to see you somewhere in hermes forum, about ok button mapping, i know you already give us VJOkButt. your tools is my choice.
is it possible to write a tini app that simulate the click at the top corner x button so it does close running app via HTC-xbutton, and we safe to close everything phone,activesync..? or this is useless?
thanks Vijay
VJOkButt already has a mode to emulate clicking the top right close button I think -
http://www.vijay555.com/?Releases:VJOkButt
-justclick
simply click the existing ok button (for compatibility with other task managers)
Click to expand...
Click to collapse
VJOkButt has code built in to not close various important apps that would crash the system. But closing things like the phone is possible,
-phclose
will force the phone to close, not minimise, to save extra memory (but will cause minor incompatibility with dialing from contacts - reload with VJTogglePhone or launching cprog.exe)
Click to expand...
Click to collapse
let me know if you need something else.
V
hello
i waana have mutiple functions from ok button like if i press it
once-.....app 1 runs
twice........app 2 runs
thrice.......app3 runs
long press.....app4 runs
i want to have this functionality.help anybody
max414 said:
i waana have mutiple functions from ok button like if i press it
once-.....app 1 runs
twice........app 2 runs
thrice.......app3 runs
long press.....app4 runs
i want to have this functionality.help anybody
Click to expand...
Click to collapse
Don't know if this is you're looking for, but here you have one great and free software to try...
http://forum.xda-developers.com/showthread.php?t=306794
ey, and it's here at XDA what a chance...
Regards.
hi all,
i know a japanese software PQZII can remapping the hw ok button with close app,it has many other amazing functions about the hw button,too
hope that it can give u a hand
Wished i could do that with ae button plus...as i really like the app.
Have you tried PQz max?
V
vijay555 said:
Have you tried PQz max?
V
Click to expand...
Click to collapse
I tried it when i had a magician didnt like it and afterwards installed ae buttons but i can give it a try if it solves my problem

[APP] Stock Camera with Vol.Up shutter

Hi,
If enough people will want this app Tigger31337(WildChild ROM) said he would look in to it..
Please post a reply if you're interested.
Tnx!
Camera
That would be awesome. Having to touch the screen actually makes it a little harder to snap a quick picture.
That would be great!
Yes i want it too
Me too want this cam
Sent from my HTC Wildfire S A510e using xda premium
Count me in.
Sent from my HTC Wildfire S A510e using xda premium
Me Too
Yes me too :thumbup:
Tigger is my favorite developer
And his Rom is the best
Send from my HTC Wildfire S
ROM. Wildchild. v2. 0
Me tooo
Sent from my HTC Wildfire S A510e using xda premium
Me too
Sent from my Wildfire S A510e using xda app-developers app
meee tooooo :laugh:
Me too, please!
(Oh, wait... )
So, now that the WildChild Sense is 99.9% finished (look for it soon) I promise to give this some attention.
Off the top of my head, it seems trivial to remap the VolUp key to be a global Camera Shutter key (if anyone's desperate for this, I can release it in about 5 mins!) but I have the feeling that we all want the VolUp key to release the shutter only from within the Camera app itself. That will require some fancy footwork. I've yet to see it done for a Sense 2.1 ROM so... no promises, but I will take a look at it shortly.
Thank you, all, for voicing your request.
Enjoy the weekend,
Tigger31337 said:
Me too, please!
(Oh, wait... )
So, now that the WildChild Sense is 99.9% finished (look for it soon) I promise to give this some attention.
Off the top of my head, it seems trivial to remap the VolUp key to be a global Camera Shutter key (if anyone's desperate for this, I can release it in about 5 mins!) but I have the feeling that we all want the VolUp key to release the shutter only from within the Camera app itself. That will require some fancy footwork. I've yet to see it done for a Sense 2.1 ROM so... no promises, but I will take a look at it shortly.
Thank you, all, for voicing your request.
Enjoy the weekend,
Click to expand...
Click to collapse
Thank you very much for this!!
We really appreciate the effort.. And looking foreword for updates..
Have a great weekend.
Hi, I can give U a temporary solution.
Download this software
https://www.dropbox.com/s/d7x58xb2orf1n1s/BR0.2.4.1.apk
Install it.
Remap the keys as you like (you can only remap volume up and volume down shown as Media next and media previous in the soft).
U just need to know what state means. 3 states are there, Wake, Wake_dropped & none. For camera button I'd prescribe U should select NONE.
Wake = Means they will work even when screenlock is on
Wake Dropped = Means will work only when screenlock is off
You can alternatively do the same by editing /system/usr/keylayout/marvel-keypad.kl
Same process but in that case u have to do it manually. Just a little more time consuming. And revert back is a click away in that software(check >Menu>Settings). or in the second process delete marvel-keypad.kl and rename marvel-keypad.kl.bak as marvel-keypad.kl!!!
finance.resat said:
Hi, I can give U a temporary solution.
Download this software
https://www.dropbox.com/s/d7x58xb2orf1n1s/BR0.2.4.1.apk
Install it.
Remap the keys as you like (you can only remap volume up and volume down shown as Media next and media previous in the soft).
U just need to know what state means. 3 states are there, Wake, Wake_dropped & none. For camera button I'd prescribe U should select NONE.
Wake = Means they will work even when screenlock is on
Wake Dropped = Means will work only when screenlock is off
You can alternatively do the same by editing /system/usr/keylayout/marvel-keypad.kl
Same process but in that case u have to do it manually. Just a little more time consuming. And revert back is a click away in that software(check >Menu>Settings). or in the second process delete marvel-keypad.kl and rename marvel-keypad.kl.bak as marvel-keypad.kl!!!
Click to expand...
Click to collapse
Thanks mate ..
But I want to remap the Vol.up only for the camera app..
finance.resat said:
Hi, I can give U a temporary solution.
Download this software
https://www.dropbox.com/s/d7x58xb2orf1n1s/BR0.2.4.1.apk
Install it.
Remap the keys as you like (you can only remap volume up and volume down shown as Media next and media previous in the soft).
U just need to know what state means. 3 states are there, Wake, Wake_dropped & none. For camera button I'd prescribe U should select NONE.
Wake = Means they will work even when screenlock is on
Wake Dropped = Means will work only when screenlock is off
You can alternatively do the same by editing /system/usr/keylayout/marvel-keypad.kl
Same process but in that case u have to do it manually. Just a little more time consuming. And revert back is a click away in that software(check >Menu>Settings). or in the second process delete marvel-keypad.kl and rename marvel-keypad.kl.bak as marvel-keypad.kl!!!
Click to expand...
Click to collapse
I didn't download the s/w, but if it behaves the way you say, then that won't quite work. For starters, I need to map volume to more than just WAKE or MEDIA (it has to be CAMERA). If your s/w can't do that, then I can just do it by hand (very easy). The problem, as I described earlier, is that it will be a GLOBAL change. Nobody wants that. The goal is to get Vol+Up to Shutter only from within the camera apk.
Second, your description of WAKE vs. WAKE_DROPPED isn't entirely accurate. It has nothing to do with screen on/off. It has to do with whether or not the h/w button function will be passed along to the app after the WAKE call. (WAKE sends the h/w call to the app, but WAKE_DROP does not).
Anyway, gimme another couple of days and I'll start working on this. Sorry about the delay.
Just a little teaser...
I'm able to get the HTC camera app to take a picture with the Volume rocker... but I don't like it.
I must have broken something else in the process because I (sometimes) get visual artefacts on the bottom of the picture (green bars). Also, the layout looks a bit wonky but still functional.
And finally, it's unpredictable when the camera will zoom and when it will actually take a snapshot when the vol keys are pressed. It seems like a long press will zoom and a short press will release the shutter (which is what i wanted) but it doesn't always work that way.
Now here's the real issue. I always thought that a h/w shutter button would be better than tapping the screen. But, after hacking around with it, it turns out that tapping the screen generated less shake for me! Try it yourself. If you hold your phone steady and press the Vol Up button, for me, there is a very slight movement on the camera. But if I'm holding the phone the same way (by all 4 corners) and then use the tip of my index finger to tap the shutter icon, I get practically no motion == clearer shot. (Maybe that's just me!)
In any case, I'm quite happy with the touchscreen shutter (and I'm busy as hell) so I'm not really driven to complete this project. That being said, I will glady spend a few more days on it and then release whatever I have for some other keener, smarter folks to complete.
Thanks dude..
We'll appreciate what ever release you'll give us..
A small motivation..
I was trying to take a pic of me and my gf yesterday..
It just impossible with the touch shutter..
But in the other hand.. Why ruin the view with my ugly face
It'll be fine if you simply disable the volume zoom function. Its digital zoom anyways, so we can always crop the pic later. So you can maybe map volume down to re-focus & volume up to click!
maoz59 said:
Thanks dude..
We'll appreciate what ever release you'll give us..
A small motivation..
I was trying to take a pic of me and my gf yesterday..
It just impossible with the touch shutter..
But in the other hand.. Why ruin the view with my ugly face
Click to expand...
Click to collapse
HTC's self-portrait is amazing. Its got face detection, try it out!
Hi all
Tigger U r the boss and I m just a noob. I hardly know anything about android.
Anyways, here is another temporary solution... Hope U like it or hope U not But i'm using it currently so ill just post that, glad if it help anyone.
Download camera360 and this S/W
The camera is better than stock I think. Use the longpress camera key shortcut as any volume control software (I use hide it pro). And long press search key as the Aneq Equalizer free so that U can switch equalizer when u listening to music. I use vol up as next track and vol down as camera. works pretty well for me. Vol up press after remap is also used to change radio stations.. I m having good fun.:good:

[Q] “KnockOn” (Double-Tap Screen to Wake)

Can I modify the kernel to make this mod or it's not about the kernel
I wants this badly because the power button is away far of my hands
mido3366 said:
Can I modify the kernel to make this mod or it's not about the kernel
I wants this badly because the power button is away far of my hands
Click to expand...
Click to collapse
it depends on kernel ....... we cant have this feature right now... it needs a brilliant developer to be implemented in our phone's kernel
mido3366 said:
Can I modify the kernel to make this mod or it's not about the kernel
I wants this badly because the power button is away far of my hands
Click to expand...
Click to collapse
Use this Gravity screen app in the mean time. Better than the feature you are looking for. Hit thanks if I helped you.
The link is : http://9androidapps.com/mod-gravity-screen-onoff-v1-81-0-apk-iap-unlocked/
I use the flip cover given by HTC, it has magnetic sensors I believe works Very good . Automatic screen on and off when we open flip
This feature is possible because of specific hardware. Not possible to use it on the Desire 816.

Question screenshot in ASUS ZenFone 2

Hey,
I bought the device from sgadget.net
The device comes complete and fast
I'm really new with the device I wanted to ask how I make a screenshot?
shlomibi5 said:
Hey,
I bought the device from sgadget.net
The device comes complete and fast
I'm really new with the device I wanted to ask how I make a screenshot?
Click to expand...
Click to collapse
You can press Power button + Volume Down to take a screenshot
If you're using stock rom, there is an option to hold down Recent Apps button to take a screenshot as well. Just fiddle around in settings.
Sent from my ASUS_Z00A using Tapatalk

Screenshot without using power button in LineageOS

Hello, I'm using Samsung S3 GTI9300 and i used Lineage ROM. I want to take screenshot but my power button damaged.Did it had another way to screenshot without power button?
syifabwz said:
Hello, I'm using Samsung S3 GTI9300 and i used Lineage ROM. I want to take screenshot but my power button damaged.Did it had another way to screenshot without power button?
Click to expand...
Click to collapse
Your best bet is to post this question within the following Official LineageOS thread for your device.
http://forum.xda-developers.com/showthread.php?t=3544531
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
syifabwz said:
Hello, I'm using Samsung S3 GTI9300 and i used Lineage ROM. I want to take screenshot but my power button damaged.Did it had another way to screenshot without power button?
Click to expand...
Click to collapse
I don't think, this S3 specific. So I answer in general forum.
You could try an extension for quick settings like https://play.google.com/store/apps/details?id=com.gunny.bunny.tilemedia
Or, Button Mapper to assign the function to another h/w button:
https://labs.xda-developers.com/store/app/flar2.homebutton

Categories

Resources