I installed Ubuntu 10.04 Netbook Remix on my new HP Mini 110-3000 CTO a couple of days ago. As I’d read, it was nearly seamless.
The one bit that I did struggle with a bit was the wireless networking. Many sites that I found asserted that you have to install the Broadcom STA proprietary driver to get wireless working. After discovering that the Broadcom driver wasn’t seeing any hardware, I did an
lspci and discovered that the network card was not a Broadcom at all, but an RaLink RT3090. After visiting the Linux support page on RaLink’s website, getting the drivers for the RT3090, and running
make install, I was in business.
The only other complaint that I’ve had so far is the lack of multitouch scrolling and gestures. Articles I’m reading make it sound as though the hardware supports it, but the kernel module only reports “left right middle” capabilities for the touchpad, but no “double” or “triple”. Hardly a deal-breaker, though.
Update:I just realized this morning that sound didn’t work out of the box either. However, after installing the
linux-backports-modules-alsa-lucid-generic metapackage and rebooting, that’s resolved.
After getting a tip from a friend that Cyanogen was worth trying out, and being curious about running a more vanilla (specifically, not-tied-to-the-Sense-UI) version of Android, I finally installed it.
I found the full update guide on the CyanogenMod wiki site to be overly and unnecessarily complex. As noted in a previous post, I was running the leaked Android 2.2 w/Sense OTA update image, which meant that I already had fairly up-to-date radio firmware and the ClockworkMod recovery. Instead of backrevving to stock 2.1, I instead:
It was all very straightforward. The only snag that I ran into was the Mail app continuously crashing, which I resolved by removing the included Mail.apk and installing the Mail.apk from the CyanogenMod forums.
So far, I’m pleased. The phone is much snappier. There’s a small but noticeable lag in interface response on the Sense ROM (nowhere near what my old iPhone had) which does not exist in Cyanogen, and it makes using it less frustrating.
Staples should hire the dudes who wrote android-wifi-tether, cause, man, that was easy.
I thought this would be a fine evening to get tethering working on my Incredible. One install of android-wifi-tether 2.0.5 pre-release 8 later, I’m no longer in the situation of having to pay Verizon to use the data plan that I already pay them for. No configuration, no nothing (beyond already running 2.2, I mean); just push the big “tether” button. Bam. Off to make a donation now!
Since I finally rooted my Incredible to resolve the mysterious “Low on space: Phone storage space is getting low.” error, I decided it was time to update to Froyo (Android 2.2) as well. This proved to be fairly straightforward following the instructions in the relevant thread on XDA-Developers, though I had a few surprises on the way. I’ll share a few discoveries and clarifications:
- The PB31IMG.zip “stock” file linked in the XDA-Developers thread is an unrooted Android 2.1+Sense image.
- When you install the stock image, the phone will turn off, reboot, and then restart the loading process without any warning. This does not mean that the install has gone awry and that you’re about to have a $200 brick. Keep coolie-cool, boy.
- When you boot into the stock recovery image, what looks like an error screen will come up (an Incredible with a red exclamation point and triangle). That’s normal; you just need to hit Power+Volume Up to get to the menu. (This was a surprise to me, since I’d only seen the ClockworkMod recovery installed by unrevoked3 which boots straight into the menu.)
Also, when you start up using Froyo, you’ll notice that many applications have disappeared from the Market. This is because Market apps, both free and paid, can be marked as “protected”, which means that you have to be using a recognized version of the OS (whether this is app-specific or store-wide, I’m not sure) for the app to show up, and the fingerprint in /system/build.prop in the Incredible Froyo image isn’t recognized. To fix this, update
verizon/voles/sholes/sholes:2.1-update1/ESE81/29593:user/release-keys in /system/build.prop. (See this post on Android Forums if you need detailed instructions on how to update the fingerprint.) This will make your phone appear to be a Droid running Android 2.1-update 1 to the Market (I’m guessing this eliminates 2.2-specific apps; I haven’t looked yet). Go to the dialer, and enter *#*#CHECKIN#*#* to force a checkin so that your changes will take effect. (h/t Geniusdog254 on XDA-Developers for pointing out how to force a checkin.)
Finally, I re-rooted the Incredible using unrevoked3, and disabled CityID (not going to pay for it), Verizon Navigator (why would I pay for this when Google navigation is free, even if I did need voice navigation?), and the 3G Mobile Hotspot (not going to pay $20 a month to use the data plan that I already pay for, thanks!). The last phone project is getting Wireless Tether running, but that’s for another day.
P.S.: if you want to see if you like vanilla (“Senseless” 😉 ) Android 2.2 on your Incredible, check out SkyRaider’s images. I actually installed this before going to the leaked 2.2+Sense image, and it was very snappy. I ultimately decided to go with the Sense image, because I figure that it’s gone through more testing, but if you don’t want to put up with the Sense bloat, this might be an option for you as well.
A week or so ago, I started getting the much-mentioned, not-resolved error on my Droid Incredible: “Low on space: Phone storage space is getting low.” After trying a few quick fixes suggested by some Google searches, I finally rooted the phone last night and got to the bottom of it.
As this ZDNet article notes, the error message is confounding, because it’s only supposed to appear when you have less then 10MB of storage free on your “phone memory”, yet you can see in Settings→SD card & phone storage that there are hundreds of MB free. It turns out that the problem is that the “phone storage area” is divided into two partitions. One of these is approximately 748MB, is mounted on /data, and is where user-installed applications are stored. The other is about 150MB, is mounted on /data/data, and is where applications store their data. What the SD card & phone storage settings page shows you is the partition that is mounted on /data, but what was running out of space was /data/data.
So, how do you figure out what’s taking up all the space?
- Root your phone. This is now a trivial matter, thanks to unrevoked3. This will install the very useful ClockworkMod recovery image, as well as adding a “Superuser Permissions” app that will allow you to grant root access to applications that request it.
- Install the Android SDK.
- Connect the phone to your computer via USB, and enable USB debugging (under Settings→Applications→Development).
- Reboot your phone into the ClockworkMod recovery image, either by using
adb reboot recovery from the Android SDK, or powering the phone on while holding the volume-down button, then selecting “recovery” from the HBOOT screen.
- Mount the data partition. In ClockworkMod, go to partitions→mount /data.
- Get a root shell on your phone by running
adb shell on your computer.
- Mount the /data/data partition by running the following command from the shell you have on your phone:
mount /dev/block/mtdblock6 /data/data.
cd to /data/data, and use
du -sk * | sort -n is a useful pipeline) to find out what’s taking up all the space. (As an aside, it’s way easier to poke around the filesystem from the recovery image rather than using
su to get root when the phone’s running normally. The set of command-line tools provided in Android is very bare-bones—you don’t even have
cp—while you’ve got a well-equipped BusyBox in the recovery image.)
In my case, I found that the
com.android.providers.contacts directory was taking up over 100MB, 90MB of which was in a SQLite database. I had no contacts stored locally, so I just mounted the SD card, copied the directory to that for backup/forensic purposes, and deleted it from /data/data. After rebooting the phone and resyncing my contacts with GMail, the space being used in that directory was cut down by an order of magnitude. I do note that I can no longer sync Facebook contacts, but I’m not certain that that is a result of this—that may not have been working before the “low on space” debacle. If this problem re-occurs, I’ll dig into that SQLite DB to try to find out what was taking up all the space. For the moment, though, the problem is resolved.
Now that I have a rooted phone, I’m very tempted to install the leaked Android 2.2+Sense leaked ROM…
I was doing a bit of figuring yesterday in the process of considering my financial situation, and I ended up deriving a couple of formulas that relate basic mortgage parameters. Inspired by Hugh Chou’s derivation, I thought I’d do one of my own that’s a bit more explicit (and of course, nicely TeXed up 🙂 ).
Mortgage term and principal amortization formulae derivation.
A bunch of Chicago-related media crossed my path last week. I thought I’d pass on the highlights:
Plus, of course, two great Chicago-related photo pools:
Limited numbers of connections via terminal services. From time to time at work, I need to log in to our servers to perform tasks. The initial attempt is often followed immediately by swearing and a post to our common IM chat room begging for someone to release a connection. Unfortunately, sometimes people leave their connections open when they go home…
“Security” through buck-passing.
When I try to follow a link to a Word document in IE, I get the following message:
Some files can harm your computer. If the file information looks suspicious or you do not fully trust the source, do not open the file.”
Thing is, I followed that link because I believe the document has information that is relevant to my interests. Now I have to choose between not looking at it, and potentially getting h4xx0r3d by doing so. Neither of these is an appealing option. (See also: the helpful “Security Center” in Vista.)
Instead of spending the time and effort to have Windows warn me before I open a file that’s of interest so that MS can claim it’s somehow “my fault” for getting pwn3d, why on Earth didn’t they fix Word so that simply opening a document isn’t a massive security risk? I don’t have to worry about this crap if I open a Word doc in Pages on my Mac or OpenOffice Writer on my Linux desktop.
It wasn’t so long ago that we made fun of people for believing that simply opening a document could infect them with a piece of malware. Remember the Join the Crew and Good Times “viruses”? Thanks, Microsoft, for making what most technically-inclined folks thought was unlikely possible; “looking for my virus scanner” is sure where I wanted to go today!
Here’s a not-too-infrequent scenario:
What’s up with that file on my flash drive? I’d really like to delete it, but Windows keeps telling me “permission denied”. I’m pretty sure I have access to that directory.
Oh, I see. It’s in use by an application. Which one? Oh, it’s not going to tell me that.
Guess I’d better download a copy of Process Explorer.
Ah, there we are. That’s what’s holding that file. Ok. Terminating that program… Yay, now I can delete the file.
Now I’m just going to stop the drive so I can safely remove it…oh, look, the drive is still in use; it won’t let me stop it. Let’s see what Process Explorer says is in use on E:\…
Nothing. The drive isn’t in use after all. Yet I still can’t stop it.
…and now it’s bitching that I have to stop devices before removing them or risk data loss. Thanks, Windows!