• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [ROM] MTDEV-CM7 build 2013-03-03

Hot spot activity uses a lot of juice. Phone always gets pretty warm... It's to be expected.

Hopefully there will be some successful tweaks to help, but I ain't holding my breath! :D
 
This is my first ROM to ever be loaded on my Triumph so my battery life comparison is to the stock ROM. I loaded this ROM because of input I received at this forum about the WiFi hot spot feature working with tablet for tethering. I was very pleased to prove that this works. It appeared that my Triumph was running warm and battery drain fast. I decided to baseline by turning off and pulling battery. I haven't started any applications outside that I have enhanced email app so I am occasional receiving work emails over my 3G service and the battery life seems to be depleting like a race horse. I'm lucky to get 3-4 hours without any activity outside a couple of email notifications getting through. I'm guessing that this is not intended but I don't know what to look for. I read above about one member noticing that the WiFi automatically turned itself on but my device is not showing that problem, maybe because I have yet to turn on the WiFi option.

Any suggestions to what I should be looking for that is making this ROM drain my battery so rapidly?

Tethering is the fastest way to drain the battery because it is using both the 3G and wifi radios. I usually use tethering when the phone is connected to the charger and even so, it can barely keep the battery at the same level. Phone gets really hot but I found that pulling the battery cover and keeping the phone in shade with the battery up helps to keep the temperature under 40C.

Now, if you don't use tethering and the battery drains fast, install CPU Spy from the play store and see if your phone goes in deep sleep when you don't use the phone and screen is off and phone is not connected to the charger. This phone will not deep sleep is wifi or bluetooth are on so make sure you turn them off when you don't use them to get the most out of your battery charge. If it still doesn't deep sleep then it's most likely one of the apps that prevents it from going to deep sleep. Over time I found several apps that prevented the phone to deep sleep. It's not easy to figure out which app(s) are keeping a wakelock. Most people will recommend buying BetterBatteryStats to see what processes keeps a wakelock on the kernel, however my experience with this app has been that most times wakelocks are usually Event4-162 or Event4-166 or bq275x0 and nobody seems to know what these are. Battery Drain app and Battery Monitor Widget are pretty useful as they quantify the battery drain. Many times simply rebooting the phone will allow it to deep sleep again.
 
Appears I did not word my post very well and mislead everyone. The mention of tethering was simply a comment on why I loaded the ROM.

I powered my device off and did a battery pull. I then turned the phone on again and just let the phone drain in a standby state starting at 100% charge. Within 3 hours I was at a warning level of 15%. Please note that this is a good battery and had no problem with original ROM in case your wondering if I'm using an old battery.

Isn't a battery pull like doing a reset so every process should be forced off?

My battery monitor indicates the following:
1)Cell standby = 59%
2)Phone Idle = 26%
3)Enhanced Email = 8%
4)Display = 6%
5)Android System = 2%

I did load Wireless Tether at one point because the built in tethering mode did not work using my Samsung Camera 850F. I do remember seeing some error code when I first tried using it so I'm wondering if it could have corrupted something. All I know is the tether process worked with my camera after installing Wireless Tether. I have a feeling that this may turn out to be a painful trouble shooting journey. My problem is I have no history using this ROM I did everything Sunday and I believe your correct that something is preventing deep sleep mode.

Not a solution but a way to stop battery drain is to select airplane mode. This tells me that the problem is a bit more severe than the developers originally thought. I would guess that there's a good chance that the wireless services are running even though it is not visible in the setup selections. I may have triggered something when I tested Hot Spot Mode. Those of you who enabled WiFi may have observed that deep sleep was no longer possible unless turning off the WiFi. The Hot Spot option may be more severe because I clearly turned it off and nothing stops the rapid battery drain except airplane mode. I only wish I had the skill to understand the code. I will cross my fingers that additional work will be done by the developers because the features in this ROM are fantastic relative to stock. I guess I can purchase several spare batteries and carry them around with me and pop one in every couple of hours.
 
Appears I did not word my post very well and mislead ...[SNIP]...will be done by the developers because the features in this ROM are fantastic relative to stock. I guess I can purchase several spare batteries and carry them around with me and pop one in every couple of hours.

I am trying to understand what is going on. You have an email app that you use and the base ROM, that's all? And the only way you can keep the phone from draining quickly is to use airplane mode (there's a widget button that i use to disconnect data, look for it where you set up the power widget)? Could you uninstall the email app or do a nandroid backup and reflash the ROM to see if it's the email app? Maybe over the weekend?

I can tell you that I can get about two days without yahoo setup, just one day with it running and data on all of the time.
 
I like to sit in my car with a cup of coffee in the morning before heading up to the office reading news on my Kindle Tethered with my Triumph and have seen it loose up to 10% in a half hour. Also the thing can get burning hot. In the 10/21 beta build I added a few new permissions and symlinks from the Sharp 2.3.5 boot.image scripts for the hotspot referencing files we are using from Sharp 2.3.5 in hopes of making an improvement. Seemed to be some improvement from what I have noticed but the placebo effect is a powerful thing so had been waiting to see if anyone testing the 10/21 test build had noticed before bringing it up.

Otherwise on the rare occurrence that I actually go a day without flashing I can generally go 24 hours with a single charge.

Couple of other things,

I think its safe to say the battery life in the 10/21 beta build using Ondemand as the default seems to kind of suck. Is anyone else having the same experience? I haven't had much time to compare with the usual Interactive default and could also be that I removed the Build.prop edits for battery life so still interested in a Ondemand / Interactive comparison as removing the edits could also be part of it. I have been removing Build.prop edits in the last few builds in general that had been used in the past as an attempt to help boost performance but the Rom has become super fast and overall more responsive so have felt like they are no longer needed.

Speaking of the build.prop, after adding in the Sharp 2.3.5 btwlancoex, bluetoothd and a few other files like "init.qcom.coex.sh" & "init.qcom.bt.sh" from “etc” I also added the following line in the 10/21 beta build.prop that is found in the Sharp 2.3.5 build.prop.

"ro.qualcomm.bluetooth.dun=true"

Have since done some additional reading and found that with a few devices using similar if not the same hardware they had needed to change this value to “false” in order to get some BT diallers working correctly. I don't have a BT Dialler myself but if anyone using the 10/21 beta build is comfortable editing the build.prop and would like to give this a try let me know how it works out.

The line should look like this after making the edit,

"ro.qualcomm.bluetooth.dun=false"


Also going foreword I have been debating on creating a second thread for test builds as to not jumble up this thread and avoid confusion.
 
There are allot of differences between the 2 and you will most likely run into issues and would be problematic. Ultimately though its hard to say either way but I wouldn't recommend it.
Thanks for the reply. Is there any big difference between the two roms that would be worth flashing it. I have a lot of apps, contacts, and passwords saved on the phone and don't feel like getting all of them back again
 
Response To DSMRYDER,
I will follow your request this weekend but I can't grasp why doing a force stop wouldn't accomplish the same thing. I can tell you that the enhanced email app that I purchased on the market was great for my work email because it prevents me from having to have an annoying security code that is necessary to enter everytime you need to view your emails. Your setup is a one time event by entering your corporate security information. Perhaps I don't even need it with this ROM. I also have my Yahoo email app managing 3 email addresses. I also have my gmail. The phone battery drain comes to a stop for the most part when you power off data via your widget (ie airplane mode).
 
Finally taking this baby for a spin! Hopefully get some testing in this weekend. Feels good to be back in action on the forums :-D
 
I just updated the fonts in the main line. When the next update is released it should be included.

Time to look at the feature requests
 
Did you see my test build? It was just for this, thouh it may of had an issue or two. I just wonder because I didn't get any feedback on it from any of the 22+ people who downloaded it.

I've been really busy for the past 2 weeks and didn't have time to flash it (usually takes about 4 hours to flash, reinstall all apps and redo all settings) but i'll do it either today or tomorrow and report back soon.

Thanks a lot for doing this font update!
 
Look at my new thread
It has ideas that should speed up your process.

I read your thread and it has some really useful points. I had issues in the past with phone rebooting due to Ti restored apps and it took me a while to figure it out. Since then, I always install the apps by hand and with 75 apps it takes a while.
Do you know how to save the myriad of CM settings and reload them after flashing a new ROM?
 
I read your thread and it has some really useful points. I had issues in the past with phone rebooting due to Ti restored apps and it took me a while to figure it out. Since then, I always install the apps by hand and with 75 apps it takes a while.
Do you know how to save the myriad of CM settings and reload them after flashing a new ROM?

Honestly, since the settings are handled by an app, the settings would be in the app's data base thing. I have wondered how Jared it would be to export those settings so they can be reloaded. I'm only on chapter three in a java book, sooooo I'm still learning. I know it shouldn't be hard, I just don't knows how to write the syntax. It's what has been holding me back, that and I'm stupid



Busy
 
