yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] totovideo:
Actually, I thought that because in first page you say somewhere:

Sidekick (AOSP ROMs signed with platform test keys)

ROM description is here if you want to check:

xdaforums.com/showthread.php?t=768703

It is a froyo one...
[Android Apps and Games] Chainfire:
Ah no. Sidekick is automatically installed and used on AOSP ROMs. The "force" installation is hack that (for some) makes it work on non-AOSP ROMs.

Unfortunately I don't have a Desire, so I can hardly test your ROM personally.
[Android Apps and Games] upp3rd0g:
bugreport

Hi, I just found out about this program. It's great!

I noticed the following:

Under settings for "Lock screen" I have checked:

"Do not enable data"

"Do not enable Wi-Fi"

When I press the homebutton/powerbutton when the screen is off it shows the lock screen ("Sweep glass to unlock") and according to the icons in the statusbar there is no cellular data connection and no wifi connection. When sweeping the screen but NOT actually unlocking, nothing happens. BUT when I let the screen turn itself off again and then press the home button ALWAYS results in a cellular data connection being made (which shortly after that is replaced by a wifi connection). Is this a bug?

I have a Samsung Galaxy S i9000 16GB, running JM2 firmware + OCLFv2.
[Android Apps and Games] upp3rd0g:
How to determine if Superpower really works?

I would like to see some logging showing me all the events it acted upon. Is this possible somehow?
[Android Apps and Games] emelie:
FWIW that's also the case with my installation (running docfroyo 7.6.2).

i don't even need to sweep the screen - just hitting home-button to check the time or whatever, wait for the screen to get dark again; hit home-button again and there is a connection (wifi or data depending on availability / state before lock went active)
[Android Apps and Games] Chainfire:
I'll see about checking that issue lock screen issue.

Re: logging, SuperPower outputs a lot of stuff to logcat, so you can use that if you want to see what is going on.
[Android Apps and Games] sundar2012:
does anyone know if Sidekick works on the vision/g2 with perma root and/or the bacon bits kernel?

edit: im going to do a nandroid backup and test i guess unless someone responds soon

Update: It works on bacon bits - dk about stock or sense kernels.
[Android Apps and Games] sundar2012:
also would be sweet if this had a tasker plugin such that tasker could monitor and invoke certain actions rather than have both tasker and this running monitor processes.
[Android Apps and Games] sundar2012:
more feedback:

It appears that when 2g switch happens it changes the "preferred network type" in Testing mode (#*..4636...)

When on 3G i want to be set on WCDMA only and then set to GSM only when switched to 2G. For some reason, WCDMA preferred will connect to an EDGE network even though i know (by switching to WCMDA only) that HSPA+ speed is available.
[Android Apps and Games] emelie:
have a look at this and consider replying to it if you want it to go further: http://xdaforums.com/showpost.php?p=8813765&postcount=152
[Android Apps and Games] sundar2012:
Ahh i forgot about that - posted before i got the g2:

ok, specific scenarios:

i have a work profile setup to switch my ringer and volumes when im near work (based on cell towers) and its a weekday from 9-7 and its not a holiday (on my calendar). I want this to also switch from 3g to 2g because i want to be able to get updates on my phone that require data (google voice for example) but i don't need 3g speeds.

Another scenario is any type of trigger based conditional data scheduling. For example, while in a movie i switch my phone to a movie profile. this will among other things (like ringer volumes) set my phone to only check for updates periodically to save battery. etc etc.
[Android Apps and Games] sundar2012:
disclaimer: i know nothing about developing for android

taking a look @ aLogCat i see that when switching to 3g (sidekick):

SET_PREFERRED_NETWORK_TYPE :: 1

in my build.prop I overrode:

ro.telephony.default_network=3 (CDMA Only)

This doesn't seem to have any effect, neither on the state of radio after reboot, nor does it affect what SuperPower switches to.
[Android Apps and Games] GreenGoat:
Need advice on setting with SGS

Batt drop almost 10% after 3 hours unplugged

Not ticking anything in "Root Features"

Ticked only :

-Screen State -- Auto data Disable

-WiFi Network -- Auto data Disable

-BG & AutoSync -- Control AutoSync and WiFi

-Lock Screen -- Do not enable data

-App Specific -- Enable with gmail,talk n twitter

-Schedule Data Conn -- Freq (Every Hour) with 5 minutes time

others might no be related

Im running on Doc V7.6.2 JPO, JPD Modem and Ya-OK Kernel with setCPU to 1Ghz

Thanks for any reply :)
[Android Apps and Games] Adevem:
back to playing around with Superpower on my SGS!
[Android Apps and Games] mcmikecruz1:
UnInstalled, reinstalled rebooted phone in an area with good 4g coverage and everything working great

