[Q] power softkey - Xperia Z1 Q&A, Help & Troubleshooting

I'm on rooted xperia z1
I have 5 button softkey already with xposed framework but I want to have power button softkey how can I do that? please help

Not sure I have seen that mod anywhere
It is possible to remap a different hardware button for that, for example I use volume up as my power button
With a soft key it would also be impossible to power on the phone...

gregbradley said:
Not sure I have seen that mod anywhere
It is possible to remap a different hardware button for that, for example I use volume up as my power button
With a soft key it would also be impossible to power on the phone...
Click to expand...
Click to collapse
does xposed go down to hardwarelevel?
sure you can remapp your power button while android is turned on, due to the layers between hardware and UI. but as soon as it's powered off your power on button should work the normal way.
i don't really know, but im curious

No, I have to use the power button to turn on, that's why I said it would be impossible with a softkey
However, I can use the volume up button to wake the device like power button does. You wont be able to do that with a softkey

thanks all
I'm already on it, figure it out how
thanks anyway

thanwachai said:
I'm already on it, figure it out how
thanks anyway
Click to expand...
Click to collapse
How? ..I am curious...

xposed framework
eclyptos said:
How? ..I am curious...
Click to expand...
Click to collapse
I'm using xposed framework and add 2 more button and make one of them power button

thanwachai said:
I'm using xposed framework and add 2 more button and make one of them power button
Click to expand...
Click to collapse
OK, but it not look like power button, so you remapped a softkey button, right?

yep
eclyptos said:
OK, but it not look like power button, so you remapped a softkey button, right?
Click to expand...
Click to collapse
it is like that..

thanwachai said:
it is like that..
Click to expand...
Click to collapse
Hmm...not really like I want it. I want and prefer a real Softkey Power Button.

Anyone able to use xposed, or any way to remap say.... Camera or volume buttons to wake device
-----------------------------------------------------
Tapatalked from Sony Xperia Z1
Stock JB 4.4.4 | Root | Deodex | Cam Mods

jcsy said:
Anyone able to use xposed, or any way to remap say.... Camera or volume buttons to wake device
-----------------------------------------------------
Tapatalked from Sony Xperia Z1
Stock JB 4.4.4 | Root | Deodex | Cam Mods
Click to expand...
Click to collapse
Yes
Look for xposed additions module to remap keys
I use my volume up button for the power button all the time, the only thing it wont do is turn it on, it will wake, send to sleep and long press brings up the reboot menu

gregbradley said:
I use my volume up button for the power button all the time, the only thing it wont do is turn it on, it will wake, send to sleep and long press brings up the reboot menu
Click to expand...
Click to collapse
Why did you have to do that? Is your power button dying?
Kinda worried now... does this happen a lot on the Z1? The phone can't be that old, it's been out for 12 months!?

Hüttenkäse said:
Why did you have to do that? Is your power button dying?
Kinda worried now... does this happen a lot on the Z1? The phone can't be that old, it's been out for 12 months!?
Click to expand...
Click to collapse
firstly I did because I could. I like playing around and changing stuff
But also when I hold my phone my thumb naturally goes to that spot, so I thought why not change the button..

gregbradley said:
But also when I hold my phone my thumb naturally goes to that spot, so I thought why not change the button..
Click to expand...
Click to collapse
Ah ok. Very true. The power button's position is a bit awkward in that respect. Bit difficult to press when using just one hand, either left or right.
I guess Sony assumed everyone would use such a big phone with two hands at all times.

gregbradley said:
Yes
Look for xposed additions module to remap keys
I use my volume up button for the power button all the time, the only thing it wont do is turn it on, it will wake, send to sleep and long press brings up the reboot menu
Click to expand...
Click to collapse
What's the mod called
-----------------------------------------------------
Tapatalked from Sony Xperia Z1
Stock JB 4.4.4 | Root | Deodex | Cam Mods

xposed additions module... Like I said in the post you quoted
Sent from my C6903 using XDA Premium 4 mobile app

OK got it. Sorry I though u meant Additions as the xposed frame work addition to stock ROM
-----------------------------------------------------
Tapatalked from Sony Xperia Z1
Stock JB 4.4.4 | Root | Deodex | Cam Mods

Related

CM9 G Button remap

hi, I open this thread to show you how to remap the G button, on the FOP rom it is assigned as a comma so it's totally useless, but all you have to do is using root explorer go to:
system\usr\keylayout
and modify the files "generic.kl" and "TWL4030_Keypad.kl" and search for "key 95".
On the "generic.kl" it will say something like insert comma, change that to one of this options:
APP_SWITCH it will make the g button open the recent apps
CAMERA well it's obvious it will open the camera
and on the "TWL4030_Keypad.kl" it will say "POWER WAKE_DROPPED", just erase that and type one of the options I said (you MUST assign the same option to BOTH files)
Hope it would be usefull ^^ I recomend using the button for the recent apps, since the camera can be accessed from the lockscreen and the camera isnt working right now
If you need to, I can make a CWM flashable zip to modify those 2 files, I didn't did that because this is way too easy to do manually...
Remember to mount R/w so you can edit the files
After doing that just reboot
You should mount r/w not r/o
Sent from my phone via tapatalk
A flashable file would be great!
You forgot reboot...neway thanks m8..it worked just fine :highfive:
RomWiz said:
You should mount r/w not r/o
Click to expand...
Click to collapse
thanks, for correcting me
strider2023 said:
You forgot reboot...neway thanks m8..it worked just fine :highfive:
Click to expand...
Click to collapse
ohh right jeje sry
Already there but imcomplete:
http://forum.xda-developers.com/showthread.php?t=1194058
koila33 said:
Already there but imcomplete:
http://forum.xda-developers.com/showthread.php?t=1194058
Click to expand...
Click to collapse
I saw this one when trying to do this, and it is really weird the tutorial so I decided to do this one, also it only says how to use as camera and lock button... could you consider adding this to the FOP rom?
Melin Leos said:
I saw this one when trying to do this, and it is really weird the tutorial so I decided to do this one, also it only says how to use as camera and lock button... could you consider adding this to the FOP rom?
Click to expand...
Click to collapse
If you guys find it useful we can add that feature, but it is easy to add this feature, so if you guys want, you guys can add by yourself.
koila33 said:
If you guys find it useful we can add that feature, but it is easy to add this feature, so if you guys want, you guys can add by yourself.
Click to expand...
Click to collapse
I know it's easy to add but the thing is that right now the g button on fop rom is completely useless
This works on CM7?
zortheck said:
This works on CM7?
Click to expand...
Click to collapse
Yep, tecnically it works on all roms, but I can't say exactly since Idont know which file you have to modify on cm7
zortheck said:
This works on CM7?
Click to expand...
Click to collapse
On cm7, you have to edit /system/usr/keylayout/qwerty.kl - delete key 212 line and add key 95 POWER WAKE_DROPPED or the line about camera - save and reboot
Sent from my LG Optimus Black using xda premium
My Power button is dead and i cannot turn on the phone manually. Ineed to use usb cable,enter the battery charging state and need to push the button frequently(hopefully it detect) till it reboot.Then i try to remap the power button to G button. still cannot on even at battery charging state... This phone is screwed.. wonder if anyone want to buy my phone.. haha..
My power button is not in the best condition too. First I remaped G button (key 95 POWER WAKE_DROPPED) and then I use SoftPower app to wake it because it even has sometimes problems to wake up with the remaped G button and I'm fine. OK that doesn't help when it's completly switched off but then it seems to work rather good and I nearly never switch it off anyway. I use AnReboot for some time, it is fast for reboot and good for getting in recovery.
SaschaKH said:
My power button is not in the best condition too. First I remaped G button (key 95 POWER WAKE_DROPPED) and then I use SoftPower app to wake it because it even has sometimes problems to wake up with the remaped G button and I'm fine. OK that doesn't help when it's completly switched off but then it seems to work rather good and I nearly never switch it off anyway. I use AnReboot for some time, it is fast for reboot and good for getting in recovery.
Click to expand...
Click to collapse
Getting to the recovery is not the problem as i can use the adb command. The worst part is when i want to call someone urgently and the phone cannot wake the screen. So softpower app can help in these kind of situation? As when the phone is completely dead, there nothing we can do to turn it on as some people said that the power button is hardwire.
Yes SoftPower wakes my phone up all the time without any problem. I haven't even activatet the adminstrator, because it is only needed for turning the screen off and I use G button for that. (Need the search button for something else anyway.)
BTW if you remap the G button it even shows the power menu like you get it for long pressing power button (at least with some ROMs).
Thanks man, i will try that software. I just open this phone and found out that the usb port and the power button is integrated with each other. So, it's kinda hard to repair it.
Thanks.... I modify G Button as Camera and its working awesome on CM10..
Sent from my LG-P970 using xda premium
Please
And if I want both answering and ending a call with G button, how can I add that to the file?
Maybe for wake up and turn off the device too? I guess it's applicable for multiple actions, isn't it?
atillaahun said:
And if I want both answering and ending a call with G button, how can I add that to the file?
Maybe for wake up and turn off the device too? I guess it's applicable for multiple actions, isn't it?
Click to expand...
Click to collapse
I tested it.I modify G button as CALL WAKE_DROPPED
With this I can receive the call but can't end call with G Button.
And also
Device wakes but can't turn off.
Sent from my LG-P970 using xda premium

