$ ./pm-flash+ CACHEDIR=cache+ echo 'Waiting for device to be in the fastboot mode'Waiting for device to be in the fastboot mode+ fastboot getvar productproduct: hammerheadfinished. total time: -0.000s++ fastboot getvar product++ head -1++ awk '-F: ' '{print $2}'+ DEVICE_NAME=hammerhead+ confirm 'Connected device is hammerhead, is that correct? [y/N]'+ read -r -p 'Connected device is hammerhead, is that correct? [y/N] ' responseConnected device is hammerhead, is that correct? [y/N] y+ case $response in+ true+ PLATFORM=neon+ echo 'Continuing ...'Continuing ...+ getopts cp: opt+ '[' -z '' ']'+ download hammerhead neon+ '[' 2 -eq 0 ']'+ mkdir -p cache/+ pushd cache/~/pm-flashtool/cache ~/pm-flashtool+ echo 'Downloading latest rootfs ... 'Downloading latest rootfs ...+ '[' neon == neon ']'++ curl https://images.plasma-mobile.org/rootfs_stamp+ ROOTFS_VERSION=20190811-133243+ wget -c https://images.plasma-mobile.org/rootfs/pm-rootfs-20190811-133243.tar.gz -P rootfs--2019-12-03 10:52:11-- https://images.plasma-mobile.org/rootfs/pm-rootfs-20190811-133243.tar.gzResolving images.plasma-mobile.org (images.plasma-mobile.org)... 207.154.251.179Connecting to images.plasma-mobile.org (images.plasma-mobile.org)|207.154.251.179|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 1206030024 (1.1G) [application/x-gzip]Saving to: 'rootfs/pm-rootfs-20190811-133243.tar.gz'pm-rootfs-20190811-133243.tar 100%[=================================================>] 1.12G 15.9MB/s in 49s2019-12-03 10:53:01 (23.4 MB/s) - 'rootfs/pm-rootfs-20190811-133243.tar.gz' saved [1206030024/1206030024]+ ln -sf rootfs/pm-rootfs-20190811-133243.tar.gz pm-rootfs-latest.tar.gz+ '[' neon == arch ']'+ '[' neon == edge ']'+ echo '[done]'[done]+ echo 'Downloading the latest boot, recovery, and system images ... 'Downloading the latest boot, recovery, and system images ...++ curl https://images.plasma-mobile.org/halium/hammerhead/halium_stamp+ HALIUM_VERSION=20181029-111411+ wget -c https://images.plasma-mobile.org/halium/hammerhead/recovery.img -P hammerhead--2019-12-03 10:53:02-- https://images.plasma-mobile.org/halium/hammerhead/recovery.imgResolving images.plasma-mobile.org (images.plasma-mobile.org)... 207.154.251.179Connecting to images.plasma-mobile.org (images.plasma-mobile.org)|207.154.251.179|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 14872576 (14M)Saving to: 'hammerhead/recovery.img'recovery.img 100%[=================================================>] 14.18M 13.1MB/s in 1.1s2019-12-03 10:53:04 (13.1 MB/s) - 'hammerhead/recovery.img' saved [14872576/14872576]+ wget -c https://images.plasma-mobile.org/halium/hammerhead/20181029-111411/system.img -P hammerhead/20181029-111411--2019-12-03 10:53:04-- https://images.plasma-mobile.org/halium/hammerhead/20181029-111411/system.imgResolving images.plasma-mobile.org (images.plasma-mobile.org)... 207.154.251.179Connecting to images.plasma-mobile.org (images.plasma-mobile.org)|207.154.251.179|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 116252672 (111M)Saving to: 'hammerhead/20181029-111411/system.img'system.img 100%[=================================================>] 110.87M 29.9MB/s in 4.2s2019-12-03 10:53:08 (26.2 MB/s) - 'hammerhead/20181029-111411/system.img' saved [116252672/116252672]+ wget -c https://images.plasma-mobile.org/halium/hammerhead/20181029-111411/boot.img -P hammerhead/20181029-111411--2019-12-03 10:53:08-- https://images.plasma-mobile.org/halium/hammerhead/20181029-111411/boot.imgResolving images.plasma-mobile.org (images.plasma-mobile.org)... 207.154.251.179Connecting to images.plasma-mobile.org (images.plasma-mobile.org)|207.154.251.179|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 8200192 (7.8M)Saving to: 'hammerhead/20181029-111411/boot.img'boot.img 100%[=================================================>] 7.82M 9.08MB/s in 0.9s2019-12-03 10:53:10 (9.08 MB/s) - 'hammerhead/20181029-111411/boot.img' saved [8200192/8200192]+ rm -f hammerhead/latest+ ln -sf 20181029-111411 hammerhead/latest+ echo '[done]'[done]+ popd~/pm-flashtool+ flash-phone hammerhead+ '[' 1 -eq 0 ']'+ echo -n 'Flashing recovery image ... 'Flashing recovery image ... + fastboot flash recovery cache/hammerhead/recovery.img+ echo -n '[done]'[done]+ fastboot boot cache/hammerhead/recovery.imgdownloading 'boot.img'...OKAY [ 0.633s]booting...OKAY [ 0.109s]finished. total time: 0.758s+ wait_for_device++ adb shell echo 1+ test -z ''+ echo -n ..+ sleep 3++ adb shell echo 1+ test -z ''+ echo -n ..+ sleep 3++ adb shell echo 1+ test -z $'1\r'+ echo++ readlink -f cache/pm-rootfs-latest.tar.gz+ ./rootstock-touch-install /c/Users/iec3/pm-flashtool/cache/pm-rootfs-latest.tar.gz cache/hammerhead/latest/system.img cache/hammerhead/latest/boot.img./rootstock-touch-install: line 141: exec: sudo: not found
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]