Can anyone tweak/mod the default camera.apk from 2.3.4 rom so that it gives full quality...i mean full 5~7 MB image size rather than 0.8~1 MB which washes out the sharpness from images
Sent from my MT15i using XDA App
Have you been able to get better quality photos with other applications? Do you think it is possible? I also expected better quality and bigger pics as it has 8mp
I think just about 3MB image is enough. as images of IP4S, average about 3MB but very detailed and smooth.
devrruti said:
Have you been able to get better quality photos with other applications? Do you think it is possible? I also expected better quality and bigger pics as it has 8mp
Click to expand...
Click to collapse
Ya, i tried vignette app on market(full version) and it gave minimum 4 MB pic in 8Mpix mode with superfine setting
But its UI is very complex and slow, thats why i don't recommend it...
What always happens with me with vignette is-As soon as i adjust the settings, the object changes its position and the shot goes in vain
Sent from my MT15i using XDA App
MaxMedia said:
I think just about 3MB image is enough. as images of IP4S, average about 3MB but very detailed and smooth.
Click to expand...
Click to collapse
I know what you are saying, but try the vignette app and shoot 1 steady object from camera app and vignette app
Both will give same results on device, but as you will transfer them on pc, you can easily spot the difference
Sent from my MT15i using XDA App
I just made 2 photo's
(one with stock app and one with vignette)
vignette is really slow by the way...
Vignette: 5,78MB
Stock: 1,14
but i really cant see any diffrence on my pc,
why would someone want a picture that's 4 times bigger...
Marcell96 said:
I just made 2 photo's
(one with stock app and one with vignette)
vignette is really slow by the way...
Vignette: 5,78MB
Stock: 1,14
but i really cant see any diffrence on my pc,
why would someone want a picture that's 4 times bigger...
Click to expand...
Click to collapse
Try "HDR Camera Pro"
In my opinion Camera360 takes slightly better pictures than the stock cam (with quality set to 90%, not 100% since that forces the same compression as the stock app).
Marcell96 said:
I just made 2 photo's
(one with stock app and one with vignette)
vignette is really slow by the way...
Vignette: 5,78MB
Stock: 1,14
but i really cant see any diffrence on my pc,
why would someone want a picture that's 4 times bigger...
Click to expand...
Click to collapse
No bro zoom the pic to 100% and see the noise level and sharpness in both
Sent from my MT15i using XDA App
As this will only work for rooted phones(as you will need something like RootExlorer to change the file), you probably will have some knowledge in modding your phone, so here is a little How-To to do it yourself(tested):
You need apktool, SignApk, zipalign (search via forum).
- Copy system/app/SemcCameraUI.apk to your pc
- Copy system/framework/SemcGenericUxpRes.apk to your pc
- Copy system/framework/framework-res.apk to your pc
- apktool if framework-res.apk
- apktool if SemcGenericUxpRes.apk
- apktool d SemcCameraUI.apk
- find file "CameraController.smali" in extraced folder "SemcCameraUI\smali\com\sonyericsson\android\camera"
- insert these two lines at line 994 (next line after "setRotation")
Code:
const/16 v1, 0x64
invoke-virtual {v0, v1}, Landroid/hardware/Camera$Parameters;->setJpegQuality(I)V
- apktool b SemcCameraUI
- java -jar SignApk.jar certificate.pem key.pk8 <your new SemcCameraUI.apk> signed-SemcCameraUI.apk
- zipalign -v 4 signed-SemcCameraUI.apk signed-aligned-SemcCameraUI.apk
- copy the new apk to your phone (sdcard!) and name it SemcCameraUI.apk
- backup (copy) system/app/SemcCameraUI.apk to sdcard (somwhere)
- using f.e. root explorer mount system as r/w
- copy new apk to system/app (overwriting the old one)
- change file permissions (use the same ones as the other files in system/app, user needs r/w)
- reboot (not always necessary)
- find the camera icon and enjoy
Pictures are now using JPegQuality 100% resulting in approx. triple image size (from 800KB to 2.4MB in my test image). I'am seeing a slightly increase in picture quality (less artifacts), but don't expect to much (for better results you would probably have to mod the camera driver)...
As you know have a blueprint, you can do it for other FW-versions yourself
frank_harmann said:
As this will only work for rooted phones(as you will need something like RootExlorer to change the file), you probably will have some knowledge in modding your phone, so here is a little How-To to do it yourself(tested):
You need apktool, SignApk, zipalign (search via forum).
- Copy system/app/SemcCameraUI.apk to your pc
- Copy system/framework/SemcGenericUxpRes.apk to your pc
- Copy system/framework/framework-res.apk to your pc
- apktool if framework-res.apk
- apktool if SemcGenericUxpRes.apk
- apktool d SemcCameraUI.apk
- find file "CameraController.smali" in extraced folder "SemcCameraUI\smali\com\sonyericsson\android\camera"
- insert these two lines at line 994 (next line after "setRotation")
Code:
const/16 v1, 0x64
invoke-virtual {v0, v1}, Landroid/hardware/Camera$Parameters;->setJpegQuality(I)V
- apktool b SemcCameraUI
- java -jar SignApk.jar certificate.pem key.pk8 <your new SemcCameraUI.apk> signed-SemcCameraUI.apk
- zipalign -v 4 signed-SemcCameraUI.apk signed-aligned-SemcCameraUI.apk
- copy the new apk to your phone (sdcard!) and name it SemcCameraUI.apk
- backup (copy) system/app/SemcCameraUI.apk to sdcard (somwhere)
- using f.e. root explorer mount system as r/w
- copy new apk to system/app (overwriting the old one)
- change file permissions (use the same ones as the other files in system/app, user needs r/w)
- reboot (not always necessary)
- find the camera icon and enjoy
Pictures are now using JPegQuality 100% resulting in approx. triple image size (from 800KB to 2.4MB in my test image). I'am seeing a slightly increase in picture quality (less artifacts), but don't expect to much (for better results you would probably have to mod the camera driver)...
As you know have a blueprint, you can do it for other FW-versions yourself
Click to expand...
Click to collapse
Could you supply some samples? I'd just like to see whether the capturing of fine detail has improved a bit.
But if we already tweaking, can we port 2.3.4 camera apk to 2.3.3.
I asking because i dont want use 2.3.4...but i want use video recording Zoom
Cheers!
Taavi
Sent from my MT15i using Tapatalk
I will up some shots when i am back at home.
Regarding backporting:
1. Have you tried running the 2.3.4 apk on 2.3.3?
2. I have not tried it, but may be you can just switch framework libs to 2.3.3 just before doing the "apktool b".
Regards,
Frank
frank_harmann said:
I will up some shots when i am back at home.
Regarding backporting:
1. Have you tried running the 2.3.4 apk on 2.3.3?
2. I have not tried it, but may be you can just switch framework libs to 2.3.3 just before doing the "apktool b".
Regards,
Frank
Click to expand...
Click to collapse
Im already tryed....only force close.
Old camera im remove via adb and new pushed via adb...permussions set right and only force close
Sent from my MT15i using Tapatalk
Regarding quality here are some infos from jpegsnoop:
Original apk:
Code:
Filesize: [832205] Bytes
Approx quality factor = 86.93 (scaling=26.13 variance=1.22)
Compression stats:
Compression Ratio: 29.09:1
Bits per pixel: 0.83:1
Modded 100% apk:
Code:
Filesize: [2360386] Bytes
Approx quality factor = 96.95 (scaling=6.11 variance=1.09)
Compression stats:
Compression Ratio: 10.19:1
Bits per pixel: 2.36:1
BUT, the real problem in both files is this:
Code:
Chroma subsampling: 2x2
This means the native driver is using 2x2 chroma subsampling (regardless of compression level). I am not sure if it is possible to change this to 2x1 (like K800i or most digicams use). If it is possible it has to be done on driver level (though i tend to believe this is some hardware limitation).
Background: www#.#impulseadventure#.#com/photo/chroma-subsampling.html and www#.#impulseadventure#.#com/photo/jpeg-quality.html
Example pics to follow when i am back at home....
Hi frank,
As you said that 3 apk files, so i hope you can post them here so that people can just copy and paste them into /system/app and /system/framework
Sent from my MT15i using XDA App
Related
Hello,
I had asked how to make the background of System App transparent a couple of weeks ago here.
But Nobody can answer the way what exactly I want to do so I finally figure out how to make the background of System App transparent~~
This is including for Phone, Contacts, Messaging, Settings, Music, Alarms, Email, Calendar, Calculator, Sync, Media Server, Clock, Media Discovery, Setup Guide.
This is not including for Timescape, TrackID, Support.. I'm still investigating and will update for this...
It's actually not make the background of System app transparent.... show the wallpaper in the background of System app.
So if you change wallpaper, the background of System app also can be changed to your wallpaper~~~
When I modified style.xml just for the transparency, it's so confusing because the other app behind of System app.
This is based on Rooted LT15i 3.0.1.A.0.145 O2 so working for 145 based Rom. But I'm not sure it's working for LT15i_3.0.A.2.181 Rom.
--------------------------------------------------------------------------------------------------------
[GUIDE HOW TO]
I add the guide which xml and png is modified so it will be helpful for someone who use the other version ROM.
It's so simple if you already know how to inherit from the other in android.
For framework-res.apk, first of all decompile framework-res.apk
Step 1 : In \res\values\style.xml
Change this :
Code:
<style name="SEMCTheme" parent="@style/Theme">
to
Code:
<style name="SEMCTheme" parent="@style/Theme.Wallpaper">
Save and close
Step 2 : In \res\drawable-hdpi-v4\semc_bg.png
Open with photoshop and make semc_bg.png transparent
Step 3 : Compile framework-res.apk
For SemcGenericUxpRes.apk, first of all decompile SemcGenericUxpRes.apk
Step 1 : In \res\values\style.xml
Change this :
Code:
<style name="SEMCTheme" parent="@android:style/Theme">
to
Code:
<style name="SEMCTheme" parent="@android:style/Theme.Wallpaper">
Save and close
Step 2 : In \res\drawable-hdpi-v4\semc_bg.png and \res\drawable-land-hdpi-v4\semc_bg.png
Open with photoshop and make semc_bg.png transparent
Step 3 : Compile SemcGenericUxpRes.apk
For FBMediaDiscovery.apk, first of all decompile FBMediaDiscovery.apk
Step 1 : In \res\values\style.xml
Change this :
Code:
<style name="MediaUpdatesTheme" parent="@android:style/Theme">
to
Code:
<style name="MediaUpdatesTheme" parent="@android:style/Theme.Wallpaper">
Save and close
Step 2 : In \res\drawable-hdpi-v4\semc_bg.png
Open with photoshop and make semc_bg.png transparent
Step 3 : Compile FBMediaDiscovery.apk
--------------------------------------------------------------------------------------------------------
Please see the attached apk files.
Framework-res.apk and SemcGenericUxpRes.apk is for System Apps and should push under /system/framework/
FBMediaDiscovery.apk is for Media Discovery in 145 based rom and should push under /system/app
Looks good, I'll test it out when I get home.
hi rleon...
...thank you so much dude, i've been waiting for this mod everything works perfectly fine....i have just one small request: could you possibly include the CRT screen off animation, or the reboot options mod?
That's what has just come to my mind, it'd be great if you could include those....if not, it's actually awesome anyway
Great~ everything works fine for you...
As I know, CRT Screen off animation and reboot option already exists in the other thread...
If you wanna just one framework-res.apk file including all things, I will try but I'm not sure~~
Please give me a time~~
Hi rleon,
Could you please give a detailed list of items / files / folders you changed or altered?
I'm trying to make the system backgrounds invisible aswell however it seems folders have different names in .181
Thanks for the hard work tho!
For framework-res.apk and SemcGenericUxpRes.apk, 181 Rom is same.
framework-res.apk and SemcGenericUxpRes.apk should be located in the same folder which is under /system/framework/ so you can push these files under /system/framework/
And FBMediaDiscovery.apk is just for 145 based Rom so it may not be there in 181 Rom.
Please check whether there is FBMediaDiscovery.apk under /system/app ro not.
If not, you cannot push this file.
Hmm just tried to install them.. however I got a bootloop.
Anything special I should do while copying the files?
I think your 181 rom is different so it cannot be applied this apks.
I just compiled for 145 based rom...
I will update how to modify style.xml later so you can modify and compile for your 181 based rom by yourself....
That would be awesome, looking forward to it
I did a noob mistake and put it on my phone (3.0.1 UK) and now i can't change my wallpaper at all =\
can anybody upload me the original files for my firmware please???
This is good! My homedock, status bar and notification is already transparent and now I just added this too. Cool!
Sent from my LT15i using XDA Premium App
Is it Build 3.0.1.A.0.145 UK?? It should be working...
Currently my rom also Build 3.0.1.A.0.145 UK......
Thanks a lot for the guide! :-D
// Edit
However there doesnt seem to be a style.xml in my version hmmm interesting ;p!
meidan95 said:
I did a noob mistake and put it on my phone (3.0.1 UK) and now i can't change my wallpaper at all =\
can anybody upload me the original files for my firmware please???
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1052067
Damorisio said:
http://forum.xda-developers.com/showthread.php?t=1052067
Click to expand...
Click to collapse
sorry if it's a stupid question but what am I need to do with this link?
where did you find the "value" folder inside the res folder, i cant find it anywhere..Trying to edit it myself so that i can retain the crt sreen off as well as the reboot option.
Can't even find the value folder much less the style.xml
Sent from my LT15i using XDA Premium App
Since I changed my rom to HK 145 rom, I applied your work to my arc. It looked good and nice and worked very well. Great job. Thank you very much.
I followed the instructions for framework-res.apk and got a bootloop.
Couldn't even decompile SemcGenericUxpRes.apk, I got error messages.
I don't suppose anyone might have any idea why?
Is it possible to have it as a solid black background?
and does this work on Xperia Play?
===
Check camera ported from AMAZE 4G at first - it is much better!
===
NOTE! Only for people who know what he do. Please read below.
Tweaked HTCCamera.apk:
1. iso 1250 enabled
2. hdr enabled
3. panorama enabled
4. Resolution for 3D camera is increased to 2048x1152
5. Long Tap to screen makes photo
6. Front Camera 2MP unlocked (but I can't see any difference)
7. Front Camera auto enhance enabled
8. I think, it is not difficult to increase sound bitrate for example to 160/192k. But Is there any sense for it?
There is no option to choose 3D camera resolution, so you always will shoot 2048x1152 with this mod. To check if it works you can upload 3D photo to PC and check it's resolution. Should be:
w: 2048 x 2 (4096)
h: 1152
If you found a bug:
1. Reboot phone
2. Install and run android application "catlog", press "menu"->"Record"
3. Launch Camera and take video till camera FC
4. "catlog"->"menu"->"stop". Log file created in /sdcard/catlog_saved_logs/
5. email me with attached log file: [underscore]iga[underscore] at mail.ru or reply with attached log file in this post.
Method that I have used to install camera:
1. place it to /system/app/folder
2. EZ Explorer, select and press on file /system/app/htccamera.apk
3. install app
4. manage applications/camera/clear data
[Edited]
1. You probably will need to make system partition writable (gain rw access)
2. Link to camera disappears after installing. It is ok. Just remade link from ALL APPS
3. You probably will need to reboot your phone
4. You may try to fix permissions (via recovery or ROM Manager)
Tested only on:
HW: GSM EVO 3D HBOOT 1.007
SW: Virtuous Shooter 1.02, build.prop tweaked for 48MB per app heap.
Warning: I don't have problems with tweaked camera, but be careful! I'm posting camera "as is".
Link: http://www.multiupload.com/RJGK5UEQWI
If camera works as it should (2048x1152), please post/pm me to know. Many Thanks
Credits:
Thanks to m-deejay for great Virtuous Shooter ROM. His camera was taken for base, so Panorama mode and settings with video bitrate are from his ROM. Other tweaks were made by myself.
I can't deodex HTCCamera.apk from CDMA ROMs, so I was unable to take anything from it.
HW information for geeks:
--- 3D Resolution ---
Tried to set different resolutions more than 2048x1152 for 3D.
- 2176 x 1216 - libcameraLN.so says "invalid picture size"
- 2048 x 1536, 2560 x 1920 - mm-camera( 142): do_mmap: pmem mmap() failed: Out of memory (12).
HTCCamera use libcameraLN.so (2D library) for stereo capture.
There is also libcameraSP.so (3D library). It has similar API, but with 3D postfix in API.
--- Burst Mode ---
Burst mode can't be activated with current version of libcameraNP.so.
(If I activate it, I see in the log:
10-14 10:58:43.577 I/CameraService( 4017): enable Burst Mode
10-14 10:58:43.577 I/CameraService( 4017): request picture count 1 max_burst_count -1
10-14 10:58:43.577 E/CameraService( 4017): Invalid picture count: 1)
If anyone have idias or source code of libcameraNP, I will try to fix it.
i cant install it
ROM] Crypt0's RUU V.1.3
thy
hasbai said:
i cant install it
ROM] Crypt0's RUU V.1.3
thy
Click to expand...
Click to collapse
Try pushing it it via adb
have copy it with root explorer
now i have no camera
hasbai said:
have copy it with root explorer
now i have no camera
Click to expand...
Click to collapse
Check if your system partition is mounted for rw access.
1. Did you copied camera to right place ? (for Virtuous Shooter 1.02 it is /system/app/)
2. Did you successfuly installed it (with EZ or any other app)?
3. Link for camera after installing always disappear. Please check Camera in all applications and just remade link on desktop.
partition is mounted with root explorer /system/app/
igor.bezkrovny said:
Check if your system partition is mounted for rw access.
1. Did you copied camera to right place ? (for Virtuous Shooter 1.02 it is /system/app/)
2. Did you successfuly installed it (with EZ or any other app)?
3. Link for camera after installing always disappear. Please check Camera in all applications and just remade link on desktop.
Click to expand...
Click to collapse
hasbai said:
partition is mounted with root explorer /system/app/
Click to expand...
Click to collapse
How about other steps?
How about other steps?
ROM] Crypt0's RUU V.1.3,works for me.
I copied the modded Camera.apk to system/app,via RootExplorer
and then I choosed the same permissions for the new apk
such as in the old
Then did a reboot and no problems!
Ganii said:
ROM] Crypt0's RUU V.1.3,works for me.
I copied the modded Camera.apk to system/app,via RootExplorer
and then I choosed the same permissions for the new apk
such as in the old
Then did a reboot and no problems!
Click to expand...
Click to collapse
thanks for reply
witch permisions pls
hasbai said:
How about other steps?
Click to expand...
Click to collapse
I mean:
2. Did you successfuly installed it (with EZ or any other app)?
3. Link for camera after installing always disappear. Please check Camera in all applications and just remade link on desktop.
Do you see Camera in Menu->All Applications?
hasbai said:
witch permisions pls
Click to expand...
Click to collapse
With RootExplorer go to system/app,then long pressing the app
you have the option to see the permissions for the app.
Remember permissions,then replace the old app with the new
and change the permissions such as in the old.
Reboot and done.
have reboot
and my camera works again
but i dont be sure if its your camerqa app
hasbai said:
have reboot
and my camera works again
but i dont be sure if its your camerqa app
Click to expand...
Click to collapse
Can you launch Camera, switch to 3D and make photo. Than you can open last photo even from camera and press "Menu"->"Details".
Should be 2048x1152 for my camera and 1920x1080 for original Camera.
thy
its your camera
but i have nothing installed
only replaced and overwrited in system/app
and reboot
hasbai said:
have reboot
and my camera works again
but i dont be sure if its your camerqa app
Click to expand...
Click to collapse
At first post,there are tweaks described,which aren`t available
at original Camera.apk
Check original and compare with modded app
igor.bezkrovny said:
Can you launch Camera, switch to 3D and make photo. Than you can open last photo even from camera and press "Menu"->"Details".
Should be 2048x1152 for my camera and 1920x1080 for original Camera.
Click to expand...
Click to collapse
Yes,doing for me Now 2048x1152 at 3D photos.
---------- Post added at 09:22 PM ---------- Previous post was at 09:21 PM ----------
hasbai said:
thy
its your camera
but i have nothing installed
only replaced and overwrited in system/app
and reboot
Click to expand...
Click to collapse
That`s all,now it`s installed
Danke Ganii
It is working!!. 12points to the master !!!!
I just download and install... It works perfect on leedroid
Sent from PG86300
NEED ROOT!
Update: added ICS+5MP-based on original Arc S apk
Update: added GB apk - fixed 3mp preview width (was same as 16:9 instead of 4:3)
________________________________________________________________
Hi all,
I'm new to android and development and this is my first modded apk
After great thread on ray forum I tried to dig and try different settings.
this is my final version of the apk, I don't think that the quality can be improved any more without modifying camera lib files.
*In this version you will get more camera MP options:5MP 4:3,3MP 4:3(only in GB)
*All the bitmaps changed to ARGB_8888 for better quality.
*Tried to enable inPreferQualityOverSpeed and inDither to the bitmap
*APK icons changed to ICS icons(in GB version)
*Jpeg quality is 100%(In GB version, In ICS it configured via mediaprofiles.xml)
*video bit rate is 6Mbps(stock) - the best value in terms of quality\size
3 versions attached:
GB version(based on Ray's camera apk)
ICS-based on original Arc S apk.
ICS+5MP-based on original Arc S apk+ 5mp option.
The GB version works on my Ray -2.3.4 .58FW.
ENJOY!
NOTE: After days of checking-auto mode takes photos in very high ISO rating(even during sunny day , outdoor!) so try to use manual mode!
Portrait scene takes smother photos and Party scene is for indoor photos and it preffers lower ISO but lower shatter speed (1/16s~1/5s)- so hold still the phone to avoid blurry images
And please make comparison photo before replacing the apk!
Changing jpeg quality in media_profiles.xml:
original:
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
Click to expand...
Click to collapse
Change to:
<!ATTLIST ImageEncoding quality (100|90|80|70|60|50) #REQUIRED>
Click to expand...
Click to collapse
original
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
Click to expand...
Click to collapse
change to:
<ImageEncoding quality="100" />
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageDecoding memCap="50000000" />
Click to expand...
Click to collapse
Don't forget to Stop camera apk service before replacing it!
~~~~Try on your risk- I'm not responsible for any dmg!~~~~~
thanks to Larut for his first mod 100% jpeg
thanks to hansip87 4 the great thread- made me want to dig in the code!
thanks to charlesfu4 for uploading the original arc S ICS camera apk.
If you liked this thread- please hit "Thanks" button
Nice.. I'll try it bro.. thanks..
Edit: Oops.. only for gb. Can you provide apk for 562-ics? Thanks
Sent from my LT15i using xda premium
Is there any method to mod the ISO manually?
or the camera was just as everybody said,it's not capable to change ISO?
charlesfu4 said:
Is there any method to mod the ISO manually?
or the camera was just as everybody said,it's not capable to change ISO?
Click to expand...
Click to collapse
there is no support in camera driver(***sony)
I will mod ICS version in future if you confirm that the quality is improved.
It seemed that sony have solved the compression problem on ICS
But I just have some question: the photos are now ranged from 1.7-2.9mb on my xperia Arc S ICS ,how about yours(your cameraUI)?
I have once seen that the photos were 5.xmb on my 7MP's digital camera
so ICS still didin't totally solve the problems right?
charlesfu4 said:
It seemed that sony have solved the compression problem on ICS
But I just have some question: the photos are now range from 1.7-2.9mb on my xperia Arc S ICS ,how about yours(your cameraUI)?
I have once seen that the photos were 5.xmb on my 7MP's digital camera
so the photos on ICS still didin't totally solve the problems right?
Click to expand...
Click to collapse
its the same (2~3 mb)
Android sucks because Uncompressed jpeg not supported (jpeg 12 in photoshop or 120%)
and I wasnt able to save as png.
thank´s
I am interesting in this mod but i have ics.there i can testing if works. i wait for you try to do it in ics and afther i tell you how looks.thank´s.
WYNNIEPOOH said:
I am interesting in this mod but i have ics.there i can testing if works. i wait for you try to do it in ics and afther i tell you how looks.thank´s.
Click to expand...
Click to collapse
I need the framework files for the apktool to decode ics version
can U upload it? (2 files)
Xperia-Ray said:
I need the framework files for the apktool to decode ics version
can U upload it? (2 files)
Click to expand...
Click to collapse
OK what do you need?
semcCameraUI.apk and what's the other file?
here I attach the file~Arc S ICS official SemcCameraUI.apk(zip)
Hey guys ,if you want to restore your ics camera please change the files to xxx.apk
And substitute it for the one you installed in \system\app
charlesfu4 said:
OK what do you need?
semcCameraUI.apk and what's the other file?
here I attach the file~ICS official SemcCameraUI.apk(zip)
Click to expand...
Click to collapse
in GB it was framework-res and SemcGenericUxpRes- its in system/framework/
Xperia-Ray said:
in GB it was framework-res and SemcGenericUxpRes- its in system/framework/
Click to expand...
Click to collapse
don't you need the SemcCameraUI.apk??
and how can you posted your picture on imageshake??
it always appears you didn't login when i post on the forum
here i upload these two files~
Just installed. Test it tomorrow. Right now is night.
First impression, the app start up is faster.
Sent from my ST18i using Tapatalk
Update- ICS version added!(first post)- (based on hansip87 ICS modded apk- default bit-rate+5MP option) go to this thread to learn how to change JPEG Compression value in ICS!
since I don't have ICS I cant test it myself- try on your risk and share your findings(bugs?)
ICS USERS- Please post feedback! is the APK works??? I cant test it my self and it useless to continue modding the apk if no one approves if it works!(more then 10 downloads and no 1 post feedback if the apk works!)
I modded the original ARC camera apk - thanks to charlesfu4.
It works for Arc. I tried last night. I don't know if is there any difference btw modded version and stock one.
Pictures taken before and then after modding with ICS, only problem is it wouldnt let me install the ICS+5mp apk but i did mod the jpeg compression
Before Mod
After Mod
Just replaced with the modded one, startup more faster but FC when i go to change the resolution
Lancerfq said:
Pictures taken before and then after modding with ICS, only problem is it wouldnt let me install the ICS+5mp apk but i did mod the jpeg compression
Before Mod
After Mod
Click to expand...
Click to collapse
thanks 4 the feedback!
can you attach photos as ZIP? - I need to see the original size photo(you can upload here up to 11MB zip)
And I have noticed that the Before shot was at OFF scene (1/32s ISO 500) and the After shot was at Portrait scene (1/50s ISO 640) so its hard to compare.
Can you take the same photo at OFF scene again(like the Before shot)? - thanks!
and how are you installing the apk? via file explorer(copy/change permissions/replace) or regular apk installer?
ghekua said:
Just replaced with the modded one, startup more faster but FC when i go to change the resolution
Click to expand...
Click to collapse
FC =Force closed? if so- which version did you tried? on which FW?
nothing happended. working normally.
testing for image quality ^^
Warning: You can do this at your own risk. I am not liable etc etc etc..
I do not own these codes I just copied them or the first idea of modding the camera.
If I used your files or scripts without permission. Sorry. Just want to help.
As I was browsing through some topics here I came across this one by umangleekha (credits to his idea)
So what I did was flash the zip (yeah the image became clearer but the camcorder goes into force close!) so maybe the mod won't work on ICS rom (HepHappy's final rom)
So what I did is make some experimental adjustments (technical way of saying copy and paste ) of words and values from here to here.
After modifying the media_profiles.xml (which was the flash file in umangleekha's zip) still the stupid camcorder force closes.
Then with the idea of backporting omx libs. so why not backport some ideas from gingerbread too?!!
So i grabbed a stock rom from sweetnsour's list in here. and get the european version whatever that is. compared some files here and there and found some additions at the build.prop.
I added these to build.prop
made some changes as of 1/18/2013
Code:
#Image
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
#Image
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
# camera/camcorder options, [email protected]
ro.media.enc.hprof.file.format=mp4
ro.media.enc.hprof.codec.vid=h263
ro.media.enc.hprof.codec.aud=aac
ro.media.enc.hprof.vid.width=640
ro.media.enc.hprof.vid.height=480
ro.media.enc.hprof.vid.fps=24
ro.media.enc.hprof.vid.bps=300000
ro.media.enc.hprof.aud.bps=96000
ro.media.enc.hprof.aud.hz=16000
ro.media.enc.hprof.aud.ch=1
ro.media.enc.hprof.duration=60
ro.media.enc.lprof.file.format=3gp
ro.media.enc.lprof.codec.vid=m4v
ro.media.enc.lprof.codec.aud=amrnb
ro.media.enc.lprof.vid.width=176
ro.media.enc.lprof.vid.height=144
ro.media.enc.lprof.vid.fps=15
ro.media.enc.lprof.vid.bps=256000
ro.media.enc.lprof.aud.bps=12200
ro.media.enc.lprof.aud.hz=8000
ro.media.enc.lprof.aud.ch=1
ro.media.enc.lprof.duration=30
ro.media.enc.file.format=3gp,mp4
ro.media.enc.vid.codec=m4v,h263
ro.media.enc.aud.codec=amrnb,aac
ro.media.enc.vid.h263.width=176,640
ro.media.enc.vid.h263.height=144,480
ro.media.enc.vid.h263.bps=64000,6000000
ro.media.enc.vid.h263.fps=1,30
ro.media.enc.vid.m4v.width=176,640
ro.media.enc.vid.m4v.height=144,480
ro.media.enc.vid.m4v.bps=64000,2000000
ro.media.enc.vid.m4v.fps=1,24
ro.media.enc.aud.amrnb.bps=5525,12200
ro.media.enc.aud.amrnb.hz=8000,8000
ro.media.enc.aud.amrnb.ch=1,1
ro.media.enc.aud.aac.bps=
ro.media.enc.aud.aac.hz=
ro.media.enc.aud.aac.ch=
ro.media.dec.aud.wma.enabled=0
ro.media.dec.vid.wmv.enabled=0
ro.media.cam.preview.fps=0
ro.media.enc.jpeg.quality=100,90,80,70,60,50
the #image is from a increase your image jpg blah blah
and modify the media_profiles.xml (see attachments)
Code:
As of today 1-18-2012 I decompiled the camera apk, and set the exposure's default to 2! At the xml file. Forgot the exact name. IT WORKS! everytime I open the camera, no need to set it before taking a shot. :) only, it dont work on other cam app like pro capture.
]>
and i think it worked. from 500kb (image size) it goes to 1mb+ for images the (video is crappy though) awesome now? i think
if anyone can create an flashable zip from these it would be awesome!
test too if the image is better
THE ATTACHMENT IS NOT A FLASHABLE ZIP!
it only contains the build.prop and media_profiles.xml
you can copy replace the files using any root browser then make necessary permission adjustments.
Test if this is works.
Hey where to copy mediaprofile file?
Sent from my LG-P500 using xda premium
/etc folder rename the old media profile to media_profiles.xml.backup incase anythng goes wrong
Sent from my LG-P500
its risky i guess ?
fresyk said:
its risky i guess ?
Click to expand...
Click to collapse
Not really. Just incase you dont want the output. You can revert back
Sent from my LG-P500
Works great!
Sent from my LG-P500 using xda premium
this is good if we are assuming that poor image quality depends only on the resolution.
is that the case?
i think something different should be changed.
Just a couple of days ago I've watched my old GB photos. Completely different from ICS ones.
FD1999 said:
Lol, you've 'stolen' the second code from LG Everybody does that
However, even works on my Neo V
Click to expand...
Click to collapse
Really?, it work on p500??
I'm currently trying possible combinations and best setting.
Progress. Got a better audio but pixelated video. With 640x480 res @12fps (details on window)>.>
I'll upload some picture and video from stock ICS rom of hephappy (without tweaks ofcourse) and with the modded one.
One lesson learned. Modifying and restarting phone is tiresome. :banghead:
Sent from my LG-P500
how can I copy these files to the selected folders ?! i couldn't copy them via Root Browser of ROM Toolbox Pro.
SzilagyiTibi said:
how can I copy these files to the selected folders ?! i couldn't copy them via Root Browser of ROM Toolbox Pro.
Click to expand...
Click to collapse
You can extract the zip. Then paste the media one at /etc folder and the build.prop at /system
Sent from my LG-P500
does it work on 4.1.2, Jelly Bean too ?
Sent from my LG Optimus One using XDA app.
testing, it works for my device and no crash met so far
It looks so f**king fine
Sent from my LG-P500 using xda app-developers app
If you are using googlecamera or for example miui camera or any camera app other than Htc stock camera you will notice that maximum video resulution is 352x288. I edited media_profiles.xml so now max resolution will be 720x480. For those who like 800x480 there is mod too.
Just download file and place it in system/etc, just backup old media_profiles in cease to restore it.
This is not flasable zip. Extract it and copy to system/etc