ROM-VS-Kernel

For Many newbies its little difficult to differentiate android technical terms like kernel and rom , today i’ll try to make clear this two terms , as this is actually part of system.Other terms like adb , bootloader , recovery ,and so on i’ll try to cover in next post.

ROM-VS-Kernel

rom vs kernel

What is a ROM?

A ROM image is a data file that contains information used on a Read Only Memory chip. For our purposes, that means a complete system image of a device. Each Android device has its own ROM image that contains files and code needed to boot the device up and run Android on it. But this is only part of a ROM. A ROM also contains a GUI (graphical user interface), required and useful applications, support files for those applications and the kernel. Let’s have a look at the parts that make a ROM. Continue reading

Recovering Linux Grub (bootloader) In MultiBoot System.

Many of us would have faced problem of loosing linux grub/bootloader in multiboot system of Windows+Linux  after formatting the windows partition.Ina multiboot system , whenever we format system which was installed first we loose the boot option of the other operating system, here is the simple solution of recovering the linux boot option back without formatting again the linux partition

You Will Need :
1. Your current Linux’s  LIVE installation DISK.
2.Free 5 min of time 🙂

STEPS:
Ok after booting Linux LIVE disk open terminal and,

1.TYPE command:

sudo fdisk -l

it’ll give you list of all disk partition  ,so you can find in which partition linux is insatalled .
(in my case it’s ‘sda7’)

2.TYPE command:

sudo mount /dev/sda7 /mnt

This will mount partition having linux.

3.TYPE command:

sudo grub-install --root-directory=/mnt/ /dev/sda

Now This’ll install GRUB back.

If You have done it in correct way , you’ll get multiboot option back, so remove disk and reboot again ,ENJOY…:)

THIS IS HOW IT SHOULD LOOK.

4.TO update grub (OPTIONAL) reboot device in linux and TYPE command:

sudo update-grub

You Are Done Now ..

Install Linux Ubuntu on any Android phone

For those of you who want to install Ubuntu on your Android smartphone or
tablet device, here’s our universal guide on how to do it.
This guide should work on most “rooted” Android smartphones/tablets with
no further modification.Ofcourse its just for Fun..

File is  chrooted, so no need to worry about loss of information on your device.( don’t have to worry about this term)

[Tested on ArmV7 devices- Working]

[Have to test on ArmV6 Devices, worked with LG GT540]

Guide is with the easiest way!

REQUIREMENTS.

1.Rooted android with BusyBox install  [ if not installed , see step to install ]
2. Ubuntu files
3. Terminal Emulator
4. Android VNC (or any VNC- from play store)
5. Atleast 3.5 GB of free space in SD Card.

BUSYBOX INSTALL.

Now time to install busybox.  Once again, if you know you already have busybox installed skip this step.

Now type following in Terminal Emultor

su
cd /sdcard/ubuntu
Sh installbusybox.sh

(if it says already exist, then that’s fine)

MAIN GUIDE.

1. Download the files from below torrent link
2. Then make a folder named Ubuntu on your SD card and transfer them
there.
3. Finally open up termial emulator and type .

su
cd sdcard/ubuntu
sh ubuntu.sh
Bootubuntu

4.Now Type

apt-get install tightvncserver
export USER=root
vncserver –geometry 1280x800

5. (ignore the warning) Then go and open up Android VNC.
6. Enter the feilds as following: *Address*: localhost ((or keep empty,
it may work better for some that way))
*Password*: ubuntu
*Port*: 5900
B PP 24

You’re all set!!

Then click connect and it’s there.  Boom!!!!

DOWNLOAD

Link 1  (Torrent Link)

Link 2

Lost Linux password ? Reset it !

Have you ever been in a situation where you have lost your password and need to reset it as you want your files badly,You can easily reset passwords, though you must be careful. If a user has an encrypted home directory, you must not change the password this way! This will make all encrypted files inaccessible. You can only use this method on user that doesn’t have an encrypted home directory.

Steps:

1. Get the GRUB menu to show. It is shown by default if you have multiple OS installed, else please hold shift key down during booting to get the GRUB menu to show.

2. In the GRUB menu, highlight the OS you want to boot (if only one is installed, it is already highlighted). Then press the “e” key to edit the boot parameters.

3. Move your cursor to the end of the line similar to:

Code:
linux /boot/vmlinuz-3.2.0-23-generic root=UUID=b8080487-b557-4f55-b288-d7ef2c2b9cc1 ro   quiet splash $vt_handoff

and replace $vt_handoff with init=/bin/bash. So that it reads:

Code:
linux /boot/vmlinuz-3.2.0-23-generic root=UUID=b8080487-b557-4f55-b288-d7ef2c2b9cc1 ro   quiet splash init=/bin/bash

then press F10 to continue the boot.

4. After a little while, and some error messages you can ignore, you are now logged in on the root console without having had to enter a password. Next, run the following command to remount the / partition so you can write changes to it:

Code:
mount -o remount,rw /

5. Finally, run the following command for each user (without an encrypted home directory!) that you want to give a new password. Replace “username” with the name of the user.

Code:
passwd username

6. Then sync the file system so all changes are written to disk, and reboot:

Code:
sync
reboot -f

And, to be clear, once you have rebooted you need to login as an admin user to make changes to the system (somebody member of the sudo group). And you confirm where need with the admin’s own personal password. A standard user (not a member of the sudo group) is not allowed to make changes to the system.