[MOD] TAKE PICTURE with VOLUME KEY (ONE KEY SHOOT & FAST CAPTURE) 67FW 02/10/13

Search This thread

black97one

Senior Member
Oct 22, 2008
665
709
Hello,

Sony the Xperia Z is the best of SONY...but they are mess something, an hardware camera key :(
So i decide to enable the volume key to take picture and also "FastCapture MODE" when holding in stanby mode :highfive:


https://www.youtube.com/watch?v=dNagtbcVd3k&feature=youtube_gdata_player




to ZOOM IN/OUT you use the "pinch to zoom" functionnality ;)
out of the camera app the volume key work like before :)



INSTALLATION:

1) Just flash one of the MOD with CWM RECOVERY...then reboot :)


2) Don't forgot to enable the FAST CAPTURE in camera app settings ;)

ynejurag.jpg






DOWNLOAD:






I decided to separate my "MOD" in two independent zip ...

you can choose to use one ... either ... or both :highfive:


MOD for VOLUME DOWN KEY to CAPTURE...


V7: compatible for all JB 4.2 ROM on 244 FW using the STOCK CAMERA APP:
http://www.mediafire.com/download/r2kglkyr9cesgur/V7-FW244_OneKeyCamera_VolumeMOD.zip


V5a: compatible for all JB 4.2 ROM using the STOCK CAMERA APP: http://www.mediafire.com/download/r1d666pp4g08j3h/V5a_OneKeyCamera_VolumeMOD.zip


V4a: compatible for all JB 4.1 ROM using the STOCK CAMERA APP:http://www.mediafire...a_VolumeMOD.zip



If you want the FastCapture look just above for the " MOD for Standby FastCapture"


know connu: NONE :)







[font=Arial, Verdana, sans-serif]MOD for Standby FastCapture [/font]
[font=Arial, Verdana, sans-serif]flash only one compatible for your ROM[/font]


-For STOCK-JB-67-ODEX:--->> http://www.mediafire.com/download/walpd6x965ahbri/XZ_FastCaptureUP_for_JB-4-2-STOCK-67-ODEX_.zip

-For STOCK-JB-67-DEODEXED:--->> http://www.mediafire.com/download/49pc2445c2igv64/XZ_FastCaptureUP_for_JB-4-2-STOCK-67-DEODEX_.zip




-For STOCK-JB-244-ODEX:--->> http://www.mediafire.com/download/0p08mrg796fg507/XZ_FastCaptureUP_for_JB-4-2-STOCK-244-ODEX_.zip
-For STOCK-JB-244-DEODEXED:--->> http://www.mediafire.com/download/74qds4i5ek14utv/XZ_FastCaptureUP_for_JB-4-2-STOCK-244-DEODEX_.zip
-for monxDIFIED[JB4.2] [v04-03)]--->> http://www.mediafire.com/download/kj0739742rqy6e6/XZ_FastCaptureUP_for_monxDIFIED[244]_[v04-03].zip



-For STOCK-JB-423-ODEX:--->> http://www.mediafire.com/download/r7ggct30bk546tb/XZ_FastCapture_for_JB-4-2-STOCK-423-ODEX_.zip
-For STOCK-JB-423-DEODEXED:--->> http://www.mediafire.com/download/wnk19pcmkdocjsp/XZ_FastCapture_for_JB-4-2-STOCK-423-DEODEXED_.zip
-For eXistenZ-V4: http://www.mediafire.com/download/hb4oxqh7bhb19d8/XZ_FastCapture_for_eXistenZ-V4.zip
-for monxDIFIED[JB4.2] [v03-60)]--->> http://www.mediafire.com/download/e...tCapture_for_monxDIFIED[JB4.2]_[(v03-60)].zip


-For STOCK-307-ODEX:--->> http://www.mediafire.com/download/v2r9lzepti452ut/XZ_FastCapture_for_STOCK-307-ODEX_.zip
-For 307-DEODEXED:--->> http://www.mediafire.com/download/3o322a4g4w9cyqr/XZ_FastCapture_for_307-DEODEXED_.zip
-for monxDIFIED[307] [v02-01]--->> http://www.mediafire.com/download/fkawabz0udrw6jr/XZ_FastCapture_for_monxDIFIED[307]_[v02-01].zip
-for RomAur-V5--->> http://www.mediafire.com/download/m2zl8hp32bcor68/XZ_FastCapture_for_RomAur-V5.zip
-For eXistenZ-V3: http://www.mediafire...eXistenZ-V3.zip
-For STOCK-253-ODEX: http://www.mediafire...24kgc9jbc9qgbmf
-For 253-DEODEXED: http://www.mediafire...q7vr33g4ghe4xym
-For STOCK-434-ODEX: http://www.mediafire.com/download/esveg5arbrt7uq4/XZ_FastCapture_for_STOCK-434-ODEX_.zip
-For KA07 Revolution: http://www.mediafire.com/download/c05gblycc2ldaf5/XZ_FastCapture_for_KA07_ROM.zip
-For RomAur: http://www.mediafire.com/download/3gs37jg0ur3ot1o/XZ_FastCapture_for_RomAur_ROM.zip
-For STOCK-350-ODEX: http://www.mediafire.com/?gxrqkiinotqa9bn