There's never a solid signal at my house Maybe this is the problem
[Android Apps and Games] hachoo:
What's the best way to save battery? By disabling everything?
[Android Apps and Games] toansta:
not sure if this has been pointed out already, so sorry in advance if this is a repost

chainfire, i tried to install sidekick TWICE (following the instructions given on my phone) and in the end it says that the patch failed and could not install.

so just letting you and everyone else know it may not work if you have similar setting

Samsung Galaxy S I9000, using doc rom JPOv7.6.2, JPD modem, speedmod kernelH2r2 200Hz no lagfix either.

one thing i also noticed is that sometimes the CPU scaling would also disable itself.

hope this helps
[Android Apps and Games] toansta:
Chainfire, i'm also trying to configure your app so that i get a balance of battery life and data speed in terms of band switching etc.

i'm wondering does it use more battery to switch from 2G to 3G? or am i better off just disabling data when screen is OFF?

can you advise me which is the better option:

1. UNcheck the 2G/3G: enable button BUT CHECK the auto data disable button.

(I assume with this option the phone is always connected to 3G when the screen is on, and when it is OFF there is no data traffic so no battery usage)

OR

2. CHECK the 2G/3G and also the auto data disable, so i will need to manually switch when the screen is ON.

I hope this makes sense :s

thanks for your help
[Android Apps and Games] trey48fan:
Didn't find by search...

Apologies in advance if I missed it. The wait 30 seconds between searches got a bit old after 8 attempts.

I'm running Obsidian 2.2 V2. My question is, when I go into settings to configure everything, all of the new features that require 2.2 are grayed out and not selectable. Has anyone else experienced this and if so any advice?

Chainfire, this app is awesome, already seeing improvements in my battery life! Thanks for your work!
[Android Apps and Games] hachoo:
Would there be any reason why SuperPower is using 30-40% CPU when the phone is idle? I'm finding my phone is only getting 6-7 hrs battery life because according to watchdog, SuperPower is doing something in the background that's chewing through my power.
[Android Apps and Games] sheddi:
Thanks a lot for this.

Testing it out on the Aria... will see what it does for the battery.
[Android Apps and Games] Ace42:
I would like to ask if the conservative governor could be added to the app and maybe a widget too?:)
[Android Apps and Games] e2zippo:
Looks like an awesome app! Juicedefender failed me so I have high hopes for this one!
[Android Apps and Games] sheddi:
Went from 100% battery to 20% after 9 hours of sleep...

am I doing something wrong here?

Have 2g enabled at all times and kept 3g on for certain applications.

HTC Aria, Liberated
[Android Apps and Games] Ace42:
Was your battery performing like that before? If not then it could be this app, check settings, battery usage, and see what app is using the power.
[Android Apps and Games] Kel Ghu:
Should WiFi and GPS automatically turn back on when using the phone?

What exactly is background data?

It would be great to be able to select which application auto-sync or not.
[Android Apps and Games] sheddi:
It wasn't. Battery use said 50% cell standby, 50% phone idle.

Real shame.. this app sounded like a miracle :(
[Android Apps and Games] mcmikecruz1:
Nothing wrong with this app, works awesome when properly set , you got something else going on . I recently had unusual battery drain ended up being google location going crazy battery usage said it was the android os , check your logs .shouldn't jump to conclusions and post something negative about this app , super power has been a godsend to me I get less than 1% drain an hour overnight I'll fully charge the phone before I go to bed and its at like 96 % when I wake up better than charging overnight and experiencing immediate 10% drop
[Android Apps and Games] arielext:
with a working clockwork mod recovery i am trying to install sidekick, into 2nd reboot now. Going to report back if something new is up @ DHD

edit: auto reboots fail; doing manual reboots

edit2: install failed RIL injection still seems to work though.

Can i help in any way to get this working on the DHD (using a custom kernel made by Kamma which enables more govenors for the DHD)
[Android Apps and Games] sheddi:
Never said anything negative about this app. Just pointing out that it doesn't work for me. I'm happy it worked out very well for you. I'm still giving it a shot and trying to get it to work the best it can for my phone.
[Android Apps and Games] mcmikecruz1:
Your right, Sorry didn't mean to be rude, if you can use wifi instead of your mobile data uses allot less juice , if you don't wanna miss out on anything you can set data schedule for every fifteen minutes versus leaving it always on

Tinker with it sure you'll get good results.

Good luck
[Android Apps and Games] hawt:
Can't seem to get any of the root options to work.

Sidekicked has failed twice and "secure settings" like gps has failed twice as well while trying to patch. Also, they do not auto-reboot, have to reboot manually.

It might be my ROM, I am using EVO-NonSense.

Anyone successfully get this fully functioning on the Evo?

I was using UltimateJuice but found it to be sloppy, in design and execution. Mainly, using SuperPower for the WiFi switching right now. I'm also trying out the Auto-Syncing, something I always found iffy on UltimateJuice. Will report back on my results!

Hoping this gets all of the kinks worked out for the Evo! Keep up the great work!
[Android Apps and Games] lawsonmh15:
At first I was amazed by this app. After several hours I noticed I wasn't receiving texts... then began having serious problems mainting connection to wifi. Then it had trouble simply connecting to wifi. I'm running CM6 on EVO.
[Android Apps and Games] sundar2012:
That menu may be samsung specific. You could modify the build.prop, i believe, to change some of those things. However, wherever the overrides that are applied in Phone info or through Chainfires app are not actually made in build.prop and are persistent after a reboot.

Chainfire, when you change a setting like the radio band, do you know where the change is actually stored?

You can modify your build.prop and reboot to change some more granular network/radio settings. make sure you backup before messing with it!!
[Android Apps and Games] sundar2012:
repost cuz the time stamp got totally screwed up? forum software?
[Android Apps and Games] GreenGoat:
thanks for the reply CF :)

i will try another compatible setting for this
[Android Apps and Games] sundar2012:
Unfortunately, I cannot continue to test/use this app until the 3g only feature is added, but I will go ahead and donate if this feature will be implemented (and still hope for some tasker stuff and more cpu governor options).

Here in manhattan, WCDMA preferred DESTROYS my battery versus 3g only. Not sure why, but we are bathed in the beautiful rays of HSPA+ and plentiful 3g towers, but for some reason the radio will switch at times, which causes some issues.

Chainfire, if you could elaborate on one technical question I have...

Why is it that when losing 3g signal, the radio seems to seemlessly transition from 3g to 2g, but when band switching the radio appears to reset. Is it that the radio has to reset to change the mode, not necessarily the network it is connected to itself? Would there be a way to signal it to only connect 2g without doing a radio reset or changing the mode? Could one design a custom radio firmware and custom radio mode that would accept messages on the networks to connect to from software w/o the need to reset?
[Android Apps and Games] Chainfire:
Well, if you need it that much, I might be able to throw that option in in the next update. I'm already behind schedule on it, but I hope to release it Wednesday (0.75). We'll see :)

There is however the no-signal caveat. Not sure if I can get a solution for that problem in before the next update.

I am wondering though, if you set your device to 2G-only mode, so it doesn't look for 3G, does it actually use less power than if you use 3G-only mode ? If it does, your radio is quite likely shoddily coded or made, when taking into account that 3G-only also uses less power than 3G-auto. Yes, 3G-only should use a bit less power than 3G-auto, but it shouldn't make a very noticable difference.

Re: technical question

