[GROUP DEV] Powersaving CM10 - Motorola Atrix HD

Working on a way to make the battery life on our cm10 builds last longer, It's definitley not as good as our motorola builds. Thought I'd make this for the people who don't need the best performance for games, and for people who use they're phone lightly (instagram & texting only) and need better battery.
What we could do...
Build.prop mods
CM Kernel mods
Anything else? Feel free to share below, lets get this rom working 100% and tailored to peoples uses.
Ways to save battery​-Delete system apps that I don't use... (less apps running in background.)
Code:
[COLOR="Red"]I removed: Video Editor; Currents; CM FileManager; Cyanogenmod Themes; Theme manager; CM FileManager Themes; Livewallpaperchooser; Livewallpapers.[/COLOR]
-Add the following props to "build.prop" for better battery and faster charging.
Code:
persist.sys.shutdown.mode=hibernate
persist.radio.add_power_save=1
wifi.supplicant_scan_interval=180
ro.ril.disable.power.collapse=1
ro.config.hw_quickpoweron=true
ro.mot.eri.losalert.delay=1000
ro.config.hw_power_saving=1
pm.sleep_mode=1
ro.config.hw_power_saving=true
persist.sys.purgeable_assets=1
# V6 SuperCharger, OOM Grouping & Priority Fixes created by zeppelinrox.
# DO NOT DELETE COMMENTS. DELETING COMMENTS WILL BREAK UNINSTALL ROUTINE!
# BEGIN OOM_MEM_Settings
ro.FOREGROUND_APP_MEM=2560
ro.VISIBLE_APP_MEM=3840
ro.PERCEPTIBLE_APP_MEM=5120
ro.HEAVY_WEIGHT_APP_MEM=7680
ro.SECONDARY_SERVER_MEM=8960
ro.BACKUP_APP_MEM=12800
ro.HOME_APP_MEM=6400
ro.HIDDEN_APP_MEM=15360
ro.CONTENT_PROVIDER_MEM=20480
ro.EMPTY_APP_MEM=25600
# END OOM_MEM_Settings
# BEGIN OOM_ADJ_Settings
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=1
ro.PERCEPTIBLE_APP_ADJ=2
ro.HEAVY_WEIGHT_APP_ADJ=4
ro.SECONDARY_SERVER_ADJ=5
ro.BACKUP_APP_ADJ=6
ro.HOME_APP_ADJ=3
ro.HIDDEN_APP_MIN_ADJ=7
ro.EMPTY_APP_ADJ=15
# END OOM_ADJ_Settings
# End of V6 SuperCharged Entries
Note: I have not tested "Supercharger" with the atrix hd.

I don't know what your talking about, I personally think battery life on CM is a lot better than the Motorola 4.1
Sent from my XT925 using xda app-developers app

Battery life seems same or better to me. Also deleting system apps like a wallpaper picker or a file manager don't make much sense, they are not always running in background. Use greenify app to hibernate whatever apps are running.
Sent from my Atrix HD MAXX using Tapatalk 2

Well I'm Not in CM10 but I'm getting good And better life compared to Stock Motorola JB
Sent from my Golden'd Atrix HD MAXX using xda app-developers app

Same, used to last me to like 9pm or 10pm (no maxx battery) this cm10 ROM for my dd is no comparison
Sent from my MB886 using xda app-developers app

Since this is a small issue for certain I'm going to put it in the general section.
Sent from my MB886 using xda app-developers app

If you could provide minimum and maximum frequencies available for the kernels you have, I've got a script I can change up to work for the AHD that'll definitely increase screen on time.
Sent from my RootBox LG-E970

384-1512mhz thanks, it would be great. I don't really know my way around kernel development, but I've been reading cad threads for kernel dev noobs.
Sent from my MB886 using xda app-developers app

This is a zip of 3 scripts to use with SManager. 1 for balance, 1 for pure battery saving (laggy) and 1 for performance. All of them scale the CPU a lot better than what normally goes on with Android. I personally prefer the balanced one but to each his own. Don't change CPU settings after applying the script or it'll void out. Let me know how it works! Also, this will work with ANY 384MHz - 1,512MHz kernel that supports the conservative governor. Not just CM.
Edit:
3 new scripts that will work with any kernel / device as long as they support the conservative governor.
https://www.box.com/s/sbmmj2nwxtt4ftrk7jhd
Hit thanks if this helps you!
Be sure to thank Yannis100 over here as well for the original script. http://forum.xda-developers.com/showthread.php?t=2089149&nocache=1

