ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo ./1_erase.sh [sudo] password for ahmed: Warning: May have to do this script over and over (reboot in between) in order to get both ipu2 and dsp1 to erase correctly ... OKAY [ 0.405s] finished. total time: 0.405s erasing 'ipu2'... FAILED (remote: failed erasing from device) finished. total time: 6.763s erasing 'dsp1'... FAILED (remote: cannot find partition) finished. total time: 2.038s ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo ./1_erase.sh Warning: May have to do this script over and over (reboot in between) in order to get both ipu2 and dsp1 to erase correctly ... OKAY [ 0.400s] finished. total time: 0.400s erasing 'ipu2'... FAILED (remote: failed erasing from device) finished. total time: 7.035s erasing 'dsp1'... FAILED (remote: cannot find partition) finished. total time: 2.038s ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ cat 1_erase.sh echo "Warning: May have to do this script over and over (reboot in between) in order to get both ipu2 and dsp1 to erase correctly" fastboot oem format sleep 1 fastboot erase ipu2 fastboot erase dsp1 ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo fastboot erase ipu2 erasing 'ipu2'... FAILED (remote: failed erasing from device) finished. total time: 6.972s ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo fastboot erase ipu2 erasing 'ipu2'... FAILED (remote: cannot find partition) finished. total time: 2.038s ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo fastboot erase ipu2 < waiting for any device > erasing 'ipu2'... FAILED (remote: cannot find partition) finished. total time: 2.038s ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo fastboot erase ipu2 erasing 'ipu2'... OKAY [ 1.308s] finished. total time: 1.308s ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo ./1_erase.sh Warning: May have to do this script over and over (reboot in between) in order to get both ipu2 and dsp1 to erase correctly ... OKAY [ 0.018s] finished. total time: 0.018s erasing 'ipu2'... FAILED (remote: failed erasing from device) finished. total time: 6.512s erasing 'dsp1'... FAILED (remote: cannot find partition) finished. total time: 2.038s ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo ./1_erase.sh Warning: May have to do this script over and over (reboot in between) in order to get both ipu2 and dsp1 to erase correctly ... OKAY [ 0.018s] finished. total time: 0.018s erasing 'ipu2'... OKAY [ 1.391s] finished. total time: 1.391s erasing 'dsp1'... OKAY [ 0.118s] finished. total time: 0.118s ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo ./2_fastboot.sh Fastboot: ./fastboot Image location: ./ Fastboot - device detected: 030150126b5600a2 DTB = ./dra7-evm-lcd-osd.dtb Create GPT partition table ... OKAY [ 0.018s] finished. total time: 0.018s Setting target for bootloader to SPI ... OKAY [ 5.337s] finished. total time: 5.337s Flashing bootloader..... xloader: ./GP_MLO target reported max download size of 788529152 bytes sending 'xloader' (127 KB)... OKAY [ 0.020s] writing 'xloader'... OKAY [ 0.361s] finished. total time: 0.381s bootloader: ./u-boot.img target reported max download size of 788529152 bytes sending 'bootloader' (817 KB)... OKAY [ 0.053s] writing 'bootloader'... OKAY [ 1.418s] finished. total time: 1.471s rebooting into bootloader... OKAY [ 0.021s] finished. total time: 0.223s Re-creating GPT partition table with new bootloader ... OKAY [ 0.018s] finished. total time: 0.018s Flash android partitions target reported max download size of 788529152 bytes sending 'boot' (8736 KB)... OKAY [ 0.366s] writing 'boot'... OKAY [ 0.939s] finished. total time: 1.305s Flashing environemnt..... environment: ./dra7-evm-lcd-osd.dtb target reported max download size of 788529152 bytes sending 'environment' (108 KB)... OKAY [ 0.019s] writing 'environment'... OKAY [ 0.023s] finished. total time: 0.042s target reported max download size of 788529152 bytes sending 'recovery' (13400 KB)... OKAY [ 0.540s] writing 'recovery'... OKAY [ 1.206s] finished. total time: 1.746s target reported max download size of 788529152 bytes sending 'system' (653360 KB)... OKAY [ 25.187s] writing 'system'... OKAY [ 47.912s] finished. total time: 73.099s target reported max download size of 788529152 bytes sending 'vendor' (17776 KB)... OKAY [ 0.713s] writing 'vendor'... OKAY [ 1.966s] finished. total time: 2.679s Resizing userdata.img Current userdata partition size=6185567 KB Creating filesystem with parameters: Size: 6334017536 Block size: 4096 Blocks per group: 32768 Inodes per group: 8064 Inode size: 256 Journal blocks: 24162 Label: Blocks: 1546391 Block groups: 48 Reserved block group size: 383 Created filesystem with 23/387072 inodes and 52565/1546391 blocks target reported max download size of 788529152 bytes sending 'userdata' (104785 KB)... OKAY [ 3.891s] writing 'userdata'... OKAY [ 8.668s] finished. total time: 12.559s target reported max download size of 788529152 bytes sending 'cache' (192 KB)... OKAY [ 0.023s] writing 'cache'... OKAY [ 0.043s] finished. total time: 0.066s rebooting... finished. total time: 0.255s After this script, let Android boot to UI before executing the next script ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ ^C ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ adb devices List of devices attached 030150126b5600a2 device ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo ./3_push.sh restarting adbd as root ./3_push.sh: 8: [: List of devices attached 030150126b5600a2 device: unexpected operator remount succeeded omapconf: 1 file pushed. 18.5 MB/s (2145005 bytes in 0.111s) appA15HeartBeatHost: 1 file pushed. 0.5 MB/s (20380 bytes in 0.037s) vis3.2/dra74-ipu2-fw.xem4: 1 file pushed. 22.9 MB/s (7001140 bytes in 0.291s) vis3.2/dra74-dsp1-fw.xe66: 1 file pushed. 23.4 MB/s (584384 bytes in 0.024s) ahmed@ahmed-Lenovo:~/RobustRVC-5.0/RobustRVC-5.0/rvc_phase-6/emmc_files$ sudo ./4_rvc_fastboot_dra74x.sh < waiting for any device > ... OKAY [ 0.424s] finished. total time: 0.424s target reported max download size of 788529152 bytes sending 'ipu2' (6837 KB)... OKAY [ 0.267s] writing 'ipu2'... OKAY [ 0.883s] finished. total time: 1.151s target reported max download size of 788529152 bytes sending 'dsp1' (570 KB)... OKAY [ 0.035s] writing 'dsp1'... OKAY [ 0.118s] finished. total time: 0.154s target reported max download size of 788529152 bytes sending 'environment' (109 KB)... OKAY [ 0.034s] writing 'environment'... OKAY [ 0.023s] finished. total time: 0.057s rebooting... finished. total time: 0.205s