Hello,
I make my own build.prop and i would like to know others opinion.
PHP:
#####IMPLEMENTED BY ME#####
#Default network type
#0 WCDMA preferred
#1 GSM only
#2 WCDMA only
#3 GSM auto (PRL)
#4 CDMA auto (PRL)
#5 CDMA only
#6 EvDo only
#7 GSM/CDMA (PRL)
#8 LTE/CDMA auto (PRL)
#9 LTE/GSM auto (PRL)
#10 LTE/GSM/CDMA auto (PRL)
#11 LTE only
#12 LTE/CDMA
#ro.telephony.default_network=0
#Modify MTU from 1500 to 1472 on 3G network
#Size of each packet that is leaving the interface
#ro.ril.set.mtusize=1472
ro.ril.set.mtu1472=1
#3G data modules
ro.use_data_netmgrd=true
persist.data_netmgrd_nint=8
persist.data_netmgrd_mtu=1482
#Signal & fast network tweak
ro.ril.hsxpa=4
ro.ril.gprsclass=12
ro.ril.hsdpa.category=28
ro.ril.hsupa.category=7
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.avoid.pdp.overlap=1
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.enable.sdr=1
ro.ril.radio.svn=1
ro.ril.enable.a53=1
ro.ril.enable.a52=0
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
ro.ril.enable.gea3=1
ro.ril.disable.fd.plmn.prefix=23402,23410,23411,23420,27202
#Better internet browsing & download speed
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.hspa=6144,87380,524288,6144,16384,262144
net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,87380,1048576
net.tcp.buffersize.lte=524288,1048576,2097152,524288,1048576,2097152
net.tcp.buffersize.evdo_b=6144,87380,1048576,6144,87380,1048576
#Don't know what is it ????
#ro.ril.fd.scron.timeout=2
#ro.ril.fd.scroff.timeout=3
#Wifi delay active, not afect tethering
#ro.mot.eri.losalert.delay=1000
#Allows the phone to sleep better
ro.ril.disable.power.collapse=1
#Status bar if device supported
#ro.statusbar.widget=true
#ro.statusbar.button=true
#ro.statusbar.yearmonthdayweek=true
#Saves power when phone is in sleep mode
pm.sleep_mode=1
#Better signal
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
#Better call voice quality
ro.ril.enable.amr.wideband=1
#Reduce dial-out time
ro.telephony.call_ring.delay=0
ring.delay=0
#Increase the volume steps in-call
ro.config.vc_call_steps=20
#Enable time services
persist.timed.enable=true
#Add-remove delay after ending calls
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.mot.buttonlight.timeout=0
#Sms size
#ro.telephony.sms_segment_size=160
#Delay second from 5s to 2s to send sms/mms
ro.gsm.2nd_data_retry_config=max/_retries=3, 2000, 2000, 2000
#Ipv support
persist.telephony.support.ipv4=1
persist.telephony.support.ipv6=1
#Make app load faster
#dalvik.vm.dexopt-flags=m=v,o=y
#Touch
touch.presure.scale=0.001
#Quick reboot
persist.sys.purgeable_assets=1
#Quick boot mode
ro.config.hw_quickpoweron=true
#Enable display dithering
persist.sys.use_dithering=1
#Disable error reporting and logs
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
#Disables error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
#Disable sending usage data
ro.config.nocheckin=1
#Disable logcat
logcat.live=disable
#Disable boot sound
#ro.config.play.bootsound=0
#Disable animation for faster startup
#debug.sf.nobootanimation=1
PS: Recently I used an application for saving battery GO BATTERY SAVER & POWER WIDGET. I like that 2 options to [enable/disable data&wifi after X seconds when screen it on/off]. Whats the source of that options to implement in my build.prop file?
Related
Hi mates my 4th POst on XDA
MODS and TWEAKS for Karbonn a21 and a9+
Download Root Explorer OR Root Browser
Goto System u'll see Build.pro long press on it a pop up ill open click open Text editor
Copy this To Bottom OF ur Build.pro
Reboot And Enjoy
Don't report any Bugs
This Build pro disables Boot animation and shutdown animation
Try at ur own risk
Important Note : Before u begin make sure u have backup
######################
## UNLIMITED™TWEAKS ##
######################
##EXPLANATION
# lines starting with "##" are group titles
# lines starting with "#" are not working on ICS+ or they are cyanogenmod specific if your on GB/cyanogenmod its suggested to remove "#"
## System Tweaks
#debug.sf.nobootanimation=1 # disable bootanimation [to active remove "#"]
dev.bootcomplete=0 # faster booting
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
#ro.HOME_APP_ADJ=1 #no effect in ICS +
ro.mot.eri.losalert.delay=1000
ro.ril.enable.amr.wideband=1
touch.presure.scale=0.001 # better touchscreen sensitivity
## Miscellaneous Tweaks
com.qc.hardware=1 # qualcomm
debug.qctwa.preservebuf=1 # qualcomm
debug.qctwa.statusbar=1 # qualcomm
debug.qc.hardware=true # qualcomm
persist.sys.shutdown.mode = hibernate
persist.telephony.support.ipv4=1
persist.telephony.support.ipv6=1
ro.telephony.sms_segment_size=160
pm.sleep_mode=1
ro.config.hw_fast_dormancy=1
ro.config.hw_power_saving=true
ro.media.enc.hprof.vid.fps=75
ro.mot.buttonlight.timeout=1
wifi.supplicant_scan_interval=180
## Signal Tweaks
persist.cust.tel.eons=1
persist.data_netmgrd_mtu=1482
persist.data_netmgrd_nint=8
ro.ril.gprsclass=10
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=6
ro.ril.hsxpa=1
ro.ril.set.mtu1472=1
ro.use_data_netmgrd=true
## Wireless Speed Tweaks
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.route.flush=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fack=1
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_wmem=4096 39000 187000
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,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.wifi=4096,87380,256960,4096,163 84,256960
## Makes streaming videos stream faster
media.stagefright.enable-http=true
media.stagefright.enable-meta=true
media.stagefright.enable-player=true
media.stagefright.enable-record=true
media.stagefright.enable-scan=true
## Website Bypass
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
## Graphics Enhancement
#ro.media.dec.jpeg.memcap=20000000 #no effect
ro.media.enc.hprof.vid.bps=8000000 # raise JPG quality to 100%
ro.media.enc.jpeg.quality=100
ro.media.enc.hprof.vid.fps=75
#video.accelerate.hw=1 #no effect on ICS +
## Disables data sent and logging
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.config.nocheckin=1
## Scrolling Responsiveness
persist.cust.tel.eons=1
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
windowsmgr.max_events_per_sec=90
## Power Saving Tweaks
#pm.sleep_mode=1 # no effect in ICS +
power_supply.wakeup=enable
proximity_incall=enable
ro.config.hw_fast_dormancy=1
ro.config.hw_power_saving=1
ro.config.hw_quickpoweron=true
ro.ril.disable.power.collapse=1
ro.ril.sensor.sleep.control=1 # sensor sleep control
usb_wakeup=enable
## Dialing Tweaks
mot.proximity.delay=25
ro.lge.proximity.delay=25
ro.telephony.call_ring.delay=0 # Decrease dialing out delay
## DalvikVM
dalvik.vm.dexopt-data-only=1dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.execution-mode=int:fast
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=64m # VM Heapsize, higher ram=higher value
dalvik.vm.heapstartsize=5m
dalvik.vm.jmiopts=forcecopy
dalvik.vm.lockprof.threshold=500
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.verify-bytecode=false
## Disable Logers (safe battery + performance gain)
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
## Performance
debug.composition.type=gpu
debug.egl.profiler=1 # Enable egl profiler
debug.egl.hw=1
debug.enabletr=true
debug.gr.swapinterval=1
debug.kill_allocating_task=0
#Debug.performance.tuning=1 #no effect on ICS +
debug.qctwa.preservebuf=1
debug.sf.hw=1 # render UI with GPU
dev.pm.dyn_samplingrate=1
ENFORCE_PROCESS_LIMIT=false
hw3d.force=1
#persist.sys.purgeable_assets=1 #cyanogenmod specific
#persist.sys.use_dithering=0 #cyanogenmod specific # when [1] performance are lower but image quality is better
persist.sys.use_16bpp_alpha=1
persist.sampling_profiler=0
persist.service.pcsync.enable=0
persist.service.lgospd.enable=0
persist.sys.NV_FPSLIMIT=60
persist.sys.ui.hw=1
#profiler.force_disable_err_rpt=1 # htc specific
#profiler.force_disable_ulog=1 #no effect in ICS +
ro.config.disable.hw_accel=false
ro.debuggable=1
ro.fb.mode=1
ro.kernel.android.checkjni=0
ro.min_pointer_dur=8
ro.min_pointer_dur=1
ro.secure=0
ro.sf.compbypass.enable=1
ro.vold.umsdirtyratio=20
ro.wmt.blcr.enable=0 # Disable the zygote loader
Data Tweaks
ro.ril.hsxpa=3
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=28
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=9
Powersave Tweaks
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=150
UI Tweaks
windowsmgr.max_events_per_sec=150
debug.sf.hw=1
video.accelerate.hw=1
Media Tweaks
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
Boot Tweaks
debug.sf.nobootanimation=1
persist.sys.shutdown.mode=hibernate
^^Makes phone boot rapidly fast.
System Tweaks
ro.ext4fs=1
Miscellaneous Tweaks
Change the Dalvik VM heap size
dalvik.vm.heapsize=64m
To enable the hard key lights to stay on while the screen is on and not timeout
ro.mot.buttonlight.timeout=0
Try disabling BLN if your having trouble getting this to work
To make the phone come off of the "black screen" in the middle of, or the end of phone calls when you pull the phone away from your face
mot.proximity.delay=150
**May kill the dialer**
To disable usb debugging popup
persist.adb.notify=0
To give your phone an HD effect fitting a little more on the screen, look for this in you current build.prop and change the 240 to:
ro.sf.lcd_density=X (225 or 230)
To enable the menu button too unlock the phone
ro.config.hw_menu_unlockscreen=true
To stop the phone from waking up when pressing the volume key
ro.config.hwfeature_wakeupkey=0
To make the phone ring faster when dialing out
ro.telephony.call_ring.delay=800
qemu.hw.mainkeys=0
HERE IS BATTERY TWEAKS 4 INCREASING BATTERY LIFE FOR ICS ONLY
ro.ril.disable.power.collapse=0
pm.sleep_mode=1
debug.performance.tuning=1
debug.composition.type=hw
debug.sf.hw=1
persist.android.strictmode=0
persist.sys.use_dithering=1
persist.sys.ui.hw=true
persist.sys.purgeable_assets=1
ro.com.google.networklocation=0
ro.kernel.android.checkjni=0
ro.config.nocheckin=1
ro.vold.umsdirtyratio=20
dalvik.vm.checkjni=false
dalvik.vm.execution-mode=int:jit
video.accelerate.hw=1
windowsmgr.max_events_per_sec=240
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
:angel:Make Sure You have to Backup First:angel:
:good::good::good::goodress Thanks If you like :good::good::good::good:
1. Fast Reboot
persist.sys.purgeable_assets=1
1.1 Faster boot.
ro.config.hw_quickpoweron=true
2. Increasing The Video Recording Quality
ro.media.enc.hprof.vid.bps=8000000
3. Screen Rotate To 270 degree
windowsmgr.support_rotation_270=true;
4. Increase VM Heap Size(resolve some fc's)
dalvik.vm.heapsize=64m
5. Render UI With GPU
debug.sf.hw=1
6. Increasing It Will Make Mobile Smoother
windowsmgr.max_events_per_sec=150
7. Video Acceleration Enabled And HW debugging. debug.composition.type can also be changed to cpu or mdp.
video.accelerate.hw=1
debug.sf.hw=1
debug.performance.tuning=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
8. Increase Performance
debug.performance.tuning=1
9. Disable Sending Usage Data
ro.config.nocheckin=1
10. Deeper Sleep/Better battery life
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
11. Ringing Will Start Immediately
ro.telephony.call_ring.delay=0
ring.delay=0
12. Disable Error Checking
ro.kernel.android.checkjni=0
13. Increase Quality Of Media Streaming
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
14. Disable BootAnimation
debug.sf.nobootanimation=1
16. Force To Remain Launcher In Memory
ro.HOME_APP_ADJ=1
17. Disable Waking Up Of Phone By Volume Buttons
ro.config.hwfeature_wakeupkey=0
18. Off The Proximity Quiclky After Call
mot.proximity.delay=25
ro.lge.proximity.delay=25
19. Better Signal Tweaks
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
20. NetSpeed Tweaks
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
21. Google DNS Tweak
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
22. Photo And Video Quality
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=3264x1840
ro.media.panorama.frameres=1280x720
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65
23. Touch Responsiveness
debug.performance.tuning=1
video.accelerate.hw=1
24. Scrolling Responsiveness
windowsmgr.max_events_per_sec=500
25. Power Save Tweaks
pm.sleep_mode=1
ro.ril.power_collapse=1
wifi.supplicant_scan_interval=180
ro.mot.eri.losalert.delay=1000 could brake tethering
26. Disables Debug Icon On Status Bar
persist.adb.notify=0
27. Faster Better Scrolling
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
windowsmgr.max_events_per_sec=150
ro.min_pointer_dur=8
28. wifi to scan less frequently
wifi.supplicant_scan_interval=180
29. improve battery under no signal
ro.mot.eri.losalert.delay=1000
30. makes apps load faster and frees more ram. (Edit exsisting line)
dalvik.vm.dexopt-flags=m=v,o=y
31. Off The Proximity Quickly After Call
ro.lge.proximity.delay=25
mot.proximity.delay=25
32. Disables built in error reporting.
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
33. 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
34. Disables logcat
logcat.live=disable
35. Screen recognizes only two fingers.
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
36. Support for ipv4 and ipv6.
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
37. Disables blackscreen issue after a call.
ro.lge.proximity.delay=25
mot.proximity.delay=25
38. Better call voice quality.
ro.ril.enable.amr.wideband=1
39. 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
40. Disable notification while adb is active
persist.adb.notify=0
41. Change LCD density
- Default value is 240. Don't forget to install a patched market after changing it.
ro.sf.lcd.density=240
42. MMS APN retry timer set to 2 sec( if SMS/MMS couldn`t be sent, it retries after 2 instead of 5 seconds).
ro.gsm.2nd_data_retry_config=max/_retries=3, 2000, 2000, 2000
43. Key lights stay on while screen is on.
ro.mot.buttonlight.timeout=0
44. Disable strict mode checking.
persist.android.strictmode=0
45. Remove FPS cap. May be unstable - better have it activated
debug.gr.swapinterval=0
47. Disable notification sound for SD storage insert
persist.service.mount.playsnd=0
48. Enable display dithering
persist.sys.use_dithering=1
49. More volume steps in call.
ro.config.vc_call_steps=20
50. Phone will not wake up from hitting volume rocker.
ro.config.hwfeature_wakeupkey=0
51. Lock app in memory.
sys.keep_app_1=com.your.app.app
52. Enables MTP mode.
persist.sys.usb.config=mtp
53.Liquid Smooth Ui
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
54. Qualcomm tweaks
com.qc.hardware=1
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1
55. Wireless Tweaks
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.route.flush=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fack=1
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_wmem=4096 39000 18700
wifi.supplicant_scan_interval=180
Change android name and version
ro.build.display.id=Your ROM name
ro.build.version.release=4.4.2 (Android version number)
:good::good::good::goodress Thanks If you like :good::good::good::good:
the 3d video acceleration tweak really boost 3d games.. Really useful..
aerowave.kevin said:
the 3d video acceation tweak really boost 3d games.. Really useful..
Click to expand...
Click to collapse
Yes it is :highfive::fingers-crossed:
if anyone change build.prop via mobile then check http://forum.xda-developers.com/showthread.php?t=2747647
don't forget to press thanks if help
Really useful :good:
Half ot these either don't do anything or don't help.
I thought some developers can be found on XDA, a place when kernel hacking and so forth can be shared. But to address the OP:
> dalvik.vm.heapsize=64m
Prior to ART there's no heap compaction. With no way to combat memory fragmentation memory pressure is better than using all heap for fragmented sparse data.
> windowsmgr.max_events_per_sec=150
Default value's already 150% of the refresh rate. There's no jitter, that just wastes cycles due to needless framebuffer changes.
> ro.HOME_APP_ADJ=1
Last worked on 2.x series.
> pm.sleep_mode=1
> ro.ril.power_collapse=1
Doesn't do anything.
Really.
Hey, Bro
@dip6691
Nice work
but you should also work on init.d tweaks
they are much effective that build.prop tweaks (In my opinion)
also people should flash performance improvement tweaks e.g (supercharger or pureperformancesX)
one more thing,
flashing custom kernel=more governors=more I/O Schedulers=Overclocking=HighPerformance !
Keep going
not bad
awsome:good:
That is awesome thread thanks
How to enable tweaks...help..I am not so expert
super bro thankyou for these .....and can we be in contact i am making a own new mobile next year if you or others want to help me pl contact
[email protected] [email protected] ...........
---------- Post added at 12:52 PM ---------- Previous post was at 12:49 PM ----------
bro first u have to root ur phone and downlode root explorer and search for build.prop
and edit....
I change my core 2 to 5.0.2 and model SM-G900F can I continue with this build prop tweaks
cool! is there a way to overwrite the MIN_STREAM_VOLUME ( STREAM_MUSIC) value? On motorola it seems to have a quite high value...
From the audioservices.java:
Code:
/** Minimum volume index values for audio streams */
protected static int[] MIN_STREAM_VOLUME = new int[] {
1, // STREAM_VOICE_CALL
0, // STREAM_SYSTEM
0, // STREAM_RING
0, // STREAM_MUSIC
1, // STREAM_ALARM
0, // STREAM_NOTIFICATION
0, // STREAM_BLUETOOTH_SCO
0, // STREAM_SYSTEM_ENFORCED
0, // STREAM_DTMF
0, // STREAM_TTS
1 // STREAM_ACCESSIBILITY
};
Clear all button position - oneplus 3t
Hi,
I did these tweaks on my oneplus 3t, after restarting I see the clear all recent apps button has gone to top right. I'm running the latest stock ROM. How to change that to come to the bottom of the screen? Also, do you have any tweak to change the headset button config? Like, I want the single press to mute my mic during call, instead of disconnecting the call and long press to disconnect the call.
Thanks
Build Props Tweaks [For both rooting method (System & Systemless)]
Code:
I am NOT responsible for bricked devices, destroyed SD cards or any
damage that may happen to your device.
We need to add this code to the end of file "/system/build.prop"
I will add complete information in the future about these codes!
I try these in Lineage OS 17.1 and give good results!
To begging these tweaks:
1- Enable adb from developer options.
2- In recovery mode mount System partition and connect your USB to your computer!
3- Open your computer terminal and type this (to pull(download) the file "/system/build.prop" to your Desktop):
adb pull /system/build.prop ~/Desktop/build.prop
4- Now come to your Desktop and first take a backup from this file then open the file "build.prop" with text editor and add all below codes to the end of file "build.prop" then save it! (don't try to edit other lines!)
Code:
#----------------------------------
# Start
#----------------------------------
# Audio enhancer
persist.audio.fluence.mode=endfire
persist.audio.vr.enable=true
persist.audio.handset.mic=digital
af.resampler.quality=255
mpq.audio.decode=true
#----------------------------------
# Call delay
ro.telephony.call_ring.delay=800
#----------------------------------
# Video acceleration enabled
video.accelerate.hw=1
#----------------------------------
# Wifi scaning rate [every 60 --> 1 scan / min]
wifi.supplicant_scan_interval=180
#----------------------------------
# Deeper sleep/better battery life [for extrimmly power save] [kills all background apps]
ro.ril.disable.power.collapse=1
# pm.sleep_mode=1
#----------------------------------
# Improves audio and video recording quality
ro.media.enc.hprof.vid.fps=65
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.camcorder.videoModes=true
#----------------------------------
# Picture Quality Enhancer
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
#----------------------------------
# Disable Boot Animation [for Enable set 0]
debug.sf.nobootanimation=1
#----------------------------------
# Disable Camera Sound
ro.camera.sound.forced=0
#----------------------------------
# Better Scrolling
ro.min_pointer_dur=8
ro.max.fling_velocity=12000
windowsmgr.max_events_per_sec=60
#----------------------------------
# Disable strict mode checking
persist.android.strictmode=0
#----------------------------------
# Remain launcher in memory
ro.HOME_APP_ADJ=1
#----------------------------------
# Disable usb debugging popup in notification
# persist.adb.notify=0
#----------------------------------
# Proximeter delays
ro.lge.proximity.delay=25
mot.proximity.delay=10
#----------------------------------
# media enhancer [codecs]
ro.media.dec.aud.flac.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.avi.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.aud.mp3.enabled=1
ro.media.dec.vid.mp4.enabled=1
ro.media.dec.aud.flac.enabled=1
ro.media.dec.vid.H.264.enabled=1
ro.media.enc.aud.flac.enabled=1
ro.media.enc.vid.H.264.enabled=1
ro.media.enc.aud.wma.enabled=1
ro.media.enc.vid.wmv.enabled=1
ro.media.enc.aud.mp3.enabled=1
ro.media.enc.vid.mp4.enabled=1
#----------------------------------
# Improved performance
debug.performance.tuning=1
#----------------------------------
# DNS Servers [Quad9 & Cloudflare]
net.dns1=9.9.9.9
net.dns2=149.112.112.112
net.dns3=1.1.1.1
net.dns4=1.0.0.1
net.wlan0.dns1=9.9.9.9
net.wlan0.dns2=149.112.112.112
net.wlan0.dns3=1.1.1.1
net.wlan0.dns4=1.0.0.1
net.eth0.dns1=9.9.9.9
net.eth0.dns2=149.112.112.112
net.eth0.dns3=1.1.1.1
net.eth0.dns4=1.0.0.1
net.wcdma.dns1=9.9.9.9
net.wcdma.dns2=149.112.112.112
net.wcdma.dns3=1.1.1.1
net.wcdma.dns4=1.0.0.1
net.hspa.dns1=9.9.9.9
net.hspa.dns2=149.112.112.112
net.hspa.dns3=1.1.1.1
net.hspa.dns4=1.0.0.1
net.lte.dns1=9.9.9.9
net.lte.dns2=149.112.112.112
net.lte.dns3=1.1.1.1
net.lte.dns4=1.0.0.1
net.ltea.dns1=9.9.9.9
net.ltea.dns2=149.112.112.112
net.ltea.dns3=1.1.1.1
net.ltea.dns4=1.0.0.1
#----------------------------------
# Better Network Signals
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
#----------------------------------
# Better call voice quality
ro.ril.enable.amr.wideband=1
#----------------------------------
# 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
#----------------------------------
# Disables built in error reporting
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
#----------------------------------
# Disables kernel error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
#----------------------------------
# Disable Logcat
logcat.live=disable
#----------------------------------
# Disables sending of usage data
ro.config.nocheckin=1
#----------------------------------
# Boost Booting Speed & hibernate mode
ro.config.hw_quickpoweron=true
persist.sys.shutdown.mode=hibernate
#----------------------------------
# Very fast reboot
persist.sys.purgeable_assets=1
#----------------------------------
# Disables locating
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
#----------------------------------
# Net speed enhancer[tcp buffersize]
net.tcp.buffersize.default=6144,87380,110208,6144,16384,110208
net.tcp.buffersize.edge=6144,26280,35040,6144,16384,35040
net.tcp.buffersize.evdo_b=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.gprs=6144,8760,11680,6144,8760,11680
net.tcp.buffersize.hsdpa=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.hspa=6144,87380,262144,6144,16384,262144
net.tcp.buffersize.lte=262144,524288,3145728,262144,524288,3145728
net.tcp.buffersize.umts=6144,87380,110208,6144,16384,110208
net.tcp.buffersize.wifi=262144,524288,1048576,262144,524288,1048576
#----------------------------------
# For Sensor Sleep Control
ro.ril.sensor.sleep.control=1
#----------------------------------
# DHA tunning
ro.config.dha_tunnable=1
#----------------------------------
# Faster Boot-Animation FPS
# boot.fps=20
#----------------------------------
# END
#----------------------------------
5- Now we must push(upload) new file "build.prop" by typing this command in your terminal:
adb push ~/Desktop/build.prop /system/build.prop
If you have a problem with these tweaks use backup file to restore your first file "/system/build.prop"
If you have any suggestion to improve this thread please tell me!
Thanks for sharing
Build Props Tweaks [For both rooting method (System & Systemless)]
Code:
I am NOT responsible for bricked devices, destroyed SD cards or any
damage that may happen to your device.
We need to add this code to the end of file "/system/build.prop"
I will add complete information in the future about these codes!
I try these in Lineage OS 17.1 and give good results!
To begging these tweaks:
1- Enable adb from developer options.
2- In recovery mode mount System partition and connect your USB to your computer!
3- Open your computer terminal and type this (to pull(download) the file "/system/build.prop" to your Desktop):
adb pull /system/build.prop ~/Desktop/build.prop
4- Now come to your Desktop and first take a backup from this file then open the file "build.prop" with text editor and add all below codes to the end of file "build.prop" then save it! (don't try to edit other lines!)
Code:
#----------------------------------
# Start
#----------------------------------
# Audio enhancer
persist.audio.fluence.mode=endfire
persist.audio.vr.enable=true
persist.audio.handset.mic=digital
af.resampler.quality=255
mpq.audio.decode=true
#----------------------------------
# Call delay
ro.telephony.call_ring.delay=800
#----------------------------------
# Video acceleration enabled
video.accelerate.hw=1
#----------------------------------
# Wifi scaning rate [every 60 --> 1 scan / min]
wifi.supplicant_scan_interval=180
#----------------------------------
# Deeper sleep/better battery life [for extrimmly power save] [kills all background apps]
ro.ril.disable.power.collapse=1
# pm.sleep_mode=1
#----------------------------------
# Improves audio and video recording quality
ro.media.enc.hprof.vid.fps=65
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.camcorder.videoModes=true
#----------------------------------
# Picture Quality Enhancer
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
#----------------------------------
# Disable Boot Animation [for Enable set 0]
debug.sf.nobootanimation=1
#----------------------------------
# Disable Camera Sound
ro.camera.sound.forced=0
#----------------------------------
# Better Scrolling
ro.min_pointer_dur=8
ro.max.fling_velocity=12000
windowsmgr.max_events_per_sec=60
#----------------------------------
# Disable strict mode checking
persist.android.strictmode=0
#----------------------------------
# Remain launcher in memory
ro.HOME_APP_ADJ=1
#----------------------------------
# Disable usb debugging popup in notification
# persist.adb.notify=0
#----------------------------------
# Proximeter delays
ro.lge.proximity.delay=25
mot.proximity.delay=10
#----------------------------------
# media enhancer [codecs]
ro.media.dec.aud.flac.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.avi.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.aud.mp3.enabled=1
ro.media.dec.vid.mp4.enabled=1
ro.media.dec.aud.flac.enabled=1
ro.media.dec.vid.H.264.enabled=1
ro.media.enc.aud.flac.enabled=1
ro.media.enc.vid.H.264.enabled=1
ro.media.enc.aud.wma.enabled=1
ro.media.enc.vid.wmv.enabled=1
ro.media.enc.aud.mp3.enabled=1
ro.media.enc.vid.mp4.enabled=1
#----------------------------------
# Improved performance
debug.performance.tuning=1
#----------------------------------
# DNS Servers [Quad9 & Cloudflare]
net.dns1=9.9.9.9
net.dns2=149.112.112.112
net.dns3=1.1.1.1
net.dns4=1.0.0.1
net.wlan0.dns1=9.9.9.9
net.wlan0.dns2=149.112.112.112
net.wlan0.dns3=1.1.1.1
net.wlan0.dns4=1.0.0.1
net.eth0.dns1=9.9.9.9
net.eth0.dns2=149.112.112.112
net.eth0.dns3=1.1.1.1
net.eth0.dns4=1.0.0.1
net.wcdma.dns1=9.9.9.9
net.wcdma.dns2=149.112.112.112
net.wcdma.dns3=1.1.1.1
net.wcdma.dns4=1.0.0.1
net.hspa.dns1=9.9.9.9
net.hspa.dns2=149.112.112.112
net.hspa.dns3=1.1.1.1
net.hspa.dns4=1.0.0.1
net.lte.dns1=9.9.9.9
net.lte.dns2=149.112.112.112
net.lte.dns3=1.1.1.1
net.lte.dns4=1.0.0.1
net.ltea.dns1=9.9.9.9
net.ltea.dns2=149.112.112.112
net.ltea.dns3=1.1.1.1
net.ltea.dns4=1.0.0.1
#----------------------------------
# Better Network Signals
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
#----------------------------------
# Better call voice quality
ro.ril.enable.amr.wideband=1
#----------------------------------
# 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
#----------------------------------
# Disables built in error reporting
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
#----------------------------------
# Disables kernel error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
#----------------------------------
# Disable Logcat
logcat.live=disable
#----------------------------------
# Disables sending of usage data
ro.config.nocheckin=1
#----------------------------------
# Boost Booting Speed & hibernate mode
ro.config.hw_quickpoweron=true
persist.sys.shutdown.mode=hibernate
#----------------------------------
# Very fast reboot
persist.sys.purgeable_assets=1
#----------------------------------
# Disables locating
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
#----------------------------------
# Net speed enhancer[tcp buffersize]
net.tcp.buffersize.default=6144,87380,110208,6144,16384,110208
net.tcp.buffersize.edge=6144,26280,35040,6144,16384,35040
net.tcp.buffersize.evdo_b=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.gprs=6144,8760,11680,6144,8760,11680
net.tcp.buffersize.hsdpa=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.hspa=6144,87380,262144,6144,16384,262144
net.tcp.buffersize.lte=262144,524288,3145728,262144,524288,3145728
net.tcp.buffersize.umts=6144,87380,110208,6144,16384,110208
net.tcp.buffersize.wifi=262144,524288,1048576,262144,524288,1048576
#----------------------------------
# For Sensor Sleep Control
ro.ril.sensor.sleep.control=1
#----------------------------------
# DHA tunning
ro.config.dha_tunnable=1
#----------------------------------
# Faster Boot-Animation FPS
# boot.fps=20
#----------------------------------
# END
#----------------------------------
5- Now we must push(upload) new file "build.prop" by typing this command in your terminal:
adb push ~/Desktop/build.prop /system/build.prop
If you have a problem with these tweaks use backup file to restore your first file "/system/build.prop"
If you have any suggestion to improve this thread please tell me!
What is this ?