yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] julian071:
I find sound is often more important then video when trying to capture the atmosphere of some place, so I'm really gratefull for this mod!!

I used to use a Nokia N93 (still have it). It recorded in stereo, it had mics on the left and right of the camera. That really adds to video's, you not only see but also hear stuff moving. The SGSII like the N93 has two microphones. But one is only used for noise cancellation (which works really well btw). It would be great if the second mic could also be used for filming... I have no idea how hard that would be to code, and maybe there's a good reason why Samsung did not choose to implement it themselves. My hardly educated guess is that the way the second mic is adressed by the noise cancellation 'app' is closed source stuff? If not maybe more is possible...
[Galaxy S II Themes and Apps] crypticc:
Looks really interesting. Cyanogen mod had mod to record using mp4 codec rather than 3gp. It was a prop change only I think. Good idea?
[Galaxy S II Themes and Apps] aussiebum:
huh? the stock unmodified camera app already records in mp4 (for 720p anyways at least).
[Galaxy S II Themes and Apps] Rawat:
Great work, any chance we can get stereo sound recording?

This might be of use to you: http://xdaforums.com/showthread.php?t=860609
[Galaxy S II Themes and Apps] RainesX:
Subscribed :)

I too feel the need to ask if its possible to get audiorecording in stereo?

Realy great work and will look forward to it as soon as i flash a custom rom and root :)
[Galaxy S II Themes and Apps] nevetx:
I wrote some simple command to enable / disable some unwanted UI sounds by using gscript.

the unwanted sounds,

- camera sounds. (camera_click.ogg, camera_click_short.ogg, Cam_Start.ogg, Cam_Stop.ogg, Shutter_01.ogg, VideoRecord.ogg)

- battery fully charged sound. (TW_Battery_caution.ogg)

what the command does is just renaming the files to be xxx.ogg.bak

and rename them back to normal for restoring.

of course, root is needed.

how to use:

1. download and unzip 2 sh file to your /sdcard/gscript/

2. download gscript from Market, which is free, and install it.

3. run gscript > Add Script > Load file > (load the sh file and save, twice, because there are 2 sh files.)

4. tab on "stop unwanted sound" to mute the sounds OR "restore unwanted sound" to restore the sounds .

simple script, hope it helps.

20110607 - script updated: sorry I missed out the mount command!
[Galaxy S II Themes and Apps] zxz0O0:
I used your camera apk with sounds but my gallery didn't work anymore. I'm on KE7 Chainfire Root
[Galaxy S II Themes and Apps] aottesen:
What am I doing wrong?

I've renamed Camera.apk to Camera.apk.bak

Copied new Camera.apk to /system/app

Hit Install, Install again (the next question): Green arrow, Application not installed.

Whaaat? (On KE7 btw)
[Galaxy S II Themes and Apps] vanahaim:
Great work, thanks!

I was impressed with the new results of record.. Keep it up!
[Galaxy S II Themes and Apps] hyperX-:
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
[Galaxy S II Themes and Apps] BoneMo:
is the 30Mbit video nicer, better then stock ? how the quality differs ?

PS: now i am using camera with CD quality sound
[Galaxy S II Themes and Apps] Gilg@mesh:
@hyperX

is it soundless version?
[Galaxy S II Themes and Apps] aottesen:
Hi, and thanks for your modded Camera.apk.

Could you please help me with installing it?

As I mentioned two threads up, I cant install the modified camera.

I've just upgraded to KE7 and rooted with CF-Root.

Used rootexplorer to rename Camera.apk --> Camera.apk.bak

Moved (modified) Camera.apk to /system/app

Hit Install, agree, install. Then it displays a green arrow (as if it was successful) with the message: Program not installed.

Why could that be ?

