We will be running Ubuntu “chrooted” under Android OS, which just
means that we will be running a “virtual” Ubuntu OS that runs on top of
the Android OS. Your Android OS will work fully (e.g. your phone will
keep working normally) while the Ubuntu runs on top of it.First of all,
you should have your Android device “rooted” because you need root
access to run Ubuntu off your Android.
Second, your Android OS must support loop devices. Most newer
Android smartphones/tablets come with this support so we can mount our
Ubuntu image as a loop device. If not, you will either have to build
your own kernel with support for loop devices or you can try an
aftermarket ROM for your phone as most aftermarket ROMs come with
support for it.For example, G2 Phone and Nexus One both come with loop
device support so there’s no need for us to compile a new kernel for it
but for others, you may have to.
Download Ubuntu from:-Download ubuntu.zip
Steps:-
- Turn USB storage ON then copy over the Ubuntu folder to the root directory of your SD card.
- make sure you have your Android smartphone/tablet “rooted”
- You must have Android SDK installed or have access to adb.exe.
- Make sure your Android phone/tablet is in debugging mode.[Go to Settings->Applications->Development and make sure USB Debugging is checked ON.]
- Connect your Android device to your computer via USB cable and set the USB mode to “Just Charge”.
- Your Android device should be recognized as “ADB Device” under Device Manager. If not, install appropriate drivers.
- Open up a command prompt by typing “cmd” under Start->Search programs and files.
- Browse to your SDK directory where you installed the Android SDK:
Then go into platform-tools directory:
- Type “adb devices” to double-check your Android device is recognized.
- Type “adb shell” to enter the Android shell.
- Then type “su” to enter super user mode, then type “cd /sdcard” and “cd ubuntu” to enter the ubuntu directory in your SD card of your Android device.
- Next, type “sh ubuntu.sh” to run the script which will basically get your Ubuntu image ready to run on your Android smartphone/tablet.
- Type “bootubuntu” to enter Ubuntu. (Next time you enter Ubuntu, you just need to type “bootubuntu” from your/sdcard/ubuntu directory, no need to run ubuntu.sh again.
If you got “root@localhost” at this point, congratulations! This
means your Android OS comes with loop device support and Ubuntu is now
running “chrooted” on top of your Android OS!!!However, if you failed at
this point, your Android OS probably doesn’t support loop devices, try
installing another ROM or compiling your own kernel with loop device
support.
Thanks for visiting my blog plz comment if you like my post.......
Share it.......
Share it.......
0 comments:
Post a Comment