Add sleep mode to power menu - Atrix 4G General

Hi all,
Fast easy and way to unlock sleep mod option in power option menu( holding down the power button) Gingerbread. Use root explore and edit your build.prop file by adding the lines below. Reboot and your done. You can also use several tools from play store to edit your system/build.prop
File to Edit /system/build.prop
Add these lines :
# sleep option.
ro.mot.deep.sleep.supported=true
If you find this useful say thanks. If it's been covered before sorry.

Not working on cm9
Sent from my MB860 using xda premium

Works for unlocked/rooted 4.5.91. Thank you

Works
Worked for my Rooted Atrix 4G 4.5.141. Thanks :good:

How is this different from just pressing the power button to turn off the screen?
Sent from my MB860 using xda app-developers app

stewartsoda said:
How is this different from just pressing the power button to turn off the screen?
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
It puts the phone in a power saving mode. When it comes back from sleep the phone restarts. You will see the difference.
Sent from my MB860 using xda premium

Enable it and you'll see explanation by Motorola. Something similar to computer sleep. Phone will not restart, just wake up quickly.

Zeljko1234 said:
Enable it and you'll see explanation by Motorola. Something similar to computer sleep. Phone will not restart, just wake up quickly.
Click to expand...
Click to collapse
So it puts it into a hibernate-like mode? Does it shut off the radios? Would I still get texts/emails or anything? Will it still play music in the background?
Not trolling, honestly curious.

stewartsoda said:
So it puts it into a hibernate-like mode? Does it shut off the radios? Would I still get texts/emails or anything? Will it still play music in the background?
Not trolling, honestly curious.
Click to expand...
Click to collapse
Sleep mode, it means memory remained powered but CPU, GPU, radio etc is off. Same as PC in sleep mode, you cannot get text/emails, play music or get alarms to wake you up (I tried ) but you can charge battery. When you use it for the first time you'll get explanation by Motorola
I don't think that is same as hybrid sleep in Win7 to save all data to flash (hard disk) in case of power failure. But someone could test it by removing battery

photobuddha said:
Hi all,
Fast easy and way to unlock sleep mod option in power option menu( holding down the power button) Gingerbread. Use root explore and edit your build.prop file by adding the lines below. Reboot and your done. You can also use several tools from play store to edit your system/build.prop
File to Edit /system/build.prop
Add these lines :
# sleep option.
ro.mot.deep.sleep.supported=true
If you find this useful say thanks. If it's been covered before sorry.
Click to expand...
Click to collapse
Seeing as this is just a simple build.prop edit. Is there another edit to add the "reboot" option to the list also?
Btw ..thanks for this its sweet.
Sent from my MB860 using xda app-developers app

getyroks said:
Seeing as this is just a simple build.prop edit. Is there another edit to add the "reboot" option to the list also?
Btw ..thanks for this its sweet.
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
I think that require you to modify the framework and have deodexed rom.

Is there a difference with sleep mode and locking the device? Is there a benefit in this sleep mode?

atrix4g18 said:
Is there a difference with sleep mode and locking the device? Is there a benefit in this sleep mode?
Click to expand...
Click to collapse
Could you please read my previous post above?

Related

[Q] Is it possible to get rid of the slide to unlock screen?

