[T-Mobile LG G3] razz1:
TWO MODS ARE LISTED IN THIS OP. ONE SCRIPT AND ONE APP. PLEASE STATE WHICH ONE YOU ARE REFERRING TO WHEN RESPONDING TO THIS THREAD!

THESE MODS WORK ON MOST ROOTED LG G3 ROMS.

TESTED ONLY ON D851. (I CAN'T TEST EVERY CARRIER SO LET US ALL KNOW IF IT WORKS FOR YOU)

USE THIS AT YOUR OWN RISK!

SPECIAL THANKS TO...

[MENTION=5389211]KingOfDope[/MENTION] - For providing us with an awesome icon and UI design for Velocity:D

*THE SCRIPT*

G3 SPEED SCRIPT VERSION 3.3

This script is strictly designed for the G3 and will give you a decent boost in performance without any gimmicks. This can also be used with other basic scripts in the general section of XDA without issues.

Script may be heavy on battery usage.

THE G3 SPEED SCRIPT

#razz1

#G3SPEEDV3.3

echo 1024 > /sys/class/bdi/0:19/read_ahead_kb

echo 1024 > /sys/class/bdi/0:21/read_ahead_kb

echo 1024 > /sys/class/bdi/179:0/read_ahead_kb

echo 1024 > /sys/class/bdi/179:32/read_ahead_kb

echo 1024 > /sys/class/bdi/1:0/read_ahead_kb

echo 1024 > /sys/class/bdi/1:1/read_ahead_kb

echo 1024 > /sys/class/bdi/1:10/read_ahead_kb

echo 1024 > /sys/class/bdi/1:11/read_ahead_kb

echo 1024 > /sys/class/bdi/1:12/read_ahead_kb

echo 1024 > /sys/class/bdi/1:13/read_ahead_kb

echo 1024 > /sys/class/bdi/1:14/read_ahead_kb

echo 1024 > /sys/class/bdi/1:15/read_ahead_kb

echo 1024 > /sys/class/bdi/1:2/read_ahead_kb

echo 1024 > /sys/class/bdi/1:3/read_ahead_kb

echo 1024 > /sys/class/bdi/1:4/read_ahead_kb

echo 1024 > /sys/class/bdi/1:5/read_ahead_kb

echo 1024 > /sys/class/bdi/1:6/read_ahead_kb

echo 1024 > /sys/class/bdi/1:7/read_ahead_kb

echo 1024 > /sys/class/bdi/1:8/read_ahead_kb

echo 1024 > /sys/class/bdi/1:9/read_ahead_kb

echo 1024 > /sys/cl30s/bdi/253:0/read_ahead_kb

echo 1024 > /sys/class/bdi/254:0/read_ahead_kb

echo 1024 > /sys/class/bdi/254:1/read_ahead_kb

echo 1024 > /sys/class/bdi/254:2/read_ahead_kb

echo 1024 > /sys/class/bdi/254:3/read_ahead_kb

echo 1024 > /sys/class/bdi/254:4/read_ahead_kb

echo 1024 > /sys/class/bdi/254:5/read_ahead_kb

echo 1024 > /sys/class/bdi/254:6/read_ahead_kb

echo 1024 > /sys/class/bdi/254:7/read_ahead_kb

echo 1024 > /sys/class/bdi/7:0/read_ahead_kb

echo 1024 > /sys/class/bdi/7:1/read_ahead_kb

echo 1024 > /sys/class/bdi/7:2/read_ahead_kb

echo 1024 > /sys/class/bdi/7:3/read_ahead_kb

echo 1024 > /sys/class/bdi/7:4/read_ahead_kb

echo 1024 > /sys/class/bdi/7:5/read_ahead_kb

echo 1024 > /sys/class/bdi/7:6/read_ahead_kb

echo 1024 > /sys/class/bdi/7:7/read_ahead_kb

echo 1024 > /sys/class/bdi/default/read_ahead_kb

echo 0 > /sys/module/smem_log/parameters/log_enable

echo 0 > /d/mmc0/clk_delay

echo 0 > /d/mmc1/clk_delay

echo 0 > /d/mmc2/clk_delay

echo 5 > /sys/class/mmc_host/mmc0/clk_scaling/up_threshold

echo 75 > /sys/class/mmc_host/mmc0/clk_scaling/down_threshold

echo 5 > /sys/class/mmc_host/mmc1/clk_scaling/up_threshold

echo 75 > /sys/class/mmc_host/mmc1/clk_scaling/up_threshold

echo 5 > /sys/class/mmc_host/mmc2/clk_scaling/up_threshold

echo 75 > /sys/class/mmc_host/mmc2/clk_scaling/down_threshold

echo 0 > /sys/kernel/debug/kgsl/kgsl-3d0/log_level_cmd

echo 0 > /sys/kernel/debug/kgsl/kgsl-3d0/log_level_ctxt

echo 0 > /sys/kernel/debug/kgsl/kgsl-3d0/log_level_drv

echo 0 > /sys/kernel/debug/kgsl/kgsl-3d0/log_level_mem

echo 0 > /sys/kernel/debug/kgsl/kgsl-3d0/log_level_pwr

echo performance > /sys/class/devfreq/qcom,cpubw.41/governor

echo 10000000 > /sys/class/kgsl/kgsl-3d0/idle_timer

echo 10000 > /sys/class/firmware/timeout

setprop debug.egl.hw 1

setprop debug.performance.tuning 1

setprop debug.egl.profiler 1

setprop debug.gr.swapinterval 0

setprop dev.pm.dyn_samplingrate 1

setprop dev.pm.gpu_samplingrate 2

setprop dev.pm.c2d_samplingrate 2

setprop dev.pm.mdp_samplingrate 2

setprop logcat.live disable

setprop persist.sys.use_dithering 0

setprop profiler.force_disable_err_rpt 1

setprop profiler.force_disable_ulog 1

fstrim -v /data

fstrim -v /cache

fstrim -v /system

RUN/INSTALL THIS SCRIPT.

1. Make sure you have your ROM backed up!

2. Download G3 SPEED zip and flash in recovery.

3. Reboot

REMOVE THIS SCRIPT.

1. Download G3 SPEED UNINSTALL zip and flash in recovery.

The uninstaller will also replace those files that were originally deleted by early versions of G3 SPEED.

DOWNLOADS FOR G3 SPEED SCRIPT.

Version 3.3

http://d-h.st/kLQ

Mirror

https://www.androidfilehost.com/?fid=95916177934540403

Uninstall

http://d-h.st/D7p

Mirror

https://www.androidfilehost.com/?fid=95916177934540404

Version 3.2.1

http://d-h.st/50g

Version 3.1

http://d-h.st/vT6

Version 3

http://d-h.st/orX

Version 2

http://d-h.st/oyi

*THE APP*

VELOCITY APPLICATION!

THIS APP MAY HAVE THE POTENTIAL TO CAUSE DAMAGE TO YOUR DEVICE.

YOU'VE BEEN WARNED!!!!!!

PERFORMANCE- Realtime screenshot of Velocity being used on the Quadrant benchmark application.

I labeled this originally as a "graphics" app but in further research it does much more than that. It will speed up your entire system a considerable amount.

This is a completely seperate MOD from the script above and may be used in conjunction with that script or any other script.

Expect much higher framerates, smoother graphics and higher overall system performance.

Essentially you are overclocking your device with this app.

Use it CAREFULLY! Choose wisely!

THINGS TO KNOW.

This does NOT overclock your CPU or GPU. It adjusts multiple internal clock settings in your device. These clock settings will be raised by this application and could cause instability and "Blue Screens"

HOW VELOCITY OPERATES.

When you set "on boot" Velocity will save your values. When you reboot your phone it will restore your values after 10 seconds has elapsed.

If you open the app before those said times have elapsed, all values are at default and the app will say "standby". After the time has elapsed Velocity will restore your previous values and now show these values instead of "standby".

REQUIREMENTS FOR VELOCITY

- Latest version of SuperSU.

-"Mount namespace separation" must be enabled in SuperSU.

VELOCITY APPLICATION DOWNLOAD.

VERSION 2.3 - ALL ROMS

http://d-h.st/H8WL

Mirror

https://www.androidfilehost.com/?fid=95916177934537668

VELOCITY v2.1 - ALL ROMS

http://d-h.st/Jn5

VELOCITY v2.0 OFFICIAL RELEASE.

STOCK BASED 4.4.2 ROMS

http://d-h.st/2zO

AOSP/CM BASED 5.0L ROMS

http://d-h.st/mGJR

Beta v1.5

http://d-h.st/Fyv

Beta v1.4

FUBAR

Beta v1.3

http://d-h.st/1pO

Beta v1.2

http://d-h.st/Cq6i

Beta v1.1

http://d-h.st/yuK

Beta v1.0

http://d-h.st/mag

CHANGELOG FOR VELOCITY APPLICATION

VERSION 2.3

-Removed "boost" option.

-Changed theme.

-Added safety option.

-Added information page.

-Added G3 Speed script trial. New Version 3.4(script is heavy on battery)

-Fixed D855 bugs and BSOD.

VERSION 2.2

-Test build.

VERSION 2.1

-Bug fixes.

VERSION 2.0

-Rewrite application from ground up for efficiency and proper execution.

-Bug fixes.

BETA VERSON 1.5

-Added 'Boost" button to OC additional clocks in the device.

-Added "Set On Boot' option.

-All clocks are set to default when the screen is off.

BETA VERSION 1.4

-FUBAR

BETA VERSION 1.3

-Velocity is now the official name.

-New fresh material design.

-Value now WON'T hold after reboot for safety.

-Added more frequencies for finer adjustments

BETA VERSION 1.2

-Added more frequencies in a new selector.

BETA VERSION 1.1

-Changed Level 4 "max" to a lower value. It was crazy high IMO.

-Added "shake to default" in case you get into trouble.

-Values now stick after screen toggle!

-Values set to default after reboot.

CHANGELOG FOR G3 SPEED SCRIPT

VERSION 3.3

-Removed net settings.

-Adjust emmc gov settings.

-Disabled logging in kgsl.

-Adjusted kgsl and firmware timing.

-Removed adreno config file for now.

VERSION 3.2.1

-Add 30sec delay to script launch.

VERSION 3.1

-Removed parts of the script that deleted files from the system.(QOS & logcat)

-Added build properties to the system.

-Removed any clocking that was initially in the script. These are now added to Velocity.

-Greatly improved Adreno.

VERSION 3

-Add fstrim back

-Add delay before script executes

VERSION 2

Remove fstrim.

Remove drop caches.

Adjust mmc clock delay.

Change devfreq governors.

Adjust byte clocks.

Added adreno config file to remove adreno logging.

THANKS ENJOY![emoji2]