[G 2014 General] Abhishek Bhagwat:
A replacement for SONY's STAMINA MODE. Also a SMARTER GUIDE.

YOU DON'T NEED TO BLOCK WAKELOCKS, USE BATTERY SAVERS, XPOSED, AMPLIFY, etc.

Recommended for:

CM Based ROMS/Custom kernel users/Wifi users.

For those who want high SoT.:angel:

I am not going ask you for a beer or a cup of coffee, only read this guide and thanks me later. [emoji14]

(Recommended) CLEAN FLASH only ROM first, then proceed.

This guide is divided into 2 parts

Moto G 2014 Index of Threads. Thanks [MENTION=5294094]Mister Magister[/MENTION] (Easy to search all roms for G 2014).

1. CM based roms.

2. Stock based roms.

KERNELS -

Halogen - Battery/ Balanced/ Performance.

Spirit - Performance.

Optimus - Balanced.

decipher_simple - More battery/Balanced.[I prefer this]

BLOATWARE REMOVAL.

CM Based

: Use ES Explorer. Grant SU permission (Root Explorer). Migrate to root.

OR use the Debloat Script. Supports all devices.

In SYSTEM/APP, delete these folders:

Basic Dreams, Browser, CellBroadcastReceiver, CM File Manager, Dash Clock, Eleven, Email, Exchange2, Galaxy4, HoloSpiralWallpaper, LiveWallpapers, LiveWallpaperPicker, NoiseField, PhaseBeam, PhotoPhase, PhotoTable, VisualizationWallpapers, WAPPush/WhisperPush.

Reboot the phone immediately

.

BLOATWARE REMOVAL ZIP ADDED: Flash it through TWRP immediatedly after clean flashing the ROM. It will also clear the dalvik.

Now flash Minimal/Pico GAPPS for first time and kernel. (I prefer DECIPHER KERNELL- His own-my.zip recommended)

This kernel is simple one without useless tweaks and hence recommended for more juice saving!

Also flash L SPEED MOD [MENTION=5514152]Paget96[/MENTION]. Really working like a charm!! High savings!

YOU CAN UNDERCLOCK WITH L MOD INSTALLED! IT'S TOTALLY LAG FREE!

Stock Based

: Rooted

Delete LIVE WALLPAPERS the same way. You can use Juice Defender Ultimate (Don't grant it SU permission).

FOR STOCK, ONE HAS TO USE XPOSED FOR AMPLIFY AND POWERNAP.

There are too many wakelocks.

Basic Settings(Common for both)

Settings:

1. Wifi > Advanced - Scanning always available - OFF, Keep wifi on during sleep - Never.

2. Mobile networks: 2G (Wifi users).

3. Display - Sleep - 30 seconds, Daydream - Off.

4. Sound&Notifications - Other sounds - All OFF (your choice).

5. Battery : Turn on bat. saver - NEVER.

6. Location - OFF.

7. Keyboard - Popup, Sound, Vibrate - OFF.

8. Lockscreen -Display Music Visualizer - OFF.

9. Developer Options - Window, Transition animation scale - 0x (or 0.2x) and Animation Duration Scale - 0.2x

These settings should be tuned according to your needs.

If you wish keep AMBIENT DISPLAY to OFF and DOUBLE TAP TO SLEEP on nav bar.

For RESURRECTION ROM or any other cm based rom -

Don't use BATTERY BAR, SLIM RECENTS/ OMNI SWITCH, SLIM PIE, CLEAR ALL BUTTON, SUPERUSER INDICATOR, RR LOGO.

Keep it clean. Default animations.

Now the interesting part, TWEAKS

Recommended Apps - Drive Link below.

1. Kernel Adiutor.

2. SetCPU.

3. Greenify.

4. SDMaid Pro.

Start with

SET CPU;

Install the app, open it, grant SU permission.

Go to

PROFILES

tab, add a new profile.

My PROFILES BACKUP given in DRIVE LINK. Place it in root of internal storage and restore from SET CPU. {Updated}

Use min freq of kernels flashed! Either 96MHz or 300Mhz.

1. Turn this profile on when - Screen Off.

CPU Governor: On Demand

Min: 96Mhz Max: 600MHz

Priority:

100, EXCLUSIVE

2. Add a new profile - Battery Saver.

Turn profile on when - Battery 5%

CPU Governor: zzmove

Min: 96MHz Max: 787MHz

Notificaton: Persistent, Battery.

Priority:

99, EXCLUSIVE

.

3. Again a new profile

Turn profile on when - Any of these are true. ( in it, add your CAMERA apps)

CPU Governor: Interactive.

Min: 96MHz Max: 1190MHz

Priority:

97, EXCLUSIVE

.

4. New one

Turn profile on when - Screen ON.

CPU Govenor: zzmove (2).

Min: 96MHz Max: 1190MHz

Priority:

96, NOT EXCLUSIVE

.

Below this priority you can add per app profiles as per your wish.

GRANT SU permission to SET PROFILES (UID)

KERNEL ADIUTOR

Settings for HALOGEN KERNEL, DECIPHER_SIMPLE (Do this after setting up SET CPU)

Open app,

CPU -

Min: 96MHz Max: 1190MHz

CPU Governor: Don't change.

It will be as per SET CPU

.

Multicore Power Saving: Enabled (Not Aggressive).

CPU Boost -Interval (Both) to 40ms.

Input Boost Freq: 787MHz

CPU Hotplug

Intelliplug -OFF.

MSMHotplug -OFF.

Alucard Hotplug -ON.

You can use I

NTELLIPLUG Balanced/ Eco Conservative/ Strict(1 core) Halogen

too.

GPU

Max: 320MHz (if you are not a gamer or else 450)

Governor: Simple_OnDemand. (Gaming - Performance or msm-adreno_tz)

Save this profile. Allow the phone to rest for 15 mins.

Change the governor to IMPULSE and save another profile for performance. Use widget for applying.

Note - CPU Governors in SET CPU and Kernel Adiutor should match. Don't change the CPU Governor from Kernel Adiutor. Do it from Set CPU Profiles. Also you need to apply the profile after reboot.

GREENIFY - Root Mode.

Add all apps except Set Cpu, Kernel adiutor.

.

Don't use Xposed. It runs everytime you start module app., after all you are using custom rom.

Google Backup off, and all tracking services of GOOGLE PLAY SERVICES should be off

.[emoji14]

No wakelock blocks. Auto Sync OFF after syncing - This does more saving.

With above tricks, I have achieved 0% percent drain. ( At night too.), 6hrs SoT :fingers-crossed:

If your phone reboots on unlocking, it means you have something wrong. Then change Set CPU SCREEN OFF profile governor to zzmove.

[U]CPU Governor Tunables[/U]-
* currently available profiles by ZaneZam and Yank555:
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (1)'def' -> Default -> will set governor defaults -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (2)'ybat -> Yank Battery -> a very good battery/performance balanced setting -
* - DEV-NOTE: highly recommended! -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (3)'ybatext'-> Yank Battery Extreme -> like yank battery but focus on battery saving -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (4)'zzbat' -> ZaneZam Battery -> a more 'harsh' setting strictly focused on battery saving -
* - DEV-NOTE: might give some lags! -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (5)'zzbatp' -> ZaneZam Battery Plus -> NEW! reworked 'faster' battery setting -
* - DEV-NOTE: recommended too!:) -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (6)'zzopt' -> ZaneZam Optimized -> balanced setting with no focus in any direction -
* - DEV-NOTE: relict from back in the days, even though some people still like it! -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (7)'zzmod' -> ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (8)'zzperf' -> ZaneZam Performance -> all you can get from zzmoove in terms of performance but still has the fast -
* - down scaling/hotplugging behaving -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (9)'zzinz' -> ZaneZam InZane -> NEW! based on performance with new insane scaling active. a new experience! -
* ------------------------------------------------------------------------------------------------------------------------------------------
* - (10)'zzgame' -> ZaneZam Gaming -> NEW! based on performance with scaling block enabled to avoid cpu overheating during gameplay -
* ------------------------------------------------------------------------------------------------------------------------------------------

