yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] phalanger:
This may be a dumb question, if so please be mild :) i didnt find an answer for it in a quick search.

I installed the camera hack v4, seems to work great but cause of the framework I have stock froyo theme now. Is it possible to flash a theme over it without losing the hacked camera?
[Galaxy S I9000 Android Development] MZWiZard:
how about 1080p fullhd recording hack? Seriously?
[Galaxy S I9000 Android Development] f l x:
that's what i'm talking about!

Works perfect. Battery mod isn't circle but it's OK. Camera works fine, Lockscreen is nice and Battery-Mod is fine too!

One question. What I installed was a theme huh? Cause i only notice a Change at the Notification Bar and a few more Options at the Settings Menu (different Unlock Methods). Everything else is like it was before. (I never changed the theme before, sorry for the dumb question ;) )

still awesome work. Thumbs up!
[Galaxy S I9000 Android Development] keulieminogue:
I'm on a Stock ROM with Hardcore Kernel - not working for me

Hi,

Why isn't it working for me? I used Mod2 and Mod3 - but nothing changed - is it really only for deoxed roms?
[Galaxy S I9000 Android Development] Yorzua:
Po anda que pide poco el tio ....

Thanks a million for your hard work and your contribution for the Android world Mister Ramos ;)
[Galaxy S I9000 Android Development] phalanger:
Installed it on JS3 (Insanity 0.6.3). Some minor issues (in some places notification text gets replaced by '0123456789ABCDEF...'or more randomly %&- type things. So far not in places where it really matters much though..

But wow, re-focussing videocam works great and is an AWESOME feature. Good vidcam just got great! Same for high quality sound in the vids. Just Wow!

Marvellous job at making our SGS even better.
[Galaxy S I9000 Android Development] $omator:
jv1 version here - logs will help?

wo odex file it failed to start -> http://www.wklejto.pl/txt91806

your Camera.apk with odex from original cam apk -> http://www.wklejto.pl/txt91807

and here it is from original file -> http://www.wklejto.pl/txt91808

i can post dumpstate_app_com_sec_android_app_camera_error_20110310_231958 but i will have to clean out of sensitive data :)
[Galaxy S I9000 Android Development] rafalense:
Thanks mate!! Good to see spanish people around ;)

Post your results if you test on JS7

ES: Muchas gracias maskarellet! Lo del avidemux la verdad que me asombró, funciona de maravilla. Cierto es que para videos cortos (20seg o así) la perdida de sincronía no se aprecia. Si pruebas JS7 postea tus resultados. Saludos!

Well, that´s why I included 'framework-res.apk' and 'twframework-res.apk'

If you flash a new theme you will replace both files, and also 'android.policy.jar' (if it has extended power menu), where most of the code for automatic focus resides.

At least my 'framework-res.apk' and 'android.policy.jar' as to be there ('twframework-res.apk' has no code at all)

Conclusion, after flash another theme, your camera sure will work, but as v3 (no automatic focus). Hope it's clear! :)

Are you kiding? :P

I think we all should happy to be able to record @ 720p

Camera does not support FullHD. Let's wait SGS 2 for that ;)

Yep, as far as I had to include 'framework-res.apk', I decided to do it stock

Regarding your notification bar issue, it's languague related I guess. In english should work fine. anyway, if I find a solution I'll let you know

Sure man, only for deodexed, what are you waiting for? :P

Sorry omator, I had some issues with JV1 and I'm back on JS5 again. I only was able to do a quick test. For the moment only battery hack is ready for JV1

I'm happy you like my work. I was afraid as it's my first official post. I will keep the support as I really like it, but it's just a hobby, so not full dedicated. Weekend knocking at my door! :)
[Galaxy S I9000 Android Development] rafalense:
Jajajaj

Yorzuaaaaa!

I sometimes see intruders :P
[Galaxy S I9000 Android Development] $omator:
:D:D;);):D:D
[Galaxy S I9000 Android Development] lgkahn:
It is most certainly not only for deodexed roms! I am running it on stock jpy. In stock Rom you need to remember to remove Camera.odex
[Galaxy S I9000 Android Development] syamsoul:
Can't install on jv1
[Galaxy S I9000 Android Development] karl999999:
different theme

Hi!

can you post the sourcecode of your changes to the framework/theme

so that we can apply it to other themes aswell please?

thanks.
[Galaxy S I9000 Android Development] maskarellet:
installed js5mod3extend over js7 and everything works so far, i'll post again when i reach low battery to test.

También es bueno ver gente española que se lo curra como tu,rafaelense.

Edit: I was testing holding a bit longer power button doing a photo, and the phone restarted itself, the next boot the power button didn't show up the menu when pressing, so i had to flash a different theme to solve.

Anyway, good work
[Galaxy S I9000 Android Development] phalanger:
Thanks. I figured as much. No biggie cause I kinda like the stock theme :) only a shame the battery icon is so inaccurate (looks like its 100% until around 75% etc). An improved version of that would be awesome (not visually different, just more accurately depicting the battery level).

Or if people include the needed hacked files into their themes ofcourse, which I also hope they will.

Anyway thanks for this awesome mod/hack!
[Galaxy S I9000 Android Development] f l x:
Hej, me again.

I noticed, that during video playback the audio wasnt synchron anymore. So i made a test. I recorded a testvideo and i was right.

At the end of the video, sound was almost 5 seconds before (!!) image. Than I used the original camera.apk from my firmware, record again and everything was synchron.

So I think with the better soundquality the video gets unsynchron. I recorded all time at 720p.
[Galaxy S I9000 Android Development] maskarellet:
This is a known issue posted by rafaelense. You just need to download avidemux on pc and sync with it
[Galaxy S I9000 Android Development] f l x:
Ah ok. I did not read the small print ;)

Is there any tutorial for avidemux? I never used this program before.
[Galaxy S I9000 Android Development] dneill2006:
Using version 2 with Doc's 9.8.1 XWJS7 works great :)
[Galaxy S I9000 Android Development] jaiiscool:
Is it possible for you to make a version with only

low power + shutter button + autofocus

I dont need the hq audio and the sync issues.

Please!

DocROM 9.9 (ZSJPG + SpeedMod K13C + ZSJPG)

RomKitchen beta tester
[Galaxy S I9000 Android Development] rafalense:
Follow this DIY guide made by R64 to place your own .pngs so it will fit your preferences

http://xdaforums.com/showpost.php?p=10383323&postcount=577
[Galaxy S I9000 Android Development] dneill2006:
+1 that would be awesome :D
[Galaxy S I9000 Android Development] rafalense:
I just did it. It's so easy:

[YOUTUBE]5nbBuqXI9sk[/YOUTUBE]
[Galaxy S I9000 Android Development] rafalense:
'CameraLowShutterNoAudio.apk' added to first post

HOWTO:

- Download

- Rename to 'Camera.apk'

- Put in your mobile

- Move it to System/App/ (with Root Explorer for example)

- Press yes when it asks to overwrite previous 'Camera.apk'*

- Enjoy it! ;)

*Read-only warning when pasting? Click on the "Mount R/W" button on top
[Galaxy S I9000 Android Development] karl999999:
so the source changes that you made are a secret?

just changing some pngs wont work. i use a different system setup, also i get lots of strange % strings.

strange that you would not share the smali changes ...

maybe other people could also contribute
[Galaxy S I9000 Android Development] rafalense:
This hack should work with any theme

So, if you want to try yourself, just decompile your 'android.policy.jar', open 'GlobalActions.smali' and add modifications you see below

:cond_1a
invoke-direct {p0}, Lcom/android/internal/policy/impl/GlobalActions;->prepareDialog()V

+ const/4 v1, 0x1
+
.line 115
iget-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mStatusBar:Landroid/app/StatusBarManager;

- const/4 v1, 0x1
-
invoke-virtual {v0, v1}, Landroid/app/StatusBarManager;->disable(I)V

+ const/4 v1, 0x0
+
+ const/4 v4, 0x1
+
+ const-string v2, "****>> GlobalActions <<****"
+
+ const-string v3, "****>> onCreate() <<****"
+
+ .line 105
+ invoke-static {v2, v3}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
+
+ iget-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mContext:Landroid/content/Context;
+
+ invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
+
+ move-result-object v0
+
+ .line 106
+ const-string v2, "camera_in_use"
+
+ invoke-static {v0, v2, v1}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
+
+ move-result v0
+
+ if-ne v0, v4, :cond_42
+
+ const-string v2, "****>> GlobalActions <<****"
+
+ const-string v3, "****>> Skipping power menu dialog. Camera in use! <<****"
+
+ invoke-static {v2, v3}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
+
+ return-void
+
.line 116
+ :cond_42
iget-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mDialog:Landroid/app/AlertDialog;

invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

All credits for this goes to aleadam, who did it for Samsung Captivate users

Success!
[Galaxy S I9000 Android Development] padlad:
I also was after this, thanks for it but unfortunately it does not work. When overwritten, the camera app disappears and rebooting does not being it back. When re-replacing the original camera.apk the camera app is back. Hope you can sort it.
[Galaxy S I9000 Android Development] cba1986:
Deleted.

Thanks
[Galaxy S I9000 Android Development] lgkahn:
Works fine here that means either you are not completely rooted or something
[Galaxy S I9000 Android Development] rafalense:
Yep, it's weird! Should be something related not to my camera.apk but your ROM
[Galaxy S I9000 Android Development] sinancetinkaya:
Why don't you add options somewhere instead of making several apks?

This project http://xdaforums.com/showthread.php?t=967297 is a good example.
[Galaxy S I9000 Android Development] jaiiscool:
Hi Thanks a lot!

It does work, but when I long press the power button the camera does the autofocus and the power menu pops up and I have to click back and short click the power button again to actually take the photo, this is annoying. Can you tell me the workaround to disable the power menu popup on long click and directly take the photo.

Better yet, you can enable autofocus and capture directly on short click instead of long press, that would be really awesome.

Sorry if I am troubling you, but I truly appreciate your efforts.
[Galaxy S I9000 Android Development] rafalense:
Create an tool/apk to apply/delete different hacks?

Jejej, not yet on my purpose. I never developed an app on android. My fun is just modifying the code, and I will keep it that way as I don't earn money at all with it ;)

Workaround posted already here: http://xdaforums.com/showpost.php?p=12070742&postcount=79

V3 has no autofocus. For autofocus you have to install v4, as the trick is on modded 'android.policy.jar', only included on v4. Also, if you install after a theme, you will replace my 'android.policy.jar', so you will lose autofocus feature
[Galaxy S I9000 Android Development] sinancetinkaya:
I thought you're implementing some codes to the camera.apk, therefore you can use external variables to enable/disable features(shutter, high quality audio, power key) on or off. You don't even have to create an android program for the options, an INI or XML file would be quite enough.

I'm not judging you, you misunderstood. Struggling with several apk files everytime must be exhausting
[Galaxy S I9000 Android Development] .:Crack:.:
Hey,

Thanks!

Which version has sync issues?
[Galaxy S I9000 Android Development] yoshinatsu:
Tried the new autofocus version, and it worked fine, but it messed up my theme.

I suppose it's only good for people who have the default theme.
[Galaxy S I9000 Android Development] hramaki:
hi there...

if we want install the hack 'Low Battery' Hack optimized + 'Shutter' Hack Plus + *Audio Hack we rename to camera.apk and move to system\apps

and if we want install the other file? No Geotag? what is the steps?

hugs
[Galaxy S I9000 Android Development] :
hello im very curious how much the audio hack improves the audio? can anyone upload a before/after or something so i could get an idea. i use my camera to record live music a lot and this is relevant to my interests.
[Galaxy S I9000 Android Development] karl999999:
thanks for posting it. it works until i long press power, then i get FCs

maybe a typo or so. or maybe not compatible with the theme i am using.

damn ...
[Galaxy S I9000 Android Development] phalanger:
Why not give it a try? Comparing the new audio resolution to whats stock, the quality should be increased by quite a bit. The syncing has to be fixed by processing it with Avidemux (free app), but thats a small price to pay if you want video with better sound.
[Galaxy S I9000 Android Development] j-a-c-k:
Is it possible to compile only "Low Battery' Hack + *Audio Hack" version?

Thanks in advance!
[Galaxy S I9000 Android Development] :
tried it out, love the improved audio!

any way to get this working in cm7?
[Galaxy S I9000 Android Development] karl999999:
Better yet, you can enable autofocus and capture directly on short click instead of long press, that would be really awesome.

+1 for me.

can you please please make a version that does "auto focus" AND "take photo" on short press of power button?
[Galaxy S I9000 Android Development] frauhottelmann:
scratch that

http://goo.gl/HCm3S
[Galaxy S I9000 Android Development] frauhottelmann:
and scratch that... :D
[Galaxy S I9000 Android Development] frauhottelmann:
Scratch the last two posts. Apparently I used the wrong android.policy.jar.

I modified the one of my theme "Gingermix" according to the one from the first post and now it doesn't fc any more, but now it focuses and then the extended power menu opens instead of taking a picture :D Any solution to that?
[Galaxy S I9000 Android Development] karl999999:
can somebody try to make this please? is this possible?
[Galaxy S I9000 Android Development] jaiiscool:
Please please pretty please....
[Galaxy S I9000 Android Development] vorob:
As most of you may know, Samsung had the marvellous idea of make dissapear the GPS option from our camera settings on Froyo

I don't understand this part. Samsung will dissallow us to turn off geotagging? It would be enabled always?
[Galaxy S I9000 Android Development] vorob:
****, i thought its about manual control over shutter speed :(
[Galaxy S I9000 Android Development] karl999999:
no answer to this one?
[Galaxy S I9000 Android Development] animelover:
Any chance in getting the camera hacks for XXJVK (Gingerbread 2.3.3)?
[Galaxy S I9000 Android Development] rafalense:
Sorry guys, too busy these days with personal stuff

Currently I'm running JVK and my idea is to port this hack also to gingerbread

Autofocus with only one press also on mind ;)

Expect some camera updates between today and tomorrow :)
[Galaxy S I9000 Android Development] jaiiscool:
That would be just awesome
[Galaxy S I9000 Android Development] Shivatink:
s pls most need for gingerbread jvk if u have time to do it pls do for us
[Galaxy S I9000 Android Development] rafalense:
JVK Hacked Camera added

Check main post

More updates to come

Have fun! ;)
[Galaxy S I9000 Android Development] $omator:
update script not working :)
[Galaxy S I9000 Android Development] jaiiscool:
You are the best, thank youuuuuu!
[Galaxy S I9000 Android Development] jaiiscool:
Are you using cf or damian kernel? they use cwm 3 and it wont work. In this case you can manually push camera.apk to /system/app via adb or root explorer.
[Galaxy S I9000 Android Development] rafalense:
Thanks jaiiscool!

That's true omator, should be something with your CWM/Kernel

By the way, I'm so sorry, but low battery hack on camcorder didn't work as expected

Recoded and tested, now it's fine :)

New 'cameraJVKHack1b.zip', post updated
[Galaxy S I9000 Android Development] $omator:
no it is not something wrong with my kernel or cwm :) my scripts are working fine. im on 2.3.3 + cwm 3005 :) /mounting is fixed in new cfroot and now your script works

and i pushed it manualy but the camera was behaving like stock one.

at least power button locks screen as it was earlier
[Galaxy S I9000 Android Development] djkoa:
URGENT!!!!!!

My friend, here i've a BIG REQUEST!!!! Many people are using MIUI rom (2.3.3 ...so JVK)...and MANY want THIS CAMERA!!!!!!!! Seems is not signed and need to be resigned. Can u please port to it?! IT WILL BE BIIIIIIG HELP!!!

Pretty pretty please
[Galaxy S I9000 Android Development] radiohead_apple:
thanks for your great work rafalense

I just wanted to ask you add the power button feature for taking pictures in xxjvk please

that would be really appreciated...
[Galaxy S I9000 Android Development] snack23:
+1 Please sign the apk..that would be soo nice
[Galaxy S I9000 Android Development] jaiiscool:
It is already there check first post properly.
[Galaxy S I9000 Android Development] radiohead_apple:
which file do you mean exactly???

the file in post #113 does't have this feature

and by the time of writing this post there is not such a file to have this feature in the first post too
[Galaxy S I9000 Android Development] Headstrike85:
In first post, multiupload link for gingerbread doesnt seems to work for me.
[Galaxy S I9000 Android Development] aNbeRRy:
Unfortunately, the link you have clicked is not available.

Reasons for this may include:

- Invalid link

- The file has been deleted because it was violating our Terms of service.
[Galaxy S I9000 Android Development] snack23:
Same for me...link is unavailiable...so would you please so kind to reupload ;)
[Galaxy S I9000 Android Development] rafalense:
Sorry, link updated

Should be working now

Tested with:

DamianGTO Ultimate Ginger Kernel (Beta 4)

Supercurio Hacked Lagfix/Ext4 Samsung Galaxy S Gingerbread - JVK

ChainFire CF-Root-XX_OXA_JVK-v2.7-CWM3RFS

No problem at all with any of them

If you still have issues flashing, post which kernel are you using
[Galaxy S I9000 Android Development] $omator:
can you upload christian erm i mean non-deodexed version also?:D
[Galaxy S I9000 Android Development] rafalense:
Try deleting original 'Camera.apk' and 'Camera.odex' from your system folder and then place my 'Camera.apk' there
[Galaxy S I9000 Android Development] $omator:
yes now it works.

what would you say about those two for not deodexed jvk users?
[Galaxy S I9000 Android Development] Veerawat:
I have question.

This Version 3: 'Low Battery' Hack + 'Shutter' Hack + *Audio Hack

Can install in xwjs7 Stock rom?
[Galaxy S I9000 Android Development] jaiiscool:
Hi rafalense,

Can we have the same hack as jvk version on froyo..... Please.....plz........plz.........

Low battery + power button short press = autofocus and capture
[Galaxy S I9000 Android Development] rafalense:
Thanks omator!

You gave me a good idea

I will update main thread
[Galaxy S I9000 Android Development] rafalense:
Currently running JVK so I can't test any froyo modifications, but I will try though ;)
[Galaxy S I9000 Android Development] $omator:
i can make odex files for them if you like and repack for proper notdeodexed 'release'

would do that earlier but i just did not want to touch your work wo permission ;)

any chances to incorporate audio hack for jvk till saturday? am going to concert could test it ;d
[Galaxy S I9000 Android Development] jaiiscool:
Thanks man!

I can volunteer to test if you want.
[Galaxy S I9000 Android Development] $omator:
there you go made Camera.odex for Camera.apk so it could run notdeodexed ones ;)

CWM_hacked_camera_v1b_proper_rafalense.zip -> http://www.multiupload.com/LF1HKIKB4J
[Galaxy S I9000 Android Development] rafalense:
I just finished an script for both deodexed and stock users

A few tests more and I will upload it :)

Anyway I will link to your posts in case conservative users want to go back to their stock boring camera :p
[Galaxy S I9000 Android Development] rafalense:
Main thread updated

Added compatibility in same file for both Stock and Deodexed Roms

Please stock users post your results
[Galaxy S I9000 Android Development] rafalense:
Post updated, Audio Hack added ;)
[Galaxy S I9000 Android Development] XlAfbk:
wtf, password protected zip?! seriously?!

