Build CM10.2 for Quincyatt from Source

It's just taking too much time to figure out the steps.. It'll be good to record what I have done in case I forget it..

System Spec

  • Ubuntu, eight-core, i7-2600 3.4GHz
  • Samsung Galaxy Note (quincyatt)

Preparations

For environment setup:

sudo apt-get install openjdk-7-jdk
sudo apt-get install python
sudo apt-get install git-core
sudo apt-get install gnupg flex bison gperf \
  build-essential zip curl zlib1g-dev libc6-dev \
  lib32ncurses5-dev ia32-libs x11proto-core-dev \
  libx11-dev lib32readline5-dev lib32z-dev \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  python-markdown libxml2-utils

For Android SDK:

Download and install SDK following the instruction here

Continue reading Build CM10.2 for Quincyatt from Source

Google Map and Google Now are getting worse

This is going to be just short mumbling. I still remember how I love to use Google Map and Google Now. The appealing features are convenient, accurate, and helpful. But now they are getting worse. Google Map is getting slower response and less accurate location service. I guess it is not easy for Google to continue serving Map for free, but this is not the excuse that Map can get worse. Google Now used to be accurate too: it recognizes anything you say and executes precisely. Now it just cannot handle your voice. "OK Google" has to be very close to the microphone; some other words may accidentally trigger "OK Google"; "set up an alarm" and "remind me" turn to be the same; and it recently stops recognizing "yep" and "nope." Well, well, well...

How to "Xiami" as a VIP User (for Mac)

This post serves as an app hacking example only.

Xiami (虾米) is a Chinese music sharing platform that you can listen to music for free (not for downloading). If you open up www.xiami.com, it will detect your visiting IP address, and where it belongs. So here is a screenshot of the message:

Xiami Not Available

I like Xiami since it provides high quality music. The tricky thing here is, if you are a VIP user, i.e. paid user, then they will skip above message. Well, doing a little modification in the app can bypass the VIP check. Therefore, as long as you are a registered user, the app will recognize you as a VIP. Continue reading How to "Xiami" as a VIP User (for Mac)

Attending NSDI 15'

This has been my third conference event since I became a PhD student at SANDLab. NSDI 15' was between May 4 - 6, held in Oakland, CA. My friends were saying things like "do not go out at night" because of so many negative news about Oakland downtown. Well, I stuck to what they suggested and stayed in hotel at nights - not only because of the potential dangers but also due to homework due. Yep, skipping two classes and TA discussion is never fun and you have to do the work at night. 😛

NSDI is a conference that pays much attention in practical system designs. Most topics are in data centers, software-defined networks, and operational systems. Although there were wireless and physical layer sections, based on what I observed, most people were more interested in previous topics I mentioned. This year there are three best paper awards, which are by Matthew Grosvenor et al., Dan Ports et al., and Ben Pfaff et al. Here are some papers I think very interesting and I learn new things from. Continue reading Attending NSDI 15'

Project Tango Tablet... Hmm...

Got the tablet two days ago and played it for a while... Project Tango utilizes IR depth sensor to obtain the distance of different objects (and possibly the resulting image is a combined work with fisheye camera). My assumption is they use camera to do some imaging processing to find out rough edges of different objects, and then use the depth sensor to get distance info. And to be honest, it is just a big toy when things work like they should. Continue reading Project Tango Tablet... Hmm...