Related

Auto killer memory

Anyone using the Auto Killer Memory (Rooted) for their milestone?
I am currently running miui 1.6.10 and its great, but as a android user I enjoy tweaking it still
What settings are people running to get optimum speeds or any other program to speed up the milestone!
Thanks!
Auto Killer Memory Optimizer? You can use zeppelinrox's supercharging and achieve more permanent results in terms of memory management.
Sent from my Milestone using XDA Premium App
where do you find that app?
Kulch said:
where do you find that app?
Click to expand...
Click to collapse
It's not an app, at least not yet You can find it in this forum and it's called v6 supercharger.
Sent from my Milestone using XDA Premium App
http://forum.xda-developers.com/showthread.php?t=991276
Yeah, zepellnirox's script is great, I've been using it for some time now.
I only stopped using it a few days ago, since CM7 RC9's settings are also great for Multitasking, the main thing I want.
Actually, cm7 is more aggressive and less MT friendly than my MT settings.
This is because secondary server apps get killed at 24 mb free ram on cm7 (slot 4) but its 22 mb with MT supercharger preset (slot 3).
To improve MT even more you can use your own minfree levels in v6 supercharger and disable JIT (1 or 2 additional apps can stay in memory with JIT off)

GUIDE PLEASE with CM's PERFORMANCE Settings

Devs/XP users Please provide help and guidance for performance settings explaining each and every menu and sub menu/options.
Also provide best combination of settings to suit needs for Battery, Normal, Performance.
Sent from my GT-S5570 using xda premium
VR.gtmini said:
Devs/XP users Please provide help and guidance for performance settings explaining each and every menu and sub menu/options.
Also provide best combination of settings to suit needs for Battery, Normal, Performance.
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Use ondemand . .
And 604mhz . . For RC5.5 by squadzone's . .
Sent From My GT-S5570 using xda premium
@PERFORMANCE
VR.gtmini said:
Devs/XP users Please provide help and guidance for performance settings explaining each and every menu and sub menu/options.
Click to expand...
Click to collapse
Explaining everything about performance setting so WE could TWEAK it IF, WE KNOW WHAT WE ARE DOING.
THANKS
VR.gtmini said:
@PERFORMANCE
Explaining everything about performance setting so WE could TWEAK it IF, WE KNOW WHAT WE ARE DOING.
THANKS
Click to expand...
Click to collapse
On demand means the processor will clock to whatever speed within the set parameters it needs to run smoothly. It will always try to run as low as possible while not compromising speed. This is generally the best option and there's little to no reason to change it. Unless you want to save as much battery as possible of course, then you could put it to energysaving. You really don't want maxperformance as that will drain your battery and give little to no advantage over ondemand
The other is the clockspeed of the CPU and should generally be left alone. Overclocking it too much can permanently damage your hardware. There is no cooling system, so increase it very conservatively. You should leave it at stock, unless things are being slow, but don't put it too high. The higher you put it, the faster it will process yes, but also the more energy it uses and therefore heat it creates. Too much exposure to heat will mean game over. Overclocking is also likely to lower the lifespan of your device.
Hope that helps
can i have some script for better RAM management. and also tell me how to implement it [ i am a noob ]
& using mebitek's latest CM7 rom
thanx
pratap6789 said:
can i have some script for better RAM management. and also tell me how to implement it [ i am a noob ]
& using mebitek's latest CM7 rom
thanx
Click to expand...
Click to collapse
http://www.xda-developers.com/android/rom-toolbox-by-jrummy-sassibob-review/
Good post!
yippiiiiiiiii my 200th
VR.gtmini said:
Devs/XP users Please provide help and guidance for performance settings explaining each and every menu and sub menu/options.
Also provide best combination of settings to suit needs for Battery, Normal, Performance.
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
1.do not oc your device more than 800 mhz and use ondemand governor,
2 .use the inbuilt option to choose the frequency because app like set cpu use 4~5 mb of your ram (setting> cm setting> cpu setting)
3. try using adw ex launcher it uses 11 mb ram only avoide go launcher
4. create a swap partition of 512 mb and set swapiness to 80%
5. use only default android keyboard (ics android keyboard is better)
6. use task killer to kill ongoing useless task time to time
7. do not use much widget at the same time
I remember mebitek or yagya or some other famous dude said that moving cache to sd card slows your device down..?
I set JIT off, and VM heap to 24. Also oc to 710 MHz, phone works like a charm. But i don't play games, i just want the phone to be snappy. I think the vm heap might cause fc's for bigger applications, at least playstore always force closes when i had VM heap at 16.. but otherwise the phone was really responsive with 16.
Battery is also good with those settings. Please correct me if i'm somehow mistaken!
jit on should be better
Sent from my GT-S5670 using Tapatalk
btw guys. ondemand and what min cpu freq. 122 or 245 i read somwhere that 245 use less battery
Sent from my GT-S5670 using Tapatalk
djozaa said:
btw guys. ondemand and what min cpu freq. 122 or 245 i read somwhere that 245 use less battery
Sent from my GT-S5670 using Tapatalk
Click to expand...
Click to collapse
Just leave min cpu freq to 245, yes.
Also, if your kernel has Smartassv2 or Lilgv2 available, use those instead, they're better for Mini than stock Ondemand.
djozaa said:
jit on should be better
Sent from my GT-S5670 using Tapatalk
Click to expand...
Click to collapse
How so?
Sent from my GT-S5570 using XDA
(FOR BETTER PERFORMANCE IN CM9):-
go to settings
1)developer option-mark Gpu rendering ,windows animation &transitin animation as 0.5,mark kill app back button.
2)performance-use 16 bit,processor lilg as governor at max710(u don't see much flickers)
3)use apex launcher as default .(push it in to ur system-apps)

