KKMod IMX515 ROM ToolKit - V1

Discussion in 'Freescale Based' started by KillerKink, Sep 9, 2011.

  1. KillerKink

    KillerKink Senior Member Developer

    Joined:
    Mar 16, 2011
    Messages:
    361
    Likes Received:
    77
    Trophy Points:
    102
    Location:
    Singapore
    Tablet / Device:
    Teclast P76ti
    ToolKit Download URL

    This is a self bootable toolkit CD which help with ROM update for those of you who are not familiar or do not the necessary softwares.

    It should work with all model of imx515 with ADB enable.

    Features highlight:

    - adb support
    - direct flashing of imx515 rom image instead of full raw sd image
    - flashing of raw sd image

    In all cases, burn the iso file into a CD and boot it up on up on a PC. if its work, you should get a text prompt.

    Use cases:

    1. Accessing to files from USB/Thumb drive.

    a ) insert thumb drive into usb port
    b ) you will see some messages on the screen indicating that the drive is inserted. "sdi" is the device name of your usb drive.

    [ 1490.287726] sd 8:0:0:0: [sdi] Assuming drive cache: write through
    [ 1490.292688] sd 8:0:0:0: [sdi] Assuming drive cache: write through

    c ) type "sudo fdisk -l /dev/sdi"

    Disk /dev/sdi: 4012 MB, 4012900352 bytes
    124 heads, 62 sectors/track, 1019 cylinders
    Units = cylinders of 7688 * 512 = 3936256 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000265

    Device Boot Start End Blocks Id System
    /dev/sdi1 * 1 1019 3917005 b W95 FAT32

    d ) There is only 1 parition on my thumb drive. type "sudo mount /dev/sdi1 /mnt" will connect the drive to the /mnt directory. Now all your files in the thumb drive is accessible via /mnt.


    2. updating/copying file in/to Android system partition:

    a ) connect tablet to pc using 30pins-usb cable.
    b ) type "adb-remount" (this will ensure that you can write into the system partition)
    c ) type "adb push <local file location> <system file location>. e.g. adb push /mnt/sensors.imx5x.so /system/lib/hw/


    3. flashing raw image to SD card.

    a ) insert usb microsd card reader
    b ) you will see some messages on the screen indicating that the drive is inserted. "sdi" is the device name of your usb drive.

    [ 1490.287726] sd 8:0:0:0: [sdi] Assuming drive cache: write through
    [ 1490.292688] sd 8:0:0:0: [sdi] Assuming drive cache: write through

    c ) type "sudo dd if=<image location> of=<card reader device>. e.g. sudo dd if=/mnt/kkmod-x-p1.img of=/dev/sdi

    4. Flash ROM files (for android 2.3 rom only. Does not work for 2.2)

    a ) insert usb microsd card reader
    b ) you will see some messages on the screen indicating that the drive is inserted. "sdi" is the device name of your usb drive.

    [ 2485.451845] sd 7:0:0:2: [sdg] Assuming drive cache: write through
    [ 2485.457851] sd 7:0:0:2: [sdg] Assuming drive cache: write through

    c ) type "sudo fdisk -l /dev/sdg". you must see six partitions.

    Disk /dev/sdg: 3965 MB, 3965190144 bytes
    122 heads, 62 sectors/track, 1023 cylinders
    Units = cylinders of 7564 * 512 = 3872768 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/sdg1 4 849 3199572 b W95 FAT32
    /dev/sdg2 852 892 155062 83 Linux
    /dev/sdg3 893 1017 472750 5 Extended
    /dev/sdg4 1018 1019 7564 83 Linux
    /dev/sdg5 893 974 310123+ 83 Linux
    /dev/sdg6 975 1015 155061+ 83 Linux


    d ) flashing system.img - type "sudo dd if=/mnt/system.img of=/dev/sdg2; sync"
    e ) flashing uImage - type "sudo dd if=uImage of=/dev/sdg bs=1M seek=1; sync"
    f ) flashing uramdisk - type "sudo dd if=uramdisk.img of=/dev/sdg bs=1M seek=6; sync"
    g ) flashing u-boot-no-pading - type "sudo dd if=u-boot-no-padding.bin of=/dev/sdg bs=1K seek=1; sync"
     

Share This Page