[Mod][ICS] Camera.apk with better audio quality/video bitrate/use at any battery - Galaxy S II Android Development

Hello guys,
I have enjoyed Potatoman's camera mod for GB in the past (original thread). I recently updated to ICS (WanamLite Rom) and I did not find any alternative to Potatoman's camera mod for ICS. So I just tried myself. This is my first mod by the way.
Basically this mod replaces the Camera.apk in ICS.
Features:
- Use camera/flash at any battery life
- Remove camera sounds (thanks wanam)
- Increase audio bitrate to 192kbit/s (48kHz already in ICS camera)
- Increased video bitrate
1080p: Normal - 17MBit / Fine - 24MBit / Superfine - 30MBit
720p: Normal - 9MBit / Fine - 13MBit / Superfine - 17MBit​
I have not modified quality for resolution <= 320:240
I have only tested this mod on my Galaxy S2 WanamLite XWLPT and XWLPU but it should also work on other ICS Samsung roms. Hope you enjoy it, if you have any problems or suggestions feel free to post.
Installation:
Copy the attached zip to your phone storage and install the zip in CWM.
Credits:
xtremesv - fixed apktool for ics
Brut.all - apktool
rafalense - camera quality guide http://forum.xda-developers.com/showpost.php?p=10980448&postcount=268
potatoman - GB camera mod
wanam - NoCamSound mod + CWM script
zxz0O0 - creating this modded apk
If you enjoy this mod, please consider buying me a beer. Thank you

not work with 4.0.3 isc stock rooted rom

Hi, thanks for the post BUT it doesn't work with: RootBox 1.7
Please upload the original camera.apk so we can undo the changes and get our camera function back to work.
Thanks

Hey, thanks for the mod, but it've been created some time ago and working nice, you can see it here:
http://forum.xda-developers.com/showpost.php?p=28797873&postcount=895
The most needed camera mod is for AOSP camera for CM, AOKP and all Nexus-based ROMS. It would be great. I'm using Modded camera on my ICS firmware, it works great, difference is so noticable!
Thanks for your work, you rock!

maraca said:
not work with 4.0.3 isc stock rooted rom
Click to expand...
Click to collapse
Thanks for the feedback. Have you tried deleting cache and dalvik-cache (if you have Camera.odex, rename to Camera.odex.bak)
Thejungle said:
Hey, thanks for the mod, but it've been created some time ago and working nice, you can see it here:
http://forum.xda-developers.com/showpost.php?p=28797873&postcount=895
The most needed camera mod is for AOSP camera for CM, AOKP and all Nexus-based ROMS. It would be great. I'm using Modded camera on my ICS firmware, it works great, difference is so noticable!
Thanks for your work, you rock!
Click to expand...
Click to collapse
Oh, sorry I have searched very hard and did not find anything. Also I am not sure if the one you linked has all the features because the main point for me was using the camera at any battery life
mekz77 said:
Hi, thanks for the post BUT it doesn't work with: RootBox 1.7
Please upload the original camera.apk so we can undo the changes and get our camera function back to work.
Thanks
Click to expand...
Click to collapse
I forgot to mention, this is for samsung rom, sorry. I will download RootBox now, extract Camera and upload here for you. Maybe I can also take a look at it and apply the mods there.
Edit: Here is stock Camera.apk from RootBox 1.7

mekz77 said:
Hi, thanks for the post BUT it doesn't work with: RootBox 1.7
Please upload the original camera.apk so we can undo the changes and get our camera function back to work.
Thanks
Click to expand...
Click to collapse
LoL Everyone knows that this is fo Sammy roms...
To OP: thanks, will try it
Sent from my GT-I9100 using xda app-developers app

zxz0O0 said:
Thanks for the feedback. Have you tried deleting cache and dalvik-cache (if you have Camera.odex, rename to Camera.odex.bak)
Thanks , now work exellent!!!!
Click to expand...
Click to collapse

great job, but I worked on stock firmware GT-I9100UMLP6 Telcel-Mexico, opening the camera gives FC, and did wipe cache and Dalvik-cache. :crying:

tazlooney89 said:
great job, but I worked on stock firmware GT-I9100UMLP6 Telcel-Mexico, opening the camera gives FC, and did wipe cache and Dalvik-cache. :crying:
Click to expand...
Click to collapse
Hi,
May I ask what version this firmware is? Did you rename Camera.odex to Camera.odex.bak in /system/app before wiping cache/dalvik?

zxz0O0 said:
I forgot to mention, this is for samsung rom, sorry. I will download RootBox now, extract Camera and upload here for you. Maybe I can also take a look at it and apply the mods there.
Edit: Here is stock Camera.apk from RootBox 1.7
Click to expand...
Click to collapse
That would be lovely!!! Thanks man! You could try just to mod the AOSP camera from CM or other Nexus-based ROM, and it will work on all other AOSP (RootBox including) roms. JB version appreciated.
Thanks!
EDIT: I'm digging for touch to focus or just manual focus video camera option and no result. Is it possible to implement too?

Never mind...

Hi
I guess this Works with Wanam 12.4 (XWLPU) , right?
Cheers
Enviado desde mi GT-I9100

Garuxa said:
Hi
I guess this Works with Wanam 12.4 (XWLPU) , right?
Cheers
Enviado desde mi GT-I9100
Click to expand...
Click to collapse
I am currently using Wanam 12.3 and it's working perfectly there. I guess it should also work on 12.4
Btw: Thanks for reminding me to update
Edit: Confirmed working on 12.4

Seems to be working on NeatROM Lite LPG 3.0.1. Thanks.

Garuxa said:
Hi
I guess this Works with Wanam 12.4 (XWLPU) , right?
Cheers
Enviado desde mi GT-I9100
Click to expand...
Click to collapse
Yes, it works fine!

Does this works on Jb?
Sent from my GT-I9100 using xda app-developers app

Ben101 said:
Does this works on Jb?
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
No, just on Sammy Roms!

Please update this package for JB leak LSJ or Wanamlite JB V13. Thanks!!!!!

Out of all the camera mods I've tried so far this seems to work the best, full quality audio and video with no shutter sound!
Please continue your amazing work for JB
Thank you so much!
Edit: only thing is that it takes 3 seconds to save a photo (NO, see below) vs the 1 second with other apps but this at least works the best for me so far and is the only mod that supports high bit rate video!
EDIT: please ignore edit, turned out blink detection was on which added the delay!

Related

Stable Froyo-Cyanogen ROM

