[Motorola Droid RAZR] droidrazr001:
hello friends finnally i found a solution for droid razr lagg problem

you need to just add this on your droid razr

system/build.pro

Code -

art.vm.heapstartsize=16m

art.vm.heapgrowthlimit=96m

art.vm.heapsize=256m

art.vm.heaptargetutilization=0.75

art.vm.heapminfree=2m

art.vm.heapmaxfree=8m

persist.sys.ui.hw=1

debug.performance.tuning=1

debug.gr.swapinterval=0

persist.sys.use_16bpp_alpha=1

persist.sys.purgeable_assets=1

persist.sys.scrollingcache=4

persist.sys.purgeable_assets=1

persist.sys.smoothscrollbar=true

debug.mdpcomp.logs=0

logcat.live=disable

ro.fps_enable=1

ro.fps.capsmin=60fps

ro.fps.capsmax=60fps

ro.radio.noril=no

persist.service.pcsync.enable=0

persist.service.lgospd.enable=0

persist.service.pcsync.enable=0

ro.ril.enable.a52=1

ro.ril.enable.a53=0

dalvik.vm.verify-bytecode=false

dalvik.vm.dexopt-flags=m=y,v=n,o=v

ro.HOME_APP_ADJ=1

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

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

debug.sf.hw=1

debug.performance.tuning=1

video.accelerate.hw=1

profiler.force_disable_err_rpt=1

profiler.force_disable_ulog=1

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

ro.mot.eri.losalert.delay=1000 (could brake tethering.)

ro.ril.power_collapse=1

pm.sleep_mode=1

wifi.supplicant_scan_interval=180

ro.mot.eri.losalert.delay=1000

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

logcat.live=disable

persist.telephony.support.ipv6=1

persist.telephony.support.ipv4=1

ro.telephony.call_ring.delay=0

ring.delay=0

ro.lge.proximity.delay=25

mot.proximity.delay=25

windowsmgr.max_events_per_sec=150

ro.min_pointer_dur=8 ro.max.fling_velocity=12000

ro.min.fling_velocity=8000

persist.cust.tel.eons=1

ro.ril.enable.amr.wideband=1

ro.config.hw_fast_dormancy=1

ro.config.hw_quickpoweron=true

ro.kernel.android.checkjni=0

ro.kernel.checkjni=0

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

persist.sys.use_dithering=1

wifi.supplicant_scan_interval=180

pm.sleep_mode=1

ro.ril.disable.power.collapse=0

debug.performance.tuning=1

this work with Lolipop / Marshmallow and Nougat

TESTED on DROID RAZR XT912

Android Version - 7.1.2 Nougat

OS - Resurrection Remix