Wednesday, November 17, 2010

Adventures in Android hacking (update)

I love my HTC Hero from Sprint. Wait, let me rephrase that, "I love running Android 2.2 on my HTC Hero from Sprint," and that is all thanks to the man (and related team) that is known in development circles as Cyanogen.

This isn't news for some of you. I personally jumped in with Cyanogen's first offering of Android 2.2 for the Hero, CyanogenMod (CM) 6.0.

However, the latest release candidate, CM 6.1 RC1 added some great functionality over CM 6.0, and now using Deca's kernel my Hero is not only running Android 2.2, but it is also getting better performance and battery life than my wife's personal Hero which is still running a stock version of Android 2.1 from HTC/Sprint.

My current setup uses the CFS #24 kernel (download and details on XDA) and SetCPU to overclock the phone to max at 633 MHz with the CPU governor set to interactive. Where CM 6.0 made my Hero seem actually usable again, 6.1 gives the Hero new life. Note, this is based on my subjective opinion that Sprint's stock 2.1 update really killed the performance of the Hero to the point of being nearly unusable as a phone.

Of course, you have to deal with the loss of HTC's beautiful Sense UI apps, but I have found some acceptable replacement apps: Handcent for IM, Winamp for music, Google's "News and Weather" for real-time weather updates, Google Voice for visual voicemail, CalWidget for viewing my agenda on the home screen, and TweetDeck for integrated social media. 

However, I still miss having HTC's integrated contact management, and their calendar "agenda" widget is irreplaceable, both functional and gorgeous. So when I eventually break down and upgrade my Hero to something like the EVO 4G, I will appreciate having a phone with enough processing power to run HTC Sense UI on Android 2.2 and actually let me answer phone calls.

Tuesday, November 2, 2010

How to disable iTunes Ping

For those of you who want the social networking aspect of iTunes, feel free to disgregard the following.

For those of us who value our privacy and use iTunes to manage their music because they simply have to, either because you have an iPod/iPhone/iOther device, or you are too lazy to find an alternative program to manage your music. Are you annoyed by the "ping" dropdown option that now shows up next to each song when selected in iTunes? Here is how you can disable iTunes Ping and remove the dropdown from the library interface.

DISABLE PING AS A SERVICE

1. Open the iTunes Store.

2. In the top-right corner, next to your account name, click the arrow button and select "account". Note: you may have to log-in to your iTunes account in order to proceed.

3. Under "Apple Account Information", scroll down to the "Ping" section. If the label shows, "Ping: ON", click on the "Turn Off" button.

4. Scroll further down to the "Recommendations & Ping Posting" label. If this is set to "On", click on the "Manage panel" button to the right. Uncheck "Show recommendations...", and click "Save Changes" to return to the account screen.

5. Click "Done" to return to the main iTunes store screen.


REMOVING PING FROM THE LIBRARY

1. If iTunes is open, close the application.

2.
In Mac OS X, launch the terminal and type:
defaults write com.apple.iTunes hide-ping-dropdown -bool TRUE


In Windows, launch the command prompt and type:
"C:\Program Files\iTunes\iTunes.exe" /setPrefInt hide-ping-dropdown 1


3. Launch iTunes. Open your library. Rejoice!

Sunday, September 26, 2010

CyanogenMod 6 for the Hero

For fellow Hero modders like myself, you probably already know that Sprint and HTC announced that they would not be pursuing an official, Sense-ified version of Froyo for the Hero. So I have been running CyanogenMod on my Hero for several weeks now, and I must say it has been a very satisfying experience.

The basic facts:

CyanogenMod is based on the AOSP (Android Open Source Project)
CM6 is a stable build of Android 2.2 (Froyo)

My configuration preferences:
JIT enabled
SetCPU overclock capped at 614Mhz (roughly 16% OC)
Froyo native apps2sd support enabled, moved non-essential apps only

I have been running CM6 for a while now, and while I managed to find a respectable config for SetCPU to overclock the Hero processor, my battery life was unpredictable, and unfortunately I could burn through a freshly charged battery in as little as 6 hours, even though I kept my cap at 614Mhz and used profiles that should have scaled down based on battery charge.

Tonight I am switching away from SetCPU to the Collin_ph battery tweak to see if I can solve some of the battery issues I have been experiencing. If anyone else has some recommendations for customizing the collin_ph settings, so far I am sticking with my original cap of 614Mhz, both for stability and for battery life, but if there are any other setups that are considered "stable" I am open to suggestions.

