[MOD] Wake on Volume Keys via android.policy.jar

dLo GSR

Senior Member
Mar 7, 2011
1,315
221
0
Los Angeles
freakin' loving this mod. i think it is worth it to mention though that it disables the ability to change volume during a call when the phone is pressed to your ear - i.e. the screen is off. i can see the relation why and not sure if modifying the case statement or inserting a few conditionals would remedy it, but it's a small price to pay for the convenience!
 

maledyris

Senior Member
Mar 25, 2011
170
58
0
Burnaby
freakin' loving this mod. i think it is worth it to mention though that it disables the ability to change volume during a call when the phone is pressed to your ear - i.e. the screen is off. i can see the relation why and not sure if modifying the case statement or inserting a few conditionals would remedy it, but it's a small price to pay for the convenience!
Interesting, I'll have to take a look. Never occurred to me to try that...

*Edit* Okay, I did try changing volume with the phone pressed to my ear, and it worked for me? I changed the volume from max to 1 unit (the lowest it will go), and then back up to max and it worked fine. That's weird that you have problems doing this. What rom/p-rom are you on?
 
Last edited:

dubyajaysmith

Senior Member
Apr 14, 2010
260
33
0
ATL
Thanks maledyris!

If you install widget locker, it has am option to do this. I'm on 2.3.4 and using widget locker to do this already.

Sent from rooted Atrix on 2.3.4 with unlocked bootloader using xda premium app.
I purchased and like WL but it be good to have capabilities for stock, to me anyway. Thanks maledyris! Made the jump to 2.3.4 as well.
 

maledyris

Senior Member
Mar 25, 2011
170
58
0
Burnaby
Ok guys, there you go! The version I just posted has an option for HKTW 2.3.4 based on the android.policy.jar that was posted by SolidHelix.
I'm not on that ROM, so obviously take the necessary precautions before you try it out and all that, since I'm only able to test it up to a certain point. Let me know if any of you has problems.
Incidentally, I noticed this version of the .jar had a new package with a bunch of authentec mobile java native interface stuff in it. Haven't really looked yet but seems like it might give us better, or more access to the fingerprint reader...
 

maledyris

Senior Member
Mar 25, 2011
170
58
0
Burnaby
Sim unlocked ATT phone. haha i done my research before buying
Nice, I used to work for a company that made cell phone games, so we got to play with a ton of US phones. The only thing that irritated me about the phones is that the carriers over there brand the phones. I guess that's a small price to pay for early access to an unlocked bootloader ;)

Sent from my MB860 using XDA Premium App
 

SolidHelix

Senior Member
May 1, 2011
388
33
0
Mount Pearl
www.freedom-cig.com
Nice, I used to work for a company that made cell phone games, so we got to play with a ton of US phones. The only thing that irritated me about the phones is that the carriers over there brand the phones. I guess that's a small price to pay for early access to an unlocked bootloader ;)

Sent from my MB860 using XDA Premium App
notthing on my phone indicating ATT got rid of all that right away

Edit: well besides the sbf version
 

_kansei_

Senior Member
Oct 3, 2007
249
34
0
Seattle, WA
The only thing that irritated me about the phones is that the carriers over there brand the phones.
Luckily on the Atrix it's just the battery cover, physically.

Mods like this would have improved the initial reviews of the Atrix for sure. The button being on the back was one complaint I remember reading over and over.

As someone who has their Atrix laying on their desk at work using the LED for notifications, I appreciate this mod so much.

Thanks maledyris (hit the thanks button on your first post too)
 

dLo GSR

Senior Member
Mar 7, 2011
1,315
221
0
Los Angeles
for some reason when doing this on 2.3.4 HKTW, now my phone is stuck at the boot screen with the red moto and "unlocked" and won't go any further anymore. i'm pretty sad. anyone know what could have caused it? don't want to do a re-flash but it looks like i might have to...

EDIT: i think i figured it out. i must have had an old verison of modphone_v0.3.zip because it didn't have any of the files for HKTW inside of the "stock" dir...
 
Last edited:

maledyris

Senior Member
Mar 25, 2011
170
58
0
Burnaby
for some reason when doing this on 2.3.4 HKTW, now my phone is stuck at the boot screen with the red moto and "unlocked" and won't go any further anymore. i'm pretty sad. anyone know what could have caused it? don't want to do a re-flash but it looks like i might have to...

EDIT: i think i figured it out. i must have had an old verison of modphone_v0.3.zip because it didn't have any of the files for HKTW inside of the "stock" dir...
Ah, yeah, version 0.2 didn't have
the new files. They both unzip to a mods folder. You probably just mixed those up... I probably should have renamed the subfolder to avoid this type of thing.

Sent from my MB860 using XDA Premium App
 

Javi97100

Senior Member
Oct 20, 2010
682
37
0
Luckily on the Atrix it's just the battery cover, physically.

Mods like this would have improved the initial reviews of the Atrix for sure. The button being on the back was one complaint I remember reading over and over.

As someone who has their Atrix laying on their desk at work using the LED for notifications, I appreciate this mod so much.

Thanks maledyris (hit the thanks button on your first post too)
wont that scratch the back?