Official ICS scrolling mod for cm10

I'm using official ics leak 28e n i love how the scrolling works in official Rom.
Very less friction and buttery smooth.
Is it possible to make same scrolling mod
To use in cm10 ??
Sent from my Galaxy Nexus using xda premium
I hope so...
Sent from my LG-P990 using xda app-developers app
yeah for some reason cm10 isnt as smooth as it should be, especially after the 2nd-3rd nightly. its only buttery smooth with performance governor but its a total battery killer (runs always @ 1GHz). i also hope that something can b done about it..
Sent from my LG-P990 using xda app-developers app
Ximo F. Verde said:
yeah for some reason cm10 isnt as smooth as it should be, especially after the 2nd-3rd nightly. its only buttery smooth with performance governor but its a total battery killer (runs always @ 1GHz). i also hope that something can b done about it..
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
Try with a interactive governor and play with the minimum frequency.
neovdr said:
Try with a interactive governor and play with the minimum frequency.
Click to expand...
Click to collapse
interactive is the default governor in cm10. i dont think i should have to rise the min freq, ics roms are v smooth w stock min/max freqs
Sent from my LG-P990 using xda app-developers app
Ximo F. Verde said:
interactive is the default governor in cm10. i dont think i should have to rise the min freq, ics roms are v smooth w stock min/max freqs
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
It's not a stable CM10 release though... Do you have inverted SD mounts BTW?
I thought It was ondemand the default governor on cm10
no, its interactive. how can ics be smoother than jb?? only devs (would) know..
Sent from my LG-P990 using xda app-developers app
Guys guys I'm talking about scrolling friction
In cm10 friction very high
But it official îcs Rom is very less
N i want to reduce that friction effect in cm10
Sent from my Galaxy Nexus using xda premium
There is no point changing cpu governors on our phones,it will always revert to default(nvidia implementation)
My cm10 is verry smooth,more smoother then ics's and i never had call bug's cm10>ics
aigaming said:
There is no point changing cpu governors on our phones,it will always revert to default(nvidia implementation)
My cm10 is verry smooth,more smoother then ics's and i never had call bug's cm10>ics
Click to expand...
Click to collapse
Lets make a couple of things clear. LG has implemented governor support on the ICS (base for CM10) kernel. There no longer a choice only between on demand and conservative. All the governors included in CM10 do actually work and by changing them one can see obvious changes in performance. As far as smoothness is concerned: CM10 is undoubtedly smoother than GB/CM7/Hacked CM9-10. What bugs me and cannot really explain is that in some cases is not as perfectly smooth as it should be and as the 1st leaked ICS was for that matter. Im giving 2 concrete examples. If you use Apex launcher, long pressing on the home screen brings up the choice of adding shortcuts and widgets. If you choose widgets, u get the widget menu list. Scrolling on that list used to be perfectly smooth on the leaked ICS (and if not mistaken, in the first couple of nighties, 1030 and 1031). On current nightly it stutters a lot, even more than it used to on CM7. Another example is the Scrollable News Widget (an RSS text widget). It used to be perfectly smooth, whether scrolling fast or not, on the leaked ICS and while on cm10 scrolling stutters with lots of screen tearing. Even the contacts menu does slightly stutter when scrolling. I was under the impression that this was one of the issues that project butter was addressing by forcing vsync and tripple buffer. So i wonder, is project butter actually implemented on CM10 or not? I cannot possibly explain how (even the leaked) ICS can be smoother in these cases than CM10. One thing that i found (and mentioned above) is that when the governor is set to performance (always running @ 1 GHz) everything is as smooth as it can be. So, could that have to do with how the interactive governor (stock governor on CM10) is implemented on CM10? Id be really interested to hear from a knowledgable source on this issue.
aigaming said:
There is no point changing cpu governors on our phones,it will always revert to default(nvidia implementation)
My cm10 is verry smooth,more smoother then ics's and i never had call bug's cm10>ics
Click to expand...
Click to collapse
governors was implemented in stock ics and cm10, so it works now
hhm, am I only one who don't like ICS scrolling? It's really slow. In CM 10 one move and I am at end of file. In ICS I have to scroll 3 or 4 times to go to end of file.
Nova launcher prime works buttery smooth.
Pascalwb said:
hhm, am I only one who don't like ICS scrolling? It's really slow. In CM 10 one move and I am at end of file. In ICS I have to scroll 3 or 4 times to go to end of file.
Click to expand...
Click to collapse
x2, yesterday I tried stock ICS and CM10 (current) and stock ICS is "heavy" as a truck, it is smooth but takes longer to go where you want to go, then I would say "slow" but not jaggy or teared, not slow bad but slow as intended
CM10 is another story, FAST as furious, clean, clear with 0 issues. I'm talking about the nov 11, 2012 nightly, if you used CM7 then is the same fast/smoothness, maybe a bit faster because of the improvements of ICS and JB in the android UI (notification and lock screen are ways faster in JB).

