Monthly Archives: June 2015

“__init” in linux kernel

The linux kernel uses well optimized mechanism for calling initialization code for built-in drivers and other kernel features using “__init“ macro. Essentially, the kernel build system looks for all of the functions marked with __init, across all of the code of the kernel, … Continue reading

Posted in /kernel | Tagged , | Leave a comment

Saving read only file edited using vim

You have opened a file using vi or vim to check some code or text, and found some code/text to be altered. We made change and totally ignored the notification informing that we did not have permission to edit it (Warning: Changing a read only file), … Continue reading

Posted in /random | Tagged , , | Leave a comment

Restart adb without root

When you apply adb root command, adb restarts as root and gives user root access on android powered device. If you have tried adb kill-server and adb start-server will not serve the purpose, It only affects the adb daemon on … Continue reading

Posted in /android | Tagged , | Leave a comment