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

Search This thread

yulaws

Senior Member
Sep 8, 2011
191
86
excellent work. just wanted to ask if its possible to bypass in-call restriction?

thanks :D
 

Potatoman

Senior Member
Nov 17, 2007
127
249
Quick Post to keep you guys in the know, I'm still waiting for Virgin Media to hook my connection up in the house I'm renting, hence why I haven't posted yet and am currently doing so from my phone in a public library :p
I'm still settling in at uni, finally got my PC gear down here yesterday and hooked it all up, so once lecture introductions finish I'll be back to work on the app.

First on the agenda will be to compile, test, and release what I have, which is the KG6 based apk with the volume keys as shutter buttons. After that, I'll be finishing testing for the updated KH3 version then putting that up once I'm satisfied. Then I'll finally resume my experimenting with features for v2, especially the camerafocus since I recently came up with a hunch of what might be a workaround for the autofocus issue we're all having in the higher resolutions, involving replacing some of the array code for the 720 and 1080 resolutions with that of the 480 resolution code, since I recently noticed a continuous_AF call which isnt present in the 480 setting. No idea if it'll work or not, just throwing it out there in case anyone else is messing about with this too :)
 

imnok1

Member
Apr 5, 2008
11
0
excellent work. just wanted to ask if its possible to bypass in-call restriction?

i am currently getting FC when trying to use soundless apk, but i'm not concerned yet as this is my first try at it. i'll try some more.
*edit* this is resolved and now the 2nd paragraph is valid again.
how resolved? i skipped to the ADB instructions because i use CLI. with this and the other camera.apk replacement OPs out there, the CLI instructions do not list anything about the .odex file. removing/renaming .odex made it so FC goes away.

meanwhile, yulaws' wish is my primary wish as well. i find it absolutely ludicrous that samsung limits this functionality and it comes up as a frequent problem for me. i run into "Unable to start camera during call" situations all the time. i have yet to run low on battery and have a wish to take a picture. i'm sure it'll happen eventually, but camera use while in a call is a vastly more important feature for me. i will give more money the sooner anyone makes this problem go away.
 
Last edited:

Potatoman

Senior Member
Nov 17, 2007
127
249
do you remember what firmware the modded camera.apk on the OP is from?

The current version is based on KG6, HyperX's highbit versions are KG2 I believe, but both versions of the stock APK's were identical when I examined them. KH3 has had some changes (improvements hopefully), which is what the next minor release is going to be based on. I haven't had time to check newer releases for changes yet.
 
Last edited:

shanume

Senior Member
May 21, 2009
1,187
262
hack camera from KI8 base!

hej all and Potatoman,

I have use Criskelo Rom now and this come with hack camera base on KI8!
with support high dpi :)

http://dl.dropbox.com/u/34037439/Cameracriskelov24.ki8.apk

this one is with 48khz sound quality and take photo with volume key.

I dont know is this work with other rom? so try it on yours own risk :)

this work for all sgs2 with criskelos rom.

install metode is just like potatoman release just copy the files to root/system/app and rename it to camera.apk

p.s. dont forget to backup the one u using now!
 
  • Like
Reactions: 11768 and 666fff

drufi

Senior Member
Nov 20, 2010
78
53
hej all and Potatoman,

I have use Criskelo Rom now and this come with hack camera base on KI8!
with support high dpi :)

http://dl.dropbox.com/u/34037439/Cameracriskelov24.ki8.apk

this one is with 48khz sound quality and take photo with volume key.

I dont know is this work with other rom? so try it on yours own risk :)

this work for all sgs2 with criskelos rom.

install metode is just like potatoman release just copy the files to root/system/app and rename it to camera.apk

p.s. dont forget to backup the one u using now!

It works on stock XXKI3 ;)
 
  • Like
Reactions: 666fff

sleepeeg3

Senior Member
Oct 25, 2009
55
5
Copied to root and renamed with Super Manager, but not able to replace the original or be installed in CM7.
 

bergkuh

