[MOD] Hacked Camera.APK for better audio quality, usage with any battery life & MORE!

Search This thread

mguel

Senior Member
Apr 12, 2010
131
13
Shortcut lost issue

While testing stock vs potatoman vs hiperx on 2 times I had the shortcut lost from the bottom launcher bar of TouchWiz launcher. The first time I "installed" camera.apk (already copied to /system/app) but still had no shortcut, so on the Applications drawer -> menu -> Edit, I was able to add back the camera shortcut to the bottom drawer.

And the second time I lost the shortcut I didn't install it, I only made the steps I described above, and was able to restore the shortcut without installing the apk again.

Cheers,
Mguel
 

djbarry

Member
Mar 21, 2008
8
0
it seems to be the treble indeed, the rest of the frequencies are better...
So, what's next..? When i put my finger on the microphone, the sound is much better, but then the sound is really low...
That's logical ofcourse, but now i know its the treble, maybe i can put on some filter or something on the microphone so the sound will stay good even at high volumes..
gonna try that first, i will let you know the difference! :)
 

JF-GINO

Senior Member
Apr 30, 2011
340
112
Toronto
+1
Or just disable auto-focus at all (in video recording mode).

I agree, the thing takes 50% of my videos out of focus, especial in lower light conditions. Dont know why sammy would not implement this option as its just not acceptable. Stereo is also quite possible as posted before - would be the 2 greatest improvements.
 

moro30

Senior Member
Aug 30, 2008
234
11
what is better hack for best performance audio and video, patatoman or hiperx? i want to use the best version, for my rom lite'ning 1.4 KF1
this is the hack that i have used:
camera_HX-Mod
 
Last edited:

busterdan

Senior Member
Jan 12, 2010
276
4
I just screwed up trying to install this

My file manager I had (I now have root explorer) wouldn't give me permission to rename the original camera.apk so I made a copy of it to sd card then uninstalled the original camera app, then copied over the camera app mod.apk renamed to camera.apk but when i try to install it it just says "application not installed" even when I copy back the original camera.apk file it will not install

So now I have no camera app installed :-(

Any ideas on getting this to install?

Installed vignette but that just crashes back to app drawer on start up

EDIT--
Right managed to get my original camera.apk working by installing the camera firmware update from[URL="http://xdaforums.com/showpost.php?p=14191686&postcount=1"[/URL]

Don't know if I dare try the camera mod now ha ha

Same for me... rebooting now... just hope it is OK
 

knightnz

Senior Member
Dec 12, 2009
1,693
271
Wellington
How to install using adb with phone connected to your computer:

Copy the new .apk to the root of the internal sdcard of the phone. then run the appropriate set of commands:

STANDARD VERSION:
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p9 /system
cp -r /sdcard/Camera.apk /system/app/Camera.apk
chmod 644 /system/app/Camera.apk
NO SOUND VERSION:
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p9 /system
cp -r /sdcard/CameraSoundless.apk /system/app/Camera.apk
chmod 644 /system/app/Camera.apk
cd /system/media/audio/ui
rm cam*
rm Cam*
rm Shut*
rm Video*
 
Last edited:
  • Like
Reactions: Potatoman

mguel

Senior Member
Apr 12, 2010
131
13
I agree, the thing takes 50% of my videos out of focus, especial in lower light conditions. Dont know why sammy would not implement this option as its just not acceptable. Stereo is also quite possible as posted before - would be the 2 greatest improvements.

Here too... hating autofocus with ADHD :mad:
 

Potatoman

Senior Member
Nov 17, 2007
127
249
Thanks for the ADB install guide, I put it up on the first page for people who want to do it that way (and gave you credit of course :))
 

sinzim

Member
Nov 19, 2010
17
0
Trondheim
Thanks for this, installing now =)
Edit: Works great!

Would love the feature of power button as a shutter! Good luck on that one =)
 
Last edited:

M40TURBO

Member
Jan 30, 2009
26
0
Has anyone experienced the phone getting warm after the mod? That the display gets warmer then the back. I'm on the Lite'ning Rom v1.4 XWKF1 now.

I turned it off to let it cool down. Going to check if it gets warm again.
Then i'll have to go back to the old camera.apk:p
 

NoOneCanHelpMe

Senior Member
Jun 12, 2010
912
212
UK
Has anyone experienced the phone getting warm after the mod? That the display gets warmer then the back. I'm on the Lite'ning Rom v1.4 XWKF1 now.

I turned it off to let it cool down. Going to check if it gets warm again.
Then i'll have to go back to the old camera.apk:p

ur phone is getting hot after u use the app to take pictures?

i think ur phone is hot because u play games or browse :)
 

M40TURBO

Member
Jan 30, 2009
26
0
It might have been because of when i used the wifi and installed a few things.
made a vid to check if it worked. No games played this time. But the screen doesn't get as war as it did this time, even after playing games or browsing.

