[Q] Volume Wake Mod and TMo JB Stock UVMC6 Editing android.policy.jar?

Joe USer

Senior Member
Jan 29, 2008
181
30
0
Has anyone come up with a way to add the volume wake mod to the stock TMo JB ROM (UVMC6 rooted)?

I've tried following a few guides on how to add it, but honestly, I'm not that great when it comes to Android mods and I don't think the guides were written with JB in mind.

(My power button is on its way out, hoping volume wake would let me extend its life.)

Thanks.
--
Does anyone have a guide on how to edit the android.policy.jar for this ROM or does anyone already have one edited for volume wake?
 
Last edited:

krazierokz

Senior Member
Jan 3, 2010
1,240
611
0
not sure if this will help but its all i found i know i saw one floating around some where but cant seem to find it http://forum.xda-developers.com/showthread.php?t=2232284

---------- Post added at 07:41 AM ---------- Previous post was at 07:36 AM ----------

also found this Volume Wakeup

This volume wakeup guide was adapted from these two guides: http://www.jordanhotmann.com/2011/08...tation-of.html and http://forum.xda-developers.com/show...php?p=18226553

In this guide I will show you how to modify your system files to allow waking up your phone with the volume keys instead of just the power key. This will prolong the life of the power key.

Requirements

This mod requires an edit to a jar file (Java archived file), specifically the file "/system/framework/android.policy.jar." To do this we need some tools that will disassemble the jar or apk file so we can edit the source code. After that we need to assemble it back and overwrite the original file(s).

Download the 4 files located here (smali-1.3.2.jar, baksmali-1.3.2.jar, baksmali, and smali): http://code.google.com/p/smali/downloads/list

Put the 4 files in a folder which is included in your path. For example, I placed the files in my home directory under a folder called bin (~/bin). Then in my ".bashrc" file I have this call at the end of the script:

PATH=~/bin:$PATH

This allows you to make calls to "baksmali" and "smali" in any directory.
 
  • Like
Reactions: Joe USer

krazierokz

Senior Member
Jan 3, 2010
1,240
611
0
im sure someone will shed some light on this i know i seen it around but i cant find it for the life of me right now good luck
 

Joe USer

Senior Member
Jan 29, 2008
181
30
0
im sure someone will shed some light on this i know i seen it around but i cant find it for the life of me right now good luck
Tried the first mod, unfortunately it didn't work. Thanks for the help though, that first thread might be a good starting point for me.