here is my mixed freex10-beta4-cyanogen ROM
http://www.mediafire.com/file/w542xz3fbsxecfh/Freex10-beta4-Cyanogenmod.zip
http://www.mediafire.com/file/95qdeiki4povlc4/gapps-hdpi-20101114-signed.zip
i hope it works with mediafire never used it before.
it´s not my rom i used zdzihu freex10-beta4 and tripnraver cyanogenmod rom 1.2
so all credits goes to them.
installation is simple
first update to new baseband .54
second use xrec and install the freex10-beta4-cyanogen.zip
and without reboot the gapps.
reboot the phone and wait like in the freex10 version.
greetings neo
working
all stuff like in zdzihu freex10 beta4
and as bonus cyanogen settings
ok i see some people never used freex10 beta 4
here working list
sdcard
usb storage
camera (vignette works with 8mp)
camcorder (with video illusion)
flash light
cyanogen settings
3d
2d
audio
video hardware
youtube hd
sensors
gps
wifi
3g
allmost all is working like in beta4 from zdzihu
any screenshots?
Am i to tired or is there no upload?
It would be nice if you enlight us with what exactly work and what's not.
Battery life?
Sensor?
Camera?
Camcorder?
Wifi?
Market?
etc...
Ty for your work.
Killbom said:
Am i to tired or is there no upload?
Click to expand...
Click to collapse
mistake maybe, but sure he'll correct it asap.
what about sdcard????
Should throw some screens up since trip no longer has them up.
Sent from my X10i using XDA App
that's the download link for the rom
http://www.mediafire.com/?l8inzjvlr94ilg4
plz update ur post man
Vignette work?
yep vignette works and don´t mirror it first post is updated
superleeds27 said:
Vignette work?
Click to expand...
Click to collapse
Only in 4:3
NeoInc said:
yep vignette works and don´t mirror it first post is updated
Click to expand...
Click to collapse
Nice, can you update your 1st post with that info? It sure will prevent another question about it.
TY.
Unless you change to 16:9 framed?
Is Clockr Evolution available in the market?
Sorry for all the Q's, just want to make sure before i wipe etc
sorry for the first link now it should work. i said i new to this so pls sorry
greetings neo
superleeds27 said:
Unless you change to 16:9 framed?
Is Clockr Evolution available in the market?
Sorry for all the Q's, just want to make sure before i wipe etc
Click to expand...
Click to collapse
Clockr i found but evolution not
sorry
Hmm believe we have a dodgy 'Fingerprint' on the Rom.
Version of Cyanogen im using can find Clockr Evolution.
How easy is it to change 'Fingerprints' in Build.prop?
superleeds27 said:
Hmm believe we have a dodgy 'Fingerprint' on the Rom.
Version of Cyanogen im using can find Clockr Evolution.
How easy is it to change 'Fingerprints' in Build.prop?
Click to expand...
Click to collapse
ok maybe u have to replace the build.prob with zdzihu one. i didn´t.
forgot to do
edit: i test it
Pm'ed you
my phone says my sdcard is blank or so and i can't mount it that to do???
Edit: Format my sdcard now works
NeoInc said:
ok maybe u have to replace the build.prob with zdzihu one. i didn´t.
forgot to do
edit: i test it
Click to expand...
Click to collapse
so i replaced the build.prob with z ones with root explorer and now i see the clockr evolution

[ROM][ICS]Bezke UltraIcs 5.0 "UHLPS" Full Holo - Soon - please be patient-

ULTRAICS 5.0 HOLO - SOON -​
Click to expand...
Click to collapse
Whos Donated me:
http://forum.xda-developers.com/showpost.php?p=22878543&postcount=7​
Click to expand...
Click to collapse
​​
Specification 4.1:
- Based on XXLPQ
- Modem XXLPQ
- CSC : OXALPQ
- Rooted
- Deodexed
- Zipaligned RE
- Signed
- Siyah ICs beta4 Touch recovery Kernel
- New reworked scripts by me for best performance and battery
- Full Holo Themed
- Ics boot animation
- removed samsung keyboard,
- added trebuchet launcher
- added ICS keyboard - with more language
- added Google Music 4.1.511
- added ICS lockscreen
- Added Crt Off Animation
- AOSP Sms/Mms
- AOSP Contatcs
- AOSP Dialer
- Themed apps /camera.../
- etc...
Click to expand...
Click to collapse
How to install: WIPE!!!!
0. Root your phone / with cf root kernel/
1. copy downloaded zip's to internal sd
2. Go to recowery wipe cache - dalvik cache
3. In recowery install zip from internal sd....-install the GTI9100_Bezke...
4. Reboot and wait 2-3 minute...
5. After phone 1st started -ONLY AFTER if you would set the contacts to AOSp ----- power off-----go recovery-----install aospcontactsmms.zip---- reboot
If there are any fc's- repeat from 2. step, and make a full wipe before flash rom...
Click to expand...
Click to collapse
If you like my works call me for a Beer:
PAYPAL DONATIONS:
1 USD: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AM9WDB4Q7NHPW
2 EUR: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLWDW6G96KHBJ
3 HUF: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6P4W5ML98KYPU
4 CHF: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QP6BUYQAV9ASW
DOWNLOAD ULTRAICS 5.0 HoLo:
Soon
Before download please thx for me
Click to expand...
Click to collapse
-Please be patient-
Click to expand...
Click to collapse
FAQ:
1. This roms based on Samsung Stock roms
2. FULL Holo themed
3. I dont guarantee, that this rom will work perfect by all user
4. Always read the specifications
5. Dont send me PM, only its include develop thread
Click to expand...
Click to collapse
Follow Me on Twitter too
Thanx to:
Cm9 team
Codeworkx
Vertumus
Lidroid
Jkay
Sboulema
el_liberator
ficeto -status bar - modded by me
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SCREENSHOOTS FROM 3.0:
Click to expand...
Click to collapse
great mate! I was gonna do just that, you have just given me time
wow. well done. cheers
Made it a little easier for us, thanks. All the same, the current bug list (given this is quite literally VERY alpha) should be in the OP.
The really cool ICS transition animations also aren't present and nobody has managed to get rid of the red box developer setting either.
Too early still me thinks, but appreciate the effort.
Sent from my GT-I9100 using XDA App
did you keep the tw launcher? with it ics is very slow from what people saying. it would be nice when u keep update the rom when fixes come out or changing some more stuff with the cm9 launcher for example. thanks for your work ill download and try it out when the download link is there.
Thanks a lot. I hope you update this rom as ics leaks get better.
Sent from my GT-I9100 using xda premium
kickassdave said:
Made it a little easier for us, thanks. All the same, the current bug list (given this is quite literally VERY alpha) should be in the OP.
The really cool ICS transition animations also aren't present and nobody has managed to get rid of the red box developer setting either.
Too early still me thinks, but appreciate the effort.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
You have to use dev tools and change under Development Setting / Strictmode visual indicator to off reboot and it is done!!!
sansunggalaxys2 said:
Thanks a lot. I hope you update this rom as ics leaks get better.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Yes propably.
i hope the next ICS will be better.
Gunna give it a whirl, see what the fuss is about.
Does it contain CWM or will i need 2 flash a kernel with CWm?
wow and wow!
suuuuperb work mate! thanks
one Q:
is gallery working now?
and is it possible for you to remove all TW?
cheers,
SX
SignalX said:
wow and wow!
suuuuperb work mate! thanks
one Q:
is gallery working now?
and is it possible for you to remove all TW?
cheers,
SX
Click to expand...
Click to collapse
The galery works by me, and you can install an other tw.
After freeze the ics tw.
Hey !
What's the ondemand up_threshold value on this rom ? Have you change it ?
Thx !
this rom have CWM recovery mode?
Croxz said:
this rom have CWM recovery mode?
Click to expand...
Click to collapse
no cwm app but recovery mode included
First impressions. Not bad.
Obviousley not stable for dily use. Looks promising though!
Thanks for releasing a version with data working.
It was the only reason ICS wasn't a daily rom for me. (I don't use a lot of features)
Is it just me or does the battery get very hot when running this?
Sent from my GT-I9100 using xda premium
as soon as i restart phone superuser is lost...
Data doesn't work for me. Still stuck on the '3g' icon
Superuser seems ok after a reboot, I've installed the superuser from the market though?
chris4500uk said:
Data doesn't work for me. Still stuck on the '3g' icon
Superuser seems ok after a reboot, I've installed the superuser from the market though?
Click to expand...
Click to collapse
after reboot superuser was gone...installed from market rebooted gone again...3g works for me...do u use the kernel comming with the cwm or cf-root kp1/2

[REQUEST] 4.2 camera with photosphere and call recording for 4.1.2 ODEXED stock rom