Screen shot?

What's the key press for screen shot /screen capture?
sent from a jellybean-stuffed HTC sensation
Shroomster said:
What's the key press for screen shot /screen capture?
sent from a jellybean-stuffed HTC sensation
Click to expand...
Click to collapse
No way. Click on right softkey botton, will appear all the screens and Square Option > Active Clipe, back to the needed window, click screen capture. Done. Click Thanks.
Sheesh! That's a mess to do....thanks
sent from my rooted Xperia Z1
Or you can install exposed framework and gravity box & there is an option in power tweets to add screenshot to the reboot menu
Sent from my C6903 using xda app-developers app
Shroomster said:
What's the key press for screen shot /screen capture?
sent from a jellybean-stuffed HTC sensation
Click to expand...
Click to collapse
Root your phone, install Monxdified ROM, use the power button to bring up the menu select screen capture.
You will get many more benefits that just screen capture
Simply press volume key down and power buton at the same time for 2-3 second and there u go u have ur screenshot while jb have builtin screenshot !
Shroomster said:
Sheesh! That's a mess to do....thanks.
Click to expand...
Click to collapse
Why? This is the first way you should know. Is a option stock in Z1. (thanx for thanx, was a joke)
danw_oz said:
Root your phone, install Monxdified ROM, use the power button to bring up the menu select screen capture.
Click to expand...
Click to collapse
You don't have necessarily flash a new rom, just root and use any app which you like to take screens.
Meni30 said:
Simply press volume key down and power buton at the same time for 2-3 second and there u go u have ur screenshot while jb have builtin screenshot !
Click to expand...
Click to collapse
This is actually very good, how I didn't know this trick. :highfive:

[Q] Allow screenshot Xperia V 4.3

Hi there, after flashing android 4.3 on my xperia V, the screenshot option when press power button doesn't appear
I looked for the app in system/app but i didn't find it
does anyone knows how to allow it? cause i think its illogical that sony had removed it
oct_ibz said:
Hi there, after flashing android 4.3 on my xperia V, the screenshot option when press power button doesn't appear
I looked for the app in system/app but i didn't find it
does anyone knows how to allow it? cause i think its illogical that sony had removed it
Click to expand...
Click to collapse
You can use power + volume down button (press together and wait a bit) for screenshot
norti said:
You can use power + volume down button (press together and wait a bit) for screenshot
Click to expand...
Click to collapse
Thank you, that's a very nice trick :laugh:

