Thanks to the registry hack found here we can resume apps instantly.
Be forewarned, however. This is not for the average user, and has some undesirable (though not crippling) side effects. To do it, make sure your device is developer unlocked, then edit the following registry key:
HKLM\Software\Microsoft\TaskHost
and set "DehydrateOnPause" to 0 (defaults to 3).
The effects should be evident immediately, but your results may vary. Again, this is for advanced users only, but it certainly helps when trying to multitask on your Windows Phone 7 device. Enjoy!
Click to expand...
Click to collapse
removed.
So that's one of the features Mango update will provide ? a reg hack ? really ?
Is there any other reg hack for Copy & Paste ?
'Resuming'
A useful tip.
But I found that setting to '0' did cause some anomolies in my useage so changed value to '1' and it suits me better with no problems.
I had mine set to 0 this afternoon, played a game of pes2011, then a few emails, phone was full battery at 4pm nearly flat by 6pm, not sure if it had pes2011 still running in the background , battery usage is jus to high with this hack
Sent from my HD7 T9292 using Board Express
i have recently found out that android calculates battery consumption according to the values in power_profile.xml file i found a copy of that file but it has values for hardware stuff like screen on cell standby etc. so how does android calculate consumption for other apps like games e mail etc ?
Brief History : I am creating a kiosk product using an MTK based android tablet(4.2.2).For this I had to develop an external PCB circuitry to power the battery directly using wires(and not from the usual usb port).I had to do this since this particular tablet of mine was not switching between host and device mode properly(hence I couldn't charge/send data simultaneously).Charging/discharging work fine.
To cut the long story short,I need to remove the inbuilt default battery monitoring system on my tab (which measures the device's battery level).
PS: I am using my PCB to monitor the tabs battery.Now,due to the indirect way I am charging my tabs battery,I get a clash between the battery level displayed on the tab(which I found to be incorrect for my case) than that shown by my PCB(which was found correct).To avoid this clash(which causes other problems in my apps working) I need to remove the androids in-built battery monitoring system.Hence,I was wondering if I can know which all files/apks to delete from the kernel which can help me achieve the same.Many thanks !
Hello.
I think my problem is a general Android question, although - in my particular case - it is dedicated to Samsung Galaxy Note 3 (SM-N9005).
I would like to learn, which system parameters rule automatic suspending of single cores in runtime. This question is NOT deep sleep - related, I have no problems with that. My problem consists in cores not going offline, even if nothing is happening in the system (I wanted to post a link to a screenshot but I'm not allowed to). Imagine an Idle system - my phone has 4 cores, 3 of them should go offline. And that's what happens, when the system is in a "good" state. But after some time something is changed (I don't know what, yet) and even if completly nothing is running, all the cores stay online and they operate at their lowest speed (which is 300MHz in my case). I know, that it improves responsivenes, but, at the same time, increases power consumption. And it's not how it should work.
So, I'm looking for what triggers such behavior. Not for the initial cause (it must be one of the applications), but for the "intermediate" result. I believe that there are kernel parameters, probably available via the /sys/ subsystem, which may be checked and adjusted here.But... which of them? What to look for?
My phone is rooted, I'm quite fluent in bash programming and I'm not affraid of it. I also know Linux itself (I'm not a hacker, but I have few machines which I administrate). But I don't know Android-specciffic issues. Can anyone help me here?
Thanks in advance
This is a script made by a member on AndroidForums originally for the LG Leon. We noticed that the CPU doesn't fall below 800mhz at all regardless of being under load or idle. This causes alot of battery drain since the CPU is running for literally no reason. I noticed the same problem on my Grand Prime G530T as the two devices share the same CPU.
This script will tune the CPU frequencies to drop to 200mhz when idle and fixes the time spent at higher frequencies, spreading the load across the cores more evenly for sustained performance and better battery life.
Instructions (root required obviously):
Download the script and extract it
Install SManager from the Play Store
Locate and select the MSM8916.sh file
At the top select SU
Hit RUN and allow permissions if asked
To see the difference, use a kernel tuning app (Kernel Adiutor I recommend) and watch the cores before and after running the script. It really does make a significant difference.
Credit to Bichofelix at AndroidForums for the script
Edit: fixed the script, now will keep max freq at 1190mhz instead of 998mhz
Edit 2: added sample screenshots of projected battery life
Hi, my device is G530HXCU. I also noticed on CPU-Z app that my device CPU doesn't fall below 800mhz. Tried using this script by following your procedures but the SManager shows "swapon failed for dev/block/zram0" when I run the script, just wanna ask if it is normal? Though when I closed all other apps on the task manager, my device CPU is now shown as 200mhz in CPU-Z. It seems like it worked. Thank you.
slasherkev said:
Hi, my device is G530HXCU. I also noticed on CPU-Z app that my device CPU doesn't fall below 800mhz. Tried using this script by following your procedures but the SManager shows "swapon failed for dev/block/zram0" when I run the script, just wanna ask if it is normal? Though when I closed all other apps on the task manager, my device CPU is now shown as 200mhz in CPU-Z. It seems like it worked. Thank you.
Click to expand...
Click to collapse
Yeah, the swapon thing can happen if your kernel (I think) doesn't support swap memory/zram. My G530T with the custom root kernel does and I don't receive this error, but it won't hurt anything if that particular part of the script doesn't run.
Enjoy the script and let us know how your device is faring with battery and performance. I'm a heavy gamer and from personal experience I get the same amount of performance and better battery, letting me play harder for longer ^_^
Hi, just wanted to share some feedback while using it. It greatly helps with reducing the battery drain and I really loved it, but on my G530H device, I need to run this script again whenever I reboot my phone. Though, when I did press the "boot" icon beside the "su" icon in the SManager and run the script again, it somehow solves the problem. However, the other problem that I've seen so far is that the maximum cpu of my device becomes 998mhz only, so I need to overclock it using a CPU controller app (I used No-frills CPU Control in playstore) to make it 1.19ghz and it worked. Is there anything I can do to help you fix that in the script so I won't need to use any CPU control app? Thank you very much I'm just a newbie here.
slasherkev said:
Hi, just wanted to share some feedback while using it. It greatly helps with reducing the battery drain and I really loved it, but on my G530H device, I need to run this script again whenever I reboot my phone. Though, when I did press the "boot" icon beside the "su" icon in the SManager and run the script again, it somehow solves the problem. However, the other problem that I've seen so far is that the maximum cpu of my device becomes 998mhz only, so I need to overclock it using a CPU controller app (I used No-frills CPU Control in playstore) to make it 1.19ghz and it worked. Is there anything I can do to help you fix that in the script so I won't need to use any CPU control app? Thank you very much I'm just a newbie here.
Click to expand...
Click to collapse
As stated in the OP, its not my script. But I went ahead and did it for you. Redownload the file and do the same as before. Setting the Boot option in SManager will run the script at boot after the system loads and the apps can gain SU permissions
Thanks for the tip and and glad you enjoy!
Added screenshots to the OP as proof of battery saving with the script.
Note: This usage was actually with an app called Resolution Changer that allowed me to use my screen in 720x1280 resolution, higher than stock which is 540x960. I also have Viper4Android installed with the highest audio driver available for it. These mods actually add more stress on the CPU, GPU and battery which would cause more drain. But as you can see...
I am also using a personally rebuilt rom that isn't ready for release yet as I'm having issues building it.
Who needs a 4000mha battery when you know how to use your system?!
Hello guys! I'm posting this now as I was searching on the Internet about Qcomm msm8916 devices! One tip I can give you as I learned some things, is to learn to build your device's kernel from source if your vendor has released it and remove the stock cpufreq limit API, as it is common in qcom. This API simply locks the frequency above some values to seem more snappy, but also reduces battery life in general! So it is common to sacrifice battery for speed and vice versa.. As you will see there are lots of posibilities also if you search the ramdisk for "optimizations" in frequencies that are done there, and change them to your liking! Happy modding! Cheers!
Nick Verse said:
Hello guys! I'm posting this now as I was searching on the Internet about Qcomm msm8916 devices! One tip I can give you as I learned some things, is to learn to build your device's kernel from source if your vendor has released it and remove the stock cpufreq limit API, as it is common in qcom. This API simply locks the frequency above some values to seem more snappy, but also reduces battery life in general! So it is common to sacrifice battery for speed and vice versa.. As you will see there are lots of posibilities also if you search the ramdisk for "optimizations" in frequencies that are done there, and change them to your liking! Happy modding! Cheers!
Click to expand...
Click to collapse
Nice bit of info there, but this script actually furthers those optimizers to reduce the number of cores needed to run processes and at lower frequencies. If it doesn't need it, your wasting performance and battery. This script helps regulate core speeds and cores online depending on what your doing using the interactive governor, which appears was not setup properly by the phone manufacturer of the device containing the msm8916 chipset.
I tried using it in CM12.1 unofficial rom for G530H and it works. I also think it helps reduce the appearance of deadlock bug for that rom. I edited the script and set the maximum cpu value to 1190400 instead of 1190000 because my device cpu is not going up to 1.19ghz when the script is only set to 1190000 so I tried to make it higher and it solves the problem.
Does it work on all MSM8916-based devices ?
What is the point of going under 800MHz? CPU takes same voltage on 200MHz and 800MHz.