The Treehouse Blog

Android Music Index

on May.17, 2009, under Technology

I’ve not used Android’s music player much, but today I FTP’d some MP3s to my G1 and they would not show up in “Music.”  I remembered that when I tried it once before it had “just worked.”  After much Googling revealing nothing (which is really annoying, and hopefully this post will fix) I removed and reinserted the microSD card, and magically the media was indexed and available in Music.  The only mechanism of rebuilding the android media index seems to be inserting the SD card.  It seems this has to be physical as well – while Android has an “unmount” option for the card, it doesn’t give you a mount option afterwards.  The music program itself really should have a menu item for performing a re-scan, at the very least.

Comments Off on Android Music Index : more...

G1 migration

on Apr.12, 2009, under Networking, Technology

I went to a local AT&T store last Tuesday and signed up for service on the G1.  I put the phone on the counter and after the sales guy asked if it were unlocked, and I said that it was, things moved on quickly.  He took my information and began the process.  I walked out with a G1 on AT&T’s network and a receipt for $0 for the SIM.  I checked out data in the car, and it was working despite not having the “wap.cingular” APN settings, which I added later just in case.

I checked my online account access upon getting home.  The sales guy hadn’t setup data access, so I quickly selected the unlimited data and text option.  It also seems that the phone hadn’t been branded a “smartphone” so all of my options were for non-smart phones.  I asked the tech for detailed billing to be enabled (apparently there’s a fee for that in AT&T land) but I couldn’t tell from the website whether it was or not.  Later detailed call logs became available, so I guess it is enabled.  Unlike Verizon, only outgoing numbers are listed, which is a lot less helpful.  UPDATE: Either I missed them before or they didn’t work before, but the detailed call log does seem to have originating numbers now.

I am understandably nervous about data usage charges until I get the first bill.  Recently the bill amount was listed – something like $114 – but I can’t see the bill itself for a few more days.  Some quick figuring suggests this is reasonable for a month’s worth of service and an activation fee, but I’m not sure that’s what it is listing.  Even more recently, itemized data sessions began appearing in the details, all under my unlimited data setup, so I think things are setup correctly at this point.  UPDATE: I have now been able to see the whole bill, and everything seems to be in order.  The changes I made to my account seemed to be retroactively applied on the date I made the change (ie, the date of service start).

The number port from Verizon took about 14 hours.  This was a lot longer than Chris Z. had experienced.

I’ve purchased a few accessories – an adapter to allow both 3.5mm audio and power to be connected simultaneously – for occasional audio use in the car.  Also a mini-USB car charger and additional mini-USB to USB cables for use at home and work. I have not bought a case.  The slide-out keyboard seems to make the possibility of a good skin-type case almost nonexistent.  I also didn’t buy a charging cradle, so even though I have two batteries, I’d have to swap them to charge (like the VX8600 which I also had two batteries and no charger, and unlike the X30 which I had two batteries and a charging cradle).

A few software migrations (updated in previous entry) have been completed, so the X30 will be placed in deprecated status this week.  The 5 items I always check my pockets for before going to work can now be reduced to 4.

One other minor annoyance is that I’ve already found some places that AT&T has lower signal strength than T-mobile had.

I might be turning into an Android fanboy.  The iPhone is still much prettier though.

2 Comments :, more...

G1 Testing – Part 3

on Apr.05, 2009, under Networking, Technology

Part my “phone decision tree” is carrier selection.  The G1 and the iPhone are both GSM phones that can be unlocked from their respective networks.  I’m somewhat familiar with AT&T’s network – I used to have their service and found it good, and Doug currently has their service, and we’ve compared Verizon/AT&T coverage on occasion with comparable results.  To evaluate T-mobile, I purchased a pre-paid SIM for their network.

At home, I get about 2 bars out of 4 on the G1 with T-mobile pre-paid.  This is comparable to my Verizon EV-3-bars and 1x-2-bars, and Doug’s about 2 bars of AT&T.  At my parent’s place I get full signal, same as Verizon.  At work, I expect full strength being a stone’s throw from their tower.

For further comparisons, I did about a 100-mile road test and managed to get Chris B. to go along and observe signal strengths.  Here were the generalized results:

  • Home to Roxbury:  T-mobile > Verizon
  • Roxbury to Fannettsburg (along turnpike):  T-mobile = Verizon
  • Fannettsburg to Ft. Loudon (route 75):  Both poor, T-mobile < Verizon
  • Ft. Loudon to Chambersburg (route 30):  Marginal Verizon, but mostly no T-mobile
  • Chambersburg to Caledonia (route 30):  Both very good, T-mobile = Verizon
  • Caledonia to Shippensburg (route 233, Ship Rd):  Both generally poor, T-mobile = Verizon
  • Shippensburg to Home: Both good, T-mobile = Verizon

These observations were generally consistent with the published T-mobile and Verizon coverage maps.

With these observations, T-mobile appears to be a viable carrier for the locations I spend most of my time.  But cell service is nice to have places where you don’t spend a lot of time as well.  Looking at the state-wide zoom level for AT&T, Verizon, and T-mobile, it appears clear the T-mobile is really, really lacking.  AT&T and Verizon appear to be about comparable.

In performing this comparison, I found it hard to believe that there were no good tools to show multiple providers coverage areas simultaneously.  Verizon’s coverage map was good, with a google-maps-like drag-scroll interface.  AT&T and T-mobile were not.  In all cases the zoom levels for the maps poorly corresponded, making comparisons that much more difficult.

What about roaming?  I had read/heard about T-mobile and AT&T having mutual roaming agreements.  Can I purchase T-mobile service and use AT&T’s network?  I tried selecting AT&T as the provider with my T-mobile pre-paid SIM, and it did not work.  That does not necessarily mean that it would not work with a “real” T-mobile plan.  However, I would really expect the provider coverage maps to show areas that they mean to cover with roaming, and T-mobile does not show anywhere near AT&T’s footprint.  Besides, I have read of peering agreements changing over time without notice, so even if it worked now, it might not forever.  I’ve decided it’s not worth getting a real T-mobile account just for testing internetwork roaming.

As a break from the analysis, I did manage to get to try T-mobile’s EDGE data service on the G1.  I’m not sure exactly how it happened.  I upgraded to R33 last night, and while around my parents house, a new “G” icon appeared with in/out data arrows.  An app that tracks data usage confirmed that it was the 2G radio interface, and that it was passing traffic.  I was able to play around with Google maps, web browsing, IM’ing, ping, and ssh using EDGE today, and the performance was fine.  This evening however, it stopped working and the browser shows a page saying that the G1 needs a real data plan.  Still, I was pleased to have the brief opportunity.

What about 3G?  If I use the G1 on AT&T can I use 3G?  The answer appears to be no, due to different frequencies/bands used for T-mobile’s and AT&T’s network and handsets.  But T-mobile does not have 3G anywhere near me anyway.  AT&T does, so if 3G is a requirement, the iPhone has to be the way to go.  Otherwise, using the G1 on AT&T locally should be no different 3G-wise than using it on T-mobile.

Conclusion: T-mobile isn’t a viable carrier for me.  The G1 can work on AT&T’s network as long as I don’t need 3G.  If I need 3G, the iPhone, AT&T (and going to Carlisle or Hagerstown, for now, at least) is the only option.  Do I need 3G?  Probably not.

Comments Off on G1 Testing – Part 3 :, more...

G1 Testing – Part 2

on Apr.05, 2009, under Technology

I’ve had more time to play with the G1, so an update follows.