Thanks in advance!!
[Galaxy S II Themes and Apps] hyperX-:
No with sound....
[Galaxy S II Themes and Apps] hyperX-:
You can't directly install System apps, just copy the apk in your system/apps directory and the Camera-app should work WITHOUT installing it.
[Galaxy S II Themes and Apps] BoneMo:
with root explorer try to mount /system/app as R/W and just replace camera.apk,, no installing
[Galaxy S II Themes and Apps] Potatoman:
Much appreciated, I saw that one and Rafalense's mod, that's what i'm digging through to see how they did it :)

Whilst it shouldn't be impossible, I think it might be beyond my capabilities at the moment. I'll look at it after the current tasks are done.

The SGSII records all video above 320x240 in an MP4 h.264 codec already. Only 176x144 and 320x240 are in 3gp for filesize purposes. This is true of all the modded versions and also the stock camera.

Odd. Did you try a reboot? If that doesnt fix it tell me which version are you using via PM so that I can try to replicate it on my handset.

Once the apk is renamed to Camera.apk and placed in system/app, it should still be usable regardless of whether you install or not. I had a couple issues where the shortcut was disappearing, so I tell people to "install" it as well to avoid that (that's how I got the shortcut to reappear.) Reboot the phone and you should be able to use it anyway. If not, tell me in PM what version you're using and I'll try to resign it for you.

^This. Installing it is only needed in rare cases, I included it in the instruction because it does no harm and it prevents the rare cases where people see dead shortcuts in the menu(they see "application installed sucessfully" instead).
[Galaxy S II Themes and Apps] Jabbypants:
Thank god you came over too Android loving your work so far along with Potatoman's work we are in for a treat.
[Galaxy S II Themes and Apps] ermacwins:
HyperX- can you look into mod the power button to take screen shot?
[Galaxy S II Themes and Apps] Richdog:
Wow, good work... would be interested to see some comparisons of before and after! I take it you have tested it?
[Galaxy S II Themes and Apps] robbiekhan:
All seems fine cheers! I just had to reboot after copying to system/app and applying permissions else camera would FC.

1080p:

[youtube]FjEdWxYEDl0[/youtube]

720p:

[youtube]hK_7GkRIA_g[/youtube]

Both in SuperFine setting.
[Galaxy S II Themes and Apps] Gilg@mesh:
this don't work for me anymore, the Videocamera don't starts, it worked yesterday but now it won't start... I have pushed the camera.apk to system/app but it won't start... getting frustated as it should work

edit: the soundless highbit is the problem, others works fine
[Galaxy S II Themes and Apps] aottesen:
Workes perfectly now, with just copying to system/app, setting permissions and reboot.

Thanks!!
[Galaxy S II Themes and Apps] Richdog:
So can you really tell any difference over the stock unmodified settings? DO you have a large screen to test both on? :)
[Galaxy S II Themes and Apps] BoneMo:
for me the 1080p sample looks same as my try of 1080p...but this with more Mbits is bigger on hard drive
[Galaxy S II Themes and Apps] Gilg@mesh:
ok I tested the Highbit camera (with sound) and it works, the soundless highbit don't work
[Galaxy S II Themes and Apps] OHDUSER:
weird.. doesnt let me delete or rename the camera.apk..

yes i have root..

where can i get a decent file manager? my file manager wont let me do anything... ><

anyone please?
[Galaxy S II Themes and Apps] Richdog:
Yeah me too, the file sizes are huge now and not much difference can be seen in quality! I think I will uninstall this mod and use only the CD quality sound mod.

Root explorer. :)
[Galaxy S II Themes and Apps] OHDUSER:
cant buy it... applanet doesnt work... says network issues (when my internet and android market worls perfectly)
[Galaxy S II Themes and Apps] robbiekhan:
fwiw: Any chance of a stock video bitrate version but with 48KHz audio maybe?

Ta!
[Galaxy S II Themes and Apps] Hrti:
I'll be sticking with the original mod that ONLY changes the sound to 192kbps/44.1Khz :) The bitrate is good enough on stock for me, and I really can't tell any difference when using the higher bitrate mods. The only difference is the data size, and why add size when added quality is questionable? :)
[Galaxy S II Themes and Apps] Jabbypants:
nm sorted it
[Galaxy S II Themes and Apps] MikeMaMan:
> OHDUSER

And dont forget to mount as RW in Root explorer.
[Galaxy S II Themes and Apps] OHDUSER:
I cant buy it.. and applanet doesnt work for me... ><
[Galaxy S II Themes and Apps] BoneMo:
what about forum.mobilism.org ?? if you want some applanet alternative :mad:
[Galaxy S II Themes and Apps] hshah:
How about you go somewhere else if you want to talk about illegal downloads and piracy!

Sent from Samsung Galaxy S II
[Galaxy S II Themes and Apps] Potatoman:
Details please- Firmware version & does it just close on open? Does the standard modded nosound also work? It's odd, since all I did was null the data in the ogg's for the nosound versions so they should be fine... I'll test it now.

Good to see my eyes didn't deceive me, from the amount of people who seem to be using the highbit ones I thought I was going blind :p

^This. While I can appreciate some countries don't have the market available to them, I will not help anyone to pirate a root app just to get this working, ESPECIALLY when there are free alternatives available (Super Manager being one of them).

Sure thing, I'll do this one I get some more time to work on it (probably sunday.) Upcoming Exams + Work = No time to mod :<
[Galaxy S II Themes and Apps] deeka:
hello,thank you for the tweak,but i realised my camera to make strange "clicksounds" while switching it on,or while switching it from photo to video.

its like the lense is hiting the glass?! installed my backuped file but nothing changed,can you help me?
[Galaxy S II Themes and Apps] padlad:
This is working great (the better audio quality one) many thanks. Quick question, why are the file sizes different between the original Camera.apk and the altered one? Cheers.
[Galaxy S II Themes and Apps] Potatoman:
This is normal, mine does it too, even with the stock app. It's the shutter opening as the camera app initialises.

APK's are essentially ZIP's. The compression can easily be altered by unzipping them then rezipping them with winrar at a high compression value before signing. I used a high compression to save space in the disk :)

Glad you enjoy the mod :)
[Galaxy S II Themes and Apps] Gilg@mesh:
VillainROM 1.1, it won't start the videocamera at all, did not try the standard no sound as I don't get any sound at all even with the "sound" version :D
[Galaxy S II Themes and Apps] Potatoman:
Alright, I'll test the highbitnosound one again asap and if it's broken attempt a fix.
[Galaxy S II Themes and Apps] Midtbo:
If you install Root Explorer, you can "Mount R/W" which let you edit in /system :)
[Galaxy S II Themes and Apps] crypticc:
Thanks to this post, and the previous poster. I had just recorded in lower setting until now
[Galaxy S II Themes and Apps] trakian:
Very nice, thanks!

And nice car (E46 330?) ;-)
[Galaxy S II Themes and Apps] Jeshter2000:
Is there a CWM package anywhere?
[Galaxy S II Themes and Apps] ado7980:
Hi, I have one problem. When I repleace camera.apk (potatoman version 24bitrate) and install it its all OK. Cam recording with 24Mbit rate bat when I restart SGS2 recording is only factory 17Mbit rate... When I repleace version 30Mbit rate its still only factory 17 Mbit rate??? What I work bad??? I have KE7 and root... Must I set permisions of Camera.apk and what??? Sorry for my english :)
[Galaxy S II Themes and Apps] Potatoman:
Check in video settings that you are using the "Superfine" setting. :)
[Galaxy S II Themes and Apps] DJViking:
I downloaded your modified Camera.apk and HyperX modified Camera.apk. What is the difference between these two? I can't find any difference in the apk, but the respective file sizes are not the same. Might it just be a different compression mode?

-rw-r--r-- 1 xxxxxxx users 1447310 june 1 03:18 Camera_HX-Mod.apk

