v1.7.2 - "Brave New World" edition

6 views
Skip to first unread message

Mark Lowne

unread,
Jun 27, 2010, 2:04:00 PM6/27/10
to JuiceDefender
apk here: http://groups.google.com/group/juicedefender/web/JuiceDefender172.apk

Possibly big news! While doing the usual hacky research (wandering in
uncharted territories of the Android source code) for SeePU, I
stumbled upon something that I'll call "huge opportunity" (even though
"security hole" is probably more apt). Serendipitous discoveries ftw!
(to think that I had wasted weeks on precisely this problem...)

Anyway: I'm now able to control the data connection directly like the
good ol' AOSP helper, (theoretically) without the need for an AOSP-
built ROM, and (theoretically) without requiring root access! It might
even (theoretically) work on CDMA!

Ok, so it's just a bunch of maybes (experience has taught me
moderation with untested-features-enthusiasm) - but it's worth a try,
isn't it? Setup will run automatically and you'll soon enough know
whether it worked.

(disclaimer: this stuff is highly experimental, as usual I cannot
exclude the possibility of something nasty happening to your phone.
But I think at the worst you'll need a battery pull)

Tony Harverson

unread,
Jun 27, 2010, 2:43:27 PM6/27/10
to juiced...@googlegroups.com

Hi Mark,

Setup worked on the HTC Desire GSM unrooted, with a small exception.  After setup, my config was set to control WiFi + mobile data. After setup, the config had changed to just controlling WiFi.  I easily switched it back to controlling both, so it's a very minor issue.

Tony

Girsch Dennis F.

unread,
Jun 27, 2010, 4:03:07 PM6/27/10
to juiced...@googlegroups.com

Mark,

Installed perfectly on,HTC Evo.

Dennis F. Girsch
Park City, UT 84036

Sent from my HTC Evo 4G

Matt

unread,
Jun 28, 2010, 3:39:43 AM6/28/10
to JuiceDefender
Also working great so far on my unrooted Desire. Had the same issue
with WiFi after setup, but that was easily rectified.

Data switching seems more reliable than ever at the moment. Very
promising!

Tony Harverson

unread,
Jun 28, 2010, 4:21:11 AM6/28/10
to juiced...@googlegroups.com
Right, now that I've had it running for a little while...

It seems to be switching mobile data on and off without trouble.  I'm seeing some "Wakelock released too early", but it doesn't seem to be breaking anything.

Unfortunately, I'm seeing a regression to a behaviour which went away some time ago... Intermittently, wifi is becoming disabled and not re-enabled, so that I have to re-enable it with the wifi management widget before it can be reconnected. 

Tony

Charles Tan

unread,
Jun 28, 2010, 4:32:09 AM6/28/10
to juiced...@googlegroups.com
I second the regression comment. I noticed this on my Nexus One as well. Will obderve further as what I've noticed in the past is that this behaviour is only apparent immediately after installation and set-up of Juicedefender. JD seems to learn over time how to properly connect to wifi.

Charles

Tony Harverson

unread,
Jun 28, 2010, 5:17:56 AM6/28/10
to juiced...@googlegroups.com

In my case, I'm not using a location trigger... I'll try to find a reproduction recipe over the next couple of days.

Tony

On 28 Jun 2010 10:14, "marklowne" <mark...@gmail.com> wrote:

I forgot to mention: please include in your feedback what happens
after "Testing mobile data control" in Setup.
It can be either "Mobile data control works", and Setup finishes
immediately, or "Mobile data control doesn't work" and Setup goes on
to try the old methods.

@Tony, @Charles: if you have Location enabled: it's still not working
properly (I'm on it!) - otherwise, let me know if you can find a way
to reproduce the issue.


On Mon, Jun 28, 2010 at 10:32 AM, Charles Tan
<charlesd...@gmail.com> wrote:
> I second the re...

Charles Tan

unread,
Jun 28, 2010, 5:23:32 AM6/28/10
to juiced...@googlegroups.com
Sorry but I don't have location enabled. I've never found location to work properly so I just keep wifi on and allow the other features of JD to disable/enable it instead. Will watch out on how to reproduce the issue but as I've mentioned, my experience in the past is this only seems to happen immediately after installing JD.

I'd like to add that in the 2 times that wifi failed to enable properly for me, the status was stuck at "Obtaining Address". In the past the status was always soemthing like "unable to connect" so long pressing and pressing connect fixed the problem. In this case, I have had to forget the network and re-input password and then later on I realized that disabling  and re-enabling wifi worked as well.

Charles

Setup for me proceeded without a hitch. Everything is suppose to work properly.
 
On Mon, Jun 28, 2010 at 5:14 PM, marklowne <mark...@gmail.com> wrote:
I forgot to mention: please include in your feedback what happens
after "Testing mobile data control" in Setup.
It can be either "Mobile data control works", and Setup finishes
immediately, or "Mobile data control doesn't work" and Setup goes on
to try the old methods.

@Tony, @Charles: if you have Location enabled: it's still not working
properly (I'm on it!) - otherwise, let me know if you can find a way
to reproduce the issue.

On Mon, Jun 28, 2010 at 10:32 AM, Charles Tan
<charlesd...@gmail.com> wrote:

Mark Lowne

unread,
Jun 28, 2010, 5:37:38 AM6/28/10
to JuiceDefender
[re-pasting for emphasis and Groups bugginess]
I forgot to mention: please include in your feedback what happens
after "Testing mobile data control" in Setup.
It can be either "Mobile data control works", and Setup finishes
immediately, or "Mobile data control doesn't work" and Setup goes on
to try the old methods.


Ugh, them Android WiFi bugs. JD automatically rescans and tries to
reconnect as a workaround; what could possibly be happening is that
v1.7.2 has a slightly longer delay before attempting the workaround -
but WiFi reconnection should still either succeed or fail forever
within 5-10 seconds (it depends on the state of the WiFi supplicant,
sometimes it goes hiding for no reason and won't initiate a scan, so
JD retries after a couple of seconds) after screen on/unlock.
> > > On Mon, Jun 28, 2010 at 4:21 PM, Tony Harverson <t...@trog.bofh.org.za>
> > wrote:
>
> > >> Right, now that I've had it running for a little while...
>
> > >> It seems to be switching mobile data on and off without trouble.  I'm
> > seeing some "Wakelock released too early", but it doesn't seem to be
> > breaking anything.
>
> > >> Unfortunately, I'm seeing a regression to a behaviour which went away
> > some time ago... Intermittently, wifi is becoming disabled and not
> > re-enabled, so that I have to re-enable it with the wifi management widget
> > before it can be reconnected.
>
> > >> Tony
>

Tony Harverson

unread,
Jun 28, 2010, 5:47:01 AM6/28/10
to juiced...@googlegroups.com
Whups, sorry about that.

Setup reported "Mobile data control works", and stopped there for me.

Tony

ratson

unread,
Jun 28, 2010, 7:37:55 AM6/28/10
to JuiceDefender
Mobile data control works in my case (N1, Froyo), recently i didn't
have connection issues (i guess this was solved in Froyo), but if this
will be faster, than it is also welcome.

On jún. 28, 11:47, Tony Harverson <t...@trog.bofh.org.za> wrote:
> Whups, sorry about that.
>
> Setup reported "Mobile data control works", and stopped there for me.
>
> Tony
>

Mike

unread,
Jun 28, 2010, 10:58:50 AM6/28/10
to JuiceDefender
On my N1 running 2.2 setup appeared to run properly, but JD came up
enabled but with every feature turned off (It lost my configuration).
It also has lost the fact that I paid for Ulitmate, pushing on the
wifi options highlights "Get Ultimate". Selecting "Get Ultimate" says
the item could not be found... I'll send you the log.

Mike

Girsch Dennis F.

unread,
Jun 28, 2010, 11:04:13 AM6/28/10
to juiced...@googlegroups.com

Mike,

Just my two cents, this might help you.  In my HTC Evo I had to uninstall ultimate and reinstall then reboot my phone twice to get it to recognize ultimate.

Thought this might help you,
DG

Dennis F. Girsch
Park City, UT 84036

Sent from my HTC Evo 4G

Charles Tan

unread,
Jun 28, 2010, 11:27:26 AM6/28/10
to juiced...@googlegroups.com
I just redid setup now, in my case, its "Mobile data control works". 

I'd like to add that I'm using Froyo 2.2 FRF83. I think Froyo has its own data enable/disable process now so maybe it's worth considering prioritizing the native system over the APN toggle. I like the Froyo's system because enabling/disabling is almost instantaneous. I'm using an app called SwitchPro widget that makes data disabling/enabling easy.

On Mon, Jun 28, 2010 at 5:14 PM, marklowne <mark...@gmail.com> wrote:
I forgot to mention: please include in your feedback what happens
after "Testing mobile data control" in Setup.
It can be either "Mobile data control works", and Setup finishes
immediately, or "Mobile data control doesn't work" and Setup goes on
to try the old methods.

@Tony, @Charles: if you have Location enabled: it's still not working
properly (I'm on it!) - otherwise, let me know if you can find a way
to reproduce the issue.

On Mon, Jun 28, 2010 at 10:32 AM, Charles Tan

marklowne

unread,
Jun 28, 2010, 1:24:55 PM6/28/10
to juicedefender
This Market nonsense is driving me crazy. Apparently UJ disappeared
from the Market on many phones after ROM upgrades/rooting. Once it's
gone from the Market, UJ cannot be updated to the latest version
(required for the most recent JD builds).

Any advice on how to manage the situation?

@Charles: 'mobile data control' doesn't use the APN (with all its
bugs) anymore, so we're on the right path already. It should be
roughly as quick as Froyo's native thing - speaking of which, the
source just came out, nevertheless I still didn't check how the new
data toggling works considering that Froyo's installed base is still
very, very small.

Mike

unread,
Jun 28, 2010, 4:05:44 PM6/28/10
to JuiceDefender
I tried uninstalling/reinstalling and rebooting, still no UJ.
Reinstalled the last download I had: 1.6.5Beta. It runs UJ just
fine... but doesn't seem to turn off my wifi when the screen is off.

Matt

unread,
Jun 28, 2010, 4:41:57 PM6/28/10
to JuiceDefender
Just to add that when running setup, I got the "Mobie data control
works".

I just got home from work though (i.e. back in range of my WiFi) and
also found problems with JD not allowing me to enable it again. As
soon as I switch it on, JD switches it off.

The log looks like this each time I try to reactivate it:

21:33 Data Enabled
21:33 WiFi Disabled
21:33 User had enabled WiFi

Toggling JD's WiFi control on and off seems to have cleared the issue
for now... I'll keep an eye on it - maybe it will come back once I go
out of range and come back again?

On Jun 28, 8:39 am, Matt <matthew.j.rudd...@gmail.com> wrote:
> Also working great so far on my unrooted Desire. Had the same issue
> with WiFi after setup, but that was easily rectified.
>
> Data switching seems more reliable than ever at the moment. Very
> promising!
>
>
>
> Tony Harverson wrote:
> > Hi Mark,
>
> > Setup worked on the HTC Desire GSM unrooted, with a small exception.  After
> > setup, my config was set to control WiFi + mobile data. After setup, the
> > config had changed to just controlling WiFi.  I easily switched it back to
> > controlling both, so it's a very minor issue.
>
> > Tony
>

Mark Lowne

unread,
Jun 28, 2010, 5:32:34 PM6/28/10
to JuiceDefender
@Mike: I guess since you can't see your UJ it in the Market, you can't
even request a refund for it? :/

@Matt: Location had a number of issues, try v1.7.3 - should work
better now.

Breece

unread,
Jun 28, 2010, 5:56:28 PM6/28/10
to JuiceDefender
Tried 1.7.2 during the day (Nexus One, Cyanogen 5.0.6)
everything worked I guess. Will install 1.7.3 now ;) Hopefully
Location will work better.

egotrippen

unread,
Jun 28, 2010, 6:02:39 PM6/28/10
to JuiceDefender
on v 1.7.2, APN control works on my Moment(!)

I'm getting an error that crashes UJ sometimes, I sent a couple logs
throughout the day. I'm very glad the workaround you found works

Charles Tan

unread,
Jun 28, 2010, 9:19:04 PM6/28/10
to juiced...@googlegroups.com
@Mark: I'm rooted on Modaco R19 ROM for now. I want to confirm that UJ shows up for me, albeit in two versions, a rooted and non-rooted version. I purchased the non-rooted version last March but I seem to recall you mention that it doesn't matter which version is actually installed, correct?

I'm retesting location and hoping it's working better this time. I'll give it a couple of days.

Does the Toggle APN widget still work on the old protocol for data enabling/disabling? If not, it's still very slow compared to SwitchPro widget which is really instantaneous.Most of the time it probably does not detect my press which is why it doesn't work. In the past, I've had the widget enable and then immediately disable data because I pressed the widget twice so now I wait for a while before actually repressing the widget. Can you make it blink or something to acknowledge the press?

Charles

Nitin Philip

unread,
Jun 29, 2010, 12:26:04 AM6/29/10
to juiced...@googlegroups.com
Mark,

There seems to be a lot of confusion on how your widget works. Most people assume that JD somehow magically figures out how much battery you saved and comes up with very precise number.  I know you've explained how it works on the FAQ, but (no offense to you guys) I don't think reading comprehension is a strong point for the average Android Market commenter. ("zomg new update brought me down to 1.2x from 4.5x!! noooo! fail! uninstalled!! etc" )

I'd propose to do away with the damn number entirely, or maybe have an in-app warning about the significance of said number.

PS: I have no idea what Droid owners are complaining about, JD has been working fine on my rooted CM Droid for a while now.

PPS: My SeePU thread is getting awful lonely, do I has to post moar lolcats?

marklowne

unread,
Jun 29, 2010, 8:20:14 AM6/29/10
to juicedefender
@Charles: you're among the lucky ones - it seems that zillions of ROM
twiddlers had their UJ disappear from the Market entirely. Anyway yes,
for the time being 'root' and 'nonroot' both work in both cases.

Toggle APN widget: despite the name (that I could probably change at
this point), it uses whatever Setup deemed to work (so either the
'new' method, the APN one, or the AOSP one) like the rest of
JuiceDefender. Its slowness is due to the fact that it restarts the
whole JD service (which does over 9000 checks of all sorts) to do the
toggling; this might seem unreasonable, but it's needed to make JD
work with 3rd party apps that can now request JD to enable and disable
data/APN on their behalf. The widget itself is in fact, internally,
one such app called 'User' :)
This said, I agree 100% on the need for some immediate visible
feedback after tapping - will do! But I don't think the slowness per
se is a problem... If it takes a couple of seconds to enable/disable
data it's not the end of the world, is it? ;)

Speaking of 3rd party apps: the first one to make use of JD
infrastructure is the very excellent 3G Watchdog (never go overquota
again on your data plan!) - Richard sent me a 100% working version
which I don't think has hit the Market yet, but it should be there
soon. I'll soon (yeah, right) publish the dev documentation; if you
use and love other 'automation' apps (Timeriffic, Tasker, Settings *,
...) start lobbying on their devs ;)


