[Q] No restart option when hitting power button CM9 - TouchPad General

I am not getting the Restart, shutdown and screenshot option when i hit the power button.I am on CM9 i see only the shutdown. Any way to fix this

usually that is a mod to the power button function. It may just be that that feature hasn't been built/coded yet.

Currently using Quickboot to get that functionality until there are rooms built in with it.

One thing I am known to do is open up the Terminal Emulator, type su (enter) reboot (enter). Boom, reboot.

ve6ay said:
One thing I am known to do is open up the Terminal Emulator, type su (enter) reboot (enter). Boom, reboot.
Click to expand...
Click to collapse
Thanks i will stick with Terminal Emulator until next update.

Found this out on accident.. the code is there somewhere.. I forgot which dpi made everything smaller so I went to dpi of 240 in build.prop. Well found that made everything huge.. the soft buttons were gone the status bar goes to the top of the screen and when you long press the power button it does have the options to reboot to recovery, bootloader, reboot, power off and a few others I forget what they said. Then going to 120 which is perfect there is only power off. Just thought I would share

drt054 said:
Found this out on accident.. the code is there somewhere.. I forgot which dpi made everything smaller so I went to dpi of 240 in build.prop. Well found that made everything huge.. the soft buttons were gone the status bar goes to the top of the screen and when you long press the power button it does have the options to reboot to recovery, bootloader, reboot, power off and a few others I forget what they said. Then going to 120 which is perfect there is only power off. Just thought I would share
Click to expand...
Click to collapse
I will check on it thanks for the info

At that dpi it returns to the phone ui. That's why the option is there. It's not yet implemented in the tablet setting.

Related

[how-to] remap genius key

1) Boot in to ClockworkMod Recovery
2) mount /system from partitions menu
3) adb pull /system/usr/keylayout/latte-keypad-v2.kl latte-keypad-v2.kl
4) Edit file locally, the genius key is: key 187 (make a backup of the original file first)
5) adb push latte-keypad-v2.kl /system/usr/keylayout/
6) Reboot
For more information on remapping keys see: http://forum.xda-developers.com/showthread.php?t=695936
If you want the genius button remaped to ENDCALL (if on a call it will end the call, if not on a call it will lock the screen, if you hold it down it activates the power button menu) and don't won't to edit the file yourself you can download this premodified version, just place it in the directory you are running adb from and skip steps 3&4): http://www.4shared.com/file/ein06_25/latte-keypad-v2.html
Notes:
There is a slight hardware delay on the button press, so whatever you assign it to you need to hold the button for half a second just like with the current genius app.
It does not seem to be any easy task to be able to call an alternate application, for now, you can only reassign the key to something another key already does (letter/number, end call, power, volume, camera, etc.). I'm currently working on being able to call an alternate application.
falken98 said:
1) Boot in to ClockworkMod Recovery
2) mount /system from partitions menu
3) adb pull /system/usr/keylayout/latte-keypad-v2.kl
4) Edit file locally, the genius key is: key 187
5) adb push /system/usr/keylayout/latte-keypad-v2.kl
6) Reboot
For more information on remapping keys see: http://forum.xda-developers.com/showthread.php?t=695936
Click to expand...
Click to collapse
Well, how about that. Great find, falken98!
Complete aside: Is your handle taken from the movie "WarGames"? If so, awesome.
So what are people planning to map to this particular hardware key?
and would we easily be able to make this a end call/sleep key? if so what needs to be changed
kingofyo1 said:
and would we easily be able to make this a end call/sleep key? if so what needs to be changed
Click to expand...
Click to collapse
Sure can, to make end call just change:
key 187 FUNC_4
to:
key 187 ENDCALL WAKE_DROPPED
HebrewToYou said:
Complete aside: Is your handle taken from the movie "WarGames"? If so, awesome.
Click to expand...
Click to collapse
haha. yes, it is. nice catch!
and what about the sleep functionality like on the old mytouch?
YESSS
i started a thread on this and was hard into figureing this out
thanks for the help
kingofyo1 said:
and what about the sleep functionality like on the old mytouch?
Click to expand...
Click to collapse
That i'm not sure about, i'll do some digging and see.
kingofyo1 said:
and would we easily be able to make this a end call/sleep key? if so what needs to be changed
Click to expand...
Click to collapse
glad you asked this, that is what i want my genius button to be and it bugs me that it's not since i hit it all the time when trying to hang up on people(came from G1 so that's where my button was) i will do this later
managed to switch fn and menu on hw keyboard, it was bugging me that i constantly hit menu when trying to hit fn(bad button planning by HTC) but now i have the keys where i want them may have to make a few changes later as well to other stuff(camera and focus should do something else)
its not working whenever i put in adb pull "" it just gives me all the adb options..
kingofyo1 said:
and would we easily be able to make this a end call/sleep key? if so what needs to be changed
Click to expand...
Click to collapse
This is actually working this way for me. If on a call, I can hold it for about half a second, it will end the call. Press it for half a second again, it will put it to sleep. If I press and hold the key, it will bring up the Power options menu. This is after I mapped key 187 to ENDCALL WAKE_DROPPED.
Edit: Also, I love "187" being the Genius key
squidbutt said:
its not working whenever i put in adb pull "" it just gives me all the adb options..
Click to expand...
Click to collapse
Sure you have it typed correctly?
D:\android-sdk-windows\key> adb pull /system/usr/keylayout/latte-keypad-v2.kl
358 KB/s (3675 bytes in 0.010s)
fermunky said:
This is actually working this way for me. If on a call, I can hold it for about half a second, it will end the call. Press it for half a second again, it will put it to sleep. If I press and hold the key, it will bring up the Power options menu. This is after I mapped key 187 to ENDCALL WAKE_DROPPED.
Click to expand...
Click to collapse
That does turn out rather well for that button! No more annoying "say a command".
to make it a search key I:
key 187 FUNC_4
to:
key 187 SEARCH
??
Great find man, I switched it to end call/dropped too and its working perfectly. If anyone figures out before I do to make it the sleep function please post.
FYI, after you remap the key it seems to be safe to go ahead and remove:
vsuite.apk, vsuite.odex, VSuiteApp.apk, VSuiteApp.odex
If you have no interest in the genius button function.
what does the WAKE_DROPPED mean
btw when I pull the file where does it pull to? my sdcard or do I have to put a directory? Someone should just upload the stock file
turboyo said:
what does the WAKE_DROPPED mean
Click to expand...
Click to collapse
WAKE: When this key is pressed while the device is asleep, the device will wake up and the key event gets sent to the app.
WAKE_DROPPED: When this key is pressed while the device is asleep, the device will wake up and the key event does not get sent to the app.
If we figure out how to put the device the sleep there would actually be a difference.
turboyo said:
btw when I pull the file where does it pull to? my sdcard or do I have to put a directory? Someone should just upload the stock file
Click to expand...
Click to collapse
It pulls it to the computer you ran adb from (in the directory you are in), you then edit the file with a text editor and push it back up.
Since you have to edit the file and push it back you might as well just go ahead and pull it first, seems more annoying to try and download it first.
Im getting the same thing with it just listing all the adb commands.. Ahh things like this were so much easier with SUFBS lol, all I would have to do is go to the directory and edit the file right in there

[Q] Disable Power ON with Home Button?

Hi all,
the new Xperia Mini goes ON when i press the Home Button. (and with the Power Button too)...
Is there a way to disable Power ON with the Home Button?
Thanks!
Not that I know of. I actually like pressing the home button to turn on phone. Its more natural for me bc iv been using iphone for long time. To each his own I guess
Why is it you have a problem? just wonderin
Sent from my SK17i using XDA App
Too bad...
Using a Leather Case, and the Close "Button" is direct over the Home Button.
So everytime the Case is "Pressed" the Phone turns on.
ahhh i see. at least is minimal drain on the battery for lock screen to be on 10-20 sec.
but then again the battery life for xperia isn't all that great so i see your concern. guess back to playing the waiting game
Yes, but i like the Phone really!
Just wrote an eMail to SonyEricsson...
Brudertac try changing your leather case, solved.
Brudertac said:
Is there a way to disable Power ON with the Home Button?
Click to expand...
Click to collapse
Try this (you need to be rooted):
1. using root explorer or similar, go to folder /system/usr/keylayout, make sure the filesystem is mounted as R/W
2. edit file pm8058_keypad.kl
3. change the following line:
Code:
key 102 HOME WAKE_DROPPED
into this:
Code:
key 102 HOME
4. save the file, reboot and done

N64oid

