C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --help usage: fastboot [ <option> ] <command> commands: update <filename> Reflash device from update.zip. flashall Flash boot, system, vendor, and -- if found -- recovery. flash <partition> [ <filename> ] Write a file to a flash partition. flashing lock Locks the device. Prevents flashing. flashing unlock Unlocks the device. Allows flashing any partition except bootloader-related partitions. flashing lock_critical Prevents flashing bootloader-related partitions. flashing unlock_critical Enables flashing bootloader-related partitions. flashing get_unlock_ability Queries bootloader to see if the device is unlocked. flashing get_unlock_bootloader_nonce Queries the bootloader to get the unlock nonce. flashing unlock_bootloader <request> Issue unlock bootloader using request. flashing lock_bootloader Locks the bootloader to prevent bootloader version rollback. erase <partition> Erase a flash partition. format[:[<fs type>][:[<size>]] <partition> Format a flash partition. Can override the fs type and/or size the bootloader reports. getvar <variable> Display a bootloader variable. set_active <suffix> Sets the active slot. If slots are not supported, this does nothing. boot <kernel> [ <ramdisk> [ <second> ] ] Download and boot kernel. flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] Create bootimage and flash it. devices [-l] List all connected devices [with device paths]. continue Continue with autoboot. reboot [bootloader] Reboot device [into bootloader]. reboot-bootloader Reboot device into bootloader. help Show this help message. options: -w Erase userdata and cache (and format if supported by partition type). -u Do not erase partition before formatting. -s <specific device> Specify a device. For USB, provide either a serial number or path to device port. For ethernet, provide an address in the form <protocol>:<hostname>[:port] where <protocol> is either tcp or udp. -p <product> Specify product name. -c <cmdline> Override kernel commandline. -i <vendor id> Specify a custom USB vendor id. -b, --base <base_addr> Specify a custom kernel base address (default: 0x10000000). --kernel-offset Specify a custom kernel offset. (default: 0x00008000) --ramdisk-offset Specify a custom ramdisk offset. (default: 0x01000000) --tags-offset Specify a custom tags offset. (default: 0x00000100) -n, --page-size <page size> Specify the nand page size (default: 2048). -S <size>[K|M|G] Automatically sparse files greater than 'size'. 0 to disable. --slot <suffix> Specify slot suffix to be used if the device supports slots. This will be added to all partition names that use slots. 'all' can be given to refer to all slots. 'other' can be given to refer to a non-current slot. If this flag is not used, slotted partitions will default to the current active slot. -a, --set-active[=<suffix>] Sets the active slot. If no suffix is provided, this will default to the value given by --slot. If slots are not supported, this does nothing. This will run after all non-reboot commands. --unbuffered Do not buffer input or output. --version Display version. -h, --help show this message.
fastboot flash boot boot.img fastboot flash bootloader bootloader.img --Reboot Bootloader fastboot reboot-bootloader fastboot flash recovery recovery.img boot_a boot_b system_a system_b vendor_a vendor_b data fastboot flash boot bootimage.img fastboot flash boot twrp.img fastboot oem lock fastboot oem unlock fastboot flasing unlock fastboot flashing lock fastboot flashing unlock_critical fastboot flashing lock_critical #To erase system partition fastboot erase system #To erase boot partition fastboot erase boot #To erase cache partition fastboot erase cache #To erase user data partition fastboot erase userdata #To erase recovery partition fastboot erase recovery ##FORMAT## #To Format to EXT4 fastboot format:ext4 boot fastboot flash boot_b boot.img #Specifiy Partiton And IMG (Use GetVars & good if boota vs boot_a issues....) fastboot flash boot_b boot.img #To format system partition fastboot format system #To format boot partition fastboot format boot #To format cache partition fastboot format cache #To format user data partition fastboot format userdata #To format recovery partition fastboot format recovery #To reboot your device fastboot reboot #To reboot your device to fastboot mode fastboot reboot-bootloader
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img target reported max download size of 536870912 bytes sending 'boota' (40960 KB)... OKAY [ 0.156s] writing 'boota'... FAILED (remote: No such partition.) finished. total time: 0.156s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --slot:boot_aflash boot boot.img fastboot: unknown option -- slot:boot_aflash C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --slot:boot_a flash boot boot.img fastboot: unknown option -- slot:boot_a C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --slot boot_a flash boot boot.img Slot boot_a does not exist. supported slots are: a b C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --slot a flash boot boot.img target reported max download size of 536870912 bytes sending 'boota' (40960 KB)... OKAY [ 0.172s] writing 'boota'... FAILED (remote: No such partition.) finished. total time: 0.172s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --slot all flash boot boot.img target reported max download size of 536870912 bytes sending 'boota' (40960 KB)... OKAY [ 0.156s] writing 'boota'... FAILED (remote: No such partition.) finished. total time: 0.172s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase boot erasing 'boota'... FAILED (remote: Check device console.) finished. total time: 0.000s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase boot_a erasing 'boot_a'... OKAY [ 0.016s] finished. total time: 0.031s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase boot_b erasing 'boot_b'... OKAY [ 0.016s] finished. total time: 0.016s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot_a boot.img target reported max download size of 536870912 bytes sending 'boot_a' (40960 KB)... OKAY [ 0.156s] writing 'boot_a'... OKAY [ 0.577s] finished. total time: 0.733s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot_b boot.img target reported max download size of 536870912 bytes sending 'boot_b' (40960 KB)... OKAY [ 0.172s] writing 'boot_b'... OKAY [ 0.562s] finished. total time: 0.750s C:\Program Files (x86)\Minimal ADB and Fastboot> C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash bootloader bootloader-taimen-tmz20k.img target reported max download size of 536870912 bytes sending 'bootloaderb' (36336 KB)... OKAY [ 0.141s] writing 'bootloaderb'... OKAY [ 0.531s] finished. total time: 0.672s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot-bootloader rebooting into bootloader... OKAY [ 0.000s] finished. total time: 0.000s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash radio_a radio-taimen-g8998-00253-1809191716.img target reported max download size of 536870912 bytes sending 'radio_a' (60388 KB)... OKAY [ 0.219s] writing 'radio_a'... OKAY [ 0.859s] finished. total time: 1.078s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash radio_b radio-taimen-g8998-00253-1809191716.img target reported max download size of 536870912 bytes sending 'radio_b' (60388 KB)... OKAY [ 0.235s] writing 'radio_b'... OKAY [ 0.859s] finished. total time: 1.094s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot-bootloader rebooting into bootloader... OKAY [ 0.000s] finished. total time: 0.000s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash boot_a boot.img target reported max download size of 536870912 bytes sending 'boot_a' (40960 KB)... OKAY [ 0.156s] writing 'boot_a'... OKAY [ 0.547s] finished. total time: 0.703s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash boot_b boot.img target reported max download size of 536870912 bytes sending 'boot_b' (40960 KB)... OKAY [ 0.156s] writing 'boot_b'... OKAY [ 0.750s] finished. total time: 0.906s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash vendor_a vendor.img target reported max download size of 536870912 bytes erasing 'vendor_a'... OKAY [ 0.030s] sending 'vendor_a' (360328 KB)... OKAY [ 1.339s] writing 'vendor_a'... OKAY [ 1.563s] finished. total time: 2.931s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash vendor_b vendor.img target reported max download size of 536870912 bytes erasing 'vendor_b'... OKAY [ 0.031s] sending 'vendor_b' (360328 KB)... OKAY [ 1.354s] writing 'vendor_b'... OKAY [ 1.542s] finished. total time: 2.943s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash system_a system.img target reported max download size of 536870912 bytes erasing 'system_a'... OKAY [ 0.078s] sending sparse 'system_a' 1/5 (524284 KB)... OKAY [ 2.610s] writing 'system_a' 1/5... OKAY [ 2.235s] sending sparse 'system_a' 2/5 (524284 KB)... OKAY [ 2.625s] writing 'system_a' 2/5... OKAY [ 2.266s] sending sparse 'system_a' 3/5 (524284 KB)... OKAY [ 2.469s] writing 'system_a' 3/5... OKAY [ 2.266s] sending sparse 'system_a' 4/5 (521176 KB)... OKAY [ 2.454s] writing 'system_a' 4/5... OKAY [ 2.261s] sending sparse 'system_a' 5/5 (167104 KB)... OKAY [ 0.797s] writing 'system_a' 5/5... OKAY [ 0.734s] finished. total time: 20.794s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash system_b system.img target reported max download size of 536870912 bytes erasing 'system_b'... OKAY [ 0.062s] sending sparse 'system_b' 1/5 (524284 KB)... OKAY [ 2.469s] writing 'system_b' 1/5... OKAY [ 2.294s] sending sparse 'system_b' 2/5 (524284 KB)... OKAY [ 2.453s] writing 'system_b' 2/5... OKAY [ 2.250s] sending sparse 'system_b' 3/5 (524284 KB)... OKAY [ 2.453s] writing 'system_b' 3/5... OKAY [ 2.250s] sending sparse 'system_b' 4/5 (521176 KB)... OKAY [ 2.449s] writing 'system_b' 4/5... OKAY [ 2.276s] sending sparse 'system_b' 5/5 (167104 KB)... OKAY [ 0.781s] writing 'system_b' 5/5... OKAY [ 0.734s] finished. total time: 20.474s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash modem_a modem.img target reported max download size of 536870912 bytes sending 'modem_a' (60380 KB)... OKAY [ 0.231s] writing 'modem_a'... OKAY [ 1.312s] finished. total time: 1.543s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash modem_b modem.img target reported max download size of 536870912 bytes sending 'modem_b' (60380 KB)... OKAY [ 0.250s] writing 'modem_b'... OKAY [ 1.328s] finished. total time: 1.578s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash abl_a abl.img target reported max download size of 536870912 bytes sending 'abl_a' (540 KB)... OKAY [ -0.000s] writing 'abl_a'... OKAY [ 0.031s] finished. total time: 0.031s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash --slot all abl.img unknown partition 'abl.img' error: cannot determine image filename for 'abl.img' C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe --slot all flash abl.img unknown partition 'abl.img' error: cannot determine image filename for 'abl.img' C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash abl_b abl.img target reported max download size of 536870912 bytes sending 'abl_b' (540 KB)... OKAY [ 0.016s] writing 'abl_b'... OKAY [ 0.016s] finished. total time: 0.031s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash aes_a aes.img target reported max download size of 536870912 bytes sending 'aes_a' (48 KB)... OKAY [ -0.000s] writing 'aes_a'... OKAY [ 0.016s] finished. total time: 0.016s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash aes_b aes.img target reported max download size of 536870912 bytes sending 'aes_b' (48 KB)... OKAY [ 0.000s] writing 'aes_b'... OKAY [ 0.016s] finished. total time: 0.016s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash cmnlib_a cmnlib.img target reported max download size of 536870912 bytes sending 'cmnlib_a' (220 KB)... OKAY [ -0.000s] writing 'cmnlib_a'... OKAY [ 0.016s] finished. total time: 0.016s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash cmnlib_b cmnlib.img target reported max download size of 536870912 bytes sending 'cmnlib_b' (220 KB)... OKAY [ -0.000s] writing 'cmnlib_b'... OKAY [ 0.016s] finished. total time: 0.016s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash cmnlib64_a cmnlib64.img target reported max download size of 536870912 bytes sending 'cmnlib64_a' (288 KB)... OKAY [ 0.016s] writing 'cmnlib64_a'... OKAY [ 0.016s] finished. total time: 0.031s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash cmnlib64_b cmnlib64.img target reported max download size of 536870912 bytes sending 'cmnlib64_b' (288 KB)... OKAY [ -0.000s] writing 'cmnlib64_b'... OKAY [ 0.017s] finished. total time: 0.017s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash devcfg_a devcfg.img target reported max download size of 536870912 bytes sending 'devcfg_a' (60 KB)... OKAY [ -0.000s] writing 'devcfg_a'... OKAY [ 0.016s] finished. total time: 0.016s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash devcfg_b devcfg.img target reported max download size of 536870912 bytes sending 'devcfg_b' (60 KB)... OKAY [ 0.016s] writing 'devcfg_b'... OKAY [ 0.013s] finished. total time: 0.029s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash dtbo_a dtbo.img target reported max download size of 536870912 bytes sending 'dtbo_a' (8192 KB)... OKAY [ 0.037s] writing 'dtbo_a'... OKAY [ 0.109s] finished. total time: 0.146s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash dtbo_b dtbo.img target reported max download size of 536870912 bytes sending 'dtbo_b' (8192 KB)... OKAY [ 0.031s] writing 'dtbo_b'... OKAY [ 0.141s] finished. total time: 0.172s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash hyp_a hyp.img target reported max download size of 536870912 bytes sending 'hyp_a' (264 KB)... OKAY [ 0.000s] writing 'hyp_a'... OKAY [ 0.020s] finished. total time: 0.020s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash hyp_b hyp.img target reported max download size of 536870912 bytes sending 'hyp_b' (264 KB)... OKAY [ 0.014s] writing 'hyp_b'... OKAY [ 0.000s] finished. total time: 0.015s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash keymaster_a keymaster.img target reported max download size of 536870912 bytes sending 'keymaster_a' (308 KB)... OKAY [ 0.000s] writing 'keymaster_a'... OKAY [ 0.026s] finished. total time: 0.026s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash keymaster_b keymaster.img target reported max download size of 536870912 bytes sending 'keymaster_b' (308 KB)... OKAY [ 0.012s] writing 'keymaster_b'... OKAY [ -0.000s] finished. total time: 0.012s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash laf_a laf.img target reported max download size of 536870912 bytes sending 'laf_a' (29800 KB)... OKAY [ 0.125s] writing 'laf_a'... OKAY [ 0.406s] finished. total time: 0.547s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash laf_b laf.img target reported max download size of 536870912 bytes sending 'laf_b' (29800 KB)... OKAY [ 0.110s] writing 'laf_b'... OKAY [ 0.125s] finished. total time: 0.250s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash pmic_a pmic.img target reported max download size of 536870912 bytes sending 'pmic_a' (52 KB)... OKAY [ -0.000s] writing 'pmic_a'... OKAY [ 0.016s] finished. total time: 0.016s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash pmic_b pmic.img target reported max download size of 536870912 bytes sending 'pmic_b' (52 KB)... OKAY [ -0.000s] writing 'pmic_b'... OKAY [ 0.016s] finished. total time: 0.016s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash rpm_a rpm.img target reported max download size of 536870912 bytes sending 'rpm_a' (232 KB)... OKAY [ 0.016s] writing 'rpm_a'... OKAY [ 0.009s] finished. total time: 0.024s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash rpm_b rpm.img target reported max download size of 536870912 bytes sending 'rpm_b' (232 KB)... OKAY [ -0.000s] writing 'rpm_b'... OKAY [ 0.000s] finished. total time: 0.017s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash tz_a tz.img target reported max download size of 536870912 bytes sending 'tz_a' (1868 KB)... OKAY [ 0.016s] writing 'tz_a'... OKAY [ 0.026s] finished. total time: 0.045s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash tz_b tz.img target reported max download size of 536870912 bytes sending 'tz_b' (1868 KB)... OKAY [ 0.016s] writing 'tz_b'... OKAY [ 0.016s] finished. total time: 0.045s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash vbmeta_a vbmeta.img target reported max download size of 536870912 bytes sending 'vbmeta_a' (4 KB)... OKAY [ -0.000s] writing 'vbmeta_a'... OKAY [ 0.016s] finished. total time: 0.016s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash vbmeta_b vbmeta.img target reported max download size of 536870912 bytes sending 'vbmeta_b' (4 KB)... OKAY [ 0.000s] writing 'vbmeta_b'... OKAY [ 0.017s] finished. total time: 0.020s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash xbl_a xbl.img target reported max download size of 536870912 bytes sending 'xbl_a' (2620 KB)... OKAY [ 0.016s] writing 'xbl_a'... OKAY [ 0.016s] finished. total time: 0.031s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash xbl_b xbl.img target reported max download size of 536870912 bytes sending 'xbl_b' (2620 KB)... OKAY [ 0.016s] writing 'xbl_b'... OKAY [ 0.016s] finished. total time: 0.031s C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flashing lock ... FAILED (unknown status code) finished. total time: 3.911s C:\Program Files (x86)\Minimal ADB and Fastboot>
fastboot.exe getvar all C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe getvar all (bootloader) keep_efs:no (bootloader) is_oem_unlocked:yes (bootloader) have_oem_lock_id:yes (bootloader) avb_stored_rollback_indexes: (bootloader) avb_user_settable_key_set:no (bootloader) avb_version:1.0.0 (bootloader) hw-color:VB (bootloader) hw-variant:GA00137-US (bootloader) hw-revision:rev_10 (bootloader) cid:00000000 (bootloader) erase-block-size:0x1000 (bootloader) logical-block-size:0x1000 (bootloader) unlocked:yes (bootloader) off-mode-charge:1 (bootloader) battery-soc-ok:yes (bootloader) battery-voltage:4261 (bootloader) version-laf:1.0.7 (bootloader) version-baseband:g8998-00253-1809191716 (bootloader) version-bootloader:TMZ20k (bootloader) version-abl:TMZ20k (bootloader) version-aes:TMZ20k (bootloader) version-cmnlib:TMZ20k (bootloader) version-cmnlib64:TMZ20k (bootloader) version-devcfg:TMZ20k (bootloader) version-hyp:TMZ20k (bootloader) version-keymaster:TMZ20k (bootloader) version-pmic:TMZ20k (bootloader) version-rpm:TMZ20k (bootloader) version-xbl:TMZ20k (bootloader) variant:MSM UFS (bootloader) partition-type:laf_b:raw (bootloader) partition-size:laf_b: 0x3000000 (bootloader) partition-type:laf_a:raw (bootloader) partition-size:laf_a: 0x3000000 (bootloader) partition-type:dtbo_b:raw (bootloader) partition-size:dtbo_b: 0x800000 (bootloader) partition-type:dtbo_a:raw (bootloader) partition-size:dtbo_a: 0x800000 (bootloader) partition-type:boot_b:raw (bootloader) partition-size:boot_b: 0x2800000 (bootloader) partition-type:boot_a:raw (bootloader) partition-size:boot_a: 0x2800000 (bootloader) partition-type:vendor_b:ext4 (bootloader) partition-size:vendor_b: 0x1F400000 (bootloader) partition-type:vendor_a:ext4 (bootloader) partition-size:vendor_a: 0x1F400000 (bootloader) partition-type:persist:ext4 (bootloader) partition-size:persist: 0x2000000 (bootloader) partition-type:userdata:ext4 (bootloader) partition-size:userdata: 0x1C26BFB000 (bootloader) partition-type:system_b:ext4 (bootloader) partition-size:system_b: 0xA0000000 (bootloader) partition-type:system_a:ext4 (bootloader) partition-size:system_a: 0xA0000000 (bootloader) has-slot:laf:yes (bootloader) has-slot:bootloader:yes (bootloader) has-slot:vendor:yes (bootloader) has-slot:dtbo:yes (bootloader) has-slot:vbmeta:yes (bootloader) has-slot:cmnlib64:yes (bootloader) has-slot:cmnlib:yes (bootloader) has-slot:keymaster:yes (bootloader) has-slot:devcfg:yes (bootloader) has-slot:hyp:yes (bootloader) has-slot:pmic:yes (bootloader) has-slot:abl:yes (bootloader) has-slot:rpm:yes (bootloader) has-slot:tz:yes (bootloader) has-slot:xbl:yes (bootloader) has-slot:radio:yes (bootloader) has-slot:modem:yes (bootloader) has-slot:system:yes (bootloader) current-slot:a (bootloader) has-slot:boot:yes (bootloader) slot-retry-count:b:4 (bootloader) slot-unbootable:b:yes (bootloader) slot-successful:b:no (bootloader) slot-retry-count:a:7 (bootloader) slot-unbootable:a:no (bootloader) slot-successful:a:no (bootloader) slot-count:2 (bootloader) slot-suffixes:a,b, (bootloader) secure:yes (bootloader) serialno:710KPMZ0311515 (bootloader) product:taimen (bootloader) max-download-size:0x20000000 (bootloader) kernel:uefi (bootloader) qem:0 all: