Join Today
+ Reply to Thread
Page 5 of 12 FirstFirst 123456789 ... LastLast
Results 41 to 50 of 117
Like Tree1Likes

Thread: flashkit -- a new way to flash your phone

  1. #41
    Join Date
    Feb 2005
    Location
    The Netherlands
    Cell: E680 flashed to E680i
    Posts
    1,368

    Default Re: flashkit -- a new way to flash your phone

    because the /ezxlocal directory is a different partition of the DiskOnChip thingy or whatever its called. do a df -h to see what partition ezxlocal is
    Yes, but does it run Linux?

  2. #42
    Join Date
    Apr 2005
    Location
    Singapore
    Posts
    15

    Default Re: flashkit -- a new way to flash your phone

    I am trying to modify the gaintable on my E680 (original firmware). Reading some threads here, I figure that I have to first copy my root filesystem, mount it on my PC, edit it and reflash the filesystem using flashkit.

    I can't figure out how to copy the rootfs.
    When I telnet to the machine:
    # mount
    rootfs on / type rootfs (rw)
    /dev/root on / type cramfs (rw)
    none on /ram type ramfs (rw)
    proc on /ram/proc type proc (rw)
    /dev/tffsa on /usr/language type cramfs (rw)
    /dev/roflash2 on /usr/setup type cramfs (rw)
    none on /dev/pts type devpts (rw)
    /dev/mtdblock2 on /ezxlocal type vfm (rw,noatime)
    /dev/tffsb1 on /diska type vfat (rw,noatime)
    /dev/mmca1 on /mmc/mmca1 type vfat (rw,noatime)

    # cat /proc/mtd
    dev: size erasesize name
    mtd0: 00020000 00008000 "Bootloader"
    mtd1: 000e0000 00020000 "Kernel"
    mtd2: 00580000 00020000 "VFM_Filesystem"
    mtd3: 00020000 00020000 "Logo"

    Turns out, /dev/root isn't actually there. Also, the flashkit guide refers to mtd5 and upwards which aren't listed. So I tried using flashkit.

    After loading rwflash.o, I telnet back into the phone and this is what I get:
    # cat /proc/mtd
    dev: size erasesize name
    mtd0: 00020000 00008000 "Bootloader"
    mtd1: 000e0000 00020000 "Kernel"
    mtd2: 00580000 00020000 "VFM_Filesystem"
    mtd3: 00020000 00020000 "Logo"
    mtd4: 000e0000 00020000 "R/W Kernel"
    mtd5: 018e0000 00020000 "R/W RootFS"
    mtd6: 00020000 00020000 "R/W Setup"
    mtd7: 00020000 00020000 "R/W Logo"

    But again, when I try to create a cramfs file of my rootfs:
    # dd if=/dev/mtd5 of=/mmc/mmca1/my_rootfs.cramfs
    dd: opening `/dev/mtd5': No such file or directory

    So how do I get hold of the filesystem with /usr in it? Can someone help me out with this?

  3. #43
    Join Date
    Feb 2005
    Location
    sg<br>Mobile: e680 -> i (c5a4p)
    Posts
    1,412

    Default Re: flashkit -- a new way to flash your phone

    use flashkit to unlock the mtd partition, or whatever its called. after that then you can dd it out: dd if=/dev/mtd5 of=/mmc/mmca1/my_rootfs.cramfs

  4. #44
    Join Date
    Apr 2005
    Location
    Singapore
    Posts
    15

    Default Re: flashkit -- a new way to flash your phone

    yantz, that's exactly what I did. Unlocked the mtd devices and tried dding it but /dev/mtd5 doesn't exist.

  5. #45
    Join Date
    Feb 2005
    Location
    sg<br>Mobile: e680 -> i (c5a4p)
    Posts
    1,412

    Default Re: flashkit -- a new way to flash your phone

    you have to carry on with start.sh, it will unmount the rootfs and mount miniroot

  6. #46

    Default Re: flashkit -- a new way to flash your phone

    Problem is.. /dev/mtd5 node is created on the phone. So you have to create it yourself.

    mknod /tmp/mtd5 c 90 10
    dd if=/tmp/mtd5 of=/mmc/mmca1/rootfs.cramfs

    Note that mtd char minor numbers are incremented in multiples of 2. Even numbers are read/write devices while odd numbers are readonly.

    e.g. mtdX is created using mknod mtdX 90 X*2

  7. #47
    Join Date
    Apr 2005
    Location
    Singapore
    Posts
    15

    Default Re: flashkit -- a new way to flash your phone

    thanks yantz & cyph. I can read from /dev/mtd5. But a new question now

    The guide says I should be using 'bs=4096' when writing the cramfs image to the phone. Should I use the bs=4096 when copying my root from the phone? I get different record numbers..

    root # dd if=/dev/mtd5 of=/mmc/mmca1/myroot.cramfs
    50944+0 records in
    50944+0 records out
    root # dd bs=4096 if=/dev/mtd5 of=/mmc/mmca1/myroot_bs_4096.cramfs
    6368+0 records in
    6368+0 records out

    Which one should I use? I would like some confirmation before I try to flash this image back on the phone

  8. #48
    Join Date
    Feb 2005
    Location
    sg<br>Mobile: e680 -> i (c5a4p)
    Posts
    1,412

    Default Re: flashkit -- a new way to flash your phone

    hehe i just used flashcp -v

  9. Default Re: flashkit -- a new way to flash your phone

    Hi all,

    I tried to use the first part of the flashkit procedure(steps 1-4), in order to add another language to my phone. I saw the flashrw_status file (`unlocked`). When I tried to change something in the folder usr/language/string, I got ` operation not permied` message. I also couldnt delete the flashrw_ststuas file. What did I do wrong? Do I have access to change files through the telnet using this procedure?

    Thanks


  10. #50
    Join Date
    Feb 2005
    Location
    The Netherlands
    Cell: E680 flashed to E680i
    Posts
    1,368

    Default Re: flashkit -- a new way to flash your phone

    This doesnt actually make the RO fs's RW'able, it unlocks them for reflashing.
    Yes, but does it run Linux?


 
+ Reply to Thread
Page 5 of 12 FirstFirst 123456789 ... LastLast

Similar Threads

  1. flashkit
    By lovegff in forum E6 General Chat
    Replies: 7
    Last Post: 05-05-2009, 04:48 AM
  2. flashkit
    By DTPhantom in forum A780 General Chat
    Replies: 5
    Last Post: 10-22-2007, 06:14 PM
  3. Phone flash error but phone still works(??)
    By Kotz in forum E680i General Chat
    Replies: 2
    Last Post: 06-16-2007, 01:09 AM
  4. how to use flashkit flash CG32
    By blue_stone in forum E680i General Chat
    Replies: 3
    Last Post: 06-12-2006, 11:48 AM
  5. How to flash A780 using FlashKit?
    By dunhill in forum A780 General Chat
    Replies: 2
    Last Post: 05-11-2006, 11:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1