android-sdk-installer for Linux (Debian/Ubuntu)

1
July 19, 2012

This post is also available on/was written for OMG! Ubuntu

I’m fan of automation, as well as simplicity and as much as I tend to complicate my own life I generally enjoy making life easier for others. I’m of a belief that if you’re a Android developer who’s new to Linux and is using it as his development platform, you’ll have pretty hard time installing and setting up all the necessary tools.

Some people use Linux to make their life easier, not because they like to fiddle with Linux internals, for some time now I’m looking how Android SDK, Eclipse ADT plugin, hardware drivers as well as MTP support are installed as almost completely different components. And in order to install/configure some of these components you will need to role up your sleeves and dive into Terminal, something that almost every new or even experienced user will try to avoid.

That’s why I started thinking of ways how to make this process as simply as possible, and fast as possible. The solution I came up is called “android-sdk-installer“. Not very original name, I know, but this is a utility oriented to Linux (currently Debian and Ubuntu) which aims to automatically install and configures Android SDK, Eclipse ADT Plugin, adds hardware support for devices and enable full MTP support.

I did this project as part of my University Capstone project “Implementation of Android SDK into Debian Linux” where I explained everything down to the smallest detail as well as included the very first version of installer’s code. My intentions with this projects are to make current script fully working, after which I’m planning to package it into a Debian package as I’m the owner of Android SDK Debian ITP. Among many plans for the future one of the most important ones is to add a GUI as right now it’s represented in text mode.

more “android-sdk-installer for Linux (Debian/Ubuntu)”

Linux power regression + overheating problem on ThinkPad [fixed?]

15
November 10, 2011

This post is also available on/was written for OMG! Ubuntu

This blog post isn’t only directed to ThinkPad owners as most notebook Linux users with Intel Core Duo 1/2 and i3/i5/i7 processors have been affected by this bug if not all. And yes, this problem is present on latest Debian Unstable and Ubuntu 11.10.

Prelude

I’m owner of Thinkpad X300, great machine except the fact that just recently I replaced its 3rd cooling fan!  Yea, I do a lot of compiling and it’s on all the time, but still this kind of things shouldn’t happen. I first linked this problem to the fact that Thinkpad fan on Linux (as of 2.6.22) always works at what’s its basically maximum RPM, thus the reason there are numerous fan control scripts. My favorite one is Thinkfan, but controlling fan doesn’t really help if you have a overheating problem. For matter of a fact it working on its maximum speed might only help, with its own toll.

As of kernel 2.6.38 up until 3.1 (still present) there has been a problem of power regression but besides this I had slight problem with overheating. Regarding overheating in beginning I tried reporting bugs, tried different Thinkfan configurations, blamed proprietary software such as Adobe Flash for spiking up CPU temperature, however this problem was somewhat solved. After numerous battery calibrations and as these didn’t work in the end for battery life getting poorer with each day, I just blamed the factor that notebook  was getting pretty old (~3 years).

more “Linux power regression + overheating problem on ThinkPad [fixed?]”

My DebConf11 summary and its after effects

4
October 22, 2011

Even though some three months have passed since DebConf11 has successfully ended, I still wanted to give you just a glimpse on how some parts were played through the eyes of a lunatic (read: organizer). Of course, blog post can’t come close near of explaining anything but at least it should give some insight and hopefully some pointers to the future DebConf organizers.

If you don’t feel like reading this much text you can listen to last episode of “This Week In Debian” podcast and after it just head to “Beginning of the end” part.

DebConf11

First of all I’d like to apologize if I offended or hurt anyone in this whole process as it wasn’t my intention and during DebConf organization this is nothing irregular, for you to get hurt or you hurting somebody else. One thing that got stuck with me this whole time is when Martín Ferrari approached me after I did bid proposal of Bosnia/Herzegovina for DebConf11 back on DebConf9 and told me “you have no idea what you just got yourself into” I played cool and said something along the line “of coure I do” and boy did I lie.

During DebConf organization you’re bound to make some of your decisions instantaneously in which you’ll lose something, the most you can do is assess what’s the thing you can “cut the cord” on, even though if that “thing” or a “person” for that matter might have meant something to you. You’ll lose things, relationships, friendships, contacts … at the times sense of humor and maybe even common logic. Some of it comes back to you, some the very next day and for some it may take longer. Some of it was lost irreversibly, but even in that case it wasn’t lost and could even be traced to some other cause.

more “My DebConf11 summary and its after effects”

DebConf11 – Sponsored registration date has been extended

2
May 7, 2011

Date for end of sponsored registrations for this years DebConf11 in Banja Luka was set for May 8th, today that date has officially been extended to May 19th. Now to answer your question on “why are you extending sponsored registrations 12 hours before it ends”  here’s the answer.

Registrations are going fine, we have more then 300 attendees who registered so far, it is due to change in our monetary resources as sponsorship level has changed from one to another, and we’ve be granted to welcome more people. But it is also to give some possible attendees more time and information, as I’ve got a feeling a lot of people from this region and elsewhere have been lacking some even general information, and thus I’d like to bring everything closer to everybody.

Before anything, heading to our website might be a good start as we have immense amount of information up there. Since government of Republika Srpska is our greatest and main financial sponsor, local team has made a document for them in which we tried to explain most basic and crucial things from what DebCamp and DebConf is over logistical/statistical data to what we have planned for Fun and Free time, so checking out that document might be a good idea as well DebConf11 – Plan and Program.

Since that might be too much for somebody as the documents stretches to some ~30 pages, I’ll try to give answers to most common/asked questions.

more “DebConf11 – Sponsored registration date has been extended”

Price of bleeding edge? (update)

40
April 24, 2011

Since Debian is in GNOME3 transition period, after last dist-upgrade I lived on bare minimum of GNOME DE and its apps. basically all I had working right was Chromium and Terminal, instead of Rhythmbox I used mpg321, instead of Gedit it was Vim and so on, which is all fine except the fact it had me living in 2000 again.

It was all due to python-gtk2 version that was missing in Sid repositories. Furthermore, as I was unable to restart X and had my notebook on suspend after every login I had to retype my wifi passphrase due to a bug in gnome-keyring. I believe I did my part, reported the bugs and waited maintainers responsible for those packages to do something. But this “situation” went on for 8 days.

I remember the times when you couldn’t fire up X for weeks, but after those days Unstable has gained reputation that it’s not like that anymore, but after having a situation like this one, it makes me wonder.

Please, don’t take this the wrong way, I mean no harm but the ultimate question that is brought up here is … is this the price of bleeding edge?

more “Price of bleeding edge? (update)”