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

Root [ROM] Sleipnir v2.4.0.5 - 10/24/13 - VM & SPRINT

I think CPU is generally one of the lower consumers of battery. Looking at my cpu stats, it's at max only a few minutes a day compared to minimum or deep sleep. The exception then is CPU heavy apps that are keeping the processor running at top speed for extended periods.

I'd recommend CPU Watchdog, it gives an alarm if an app is using high CPU for extended periods, Better Battery Stats is also very helpful in showing what apps keep waking the phone out of deep sleep. Watchdog has a free lite version, better battery stats is $2.89 in the play store.

Another one I like is Autokiller Memory Optimizer which can be useful for tweaking how and when apps are killed. Its got quite a few tweaks that can be performed that may or may not interfere with the tweaks already present in this ROM so be careful. Also I'd liek to warn against killing off running programs too aggressively as that can be more detrimental than helpful for battery life

https://play.google.com/store/apps/details?id=com.rs.autokiller
https://play.google.com/store/apps/details?id=com.zomut.watchdoglite
https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats

I agree, those apps are wonderful for those tasks. I use CPU Spy personally to see what states my CPU has been in, and for how long. However, there have been warnings against AutoKiller in the past, and Hashtag did put in some tweaks that do take care of killing tasks when the memory usage is too high.
 
CPU Spy is good, I just stopped using it because I was using Better battery stats to keep an eye on wake locks and it seemed redundant to have two programs monitoring my CPU. Autokiller can cause stability issues and other conflicts, but I've used it for some time with few issues. The more basic features are pretty safe and easy to use, especially if you're not the type to modify scripts and build.prop.

Edit: My init.d is still refusing to work despite my efforts based on limited knowledge and ability in the area, so I'm more limited than others in how much I can tweak system settings. Until we get a kernel with built in init.d support I'm stuck using programs like autokiller and script manager to keep changes persistent.
 
Ok I adjusted the settings for the CPU tuner, I'll let u know if I notice any changes thanks again.

Sent from my LG-VM696 using Tapatalk 2
 
Artine excuse me from staying from this thread but I installed busy box pro and it wants to install as 1.20.2 whereas I remember busy box was to be installed as 1.20 should I go ahead and hit install? As 1.20.2 for the pro version?

Sent from my LG-VM696 using Tapatalk 2
 
Artine excuse me from staying from this thread but I installed busy box pro and it wants to install as 1.20.2 whereas I remember busy box was to be installed as 1.20 should I go ahead and hit install? As 1.20.2 for the pro version?

Sent from my LG-VM696 using Tapatalk 2


I installed 1.21.0 on the free version with out any problems..
 
I would recommend switching to Power User instead of Beginner, and don't choose any of those choices, you can ignore those default configurations altogether (I think just hit the back key will take you to the main configuration panel).

There are a few tabs you can scroll through left to right, the first is Current, second is Triggers, third is Profiles, fourth is Virtual Governors.

Add a new Virtual Governor, giving it whatever name you want but making sure the governor option is set to smartassV2.

Next, go to Profiles and make a new one. The only things you need to change is the name (add one) for the Profile, and selecting the Governor you just "created" by its name you chose, and the minimum (245) and maximum (1612) frequencies. Leave the rest unchanged.

Triggers is next, create one and give it a name. For "Battery Level," change it to 100. Change the rest of the settings to use the profile you just created - the same profile for everything.

Now onto Current, for the Profile option select Auto: YourProfileName. Change Governor to the governor name you "created," underneath which it should tell you that the governor is actually smartassv2. Here, also, make sure the frequencies set are a minimum of 245 and a maximum of 1612. And make sure that CPU Tuner is actually on/running/activated.

And that's it :) It'll run silently in the background, and you'll never have to mess with it again.



For me, it does. For others, it might not. Then again, the default governor recently was changed to smartassV2.

Thanks for posting these instructions Artine:) they came in handy! But is there any way to get rid of the notification icon? No biggy if not..
 
Thanks for posting these instructions Artine:) they came in handy! But is there any way to get rid of the notification icon? No biggy if not..

Yep, right in the settings actually. So, for anyone wondering how to turn off the CPU Tuner icon in the status bar, in the app hit the menu key -> Settings -> User Interface -> Status Bar Notifications -> Never. Then it'll disappear from the status bar :)

Artine excuse me from staying from this thread but I installed busy box pro and it wants to install as 1.20.2 whereas I remember busy box was to be installed as 1.20 should I go ahead and hit install? As 1.20.2 for the pro version?

Sent from my LG-VM696 using Tapatalk 2

Go ahead and update BusyBox through the Play Store, then go to BusyBox and perform a Normal (not Smart) Install. Your phone should be just fine, as mine is after updating BusyBox. There used to be an old bug in the first incarnations of Sleipnir after the changeover, where if you installed BusyBox (even the version already in the phone), it would break everything. This was fixed in a later build, and it is perfectly safe to update BusyBox without any issue.

