Saturday, October 27, 2012

Generics and Specifics

            There are various classifications of the "working" class. When I say working class, I meant everybody. Everbody? Yes. Everybody. Everybody works for "something" It is very difficult to tell the "something" of everybody. The Marxist theory considered only one part of the people who were doing physical work.

           Physical work is the result, byproduct or a requirement for the mental processing. By processing I meant everything from an empty gaze to finding the answers about "everything" and "nothing". Work aganin should not be restricted to what people do for money or to extend their existence. Even shifting a position should be taken as work. In fact if we broaden the scope, anything which changes the entropy of the world is work.

         But according to me all living beings have to do some sort of "work". Let us limit ourselves to Homo sapiens. My classification would be

1. Generics
2. Specifics

1. Generics:  Majority of the worlds population would come into this population. So what do generics do? They do routing jobs which is similar throught their existence on the planet. The job/work the generics do are the result of work done by the specifics. The source of all the generic work can be traced back to the work done by the specifics. Dont ask any examples here. Now, why is the majority of the population doing generic work? Is it that the major work available is generic? Is it because the majority is born that way? Is it because they are brought up in that way? Is it because we are supposed to be like this? Is it because the job/work available in plenty is generic? Is it all of the aforesaid and many other reasons which you may come up? Whatever be the answer, the fact is that majority of the jobs are generic in nature.

              How would you label a job generic? A generic job is easy to pickup, Maybe we already have that capability, You can be trained into it, You observe and pickup, In summation they require a minimum of mental effort and more of physical efforts. But we cannot tell all jobs requiring physical effort are generic in nature. But all physical jobs are to be made generic for optimization. Can the world do without generics? No. Just look around, look inside. There are generic jobs to done throught the life of everybody. Specifics also carry out a lot of generics like eating/sleeping/walking, albeit a little lesser. If we talk about industries generics have one more advantage. Generics are like pluggable modules. We can repair a minor flaw and plug it in once again. The same job can be carried out by another man effortlessly by observation, little training or by using the common sense gained over the years. Scientific management gurus and the japanese took the generics to a whole new level, by optimizing. Generic jobs are normally carrried out in mechanical frame of mind.

2. Specifics:  This is a very small majority of the population. But, they are the reason for all the generic jobs in the world. They normally carry out a very small portion of generics, only for survival. Specifics break new avenues or take the existing generics and take it to a whole new level. They are not pluggable/replacable that very easily. Negligible portion of specifics are born that way. They normally reach the specific mental level by starting from a generic background. They get paid heavily, But that doesnt mean that they yearn for that. They are more bothered about the environment. Some do want to make a "name". Some others would do it for pure fun. They can make the world a better place and at the same time improve on a negative aspect also. Capable specifics can be doing generic jobs owing to other reasons like ease of the job, no load on the brain or they just dont care.

Why dont "all" generics try to achieve that "specific" state of mind?

My answer would be that "They just dont want to do so"

It is my personal appeal to all the generics(including me) to strive towards the specific frame and make the world a better place and in turn motivate other generics to do so.

Tuesday, October 9, 2012

Freedom and Macbook air(AKA, "opposites attract")

I would loathe the Macbook pros and see that they were whitey, clumsy, heavy and awkward looking compared to the other notebooks in the industry. Of all the notebooks I liked the HP TX1301au for three reasons

1. It had an AMD Turion x2 processor( A processor developed with notebooks in mind )
2. It had a touch screen
3. It could be converted into what is called a "tablet" today by folding the display over the keyboard.

