However, if this issue is too much of an eye-sore for you too, there’s a simple way to remove this, as detailed in this archlinux blog.The change in appearance is best represented by the below screenshots.
This is the thing I truly love about Linux distros.. if you dont like something, just change it as per your wish! 🙂
Thanks to excellent explanation provided at this xda link, kernel build was almost a cakewalk!
Kernel build produces a zImage, which is a compressed image of the kernel. Next step involves packaging the kernel into a form that a custom recovery installed in your Android devices can read it (FYI, I am currently using CWM Recovery).
Kernel packaging involves the following steps:
Extract ramdisk (or, initramfs on older devices) from an existing boot.img. This can be obtained from freely downloadable flashable kernel zips corresponding to one’s device.
Use this ramdisk along with the built zImage to create a new boot.img
Create a zip out of this boot.img and META-INF folder that was obtained from flashable kernel zip in 1).
The linux tools for performing the above can be obtained from this link.
Once the zip is ready, copy it to your sdcard, boot to recovery and select option : install from zip and select your flashable kernel file.
Finally, a screenshot from my device 🙂
Screenshot of new kernel install
A major problem am facing presently is that WiFi on this device is not working since the new kernel install. Will try to figure out the issue and post an update soon.
The Image Processing Toolbox in MATLAB has this very useful utility called as ginput, which allows manually picking co-ordinate points from an image. I tried to recreate that functionality in python based OpenCV, and the result is the following code:
import numpy as np
from matplotlib import pyplot as plt
a = np.array([0,0], dtype='float32')
DEBUG = 1
print "Using OpenCV version : ",cv2.__version__
print "TASK : Mimic getxy() feature of MATLAB"
#print "For verbose mode, set DEBUG flag"
DEBUG = 0
#define the event
def getxy(event, x, y, flags, param):
if event == cv2.EVENT_LBUTTONDOWN :
a = np.vstack([a, np.hstack([x,y])])
print "(row, col) = ", (x,y)
#Read the image
img = cv2.imread(imgPath)
print "Reading the image..."
#Set mouse CallBack event
print "Set MouseCallback functionality..."
#show the image
print "Click to select a point OR press ANY KEY to continue..."
#obtain the matrix of the selected points
b = a[1:,:]
print "The clicked points..."
print b, b.dtype, b.shape
print "The selected points are returned as a float64 MATRIX..."
Steps to use it :
save the above source code as getXY.py in your working directory.
In your python code, import this file, i.e.,
from getXY import *
Pass the image path to getXY, and start clicking on the displayed image. The no. of times you click, those many points will get saved.
If you want a verbose version, set the environment variable DEBUG = 1 from the terminal before running the code, i.e.,
DEBUG=1; export $DEBUG
That’s it! I’ll upload the code onto a git repo as well soon and provide a link here as well.
To remove the verbose code, unset the DEBUG variable, i.e, :
For the next few months, we shall concentrate on AOSP, both the application framework and its internals. We shall also see integration of OpenCV applications into the AOSP framework, and explore the power that a Linux device gives to its owner.