Sign [Q] Editing com.lge.frameworks.jar

I'm editing com.lge.frameworks.odex (baksmali & smali) but system can't boot up.. Could someone tell me why? I'm missing something?

0) Transfered folder /system/framework to local disk.
1) Baksmali
Code:
Select Code
java -Xmx512m -jar baksmali.jar -x com.lge.frameworks.odex -d framework/
2) Edit AudioServiceEx.smali and AudioManagerEx.smali
Before :
Code:
Select Code
    .array-data 4
        0x4
        0x5
        0x5
        0x7
        0x6
        0x5
        0x7
        0x7
        0xb
        0xb
        0x7
        0x7
        0x4
    .end array-data
After :
Code:
Select Code
    .array-data 4
        0x4
        0x2d
        0x2d
        0x2d
        0x2d
        0x2d
        0x2d
        0x2d
        0x2d
        0x2d
        0x2d
        0x2d
        0x2d
    .end array-data
2) Smali
Code:
Select Code
java -Xmx512m -jar smali.jar out/ -o classes.dex
3) Put classes.dex in com.lge.frameworks.jar using archiver
4) Transfer to G2
Code:
Select Code
adb push com.lge.frameworks.jar /sdcard/
5) Mount /system, copy to /system, dexopt
Code:
Select Code
root@g2:/ # cp /sdcard/com.lge.frameworks.jar /system/
root@g2:/system # dexopt-wrapper /system/com.lge.frameworks.jar /system/com.lge.frameworks.odex `echo $BOOTCLASSPATH`
.frameworks.jar /system/com.lge.frameworks.odex `echo $BOOTCLASSPATH`         <
--- BEGIN '/system/com.lge.frameworks.jar' (bootstrap=0) ---
--- waiting for verify+opt, pid=5887
--- would reduce privs here
--- END '/system/com.lge.frameworks.jar' (success) ---
root@g2:/system # busybox dd if=/system/framework/com.lge.frameworks.odex of=/system/com.lge.frameworks.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
m.lge.frameworks.odex bs=1 count=20 skip=52 seek=52 conv=notrunc              <
20+0 records in
20+0 records out
20 bytes (20B) copied, 0.000560 seconds, 34.9KB/s
root@g2:/system # chmod 644 com.lge*
root@g2:/system # ls -al
ls -al
-rw-r--r-- root     root       436083 2014-04-09 11:25 com.lge.frameworks.jar
-rw-r--r-- root     root      1178872 2014-04-09 11:26 com.lge.frameworks.odex
6) Reboot into recovery, transfer /system/com.lge.frameworks.odex to /system/framework/com.lge.frameworks.odex
7) Reboot. Phone stuck at boot logo..

What's wrong with this? Any suggestions? Thanks

BTW. In example framework.odex can be edited (then deodexed and odexed) without problems.. With lge.frameworks something is going wrong..