Smart PC Report -6 Dec 07, 2016
Total Page:16
File Type:pdf, Size:1020Kb
CIS 632 Project: Smart PC Report -6 Dec 07, 2016 SMART PC: NEW APPROACH IN HANDHELD DEVICES Haris Chokkalingam, MSEE, Naveen Baskaran, MCIS, Santosh Tankala, MCIS, Cleveland state university, Cleveland state university, Cleveland state university, Cleveland, Ohio Cleveland, Ohio Cleveland, Ohio Instructor: Dr. Chansu Yu Professor and Chairman Electrical and Computer Engineering Cleveland State University, Ohio 1 CIS 632 Project: Smart PC Report -6 Dec 07, 2016 Table of contents S No Topic Page Number 1.0 Abstract 4 2.0 Introduction 4 3.0 Smart PC and Why we need it? 4 3.1 Android overview 4 3.2 UNIX 5 3.3 Experiencing UNIX IN smartphones 5 3.4 What Ubuntu is Doing Nowadays? 6 4.0 Implementation 6 4.1 Debian 6 4.1.1 OS specifications 6 4.1.2 Post installation OS update 7 4.1.3 External Browser installation 8 4.1.4 Installing Native application 9 4.1.5 Programming with C 9 4.1.6 Simple game in Linux terminal 10 4.1.7 Playing with Python 11 4.2 Andromium OS 12 4.3 AndroLinux OS 12 4.4 Complete Linux Installer 13 5.0 How and why to access Android root? 14 6.0 Performance measurements 15 6.1 Performance commands 15 6.2 Smart network switch/wi-fi assist 16 7.0 MHL Cable 17 7.1 ADV 7480 17 2 CIS 632 Project: Smart PC Report -6 Dec 07, 2016 7.2 MHL/HDMI detailed view 18 8.0 Baby Monitoring system 20 8.1 Sound 20 8.2 Workflow of Audio part 20 8.3 Measuring the sound in room 21 8.4 Program Execution detail 21 8.5 Debian Mail delivery system 21 8.7 List of problems 22 9.0 Future Work 22 10.0 References 23 3 CIS 632 Project: Smart PC Report -6 Dec 07, 2016 1.0 ABSTRACT Computers and computing are fundamental in human environment. Millions of operations are carried out in every minute. But computers are big in size compare to the mobile devices. Our motto is to establish the computing operations in mobile devices on top of the mobile OS Android platform. Moreover, we are planning to establish the feasibility, compatibility, user friendliness with different Unix platforms against different Android versions and providing the educational applications with usage of outdated mobile hardware and operating systems. As per our implementation, we have enhanced sound recognition system for capturing the sound variance in living room and sends an alert via an email or messaging system using python. 2.0 INTRODUCTION Nowadays, technology is changing rapidly and the using of hardware is reduced in size compare to olden days. Personal computers turned into handheld devices and making everything possible in the real time. Handheld computers are user friendly to the human community, still there is a drawback in mobile operating systems to use like a computer. Our new challenge is making handheld devices using Personal computer UNIX operating systems. This paper explains the experimental observations on using Samsung Galaxy S3 and Debian (No root) UNIX operating system. Debian no root installs Debian 7.0 Wheezy on your Android device, an 'old stable' version of Debian will still receive security updates and we can precede install OS through APT (Advanced Package Tool). The paper explores of installation of Debian and its requirement like storage, hardware specification, RAM memory, and system performance, installation of the new updates, browsers and C programming using GCC complier. Additionally, it explains the drawbacks and encountered problems (which will be rectified and displayed with solutions in upcoming presentation). Another major feature, Sound recognition system is used to capture the sound variance in living room and sends an alert via an email or messaging system. For an example: A child is in bed room and parents are in the television room, if the child awakes and makes a noise (crying or not) our sound recognition system will notify the parents through the subscribed channel. As part of our project we are using email communication system and the development this application is in progress. 3.0 SMART PC AND WHY WE NEED IT? Smart PC is known as Mobile devices using Personal computer operating systems which could serve all the facilities like personal computers. This change will impact in lives of lower income community people, who are not able buy computers in society. It also changes technology impact in achieving all requirements in mobile devices and reduced usage of desktop and laptop computers in future. 3.1 ANDROID OVERVIEW Android is the mobile operating system based on Linux kernel which is an American company a Google corporation. It most commonly comes been installed and used on different models of smartphones and tablets which is from different manufacturers but offering some default users access to Google’s own services like google Search, Video Streaming, google Maps, Gmail and more. The phones android OS are highly customizable and modified based on the user need and requirements; it also have some UI based customization like changing wallpapers, live themes and different launchers which can completely make a new look of your devices interface. As like our calendar in systems phones also have different option like remainders etc., 4 CIS 632 Project: Smart PC Report -6 Dec 07, 2016 Fig 1.0 Android architecture Moreover, Android phones where used by more than 87.7 million people in the United States and 1.5 billion worldwide. In 2019, it’s expected to be 2.08 billion by worldwide. Different versions of Android rolled out in the market till today and version 7 (Nougat) is ongoing process of development 3.2 UNIX Unix is been used in traditional way such as multitasking, different computer user on operating systems that can also drive with different OS like AT&T UNIX which is developed in Bell Lab’s research center in 1970 by Ken Thompson, Dennis Ritchie, and others UNIX is developed using C programming language as base and it’s different from other operating systems like Windows and Mac (iOS). Also, the file system is entirely different and it stores everything as a file. If it’s not file, it’s called as process. Unix OS Storage partition is classified into two types; Data partition and swaps partition and its uses directories, links and special file for indexing the storage location. Most important UNIX and Linux systems are open source and supported by different developers from different regions. 3.3 EXPERIENCING UNIX IN SMARTPHONES Our project is to implement UNIX based operating systems like Andromium, Debian, red hat and Ubuntu in the handheld devices on top of Android operating systems. The implementation includes the process of exploring Hardware compatibility manufactured by different manufactures, with operating systems compatibility per installed Mobile operating systems in the hardware, performance of dual operating systems and developing a simple game and installing educational software and their access. Project Implementation method Different UNIX OS vs different manufacture Analyzing Hardware requirements, storage and memory utilization Performance of the Available each Android version Developing a game Installing available education applications Identifying bottlenecks 5 CIS 632 Project: Smart PC Report -6 Dec 07, 2016 The primary goal of selecting old mobile cellphones is to reduce and recycle the old mobile phones. As per survey USA has 70% heavy metals are in landfills by electronic wastes in a year. 3.4 WHAT UBUNTU IS DOING NOWADAYS? Ubuntu released new beta version of Linux OS based smartphones in European markets for 50 users to experience the user friendly, hardware compatibility. Upon successful run on markets Ubuntu will become challenging for Windows, Android and Apple manufactures. But Ubuntu OS project is not a dual boot in the same hardware device. We planned to experience dual boot in the same hardware devices using Android platforms. 4.0 IMPLEMENTATION Hardware Specification Mobile Version Samsung Galaxy S3 Android Version 4.3 Input Device Wireless keyboard, Wireless mouse Cables HDMI, MHL, VGA Table 1.0 Hardware specifications 4.1 DEBIAN Debian OS – Our initial implementation was done with Debian OS with no root option. Your Android phone is already powered by the goodness of Linux, but you can enhance it further and make better use of its multi-core processors and oodles of RAM by running a full-blown Linux distro alongside the existing mobile OS. We can install Linux for several purposes, for example, use it to power a LAMP server that can run web apps and serve web pages. If you're a network admin, you can install your favorite Linux tools and turn the smartphone into a portable network troubleshooting or pen-testing device. The LinuxOnAndroid project produces an Android app and a couple of shell scripts, and hosts a bunch of Linux distros that you can boot using the app. In a snap, the scripts mount the Linux image within the Android filesystem and the SD card within the Linux filesystem. They then call on chroot to change the root directory to that of the mounted Linux and open up a shell for you to interact with the mounted Linux system. The scripts also set up SSH for secured remote access, along with VNC to allow you to access this Linux system's graphical desktop. 4.1.1 OS Specification Debian version 2. Mobile need to have minimum 900 MB of free space Initial OS file installation size is 211 MB Time to install = Less than 5 mins 6 CIS 632 Project: Smart PC Report -6 Dec 07, 2016 Initial installation unpacks 191 OS specified files (You can minimize the application when OS is installed) 4.1.2 Post installation OS update After installing Debian, it will automatically set the resolution based on the mobile display specification.