Showing posts with label Android boot modes. Show all posts
Showing posts with label Android boot modes. Show all posts

Monday, January 10, 2011

Partitions inside Spice MI 300

Spice MI 300 is powered by linux 2.6 kernel and has the following partitions. This snapshot was taken on the device running Android 2.2(Froyo).
 $cat /proc/mtd
dev:    size    erasesize   name         
 mtd0:  00500000 00020000 "boot" 
 mtd1:  00200000 00020000 "misc" 
 mtd2:  00080000 00020000 "splash" 
 mtd3:  00500000 00020000 "recovery"
 mtd4:  00500000 00020000 "ftm" 
 mtd5:  01a00000 00020000 "hidden"
 mtd6:  00060000 00020000 "dbgmsk"
 mtd7:  0a000000 00020000 "system"
 mtd8:  00200000 00020000 "misc2"
 mtd9:  05800000 00020000 "cache"
 mtd10: 0ab80000 00020000 "userdata"

Partition name            Device path                                          Size
boot         /dev/block/mtdblock0          5   MiB
misc         /dev/block/mtdblock1          2   MiB
splash       /dev/block/mtdblock2          512 KiB
recovery     /dev/block/mtdblock3          5   MiB
ftm          /dev/block/mtdblock4          5   MiB
hidden       /dev/block/mtdblock5          26  MiB
dbgmsk       /dev/block/mtdblock6          384 KiB
system       /dev/block/mtdblock7          160 MiB
misc2        /dev/block/mtdblock8          2   MiB
cache        /dev/block/mtdblock9          88  MiB
userdata     /dev/block/mtdblock10         171 MiB

 
Mobile devices filesytems typically are, flash filesystem , here we see yaffs2 filesystem
and MicroSD card is mounted with vfat fs.
 

rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/dev/block/mtdblock7 /system yaffs2 rw,relatime 0 0
/dev/block/mtdblock10 /data yaffs2 rw,nosuid,nodev,relatime 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/block/mtdblock1 /misc yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock5 /hidden yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock9 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock8 /misc2 yaffs2 rw,nosuid,nodev,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime
 

Sunday, January 9, 2011

Boot modes of Spice MI 300 phone

Spice MI 300 can be booted in 5 different modes based what you intend to do with the phone apart from the power on.
(Clones are Vibo A688, Orange Boston, Gsmart G1305, Motorola XT502, Apanda A60,  Excalibur, A1, A88, Commtiva Z71, Blaze , Videocon Zeus...)
============================================
Boot Modes on Spice MI 300
============================================
Recovery Mode                      : Vol  Up        + Camera             + Power
FTM Mode(bootloader)           : Vol  Up        + Vol Down           + Power
Download Mode                     : Vol  Up         + Hang Up(red)    + Power
Fastboot Mode                      : Vol Down      + Hang Up(red)    + Power
Master Reset                        : Camera        + Hang Up(red)    + Power   
============================================

Incoming Download mode (Vol Up + Red + power)
----------------------------------------------------------------
This Mode is used for updating firmware .nb0 file or the ROM file using the utilities like RUT(ROM updating tool) , Software update tool(SUT) from computer.
Windows 64 RUT
Windows 32bit RUT

Windows 32/64bit SUT

Android 1.6.2 based firmware for a  spice MI 300 clone
Firmware Apanda A60 1.6.2
Android 2.2 firmware from Foxconn

Tugzip to unrar the firmware

Download these and start the SUT and point it to the unzipped Firmware file .nb0.  Put the phone in incoming download mode. Now connect the phone to PC  in Incoming Download Mode and press next to complete the ROM update.


Fast boot mode(Vol Down + Red + Power)
----------------------------------------------------

Fastboot is a protocol used to update image files of a ROM onto a android device.