Join Today
+ Reply to Thread
Results 1 to 4 of 4
  1. #1

    Question Duel boot problem plz help i am at the end.

    I have followed all the steps that were in openezx wiki.
    Enter the bootloader and prepare the phone to be flashed:

    ./boot_usb setflag usb
    ./boot_usb gen-blob 0

    Backup your existing kernel:

    ./boot_usb read 0xA0000 1048576 backup-of-kernel-partition
    # Then remove the famous 2048 bytes offset:
    dd if=backup-of-kernel-partition bs=1k skip=2 of=24-kernel-backup
    Keep these two backups, we will use them both later:

    Now copy and rename this "24-kernel-backup" file to "default" on the /boot/ folder of the (micro) SD card. Make also sure the file /boot/menu.lst is in the (micro) Sd as well and point to that "default" kernel too.

    Check gen-blob's size (must not exceed 128KiB)

    ls -l gen-blob
    Flash gen-blob WARNING: For gen2 phones only! :

    dd if=/dev/zero bs=1 count=2048 of=needed-offset
    cat needed-offset gen-blob > gen-blob-to-be-flashed-to-0xA0000
    #flash using boot_usb/gen-blob, example: boot_usb flash <addr> <file>
    ./boot_usb flash 0xA0000 gen-blob-to-be-flashed-to-0xA0000
    [edit]After the flash
    •Boot with vol- (next song on E2) pressed for the boot menu or with vol+ (previous song on E2) for the usb mode.
    •You can power off on usb mode with "boot_usb off".
    •You can still have access to the MBM flash mode with the usual combo.
    [edit]Re-flashing the original kernel, after genblob, in the device (optional)
    Re-flashing a (prepared) 2.4 original kernel require you a few minuts more, but bring some advantages...(the ability to boot the motorola kernel, and even charge the battery without a (micro)SD in the phone).

    But:

    •You should always do a backup (possibly, a full backup) before replacing anything on the phone...
    •A little mistake could erase the partiton next to the kernel one ("resource partition"), etc...
    Gen-blob always search at offset 0xC0000 and if it find a special 'magic' flag, then it will boot this kernel by default.

    [edit]Prepare the 2.4 kernel to be re-flashed
    You remember? Sooner, we did a backup of the kernel partition (third command described on this page):

    So, hopefully, you kept that backup file...

    Now you need to remove the 2048 bytes offset, and resize the file:

    dd if=backup-of-kernel-partition bs=1 skip=2048 count=917500 of=kernel-with-no-extra-bytes
    Download and add the magic flag to the kernel for genblob to recognize it:

    # download a flag to put at the beggining of the kernel before flashing it.
    wget http://people.openezx.org/wyrm/gen-b...oot-from-flash
    cat magic-boot-from-flash kernel-with-no-extra-bytes > kernel-to-be-flashed-to-0xC0000
    [edit]Checks before re-flashing the 2.4 kernel on the phone
    Then you need to assert the resulting 'kernel-to-be-flashed-to-0xC0000' file is exactly 917504 bytes big:

    ls -l kernel-to-be-flashed-to-0xC0000
    # If the result is bigger than 917504 bytes, then don't flash it! You made a mistake somewhere...
    Then you can also check if the file hasn't been cut at its end: EXAMPLE 1:

    hexdump kernel-to-be-flashed-to-0xC0000 | tail
    [...]
    [...]
    [...]
    hexdump kernel-to-be-flashed-to-0xC0000 | tail
    00d8e80 ffff ffff ffff ffff ffff ffff ffff ffff
    *
    00e0000
    EXAMPLE 2:

    hexdump kernel-to-be-flashed-to-0xC0000 | tail
    [...]
    [...]
    [...]
    00d5970 5911 000d 2c6c 0000 ddb8 000d 0000 0000
    00d5980 0000 0000 0000 0000 0000 0000 0000 0000
    *
    00e0000
    One of these line (the last!) must end with at least a few ' f f f f ' or ' 0 0 0 0 '...

    [edit]Reflash
    If your checks has passed successfully, then you can flash the kernel

    WARNING: For gen2 phones only! :

    #(Re-)Flash the original kernel
    ./boot_usb flash 0xC0000 kernel-to-be-flashed-to-0xC0000
    Everything went fine all the size were correct i used ubuntu9.10 for this.
    but at end when i press power on and vloume key then it shows the duel boot menu but i don't know how to boot the firmware from MMC after duel boot.
    plz help.
    Last edited by prashantvrm; 05-27-2010 at 02:18 AM.

  2. #2
    Join Date
    Apr 2007
    Location
    Malang, Indonesia
    Posts
    779

    Default

    have checked the menu.lst?
    I was part of that strange race of people aptly described as spending their lives doing things they detest to make money they don't want to buy things they don't need to impress people they dislike. -- Emile Henry Gauvreay

  3. #3

    Default

    Quote Originally Posted by jendral_hxr View Post
    have checked the menu.lst?
    But i had check it i don't know how to put new firmware by mmc or flash on mmc.

    title A1200 OpenEZX
    kernel /boot/zImage-openezx <-------- what to do with this.
    param mem=32M@0xA0000000 mem=16M@0xAC000000 rootfstype=ext3 <-------- what to do with this.
    machid 1742

  4. #4
    Join Date
    Apr 2007
    Location
    Malang, Indonesia
    Posts
    779

    Default

    Read more carefully this time, dear
    Dual boot - OpenEZX

    After you copy the 'orginal' kernel (the one from Motorola firmware), place it in /mmc/mmca1/boot
    Then, edit the menu.lst to include that kernel image. Simple, no?
    // I do miss the old days when I have a lot of leisure to do EZX stuff. Surely university life is harsh
    I was part of that strange race of people aptly described as spending their lives doing things they detest to make money they don't want to buy things they don't need to impress people they dislike. -- Emile Henry Gauvreay


 
+ Reply to Thread

Similar Threads

  1. Problem plz help...
    By rythm07devine in forum E6 General Chat
    Replies: 1
    Last Post: 09-23-2009, 07:12 PM
  2. Problem with E6 (unlock/lock code during boot)
    By superfly86 in forum E6 General Chat
    Replies: 4
    Last Post: 07-03-2009, 10:10 AM
  3. problem, plz help
    By pajo in forum A1200 General Chat
    Replies: 7
    Last Post: 12-05-2008, 05:56 PM
  4. Is there any facility of using duel sim or not ?
    By jeeri in forum E6 General Chat
    Replies: 0
    Last Post: 02-06-2008, 12:35 AM
  5. Plz Help!! my E680 does not boot up
    By mobiledoctor in forum E680i General Chat
    Replies: 5
    Last Post: 01-22-2006, 05:43 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