FIO3 volume rocker / shutter mod
Made the mod from the guide here, be sure to thank his thread, camera mod
Directions: download to sd card, boot into recovery, wipe cashe, dalvik cashe, and flash.
DOWNLOAD FIO3 camera/shutter mod here.camera volume rocker shutter mod
Made the mod from the guide here, be sure to thank his thread, camera mod
I took the camera from the black ROM and modded the smali to to allow you to take pictures with the volume rockers. Devs if you want to use this fio3 modded camera in your Rom I don't mind, just re theme it and gimme credit for making the mod, AND thank the Dev from the original thread.3. Camera Volume Up/Down as a shutter
* FILE:
com\sec\android\app\camera\Camera.smali
* METHOD:
.method public onKeyDown(ILandroid/view/KeyEventZ
* MODIFIED switch case:
.line 1487
:sswitch_data_204
.sparse-switch
0x4 -> :sswitch_38
0x17 -> :sswitch_90
0x18 -> :sswitch_90
0x19 -> :sswitch_90
0x1a -> :sswitch_38
0x1b -> :sswitch_90
0x42 -> :sswitch_90
0x50 -> :sswitch_3a
0x52 -> :sswitch_36
0x55 -> :sswitch_38
0x59 -> :sswitch_38
0x5a -> :sswitch_38
.end sparse-switch
* EXPLANATION:
0x18 is volume up, 0x19 is volume down
We are telling these switch cases to link to sswitch_90 and act the same as touch shutter button.
----------
* METHOD:
.method public onKeyUp(ILandroid/view/KeyEventZ
* MODIFIED switch case:
.line 1690
nop
:sswitch_data_184
.sparse-switch
0x4 -> :sswitch_3d
0x17 -> :sswitch_cd
0x18 -> :sswitch_cd
0x19 -> :sswitch_cd
0x1a -> :sswitch_3d
0x1b -> :sswitch_cd
0x42 -> :sswitch_cd
0x50 -> :sswitch_146
0x52 -> :sswitch_96
.end sparse-switch
* EXPLANATION:
0x18 is volume up, 0x19 is volume down
We are telling these switch cases to link to sswitch_90 and act the same as touch shutter button.
Directions: download to sd card, boot into recovery, wipe cashe, dalvik cashe, and flash.
DOWNLOAD FIO3 camera/shutter mod here.camera volume rocker shutter mod
Last edited: