yashsingh1/xdaforums huggingface dataset:
[One (M7) Themes and Apps] dinoc:
I have renamed the camera apk and odex files and reinstalled the camera apk with volumes mode and now the volumes buttons are working. Thank you.

Do you have by any chance the original Camera.apk from stock 4.1.2?
[One (M7) Themes and Apps] Simba501:
As long as you didn't delete those files, you still have it. To revert, just move the modded camera out of /system/app, then rename the .bak files, removing ".bak".

Reboot and you'll have the original, stock camera again.

Sent from my HTC One
[One (M7) Themes and Apps] dinoc:
The bak file is the same like the moded app so I don't have the original Camera.apk file
[One (M7) Themes and Apps] Simba501:
So the camera you had prior to the volume mod is not stock?
[One (M7) Themes and Apps] dinoc:
This is the history :

- having the stock camera I've installed first the moded camera from this topic but installed the one for 4.2.2 by mistake (I have the stock 4.1.2)

- I have ended up with no Camera apk installed (could not find it in the drawer)

-then I've installed the moded apk file from this topic but the right one for 4.1.2 but the volume buttons did not work

- then I've renamed the Camera.apk and Camera.odex and reinstalled the moded app from this topic one more time

Not sure what happened first time when by mistake I have installed the wrong apk, it looks to me the original apk was deleted for good.
[One (M7) Themes and Apps] Simba501:
Ohh. I'm sure you can find a stock camera in one of the stock roms. Most of them are probably deodexed (come in one file, like this modded one). Essentially, they are the same thing. Search the development section (not original development) for "odex" and look for stock roms if you want the original in odex form.
[One (M7) Themes and Apps] dinoc:
Thank you I will look over there.
[One (M7) Themes and Apps] mark7201:
Planning on flashing the new 2.24 firmware and ARHD 12, will flashing this mod revert any camera improvements that might be gained from this firmware and ROM?
[One (M7) Themes and Apps] Matt:
No it won't (:
[One (M7) Themes and Apps] iElvis:
I did it and my camera works fine.
[One (M7) Themes and Apps] ohkenho1:
Great on ARHD 12.0 so many thanks
[One (M7) Themes and Apps] yeahimdukenukem:
Hi.

I investigated the zip-file a bit and it seems the current stock camera is a newer revision to yours.

So maybe HTC did some changes or fixes. Could you tell me how you made your changes with the volume keys? Did you build the camera.apk from scratch or did you apply your changes to the stock camera?
[One (M7) Themes and Apps] Matt:
Hi, I will update the links today to the new camera.apk
[One (M7) Themes and Apps] yeahimdukenukem:
Great man :cool:
[One (M7) Themes and Apps] Matt:
Updated
[One (M7) Themes and Apps] iElvis:
FYI, the zip is full of OSX spotlight files. I do this kind of stuff manually, but it might cause problems for others.
[One (M7) Themes and Apps] Matt:
I use a Mac, it happens automatically, they are invisible, and they don't affect anything. If you want to zip the files for me then do ...:)

I get told this a lot ;D
[One (M7) Themes and Apps] iElvis:
I use one too, but I've been stripping them out of my zips in the splash thread. You're sure it's not an issue?
[One (M7) Themes and Apps] Matt:
How are you stripping them?

rm .DS_Store for each folder?
[One (M7) Themes and Apps] realphoenikx:
Hi. Could you please check your text?
[One (M7) Themes and Apps] iElvis:
I use a program called B1 Free Archiver. It allows you to view and edit zip files without extracting anything. Lots of stuff like that with Windows, obviously, but this was the only one I could find for OSX. But it works great. I zip the files up in OSX, then use B1 to prune out the spotlight files.
[One (M7) Themes and Apps] langer hans:
In Terminal change to the directory you want to pack and use:

sudo find ./ -name ".DS_Store" -depth -exec rm {} \;
[One (M7) Themes and Apps] Matt:
Yeah, that's a great web search there, get off the thread ;) I already mentioned this method on IRC a while a goo
[One (M7) Themes and Apps] langer hans:
I have the feeling it was me mentioning it... Also, if you know it, then why are you asking? Getting out of here now, you know how to do the work :P
[One (M7) Themes and Apps] amitmiz:
Which color is for 4.2.2 becuase you wrote both blue and red are for 4.2.2
[One (M7) Themes and Apps] langer hans:
Red links are for 4.2.2.
[One (M7) Themes and Apps] joe_the_man:
Just installed and tested on viper 1.2.1 and works great! Thx so much!
[One (M7) Themes and Apps] uzman1243:
Is there anyway I can install this on my HTC one stock sense 5 4.1.2 ? Perhaps after rooting it?
[One (M7) Themes and Apps] Matt:
You would need to install a deodexed rom afaik
[One (M7) Themes and Apps] maverick1103:
Can also confirm this work on Viper Rom.

Thanks a lot for this mod it was one of my main grievances with HTC compared to Samsung, this makes me happy now!
[One (M7) Themes and Apps] Tetsumi06:
A great mod but with one problem: it disables the Bluetooth shutter. Shame really. (With down focus, up shoot)

----------------------o('_')o----------------------

Sent from an HTC One using xda app and Bulletproof TrickDroid ROM 8.0
[One (M7) Themes and Apps] Tetsumi06:
On further investigation restoring the stock camera doesn't bring BT shutter back. Nor did reflashing the ROM so either it was removed in 4.2.2 or my BT button has snuffed it.

----------------------o('_')o----------------------

Sent from an HTC One using xda app and Bulletproof TrickDroid ROM 8.0
[One (M7) Themes and Apps] langer hans:
I couldn't think of a way this mod influences BT shutters anyway. It only gets active if the key code is one of the volume keys. If the key code is different from that the normal onKeyDown method runs.

Gesendet von meinem GT-N5100 mit Tapatalk 4 Beta
[One (M7) Themes and Apps] eltoffer:
what would happend if used on stock rom?
[One (M7) Themes and Apps] ilal2ielli:
Would work fine if it's a deodexed stock ROM.
[One (M7) Themes and Apps] pcigre:
Hm... after flashing Battery Gury is FCing after phone restarts (i dont have any other modes etc...)
[One (M7) Themes and Apps] langer hans:
Try to delete Data or reinstall the App. This mod doesn't influence anything besides the camera.

Gesendet von meinem HTC One mit Tapatalk 4 Beta
[One (M7) Themes and Apps] Simba501:
Might work on an Odexed rom; you'd just have to delete both Camera files from /system/app before installing this.
[One (M7) Themes and Apps] shaopeng9:
can't flash

on ARHD 12.1 and i can't seem to flash any of the zips, tried both the volume to photo and volume down to video, help please?
[One (M7) Themes and Apps] langer hans:
Any error message?

Gesendet von meinem GT-N5100 mit Tapatalk 4 Beta
[One (M7) Themes and Apps] amitmiz:
Hi, can you make it that if you press the vol down it foucs only once when you longpress it? because it pretty wierd that it foucs so many times.
[One (M7) Themes and Apps] No_Nickname90:
Thank the heavens. I love camera buttons. Makes taking pictures easier. Especially when you tell someone to take a picture for you. And you have saved my soul with that recording option. I usually forget which button takes you to recording. LoL!!

Oh my gosh, when I was adding it to my DropBox, I thought it said 241MB. I was about to fall out my chair. LoL!!
[One (M7) Themes and Apps] Unoath:
Great work on the MOD Matt! ;)
[One (M7) Themes and Apps] Karish1989:
Atm it is volume up for snap and volume down for focus

Can you swap this for me plz :)
[One (M7) Themes and Apps] eRajesh:
[MENTION=576676]langer hans[/MENTION] [MENTION=2687876]Matt C[/MENTION]an you guys play around with the camera APK and see if there is any way to improve the picture quality?
[One (M7) Themes and Apps] frenccw:
Works great on TrickDroid 8. Thanks! Contributed to your Otterbox fund
[One (M7) Themes and Apps] V6-Maniac:
Thx mate for the mods.

As for appreciation i just emptied my PP to you...
[One (M7) Themes and Apps] Matt:
Sure (: Sorry, I remember you asked this before!

I doubt it can really be improved, it is only 4 mpx after all

Thanks (:

Thanks a lot! (:
[One (M7) Themes and Apps] Berserkers:
Thanks for the

Volume2Camera Mod
[One (M7) Themes and Apps] Sam_in_PGH:
Does this work with CM?
[One (M7) Themes and Apps] Matt:
Nope
[One (M7) Themes and Apps] farid1979:
I have after the flash a small Sound in the Video recordings. Like bfft bfft. Every 3 seconds. What can i do? I have reset the camera, but no good result.

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] Matt:
Could this be auto focus? This mod doesn't include sound effects ;p
[One (M7) Themes and Apps] farid1979:
Its not the focus. I have it only, when i make Video in landscape. When i make the Video in Portrait, then the Sound its ok.

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] Matt:
It's nothing to do with this mod, guaranteed.
[One (M7) Themes and Apps] farid1979:
I belive it, thats the problem is not the mod. I used it more than 1 month without problems. Only after a factory reset today i have the Problem. But now it is okay, but i dont know, why. I cant reproduce the Problem.

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] sdkim89:
I've installed the latest ARHD 12.1 and flashed "Volume Up to Snap Photo | Volume Down to Focus".

And it works perfectly, except when I take a picture - it doesn't show up in my CAMERA SHOTS section of my gallery (I usually set my views to ALBUMS).

But, I can see the pictures/videos taken when I switch over to EVENT view..

I've actually also flashed the "Remove Facebook in Gallery" http://xdaforums.com/showthread.php?t=2278511

Would this have something to do with it?

EDIT: Actually I can see the pictures in my CAMERA SHOTS section - but the position of the 'just-taken' pictures ends up somewhere in the middle and not the bottom.

Any way to fix this?
[One (M7) Themes and Apps] eRajesh:
[MENTION=4476552]Matt[/MENTION] you can try to edit the JPEG image save quality from the APK. Its currently set at 85%. Increasing it to 100% should help us somewhat. Plus there are tons of other options you can play around with, once you decompile the APK. Like improving the video recording bitrate etc. Please have a look?
[One (M7) Themes and Apps] Itaintrite:
This, while technically cool, is not very practical imho as a photography enthusiast. Why? The buttons on the HTC One are rather stiff. Using them as a shutter will add movements to the camera, and we all know that is not a good thing when you're taking a photo. It's okay if you're shooting in bright light and shutter speed can overcome the shake, but a lot of my photos are taken in low light.

Of course, this can be remedied by a "hold to shoot" delay (is it implemented in this mod?).
[One (M7) Themes and Apps] Vivimagic:
Yeah it works really well on Viper Rom 1.2.1
[One (M7) Themes and Apps] Sam_in_PGH:
Can anyone confirm that this works with the newest nightly builds of Cyanogenmod?
[One (M7) Themes and Apps] iElvis:
This is the Sense camera, slightly modded. No, it will not work any more than other Sense elements work on cm.
[One (M7) Themes and Apps] RaptorMD:
Will this work on any of the GPe ROM's since they have a Sense underpinning?
[One (M7) Themes and Apps] Matt:
No, they have nothing to do with Sense.
[One (M7) Themes and Apps] Karish1989:
[MENTION=2673249]Matt L[/MENTION]ast time are u still going to swap snap with focus mod for me ?
[One (M7) Themes and Apps] djcoolguyno1:
by mistake flashed the given file on stock rom now on every reboot it shows android is updating any solution?
[One (M7) Themes and Apps] _phoey:
Any chance of this working on the Droid DNA with a Sense 5 ROM? The two devices are very similar, only under-the-hood difference it that the DNA has the Snapdragon S4 Pro, instead of the 600 in the One.
[One (M7) Themes and Apps] Simba501:
I'd wager yes.

Sent from my HTC One
[One (M7) Themes and Apps] _phoey:
If i try this, and it doesn't work, is there a chance of bricking? Or just breaking the volume buttons (at software level)?

And P.S., I think i just gave you your 1000th "Thanks" :highfive:
[One (M7) Themes and Apps] Simba501:
No. It's only the Camera app; at the worst, the Camera just won't work. You can just put your old one back in this case.

And cheers :highfive:.
[One (M7) Themes and Apps] bdaniela:
Hi, im new in this forum and new in the android world i just got a HTC one M7 and i installed the Stock Jelly Bean (Android 4.1.2) stock de-odexed 2.17.401.1 From Android Revolution and i got ClockworkMod Recovery ... android version 4.2.2, HTC sense version 5.0, camera version 5.0 ... i was trying to install this in all the way i can imagine and i cant get it installed... if i open the .apk it says that the app was not installed and if i move it to system\app the camera disappears and if i restart the celphone it appears again (well, no all the time i think i flashed the celphone like 3 time because the camera disappears forever...) so i dont know if there is another way to install it or if its not compatible with Jelly Bean (Android 4.1.2) stock de-odexed 2.17.401.1 From Android Revolution... should i flash it now with Jelly Bean (Android 4.2.2) Android Revolution HD 12.1??? Help i want to use this mod... :( i even changed the odex version to deoxed by myself and making many mistakes coz im really NOOB!!!! jajaja i took me 2hours to make the phone turn on again jajajja

thanks and sry for the boring text!
[One (M7) Themes and Apps] langer hans:
The zip file you downloaded from here is a flashable zip. Don't unpack it. Put it on your phone storage. Then boot into recovery and use install from sdcard. Chose the camera mod zip and that's it.

Gesendet von meinem HTC One mit Tapatalk 4 Beta
[One (M7) Themes and Apps] OzBoy08:
Brilliant ...

Came to HTC One M7 from iPhone 4 which had this function. Missed it so thank you for helping me bring back the experience. Used the Focus mod. :good:
[One (M7) Themes and Apps] BB88:
Hi Matt, is there a reason the modified Camera.apk is smaller than the stock Camera.apk? Is button mapping the only changes made?
[One (M7) Themes and Apps] ANILrajbista:
cheers working
[One (M7) Themes and Apps] Matt:
When you recompile it uses more compression (:
[One (M7) Themes and Apps] maxxhtc:
I use the camera/video mod, works great. I figured if I wanted to zoom somewhere I might aswell tap screen at exact location, so I can fastly start filming if I want to. Works :silly:
[One (M7) Themes and Apps] aliquo93:
Why can't you make a version compatible with the stock ROM?
[One (M7) Themes and Apps] BB88:
I see. Other than that, the modded one is using the stock one as a base right?
[One (M7) Themes and Apps] Matt:
It's the exact same apk yeah
[One (M7) Themes and Apps] koline:
I'm using stock rom, 4.2.2 is installed on my phone. I'm just afraid of damaging my phone, thats why i dont install roms etc. :D so is there any way to install this and use it on the stock rom? thanks! (probably i'll get a negative answer but just wanted to ask anyway :)
[One (M7) Themes and Apps] Simba501:
See my quoted post below. If you're odexed, there will be a Camera.apk and Camera.odex (or something like that). Backup both (copy them to the sdcard or something), delete them from /system/app, then install this. Or move this to system/app with rw-r-r/644 permissions. It'll probably work.
[One (M7) Themes and Apps] shree.cse:
Tried this mod on Renovate, working perfectly on odex, just did as mentioned in the previous post. Thank u
[One (M7) Themes and Apps] joe_the_man:
This will work on the 2.24 base right? Just flashed the new venom and missing the button remapping already
[One (M7) Themes and Apps] Matt:
Yeah, it will (:
[One (M7) Themes and Apps] joe_the_man:
Thank u my brother!
[One (M7) Themes and Apps] Sindroid:
This mod should be standard feature on stock Rom... :confused:

Sent from my One
[One (M7) Themes and Apps] mrandyp69:
Didn't work for me. App doesn't even show up in drawer.
[One (M7) Themes and Apps] shree.cse:
Then check the permissions of the apk or copy again. You should see the camera.apk in the app drawer.
[One (M7) Themes and Apps] olvrick:
Any chance you could manage to get it work like in mod for Xperia?

I mean Tap-proximity-sensor to snap?
[One (M7) Themes and Apps] Simba501:
And also reboot. I may have failed to mention that.

Sent from my HTC One
[One (M7) Themes and Apps] Matt:
That was only designed to take photos underwater, why else would you need this :D The camera would also shake as you tapped it
[One (M7) Themes and Apps] olvrick:
Exactly for the same reason)))

HTC One + water-resistant case = better underwater camera, than xperia(due to larger sensor and wide-angle.
[One (M7) Themes and Apps] ElBeaner:
Hmm, after flashing the one with video my Sweep2awake no longer works.

Ok another reboot fixed
[One (M7) Themes and Apps] Atruong:
Right im a complete noob to this....

Ive got 4.2.2. stock rom, i used es file explorer to try and install the camera.apk mod app but it says 'app not installed'?

I tried to delete camera.apk and camera odex but it wont let me, what am i doing wrong? im sucha noob lol
[One (M7) Themes and Apps] olvrick:
Here is camera.apk from latest 2.25 base (HTC One 802w) with version 5.1.620655 with GIF-mode, etc.

Works like a charm on Viper 2.1.0.

Can you update your mods to this version?

https://dl.dropboxusercontent.com/u/18710309/Camera.zip
[One (M7) Themes and Apps] Simba501:
GIF mode?
[One (M7) Themes and Apps] olvrick:
yes, creating gif animation using camera application

but you will need few more libs for this to work, will upload later flashable zip.
[One (M7) Themes and Apps] nudr01d:
Nice one, just flashed this to my phone, much easier being able to use the physical buttons for some shots.

Using the one with up/photo down/video, seems to work perfectly
[One (M7) Themes and Apps] Thijssie909:
Would be great to have this working with volume buttons...
[One (M7) Themes and Apps] rwells:
Can I Test Two Mods?

Matt, thanks for your hard work on the awesome camera mods. Just donated to help with the Otterbox case. I have a question. I'm on v4.2.2, using Revolution HD 12.3. Just flashed your Volume Up to Snap Photo, Volume Down to Record Video and the Mod works beautifully on my HTC One DE. If I wanted to try the other Mod (Volume Down to Focus), do I just re-flash with the Focus-signed.zip or do I need to flash Stock-signed.zip first?
[One (M7) Themes and Apps] Matt:
Thanks :)! You just need to flash the Focus zip
[One (M7) Themes and Apps] fmedrano1977:
Can you create same mod for this camera apk.

http://xdaforums.com/showthread.php?t=2411533

Sent from my Nexus 7
[One (M7) Themes and Apps] Thijssie909:
+1
[One (M7) Themes and Apps] mky4b11:
Just installed that new camera and the flashable zip for volume to shutter still works.
[One (M7) Themes and Apps] fmedrano1977:
Nope it doesn't work here, New camera gets replaced with old camera when you flash one of these mods. I want the new camera with this mod.

﻿HTC One™
[One (M7) Themes and Apps] latenlazy:
+2
[One (M7) Themes and Apps] mky4b11:
Weird because it works fine for me. I have the new camera with the gif mode and make up level slider
[One (M7) Themes and Apps] RavenMad:
Nope, not working for me either. +1 for adding volume mod to the new camera apk.
[One (M7) Themes and Apps] mky4b11:
I figured out what happen, I had the shutter options enabled in the one toolbox that came with my rom, (arhd). And enabling it though the toolbox worked, where I thought it was the flashable file
[One (M7) Themes and Apps] Matt:
Basically, you guys need to flash the new camera app and then enable the option in xposed, which works across all builds
[One (M7) Themes and Apps] Clselfridge:
What about for those not on arhd? Or is that the only place this works?
[One (M7) Themes and Apps] Matt:
This works on all roms, but if you want the new camera app with mod then use langerhans app because he has an easy way to mod this without decompling each time. His app doesn't just work on AHRD either
[One (M7) Themes and Apps] Clselfridge:
I am running CleanRom 5.1 and his toolbox just fc when trying to open it. But thanks for the idea.
[One (M7) Themes and Apps] langer hans:
Yep sorry that it won't work on another rom. I clearly stated several times that the Toolbox was made for arhd and is not tested on any other rom. I have no time to flash 50 roms on my device just for testing the app.

I have just the camera stuff as a single xposed module on my PC at home. We'll see what we're going to do with it.

Gesendet von meinem HTC One mit Tapatalk 4
[One (M7) Themes and Apps] Clselfridge:
Actually if you don't allow su access the xposed side still works. But I will uninstall if I'm stepping on toes here. I also use arhd as well which is why I even had your apk in the first place.
[One (M7) Themes and Apps] langer hans:
Yep it will work then. Didn't think of that possibility. And sorry if I sounded rude, you're not stepping on anyone's toes. I can't forbid anyone using the app. I just can't give any support. That's what I wanted to make clear before now everyone installs the app for the camera mod and then floods me with bug reports that I can't really work on. Therefore I'll look how I can help wit providing a base-independent solution for this mod.

Gesendet von meinem GT-N5100 mit Tapatalk 4
[One (M7) Themes and Apps] Clselfridge:
Ok cool. The only things I have active are the volume 2 camera mods. And they are confirmed working. Granting su access crashes the app so no quick settings rearranging but like you said this was designed for a different Rom so that's to be expected.

Sorry Matt for the off topic.
[One (M7) Themes and Apps] Matt:
I will update this to the latest 4.3 camera then (: for simplicity
[One (M7) Themes and Apps] GermanGuy:
Are you still planning to update this?
[One (M7) Themes and Apps] BlackTavern:
I've been using a camera replacement from a different base that adds some features I needed, will this work with whatever camera.apk I have installed? Or does this actually replace camera.apk?

Sent from my HTC One
[One (M7) Themes and Apps] Simba501:
Look in the zip; it replaces the apk if I remember correctly. However, if you use the Sense 5 Toolbox Xposed module, you can add this capability to your existing camera.

EDIT: Look in the OP of this thread - http://xdaforums.com/showthread.php?t=2327541.

Sent from my HTC One.
[One (M7) Themes and Apps] TheEndHK:
4.3 is out, please update it to 4.3...

I like the Volume Up to Snap Photo | Volume Down to Record Video :good:
[One (M7) Themes and Apps] dread123:
+1 for the above please :p
[One (M7) Themes and Apps] Tetsumi06:
Don't suppose it'd be possible to modify the app so it names pics a little better? Something along the lines of:

[IMAG]yyyymmdd_xxxx[ZOEyyy[_SHOT]].jpg

Items in square brackets being optional/dependant on how Sense works.

Examples:

18th shot taken today

20130914_0018.jpg

23rd shot was a Zoe (6th still as highlight)

20130914_0023ZOE006_SHOT.jpg

Hoping that the IMAG prefix isn't essential.

Why? Because if I park images I want to keep in folders and keep 100MEDIA fairly clean new full-wipe Rom installs resent the counter and lead to name clashes when archiving snaps taken later on.

Cheers, Glyn.

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

TrickDroid ROM 9.1.0

Bulletproof 4.3
[One (M7) Themes and Apps] tehkingo:
Does this work on 4.3 ROMs like ARHD 22?
[One (M7) Themes and Apps] biohaz55:
The Sense 5 toolbox has these settings available so there is no need for a separate mod
[One (M7) Themes and Apps] MIKEYSAKZ:
Wish there was a mod like this for Samsung roms man this looks killer
[One (M7) Themes and Apps] acalman:
Hi! I flashed the zip from the recovery, when I hit the cam icon it shows the camera has stop, How can I undo the mod installation? thanks
[T-Mobile HTC One (M7)] nmahadkar:
The default mail app does on autofit emails to the screen. Is there another stock email app that I can download that supports this feature. I need exchange active sync in this client.

Thanks