I can play games just fine, but how do quit the game and play another. I currently reboot to change games. Thanks.
Sent from my PC36100
I think I had the same issue when I first used N64oid. N64oid has "stretch to fit screen" enabled by default. This makes it so that you do not see the status bar (with the necessary menu button on it) during rom play.
I fixed this by starting N64oid anew. You should be at the "select rom" screen. Before loading anything, select the "menu" button. Then select "settings", then "audio & video settings", then uncheck the "stretch to fit screen" box under the video settings. Exit out to the "select rom" screen.
Load your rom. Now you should have access to the status bar with the menu button while in gameplay. To exit out of roms just select "menu, then "more", then "close". Hope that works for you like it did me.
Get "button savior". It will put an unobtrusive overlay on the screen which provides back functionality if you're rooted.
Sent from my ADR6400L using Tapatalk
brentkhack said:
I can play games just fine, but how do quit the game and play another. I currently reboot to change games. Thanks.
Sent from my PC36100
Click to expand...
Click to collapse
I've also found that in certain games (Angry Birds Seasons for one) that the "N" button works as a back button so I can access the game menus and then I can select "quit". I haven't tried on other games yet but thought I'd throw this out there....
pezaremba said:
Get "button savior". It will put an unobtrusive overlay on the screen which provides back functionality if you're rooted.
Click to expand...
Click to collapse
This. I can't say how happy I've been now that I can actually open up menus and go back when the status bar decides to hide those soft buttons, or when an app goes full screen.
I had the problem of not being able to get Terminal Emulator out of white-on-blue text... it was hideous...
pezaremba said:
Get "button savior". It will put an unobtrusive overlay on the screen which provides back functionality if you're rooted.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
I tried the button savior but still cannot exit rom to choose another rom. Did I just miss something?
brentkhack said:
I tried the button savior but still cannot exit rom to choose another rom. Did I just miss something?
Click to expand...
Click to collapse
When you hit the back button on Button Savior what does it do? Shouldn't that exit the current emulation, and allow you to choose another ROM?
Or rather, better: what exactly are you trying with button savior, and what are you getting? Clicking on the back button results in N64roid doing nothing? Or?
It took me awhile to figure out how to use Button Savior until I realized that there was a tiny little translucent trigger-arrow-button to open up the button tray... I don't know what your noob level is though. (That's why I presented my top-level noob experience for you.)
cfoesch said:
When you hit the back button on Button Savior what does it do? Shouldn't that exit the current emulation, and allow you to choose another ROM?
Or rather, better: what exactly are you trying with button savior, and what are you getting? Clicking on the back button results in N64roid doing nothing? Or?
It took me awhile to figure out how to use Button Savior until I realized that there was a tiny little translucent trigger-arrow-button to open up the button tray... I don't know what your noob level is though. (That's why I presented my top-level noob experience for you.)
Click to expand...
Click to collapse
When I hit the back button it does nothing. All other button do not help with this problem. But have enjoyed the button savior app. It is very useful.
When I hit the back button it does nothing. All other button do not help with this problem.
Click to expand...
Click to collapse
Button Savior did not not work in N64oid for me at first either. But after the suggestion to use it in this thread, I went back and was able to get it to work.
The key for me was clicking the menu button (the one with 4 squares in a 2x2 configuration) in Button Savior TWICE. The first time I click the button I get a message that says Button Savior has been granted Super User permissions. The second time I click the menu button I get the options for that menu, like I would if I used the menu button in the Nook status bar.
I think if you are not getting these options then Button Savior may not be functioning properly for you. Maybe reinstall it? Or maybe install another version of it to see if that helps? Good luck!
Button savior has a quirk. After a reboot, *before* you use button savior at all, you must re-enable usb debugging. Use anycut to create a shortcut for "application settings", click development, enable usb debug.
This assumes that your nook is rooted, otherwise only the home key will ever work.
Sent from my BNTV250 using Tapatalk
Uninstalled and reinstalled and that fixed my eyes. I noticed the close button (very hard to read) so now i can pick another game. Sorry for wasting everyones time.

Power button not mapped on RHOD500

Hello, I have just installed the latest NAND rom package (updated on 15-03-13) on my Telus RHOD500 and I'm having troubles with the power button (the button on top of the phone).
It's not mapped to anything once booted to Android. I mean I can access the recovery by pressing the Power button in miniPooploader so I know the key is not broken.
In android, quick pressing does not shut down the screen, long-pressing does no bring up the power menu and to wake the device up I have to use the End key.
A few times between boots when I would quick-press the power key it'll pop up the shutdown menu but now it's not doing anything.
I've installed Android Tuner, ES task manager and SetCPU on second reboot so these are the 2 application I installed that could come into problem before I noticed the problem. Uninstalling them doesn't do any good.
Also, where could I change the physical keyboard keymap? I got the underscore symbol mapped to letter "B" where it should be "P". It's not the only one of course but I don't find this too irritating so it's just a side-question like that.
Anyway thanks in advance!
psyko_chewbacca said:
Hello, I have just installed the latest NAND rom package (updated on 15-03-13) on my Telus RHOD500 and I'm having troubles with the power button (the button on top of the phone).
It's not mapped to anything once booted to Android. I mean I can access the recovery by pressing the Power button in miniPooploader so I know the key is not broken.
In android, quick pressing does not shut down the screen, long-pressing does no bring up the power menu and to wake the device up I have to use the End key.
A few times between boots when I would quick-press the power key it'll pop up the shutdown menu but now it's not doing anything.
I've installed Android Tuner, ES task manager and SetCPU on second reboot so these are the 2 application I installed that could come into problem before I noticed the problem. Uninstalling them doesn't do any good.
Also, where could I change the physical keyboard keymap? I got the underscore symbol mapped to letter "B" where it should be "P". It's not the only one of course but I don't find this too irritating so it's just a side-question like that.
Anyway thanks in advance!
Click to expand...
Click to collapse
You have to open the boot.img and edit the keyboard maps inside the ramdisk there to make them stick.
Look around post 47-50 for some ideas on what to edit.
http://forum.xda-developers.com/showthread.php?t=1965459
Good luck.
wizardknight said:
You have to open the boot.img and edit the keyboard maps inside the ramdisk there to make them stick.
Look around post 47-50 for some ideas on what to edit.
http://forum.xda-developers.com/showthread.php?t=1965459
Good luck.
Click to expand...
Click to collapse
Alright thank you. That will be good for the keyboard issue. Could it also fix the power button issue? Is the mapping of the keyboard is related to the mapping of other buttons?
So where can I find the boot.img file? Thanks!

Power button not working. Need a work around APP

Hello. Recently my Galaxy s2 power button hasn't been working. As in when I either hold it down or press it, it doesn't lock the screne or pull the power menu. It works now and then but yeah I have to press it over and over again.I plan on getting it repaired soon but I'm looking for an workaround. I've seen apps that let me turn my phone off, lock it and such but nothing brings open the power menu button with screenshot, recovery mode, airplane mode and such. Is there anything like that out there? That with a press of the button it would open up my power menu options
try rom manager
xringo said:
Hello. Recently my Galaxy s2 power button hasn't been working. As in when I either hold it down or press it, it doesn't lock the screne or pull the power menu. It works now and then but yeah I have to press it over and over again.I plan on getting it repaired soon but I'm looking for an workaround. I've seen apps that let me turn my phone off, lock it and such but nothing brings open the power menu button with screenshot, recovery mode, airplane mode and such. Is there anything like that out there? That with a press of the button it would open up my power menu options
Click to expand...
Click to collapse
try rom manager. it has a rebooter which has all the options with it like reboot normal, download mode or recovery mode
give it a try. i use it very frequently
Quickboot from playstore
Gesendet von meinem Xperia SP
Or you can try this app Power Button.
Thanks for the replies. But is there one with an screenshot one? I want to take some screen shots but non of these seem to have it..
xringo said:
Thanks for the replies. But is there one with an screenshot one? I want to take some screen shots but non of these seem to have it..
Click to expand...
Click to collapse
Use "Button Savior" from Play Store.
It is just HW buttons on screen including power button. (Like Nexus On-Screen Keys)
And it has long press power menu also, which shows Screenshot, Airplane, Silent etc.
P.S.
[Free advice]
If you get that button repaired, use something like Proximity Sensor based app which locks and unlocks phone screen. So power button will be used less.
(I know this consumes a bit more battery, but still battery is lot cheap and easy to change than power button)
[/Free Advice]
Press Thanks if helped.
Sent from my GT-I9001 Gadget of Mass Destruction with CM11 using XDA Developers App.

Categories

Resources