yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] MeX_DK:
I don't want power button as shutter. I use the power button to "suspend" the camera app if Im taking a lot of shots in a row. Some other button? fine by me. But not power as that would render this mod useless to me :-(
[Galaxy S II Themes and Apps] runebinder:
Just installed this on Villain Rom 2.50 and so far so good. Thanks Potatoman.
[Galaxy S II Themes and Apps] cacagaga:
Help me find a camera with an adjustable side panel (see picture below) + audio recording 48khz 192kbps

This camera, I found here: http://xdaforums.com/showthread.php?t=1230690

But there is poor sound quality 44khz 64kbps
[Galaxy S II Themes and Apps] Potatoman:
I'm moving into Cardiff University in 8 hours, exciting times :) Thanks for the feedback though, stereo audio is something I haven't messed with yet so I'll check it out once I clear the current "todo" list :P

The version I currently have is using the volume down key as the shutter. I use the power button to sleep the phone immediately once I'm done taking pictures, so I thought the vol key would be a better option. Plus, that means the zoom button is right next to it, so you don't have the zoom button on the other side of the phone compared to the capture button.

Besides, using the power button would require me to disable the powermenu or suspend functions within the app, which I have no idea how to do yet tbh :o

Anyway, please forgive me for not replying to posts for the next week or so, It's going to get busy from here on in for me so I may be quite erratic with my support for this :) wish me luck :D
[Galaxy S II Themes and Apps] aerobahn:
Cannot be done from an app unless it has root access.

With root, this would be easy to do, assuming you know basic smali syntax.

I suppose you could also disassemble android.policy.jar and make the power button as shutter key from there. If done this way you wouldn't need root, but it's not as universal as editing an app.

Either way, it's not as simple as you suppose it to be. Knowledge of .smali syntax is a must for a modification of that magnitude; a simple shell script will not suffice.
[Galaxy S II Themes and Apps] error4o4:
So glad to hear that! Keep up the good work.
[Galaxy S II Themes and Apps] mguel:
I was thinking about the oversaturated audio on videos when recording on noisy places (concerts, pubs, etc): could it be because a too sensitive mic?

And if so, maybe a solution for this issue would be use for the vids the mic used for phone calls instead of the one on the top of the phone?

Just an uninformed idea from a noob, but wanted to share since maybe it works. When I use the phone on loud places people hear me ok… so maybe that mic has a better response to loud noise… (besides noise cancelation)

This issue is for me by far the worst bug SGS2. (Followed by a big distance by the ADD autofocus). I would really like that videos had a usable quality, being on focus more time and having a bareable audio

Cheers!
[Galaxy S II Themes and Apps] doom13:
hai potatoman.. i just found the guy who make volume button as shutter camera..

n it work :)

you two should work together i supposed.. :)
[Galaxy S II Themes and Apps] arkadius41:
Can i safely use this mod to 2.3.5 ? I am on Villainrom 3.0 and hafe fc everytime when change camera resolution.
[Galaxy S II Themes and Apps] pablo20520:
Hello :)

I remember you Hyper-X from times when I had Omnia HD. I loved you roms, now we have Galaxy S2 and I'm waiting for your mods.

Did you think about photos quality increasing by decrease compression of photos? We have 8MPX camera but photos have only about 2 Mega Bytes like in my previous Galaxy S i9000 with 5MPX camera. Maybe you can think about this? :)

Regards guys great job and we are waiting for another mods from Potatoman and Xyper-X
[Galaxy S II Themes and Apps] davelinders:
Can't wait to see a fix for the bad focussing.
[Galaxy S II Themes and Apps] abhiwltya:
I did a lot of reserach by taking videos in bright sunlight to dark rooms with my SGS2 ..The Poor frame rate and autofocus problem is definately related.In resolutions except 1080p and 720p , the camera doesnt autofocusses at all and hence no video stutter problem too.
[Galaxy S II Themes and Apps] NoOneCanHelpMe:
my pics are always about 3 MB and with a 3rd party app 4.5 - 5MB, i think that is enough :P otherwise, we need 64GB microSd :D
[Galaxy S II Themes and Apps] yulaws:
excellent work. just wanted to ask if its possible to bypass in-call restriction?

thanks :D
[Galaxy S II Themes and Apps] Potatoman:
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 :)
[Galaxy S II Themes and Apps] stefyno:
Hi Potatoman! Great work!;)

You can throw a look here?

http://xdaforums.com/showthread.php?t=1287134

:(
[Galaxy S II Themes and Apps] comnam90:
do you remember what firmware the modded camera.apk on the OP is from?
[Galaxy S II Themes and Apps] imnok1:
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.
[Galaxy S II Themes and Apps] Potatoman:
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.
[Galaxy S II Themes and Apps] shanume:
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!
[Galaxy S II Themes and Apps] drufi:
It works on stock XXKI3 ;)
[Galaxy S II Themes and Apps] gabriolinari:
hi guys,

is this been implemented? cannot read all the 50+ pages lol

gabrio
[Galaxy S II Themes and Apps] 666fff:
Does ki8 fix the autofocus issue?
[Galaxy S II Themes and Apps] sleepeeg3:
Copied to root and renamed with Super Manager, but not able to replace the original or be installed in CM7.
[Galaxy S II Themes and Apps] bergkuh:
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:
[Galaxy S II Themes and Apps] JF-GINO:
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.
[Galaxy S II Themes and Apps] shanume:
this KI8 camera stock one is sucks, but I have put the hack one from criskelos rom! this one has 196bps 48khz sound quality.
[Galaxy S II Themes and Apps] NoOneCanHelpMe:
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 :)
[Galaxy S II Themes and Apps] shanume:
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.
[Galaxy S II Themes and Apps] awojtas:
Awesome! Can't wait to see progress on this!
[Galaxy S II Themes and Apps] fattymcdirty:
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?
[Galaxy S II Themes and Apps] 11768:
Faster interface? And what is multi DPI?
[Galaxy S II Themes and Apps] lgkahn:
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.
[Galaxy S II Themes and Apps] 11768:
How come it only increase 44.1 to 48? The bitrate remain the same.
[Galaxy S II Themes and Apps] mguel:
mic input levels is the holy grail then
[Galaxy S II Themes and Apps] JF-GINO:
Faster interface = camera starts up, takes pictures and responds faster.

Multi DPI = the app supports non standard screen density's like 195dpi (gives you more screen space) - some apps do not work properly unless taking this into account.

Ya, I also noticed that the Criskelo camera still has a lower bitrate (64kbs) like the stock one. Only the sample rate has been increased. adding a higher resolution with low bitrate causes artifacts like gargling and crystalization in high frequencies as higher frequencies have less headroom. (this was an issue in bluetooth audio)

If you raise the recording resolution (extreme Eg: A 48000khz 192kbs 24bit file) It has a higher frequency response so therefore the hiss will be more present as you are recording the limitations of the hardware mic. At lower sampling rates, you cut the high frequencies that cause hiss out as the audible resolution is limited lower then the hardware.

If you increase the BIT resolution from 16 to 24 - (which is not possible) you can get rid of digital distortion - so ya, a better control over the mic levels and gain can make a bit of difference as well.
[Galaxy S II Themes and Apps] criskelo:
Hey guys

I Mod, Camera Hack, to XXI4

I want to share

LINK Install CWM

http://www.mediafire.com/file/9ozi4fbpwom3tkl/UpdateCriskeloRomGSGII-CameraHack-Bat-2%.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/?msbn8n7zjfudq

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

:)
[Galaxy S II Themes and Apps] JF-GINO:
Hola Criskelo,

gracias por el mod la camara! su de la mejor!

que cres que podria ser capaz de mod de foco fijo por video?

es dificil deodiex & Port la camara de la ICS?

Thanks for the camera Mod!

Is is possible for you to maybe mod the focus to fixed for video? :)

Is it also difficult to deodiex / port the camera from ICS?
[Galaxy S II Themes and Apps] drufi:
After flash that MOD, audio is still 44KHz/61Kbit...

btw. VolumeKey works perfectly :)
[Galaxy S II Themes and Apps] criskelo:
Thanks for letting me know

Here are the two versions, normal and higher quality audio

:)
[Galaxy S II Themes and Apps] bgx:
Thank you! After flashing this over Cog 1.5.1 stuck in bootloop! Think because the framework service.jar was changed! Try to overwrite it and hope it will fix bootloop!

---------- Post added at 11:30 PM ---------- Previous post was at 10:49 PM ----------

Had bootloop fixed with the old service.jar! You should write that it's only for crickelo's rom!
[Galaxy S II Themes and Apps] drufi:
LOL. I flash this mod over STOCK XXKI4 and I had no booloop ;)
[Galaxy S II Themes and Apps] starbucks2010:
can be installed also on KI8 ROMs?

thank you
[Galaxy S II Themes and Apps] 11768:
Copy the Camera.apk and paste into my /system/app/ with KI3. Everything works fine.
[Galaxy S II Themes and Apps] janreiviardo:
Hi Criskelo, is there a fix when I try rotating my phone while on camera (home button on left and volume keys on upper right) that the pictures taken from it will not appear reversed? It appears normal on gallery but when I transfer the pictures on my computer they appear upside down. Thanks.
[Galaxy S II Themes and Apps] crz6662:
Thanks, Waiting for new SGS2
[Galaxy S II Themes and Apps] masi0:
I have did something else but edit media_profiles.xml file where you can actually setup a different values for camera/camcorder such compression, audio bitrate, etc. I used 2.3.5 KI4 rom.

use ARTIS Easy XML Editor to edit /system/etc/media_profiles.xml

I have put mine I did with very minor changes. Anyway, looks like Samsung did a good job as 1080p has 20k bitrate which is goot, my changes was to 44.1kHz and 192bps audio.

Unfortunately there is no stereo :(
[Galaxy S II Themes and Apps] Evollution:
Can you port this hack to MIUI ?
[Galaxy S II Themes and Apps] dannyboyp:
What happened to potatohead ??? Lol...

Must be that dam virgin media connection!!
[Galaxy S II Themes and Apps] sonic9:
thanks criskelo for ki4, it include the new filename for picture and video like 20111024_162801.jpg and 20111024_162901.mp4

perfect for me !!
[Galaxy S II Themes and Apps] 11768:
@masi0

Great! Didn't notice there was this setting in our phone.

Anyway, is there other useful setting we can mod in there?
[Galaxy S II Themes and Apps] niv3d:
Will this camera mod work on the Sprint Epic Touch 4g??
[Galaxy S II Themes and Apps] gabriolinari:
this mod works great however i tried right now IILaryII's mod with the volume keys as camera shutter and works fantastic...how about doing an apk that has both features?? i bet it has been asked before...
[Galaxy S II Themes and Apps] Potatoman:
Rest assured I'm still alive, albeit swamped in coursework...

When I get some free time ill post a proper update and hopefully soon Ill get enough downtime to finally finish up and test the app for release.
[Galaxy S II Themes and Apps] pa.pn2:
works just with stock roms?
[Galaxy S II Themes and Apps] drufi:
Criskelo mod works with stock XXKI4.
[Galaxy S II Themes and Apps] piteyyy:
something new about the resolution of panorama function?
[Galaxy S II Themes and Apps] budi5555:
do you can fix front camera problem?
[Galaxy S II Themes and Apps] slind:
I'd only like to know if it's even possible to fix autofocus in camera mode.

no eta needed, but I'd really need to know. I'm using the camera a lot for video recording purposes and this autofocus crap is really startin' to ... well you know :)

despite some statusbar burn in on my 5 months old galaxy I'm really happy with this phone but might really buy somethin' else if it won't be possible to fix autofocus.

thx a lot in advance.
[Galaxy S II Themes and Apps] 11768:
What I do was snap several photos that I want to make a panorama of it (be it vertical or horizontal) then merge it through Photoshop built-in auto merge feature.

It's far better than those panorama on-the-go that comes within the app.

---------- Post added at 11:16 PM ---------- Previous post was at 11:14 PM ----------

You can have a temporary solution if you don't mind completely losing the flashlight feature (only available in camera mod << take picture) just like me. Flash the camera firmware to the Infuse version. Great news is continuous auto-focus will still work, but no frame loss at all!

Look here New Camera Firmware Update Now- 27th May 2011 [APK HERE] [POST YOUR FW VERSIONS] - Page 103 - xda-developers if you're interested.
[Galaxy S II Themes and Apps] eitama:
I took a shot at trying to disable auto-focus, and I have found the line that is used to start it.

#invoke-virtual {v0, v1}, Lcom/sec/android/seccamera/SecCamera;->autoFocus(Lcom/sec/android/seccamera/SecCamera$AutoFocusCallback;)V

in CameraEngine.smali

I added a comment, and it works! no auto-focus!

Now I need to find out how to issue auto-focus on demand, for example by tapping the screen. I'm sure it's possible.
[Galaxy S II Themes and Apps] 11768:
Great finding! Sometime autofocus can be annoying too due to incorrect focus.

Edit: I tried the mod, but video rec still does continuous AF while camera mode do not focus now.
[Galaxy S II Themes and Apps] hayabusa1300cc:
Can someone please upload their stock Camera.apk ? I'm using a modded one and forgot to back mine up.

I am guessing the modded one is related yup my gallery not updating. Thanks [=

.: sent from my Samsung Galaxy S II Epic 4G Touch :.
[Galaxy S II Themes and Apps] wanam:
Thanks Criskelo for this mod, it's working great, just one issue, it doesn't show remaining photos number for internal sdcard.
[Galaxy S II Themes and Apps] dem000n:
Didn't work for me either...
[Galaxy S II Themes and Apps] damirbusic:
I have tried to rename with Astro and OI File Manager and they dont give me to rename files !? They are granted root permissions but they dont allow renaming ?

Can someone please help ?

EDIT: done it with some root explorer lite. In 720p quality is the same, 12 Mbit but the sound is better, 192, I was hoping for better video too, hope it will be soon.

Tnx
[Galaxy S II Themes and Apps] 11768:
Yep. I also notice that the video bitrate is still same.
[Galaxy S II Themes and Apps] poofish:
Thanks for the hack criskelo.

Would it be possible to create a 3rd version that has the increased audio quality without the 30Mbit video recording? I don't find the video quality to improve much when it records at 30Mbit, and it takes up an ungodly amount of space as well.
[Galaxy S II Themes and Apps] robt772000:
You will notice the extra bit rate when you watch it on a 1080p tv not your scaled down phone.
[Galaxy S II Themes and Apps] 11768:
But the average bitrate shown in the properties menu is still the same, around 16.8Mbps.
[Galaxy S II Themes and Apps] musashiro:
will this work on stock ki8??
[Galaxy S II Themes and Apps] jlieu:
The FPS shown in 1080P is 25FPS for me...

Do samsung galaxy s II support Stereo audio recording?? I found two microphone. But when test with video recording, there's no stereo. hmm...
[Galaxy S II Themes and Apps] 11768:
Yeah. I just realized previously was 30FPS. I am not sure whether it is samsung's update or the mod though.
[Galaxy S II Themes and Apps] jlieu:
After i update my CAM Firmware to SCEF02, The camera Capture 1080P video in 30FPS, which mean, this mods fully working now. :)

Mods by criskelo.
[Galaxy S II Themes and Apps] 11768:
The CAM firmware must be the culprit then, since I am using SIEG03 to eliminate the frame loss during low light condition.
[Galaxy S II Themes and Apps] jlieu:
The problem with SIEG03 is , no focus flash light and also no video recording light. thus, no torch can be used....
[Galaxy S II Themes and Apps] 11768:
Well, smooth video recording has greater priority for me. :p

Flashlight during video recording is not that good actually, especially when recording human.. the light is just to sharp for human eye, unlike those flashlight that comes with the big bulky camcorder.
[Galaxy S II Themes and Apps] NoOneCanHelpMe:
Flash light is actually VERY important, especially in a Club!!! It's very bright and the clips a cristal clear and smooth for me on 720p ;)
[Galaxy S II Themes and Apps] 11768:
Recorded with flash? Some darker area will still have frame loss, right?
[Galaxy S II Themes and Apps] NoOneCanHelpMe:
I dont have frame loss, so i guess if u have frame loss it's worth updating to a different firmware :( cant u change ur phone for a new one? RMA it? (Only of u have frame loss ofc)
[Galaxy S II Themes and Apps] 11768:
I never heard anyone manage to change to a new flawless set after RMA it. At least at my place. Plus, I am quite reluctant to send in my phone for a few weeks and risk getting back the same old problem.
[Galaxy S II Themes and Apps] NoOneCanHelpMe:
Yeah u have a point. Oh well, i hope with ICS they fix the firmware for the people with problems :)
[Galaxy S II Themes and Apps] gabriolinari:
yep, i noticed that as well, actually when capacity is close to full, it will show...older versions shown remaining pics always..

btw does this mod fix also the frame drop in low light?

thanks

gab
[Galaxy S II Themes and Apps] jlieu:
Ok, recording without light. use smooth and fastest cam firmware (SIEG03) BUT NOT EVEN MY TORCH ARE WORKING!

So what's this? What's the LED flash light hardware made for? for fun?
[Galaxy S II Themes and Apps] 11768:
It doesn't fix the frame loss problem. You need a firmware fix.

Well, I guess you have to wait for SAMSUNG official release of the new firmware then. Provided if they do bother to fix it. Lol!
[Galaxy S II Themes and Apps] awojtas:
+1 for auto-focus on/off. I had the i9000 before this and it did great 720p video. The auto-focus was far more static and only changed if you change the subject distance dramatically.

The i9100 has 3 focus issues for me:

1. Re-focus when you start recording, so the first 3 sec of all videos are in-focus -> blurry -> in-focus again

2. Focus is calculated like spot-metering, i.e. only the very center determines what is in focus. If your subject is on the left or right-side of the frame, the camera focuses on the background.

3. Focus changes too quickly, it needs to be weighted more towards waiting a little before auto-focusing again.
[Galaxy S II Themes and Apps] 11768:
Allow auto-focus on/off toggle during recording and touch to focus would be Godlike! :D
[Galaxy S II Themes and Apps] Lord Tim:
Agreed, that would make a massive difference to the usability of the phone as a video camera.
[Galaxy S II Themes and Apps] MohElShafei:
Thank you for the hard work ..

I was wondering if there is any way that the Galaxy S 2 produce a 3264*1840 resolution?

Thank you!
[Galaxy S II Themes and Apps] D3_:
Recorded a performance at my school today using this camera mod

First few videos recorded through the mic on my earphones, last few recorded with the SGS2 mic

http://www.youtube.com/playlist?list=PLED8EF6023749505D

The speakers were pretty loud and about 2-3m away from me, hence the not-so-great sound quality, and the speaker to my right was complete rubbish. It had scratchy/crackling sound when it worked and cut out half the time.