Showing posts with label Booting. Show all posts
Showing posts with label Booting. Show all posts

Saturday, 6 September 2014

How To Dual-Boot Your Device With Both Android And Ubuntu Touch

ubuntu  interface

dual boot ubuntu        Canonical has announced their dual-boot tool for Android devices but it is a developer preview version             
                      
         You would have noticed that Android-based smartphones and tablets are almost at par with computers. So, just like computers, dual booting these devices is quite possible. In this article, we’ll explain how to dual-boot your device with Android and Ubuntu Touch operating systems. Canonical has announced a dual-boot tool for its OS recently, but being a developer preview, it is not yet completely bug-free. So, use it at your own risk.       


The tool allows you to use both Android and Ubuntu Touch operating systems on your devices. It requires reflashing of the recovery partition of your device. The steps involved in the process are as follows.
But first, you need to meet the following requirements,

- You need an unlocked Android device.
- You need to backup the copy of your current operating system.

Let’s begin.

1. First, start your Ubuntu desktop, add the repository and update it.

sudo add-apt-repository ppa:phablet-team/tools
sudo apt-get update

2. Next you need to install the Developer Preview Tools

sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot

3. If your Android device isn’t unlocked already, then unlock it. This can be done by enabling USB debugging on your Android device and then connect it to Fastboot on your Ubuntu desktop.

sudo fastboot oem unlock

4. Now you need to download the installation script and make it executable.

chmod +x dualboot.sh

5. Now you will be installing the dual booth Ubuntu Installer. This will be done by running the command given below along with your Android device connected to the computer. Here, if you are using a stock ROM, then use the first command. If you’re using a non-stock OS then the second command will come in handy.

- ./dualboot.sh FULL
- ./dualboot.sh UPDATE

A stock ROM is one that has no modifications, like an added SuperUser app etc. A non-stock ROM is like a CyanogenMod edition or something like that.

6. After executing the script, your device may reboot several times. This is normal, so don’t worry about it. When the process is completed, the Ubuntu Installer will be added to the Apps section. In order to install Ubuntu onto it, use the command below,

adb shell “su sh rm -rf /cache/*”
 
7. Open the Ubuntu Installer and choose ‘Trusty’ channel. This will be followed by a number of on-screen instruction that you will need to follow. These will also cover how to provide SuperUser grants. Let the installation continue after this.

8. Once the installation is completed, you will find the ‘Reboot to Ubuntu’ option. Choose this to boot your device with Ubuntu Touch.                        

Monday, 23 June 2014

Top Resources To Build Your Own Operating System...!!!


Give it a try. Who knows, you could be the next big startup in Silicon Valley waiting to take over the world..!  
 

  As a programmer, building your own operating system will definitely be a tempting proposition. It takes in depth understanding of computers and you have to be a powerhouse coder. Here some of the resources that will help in your endeavour.



1. How to Make a Computer Operating System

Let's start with a simple Wikihow on making your own computer operating system before we move on to the more complex stuff.

2. Your First Kernel Module

This lesson teaches you to write and load a simple kernel module. This is what allows you to write standalone kernel code.

3. Writing Your Own Loadable Kernel Module

An operating system is built on a kernel. For example, Android is based on the Linux kernel. Learning to build you own kernel is an imperative for building your own OS.

4. The Linux Kernel Module Programming Guide

This book is a complete guide on writing your own loadable kernel module. The book is available in two versions, one for Linux 2.4 and the other for Linux 2.6.

5. Writing A Kernel in C

As the name suggests, this book teaches you how to write a kernel in the C Programming language. According to the book's introduction, the process is a matter of getting some details right.

6. How to write a simple operating system

Here you will learn to write a simple computer operating system on the x86 assembly language. It will explain various aspects like the fundamentals of the PC boot process, assembly language and other important aspects of an operating system.

7. A Simple guide to building your own Linux Kernel

Do you want to build your own Linux kernel? This is aimed at teaching complete newcomers how to develop their own Linux kernel. Try your hand at it and find the Torvalds in you!

8. Writing A Simple Operating System — from Scratch

This is a free ebook that will teach you how to develop your own operating system right from the scratch. It covers computer architecture, boot programming, writing and loading your own kernel and many other aspects of the process.

9. Onyxkernel

This is a work in progress right now but you can still learn a lot from this resource. You can learn how to make a simple operating system through this resource.

10. Raspberry Pi Kernel development

This is a blog that deals with low-level embedded programming concepts. You can learn how to develop a Raspberry Pi kernel through this.

11. Building a Simple Raspberry Pi OS
This is a summer course from the University of Cambridge on building your very own Raspberry Pi operating system.