[Galaxy S 5 Q&A, Help & Troubleshooting] Freedom_V:
Hi,tried your guide to make a mod to your Sony Xperia M2.Here is the log

OM PowerHAL( 3933): Invalid hint ID.
rfaceFlinger( 310): Screen acquired, type=0 flinger=0xb81b2450
rfaceFlinger( 310): screen was previously acquired
stemServer( 3933): Consumer IR Service
stemServer( 3933): Alarm Manager
armManagerService( 3933): Kernel timezone updated to -180 minutes west of GMT
stemServer( 3933): Init Watchdog
stemServer( 3933): Input Manager
putManager( 3933): Initializing input manager, mUseDevInputEventForAudioJack=true
stemServer( 3933): Window Manager
lvikvm( 3933): VFY: expected non-float cat-1 arg to if
lvikvm( 3933): VFY: rejecting opcode 0x38 at 0x01cb
lvikvm( 3933): VFY: rejected Lcom/android/internal/policy/impl/PhoneWindowManager;.interceptKeyBeforeQueueing (Landroid/view/KeyEvent;IZ)I
lvikvm( 3933): Verifier rejected class Lcom/android/internal/policy/impl/PhoneWindowManager;
lvikvm( 3933): threadid=11: thread exiting with uncaught exception (group=0x4158cd88)
stem ( 3933): ******************************************
ocess ( 3933): Sending signal. PID: 3933 SIG: 9
droidRuntime( 3933): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManager
droidRuntime( 3933): java.lang.VerifyError: com/android/internal/policy/impl/PhoneWindowManager

I specifically can't understand what is wrong do and think what you did here

.line 4598
:cond_13
:goto_7

move-object/from16 v0, p0

iget v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mVolBtnMusicControls:I

if-eqz v0, :cond_td

invoke-virtual/range {p0 .. p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->isMusicActive()Z

move-result v0

if-eqz v0, :cond_td

move-object/from16 v0, p0

iget-boolean v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mScreenOnEarly:Z

if-nez v0, :cond_td

if-eqz v10, :cond_td2

move-object/from16 v0, p0

move/from16 v1, v12

invoke-virtual {v0, v1}, Lcom/android/internal/policy/impl/PhoneWindowManager;->handleVolumeLongPress(I)V

const/4 v15, 0x0

goto/16 :goto_0

:cond_td2
move-object/from16 v0, p0

invoke-virtual {v0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->handleVolumeLongPressAbort()V

iget-boolean v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mIsVolLongPressed:Z

if-nez v1, :cond_td3

move/from16 v1, v12

const/4 v3, 0x3

invoke-virtual {v0, v2, v1}, Lcom/android/internal/policy/impl/PhoneWindowManager;->handleVolumeKey(II)V

:cond_td3
const/4 v1, 0x0

iput-boolean v1, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mIsVolLongPressed:Z

:cond_td
if-eqz v10, :cond_0

.line 4599
invoke-static {}, Lcom/android/internal/policy/impl/PhoneWindowManager;->getTelephonyService()Lcom/android/internal/telephony/ITelephony;

move-result-object v20

.line 4600
.restart local v20 # "telephonyService":Lcom/android/internal/telephony/ITelephony;
if-eqz v20, :cond_18

.line 4602
:try_start_1
invoke-interface/range {v20 .. v20}, Lcom/android/internal/telephony/ITelephony;->isRinging()Z

move-result v2

if-eqz v2, :cond_17

.line 4609
const-string v2, "WindowManager"

const-string v3, "interceptKeyBeforeQueueing: VOLUME key-down while ringing: Silence ringer!"

invoke-static {v2, v3}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

I hope for your help.