[ ROM ] [ Nov 4 ] Calkulin's OnePlus One v3.7 [CM12.1S | YOG4PAS3JL | Battery Saver]

Search This thread

Calkulin

Recognized Developer
Sep 3, 2008
1,647
9,109
Samsung Galaxy S21+
OnePlus One Series

lH8EBLB.png


Based on CM12.1S YOG4PAS3JL

ROM includes:
Stock CM12.1S kernel
Busybox
Root
(enable in Developer options)
and more

MODs included:
Tweaked system (Very FAST)
Enabled access to App Ops in Settings/Privacy
Exchange security bypass (Boxer & Gmail)
Enabled debug settings in Play Store
Blocked annoying ads in programs
Enabled NFC while on lockscreen
Relaxed MMS compression ratio
Set SELinux status to Permissive
Mobile Radio Active bug patch
Raised contact sync resolution
Removed scrolling cache
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.47GHz - 100-85%
2.26GHz - 84-36%
1.95GHz - 35-0%

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


v3.7
Based on CM12.1S YOG4PAS3JL build

Updated
All Play Store apps


Code:
[B][COLOR="Red"]v3.6[/COLOR][/B]
[B]Based on CM12.1S YOG4PAS2QL build[/B]

[I][B]Updated[/B][/I]
All Play Store apps

[B][COLOR="Red"]v3.5[/COLOR][/B]
[B]Based on CM12.1S YOG4PAS1N0 build[/B]
Bazoocaze's Mobile Radio Active bug patch

[I][B]Updated[/B][/I]
All Play Store apps

[B][COLOR="Red"]v3.2[/COLOR][/B]
[B]Based on CM12S YNG1TAS2I3 build[/B]
Dialpad will now auto pop up upon opening dialer

[I][B]Updated[/B][/I]
All Play Store apps

[B][COLOR="Red"]v3.1[/COLOR][/B]
Redid Exchange security bypass mod on Boxer and Gmail
Set SELinux status to Permissive

[I][B]Updated[/B][/I]
Maps v9.8.0
WebView v42.0.2311.133
YouTube v10.16.53

[B][COLOR="Red"]v3.01[/COLOR][/B]
[B]Based on CM12S YNG1TAS17L build[/B]
Removed color notifications due to Lollipop
Fixed BusyBox since it was causing problems with CM File Manager [SIZE="1"](v3.01)[/SIZE]

[B][COLOR="Red"]v2.5[/COLOR][/B]
[B]Based on CM11S XNPH05Q build[/B]
Includes Voice Wake Up from XNPH52Q leaked build

[I][B]Added[/B][/I]
F2FS updater-script as an attachment
Messenger v1.0.131 (1682030-08)

[I][B]Updated[/B][/I]
Calendar v5.0-1525922
Chrome v40.0.2214.109
Gmail v5.0.1 (1642443)
Hangouts v2.5.83281670
Keyboard v4.0.21203.1613964
Maps v9.4.0
Play Services v6.7.74 (1723905-038)
Play Store v5.2.12
Search v4.1.29.1706998.arm
Text-to-Speech v3.3.13.1635260.arm
YouTube v10.05.6

[B][COLOR="Red"]v2.1[/COLOR][/B]
[B]Based now on CM11S XNPH44S build[/B] - [I][U]Due to the change to CM11S, a factory reset is required if coming from v1.3[/U][/I]
Enabled call recording

[I][B]Added[/B][/I]
Kernel support for AK
Gmail Exchange v6.5-1533254

[I][B]Updated[/B][/I]
Calendar v5.0-1579230
Camera v2.0.004(473ec501f5-30)
Chrome v39.0.2171.59
Gmail v5.0(1569867)
Hangouts v2.4.78234730
Keyboard v4.0.21173.1568296
Maps v9.0.0
Play Services v6.1.88(1557022-038)
Play Store v5.0.38
Search v4.0.28.1516623.arm
Talkback v3.5.2
Text-to-Speech v3.2.12.1369973.arm
YouTube v5.16.4

[B][COLOR="Red"]v1.3[/COLOR][/B]
[B]Based on new CM11 build[/B]
Updated CM11S kernel to XNPH33R build

[I][B]Updated[/B][/I]
Gallery v1.0.5

[B][COLOR="Red"]v1.2[/COLOR][/B]
[B]Based on new CM11 build[/B]
Removed scrolling cache

[I][B]Added[/B][/I]
CM11S lockscreen

[I][B]Updated[/B][/I]
CM11S apps to XNPH30O versions
Chrome v36.0.1985.135
Gallery v1.0.4
Hangouts v2.1.317 (1328022-30)
Maps v8.2.0
Play Services v5.0.89 (1307510-038)
Play Store v4.9.13
Search v3.6.14.1337016.arm
SuperSU v2.02
YouTube v5.9.0.13

[B][COLOR="Red"]v1.1[/COLOR][/B]
Includes the stock CM11S kernel, so that means custom CM11S kernels will work also
Raised earpiece volume
Uses SuperSU now

[I][B]Added[/B][/I]
Undervolting control for Franco's kernel

[I][B]Updated[/B][/I]
Gallery v1.0.2

[B][COLOR="Red"]v1.0[/COLOR][/B]
Initial Release


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


OnePlus One ROM (v3.7) - Mirror
md5 - 17372f2affcb0bf4155d38d940995a28

YOG4PAS1N0 Radio, etc - Mirror
(Has not changed for latest build)
md5 - 23dec4526244317aa9e8fe49d39ba2e9


F2FS users - Attached zip includes a modified updater-script that needs to be added to the ROM(overwrite updater-script in META-INF\com\google\android folder), which will format the system partition as F2FS
You will also need to overwrite the boot.img with a F2FS compatible one or you can flash it after flashing the ROM


Previous ROM versions
 

Attachments

  • F2FS-updater-script_for_OPO_v3.2+.zip
    3.1 KB · Views: 1,330
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 AK's & Franco's, 0-100mV in increments of 25


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


Developer options crashing?

Flash the Developer_Options_Crash_Fix zip attached and re-enable root in Developer options afterwards


Want the kernel that's included with the ROM?

Flash the Stock_Calkulin's_OPO_v*_Kernel zip attached


Want to enable the multi-user icon in the status bar again?

Flash the Calkulin's_Enable_Multi-User_Icon_for_OPO_v* zip attached


Want to restore the system partition permissions back to default?

Flash the Calkulin's_Reset_System_Permissions_for_OPO_v* zip attached


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

Flash the Stock_Android_Hosts_for_OPO zip attached​
 

Attachments

  • Stock_Android_Hosts_for_OPO.zip
    177.1 KB · Views: 1,962
  • Developer_Options_Crash_Fix.zip
    176.9 KB · Views: 948
  • Calkulin's_Reset_System_Permissions_for_OPO_v3.0+.zip
    178.1 KB · Views: 583
  • Stock_Calkulin's_OPO_v3.7+_Kernel.zip
    6.4 MB · Views: 397
  • Calkulin's_Enable_Multi-User_Icon_for_OPO_v3.7+.zip
    2.9 MB · Views: 341
Last edited:

lucas.scott

Senior Member
Mar 10, 2009
1,147
240
Nashville, TN
Good Rom, nice and snappy. Would really like to have the 11s Lock screen over the AOSP one though.

Any way to make that happen?

Also - Icons seem oddly small when applying the Hexo Theme
 

Attachments

  • Screenshot_2014-07-10-16-41-08.jpg
    Screenshot_2014-07-10-16-41-08.jpg
    79.4 KB · Views: 10,538
Last edited:

blkghost22

Senior Member
Jan 29, 2010
879
219
Samsung Galaxy Z Flip3
Good Rom, nice and snappy. Would really like to have the 11s Lock screen over the AOSP one though.

Any way to make that happen?

Also - Icons seem oddly small when applying the Hexo Theme

You need to delete the keygaurd.apk from /system/priv-app and get a copy of the cmkeygaurd.apk and change the permission rw-r--r-- and it needs to be in either priv-app or app (not sure which folder tho)under system


Sent from my One using XDA Free mobile app
 

Attachments

  • Screenshot_2014-07-10-15-35-32.jpg
    Screenshot_2014-07-10-15-35-32.jpg
    56.3 KB · Views: 3,946
  • Screenshot_2014-07-10-15-35-44.jpg
    Screenshot_2014-07-10-15-35-44.jpg
    188.4 KB · Views: 3,955
  • Screenshot_2014-07-10-15-35-53.jpg
    Screenshot_2014-07-10-15-35-53.jpg
    191.4 KB · Views: 3,907
Last edited:

pro castinato

Senior Member
Apr 5, 2014
101
21
Beaucaire
You need to delete the keygaurd.apk from /system/priv-app and get a copy of the cmkeygaurd.apk and change the permission rw-r--r-- and it needs to be in either priv-app or app (not sure which folder tho)under system


Sent from my One using XDA Free mobile app

Thanks for the tip !! An idiot question .. Do you think it's possible to port this lockscreen on other roms ? I would like to use my original CM11S lockscreen on my PA or Pac man rom you see ?
 

Deadpool253

Senior Member
Jun 30, 2014
137
47
I want to flash this but I have a few questions first. Does the camera on this have 4k recording and slow motion or is it just the Google edition app? And as far as the battery saver script, is it something I have to set up/flash separately or is it built in to the rom?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 241
    OnePlus One Series

    lH8EBLB.png


    Based on CM12.1S YOG4PAS3JL

    ROM includes:
    Stock CM12.1S kernel
    Busybox
    Root
    (enable in Developer options)
    and more

    MODs included:
    Tweaked system (Very FAST)
    Enabled access to App Ops in Settings/Privacy
    Exchange security bypass (Boxer & Gmail)
    Enabled debug settings in Play Store
    Blocked annoying ads in programs
    Enabled NFC while on lockscreen
    Relaxed MMS compression ratio
    Set SELinux status to Permissive
    Mobile Radio Active bug patch
    Raised contact sync resolution
    Removed scrolling cache
    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.47GHz - 100-85%
    2.26GHz - 84-36%
    1.95GHz - 35-0%

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


    v3.7
    Based on CM12.1S YOG4PAS3JL build

    Updated
    All Play Store apps


    Code:
    [B][COLOR="Red"]v3.6[/COLOR][/B]
    [B]Based on CM12.1S YOG4PAS2QL build[/B]
    
    [I][B]Updated[/B][/I]
    All Play Store apps
    
    [B][COLOR="Red"]v3.5[/COLOR][/B]
    [B]Based on CM12.1S YOG4PAS1N0 build[/B]
    Bazoocaze's Mobile Radio Active bug patch
    
    [I][B]Updated[/B][/I]
    All Play Store apps
    
    [B][COLOR="Red"]v3.2[/COLOR][/B]
    [B]Based on CM12S YNG1TAS2I3 build[/B]
    Dialpad will now auto pop up upon opening dialer
    
    [I][B]Updated[/B][/I]
    All Play Store apps
    
    [B][COLOR="Red"]v3.1[/COLOR][/B]
    Redid Exchange security bypass mod on Boxer and Gmail
    Set SELinux status to Permissive
    
    [I][B]Updated[/B][/I]
    Maps v9.8.0
    WebView v42.0.2311.133
    YouTube v10.16.53
    
    [B][COLOR="Red"]v3.01[/COLOR][/B]
    [B]Based on CM12S YNG1TAS17L build[/B]
    Removed color notifications due to Lollipop
    Fixed BusyBox since it was causing problems with CM File Manager [SIZE="1"](v3.01)[/SIZE]
    
    [B][COLOR="Red"]v2.5[/COLOR][/B]
    [B]Based on CM11S XNPH05Q build[/B]
    Includes Voice Wake Up from XNPH52Q leaked build
    
    [I][B]Added[/B][/I]
    F2FS updater-script as an attachment
    Messenger v1.0.131 (1682030-08)
    
    [I][B]Updated[/B][/I]
    Calendar v5.0-1525922
    Chrome v40.0.2214.109
    Gmail v5.0.1 (1642443)
    Hangouts v2.5.83281670
    Keyboard v4.0.21203.1613964
    Maps v9.4.0
    Play Services v6.7.74 (1723905-038)
    Play Store v5.2.12
    Search v4.1.29.1706998.arm
    Text-to-Speech v3.3.13.1635260.arm
    YouTube v10.05.6
    
    [B][COLOR="Red"]v2.1[/COLOR][/B]
    [B]Based now on CM11S XNPH44S build[/B] - [I][U]Due to the change to CM11S, a factory reset is required if coming from v1.3[/U][/I]
    Enabled call recording
    
    [I][B]Added[/B][/I]
    Kernel support for AK
    Gmail Exchange v6.5-1533254
    
    [I][B]Updated[/B][/I]
    Calendar v5.0-1579230
    Camera v2.0.004(473ec501f5-30)
    Chrome v39.0.2171.59
    Gmail v5.0(1569867)
    Hangouts v2.4.78234730
    Keyboard v4.0.21173.1568296
    Maps v9.0.0
    Play Services v6.1.88(1557022-038)
    Play Store v5.0.38
    Search v4.0.28.1516623.arm
    Talkback v3.5.2
    Text-to-Speech v3.2.12.1369973.arm
    YouTube v5.16.4
    
    [B][COLOR="Red"]v1.3[/COLOR][/B]
    [B]Based on new CM11 build[/B]
    Updated CM11S kernel to XNPH33R build
    
    [I][B]Updated[/B][/I]
    Gallery v1.0.5
    
    [B][COLOR="Red"]v1.2[/COLOR][/B]
    [B]Based on new CM11 build[/B]
    Removed scrolling cache
    
    [I][B]Added[/B][/I]
    CM11S lockscreen
    
    [I][B]Updated[/B][/I]
    CM11S apps to XNPH30O versions
    Chrome v36.0.1985.135
    Gallery v1.0.4
    Hangouts v2.1.317 (1328022-30)
    Maps v8.2.0
    Play Services v5.0.89 (1307510-038)
    Play Store v4.9.13
    Search v3.6.14.1337016.arm
    SuperSU v2.02
    YouTube v5.9.0.13
    
    [B][COLOR="Red"]v1.1[/COLOR][/B]
    Includes the stock CM11S kernel, so that means custom CM11S kernels will work also
    Raised earpiece volume
    Uses SuperSU now
    
    [I][B]Added[/B][/I]
    Undervolting control for Franco's kernel
    
    [I][B]Updated[/B][/I]
    Gallery v1.0.2
    
    [B][COLOR="Red"]v1.0[/COLOR][/B]
    Initial Release


    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


    OnePlus One ROM (v3.7) - Mirror
    md5 - 17372f2affcb0bf4155d38d940995a28

    YOG4PAS1N0 Radio, etc - Mirror
    (Has not changed for latest build)
    md5 - 23dec4526244317aa9e8fe49d39ba2e9


    F2FS users - Attached zip includes a modified updater-script that needs to be added to the ROM(overwrite updater-script in META-INF\com\google\android folder), which will format the system partition as F2FS
    You will also need to overwrite the boot.img with a F2FS compatible one or you can flash it after flashing the ROM


    Previous ROM versions
    66
    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 AK's & Franco's, 0-100mV in increments of 25


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


    Developer options crashing?

    Flash the Developer_Options_Crash_Fix zip attached and re-enable root in Developer options afterwards


    Want the kernel that's included with the ROM?

    Flash the Stock_Calkulin's_OPO_v*_Kernel zip attached


    Want to enable the multi-user icon in the status bar again?

    Flash the Calkulin's_Enable_Multi-User_Icon_for_OPO_v* zip attached


    Want to restore the system partition permissions back to default?

    Flash the Calkulin's_Reset_System_Permissions_for_OPO_v* zip attached


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

    Flash the Stock_Android_Hosts_for_OPO zip attached​
    39
    Sorry for the delay in releasing this, life has been busy lately but it's finally done. I've also included the Bazoocaze's patch to fix the MRA(Mobile Radio Active) bug that's in 5.1. Also, I'll update the OP after breakfast :good:

    OnePlus One ROM (v3.5)
    md5 - fca08e55e64fdb701ffdc6afddf0cb0b
    26
    v3.2 that is based on the new OTA is up, enjoy.......