Posts Tagged ‘terminal’

Root Nook Tablet BNTV250A 1.4.2 8 GB to use Android Market Apps

Sunday, March 25th, 2012

No Android Market or Play Store or whatever it is that will let you to easily install Android Apps on your nook tablet? Don’t quit just yet!

First things first, I used jichuan89′s boot image and mostly relied on his instructions at xda forums. Try this first and then if it fails with the same symptoms, try what I did below.

That said, I ran into some quirks with the script not installing properly which left me with no Google Android Market or no Play Store (it now shows up as market for me, but some have reported play store).

Failed attempt: Following jichuan89′s instructions, the brown box logo appeared. followed by the “read forever” nook splash screen. All seemed well until the nook continued to boot instead of hanging on the “read forever” screen which, according to the instructions, is where it should be writing root files to the system and adding the Android Market app. As this did not happen, I had no app.

Why you might be doing it wrong: I’m using an 8GB SanDisk microSDHC card and I am doing this while it is in the nook. Most people would use an SD card reader, but I don’t have one of those and I did not want to leave home since the weather is too nice outside. Either the nook did something to the SD card after I burned the image and unplugged the USB cable (it indicated it was interacting with the SD card) or the SDHC format was somehow a problem. Either way, it did not work.

Let’s try another approach: Either way, I only had one idea. Plug USB cable into nook. On your linux terminal, use dmesg and you should see your SD card and its partitions at the bottom. For me it was SDE and SDE1. You may have something else, so replace SDE in the example with whatever you have.

-Erase everything on the SD card using fdisk. fdisk /dev/sde then enter d and press return (aka the enter key) then enter 1 for partition 1 and then use d again and select 2.

Instead of trying to format via fdisk, let’s let the nook do that since it will love its own formatting, I’m sure! (I had a sneaking, yet unconfirmed suspicion that the nook wrote *something* to the SD card the first time which interfered with the boot image).

-Unmount the nook and sd card, push the n button on your nook -> settings -> Device Info -> SD Card -> Unmount SD Card.

-Now you should be able to -> Erase SD Card. It should automatically format or if not, remove the SD Card and put it back in. Let the nook format the card and insert the USB cable once more.

-Start at step 3 of jichuan89′s and burn the image the the SD Card once more. In my case it was sudo umount /dev/ followed by sudo dd if=jichuan89_nook_root_sd.img of=/dev/sde bs=1M (Replace sde with the appropriate device name for your SD Card)

-Important! Once the image it burned, don’t bother “ejecting” the SD Card. Just remove the SD Card and then eject the nook before removing the USB cable. Power down the nook. (This may be what interfered last time. After unplugging the USB cable the nook seemed to write to the SD card which it thought was blank).

-With the power still off, insert the nook formatted SD cart with the image file burned and plug the USB in once more. It should boot, display the brown box icon then go to the “read forever” splash screen where it will hang. Wait at least 2 minutes so that it has time to copy the system files over to your nook. Hold the power down until it turns off.

-Still powered off, remove the SD card and power on again. I immediately got a prompt asking if I wanted Google to store my location or something, to which I declined, but this is a good indication that everything went well.

-To confirm, push the n on the nook -> Search. You should now see a Google search bar at the top. Tap the blue “g” icon to select “Apps” and search for “Market”. For me it was “Market” at first, but updated itself to the “Play Store” version instead so look for that if the former is missing. Tap Market/Play Store and it will load.

-Market hung on the loading screen the first time, but I tapped the new back arrow icon at the bottom and opened it again. After that I synced it with my gmail account that I made just for the privilege of being able to access the Android Market and all it well so far.

-Install a new desktop app that will allow you to see your Android Apps (I used GoLauncher EX which works fine for me. Astro probably works just the same).

-I recommend Irssi Connectbot if you want to use irc on screen on a remote machine via ssh.

OK, enjoy!

This post is mirrored at

linux tty is Your Friend

Tuesday, December 6th, 2011

tty stands for “teletypewriter” because it is much older than computers (otherwise it might be called something less stupid), with its roots dating back as far as 1869! That’s no typo. More on the history and details here if you’re interested.

What it is today:

“tty is a Unix command that prints to standard output the name of the terminal connected to standard input.” It is a core utility included in the basic linux kernel, so every linux user should be able to make use of this.

How to switch between tty:

You should be able to switch to a tty terminal by pressing “ctrl + alt +(F1-6)”. That is for GNU linux. I don’t know about others.

How it is useful to you:

Normally we use a terminal emulator if we are in GUI desktop, but sometimes it is necessary or better/faster/stronger to leave that desktop altogether and just access the system via command line. You know, without taking a long detour through GUI wonderland.

For example, I recently had a program bug out and lock up my GUI. Literally nothing was responding except for my ability to switch to a tty. This allowed me to easily kill the problem process and switch back to the desktop (located at ctrl +alt + F7 on Ubuntu). Without tty I would have been forced to do a hard power down and that is never nice. The great thing is that even in a worst case scenario you can just logout of your desktop environment via tty and then log back in.

The possibilities of what you can do with tty are limited only by what you can do via command line interface (CLI). I highly recommend getting familiarized with this little trick.