Installing Android 2.2 "Froyo" On the Nexus One 154
gjt writes "I awoke this morning to see TechCrunch's MG Siegler post what appeared to be the first news of Froyo's availability. I frantically went to my phone's settings and tried to check for an update -oe but no luck. Then I went to xda-developers.com and sure enough there was a very long thread (now over 132 pages) of fellow eager beavers waiting for release (and trying to figure out how to get it). Several hours went by waiting for a semi-technical user to get the update and check the Android logs for the download location. It turns out you can get it straight from Google. With the information scattered around in different places I decided to consolidate the How-To into a single post." Note: According to attached comments, and to the TechCrunch story, it seems this is a staggered rollout, so not every Android owner may be able to try it out yet.
I guess soon we'll see about Flash (Score:2)
Re: (Score:1)
I think the better test will really be for when Froyo gets ported to the G1 and seeing how Flash performs then... I don't know that JIT will help much.
Re: (Score:2)
Re: (Score:2)
JIT is going to more memory because you'll have both native and vm instructions in memory, whereas before you'd only have interpreted code. It's worth the tradeoff of course and will become more valuable as phone memory grows.
Dalvik's JIT compilation is going to allow future Android applications to meet and exceed the performance of applications compiled ahead of time ("native" applications). Native is really a bad term because both dynamically JIT'd code and statically compiled code is native. The main dif
Re: (Score:2)
*going to use, dammit
Re: (Score:2)
Profiling does that exact same thing and is already in GCC and visual studio. Sure it's not as elegent as java and JIT but it's still there and doesn't hog memory.
Re: (Score:2)
GCC and Visual Studio are only used at compile time, not when deployed to end users during execution. They are limited in what they can optimize at this point in time.
Example: Java and other optimizing JITs can devirtualize methods at runtime, effectively removing lots of lookups (possibly expensive branches) thus cache misses and other hazards resulting from heavy OO/polymorphism. GCC and Visual Studio cannot do this because they have no way of knowing what type a call site may be at an arbitrary execution
Re: (Score:2)
Mostly theoretical optimizations. You'll be hard pressed to find many real world cases where a JIT'd Java app will run faster than a native C/C++ app for a variety of reasons. Conversely, you will not be hard pressed to find C/C++ programs which perform better than a Java JIT'd app.
Furthermore - if you care about performance (a lot of the time you frankly don't, at the level these optimizations would matter) you can just...not use a lot of virtualized methods and take other precautions to make sure you re
Re: (Score:2)
Not exactly. Profiling [wikipedia.org] which is what I was talking about is when the program is analysed at execution time.
You compile your code, run it, profile it and then compile again with the profiler optimisations. Sure, it's not as elegant as java JIT done on the user machine however it also doesn't bog down a user's machine doing something the developer should have done on their own machines before release.
Re: (Score:2)
You clearly don't understand what we're talking about.
Re: (Score:2)
Thanks for that. Your remarks/insults have completely convinced me that Java is superior and should be used for everything. Oh wait, no, no you have not.
Re: (Score:2)
Is there some reason why the system needs to keep the original blocks of vm code in memory once they've been compiled into native code?
Re: (Score:1)
If you use a tracing JIT strategy with guards (such that you can specialize a basic block based on the type of specific arguments), you need the option to fall back to the non-JIT version if the guard checks fail.
Re: (Score:2)
I see, thanks. They are using a trace JIT for Android in Froyo, so that would make sense.
Re: (Score:2)
JIT compilers do help. A good example of this is .NET, where it uses an intermediary language which is compiled/translated for the CPU it is running on, and the native binaries are cached, and complaints about performance on .NET are fairly few from what I've read.
Java has had a bad reputation in performance, but in reality, those days are in the past. There are other issues with Java, but those are not performance related unless it deals with direct hardware calls, and one can use native code for that.
Re:I guess soon we'll see about Flash (Score:5, Interesting)
I think the better test will really be for when Froyo gets ported to the G1 and seeing how Flash performs then
Have you heard definitively that Froyo will be ported to the G1? I was under the impression that Froyo and even Eclair are too big to fit on the G1. I'd love to be proven wrong -- I have two old G1s sitting in a drawer and would love to put Froyo on them. Froyo arrived on my N1 last night, and I'm very happy with it so far; there are lots of nice incremental improvements. But as far as I know, nobody is working on shrinking Froyo down enough to fit the G1.
-- Laura
Disclaimer: I'm an engineer at Google, but I have no inside knowledge of what the Android folks are doing. I didn't even know Froyo had been released until I saw the giant styrofoam frozen yogurt in front of building 44.
Re: (Score:2)
Re: (Score:2)
I've been tempted by this, but CM4 with compcache, swap, and the home screen locked in ram has made my phone usable. From what I understand, 2.1 is still a bit laggy on the G1....do you feel like its really faster?
Re: (Score:2)
Yeah, the danger spl had me pause. apparently all is well if you make sure the radio is current before you flash, but I'm still a bit leery.
Re: (Score:2)
Why is running flash on an unsupported device a better test then running it on a system that it's designed for?
Re: (Score:2, Interesting)
It's pretty good actually - there's a setting which lets you turn off plugins unless you click on them. Which means you don't get flash unless you really want it.
Re: (Score:2, Funny)
I'm trying Flash on Froyo right now. And its #$%&*!+-=@
NO CARRIER
It seems you have to install Flash from the Market (Score:3, Informative)
I just updated the original post [gadgetopolis.com] with instructions to get Flash. Basically, search for "flash 10.1" in the market.
Re:It seems you have to install Flash from the Mar (Score:4, Informative)
One suggestion for those that install it, go into your settings and enable plugins 'on-demand' That way you will only get the Flash you want. It shows a little down arrow in place of the Flash that you click to enable. It's like a built in Flashblock/Adblock extension.
Also IMO, considering the platform, I think the Flash is working rather well. I quite enjoyed watching some Zero Punctuation videos on Escapist.com already.
Re: (Score:2)
One suggestion for those that install it, go into your settings and enable plugins 'on-demand' That way you will only get the Flash you want.
Thank you! (Mod parent up!)
I installed flash on my N1 and noticed a ton of flash ads, and thought maybe Jobs was right! I normally use an ad blocker when browsing (desktop) and had forgotten how bad it could be. That click to play thing will do the trick until I find a proper ad blocker.
Re: (Score:2)
Point being Flash doesn't suck and if it did, it would be beyond the realms of science to think of ways to implement it in a less CPU intensive fashion, e.g. browser doesn't launch flash apps until you click on them, or only launches same domain flash by default.
Running it now.. (Score:5, Insightful)
And posting over my tethered N1 :)
Flash has to be downloaded from the market.. and I can tell you that it is not as smooth as they make out in the youtube videos of it.
It does work and it's tolerable, let's put it that way.
That being said, the whole phone is much faster... I went from stock to Cyanogen and that was a speed boost.
This however, is a substantial boost.
I am looking forward to a Cyanogen release based on 2.2 - I think his roms are more polished than stock.
Re: (Score:1)
Is it getting hotter, do you think? I'm thinking of general browsing as well as flash viewing. And can you turn off flash in the browser? (I could have said, "how are those flash ads working for you?" !)
Flash not HW accelerated yet (Score:3, Informative)
Tmobile only? (Score:2)
I heard over on Android Central that this process will hang on update on a rev 2 gsm Nexus One (for AT&T/Telus) so I guess downloader beware.
Re: (Score:1)
Re: (Score:2)
I gave it a try and it doesn't break anything, It just doesn't install. There are files missing in the restore that are important. Once it 'fails' you have the option of rebooting, and no harm done. There was a 3rd party one released (linked through engadget) which may work for you if you've rooted your phone previously.
I'll wait until Cyanogen adds it into his (Score:5, Interesting)
Re: (Score:2)
of course, but who has the patience? certainly not me..
Re: (Score:3, Interesting)
This is what Titanium Backup is for. Back up your apps (with the Google Market information) to your SD card, optionally back the SD card up somewhere safe, install the new ROM, re-root, and then restore your apps.
Disclaimer: I'm not related to the guys who made TB, just a happy customer.
Re: (Score:2)
Wow...TB carries the market information?!?! This was my biggest issue with backing up apps...they all lose the ability to update via market unless you use some third party update program that checks the market versus your installed version numbers. atrackdog is pretty good at this actually.
Good Idea (Score:3, Insightful)
What about all of Steve Job's issues with flash ? (Score:4, Insightful)
some battery life info on here (Score:2)
Re:some battery life info on here (Score:5, Informative)
So he's saying it's "not too bad", but he keeps his phone plugged into a charger/laptop. Okay.
Re: (Score:3, Informative)
Or is it just me?
Re: (Score:1, Informative)
I think so too. Unless you don't use it as a smartphone, deactivating all the extras it haves, in which case, why did you buy a smartphone in the first place?
Re: (Score:1)
It is for me, but IIRC iPhones don't have that arrangement...
Is the iPhone data cable not proprietary and like $40? (LOL iPhoneys)
I will stick to my $5 micro usb newegg specials :)
Re: (Score:2)
There are cheap iphone cables and expensive micro usb cables as well.
http://www.boxwave.com/products/directsync/directsync-sync-and-charge-cable-apple-iphone_2661.htm and there is probably cheaper out there.
iPhoneys? Grow up man, it isn't a contest.
Re: (Score:2)
Well, it's proprietary on the dock end (although the connector is standard), and an Apple-branded one is $19 for a spare (http://store.apple.com/us/product/MA591G/A?fnode=MTY1NDAzOQ&mco=MTM3NTI1NDE), but you can use third party ones that are available for less.
It will charge off any USB port (active or dumb, like a power brick), or anything that will supply 5 volts.
I charge mine in my car off my radio's USB port using a non-apple dock cable. It certainly didn't cost me $40 (or the equivalent price in UK
Re: (Score:2)
You can buy new iPhone cable for $2-3 US...
Re: (Score:2)
The other posters have already slammed you on the price. But I'd add that if you Android users might feel the need for multiple cables for charging, that's a symptom of poor battery life on your chosen platform.
Re: (Score:3, Insightful)
Re: (Score:2)
Re: (Score:3, Funny)
That's fine if you spend most of your time near a USB port. Some of us utilise the mobile aspect of our devices.
Re: (Score:2)
Re: (Score:2)
Why is everybody so up in arms about one guy babbling about something he doesn't like? I mean, so what? Let him babble to his hearts content.
Anybody wanna bet (Score:1, Troll)
Re: (Score:2)
If its anything like Sprints HTC Hero, it will be trivially easy for you to root the phone and restore that functionality. If you can copy paste commands into a command prompt, you can root your phone.
Re: (Score:1)
Re: (Score:2)
I can appreciate your sentiment but I feel I have to pick my battles. Sprint has incredible plans and great service everywhere I go, not to mention the Evo 4G is incredible. Why toss all that away when Sprint could really care less?
Re: (Score:2)
So which carrier do you think is going to allow free unlimited tethering? Sprint has already announced their pricing for HTC 4G....
$69.99 -- standard price
Re: (Score:2)
T-Mobile.
Re: (Score:2)
Yeah. I pay $95 a month on t-mobile contract with 500 minutes. Not too bad. Basically the android plan is $30 over top of whatever minute plan you choose. I was told there are no caps, but I haven't gotten anywhere near the 10 gigs the cap used to be, so I can't confirm this or not. Rooting my phone opened up wireless tethering and that's kind of awesome. Too bad 3g isn't fast enough for you tube (I get like 700-1000kbits on a good day) but it is certainly fine for some heavy web browsing.
Re: (Score:2)
They are advertising the hotspot feature, so unless plans change, I'm pretty certain that it will ship with tethering. I have not heard anything about bandwidth charges or caps, so it might be something worth looking at when it comes out. I do want to see the fine print of the Evo contract though.
Re:Anybody wanna bet || I'll take that bet! (Score:4, Informative)
that Sprint will block the new HTC Evo 4G's hotspot capability, since they sell their Overdrive 3G/4G mobile hotspot (a separate box) for $99.99?
Way to keep up on the official announcements. Sprint has already released their pricing for the EVO 4G hotspot - $30/mo; they're not blocking it, they're actively advertising it EVERYWHERE ON THE WEB FOR THE LAST SEVERAL WEEKS. The only unknown about it was the pricing, which they announced on the 12th. Yeesh.
Re: (Score:1)
Re: (Score:3, Informative)
The information wasn't online a couple days ago. GMAB. Do you speak to your coworkers that way?
The pricing for the hotspot was released on May 12. Sprint has been advertising that they'd have the hotspot ability with the EVO for _months_. Do you run with an adblocker or something? Sprint's been running the biggest web advertising campaign I've seen in a VERY long time for the EVO 4G.
Yeah, I do speak to my coworkers that way. Keeps them on their toes. :)
Careful if you're rooted (Score:3, Informative)
Besides the fact that the link to the file in the summary didn't work, there are other potential problems if you click through to the source (on the forums, not the blog linked here).
The procedure that's linked to will get you to 2.2, but it won't be rooted even if you were rooted before.
I just did the classic "spend two hours trying to fix what you screwed up" routine trying to get it rooted again so that I could run the backup created by titanium backup, which requires root.
For those interested, the steps for a fool-proof upgrade if you're rooted are:
-Do a full backup using titanium backup first, obviously
-Install Amon Ra 1.7 custom recovery loader: http://forum.xda-developers.com/showthread.php?t=611829 [xda-developers.com]
-Use it to flash the zip file update-nexusone-FRF50-signed.zip from here: http://android.modaco.com/content/google-nexus-one-nexusone-modaco-com/309286/frf50-froyo-pre-rooted-update-zip/ [modaco.com] - note that this wouldn't flash for me using the stock recovery loader (which requires renaming it to update.zip but it fails saying it's unsigned), hence the custom one above
-Use it again to flash froyo-rooter-signed.zip from here: http://forum.xda-developers.com/showthread.php?t=686627 [xda-developers.com]
-Restore your backup
Re: (Score:2)
Between steps 2 and 3, I'd consider doing a nandroid backup. This way, you can fall back to the older ROM in case it doesn't work as well as one expects.
Re: (Score:2)
Yeah...you gotta love nandroid. Its saved my but a few times.
Overload of fanbois (Score:2)
All this hype and hoopla.
It's just a phone.
It doesn't define your lives - or sadly perhaps it does.
Re: (Score:2)
And no point trying to get it before you get it pushed to you?
But but but I want it and I want it NOW.
More importantly, when's it coming to the HTC Desire?
Re:So, you get it when you get it? (Score:4, Informative)
You will get it approximately whenever HTC feels like porting it to the HTC Desire AND then whenever your carrier feels like letting you have it. With a subset of the overall Android 2.2 features that they feel are appropriate for you.
Re:So, you get it when you get it? (Score:4, Insightful)
Re:So, you get it when you get it? (Score:5, Informative)
No, exactly like the iPhone. For example, iPhone has supported tethering since the 3G model (version 3.0), but was disabled by AT&T. There was a short while where you could update the carrier info on the phone and it would enable tethering as a built-in function via either USB or Bluetooth.
The 3.1 update not only disabled this simple work-around, it also locked the phone so you could not downgrade to 3.0. I had an iPhone at the time, and refused to ever install the 3.1 update so I could stick with tethering. I now have a Nexus One, and have never regretted the upgrade. I also bought the N1 directly from Google, and not only did I avoid a new contract, but I'm no longer subject to having my handset intentionally crippled by my carrier.
Re: (Score:1)
I know you probably know this, but that is a problem only in the USA (and Canada?). AT&T really sux by all accounts, and Apple did a deal with the devil there. Again, that was because AT&T was the only nation-wide (approx) network that did things the way the rest of the world does, and Apple didn't want different models for North America only (the way every other cell phone maker does).
Otherwise the parent post is right - Apple sidestep the carrier on software features and roll-outs, more so than an
Re: (Score:1)
Re: (Score:2)
Tethering on Android is quite nice, though.
Re: (Score:2)
The iPhone is far more open and free than any Android device out there. Android devices are great, if your device maker loves it enough to update it. If not, good luck. iPhone apps work in all platforms, and make money for the app writers.
Amateurs can go to Android. If you want work done or actually use your device for something more than a toy, you buy an iPhone.
Uuh...$25 bucks to create your Android Market account and upload damn near any app you want. What is it with the iPhone? $50 and Apple has to review/approve your app?
Re: (Score:1)
Re:So, you get it when you get it? (Score:4, Insightful)
Wrong.
If you want work done or actually use your device for something more than a toy, you buy a Blackberry. But Android is catching up.
Re: (Score:2)
Then there are RIM outages, which happened somewhat frequently when I was on T-Mobile and had a Blackberry
Re: (Score:2)
I've been writing some code for Blackberry over the past few months. The "developer experience" ranges from undesirable to makes me want to gouge my eyes out.
Inconsistent and poorly-documented APIs, device incompatibilities, depressingly anemic hardware, a simulator that likes to use over a gig of RAM, and a web browser that makes IE look great by comparison (and an embedded HTML widget that doesn't support the same set of features as the web browser, neither of which properly implement the DOM)
The fact th
Re: (Score:2)
If BlackberryIM was made portable, I could see tons of people switching. That's the single most desirable f
Re: (Score:2)
Shsssss... there's only "one" walled garden around here.
Actually, you can grab it now (Score:5, Informative)
And no point trying to get it before you get it pushed to you?
The Over-The-Air update is a staggered rollout. But, the manual method that I wrote about here let's you avoid the wait. That said, it also seems to only be for the Nexus One now. Can't find a Droid update yet.
Re: (Score:3, Interesting)
I have the Nexus One, and the attempt to apply this update has my phone apparently complaining that the fingerprint of the file doesn't match.
Fortunately it's not trying to apply the update, and hasn't done
Re:Actually, you can grab it now (Score:5, Interesting)
Replying to myself, it seems like there are different builds for different submodels of the phone. For example the AT&T compatible phone (like I have) doesn't use the same update file as the T-Mobile compatible phone. Haven't had luck finding the EPE54B download yet.
Re:Too easy! (Score:4, Informative)
Re:Too easy! (Score:4, Funny)
Re: (Score:1, Informative)
Re: (Score:2)
This 'give me one button to push so I can get what I want' mentality is getting old.
Get back on your bicycle AC and go back to chasing the ice cream truck around.
LoB
Re:Wow! (Score:5, Insightful)
And likewise, just because a phone was released last week doesn't mean that it's been tested for the update, they used a version for development because it was the latest at that time and then they released it when it was finished. They'll now have to do testing on the new version before they release it. Doing anything else would be horribly irresponsible.
Re: (Score:2, Insightful)
so how's the iphone os 4.0 working for you? You have it already, don't you?
Seriously, how is this different from iPhone? How long has it been since it was "announced"? I'm sure if you buy an iPhone a week before 4.0 was announced, you'd get a phone with 4.0, right?
Why not? (Score:3, Informative)
I'm sure if you buy an iPhone a week before 4.0 was announced, you'd get a phone with 4.0, right?
You will the day of release - everyone will, all at once.
Unless you care to pay $99/year for a developer account and then you've been running 4.0 for a few weeks now.
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Kill yourself.
What he said bothers you? Really? I'm not sure why. I mean, the appearance of dudes like that isn't a surprise. Think about this: Every time you make a post using the phrase 'walled-garden', a twit like him is created and sits around waiting for a story like this to say "told you so!"
Re: (Score:1, Informative)
will need a new version of the application. Wait for the Application author to update their application
Re: (Score:3, Informative)
Unless the app has been designed for this functionality in the manifest, it won't be able to be moved to the SD card.
http://developer.android.com/guide/appendix/install-location.html [android.com] has more details.
Re: (Score:2)
Oddly enough, Cyanogenmod has had the ability to store all your apps on an SD card for quite some time and doesn't care whether the app has allowed it or not. (N1 apparently allows you to store just some of them there, though.)
Re: (Score:2)
Well, this is a hack. The directory is symlinked to a partition on your sd card. I believe that the apps2sd on 2.2 actually just runs from your FAT patition on your microsd, so I can understand why the application has to actually support it versus the CM hack where the internal directory is actually stored on your external microsd card in an ext2/3/4 directory. I wish I could install reiserfs....now that would be killer!
Re: (Score:2)
apps2sd uses unionfs (or aufs) so to the app, it doesn't matter if it is located on an ext3 partition on the SD card, or in the internal memory of the phone. This way, no symlinking is needed, and to an app's perspective, it is starting up from internal memory, regardless of where it is located in reality.
Caveat: This only works on rooted phones and requires an ext3 partition on the SD card (for permissions and such) [1].
[1]: Amon-Ra's recovery image can easily partition a SD card, but you lose all data
Re: (Score:2)
yes i heard this, but i can't figure out why they would block android devices. if you have an ad-supported service like hulu, isn't it the more eyes the merrier?
maybe the licences they have for content don't permit mobile devices.