* profile_number 0 means that you can tune the tunables according to your own liking. ;)
Thanks to zakee94. :good:

SDMaid Pro

Check all boxes in

Corpse finder settings

, and scan and remove all corpse. ( LEFTOVER Dalvik of removed bloatware).

For Stock Based roms/ Stock rooted: Use STELLAR Kernel

zzmove is preconfigured in all kernels above.

If you face lag using zzmove post in here.

RECOMMENDED APPS

:

These are best apps

MUSIC PLAYER - Phonograph.

CAMERA - Open Camera. (Better than CM Camera)

NOTE MAKING - Google KEEP.

FILE EXPLORER - ES Explorer.

INSTALLER- Easy Installer.

CLOCK- Timely.

CALENDAR - Sunrise.

Disable this apps: Clock, Google App, Google Calendar Sync, Google Partner Setup, Market Feedback Agent, OTA (if you wish), PICO tts, Print Spooler.

Force Stop this apps at night: Calendar , Calendar Storage, Google Contacts Sync, Google Play Store, Key Chain, Location Services, Themes Provider. (For 0% drain also switch to FLIGHT MODE at night)

Use PICO GAPPS.

No BETTER BATTERY STATS, WAKELOCK DETECTOR, AMPLIFY, and BATTERY SAVERS.

Power Cycle - Charge from 5% to 100% and 10 min more to 100. Give up using phone while charging.

Thanks to all Devs for their support to G 2014. [MENTION=6563295]zakee94[/MENTION] [MENTION=4807909]-decipher-[/MENTION]

Next time if anyone says that G 2014 has got 2070mAh battery only. Just reply them that " Since Motorola is grandtechy company they have certain quotas to maintain device ergonomics, so there's odd numbered 2070mAh battery!

" ;)

Any SUGGESTIONS will be appreciated. Hit thanks.:D

Thanks [MENTION=6606644]Azmat Roomi[/MENTION] for suggestion of L Speed Mod.

Link to DRIVE.

For OTHERS PHONES you can use the profiling and settings, set cpu.

HIT THANKS and ANSWER THE POLL if YOU have LIKED the THREAD!

Latest screenshot - 8hrs SoT:highfive:

ROM: cm-12.1-20151102-NIGHTLY-titan.zip

KERNEL: Decipher's Drive - [151101]my.zip

No Battery Savers, Xposed, Wakelock Blocker, L Speed Mod etc.

Only GREENIFIED some GCM apps, not all apps. This works. You shouldn't FORCE STOP apps unless they aren't responding. Reloading them takes more battery and memory. Only force stop apps with GCM and the ones you don't use.

Drain was 0% - Since it was 3%, the CPU governor was POWERSAVE. It may be 2-3% at night.

Attached- New SET CPU profiles backup - In the Drive.

[B]Kernel Adiutor Settings[/B]:

[B]CPU[/B] :
Min - 300MHz.
Max - 1190MHz.

[B]CPU Hotplug[/B] :
MPDecision - Max Cores - 2.

[B]GPU[/B] :
Max - 200MHz.
Governor - simple_ondemand.

[B]Virtual Memory[/B] :
dirty ratio - 70 .
dirty background ratio - 9.
dirty expire centisecs - 350.
dirty writeback centisecs - 500.
min free kbytes - 2857.
over commit ratio - 50.
swapiness - 90.
vfs cache pressure - 130.

[B]TCP Congestion Algorithm[/B] : westwood.

I don't know about the settings. I tried certain combinations and got good results. :p

Default zzmove profile was 8 - zzperf.

All other settings were at default.

DISABLE PER-APP PROFILES in BATTERY SETTINGS. Recommended.

Minimize HEAVY APPS before screen goes off - If you face lag while unlocking the phone with set cpu profiles screen-off active.