Wednesday, March 23, 2011

How To: Permanent Root and Flash CyanogenMod on Newer MyTouch 4G's


So, I purchased my MyTouch 4G back in October of last year and had no problem rooting it using the methods that came out in November.  However, I just got another brand new MyTouch 4G through work that also needed to be rooted and I ran into big problems.  After about 6 hours of tinkering I finally found out that the new phone had a non-engineering HBoot.  This means that there isn't as much flexibility in what you can and can't do with it and you have a greater chance of bricking if something goes wrong.  So, how do you know which HBoot you have?  Simple, reboot the phone into the bootloader by holding the power and bottom volume button.  Then on the boot loader screen it will either say 0.86.000 or 0.85.2007.  If it is the .85 then you have the engineering HBoot and any permanent root method should work.  If it says .86 then you don't have an engineering HBoot and you need to use this method.  To be clear, I didn't create these methods, I am simply aggregating the three steps needed to perm root and load CyanogenMod. 
This tutorial assumes you are familiar with adb, if not look here.  If you are running a 64 bit version of Windows you may have problems loading the adb driver.  This thread should provide the solution.

Then this method will perm root the phone: http://forum.xda-developers.com/showthread.php?t=858996

These instructions below were extracted from the link above for convenience.  I fitted them for .86 boot loader situation.

Download this file:
http://www.mediafire.com/?s7afymwe2wb3x60 New version of gfree with more options! See below.
md5sum: b73c56ca0e21664c5756d4ad295063c5

1. Now unzip the file into your SDK tools directory.

2. Plug your device into your computer.

3. Now open explorer and hold down shift at same time you right mouse click on your SDK tools directory (platform-tools if you have the R8 version of the SDK). Select open command window here. If you are in linux (ubuntu) right mouse click on your SDK tools folder, choose actions, and choose open command window(or whatever it's called). Otherwise, open a command prompt and cd your way to your SDK tools directory.

4. Type "adb push gfree /data/local" and hit enter.

Optionally, you could dl the file to your phone use androzip or something like it to unzip the file and then use root explorer to move the file named gfree to /data/local. Not the gfree.h file. All the other files are source code inlcuded for the gnu license. This would skip the first 4 steps. 

5. Now unplug your device from the computer.

6. Run visionary to gain temp root. (If you were already permarooted w/s=off ignore this step.)

7. Open terminal emulator on your device, type "su", and hit enter to gain root privileges.

8. Type "cd /data/local" and hit enter.

9. Now type "chmod 777 gfree" and hit enter to make the program executable.

10. Type "./gfree -f" and hit enter.

New features in gfree.
gfree usage:
gfree [-h|-?|--help] [-v|--version] [-s|--secu_flag on|off]
-h | -? | --help: display this message
-v | --version: display program version
-s | --secu_flag on|off: turn secu_flag on or off
-c | --cid : set the CID to the 8-char long CID
-S | --sim_unlock: remove the SIMLOCK

With the new features you can turn off one thing at a time. You can also turn security back on and set the CID back to stock if you wish. To turn simlock back on you still have to follow the revert procedures on this page as the information that is patched to turn the lock off is encrypted and we can't write back to it other than restoring the entire image.

So, if you wanted to leave simlock on but turn security off and set super CID the command would be "./gfree --secu_flag off --cid 11111111" + enter. The -f switch after ./gfree that is now in the above step (./gfree -f) just tells gfree to patch everything.

11. Wait for the program to finish and then reboot into HBoot to see if S=Off. Also, check your bootloader version. If it says s=off and has bootloader version 0.86.0000 it worked.

12. Run visionary again (temproot w/set system r/w after root checked and then attempt permroot) to make root privileges permanent and then reboot again. Now "su" should work properly for you.

Gfree writes a backup of the file that it patches named Part7backup-numbers.bin on your sdcard. I suggest putting this file in a safe place as it is the only way to revert if you need to.

Next, follow these steps to flash the engineering bootloader
1. Restart your phone and plug it back into your computer.

2. Download this file: http://www.megaupload.com/?d=NN5726Z8
md5sum: df4fd77f44993eb05a4732210d2eddc6

3. Copy the file to your SDK tools directory.

4. Open a command prompt again and cd into your SDK tools directoty (platform-tools if your on the new R8 SDK).

5. Type "adb push hboot_dhd.nb0 /data/local" and hit enter.

6. Now open terminal on your device and type "su" and enter to gain root priviliges.

7. Type "cd /data/local" and enter.

8. Now type "dd if=hboot_dhd.nb0 of=/dev/block/mmcblk0p18" and hit enter.

9. You should see something like: 2048 bytes in 2048 bytes out 1048576 bytes copied blah blah blah.

10. Now restart the device into hboot and check if your bootloader version is 0.85.2007. That is what you want to see.

Congratulations, you now have a TRUE root and engineering bootloader on your shiny MT4G!!!


Once CyanogenMod is loaded, you will need to pull out and then replace the battery to get WiFi working.

Enjoy CyanogenMod!!

Friday, March 4, 2011

Total Cost of Ownership for the iPad 2

So, with the announcement of the new iPad 2 there has been a lot of talk of it's competition and how the iPad 2 stacks up.  What is incessantly compared are the tech specs, apps, and initial cost but what is almost never discussed is the total cost of ownership.  The technical specs are of course important, and on that front, I'd say the iPad 2 and the XOOM (the only real competition to the iPad 2 currently) are evenly staked.  The iPad 2 is lighter and thinner and has better battery life, but the XOOM has (or will have with a free hardware upgrade) 4G and a removable SD card (it also has a Barometer, but that has limited usefulness).

The iPad series of course is much better suited in the app space, but that's only because it has a year on Google's first Tablet approved OS, and at the rate the Android is giving away new XOOM's to developers, I' believe it's only a matter of time before there are as many Android Tablet apps as there are iPad.

The initial cost is a point of contention in most comparisons as well.  Depending on the bias of the author towards one platform or the other you get comparisons like these.  "The iPad 2 is cheaper than the XOOM with entry level costs of $499 compared to $799."  Or, "The XOOM at $799 is comparable in price to the high end iPad 2 at $829."  Just recently leaked however is new pricing from Sam's club for a WiFi only version of XOOM for $539 which is a cool $60 cheaper than the 32GB iPad 2.  So, I think we can safely agree that these two tablets initial costs are comparable.

The last comparison, and the one that I want to discuss more in depth is how much it costs to get data, and the limitations of data on these devices.  The first option for either is to just sign up for a data agreement.  The data prices are comparable, especially considering that you can get data for either of these devices from the same carrier, Verizon...  This option is for suckers though, why pay for data when you more than likely have data on your phone, and both Android and the iPhone support data tethering?

This, is where it gets a little tricky.  For the iPad to tether from your iPhone you need to purchase the tethering package plan which will add an additional $20 to your data plan.  The catch is that for those of you grandfathered-in, unlimited iPhone data plans, you have to switch to a limited data plan.  Further, the extra $20 dollars that you pay is only for 4GB of data.  You could go through 4GB of data in a week watching YouTube, so you may very well end up paying much more than $20.

The answer to all of these absurd charges/limitations for data on the iPad2 is to forgo the iOS family of products and go with Android.  I have a 4G Android phone on T-Mobile which I pay $25 for unlimited data.  I use the hotspot on my phone to share my 4G data connection to my XOOM for $0.  I guess I could do the same with an iPad2, but the point is you need an Android phone, not an iPhone, to do this.

Other useful information to take notice of is that I only pay $30 a month (with my 10% corporate discount) for my cellular service in which I get 750 minutes (for $10 more I could get 1500).  If I'm ever worried about going over minutes I can make calls for free using Google Voice over SIP from my Xoom or my phone).  I also don't pay anything for text messages because I use Google Voice which provides free text messaging.  All total I pay $55 a month with no contract.  Life without strings is great isn't it?


Friday, February 25, 2011

20 Things the Motorola XOOM Can Do that the iPad Can't


So once again my favorite tech sparring partner and I are at it.  The screenshot below speaks for itself.    


So, I put together this list (which came quite easy) of 20 things the XOOM can do that the iPad can't:
  1. Google Maps 5 with 3D Maps
  2. Widgets
  3. Live Wallpapers
  4. Cloud Syncing (apps, settings)
  5. Dual core processing
  6. More pixels, better DPI (nicer screen)
  7. 2 Cameras, front and back
  8. Dual Flash on back camera
  9. Video chat
  10. Removable SD Card and battery (update: apprently he battery isn't removable... shame on you Motorola) 
  11. HDMI
  12. Improved 1080p video playback
  13. Share Data Connections with Portable Wifi Hotspots (this by the way is how I am getting 4G data to my XOOM, from a hot spot on my MyTouch 4G on TMobile)
  14. Improved gaming with a Gyroscope 
  15. Predicts the weather with a Barometer
  16. 720p video capture with Movie Studio to directly edit video on the device
  17. Google Maps Navigation (The iPad Wifi version doesnt even have a GPS)
  18. True multitasking
  19. System Bar (in bottom right corner) for global status and notifications
  20. Application Bar (in top left corner) for contextual options, navigation, widgets, or other types of content

Friday, September 10, 2010

Android = Open. It Doesn't Matter What Some Carriers Choose to Do With It.

A recent TechCrunch article written by the infamous MG Seigler entitled Android Is As Open As The Clenched Fist I’d Like To Punch The Carriers With, argued that Android is indeed a closed system because the carriers and handset makers that implement Android load their own custom skins, lock the phones, and put unremoveable crapware on the devices.  This of course sparked huge controversy and we're now seeing (at the time of this writing) about a 1,000 comments on the thread, the most I personally have ever seen on TechCrunch.


A reply that I posted to a retweet of the post on Facebook ensued a rather good bit of argument with a co-worker Caleb Davenport, that I'd like to share here.

Here's the thread:

Caleb Davenport openness is an illusion http://tcrn.ch/cO2Sz1 #android #iphone
My Reply:
Carlton Northern Are you serious? You honestly believe that android is a closed system? If that is the case, could you please define what an open system is?
His Response:
Caleb Davenport
that's not what the article said at all. it said that the android os being open source does not make it an open platform for the consumer. in fact, it can never be open for the consumer because google is letting carriers run the platform. so, according to the article, the fact that it's open (to the carriers) means that they can install "crapware", block google's own app store, restrict from out-of-store installations which makes it closed (or at least less open) to the consumer.
if it's open:
why can't you install skype off of verizon?
why can't you install bing off of verizon?
why can't you uninstall the trial apps that come with it?
why are only 4% of phones running the latest software?
why can't i install apps external to the app store on all android devices?
My Reply:
Carlton Northern 
Oh Caleb Caleb Caleb.. Why do you do this to me. I know what the article said and the article is wrong. And my questions to you still stand because you said in your post "openess is an illusion" referring to the Android platform.
Let me say it again, you can't both have a system that is open while still maintaining control! The two are mutually exclusive. By creating an open system, the creator itself loses all control at the point of distribution. As long as the carriers and handset makers comply with the open source license of Android, they can do whatever they want with it, including locking the phones and putting unremoveable crapware on them. Google can't control that. But it doesn't mean that the platform isn't open. It just means that there are a few bad eggs in the bunch.
Let me also argue your point that its not open to the consumers. You're wrong. If there were one Android phone, let's call it the aPhone, that only ran on one US carrier, that would be a closed system. However, there are like 70 Android phones that run on all the major carriers in the US and many more throughout the world. Many of these phones run vanilla android without any crapware. Many of these phones are also unlocked, or if they aren't unlocked they can be unlocked very easily, or they can be purchased unlocked on eBay. Furthermore, Android complies with software and hardware standards that are open. Things like 3.5mm headphone jacks, microUSB, Adobe Flash, the ability to run Java, C, C++, and other scripting languages on the phone, etc.
Lastly, the answer to all of your "if its open" questions is, precisely, "because it is an open system". Because it is open, Verizon can do whatever the hell they want to with it, Google has no control over Verizon like Apple has over AT&T. Their is fragmentation of versions precisely because it is an open system and carriers have the choice to upgrade or not. But let me also point out that those figures are more than a month old. There has been a massive amount of upgrades since then. Furthermore, many of the phones in the 35% not on Android 2.x are because they were first generation phones and they can't support the newer 2.x operating system.


Saturday, August 28, 2010

A Lookup for Nicknames and Diminutive Names

I created a simple lookup file that contains United States given names (first names) and their associated nicknames or diminutive names. For example "gregory" -> "greg", or "geoffrey" -> "geoff". The file can be downloaded and contributed to from here http://code.google.com/p/nickname-and-diminutive-names-lookup/.

This lookup was started from http://www.tngenweb.org/franklin/frannick.htm which is used for genealogy purposes. It was a good source to start from but because it is used for genealogy purposes there are some pretty of old names in there. There was also a significant effort to make it machine readable, i.e. separate names with commas, remove human readable conventions, like "rickie(y)", so that it would be made into two different names "rickie", and "ricky".

This is a large list with about 700 entries. Any help from people to clean this list up and add to it is greatly appreciated. Think of it as a wiki where you can contribute or change it as needed. CSV was the easiest format to use. Maybe I'll release this in XML or something later, or maybe a kind soul who uses this library wants to contribute another format they converted it into?

I was rather surprised that I couldn't find anything like this on the web. The best I could find was the pdNickname database and it costs $500. So, I created my own and released it as open source so that others could benefit from my work.

Wednesday, July 21, 2010

My Life is Now Complete

NEW EPISODES OF KIDS IN THE HALL!!!!!!!!!!


Sunday, July 4, 2010

An Homage to Paco

This is a gallery of photos of Paco, our little puppy.  I guess he's not so little anymore. He's 7 months now and about 20 pounds.  The photos are sorted chronologically.  Enjoy!