[TUT] How to Optimize your CM13

Search This thread

veez21

Senior Member
Feb 22, 2016
2,172
2,708
Guess Where
OPTIMIZE YOUR CM13

PREREQUISITES:
  • CyanogenMod 13 ROM
  • Nokia X
  • You

First of all, this thread's purpose is to make our Marshmallow Experience better. I have been using a CM13 ROM and it's good, but it can never surpass Stock ROM in stability, smoothness and other things alike.

Now, assuming that you've already done all the things that has to be done on successfully booting the ROM (repartitioning, flashing Gapps, etc), we're gonna start :D.

TIPS

NO. 1
Code:
Do not use too many apps! I mean, we have a very low end phone right here and were aiming to make it better. Use only the apps that you need. Much less apps, much less lag :good:

NO. 2
Code:
If you're gonna have to flash Gapps, flash the [I]pico[/I] one. Since it's the most logical thing to use in this device.

NO. 3
Code:
Refrain from using themes. They consume RAM and lags the UI.

NO. 4
Code:
Replace Trebuchet(CM's default launcher) with any other third party launchers. *cough*Nova*cough*

NO. 5
Code:
Use other root solutions (SuperSU, Magisk etc). I had problem with CM su.

More to come


TRICKS

NO. 1
You're gonna have to enable developer options in setting (tap build no. until it's enabled). The go to Hardware accelerated rendering. Enable Force GPU rendering and Disable HW overlays. You can optionally tweak the animation speed if you like:cool:.

NO. 2
The DPI of the ROM is 240, which I think is okay for our phones. But on my opinion, the best one that suites or device is 220. You can change it in Setting > Display & lights > LCD density

NO. 3
Having only the back button working is a pain. We can enable the Navigation Bar by adding this line to /system/build.prop
Code:
[FONT="Courier New"]qemu.hw.mainkeys=0[/FONT]

NO. 3
Enable root in Settings > Developer options > Root access. Choose Apps and ADB


REMOVING CM BLOATWARES
Assuming you already have Root access, Install Terminal Emulator.
After that type:
Code:
su
Which will then prompt you with Root authentication, grant it.
Now, we can disable (not delete/uninstall) bloats using this command,
Code:
pm disable <name of the app>
Here's the list of what we don't need:
  • org.cyanogemod.screencast (Screen Recorder)
  • org.cyanogenmod.theme.chooser2 (Theme Chooser, we don't need it ;))
  • com.android.email (Do you use email?? If you do, do not include this)
  • com.android.exchange (Exchange Services)
  • All of the live wallpapers and Live wallpaper picker (i think you can find them on your own)
  • com.android.cellbroadcastreceiver (Cell Broadcast)
  • com.cyanogenmod.updater (CM Updater)
  • com.android.printspooler (Print Spooler)
  • com.svox.pico (Pico TTS)
  • org.cyanogenmod.screencast (Screen Recorder)
  • org.cyanogenmod.weather.provider (Weather Provider)
  • org.cyanogenmod.weather.service (Weather service)

BUILD.PROP TWEAKS
Next thing we do is to add these on build.prop
Code:
debug.performance.tuning=1
persist.sys.ui.hw=1
persist.sys.composition.type=gpu
dalvik.vm.dex2oat-filter=interpret-only
dalvik.vm.image-dex2oat-filter=interpret-only
debug.composition.type=gpu
video.accelerate.hw=1
ro.kernel.checkjni=0
profiler.force_disable_ulog=0
profiler.debugmonitor=false
debugtool.anrhistory=0
# more to come

KERNEL ADIUTOR
Install this one Kernel Adiutor and you can edit many things.

Go to CPU section, then choose ondemand as default governor since it's basically more performance driven that other governors (except performance governor ;)).

MORE TO COME :highfive:


XDA:DevDB Information
CM13 Optimizer, Tool/Utility for the Nokia X

Contributors
veez21, weritos

Version Information
Status: Beta

Created 2016-12-31
Last Updated 2017-05-01
 
Last edited:

ani00

Senior Member
Nov 23, 2015
114
26
let me add some..open kernel adiutor...

1) change io scheduler...its most important.. better choose cfq bcoz default is deadline which means single task only...that is you can't pull even status bar while an app is opening!!!

2) my CPU settings ( to prevent overheating and greater performance)
choose conservative governor
then choose its settings and set
low/min threshold=65
high/max threshold=90
its just the best setting for everything
 

veez21

Senior Member
Feb 22, 2016
2,172
2,708
Guess Where
let me add some..open kernel adiutor...

1) change io scheduler...its most important.. better choose cfq bcoz default is deadline which means single task only...that is you can't pull even status bar while an app is opening!!!

2) my CPU settings ( to prevent overheating and greater performance)
choose conservative governor
then choose its settings and set
low/min threshold=65
high/max threshold=90
its just the best setting for everything

Thanks for the suggestion. I will add that but not now. It's almost New Year :laugh:
 

veez21

Senior Member
Feb 22, 2016
2,172
2,708
Guess Where
lol, most of the scripts inside it doesn't work. Placebo of you ask me. The dev(or is he?) doesn't even know what he's doing. He was just putting things together not knowing what they do and how they work. Trust me. All guys who complimented the so called mod has no idea what's going on with the scripts inside and what they do and if they work. I don't even want to comment there.
 
Last edited:

ani00

Senior Member
Nov 23, 2015
114
26
lol, most of the scripts inside it doesn't work. Placebo of you ask me. The dev(or is he?) doesn't even know what he's doing. He was just putting things together not knowing what they do and how they work. Trust me. All guys who complimented the so called mod has no idea what's going on with the scripts inside and what they do and if they work. I don't even want to comment there.

