Jump to content

ZTE Blade Camera resolution modification CM7


Guest OneB1t

Recommended Posts

Guest OneB1t

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
Link to comment
Share on other sites

Guest flshg

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.

Link to comment
Share on other sites

Guest KonstaT

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.

Link to comment
Share on other sites

Guest Kekes

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?

Link to comment
Share on other sites

Guest OneB1t

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
Link to comment
Share on other sites

Guest Kekes

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

Link to comment
Share on other sites

Guest damiensturdy

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. :-)

Link to comment
Share on other sites

  • 1 month later...
Guest Mushroom_Lord

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

Link to comment
Share on other sites

  • 3 weeks later...

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.

Link to comment
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. :(

Link to comment
Share on other sites

Guest arquillos

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.

Link to comment
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.

Link to comment
Share on other sites

Guest sonicandroid

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
Link to comment
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
Link to comment
Share on other sites

  • 1 month later...
Guest actioman2006

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:

Link to comment
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).

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.