Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
substanceD
Old
(Last edited by substanceD; 15th May 2012 at 06:39 AM.)
#1  
Member - OP
Thanks Meter 45
Posts: 40
Join Date: Aug 2009
Default [MOD] Hacked Gingerbread Camera.apk - updated 5/14/12

This is the Droid Charge Gingerbread Camera.apk with the following modifications:
* Sharpness set to +2 by default--use Camera-5-14-12.apk or Camera-with-2-sharpness.zip. dwitherell had a better idea for how to do this so that doesn't leave the sharpness stuck at +2, so I've updated the attachment to use his instead (thanks!) (added 5/14/12)
* Does not show in call warning--use Camera.apk or Camera-with-normal-sharpness.apk (added 12/20/11)
* Does not show battery warning on <= 15% battery (added 11/6/11)
* Shutter can be activated with either the power button or the search button (although you need to press pause or stop manually in the camcorder) (added 11/6/11)

Requirements:
* You must be running a deodexed Gingerbread Droid Charge ROM. If you have a /system/app/Camera.odex file, you are not running a deodexed ROM, and will need to flash a different one or deodex your ROM before using this mod.

Installation instructions:
1. Back up your Camera.apk by moving it to /system/app/Camera.apk.bak
2. Push one of the attached Camera files to /system/app/Camera.apk with adb or download and copy it there with RootExplorer or ROM Toolbox

Alternatively, flash one of the attached CWM ZIP files from recovery. Thanks to dwitherell for the empty flashable ZIP file, since I could never get them to work correctly when I created them myself.

To use a different version of this mod or revert to the original, download the desired file, rename it to Camera.apk, and then follow the installation instructions above

Known to work on:
Pretty much every Gingerbread (Android 2.3.6) ROM. It is included in Tweaked/TweakStock and InfinityROM.

Feel free to click the "Thanks" button if you like my work
Attached Files
File Type: apk Camera.apk - [Click for QR Code] (2.07 MB, 2243 views)
File Type: apk Camera-11-6-11.apk - [Click for QR Code] (2.07 MB, 756 views)
File Type: apk Camera-original.apk - [Click for QR Code] (2.06 MB, 1156 views)
File Type: zip Camera-with-2-sharpness.zip - [Click for QR Code] (1.82 MB, 396 views)
File Type: zip Camera-original.zip - [Click for QR Code] (1.74 MB, 416 views)
File Type: zip Camera-with-normal-sharpness.zip - [Click for QR Code] (1.74 MB, 243 views)
File Type: apk Camera-5-14-12.apk - [Click for QR Code] (1.86 MB, 841 views)
The Following 34 Users Say Thank You to substanceD For This Useful Post: [ Click to Expand ]
 
Chitala383
Old
#2  
Member
Thanks Meter 2
Posts: 74
Join Date: Oct 2011
Yeah power button for shutter would be sweet

Sent from my SCH-I510 using XDA App
 
Haloman800
Old
#3  
Senior Member
Thanks Meter 19
Posts: 235
Join Date: Dec 2010
THANK. YOU. I was trying to get the old one for froyo build's working today & I couldn't, this is exactly what I was looking for.

If you could also add Search Button for shutter, that would be perfect, since it's easier to press & more conveniently located than the power button.

One other request, sort of weird, but when I'm in the camera app, & I press the power button, make it so it actually puts the phone to sleep, not just locks it so you can't do anything but it's still running down your battery.
 
maurogg84
Old
#4  
Senior Member
Thanks Meter 32
Posts: 300
Join Date: Feb 2011
Quote:
Originally Posted by Haloman800 View Post
THANK. YOU. I was trying to get the old one for froyo build's working today & I couldn't, this is exactly what I was looking for.

If you could also add Search Button for shutter, that would be perfect, since it's easier to press & more conveniently located than the power button.

One other request, sort of weird, but when I'm in the camera app, & I press the power button, make it so it actually puts the phone to sleep, not just locks it so you can't do anything but it's still running down your battery.
I counter that, I would like to use the power button for shutter. It's easier to use when you take a picture of others and of yourself

Sent from my SCH-I510 using xda premium
 
substanceD
Old
#5  
Member - OP
Thanks Meter 45
Posts: 40
Join Date: Aug 2009
Thanks for the feedback! Once I figure out how to change the behavior of keys in the app I could maybe create a couple different versions--one with search for shutter and another for power. I haven't figured out how that code works yet (I'm reading smali code for the most part) but I'll keep you posted.
 
storm81456
Old
#6  
Member
Thanks Meter 9
Posts: 64
Join Date: Feb 2008
Location: NYC
I can confirm it definitely works on Humble. I used it tonight to take a picture at the Rangers game with about 10% battery left.
 
ForeverSupra
Old
#7  
ForeverSupra's Avatar
Senior Member
Thanks Meter 845
Posts: 623
Join Date: Aug 2011

 
DONATE TO ME
Thank you! This is very useful. I was taking off from Puerto Rico to fly back to Florida and I wanted to record the take off. But guess what? My battery was to low!

Elegant Theme for the Verizon Note II:
http://forum.xda-developers.com/show....php?t=2236731

S-Pen Hover Icons/Sounds for ANY Note II:
http://forum.xda-developers.com/show....php?t=2263017




 
andrewjt19
Old
#8  
andrewjt19's Avatar
Senior Member
Thanks Meter 34
Posts: 228
Join Date: Oct 2010
Location: Pennsylvania

 
DONATE TO ME
Doesn't work-humble 4.5. A working version would be sweet... Thanks for the effort.

Sent from my HUMBLE 4.5 using XDA App
Andrewjt19
"Rule Your Phone"

not just the air.
 
substanceD
Old
#9  
Member - OP
Thanks Meter 45
Posts: 40
Join Date: Aug 2009
Quote:
Originally Posted by andrewjt19 View Post
Doesn't work-humble 4.5. A working version would be sweet... Thanks for the effort.

Sent from my HUMBLE 4.5 using XDA App
When you replace the Camera.apk in /system/app/, what happens? Does it not show in the app drawer or are you not able to run it? If you PM me the Humble APK I will make the same modification to it as I did to the other one, which should make it work for you.
 
Haloman800
Old
#10  
Senior Member
Thanks Meter 19
Posts: 235
Join Date: Dec 2010
Quote:
Originally Posted by substanceD View Post
When you replace the Camera.apk in /system/app/, what happens? Does it not show in the app drawer or are you not able to run it? If you PM me the Humble APK I will make the same modification to it as I did to the other one, which should make it work for you.
I'm running Humble 4.5 as well, it works perfectly for me. He probably tried to install it like a normal app.

p.s. , here's the thread for the guy that hacked the froyo camera, if you want to ask him how he changed the button mappings: http://forum.xda-developers.com/show....php?t=1144885


Thanks again, this has already saved me once!

The Following User Says Thank You to Haloman800 For This Useful Post: [ Click to Expand ]
 
Post Reply+
Tags
camera
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...