[Q] media_profile.xml tweaks? - EVO 4G Q&A, Help & Troubleshooting

Hi,
Are there any tweaks that can be applied to the HTC Sense camera's media_profile.xml to increase image and video quality?
I found a modified stock camera app that changes this file but it's not designed for the Evo.

xNotta said:
Hi,
Are there any tweaks that can be applied to the HTC Sense camera's media_profile.xml to increase image and video quality?
I found a modified stock camera app that changes this file but it's not designed for the Evo.
Click to expand...
Click to collapse
If you take the media_profile.xml from the modified non-Evo camera app and the stock camera app and diff them, what are the differences? This will give you a staring point for modification, you'll just need to make sure that the values are compatible.
Also, you can increase quality of image/video capture through build.prop modifications:
Example:
Code:
ro.media.enc.hprof.file.format=mp4
ro.media.enc.hprof.codec.vid=m4v
ro.media.enc.hprof.codec.aud=amrnb
ro.media.enc.hprof.vid.width=720
ro.media.enc.hprof.vid.height=480
ro.media.enc.hprof.vid.fps=24
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.aud.bps=12200
ro.media.enc.hprof.aud.hz=8000
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,h264
ro.media.enc.aud.codec=amrnb
ro.media.enc.vid.h263.width=176,1280
ro.media.enc.vid.h263.height=144,720
ro.media.enc.vid.h263.bps=64000,6000000
ro.media.enc.vid.h263.fps=1,30
ro.media.enc.vid.m4v.width=176,1280
ro.media.enc.vid.m4v.height=144,720
ro.media.enc.vid.m4v.bps=64000,8000000
ro.media.enc.vid.m4v.fps=1,30
ro.media.enc.vid.h264.width=176,800
ro.media.enc.vid.h264.height=144,480
ro.media.enc.vid.h264.bps=64000,6000000
ro.media.enc.vid.h264.fps=1,30
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.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
ro.media.dec.jpeg.memcap=80000000
ro.media.enc.jpeg.quality=100

grayn0de said:
If you take the media_profile.xml from the modified non-Evo camera app and the stock camera app and diff them, what are the differences? This will give you a staring point for modification, you'll just need to make sure that the values are compatible.
Also, you can increase quality of image/video capture through build.prop modifications:
Example:
Code:
ro.media.enc.hprof.file.format=mp4
ro.media.enc.hprof.codec.vid=m4v
ro.media.enc.hprof.codec.aud=amrnb
ro.media.enc.hprof.vid.width=720
ro.media.enc.hprof.vid.height=480
ro.media.enc.hprof.vid.fps=24
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.aud.bps=12200
ro.media.enc.hprof.aud.hz=8000
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,h264
ro.media.enc.aud.codec=amrnb
ro.media.enc.vid.h263.width=176,1280
ro.media.enc.vid.h263.height=144,720
ro.media.enc.vid.h263.bps=64000,6000000
ro.media.enc.vid.h263.fps=1,30
ro.media.enc.vid.m4v.width=176,1280
ro.media.enc.vid.m4v.height=144,720
ro.media.enc.vid.m4v.bps=64000,8000000
ro.media.enc.vid.m4v.fps=1,30
ro.media.enc.vid.h264.width=176,800
ro.media.enc.vid.h264.height=144,480
ro.media.enc.vid.h264.bps=64000,6000000
ro.media.enc.vid.h264.fps=1,30
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.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
ro.media.dec.jpeg.memcap=80000000
ro.media.enc.jpeg.quality=100
Click to expand...
Click to collapse
Thank you for the response!
First, that build.prop list is awesome. I have been messing around with tweaks to it and that's a very nice comprehensive list.
I just checked the diffs, can I add new "EncoderProfile"'s?
like:
Code:
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="40000000"
width="1920"
height="1080"
frameRate="20" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
How would I find out which codecs the evo is able to use?
Can the Evo use all of the following?
Video: h264, h263, m4v... Audio: aac, amrwb, amrnb
I am pretty sure it can use the italicized codecs.
Im going to mess around with the values now that I have something to go by.
Thank you.

xNotta said:
Thank you for the response!
First, that build.prop list is awesome. I have been messing around with tweaks to it and that's a very nice comprehensive list.
I just checked the diffs, can I add new "EncoderProfile"'s?
like:
Code:
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="40000000"
width="1920"
height="1080"
frameRate="20" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
How would I find out which codecs the evo is able to use?
Can the Evo use all of the following?
Video: h264, h263, m4v... Audio: aac, amrwb, amrnb
I am pretty sure it can use the italicized codecs.
Im going to mess around with the values now that I have something to go by.
Thank you.
Click to expand...
Click to collapse
You can always try it out and see what happens... I've never messed with much outside the framework and SystemUI, personally.
Codecs are noted in build.prop:
Code:
ro.media.enc.vid.codec=m4v,h263,h264
ro.media.enc.aud.codec=amrnb

Related

HTC Plus! plugin not working? Here's help

- install rltoday instead.
link: http://rotlaus-software.de/projects/rltoday
- create the folder: \Program Files\rlToday\plus
- copy the attached file (Clock.png) into the created directory.
- create a text file and name it skin.xml
- copy following text into it and save:
<?xml version="1.0" ?>
<today height="135" refresh="100">
<Date x="44" y="25" format="dd" Alignment="Center" color="RGB(130, 130, 130)">
<Font size="30" font="Tahoma" />
</Date>
<AnalogClock timezone="+1" x="4" y="4" clockface="Clock.png">
<SecondHand show="false"/>
<MinuteHand color="RGB(230, 230, 230)"/>
<HourHand color="RGB(230, 230, 230)"/>
<OnClick File="/Windows/AlarmClock.exe"/>
</AnalogClock>
<Text text="Text Message" x="105" y="13" alignment="left" color="RGB(230, 230, 230)" >
<Font size="12" font="Tahoma" />
<OnClick File="\Windows\tmail.exe" />
</Text>
<Registry key="HKEY_CURRENT_USER\System\State\Messages\sms\Unread\Count" unknown="0" x="220" y="13" alignment="Center" color="RGB(230, 230, 230)">
<Font size="12" weight="bold" font="Tahoma" />
<OnClick File="\Windows\tmail.exe" />
</Registry>
<Text text=".................................." x="95" y="21" alignment="left" color="RGB(160, 160, 160)" >
<Font size="12" weight="bold" font="Tahoma" />
</Text>
<Text text="E-mail" x="105" y="35" alignment="left" color="RGB(230, 230, 230)" >
<Font size="12" font="Tahoma" />
<OnClick File="\Windows\tmail.exe" />
</Text>
<Registry key="HKEY_CURRENT_USER\System\State\Messages\TotalEmail\Unread\Count" unknown="0" x="220" y="35" alignment="Center" color="RGB(230, 230, 230)">
<Font size="12" weight="bold" font="Tahoma" />
<OnClick File="\Windows\tmail.exe" />
</Registry>
<Text text=".................................." x="95" y="43" alignment="left" color="RGB(160, 160, 160)" >
<Font size="12" weight="bold" font="Tahoma" />
</Text>
<Text text="Calls" x="105" y="57" alignment="left" color="RGB(230, 230, 230)" >
<Font size="12" font="Tahoma" />
<OnClick File="\Windows\cprog.exe" />
</Text>
<Registry key="HKEY_CURRENT_USER\System\State\Phone\Missed Call Count" unknown="0" x="220" y="57" alignment="Center" color="RGB(230, 230, 230)" >
<Font size="12" weight="bold" font="Tahoma" />
<OnClick File="\Windows\cprog.exe" />
</Registry>
<Application x="10" y="88" appnumber="0" size="40" />
<Application x="55" y="88" appnumber="1" size="40" />
<Application x="100" y="88" appnumber="2" size="40" />
<Application x="145" y="88" appnumber="3" size="40" />
<Application x="190" y="88" appnumber="4" size="40" />
</today>
Click to expand...
Click to collapse
- start rltoday and select skin called plus
- have fun
You may have to change fonts and icons.
Please read the rltoday instructions.
You must delete the following line in case "AlarmClock" is not installed:
<OnClick File="/Windows/AlarmClock.exe"/>
Click to expand...
Click to collapse
keywords: HTCPlus / HTC-Plus /HTC Plus!
screenshot
I love those icons.
Is there a way I can get them without using the rltoday software, or are they part of that package?
Those icons are part of a linux (Gnome) icon theme.
You can download the whole theme here:
http://www.gnome-look.org/content/show.php/BuuF-Deuce-iconset?content=46201
Oh, rad.
Coincidentally enough, I dual-boot into ubuntu 7.10 with gnome. I'm sensing a unified theme here...
NIce one was lookin for that for a long time, since the org. HTC-Plus wont run on my touch ...
TAhnx alot

SGXU WM 6.5 Bliss Theme & Titanium Remix

How Titanium Should Be... click image to download
special thanks to drkfngthdragnlrd for the titanium icon tutorial
i love it its possible to show only icons in standby?
its possible, but u would have to do this
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
<Text ID="Text 2" Left="72" Top="8" Width="440" Height="68" FontFamily="Segoe UI" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
to
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
this would only remove the text for Calender, you must remove the text code under the xxxxxxCondensed layer id for the others to have only icons
the cpr file can be edited using wordpad
How do you get top and bottom bar so transparent ?
I am tryhing a lot of mods (HDWall included), but none works on my Xperia.
I'm on a 23569 ROM.
Thanks
S
Thanx again chef
spikegotti said:
its possible, but u would have to do this
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
<Text ID="Text 2" Left="72" Top="8" Width="440" Height="68" FontFamily="Segoe UI" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
to
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
this would only remove the text for Calender, you must remove the text code under the xxxxxxCondensed layer id for the others to have only icons
the cpr file can be edited using wordpad
Click to expand...
Click to collapse
thanx again, i will try
Nice,I'll try it

[TWEAKS][Guide] 'build.prop' Tweaks

Most of these are BS, use if you want placebo. I don't support these anymore.
If you don't want to flash zips that makes your phone faster, or you just want to do it yourself, you should try this.
Intro:
As you know Android is open source and the development of Android is increased in today’s life. Android operating system is having some of the information which is really important . Now, whenever a user wants to do editing in the Android system, they do changes in build prop. Build prop tweaks are something which helps you to do changes in the system and customize your android.
If you are having any rooted Android device, this tweak will work absolutely fine. Every user can do editing. But while editing you have to make sure that you do it properly or else it will lead to a bricked Android device. You can easily increase the bootup time of your Android. Increase sound and much more.
Here are the working build.prop tweaks for our device:
Code:
#Better RAM management
ro.HOME_APP_ADJ=1
#Improved audio and video recording quality (works perfect on XL but still works good on X)
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.media.panorama.defres=3264×1840
ro.media.panorama.frameres=1280×720
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65
#Faster Streaming videos
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=false
#GPU rendering (works better if you have NULL Kernel
debug.sf.hw=1
debug.performance.tuning=1
video.accelerate.hw=1
debug.egl.profiler=1 # Measure rendering time in adb shell dumpsys gfxinfo
debug.egl.hw=1
debug.composition.type=gpu # Disable hardware overlays and use GPU for screen compositing
#Disables built in error reporting
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
#Better net speed
net.tcp.buffersize.default=4096,87380,256960, 4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,409 6,163 84,256960
net.tcp.buffersize.umts=4096,8 7380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,8 7380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,8 7380,256960,4096,163 84,256960
#Saves batery
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
#3G tweaks
ro.ril.hep=0
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
#Better scrolling
windowsmgr.max_events_per_sec=90 #Depends on your preference
ro.min_pointer_dur=8 ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
#Better signal
persist.cust.tel.eons=1
#Faster boot
ro.config.hw_quickpoweron=true
#Disables error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
#Battery life
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
#Performance
debug.performance.tuning=1
Code:
#Optional
#Disables the bootanimation
debug.sf.nobootanimation=1
That's it and thanks to ALL THE DEVS ON XDA FOR THIS
:fingers-crossed:
HOW TO TWEAK YOUR 'build.prop' :
1) Download and install root explorer on your Android device from above given requirements
2) Open the application and grant the root permissions
3) Now, simply open go to '/system/' and then you will be able to see a build.prop file
4) Now, click on the option called as Mount R/O.
5) Long press on 'build.prop' and you will get a pop-up
6) Just hit open with text editor and then you are good to go
7) Copy the code given above of your choice and simply paste on your build.prop
8) Click on the save changes and then reboot your Android device.
9) To double check, you must set the permissions of build.prop to rw-r-r, so that you will not encounter some kind of error.
thanks, i was looking for this for a long time
flashed the veez tweaks zip. does I need to add these build prop tweaks or already included in the zip
pyumredkar said:
flashed the veez tweaks zip. does I need to add these build prop tweaks or already included in the zip
Click to expand...
Click to collapse
its quite optional, it's up to you:good:
Works on nougat??
vjendra said:
Works on nougat??
Click to expand...
Click to collapse
not all, but some of them

[GUIDE] ★ Build Prop Edit Tweak ★ Any Android (2018)

Here is my Build Prop Tweaks from Jumping from Various Android Phones
Which seem to be useful for all my phones
If it doesnt work for you please post or if I am missing something please let me know
Just sharing as it helps me, so trying to help others
Please try this at you own risk :fingers-crossed:
Just use Build Prop Editor from G'play (needs to be rooted)
Its how I do it
Copy and Paste the below under the Last line, Save it and reboot to take affect
ro.HOME_APP_ADJ = 1
debug.performance.tuning=1
ro.ril.power_collapse=1
ro.ril.disable.power.collapse=0
pm.sleep_mode=1
ro.config.hw_power_saving=true
persist.cust.tel.eons=1
ro.ril.enable.amr.wideband=1
ro.config.hw_fast_dormancy=1
ro.config.vc_call_steps=20
ro.config.hw_power_saving=1
ro.ril.hep=0
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
#GOOGLE DNS*
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.wcdma.dns1=8.8.8.8
net.wcdma.dns2=8.8.4.4
net.hspa.dns1=8.8.8.8
net.hspa.dns2=8.8.4.4
net.lte.dns1=8.8.8.8
net.lte.dns2=8.8.4.4
net.ltea.dns1=8.8.8.8
net.ltea.dns2=8.8.4.4
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.gprs.dns1=8.8.8.8
net.gprs.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.wlan0.dns1=8.8.8.8
net.wlan0.dns2=8.8.4.4
net.eth0.dns1=8.8.8.8
net.eth0.dns2=8.8.4.4
wifi.supplicant_scan_interval=300
# Net speed tweak
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hspa=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hspda=4096,87380,256960,4096,16 384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,8 7380,1048576
net.tcp.buffersize.hspap=4096,87380,1220608,4096,1 6384,393216
net.tcp.buffersize.hsupa=4096,87380,704512,4096,16 384,262144
net.tcp.buffersize.evdo=4096,87380,563200,4096,163 84,262144
net.tcp.buffersize.evdo_b=6144,87380,1048576,6144, 87380,1048576
net.tcp.buffersize.lte=524288,1048576,2097152,5242 88,1048576,2097152
ro.lge.proximity.delay=0
mot.proximity.delay=25
ro.telephony.call_ring.delay=0
ring.delay=0
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.camcorder.videoModes=true
ime_vibration_pattern=0:60
ro.media.capture.flash=led
ro.media.capture.flashMinV=3300000
ro.media.capture.torchIntensity=40
ro.media.capture.flashIntensity=70
ro.media.capture.fast.fps=4
ro.media.capture.slow.fps=120
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65
# Video streaming optimization
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=false
media.stagefright.enable-rtsp=true
media.stagefright.enable-qcp=true
media.stagefright.enable-aac=true
# Camera Tweaks Supports Google Camera
persist.camera.HAL3.enabled=1
camera.HAL3.enabled=1
persist.camera.eis.enable=1
camera.eis.enable=1
persist.camera.is_mode=4
camera.is_mode=4
persist.camera.disable_zsl_mode=1
camera.disable_zsl_mode=1
persist.camera.gyro.android=4
camera.gyro.android=4
persist.camera.tof.direct=1
camera.tof.direct=1
persist.camera.tnr.preview=1
camera.tnr.preview=1
persist.camera.tnr.video=1
camera.tnr.video=1
ro.camera.notify_nfc=1
camera.notify_nfc=1
ro.media.panorama.defres=3264x1840
ro.media.panorama.frameres=1280x720
logcat.live=disable
# Auto Dimming Issues
persist.sys.cabc.enable=0
ro.service.cabc.supported=false
#scrolling speed
windowsmgr.max_events_per_sec=150
ro.min_pointer_dur=8
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
persist.sys.scrollingcache=3
debug.sf.hw=1
-----------------
These ones I have tried in other phones but *not this one*...... yet
Just Gaming
persist.sys.NV_FPSLIMIT=60 #or 90
persist.sys.NV_POWERMODE=1
persist.sys.NV_PROFVER=15
persist.sys.NV_STEREOCTRL=0
persist.sys.NV_STEREOSEPCHG=0
persist.sys.NV_STEREOSEP=20 #or30
persist.sys.purgeable_assets=1
debug.enabletr=true
debug.qctwa.preservebuf=1
dev.pm.dyn_samplingrate=1
video.accelerate.hw=1
ro.vold.umsdirtyratio=20
debug.overlayui.enable=1
debug.egl.hw=1
ro.fb.mode=1
hw3d.force=1
persist.sys.ui.hw=1
ro.sf.compbypass.enable=0
debug.sf.hw=1
debug.composition.type=c2d
persist.sys.composition.type=c2d
debug.performance.tuning=1
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
ro.media.codec_priority_for_thumb=so
# Dalvik Virtual Machine Tweaks
dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=64m
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.jmiopts=forcecopy
dalvik.vm.dex2oat-filter=interpret-only
dalvik.vm.image-dex2oat-filter=speed
Click to expand...
Click to collapse
Once copied over, Save the modified script with build.prop editor and reboot
Enjoy
I will try this for few minutes.
I think many of these are outdated
nhmanas said:
I think many of these are outdated
Click to expand...
Click to collapse
some of them are, but still, this works great!
System update enabling
My device manufacturer locked System Update by
ro.miki_ui_remove_system_update=1
I made it to 0 and then the system update appeared on the settings
ro.miki_ui_remove_system_update=0
If you don't have this line in your build.prop , search for the word update
in the editor ,read the line , if it is to disable make it 0 else 1
I prefer QuickEdit app , requires root , but can directly open from root directory and edit and modify all kind of text files.
*UPDATED*
RahulR0047 said:
My device manufacturer locked System Update by
ro.miki_ui_remove_system_update=1
I made it to 0 and then the system update appeared on the settings
ro.miki_ui_remove_system_update=0
If you don't have this line in your build.prop , search for the word update
in the editor ,read the line , if it is to disable make it 0 else 1
I prefer QuickEdit app , requires root , but can directly open from root directory and edit and modify all kind of text files.
Click to expand...
Click to collapse
Thanks for that :good:
Thank you for the tutorial, it really helped me

build.prop tweaks

Didnt tested yet on Mi A2 Lite. Use at your own risk.
Security
ro.build.selinux=1
ro.adb.secure=1
Cpu
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
dalvik.vm.boot-dex2oat-threads=8
dalvik.vm.dex2oat-threads=8
ro.sys.fw.dex2oat_thread_count=8
dalvik.vm.image-dex2oat-threads=8
persist.sys.dalvik.multithread=true
persist.sys.dalvik.hyperthreading=true
dalvik.vm.image-dex2oat-filter=speed
dalvik.vm.dex2oat-filter=speed
Camera
persist.camera.eis.enable=1
persist.vendor.camera.eis.enable=1
camera.eis.enable=1
vendor.camera.lowpower.record.enable=1
persist.camera.antibanding=60
persist.camera.HAL3.enabled=1
persist.vendor.camera.HAL3.enabled=1
persist.camera.max.previewfps=60
persist.vendor.camera.max.previewfps=60
persist.denoise.process.plates=2
persist.vendor.denoise.process.plates=2
ro.camcorder.videoModes=true
persist.camera.time.monotonic=1
persist.camera.isp.clock.optmz=0
Connections
net.dns1=176.103.130.132
net.dns2=176.103.130.134
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
persist.telephony.support.ipv6=0
ro.use_data_netmgrd=true
persist.data.netmgrd.qos.enable=true
ro.fm.transmitter=false
ro.product.wifi=802.11 n
ro.product.bluetooth=4.2
ro.usb_host=1
persist.radio.multisim.config=dsds
persist.radio.custom_ecc=1
persist.radio.RATE_ADAPT_ENABLE=1
ro.support.signalsmooth=true
persist.radio.is_wps_enabled=false
Battery saver
wifi.supplicant_scan_interval=240
ro.config.hw_power_saving=1
persist.radio.add_power_save=1
pm.sleep_mode=1
settings.display.autobacklight=1
dev.pm.dyn_samplingrate=1
ro.ril.sensor.sleep.control=1
qcom.bt.le_dev_pwr_class=1
For speed
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
profiler.force_disable_ulog=true
profiler.force_disable_ulog=1
profiler.force_disable_err_rpt=1
profiler.force_disable_err_rpt=true
profiler.hung.dumpdobugreport=false
debugtool.anrhistory=0
debug.mdpcomp.logs=0
profiler.debugmonitor=false
profiler.launch=false
logcat.live=disable
persist.camera.debug.logfile=0
Lcd Brightness
ro.lcd_min_brightness=30
ro.lcd_max_brightness=210
persist.vendor.max.brightness=210
UI
ro.fps_enable=1
gpu.fps=auto
cpu.fps=auto
ro.fps.capsmax=60fps
ro.fps.capsmin=30fps
boot.fps=30
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=4
hw2d.force=1
hw3d.force=1
debug.hwui.render_dirty_regions=false
hwui.render_dirty_regions=false
hwui.disable_vsync=true
ro.hwui.disable_scissor_opt=true
persist.splitwindow.support_all=true
ro.config.disable.hw_accel=false
debug.sf.hw=1
transition_animation_scale=0.6
persist.sys.NV_FPSLIMIT=60
persist.sys.scrollingcache=4
ro.hardware.egl=adreno
sys.use_fifo_ui=1
view.scroll_friction=10
debug.performance.tuning=1
Video
sys.display-size=2280x1080
encoder.video.profile=high
vendor.vidc.dec.enable.downscalar=1
vidc.dec.downscalar_width=2280
vidc.dec.downscalar_height=1080
vidc.enc.disable_bframes=1
ro.media.enc.hprof.vid.fps=65
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=false
media.stagefright.use-awesome=false
ro.media.dec.vid.wmv.enabled=1
ro.media.enc.vid.wmv.enabled=1
ro.media.dec.vid.H.264.enabled=1
ro.media.enc.vid.H.264.enabled=1
ro.media.dec.vid.mp4.enabled=1
ro.media.enc.vid.mp4.enabled=1
ro.media.enc.jpeg.quality=100
persist.mm.enable.prefetch=true
mm.enable.smoothstreaming=true
mm.enable.sec.smoothstreaming=true
persist.mm.sta.enable=1
mm.mpeg4dp.hw.support=true
video.accelerate.hw=1
Nfc
persist.factory.nfc=false
ro.nfc.on.default=false
Bluetooth
persist.bt.enableAptXHD=true
persist.service.btui.use_aptx=1
persistent.bt.a2dp_offload_cap=sbc-aptx-aptXHD
persistent.vendor.bt.a2dp_offload_cap=sbc-aac-aptx-aptXHD
ro.bluetooth.hfp.ver=1.7
persist.bt.a2dp.aptx_hd_disable=false
Audio
vendor.audio.media.stereo.control=0
af.resampler.quality=255
persist.audio.dualmic.config=endfire
persist.audio.fluence.mode=endfire
persist.audio.fluence.voicecall=true
persist.vendor.audio.fluence.voicecomm=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
audio.deep_buffer.media=true
vendor.voice.conc.fallbackpath=deep-buffer
ro.media.dec.aud.mp3.enabled=1
ro.media.enc.aud.mp3.enabled=1
ro.media.dec.aud.flac.enabled=1
ro.media.enc.aud.flac.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.enc.aud.wma.enabled=1
media.aac_51_output_enabled=true
flac.sw.decoder.24bit.support=true
persist.audio.speaker.dualmode=true
vendor.audio.playback.mch.downsample=true
vendor.audio.use.sw.alac.decoder=true
vendor.audio.use.sw.ape.decoder=true
af.fast_track_multiplier=1
Ram
sys.keep_app_1=com.teslacoilsw.launcher
sys.keep_app_2=appbuck3t.youtubeadskipper
sys.keep_app_3=com.android.inputmethod.latin
sys.keep_app_4=com.android.systemui
ro.config.max_starting_bg=4
ro.sys.fw.bservice_enable=true
ro.sys.fw.bservice_limit=4
ro.sys.fw.bservice_age=5000
ro.HOME_APP_ADJ=1
ro.sys.fw.use_trim_settings=true
ro.trim.config=true
Disable multiple user
fw.max_users=1
fw.show_multiuserui=0
fw.show_hidden_users=0
fw.power_user_switcher=0
this works on latest android 9.0?
perfect_ said:
Didnt tested yet on Mi A2 Lite. Use at your own risk.
Security
ro.build.selinux=1
ro.adb.secure=1
Cpu
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
dalvik.vm.boot-dex2oat-threads=8
dalvik.vm.dex2oat-threads=8
ro.sys.fw.dex2oat_thread_count=8
dalvik.vm.image-dex2oat-threads=8
persist.sys.dalvik.multithread=true
persist.sys.dalvik.hyperthreading=true
dalvik.vm.image-dex2oat-filter=speed
dalvik.vm.dex2oat-filter=speed
Camera
persist.camera.eis.enable=1
persist.vendor.camera.eis.enable=1
camera.eis.enable=1
vendor.camera.lowpower.record.enable=1
persist.camera.antibanding=60
persist.camera.HAL3.enabled=1
persist.vendor.camera.HAL3.enabled=1
persist.camera.max.previewfps=60
persist.vendor.camera.max.previewfps=60
persist.denoise.process.plates=2
persist.vendor.denoise.process.plates=2
ro.camcorder.videoModes=true
persist.camera.time.monotonic=1
persist.camera.isp.clock.optmz=0
Connections
net.dns1=176.103.130.132
net.dns2=176.103.130.134
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
persist.telephony.support.ipv6=0
ro.use_data_netmgrd=true
persist.data.netmgrd.qos.enable=true
ro.fm.transmitter=false
ro.product.wifi=802.11 n
ro.product.bluetooth=4.2
ro.usb_host=1
persist.radio.multisim.config=dsds
persist.radio.custom_ecc=1
persist.radio.RATE_ADAPT_ENABLE=1
ro.support.signalsmooth=true
persist.radio.is_wps_enabled=false
Battery saver
wifi.supplicant_scan_interval=240
ro.config.hw_power_saving=1
persist.radio.add_power_save=1
pm.sleep_mode=1
settings.display.autobacklight=1
dev.pm.dyn_samplingrate=1
ro.ril.sensor.sleep.control=1
qcom.bt.le_dev_pwr_class=1
For speed
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
profiler.force_disable_ulog=true
profiler.force_disable_ulog=1
profiler.force_disable_err_rpt=1
profiler.force_disable_err_rpt=true
profiler.hung.dumpdobugreport=false
debugtool.anrhistory=0
debug.mdpcomp.logs=0
profiler.debugmonitor=false
profiler.launch=false
logcat.live=disable
persist.camera.debug.logfile=0
Lcd Brightness
ro.lcd_min_brightness=30
ro.lcd_max_brightness=210
persist.vendor.max.brightness=210
UI
ro.fps_enable=1
gpu.fps=auto
cpu.fps=auto
ro.fps.capsmax=60fps
ro.fps.capsmin=30fps
boot.fps=30
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=4
hw2d.force=1
hw3d.force=1
debug.hwui.render_dirty_regions=false
hwui.render_dirty_regions=false
hwui.disable_vsync=true
ro.hwui.disable_scissor_opt=true
persist.splitwindow.support_all=true
ro.config.disable.hw_accel=false
debug.sf.hw=1
transition_animation_scale=0.6
persist.sys.NV_FPSLIMIT=60
persist.sys.scrollingcache=4
ro.hardware.egl=adreno
sys.use_fifo_ui=1
view.scroll_friction=10
debug.performance.tuning=1
Video
sys.display-size=2280x1080
encoder.video.profile=high
vendor.vidc.dec.enable.downscalar=1
vidc.dec.downscalar_width=2280
vidc.dec.downscalar_height=1080
vidc.enc.disable_bframes=1
ro.media.enc.hprof.vid.fps=65
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=false
media.stagefright.use-awesome=false
ro.media.dec.vid.wmv.enabled=1
ro.media.enc.vid.wmv.enabled=1
ro.media.dec.vid.H.264.enabled=1
ro.media.enc.vid.H.264.enabled=1
ro.media.dec.vid.mp4.enabled=1
ro.media.enc.vid.mp4.enabled=1
ro.media.enc.jpeg.quality=100
persist.mm.enable.prefetch=true
mm.enable.smoothstreaming=true
mm.enable.sec.smoothstreaming=true
persist.mm.sta.enable=1
mm.mpeg4dp.hw.support=true
video.accelerate.hw=1
Nfc
persist.factory.nfc=false
ro.nfc.on.default=false
Bluetooth
persist.bt.enableAptXHD=true
persist.service.btui.use_aptx=1
persistent.bt.a2dp_offload_cap=sbc-aptx-aptXHD
persistent.vendor.bt.a2dp_offload_cap=sbc-aac-aptx-aptXHD
ro.bluetooth.hfp.ver=1.7
persist.bt.a2dp.aptx_hd_disable=false
Audio
vendor.audio.media.stereo.control=0
af.resampler.quality=255
persist.audio.dualmic.config=endfire
persist.audio.fluence.mode=endfire
persist.audio.fluence.voicecall=true
persist.vendor.audio.fluence.voicecomm=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
audio.deep_buffer.media=true
vendor.voice.conc.fallbackpath=deep-buffer
ro.media.dec.aud.mp3.enabled=1
ro.media.enc.aud.mp3.enabled=1
ro.media.dec.aud.flac.enabled=1
ro.media.enc.aud.flac.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.enc.aud.wma.enabled=1
media.aac_51_output_enabled=true
flac.sw.decoder.24bit.support=true
persist.audio.speaker.dualmode=true
vendor.audio.playback.mch.downsample=true
vendor.audio.use.sw.alac.decoder=true
vendor.audio.use.sw.ape.decoder=true
af.fast_track_multiplier=1
Ram
sys.keep_app_1=com.teslacoilsw.launcher
sys.keep_app_2=appbuck3t.youtubeadskipper
sys.keep_app_3=com.android.inputmethod.latin
sys.keep_app_4=com.android.systemui
ro.config.max_starting_bg=4
ro.sys.fw.bservice_enable=true
ro.sys.fw.bservice_limit=4
ro.sys.fw.bservice_age=5000
ro.HOME_APP_ADJ=1
ro.sys.fw.use_trim_settings=true
ro.trim.config=true
Disable multiple user
fw.max_users=1
fw.show_multiuserui=0
fw.show_hidden_users=0
fw.power_user_switcher=0
Click to expand...
Click to collapse
Have you been able to test these entries?

Categories

Resources