[Nexus 4 Android Development] Calkulin:
FAQ

How to modify the battery saver script?

(requires knowledge of how to run terminal or adb commands)

These are the available commands to set parameters. To check what the available commands are for each, type available after the command

For ex

.

cpu available

To check what the current settings are

cpu status

To verify what the cpu is currently set to

cpu verify

To reset the script back to stock

cpu default

To disable the script

cpu off

cpu - Controls the script

cpu_awake - Enables or disables awake boost feature

cpu_awake_duration - Duration of awake boost

cpu_awake_governor - Enables or disables awake boost governor and sets governor

cpu_awake_max - Max cpu speed for awake

cpu_awake_min - Min cpu speed for awake

cpu1_awake - Enables or lets the kernel handle CPU1 for awake

cpu2_awake - Enables or lets the kernel handle CPU2 for awake

cpu3_awake - Enables or lets the kernel handle CPU3 for awake

cpu_bp - Enables or disables battery profiles feature

cpu_bp1_batt - Battery percent of when profile 1 ends

cpu_bp1_governor - Enables or disables battery profile 1 governor and sets governor

cpu_bp1_max - Max cpu speed for battery profile 1

cpu_bp1_min - Min cpu speed for battery profile 1

cpu1_bp1 - Enables or lets the kernel handle CPU1 for battery profiles 1

cpu2_bp1 - Enables or lets the kernel handle CPU2 for battery profiles 1

cpu3_bp1 - Enables or lets the kernel handle CPU3 for battery profiles 1

cpu_bp2_batt - Battery percent of when profile 2 starts

cpu_bp2_governor - Enables or disables battery profile 2 governor and sets governor

cpu_bp2_max - Max cpu speed for battery profile 2

cpu_bp2_min - Min cpu speed for battery profile 2

cpu1_bp2 - Enables or lets the kernel handle CPU1 for battery profiles 2

cpu2_bp2 - Enables or lets the kernel handle CPU2 for battery profiles 2

cpu3_bp2 - Enables or lets the kernel handle CPU3 for battery profiles 2

cpu_governor - Main governor

cpu_max - Max cpu speed when profiles are off and in between battery profiles 1 & 2

cpu_min - Min cpu speed when profiles are off and in between battery profiles 1 & 2

cpu_sleep - Enables or disables sleep feature

cpu_sleep_delay - Delay before sleep feature kicks in

cpu_sleep_governor - Enables or disables sleep governor and sets governor

cpu_sleep_max - Max cpu speed for sleep

cpu_sleep_min - Min cpu speed for sleep

cpu_uv - Controls undervolting for kernels like Franco's, 0-200mV in increments of 25

cpu1 - Enables, disables or lets the kernel handle CPU1

cpu2 - Enables, disables or lets the kernel handle CPU2

cpu3 - Enables, disables or lets the kernel handle CPU3

devlog - Enables or disables logging

NOTE: Most parameters can be set without restarting but you need to cycle the screen on/off and wait the time set in cpu_sleep_delay. If the setting isn't taking effect, then reboot

Want to enable CAF kernel support? (Includes stock CyanogenMod kernel)

Flash the Calkulin's_Enable_CAF_Kernel_Support_Nexus_4_CM11_v* zip attached

Want to disable the battery percent in the status bar?

Flash the Calkulin's_Disable_Battery_Percent_for_Nexus_4_v* zip attached

Want to use the dialer from stock KOT49H that has caller ID search and nearby places? (missing CM phone options)

Will cause FC's when trying to access Quick Settings panel in Settings/Interface

Flash the Calkulin's_Google_Dialer_for_Nexus_4_v* zip attached

Having problems with included hosts file or want to see advertisements again?

Flash the Stock_Android_Hosts_for_Nexus_4 zip attached