I saw this lappy being used by many users. HP had a very good concept but did not follow up on this( Just exactly what happened to one of the first professional looking GNU/Linux based touch phone, the motoming or a1200. It was a beautiful phone with a flavor of linux called the montavista linux, It was my first smartphone ). But I was happy with my lappy since It played good with GNU/Linux. Debian GNU/Linux ran on this beauty flawlessly. It was light compared to other laptops. It was smaller at 12" compared to other laptops. I went on and succesfully booted Debian GNU/HURD also on this lappy, but after the initial boot screen It was difficult. In summary, my lappy was free of all propreitory software, except for the nvidia driver(I know, I know, RMS is angry)

 It was the "apple" of my eye until Apple released their Macbook air. OMG what piece of hardware. I was drooling all over it. That was the best piece of notebook hardware I had set my eyes on. It was "gorgeous", "drop dead", "Awesome"........ All of a sudden "Light", "Small" and "Air" had a new meaning for me. I just compared the weight of my lappy with the air, it was shocking. I compared the looks, It was like comparing it with Mona lisa and the cave paintings. Evolution took a long time, as we all agree. But the "Air" was a "Revolution". A revolution which all others are trying to digest and cope up. I have still to see notebooks come anywhere near to the air(There have been a few and as Linus torvalds put it, others will catch up. But they will "catch up")

If we observe the Macbook air from its first iteration, nothing much has changed. The basic chasis is still the same. Changes occur when there are competitors and are forcing you to a corner. As of now the air leads the lot and others are catching up.

1. Yes, I know, RAM is soldered ---no upgrade
2. Backpanel is locked by propreitory shaped screws  --not to be opened by ordinary users.
3. No DVD drive --watching movies, opening presentations/documents at office on cd/dvd not possible(I dont know how many still do....).
4. Only two usb ports --Nowadays, I dont know what is the right number of USB ports required.
5. Runs on proprietory software  --A simple bios upgrade can disturb any custom OS on the device.
6. Hard drive capacity limited  --Though on a mid 2011 macbook air, we can still change the hard drives capacity, since it is not soldered.
7. Battery -- can be changed but at an apple store.

Oh, so many negatives. Let us get to the positives.

1. Incredibly thin/light/compact/portable
2. Unibody aluminium chasis  --No creaking
3. Awesome multi-touch touchpad(A very large one)(Clickpad, to be more precise) --The feeling of crossover between a tablet and a notebook with an additional "click" action throught the touchpad
4. Full sized keyboard --Completely relaxed position of the hands while typing, not to be disturbed by the touchpad. The touchpad can be made to respond to only the physical "click", that is, pressing the touchpad down(like clicking a mouse)
5. Lid opened with one hand only --The hinge tightness is just right to open with one hand and perfect enought to hold the display upright.
6. Keyboard backlight -- Intensity of the keyboard light can be changed via shortcut keys on the keyboard. Makes using it in dark environments a breeze(something from the smarphones, especially my sony ericsson mini pro). It is the right place to give sony, credit for the chiclet keyboard.
7. Magsafe charger --I liked the design of the charger, where it gets pulled(magnetic) to its charging point as it is brought near to the charging port(A deft touch, that).
8. Display --The 13.3" screen is just right at 1440 X 900 resolution. It is not the best out there, but ample enough.
9. Except the fan, No moving parts --It is "silent" most of the time. I noticed the fan rev up when flash enabled sites are visited. And the exhaust of the fan is let out at the hinge(I loved this piece of engineering). So your lap is kept as cool as possible.
10. The icing on the cake is an i7 processor clocking at 1.8Ghz with ondie graphics core and 4GB DDR3 RAM.

As a whole, I am just awed by the device hardware. All this comes to a standstill when you will see that it runs Mac osX, which is as propreitory an OS can get over a community developed code. It does make me happy(My happiness is nothing compared to that of the Freebsd community which prides itself whenever its code is being used for propreitory or "freedom" purposes) that it is using contributions from the free software community by using freebsd code and the mach kernel code for the core OS and using other nifty tools like the webkit code from the KDE project. At the same time, the user is completely locked by the propreitory layer of UI and graphics libraries. It is difficult to imagine that the worlds most profit making company is making profits by leveraging community code and returning near to nothing to the source.

So, how do we "Free" this awesome hardware from the clutches of propreitory software?

