Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

Sunday, 23 August 2015

[How to] Connect an android device [using MTP] on Linux [Ubuntu 14.04 LTS] 100% working

I recently moved to Linux[Ubuntu 14.04 ] from windows 8.1 because it hangs a lot on my lappy. Apart from the cool features of Ubuntu , one thing was annoying me that I was unable to connect my android phone [Asus zenfone 4 TOOi] and thus was unable to transfer any files via usb using MTP. After searching a lot I finally got the working answer on ubuntuforums.org which I'm again explaining it here again as simply as possible.
First of all you must have an active Internet connection.
Step 1:
First we need to install some necessary tools for MTP detection in Linux[Ubuntu]
open terminal and type the following command

 sudo apt-get install libmtp-common mtp-tools libmtp-dev libmtp-runtime libmtp9

 sudo apt-get dist-upgrade

Sample terminal command
MTP

Step 2:
Now we need to get vender and product ID
For that attach your android MTP device to your Linux system.
Type following command in terminal

lsusb

My output was as follows

Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 026: ID 0b05:580f ASUSTek Computer, Inc.
Bus 001 Device 025: ID 064e:c21c Suyin Corp.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 The above one in red color is my device with It's vendor and id("0b05" and "580f")

Step 3:
Now we will amend the mtp udev rules as follows, from a terminal type

Code:

 sudo nano /lib/udev/rules.d/69-mtp.rules


Now, add the following line of code


# Asus Zenfone 4 TOOi
ATTR{idVendor}=="0b05", ATTR{idProduct}=="580f", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"




Note: change the vender and product id as of your device(In red color in this post) and you can also change the device name after # as per your wish but it is not necessary.

When you are done editing, save the file(Ctrl+c, then Y and then enter)

Step 4:
The next step would also be to add a line of code to the 51 android rules file, again from a terminal type

Code:

 sudo nano /etc/udev/rules.d/51-android.rules


Then add the following line of code

Code:

ATTR{idVendor}=="0b05", ATTR{idProduct}=="580f", MODE=”0666"


Remember to change the vender id and product id as per your system(shown in red color)

When you done, save the file.

Step 5:
Type the following code in terminal


 sudo service udev restart


after this, save all your work because we will reboot your system

Step 6:

Type following command to reboot your system

sudo reboot


Detected MTP Device





Additional Optional work:
If you want to work with nice GUI with your MTP device rather than using default file explorer of Ubuntu/Linux
try following command

sudo apt-get install gmtp


or you can also download this from software center.

Friday, 16 January 2015

World's first gadgets....

<marquee> world's first gadgets</marquee >


World's first Laptop...

Toshiba launched the Toshiba T1100 in 1985, and has subsequently described it as "the world's first mass-market laptop computer". It did not have a hard drive, and ran entirely from floppy disks. The CPU was a 4.77 MHz Intel 80C88, a variation of the popular Intel 8088, and the display was a monochrome, text-only 640x200 LCD. It was followed in 1987 by the T1000 and T1200. Although limited floppy-based DOS machines, with the operating system stored in ROM, the Toshiba models were small and light enough to be carried in a backpack, and could be run from lead-acid batteries. They also introduced the now-standard "resume" feature to DOS-based machines: the computer could be paused between sessions without having to be restarted each time.


World's first android phone...

The world’s first Android phone was the HTC Dream – it came to the market in October 2008 as the T-Mobile G1 in the USA and, when signing a two-year service agreement, sold for $179.Dream was the first commercially released device to use the Linux-based Android operating system, which was purchased and further developed by Google and the Open Handset Alliance to create an open competitor to other major smartphone platforms of the time, such as Symbian operating system, BlackBerry OS, and iOS.



World's first Operating system...



Well, there are many school of thoughts about who was the first to create the first operating system. 

They ranged from: 

1) DOS (actually QDOS 0.10 - Quick and Dirty Operating System) originally by Seattle Computer (later acquired by M$). 
2) CP/M, for Control Processor Monitor (was considered the first operating system for a personal computer) by Gary Kildall of the Naval Postgraduate School in Monterey, California 
3) IBM 

Many argue it was CP/M was the first. The debates continues till today. 



Worlds first Television set...
John Logie Baird FRSE  14 August 1888 – 14 June 1946) was a Scottish engineer, innovator and inventor of the world's first mechanical television; the first publicly demonstrated colour television system; and the first purely electronic colour television picture tube. Baird's early technological successes and his role in the practical introduction of broadcast television for home entertainment have earned him a prominent place in television's history.


World's first ATM...


It might just be the best idea to come to a man in the bathtub since Archimedes' time. While taking a soak, inventor John Shepherd-Barron devised what is hailed as the world's first automatic teller machine, although his claim to the title is a matter of dispute . He pitched the device to the British bank Barclay. It accepted immediately, and the first model was built and installed in London in 1967. Though the machine used PIN (personal identification number) codes, a concept Shepherd-Barron also claims to have invented, it was dependent on checks impregnated with the (slightly) radioactive isotope carbon 14 to initiate a withdrawal, as the magnetic coding for ATM cards had not yet been developed. One other difference from its ubiquitous modern counterpart: it didn't charge a fee.


World's first camera with film(paper films)...

The use of photographic film was pioneered by George Eastman, who started manufacturing paper film in 1885 before switching to celluloid in 1889. His first camera, which he called the "Kodak," was first offered for sale in 1888. It was a very simple box camera with a fixed-focus lens and single shutter speed, which along with its relatively low price appealed to the average consumer. The Kodak came pre-loaded with enough film for 100 exposures and needed to be sent back to the factory for processing and reloading when the roll was finished. By the end of the 19th century Eastman had expanded his lineup to several models including both box and folding cameras.



Major Information source: wikipedia

[How to] Connect an android device [using MTP] on Linux [Ubuntu 14.04 LTS] 100% working

I recently moved to Linux[Ubuntu 14.04 ] from windows 8.1 because it hangs a lot on my lappy. Apart from the cool features of Ubuntu , one...