[MOD][MIUI] Home Button Delay Fix for 2.8.17 - Galaxy S II Android Development

As you may know, all ICS stock based roms for Samgung Galaxy 2 have one common and very unpleasant feature - a home button delay. This delay is noticeable every time you press home button to exit an application, return back from settings to dashboard or if you want to return to your home screen. As a result you may have a feeling that your phone response after clicking a home button is delayed app. 1s and it will degrade overall phone responsivness.
For demonstration of a problem see this video.
Finally the fix is here and you may enjoy it on your Galaxy S2 with the newest miuiandroid 2.8.17 rom with integrated 3-way Reboot options from kong. It is not tested on another miui releases, but probably could work.
Installation:
Just install the zip in cwm recovery and you are good to go.
If you enjoy my work you may consider a small donation to support my further development.
Note: This will NOT fix lockscreen lag, it is present because your cpu is in powersaving mode and takes some time to utilize again.
Please do not copy this patch to another hosts, always use a link to this forum instead.
I'm not responsible for any problems or data corruption you may have using this patch. For your safety always backup your rom before doing any modifications.

I'm keen to try this but scared it messes something up Any lab rats willing to test it first?

DarkNiz said:
I'm keen to try this but scared it messes something up Any lab rats willing to test it first?
Click to expand...
Click to collapse
Hehe, don't wory. If you have this version from miuiandroid (miuiandroid_GT-I9100-2.8.17.zip) you are safe Just try it out and share your experience. You won't regret Those disclaimer is just in case... And for your safety you can always back up your rom in cwm recovery

mizuuu said:
Hehe, don't wory. If you have this version from miuiandroid (miuiandroid_GT-I9100-2.8.17.zip) you are safe Just try it out and share your experience. You won't regret Those disclaimer is just in case... And for your safety you can always back up your rom in cwm recovery
Click to expand...
Click to collapse
Hehe, okay, cool, I will try it and report back
---------- Post added at 09:30 PM ---------- Previous post was at 09:03 PM ----------
Hmmm... I can't really see any difference in the time it takes when I press the home button to get back to home screen :-/

DarkNiz said:
Hehe, okay, cool, I will try it and report back
---------- Post added at 09:30 PM ---------- Previous post was at 09:03 PM ----------
Hmmm... I can't really see any difference in the time it takes when I press the home button to get back to home screen :-/
Click to expand...
Click to collapse
Did you patch it correctly in cwm recovery? This is the problem, see video here
If you apply it correctly it will remove this delay completely and if you press home button the phone reacts immediately. Check if you have 3 way reboot option. If not a patch has not been applied...

mizuuu said:
Did you patch it correctly in cwm recovery? This is the problem, see video here
If you apply it correctly it will remove this delay completely and if you press home button the phone reacts immediately. Check if you have 3 way reboot option. If not a patch has not been applied...
Click to expand...
Click to collapse
Trust me, I flash things at least once a week. The 3-way-reboot is there.

DarkNiz said:
Trust me, I flash things at least once a week. The 3-way-reboot is there.
Click to expand...
Click to collapse
Check the video and let me know. For me it works perfectly. Or you can flash original rom and you see the difference.

The updater script is faulty.. tried to push the policy my own and it did the job.
thnak you =]

amitmiz said:
The updater script is faulty.. tried to push the policy my own and it did the job.
thnak you =]
Click to expand...
Click to collapse
Faulty? It should be ok, maybe it is kernel problem. What kernel do you use? I use syiah and no problems. Does the updater throws any error during flash?
Edit: I have double checked and reverted back changes and apply this fix again and it works just fine.

Delay is gone since I deleted Vlingo Voice Command app, stock 4.0.4

SASMareSRB said:
Delay is gone since I deleted Vlingo Voice Command app, stock 4.0.4
Click to expand...
Click to collapse
This fix is for miui based on 4.0.3 not for cm9 or stock roms based on 4.0.4.

mizuuu said:
Check the video and let me know. For me it works perfectly. Or you can flash original rom and you see the difference.
Click to expand...
Click to collapse
It was never that slow for me. Maybe it did work but I just can't notice it :-/ I never use the home button anyway. I always press the back button.
I'm on Siyah 4.0.1 (if it matters).

DarkNiz said:
It was never that slow for me. Maybe it did work but I just can't notice it :-/ I never use the home button anyway. I always press the back button.
Click to expand...
Click to collapse
Ah, then it's clear Back buton is not affected because phone doesn't wait for second click. I'm use home button pretty often ant it was very anoying for me
Edit: a question came into my mind - let's say you have on third or fourth tab in MIUI Launcher, how do you return back to home tab ??? For me the only way is to press the home button and here you can clearly see the difference.

mizuuu said:
Ah, then it's clear Back buton is not affected because phone doesn't wait for second click. I'm use home button pretty often ant it was very anoying for me
Edit: a question came into my mind - let's say you have on third or fourth tab in MIUI Launcher, how do you return back to home tab ??? For me the only way is to press the home button and here you can clearly see the difference.
Click to expand...
Click to collapse
I know it won't work for back button, but I did try using the home button to see. Perhaps it is faster, but I just can't see it. It's probably because I use the back button so often.
I don't use MIUILauncher, so I can't help you out with your question but I do know you mean Thanks for this mod, though. I'll keep it on

hey man, nice job will try it out now.. will give you results soon

Work perfectly! Nice job
Sent from my GT-I9100 using Tapatalk 2

DarkNiz said:
I know it won't work for back button, but I did try using the home button to see. Perhaps it is faster, but I just can't see it. It's probably because I use the back button so often.
I don't use MIUILauncher, so I can't help you out with your question but I do know you mean Thanks for this mod, though. I'll keep it on
Click to expand...
Click to collapse
Strange because it is really obvious, maybe if you would return back to original you'd start to notice

mizuuu said:
Strange because it is really obvious, maybe if you would return back to original you'd start to notice
Click to expand...
Click to collapse
Lol I'm probably just used to the quick speed of the back button, so when I click home now, even though it is faster, I can't see it. Maybe that's why I can't notice it

DarkNiz said:
Lol I'm probably just used to the quick speed of the back button, so when I click home now, even though it is faster, I can't see it. Maybe that's why I can't notice it
Click to expand...
Click to collapse
If you have the patch applied there is no difference in speed between back and home button - and that's it! Now if you would flash unmodified rom you would see the difference between these two buttons very quickly

what is the process to remove this patch because I applied it and now my phone will not turn on passed the samsung logo?

Related

[MOD] Remap Search Button to Camera

Here's a small .zip file that will remap your search button to open Camera.apk
Flash the .zip in recovery. There is also a .zip to revert to stock as well. Enjoy!
Sweet, thanks. That's gonna make life a lot easier!
From a rooted I-500 with XDA
Works perfectly
Its working most of the time but sometimes the camera comes up but its just a black screen and sometimes it says Camera failed. All in all it works most of the time. Nice work!
great find thatdudebutch! I see that the concept behind it is pretty flexible, have you tried running any other programs with the softkeys?
alnova1 said:
Its working most of the time but sometimes the camera comes up but its just a black screen and sometimes it says Camera failed. All in all it works most of the time. Nice work!
Click to expand...
Click to collapse
Yeah I just tried it about twenty times in a row and no blank screen. Wonder what the deal is? Camera in fact opens quicker remapped to search IMO.
thatdudebutch said:
Yeah I just tried it about twenty times in a row and no blank screen. Wonder what the deal is? Camera in fact opens quicker remapped to search IMO.
Click to expand...
Click to collapse
I don't get blank screen but sometimes it hangs at the camera screen and will eventually say Camera Failed
yeaah i get that black screen and camera fail
too,it works but sometimes it goes to that
Works every time for me with Camera 360 installed as the default camera. GREAT WORK!!!!!
kingsnap said:
Works every time for me with Camera 360 installed as the default camera. GREAT WORK!!!!!
Click to expand...
Click to collapse
glad your liking it man!
Awesome work. Works just like you advertised, and no problems for the 5 mins I waa messing with it. :thumbsup:
Sent from my Fascinate using the official XDA Forum App.
thanks for this, i remapped it to menu. easier to reach.
andmer said:
thanks for this, i remapped it to menu. easier to reach.
Click to expand...
Click to collapse
what do you use for menu now lol
thatdudebutch said:
what do you use for menu now lol
Click to expand...
Click to collapse
Lolol
Sent from my Fascinate using the official XDA Forum App.
i swapped search and menu buttons.
andmer said:
i swapped search and menu buttons.
Click to expand...
Click to collapse
gotya
10 chars
I get the camera failed error/black screen about every other time I start hit search, kind of causes a momentary phone freeze. Thanks for your work on this though, its an awesome idea.
wizang said:
I get the camera failed error/black screen about every other time I start hit search, kind of causes a momentary phone freeze. Thanks for your work on this though, its an awesome idea.
Click to expand...
Click to collapse
its weird man, ive been pressing it all day and it loads every time, sorry maybe if you got a second some time you can connect phone to adb and run a logcat while hitting the button so we can see what the problem is
thatdudebutch said:
its weird man, ive been pressing it all day and it loads every time, sorry maybe if you got a second some time you can connect phone to adb and run a logcat while hitting the button so we can see what the problem is
Click to expand...
Click to collapse
Same, mine works like a charm. No lockups or blackscreens at all
Sent from my Fascinate using the official XDA Forum App.
andmer said:
thanks for this, i remapped it to menu. easier to reach.
Click to expand...
Click to collapse
Any chance you could post the edited file you used? Cause i regualrly use my search button-i dont like having a search widget on my home screen when there's a button for it...
Sent from my SCH-I500

Screenshot Trick ( no root no app )

hi there, i found a method on the web about taking screenshots.it was saying only works for galaxy s with android 2.2 but i tried it and succeeded on my galaxy ace with villain rom.
as i said, no app or root is needed.
like i said i tried it with villain rom.and it worked as a charm.who have kpe or 2.2 please post if it works or not!
Method :
in the screen you want to take screenshot ( homescreens, menu's, or game screens, etc ) press and hold the back button in the riht corner.while holding it, press menu key once.and a notification will say the screenshot is taken.that is all.
your screenshots will be saved automatically in a folder screenshots.
the most awesome is no need for any app or root!
i cant post the proofs because i havent 8 posts yet
holding right button (touch) and clicking the middle button works for me on both ace and g3...
Screenshots from Ace (2.2.1 not rooted)
i wonder if it is a default android feature or not
if so, why everybody is trying difficult methods or apps?
hmmm.. may be for pic quality... who knows whats cooking in minds of gadget freaks.. ;p
qeqeqwqw said:
i wonder if it is a default android feature or not
if so, why everybody is trying difficult methods or apps?
Click to expand...
Click to collapse
It is Samsung speciality... you can find ScreenCaptureService.apk in the system/app from Samsung...
Works nice on stock KPE
S5830 Galaxy Ace - Tapatalk
qeqeqwqw said:
i wonder if it is a default android feature or not
if so, why everybody is trying difficult methods or apps?
Click to expand...
Click to collapse
Because not always does the method work, when the app you are taking screenshot of might return back to previous screen while pressing the Back button. Also other screenshot methods let you capture just by shaking the phone, so no key presses required and helps in better timing.
nish7x said:
Because not always does the method work, when the app you are taking screenshot of might return back to previous screen while pressing the Back button. Also other screenshot methods let you capture just by shaking the phone, so no key presses required and helps in better timing.
Click to expand...
Click to collapse
fair enough
did not work on 2.3.4
lipanz said:
did not work on 2.3.4
Click to expand...
Click to collapse
Try Home+Power for 2.3.4
works on stock 2.3.3, great... but one problem though, when we want to capture a certain screen and press the back button to capture, it goes back to the previous screen... I guess its only for capturing homescreens then
Back plus home key, works for me.
[/COLOR]
EmoBoiix3 said:
Try Home+Power for 2.3.4
Click to expand...
Click to collapse
OMG!! Thanks a whole bunch dude!!
Thats cool. Knew you could do it but never realised how. Gods know how many times I've done screenshots by accident. And now I know
Does work on 2.3.4. but gotta be careful it doesn't jump to Homescreen!
Sent from my GT-S5830 using XDA App

Camera Volume Up Mod

Ive been searching for this for a while, i would like to be able to use the volume up button for my shutter in the default camera app. I saw some threads about this but either it wasnt compatible with my phone or it didn't work. Does anyone know of a mod that will do this for the AT&T S2? Thanks
To my knowledge they are working on it for our phone; however, this is a question and should be placed in the Q&A section in the future.
joshuadjohnson22 said:
Ive been searching for this for a while, i would like to be able to use the volume up button for my shutter in the default camera app. I saw some threads about this but either it wasnt compatible with my phone or it didn't work. Does anyone know of a mod that will do this for the AT&T S2? Thanks
Click to expand...
Click to collapse
1) you have the same name and middle initial as me!
2) wrong section.
3) I'm sure its being worked on
Sent from AT&T SGS2
It's easy, but I'm not sure if I like it. I like using the volume buttons to zoom in and out. I was able to make long pressing the power button take pictures, but it also pops up the extended power menu lol. Hopefully I can figure out how to get a short power button press to take pictures instead of turning off the screen. It's a lot trickier on this phone than it was on the original galaxy s and infuse.
gtg465x said:
It's easy, but I'm not sure if I like it. I like using the volume buttons to zoom in and out. I was able to make long pressing the power button take pictures, but it also pops up the extended power menu lol. Hopefully I can figure out how to get a short power button press to take pictures instead of turning off the screen. It's a lot trickier on this phone than it was on the original galaxy s and infuse.
Click to expand...
Click to collapse
Looking forward to you getting the power button mod to work. That's definitely a feature I've been waiting for.
gtg465x said:
It's easy, but I'm not sure if I like it. I like using the volume buttons to zoom in and out. I was able to make long pressing the power button take pictures, but it also pops up the extended power menu lol. Hopefully I can figure out how to get a short power button press to take pictures instead of turning off the screen. It's a lot trickier on this phone than it was on the original galaxy s and infuse.
Click to expand...
Click to collapse
im excited! i hope you can get it to work! would you add to the unnamed?
ayoteddy can you bump this to the QandA
I've been using the volume up mod that I found from the i9100 forums for about a week. Used it quite a bit on my visit to Alcatraz over the weekend. It has tap to take direct picture or hold to focus and release to take a picture.The digital zoom is useless to me as all it does is just blow up a cropped imaged anyways. I'll attach it in case anyone wants to try (and as always, back up the old Camera.apk). Just push/copy to system/app
tysj said:
I've been using the volume up mod that I found from the i9100 forums for about a week. Used it quite a bit on my visit to Alcatraz over the weekend. It has tap to take direct picture or hold to focus and release to take a picture.The digital zoom is useless to me as all it does is just blow up a cropped imaged anyways. I'll attach it in case anyone wants to try (and as always, back up the old Camera.apk). Just push/copy to system/app
Click to expand...
Click to collapse
Yeah, was more worried about zooming with the volume buttons while recording 720p video. It would be a pain to record everything in 1080 and then run it through video editing software to do the zooming.
Guess I could do the volume button hack for photos only and leave it as zoom control for video recording.
gtg465x said:
Yeah, was more worried about zooming with the volume buttons while recording 720p video. It would be a pain to record everything in 1080 and then run it through video editing software to do the zooming.
Guess I could do the volume button hack for photos only and leave it as zoom control for video recording.
Click to expand...
Click to collapse
I didn't think about the video recording part. BUT! I just gave it whirl and surprisingly enough, the volume keys don't start the recording and still function as zoom buttons. So it looks like the video recording part is untouched.
tysj said:
I've been using the volume up mod that I found from the i9100 forums for about a week. Used it quite a bit on my visit to Alcatraz over the weekend. It has tap to take direct picture or hold to focus and release to take a picture.The digital zoom is useless to me as all it does is just blow up a cropped imaged anyways. I'll attach it in case anyone wants to try (and as always, back up the old Camera.apk). Just push/copy to system/app
Click to expand...
Click to collapse
PERFECT just what i wanted, your the best!!
tysj said:
I've been using the volume up mod that I found from the i9100 forums for about a week. Used it quite a bit on my visit to Alcatraz over the weekend. It has tap to take direct picture or hold to focus and release to take a picture.The digital zoom is useless to me as all it does is just blow up a cropped imaged anyways. I'll attach it in case anyone wants to try (and as always, back up the old Camera.apk). Just push/copy to system/app
Click to expand...
Click to collapse
Awesome mod. I've been missing a physical camera button for awhile now! Pretty awesome thus far, however, I always get a force close on the camera app after I restart my phone. Anyone else encounter this and or find a solution other than reinstalling the app to make it work?
Thanks!
sopdogg said:
Awesome mod. I've been missing a physical camera button for awhile now! Pretty awesome thus far, however, I always get a force close on the camera app after I restart my phone. Anyone else encounter this and or find a solution other than reinstalling the app to make it work?
Thanks!
Click to expand...
Click to collapse
No force closes for me on Serendipity 8.1
tysj said:
I've been using the volume up mod that I found from the i9100 forums for about a week. Used it quite a bit on my visit to Alcatraz over the weekend. It has tap to take direct picture or hold to focus and release to take a picture.The digital zoom is useless to me as all it does is just blow up a cropped imaged anyways. I'll attach it in case anyone wants to try (and as always, back up the old Camera.apk). Just push/copy to system/app
Click to expand...
Click to collapse
sopdogg said:
Awesome mod. I've been missing a physical camera button for awhile now! Pretty awesome thus far, however, I always get a force close on the camera app after I restart my phone. Anyone else encounter this and or find a solution other than reinstalling the app to make it work?
Thanks!
Click to expand...
Click to collapse
no force close on unnamed 1.10 for me....
Reboot camera mod fix!
sopdogg said:
Awesome mod. I've been missing a physical camera button for awhile now! Pretty awesome thus far, however, I always get a force close on the camera app after I restart my phone. Anyone else encounter this and or find a solution other than reinstalling the app to make it work?
Thanks!
Click to expand...
Click to collapse
Same thing was happening to me but I fixed it! In root explorer go to system/app/camera.odex and rename the camera.odex to camera.odex.Bak
then reboot and it should be GTG!!!
Forgot: May have to reinstall the modded camera.apk after too as well.
iteam said:
Same thing was happening to me but I fixed it! In root explorer go to system/app/camera.odex and rename the camera.odex to camera.odex.Bak
then reboot and it should be GTG!!!
Forgot: May have to reinstall the modded camera.apk after too as well.
Click to expand...
Click to collapse
an alternative is the new unnamed Rom has this feature built in, just a fyi
iteam said:
Same thing was happening to me but I fixed it! In root explorer go to system/app/camera.odex and rename the camera.odex to camera.odex.Bak
then reboot and it should be GTG!!!
Forgot: May have to reinstall the modded camera.apk after too as well.
Click to expand...
Click to collapse
Just tried it out. Working well for me so far. Hoping for no FCs in the near future!
joshuadjohnson22 said:
an alternative is the new unnamed Rom has this feature built in, just a fyi
Click to expand...
Click to collapse
I've got the zip file downloaded but haven't pulled the trigger on it yet. Stock is running real well for me and really haven't seen a feature that is a must have in a custom rom yet. Shoot, with Entropy's DD and stock rom, my phone is still blazing. Just to test things out, I've gotten a 5034 on quadrant so things are working awesome.
If this were my X10, I would be a flash whore because that thing needs optimization just like a crack head needs his next hit.
sopdogg said:
Just tried it out. Working well for me so far. Hoping for no FCs in the near future!
I've got the zip file downloaded but haven't pulled the trigger on it yet. Stock is running real well for me and really haven't seen a feature that is a must have in a custom rom yet. Shoot, with Entropy's DD and stock rom, my phone is still blazing. Just to test things out, I've gotten a 5034 on quadrant so things are working awesome.
If this were my X10, I would be a flash whore because that thing needs optimization just like a crack head needs his next hit.
Click to expand...
Click to collapse
just back up your current ROM, and flash... if you dont like it just restore
Works on ICS?
core720 said:
Works on ICS?
Click to expand...
Click to collapse
No. see the dates on this thread? ICS was a dream back then.
Some ICS builds have options for power button shutter/vol zoom.

[Q] Change Power Button behaviour on call in CM7?

Hey guys!
In CM7, when I hit the Ace's power button, it ends the call. I don't want this, I want the good old turn-off screen, like on stock roms. I searched everywhere and I didn't found any option to change this.
Can someone point me what can I do?
Thanks!
Setting/call setting and tick on always use proximity
Sent from my GT-S5830 using Tapatalk
Renan Lazarotto said:
Hey guys!
In CM7, when I hit the Ace's power button, it ends the call. I don't want this, I want the good old turn-off screen, like on stock roms. I searched everywhere and I didn't found any option to change this.
Can someone point me what can I do?
Thanks!
Click to expand...
Click to collapse
settings--accessibility---untick the "power button ends call"
cheers
Dragonoid said:
settings--accessibility---untick the "power button ends call"
cheers
Click to expand...
Click to collapse
There is nothing under accessibility, its empty oO
shailpancholi said:
Setting/call setting and tick on always use proximity
Sent from my GT-S5830 using Tapatalk
Click to expand...
Click to collapse
This is useless to me, since I almost never use my phone holding it. I use the earphones that come with it.
Renan Lazarotto said:
There is nothing under accessibility, its empty oO
This is useless to me, since I almost never use my phone holding it. I use the earphones that come with it.
Click to expand...
Click to collapse
no damn it there is an option !!! check my screenshot!!!
which cm7 are u using btw????
I don't think the setting for the power button is in Accessibility on CM, try looking around the CM menu, I think that's where it is.
LolNade said:
I don't think the setting for the power button is in Accessibility on CM, try looking around the CM menu, I think that's where it is.
Click to expand...
Click to collapse
Do u have eyes???? can u see my screenshot????
Edit: after reading your post below it appears that you do have eyes
btw i had cm7 by vo-1 and i think that option was present in accessibility even in his rom( currently i have cm7 by F.A.T )
Dragonoid said:
Do u have eyes???? can u see my screenshot????
Click to expand...
Click to collapse
No, I don't have eyes.
There are a few different variations of CM, and the one I used to have (I think it's the one by vo-1) had that setting in the CM menu.
Even LeWa has it
Sent from Samsung Galaxy Ace
cm7 power button ends call in galaxy ace
I switched over to cm7 on my galaxy ace a week ago. Its very frustrating that the power button ends the call, i always disabled the proximity sensor in stock firmware and kinda used to that.
everytime i try to turn the screen off in a call, it actually ends the call. There is no option in accessibility settings to prevent power button from ending the call (screenshots attached)
I also downloaded an app phone settings manager and that too has no effect.
please help!
Same as here. Using CM7 from vo-1. I think that I'll switch to the one provided by FAT. Can someone confirm if it has that option in Accessibility?
This is what I have. Apart being in portugese, of course.
you can download "Screen Off and Lock" from the Play Store.
this is what I did.
so when someone calls. press the home button to go to your home screen then click the shortcut you have or if not go to your app drawer and press it to turn off your screen.
I'm using go launcher so I set the application to be activated when I glide down my finger in my home screen.
ijustzeke said:
you can download "Screen Off and Lock" from the Play Store.
this is what I did.
so when someone calls. press the home button to go to your home screen then click the shortcut you have or if not go to your app drawer and press it to turn off your screen.
I'm using go launcher so I set the application to be activated when I glide down my finger in my home screen.
Click to expand...
Click to collapse
Nah, too much trouble. I want it more simple, like it was on stock. And it has to be somewhere on the settings, maybe I'm just not finding it.
good luck in finding it.
Sent from my GT-S5830 using XDA
I've used Grif's CM7 and in that ROM, POWER BUTTON ENDS CALL option was in Accessibility only
I don't think that I'll need this anymore. Yesterday I was using the phone when I needed to hang-up the call, and it was right in front of me, so I didn't needed to power-on screen, unlock it and then hang-up. I just hit the power-button and done!
Also, I think that I can live with the screen-delay to power-off.
Renan Lazarotto said:
I don't think that I'll need this anymore. Yesterday I was using the phone when I needed to hang-up the call, and it was right in front of me, so I didn't needed to power-on screen, unlock it and then hang-up. I just hit the power-button and done!
Also, I think that I can live with the screen-delay to power-off.
Click to expand...
Click to collapse
Whoahhh!!!! first you say u want it off and then u say i like it!!!phewwwww
sent from my D®O!D™
Whatsapp vibration pattern
Can anyone tell me if theres an app to increase the intensity of vibration if we get a message on whatsapp? I have to keep my phone on vibration in class and always miss out on the messages as the vibration intensity is too low.
I figured how to change it for gmail and sms through an app but how can i change it for other apps like whatsapp?
Dragonoid said:
Whoahhh!!!! first you say u want it off and then u say i like it!!!phewwwww
sent from my D®O!D™
Click to expand...
Click to collapse
Hahahaha, yeah, 5 mins after I posted this I noticed that this "feature" might be useful

Sense 4.1 and + DEEP-SLEEP Wake-On-Vol FIX -- 12/9/12

Credits: Andybones, Zarboz, Nitsuj17:init.d script
You must already be on a ROM with this MOD in it, this does not add the Wake-on-vol MOD to the ROM, it just makes it work in deep-sleep now.
thanks to Nitsuj17 -- it now survives reboot.
just flash this in recovery:
http://dl.dropbox.com/u/26383143/HTC Incredible 4G/ViperLTE_2.1.1-volumewake.zip
----------------------------------------------------------------------------------------------------
You have to do this on every reboot as haven't found a way to get it to stick yet.
using something like root explorer
go to sys/keyboard/vol_wakeup
open using text editor
change the 0 to 1
save changes and exit, it'll say something about a back-up being made, but there isn't but that's ok. just open it again and make sure it's now 1, and you are good until you reboot the phone.
Once reboot, just re-do steps 1-5.
------------------------------------------------------
Feel free to use this MOD without permission.
Please give credit though..
This no work for me on viper2.1.1.
Values are changed to 1 but no go?
sent from my all powerful INC4G
prairiedogn said:
This no work for me on viper2.1.1.
Values are changed to 1 but no go?
sent from my all powerful INC4G
Click to expand...
Click to collapse
really?
that's what I'm using it's working for me..
try setting all permissions
I rebooted, locked phone, waited 2 mins, and wake-on-vol didn't work.
then did what's in the OP, waited 5 mins, and wake-on-vol worked for me.
I'll experiment further with it, but under this I assumed it worked.
I can't get it to work even messing with permissions or rebooting and retrying to set it, oh well.
sent from my all powerful INC4G
prairiedogn said:
I can't get it to work even messing with permissions or rebooting and retrying to set it, oh well.
sent from my all powerful INC4G
Click to expand...
Click to collapse
once you change it, that's it, it works until you reboot the phone.
andybones said:
once you change it, that's it, it works until you reboot the phone.
Click to expand...
Click to collapse
It's not that it's important its the fact it works for you and not me what aggravates me.
sent from my all powerful INC4G
prairiedogn said:
It's not that it's important its the fact it works for you and not me what aggravates me.
sent from my all powerful INC4G
Click to expand...
Click to collapse
user error
haha j/k
I'm not too sure man, I just re-flashed completely stock and tried again tested a bunch of times, reboot, wake on vol doesn't work, do what's in the OP, I've now tested up to 10 mins and wake on vol still works.
ill keep posting longer updates, this could just be a fluke but I'll keep reporting.
update: it's been charging now for 30 minutes, came back and used vol keys, will report back again more once fully charged and let it sit for an hour or so.
I'm glad you said user error cause that prompted me to take a look at the actual mod and thats what it was an ignorant user error I had neglected to check it in viper tweaks it now works properly....oops.
sent from my all powerful INC4G
prairiedogn said:
I'm glad you said user error cause that prompted me to take a look at the actual mod and thats what it was an ignorant user error I had neglected to check it in viper tweaks it now works properly....oops.
sent from my all powerful INC4G
Click to expand...
Click to collapse
hehe, I figured it something was going on.
Glad you got it working and thanks for confirming for me.
andybones said:
Credit: Zarboz
You have to do this on every reboot as haven't found a way to get it to stick yet.
You must already be on a ROM with this MOD in it, this does not add the Wake-on-vol MOD to the ROM, it just makes it work in deep-sleep now.
using something like root explorer
go to sys/keyboard/vol_wakeup
open using text editor
change the 0 to 1
save changes and exit, it'll say something about a back-up being made, but there isn't but that's ok. just open it again and make sure it's now 1, and you are good until you reboot the phone.
Once reboot, just re-do steps 1-5.
Click to expand...
Click to collapse
i see you noted but might want to make more clear
the mod will reset after rebooting your phone
Zarboz said:
i see you noted but might want to make more clear
the mod will reset after rebooting your phone
Click to expand...
Click to collapse
it's noted twice thought.
the very first line in red after your Credits.
and it's number 6 in the directions.
what else do you suggest?
andybones said:
it's noted twice thought.
the very first line in red after your Credits.
and it's number 6 in the directions.
what else do you suggest?
Click to expand...
Click to collapse
andy try this: http://d-h.st/KFf
md5: 2e400400b2bf850099534f3bd15b0ee2
its a quick init.d script i put together
seemed to work on my inc4g on viperLTE...tried it a few times
nitsuj17 said:
andy try this: http://d-h.st/KFf
md5: 2e400400b2bf850099534f3bd15b0ee2
its a quick init.d script i put together
seemed to work on my inc4g on viperLTE...tried it a few times
Click to expand...
Click to collapse
awesome dude thank you!! finally sticks now!!
nitsuj17 said:
andy try this: http://d-h.st/KFf
md5: 2e400400b2bf850099534f3bd15b0ee2
its a quick init.d script i put together
seemed to work on my inc4g on viperLTE...tried it a few times
Click to expand...
Click to collapse
andybones said:
awesome dude thank you!! finally sticks now!!
Click to expand...
Click to collapse
Same here!
sent from my all powerful INC4G
this is great. I went back to viper 1 for this, so now i can return to the newest. Thanks guys!
I applied this last night and everything worked fine. This morning when I tried it, it didn't work from deep sleep. Just to confirm, I'm on viper 2.0 and the only option to wake with volume is to use the volume up button. This option was fine yesterday but today didn't always work.
Sent from my ADR6410LVW using Tapatalk 2
MJL99 said:
I applied this last night and everything worked fine. This morning when I tried it, it didn't work from deep sleep. Just to confirm, I'm on viper 2.0 and the only option to wake with volume is to use the volume up button. This option was fine yesterday but today didn't always work.
Sent from my ADR6410LVW using Tapatalk 2
Click to expand...
Click to collapse
it works.
sometimes u may have to manually check to make sure it is applied. today at one point it didnt work, and i checked and it was at 0, and i changed it to 1 and it's fine. The init.d script for the most part i think 9/10 times will change it automatically.
and in Viper2.0 and up only the VOL UP key wakes the device..
this is because of the new tweak for down key to turn the device off.
even if you are not using the vol down to turn phone off tweak, only VOL UP will wake it.
I can fix this for u if you want to make both keys wake device.
andybones said:
it works.
sometimes u may have to manually check to make sure it is applied. today at one point it didnt work, and i checked and it was at 0, and i changed it to 1 and it's fine. The init.d script for the most part i think 9/10 times will change it automatically.
and in Viper2.0 and up only the VOL UP key wakes the device..
this is because of the new tweak for down key to turn the device off.
even if you are not using the vol down to turn phone off tweak, only VOL UP will wake it.
I can fix this for u if you want to make both keys wake device.
Click to expand...
Click to collapse
i'd prefer both keys (vol up, and vol down) to wake if it's easy to do.
Thanks
andybones said:
it works.
sometimes u may have to manually check to make sure it is applied. today at one point it didnt work, and i checked and it was at 0, and i changed it to 1 and it's fine. The init.d script for the most part i think 9/10 times will change it automatically.
and in Viper2.0 and up only the VOL UP key wakes the device..
this is because of the new tweak for down key to turn the device off.
even if you are not using the vol down to turn phone off tweak, only VOL UP will wake it.
I can fix this for u if you want to make both keys wake device.
Click to expand...
Click to collapse
I'd prefer a mod to allow up and down wake if you have time. I'd really appreciate it. And I'm guessing what you're saying that's happening is my problem. The script probably didn't have it changed to 1. It's not that big of a deal to me, if it works 95% of the time I'm cool with that.
Sent from my ADR6410LVW using Tapatalk 2

Categories

Resources