DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 1 of 1

Thread: [MOD][DEV] *v2.1 update* Froyo Camera.apk Power Button->Shutter Key; Disable Low Batt

  1. Droid Ninja
    TAPOUT27's Avatar
    Member #
    34111
    Join Date
    Feb 2010
    Location
    BRENTWOOD, TN
    Posts
    2,370
    Twitter
    TapoutTwo7
    Phone
    HTC Tbolt, Fascinate, OG Droid
    #1

    [MOD][DEV] *v2.1 update* Froyo Camera.apk Power Button->Shutter Key; Disable Low Batt

    All credit goes to GizmoDroid over at XDA for this sweet hack....Enjoy

    Orig link: [MOD][DEV] *v2.1 update* Froyo Camera.apk Power Button->Shutter Key; Disable Low Batt - xda-developers

    [MOD][DEV] *v2.1 update* Froyo Camera.apk Power Button->Shutter Key; Disable Low Batt

    Current Functionality over stock Camera.apk:
    • Optional Geotagging (thanks to Adrynalyne or whoever he got it from)
    • Power Button in Camera mode becomes functionally the same as the touchscreen Shutter Key
    • Power Button in Camcorder mode becomes functionally the same as the touchscreen Shutter Key for starting recording
    • Removed Low Battery restriction
    • Removed In-Call restriction

    Froyo Camera Mod v2.1 - APK version

    Camera.apk - Download @ MediaFire.com



    Installation: Since this is a system app, it cannot be installed using the Package Installer. Camera.apk must replace /system/app/Camera.apk. You can accomplish this many different ways. Two common methods are: 1) use ADB to push it ("adb push Camera.apk /system/app/Camera.apk"); or 2) copy Camera.apk to your SD card, then use a program like Root Explorer to move it to "/system/app/". If you are running a Stock Froyo rom, you will want to delete any camera.odex files in /system/app/, clear dalvik cache and reboot. For most deodexed roms, a reboot is only necessary if the camera is not working correctly after installation.
    Thanks to s44, there is now a CWM flashable upgrade version:

    Froyo Camera Mod v2.1 - ClockworkMod ZIP version

    cameramodv2.1-install.zip - Download @ xdaDevelopers.com



    Originally Posted by s44 The attached Clockwork zip *should* do all the above (delete the odex if it exists, clear the Camera's dalvik cache entry, and install the Camera apk into /system/app)
    Installation: Copy zip file to sdcard. Boot into CWM, and select "Install zip from sd card". Select the file, then confirm the flash. When finished, reboot.
    Disclaimer: This should work on any of the Froyo roms/kernels, but maybe not your's. Be sure to make a backup of your current Camera.apk for easily switching it back if you have problems.

    Feedback: If it doesn't work right, let me know your setup, and what the problem is. If you see an error in my description, or if you know of a better way to do something, let me know. It's my goal to both be as unobtrusive to the original code as possible, while increasing functionality/efficiency. I am *slightly* open to suggestions on future features (I can't promise much since I'm in school and don't have too much time).

    Future Features/Fixes:
    • In camcorder mode, Power Button second press->Pause Key
    • Fix minor bug where Home Key short press does not exit program after using the Power Button once
    • Optimize PNG's

    Previous Versions
    Camera Mod v1
    Camera.apk - Download @ MediaFire.com



    Changelog
    • v2.1
      -Added "Unable to start camera while in a call" Alert Disable
      -Added Remap Power Button to Shutter Key for Camcorder (start only)
    • v2
      -Corrupted Upload... Sorry!
    • v1
      -Initial Release


    Thanks:
    -Adrynalyne for providing the deodexed, froyo Camera.apk with optional geotagging added.
    -The author of that forum post I read that pointed me to the "camera.smali" file. I'm sorry, I have no idea who you are.
    -Whoever wrote this Dalvik VM cheatsheet
    -S44 for putting together the CWM flash file

    ENJOY......
    HTC Thunderbolt
    ROM changes daily
    1.39.00.0627r Radio
    2750mah Batt & Door

    YouTube: NSMetroid
    GTalk: tapout27@gmail.com
    Twitter: TapoutTwo7
    Xbox 360: Thaiboxer26
  2.  
     
     
     

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. How to disable the camera shutter's sound
    By winoz in forum Motorola Droid 2 Global
    Replies: 14
    Last Post: 01-31-2011, 08:37 AM
  2. How do I disable side camera button
    By KDYaker in forum Droid X Tech Support
    Replies: 2
    Last Post: 10-08-2010, 02:05 PM
  3. Camera Shutter
    By Losheau in forum Droid X General Discussions
    Replies: 10
    Last Post: 08-29-2010, 10:26 PM
  4. Can I disable hanging up on calls with power button?
    By ned4spd8874 in forum Droid Incredible Tech Support
    Replies: 6
    Last Post: 08-18-2010, 09:18 PM
  5. Any way to remap the camera/volume button to be the power button?
    By Flowah in forum Android Hacks and Help
    Replies: 2
    Last Post: 12-13-2009, 08:12 AM

Search tags for this page

cam apk mod
,

camera hack apk

,

camera mod apk

,

camera.apk froyo

,
cameramod.apk
,
froyo apks
,

galaxy s3 camera apk

,
hd camera mod samsung galaxy
,
mod camera.apk
,

modded camera apk

Click on a term to search our site for related topics.
Find us on Google+