-rw-r--r-- 1 xxxxxxx users 1445934 may 30 15:23 CameraModSGS2Signed.apk

Now that you two are collaborating will you merge your changes in one unified mod?

Do you have a link? I would like to read that post.
[Galaxy S II Themes and Apps] Potatoman:
http://xdaforums.com/showpost.php?p=10980448&postcount=268

In future versions yes, quite possibly. These were released separately because they were worked on separately, it was complete coincidence that we modded the same thing at roughly the same time, and have now decided to work together on it. I haven't decompiled hyperX-'s version yet to take a look, but as far as im aware the only difference is his has an even higher bitrate and doesn't include the batterylife mod. The reason the file sizes would be so similar is because neither version added anything, just changed the existing values (youll see what I mean when you read rafalense's post.) so it wouldn't surprise me if the filesize difference is just because of compression. The contents are the same size, just with some different values. Same reason my Highbit and Normal mods are the same size despite doing different things.

Hope that helped :)
[Galaxy S II Themes and Apps] =dave=:
hi potatoman!

i really apreciate your work!

one problem: i install the soundless camera.apk as postet from you, everything works fine.

i restart the phone.

the autofocus sound is back and the bitrate of the audio recording is back at the original level :(

could you help me?

greez
[Galaxy S II Themes and Apps] sorrowuk:
Potatoman you found anything out about making the power button work as a shutter key when in the camera apk ?

If you look here, you can see someone else who modded the froyo camera apk to make the power button work as a shutter key - http://xdaforums.com/showthread.php?t=949566

If you read that first post in that thread ^^ the guy tells you how he remapped the power button to the shutter key.

"Remap Power Button to Shutter Key for Camera

In com\sec\android\app\camera\Camera.smali, the red lines are the ones I modified: "
[Galaxy S II Themes and Apps] Jeshter2000:
Again anywhere a CWM package?
[Galaxy S II Themes and Apps] ado7980:
Same here...
[Galaxy S II Themes and Apps] =dave=:
well, the camera sounds are gone now, after a re-install of your soundless app. but the recording is still at its original low quality level :(
[Galaxy S II Themes and Apps] d3sm0nd:
Thank you for the nice mod, looking forward to see the following future:

POSSIBLE- Power key as camera shutter (more research needed before I can commit to this one :P)

:D
[Galaxy S II Themes and Apps] Duracell1:
Hello when i will rename the Camera.apk i get the message '' camera.apk cannot be renamed because the file system is read-only'' gr Duracell
[Galaxy S II Themes and Apps] :
Use free Super Manager from market and switch .\system\ to read-and-write-permission (r/w) within.
[Galaxy S II Themes and Apps] Potatoman:
Thanks! That's actually really helpful, I should be able to get it working quite easily as soon as I get some time to work on it on sunday! I'll add you to the credits on release :)

Sorry, like I said, this is my first android mod so I'm not even sure what a CWM package is, but regardless I won't be making one right now because I feel like that to-do list is already becoming increasingly long despite me only being able to work on it one or two nights per week.

Are you sure my app is still installed? Check the filesize to verify. The audio should be 192kbps/44.1khz if it's installed regardless of which version you chose. Are you using the highbit or normal mod?
[Galaxy S II Themes and Apps] onbacardi:
thats great news potatoman.

thanks sorrowuk
[Galaxy S II Themes and Apps] =dave=:
@potatoman

yes, your app is still installed... reinstalled it several times.. but after a reboot, the bitrate is low again :(

here a picture:
[Galaxy S II Themes and Apps] Zsolie:
Hi! I have the same problem, I installed the high Hz version, it works. I tried the second version (i did not notified any video picture increase) and I switch back to first. Now I have low bitrate :(

If I reinstall it works, but after reboot, the bitrate is low again!
[Galaxy S II Themes and Apps] Hrti:
If you're using root explorer press the "mount r/w" button in the top right corner.
[Galaxy S II Themes and Apps] Hrti:
Actually I can confirm that the mod is reset after a reboot! Picture:
[Galaxy S II Themes and Apps] Jeshter2000:
Sorry patatoman a CWM package is for Clockworkmod . it is e easy flashtool. So you wont have to push things ....
[Galaxy S II Themes and Apps] Duracell1:
Thanks that was the problem gr Duracell
[Galaxy S II Themes and Apps] Potatoman:
That is very strange indeed... On my one it's still highbit after a reboot. Are you all on KE7?

I'll add a new section the the first post as possible bugs, so that I don't forget to take a look, and ill check it out first thing on sunday morning.

I see, I'll read into it after V2 is done with the power button mod and if I can i'll make it.
[Galaxy S II Themes and Apps] milance86:
pls try to add this features

* manual video focus like iPhone4 http://www.youtube.com/watch?v=Dc6RnZnKTB8

* and option to change LED ON / OFF during video recording

thats my wish list :D
[Galaxy S II Themes and Apps] TML1504:
hello potatoman,

first, thank you very much for your work!

not sure if someone else would want this, but:

when filming in 1080p, the video is zoomed a lot (as mentioned in a few other threads, as well with the reason: for 1080p, unlike 720p, only the center pixels of the sensor would be used) and therefore almost unusable for me.

would it be possible for you to do something "against" this?

br markus
[Galaxy S II Themes and Apps] Zsolie:
hi potatoman!

I'm on XWKE7 with camera firmware updated to 11.5.01 via Samsung Apps.

I hope this will help you and thank you for your work:)
[Galaxy S II Themes and Apps] (•.•):
Keep it going. Man good job!

Waiting for v2.. ;-)
[Galaxy S II Themes and Apps] =dave=:
I am also on ke7 with the newest cam fw ;)