This is purely radio-implementation specific. There may be certain radios that have to do it this way due to hardware limitations, but I expect that 99% of the radios could do this without resetting itself.

It is already very apparent now - one of my coworkers actually have some weird (Chinese?) device that in many situations does the switch pretty much instantly, if both type of networks are available. I suspect the radio in question is not reset at all! Most HTC devices are really slow at switching. Samsung devices are generally a lot faster. Lot's of difference between devices.

All in all, there is no standard interface to manage this, as the app processor (where Android lives) is generally not expected to change these settings on-the-fly. It's supposed to be managed by the radio processor. The radio software simply is not designed to do this the way it would work best for us :)

In theory, one could indeed design a custom radio firmware that does this (this would NOT actually require an update to the "app" part of the firmware - Android), but in practise this is hardly possible to do for us. There are MANY different radios, and changing radio code is very difficult by itself. Practically speaking, really only the OEMs can make this a reality.
[Android Apps and Games] sundar2012:
Thanks for the quick response.

If this is the case (i'm on a g2), that is that 2g only uses the same amount of battery as 3g only, which in turn uses only a little less power than 3g auto, why would a 2g toggle save battery in the first place? Are you suggesting that just staying 3g only would be the best option for battery savings?
[Android Apps and Games] emelie:
@Chainfire

just making sure you are aware of this: http://xdaforums.com/showthread.php?t=837716
[Android Apps and Games] lawsonmh15:
So, here's the weird thing. I decided to simply install the patch and reboot and that seems to have quelled the data issue... however, since I left the house this morning after a full charge, my battery dropped faster than I could ever have imagined and was at 25% about an hour ago. (Roughly 4 hours off charger) The only things I've changed are that I uninstalled the "Overclocking Widget" and replaced it with "Cpu Tuner" and then I turned on the "allow superpower to control cpu frequency" option on.

Am I doing something wrong? Could the prob be from allowing SP to control the CPU, or is this a problem with the "CPU Tuner" app?

TIA
[Android Apps and Games] Chainfire:
It might be in your specific situation - I'm not saying it is or isn't. That's why I ask you to check out if 2G-only mode actually saves you battery compared to 3G-only mode.

It is generally the case that 2G uses much less battery than either 3G-auto or 3G-only. BUT it depends on a lot of factors, like amount of users in your vicinity actively using it, distribution of towers, distance to tower combined with either 2G or 3G, etc. Not to mention the radio itself.

You can write books about this subject, there is no single answer that is always correct, apart from "it depends".
[Android Apps and Games] Chainfire:
Actually I wasn't.

There is a problem, though :) There no standard way to do this. Google was brilliant in making the 2G/3G switching a standard (it isn't on any other platform, requiring specific RIL code on each device), but this isn't done for the HSPA setting.

This could be anything... Uninstall ALL widgets. Use a "still" wallpaper, not a live one. Uninstall all apps. Install them back one by one... test what causes battery drain :)

It's impossible for me to say what causes your battery drain.
[Android Apps and Games] arielext:
$ su
su
# reboot
reboot

And the phone reboots, in the app it just .. well ... doesn't do anything :)

RIL injection is too slow for me so for now i will just keep that 2g/3g toggling for my old desire and not the desire HD
[Android Apps and Games] Chainfire:
Err, ok... that's weird then. Needs some checking out!

EDIT: I changed something that may do the trick... be sure to test and report back if it works after next release! (a few days from now)
[Android Apps and Games] Black1982:
I was wondering about the same thing! If you say that most radios can switch without resetting, wouldn't it be possible to "feed" the radio with fictive imput to trigger it to switch G/3G? EG tell the radio there is no 3G signal so it drops to G.

Something else: What did you think about the LUMOS-like Brightness logic replacement idea I suggested earlier? Maybe for a separate app?
[Android Apps and Games] thecresta:
Happens fairly frequently to me. I find once it's happened I'll keep on getting the error until I restart the phone.

If there is any way I can log this for you (aLogcat?) please let me know.
[Android Apps and Games] Rumball:
Running on HTC desire with Froyo 2.2. SuperPower shows up as #1 partial wake CPU user which surprised me. As a result I found battery drop more severe then with Juice Defender with equivalent settings. Unfortunately had to uninstall for now. Would be nice if future releases have a master enable/disable switch...that way it is easy to disable and be aware of future android store updates to download and try.
[Android Apps and Games] Chainfire:
re: feeding it fake data

We really don't have that kind of access to the radio.

re: LUMOS

still considering it, but to be honest, the to-do list (including new features, things to research, and downright bugfixes) for SuperPower is sooo long, it may be quite a while before I even contemplate to research this functionality.

I have a few logcats about this now, but another one never hurts.

The problem is, I can't reliably reproduce it myself. This makes it very hard to fix. I've had it happen exactly 2 times to my device in all the time I've been devving SuperPower, so ... Logs are good, but when debugging and trying to fix, they are simply not even in the same ballpark as being able to reproduce the actual issue.

As stated several times in this thread, I would be more worried if SuperPower wasn't the #1 partial wake lock user. SuperPower holds a partial wakelock the entire time the screen is on AND during all switching procedures AND during all scheduled data events.

Because of that, a LOT of things the phone does during those times are attributed to SuperPower. In practise, this has hardly any relation to what SuperPower actually does itself.

Therefor, "As a result I found battery drop more severe" is complete and utter nonsense. While it may well be true that JuiceDefender works better for you than SuperPower, this is not a result of wakelock usage. It may be due to a myriad of reasons, but wakelocks isn't one of them.
[Android Apps and Games] Rumball:
Ok, fair enough. I shouldn't have attributed battery drop specifically with the high SuperPower wakelock time. When trying to determine why my device was draining more rapidly than usual, wakelock time was the only thing that visibly stood out as "out of norm" in my experience (maybe not out of norm for SuperPower but out of norm from the point of view of the other apps I have installed on my device).

The extra battery drain that I noticed was when I have my device in Airplane mode (at work). See attached screenshot comparing battery drain in airplane mode with SuperPower vs JuiceDefender running.
[Android Apps and Games] mcmikecruz1:
Using superpower after leaving for work, And typical results after bunch of use ,not sure what this proves
[Android Apps and Games] titooo7:
Hi Chainfire,

I don’t know if you already had a look to this thread: http://xdaforums.com/showthread.php?t=837716

I think it’s useful for lot of people, so maybe you should consider to add a feature like this to superpower.

Thanks mate
[Android Apps and Games] Chainfire:
Re: JuicePlotter - I cannot possibly say what is going on here. Get me a logcat of the period in the question, and I can look at it.

This would only work for the Galaxy S, not phones in general. It would also require Sidekick to be (re)installed (the code has to go into Sidekick, not the main program).

I think I have figured out how to replicate this behavior, though :) More on this later.
[Android Apps and Games] Khoral:
First of all, thanks CF for this magnificent application, saved a lot of my battery by now :D

Set up is : French Galaxy S I9000, ROM is Spike Speedy Edition v3.0 OC (sorry, no link cause I'm new user :/ But you can find it on xda, Galaxy S I9000 Android Development section)

I tried that, at first it hanged on "Patching" for about 10 minutes. I rebooted manually, then it said something like "Ok, now second part of the install", then waited 3 minutes and told me "Ow, that failed".

Anyway, it's already a really great application, and I can't thank you too much for making it :D
[Android Apps and Games] Chainfire:
I actually flashed to Spike Speedy, and install Sidekick without issue. Oddness!

Can you pull your /dbdata/system/packages.xml file and post it ?
[Android Apps and Games] Khoral:
Yep :) Here it is.

Thanks for the (fast !) support ;)
[Android Apps and Games] Chainfire:
There is no problem with the packages XML... I successfully patched it. So that isn't the issue.

Can you paste me the output of:

ls -l /
ls /*/system/packages.*

Restart the patch. Do not reboot, but wait like 5 minutes or so, then:

adb logcat -d > superpower.txt

And post superpower.txt ?

Maybe I'll find something. This problem has been annoying me for weeks, and I have never been able to find the issue, nor reproduce it...