Better Battery Life

What are some apps or specializations I should do for better battery life because the battery life right now is kind of sorry
Do the eb40 battery mod.
Sent from my ATRIX HD MAXX
GSam Battery Monitor helps you see what apps are using your battery and how.
* Status bar notification for battery state and time left estimates
* Overlay the stock battery icon with the icon pack add-on.
* Detailed display of what is using your battery
* Lists showing app usage allowing sorting by things such as CPU usage, Sensor usage, Wake Locks, Wake Time, etc.
* Set a custom time reference to see stats over a certain period of time.
* See time remaining estimates based on current and historical usage
* Add a widget to your home screen showing the battery status and time remaining
* Download or create your own icon themes
* Set audible alarms to know when your battery has finished charging
* Share and compare your average battery life with others
Use Pimp My Rom and apply battery tweaks.
Turn off "Automatically update my location" from the Maps' location settings. If you don't use Google now that is.
Disable FastDormancy
Use Phone Info app to disable LTE if you don't need it
Underclock to 1.3GHz and refresh rate at 1 GHz (no issues for me with this)
Sent from my Atrix HD
---------- Post added at 07:00 AM ---------- Previous post was at 06:58 AM ----------
Best solution without tinkering would be to get a powerskin.
You would get 3370 mah in total!
Sent from my Atrix HD
Switch to the msm-dcvs governor and underclock to 1.3GHz. Rests at 384GHz on a still screen and only kicks on the second core / raises frequencies when switching apps. Other than that, it'll kick up the frequencies of 1 core while moving the screen around. My phone runs as a single core device about 90% of the time so my battery life is beyond phenomenal. No hindrance in performance as well. msm-dcvs seems to be more battery / performance efficient than ondemand.
Sent from my Atrix HD MAXX
Neroga said:
Switch to the msm-dcvs governor and underclock to 1.3GHz. Rests at 384GHz on a still screen and only kicks on the second core / raises frequencies when switching apps. Other than that, it'll kick up the frequencies of 1 core while moving the screen around. My phone runs as a single core device about 90% of the time so my battery life is beyond phenomenal. No hindrance in performance as well. msm-dcvs seems to be more battery / performance efficient than ondemand.
Sent from my Atrix HD MAXX
Click to expand...
Click to collapse
Governor settings not allowed to be changed after the JB update it seems. Can't change powersave bias and other stuff. Only governor and speeds
Sent from my Atrix HD
BreakShadow said:
Governor settings not allowed to be changed after the JB update it seems. Can't change powersave bias and other stuff. Only governor and speeds
Sent from my Atrix HD
Click to expand...
Click to collapse
Are you rooted? No problems for me.
Sent from my Atrix HD MAXX
Neroga said:
Switch to the msm-dcvs governor and underclock to 1.3GHz. Rests at 384GHz on a still screen and only kicks on the second core / raises frequencies when switching apps. Other than that, it'll kick up the frequencies of 1 core while moving the screen around. My phone runs as a single core device about 90% of the time so my battery life is beyond phenomenal. No hindrance in performance as well. msm-dcvs seems to be more battery / performance efficient than ondemand.
Sent from my Atrix HD MAXX
Click to expand...
Click to collapse
i assume you are using setcpu?
A combination of SetCPU and System Tuner Pro.
Sent from my Atrix HD MAXX
Neroga said:
Are you rooted? No problems for me.
Sent from my Atrix HD MAXX
Click to expand...
Click to collapse
I am rooted, other root apps work fine!
Sent from my Atrix HD
---------- Post added at 06:45 AM ---------- Previous post was at 06:43 AM ----------
Neroga said:
Are you rooted? No problems for me.
Sent from my Atrix HD MAXX
Click to expand...
Click to collapse
Thing is, other governors allow it. Not msm-dcvs
Sent from my Atrix HD
BreakShadow said:
I am rooted, other root apps work fine!
Sent from my Atrix HD
---------- Post added at 06:45 AM ---------- Previous post was at 06:43 AM ----------
Thing is, other governors allow it. Not msm-dcvs
Sent from my Atrix HD
Click to expand...
Click to collapse
My bad. Didn't realize you meant changing the powersave bias and whatnot. It's not needed on msm-dcvs.
Sent from my Atrix HD MAXX
I just did the eb40 swap.. easiest mod I've ever done on a phone to date..
Sent from my MB886MAXX using xda app-developers app
How can I do it with Unrooted AHD?
I m on ota jb and theres no root.
What measures can i take to save battery?
swapnil0545 said:
How can I do it with Unrooted AHD?
I m on ota jb and theres no root.
What measures can i take to save battery?
Click to expand...
Click to collapse
Apparently you're Indian Swapnil?
Download "Phone Info" and set it to WCDMA only to disable 4G,LTE and GSM only to set it to 2G only. Helps a lot.
Sent from my Atrix HD
BreakShadow said:
Apparently you're Indian Swapnil?
Download "Phone Info" and set it to WCDMA only to disable 4G,LTE and GSM only to set it to 2G only. Helps a lot.
Sent from my Atrix HD
Click to expand...
Click to collapse
but I m using 3g(and it shows 4g icon on the top)
so i cant disable that
swapnil0545 said:
but I m using 3g(and it shows 4g icon on the top)
so i cant disable that
Click to expand...
Click to collapse
The 4G icon is 3G. If it shows 4G LTE then you're connected to 4G.
Sent from my Atrix HD MAXX
Any other tips now that we have root and bootloader unlock?
Thanks
Eb40 mod it the best solution
Sent from my MB886 using xda app-developers app
FLaMpeR said:
Eb40 mod it the best solution
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
Well... if someone will come up with custom kernel that supports undervolting that would be one thing to go with.
Sent from my Nexus 4 using Tapatalk 2

Most battery friendly

Sent from my GT-I9100 using xda premium
What is the Most battery friendly rom?
Sent from my GT-I9100 using xda premium
elinho said:
What is the Most battery friendly rom?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
That's pretty hard too say....I guess a rom that has no android os/system drain bugs.
It depends very much on the installed apps, if they spawn any background processes which constantly poll some things....
The govenor settings....if it scales to a higher cpu state very fast etc...
Personally i use SlimBean, but you can do some optimizations on any rom.
If you want good battery life I suggest to use greenify to hibernate apps with the unwanted background processes. Enable deepsleep and power done bluetooth in semaphore manager. Undervolt the 100mhz step. Force 2g networks. Use a black theme because the amoled display need less energy for dark themes. Use low autobrightness settings and enable data connection only on demand.
You can disable autopolling of emails etc...remove widgets from the homescreen...
You will probably get about two days with medium usage then.

Categories

Resources