OneB1t

ZTE Blade Camera resolution modification CM7

43 posts in this topic

Hello after few tries i discovered way to increase resolution of video from ZTE Blade on CM7.

You need hacked phone to do that.

1. Connect your phone to PC and start ADB debugging

2. Use adb connect to connect your phone to debug console

3. adb pull /system/etc/media_profiles.xml

4.edit media_profiles.xml in some text editor and change resolution

        <EncoderProfile quality="high" fileFormat="mp4" duration="60">

            <Video codec="h263"

                    bitRate="2000000"

           		width="800"

           		height="480"

           		frameRate="30" />


            <Audio codec="aac"

           		bitRate="48000"

           		sampleRate="16000"

           		channels="1" />
    <VideoEncoderCap name="h263" enabled="true"

     	minBitRate="64000" maxBitRate="2000000"

        minFrameWidth="176" maxFrameWidth="800"

        minFrameHeight="144" maxFrameHeight="480"

        minFrameRate="1" maxFrameRate="30" />

5. save it

6. type adb remount

7. type adb push media_profiles.xml /system/etc/media_profiles.xml

8.reboot your phone

9. Try to take video in new resolution :-)

This also allow LG camera application to work properly

Edited by OneB1t
4

Share this post


Link to post
Share on other sites

Are you sure the video bitrates are correct: thats 200kb/s (or whatever the units are) for 800x480 30fps video? I would have though 2Mbit is more in line, but I guess if it works then it doesnt matter.

0

Share this post


Link to post
Share on other sites

I tested similar setting back in N90ish when the 640x480 video recording originally came to CM7. I don't even remember if the resolution was any better but the framerate was still the same 11-12fps resulting the same lousy quality of video recording.

0

Share this post


Link to post
Share on other sites

One question, it works fine with the default camera app right? or is only for LG Camera aplication?

There's improvements in camera capture? For example filming with the blade suck because any movement makes the video shaking, and not a steady image, if you understand me. This hack improves that, its the same or make it looks worst?

0

Share this post


Link to post
Share on other sites

there is litlle improvement but its still far from perfect i also overclocked my cpu to 691mhz

video looks similar to this

in low light conditions FPS drops drastically

i just made some tests which shows no difference in fps between 640x480 and 800x480 :-)

Edited by OneB1t
0

Share this post


Link to post
Share on other sites

there is litlle improvement but its still far from perfect i also overclocked my cpu to 691mhz

video looks similar to this

in low light conditions FPS drops drastically

i just made some tests which shows no difference in fps between 640x480 and 800x480 :-)

Nice, gonna test it later, thank you :D

0

Share this post


Link to post
Share on other sites

I went one further on here.

When you open the file, be careful but just take a look at the available options.

For instance, I have just upped the quality to the above levels and went a step further.

Look at the AAC audio encoding options-

Change the Sample rate to 44100.

Make sure that all further Audio Encoding Cap options allow for 44100 (up from 16000)- these are further down the file.

I also changed all the max FPS settings to 60.

The phone will then record as fast as it can, with very nice quality audio.

This is a MAJOR improvement over stock- thanks for the heads up with regards to this file. :-)

2

Share this post


Link to post
Share on other sites

does this work on ginger stir fry b19 ? which nightly of cm7 are you all using ?

0

Share this post


Link to post
Share on other sites

Can I use root explorer to edit this file? It would be easier for me. :)

0

Share this post


Link to post
Share on other sites

I am thinking we could try and use this to get the Blade playing 720p videos...

I mean sure it was never supposed to but what with Cm7 and overall speed performance, It might just manage ( obviously not watch-able, but its a bit of fun) :D

I'm not looking for perfect performance, or for it to even work, but I want to see it try before it gives up :P

0

Share this post


Link to post
Share on other sites

No it wouldn't be possible i think. Maybe over GPU somehow.

0

Share this post


Link to post
Share on other sites

I dont have this file on my blade, int that folder. I use GSF b26. Where can i find the file? Btw I was the one who made the video, that was linked in this topic :) but it was on froyo.

0

Share this post


Link to post
Share on other sites

I dont have this file on my blade, int that folder. I use GSF b26. Where can i find the file? Btw I was the one who made the video, that was linked in this topic :) but it was on froyo.

I've attached a copy, just save this to system/etc/

media_profiles.xml

0

Share this post


Link to post
Share on other sites

Thanks!

Nahov, did you tried it? Does it works on GSF betas?

Thank you in advance!

0

Share this post


Link to post
Share on other sites

Nahov, did you tried it? Does it works on GSF betas?

Thank you in advance!

I tried, but i had a problem with my superuser, so i couldnt get it work. :(

0

Share this post


Link to post
Share on other sites

I tried it in GSF 27 and didn´t work :(

Opened standard Camera app, choosed max resolution and I got FC.

After that the camera app started showing FCs everytime.

I Had to delete the xml and reboot phone to get it working again.

Thank you anyway.

0

Share this post


Link to post
Share on other sites

I tried it in GSF 27 and didn´t work :(

Opened standard Camera app, choosed max resolution and I got FC.

After that the camera app started showing FCs everytime.

I Had to delete the xml and reboot phone to get it working again.

Thank you anyway.

did you try it with the lgcamera app from the market? it should work with it.

0

Share this post


Link to post
Share on other sites

did you try it with the lgcamera app from the market? it should work with it.

CM7 215: it does`n work for me with lgcamera

any ideas to get it work?

i downloaded the xml from this topic and overwrited the old xml. then i have rebooted. but it doesn`t work for me.

Edited by sonicandroid
0

Share this post


Link to post
Share on other sites

CM7 215: it does`n work for me with lgcamera

any ideas to get it work?

i downloaded the xml from this topic and overwrited the old xml. then i have rebooted. but it doesn`t work for me.

it works for me with latest cm nightly! But i have a problem. There is some vibrating on the screen while recording. It looks like it doesnt know the right brightness, and vibrates it.

Here is a sample:

Edited by Nahov
0

Share this post


Link to post
Share on other sites

it works for me with latest cm nightly! But i have a problem. There is some vibrating on the screen while recording. It looks like it doesnt know the right brightness, and vibrates it.

Here is a sample:

Yes the same here. But with the "Swedish Spring RLS5" everything is ok and the image is like the first youtube video you have show in this thread.

I also have tested you a portuguese Rom "Tejo Sunshine (2.3)" and the video have problems too. Video and sound are always out of sync.

Does this hack only works in 2.2 versions? :unsure:

0

Share this post


Link to post
Share on other sites

Dear Mr.Flshg,

I have download this "media_profiles.xml"

Can i directly transfer to my blade?

Thanks in advance.

Regards,

Guna

I've attached a copy, just save this to system/etc/

media_profiles.xml

0

Share this post


Link to post
Share on other sites

Dear Mr.Flshg,

I have download this "media_profiles.xml"

Can i directly transfer to my blade?

Thanks in advance.

Regards,

Guna

Use a root explorer or other file manager with root access to copy the file into the /system/etc/ folder on your phone. You may also need to set the permissions to rw,r,r (chmod 644).

0

Share this post


Link to post
Share on other sites

CAN THIS ALSO WORK ON: Moldovan Mile-High-Mountain-Pie RLS6

AND DOES IT SHOW ANY IMPROVEMENTS IN THE VIDEO RECORDINGS?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.