agreed...but bro if it works theoretically or not, doesnt matter..
what finally matter is the performance amd battery,
with 1st boot, i can feel a massive difference... i actually cant feel if its old slow nokia..
even i have tried many mod, none worked before
anyways its your opinion
 

veez21

Senior Member
Feb 22, 2016
2,172
2,708
Guess Where
agreed...but bro if it works theoretically or not, doesnt matter..
what finally matter is the performance amd battery,
with 1st boot, i can feel a massive difference... i actually cant feel if its old slow nokia..
even i have tried many mod, none worked before
anyways its your opinion
Actually, the difference you feel comes from the cpu/governor something script, which pushes the cpu to it's limits. Every other script won't do anything, that's why they have another guy managing the beta thread because the orig guy doesn't know how to :rolleyes:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    OPTIMIZE YOUR CM13

    PREREQUISITES:
    • CyanogenMod 13 ROM
    • Nokia X
    • You

    First of all, this thread's purpose is to make our Marshmallow Experience better. I have been using a CM13 ROM and it's good, but it can never surpass Stock ROM in stability, smoothness and other things alike.

    Now, assuming that you've already done all the things that has to be done on successfully booting the ROM (repartitioning, flashing Gapps, etc), we're gonna start :D.

    TIPS

    NO. 1
    Code:
    Do not use too many apps! I mean, we have a very low end phone right here and were aiming to make it better. Use only the apps that you need. Much less apps, much less lag :good:

    NO. 2
    Code:
    If you're gonna have to flash Gapps, flash the [I]pico[/I] one. Since it's the most logical thing to use in this device.

    NO. 3
    Code:
    Refrain from using themes. They consume RAM and lags the UI.

    NO. 4
    Code:
    Replace Trebuchet(CM's default launcher) with any other third party launchers. *cough*Nova*cough*

    NO. 5
    Code:
    Use other root solutions (SuperSU, Magisk etc). I had problem with CM su.

    More to come


    TRICKS

    NO. 1
    You're gonna have to enable developer options in setting (tap build no. until it's enabled). The go to Hardware accelerated rendering. Enable Force GPU rendering and Disable HW overlays. You can optionally tweak the animation speed if you like:cool:.

    NO. 2
    The DPI of the ROM is 240, which I think is okay for our phones. But on my opinion, the best one that suites or device is 220. You can change it in Setting > Display & lights > LCD density

    NO. 3
    Having only the back button working is a pain. We can enable the Navigation Bar by adding this line to /system/build.prop
    Code:
    [FONT="Courier New"]qemu.hw.mainkeys=0[/FONT]

    NO. 3
    Enable root in Settings > Developer options > Root access. Choose Apps and ADB


    REMOVING CM BLOATWARES
    Assuming you already have Root access, Install Terminal Emulator.
    After that type:
    Code:
    su
    Which will then prompt you with Root authentication, grant it.
    Now, we can disable (not delete/uninstall) bloats using this command,
    Code:
    pm disable <name of the app>
    Here's the list of what we don't need:
    • org.cyanogemod.screencast (Screen Recorder)
    • org.cyanogenmod.theme.chooser2 (Theme Chooser, we don't need it ;))
    • com.android.email (Do you use email?? If you do, do not include this)
    • com.android.exchange (Exchange Services)
    • All of the live wallpapers and Live wallpaper picker (i think you can find them on your own)
    • com.android.cellbroadcastreceiver (Cell Broadcast)
    • com.cyanogenmod.updater (CM Updater)
    • com.android.printspooler (Print Spooler)
    • com.svox.pico (Pico TTS)
    • org.cyanogenmod.screencast (Screen Recorder)
    • org.cyanogenmod.weather.provider (Weather Provider)
    • org.cyanogenmod.weather.service (Weather service)

    BUILD.PROP TWEAKS
    Next thing we do is to add these on build.prop
    Code:
    debug.performance.tuning=1
    persist.sys.ui.hw=1
    persist.sys.composition.type=gpu
    dalvik.vm.dex2oat-filter=interpret-only
    dalvik.vm.image-dex2oat-filter=interpret-only
    debug.composition.type=gpu
    video.accelerate.hw=1
    ro.kernel.checkjni=0
    profiler.force_disable_ulog=0
    profiler.debugmonitor=false
    debugtool.anrhistory=0
    # more to come

    KERNEL ADIUTOR
    Install this one Kernel Adiutor and you can edit many things.

    Go to CPU section, then choose ondemand as default governor since it's basically more performance driven that other governors (except performance governor ;)).

    MORE TO COME :highfive:


    XDA:DevDB Information
    CM13 Optimizer, Tool/Utility for the Nokia X

    Contributors
    veez21, weritos

    Version Information
    Status: Beta

    Created 2016-12-31
    Last Updated 2017-05-01
    2
    let me add some..open kernel adiutor...

    1) change io scheduler...its most important.. better choose cfq bcoz default is deadline which means single task only...that is you can't pull even status bar while an app is opening!!!

    2) my CPU settings ( to prevent overheating and greater performance)
    choose conservative governor
    then choose its settings and set
    low/min threshold=65
    high/max threshold=90
    its just the best setting for everything
    2
    Ask weritos -_- he is the developer of the rom, also he didn't release any kernel or device sources which will help development
    Such selfish devs....Know that the forums are on the brink of extinction and still :/
    1
    updated build prop tweaks and tips ;)
    1
    I have not the Rom but in my opinion, Greenify app can help us increase some speed of the rom after installing some apps. Greenify will hibernate apps so more ram will free. You can try greenify app...it is available in play store.... I am using greenify with FIUI rom.. installed 10 or more apps.. but I greenified many user apps.. It help me retain the speed of the rom.. I almost greenify all user apps which I installed
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone