Android Development : My journey


Android Studio: hax kernel module is not installed

I faced a strange problem with installing HAX kernel module on Windows 7. How to Install Check if you have HAX downloaded. Do it by going to SDK manager and under extra, look for Intel x86 Emulator. Check it, if it was unchecked. Now, look for SDK path in the SDK Manager window, top left. [...]

Netlink Sockets: Addind a new socket family

Kernel version 3.13, Ubuntu 14.04 $ uname -a Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux We need two changes: User space Locate the file "netlink.h" $ sudo locate "netlink.h" You would get the header file at "/usr/include/linux/netlink.h" Add the new family #define NETLINK_MY     17 Keep [...]

Handbrake: Installation on Ubuntu 14.04 64-bit

Get sources link apt-get update sudo apt-get install bzr subversion yasm build-essential autoconf libtool zlib1g-dev libbz2-dev libfribidi-dev intltool libglib2.0-dev libdbus-glib-1-dev libgtk2.0-dev libgudev-1.0-dev libwebkit-dev libnotify-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev sudo apt-get install libass-dev libtheora-dev sudo apt-get install libvorbis* sudo apt-get install samplerate* bunzip sources go to ./build make make install

Netlink Sockets: Linux Kernel-User communication (PART I)

Ubuntu 14.04, Kernel version 3.11 Netlink sockets provide full duplex, asynchronous, low-overhead communication channel between user-kernel space processes. Other solutions such as ioctl(), sysfs, UDP sockets are either blocking (hence expensive) or slow (UDP has more overhead compared to Netlink) and complex. Netlink can carry data buffers on a return trip from kernel to user [...]

Forgot wifi router password? How to update it on Windows?

Assuming you are on your wi-fi. Go to run, and type ipconfig. The gateway IP is the IP of your router. >ipconfig Windows IP Configuration Wireless LAN adapter Wireless Network Connection:    Connection-specific DNS Suffix  . :    IPv4 Address. . . . . . . . . . . : 192.168.x.x    Subnet Mask [...]

Linux Device Driver Development: Block Device Driver

It is my very first interaction with Linux kernel at device driver level. My objective is to develop a block device driver, very simple, that just forward I/O requests to a virtual device. This post explains my observations limited to attacking the problem.Block v/s Character DeviceLinux support block and character device drivers. Only block devices [...]