Android Fix: Adb finds device but not fastboot

I was trying to flash my nexus 7 (2012) with Android L but failed to do so as fastboot couldn’t find my devices. I thought it was Multirom etc which I had on my device causing problem. It turned out that my ubuntu was unable to identify the device specifically for fastboot. Here is how I got this sorted.

# reboot into fastboot mode
adb reboot bootloader

# grab you fastboot/bootloader device ids
lsusb
> Bus 001 Device 035: ID **18d1:4e41** Google Inc.

# install the ids into /etc/udev/rules.d/99-android.rules
SUBSYSTEM==”usb”, ATTR{idVendor}==”18d1″, ATTR{idProduct}==”4e41“, MODE=”0666″, OWNER=”thiago” # restart udev
/etc/init.d/udev restart
# try fastboot (only on bootloader mode)
fastboot devices

Error: Couldn’t load XPCOM Zimbra Desktop

Zimbra desktop installation on a brand new installation of Ubuntu/Linux mint 64 bit release always fails (Tried on Ubuntu 14.04/14.10/Linux Mint 17 etc) due to the lack of 32 bit architecture support.

I confirmed it by running Zimbra desktop with ia32-libs added to the distribution and manually running zdclient as follows:

$ /opt/zimbra/zdesktop/linux/prism/zdclient -webapp “/home/techfiz/zdesktop/zdesktop.webapp” -override “/home/techfiz/zdesktop/zdesktop.webapp/override.ini” -profile “/home/techfiz/zdesktop/profile”
Couldn’t load XPCOM.

This is mainly because the way 32 architecture support used to be enabled on the distro’s. Earlier installing ia32-libs package was quire easier via apt-get. Now the best way to install 32 bit architecture support is as follows:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs

Now try opening Zimbra desktop, it works like a charm.

Add 32bit package support for Debian/Ubuntu/Mint

Many applications which look for 32bit packages on your Debian/Ubuntu/Mint packages would need ia32-libs packages. Earlier it was possible to get this package installed and later on it has been removed from all distributions. The best way to get back the 32bit package support is to add the architecture to dpkg as follows:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs

Creative Commons & Allama

A late night chat with Shri NAM Ismail (Prajavani) gives me a chance to look at creative commons from Vachana’s point of view. For few of my questions and observations on Creative Commons adoption in India here is what he had to say:

“If you can understand allama then you can understand CC an copy left”

Here is Allama Prabhu’s vachana which he quoted during our chat:

ವೇದವೆಂಬುದು ಓದಿನ ಮಾತು; ಶಾಸ್ತ್ರವೆಂಬುದು ಸಂತೆಯ ಸುದ್ದಿ.
ಪುರಾಣವೆಂಬುದು ಪುಂಡರ ಗೋಷ್ಠಿ ತರ್ಕವೆಂಬುದು ತಗರ ಹೋರಟೆ.
ಭಕ್ತಿ ಎಂಬುದು ತೋರಿ ಉಂಬ ಲಾಭ.
ಗುಹೇಶ್ವರನೆಂಬುದು ಮೀರಿದ ಘನವು

My questions were simple, why we are taking too long to understand Creative Commons? Why we don’t understand “Free Culture” philosophy? Why we just read “Free” as just “Free” anywhere but not as in “Freedom”.

Today 55 books of prominent Kannada Niranjana were released under CC by his daughter and writer Tejaswini Niranjana in Indian Institute of World Culture, Basavanagudi. “Media houses should be encouraged to release some work under Creative Commons” says NAM Ismail.

More about my questions, answers, findings and research in some other blog. Till then spend some time researching what 11th and 12th century vachanakaara’s had thought of veda’s on Vachana Sanchaya.