Senior Member
Jul 23, 2010
154
29
localhost
Copied to root and renamed with Super Manager, but not able to replace the original or be installed in CM7.

I think this camera will only work on a Samsung ROM. On CM you can't install/run Samsung stuff like Kies or anything else... So of course this Camera.apk will not work because some Samsung specific drivers needed... Maybe I'm wrong :confused:
 

JF-GINO

Senior Member
Apr 30, 2011
340
112
Toronto
Does ki8 fix the autofocus issue?

No it does not.
I also find that it does not adjust the iso like the old app did.
It actually raises it higher and causes pictures to be more grainy.

Also the sound quality on KI8 is very gargled and crystallized on the high frequencies. Sounds like crap!

Answer - KI8 camcorder encodes the stream with a bitrate of only 64kbs.... the modded ones records at a much higher audio bitrate (196bps) and produces much better sound quality.

The only 2 improvements in the new KI8 camcorder are a faster interface and it is multi DPI compatible.
 
  • Like
Reactions: 666fff

shanume

Senior Member
May 21, 2009
1,187
262
No it does not.
I also find that it does not adjust the iso like the old app did.
It actually raises it higher and causes pictures to be more grainy.

Also the sound quality on KI8 is very gargled and crystallized on the high frequencies. Sounds like crap!

Answer - KI8 camcorder encodes the stream with a bitrate of only 64kbs.... the modded ones records at a much higher audio bitrate (196bps) and produces much better sound quality.

The only 2 improvements in the new KI8 camcorder are a faster interface and it is multi DPI compatible.

this KI8 camera stock one is sucks, but I have put the hack one from criskelos rom! this one has 196bps 48khz sound quality.
 

NoOneCanHelpMe

Senior Member
Jun 12, 2010
912
212
UK
this KI8 camera stock one is sucks, but I have put the hack one from criskelos rom! this one has 196bps 48khz sound quality.

But does it have high bitrate on video recordings? I tried the one for KI3 and it was 29000mbps which is useless and takes up wayy too much space :)

Sent from my GT-I9100 using xda premium
 

shanume

Senior Member
May 21, 2009
1,187
262
But does it have high bitrate on video recordings? I tried the one for KI3 and it was 29000mbps which is useless and takes up wayy too much space :)

Sent from my GT-I9100 using xda premium

I can't remember you can try it just backup the one u use now :) u can always replace the old one again.

but I love this one from criskelo rom hack cam ki8 version.
 

fattymcdirty

Senior Member
Jan 6, 2010
822
85
is this one kinda dead? i've been using the modded ki8 camera yesterday on a george michael concert.. video quality is OK (tho continuous autofocus is still very buggy and annoying)... the lower frequencies sound ok, but the high frequencies are simply crap... the videos sound like crap because the high freqs are way too strong and hissy... :/ can we expect and improvements to that?
 

11768

Senior Member
Aug 14, 2011
205
17
No it does not.
I also find that it does not adjust the iso like the old app did.
It actually raises it higher and causes pictures to be more grainy.

Also the sound quality on KI8 is very gargled and crystallized on the high frequencies. Sounds like crap!

Answer - KI8 camcorder encodes the stream with a bitrate of only 64kbs.... the modded ones records at a much higher audio bitrate (196bps) and produces much better sound quality.

The only 2 improvements in the new KI8 camcorder are a faster interface and it is multi DPI compatible.

Faster interface? And what is multi DPI?
 

lgkahn

Senior Member
Mar 26, 2010
2,324
219
londonderry
is this one kinda dead? i've been using the modded ki8 camera yesterday on a george michael concert.. video quality is OK (tho continuous autofocus is still very buggy and annoying)... the lower frequencies sound ok, but the high frequencies are simply crap... the videos sound like crap because the high freqs are way too strong and hissy... :/ can we expect and improvements to that?

as someone said faster bitrate in iteself will not fix everything.. i was hoping to get someone to implement the stuff in voodoo sound on the galaxy s that allows you to change mic input levels.. but so far no good.. that is really what is needed to record usuable sound at a concert.. b4 that the galaxy s also had crap sound.
 

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.