Thx very much, potato :)
[Galaxy S II Themes and Apps] Tom-Helge:
Is it my phone or does the fps when you are recording in 1080p goes down to 24 or something when you are recording in darker environments?

I use the modified (high bitrate) version of the camera (with sounds) that gives you 26 Mbps.

And i can't seem to get the HyperX camera mod to install over the camera installation that are already installed.

EDIT: I just took backup of the current Camera.apk file and moved the Camera.apk file from HyperX without installing it over the current install. And i get the 48khz sound quality on my recordings. So i'll guess it's not really needed to install the Camera app over the current one to get it to work then?

EDIT 2: I still get around 24 fps with the HyperX camera mod. But again, this is in darker environments. So should it be like that?
[Galaxy S II Themes and Apps] eug:
Thanks for the mod!

Is it possible to make it work with custom DPI settings? Both the stock and modified one FCs at 160dpi.

thanks
[Galaxy S II Themes and Apps] jdmusicman72:
Will this run in a Captivate running 2.3.3???
[Galaxy S II Themes and Apps] knightnz:
Why don't you try it and tell us?
[Galaxy S II Themes and Apps] OHDUSER:
so I dont get it.. If ill use this mod the treble will be like this? ><

it sucks... in the AFTER video the treble is really pichy and anouying
[Galaxy S II Themes and Apps] eitama:
For Stock Odexed roms, the copy process is a bit different.

You need to :

1. Remount system as rw - "busybox mount -o remount,rw /system"

2. DELETE /system/app/Camera.odex

3. Copy Camera.apk (Hacked one) to /system/app : "cp /sdcard/Camera.apk /system/app/Camera.apk"

4. Set permissions : "chmod 644 /system/app/Camera.apk"

5. sync (Type the word "sync" from adb shell, must be rooted with su i think)

6. reboot
[Galaxy S II Themes and Apps] robbiekhan:
Read the video description...
[Galaxy S II Themes and Apps] kami2k:
Hi, i am old user of omina hd, and have affiliation with the hx author gald they join android :)

