[ROM] [Jul 5] Calkulin's Nexus 5 v2.0 [ Stock | 4.4.4 | KTU84P | Battery Saver ]

Search This thread

Calkulin

Recognized Developer
Sep 3, 2008
1,647
9,109
Samsung Galaxy S21+
Nexus 5 Series

yy3v.png
duiz.png
ee9y.png
cvtv.png



Based on 4.4.4 / KTU84P (Google)

ROM includes:
Stock Google kernel w/ init.d support
Working ART runtime
Deodexed system
Superuser
Busybox
and more

MODs included:
Tweaked system (Very FAST)
Raised contact sync resolution (requires resyncing of contacts if you don't factory reset before installing)
Battery % on status bar (thanks to Erhany for the code) (disable zip in FAQ)
Exchange security bypass (thanks to Apascual89 for the code)
Enabled Multi-User support (rotate lockscreen to change users)
4 way reboot power menu (thanks to Kahvitahra for the code)
Enabled menu button to be always on (disable zip in FAQ)
Enabled volume keys to skip tracks while screen is off
Relaxed MMS compression ratio (Hangouts & Messaging)
Colored notification icons (restore white icons zip in FAQ)
Enabled access to App Ops in Settings/Security
Disabled alarm set icon (enable zip in FAQ)
Enabled debug settings in Play Store
Blocked annoying ads in programs
Enabled NFC while on lockscreen
APN settings for a lot of carriers
T-Mobile tethering works
And other misc tweaks/mods


Notes about Battery Saver script

Can be used with any kernels that have init.d support

It completely eliminates the need for an application to set CPU speeds or profiles
Easily customizable - See FAQ for instructions
If Android Overclock, No-Frills CPU Control, Overclock Widget, QuickClock Advanced Overclock, SetCPU or System Tuner are detected, the script is ignored, so it will not affect them

Preset profiles are:
2.26GHz - 100-85%
1.95GHz - 84-36%
1.72GHz - 35-0%

And just an FYI, even at 1.72GHz, the phone still operates very well & smooth, it's the battery savings that are the real benefit


v2.0
Based on 4.4.4 / KTU84P (Google)

Updated
Calendar v201404014
Camera v2.2.024 (1195242-30)
Chrome v36.0.1985.65
Email v6.3-1218562
Gmail v4.8.1 (1171797)
Hangouts v2.1.311 (1231142-30)
Keyboard v3.1.20003.1236599
Maps v8.1.1
Now Launcher v1.0.16.1154249
Music v5.6.1608P.1252217
Play Services v5.0.84 (1259630-038)
Play Store v4.8.20
Search v3.5.15.1254529.arm
Talkback v3.5.1
TTS v3.1.3.1162895
YouTube v5.7.41

Code:
[B][COLOR="Red"]v1.1.1[/COLOR][/B]
Fixed Sprint APN settings [SIZE="1"](v1.1.1)[/SIZE]
T-Mobile tethering is now working
Enabled debug settings in Play Store
Messaging application is now proper resolution
Tweaked Interactive governor for better battery savings
Removed stock CPU control module that was causing some CPU scaling issues
Cleaned up ununsed governors and added more CPU speeds to battery saver script

[I][B]Added[/B][/I]
Restore white notification icons zip in FAQ

[I][B]Updated[/B][/I]
Chrome v33.0.1750.1367 [SIZE="1"](v1.1.1)[/SIZE]
Hangouts v2.0.303 (1004807-30)
Maps v7.6.1
Play Services v4.2.43 (1035512-038) [SIZE="1"](v1.1.1)[/SIZE]
Search v3.2.17.1009776.arm
YouTube v5.3.32

[B][COLOR="Red"]v1.0.1[/COLOR][/B]
Initial Release
Tweaked battery saver script [SIZE="1"](v1.0.1)[/SIZE]

[I][B]Updated[/B][/I]
Google Play Services v4.1.32 (978161-38) [SIZE="1"](v1.0.1)[/SIZE]


Important Notes - Due to how this ROM is setup, a wipe is recommended BEFORE flashing if coming from another ROM

If your are updating, then nothing extra is needed during flashing as the update script wipes what is needed, unless other wise stated in the change log

Be sure to do a backup before flashing and read the change log


Nexus 5 ROM (v2.0) - Mirror
md5 - d073373e307fbcdfa677cc17bef1511e


Previous ROM versions
 
Last edited:

Calkulin

Recognized Developer
Sep 3, 2008
1,647
9,109
Samsung Galaxy S21+
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
Code:
cpu - Controls the script

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

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

cpu_delay - Delay before script cycles

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_uv - Controls undervolting for kernels like Franco's, 0-150mV in increments of 25

devlog - Enables or disables logging


NOTE: You need to wait the time set in cpu_delay before settings take effect


Having 3G issues on Sprint, here's how to reset it Thanks @moseso for the tutorial
1. Carrier Wipe

Open the dialer
Dial *#*#72786#*#*
Phone will restart and will indicate that it's Activating and that it may take up to 5 minutes

2. Profile Update

Please note - profile updates will reset Network Mode to Global rather than LTE or 3G. If you have already set these, you will need to reset them.

Tap the Application icon
Tap Settings
Tap More...
Tap Mobile networks
Tap Carrier settings
Tap Update profile
Once the update is complete, tap OK

3. PRL Update

Tap the Application icon
Tap Settings
Tap More...
Tap Mobile networks
Tap Carrier settings
Tap Update PRL
Once the update is complete, tap OK

If your device does not restart after the PRL update, restart it. Voice, text, 3G and LTE data should now be working.


Want to disable the battery percent in the status bar and the menu button in the navigation bar?

Flash the Calkulin's_Disable_Battery_Percent_and_Menu_Button_for_Nexus_5_v* zip attached


Want to disable the menu button in the navigation bar?

Flash the Calkulin's_Disable_Menu_Button_for_Nexus_5_v* zip attached


Want to enable the alarm set icon in the status bar?

Flash the Calkulin's_Enable_Alarm_Icon_for_Nexus_5_v* zip attached


Want to restore the white notification icons?

Flash this zip, Calkulin's_White_Notification_Icons_for_Nexus_5_v*


Want to disable lockscreen rotation? (Will disable ability to change users from the lockscreen)

Flash the Calkulin's_Disable_Lockscreen_Rotation_for_Nexus_5_v* zip attached


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

Flash the Stock_Android_Hosts_for_Nexus_5 zip attached
 

Attachments

  • Stock_Android_Hosts_for_Nexus_5.zip
    143.9 KB · Views: 100
  • Calkulin's_Disable_Battery_Percent_and_Menu_Button_for_Nexus_5_v2.0+.zip
    946.9 KB · Views: 89
  • Calkulin's_Disable_Lockscreen_Rotation_for_Nexus_5_v2.0+.zip
    7.1 MB · Views: 128
  • Calkulin's_Disable_Menu_Button_for_Nexus_5_v2.0+.zip
    948.4 KB · Views: 79
  • Calkulin's_Enable_Alarm_Icon_for_Nexus_5_v2.0+.zip
    1.5 MB · Views: 72
  • Stock_Calkulin's_Nexus_5_v2.0+_Kernel.zip
    7.6 MB · Views: 59
  • franco.Kernel-nightly-r55-Calkulin_v2.0+.zip
    7.7 MB · Views: 122
Last edited:

edisepic

Senior Member
Jun 11, 2010
395
59
Johnston, RI
Calkulin is the man my favorite roms from every sprint phone I've owned. especially on the E4GT. loved the simplicity and the status icons. smoothest Rom around. when I get to my office I'm flashing this.

Sent from my Nexus 5 using xda app-developers app
 

WizeGuyDezignz

Senior Member
Jun 12, 2008
3,711
1,568
San Diego
Thanks for the ROM? Gapps included? I only ask since file size seems on the larger side.

Thanks!

Sent from my Nexus 5 using XDA Premium 4 mobile app
 

capcanuck

Senior Member
May 3, 2011
1,107
446
Thanks for this... I'd imagine if I'm running bone stock I should be OK to dirty flash this? Thanks..

Sent from my Nexus 5 using XDA Premium 4 mobile app
 

Calkulin

Recognized Developer
Sep 3, 2008
1,647
9,109
Samsung Galaxy S21+
Thanks for the ROM? Gapps included? I only ask since file size seems on the larger side.

Thanks!

Sent from my Nexus 5 using XDA Premium 4 mobile app


It does include Gapps but minimal, as the rest can be downloaded from the Play Store

Thanks for this... I'd imagine if I'm running bone stock I should be OK to dirty flash this? Thanks..

Sent from my Nexus 5 using XDA Premium 4 mobile app


You can but if you get any weird problems or FC's, then you may need to wipe
 

P.Mobile

Senior Member
Nov 18, 2011
4,400
934
RhOdE IsLAnD... 401
holy moly! one of the best devs on xda!!! woo hooooo! so happy to see u here :) wont download for me :( never mind i got it i was clicking on the mirror.. flashing now!! man im souped u make solid roms boss

---------- Post added at 07:41 PM ---------- Previous post was at 07:11 PM ----------

ok how do i disable the battery script?? it say type command.. cpu disable.. so do i put my n5 in fastboot bootloader mode.. then on my pc open a command prompt and type.. cpu disable?? sorry guys :)
 