My intention for the G1 (or the iPhone if necessary) is to replace both my Verizon LG VX8600 as well as my Dell Axim X30.  To that end, I’ll list the functions of each, and my current impressions of the G1 and maybe some notes about the iPhone.  This is a work in progress, so I plan on updating things as I find out more.

  • Phone / VX8600 Comparisons

    • Placing and receiving calls. The G1 seems to be able to do that.  I really like the phone-like feel of the VX8600, but having used a Nokia in the past, I’ll get used to talking into a non-handset yet again.
    • SMS reminders. I don’t always feel or hear an SMS when it’s first delivered, or maybe I ignore it as I can’t de-pocket the phone at the time.  The VX8600 has the ability to periodically re-alert unviewed SMS messages which I use.  The G1 does not have this feature out of the box, as far as I can tell.  There is an application “Missed Call” that provides this service.  I’ve seen this app crash once though, and when that happens there are no SMS alerts.  That could be a serious issue.
    • Battery life. I don’t use my phone heavily at this point (no e-mail or Internet after all).  I typically charge it whenever it shows 3 of 4 bars of battery, probably about every three days.  It is charged overnight.  In situations where I’m somewhere with no cell service, the phone will chew through most of its battery in just a few hours.
    • Pocketability. The VX8600 is very pocketable.
  • Pocket PC / Dell Axim X30 Comparisons

    • Password Management. Not sure if it’s the best policy, but I’ve been keeping passwords in the Axim, and before that a Palm, for about as long as I’ve cared about passwords.  On the X30, I’m using “KeePass for Pocket PC 2002” which has some quirks, but works well.  I’ve found “KeePassDroid” for the G1, but have not yet tried it.  It apparently does not have the ability to edit passwords which is a big drawback.  It may not be a showstopper, but it is a disappointment.  UPDATE: I’ve copied my keepass database onto the G1.  The interface feels clunkier compared to the X30, but it works fine.
    • Notepad. When I don’t have something to write on, I often go for the “Notes” application that comes with the Windows mobile OS.  I mostly just scribble something with the stylus and never clean up notes afterwards.  At first glance the G1 doesn’t have such an app, but I downloaded “Note pad” which lets me type out notes, which should be just fine (and more ledgible than my scribble).
    • Wifi Scanning. I manage an rather large wireless network, and often enough need to scan for signal strength and what WAPs are out there.  On the X30, I use MiniStumbler.  So far the best app I’ve found for the G1 is “Tricorder” which lists APs by ESSID and a relative signal measurement.  That’s a lot less information than MiniStumbler provides.  This is another setback, but one that I might have to live work.
    • Playing Music. I sometimes will use the X30 for playing music.  I use “BetaPlayer” for this.  The built-in “Music” app on the G1 plays MP3s just fine, but I need to do more testing/research on what formats are supported.
    • Playing Video. I also used “BetaPlayer” on the X30 to play movies, mostly Divx AVIs.  So far I haven’t been able to make the G1 do that.
    • Battery Life. I think the X30 burns through battery at about 50% per hour while in heavy use, such as playing a movie, or staring at MiniStumbler.  I often go days between charges for mine under typical use.
    • Pocketability. The X30 is slightly thinner, about as long, and about an inch wider than the G1.  I use a belt holster for the X30 and typically only carry it at work.  It’s a bit too wide to be comfortably pocketable.
  • Smartphone Features. These are items that I’ll be expecting to have available from a “smartphone” device.
    • E-mail. I setup two IMAP accounts quickly with the built-in client and it seemed to work fine.  Under further testing though, things were less good.  When you delete a message from the G1, it does not delete it from the IMAP server.  Apparently this is a known issue and might be fixed in “cupcake” but not yet.  That’s terrible.  The workaround is to use the “K-9 Mail” application which is a fork of Android’s mail client that will ideally have its changes merged in eventually.  This client is more featureful and fixes the delete issue.  Neither client yet supports the IMAP idle feature (that is essentially the “push” feature in IMAP).  Apparently the iPhone has IMAP idle support, but doesn’t make very good use of it.  For e-mail being such a basic and expected feature of a smartphone, it is disappointing that this doesn’t work as well as it could.  I’m sure the Gmail support is much better than IMAP however, but that does me no good.
    • Web Browsing. The web browser is pretty good.  It would be nice to have the iPhone’s “pinching” but it is emmintely usable.
    • SSH. Remote systems administration is one of my goals for a smartphone. Google’s own “ConnectBot” application is stellar.  After figuring out the G1’s keyboard (and ConnectBot’s additional quirks) even vim is usable.  This is a big win over whatever SSH client I at one time used on the Axim.
    • Tethering. I hope to be able to use the G1 for tethering in certain situations.  It sounds like with a rooted G1 this will be possible without difficulty.  I have installed this, but no testing yet.  UPDATE: Some preliminary testing indicates this works great.
  • HTC / T-Mobile G1 Notes

    • Pocketability. Not bad.  I had both the VX8600 and G1 in the same pocket today without much difficulty.
    • Battery Life. Under heavy use, I’m seeing the phone drain about 20% per hour, and light use about 10% per hour.  I don’t have good stats on idle usage yet.  This might be an issue.  There are longer life batteries available.  Also, the batteries seem to charge very quickly.  UPDATE: After normal-ish day of use for me with 16.5 hours off-charger, the G1 has about 20% left.  Not too bad.
    • Application Updates. It seems that applications downloaded through the marketplace will automatically notify you when updates are available.  Much better than the X30!  Does the iPhone do that?
1 Comment :, more...

G1 testing – part 1

on Apr.02, 2009, under Technology

I received my used T-mobile G1 today.  The previous user did not reset the device, so there were a few apps I could try, and web browsing worked immediately on Wifi.  Not bad for having no SIM.

Doug and I were going to take a hike, so I had the opportunity to borrow his SIM just to see that my unlock code (received with the G1) did indeed work and report full AT&T signal strength.  I also ordered a pre-paid T-mobile SIM in order to do some T-mobile signal strength checking, but I haven’t received it yet.  I wasn’t here when UPS tried to deliver it, and T-mobile sees fit to require a signature for a $7 SIM package.  Not pleased with that.

Naturally, I wanted to reset the unit to factory defaults in order to get the full experience.  That was a mistake.  After resetting, the unit reported that it had no SIM and would not give me the menus I had before.  Apparently it needs to be activated with a GMail account before it does anything, and it really wants to do that using the cell network.  So began my first hacking of the G1 – just to get the access I had earlier today.  I Googled this a good bit, but as one might expect, I did not seem to find a complete answer, so I’ll try to document what I did (not quite a cookbook though, sorry).

Theory:  The G1 can register your GMail account using WiFi if it thinks it has a SIM.  You can update a databse on the box to make it think this, but you essentially need root shell access.

1.  My G1 apparently had a newer firmware than R29, as determined by typing <enter>reboot<enter> and not having it reboot.  R29 has a root shell in the background that listens to your keystrokes but produces no output.  Why?  Who knows.  But mine didn’t do that.  So, I had to downgrade to R29.  See this article.  One note about the downgrade is that after the upgrade progress bar disappears, it just sits there.  You need to pull the battery for it to restart.

2.  You need to have USB debugging turned on.  This is supposed to be turned on via a menu, but since we can’t get to the menu, the shadow shell in R29 can be used to activate this:  <enter>setprop persist.service.adb.enable 1<enter> (that I found here).  I think you need to reboot the G1 after that, or maybe at least disconnect/reconnect the USB.

3.  You need to use the SDK’s tools to get a shell.  Download the android SDK, and hopefully a “./adb -d shell” will give you a prompt.  This is just a user shell, and su and sudo don’t exist.  So, type <enter>telnetd</enter> on the G1 and run ./adb -d forward tcp:23 tcp:23 on your SDK box.  Then telnet localhost on your SDK box, and you should have a root shell on the G1.

4.  You need to copy a sqlite database to be edited.  I read articles that indicate that “sqlite3” should be a valid command on the G1, but it didn’t work for me.  I chmod’d the file on the G1, used adb pull to move it to the SDK box, used the sqlite3 in the SDK to make the edit, and adb push to put the file back.  The file and changes are documented here.

5.  Reboot again and it should jump into the account creation stuff.  You’re still screwed as you need to use WiFi.  This article also describes the command-line you need to run in order to spawn the Wifi settings over top of the account creation dialog.  After that, you can proceed with providing or creating a Gmail account.  And your SIM-less G1 is usable!

I’ve downloaded a few apps, but haven’t yet found a ministumbler replacement (disappointing).  Still a long way to go on this.  No doubt I’m not taking the easy way.

4 Comments :, more...

November 2024
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930

Archives

Content Copyright © 2004 - 2019 Brady Alleman. All Rights Reserved.

As an Amazon Associate I earn from qualifying purchases.