thx
[Galaxy S II Themes and Apps] aottesen:
The battery-mod doesnt seem to work.

Tried my camera last night after the "Please save your work"-notice, and woilla - "To little battery - Exit" (I really dont know what it actually says in english, but directly translated from norwegian, it should be something like that).

Any clues?
[Galaxy S II Themes and Apps] blasterbates180:
How do I perform the sync??
[Galaxy S II Themes and Apps] eitama:
On rooted phone,

connect usb in debugging, start adb shell,

get root permissions with "su"

type the word "sync"
[Galaxy S II Themes and Apps] johnsonc:
Same here, tried it yesterday with 12% battery left.
[Galaxy S II Themes and Apps] OHDUSER:
I still dont get it robbiekhan... lol sorry for my stupidity..
[Galaxy S II Themes and Apps] jdmusicman72:
Alrighty then...
[Galaxy S II Themes and Apps] Haloman800:
Would this work on the Droid Charge? I read they have similar cameras.
[Galaxy S II Themes and Apps] rocketpaul:
wow audio quality sounds amazing in your demo videos, can this cd quality audio be incorporated into the voice recorder application?
[Galaxy S II Themes and Apps] eitama:
More interesting would be going Stereo :)

If i'm not mistaken, we got 2 mics?
[Galaxy S II Themes and Apps] zxz0O0:
I am on 7% battery and wanted to take a photo. I changed the camera app, booted into CWR and wiped dalvik cache and rebooted the phone. But when I open the camera app it still says warning low battery and closes...
[Galaxy S II Themes and Apps] JF-GINO:
This is possible.

If you download TAPEMACHINE app, you can select each mic separately and they both work perfectly (top and bottom mics)

Im guessing that its just a matter of time.

Itys pretty easy to make the encoder use 2 channels, but harder to make the hardware activate both mics simultaneously.

Cant wait to see manual focus & stereo recording.
[Galaxy S II Themes and Apps] Potatoman:
I appreciate all the support this has gotten, however, it is with regret that I announce I will have to take a break from developing this. As well as having exams upcoming, my girlfriend also just broke up with me, and I don't feel confident enough in my ability to deal with both of those massive life events at the same time.

So, with regret, I'm postponing my input on this until such a time that I feel comfortable enough to carry on. I make no promises as to when this might be, but I hope to be able to come back to it later in the summer, after my exams when things have settled down.

Thank you to those who understand, and I'm sorry to those who don't.

- Potatoman.
[Galaxy S II Themes and Apps] hacksome:
You've done a great job here. Hope everything turns out well for you. Wish you best in the exams. Cheers.
[Galaxy S II Themes and Apps] NoOneCanHelpMe:
ye man I understand, dont worry about it. you have given us a really good base for furder modding of the camera.apk. Thank you, I really hope that you pass all your exams and find your soul mate :)
[Galaxy S II Themes and Apps] Hrti:
Sorry to hear you situation, Potatoman. Thanks for all you've done thus far, and may time help you dealing with your problems. Good luck with your exams. Hope to see you back here :)
[Galaxy S II Themes and Apps] DJViking:
Will HyperX take over with further modifications?
[Galaxy S II Themes and Apps] crypticc:
some people
[Tilt, TyTN II, MDA Vario III Accessories] Neo2SHYAlien:
I have have kais130 but find cheaper battery for kais160. I wanna ask is there a problem using kais160 batter over my kais130?
[Tilt, TyTN II, MDA Vario III Accessories] Infosoft.lt:
At least I don't have any problems with HTC TyTN II (KAIS130) while using KAIS160 battery. It doesn't matter what battery you choose (KAIS130, KAIS160 or another) as long as it's voltage is 3,7 V and it's for HTC TyTN II (a.k.a. Kaiser, ...)
[Tilt, TyTN II, MDA Vario III Accessories] Neo2SHYAlien:
Thanks for replay. I already ordered 1600mAh battery for kais160 from ebay.