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
 

11 comments:

  1. how did you upgraded to 2.2? which rom? plz post the method..

    ReplyDelete
  2. First, select a 2.2 ROM you want to upgrade to. Yes, there are many 2.2 ROMs available on the net. check in http://boston-mania.blogspot.com.
    Some are factory/official ROMs and some are custom ROMs(cyanogen).

    The latest 2.2 factory/OFFICIAL ROM is from foxconn.
    http://uploading.com/files/8bebfc69/F0X-3260-0-0002-A01.rar/
    1. Install SUTLR_v1.7.0. Download links from from my post or
    http://uploading.com/files/7942c5ef/SUTLR_v1.7.0.zip
    2. Put the phone in download mode (Red + vol up + power).


    Now Connect the phone to PC.
    3. Browse for F0X-3260-0-0002-A01 [ROM] and select in recovery mode "Update Option: Erase user data" afterwards flash it.

    Now your phone has Android Froyo 2.2

    TO get ROOT access, need to install "su" binary:
    1. Install clockworkmod recovery either through fastboot or rommanager. Use version 2.5.1.0.
    http://uploading.com/files/9ef66e9f/clockwork-z71.img/

    Get A688 version V3.5 tools and unpack it.
    http://www.megaupload.com/?d=IFO209MS
    On a command prompt, go to the directory of fastboot.exe.

    Connect the phone on fastboot mode (Power + vol down + Red button). Connect phone to PC.
    fastboot flash recovery clockworkmodz71.img
    fastboot reboot

    Wait for 10-15 seconds for phone to reboot.


    2. Download "su: http://dl.dropbox.com/u/6408470/su-releases/su-2.3.6.1-ef-signed.zip AND put it into ur memory card (DO NOT PUT INSIDE FOLDER)
    3. Reboot to recovery mode (camera + vol up + power)
    4. select "install zip from sdcard"
    5. select "choose zip from sdcard"
    6. then select "su-2.3.6.1-ef-signed.zip"

    Reboot the phone and Install Rom manager from market. Upgrade the Clockworkmod recovery to 2.5.1.3 from Rom manager.

    Hope this helps

    ReplyDelete
    Replies
    1. Here are some of the factory Froyo ROMS from FOXCONN for Z71 commtiva(Spice). Note that these Roms are NOT rooted.

      Froyo 2.2.1.
      http://uploading.com/files/2m4d6fda/F0X-3230-0-0002-A02.zip/

      Froyo 2.2.0
      http://uploading.com/files/8bebfc69/F0X-3260-0-0002-A01.rar

      Rooted Custom Froyo 2.2.2 ROM Firetrap_lollipop_R2
      http://uploading.com/files/a31652ff/firetrap_LollipopR2.zip/

      A688 tools link from mediafire, as megaupload is no longer accessible
      http://www.mediafire.com/?4yqu9s64zlr9ddd

      Delete
  3. followed all steps. tried Official Apanda A60 Rom 2.2 & Official Foxconn Rom 2.2 but touch screen not working. what to do? i hv tried wiping data..

    ReplyDelete
  4. @Aalok
    I assume,
    1) The upgrade to Android 2.2 completed successfully without any errors on SUT 1.7.0.
    2) you were on Spice firmware 2.1 when you tried to upgrade.

    If any one of the two is NOT TRUE,
    Here is is what you can try.


    You need to go back Spice firmware 2.1. How?
    a) Download the 2.1 update from Spice.
    http://www.spiceglobal.com/document/e90ce024-e0e4-4698-93c7-c13badc57072.zip
    b) extract the firmware from the Spice update tool. You will find the firmware F0X-219M-0-5015-A01.nb0 inside the software update tool directory under "Program files" when you install Spice update tool onto your PC. If the directory is emtpy reinstall setup.exe as it will clean up this directory after every firmware update.

    c) Now put you phone in Download mode(power + red + Volume up).
    d) Connect to PC.
    e) Use SUT 1.7.0 to reinstall Spice 2.1 firmware
    and see if it completes successfully.

    f) Now, if everything is working fine under 2.1, you can try upgrading to 2.2 again. (I have flashed my phone about 25-30 times so far with different ROMs )

    If you still see the touch screen issue, it MAY BE a hardware problem/manufacturing defect which may have surfaced now. Don't worry, you can safely take it to Spice service center for a check/replacement, as it now only contains legal Spice firmware nothing else.

    ReplyDelete
  5. hey Vijay
    Great blog.Can you post the quadrant of the official 2.2 foxcon rom?
    Also can you tell me if the hands free button works on the 2.2 rom?
    In Cyanogen it did not work. Any inputs on battery life would be great :). am currently on orange boston official 2.1 rom.

    ReplyDelete
  6. tried flsHING WITH 2.1 N AFTER THT 2.2.

    touch screen works fine on 2.1
    but no response on 2.2

    ReplyDelete
  7. tried flashing with cyanogen 6 mod but screen freezes at the boot screen ? any solution ?

    ReplyDelete
  8. @vibhor,
    The quadrant results are NOT that great as the CPU speed is limited to 480 MHz. The quardrant result shows that its inbetween SEXperia 10i and HTC desire. It is definetly not upto the phones potential.

    ReplyDelete
  9. @vibhor,
    The best score for z71 clones so far with quadrant is
    http://boston-mania.blogspot.com/2010/11/boston-rom-22-800mhz-quadrant-pro.html

    I could not get the CPU to go beyond 480 MHz using any of the cpu tools. I think this is limited inside the kernel under sysfs module (/sys/devices/system/cpu/cpu0/cpufreq) where the cpuinfo_max_freq & scaling_max_freq is limited to 480000.

    About the battery, I am a heavy user, so I keep charging it. I think may last for a day.

    All in all everything works for the first time.

    Handsfree, ofcourse works fine with this.

    ReplyDelete
  10. Guys check out this site it has 2.2.2 firetrap update for this phone

    and it offers a quadrant score of 1091

    ReplyDelete