Can someone please link me or prepare a CWM package of the 4.2 camera and the call recording mod for a stock ODEXED 4.1.2 (XXDLJ2) ? At least the camera...
Thanks a lot in advance !
OK,finally i found it ! as far as i understand - it should work on any android device !
here is the link for the 4.2 camera with working photosphere and gallery - http://d-h.st/aIy
i installed it on my Note2 and it works flawlessly
phazeman said:
OK,finally i found it ! as far as i understand - it should work on any android device !
here is the link for the 4.2 camera with working photosphere and gallery - http://d-h.st/aIy
i installed it on my Note2 and it works flawlessly
Click to expand...
Click to collapse
link no work..
RamboDroid said:
link no work..
Click to expand...
Click to collapse
Yes it does..
Can anyone explain me how to uninstall a flahed zip like this photosphere camera? doesn't work correctly in my case and since installed it interferes with my stock camera, so both do not work correct at the moment.
HighOnTheCrime said:
Can anyone explain me how to uninstall a flahed zip like this photosphere camera? doesn't work correctly in my case and since installed it interferes with my stock camera, so both do not work correct at the moment.
Click to expand...
Click to collapse
the question is did u make a nandroid back up before u flashed it. If not u can back up ur apps with titanium back up and then wipe cache and flash ur rom again then restore ur backed up apps with titanium back up.
note: that u shouldn't back up system apps or data specially of course the cam causing the troubles.

[Q] CM 10.1 20130515 JB Camera on my XMP

Hi, I've installed the new nightly of the @mikeioannina 's rom (Unofficial CM 10.1), and everything looks fine with the new kernel, but my Jelly Bean camera app is not functional; when I open it, a black screen is shown. I can focus and show the menu, but any image is displayed, even with the frontal camera. Althought, the ICS camera app is functional, but I want the JB's to be functional, because I can't neither take a photo from the lockscreen. What can I do?
Thank you very much, and sorry because of my bad English.
flash this and hit thanks if works http://d-h.st/ugB
gorg355g said:
flash this and hit thanks if works http://d-h.st/ugB
Click to expand...
Click to collapse
Please do not copy/mirror any creators work without crediting him. This patch is by Rizal Lovins.
Sent from my SK17i using Tapatalk 2
andogeek10 said:
Please do not copy/mirror any creators work without crediting him. This patch is by Rizal Lovins.
Click to expand...
Click to collapse
He's not copying or mirroring anyone's work... He's merely sharing the original creator's original link on Dev-Host.
ApriliaM3 said:
He's not copying or mirroring anyone's work... He's merely sharing the original creator's original link on Dev-Host.
Click to expand...
Click to collapse
you right

[ROM][AOSP][JB][4.3.1][JLS36I] SuperSlim-V2.0 [new]

