Saturday, November 30, 2013

How to set a full screen Wallpaper on your Android device? [ROOT]

How to set a full screen Wallpaper on your Android device? [ROOT]

I have a rooted Android device running CM 10.2(Android 4.3.1). I wanted to have the Nexus 5 background without installing an applications to "set the wallpaper" or have it cropped by setting the wallpaper manually.

I have provided the Nexus 5 wallpaper above. Make sure to rename the wallpaper:

mv wallpaper.jpg wallpaper

Push the wallpaper to your device:

adb push wallpaper_info.xml /data/system/users/0
adb push wallpaper /data/system/users/0

Make sure your ADB shell is running root:

adb root
adb shell

Make sure the new files have the write permissions:

chmod 666 /data/system/users/0/wallpaper_info.xml
chmod 666 /data/system/users/0/wallpaper

Make sure the new files have the right ownership:

chown system:system /data/system/users/0/wallpaper_info.xml
chown system:system /data/system/users/0/wallpaper

Tuesday, November 26, 2013

How to Root your Google Glass?

How to Root your Google Glass?

You can simply root your Google Glass by flashing a different ROM and running a few commands!

Run these commands in your terminal:

adb reboot bootloader
fastboot oem unlock
fastboot flash boot boot.img
fastboot reboot
adb root

For more information, take a look here:

How to Turn On Android Debug Mode for Google Glass?

How to Turn On Android Debug Mode for Google Glass?

For any developers or anyone that wants to simply "sideload" Android APKs to their Google Glass, this is the option for you!

Go to Settings on your Google Glass:

In Settings, navigate to Device info:

Tap the side of your Glass to toggle Debug mode on or off:

How to take Screenshots with Google Glass?

How to take Screenshots with Google Glass?

In order to take screenshots with Google Glass as of now is to simply do it via the command line with ADB!

Check out these two commands that can easily take care of this for you:

adb shell /system/bin/screencap -p /sdcard/FILE.png
adb pull /sdcard/FILE.png FILE.png

How to view your Google Glass or Android Device on your Computer?

How can you view your Google Glass or other Android Device on your own Computer?

You can view your Google Glass screen or Android device using the Android Screen Monitor!

Download the ".jar" file here:

Here is how to run the ".jar" file from Terminal:

java -jar asm.jar

Here is how it looks!

How can you get started with your Google Glass?

Getting started with Google Glass!

When using Google Glass it is best to use an Android device, therefore you can maximize your abilities through Bluetooth and the MyGlass Android app with the Google Glass.

When you first turn your Google Glass on, here is what you will see, the time and "ok glass":

Download the MyGlass application for your Android device: Naturally your Google Glass will have Bluetooth already enabled, which makes it easy to pair with your Android device. Take a look at the application and run through the setup to get started with Google Glass!

Pairing the Google Glass and the MyGlass app allows for notifications to be sent directly from your device to your Glass! Watch the Official Google video here:

Monday, November 25, 2013

OpenQuartz: Google Glass Open Source Development

OpenQuartz: Google Glass Open Source Development

Much like quartz sand is the main ingredient in most commercial glass, we want OpenQuartz to be the main "ingredient" in the future development for Google Glass!

Find the repository here:

Here is an OpenCV Android implementation of Face Detection!

Example Applications for Google Glass(/example-apps)

  • GDK
  • Misc
    • Glass Preview - Jared Burrows
      • "Hotfix" for Google Glass camera preview - post-XE10
    • Face Detection - Jared Burrows
      • "Hotfix" for Google Glass camera preview - post-XE10

Google Glass Application Source Code(/glass-source):

UPDATE(11/19/13): GDK is now out! You can still easily decompile applications using this method.
Since the GDK is not yet released, we can look around how the current Google Glass Android applications were compile by breaking them down. The decompiled Google Glass applications are included. Here are a list of tools to decompile the native APKs:
Read more:

Third Party Applications(/third-party):

Here are helpful applications to install on your Glass in order to start testing and developing.

Basic ADB Usage(From Terminal or CMD Prompt):

Since there is no "Google Play" for the Glass yet, we have to side load Android applications for now.
  • Installing/Uninstall Applications(.apks):
    • adb install -r FILE.apk
    • adb uninstall FILE.apk
  • Running the Application:
    • adb shell am start -n PACKAGE.NAME/.MAIN.ACTIVITY.NAME
  • List all Packages on your Android Device:
    • adb shell pm list packages -f
  • List all Relative Information about your Android Device:
    • adb shell dumpsys
      • adb shell dumpsys battery
      • adb shell dumpsys wifi
      • adb shell dumpsys cpuinfo
      • adb shell dumpsys meminfo
        • adb shell dumpsys meminfo PACKAGE.NAME
    • adb shell cat "/system/build.prop" | grep "product"
  • Show the AndroidManifest for an APK
    • aapt dump xmltree FILE.apk AndroidManifest.xml
  • Screenshots from Commandline
    • adb shell /system/bin/screencap -p /sdcard/screenshot.png
    • adb pull /sdcard/screenshot.png screenshot.png
Read more:

Current Open Source Projects:

Pre-GDK Glass Applications:

Important Libraries:

Google Glass Resources:


Copyright (C) 2013 OpenQuartz
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Google Glass Frequently Asked Questions

Google Glass Frequently Asked Questions

Here is a small list of questions I was asked within my first week with the Google Glass! I will continue to update and add more unique questions that help try and explain my experience with the Google Glass.

  1. What are you wearing?
Google Glass.

  1. Is your vision so bad, you need those to see?
No, I’m just wearing Google Glass.

  1. How much does it cost?
Google Glass Explorer Edition costs $1500, not including taxes.

  1. Can you see the screen clearly?
Yes, your vision is hardly blocked and the glass on the Google Glass is clear.

  1. What is on your glasses?
I am not wearing Glasses, I am wearing a pair of Google Glass.

  1. Is that Google Glass?

  1. How did you get Google Glass?

  1. Are you a beta tester?
I am a Google Glass Explorer.

  1. What do you see exactly?
I can show you what I see with screencast but basically my vision is not blocked at all. When I look through the Glass, when it is on, I can see the Google Glass interface. (link for more information)

  1. Are you a developer?
Yes, but you don’t have to be a developer to obtain Google Glass.

  1. How can I get a pair?

  1. Hey, I thought that did not come out yet?
They should come out around sometime next year during quarter 2.

  1. What is Google Glass?

  1. Do they actually come with a pair of Glasses?
Yes, I have actually seen posts on Google Plus about people getting prescriptions for Google Glass.

  1. What is Google Glass?

Saturday, November 9, 2013

Friday, August 2, 2013

How to setup Raspberry PI

How to setup Raspberry PI
First, order your Raspberry PI here:

Read the quick start guide:

Download your Linux image and unzip it:

Install Linux:

Run this command in terminal(make sure you have the correct /dev/disk number /dev/disk[n]):
sudo dd bs=1m if=2013-07-26-wheezy-raspbian.img of=/dev/disk2

Sunday, July 28, 2013

Math App - Easy to use Android Application for everyday High school and College students!

Finally! Math App is out of Beta and ready for use!
- New Action Bar Icons and Colors!
- New Icon for the App itself!
- Tons of common equations for everyday High school and College students(Chemistry, Physics, etc..)!

Please check it out and give feedback!

Welcome to Math App Beta by Andre Compagno and Jared Burrows
Send all suggestions to
Special thanks to Andre Compagno
This application makes it easier than ever to solve and search for equations. All the math is done for you, all you have to do is select the equation and input the values! Constants are built in for all equations!
Math App features:
How to use Math App:
1. Click on the equations
2. Fill in the values you are given
3. Click the caclulate icon
Naviation Bar:
✔ Search Equations
✔ Log in through Facebook - Share with your Friends - Coming soon!
✔ Send Feedback to the Developers!
✔ Share
✔ Help - Click to view the tutorial
✔ About
Features and Solvers:
✔ List of Common Equations
✔ Vector Dot Product
✔ Vector Cross Product
✔ Angle Between 2 Vectors
✔ Magnitude of a Vector
✔ Matrix Multiplication
✔ Matrix Determinant
✔ System of Equations
✔ Teaches you how to properly use the app!
Equation Descriptions:
✔ Coming Soon!
✔ Add equations to your favorites list in order to easily access them
Permissions requested:
✔ Internet
TAGS: formulas, pro, formula, collection, formulas, mathematics, physics, chemistry, education, training, formula collection, science, high school, math, math games, math game, math workout, maths help, , maths workout, Maths brain, maths kids, math tricks, math tutor, math teacher, math test, maths for kids, math drills, math flash cards, math formulas, math facts, math homework, math magic, math maniac, math reference, math ref, math tricks, math skill, math wizard, brain teaser, math problem solving, math logic, math genius

Friday, July 19, 2013

How to compile HelloWorld in Intel x86-32 on Mac OSX/FreeBSD

How to compile HelloWorld in Intel x86-32 on Mac OSX/FreeBSD

Compile in your Terminal:
nasm -o hello.tmp -f macho hello.s && ld -arch i386 -macosx_version_min 10.6 -no_pie -e _main -o hello.o hello.tmp && ./hello.o

The Code:
section .data                   ; constants stored here

    msg db "Hello World!", 0xa  ; our string to be printed
    len equ $ - msg             ; get the length of our string

section .text                   ; labels stored here

global _main                    ; specify our main function - (ld -e main)

_syscall:                       ; label - system call - call kernel - how we print to the screen
    int 0x80

_main:                          ; label - technically int main()
    push    dword len           ; message length
    push    dword msg           ; message to write
    push    dword 1             ; file descriptor - 1 - stdout
    mov     eax, 0x4            ; system call number - 4 - system write
    call    _syscall            ; go to label(function call) - _syscall

    ;  add     esp,12          ;clean stack (3 arguments * 4)

    push    dword 0             ; exit code - return 0
    mov     eax, 0x1            ; system call number (sys_exit)
    call    _syscall            ; go to label(function call) - _syscall

Find more here:

Saturday, May 11, 2013

Saturday, March 16, 2013

How to install system monitoring tools

How to install system monitoring tools

To install them:
sudo apt-get install sysstat

Only some of the helpful tools that come with 'sysstat' package:

How to run ADB on 64 bit systems

How to run 32-bit binaries on a 64-bit architecture

Most of the times on a fresh install of Ubuntu, it will be missing packages to be able to run 32-bit binaries.

To install them:

sudo apt-get install ia32-libs

Friday, February 8, 2013

How to put Applications on Jailbroken iPhone

How to put Applications on Jailbroken iPhone

  • Jailbroken iPhone(with OpenSSH from Cydia)
  • USB cable
  • MacbookPro(for Xcode) 
  • uikittools
Tested with:

Step 1 - make sure Xcode is closed - stop automatic signing

First off you need to edit a configuration file within Xcode:


Make a backup just in case you mess up:

sudo cp /Applications/ /Applications/

Edit the file like:

sudo nano /Applications/

To save:
Control + X  then Y



Step 2 - create the TCP connection between your Macbook and your iPhone

Go to

Download the latest, here:

Use a GUI tool or simply extract in Terminal:
tar -xjf usbmuxd-1.0.8.tar.bz2

cd to the "python-client" folder

Open Terminal and run to test the connection, Control + C to quit:
python -t 22:2222

Now you can run these commands in the future:
ssh root@localhost -p 2222 - access the phone
scp -P 2222 root@localhost - send files to the phone

Step 3 - time to open Xcode

Click on your Project > Build Settings > Go to Code Signing > Code Signing Identity > Make sure it says "Don't sign code"

Make sure you set your target to "iOS Device"

Go to Product > Build for > Archiving

Step 4 - time to push your application to your jailbroken iPhone!

Example project name: NavBar

After building your application, its time to push it your phone, you need to find the path to your application in order to send it to your phone:

Open terminal again:

scp -r -P 2222 "/Users/noname/Library/Developer/Xcode/DerivedData/NavBar-gekkahxyyaepvgdkfkduwhlmqvqg/Build/Products/Release-iphoneos/" root@localhost:/Applications/

When prompted for the password, make sure your type "alpine"

User: root (already specified)
Password: alpine

After that is quickly transferred, Control + C to quit and then update your iPhone with:

ssh -p 2222 mobile@localhost uicache

User: mobile (already specified)
Password: alpine

To remove everything:

ssh -p 2222 root@localhost rm -rf /Applications/ && ssh -p 2222 mobile@localhost uicache

By now you should see the application pop up on your home screen!