@Nitin: it's even worse: some people with perfectly 1.6.9-compatible
phones (GSM) went ahead with the upgrade, saw the widget 'suddenly
drop' to 1.00 (obviously because of a database upgrade since the
months-old previous version, which wiped all the stats) and rallied to
the whineparade concluding that 'it doesn't work anymore' without even
waiting 20 minutes to see if it went up. I'm 100% sure that if the
widget started from, say, 2.15 (to later adjust according to collected
stats) JD would have 6 a stars rating and UJ twice the paid customers.
I just can't bring myself to deal with this kind of (excuse the
language) bovine stercum :(
So yeah, 72pt bold red warnings are due. Sadly, removing the number
entirely at this point would probably cause riots and people
organizing trips to Venice to come hunt me down (at least they'd have
a tough time keeping up with my pace through the escheresque labyrinth
of narrow streets and dead ends in San Polo - it might actually be a
fun Latitude-powered game).

Anyway I can't help but to find something amusing in the '1.2x/not as
good as before, uninstall!' comments. Because an estimated 20%
increase in battery life is not worth the *incredible hassle* of
leaving the app installed...

PS: Your SeePU thread indirectly started the chain of events that
eventually led to *this* very thread, so its loneliness is well
deserved :D
PPPS (see some cut'n'paste hackery in action): ok, now it might
actually be a good time to bring it to life again ;)
PPS: lolcats are always heartily welcome.

Charles Tan

unread,
Jun 29, 2010, 11:17:50 AM6/29/10
to juiced...@googlegroups.com

@Mark: I'm now on FRF85B and both UJs still appear for me in the Market.
You're right the world will not end for me if it takes a couple of  seconds for data to enable but appreciate if the "blink" is implemented immediately so I wouldn't have to wait at all. I can just go on doing what I need too do knowing that I the widget has acknowledged my our press.
Is UJ a protected app? If it is, it will be invisible to Froyo users below FRF83 but I'm sure you know about that.

> There seems...

SWeidner

unread,
Jun 30, 2010, 1:48:18 PM6/30/10
to JuiceDefender
I have the Droid Incredible (Verizon CDMA)

After Setup reports "Testing mobile data control", I receive the
"Mobile data control works" message and Setup finishes.

This did not work when I tried 1.7.3 so I am wondering whether I
should attempt the same with 1.7.4.

Do I need to upgrade to Ultimate to test WiFi and Location?

Thanks for this app, it seems to be doing a great job of extending my
battery life.

E-rock

unread,
Jul 20, 2010, 10:58:32 PM7/20/10
to JuiceDefender
I'm going to reply here, albeit very, very late. But hey, this is
LateDroid development, no? ;)

I'm running stock 2.1 on a VZW MotoDroid (CDMA). I, too, get the
"Mobile data control works" and setup finishes. I can confirm this is
still working in v1.79. When my screen is turned on, the 3G icon
turns on within 5 seconds and I have a data connection within 30.

Thanks, Mark! This is freakin' awesome!
Reply all
Reply to author
Forward
0 new messages