Hello GS2 Users , XDA developers
about my story
-my story is that i like aosp and especially android 4.3 and aosp supernexus 3 rom full off bugs and i posted help thread but no one helped me and i searched and founded 2 android 4.3 roms (cm10.2.1 by infected_ and Slimbean build 2.2) but these roms not pure aosp so i got a good idea to make stable aosp 4.3 by modifying one of them and remove all mods and addons and get aosp
-i chose slimbean and used all aosp apps in supernexus 3 except hardware libs and kernel and security setting to get blacklist function and privacy guard
about v1.0
-bugs the same in slimbean rom but i fixed every bug i found like stretched screen in video camera
-fc when tab sms message limit in security setting (i will fix it another time)
about v2.0
-cm10.2.1 based (Phone UI better than slim)
-pure supernexus 3 style
-bug1 (get fc in pattern unlock type)
-bug2 (get fc in APN setting )
-download here v1.0 (core gapps included)
-download here v2.0 (install rom and after first boot reboot in recovery and flash this minimal gapps version here)
-if you found any issue post here because i'am not developer and to make apps work in other framework not easy
-screenshots in attachments for v1.0
-big thanks to infected_,Faryaab,slimroms team because this rom created and packed from their builds​
Good ! i will try now
Good rom bro! Only my nokia bluetooth headset doesn t work
Inviato dal mio GT-I9100 utilizzando Tapatalk
This looks good. Stable and clean... Awesome!
Why did you not decided to 4.4.2?
"fc when tab sms message limit in security setting (i will
fix it another time)"
If you decompile Settings.apk, than this bug is present because of some resources are broken. You must correct that in Settings/res/values/arrays, search for something like "sms limit" and you will see somewhere:
<array...
</array>
but should be:
<string-array....
</string-array>
And compile Settings again.
You can only add Theme engine? Thhanks
Sent from my GT-I9100 using XDA Free mobile app
PolishVodka said:
"fc when tab sms message limit in security setting (i will
fix it another time)"
If you decompile Settings.apk, than this bug is present because of some resources are broken. You must correct that in Settings/res/values/arrays, search for something like "sms limit" and you will see somewhere:
<array...
</array>
but should be:
<string-array....
</string-array>
And compile Settings again.
Click to expand...
Click to collapse
this error not in setting.apk this because i used aosp mms.apk app if you want fix it use slim mms.apk because i will remove this from setting to get aosp messsaging app
dinos3 said:
This looks good. Stable and clean... Awesome!
Why did you not decided to 4.4.2?
Click to expand...
Click to collapse
mali gpu drivers works better in 4.3
dexxda said:
You can only add Theme engine? Thhanks
Sent from my GT-I9100 using XDA Free mobile app
Click to expand...
Click to collapse
i can but it will not works with aosp apks you can use slim rom to get all features but i modded this rom to get aosp
wait for version 2.0 pure like supernexus 3 style i will upload soon
version 2.0 have this bug? im on 1.0 now and open camera app
dexxda said:
version 2.0 have this bug? im on 1.0 now and open camera app
View attachment 2780654
Click to expand...
Click to collapse
no bugs with gallery and camera make sure that you make full wipe of data and cache and format system if the problem still
malakmagd said:
no bugs with gallery and camera make sure that you make full wipe of data and cache and format system if the problem still
Click to expand...
Click to collapse
hmm maybe its a non stock kernel problem, im using this rom from apolo kernel and very smooth
dexxda said:
hmm maybe its a non stock kernel problem, im using this rom from apolo kernel and very smooth
Click to expand...
Click to collapse
make sure that you updated mali v3 with any other kernel support it
Great rom but i found a bug
When i try to edit access point names in settings com.android.phone fc's
Fix it please , thanks for the great rom
Sent from my GT-I9100 using XDA Premium 4 mobile app
Dkings said:
Great rom but i found a bug
When i try to edit access point names in settings com.android.phone fc's
Fix it please , thanks for the great rom
Sent from my GT-I9100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
first of all thanks for sharing and for your work..second: in what this rom is better than kitkat on our phones? same bugs,radio not working..i ve tried many kitkat roms and i find harder to beat that..in smoothness,performance and even on battery life..just asking,dont get me wrong.
Dkings said:
Great rom but i found a bug
When i try to edit access point names in settings com.android.phone fc's
Fix it please , thanks for the great rom
Sent from my GT-I9100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
thank you for report this problem in settings.apk i will fix it soon
smokerman said:
first of all thanks for sharing and for your work..second: in what this rom is better than kitkat on our phones? same bugs,radio not working..i ve tried many kitkat roms and i find harder to beat that..in smoothness,performance and even on battery life..just asking,dont get me wrong.
Click to expand...
Click to collapse
my problem with kitkat is gpu mali works better in 4.3 and you can believe this by compare between 4.3 and 4.4 in game performance using any game such as subway
What are the advantages - upgrades of 4.3.1 against 4.1.2?
Any updates for this rom ? A aroma version with more options / tweaks ? Or somethink like this ! Maybe somethink like HCT ROM AOSP ?

Categories

Resources