[Galaxy Grand Prime Android Development] :
to fix battery drain

FIRST download smanager from playstore and run this file(attached) from the app. unzip the file and you'll find a file named fixcpu.sh. run it from the app smanager. to run it tick on su( turns green) and tick boot(turns blue) then click run.

SECOND add these lines in your build.prop

#ADD

mot.proximity.delay=25

pm.sleep_mode=1

ro.config.nocheckin=1

ro.lge.proximity.delay=25

# Better Responsiveness & Speed

windowsmgr.max_events_per_sec=90

ro.max.fling_velocity=15000

ro.min.fling_velocity=8000

touch.pressure.scale=0.1

# More RAM

persist.sys.purgeable_assets=1

persist.service.pcsync.enable=0

persist.service.lgospd.enable=0

#Hardware Power Saving

ro.config.hw_power_saving=true

#Disable Miscellaneous Android Logging Stuff

debugtool.anrhistory=0

profiler.debugmonitor=false

profiler.launch=false

profiler.hung.dumpdobugreport=false

#Enable ADB Debugging By Default & Disable USB Debugging Popup

persist.adb.notify=0

persist.service.adb.enable=1

persist.service.debuggable=1

persist.sys.usb.config=mtp,adb

#Disable Logers

ro.config.htc.nocheckin=1

ro.config.nocheckin=1

#Disable Kernel Error Checking

ro.kernel.android.checkjni=0

ro.kernel.checkjni=0

# Other Tweaks:

ro.config.combined_signal=true

#DHA tunning

ro.config.dha_tunnable=1

#Disable Strict Mode Checking

persist.android.strictmode=0

#Better signal reception

persist.cust.tel.eons=1

ro.config.hw_fast_dormancy=1

#For Sensor Sleep Control

ro.ril.sensor.sleep.control=1

#Faster Boot-Animation FPS

boot.fps=20

#Enable Quick Power-On Mode To Reduce Boot-Time

ro.config.hw_quickpoweron=true

persist.sys.shutdown.mode=hibernate

#Disable Scrolling Cache For Faster Scrolling

persist.sys.scrollingcache=3

ro.securestorage.knox=false

# Video Acceleration Enabled And HW debugging

debug.performance.tuning=1

# Dialing Tweaks

ro.telephony.call_ring.delay=0

ro.lge.proximity.delay=25

mot.proximity.delay=25

# Smoother video streaming and tweak media

media.stagefright.enable-meta=true

media.stagefright.enable-record=false

# Increase camera's photo and video recording quality

ro.media.dec.aud.wma.enabled=1

ro.media.dec.vid.wmv.enabled=1

# Support For IPV4 and IPV6

persist.telephony.support.ipv6=1

persist.telephony.support.ipv4=1

# Better image quality, lower performance.

persist.sys.use_dithering=1

# Better call voice quality.

ro.ril.enable.amr.wideband=1

debug.enabletr=true

debug.overlayui.enable=1

debug.qctwa.preservebuf=1

hw3d.force=1

ro.config.disable.hw_accel=false

ro.fb.mode=1

ro.sf.compbypass.enable=0

ro.vold.umsdirtyratio=20

persist.sys.composition.type=c2d

persist.sys.ui.hw=1

# System prop to select MPQAudioPlayer by default on mpq8064

mpq.audio.decode=true

# Better Scrolling responsiveness and speed

ro.min_pointer_dur=1

# Miscellaneous Tweaks for performance

ro.config.hw_menu_unlockscreen=false

ro.mot.eri.losalert.delay=1000

ro.telephony.sms_segment_size=160

# Hardware 2D & 3D Rendering

hw2d.force=1

# 3d performance

ro.secure=0

# Other Tweaks

ro.config.hw_new_wifitopdp=1

vm.dirty_ratio=90

vm.dirty_background_ratio=70

vm.vfs_cache_pressure=10

vm.min_free_kbytes=4096

#Minimum brightness of your screen

ro.lcd_min_brightness=1

# System Tweaks

ro.HOME_APP_ADJ=1

# Qualcomm Tweaks

debug.qctwa.statusbar=1

debug.qc.hardware=true

com.qc.hardware=true

debug.qctwa.preservebuf=1

# Disables data sent and logging

profiler.force_disable_err_rpt=1

profiler.force_disable_ulog=1

# DalvikVM

dalvik.vm.verify-bytecode=false

dalvik.vm.execution-mode=int:fast

dalvik.vm.checkjni=false

dalvik.vm.dexopt-data-only=1

dalvik.vm.lockprof.threshold=250

dalvik.vm.dexopt-flags=m=y

dalvik.vm.jmiopts=forcecopy

# Performance

debug.kill_allocating_task=0

force_hw_ui=true

ro.debuggable=1

# Saves some battery without reducing performances

power.saving.mode=1

# Battery save

ro.ril.disable.power.collapse=0

ro.ril.power_collapse=1

power_supply.wakeup=enable

profiler.force_disable_ulog=true

profiler.force_disable_err_rpt=true

profiler.force_disable_err_rpt=1

profiler.force_disable_ulog=1

# Increase some Performance

ro.product.gpu.driver=1

ENFORCE_PROCESS_LIMIT=false

ro.wmt.blcr.enable=0

# Bass audio props for Lolipop

tunnel.decode=false

persist.sys.media.use-awesome=1

sys.keep_app_1=com.bel.android.dspmanager

ro.audio.samplerate=48000

ro.audio.pcm.samplerate=48000

af.resample=52000

# Game tweaks

persist.sys.NV_FPSLIMIT=60

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

# Increase jpg quality to 100%

ro.media.enc.jpeg.quality=100

# Force GPU Rendering on 2d Operations

debug.sf.hw=1

debug.egl.profiler=1

debug.egl.hw=1

#NEW

ro.ril.power_collapse=1

pm.sleep_mode=1

wifi.supplicant_scan_interval=180

power.saving.mode=1

ro.com.google.networklocation=0

ro.kernel.android.checkjni=0

ro.config.nocheckin=1

dalvik.vm.checkjni=false

dalvik.vm.execution-mode=int:jit

profiler.force_disable_err_rpt=1

# Increase jpg quality to 100%

ro.media.enc.jpeg.quality=100

debug.performance.tuning=1

persist.sys.use_dithering=0

persist.sys.use_16bpp_alpha=1

ro.min.fling_velocity=8000

ro.mot.eri.losalert.delay=1000

persist.sys.NV_FPSLIMIT=60

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

persist.sys.purgeable_assets=1

ro.telephony.call_ring.delay=0

debug.composition.type=c2d

persist.sys.composition.type=c2d

debug.enabletr=true

debug.overlayui.enable=1

debug.qctwa.preservebuf=1

dev.pm.dyn_samplingrate=1

ro.fb.mode=1

ro.sf.compbypass.enable=0

hw3d.force=1

ro.product.gpu.driver=1

persist.sampling_profiler=0

hwui.render_dirty_regions=false

persist.sampling_profiler=0

persist.sys.ui.hw=1

ro.config.disable.hw_accel=false

video.accelerate.hw=1

debug.egl.profiler=1

debug.egl.hw=1

ro.vold.umsdirtyratio=20

hwui.disable_vsync=true

persist.service.lgospd.enable=0

persist.service.pcsync.enable=0

touch.pressure.scale=0.001

windowsmgr.max_events_per_sec=200

ro.min_pointer_dur=8

ro.max.fling_velocity=12000

ro.min.fling_velocity=8000

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

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

#3G tweaks [skip if it causes any performance drop]

ro.ril.hsxpa=2

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.gprsclass=12

ro.ril.hsupa.category=7

ro.ril.enable.a52=1

ro.ril.set.mtu1472=1

persist.cust.tel.eons=1

net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960

net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960

net.tcp.buffersize.lte=524288,1048576,2097152,5242 88,1048576,2097152

net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,8 7380,1048576

net.tcp.buffersize.hspa=6144,87380,524288,6144,163 84,262144

net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,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.evdo_b=6144,87380,1048576,6144, 87380,1048576

media.stagefright.enable-http=true

media.stagefright.enable-player=true

media.stagefright.enable-meta=true

media.stagefright.enable-aac=true

media.stagefright.enable-qcp=true

media.stagefright.enable-scan=true

media.stagefright.enable-record=true

#Indicator_Hack

captive_portal_detection_enabled=0

dalvik.vm.dex2oat-filter=interpret-only

dalvik.vm.image-dex2oat-filter=speed

#B4AD Project by [MENTION=6244490]adblocker[/MENTION] at [xda-developers.com]

#ENJOY

#End