Know Bug:
ONLY WHEN LISTENING MUSIC SCREEN OFF: no possibility of lowering the volume (using the volume down key)

alternative solution:
press the POWER button to turn on the lockscreen in order to reduce VOLUME (no need to unlock)



CHANGELOG:

V1: enable volume key (key UP then key DOWN) to take picture and video :cool:

V2: enable Standby FastCapture with Volume DOWN key :good:

V3: ONE KEY to shoot by volume down key

V4: one key capture with volume Down key...on flastcapture and other mode :)

V5: update to JB 4.2

V6: test version... ONLY for HONAMI ROM

V7: Update to 244 FIRMWARE


NEXT CHANGE
POWER Key to shoot...don't know if i can do it :rolleyes:








thank to Cemal and niaboc79 for your help ;)








HOW TO



1) décompile your "android.policy.jar"

2) open the "PhoneWindowManager.smali"

HOW-TO-1.jpg





3) go to the method "interceptKeyBeforeQueueing"

HOW-TO-2.jpg





4) go to the end of the method and change the line


0x18 -> :sswitch_c7

to

0x18 -> :sswitch_2c5


HOW-TO-3.jpg






5) save and recompile your "android.policy.jar"


enjoy :)
 
Last edited:

Spikestrip

Senior Member
Apr 14, 2012
140
26
Cool! Trying it now.

EDIT: Hmm. For some reason every time I mount system as r/w the phone reboots. I had to be in there to make Google Wallet work, and that never happened then.
 
Last edited:

Spikestrip

Senior Member
Apr 14, 2012
140
26
So that worked. I was using the ROM in the development section that is stock, deodexed, and zipaligned. Guess I should inform that dev of my issue. Anyway, now my camera disappeared. I even had the foresight to append the original file with .bak, except I did that to the wrong file. Any chance you have an unmodified version I can put back?

EDIT: I figured out my problem, it was all my fault. Works great now! It's a little weird to press both volume buttons at once, but still a great way to take pictures underwater.
 
Last edited:
  • Like
Reactions: black97one

Spikestrip

Senior Member
Apr 14, 2012
140
26
Do u flash CWM without UB???

I'm not sure what you mean.

EDIT: I think you mean Unlocked Bootloader. My bootloader is still locked, if that's what you were asking. There was no flashing involved with getting CWM or this mod installed. I didn't flash Google Wallet either, it was a fairly manual install. I *did* flash the ROM I'm using, this one. I also flashed the DoCoMo status bar, the smaller nav bar and related camera fix, and a zip provided by a forum member to make the status and navigation bars transparent. Flashing the ROM caused me to have to root again and to rename the /data/usf directory in order to get NFC working again.

Let me know if none of this answered your question.
 
Last edited:

lyndonguti

Senior Member
Sep 29, 2011
2,751
2,093
Milano
Putting the phone underwater will interfere with softkeys... Hmmm unless I use the PIE

Sent from my C6603 using Voldemort's nose

U cant use any touchscreen underwater ..i dont know what you mean by using pie if you cant use touchscreen...
Anyway afaik you can capture photos underwater
By this mod or any same mode
By setting self timer to the camera before you go under water :)

sent from my Xperia Z
 

nhoc_huhu

Senior Member
Nov 28, 2012
310
131
Thái Nguyên
I'm not sure what you mean.

EDIT: I think you mean Unlocked Bootloader. My bootloader is still locked, if that's what you were asking. There was no flashing involved with getting CWM or this mod installed. I didn't flash Google Wallet either, it was a fairly manual install. I *did* flash the ROM I'm using, this one. I also flashed the DoCoMo status bar, the smaller nav bar and related camera fix, and a zip provided by a forum member to make the status and navigation bars transparent. Flashing the ROM caused me to have to root again and to rename the /data/usf directory in order to get NFC working again.

Let me know if none of this answered your question.
:p I am sorry because I don't answer clearly. My phone used to have this problem, I think the reasons of this problem may be the ROM DEODEX that you are using or CWM you installed.Because I have installed CWM on this way :http://forum.xda-developers.com/showthread.php?t=2187363 and then I have tried a lot of method (using ROM STOCK, COOK) but when I mount system as r/o in ROOT EXPLORER or use backup and restore in TITANIUM BACKUP. the phone reboots and then I factory reset phone and ROOT again and do not install CWM for looked bootloader, and then my phone use with no problem.You could try if it can help you.
 

Top Liked Posts

Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone