George Nyarangi

Blog

Visit my actual blog.

  1. How to Root Motorola Xoom WiFi and Overclock using Tiamat Kernel Thu, 01 Sep 2011 22:50:00 +0000
    The motivation behind me writing this is to, unlike me, ease your pain in the process of rooting and overclocking your Xoom.
    Note: I followed this process for the WiFi edition as per the various instructions on XDA on a Windows 7 PC

    PART 1: Setting up ADB (Credit: Workshop by XDA member Adrynalyne)

    1. Install Java SE Development Kit 7 (32-bit version(x86)) from here: http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
    2. Download the Windows SDK from here: http://dl.google.com/android/installer_r08-windows.exe
    3. Edit Windows's environment variables, specifically, the system path.
      • Click on start and right click on Computer and left click on properties in the menu
      • On the left hand side, left click advanced system settings
      • Under advanced tab, left click environment variables; there are two boxes here
      • We are concerned with system variables...
      • Scroll down the list and highlight path and click edit
      • Ignoring all the extra stuff in here, make sure you are at the end of the line, and type:
        ;C:\android-sdk-windows\platform-tools
        
      • Click OK all the way out. You now have ADB setup globally and you can use cmd.exe

    PART 2: Unlocking and Rooting your Xoom (Credit: XDA Member jase33)

    1. Find out where the SDK was installed. For example on a 64-bit machine it may be:
      C:\Program Files (x86)\Android
    2. Download Xoom USB drivers and Fastboot
    3. Download the WIFI boot (kernel) partition with rooted stock 3.2 kernel (thanks & credit to, solarnz)
    4. Download Superuser.apk and su binary to enable functioning root
    5. Unzip files and place rootboot.img, superuser.apk & su binary in the path you found earlier under the tools folder e.g.
      C:\Program Files (x86)\Android\android-sdk-windows\tools
      on a 64-bit machine.
    6. Follow the procedure found here starting at the second bullet point under the title "PROCEDURE": http://forum.xda-developers.com/showthread.php?t=1170760

    PART 3: Installing Tiamat Kernel to Overclock your Xoom (Credit: XDA Member tl_driver)

    1. Download the Tiamat Stock GPU from: http://forum.xda-developers.com/showpost.php?p=16273940&postcount=2
    2. Note: If you don't have a micro SD card you won't be able to flash the Kernel hence why you have to download the "stock" version. Otherwise, if you have a micro SD, just follow the procedure found at the thread above.
    3. Open the CWM ROM Manger app
    4. Choose the "Reboot into Recovery" option
    5. Select "wipe data/factory reset" - not always necessary but will make things run smoother. Note that this will delete all user installed applications from your phone!!
    6. Choose "install zip from sdcard" (Don't choose install update zip)
    7. Choose "choose zip from sdcard", navigate to the the Tiamat Stock GPU zip, and select it
    8. Answer Yes to the prompts
    9. Go back to the main level and select the reboot option to reboot your Xoom

    You should now be set with a rooted Xoom ready to overclock. You can overclock using the SetCPU app

    Enjoy your overclocked rooted Xoom!!

  2. The file is too large for the destination file system Sun, 05 Dec 2010 01:32:00 +0000
    Have you ever tried copying files to a drive in Windows and gotten the error "the file is too large for the destination file system"? Well, the destination file system is probably FAT or FAT32 and the max file size you can transfer is 4GB. Sucks huh? To fix this, you could re-format the drive to NTFS. If you have a ton of data on the drive and would rather not re-format, just convert it to NTFS as detailed below. However, you might first want to run chkdsk /f to fix errors, if any.

    Open up the command terminal in Windows. If you're running Windows 7 just type
    cmd
    under start>search.

    *assuming your drive's letter is "H"
    chkdsk h: /f
    convert h: /fs:ntfs /nosecurity
    Enjoy NTFS!
  3. 8-bit Kogge-Stone Adder Fri, 30 Jul 2010 21:57:00 +0000
    Here's an 8-bit Kogge-Stone adder. The inputs are two 8-bit operands and the carry in to the LSB. The outputs of the module are the 8-bit sum and the carry out of the MSB. I have also included an exhaustive test bench.
    Read more »
  4. Verilog Vending Machine Thu, 29 Jul 2010 12:57:00 +0000
    This was a painful (due to the design constraints) but fun project and as we all know, pain enhances the learning process. The vending machine controller that I designed sells candy bars for 25 cents a candy. The machine can take nickels, dimes and quarters and returns dimes and nickels equivalent to the change after dispensing the candy.

    This vending machine was designed for implementation on a BASYS 2 digital circuit design board. The inputs to the machine come from four push button switches on the board. Three switches correspond to a nickel, a dime, or a quarter inserted into the machine’s coin slot. The fourth push button is used to reset the machine after which it should be ready to sell candy bars again.
    Read more »
  5. 3-bit Ripple Counter Tue, 20 Jul 2010 21:35:00 +0000
    When designing a ripple counter, if n flip-flops are cascaded together then the resulting counter is an n-stage ripple counter. Ripple counters increment once every clock cycle. During each cycle, the output from the preceding stage is used as the clock for the next stage with the exception of the first stage. Therefore, according to the name, the clock ripples through the stages.

    In this ripple counter design, T-flip flops are used because when the input is logic ‘1’, the output Q toggles on every clock transition. Conversely, then the input is logic ‘0’, the output from the flip flop doesn’t change on clock transitions. The design consists of 3 different modules: a T-flip flop, a clock divider, and a top-level module. The top-level module is used to instantiate and interconnect the clock divider and the T-flip flops.

    For testing purposes, the output from this counter was multiplexed onto three 7-segment Light Emitting Diode (LED) displays on the BASYS 2 board. A binary to decimal decoder was also incorporated into the design to allow the output to be displayed in decimal. In order to display the decimal version of the count value, a fourth LED was used in addition to the previous three. The design was also modified to allow the binary count on the LEDs to be turned on or off using a flip switch on the board. A reset was also added to the design which allowed the counter to be reset at any time during the counting process.
    Read more »
  6. Verilog Dice Game (Craps) on a BASYS 2 Board Thu, 15 Jul 2010 13:54:00 +0000
    Craps is a dice game in which players roll a pair of dice and bet on the outcome of the roll or a series of rolls. The main idea behind this Verilog electronic version of craps is to have two counters that are used to simulate the roll of the dice. Each one of these counters counts in the sequence 1, 2, 3, 4, 5, 6 and then keeps repeating this pattern.
    After the roll of the dice, the values in the two counters which ranges between 2 and 12 is summed up. Using this sum and a set of rules for the game, a winner can be determined. In order to win on the first roll, a player must obtain a sum of 7 or 11. Otherwise, if a sum of 2, 3, or 12 is obtained, the player loses and all other sums become the “point”. If the sum equals the “point” on the second or subsequent roll, then the player wins. Otherwise, the player loses if the sum equals 7. The game is then continued in this fashion until the player wins or loses.
    Read more »