I'll investigate some more and let you know if i find out anything.
But it should have been warmer on the battery side, and not the screen.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 155
    [MOD] Hacked Camera.APK for better audio quality, usage with any battery life & MORE!

    Final Update-

    Some people have been asking for sourcecode/instructions, so once more, this is the method I used, all credit to Rafalense.
    http://xdaforums.com/showpost.php?p=10980448&postcount=268

    Those of you wanting me to reupload the APK's, I'm sorry, I don't have them stored anymore, and I wouldn't put them up even if I did. They're based on ANCIENT firmware revisions, and whilst I can appreciate you still would like the functionality somehow, I'm not interested in taking on the project again at this time. Thank you very much for your continued use and desire for my work though, it's very flattering.

    I won't be actively developing or supporting this anymore because of it's defunct nature. If you want something similar, I highly recommend the lgCamera app, which has a far better implementation of improved bitrates (select whatever bitrates you want in a menu.) You can get lgCamera on the market- I highly reccomend it.

    Anyone who wants to pick up this project can feel free to discuss here or make a new thread, as you please. If you do, please include the link to the guide by Rafalense, as it was the basis for this mod and will doubtlessly be of use to someone.

    (Original Post Below)
    -----

    In light of my new student status, and since my student loan doesn't even cover my accommodation... I have made a donate link.

    If you use the mod regularly, please consider donating, it would really help me out. Don't worry if you can't though, the mod will always be free for all to use. :)



    Thanks for all the support-

    - Potatoman.

    ------------------------------------------------------------------------------

    Hey folks-

    It's with great pleasure that I'm releasing a hacked Camera.apk for you all today! This is my first android mod, so be gentle :p

    Info-
    The apk replaces the stock Camera.Apk in the Galaxy S II (or Samsung Captivate!), and has the following features-

    - Allows use of the camera & camcorder at any battery life
    - Records Audio in 192kbps/44.1Khz quality (CD Quality) rather than stock (64kbps/16khz quality)
    - Increased Video Bitrate in 1080 and 720p modes* (See 2nd post for info and download link for this version)
    - Optional No Sounds versions (for Standard and Highbit versions!). All of the features, None of the noise! Yes, even the autofocus noise is gone!
    - HyperX-'s SuperHighBit version now available (See 2nd post for info and download link for this version)

    I have left the settings for the 320x240 and 176x144 resolution modes as stock, so they will be the same size and with the same audio. This is to ensure video messages are kept within the filesize limits :)

    Before/After Comparison (thanks robbiekhan)-
    Before:

    After:
    Treble is high for loud sources in this mod, I'm working on improving it in v2. for now, just stand further back like robbiekhan said :) - Potatoman
    Treble seems high so apologies for that, car volume was higher than I realised ¬_¬

    Additional info:
    If you want to get rid of the shutter sound, create a file in /data called local.prop and add the line "ro.camera.sound.forced=0" and restart your phone. This removes both the shutter sound and the focus sound when your phone is on silent, but keeps the sound when it's not on silent. - llBlackenedll

    Install Guide:
    1) Root & install a file manager which lets you browse root
    2) browse to /system/app, and rename your Camera.apk to Camera.apk.bak and your Camera.odex to Camera.odex.bak (for use as a backup to restore from)
    3) Unrar my APK (password: potatoman@xda) and copy it over to /system/app.
    4) Rename it Camera.apk
    5) Close the file manager and run the Camera app from the main menu
    6) IF the app fails to run, or the shortcut is missing, go back to the /system/app folder and try to install it (tap it in root explorer then "install"). This step is only a fallback, do NOT do this if it works already at step 5.
    7) Enjoy!

    ADB Install Guide- See 2nd post!

    This mod was tested on my own Galaxy S II with KE2, KE7, KG1, VillainROM and CognitionROM firmwares.

    -------------------------------------------------------------------------

    Thanks all, hope you enjoy! Thank if you like it :)
    (Download: http://www.multiupload.com/KHRWLERS4J)
    (Download with no sounds: http://www.multiupload.com/NNR1SYDYL6 Same password. Be sure to remove cam_start.ogg, cam_stopp.ogg, Camera_click.ogg, Camera_click_short.ogg, Shutter_01.ogg and videoRecord.ogg from /system/media/audio/ui as well!)

    -------------------------------------------------------------------------
    Credits-
    Potatoman - Sound implimentation & merging of features & Version Splitting/Maintainance
    Soraxd - Original battery life functionality & upcoming music playing functionality
    Rafalense - A great post which lead me through how to do this mod over on the Galaxy S forums
    pulser_g2 - Original battery life functionality (with soraxD :))
    llBlackenedll - tip on how to disable shutter sounds
    robbiekhan - Before/After Comparison videos
    Antoniotdi - An excellent bugfix :)
    hyperX - Great minds think alike eh? HyperX released a similar mod to this on the same day as me! Anyway, we'll be working together on cameramods from now on. Good news huh? :D
    Knightnz - The ADB install guide
    28
    ADB Install guide (Thanks knightnz!)-

    How to install using adb with phone connected to your computer:

    Copy the new .apk to the root of the internal sdcard of the phone. then run the appropriate set of commands:

    STANDARD VERSION:
    adb shell
    su
    mount -o remount,rw -t ext4 /dev/block/mmcblk0p9 /system
    cp -r /sdcard/Camera.apk /system/app/Camera.apk
    chmod 644 /system/app/Camera.apk

    NO SOUND VERSION:
    adb shell
    su
    mount -o remount,rw -t ext4 /dev/block/mmcblk0p9 /system
    cp -r /sdcard/CameraSoundless.apk /system/app/Camera.apk
    chmod 644 /system/app/Camera.apk
    cd /system/media/audio/ui
    rm cam*
    rm Cam*
    rm Shut*
    rm Video*

    -----------------------------------------

    HyperX-'s SuperHighBit version released!
    This is kept here because it isn't mine to remove, and I haven't heard from HyperX in a while. Please note I wont be able to support anyone with this if you choose to use it.

    Since some of you know me... i imigrated from Symbian here to Android.
    Now i am working on several mods with Potatoman to bring you more mods/tweaks stuff.
    I have prepared a package, with the following settings:
    1080p mode: Normal – 17 Mbit Fine – 24 Mbit – Super fine – 30 Mbit
    720p mode Normal – 9 Mbit Fine – 13 Mbit Super fine – 17 Mbit
    Both modes have audio at 48000 khz at 192 kbit
    Download
    Also for those, who are interessted, my site will be soon updated for an Android section.
    www.hx-custom-roms.com

    DISCLAIMER TO AVOID DRAMA-
    I work on this in my own time as a project, as and when I see fit. At no point does using or donating to the development of this app entitle you to demand anything from me other than what has already been shared. The app is also for use "as is", with no warranty. Support is provided by me (and other helpful members) in this thread and in my PM box as and when we desire.
    Anyone who takes an issue with this is more than welcome to not use the app, not post here, and otherwise avoid being a nuisance to the rest of us in this thread.
    9
    Since some of you know me... i imigrated from Symbian here to Android.
    Now i am working on several mods with Potatoman to bring you more mods/tweaks stuff.

    have prepared a package, with the following settings:

    1080p mode: Normal – 17 Mbit Fine – 24 Mbit – Super fine – 30 Mbit

    720p mode Normal – 9 Mbit Fine – 13 Mbit Super fine – 17 Mbit

    Both modes have audio at 48000 khz at 192 kbit

    Download

    Also for those, who are interessted, my site will be soon updated for an Android section.

    www.hx-custom-roms.com
    6
    After flash that MOD, audio is still 44KHz/61Kbit...
    btw. VolumeKey works perfectly :)

    Thanks for letting me know
    Here are the two versions, normal and higher quality audio


    Hey guys
    I Mod, Camera Hack, to XXI4
    I want to share


    LINK Install CWM
    http://www.mediafire.com/file/ta06qoagn3s7w0c/UpdateCriskeloRomGSGII-CameraHack-Bat-2%-48000khz.zip

    Camera hack XXKI4
    * Hack VOL + / -
    Hold Volumekey to focus and release to shoot.
    Tap Volumekey will take a direct snapshot
    * Allows you to take pictures with less than 2%
    * Audio is original 44KHz/61Kbit...



    LINK install CWM
    http://www.mediafire.com/?ta06qoagn3s7w0c

    Camera hack XXKI4
    * Hack VOL + / -
    Hold Volumekey to focus and release to shoot.
    Tap Volumekey will take a direct snapshot
    * Allows you to take pictures with less than 2%
    *1080p @ 30 Mbit and 48000 khz/192 kbit Audio Recording



    :)
    5
    You had no problem asking for donations to encourage your ''desire'' to mod...
    Did you get less than you expected???

    Sent from my GT-I9100 using XDA App

    You dont understand! making yourself look a twat

    Sent from my GT-I9100 using XDA App

    No mate, you're making yourself look like a twat. Does my app not work? Is it wrong of me to ask for a VOLUNTARY donation for something I put a lot of effort into? If I wanted it to be a scheme where you pay money and I do new features at the snap of your fingers, I would have made a Pro version and a Lite version and charged for it like a normal app. If you don't like what I do, feel free to leave and never come back.

    I hate arrogant pricks like you. What have you done for the community lately? Donations are just that, a DONATION. I don't give to cancer research then come back 3 months later demanding a refund because people still get cancer. Even while I'm not working on the mod, I still reply to PM's and posts helping people with the current version of the mod on a regular basis, which is more than most dev's would do when they're supposed to be on a break.

    Lots of people use my app daily on their phones, and I ask nothing in return. The generous ones who WANT to give can do so using the donation button, for which I am very grateful. That's as complex as it gets.

    ---------- Post added at 11:49 PM ---------- Previous post was at 11:41 PM ----------

    Potatoman said:
    DISCLAIMER TO AVOID DRAMA-
    I work on this in my own time as a project, as and when I see fit. At no point does using or donating to the development of this app entitle you to demand anything from me other than what has already been shared. The app is also for use "as is", with no warranty. Support is provided by me (and other helpful members) in this thread and in my PM box as and when we desire.
    Anyone who takes an issue with this is more than welcome to not use the app, not post here, and otherwise avoid being a nuisance to the rest of us in this thread.

    Disclaimer added in post 2 to avoid any more ignorant posters.