Related
Virtual CPU GOVERNOR For all multicore devices Except qualcomm's
DISCLAIMER:- I am not responsiblr for any loss that you or your device may incure by using this mod,and by using this rom you are giving your implied consent to incure any such loss.
RESULT OF THIS MOD:- 7HR STAND BY TAKES 1% BATTERY
For USING THIS MOD KERNEL MUST SUPPORT HOTPLUG GOVERNOR
So guys wait is over now gain cototal control with my new VIRTUAL CPU GOVERNOR
Its revamped and now u can control the core even FOR A" APP"
For eg:- Titanium backup needs very much cpu power so by this mod as soon as you enter in TB Mobile's all 4 cores will b open to serve and when u exit the app ur two core will sleep again....!!!!!
by this MOD u can control the sleep of ur each cor for a app, for a battery state eg :- only one core runs below 40% of battery,it can be used for screen off and on condition eg:- only one core runs in screen off but as screen wakes mobile's 2nd cor gets ready to serve....isnt that nice
SO i Proudly releasing this mod to be used by everyone.
Prerequisite things if you want to edit the settings rovided by me in this mod:-
1. Knoledge of how tasker works;
2.Knowledge of unix shell scripts;
3.Have experince with android.
NOTICE:- noobs only use my given settings dont mess up with the scripts...otherwise you may end with a dead hone which cannot be repaired by sptool even.
FOR EXPERTS:-you may edit according to your needs
Instructions:-
1.buy or get the tasker application.
2. download the zip;
3.Extract it in titanium backup folder of your sd card;
4.Open TBP and search 'tasker' and restore data;
5.start tasker and enjoy the mod.
you can use any cpu app to adjust clockspeed no probs with mod.
By daily usage only 2 cpus has been unlocked if you think that any app may require some more resources then you can include that ap in apps Profile of tasker
Similarly, if you think that any app may require LOT more resources then you can include that ap in HEAVY apps Profile of tasker.
MOREOVER IT IS RECOMMENDED THAT YOU SHOULD HAVE SUPERSU PRO WITH WHICH U HAVE FORCED TASKER AS ROOT USER IT WILL LESSEN THE LATENCY DUE TO ROOT
DOWNLOAD:-
http://www.mediafire.com/?irv55ddsyu5x5qf
Special thanxx to xda Recognized developer @freeza for his post
Thank if this mod helped u.
FAQs
Tasker is saying no profiles active?
Ans.if u can see my pre configured profiles in tasker then jus sleep overnight and at morning observe how much battery is consumed.
How can I check if profiles are working or not?
Ans. Just restore the data of tasker now start tasker and see if you can see my pre configured profiles or not if yes then reboot after boot is complete go to titanium backup and slide down the notification panel and see the tasker's notification.
Which version of tasker should I use?
Ans.i would recommend 4.1u3 as I am using the same
How can I check effectiveness of your mod?
Ans.Just sleep overnight wnd wake up at morning and observe how much BATTERY is consumed
Dont be suspicious guys its genuine effort no troll
Sent from my IQ446 Magic using Tapatalk 2
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 @Mister Magister (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 @Paget96. 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 INTELLIPLUG 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.
Code:
[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. @zakee94 @-decipher-
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.
Thanks @Azmat Roomi 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.
Code:
[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.
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.
Nice guide and awesome battery life. Thank's for sharing.
-decipher- said:
Nice guide and awesome battery life. Thank's for sharing.
Click to expand...
Click to collapse
Very Nice Guide.I normally use to get 3-4hrs SOT.But after following this guide i am now easily getting 5-6hrs SOT.Guys give it a try it works like charm.
Azmat Roomi said:
Very Nice Guide.I normally use to get 3-4hrs SOT.But after following this guide i am now easily getting 5-6hrs SOT.Guys give it a try it works like charm.
Click to expand...
Click to collapse
Thanks for the review.:highfive:
@Abhishek Bhagwat Alucard seems to keep only one core active the whole time. What do you think about using MSM Hotplug instead?
Also ZZMOVE is a little bit sluggish for me, do you recommend any other governor for screen on?
godoy.rafa said:
@Abhishek Bhagwat Alucard seems to keep only one core active the whole time. What do you think about using MSM Hotplug instead?
Click to expand...
Click to collapse
One core is economy.
Also it delivers smooth performance with zzmove if you have followed the guide as above.
You can try INTELLIPLUG with STRICT profile since it uses 1 core.
Abhishek Bhagwat said:
One core is enough. Smooth performance on zzmove profile 2.
MSM Hotplug in Halogen R7 plugs 4 cores . Could be a bug. So I use Alucard!
Click to expand...
Click to collapse
This is what happens in my device:
Hotplugs:
- Intelliplug plugs only 2 cores, not more os less than that, so I don't use it
- Alucard only plugs one core, and it makes apps like Facebook to become very slow
- MSM Hotplug plugs 1, 2, 3 or 4 cores depending on my usage, and it seems to be the best hotplug in my case
Governor
- ZZMOVE gives my device a very slow response, seems like I am using a much older device, and apps become slow as well
- INTERACTIVE might use more CPU, but makes the device very smooth, fast and responsive. I understand that it might use more battery
@godoy.rafa
The above GUIDE is to give smoothest performance while using ZZMOVE.
In my device -
- Intelliplug plugs
1 Core - Strict , 2 Cores - Eco Conservative/Eco Performance, 3 Cores - Tri, 4Cores - Balanced.
-MSM Hotplug
Variable plugs, mostly 2,3,4 cores.
-Alucard
1 Core.
Try IMPULSE instead of zzmove or interactive. But I won't guarantee BATTERY SAVINGS on it.
Two questions: how do I disable Google backup and Google Play Services' tracking stuff services?
Also, I plan to install Resurrection Remix. The animations which should be kept as default are the ones you change at developer settings?
One question, after clean install ~ we woudn't have the es file explorer without play store right?Then how is it possible to delete those things then flash gapps?
theserpent said:
One question, after clean install ~ we woudn't have the es file explorer without play store right?Then how is it possible to delete those things then flash gapps?
Click to expand...
Click to collapse
Take the backup of es file explorer apk to your sd card.After flashing cm based rom you will get cm file manager just install es file explorer through it and remove bloatware:good:
josfr4ncisco said:
Two questions: how do I disable Google backup and Google Play Services' tracking stuff services?
Also, I plan to install Resurrection Remix. The animations which should be kept as default are the ones you change at developer settings?
Click to expand...
Click to collapse
1. Pause all ACTIVITIES in Google Play Services App.
Ex. Web History, Youtube History, etc.
2. Settings/Backup and Restore - Untick Backup.
Note: This will delete all the backups except that of CONTACTS, KEEP, etc.
3. All animations should be default at DURATION SCALE of 0.2x.
theserpent said:
One question, after clean install ~ we woudn't have the es file explorer without play store right?Then how is it possible to delete those things then flash gapps?
Click to expand...
Click to collapse
Right answer by @azmat!
Awesome guide bro
Cheers
Thanks for the review!
Did it work for you? @Vatsal
Abhishek Bhagwat said:
Thanks for the review!
Did it work for you? @Vatsal
Click to expand...
Click to collapse
Yes bro it did quiet a lot
Why is this thread closed? It was a
Nice guide...
ishubhamsingh said:
Why is this thread closed? It was a
Nice guide...
Click to expand...
Click to collapse
No feedbacks [emoji28]
Abhishek Bhagwat said:
No feedbacks [emoji28]
Click to expand...
Click to collapse
Dont expect feedbacks on huge basis. But ppl do follow this guide.
Guys share ur feedback on regular basis in order to keep thread alive and people wil have solutions for problems in their battery life
Sent from my Moto G 2014 using XDA Free mobile app
My "Perfect" Build v1.0 - Guide (Custom Kernel, tune, zips, apks, libs, sound, vids)
Below you will find a detailed plan on how to get the absolute most out of your Moto G 2015. I've spent countless hours testing and tuning -- coming up with the setup shown here. Its unbelievably fast and effective, with top tier battery life, and an amazing and unmatched sound system.
Requirements (all downloads listed here are found on XDA, along with their threads for support and security verification)
*Flashables* (All found on XDA)
-CM13 Based Rom (I prefer crDroid, but also CM13 Official Nightly, and Temeseks CM13)
-G-Apps Pico 6.0 (latest version. you can install higher levels of gapps if you so desire, but pico will work just fine)
-Inazuma R3 Kernel
-Optimus R6 Kernel
-PDB-ABS Tweaks v5.0 (init.d Scripts, build props, etc)
-Project Skynet Genesys TX6
-PMB SQlite3 Engine Database v5.1
-FeraDroid Engine v0.20 Beta 3 (*optional)
-Xtreme Music v7.03
-Divine Beats Dolby Atmos v5.0
-Bravia v4 and X-Reality Engine 13-16mp
*APKS* (All found either XDA or Play)
-Selinux Mode Changer (on XDA)
-Kernel Aduitor - Modded Version (on XDA - Formerly known as Singularity)
-Busy Box Pro 1.24.1-Stericson (on XDA)
-System App Remover (Google Play)
-Terminal Emulator (Google Play)
Click to expand...
Click to collapse
I would recommend that you start entirely fresh -- full wipe, then clean install the rom/kernel/and zips.
...Lets Begin!!
Initial Setup:
-Download all the required apk programs and flashable zips, as well as the latest versions of a CM13 stable ROM (I prefer CrDroid for all out speed and stability)
-Wipe (or factory reset), then clean install in this order:
a)xxxxx CM13 Stable Rom
b)Open gApps 6.0 Pico
c)Inazuma R3 Kernel
d)Optimus R6 (NOT R7!!)
e)Project Skynet Genesys TX6
f)FeraDroid Engine v0.20 Beta 3
g)PMB SQlite3 Engine Database v5.1
h)PDB-ABS Tweaks v5.0
i)Xtreme Music v7.03
j)Divine Beats Dolby Atmos v5.0
*THERE IS A MAX of 10 ZIPS in the QUEUE. After you flash the initial 10, you can flash this next one.*
k)Bravia Engine v4 and X-Reality Engine Port
It will take about 5 minutes to flash all the zips listed above, but trust me... its worth it!
-Once all zips are flashed, wipe cache/davlik, then reboot.
-Run through setup, unchecking every single option along the way.
-Once loaded to the home screen, be sure to make your SD Card portable or permanent. (I prefer portable)
Initial Tweaks/Settings
-Enable Developer Options
1)2d gpu rendering
2)animation scaled down to lowest setting
3)advanced reboot menu
4)root enable and adb
-"MORE" (below wifi and data)
6)Emergency Broadcasts ALL OFF
-Sound
1)Vibrate on Touch OFF
2)Intensity 0%
-Display
1)low brightness level
2)adaptive OFF
3)Ambient OFF
4)Live Display OFF
5)Double Tap ON
6)Sleep 30 seconds
7)Wake up on plug OFF
8)Daydream OFF
9)Battery Light OFF
-Security
1)Unknown Sources
-System Profiles OFF
-Privacy
1)Block private
2)Block unknown calls/messages
-Location
1)OFF
2)Scanning OFF
Click to expand...
Click to collapse
Install all APKs from the download list:
-Fully Install BusyBox Pro 1.24.1 from within the program.
-System App Remover (all of these are optional, but here is my personal list. 50mb, and increased battery/performance)
**audio fx, basic daydreams, black hole, bluetooth extensions, BT midi service, browser, bubbles, calculator, calendar and storage, call log backup, cLock, CM wallpapers, CM Actions, android backupconfirm, android shared storage backup, android wallpaper cropper, email, exchange services, fm radio, google backup transport, google calendar sync, holo spiral, html viewer, live lock screen service, live wallpaper picker, location services, market feedback agent, omni switch, phase beam, photo screen savers, photophase, print spooler, proxy handler, screencast, setup wizard, terminal, themes, themes provider, user dictionary, vpn dialogs.**
-Selinux Mode Changer: Set to Permissive
-Kernel Aduitor - Modded
Click to expand...
Click to collapse
After installing Kernel Aduitor, here are the settings that will provide you with the perfect balance of battery life and performance.
Again.... (Very Important Settings)
-CPU:
-1401/200mhz MaxMin
-Conservative Governor (50 Down, 85 up, 15 feq step, everything else untouched)
-Schedule Work Queues on Awake CPU's - ON
-CPU Boost 0ms
-Sync Threshold Disabled
-Input interval 0ms
-Disable ALL core's input touch boost
-HotPlug:
-Intelliplug ON
-Conservative Profile (May use Balanced as an alternative)
-Touch Boost OFF
-Hysteresis 8-10 (May use 14-16 when used with Balanced Profile)
-Threshold Value 1000
-CPU Off-Screen Max - 400 (if unused while screen off.), otherwise, use 533-800mhz if you plan on listening to music while the screen off. 400mhz will cause skipping and major lag for this purpose.
-Thermal:
-Core Control ON
-VDD OFF
-Temp Throttle OFF
-GPU:
-465/200mhz if gaming. Otherwise 310/100.
-MSM Adreno Governor
-Adreno Idler ON
--60, 10, 10 for battery favoring
--35, 20, 5 for balanced
--25, 25, 3 for performance
-Screen:
-Color Profile CUSTOM
-Red 235, Green 240, Blue 255
-Min RGB 35
-Sat Intensity 80
-Hue 0
-Screen Value 130
-Contrast - 120
-Automatic High Brightness OFF
-High brightness OFF
-Battery:
-Power Suspend Mode HYBRID (Userspace for extreme battery)
-Suspend State 0 (When using Userspace, try 1 or 2 depending on your need for battery life)
-IO Scheduler:
-Internal- 2048kb read ahead
-Option 1 and 2 (*sioplus or deadline*)
-scheduler tunables (option 1-sioplus, for super fast reads and single task use): asycn read 400, write 4000, fifo batch 32, sync read 200, write 2000, writes starved 2 (option 2-deadline, for benchmarking performance (read 200, write 2000, fifo 32, front merge 1, read 300, write 6000, starved 2
-Option 3 and 4 (tripndroid and bfq) -- for everyday, well rounded performance. Excellent playback of HD videos, extremely fast USB transfer, very effective multitasker.
-External: 512kb read ahead
--TripnDroid or BFQ
-Rotational Storage ON
-Random Entropy ON from rotational storage
-I/O Stats OFF
-RQ Affinity 1 (You may try 2 if you aren't multitasking, 1 is more balanced between performance and multitasking, while 0 is for when performance is less needed, but effeciency and error free work is required)
LMK:
-Adaptive LMK ON
-15, 20, 35, 60, 95, 140mb
Virtual Memory (VERY IMPORTANT for performance, hence I will give ranges instead of exact figures. Depending on what you use your phone for, these settings can be drastically different. The ones I use are for all out performance, low lag, and moderate multitasking)
-Dirty Ratio: 75-95
-Dirty Background: 40-60
-Dirty Expire 500-750cs
-Dirty Writeback 5000-7500cs
-OverCommit 80-100%
-Swappiness 5-25
-VFS Pressure - 20-40
-Laptop Mode ON
-Min Free 4096
-Extra Free 8192
-zRam 300-350 (Stock is 510mb. I feel that a small ramdisk is just as effecient, while freeing up a few hundred mb for more traditional purposes.)
-WakeLocks:
-wlan_rx, wlan_cntrl, and wlan OFF
-Entropy:
-64 (128 optional) Read
-128 (256 optional) Write
-Misc:
-SELinux Permissive
-TCP Algorithm CUBIC
-Vib Strength 0%
-Logging OFF
-Dynamic F-Sync ON
-OTHER:
-Check "APPLY DURING BOOT" to every section of Kernel Aduitor's App
Click to expand...
Click to collapse
Next:
-Install Terminal Emulator, and open it.
-type "su" at the command prompt, then enter
-type "ABS" (all capital!) then enter.
-You will now see a basic text menu.
-Select #1. This will check your system to make sure its ready to move forward with the tweaks.
-Back on the main menu, select option 2
-Run the following scripts: (Run individually, then return to previous menu)
--#2PDB-Booster,
--#3 PDB Junk Cleaner
--#5 PDB-BuildProp Tweaks, then run each of the following tweaks:
2- Image quality
3- GPU Rendering
5- Increase Scrolling Speed
7- Touch Smoothness
9- Internet Speed Extender
11- Fix App FC's
13- Faster boot
14- Signal Strength Extender
15- HPSA Internet Tweaks
16- Flag Tuner
17- Voice Quality Extender
19- Faster Streaming
20- Liquid Smooth UI
21- 60 Frames Per Second Enable
-Next, return to main menu, and choose #6 PDB-Profiler
-Select your primary need. I use multitasking.
-#7 Ad Blocker Enable
-#8 Internet Speed Tweaker
-#11 SqLite Optimizer
-#12 and #13 should already be activated, but if not, do so now.
-#14 SD Card Speed Tweaker
-Return to Main Menu once again and choose #4
--REBOOT DEVICE--
Click to expand...
Click to collapse
After reboot, enter the Terminal Emulator once again:
Type "su" then enter
Then type "menu" (all lower case) and enter,
After the menu appears, perform command #1 - Checks. It should return all Ok's. If not, please visit the Skynet Genesys Thread for help.
Next, run command #3, and set the mode to balanced for everyday use, battery for low performance/good battery backup, and gaming for extreme performance with less regard for battery life. After completing this step, run command #4.
On this menu, run the following commands:
#1 Xtreme Renices (Places urgent priority on principle processes)****optional*** some ROMs have difficulty with this. Heating issues possible.
#3 Scaling + (lower power use and performance during deepsleep)
#4 WiFi Sleep (allows quicker dormancy of the wifi during inactivity)
#6 KSM (Memory Mergining, Same Page Merging of data used by multiple processes)
**#7 Google Killer (*OPTIONAL* Kills Google appls for battery life extension)
#8 Touch Screen Tweak (Improves responsiveness and reactivity of the touch screen. *OPTIONAL* If the earlier ABS build prop tweak did the trick, then you can skip this one. However, if it didn't give you the results you were looking for, I'd recommend trying this one.)
#9 Netboost - Some additional internet boosting tweaks
#10 Assertive Display - An advanced display manager for Qualcomm Hardware. Its a night/day difference for those who haven't used it before. It takes ambient and live display to a whole new level. Giving you clarity and depth in practically ANY light conditions.
Click to expand...
Click to collapse
With that all said and done.
Its been a pleasure, researching all of the tweaks and tunes available. I'm sure that those who are more experienced than me have came up with better ideas, but for this hillbilly from kentucky... its the best I can do! I love this phone, and the performance it offers for budget pricing!
Sorry its so long, and probably difficult to understand. But I hope you appreciate the work I put into it. There's a few revisions I plan on making to increase battery life, with the help of xposed, greenify, amplify, wakelock tuning, etc. And I didn't really get around to talking about the sound lib and progs we installed. I can assure you, there's nothing placebo about viper4android 2.4.01, dolby atmos, xtreme music, and about a dozen or so libraries that are log proveable as working. The bravia v4 Xreality engine.... I just started using it, and haven't had time to really test it out... but it *should* give us an increase in graphic quality, especially in regards to pictures and videos. In the coming days I'll be adding a new section to further increase audio, productivity, graphics, and battery life. But for now..... this is what ya get! REMEMBER THOUGH..... SELinux MUST BE SET TO PERMISSIVE for Xtreme Music Libs to work correctly. You'll be grateful that you did!
Thank you for reading, and I hope you get as much out of it all as I did.
Have a great weekend guys! and gals!
Feel free to cherry pick, add, remove, tweak, etc. No negative talk. If you don't like my work, do your own build. But if you have something constructive to say, questions to ask, or thoughts to add.... I'd be super grateful, and pleased to read them! My goal is to get the smoothest, fastest, and longest lasting battery as possible... . blended into one neat package.
I'll have to try this when I have time. Thanks for the extensive list of tweaks and addons!
@bubbyj
Thanks mate, looks good.
Would be good that you add the links for each item we have to download.
CPU frequency doesn't go down stays at 1,4 GHz heats up my phone..
Do we have to install Inazuma AND Optimus kernels or choose one?
HelpMeruth said:
CPU frequency doesn't go down stays at 1,4 GHz heats up my phone..
Click to expand...
Click to collapse
I put the wrong entropy levels in. It should be 64-128 read and 128-256 write. That cleared it up on my end. Otherwise check your CPU settings. Down threshold 50-60, up 80-85, step 12-16, conservative gov, conservative hotplug profile, intelliplug active, touch disabled in all locations. Sync disabled. Boost 0ms. If this fails, post screenshots of kernel auditor, each section. We will correct the problem for you.
-------
Yes, the inazuma provides a few options that optimus r6 and r7 don't. And vice versa. And because optimys uses any kernel, it simply overlays its settings on top of the existing one.
R7 has 1401 oc, but loses the intelliplug hotplug. It also loses adreno idler. And has a r6 few unique features added compared to inazuma r3. So by installing r3, then dirty flashing optimus r6, you get a hybrid kernel that offers the best of both. You get all freqs from 200 to 1401, with an added 300mhz state. You get intelliplug hotplugging. You get GPU oc and under clock of 100mhz for extreme battery savings and retain the adreno idler. You get all of optimus optimizations and updates, as well as all the governors and schedulers combined. Its really an awesome kernel that results in crossbreeding the two.
Edited the original post. Made extreme renices optional, fixed entropy causing CPU loading (now 64/128 or 128/256, whichever works best for your usage). Also removed battery optimize from ABS tweaks. It works well, but may cause lags.
It works fine without skynet and abs but the moment i flash any of those two the cpu jumps ans stays at 1,4 ghz
Where do you get R6? I can't find a link only for r7
Envoyé de mon MotoG3 en utilisant Tapatalk
vinz244 said:
Where do you get R6? I can't find a link only for r7
Envoyé de mon MotoG3 en utilisant Tapatalk
Click to expand...
Click to collapse
https://basketbuild.com/filedl/devs?dev=Flashhhh&dl=Flashhhh/Optimus/Optimus-R6-Osprey.zip
here
U can use ApkPure no need gapps anymore
Any update on the kernel setup?
Can someone just send me direct links to the correct version of each flashable files I need to download? I've tried doing this myself multiple times, but once it flashes the "audio enhancer" files it starts to say "unable to mount /data" and "unable to mount /storage" in the TWRP log, and when I reboot into the device, it takes a few minutes to "optimze apps" then it just sends me to the Cyanogenmod boot screen and it stays there. I really shouldn't be asking you guys for something like this but I've had to, multiple times, wipe my data and I'm just getting a bit frustrated since I really want to try this build. Thanks in advance.
OMG man, you give me another mobile with this tutorial, thank you very much mate!!!
Jushten said:
Can someone just send me direct links to the correct version of each flashable files I need to download? I've tried doing this myself multiple times, but once it flashes the "audio enhancer" files it starts to say "unable to mount /data" and "unable to mount /storage" in the TWRP log, and when I reboot into the device, it takes a few minutes to "optimze apps" then it just sends me to the Cyanogenmod boot screen and it stays there. I really shouldn't be asking you guys for something like this but I've had to, multiple times, wipe my data and I'm just getting a bit frustrated since I really want to try this build. Thanks in advance.
Click to expand...
Click to collapse
Same thing here , i still not found any way to get all the files flashed :/
Jushten said:
Can someone just send me direct links to the correct version of each flashable files I need to download? I've tried doing this myself multiple times, but once it flashes the "audio enhancer" files it starts to say "unable to mount /data" and "unable to mount /storage" in the TWRP log, and when I reboot into the device, it takes a few minutes to "optimze apps" then it just sends me to the Cyanogenmod boot screen and it stays there. I really shouldn't be asking you guys for something like this but I've had to, multiple times, wipe my data and I'm just getting a bit frustrated since I really want to try this build. Thanks in advance.
Click to expand...
Click to collapse
Check bellow
---------- Post added at 10:08 PM ---------- Previous post was at 10:08 PM ----------
FrancyelZelling said:
Same thing here , i still not found any way to get all the files flashed :/
Click to expand...
Click to collapse
Here is the list, all of then worker in my phone, but the names that he gaves is a bit different so be careful
NOTE:
I flashed the crDroid (04-22-2016) and it make a bootloop, I tried the AICP too, same problem, the only one which worked was the Nexus Experience 10.2. If you wanna try, the link is below.
Main Post:
*Nexus Experience: http://forum.xda-developers.com/2015-moto-g/development/rom-nxrom-nexus-experience-mm-6-0-1-t3347772
*G-Apps Pico 6.0 :http://opengapps.org/
*Inazuma R3 Kernel: http://forum.xda-developers.com/2015-moto-g/orig-development/kernel-inazuma-t3320323
*Optimus R8 Kernel:http://forum.xda-developers.com/2015-moto-g/orig-development/kernel-optimus-kernel-r1-t3300877
*PDB-ABS Tweaks v5.0 : http://forum.xda-developers.com/android/software-hacking/tweak-arkaynine-boost-script-v3-0-t3120404
*Project Skynet Genesys TX6: http://forum.xda-developers.com/android/software-hacking/android-l-booster-1-soon-t3030796
*PMB SQlite3 Engine Database v5.1: http://forum.xda-developers.com/and...mod-projct-mod-boost-nitro-x-edition-t2809443
*FeraDroid Engine v0.20 Beta 3:http://forum.xda-developers.com/and...beta-feradroid-engine-v0-19-ultimate-t3284421
*Xtreme Music v7.03: http://forum.xda-developers.com/android/software/mod-beatsaudio-e-xloud-installer-t3029951
*Divine Beats Dolby Atmos v5.0: http://forum.xda-developers.com/android/software/app-divinebeats-sound-master-phone-sony-t3274355
*Bravia v4 and X-Reality Engine 13-16mp: http://forum.xda-developers.com/and...recompeliren-bravia-engine-x-reality-t3141461
Download link:
*Nexus Experience: http://nxrom.us/motog3.html
*G-Apps Pico 6.0 ARM/6.0/PICO)
*Inazuma R3 Kernel: https://www.androidfilehost.com/?fid=24459283995305053
*Optimus R6 Kernel: https://basketbuild.com/filedl/devs?dev=Flashhhh&dl=Flashhhh/Optimus/Optimus-R6-Osprey.zip
*PDB-ABS Tweaks v5.0 :https://www.androidfilehost.com/?fid=24385658843824596
*Project Skynet Genesys TX6: https://www.androidfilehost.com/?fid=24499762635998635
*PMB SQlite3 Engine Database v5.1(will start automatically ):http://forum.xda-developers.com/attachment.php?attachmentid=3440756&d=1439715903
*FeraDroid Engine v0.20 Beta 3(will start automatically ):http://forum.xda-developers.com/attachment.php?attachmentid=3696184&d=1458938908
*Xtreme Music v7.03: https://www.androidfilehost.com/?fid=24499762636007047
*Divine Beats Dolby Atmos v5.0: https://userscloud.com/ppg965q9d4q7
*Bravia v4 and X-Reality Engine 13-16mp(The second Option): https://drive.google.com/folderview...leEc4MUVXWTdwQnFqV2kxRDcyblBpNXhELThEMGdvWmc#
The problem with skynet is the jump in entropy settings to like 2048 or so, that automatically occurs on some phones. This causes the cpu to lock in at 1.4ghz and pretty much stay there, and loading at 60-80%. I'm going to be offering a brand new build based around the AOSP roms that are popping up everywhere. I'm currently testing it thoroughly. Expect a new thread with a smoother, faster, snappier, and cooler running phone based around this new platform -- probably by the end of the week.
It will include an entropy fix with it. My current settings are 1536 and 256 (read-write) and it does great!
And just one more thing --- along with the new build I'll be offering, I'm also working on an intense battery build. I understand fully that not everyone is interested in squeezing out every last bit of performance and instead desire a usable phone that lasts much longer between charges. I've been working on it off and on for about 3-4 weeks now and have found some amazing tweaks and mods that'll accomplish that goal. The hardest part for me, is being an all out performance nut --- I lose interest in increasing battery life once the performance aspect starts to suffer. With that said, I'm going to be putting my wants to the side and focus much more on the community.
MAJOR UPDATE INFO:
It has came to my attention in the last week or so, that the latest builds of MM --- CM13 based --- DO NOT WORK WITH THE INAZUMA R3 and Optimus R6!! It will bootloop indefinetly. Only versions of CM based roms from prior to about 4/10/2016 will work with it. I've read about it on a few other threads, and tested it myself. It DOES NOT work. It appears to be a problem with the Inazuma R3 Kernel (you can view the thread to see a few people saying the kernel bootloops on the latest versions). The developer is apparently aware and is working on a fix.
As far as the 'unable to mount' /data issue, this occurs now and then with flashables. For me, the fix is to reboot twrp back into the recovery. Don't reboot system. Just reboot recovery, then continue to add your selections. The one that does it most often is the PMB SqLite3 database 5.1 --- and thats about 99% of the time. Hence, I install it at the very last.
I want to apologize for the problems that people have been having, many were my fault and I take responsibility for that. Luckily, everything is fixable and you can always return to your previous setup without issue.
AOSP Version 1.0 will be released by Friday evening.
CM13 version 2.0 will be released shortly after, with fixes to all the issues that have been brought up on here. Thank you again for point the problems out, and giving this a try. See you guys soon!
Check this tool >> http://forum.xda-developers.com/moto-g/orig-development/mod-maxopt-battery-saver-tuner-t2955539/ it does miracles to the battery life and multitasking, before flashing put your phone on airplane mode and do a nandroid backup
Some MIUI ROM/Custom ROMS do not have doze enabled and this is due to Xiaomi disabling doze on China STABLE/BETA builds because they don't have to comply to google standards as of now. There has been some reports that some China based custom MIUI roms do have doze enabled and that is simply because roms like Xiaomi.eu and others do some mix and matching between the GLOBAL BETA builds and CHINA BETA builds to get best performance out of their roms. It explains why doze is enabled. I have personally decompiled the framework-res of both the Xiaomi.EU and MultiROM roms and found that on Xiaomi.EU the value
Code:
bool name="config_enableAutoPowerModes">true</bool>
is set true (doze enabled) On MultiROM its the opposite. You guys can go ahead and check on your own. To remind you folks, if you use Better Battery Stats (BBS), the Doze Interactive stat means the amount of time the device IS NOT DOZING. That value in no way shows that doze is working. Instead look for Doze Idle stat. No Doze Idle stat, then no doze. MultiROM on the other hand bases its roms solely on the China builds which explains why their roms don't doze at all.
So how did I enable/fix doze? MIUI has this feature when it lets theme make overlays on certain values of files and apk in their rom. In this case its framework-res.apk. With the help of a template that I got from here http://en.miui.com/thread-387638-1-1.html I edited the files to apply the correct values on framework-res.apk to enable doze. I also tried to edit navbar size using this method but it didnt work :angel: but the doze tweak DEFINITELY works. So it pretty much confirms that it only works on certain parts of the code/certain APKs. There is a similar concept on AOSP android called RRO/Overlays. But its much more complicated You'll need to det up an environment and compile apk etc...thats not possible because we dont have source code rofl. It's better to use what I have here.
So how do we apply this tweak? Download this file and put it into system/media/theme/default and reboot.
https://drive.google.com/open?id=0B_Q4QjvbODxodTRhQnJVeURubUU
to get doze kicking in faster/faster doze time (instead of the 30 minutes that android sets default) install doze editor and choose the last profile. You can uninstall the app after that because the value sticks/is saved somewhere else.
and of course you'll need to be rooted
Hope this is any help to any of you
Interested in how doze works and its requirements? look here https://source.android.com/devices/tech/power/mgmt.html#doze-reqs
Useful thread! Good job
There is an app to check Doze config flag in framework-res.apk
https://forum.xda-developers.com/android/apps-games/app-check-doze-support-t3374265
For RMN4 AOSP rom, just decompile framework-res.apk, set config_enableAutoPowerModes from false to true, recompile and install back to system then you will have Doze enabled AOSP rom like me
longnt2007 said:
There is an app to check Doze config flag in framework-res.apk
https://forum.xda-developers.com/android/apps-games/app-check-doze-support-t3374265
For RMN4 AOSP rom, just decompile framework-res.apk, set config_enableAutoPowerModes from false to true, recompile and install back to system then you will have Doze enabled AOSP rom like me
Click to expand...
Click to collapse
I tried that and I gave up because every time I replaced the recompiled apk, the phone wouldn't boot lol.
Can you recommend a better way to decompile and recompile MIUI apks?
asusm930 said:
I tried that and I gave up because every time I replaced the recompiled apk, the phone wouldn't boot lol.
Can you recommend a better way to decompile and recompile MIUI apks?
Click to expand...
Click to collapse
If you want modify system apk, the first thing you must do is remove signature check in PackageManagerService.smali (compareSignatures func) of services.jar.
Here is the guide but can appy to any rom, just modify compareSignatures func like that guide. To decompile and recompile apk, I'm using apktool 2.1.1 and it's work fine with AOSP rom of RMN4.
https://forum.xda-developers.com/showthread.php?t=1698352
Seems we have our own doze-like operation. Battery life on this phone is stellar. The app/battery management is highly customizable and effective.
Thanks.
I can confirm that Epic ROM for MIUI devices have doze enabled.
ok, i recently discovered the L-speed app.
in battery menu i see "doze iptimization"
- aggressive doze
- light doze optimization
do they enable THE SAME your trick? or something else?
i don't even know it l-speed is fully compatible for my globerom ( derived from xiaomi.eu)
miui have his own doze mode
realista87 said:
ok, i recently discovered the L-speed app.
in battery menu i see "doze iptimization"
- aggressive doze
- light doze optimization
do they enable THE SAME your trick? or something else?
i don't even know it l-speed is fully compatible for my globerom ( derived from xiaomi.eu)
Click to expand...
Click to collapse
L speed's Aggressive doze simply forces the device to enter doze whenever screen is off.
A user has has tested the app on a non-doze FLAG enabled MIUI rom (in this case multirom) and it worked for him. The app simply forces doze mode.
The light doze optimization changes around the doze timouts etc to save a bit more battery. A user has tested L-Speed on a rom without doze and it does enable it. My problem with using a separate app is it can get killed (even worse on MIUI because it likes to kill apps) and the feature/app wont work anymore.
asusm930 said:
L speed's Aggressive doze simply forces the device to enter doze whenever screen is off.
A user has has tested the app on a non-doze FLAG enabled MIUI rom (in this case multirom) and it worked for him. The app simply forces doze mode.
The light doze optimization changes around the doze timouts etc to save a bit more battery. A user has tested L-Speed on a rom without doze and it does enable it. My problem with using a separate app is it can get killed (even worse on MIUI because it likes to kill apps) and the feature/app wont work anymore.
Click to expand...
Click to collapse
Great work @asusm930, made the XDA news!
https://twitter.com/xdadevelopers/status/834356065596821504
Sent from my Redmi Note 4 using Tapatalk
Hi all,
This thread talks about a problem similar of mine.
i've made a stupid thing.
I've found this article:
xxx.androidworld.it/forum/guide-e-tutorial-11/%5Bguida%5D-come-abilitare-android-doze-sulle-rom-miui-211382/#post1722713
where there is a tutorial to activate doze on miui.
i downloaded the framework-res and place it in system/media/theme/default.
reboot
then i find that every 30 minutes of screen off, apps went killed, but tasker too, and i need tasker always active.
then i delete the framework-res and reboot it.
after that, every 30 minutes of screen off, apps are killed too, tasker too.
then i try to install over the miui ita, the new build of miui ita, but nothing changes.
how can i make tasker always active?
sorry for my poor english.
db
I can confirm that this works for RMN4 AOSP.
---------- Post added at 08:25 AM ---------- Previous post was at 08:24 AM ----------
As for the steps, there's a bit of a condition that you need to complete before it starts working as intended
deathkid13 said:
I can confirm that this works for RMN4 AOSP.
---------- Post added at 08:25 AM ---------- Previous post was at 08:24 AM ----------
As for the steps, there's a bit of a condition that you need to complete before it starts working as intended
Click to expand...
Click to collapse
What condition?
Try it. .and now My RN3SD has Doze enabled on Multirom 6.11.3
*sory diffrent device ?
Noe_cuupz said:
Try it. .and now My RN3SD has Doze enabled on Multirom 6.11.3
*sory diffrent device ?
Click to expand...
Click to collapse
Try to use force doze with xposed module
Does this works too to doze directly after screen off?
<bool name="config_dozeAfterScreenOff">false</bool>
<bool name="config_dozeAfterScreenOff">true</bool>
Cheers
EDIT: Never mind. This is for Screen Doze (ambient screen)
asusm930 said:
Some MIUI ROM/Custom ROMS do not have doze enabled and this is due to Xiaomi disabling doze on China STABLE/BETA builds because they don't have to comply to google standards as of now. There has been some reports that some China based custom MIUI roms do have doze enabled and that is simply because roms like Xiaomi.eu and others do some mix and matching between the GLOBAL BETA builds and CHINA BETA builds to get best performance out of their roms. It explains why doze is enabled. I have personally decompiled the framework-res of both the Xiaomi.EU and MultiROM roms and found that on Xiaomi.EU the value is set true (doze enabled) On MultiROM its the opposite. You guys can go ahead and check on your own. To remind you folks, if you use Better Battery Stats (BBS), the Doze Interactive stat means the amount of time the device IS NOT DOZING. That value in no way shows that doze is working. Instead look for Doze Idle stat. No Doze Idle stat, then no doze. MultiROM on the other hand bases its roms solely on the China builds which explains why their roms don't doze at all.
So how did I enable/fix doze? MIUI has this feature when it lets theme make overlays on certain values of files and apk in their rom. In this case its framework-res.apk. With the help of a template that I got from here http://en.miui.com/thread-387638-1-1.html I edited the files to apply the correct values on framework-res.apk to enable doze. I also tried to edit navbar size using this method but it didnt work :angel: but the doze tweak DEFINITELY works. So it pretty much confirms that it only works on certain parts of the code/certain APKs. There is a similar concept on AOSP android called RRO/Overlays. But its much more complicated You'll need to det up an environment and compile apk etc...thats not possible because we dont have source code rofl. It's better to use what I have here.
So how do we apply this tweak? Download this file and put it into system/media/theme/default and reboot.
https://drive.google.com/open?id=0B_Q4QjvbODxodTRhQnJVeURubUU
to get doze kicking in faster/faster doze time (instead of the 30 minutes that android sets default) install doze editor and choose the last profile. You can uninstall the app after that because the value sticks/is saved somewhere else.
and of course you'll need to be rooted
Hope this is any help to any of you
Interested in how doze works and its requirements? look here https://source.android.com/devices/tech/power/mgmt.html#doze-reqs
Click to expand...
Click to collapse
Hello there and good job on this. Something I noticed and you might have an insight on this. If you disable miui optimization or through Naptime app you can access the battery optimization settings. In all aosp roms everything is flagged as optimized. In all MIUI roms a very large amount of apps is not optimized and in my understanding they are not "dozing well" when not optimized. I can do this by myself manual, but I'm searching for a more automated way here since they are a lot off apps. Thanks in advance!
solis_f said:
Hello there and good job on this. Something I noticed and you might have an insight on this. If you disable miui optimization or through Naptime app you can access the battery optimization settings. In all aosp roms everything is flagged as optimized. In all MIUI roms a very large amount of apps is not optimized and in my understanding they are not "dozing well" when not optimized. I can do this by myself manual, but I'm searching for a more automated way here since they are a lot off apps. Thanks in advance!
Click to expand...
Click to collapse
Hold on. Not all apps are optimized even on AOSP. Some google apps, for example, aren't optimized.
As for automating the process, there's nothing we can do. I found this to be frustrating too
asusm930 said:
Hold on. Not all apps are optimized even on AOSP. Some google apps, for example, aren't optimized.
As for automating the process, there's nothing we can do. I found this to be frustrating too
Click to expand...
Click to collapse
Yes but on aosp is 2-3 apps which can't be optimized. In miui there are a huge amount that can be and are not optimized. Check for yourself when you have time... Install naptime and go to battery optimization
There's a lot of threads out there regarding battery saving techniques, but I didn't really see anything that went into a lot of detail on the OP3t. I own both an OP3t and an OP5T, and after running into some issues with the battery I have finally gotten my phone to idle fairly well on the devices and figured I would share my techniques.
Anyone that reads this and finds this useful, I encourage you to let me know the outcome of your battery after following this guide. Also if you have any suggestions/recommendations, please share them with me on here. I can update the original post and include your suggestions so that it can be helpful for other users as well.
The wakelocks category can be pretty intimiating because it's different for all users based on applications they have, but if you have some custom regex wakelocks or just standard wakelocks that you would like to share, please let me know.
Now to the guide...
Phone Specs:
OnePlus 3T - 64Gb
OxygenOS 5.0.3 (stock) & rooted with Magisk
Kernel - Bane Kernel https://forum.xda-developers.com/on...e-development/kernel-bane-kernel-r-1-t3801778
Recovery - https://androidfilehost.com/?fid=890129502657595792
Developer Options:
Developer - On
OEM Unlocking - Enabled
Advanced Reboot - Enabled
* Doze mode * - Disabled
-I need to highlight this, because I usually enable this option, and I know many others do as well. I'm not sure if my situation is an anomaly, however I must highlight if you use 3rd party battery saving apps such as naptime, forcedoze, leandroid, you should disable this mode. If you don't use these apps, then you should be okay to enable the option. I had this option enabled initially while using the 3rd party apps, and they were conflicting with my phone and my battery was draining very rapidly. It wasn't until after I disabled this option that I noticed a significant improvement with the battery.
USB Debugging - Enabled
Verify apps over USB - Enabled
Tools I use:
Amplify - https://forum.xda-developers.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874
Better Battery Stats - https://forum.xda-developers.com/showthread.php?t=1179809
ForceDoze - https://forum.xda-developers.com/android/apps-games/app-forcedoze-force-doze-mode-screen-t3377694
LeanDroid - https://forum.xda-developers.com/showthread.php?t=2743316
Magisk v16.0\5.8.3 - https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Nova Launcher - https://forum.xda-developers.com/showthread.php?t=1389071
Xposed Framework v90 beta3 - https://dl-xda.xposed.info/framework/sdk26/arm64/xposed-v90-sdk26-arm64-beta3.zip
OOS Debloater v5 - https://forum.xda-developers.com/on...hemes-apps--mods/aroma-oos-debloater-t3615828
Amplify Settings:
WakeLocks:
Wakelocks(Allow every 900 seconds)
WakefulIntentService[GCoreUlr-LocationReportingService]
NetworkStats
Wakelocks(Allow every 3600 seconds)
WeatherUpdateService
Wakelocks(Allow every 10800 seconds)
SyncLoopWakeLock(delays sync)
*net_scheduler*
GCoreFlp
Icing
Wakeful StateMachine: GeofencerStateMachine
NfcService:mRoutingWakeLock
wake:com.pushbullet.android/.gcm.GcmService
SyncService(Package: Push Bullet)
ai(Package: Push Bullet)
ae(Package: Push Bullet)
AsyncService
Wakelocks(Allow every 41400 seconds)
NlpWakeLock
NlpCollectorWakeLock
LocationManagerService
Config Service Fetch
Wakelock regex:
*gms* 900 seconds
*facebook* 9999999 seconds (if you use facebook)
Alarms:
Alarms(Allow every 600 seconds)
com.android.internal.telephony.data-stall
Alarms(Allow every 1800 seconds)
com.oasisfeng.greenify.CLEAN_NOW (If you use greenify)
Alarms(Allow every 3600 seconds)
android.appwidget.action.APPWIDGET_UPDATE
Alarms(Allow every 7200 seconds)
android.content.syncmanager.SYNC_ALARM(delays sync
Alarms(Allow every 10800 seconds)
android.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED
com.facebook.common.executors.WakingExecutorServic e.ACTION.ALARM.com.facebook.katana
com.google.android.apps.hangouts.CLEANUP_DB
com.pushbullet.android/.gcm.GcmFixReceiver
com.android.server.action.NETWORK_STATS_POLL
com.diune.pictures.intent.action.MEDIA_CHECK
LocationManagerService
Alarms[LOCATION](Allow every 41400 seconds)
ALARM_WAKEUP_LOCATOR(com.google.android.gms.nlp.AL ARM_WAKEUP_LOCATOR)
ALARM_WAKEUP_CACHE_UPDATER
ALARM_WAKEUP_BURST_COLLECTOR(com.google.android.gm s.nlp.ALARM_WAKEUP_BURST_COLLECTOR)
com.google.android.gms.location.fused.GPS_ALARM_BA LANCED_ACCURACY
ALARM_WAKEUP_ACTIVE_COLLECTOR
ALARM_WAKEUP_PASSIVE_COLLECTOR
ALARM_WAKEUP_BURST_COLLECTION_TRIGGER
com.google.android.intent.action.SEND_IDLE
ALARM_WAKEUP_ACTIVITY_DETECTION
com.google.android.location.reporting.ACTION_UPDATE_WORLD
Alarms(Allow every 93600 seconds)
android.app.backup.intent.RUN
com.google.android.gms/.checkin.EventLogService$Receiver
com.google.android.gms/.checkinCheckinService%Receiver
Alarms regex:
ALARM_WAKEUP[0-9]+ 9999999 seconds
ForceDoze
These are the options I have checked in Forcedoze settings. Everything else is unchecked.
Turn off while charging - checked
Show persistent notification - checked
Ignore lockscreen timeout - checked
Disable motion sensing for Doze - checked
LeanDroid
DisableWi-Fi - checked
Cellular data - checked
Cellular Radio - unchecked
Bluetooth - checked
Network location - checked
GPS location - checked
SwitchCellular network mode to 2G - unchecked
5 min after screen off except (click except to add exceptions)
The only options I have checked under the exceptions are the following:
Except if tethering - checked
except if charging (AC) - checked
except if charging (USB/wireless) - checked
Disable (Under Exceptions settings)The only options I have checked are
Under (wi-fi, data, network mode)
Except if active: limit 3KB/s - checked
Under Bluetooth
Except if connected - checked
Under Location
Except if GPS in use - checked
Now back to the Leandroid home screen the following settings under "Restore"
I have selected "After screen unlocked"
Every 60 min for 60 seconds after screen off - checked
except 11PM - 6AM - checked
Except below 15% - checked
Magisk
The only module I use in Magisk is "Sysconfig Patcher" - This is supposed to help with optimizing battery for the google services (that are normally exempt from battery optimizations)
Xposed
The modules I have enabled are:
Amplify
ForceDoze
No Device Check (this is a xposed module you can download from the app that helps make SafetyNet check pass)
Now in Android Settings --> Data usage
Click on the cellular data usage as well as the wifi data usage, you can click on an app that shows up in that list that uses up a lot of data and when you click on it, there is an option to toggle off the option "Background data"
I'm not sure if this is really needed, but what I did is I went through the apps that used the most data (including google play store and google play services) and I toggled the background data off
Android Settings --> Battery
Click "Battery Optimization" --> click the ellipses (top right corner) --> Advanced optimization --> turn this on
Android Settings --> Apps --> Special Access --> Usage Access
Turned off for google play store and google play services
Android Settings --> Apps --> Special Access --> Unrestricted data access
All apps are turned off
These are all my custom settings. If you would like to share any, let me know!
Probably you didn't search enough.
There are many helpful topics here or at Oneplus forum for Amplify, Betterbatterystats or with guides for increased battery.
Sent from my ONEPLUS A3003 using Tapatalk
RASTAVIPER said:
Probably you didn't search enough.
There are many helpful topics here or at Oneplus forum for Amplify, Betterbatterystats or with guides for increased battery.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
There are several very useful posts each individually spread around these forums; the purpose of this thread is to have a unified source so people don't have to look all over like I did. I know you initially posted on my thread when I had terrible battery drain issues; and after I posted the information you requested, I haven't heard anything from anyone so I had to troubleshoot and fix it on my own. I guess what I'm saying is, I just want to help others in case they run into a similar situation because it can be frustrating when you're seeking guidance or help and no one responds.
I use Naptime and also had enabled the Doze mode in the settings, so like you say i disabled doze mode now and kept naptime running , ill update this post with my findings
manohar3787 said:
I use Naptime and also had enabled the Doze mode in the settings, so like you say i disabled doze mode now and kept naptime running , ill update this post with my findings
Click to expand...
Click to collapse
Yeah, keep me posted. I'd be interested to see if your results are similar to mine. Were you also having a lot of battery drain despite using naptime and doze mode?
manohar3787 said:
I use Naptime and also had enabled the Doze mode in the settings, so like you say i disabled doze mode now and kept naptime running , ill update this post with my findings
Click to expand...
Click to collapse
@manohar3787 - curious to hear about your phone after turning off doze. Any updates?
Leandroid app is responsible of a severe wakelock, I think is almost better not to have it? Any opinion?
Also, what about RILJ And RILJ_ACW_WL wakelocks? Are these safe to block?
Sent from my ONEPLUS A3003 using Tapatalk
RILJ was safe to block on nougat and below, but in Oreo+ it will actually cause a lot of trouble with the system. The other wakelock you mentioned "RILJ_ACW_WL", I'm not familiar with. What I woudl recommend is do a full backup in your recovery, then make the change to observe what happens. If it messes things up you can recover from your backup.
Regarding Leandroid, I haven't really heard any concerns with it. There have been some responses of users that didn't find it to help any, but I haven't heard of it having an adverse affect.
Another app I haven't tried, but am tempted to try at some point is called Island: https://play.google.com/store/apps/details?id=com.oasisfeng.island
Also a thread about it here: http://forum.xda-developers.com/android/-t3366295
@xNAPx - how is your SOT and your idle battery like? DO you use any 3rd party apps/tools to help with battery drain?
m0d hipp¥ said:
RILJ was safe to block on nougat and below, but in Oreo+ it will actually cause a lot of trouble with the system. The other wakelock you mentioned "RILJ_ACW_WL", I'm not familiar with. What I woudl recommend is do a full backup in your recovery, then make the change to observe what happens. If it messes things up you can recover from your backup.
Regarding Leandroid, I haven't really heard any concerns with it. There have been some responses of users that didn't find it to help any, but I haven't heard of it having an adverse affect.
Another app I haven't tried, but am tempted to try at some point is called Island: https://play.google.com/store/apps/details?id=com.oasisfeng.island
Also a thread about it here: http://forum.xda-developers.com/android/-t3366295
@xNAPx - how is your SOT and your idle battery like? DO you use any 3rd party apps/tools to help with battery drain?
Click to expand...
Click to collapse
My SoT is dependent on the usage, night drain is less than 1% a hour even 0% sometimes, SoT is between 7 and 5 h
About those wakelock I've heard the same about RILJ on Oreo, about the other one I don't know but is heavy as well.
About Leandroid I'm not very convinced. It messes up with notification and now I have another big wakelock to worry about
Sent from my ONEPLUS A3003 using Tapatalk
Unable to End Google play services
i am unable to doze google play services since am already running doze mode+magisk modules(sysconfig patcher + enable doze moe for gms )
Still i can see play services in Running services
Kind help needed
@xNAPx - do you have any custom settings or tools you use? Do you use Greenify?
What are the big wakelock issues that you have trouble with? Is it the one you mentioned "RILJ_ACW_WL" or other ones?
@Anusha Rao - Are you using doze mode within the Android system or 3rd party tools like I posted?
I don't think you want to use both magisk modules. As I mentioned in my post, I only use the sysconfig patcher. And make sure you reboot the phone after enabling that.
To check and see if google play services is being optimized for battery try going here:
Settings --> Apps --> Application List--> Google Play Services --> Battery
When I look at mine it shows 0m in use
0% battery usage
Battery Optimization:
Optimizing battery use
EDIT:
I'm posting screenshots of my googple play store and the google play services having battery optimization enabled and using 0% battery.
BTW, just so we're on the same page, you shouldn't completely "stop" google play services because it's essentially what drives the OS. Those services are important for letting your phone operate correctly. My thread is about optimizing those services not disabling/stopping them.
If you want to completely "freeze" certain apps and services you can try out that application I posted in my previous post called "Island". I'd be curious to hear how it works out.
That one plus "RILJ" plus "LEANDROID service" (which I un installed) , and also "AudioMix" and "xalarmx"
Sent from my ONEPLUS A3003 using Tapatalk
Amplify tells me I need to root my device but I have Magisk installed...?
I'm not familiar with the rom that you have "Dirty Unicorns". I use the stock ROM.
Most custom roms have root built in though so you might not even need to use magisk or super SU. You can check to see if there are any custom rom settings o maybe go into developer settings and see if you see a "Root" option.
Face unlock is not supported in the "Bane Kernel".
Does Lean Droid caused more battery Drain?
m0d hipp¥ said:
@Anusha Rao - Are you using doze mode within the Android system or 3rd party tools like I posted?
I don't think you want to use both magisk modules. As I mentioned in my post, I only use the sysconfig patcher. And make sure you reboot the phone after enabling that.
To check and see if google play services is being optimized for battery try going here:
Settings --> Apps --> Application List--> Google Play Services --> Battery
When I look at mine it shows 0m in use
0% battery usage
Battery Optimization:
Optimizing battery use
EDIT:
I'm posting screenshots of my googple play store and the google play services having battery optimization enabled and using 0% battery.
BTW, just so we're on the same page, you shouldn't completely "stop" google play services because it's essentially what drives the OS. Those services are important for letting your phone operate correctly. My thread is about optimizing those services not disabling/stopping them.
If you want to completely "freeze" certain apps and services you can try out that application I posted in my previous post called "Island". I'd be curious to hear how it works out.
Click to expand...
Click to collapse
Disable background data in Play Store and Play service will not disabling them right?
@Bintang Ksatria - Leandroid should be using less battery. @Rvl7 - No it won't disable them. I still use them, but it's on manual load, and not in the back ground. At least that has been my experience.
m0d hipp¥ said:
@Bintang Ksatria - Leandroid should be using less battery. @Rvl7 - No it won't disable them. I still use them, but it's on manual load, and not in the back ground. At least that has been my experience.
Click to expand...
Click to collapse
A good post , it helps us a lot .