• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Camera-Mod] hardwarebutton

Search This thread

IILaryII

Member
May 17, 2009
36
40
Hi guys,

I was searching for an SGS2 Camera mod, to use the powerbutton as the cameratrigger.

Because I did not find one, I tried it on my own.

But as my javaknowledge is poor, I am not able to temporarily disable the powermenu popup.

So I remapped the volumkeys, to work as the trigger in cameramodus.
I did not apply this to the camecorder, because it is not working right now.



In Post 7 you can find a 1080p @ 30 Mbit and 48000 khz/192 kbit Audio Recording camera.apk with the same mod

Functions:

Hold Volumekey to focus and release to shoot.
Tap Volumekey will take a direct snapshot

Installation (root acces requiered)


Extract the camera.apk from the rar archive and copy it to your SGS2
Now we have to replace the original camera.apk
You can take Yaffs Explorere to do this (free available in the market)
First execute "busybox mount -o rw,remount /system" to mount
Then copy and paste the new file into /system/app/

IMPORTANT!

If your volumekeys are still mapped to the zoom funktion, you did not correctly replace the old apk.
Try to delete your old camera.apk. If it is still there, you did not mount your file system correctly


done.
 

Attachments

  • Camera.rar
    1.1 MB · Views: 12,386
Last edited:

jody2k

Senior Member
Jun 3, 2011
1,268
425
Thank you for your workaround, nice feature when adding hardware buttons ;) was looking for that

But one question, what is the difference between the original and this one? (expect for the hardware buttons) doesn't it already film @ 1080p (1920x1080) or am I wrong? xp

greetings
 
  • Like
Reactions: kyakaze

btecsm

Member
Dec 25, 2008
44
2
37
Tokyo
Cool!
Finally someone did the trick!
Hopefully the Rom Builders here implement your camera.apk in their Builds! I ;-)

Sent from my GT-I9100 using XDA Premium App
 

IILaryII

Member
May 17, 2009
36
40
I would like to have it one the power key ;)
I found two solutions for that, but I have to learn Java for that first.
As long as I dont know how the work around the power menu, I cant map the powerkey to the trigger :/
 

IILaryII

Member
May 17, 2009
36
40
It should work with cm7, just backup your old camera.apk and give it a try.

I am currently running Lite'ning Rom V2.2

Tell me if it works correctly, after you tried :)

Thx
 

NoOneCanHelpMe

Senior Member
Jun 12, 2010
912
212
UK
Hi,
would you be able to make this apk work with volume buttons as well.

this one and the HyperX one are the main modded camera apk out there

this one does 192kbps 44Khz audio normal bitrate

(i just changed the icon)

i'd be really grateful for this. thanks
 

Attachments

  • Camera.apk
    1.4 MB · Views: 1,146

bruflot

Senior Member
Jun 9, 2011
504
91
24
It should work with cm7, just backup your old camera.apk and give it a try.

I am currently running Lite'ning Rom V2.2

Tell me if it works correctly, after you tried :)

Thx

No it won't?
The camera app in the main post is a Samsung app, which needs the Samsung framework.

CM7 is not related to Samsung in any ways, and therefore doesn't have the Samsung framework.


Sent from my GT-I9100 using XDA Premium App
 

dickie2007

Senior Member
Jan 6, 2007
152
67
Portsmouth
Also I took the new Camera.apk, that is able to take 1080p Videos.
The quality is amazing.

Awesome work!!

2 questions;

What do you mean by the new Camera that can take 1080p videos?? I was under the impression its always been able to...?

Also, are you able to take the enhancements from HyperX's modded (old) Camera.apk and implement it into the newest release (KG2/3) as it has some performance increases and HyperX doesn't seem to be interested...


Cheers for the step in the right direction!!


Dickie.
 

norpan111

Senior Member
Mar 28, 2010
3,312
529
Halmstad
Yeah didnt work here either on leomar:( volume just zooms


Edit: did work when installing as regular app :) great , annoying volume sound when snapping a pic thats it ;d

Sent from my GT-I9100 using XDA App
 
Last edited:
  • Like
Reactions: kobellza

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    Hi guys,

    I was searching for an SGS2 Camera mod, to use the powerbutton as the cameratrigger.

    Because I did not find one, I tried it on my own.

    But as my javaknowledge is poor, I am not able to temporarily disable the powermenu popup.

    So I remapped the volumkeys, to work as the trigger in cameramodus.
    I did not apply this to the camecorder, because it is not working right now.



    In Post 7 you can find a 1080p @ 30 Mbit and 48000 khz/192 kbit Audio Recording camera.apk with the same mod

    Functions:

    Hold Volumekey to focus and release to shoot.
    Tap Volumekey will take a direct snapshot

    Installation (root acces requiered)


    Extract the camera.apk from the rar archive and copy it to your SGS2
    Now we have to replace the original camera.apk
    You can take Yaffs Explorere to do this (free available in the market)
    First execute "busybox mount -o rw,remount /system" to mount
    Then copy and paste the new file into /system/app/

    IMPORTANT!

    If your volumekeys are still mapped to the zoom funktion, you did not correctly replace the old apk.
    Try to delete your old camera.apk. If it is still there, you did not mount your file system correctly


    done.
    5
    Done.

    But as I said before, Camecordermodus ist not working right now.
    2
    What rom r u using?

    Sent from my GT-I9100 using xda premium

    WanamLite ICS ROM 11.3.1 (XWLP9).
    Can't find your app in the Google Play on my phone and on the net it is not compatible with I9100 devices.
    Strange :(
    2
    Take a look at "Camera ICS" - https://play.google.com/store/apps/details?id=com.moblynx.cameraics

    There u go :) no need for hacks :)

    Sent from my GT-I9100 using xda premium
    Seems not compatible with SGSII :(
    1
    a6f9c779-800b-5a83.jpg
    some one plz. hack camera AOKP B39

    chang button power to camera take photo

    thank you

    Open camera settings , turn on power button shutter... its been in aokp sinse built 17(ish)

    Sent from my Galaxy Nexus using Tapatalk 2