Run windows on it, ha? Installing windows on a macbook air is a breeze. The drivers are available from apple. Install the OS and install all the drivers. Thats it. Windows runs beautifuly on this device. Hey, wait, now we have locked both the windows and dooors. The ultimate lockin.

No, we are not even considering it. What are the options we are left with? GNU/Linux, GNU/BSD, GNU/MINIX, ANDROID..... I chose GNU/Linux for the obvious.

1. It runs beautifully well on x86 hardware.
2. It is my favorite OS for the past 11 years.
3. I know my way around.
4. Awesome community.
5. Thriving developer base.
6. Strong Ethics
7. Ever increasing user base.

Now, GNU/Linux comes in many flavors. My favorite flavor has been Debian GNU/Linux, the universal operating system. In its goal of becoming a universal operating system Debian cannot cater in particular to a very small group of elite users having the capability of buying mac hardware(I do not mean that they wouldnt do it, But it would not be worth, taking the entire world into consideration). I tried the latest testing build and failed terribly. But, do not go by my experience. There are people who have succesfully installed Debian GNU/Linux on a macbook air. Just search them on the public network.

Come on, then, Let us "free" up this awesome piece of hardware...........................................

Wednesday, September 19, 2012

Ubuntu GNU/Linux claims to have bettered the UI experience.

So, Shuttleworth has done it again. He once stated that the ubuntu GNU/Linux server market is better than that of Red hat GNU/Linux. Now, recently it got bolder, He stated that the his unity engine betters the quartz UI and engine of the Mac os X. I dont know why somebody should ape a UI. People are already bored of all the present UI's. That is visible by the fact that apple put in features from ios to osX, as much as possible. Why was that done? It was done so as to keep the interest of the apple fans in their desktop version also. But apple should be lauded for keeping the two products seperate as they are "seperate".

I would like to re-iterate that GNU/Linux users cannot be bought just by apeing osX. The GNU/Linux desktop thrives on innovation. You want a claer desktop, why dont you start with awesome. Awesome depends on the user to configure things. Incorporate excellent desktop effects. But the basic phiosophy of a tiling display manager should be kept intact. In this way you can have an existing user base and convice them to shift. Make configuring things easy and you have a winner on your hands. The desktop should be unique easy to scale up and "fun" to use. Mr. Mac shuttleworth you are spending money in the wrong direction. Ubuntu GNU/Linux will sell without unity also, Try it and you will know it is true. People dont buy Ubuntu, people buy Ubuntu GNU/Linux because your PR is succesful in putting out the information that "installing" and "configuring" their GNU/Linux box is easy with this "distro". I request you to use this PR strategy and design a desktop which is like no other. Then you can have UR stamp on it and call it Ubuntu OS(only for new users and who dont want to know what is under the hood. As those new users get industrious, they will definitely land up with Arch GNU/Linux or Debian GNU/Linux. But until then u have won).

If you have won the normal users, the war is half won considering the enterprise market(Here I am basing my assumption on the success of Redhat model). The desktop should be seen with awe. Seeing jus 2 minutes of video on youtube should make users to try it immediately. And stop comparing GNU/Linux UI's with existing propreitory OS. GNU/Linux is unique and it will stay that way. So Mac shuttleworth, "INNOVATE". Dont catch up.

Thursday, September 13, 2012

Custom Recovery and Custom roms on Dell streak 5

I nor any devs whose works we are using are responsible for any sort of damage to your phone. It is all your responsibilty!!!!!!!!!

Ok, You have a streak running Froyo(from the dell official channel). The android implementation is buggy. Lets go ahead and install the hardwork of the devs at XDA and spice up our streak.

Prerequisites