So is there anyone that has developed something that will allow you to get rid of the unlock screen completely? I think it would be nice to just be able to hit the button and not have to slide the screen every time.
i havent used this app so i dont know if it works or not but it does what you want.
https://market.android.com/details?id=org.jraf.android.nolock&feature=search_result
I use Battery Indicator Pro. https://market.android.com/details?id=com.darshancomputing.BatteryIndicatorPro
The free version can't disable the lockscreen.
Just search for "disable lockscreen on the market.
Awesome! Thanks you guys!
On CM7 there is a feature for disabling the lockscreen.
Sent from my HERO200 using XDA Premium App
The Hero never dies! ;D
dastin1015 said:
On CM7 there is a feature for disabling the lockscreen.
Sent from my HERO200 using XDA Premium App
The Hero never dies! ;D
Click to expand...
Click to collapse
Except that it re-enables all the time. (Issue 2121 on the Bug Tracker).
Been waiting a long time for this to be fixed.
I know there is a app that uses your proximity sensor to detect if the phone is in your pocket, and if not it will unlock your phone when you press the power button.
Going trough my app list now.
Edit:
Found it, it's called Intelligent Keylock Unlocker
DirkGently1 said:
Except that it re-enables all the time. (Issue 2121 on the Bug Tracker).
Been waiting a long time for this to be fixed.
Click to expand...
Click to collapse
I found the same, BUT!
Disabling instead from the recently added 'Tablet Tweaks' menu means it stays disabled. No idea what's wrong with the other disable methods, but this one works. Yay!
richardkemp said:
I found the same, BUT!
Disabling instead from the recently added 'Tablet Tweaks' menu means it stays disabled. No idea what's wrong with the other disable methods, but this one works. Yay!
Click to expand...
Click to collapse
I love you.
Now i can reconfigure my Power Widget as i don't need that particular toggle switch any more!
Theres an app on the market called no lock. all it does is gets rid of the lock screen. I was using battery indicator pro for it but hated the notification that was always there.
dragonithe said:
I know there is a app that uses your proximity sensor to detect if the phone is in your pocket, and if not it will unlock your phone when you press the power button.
Going trough my app list now.
Edit:
Found it, it's called Intelligent Keylock Unlocker
Click to expand...
Click to collapse
Thanks for this. It sounds really nice, I'll be sure to try it out.
Sent from my SGH-T959V using XDA App

[Q] Screenlock with search button

Hi, I want to unlock my device with search button so i edited the /system/usr/keylayout/qwerty.kl
its like that;
key 217 POWER WAKE_DROPPED
key 127 HOME WAKE_DROPPED
It is perfectly locks the screen but it doesnt unlock. I tried lots of settings but i couldnt done. What should i do? What should i change?
I'm not much into this stuff, but shouldn't the key code be the same in both lines ?
I've removed the dropped from both of the lines and now I can unlock the device. But I can't lock the device
There could be a code on Spare Parts that changes the function of the detach button or something related to CM settings.
Can anybody try this: http://forum.xda-developers.com/showthread.php?t=850464
123fokus said:
I'm not much into this stuff, but shouldn't the key code be the same in both lines ?
Click to expand...
Click to collapse
One is for not sleeping mod and the other one is for sleeping mod i think. Both of them was the search button in default so i did it that way.
jhonnyx1000 said:
I've removed the dropped from both of the lines and now I can unlock the device. But I can't lock the device
There could be a code on Spare Parts that changes the function of the detach button or something related to CM settings.
Click to expand...
Click to collapse
I can unlock it but while in 2-3 sec. after locking.
jhonnyx1000 said:
Can anybody try this: http://forum.xda-developers.com/showthread.php?t=850464
Click to expand...
Click to collapse
Its the same thing that i do manuel. But im gonna try it
Sorry for weak English.
I've changed 'key 217' from SEARCH to POWER but it doesn't really behave as a POWER button after locking the screen.
jhonnyx1000 said:
I've changed 'key 217' from SEARCH to POWER but it doesn't really behave as a POWER button after locking the screen.
Click to expand...
Click to collapse
I think there is a problem with search button function after locking the screen. I found that when im listening music then i lock the screen with search button and wait for 5-10 secs. then press the search button and the phone wakes up. So search button doesn't work properly when the phone is locked. So what we should do now?
Lotus-one said:
I think there is a problem with search button function after locking the screen. I found that when im listening music then i lock the screen with search button and wait for 5-10 secs. then press the search button and the phone wakes up. So search button doesn't work properly when the phone is locked. So what we should do now?
Click to expand...
Click to collapse
Is there any other configuration available?
jhonnyx1000 said:
Is there any other configuration available?
Click to expand...
Click to collapse
I dont know I use this way now i lock with search button and wake up with home button this is better than the normal
That method should fix the problem.
Still not sure I it doesn't wake up D:
It solves the problem for a while but we need a permenant solution
Sent from my GT540 using XDA App
Then what does the power button do???
Sent from my GT540 using Tapatalk
androidboss7 said:
Then what does the power button do???
Sent from my GT540 using Tapatalk
Click to expand...
Click to collapse
Im using it for just turning on my phone this way is better than normal i like this very much
Sent from my GT540 using XDA App
The power button enables the device to sleep and to access the power menu (like reboot, power off, etc.). The method that is showed here of modifying other buttons to a power button only applies within the Android system.
Does anyone know how to lock the screen using the search button????
Sent from my GT540 using Tapatalk
Hopefully a soultion for full loc/unlock will emerge soon
saber_tooth said:
Hopefully a soultion for full loc/unlock will emerge soon
Click to expand...
Click to collapse
Yes I hope too
From Me
androidboss7 said:
Does anyone know how to lock the screen using the search button????
Sent from my GT540 using Tapatalk
Click to expand...
Click to collapse
Currently we are capable of locking the device but the unlocking has a significant glitch or error.
jhonnyx1000 said:
Currently we are capable of locking the device but the unlocking has a significant glitch or error.
Click to expand...
Click to collapse
I just want to know how to lock it!
Sent from my GT540
androidboss7 said:
I just want to know how to lock it!
Sent from my GT540
Click to expand...
Click to collapse
MANUALLY:
On a root exploring app, go to '/system/usr/keylayout/'. Then find the file 'qwerty.kl' and then open it with a text editor. You'll see there are lots of information on it. Find the line that contains:
Code:
key 217 SEARCH
Change the SEARCH to POWER and then save the file.
Restart your phone and then done!
AUTOMATIC:
Install 'http://forum.xda-developers.com/attachment.php?attachmentid=467998&d=1292740886 (Credits to appelflap)
OR copy the 'qwerty.kl' file inside this to '/system/keylayout/usr'.

[mod][how to][ics & jb]disable capacitive buttons

I've seen some interest on the forums in how to do this. So here is a guide.
NOTE: This mod will render the capacitive buttons(hardware buttons) on your Nexus s completely inoperable. Use this mod only if you are using a custom ICS OR JB ROM with navigation bar(on screen buttons) enabled, or some other way to navigate your phone.
First, make sure that you are completely satisfied with the operation of the navigation bar & are certain that you have no need for the capacitive buttons.
DISCLAIMER: This mod involves editing system files. Use at your own risk. This mod will not magically make the navigation bar appear on roms that do not already have it enabled. This mod only disables the capacitive buttons. Instructions on how to disable the backlights for these buttons will be at the bottom of this post.
UPDATE : Just flash these zips.
To disable capacitive keys
http://db.tt/AyJLDkg1
To restore capacitive keys
http://db.tt/PhxFyBb3
And an init.d script for BLD to turn the backlights off (to the best of your BLD supported kernels ability anyway)
http://db.tt/BRpy78Cz
NOTE : Success will vary with BLD according to the capabilities of your chosen kernel. Some kernels are really good with bld responsiveness, others aren't. This has nothing to do with my script. And remember that you can't just choose a kernel based on how well it handles backlight settings. It's gotta run your whole phone too.
For those who want to do it manually.
1; Using Root Explorer (from market) go to system/usr/keylayout.
2; Mount system as r/w.
3; Long press on the file called mtx224_ts_input.kl.
4; Select 'open in text editor'. Scroll down and you will see these 4 lines:
key 158 BACK WAKE
key 139 MENU WAKE
key 217 SEARCH WAKE
key 102 HOME WAKE
5; Delete these 4 lines. Or alternately, just delete the lines for the buttons you want disabled.)
6; Press menu, save & exit. (Root Explorer will automatically create a backup of this file. It will be called mtx224_ts_input.kl.bk)
7; Now, make the same edits to the 4 lines in the file called cypress-touchkey.kl and save & exit.
8; Reboot.
Now you have no capacitive buttons(or only the ones you left intact in step 5 & 7).
Now, the backlights are still working. To disable these, flash a kernel that has backlight dimmer support(BLD) (I use GladOs) and use NStools(from market). Set BLD to on. And delay to 0. Done. No buttons & no backlight.
NOTE: BLN will still work even with BLD on.
To undo this mod you can either restore the original .kl file using the backup that Root Explorer automatically created. Just delete the modified .kl file and rename the .kl.bk file by just removing the .bk from the end of the file name. And reboot.
Alternately, you can just flash your ROM straight over the top. (of course, that means you'll have to flash your kernel & any other mods again too)
Followed this to the letter and my buttons still work... Any thoughts?
dchoward1977 said:
Followed this to the letter and my buttons still work... Any thoughts?
Click to expand...
Click to collapse
Hmm... are you sure you rebooted after making the edits? Which rom are you using. I've tested with AOKP build 27. And cm9 with evilisto's mod and both work fine. Are the button functions still working or just the backlights? If it's just backlights, make sure you set nstools to run on boot. If it's function that's still working, check the edited .kl file and make sure the edit stuck. If you are sure you've folowed to the letter and button 'functions' are still working it may be necessary to make the same edits in cypress-touchkey.kl as well. This wasn't necessary for me but it may be with your rom.
Sent on neXus from somehere. Could be anywhere.
Awesome mod! I needed to also delete in cypress-touchkey.kl. Great job!
stu5797 said:
Awesome mod! I needed to also delete in cypress-touchkey.kl. Great job!
Click to expand...
Click to collapse
Glad it worked for you, although the cypress touchkey edit really shouldn't have been necessary, since that file only sets the function of those keys, not the status. Which rom are you using, so I can test some more? And thanks for the feedback.
Sent on neXus from somehere. Could be anywhere.
I m using aokp milestone 4. I have to set my bld at 500ms with matrix v17 because if i set it to 0 it does not work correctly. Wish i could set it to 0. Any ideas to completely get rid of those lights?
I also had success deleting the lines from cypress touch key.kl. Thanks a bunch.
Sent from my Nexus S using xda premium
stu5797 said:
I m using aokp milestone 4. I have to set my bld at 500ms with matrix v17 because if i set it to 0 it does not work correctly. Wish i could set it to 0. Any ideas to completely get rid of those lights?
Click to expand...
Click to collapse
Milestone 4 is basically the same as build 27. Which is what I'm using. I have no problems with bld set to zero. As for disabling the lights, someone would have to write a boot script I think. I have no idea how. So if anyone wants to give this a go.....
Sent on neXus from somehere. Could be anywhere.
Heres a flashable zip for disabling the capacitive keys.. It just includes the mxt224_ts_input.kl and cypress-touchkey.kl, modded for no capacitive funciton.
View attachment 957555
Please make restore zip , tnx
Sent from my Nexus S using xda premium
Thanks Swamp Goblin. Wish I knew how to do that. Got any tricks for the backlights?
Sent on neXus from somewhere. Could be anywhere.
If i install this mod i cant set bld off/on :S
Sent from my Nexus S using xda premium
dinos3 said:
If i install this mod i cant set bld off/on :S
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
I just tried it. Works fine. Reflash your kernel.
Sent on neXus from somewhere. Could be anywhere.
I try this but For me not work ;S
Sent from my Nexus S using xda premium
dinos3 said:
Please make restore zip , tnx
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Here you go
Restore_capacitive_keys_NS
---------- Post added at 09:22 AM ---------- Previous post was at 09:20 AM ----------
stumpy352 said:
Thanks Swamp Goblin. Wish I knew how to do that. Got any tricks for the backlights?
Sent on neXus from somewhere. Could be anywhere.
Click to expand...
Click to collapse
I might be able to figure out where to disable it.. I'll try tonight
This button mod and completely disabled lights would be perfect, thanks for the mod
That would extremely helpful!
Guys the backlight of the buttons on my i9023 are really really weak.. is there any way to make them brighter?
Sent from my Nexus S using xda premium
swamp goblin said:
Here you go
Restore_capacitive_keys_NS
---------- Post added at 09:22 AM ---------- Previous post was at 09:20 AM ----------
I might be able to figure out where to disable it.. I'll try tonight
This button mod and completely disabled lights would be perfect, thanks for the mod
Click to expand...
Click to collapse
No probs. Thanks for making it a zip, although i've added it into
my rom now so only one flash reqd.
thegtfusion said:
Guys the backlight of the buttons on my i9023 are really really weak.. is there any way to make them brighter?
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
We're trying to disable them, but I suppose the method used, when we work it out might give you a starting point.
Sent on neXus from somewhere. Could be anywhere.
thegtfusion said:
Guys the backlight of the buttons on my i9023 are really really weak.. is there any way to make them brighter?
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
This may be related to hardware.. My dad's ns4g has super dim backlights, and mine are insanely bright.. But if we figure out how to disable them there may be a way to maybe bump up the brightness a bit without breaking them haha
I was just reading an article for LEDs hack.apk. Supposedly gives you control on/off for button bl. The dev says nexus s will never be supported because the button bl & screen bl are powered together. If that was the case, bld wouldn't work without affecting the screen. Evilisto made a reference to arrays.xml in framework res. Maybe the answer is here. I don't have a pc so I can't decompile it and have a look. Any takers?
Sent on neXus from somewhere. Could be anywhere.

Power button

My power button is 80% corrupted and it is going to be 100% corrupted so can I fix it now before it be further corrupted or must I change it.(Is there another phone's power button similar to IDEOS X5's)
Thanks.
From now on you can use screen of and lock from play store. By that you can use your search button to lock screen.
Sent from my U8800
You can also use power software. That allow u Into recovery without swicth off the phone.
Sent from my U8800 using xda premium
entrapmen said:
From now on you can use screen of and lock from play store. By that you can use your search button to lock screen.
Sent from my U8800
Click to expand...
Click to collapse
yusopa said:
You can also use power software. That allow u Into recovery without swicth off the phone.
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
Yeah, I'm using lock widget in the status bar but some times you need to use the button like turn on the phone or can't access your rom so if there is another phone's button similar to ours tell me.
Thanks anyway.

Enabling On-Screen Buttons

Is there any way I can enable the on-screen buttons on the stock GS4 ROM. I'm trying to reduce the usage of the home button because I'm scared it might break/stop working anytime :/ The tutorial in the dev section doesnt seem to apply for me.
CrazyXperiaA said:
Is there any way I can enable the on-screen buttons on the stock GS4 ROM. I'm trying to reduce the usage of the home button because I'm scared it might break/stop working anytime :/ The tutorial in the dev section doesnt seem to apply for me.
Click to expand...
Click to collapse
I think this is non sense. You will loose a part of screen for the on screen buttons. The home button will not break/stop working. You don't need to worry about this. And in the worst case if this will ever happen you can bring it back for free repair or replace it yourself (very cheap).
Personally i highly doubt that something like this will happen.
CrazyXperiaA said:
Is there any way I can enable the on-screen buttons on the stock GS4 ROM. I'm trying to reduce the usage of the home button because I'm scared it might break/stop working anytime :/ The tutorial in the dev section doesnt seem to apply for me.
Click to expand...
Click to collapse
You can try downloading an app called EasyTouch, that wont take screen space. Its similar to the accesibility mode on the iphone.
Zoddex said:
You can try downloading an app called EasyTouch, that wont take screen space. Its similar to the accesibility mode on the iphone.
Click to expand...
Click to collapse
You don't even need that, as this is built in, just look in the accessibility settings.
But... You can always do that IF the button fails. For now, don't worry about the hypothetical failure you may experience one day, just use the hard button
Sent from my GT-I9505 using xda app-developers app
fstorm said:
You don't even need that, as this is built in, just look in the accessibility settings.
But... You can always do that IF the button fails. For now, don't worry about the hypothetical failure you may experience one day, just use the hard button
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
Wow did know it was there! I'll stick to the app as is more customizable. But thanks for letting us know

Categories

Resources