Onda V812 read/write /dev/block/nandc

Discussion in 'Onda Tablet Forum' started by zer0mode.ax, Feb 23, 2013.

  1. zer0mode.ax

    zer0mode.ax Member

    Joined:
    Feb 23, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    60
    Hello all


    Im work with this tut.
    HOWTO: Unpack, Edit, and Re-Pack Boot Images - Android Wiki


    Everything is fine except for the part


    flash_image boot /sdcard/image.img ---> NOT OK
    error scanning partitions: No such file or directory


    im trying with fastboot but command dont exist


    cat /proc/mtd ----> File not exist but there is something else i found


    # mount point fstype device device2
    /bootloader vfat /dev/block/nanda
    /env emmc /dev/block/nandb
    /boot emmc /dev/block/nandc
    /system ext4 /dev/block/nandd
    /data ext4 /dev/block/nande
    /misc emmc /dev/block/nandf
    /recovery ext4 /dev/block/nandg
    /cache ext4 /dev/block/nandh
    /sdcard vfat /dev/block/mmcblk0p1 /dev/block/nandj


    I have concluded that there is no mount_point who exist /boot nor /misc nor /env .... using emmc fsys


    I try this...
    After unpacking/packing ramdisk and kernel without any changes into ramdisk folder...
    File size of original and recompiled image is equal 16MB but little difference in ~10b


    adb push image.img /sdcard/image.img
    adb shell su -c "cat /dev/null > /dev/block/nandc"
    adb shell su -c "cat /sdcard/image.img > /dev/block/nandc"
    adb shell su -c "sync"


    Reboot device....
    Device stuck up on first logo (Core 4) :(


    now im tried wipe image and fill with content without unpacking/packing
    adb shell su -c "cat /dev/block/nandc > /sdcard/image.img"
    adb shell su -c "cat /dev/null > /dev/block/nandc"
    adb shell su -c "cat /sdcard/image.img > /dev/block/nandc"
    adb shell su -c "sync"


    Reboot device....
    Everithing OK


    Is there any chance that the problem is in the process of unpacking/packing or something else i dont understand ???
     

Share This Page

Search tags for this page

ext4 emmc tablet

,

how to know dev block android

,

onda v812 adb shell