[MOD] Increase Camera Audio/Video/Image Quality [Updated - 18th Dec 2012] - Nexus 4 Android Development

Hey everyone!
First and Foremost, DO A NANDROID BACKUP!!!!! I am not responsible for any mistakes that you make or if anything happens to your phone.
Seeing that some users are complaining about the noise present in the video recordings, I've been able to increase the video bitrate to 20mbps.
Here's how to do it.
Using a file browser (like root explorer/es file explorer etc) go to the /system/etc folder
Make sure your system is mounted RW
Search for the media_profiles.xml file and open it up in any text editor
Once you scroll down you will see the following:
Code:
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
Change the bitRate from 12000000 to 20000000
Save, make sure permissions are rw-r--r-- and then reboot.
I have tested this and it works perfectly.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have not messed around with anymore settings yet, will be doing so next weekend. I'm kinda busy with finals week so if you all want, you can try changing other settings and report back your findings!
Note that all the details under <CamcorderProfiles cameraId="0"> are for the rear camera and the ones under <CamcorderProfiles cameraId="1"> are for the front facing camera.
Hope this can inspire more findings and more ways to make the image and video quality better! :good:
Update
Here are some flashable zips. I have tested them and they are working fine.
Stock
Increase 1080p video bitrate to 20mbps
I will be testing tocirahl's findings and adding flashable zips for those MODs soon.
Update 2 (18th Dec 2012)
Here is another flashable zip with the following additions:-
Both 1080p and 720p audio bitrate has been boosted to 288k (this is the max for now)
Both 1080p and 720p audio channels have been changed from 1(mono) to 2(stereo). [NOTE: I can't confirm whether this is useful as on testing, it seems like a very small increase in quality but that could be a placebo. However, I have still added it]
1080p video bitrate has been boosted to 20mbps (this is the max that is can go for now)
720p video bitrate has been boosted to 12mbps (this is the max that is can go for now)
All the above has been changed for both the regular 720p and 1080p videos and the time lapse 720p and 1080p videos.
Image Decoding Memory Cap has been doubled from 20mb to 40mb. (Image quality seems to have become slightly better)
Download Here
NOTE: All these MODs will increase the file size of the videos and images.
Thanks a lot to the following users for their findings:-
0.0
cguru
a5ehren
IAmAN00bie
terr
If this is in the wrong section, please could one of the MODs move it? Thanks and sorry for the inconvenience!

This does indeed work, many thanks!

<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
Click to expand...
Click to collapse
What about changing bitRate under audio to something like 320000? Would that make it 320kbs and improve audio?
How about changing channels from 1 to 2 (I assume 2 channels means stereo?)
Also, you picked 20Mbps bitrate for video... can we go higher than this, or is this the limit?
Thanks.

sparky_boi said:
What about changing bitRate under audio to something like 320000? Would that make it 320kbs and improve audio?
How about changing channels from 1 to 2 (I assume 2 channels means stereo?)
Also, you picked 20Mbps bitrate for video... can we go higher than this, or is this the limit?
Thanks.
Click to expand...
Click to collapse
I haven't tried any of those yet. I have my finals this week, so I'll be testing all possible options on the weekend and updating the OP accordingly.
However, technically they should work, but can't say for sure.
For the video bitrate, I remember the Sensation could go upto 40mbps, so I guess we could try increasing it and seeing how far it could go..
Just thought I'll put this out so that others can play around with the numbers and find ways to make the camera better.

If you look at the bottom of the file, it looks like the maximum audio rate you can get is 288000
Changing Channels to 2 seems to do nothing, but I can confirm that the audio goes up to 284k (288000)
Best I can tell, any number above 20000000 breaks Gallery.
Also, this might be placebo effect, but I definitely feel like I'm getting better quality images by changing the three <ImageEncoding quality="" /> lines to 100, 95, 80 and changing memCap to 40000000 (doubling it)
EDIT: There seems to be a very small increase in quality from changing the ImageEncoding lines, especially in HDR mode. I'll see if I can get some outdoor shots later.

tocirahl said:
If you look at the bottom of the file, it looks like the maximum audio rate you can get is 288000
Changing Channels to 2 seems to do nothing, but I can confirm that the audio goes up to 284k (288000)
Best I can tell, any number above 20000000 breaks Gallery.
Also, this might be placebo effect, but I definitely feel like I'm getting better quality images by changing the three <ImageEncoding quality="" /> lines to 100, 95, 80 and changing memCap to 40000000 (doubling it)
EDIT: There seems to be a very small increase in quality from changing the ImageEncoding lines, especially in HDR mode. I'll see if I can get some outdoor shots later.
Click to expand...
Click to collapse
Could you make a flashable ZIP with the working maximum? I've changed the values and after a reboot I've got a bootloop. Maybe it works with a flashable ZIP?

Something went wrong!
I tried this. Follow the instructions carefully, but when I did a restart the phone got stuck on the Android logo.

Qbancelli said:
I tried this. Follow the instructions carefully, but when I did a restart the phone got stuck on the Android logo.
Click to expand...
Click to collapse
Did you backup? And if not you need to flash another rom
Sent from my Nexus 4 using xda app-developers app

Haha! I actually did the same thing on my Nexus 4 today. This media_profiles.xml mod is very common. The GNexus also had it.
The first thing I did after rooting my N4 was to edit the media_profiles.xml file

Hi, I wanted to know if using this method it is possible to increase from 30 to 60 fps for 720p resolution.
thanks
greetings
Simone

lovelymobile said:
Hi, I wanted to know if using this method it is possible to increase from 30 to 60 fps for 720p resolution.
thanks
greetings
Simone
Click to expand...
Click to collapse
I tried but it just crashes the camera interface

Editing myself resulted in a lot of weird issues, no bootloop, but I lost the ability to choose camera resolution settings (720p/1080p), and it FC on change to front camera.
Will await someone with more skill to release some user friendly mods for the camera.

elliot.newnham said:
This does indeed work, many thanks!
Click to expand...
Click to collapse
No problem!
tocirahl said:
If you look at the bottom of the file, it looks like the maximum audio rate you can get is 288000
Changing Channels to 2 seems to do nothing, but I can confirm that the audio goes up to 284k (288000)
Best I can tell, any number above 20000000 breaks Gallery.
Also, this might be placebo effect, but I definitely feel like I'm getting better quality images by changing the three <ImageEncoding quality="" /> lines to 100, 95, 80 and changing memCap to 40000000 (doubling it)
EDIT: There seems to be a very small increase in quality from changing the ImageEncoding lines, especially in HDR mode. I'll see if I can get some outdoor shots later.
Click to expand...
Click to collapse
Awesome! I'll try these out before making a flashable zip for them.
Thanks for the info! :good:
s60mike said:
Could you make a flashable ZIP with the working maximum? I've changed the values and after a reboot I've got a bootloop. Maybe it works with a flashable ZIP?
Click to expand...
Click to collapse
Qbancelli said:
I tried this. Follow the instructions carefully, but when I did a restart the phone got stuck on the Android logo.
Click to expand...
Click to collapse
Added a flashable zip in the OP.
Not sure why you are getting a bootloop. Did you set the permissions to rw-r--r--?
eRajesh said:
Haha! I actually did the same thing on my Nexus 4 today. This media_profiles.xml mod is very common. The GNexus also had it.
The first thing I did after rooting my N4 was to edit the media_profiles.xml file
Click to expand...
Click to collapse
Haha yeah its quite common. I had it in the Desire HD and Sensation threads as well!
Audioboxer said:
Editing myself resulted in a lot of weird issues, no bootloop, but I lost the ability to choose camera resolution settings (720p/1080p), and it FC on change to front camera.
Will await someone with more skill to release some user friendly mods for the camera.
Click to expand...
Click to collapse
I'm not having any weird issues. I never released any MOD without making sure that its working as intended.
I've added a flashable zip in the OP. Try that.
Added one for going back to the stock settings as well, just in case users are having issues.
Will be adding more MODs as and when I get time to test them fully.

mohit1234 said:
No problem!
Awesome! I'll try these out before making a flashable zip for them.
Thanks for the info! :good:
Added a flashable zip in the OP.
Not sure why you are getting a bootloop. Did you set the permissions to rw-r--r--?
Haha yeah its quite common. I had it in the Desire HD and Sensation threads as well!
I'm not having any weird issues. I never released any MOD without making sure that its working as intended.
I've added a flashable zip in the OP. Try that.
Added one for going back to the stock settings as well, just in case users are having issues.
Will be adding more MODs as and when I get time to test them fully.
Click to expand...
Click to collapse
Hi Mr. Developer ,
Do I need to edit xml iles after i flashed that one? thanks.

hatyrei said:
Hi Mr. Developer ,
Do I need to edit xml iles after i flashed that one? thanks.
Click to expand...
Click to collapse
Nope, no need to edit any files!

Maybe future releases include possibility to record stereo instead of mono...

mohit1234 said:
Added a flashable zip in the OP.
Not sure why you are getting a bootloop. Did you set the permissions to rw-r--r--?
.
Click to expand...
Click to collapse
No, I don't think I did.
I'm going to try flashing it now.

Qbancelli said:
No, I don't think I did.
I'm going to try flashing it now.
Click to expand...
Click to collapse
Trust me You would know if you set permissions or not..
Sent from my Nexus 4

At least give me the credits for finding this out....
http://forum.xda-developers.com/showthread.php?t=2038651
nice work btw :good:

enyceckk said:
At least give me the credits for finding this out....
http://forum.xda-developers.com/showthread.php?t=2038651
nice work btw :good:
Click to expand...
Click to collapse
If I see someone telling "give me credit for..." he can be sure I wont do this.
Media profile xml editing is well known and I did this in several phones. Nothing spectacular...
Sent from my Nexus 4 using Tapatalk 2

Related

[Q][DEV] camera mod for recording full hd -30fps? and activate autofocus in video?

Is it possible to make "mod" for camcorder to record full hd - 30fps ( now is 24fps) ?
and activate autofocus in video recording?
Another good mod would be to rise the encoding bitrate of the videos. It is definitely too low. Cam quality is good enough to get much higher quality videos, but a huge part of this is lost during compression, especially if there is a lot of movement on the screen.
Riemen said:
Another good mod would be to rise the encoding bitrate of the videos. It is definitely too low. Cam quality is good enough to get much higher quality videos, but a huge part of this is lost during compression, especially if there is a lot of movement on the screen.
Click to expand...
Click to collapse
Yeah the .3gp isn't the best compression i would of thought for 1080p, but the video quality is still very good.
Do you think you will see the difference if you get the extra few fps?
1. theres no need for recording video at 30 fps instead of 24 - 30 fps doesnt make it look any better only more difficult for the sd card to handle thus giving a higher risk for stutter.
2. .3gp is not a compression format and have no influence on quality. .3gp are simply a container, just like .mkv or .mp4 is - it makes no difference to the recording quality which container is used. The video compression does, and this is done in H264, just like HDTV and Bluray - and if you dont like the .3gp container when recordings are moved to the PC (allthough it plays just the same as any other container using the same filters that plays .mp4) then you could simply remux it to another container of your choice, like .mkv or .mp4 without altering the video inside in any way.
no offence - but modding to be able to record at 30fps or into an mp4 container instead of 3gp are kinda waste of time.
The only advantage you could possibly get from recording at 30fps instead of 24 would be less stutter if you have to view it on a tv that doesnt support 24p (for instance a US 60hz tv) - but most modern TV's today are prepared for bluray playback and thus support 24p (which bluray also use)
NEW [Q] Is it possible to activate autofocus in video recording ?
as in sgs2 http://www.youtube.com/watch?v=bK03FWztkHM ?
http://www.youtube.com/watch?v=UWh9QHCRdZg
sgs1 http://www.youtube.com/watch?v=vyIwqIJGKAU
Omg I want!! (AutoF)
Sent from my LG-P990 using XDA Premium App
Auto focus +1
Sent from my LG-P990 using XDA App
Riemen said:
Another good mod would be to rise the encoding bitrate of the videos. It is definitely too low. Cam quality is good enough to get much higher quality videos, but a huge part of this is lost during compression, especially if there is a lot of movement on the screen.
Click to expand...
Click to collapse
I agree, would be appropriate to raise the bitrate in 1080p video recording and in 720p video recording.
And activate Autofocus
sorry for my English
These things you ask, are they possible? If so, why hasn't lg done it?
spawndk said:
1. theres no need for recording video at 30 fps instead of 24 - 30 fps doesnt make it look any better only more difficult for the sd card to handle thus giving a higher risk for stutter.
Click to expand...
Click to collapse
24fps pretty much suck. Too much stuttering. No way anyone* would prefer 1080p @ 24fps quality over 720p @ 30fps
*overstatement.. just trying to make a point.
spawndk said:
1. theres no need for recording video at 30 fps instead of 24 - 30 fps doesnt make it look any better only more difficult for the sd card to handle thus giving a higher risk for stutter.
2. .3gp is not a compression format and have no influence on quality. .3gp are simply a container, just like .mkv or .mp4 is - it makes no difference to the recording quality which container is used. The video compression does, and this is done in H264, just like HDTV and Bluray - and if you dont like the .3gp container when recordings are moved to the PC (allthough it plays just the same as any other container using the same filters that plays .mp4) then you could simply remux it to another container of your choice, like .mkv or .mp4 without altering the video inside in any way.
no offence - but modding to be able to record at 30fps or into an mp4 container instead of 3gp are kinda waste of time.
The only advantage you could possibly get from recording at 30fps instead of 24 would be less stutter if you have to view it on a tv that doesnt support 24p (for instance a US 60hz tv) - but most modern TV's today are prepared for bluray playback and thus support 24p (which bluray also use)
Click to expand...
Click to collapse
agree everything... but i also think that an higher bitrate would be a good choice, reading around, who uses lgcamer, and gets higher bitrate has much better results...
it would be good to get it higher a pair o mbit on fullhd and 3 or 4 in 720p
they say that lgcamera has audio volume problems...
so it would be good to mod the original camera software bitrate...
i think we wouldn't have performance problems... higher bitrate means also lesser compression, so less work for cpu (but higher for sd cards.... but a 14mbit bitrate is enough for a class2 sdcard...)
up for autofucus
Riemen said:
Another good mod would be to rise the encoding bitrate of the videos. It is definitely too low. Cam quality is good enough to get much higher quality videos, but a huge part of this is lost during compression, especially if there is a lot of movement on the screen.
Click to expand...
Click to collapse
It's pretty easy actually, just change the media_profiles.xml file. I upped the bitrate to 20mbit/s for 720p compared to the 7mbit/s that's std(cm7). I find it quite a bit better.
I guess I can upload it as a zip if ppl dont wanna fuddle around with adb?
Okay, that shouldn't be that difficult to do, I mean bigger bitrate.
I managed to decompile Camera.apk and I am seeing this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
which seems that if edited, rebuilt and pushed back to phone could improve video quality. However I'm not experienced dev so if someone could try to help me or give me a hint how to compile it back and push to phone again, I could try it and see what happens
.:george:. said:
Okay, that shouldn't be that difficult to do, I mean bigger bitrate.
I managed to decompile Camera.apk and I am seeing this:
which seems that if edited, rebuilt and pushed back to phone could improve video quality. However I'm not experienced dev so if someone could try to help me or give me a hint how to compile it back and push to phone again, I could try it and see what happens
Click to expand...
Click to collapse
No,no, you just need to change media_profiles.xml. I'll throw up a mod for CM7 in a few mins. It also enables 1080p recording(at 15fps, though).
EDIT: Oh, you're talking 2.2 stuff, sorry. Yeah, I have no idea.
Playing around with the media_profiles.xml didnt have any effects for me with videos, this has to be done in the camera app itself im guessing since lg doesnt use the stock camera app for froyo.
-smc
somemadcaaant said:
Playing around with the media_profiles.xml didnt have any effects for me with videos, this has to be done in the camera app itself im guessing since lg doesnt use the stock camera app for froyo.
-smc
Click to expand...
Click to collapse
That's a shame. Tried a 3rd party camera app?
No i prefer LG stock to be honest, ill have a poke around what George found above., should be easy enough fingers crossed.
-smc
somemadcaaant said:
No i prefer LG stock to be honest, ill have a poke around what George found above., should be easy enough fingers crossed.
-smc
Click to expand...
Click to collapse
cool, please let us know how it goes. Would like to see what kind of bitrates tegra is capable of with [email protected]
sgs2 is doing up towards 20mbit/s, so it's not surprising that it looks better than ox2 which is 9mbit/s.
somemadcaaant said:
No i prefer LG stock to be honest, ill have a poke around what George found above., should be easy enough fingers crossed.
-smc
Click to expand...
Click to collapse
Good luck with that Honestly hoping you'll be more successful than I was.
Tried to decompile it with APKtool and recompiled again but dont know how to get it to work in phone since it is a system app.
Any hints are appreciated
with root explorer, i think you can delete/replace the original apk.

[DEV] Possibility of h264 720p high profile playback on Tegra2 -EDIT

Currently, tegra2 devices have problem on h264 playback.
But, Optimus 2x updated their firmware and enabled it.
I am using Atrix and wanted to play h264 on my phone.
Of course DICE player can hardware accelerate it but not by streaming flash.
And other players still have problem.
I did a test on several movies and found a interesting thing.
High profile movies are not really different from baseline profile movies.
Here's some example.
http://dl.dropbox.com/u/52685869/CES-News First Look on Samsung Galaxy Tab 11.6.mp4
http://db.tt/ULTADHdo
These two files are exactly same movie file exept profile info on file's header.
(I didn't reencoded it!)
I've downloaded this from youtube and just changed the movie file.
So upper one is just a copy of youtube 720p h264 high profile,
and bottom one is same file except I modified profile info to baseline.
If you play upper one from tegra device, it says file cannot be hardware accelerated or not supported.
But, bottom one can be hardware acceerated and played on android stock player.
So the idea is, if we can change the profile detection method of android,
tegra2 will try to support hardware accelrate on more files.
Maybe even youtube 720p can be streamed on tegra2!
I've searched through android source and found this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is from https://github.com/Atrix-Dev-Team/a...gingerbread/media/libstagefright/OMXCodec.cpp
Since I am completely out of programming things,
I can't modify these codes. But somebody should be able to do this.
Help me please!
EDIT- Adding method what I tried on changing profile.
I used HEX editor, HxD to modify movie file's profile.
You can get it form here : http://mh-nexus.de/en/downloads.php?product=HxD
1. Open the h264 file on HxD
2. Press Ctrl + F and search for 'avcc'
3. You will see like this.
4. You can find '64 00 1F' near from digits of 'avcc'.
※ 42 E0 – for Baseline Profile
4D 40 – for Main Profile
58 A0 – for Extended Profile
64 00 - for High Profile
1F (31 in dec) is level 3.1
29 (41 in dec) is level 4.1
33 (51 in dec) is level 5.1
So the '64 00 1F' means 'High profile 3.1'
5. Change the '64 00' to '42 E0'
6. Save the file. (HxD automaticaly creates backup file. So you have to disable it in setting if you don't want.)
So you can test this method for your own movie file.
But I hope someone make some edit on android source for this so everyone can enjoy it.
You are awesome!
Interesting.. Dice is the only player that plays it in hw mode. Doesn't play at all in android player for me.
Still hw accelerated playback for mp4 if cool.
Sent from my MB860 using XDA App
sorry. I posted wrong file.
Changed it
Sent from my MB860 using XDA App
have you guys tried MX video player? dual-core HW acceleration, for Tegra2.
dLo GSR said:
have you guys tried MX video player? dual-core HW acceleration, for Tegra2.
Click to expand...
Click to collapse
It is just too fast for me
Once again you come up with a cool mod Thank you.
Sent from my MB860 using Tapatalk
awsome work.....thanks once more....
btwn,, mx video player has got some good playback ablities. i usually decode video using hardware and ac3 or other unsupported audio codecs with s/w decoder. thanks to the dev....
Heads up
@OP
I realise that you must be spending a lot of time 'finding' things when you make these mods.
Do you use 'Examdiff Pro?' It's an awesome tool that compares two files and highlights all the edited files. Clicking on the edited files will open the .txt/.xml/etc and all changes will be highlighted either side.
There's a 30 day trial, but it's absolutely awesome IMO.
It's worth at least a look.
@Notorious: there're a log of diff tools out there, see http://en.wikipedia.org/wiki/Comparison_of_file_comparison_tools
Is ExamDiff Pro the best you can find to compare binary files?
dLo GSR said:
have you guys tried MX video player? dual-core HW acceleration, for Tegra2.
Click to expand...
Click to collapse
You will see that even MX player can't accelerate my file.
You can try!
And flash video steaming will be better if we can change profile detection of android.
Sent from my MB860 using XDA App
Notorious544d said:
@OP
I realise that you must be spending a lot of time 'finding' things when you make these mods.
Do you use 'Examdiff Pro?' It's an awesome tool that compares two files and highlights all the edited files. Clicking on the edited files will open the .txt/.xml/etc and all changes will be highlighted either side.
There's a 30 day trial, but it's absolutely awesome IMO.
It's worth at least a look.
Click to expand...
Click to collapse
Thanks. I'll try that
Sent from my MB860 using XDA App
So no one can help with this?
That's disappointing...
I'm tring to modify source but just ends with compile error on Ubuntu.
Need help of people who can do some *programming*
Sent from my MB860 using XDA App
Very nice developement, sadly i have no real programming skills either, so no idea how to help with this. Do you know how the optimus supports high profile (i mean as to what method they used)?
nice findings! I've tried it and able to play hd videos on my atrix..
p/s: can't we just do modification like this to the code?
Code:
static const char *AVCProfileToString(uint8_t profile) {
switch (profile) {
case kAVCProfileBaseline:
return "Baseline";
case kAVCProfileMain:
return "Baseline";
case kAVCProfileExtended:
return "Baseline";
case kAVCProfileHigh:
return "Baseline";
case kAVCProfileHigh10:
return "Baseline";
case kAVCProfileHigh422:
return "Baseline";
case kAVCProfileHigh444:
return "Baseline";
case kAVCProfileCAVLC444Intra:
return "Baseline";
default: return "Unknown";
}
}
I'm not a programmer, but there is a camera.apk mod out there for the optimus 2x, maybe this is a place to start/port for atrix?
http://android.modaco.com/topic/343...tchen/page__st__2560__p__1849807#entry1849807
I can playback 720p and 1080p .mp4s on my Motorola Atrix 4G without the slightest problem at all. If you interested in exactly how to do this I can show you how. The only problem is on cm7 roms u can't send 1080p to a tv via hdmi yet. If your running a blur rom with the 1080p hdmi landscape mod you could watch intensely unbelievably high quality 1080p bluray quality .mp4 files from your phone. It can handle like 20Mbps or more I think. The only limitation is the FAT32 Filesystem limit. So your movies will be limited to 4GB however they look f*ing insane anyway and your playing them back on your phone! I love blowing away my friends with my phone. The motorola atrix is an F*ing POWERHOUSE!
Later
*BY THE WAY* If your interested I can upload a short clip of 1080p that can be played back beautifully in HW using MX Video Player. Please let me know how blur rom's work via hdmi to TV with the 1080p landscape mod! That would blow my damn mind if I could use my phone as a BluRay player. It sucks CM7 is limited to portrait 960x540 over hdmi. Also the FAT32 limit isn't so bad because if u have a 32GB Class 10 SD Card like me, you can put a couple stunning full length 1080p blurays at 4GB a piece. The main limit is in the bitrate because of the 4GB limit. If a 64GB class 10 comes out I'd jump on it. Also when are we going to upgrade to "Today's standards" as NTFS format on Android. Is it a linux limitation for FAT32 or something?
CYA
crnkoj said:
Very nice developement, sadly i have no real programming skills either, so no idea how to help with this. Do you know how the optimus supports high profile (i mean as to what method they used)?
Click to expand...
Click to collapse
I don't know either.
I think they used similar way or patched their driver to nvidia newest one.
I saw several changes from nvidia git.
akmalhisyam said:
nice findings! I've tried it and able to play hd videos on my atrix..
p/s: can't we just do modification like this to the code?
Code:
static const char *AVCProfileToString(uint8_t profile) {
switch (profile) {
case kAVCProfileBaseline:
return "Baseline";
case kAVCProfileMain:
return "Baseline";
case kAVCProfileExtended:
return "Baseline";
case kAVCProfileHigh:
return "Baseline";
case kAVCProfileHigh10:
return "Baseline";
case kAVCProfileHigh422:
return "Baseline";
case kAVCProfileHigh444:
return "Baseline";
case kAVCProfileCAVLC444Intra:
return "Baseline";
default: return "Unknown";
}
}
Click to expand...
Click to collapse
I thought about that.
But I can't test it because my Ubuntu just giving me some error while compiling.
Anyway thanks for you reply.
SirFork said:
I'm not a programmer, but there is a camera.apk mod out there for the optimus 2x, maybe this is a place to start/port for atrix?
http://android.modaco.com/topic/343...tchen/page__st__2560__p__1849807#entry1849807
Click to expand...
Click to collapse
It is not a OS level modification.
Maybe atrix's camera app can be modified like it too.
I think it is not really difficult.
But thanks for your information.
1chris89 said:
I can playback 720p and 1080p .mp4s on my Motorola Atrix 4G without the slightest problem at all. If you interested in exactly how to do this I can show you how. The only problem is on cm7 roms u can't send 1080p to a tv via hdmi yet. If your running a blur rom with the 1080p hdmi landscape mod you could watch intensely unbelievably high quality 1080p bluray quality .mp4 files from your phone. It can handle like 20Mbps or more I think. The only limitation is the FAT32 Filesystem limit. So your movies will be limited to 4GB however they look f*ing insane anyway and your playing them back on your phone! I love blowing away my friends with my phone. The motorola atrix is an F*ing POWERHOUSE!
Later
*BY THE WAY* If your interested I can upload a short clip of 1080p that can be played back beautifully in HW using MX Video Player. Please let me know how blur rom's work via hdmi to TV with the 1080p landscape mod! That would blow my damn mind if I could use my phone as a BluRay player. It sucks CM7 is limited to portrait 960x540 over hdmi. Also the FAT32 limit isn't so bad because if u have a 32GB Class 10 SD Card like me, you can put a couple stunning full length 1080p blurays at 4GB a piece. The main limit is in the bitrate because of the 4GB limit. If a 64GB class 10 comes out I'd jump on it. Also when are we going to upgrade to "Today's standards" as NTFS format on Android. Is it a linux limitation for FAT32 or something?
CYA
Click to expand...
Click to collapse
Would you tell me how can we play HD files on Atrix?
It would be so great to do like that without reencode.
It is the final goal of this thread.
Sure. Yes. No need to do any development. The atrix is fully capaple of decoding some jaw dropping stunning and unbelievable 1080p BluRay quality movies without any problem at all. It can also carry over DTS 5.1 to your receiver if you want. Ok so the key to decoding 1080p on the attrix lies within Xilisoft Video Converter Ultimate (I'm using Version 6.0). I can tell you exactly what profile and settings to use. What I want to do is upload a clip of 1080p footage so u guy's can have your minds blown by it. It can be decoded with MX Video Player without a problem @ 1920x1080 @ 20Megabits or more. However the FAT32 filesystem 4GB limit limits a typical full length BluRay to 3Mbps. Which honestly look f*ing insane still! I'm trying to find a way to upload a file on here. What's the file size limit? Like 10MB max or something?
Later
*I UPLOADED THE 1080P BLURAY SAMPLE CLIP* YAY ;P
1chris89 said:
Sure. Yes. No need to do any development. The atrix is fully capaple of decoding some jaw dropping stunning and unbelievable 1080p BluRay quality movies without any problem at all. It can also carry over DTS 5.1 to your receiver if you want. Ok so the key to decoding 1080p on the attrix lies within Xilisoft Video Converter Ultimate (I'm using Version 6.0). I can tell you exactly what profile and settings to use. What I want to do is upload a clip of 1080p footage so u guy's can have your minds blown by it. It can be decoded with MX Video Player without a problem @ 1920x1080 @ 20Megabits or more. However the FAT32 filesystem 4GB limit limits a typical full length BluRay to 3Mbps. Which honestly look f*ing insane still! I'm trying to find a way to upload a file on here. What's the file size limit? Like 10MB max or something?
Later
Click to expand...
Click to collapse
You can upload it to dropbox and link it to here.
Or use multiupload.
Edit- Wait, so what you want to say is.....reencoding?

[REQ] Camera Mod ?

Hi, i've got the Xperia Z and i'm disappointed about the camera quality.. Pictures seems to be compressed and light size... Is there any issue ? Thanks?
slipknot512 said:
Hi, i've got the Xperia Z and i'm disappointed about the camera quality.. Pictures seems to be compressed and light size... Is there any issue ? Thanks?
Click to expand...
Click to collapse
Honestly pictures are quite nice in my opinion, anyway Krabappel has made a little mod in his ROM and the quality is higher
http://forum.xda-developers.com/showthread.php?t=2175903
Maybe he could post a file or something to apply this settings in other ROMs, but it's up to him...
hope someone would make this mod too, usually in some phones the mod is just a modded camera.apk in others was a modded xml... i hope someone could make a rom-independent mod, cause i'm fine with rooted stock rom
I take it that you don't like soft images? Anyway, we know the potential of Sony rs sensor, we just need Sony to tweak the camera to match the sensor potential.
Sent from my XZeenator
vainqueur said:
I take it that you don't like soft images? Anyway, we know the potential of Sony rs sensor, we just need Sony to tweak the camera to match the sensor potential.
Sent from my XZeenator
Click to expand...
Click to collapse
Sony never released updates for their Smartphone cameras, sorry to destroy your hopes but it's less likely that they will do it this time.
Higgins12 said:
Sony never released updates for their Smartphone cameras, sorry to destroy your hopes but it's less likely that they will do it this time.
Click to expand...
Click to collapse
OMG!:crying:
Improve Quality of the images
GSeeker said:
OMG!:crying:
Click to expand...
Click to collapse
Hello Boys and girls.
Yesterday i found a method to improve the quality.
I hope it works.
I feel it just a little bit improvment.
What do you need:
Xperia Phone (I think it works also for other models)
root access
a file manager with root function
How to do:
MAKE A BACKUP OF YOUR ROM WITH RECOVERY
looking for the file "media_profiles.xml" in the folder "/system/etc"
make a backup of it
open with a text editor
looking for the code
Code:
<ImageEncoding quality="90"/>
<ImageEncoding quality="80"/>
<ImageEncoding quality="60"/>
<imageDecoding memCap="20000000"/>
change all three values of "ImageEncoding qulity" to "100"
and change the value of "imageDecoding memCap" to "80000000"
Please be carefuly
I'am not responsible for any bricks
Hope you will fell the difference
Sorry for bad english
Nope sorry but it doesn't change anything.
ImageEncoding set to 100
ImageEncoding set to 10
Higgins12 said:
Sony never released updates for their Smartphone cameras, sorry to destroy your hopes but it's less likely that they will do it this time.
Click to expand...
Click to collapse
:crying::crying::crying:
Higgins12 said:
Nope sorry but it doesn't change anything.
ImageEncoding set to 100
ImageEncoding set to 10
Click to expand...
Click to collapse
To me it changes: the 100 pic is a bit darker with richer colours, same effect that was found in the Rom i pointed out before...
Shooting pics in burst mode noticeable improves picture quality. Give it a shot
Sent from my C6603 using Tapatalk 2
AW: [REQ] Camera Mod ?
Yes i also think that the pictures got better colors
Sent from my C6603 using xda app developers app
sufeng said:
Hello Boys and girls.
Yesterday i found a method to improve the quality.
I hope it works.
I feel it just a little bit improvment.
What do you need:
Xperia Phone (I think it works also for other models)
root access
a file manager with root function
How to do:
looking for the file "media_profiles.xml" in the folder "/system/etc"
make a backup of it
open with a text editor
looking for the code
Code:
<ImageEncoding quality="90"/>
<ImageEncoding quality="80"/>
<ImageEncoding quality="60"/>
<imageDecoding memCap="20000000"/>
change all three values of "ImageEncoding qulity" to "100"
and change the value of "imageDecoding memCap" to "80000000"
Hope you will fell the difference
Sorry for bad english
Click to expand...
Click to collapse
Thanks but i've seen no différence after thé changes.. And i can't capture vidéos until i restore the original file..strange !
slipknot512 said:
Thanks but i've seen no différence after thé changes.. And i can't capture vidéos until i restore the original file..strange !
Click to expand...
Click to collapse
Strange but I can capture videos without any problems.
This completely crashed my phone I tried to record a video and a warning message came up saying it was overheating so shutting down. Then when i powered it up it crashed as soon as it got to the home screen. Tried to get it back to CWM and crashed on that screen and powered itself down then wouldn't boot again! Charged it all last night, tried pressing Power and Vol+ etc Nothing... completely dead, only a charging LED light. Luckily took it back to Carphone Warehouse and they swapped it with another Great service! So yeah... not sure why mine was different/what went wrong etc. It was a locked bootloader but rooted with CWM.
I still working for Xperia Z Camera Mod, later i will post if already tested
maybe someone know me All Xperia 2011/2012 have my Camera Mod Cyber-shot
Just wait guys
Smells exciting thank's for trying Master
Rizal Lovins said:
I still working for Xperia Z Camera Mod, later i will post if already tested
maybe someone know me All Xperia 2011/2012 have my Camera Mod Cyber-shot
Just wait guys
Click to expand...
Click to collapse
Now that IS exciting news!
Rizal Lovins said:
I still working for Xperia Z Camera Mod, later i will post if already tested
maybe someone know me All Xperia 2011/2012 have my Camera Mod Cyber-shot
Just wait guys
Click to expand...
Click to collapse
Are you planning to bring burst mode to 2012/2011 Xperias?
Sent from my ST25i using Tapatalk 2
Yes!!! Cybershot mod!! Finally you have returned. Make my xperia z fly the same way you did to my ion!!

[DEVS][12/08] Camera development fir 100%jpeg and more | unlockedMPEG4 UP TO 80MBPS

So far,i got this device i noticed the huge compression on photos ( and better dont talk about that noise reduction )
and the lower and "limited" bitrate on videos, that cant be higher than 24.9mbps dont care about any kind of video resolution or format.
The phone uses h264 in high at level 4 that in theory allows us to.
Encode video at [email protected](max stored frames)
Code:
[email protected] (9) ( wich only works the display framerate at 60fps, but encoding doesnt )
[email protected] (4) ( the same with 720P )
[email protected] (4) ( obviously not supported )
And the maximum bitrate allowed.
Code:
Max. video bit rate (VCL) 25 Mbit/s
Also jpeg compression is limited by someway at 85% quality, and extra postprocessing filters.
IT CAN'T BE REMOVED BY MEDIA PROFILES, cuz there is nothing to do, so
media profiles mods, wont work, there will still compression on it.
Click to expand...
Click to collapse
FPS capability, its "locked" up to 30fps, this phone can do so far 60fps, not sure if the Qualcomm supports 1080p at 60
but 720p by so far ( my razor managed it that ) and few test on this one, something tells me that its posible with some modding.
On my own tests i noticed modifying some files like media profiles that:
- Preview framerate can go up 120fps ( maybe even higher, noticeable preview speed with camera open )
- Framerate locked up by kernel maybe, because H264/[email protected] allows 720p 60fps. ( actually not working even with modding build.prop and media profiles )
- Bitrate limited maybe because [email protected] ( not sure at 100% ), we should use 4.1 or 5 instead, and try higher bitrates. ( also higher the profile = better the quality and file size )
but i dont know where should be specified what kind of level should be used.
Click to expand...
Click to collapse
UPDATE 02/08/13
I found a file on kernel ( the one i downloaded from sony ) that maybe has something to do, about the compression rate, ill
let all the information here, so maybe can be usefull for kernel modders.
Located in: external/jpeg/cjpeg.c ( it can be found on other locations, not sure if used )
Code:
/* Set up default JPEG parameters. */
/* Note that default -quality level need not, and does not,
* match the default scaling for an explicit -qtables argument.
*/
[COLOR="Red"]quality = 75; /* default -quality value */[/COLOR]
q_scale_factor = 100; /* default to no scaling for -qtables */
force_baseline = FALSE; /* by default, allow 16-bit quantizers */
simple_progressive = FALSE;
is_targa = FALSE;
outfilename = NULL;
cinfo->err->trace_level = 0;
Maybe that is the thing who forces compression? dont know, i need to compile but i dont know where or how to start ( not so good with linux )
^ Nothing to do here ^
In video, i found this one. ( still testing, dont know if works )
Located in: kernel/drivers/video/msm/vidc/ddl/720p/vcd_ddl_properties.c
Code:
(encoder->codec.
codec == VCD_CODEC_H264) &&
(level->level >= VCD_LEVEL_H264_1) &&
(level->level <= VCD_LEVEL_H264_3p1)
) ||
(
////
static void ddl_set_default_enc_profile(struct ddl_encoder_data *encoder)
{
enum vcd_codec codec = encoder->codec.codec;
if (codec == VCD_CODEC_MPEG4)
encoder->profile.profile = VCD_PROFILE_MPEG4_SP;
else if (codec == VCD_CODEC_H264)
encoder->profile.profile = VCD_PROFILE_H264_BASELINE;
else
encoder->profile.profile = VCD_PROFILE_H263_BASELINE;
In almost same folder, there are other profiles like 1080p
Code:
case VCD_CODEC_MPEG4:
status = (profile->profile ==
VCD_PROFILE_MPEG4_SP) &&
(level->level >= VCD_LEVEL_MPEG4_0) &&
(level->level <= VCD_LEVEL_MPEG4_6) &&
(VCD_LEVEL_MPEG4_3b != level->level);
status = status ||
((profile->profile ==
VCD_PROFILE_MPEG4_ASP) &&
(level->level >= VCD_LEVEL_MPEG4_0) &&
(level->level <= VCD_LEVEL_MPEG4_5));
break;
case VCD_CODEC_H264:
status = (level->level >= VCD_LEVEL_H264_1) &&
(level->level <= VCD_LEVEL_H264_4);
break;
case VCD_CODEC_H263:
status = (level->level >= VCD_LEVEL_H263_10) &&
(level->level <= VCD_LEVEL_H263_70);
break;
here defined the level of encoder, and also the "profile" used (guess im not wrong at all im just speculating)
if you compare to the used by the device, 3.1 for 720p and 4.0 for 1080p.
UPDATE 12/08/13
Ive tested adding some profiles and modules to default config, but stills doesnt work, values remains the same.
UPDATE 26/08/13
After hard research on kernel, just i managed how it works a part of the encoding system ( my knowledge stills limited )
i unlocked MPEG4 (m4v) h263 codec bitrates ( up to 80mbps but default at 40 ), the kernel still not ready, but ill be launching
the first version when i got something solid to share with you :fingers-crossed:
Now im trying to raise the FPS value to 60 or more, and unlock MPEG4/AVC h264 codec bitrates, up to 80mbps ( for now only 25mbps )
DEFAULT 40mbps
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MAX 80mbps
ANY HELP OR IDEAS WILL BE GREATLY APRECIATED
ANY HELP OR IDEAS WILL BE GREATLY APRECIATED
My knowledge stills limited, also my time to research on it, so i guess out there is people who can help on this,
we can make much better this device with a small thing like this, the device is aleardy fast, and optimized, only lasts the camera.
I know not so much people cares about this, but i guess actually is a lack on almost every device, and almost no one, try to improve it.
Thanks to everyone who read the whole post, and excuse my bad english.
PD: This topic isnt development at all, but here comes almost all users and developers so i guess is the better place to place it, and
share knowledge about it.
I would be interested in development in this area. I use Camera FV-5 for all of my android phones including the Xperia Z. Since I've only had the phone since yesterday I haven't been able to tell if there is any improvement in picture quality. It seems that some people used the honami camera app and there were improvements but since Sony freaked out I haven't seen ports of the software available. Good luck with this project, I'll be watching this thread.
|ErosizeD| said:
ANY HELP OR IDEAS WILL BE GREATLY APRECIATED
My knowledge stills limited, also my time to research on it, so i guess out there is people who can help on this,
we can make much better this device with a small thing like this, the device is aleardy fast, and optimized, only lasts the camera.
.
Click to expand...
Click to collapse
Theres a developer by the name of "Rizal Lovins" , he has/ still is working on improving sony camera apps for previous sony phones , maybe you could get intouch with him, I dont think he has a xperia z so hence why he isnt as active here but he has dramatically improved the app for old sony phones .
|ErosizeD| said:
So far,i got this device i noticed the huge compression on photos ( and better dont talk about that noise reduction )
and the lower and "limited" bitrate on videos, that cant be higher than 24.9mbps dont care about any kind of video resolution or format.
Also jpeg compression is limited by someway at 85% quality, and extra postprocessing filters.
ANY HELP OR IDEAS WILL BE GREATLY APRECIATED
My knowledge stills limited, also my time to research on it, so i guess out there is people who can help on this,
we can make much better this device with a small thing like this, the device is aleardy fast, and optimized, only lasts the camera.
I know not so much people cares about this, but i guess actually is a lack on almost every device, and almost no one, try to improve it.
Thanks to everyone who read the whole post, and excuse my bad english.
PD: This topic isnt development at all, but here comes almost all users and developers so i guess is the better place to place it, and
share knowledge about it.
Click to expand...
Click to collapse
Firstly the phones jpg photo compression is not that high out of the box in fact better than most, the default from photoshop and pretty much all applications and probably cameras when you save a jpg for the first time which is 80%, I think you are referencing jpg compression to what is actually issues related to high levels of noise reduction.
Secondly, which firmware are you running, because the latest has huge improvements for the photo quality, much less noise reduction, same jpg compression ratio
If you want 100% jpg quality, root your phone and edit the properties file, if you do a search you will find this.
Or if you do not want to root your phone, then there are apps that can do this also, a good one has been mentioned in the posts above.
As for unlocking video stuff, I have seen some people have unlocked bit rates etc with various levels of success. Typically it ends up the application level controlling this if the processor doesn't have the support at the hardware level, which has a performance impact on the device.
Seriously look under the themes and apps section there are loads of discussions on all the things you have mentioned, including probably a lot of answers to your questions
danw_oz said:
Firstly the phones jpg photo compression is not that high out of the box in fact better than most, the default from photoshop and pretty much all applications and probably cameras when you save a jpg for the first time which is 80%, I think you are referencing jpg compression to what is actually issues related to high levels of noise reduction.
Secondly, which firmware are you running, because the latest has huge improvements for the photo quality, much less noise reduction, same jpg compression ratio
If you want 100% jpg quality, root your phone and edit the properties file, if you do a search you will find this.
Or if you do not want to root your phone, then there are apps that can do this also, a good one has been mentioned in the posts above.
As for unlocking video stuff, I have seen some people have unlocked bit rates etc with various levels of success. Typically it ends up the application level controlling this if the processor doesn't have the support at the hardware level, which has a performance impact on the device.
Seriously look under the themes and apps section there are loads of discussions on all the things you have mentioned, including probably a lot of answers to your questions
Click to expand...
Click to collapse
your answer is very well written, but I did not find how to increase the jpg quality 100% and I can not find anywhere a tutorial on how improved the camera as root, and I have not I find either application who can do ...
you just might deepen this, for the sake of the ignorant community xda
VSTmoTP2 said:
I would be interested in development in this area. I use Camera FV-5 for all of my android phones including the Xperia Z. Since I've only had the phone since yesterday I haven't been able to tell if there is any improvement in picture quality. It seems that some people used the honami camera app and there were improvements but since Sony freaked out I haven't seen ports of the software available. Good luck with this project, I'll be watching this thread.
Click to expand...
Click to collapse
There is no improvement because camera is limited by jpeg libs ( .so files in system/libs folder ) so there arent any program that can
really unlock 100% true jpeg, because that libs cant be avoided.
danw_oz said:
Firstly the phones jpg photo compression is not that high out of the box in fact better than most, the default from photoshop and pretty much all applications and probably cameras when you save a jpg for the first time which is 80%, I think you are referencing jpg compression to what is actually issues related to high levels of noise reduction.
Secondly, which firmware are you running, because the latest has huge improvements for the photo quality, much less noise reduction, same jpg compression ratio
If you want 100% jpg quality, root your phone and edit the properties file, if you do a search you will find this.
Or if you do not want to root your phone, then there are apps that can do this also, a good one has been mentioned in the posts above.
As for unlocking video stuff, I have seen some people have unlocked bit rates etc with various levels of success. Typically it ends up the application level controlling this if the processor doesn't have the support at the hardware level, which has a performance impact on the device.
Seriously look under the themes and apps section there are loads of discussions on all the things you have mentioned, including probably a lot of answers to your questions
Click to expand...
Click to collapse
The same thing i told you, not even the apk, there is nothing todo with it, need kernel, and libs development, and libs are locked by sony, and heavly encripted up.
So i guess, we cant do much more about it.
I can confirm what was said in the previous post, Camera FV-5 is unable to alter the jpeg compression ratio... I did notice from my tests that the focus algorithm is better on Camera FV-5, resulting in sharper photos due to more accurate focus. I have T-Mobile's stock firmware .166. I will look into newer firmware, hopefully I'll see an improvement. So far the images from my LG G2X with Camera FV-5 is better than the output from this Xperia Z.
ey ,not exaggerating either heun, I had the X2 and the picture has nothing to do with that of xperia z ... but I think that may be a small improvement would still be welcome,
VSTmoTP2 said:
I can confirm what was said in the previous post, Camera FV-5 is unable to alter the jpeg compression ratio... I did notice from my tests that the focus algorithm is better on Camera FV-5, resulting in sharper photos due to more accurate focus. I have T-Mobile's stock firmware .166. I will look into newer firmware, hopefully I'll see an improvement. So far the images from my LG G2X with Camera FV-5 is better than the output from this Xperia Z.
Click to expand...
Click to collapse
Yep, optimus looks better "maybe" because it has 0% compression ratio, but in terms of color reproduction, the Z is much much better actually.
alessa said:
ey ,not exaggerating either heun, I had the X2 and the picture has nothing to do with that of xperia z ... but I think that may be a small improvement would still be welcome,
Click to expand...
Click to collapse
I guess, with the libs locked up, we cant modify that compression, so i dont know how we can work this out.
sony and they say what? he does not want to release the code?
I used now camera fv-5 and take photos in png(raw) format, the picture have more details,size increase from 2mb to 15mb but my device it getting wery hot,almost 80c and disabled my radio, This is not wery safe?!
poczesaniec1 said:
I used now camera fv-5 and take photos in png(raw) format, the picture have more details,size increase from 2mb to 15mb but my device it getting wery hot,almost 80c and disabled my radio, This is not wery safe?!
Click to expand...
Click to collapse
I'll test
alessa said:
your answer is very well written, but I did not find how to increase the jpg quality 100% and I can not find anywhere a tutorial on how improved the camera as root, and I have not I find either application who can do ...
you just might deepen this, for the sake of the ignorant community xda
Click to expand...
Click to collapse
As mentioned by rezzsha. http://forum.xda-developers.com/showthread.php?t=2221351 covers pretty much all of this within the thread.
From what I understand you have to mod it in three places, the build.properties, media_profile.xml and SemcCameraUI.apk
---------- Post added at 03:35 PM ---------- Previous post was at 03:31 PM ----------
poczesaniec1 said:
I used now camera fv-5 and take photos in png(raw) format, the picture have more details,size increase from 2mb to 15mb but my device it getting wery hot,almost 80c and disabled my radio, This is not wery safe?!
Click to expand...
Click to collapse
Interesting, I have used this application for a long time and never found these issues you mention
---------- Post added at 03:38 PM ---------- Previous post was at 03:35 PM ----------
|ErosizeD| said:
Yep, optimus looks better "maybe" because it has 0% compression ratio, but in terms of color reproduction, the Z is much much better actually.
I guess, with the libs locked up, we cant modify that compression, so i dont know how we can work this out.
Click to expand...
Click to collapse
Please read above what I wrote, the thread and this developer has been improving Sony phones camera quality for a long time, and can probably tell you anything you need to know.
I am not certain that the compression is in the kernel level driver, all the driver should be doing is interpreting the information from the image sensor and then passing that through to the camera app to apply white balance, saving of the file...
Your still didn't answer which firmware you are using, because Sony significantly reduced the excessive noise reduction in the later ROMS.
And I would say that photos from the phone now in good light would be as good as most point and shoot cameras.
I have uploaded an un-altered photo from my Xperia Z, using the standard camera app in 4.2.2 OS. http://www.flickr.com/photos/dan-wilson/9407288542/ please tell me if you can not see the full size copy
the alternate is also asking the user "doomlord" he is the main guy creating modded kernels , so he should be your guy for kernel level. or looking into the s4 dev place ,since they have the same sensor , only difference is the lens i think
danw_oz said:
As mentioned by rezzsha. http://forum.xda-developers.com/showthread.php?t=2221351 covers pretty much all of this within the thread.
From what I understand you have to mod it in three places, the build.properties, media_profile.xml and SemcCameraUI.apk
---------- Post added at 03:35 PM ---------- Previous post was at 03:31 PM ----------
Interesting, I have used this application for a long time and never found these issues you mention
---------- Post added at 03:38 PM ---------- Previous post was at 03:35 PM ----------
Please read above what I wrote, the thread and this developer has been improving Sony phones camera quality for a long time, and can probably tell you anything you need to know.
I am not certain that the compression is in the kernel level driver, all the driver should be doing is interpreting the information from the image sensor and then passing that through to the camera app to apply white balance, saving of the file...
Your still didn't answer which firmware you are using, because Sony significantly reduced the excessive noise reduction in the later ROMS.
And I would say that photos from the phone now in good light would be as good as most point and shoot cameras.
Click to expand...
Click to collapse
MOD but it is useless on 4.2.2!
alessa said:
MOD but it is useless on 4.2.2!
Click to expand...
Click to collapse
Remember, it is a phone with a camera. Not a camera with a phone. Small sensor due to size limitations = bad image quality. Bigger sensor typically = better image quality, less noise... even at much less resolution regardless of image compression without getting ridiculous.
For a phone, this is one of the best I have used since the upgrade.
Have tested my link above, it does show the image only about half the pixel count of the original, but I still think that it shows that the photo quality is very acceptable. I think it does still lack a little texture, in say the likes of the tree leaves again due to image noise removal algorithms, but at print size you would even notice this
danw_oz said:
Remember, it is a phone with a camera. Not a camera with a phone. Small sensor due to size limitations = bad image quality. Bigger sensor typically = better image quality, less noise... even at much less resolution regardless of image compression without getting ridiculous.
For a phone, this is one of the best I have used since the upgrade
Click to expand...
Click to collapse
frankly, the photo days are excellent, just a little ameglioration for night photography would be welcome ... but I'm still happy with my xperia z
danw_oz said:
As mentioned by rezzsha. http://forum.xda-developers.com/showthread.php?t=2221351 covers pretty much all of this within the thread.
From what I understand you have to mod it in three places, the build.properties, media_profile.xml and SemcCameraUI.apk
---------- Post added at 03:35 PM ---------- Previous post was at 03:31 PM ----------
Interesting, I have used this application for a long time and never found these issues you mention
---------- Post added at 03:38 PM ---------- Previous post was at 03:35 PM ----------
Please read above what I wrote, the thread and this developer has been improving Sony phones camera quality for a long time, and can probably tell you anything you need to know.
I am not certain that the compression is in the kernel level driver, all the driver should be doing is interpreting the information from the image sensor and then passing that through to the camera app to apply white balance, saving of the file...
Your still didn't answer which firmware you are using, because Sony significantly reduced the excessive noise reduction in the later ROMS.
And I would say that photos from the phone now in good light would be as good as most point and shoot cameras.
I have uploaded an un-altered photo from my Xperia Z, using the standard camera app in 4.2.2 OS. http://www.flickr.com/photos/dan-wilson/9407288542/ please tell me if you can not see the full size copy
Click to expand...
Click to collapse
Not just those 3 levels, also libs and kernel its locked... ( actually jpeg enc libs )
rezzsha said:
the alternate is also asking the user "doomlord" he is the main guy creating modded kernels , so he should be your guy for kernel level. or looking into the s4 dev place ,since they have the same sensor , only difference is the lens i think
Click to expand...
Click to collapse
yes i asked to him, but it seems to be too bussy for answer me :\
alessa said:
frankly, the photo days are excellent, just a little ameglioration for night photography would be welcome ... but I'm still happy with my xperia z
Click to expand...
Click to collapse
Yea, anyway its a good device, but that compresion ****s up somethings, and same to the video bitrates, that "limitation" is a bit shame and i dont feel i have a high end
device at all with those limitations.
|ErosizeD| said:
...i dont feel i have a high end
device at all with those limitations.
Click to expand...
Click to collapse
have you tried pro capture app ,takes pretty good photos and pics are usually bigger??
First post updated! this is getting interesting
rezzsha said:
have you tried pro capture app ,takes pretty good photos and pics are usually bigger??
Click to expand...
Click to collapse
No, external apps only re-encode the output JPEG, just making it bigger, but not with better quality.

[MOD][APP][HOW-TO][Headsets] Guide to get a really good sound from Xperia T (&TX&V)

[MOD][APP][HOW-TO][Headsets] Guide to get a really good sound from Xperia T (&TX&V)
The audio listening experience is somewhat subjective and I do not claim to give the universal thruth here, just guidelines that could help you to get a better sound from your device.
Since I bought my Xperia T (about 1 year ago), I have constantly been trying to improve the sound that I get from my device and presently I can say that I'm rather happy. I've tested tons of mods, apps, headsets and it's not so easy to do the good choice...
1. The player
I've been using poweramp for a while. This is a good player but since the JB update I could no longer use it because of frequent scratching noises. Moreover, I find that the sound of poweramp is too artificially dynamic.
Actually, only the Sony stock walkman player is good for me, i.e. bug-free. I don't use the lastest versions of Walkman for JB 4.2 ported to JB 4.1.2 that you can find in this forum section because of various issues (few scratching, volume jumps).
So, let's go for the stock player
2. Sound enhancement (equalizer, effects...)
The stock Sony sound enhancement (musicFX) is rather bad to my taste. It has a huge lack of clarity and spoils the bass.
The first thing to do is to flash PureXAudioLITE of @ZeroInfinity. This mod is system wide and should be compatible with any equalizers or sound enhancements. Then, you will notice a gain of clarity, better bass and treeble.
Secondly, let's change of equalizer (the "Clearbass" bass booster of Sony is a disaster). The best to my taste is Equalizer from playstore. It's a very good 5-bands equalizer + bass booster (+ virtualization) fully compliant with Walkman.
Take the time to tune fine Equalizer, it's difficult for non-audiophiles, but it's worth the effort. Regarding the bass booster, it might be not work the very first time you activate it : so stop the music, close the walkman and start it up again. Keep your ears open to hear its effect, it act on very low frequencies (20-50 Hz). The virtualizer effect is interesting, it can give relief to the sound.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you like Equalizer, you may buy its unlock key (1.49 €) and then you will be abble to save your different EQ settings and even to save them as home-screen shorcuts :good:
The sound is now much clearer, isn't it ?
Moreover, it will stay active when you watch videos!!
3. The headset
The stock Sony headset is not that bad. But from Sony you can get much better for relatively cheap : MH1C. It is fully compliant with latest Xperia devices, it has an extremely wide banwidth, with perhaps a little lack of bass, but this can easily compansated adjusting the bass booster.
Regarding "on ear" headphones, I've bought the Phillips Fidelio M1. It is not cheap but sounds extremely fine and I think it is the only Hifi headphone having a low impedance of 16 ohms (same as the stock headset, if you chose a headphone with a too high impedance you won't be abble to adjust the volume up to descent levels...).
That's done. I hope it will help...
Nothing about "Honami" in my thread. Yet interesting
Good description!) Is PureX compatible with our devices? I have TX.
canon1995 said:
Good description!) Is PureX compatible with our devices? I have TX.
Click to expand...
Click to collapse
Thanks
PureXAudioLITE, yes it is universal.
nreuge said:
Thanks
PureXAudioLITE, yes it is universal.
Click to expand...
Click to collapse
Thank you. You know I cant find perfect mod for me. I cant hear BIG difference between stock and mods. I also tried AC!D mod. Yes, the sound is maybe better, but... I actually use my smartphone with Sony-MDR XB600 and I always coming back to the stock enhacements
canon1995 said:
Thank you. You know I cant find perfect mod for me. I cant hear BIG difference between stock and mods. I also tried AC!D mod. Yes, the sound is maybe better, but... I actually use my smartphone with Sony-MDR XB600 and I always coming back to the stock enhacements
Click to expand...
Click to collapse
Yes, most mods promise so much but actually do nothing good.
Flash PureXAudioLite, it will be for sure a little better.
Then, try Equalizer and take your time to test it, maybe will it be to your taste... (and test the virtualizer effect, it can give relief to the sound).
i will try on my T, thanks bro
ANYONE TRIED THIS http://forum.xda-developers.com/showthread.php?t=2342308
Sent from my GT-S7562 using xda premium
akashpillai said:
ANYONE TRIED THIS http://forum.xda-developers.com/showthread.php?t=2342308
Sent from my GT-S7562 using xda premium
Click to expand...
Click to collapse
Yes, I've tried it. Did not feel any improvement...
Will retry it once more time to be sure.
Thanks.
just use viper4android there is no better
sickside said:
just use viper4android there is no better
Click to expand...
Click to collapse
just give your comment to this mod instead of something else.. this is not really helping anybody.
or atleast give arguments with your comment..
question to TS:
i flashed the mod and it seems to be working because EQ scale is changed and i can hear some difference.
one thing though, in the installation video of the mod you can see that there are two new options in sony walkman EQ presets. but i don't have them, maybe that's normal with the universal lite version but just checking.
sickside said:
just use viper4android there is no better
Click to expand...
Click to collapse
Maybe no better to your taste, good for you! Personnaly, I find it sounds really too artificial with tons of options that change the sound but not necessarily in a better way. Moreover, it causes scratching noises on my device and drains battery very quickly.
Pollie81 said:
just give your comment to this mod instead of something else.. this is not really helping anybody.
or atleast give arguments with your comment..
question to TS:
i flashed the mod and it seems to be working because EQ scale is changed and i can hear some difference.
one thing though, in the installation video of the mod you can see that there are two new options in sony walkman EQ presets. but i don't have them, maybe that's normal with the universal lite version but just checking.
Click to expand...
Click to collapse
Yes, no option with the lite version, it just changes audio libs. It changes EQ scale (more bass and treeble) and I've noticed a improvement of sound clarity.
nreuge said:
Maybe no better to your taste, good for you! Personnaly, I find it sounds really too artificial with tons of options that change the sound but not necessarily in a better way. Moreover, it causes scratching noises on my device and drains battery very quickly.
Yes, no option with the lite version, it just changes audio libs. It changes EQ scale (more bass and treeble) and I've noticed a improvement of sound clarity.
Click to expand...
Click to collapse
Ok, cool. Then it works 100%.
The sound indeed really improves!
Verstuurd van mijn LT30p met Tapatalk
sickside said:
just use viper4android there is no better
Click to expand...
Click to collapse
Viper is best man. ;D
But I'm using Viper xHiFi... Restores quality of music files and sounds simply great!
Sent from my LT25i using xda app-developers app
WhiteNeo said:
Viper is best man. ;D
But I'm using Viper xHiFi... Restores quality of music files and sounds simply great!
Sent from my LT25i using xda app-developers app
Click to expand...
Click to collapse
Does not sound great at all for me, why ?? As I said "the audio listening experience is somewhat subjective" (1st sentence of my thread). So, your opinion is welcome, but please do not say "It's the best".
From an objective point of view, Viper4Android is essentially a convoler. It's for sure a great technology to produce audio effects. But if your goal is to be as close as possible to the original sound of all your music files, I'm not sure that's the best tool.
Anyway, I don't believe in an universal tool to restore quality of degraded audio files, what is lost is lost. Be aware that in a 128 kbps mp3, the loss is actually very tiny.
nreuge said:
Does not sound great at all for me, why ?? As I said "the audio listening experience is somewhat subjective" (1st sentence of my thread). So, your opinion is welcome, but please do not say "It's the best".
From an objective point of view, Viper4Android is essentially a convoler. It's for sure a great technology to produce audio effects. But if your goal is to be as close as possible to the original sound of all your music files, I'm not sure that's the best tool.
Anyway, I don't believe in an universal tool to restore quality of degraded audio files, what is lost is lost. Be aware that in a 128 kbps mp3, the loss is actually very tiny.
Click to expand...
Click to collapse
Well said. :good:
nreuge said:
Does not sound great at all for me, why ?? As I said "the audio listening experience is somewhat subjective" (1st sentence of my thread). So, your opinion is welcome, but please do not say "It's the best".
From an objective point of view, Viper4Android is essentially a convoler. It's for sure a great technology to produce audio effects. But if your goal is to be as close as possible to the original sound of all your music files, I'm not sure that's the best tool.
Anyway, I don't believe in an universal tool to restore quality of degraded audio files, what is lost is lost. Be aware that in a 128 kbps mp3, the loss is actually very tiny.
Click to expand...
Click to collapse
Hey.. Viper4Android doesn't equal Viper4Android.. There are differences!
There is the FX version (with convoler and all that stuff), which really sounds extremely unnatural.. And there is xHiFi.. Developed with the purpose to restore low contour and high clarity. And enabling it makes indeed a noticeable difference in clarity... Which is in my opinion natural. (in my~ opinion. ^^)
But you're right, audio listening experience is indeed subjective.
I have heard.. That there are even people out there that are happy without an equalizer! :cyclops:
WhiteNeo said:
I have heard.. That there are even people out there that are happy without an equalizer! :cyclops:
Click to expand...
Click to collapse
Yes
That beeing said, a sound enhancement with just 2 buttons (bass and treeble) would be useful for audio noobs. Tuning properly an equalizer is not so easy.
nreuge said:
Yes
That beeing said, a sound enhancement with just 2 buttons (bass and treeble) would be useful for audio noobs. Tuning properly an equalizer is not so easy.
Click to expand...
Click to collapse
Right. However, if you think Viper only has two buttons you're.. Pretty wrong. ^^
Anyways, want to give me some tips about effective audio tuning with an equalizer ?
Sent from my LT25i using xda app-developers app
WhiteNeo said:
Right. However, if you think Viper only has two buttons you're.. Pretty wrong. ^^
Anyways, want to give me some tips about effective audio tuning with an equalizer ?
Sent from my LT25i using xda app-developers app
Click to expand...
Click to collapse
No no, I do know that Viper has an equalizer (although not very ergonomic ). I was just thinking that Sony could provide treeble and bass buttons as an alternative of the equalizer for audio noobs.
Regarding tuning an equalizer, I just tuning it listening to some of my favourite audio files that cover the full frequency range. Then, I trust my ears. It can last several days for me to tune it fine.

Categories

Resources