[Nexus 4 General] sachin.soman:
:good::good:Thanks... Now it stays in 94 mhz which is the min values

I was able to edit your profile in SQL Lite. This way i think settings can be manually added by users. I will come up with detailed steps to do this

******Bricked_5.1.1_BatMax profile values********

global	generic /sys/kernel/msm_mpdecision/conf/enabled	1

global	generic /sys/kernel/msm_thermal/conf/allowed_low_low	73

global	generic /sys/kernel/msm_mpdecision/conf/scroff_single_core	1

global	cpuset /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq	810000

global	generic /sys/kernel/msm_thermal/conf/allowed_low_high	79

global	generic /sys/kernel/msm_mpdecision/conf/min_cpus	1

global	generic /sys/kernel/msm_thermal/conf/allowed_low_freq	1350000

global	cpuset /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq	1134000

global	generic /sys/kernel/msm_thermal/conf/allowed_mid_low	76

global	generic /sys/kernel/msm_thermal/conf/allowed_mid_high	81

global	generic /sys/kernel/msm_mpdecision/conf/max_cpus	3

global	cpuset /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor	conservative

global	generic /sys/kernel/msm_thermal/conf/allowed_mid_freq	810000

global	generic /sys/kernel/msm_mpdecision/conf/idle_freq	810000

global	generic /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias	0

global	generic /sys/kernel/msm_thermal/conf/allowed_max_low	80

global	generic /sys/kernel/msm_mpdecision/conf/boost_enabled	1

global	generic /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate	10000

global	generic /sys/kernel/msm_thermal/conf/allowed_max_high	84

global	generic /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy	1

global	generic /sys/kernel/msm_mpdecision/conf/boost_time	800

global	generic /sys/kernel/msm_thermal/conf/allowed_max_freq	384000

global	generic /sys/devices/system/cpu/cpufreq/ondemand/sync_freq	384000

global	mpdboostfreq 0	810000

global	generic /sys/devices/system/cpu/cpufreq/ondemand/up_threshold	95

global	generic /sys/kernel/msm_thermal/conf/shutdown_temp	88

global	mpdboostfreq 1	702000

global	generic /sys/devices/system/cpu/cpufreq/ondemand/down_differential	3

global	boolean /sys/module/msm_thermal/parameters/enabled	1

global	mpdboostfreq 2	594000

global	generic /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load	80

global	cpuvolt global	-100000

global	generic /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor	1

global	mpdboostfreq 3	594000

global	cpuvolt 94500	750000

global	generic /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core	80

global	generic /sys/kernel/msm_mpdecision/conf/startdelay	20000

global	cpuvolt 189000	755000

global	generic /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load	0

global	generic /sys/kernel/msm_mpdecision/conf/delay	130

global	cpuvolt 243000	760000

global	generic /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq	384000

global	generic /sys/kernel/msm_mpdecision/conf/pause	10000

global	cpuvolt 384000	770000

global	ioset queue read_ahead_kb	1024

global	generic /sys/kernel/msm_mpdecision/conf/nwns_threshold_0	15

global	cpuvolt 432000	772500

global	ioset scheduler	cfq

global	generic /sys/kernel/msm_mpdecision/conf/nwns_threshold_1	0

global	cpuvolt 486000	775000

global	ioset queue add_random	1

global	generic /sys/kernel/msm_mpdecision/conf/nwns_threshold_2	25

global	cpuvolt 540000	800000

global	ioset queue iostats	1

global	generic /sys/kernel/msm_mpdecision/conf/nwns_threshold_3	10

global	cpuvolt 594000	812500

global	ioset queue rotational	0

global	gpuset /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/min_pwrlevel	1

global	generic /sys/kernel/msm_mpdecision/conf/nwns_threshold_4	35

global	ioset queue nomerges	0

global	generic /sys/kernel/msm_mpdecision/conf/nwns_threshold_5	15

global	generic /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk	325000000

global	cpuvolt 648000	825000

global	ioset queue rq_affinity	1

global	generic /sys/kernel/msm_mpdecision/conf/nwns_threshold_6	0

global	gpuset /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/trustzone/governor	ondemand

global	cpuvolt 702000	850000

global	ioset queue nr_requests	128

global	generic /sys/kernel/msm_mpdecision/conf/nwns_threshold_7	25

global	gamma /sys/devices/platform/kcal_ctrl.0/kcal	255 255 255

global	cpuvolt 756000	875000

global	generic /sys/kernel/msm_mpdecision/conf/twts_threshold_0	250

global	generic /sys/block/mmcblk0/queue/iosched/fifo_expire_async	250

global	cpuvolt 810000	887500

global	gamma /sys/devices/platform/mipi_lgit.1537/kgamma_b	168 0 39 119 0 6 0 2 0 2

global	generic /sys/block/mmcblk0/queue/iosched/group_idle	0

global	generic /sys/kernel/msm_mpdecision/conf/twts_threshold_1	0

global	gamma /sys/devices/platform/mipi_lgit.1537/kgamma_g	168 0 39 119 0 6 0 2 0 2

global	cpuvolt 864000	900000

global	generic /sys/block/mmcblk0/queue/iosched/quantum	8

global	generic /sys/kernel/msm_mpdecision/conf/twts_threshold_2	170

global	gamma /sys/devices/platform/mipi_lgit.1537/kgamma_r	168 0 39 119 0 6 0 2 0 2

global	cpuvolt 918000	912500

global	generic /sys/block/mmcblk0/queue/iosched/slice_async	40

global	generic /sys/kernel/msm_mpdecision/conf/twts_threshold_3	165

global	cpuvolt 972000	925000

global	generic /sys/block/mmcblk0/queue/iosched/slice_idle	10

global	generic /sys/kernel/msm_mpdecision/conf/twts_threshold_4	200

global	restorebackup applygammafaux	Bundi22_iPhone5

global	cpuvolt 1026000	950000

global	generic /sys/block/mmcblk0/queue/iosched/slice_sync	100

global	generic /sys/kernel/msm_mpdecision/conf/twts_threshold_5	160

global	gamma /data/UKM/files/gamma_prof	Bundi22_iPhone5

global	generic /sys/block/mmcblk0/queue/iosched/low_latency	1

global	cpuvolt 1080000	975000

global	generic /sys/kernel/msm_mpdecision/conf/twts_threshold_6	0

global	generic /sys/block/mmcblk0/queue/iosched/fifo_expire_sync	120

global	cpuvolt 1134000	987500

global	generic /sys/kernel/msm_mpdecision/conf/twts_threshold_7	160

global	cpuvolt 1188000	1000000

global	soundfaux /data/UKM/files/sound_prof

global	generic /sys/block/mmcblk0/queue/iosched/back_seek_max	16384

global	speakerfaux /data/UKM/files/speaker_prof

global	cpuvolt 1242000	1012500

global	generic /sys/block/mmcblk0/queue/iosched/target_latency	300

global	cpuvolt 1296000	1025000

global	speakerfaux /sys/bus/i2c/devices/0-0058/comp_rate	0

global	soundfaux /sys/kernel/sound_control_3/gpl_sound_control_locked	0

global	cpuvolt 1350000	1032500

global	generic /sys/block/mmcblk0/queue/iosched/back_seek_penalty	2

global	speakerfaux /sys/bus/i2c/devices/0-0058/fixed_gain	12

global	generic /sys/block/mmcblk0/queue/iosched/slice_async_rq	2

global	cpuvolt 1404000	1037500

global	generic /proc/sys/vm/dirty_background_ratio	5

global	soundfaux /sys/kernel/sound_control_3/gpl_headphone_gain	1

global	wake /data/UKM/files/wake_prof	0

global	generic /proc/sys/vm/dirty_ratio	90

global	cpuvolt 1458000	1042500

global	dropcaches /data/UKM/files/dropcaches_prof	0

global	wake /sys/android_touch/doubletap2wake	0

global	cpuvolt 1512000	1050000

global	generic /proc/sys/vm/laptop_mode	0

global	soundfaux /sys/kernel/sound_control_3/gpl_speaker_gain	1

global	wake /sys/android_touch/sweep2wake	0

global	cpuvolt 1620000	1100000

global	generic /proc/sys/vm/swappiness	0

global	wake /sys/android_touch/s2w_s2sonly	0

global	cpuvolt 1728000	1150000

global	soundfaux /sys/kernel/sound_control_3/gpl_headphone_pa_gain	1

global	generic /proc/sys/vm/vfs_cache_pressure	50

global	generic /proc/sys/net/ipv4/tcp_congestion_control	cubic

global	cpuvolt 1836000	1200000

global	socset /sys/module/pm_8x60/modes/cpu0/wfi/idle_enabled wfi	1

global	generic /sys/class/timed_output/vibrator/amp	15

global	socset /sys/module/pm_8x60/modes/cpu0/retention/idle_enabled retention	0

global	buildprop wifi.supplicant_scan_interval	300

global	soundfaux /sys/kernel/sound_control_3/gpl_mic_gain	1

global	socset /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled standalone_power_collapse	0

global	bracket-option /sys/class/leds/blue/trigger	none

global	buildprop dalvik.vm.heapsize	512

global	socset /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled power_collapse	1

global	soundfaux /sys/kernel/sound_control_3/gpl_cam_mic_gain	1

global	bracket-option /sys/class/leds/green/trigger	none

global	buildprop persist.sys.purgeable_assets	1

global	lmk profile

global	bracket-option /sys/class/leds/red/trigger	none

global	buildprop net.hostname	android-a673a985cd1ea8a4

global	bracket-option /sys/class/leds/lcd-backlight/trigger	none

global	lmk 1	72

global	buildprop service.adb.tcp.port	0

global	bracket-option /sys/class/leds/spotlight/trigger	none

global	devtools selinux	Permissive

global	lmk 2	90

global	restorebackup pickprofile	None

global	sqlite PreferredNetworkMode	0

global	lmk 3	108

global	restorebackup pickconfig	None

global	lmk 4	126

global	restorebackup pickboot	None

global	generic /data/UKM/files/bck_prof	Bricked 5.1.1 BatMax

global	lmk 5	144

global	lmk 6	180

CONFIGURATION	BOOT_IS_STABLE	true

global	generic /sys/devices/system/cpu/cpufreq/conservative/down_threshold	30

global	generic /sys/devices/system/cpu/cpufreq/conservative/sampling_rate	200000

global	generic /sys/devices/system/cpu/cpufreq/conservative/up_threshold	85

global	generic /sys/devices/system/cpu/cpufreq/conservative/freq_step	5

global	generic /sys/devices/system/cpu/cpufreq/conservative/sampling_down_factor	1

global	generic /sys/devices/system/cpu/cpufreq/conservative/ignore_nice_load	0