Invisible power button in KK

Any mod or port of sysui with invisible power menu
Xperia Z1 ihacker V4.1
walkwitmeinhel said:
Any mod or port of sysui with invisible power menu
Xperia Z1 ihacker V4.1
Click to expand...
Click to collapse
First of all what do you mean by invisible power button?
If you what to use the power button without pressing the power button use an xposed module called GravityBox
Under "Navigation keys actions" you can set actions like long pressing the back button brings up power menu etc.
yup owns Xperia Z1
Current Rom : CM11 with cwm as kernel
Bootloader: Unlocked
Also if I've helped you don't forget to hit THANKS - actions speak louder that words.
RealiableCandy4 said:
First of all what do you mean by invisible power button?
If you what to use the power button without pressing the power button use an xposed module called GravityBox
Under "Navigation keys actions" you can set actions like long pressing the back button brings up power menu etc.
yup owns Xperia Z1
Current Rom : CM11 with cwm as kernel
Bootloader: Unlocked
Also if I've helped you don't forget to hit THANKS - actions speak louder that words.
Click to expand...
Click to collapse
what he means is the usage of part of the screen (more than likely the nav bar) to have a lock screen button on it, so you don't always have to use the power button to turn the phone off.
It can be done afaik, i'm looking to do it myself and you've just reminded me.

Screenshot like in Asus?

When I use the KK Rom, I can only get the screenshot by using the Power Menu (Long press the power button while the power menu is configured to have a screenshot option). Anyone knows a way or any app I can install to capture a screenshot by long press the "Recent App" Soft key and get a screenshot saved like in the Asus stock ROM?
Screenshot Ultimate lets you configure all kinds of options to capture a screen shot > Play Store
Sent from my K00C using Tapatalk
berndblb said:
Screenshot Ultimate lets you configure all kinds of options to capture a screen shot > Play Store
Sent from my K00C using Tapatalk
Click to expand...
Click to collapse
Thanks for the tip, I installed and tested it, the captured size of the screenshot is not exactly as it is by using the hardware key or the long press Recent Apps softkey.
Any other tips?
myeepad said:
Thanks for the tip, I installed and tested it, the captured size of the screenshot is not exactly as it is by using the hardware key or the long press Recent Apps softkey.
Any other tips?
Click to expand...
Click to collapse
I am not using the KK version but does the power and volume down not take a screen cap?
It works in JB version and on my phone with KK?
Sleeepy2 said:
I am not using the KK version but does the power and volume down not take a screen cap?
It works in JB version and on my phone with KK?
Click to expand...
Click to collapse
Yes, the power and volume key combination works, but for 2 reasons I don't like it.
1) too many presses on keys are no good for the hardware, and
2) the TF701 has both power and volume keys on the upper left hand and it is difficult for me to press both keys at once.
I think the best is still the long press Recent Apps soft button implemented by Asus.
myeepad said:
Yes, the power and volume key combination works, but for 2 reasons I don't like it.
1) too many presses on keys are no good for the hardware, and
2) the TF701 has both power and volume keys on the upper left hand and it is difficult for me to press both keys at once.
I think the best is still the long press Recent Apps soft button implemented by Asus.
Click to expand...
Click to collapse
You must take a lot of screen shots also I almost never push those buttons
Cant you just assign quicklaunch targets around the home button? works for me.
Sleeepy2 said:
You must take a lot of screen shots also I almost never push those buttons
Click to expand...
Click to collapse
Oh, no, I use the screenshot for Words for Friends Cheat...
YayYouFixedIt said:
Cant you just assign quicklaunch targets around the home button? works for me.
Click to expand...
Click to collapse
Please elaborate on this more, are you referring to add the screenshot choice to the power on/off hardware button?
Just use the power options screen shot functionality in kk.... It's in settings, developer settings somewhere. You push the power button and one of the options is a soft button to take a screen shot.
Or stop cheating

Categories

Resources