Edit: My init.d is still refusing to work despite my efforts based on limited knowledge and ability in the area, so I'm more limited than others in how much I can tweak system settings. Until we get a kernel with built in init.d support I'm stuck using programs like autokiller and script manager to keep changes persistent.

Either giantpune or I will modify the kernel soon to fully support init.d. Right now it's only half-working, as it has all support except from the kernel itself, so some scripts work while others don't. The final build will have complete init.d support.
 
Ok it's installed and regular busy box uninstalled. I've been working on juice defender configurations, it didn't allow me to select a few options so I installed j.d.plus and I got a lil further but a few of the icons mentioned to enable won't allow me to. I.e. under schedule control custom (blue), Data(blue); under Peak enable (green), under Triggers Wi-Fi. Those won't allow me to enable.

Sent from my LG-VM696 using Tapatalk 2
 

Attachments

  • uploadfromtaptalk1359588942537.jpg
    uploadfromtaptalk1359588942537.jpg
    42.1 KB · Views: 90
  • uploadfromtaptalk1359588956806.jpg
    uploadfromtaptalk1359588956806.jpg
    28 KB · Views: 77
  • uploadfromtaptalk1359588967433.jpg
    uploadfromtaptalk1359588967433.jpg
    36.7 KB · Views: 80
Ok it's installed and regular busy box uninstalled. I've been working on juice defender configurations, it didn't allow me to select a few options so I installed j.d.plus and I got a lil further but a few of the icons mentioned to enable won't allow me to. I.e. under schedule control custom (blue), Data(blue); under Peak enable (green), under Triggers Wi-Fi. Those won't allow me to enable.

Sent from my LG-VM696 using Tapatalk 2

As mentioned, it's helpful if you can access the Advanced settings, which should allow you to set those. I have JuiceDefender Ultimate, personally. It more than likely has to do with which version of JD you're using, so I would do as much as you can and you should still get plenty of benefits.
 
any idea which of the pimp my rom tweaks won't interfere with ones already built into this rom? they seem to apply without error but in some cases actually lower performance probably because they are overwriting other stuff that was better.
 
any idea which of the pimp my rom tweaks won't interfere with ones already built into this rom? they seem to apply without error but in some cases actually lower performance probably because they are overwriting other stuff that was better.

23 of the 40 Pimp My ROM tweaks are already integrated. Often times, yes, making tweaks in Pimp My ROM will actually lower the performance while on Sleipnir. Also, the Pimp My ROM app completely fails to detect the current settings of features and tweaks already included, so adjusting them can only be done blindly. The only thing that is safe, that I have found after spending a few days playing with it, is that its Universal init.d Support works. But that's about it - I would advise against doing anything else with it. As such, until either giantpune or myself modify the kernel for complete init.d support from it's partially-functioning state, applying Universal init.d Support via the Pimp My ROM app can be a temporary workaround for this until the kernel is modified.
 
It sounds to me, and I'm also drawing this conclusion from the reports over the month or so, that the battery problem is in switching governors and/or profiles......Here's how I manage to get only having to charge every other day or every two days: In your CPU Tuner app of choice (mine is just CPU Tuner, some use AnTuTu), set up one profile (only one). Have this profile active from battery levels 0 through 100, so it's active all of the time. Set the governor to smartassV2 (this is the default governor in Sleipnir, I was able to change it to that a few builds ago). Then just make sure it's on/active, and you should be set. One governor, one profile, active all of the time

Nice. That was one of my thoughts..the simpler the better. But I figured simpler to ask before trying multiple possible fixes. I'll give it a go tomorrow and let you know the results. I expect good things. :) And thanks for the swift, clearly worded help. Once again, you rock!! =D
 
Nice. That was one of my thoughts..the simpler the better. But I figured simpler to ask before trying multiple possible fixes. I'll give it a go tomorrow and let you know the results. I expect good things. :) And thanks for the swift, clearly worded help. Once again, you rock!! =D

I'll just be happy if that works out for you :)
 
Thanks Artine my battery life has doubled or maybe a lil better now since u explained how to configure juice defender and CPU tuner, I haven't messed with droid wall yet maybe in the future. I appreciate all the time ur taking to explain in detail how to get the most out of this phone...

Sent from my LG-VM696 using Tapatalk 2
 
I'm not sure what happened, but, for some reason the phone just started rebooting all on its own.

I couldh't access anything, if I tried, the phone would reboot. A call would come in, they couldn't hear me.

Reverted back to the Odexed stock, and now everything is working again.

Just thought I'd let someone know about my issue, and see if there's something going on, or if the phone itself was having a issue.
 
I'm not sure what happened, but, for some reason the phone just started rebooting all on its own.

I couldh't access anything, if I tried, the phone would reboot. A call would come in, they couldn't hear me.

Reverted back to the Odexed stock, and now everything is working again.

Just thought I'd let someone know about my issue, and see if there's something going on, or if the phone itself was having a issue.

Considering the build has been out for a couple weeks, and no one has reported such an issue, I would guess that either the ROM corrupted when it was downloading (this is why MD5Sum is provided, to verify if the ROM did not corrupt in-transit), or if the MD5Sums matched it could have been a weird phone issue. Or, if you're using multiple profiles on your CPU Tuner app of choice if you have one, you may have set the minimum frequency too low (which could cause all of those issues). I would try redownloading, making sure that you download the appropriate ROM for your carrier (Virgin Mobile = Virgin Mobile, Sprint = Sprint), verify the MD5Sum is correct, and try reflashing. Since you'll be switching ROMs, you'll need to wipe/format /data in advance/before installing/flashing Sleipnir v2.3.9. After the ROM has been flashed, reboot back into Recovery and you can then restore only /data from an Advanced Restore from your most recent Nandroid backup. Reboot normally, and you should have your data, Sleipnir, and no issues.
 
@Artine, just curious, though not nagging. Why are you going through all that CPU tuner profile crap? You do know that once you set a governor and set it on boot that it sticks right? Also since you made the default smartassV2, then if that's the governor you prefer and you won't be changing speeds Max/min then honestly you don't need a cpu tuner at all. Just saying I'm not sure what you're trying to accomplish by setting one profile, set it and leave it.
 
@Artine, just curious, though not nagging. Why are you going through all that CPU tuner profile crap? You do know that once you set a governor and set it on boot that it sticks right? Also since you made the default smartassV2, then if that's the governor you prefer and you won't be changing speeds Max/min then honestly you don't need a cpu tuner at all. Just saying I'm not sure what you're trying to accomplish by setting one profile, set it and leave it.

That's something I've been experimenting with. For those who want to use a different frequency range, it'd be fine. Also, since the bare minimum is 128 MHz, and that's too low (but still available), the CPU may end up in that frequency, causing problems, without a CPU Tuner app in place to set the minimum to a higher level, avoiding wakeup (or other) issues. As for the rest of the instructions, while I do prefer smartassV2 (and it seems to be the best governor out there), others do prefer different governors so the instructions were more of a template than anything. Also, the point of having only one profile and one governor, was to help others avoid battery life issues that can arise by the CPU having to switch between profiles and/or governors :)

Here's the description of smartassV2, found here:

"Version 2 of the original smartass governor from Erasmux. Another favorite for many a people. The governor aim for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq (500 mhz for GS2 by default) when screen is on. There's no upper limit for frequency while screen is off (unlike Smartass). So the entire frequency range is available for the governor to use during screen-on and screen-off state. The motto of this governor is a balance between performance and battery."

However, one of the remaining items on my to-do list is to figure out a way, if any, to set the minimum CPU frequency to 245 MHz, as opposed to 128 MHz, and thus eliminating the need for a CPU Tuner altogether (unless someone really wants to use one for some reason). If anyone knows how to do this, let me know. Actually, I just did it. :D

EDIT: Just opened Settings.xml in /system/etc, and o_0 wow. That'll be fun to play with :D

EDIT: It appears that I can edit various things, such as what can be turned back on while in Airplane Mode, what Airplane Mode turns off, enabling ADB, Mock Locations, and installation of non-Market apps by default, default screen timeout, etc.

EDIT: First line of event-log-tags in /system/etc: "42 answer (to life the universe etc|3)". Awesome.

EDIT: I just found a bit of a Japanese song in /system/sounds/aat. Why on Earth is that there?! Catchy, though...
 
EDIT: I just found a bit of a Japanese song in /system/sounds/aat. Why on Earth is that there?! Catchy, though...

Wth?....Lol, are you serious?

Edit: holy crap dude you're right, what were they doing with this phone...lol.
....and did you put that powerOn.mp3 in there? Because I don't remember that being there and out doesn't play on boot up anyhow.
 
Wth?....Lol, are you serious?

Yep. In fact, I've uploaded it to DevHost, straight out of /system/sounds/aat. It can be found here - I haven't modified it in any way, despite its filename (but the filename wasn't changed either). In the metadata, it says that the contributing artist is LG Mobile, and that it was encoded by iTunes v7.6.1.9. Lol.
 
Yep. In fact, I've uploaded it to DevHost, straight out of /system/sounds/aat. It can be found here - I haven't modified it in any way, despite its filename (but the filename wasn't changed either). In the metadata, it says that the contributing artist is LG Mobile, and that it was encoded by iTunes v7.6.1.9. Lol.

By iTunes? That's BS...lol, why the crap did you upload it? Lol
 
By iTunes? That's BS...lol, why the crap did you upload it? Lol

For proof, of course :D But yep, that's what the metadata says. And that's also about the only metadata there is on it XD I'm thinking of replacing it with Numa Numa or something.
 
I'm also working on a mega hosts file. Courtesy of three ad blockers and a compiled 200k hosts list by Pimp My ROM (the adblock hosts list from that app is also safe), and Notepad++.

Alright giantpunes on...let's all pm him at once just to mess with him!

Why? He's helping us after all, I'd rather not annoy him :p

That sounds like something that plays after you beat a Final Fantasy game

Indeed!
 
Back
Top Bottom