Not a problem that can't be lived with but more an observation to share. Still being a new user of CM7 I have come across another characteristic that did not occur with standard ROM. I own the keyboard app FlexT9 which has integrated Swipe into it. I like the ability to swipe which is the main reason I prefer this keyboard over the Android one. I noticed that when you power off the android this keyboard option needs to be selected again in keyboard settings or else it is not an available choose. For some reason this ROM turns it off when you power down.

I can easily live with this characteristic but the battery drain problem is not so livable if my only solution is to turn the data off. The verdict is not out on the battery drain until I isolate the root cause, hopefully the problem is not the Enhanced Email account because that is an outstanding app for capturing my work exchange emails without constantly entering a password to access recently sent emails.
 
Not a problem that can't be lived with but more an observation to share. Still being a new user of CM7 I have come across another characteristic that did not occur with standard ROM. I own the keyboard app FlexT9 which has integrated Swipe into it. I like the ability to swipe which is the main reason I prefer this keyboard over the Android one. I noticed that when you power off the android this keyboard option needs to be selected again in keyboard settings or else it is not an available choose. For some reason this ROM turns it off when you power down.

I can easily live with this characteristic but the battery drain problem is not so livable if my only solution is to turn the data off. The verdict is not out on the battery drain until I isolate the root cause, hopefully the problem is not the Enhanced Email account because that is an outstanding app for capturing my work exchange emails without constantly entering a password to access recently sent emails.

Reboot in recovery, wipe cache and dalvik, then boot back into CM7, set the keyboard input you want, make sure you can use it then reboot the phone and see if the setting sticks.
 
It appears that the Enhanced Email App is the primary problem with preventing sleep mode but unfortantely this creates the problem of having to set your phone with screen security so you have to constantly enter a pin when you have a company secure email address. I never really understood the need for this added security unless it was felt if you lost your phone someone could figure out your username and password for your company email. I believe the security feature got into the Android OS starting with Froyo for corporate exchange emails. I either can carry a pocket full of spare batteries or irritate myself with continually entering a pin code everytime my screen sleeps. It would be great if this bypass feature could be built into the ROM for corporate exchange email.
 
I guess my company JDSU must force a higher security level over the network. There isn't a user of a smartphone that doesn't end up with a Flag that indicates Remote security administration. Followed by our server name requires that you allow it to remotely control some secuirty features of your phone. Do you wish to finish setting up this account? You can select OK or cancel. You then proceed with Account options. You then can name your account and then you need to Activate device administrator? The server requires that you allow it to remotely control some secuirty features of your phone. It will have ability to erase all data, set password rules, moitor screen-unlock attempts, and lock the screen. You then can activate or cancel the process. This is when you are directed to either select a PIN or Password to unlock screen.

I'm surprised no one has experienced this in this forum. There have been people that have produced code to bypass this feature but when I found the Enhanced Email app I was in heaven!
 
Honestly, since the settings are handled by an app, the settings would be in the app's data base thing. I have wondered how Jared it would be to export those settings so they can be reloaded. I'm only on chapter three in a java book, sooooo I'm still learning. I know it shouldn't be hard, I just don't knows how to write the syntax. It's what has been holding me back, that and I'm stupid



Busy

How about restoring cmparts.apk, or maybe data only from it?? Maybe I'll test that... What do you think?
 
[SNIP]
Further observations from yesterday: Incoming BT works normally (tested many times) until connected to WiFi for the first time. Once connected to WiFi, the BT issue returns.
[/SNIP]

I have extremely flaky wifi on the test build also, but mine messes up the camera. Wifi errors out, reboot with wifi on and it connects fine, but camera quits. Won't work again until I turn off wifi and reboot. I feel you man. :confused:
 
How about restoring cmparts.apk, or maybe data only from it?? Maybe I'll test that... What do you think?

I'm sorry, what do you mean? cmparts.apk was removed a while ago. Did you want me to bring it back? I'm sure I have it somewhere... and it's crazy late. Long days are killing me......... I think I dozed off... didn't even have time to go to lunch

I do kinda want to play with something while I bring up my learning. CM6 has been kicking my butt. And I don't know if it's going to be worth the effort. Anyway, ... what?

And just to add a piece of info I wonted to show what I mean by the data widget.
screenshot-1352437041117.png
 
I'm sorry, what do you mean? cmparts.apk was removed a while ago. Did you want me to bring it back?

No man, it's still in there.

Edit:
So I tried wiping data for cmparts.apk, and only lost a very few settings, so restoring data for this app, after a wipe/fresh install, won't save much time...
IMO, of course.
 
Back
Top Bottom