Power button ends call in MIUI - Defy Android Development

For those whose proximity censor is not working and they are on MIUI.
you just cant end a call even if u hit power button the screen doesn't turn on.
Here's a solution for that.
If you aren't using launcher pro then install it. Hit home. Now you'll be in a new launcher.
Long press an empty space on the screen. Choose shortcut >activities >settings >accessibility settings. It will prompt you to choose that as the shortcut and it will be placed on the screen.
Then open that and it will ask you if you want to install some accessibility features (because the rom doesn't come with any) but feel free to say no.
And there you go. Power button to end call. Once you're done you can uninstall lp.
I hope u guyz get help from it. I really had a hard time bcoz of this.

thanks! i tried finding it in settings but i couldnt find it then i came across this

Thanks!!!
Sent from my MB525 using xda premium

Related

make the home key wake the device?

anyone have a mod that does this?
sorry if this is in the wrong place. i'm new here.
I don't know of a patch for that yet, but I'm sure it's possible.
If we had CyanogenMod for the Charge, it would be baked into the ROM.
Someday ...
I would like to see this. possibly even disable the quick press options of the power button and reassign them to another combination. I hit the button all the time trying to do other things on the phone and then I get locked out and have to redo my pattern etc.
Widgetlocker app can do this for you.
Using Root Explorer or possibly Estrongs file explorer:
>Go to system>usr>keylayout>s3c-keypad.kl
>modify key 50 to look like this: HOME WAKE_DROPPED
>Then reoboot
Now home key wakes device!
UPDATE: Seems after it is asleep for a period of time it won't wake it anymore, have to work this out.
What application do we use to edit the value? A text editor? What do you suggest?
I use Root Explorer Long press open in text editor,
I think you can do the same with estrongs file explorer.
>DARKMAN< said:
I use Root Explorer Long press open in text editor,
I think you can do the same with estrongs file explorer.
Click to expand...
Click to collapse
Sorry for the unnecessary request. I see it is in the other post.
It seems as though the front keypad module is not active once it goes completely to sleep, there for won't wake it.
If someone can figure this out, it will work just fine.
>DARKMAN< said:
Using Root Explorer or possibly Estrongs file explorer:
>Go to system>usr>keylayout>s3c-keypad.kl
>modify key 50 to look like this: HOME WAKE_DROPPED
>Then reoboot
Now home key wakes device!
UPDATE: Seems after it is asleep for a period of time it won't wake it anymore, have to work this out.
Click to expand...
Click to collapse
Definite thanks for looking into it. I'll try the app that bill mentioned and see if it makes a difference. I haven't yet rooted so I don't think I can do your version yet even if it works.
billku said:
Widgetlocker app can do this for you.
Click to expand...
Click to collapse
Are suggesting this because you have this on your Droid Charge and it is currently working correctly?
The reason I ask, is I tried a couple weeks back and could not get it working correctly.
I have it on my Charge. It works intermittently. I found that if the phone is asleep for a little while it usually does not work... occasionally it does work but no consistent pattern.
I'm also looking for a better fix than the app.
Suggestions are greatly appreciated!
The same thing happens when you just modify the key mapping, it's because the front keypad module is off when the phone sleeps.
So if it could be activated at all times that would fix it, but I imagine it may have some side effects to battery life.
This will disable the lock screen for good. After you do this fix you can wake up the Droid by briefly pressing the power button and it will go immediately to the home screen without any lock screen madness.
Go to Dialer and enter *#83786633, then press the home key
Go back into the Dialer, clear those numbers, then *#22745927
Now a screen will appear asking for the SPC Code, enter 000000
Press the Hiddenmenu Enable radio button, then press home button
To disable the lock screen (and power down pop up), go back into the Dialer and use the code *#7594#, select Shutdown and press the Home button. This, I have confirmed, does work on the Charge.

[Q] Wake with Menu, home, back, or search buttons

So I have the Androidified tpu case which makes the power button kinda hard to press. Also I use NOLED which wont wake with the power button when there is a notification. For these reasons it would be nice to wake the phone with the front face buttons, as long as they dont accidentally get pressed in my pocket
So I was wondering if i could modifiy
system/usr/keylayout/s3c-keypad.kl
and add a few WAKE_DROPPED where wanted and get the desired effect???
Let me know if you've done this already or you know it works. Ive seen similar things done with other phones. If not Ill just try it myself once i get a chance to make an odin backup of my phone.
I've actually found a way to do it. Instead of using the home button tho, all physical buttons work. Its a hack to remove the lockscreen. I actually replaced my lockscreen with Ripple Lock from the market with this. Give a nice Honeycomb style lockscreen with great options. Here's what I did...
Go to the dialer and enter #83786633, then press home.
Go back into the dialer, clear the numbers and enter *#22745927 and enter the SPC code 000000.
Hit the "HiddenMenu Enable Radio" button. Press home.
Go back to the dialer, enter *#7594# and hit the "Shutdown" button, then home.
The lockscreen is now GONE. I have never reversed it to get the lockscreen back tho, I hate the AOSP lockscreen, and Puzzle lockscreens. The Ripple Lock app from the market is very smooth, fluid and has totally replaced them annoying lockscreens. Best of all, any physical button now wakes up my phone I don't have any accidental presses either. Everything is great. Hope this helps!!!!!
Sent from my SCH-I510 using XDA Premium App
interesting...I saw a few other apps that would modify buttons/screens. My only concern is bloating up my rom...would love to do within the system. Also whenever I call numbers and press in codes I feel like I might be giving away my life savings to an anonymous bank account in the Caribbean lol
Tried changing the .kl file. Specifically the home button. Doesnt seem to work. Let me know if anyone figures this out
youngpettyboi said:
I've actually found a way to do it. Instead of using the home button tho, all physical buttons work. Its a hack to remove the lockscreen. I actually replaced my lockscreen with Ripple Lock from the market with this. Give a nice Honeycomb style lockscreen with great options. Here's what I did...
Go to the dialer and enter #83786633, then press home.
Go back into the dialer, clear the numbers and enter *#22745927 and enter the SPC code 000000.
Hit the "HiddenMenu Enable Radio" button. Press home.
Go back to the dialer, enter *#7594# and hit the "Shutdown" button, then home.
The lockscreen is now GONE. I have never reversed it to get the lockscreen back tho, I hate the AOSP lockscreen, and Puzzle lockscreens. The Ripple Lock app from the market is very smooth, fluid and has totally replaced them annoying lockscreens. Best of all, any physical button now wakes up my phone I don't have any accidental presses either. Everything is great. Hope this helps!!!!!
Sent from my SCH-I510 using XDA Premium App
Click to expand...
Click to collapse
Have you rebooted your phone since the change? I did this mod. and it worked fine until I rebooted. After a reboot the lock screen fix was still working, but the physical buttons no longer woke up the phone. Others have reported the same issue.
Yes, actually I always turn my phone off at nite, and when I turn it back on, my physical keys work fine to wake up the phone. Haven't had a single problem since. I would rather do it this way instead of going ib the system and screwing something up. Not that good at stuff like that lol.
Sent from my SCH-I510 using XDA Premium App
youngpettyboi said:
I've actually found a way to do it. Instead of using the home button tho, all physical buttons work. Its a hack to remove the lockscreen. I actually replaced my lockscreen with Ripple Lock from the market with this. Give a nice Honeycomb style lockscreen with great options. Here's what I did...
Go to the dialer and enter #83786633, then press home.
Go back into the dialer, clear the numbers and enter *#22745927 and enter the SPC code 000000.
Hit the "HiddenMenu Enable Radio" button. Press home.
The lockscreen is now GONE. I have never reversed it to get the lockscreen back tho, I hate the AOSP lockscreen, and Puzzle lockscreens. The Ripple Lock app from the market is very smooth, fluid and has totally replaced them annoying lockscreens. Best of all, any physical button now wakes up my phone I don't have any accidental presses either. Everything is great. Hope this helps!!!!!
Sent from my SCH-I510 using XDA Premium App
Click to expand...
Click to collapse
When it comes time to enter *#7594# and hit the "Shutdown" button, What is the "shutdown button? I did not see this anywhere.
youngpettyboi said:
Yes, actually I always turn my phone off at nite, and when I turn it back on, my physical keys work fine to wake up the phone. Haven't had a single problem since. I would rather do it this way instead of going ib the system and screwing something up. Not that good at stuff like that lol.
Sent from my SCH-I510 using XDA Premium App
Click to expand...
Click to collapse
Huh... LUCKY! I'll have to try it again. Maybe I have an app. that's conflicting with my hard buttons.
The "Shutdown" button comes right after u enter *#7594#. Click it when it pops up. Its an onscreen button. Not the physical bottom on the phone.
Sent from my SCH-I510 using XDA Premium App
Or just use WidgetLocker...
{SDCharge Humb£e 1.25}

[KERNEL] Slide to Unlock

So I came across this in the EVO 3D forums. How hard do you think it will be to port this to our device?
http://forum.xda-developers.com/showthread.php?t=1346760
It is in development already. See bricked kernel thread for more info.
Sent from my Sensation
Anyway to enable this?
http://forum.xda-developers.com/showthread.php?t=1269247
And gnex has it
Both Bricked and TamCore have this feature.
Bricked: http://forum.xda-developers.com/showthread.php?t=1269247
TamCore: http://files.tamcore.eu/android/?dir=tamcore-kernel
Bricked gives you an option to enable it during installation, while TamCore requires you to flash a zip to enable it, which you can get on the same page, under the name "sweep2wake_enable.zip".
A few kernels already have it.
I am already using it... :angel:
Already using it on bricked!
It's nice because you don't have to constantly use your power button to turn on device ! I really love it! It's so easy.
Sent from my HTC Sensation 4G using xda premium
Is there any way to make it more efficient when locking the device? I find that it closes the current application and goes to the home screen (as you swipe the back and home keys when locking your device).
This is quite annoying when using an app like gmote when I may need to immediately unlock my phone again to pause/play adjust volume etc, as I find that the app has been terminated when putting the device to sleep.
I really like the idea of not having to mash my power button any more than necessary, so using the sweep to lock would be ideal. I also noticed that even in the demo video of sweep to wake, the menu button gets pressed as the phone is locked (you can see the launcher menu appear for a second before the device locks).
Any suggestions would be appreciated, but I wanted to get some guidance before posting any sort of feature requests in the dev forum.
Thanks guys!
Louer Adun said:
Is there any way to make it more efficient when locking the device? I find that it closes the current application and goes to the home screen (as you swipe the back and home keys when locking your device).
This is quite annoying when using an app like gmote when I may need to immediately unlock my phone again to pause/play adjust volume etc, as I find that the app has been terminated when putting the device to sleep.
I really like the idea of not having to mash my power button any more than necessary, so using the sweep to lock would be ideal. I also noticed that even in the demo video of sweep to wake, the menu button gets pressed as the phone is locked (you can see the launcher menu appear for a second before the device locks).
Any suggestions would be appreciated, but I wanted to get some guidance before posting any sort of feature requests in the dev forum.
Thanks guys!
Click to expand...
Click to collapse
Sometimes it will pull up the power window, it will go back, back out of an app...instead of posting here...post in show-p threads.
It's a good feature, the bricked & faux kernels have it as far as I know!
Sent from my HTC Sensation Z710e using xda app-developers app
Louer Adun said:
Is there any way to make it more efficient when locking the device? I find that it closes the current application and goes to the home screen (as you swipe the back and home keys when locking your device).
This is quite annoying when using an app like gmote when I may need to immediately unlock my phone again to pause/play adjust volume etc, as I find that the app has been terminated when putting the device to sleep.
I really like the idea of not having to mash my power button any more than necessary, so using the sweep to lock would be ideal. I also noticed that even in the demo video of sweep to wake, the menu button gets pressed as the phone is locked (you can see the launcher menu appear for a second before the device locks).
Any suggestions would be appreciated, but I wanted to get some guidance before posting any sort of feature requests in the dev forum.
Thanks guys!
Click to expand...
Click to collapse
Skip pressing the back button, just sweep above the back button like that: __--_ (while locking)
kgs1992 said:
Skip pressing the back button, just sweep above the back button like that: __--_ (while locking)
Click to expand...
Click to collapse
Brilliant idea! This actually works as desired, and it doesn't seem to activate the home button in the sweep/swipe either. Now I just need to get in the habit of skipping the back key.
Louer Adun said:
Brilliant idea! This actually works as desired, and it doesn't seem to activate the home button in the sweep/swipe either. Now I just need to get in the habit of skipping the back key.
Click to expand...
Click to collapse
There's a thanks button.
However, I don't see how this is practical much. I only lock using sweep because it's a good shortcut to exit current app, go to home & luck.

[Q][P3100][Jelly bean] soft buttons

Hi all, I've just flashed JB.
I've seen some things I didn't expect (probably they depend on the phablet interface) which I don't like so much.
1 - long press the home button doesn't open mini task manager anymore
2 - the useful customizable soft button (you could use it to take screenshots, access the drawer and so on) has gone
3 - long press the recent apps soft button doesn't open the drawer anymore
Any ideas? Is JB really better than ICS?
Thanks
Try going into your settings, and look for system launcher i think... I don't remember what it is called. But in the settings, under the device section, it should be there i think. If you do find it, look for system options and softtouch keys. There you can set your own buttons and have what they do if you hold it. Sorry for bad instructions. I don't have a device to see where its located at.
IMO, Jelly Bean is better than ICS. Because Jelly Bean has project butter, making everything so smooth and clean.
I tried to look everywhere, but there's nothing about soft keys.
Thanks anyway.
Sent from my GT-P3100 using xda app-developers app
Anyone found a solution? Maybe some app?
I really miss the mini task manager of the home button (now it opens Google Now, which I really don't care about).
Sent from my GT-P3100 using xda app-developers app
the task manager soft button is not a big deal. you can get it from the Quick Launch (far right arrow)
Maybe someone knows how to edit homescreens now? There's no menu button on the homescreen
deejayzee said:
Maybe someone knows how to edit homescreens now? There's no menu button on the homescreen
Click to expand...
Click to collapse
tap and hold homescreen...
If I want to delete a homescreen, what should I do?
Pinch screen and then you can delete unneeded
syazmie97 said:
the task manager soft button is not a big deal. you can get it from the Quick Launch (far right arrow)
Click to expand...
Click to collapse
Yes, I know, but with ICS it was easier (1 tap less). I could use the quick launch anyway.
Same thing for the drawer, I could keep pressed the recent activities button to acces it directly; now (when I'm not in a homescreen) I have to press the home button and, then, the app button in the dock.
Usually I suppose that a more recent OS release has some improvement, not a drawback.

Galaxy S3 - Jelly Bean Update - Home Button Bug

I have noticed since yesterday's Jelly Bean update (4.1.1) that if you have an app open (say a browser for example) and you let your screen timeout, when you press the home button it will turn the screen on screen up and take you back to your home screen. Used to with ICS it would just turn the screen on and you could continue in the app. Now it takes you all the way back home and you have to re-open the app to continue in it.
I was wondering if everyone is getting this same result or if it is just me.
Thanks!
I just tried it with Google Now and it returned to the app. I tried the Android browser and it returned the app as well. You might want to power down, pull the battery, then restart. Updates can sometimes act a little wonky at first. Occasionally (and unfortunately) a hard reset can FINALLY make an update work correctly.
Fixed this issue on my phone. The solution for me was to set up S-Voice, then go into it's settings and check the 'open via home key' option. After this, pressing the home key once simply wakes up the screen instead of also taking it to the home screen. Hope it works for you too!
Sent from my SCH-I535 using xda premium
Yea, that fixed it. I don't like S-Voice so I had that option turned off. Apparently it works different with this update then it did with ICS.
I've actually went in there and enabled that option then went into Application Management and disabled S-Voice. Now, if I accidently double tap my home button it just goes to a black screen for a second then back to the home screen. (Better than opening up S-Voice)
Thanks for your help!
I've found if you use a pattern password the home button "feature", to go back home works like how it used to
Sent from my SCH-I535 using xda app-developers app
Nice find! Now my dilemma is, whether the added "lag" when single tapping the home button is not as annoying as being taken to the home screen when pressing the home button after the screen times out. Having the double tap for S-Voice setting disabled speeds up that home button responsiveness.
Sent from my SCH-I535 using xda app-developers app
I find the lag to be to annoying when s-voice is enabled. A fast press of the power button will wake up the phone without closing the app you are using and you can keep s-voice turned off.
SlimSnoopOS said:
Nice find! Now my dilemma is, whether the added "lag" when single tapping the home button is not as annoying as being taken to the home screen when pressing the home button after the screen times out. Having the double tap for S-Voice setting disabled speeds up that home button responsiveness.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
grr, I couldnt agree more. I turned off that feature to reduce home button lag in ICS, now it closes any app open. Hopefully theres a fix
We'll find out. I dislike these small, unnecessary changes that Samsung has implemented. Horizontal pinch to expand notifications is another unnecessary change on VRBLK3.
Sent from my SCH-I535 using xda app-developers app
Please read forum rules before posting
Questions go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
aromig said:
Fixed this issue on my phone. The solution for me was to set up S-Voice, then go into it's settings and check the 'open via home key' option. After this, pressing the home key once simply wakes up the screen instead of also taking it to the home screen. Hope it works for you too!
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Ohhhh thank you so much! This was driving me CRAZY! :laugh:
Oh, I spoke to soon. I have tried the S Voice option but it still takes me back to home when I wake with the home button :crying:
lv2bsilly said:
Ohhhh thank you so much! This was driving me CRAZY! :laugh:
Oh, I spoke to soon. I have tried the S Voice option but it still takes me back to home when I wake with the home button :crying:
Click to expand...
Click to collapse
I feel your pain i also suffer from this same problem i had ics stock rom upgraded to hpyer drive rl14 and after that my home button only wakes up to a long press nothing seems to work i even reassigned soft keys functions so home would do back option and same thing,

Categories

Resources