i understand you want to "protect" your stuff, but this is overkill and quite annoying tbh. while i really appreciate the work you're doing i'll pass on this one, I'm not going to beg you for the pw
[Galaxy S I9000 Android Development] rafalense:
It's up to you man!

Have a nice day! ;)
[Galaxy S I9000 Android Development] syamsoul:
4 hrs already..waiting for password... :( thanks alot btw
[Galaxy S I9000 Android Development] rafalense:
Hehe, you received it hours ago man

I live in GMT+1, 7 hours difference I guess from where you are

Most important, this is free, it's a hobby, rush isn't justified ;)
[Galaxy S I9000 Android Development] rafalense:
Main thread updated. Autofocus feature added to froyo camera :)

Version 3b: 'Low Battery' Hack + 'Shutter' Hack Plus + *Audio Hack
[Galaxy S I9000 Android Development] dneill2006:
Could we have a version of this without the Audio Hack?

Thanks :)
[Galaxy S I9000 Android Development] bigdyl69:
+1 for this request. I don't want to have to recode my videos on my PC. Awesome hack by the way
[Galaxy S I9000 Android Development] jaiiscool:
Sorry for repeated requests but as I had mentioned before, we only want low battery + power button autofocus hack for froyo, nothing more.

Again really sorry but we are way too needy..........

Thanks :-) :-) :-) :-) :-) :-) :-) :-)
[Galaxy S I9000 Android Development] maskarellet:
So, can i use the 3b version on js8?
[Galaxy S I9000 Android Development] jaiiscool:
Yes
[Galaxy S I9000 Android Development] rafalense:
Updated

No more froyo requests. Thanks!
[Galaxy S I9000 Android Development] dneill2006:
Works great, thanks :D
[Galaxy S I9000 Android Development] jaiiscool:
You are the best..........

Thanks for everything.
[Galaxy S I9000 Android Development] zmirburger:
A few questions about Version 2b: 'Low Battery' Hack + 'Shutter' Hack Plus !

1. Will the audio hack work with the voodoo sound recording improvement?

2. Will this work on speedmod? (13E)

Searched for voodoo and speedmod with no avail
[Galaxy S I9000 Android Development] eitama:
Hello,

I have a couple of questions.

1. I have installed the Camera.apk for 2.3.3, Clicked the thx button, followed the 2nd link, extracted the rar, got the zip file.

As I have a stock JVK, not deodexed or anything like that, just stock from Samfirmware with bootloaders and all, I extracted the Camera.apk, and using root exlorer put it in system/app.

When I click the power button to use the new hack, i get the menu/lock mode in video like the hack is not working.

Also, audio sounds the same, and I am not on low battery so can't confirm 3rd feature. It's like nothing changed. I used version GA of your hack.

2. About the video auto focus thingy, I see it's an APK file,

Should i just run it via root explorer as normal apk file? or does it need to be flashed somehow? (it's not tar so i assume not).

Can I revert back to original Camera Firmware if I wish to?

Does Complete Stock roms flash camera firmware by default?

Thanks for hard work,

And sorry for long post but I have some questions as you can see!

Cheers!
[Galaxy S I9000 Android Development] habylab:
Going to try this on JVB, will let you know if this works.
[Galaxy S I9000 Android Development] me_ashman:
Top ****!!!

Works awesome!!!! thanks alot.
[Galaxy S I9000 Android Development] rafalense:
Script for 2.3.3 should work fine on stock as well, just flash it with CWM (flash a new no-stock kernel for 2.3.3 with odin: Supercurio, Chainfire...)

Install the APK as a normal app. It will ask you if you want to upgrade your firmware
[Galaxy S I9000 Android Development] jakTomas:
can i make the speaker louder with this ?
[Galaxy S I9000 Android Development] $omator:
any plans to move your work to jvb Camera?

jvk,jvb files aint the same...

and what bout that power menu bar ;)