1. streak mod recovery from here  http://forum.xda-developers.com/showthread.php?t=840326
2. amss.mbn and dsp1.mbn from here (It is better to try the latest version i.e., 407)
3. Basebands with numbers starting with 4 are for Gingerbread roms(android 2.3). Be careful not to use base bands from Froyo roms(Though people liked the last of the Froyo rom i.e., 366 and are using them in GB roms)
4. fast boot and adb tools from here http://mirror2.streakdroid.com/manii/Tools/Fastboot+ADB.zip Don't install anything. If you followed the previous post every driver required is already there. Just extract it and place all the contents in a folder.
5. copy the recovery.img from step 1 and put it into fastboot+adb/.…../win32/
6. put the amss.mbn and dsp1.mbn also to fastboot+adb/.../win32/
7. Download your favourite custom rom. My favourite rom for streak 5 is by tenontex, here.
Why, because it is easy to install and is based on CM 7.2(Android 2.3.7)

His post lists out all the devs who have sweated in keeping the streak alive. Thanx to all of their endeavours. The procedure for flashing the rom is very straight forward. Once we are finished with flashing recovery, you can follow the procedure in his OP to install the ROM.

8. copy the rom longhorn2.7.zip to the root of the SD card of your device.

Power on the streak while holding the camera button simultaneously. Device will enter into fast boot mode. Now connect it to the computer. Fire up the terminal,  change directory to fastboot+adb/.../win32/ .

fastboot.exe -i 0x413c flash recovery recovery.img
fastboot.exe -i 0x413c flash dsp1 dsp1.mbn
fastboot.exe -i 0x413c flash amss amss.mbn
fastboot.exe -i 0x413c reboot

Once you run the last command, keep your fingers near the volume up and down button. Once the streak reboots and reaches the dell streak logo, press both the volume buttons simultaneously. This will take you to recovery mode. Here you ail have a black and white screen(This is the recovery of stock rom) with options namely,

1. Factory reset
2. Install update.zip ……..
3. ……

Use the volume keys to navigate up and down, Use the camera key to select. Select the second option the screen will turn to black background with blue menus. Now we are in streak mod recovery. Use volume keys to navigate and select advanced and then select nandroid and then select full backup. It will take a long time so, be patient.

Use the back key to go back to the original black and blue recovery screen. Here select update from update.zip and select "zip from sd card". Browse to the longhorn2.7.zip. choose yes in the next option. Wait the rom will get installed. From here please follow the steps mentioned in the tenontex post. Please strictly adhere to the steps mentioned there. It is "important".

Thats it. Its been a long journey, but worth it.

Unbricking a Dell streak 5

In nor any devs whose works we are using are responsible for any damage to you phone. You are on your own!!!!!!!!!!!!!!!

You have a bricked Dell streak 5.

It happened because of the following reasons
1. buggy android implementation by dell
2. You did something wrong during rooting or flashing custom roms
3. The battery cover is loose and streak rebooted in the middle of an activity which results in corrupted internal partitions(which happened in the case with me)

Now "we" got to unbrick the streak 5 over selves as the model is discontinued since mid 2011.

Let us start......

1. Dell streak is getting stuck at the logo(Fine, better condition, since we can enter into fast boot mode and recovery mode)
2. Dell streak is completely dumb. That is pressing the power button does nothing. That is the real end of the tunnel(or, is it?)

1.  The post which made me write this.
2.  The adb driver.

pre-requisites

1. Press the volume up button and keep holding it after five seconds(approx) connect the USB cable(The other end should always be connected to the computer) while holding the volume up button until you hear a ding sound from your windows pc. Now open device manager and check for driver listing in the "Unknown" section named "Qualcomm CDMA Technologies MSM". This is required for connecting the dell streak in diagnostic mode which in turn is used by the qdl tool. If not search for the driver and install it as you would install a regular windows driver. That is, right click on "Qualcomm CDMA Technologies MSM"" in the device manager and click upgrade driver. Browse for the folder you downloaded and the drivers will get installed. The "Qualcomm CDMA Technologies MSM"" will move from unknown to somewhere up in the device manager tree.

2. Download the driver from the second post and install it. This is the adb driver. This will be used by the qdl tool in the second stage. To check whether the driver has installed properly. power on the dell streak holding the camera button simultaneously. streak will give a white screen with fastboot on the right most corner. touch that area and streak will enter fast boot mode and the screen will tell that it is waiting for usb connection. Now connect the streak to the pc. You should hear a ding and the device manager should show "Android 1.0".

Now we have the pre-requisites for the diagnostic mode and fast boot mode.

Download the two zips from here
1. http://mirror2.streakdroid.com/manii/Tools/streakflash.zip
2. http://mirror2.streakdroid.com/manii/Tools/repairtool.zip

Extract the streak flash and run the qdl.exe from here. Now press and hold the volume button while connecting the computer. If the qualcomm drivers were correctly installed you will see that name(qualcomm …) in the port setion. Now click run. Wait patiently. Once all the logs become green close the tool. Unplug the streak and reboot the computer.

Now extract repair tool. Again hold the vol up button while connecting the streak to the computer. Run the qdl.exe from this folder. Again you should see "qualcomm….." in the port section. Click Run. This tool is going to take a lot of time. Here we are carrying out diagnostics and also install Froyo with BB 306. Once all the logs are green and the tool is finished it may take more than 5 minutes. Be patient.

It will reboot several times since it has to enter fast boot mode to install recovery and flash the rom. If at the end, all the logs turn out green, Congrats, you have unblocked your device. Thank google for making and keeping android open and RMS for being adamant on his "free as in freedom" philosophy AND all the awesome devs and users at XDA. Exit the tool, unplug the device and reboot.

The first boot may take a little longer. If you boot your device successfully then you can go ahead and install custom roms which have been made with CM 7.2 as base(i.e., Android 2.3.7). Thank the devs at XDA for keeping the streak live and kicking. Streak 5 looks and performs beautifully on 2.3.7 cm 7.2 based roms.

Update 13/07/2013

Here is a link from the XDA forums related to QDL

Thursday, August 30, 2012

custom roms on xperia mini pro with unlocked bootloader

Let me start by stating, once again, I nor any devs whose contribution we will be using are responsible for any damage to your phone. Proceed at your own risk!!!!!!!!!!!!!!!!!!!!!!!

Alrighty then. You have unlocked the bootloader of your favorite phone. With this you have unlocked the full capacity of your device. No need to bother losing CWM after every install of any custom rom. Developing for unlocked bootloaders appears to be easy, since majority of the rom devs initial release will be for unlocked ones. With unlocked bootloaders we will be installing CWM into a seperate partition which will not be touched during custom rom installation. So whatever happens with your rom installation the CWM is still there. Anything wrong with the current installation of the custom rom, you wipe it and install a new one OR restore a previously working, backed up rom.

Now we know the advantage of unlocking the bootloader w.r.t installing custom roms. For disadvantages please refer the previous post. Let us start with the fact that whatever roms were dicsussed in the locked bootloader post are available in the unlocked ones also. Since the rom development for our favorite phone is happening at a rapid pace owing to newer developers taking up the mantle to serve us with their hot-baked versions of custom roms the roms mentioned in the previous post is very minimal. It is recommended to visit this post, to see the recent roms and the pace of development activity on this phone.

It would be apt to talk of few roms which impressed me with their unique abilities. This is a very subjective selection. I live it to you to find the rom which suits your taste. The serial number is also the roms "I" rank in order of my preference

1. When we talk about custom roms we cannot leave out the unlocked bootloader specialist cyanogenmod 10. This is v10 of the cyanogenmod project based on Jellybean 4.1.1. Since it is a very recent project there is a long list of "not working". A working/not working list is maintained by M66B.
I loved this rom for it smoothness(result of project butter) and wifi connects almost immediately. Remember that installing cyanogenmod requires install of their own kernel. They dont play well with other custom kernels. In fact M66B compiles the cm10 kernel with additional drivers. It is a good choice to install his kernel. He releases his kernel in parallel with the cm 10 kernel. If you want a basic jellybean system look no further. And the project releases updates regularly.

2. If ICS is what you want to eat, then the first preference would be cyanogenmod 9 Lot of work has gone into this rom and very much usable. The advantage is it is a basic implementation of ICS.

3. If Ginger bread is your preference then look no further than this. This is developed by shprakash and sandy( I believe they are from bangalore ) called HaSa Rom. Remember this is based on sony's rom with additional tweaks and modifications. For this you can use any of the kernels mentioned in the previous post( choose the GB ones. There will be two versions of the kernels. one for GB and one for ICS.

4. Sandy and shprakash have an ICS offering also it is Xperia icecream pureness. This is again based on sony's official ICS rom with tweaks and modifications.

5. When it comes to UI customization and eye candy nothing can beat the MIUI project, but it comes at a cost of higher utilization of ram and rom space. If eyecandy is what you want then you can choose between
a. Hasa miui ICS. This, as the name suggests is developed by the duo sandy and shprakash. The rom is a very good implementation of miui on a sony base.
b. JB exmiui. This rom is a combo of MIUI JB version and cm 10. It will have the same working/not working as of cm10. But mark my words, It is beautiful.

Some other roms impressed you, Tell me.

Thanx to all the devs, testers and fellow users, sony for allowing to unlock the bootloader, AOSP project and the Linux kernel project.

Monday, August 27, 2012

Rooting and installing CWM on xperia mini pro Unlocked boot loader

Unlocking the bootloader on xperia phones voids your warranty claims. All the DRM keys go out. They cannot be returned back(or, I dont know any method to bring back the DRM keys). I nor any devs are responsible for any damage your phone may suffer because of any implementations of the discussions below.

Here we go. We are now bored with all the hassles required to install custom roms on xperia mini pro with a locked boot loader or your xperia mini pro is now out of the warranty period. Installing custom roms on a locked boot loader is a pain in the neck for the rom users and also for the devs. For a locked boot loader, the CWM is installed in a portion of the rom memory which get over-written during the installation of the custom rom. So, How do we think that our CWM is safe during the custom rom installation? We cant. Only if the devs have a version of CWM in the custom rom zip properly configured and zipped, your options of losing CWM are iminent. For an easy method of getting back the CWM on locked bootloaders please refer my previos post.

Now, we go to the next logical step. Unlocking the bootloader(You are warned again, Your warranty will be void. There have been cases wherein, sony has refused to repair phones with unlocked bootloader. So continue at your own risk). Unlocking the boot loader on xperia phones is a straight forward process and sony should be thanked for making it very simple. Fire up ur favorite search engine and search for "xperia unlocking boot loader". You will get guides and the sony developer site is very user friendly.

See to it that your phone is recognized by sony pc companion. That just shows that all the necessary drivers are in place.

Basically the steps are

1. GO to the sony developer site and click on unlock boot loader
2. Keep the IMEI number of your ready (Dial *#06# on your phone dial pad)
3. Follow the steps on the sony developer site.
4. Note down the unique code given out and then,

follow the procedure given here

After this, installing CWM is a piece of cake. Go to point number 11.
Here ignore everything from point 4.
Download flashtool.
Install it
Run it
Shut down the phone
Now connect the USB cable first to ur laptop and then press and hold the volume up key while connecting the USB cable to phone. The phone LED turns blue and you get info on the flashtool application that the phone is now connected in the fastboot mode. Click on the 'lightening" icon and select fastboot. Here select "flash kernel" and browse the "boot.img" of your favorite kernel. Thats it. disconnect the phone and reboot.

After this step, You get a custom kernel pre rooted and CWM. The kernels available for xperia mini pro(ICS) and known to work with majority of the custom roms and also stock(pre-rooted  plus  CWM)
1. Rage(All drivers within the kernel)
2. Mesa(All drivers within the kernel)
3. kamarush(You have to flash the wifi-modules from CWM)


Thanx to all the devs for making the xperia mini pro a true hackers phone. Thnx to sony for allowing the unlocking of bootloaders. Thnx to all th users over at XDA for testing and reporting.............