Other observations:
- One of the first things I missed was the agenda view from the HTC Sense calendar widget. I did find that CalWidget was a sufficient functional substitution, albeit ugly as dirt. 
- I also am running FancyWidget to replace the beautiful clock/weather widget that is the signature of the HTC Sense UI improvements.
- The stock Android camera/camcorder UI is uglier than Janet Reno. (Does anyone have a recommended alternative?)
- Google Voice integrates nicely to replace the HTC Sense visual voicemail, and the Froyo-only GMail is also rather slick.
- JIT on Froyo actually works. (I realize that others may be successful at enabling JIT in an Android 2.1 rom, and actually got a performance boost out of it as expected, but in my experience it was a waste of my time even trying.)

When Flipz releases a Fresh ROM update based on the latest Sprint update I may nandroid my current setup and switch back for a bit, just to see what Sprint has come back with to fix the dialer issues, but for now I am very happily enjoying Froyo on the Hero, and recommend it for anyone with a little time and the willingness to tinker.


Thankyou's go out to:
Cyanogen and team, for bringing us the awesomeness that is CyanogenMod
darchstar, for porting CM6 for the Hero CMDA
XDA Developers, from which I have learned nearly everything I know about modding
Jesus Christ, for saving my soul from sin and death, and freeing me from the fear of voiding the warranty on my Hero

Wednesday, August 18, 2010

Android 2.1 JIT compiler a waste of time

So I have been experimenting with a JIT compiler in Android, and I have to say, it is really frustrating when the HTC Hero runs out of internal memory because of the memory requirements of JIT, and Android 2.1 automatically reboots itself. Besides that "feature", it works great.

I have read that Android 3 will have built-in support for JIT, and I imagine that phones newer than the HTC Hero will come with more built-in memory, so until then I think I will switch back to the standard Dalvik VM and get my geeky kicks elsewhere. (Such as with OC'ed kernels.) For now.

Monday, June 21, 2010

A list of my favorite apps for Android

I have an HTC Hero from Sprint which is currently running Android 2.1. It really is a great phone (and one of the first true geek's answer to the iPhone).

I am making this list for posterity sake... and in case I decide to wipe my phone or someday upgrade (the EVO looks pretty sweet, doesn't it?)

Abduction!
This game looks simple at first, but it's enjoyable (and a great way to distract children in a pinch). Use the accelerometer to help bounce cows and other farmyard animals to freedom from UFO's.

Bible (YouVersion)
Has NIV for free, but it's web based. I only have this because CadreBible doesn't have the NIV (yet...)

CadreBible
Has a host of free and paid bibles, commentaries, references, etc. I especially like being able to switch from a verse in an english translation straight to that verse in another translation or language (greek, hebrew, latin, etc). It also includes some nice study guides if you are looking for that sort of planner.

demoPlayer (RockPlayer beta)
Plays most any video format you would want on the Hero. Currently the beta is free.

Dice Bag
For RPG enthusiasts, if you forget your die-20 at home, no worries!

Dropbox
Free (up to 2GB) file depository that lives in the cloud, sync files between your home PC, work, and now your Android phone, too!

ES File Explorer
E-Strong's file explorer. It lets you explore the file system on your phone. Self-explanatory.

Evernote
Free universal note-taking that backs up to the cloud and syncs between your phone and PC, too.

gStrings
A chromatic tuner for guitars and other instruments. Great!

KeePassDroid
A secure database for remembering your passwords. Functional and free.

Google Listen
I know, it's a stock app, but I use this literally every day on my walk to and from work to listen to podcasts. And it sync's with Google Reader, too!

Google Maps with Navigation
Google maps added walking, biking and public transportation directions; Google Buzz for finding local hotspots; and free turn-by-turn directions with GPS navigation.

Ringdroid
You have an audio file. You want a ringtone (or a notification sound). Also does cropping.

Robo Defense
The free version is a pretty fun strategy game, or pay for additional maps, difficulty levels and tools. This is the only app I have paid for.

Shazam
I use this for those times when I hear an awesome song on the radio and simply need to know who and what it is.

Google Shopper & ShopSavvy
Comparison shopping by scanning bar codes.

The Weather Channel
I use this every morning to determine the weather is appropriate for walking to work, or requires some alternative method to transportation.

twicca
At the moment, my favorite twitter client. Does everything it needs to do, and it's free.

Wifi Analyzer
Helps to find wireless access points on the road, and at home to plot which channel has the least interference in my condo building.

xda
Gives me mobile access to the xda-developers.com forums, for all my Android news and hacking updates ;)

Tuesday, October 27, 2009

A matrix-like theme for Pidgin using GTK+ / GTK 2.0

My GTK 2.0 theme for Pidgin is still under review on freshmeat, so I have posted it here for downloading as well.

Windows zip:
GTK2-TheMatrix.zip

gzip tarball:
GTK2-TheMatrix.tar.gz

Unzip the contents into a new "TheMatrix" subfolder in your GTK themes path. On windows, this is
C:\Program Files\Common Files\GTK\2.0\share\themes\

Next, if you are using the stock GTK+ that is included with the Pidgin installer, you will need to run the GTK themes selector. In the Windows Start menu:
Start > All Programs > GTK+ > Theme Selector. Then select "TheMatrix" under either the current user or globally. (If you chose globally, make sure to also select it or '[always follow global settings]' under current user.)

If you are currently running Pidgin, close and reopen the application to apply the new theme.

In Pidgin go to the main menu
Tools > Preferences, and the "Conversations" tab, make sure that under Font "Use font from theme" is checked.

Also, under
Tools > Plugins you may want to at least initially disable the "Conversation Colors" and "Pidgin GTK+ Theme Control" plugins, as these can override the GTK settings for font, color and other settings for specific text elements within Pidgin.

If you are willing to play around with the plugins you can add some nice affects that go above and beyond the stock GTK skin, for example in the "Conversation Colors" plugin I set the "Sent Messages" text color to a slightly darker shade of green, such as #009600, so that in your convo log you can easily see a contrast between your sent and received messages.

I also highly recommend that in the "Conversation Colors" plugin you check the options "Ignore incoming format", "Apply in IMs", and "Apply in Chats" to taste, or you will be at the mercy of your friend's color settings in their IM client. (hot pink text or font size 20, anyone?) If you don't want to override any of the GTK colors you can leave the "customize" options unchecked.

Wednesday, April 23, 2008

When Microsoft and DRM combine

No, this isn't a quote from Captain Planet (although I wish it were something as cheesy and campy as that).

No, this little piece of news that Microsoft is abandoning their DRM-music service through MSN heralds the end of the line for any of their past customers.

The setup: You want to buy some music online, legally, so you go out on the net and look for music download sites.

The bait: You might arrive at the MSN music download site and decide to purchase some DRM-licensed music, and download it to your PC. DRM allows for that music to be on only a certain number of devices, so you may keep one copy on your PC, maybe another on your mp3 player. Each time you want to move the music to a new device, your PC requests a new license file from the MSN DRM authentication system, which issues the approval to copy that piece of music to a new device.

The switch: Microsoft decides to drop their MSN music-download service, and discontinue issuing authorizations.

The dilemma: You are now forced to keep your PC running indefinitely if you ever want to listen to the music you have purchased ever again. Don't delete it from your mp3 player, either, if you ever want to listen to it from there. Because this is the last time you get to transfer the song off of your PC, too.

Forever.

Because DRM will not allow you to move any licensed music you own to another device, never allow you to even burn it to a CD without the authentication from a non-existent MSN authenticator.

Need to reformat your PC?
Say buh-bye to your MSN DRM-licensed music.

Want to upgrade your PC to a new OS?
Oh, I'm sorry. Tough luck.

Want to free up some space on your mp3 player? 
Microsoft says, 'screw you'. 

I really hope that consumers will get the message and STOP SUPPORTING DRM MUSIC. How many people need to get screwed before consumers get smart and stop supporting DRM? Because if the consumers get smart, and the power of their money goes elsewhere, DRM will go away, too.

Switching to a service like iTunes doesn't really solve the problem, either. As long as there is money in the industry, you will always have companies like MSN or other up-starts trying to get a slice of the pie. That's a part of American economics. If iTunes lasts forever, that still doesn't negate the evil of DRM, or stop music listeners getting screwed by it.

The only thing that makes me less-than-completely-irate at Microsoft is the fact that consumers out there made the big mistake of purchasing DRM-infused music to begin with.

I almost feel like the customers are getting what they deserve.

Almost.