Last edited:
  • Like
Reactions: Calkulin

Top Liked Posts

  • There are no posts matching your filters.
  • 69
    Nexus 5 Series

    yy3v.png
    duiz.png
    ee9y.png
    cvtv.png



    Based on 4.4.4 / KTU84P (Google)

    ROM includes:
    Stock Google kernel w/ init.d support
    Working ART runtime
    Deodexed system
    Superuser
    Busybox
    and more

    MODs included:
    Tweaked system (Very FAST)
    Raised contact sync resolution (requires resyncing of contacts if you don't factory reset before installing)
    Battery % on status bar (thanks to Erhany for the code) (disable zip in FAQ)
    Exchange security bypass (thanks to Apascual89 for the code)
    Enabled Multi-User support (rotate lockscreen to change users)
    4 way reboot power menu (thanks to Kahvitahra for the code)
    Enabled menu button to be always on (disable zip in FAQ)
    Enabled volume keys to skip tracks while screen is off
    Relaxed MMS compression ratio (Hangouts & Messaging)
    Colored notification icons (restore white icons zip in FAQ)
    Enabled access to App Ops in Settings/Security
    Disabled alarm set icon (enable zip in FAQ)
    Enabled debug settings in Play Store
    Blocked annoying ads in programs
    Enabled NFC while on lockscreen
    APN settings for a lot of carriers
    T-Mobile tethering works
    And other misc tweaks/mods


    Notes about Battery Saver script

    Can be used with any kernels that have init.d support

    It completely eliminates the need for an application to set CPU speeds or profiles
    Easily customizable - See FAQ for instructions
    If Android Overclock, No-Frills CPU Control, Overclock Widget, QuickClock Advanced Overclock, SetCPU or System Tuner are detected, the script is ignored, so it will not affect them

    Preset profiles are:
    2.26GHz - 100-85%
    1.95GHz - 84-36%
    1.72GHz - 35-0%

    And just an FYI, even at 1.72GHz, the phone still operates very well & smooth, it's the battery savings that are the real benefit


    v2.0
    Based on 4.4.4 / KTU84P (Google)

    Updated
    Calendar v201404014
    Camera v2.2.024 (1195242-30)
    Chrome v36.0.1985.65
    Email v6.3-1218562
    Gmail v4.8.1 (1171797)
    Hangouts v2.1.311 (1231142-30)
    Keyboard v3.1.20003.1236599
    Maps v8.1.1
    Now Launcher v1.0.16.1154249
    Music v5.6.1608P.1252217
    Play Services v5.0.84 (1259630-038)
    Play Store v4.8.20
    Search v3.5.15.1254529.arm
    Talkback v3.5.1
    TTS v3.1.3.1162895
    YouTube v5.7.41

    Code:
    [B][COLOR="Red"]v1.1.1[/COLOR][/B]
    Fixed Sprint APN settings [SIZE="1"](v1.1.1)[/SIZE]
    T-Mobile tethering is now working
    Enabled debug settings in Play Store
    Messaging application is now proper resolution
    Tweaked Interactive governor for better battery savings
    Removed stock CPU control module that was causing some CPU scaling issues
    Cleaned up ununsed governors and added more CPU speeds to battery saver script
    
    [I][B]Added[/B][/I]
    Restore white notification icons zip in FAQ
    
    [I][B]Updated[/B][/I]
    Chrome v33.0.1750.1367 [SIZE="1"](v1.1.1)[/SIZE]
    Hangouts v2.0.303 (1004807-30)
    Maps v7.6.1
    Play Services v4.2.43 (1035512-038) [SIZE="1"](v1.1.1)[/SIZE]
    Search v3.2.17.1009776.arm
    YouTube v5.3.32
    
    [B][COLOR="Red"]v1.0.1[/COLOR][/B]
    Initial Release
    Tweaked battery saver script [SIZE="1"](v1.0.1)[/SIZE]
    
    [I][B]Updated[/B][/I]
    Google Play Services v4.1.32 (978161-38) [SIZE="1"](v1.0.1)[/SIZE]


    Important Notes - Due to how this ROM is setup, a wipe is recommended BEFORE flashing if coming from another ROM

    If your are updating, then nothing extra is needed during flashing as the update script wipes what is needed, unless other wise stated in the change log

    Be sure to do a backup before flashing and read the change log


    Nexus 5 ROM (v2.0) - Mirror
    md5 - d073373e307fbcdfa677cc17bef1511e


    Previous ROM versions
    28
    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
    Code:
    cpu - Controls the script
    
    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
    
    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
    
    cpu_delay - Delay before script cycles
    
    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_uv - Controls undervolting for kernels like Franco's, 0-150mV in increments of 25
    
    devlog - Enables or disables logging


    NOTE: You need to wait the time set in cpu_delay before settings take effect


    Having 3G issues on Sprint, here's how to reset it Thanks @moseso for the tutorial
    1. Carrier Wipe

    Open the dialer
    Dial *#*#72786#*#*
    Phone will restart and will indicate that it's Activating and that it may take up to 5 minutes

    2. Profile Update

    Please note - profile updates will reset Network Mode to Global rather than LTE or 3G. If you have already set these, you will need to reset them.

    Tap the Application icon
    Tap Settings
    Tap More...
    Tap Mobile networks
    Tap Carrier settings
    Tap Update profile
    Once the update is complete, tap OK

    3. PRL Update

    Tap the Application icon
    Tap Settings
    Tap More...
    Tap Mobile networks
    Tap Carrier settings
    Tap Update PRL
    Once the update is complete, tap OK

    If your device does not restart after the PRL update, restart it. Voice, text, 3G and LTE data should now be working.


    Want to disable the battery percent in the status bar and the menu button in the navigation bar?

    Flash the Calkulin's_Disable_Battery_Percent_and_Menu_Button_for_Nexus_5_v* zip attached


    Want to disable the menu button in the navigation bar?

    Flash the Calkulin's_Disable_Menu_Button_for_Nexus_5_v* zip attached


    Want to enable the alarm set icon in the status bar?

    Flash the Calkulin's_Enable_Alarm_Icon_for_Nexus_5_v* zip attached


    Want to restore the white notification icons?

    Flash this zip, Calkulin's_White_Notification_Icons_for_Nexus_5_v*


    Want to disable lockscreen rotation? (Will disable ability to change users from the lockscreen)

    Flash the Calkulin's_Disable_Lockscreen_Rotation_for_Nexus_5_v* zip attached


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

    Flash the Stock_Android_Hosts_for_Nexus_5 zip attached
    16
    New build is up, enjoy......
    13
    ..................
    9
    New build is up....