---
# System prepended metadata

title: ASUS FB commands

---

taken directly from their ABL source code

```
      {"oem partition", CmdPartition},
      {"oem gpt-info", CmdOemGptinfo},// +++ ASUS_BSP : add for gpt-info
      {"oem adb_enable", CmdEnableAdb},// +++ ASUS_BSP : add for adb enable
      {"oem logcat-asdf-on", CmdOemLogcatAsdfOn},// +++ ASUS_BSP : add for logcat-asdf sevices
      {"oem logcat-asdf-off", CmdOemLogcatAsdfOff},// +++ ASUS_BSP : add for logcat-asdf sevices
      {"oem shutdown", CmdOemShutDown},// +++ ASUS_BSP : add for oem device shutdown
      {"oem get-dtid", CmdOemGetDTID},// +++ ASUS_BSP : Add for get DTID
      {"oem get-hwid", CmdOemGetHWID},// +++ ASUS_BSP : Add for get HWID
      {"oem get-prjid", CmdOemGetPRJID},// +++ ASUS_BSP : Add for get PRJID
      {"oem get-skuid", CmdOemGetSKUID},// +++ ASUS_BSP : Add for get SKUID
      {"oem get-rfid", CmdOemGetRFID},// +++ ASUS_BSP : Add for get RFID
      {"oem get-featureid", CmdOemGetFeatureID},// +++ ASUS_BSP : Add for get FEATUREID
      {"oem get-jtagid", CmdOemGetJTAGID},// +++ ASUS_BSP : Add for get JTAGID
      {"oem get-lgfid", CmdOemGetLGFID},// +++ ASUS_BSP : Add for get LGF ID
      {"oem get-cpuidhash", CmdOemGetCpuidHash},// +++ ASUS_BSP : add for get cpuid hash
      {"oem get-toolid", CmdOemGetToolId},// +++ ASUS_BSP : add for read TOOLID
      {"oem isn-info", CmdOemIsnInfo},// +++ ASUS_BSP : add for isn info
      {"oem ssn-info", CmdOemSsnInfo},// +++ ASUS_BSP : add for ssn info
      {"oem system-info", CmdOemSystemInfo},// +++ ASUS_BSP : add for system info
      {"oem get_build_version", CmdOemGetBuildVersion},// +++ ASUS_BSP : add for get build version
      {"oem get-batcap", CmdOemGetBatCap},// +++ ASUS_BSP : add for get bat cap
      {"oem get-batvol", CmdOemGetBatVol},// +++ ASUS_BSP : add for get bat vol
      {"oem get-bootcount", CmdOemGetBootCount},// +++ ASUS_BSP : add for boot count
      {"oem factory-reset", CmdOemFactoryReset},// +++ ASUS_BSP : add for wipe-data by recovery
      {"oem factory-reset2", CmdOemFactoryReset2},// +++ ASUS_BSP : add for wipe-data by recovery and enter fastboot mode
      {"oem reboot-recovery", CmdRebootRecovery},// +++ ASUS_BSP : add for reboot recovery
      {"oem set-permissive", CmdOemSetPermissive},// +++ ASUS_BSP : add for set permissive cmdline
      {"oem enter-dload", CmdOemEnterDLoadMode},// +++ ASUS_BSP : add for enter emergency download mode cmd
      {"oem check-s3", CmdOemCheckS3},// +++ ASUS_BSP : add for check s3 reset type cmd
      {"oem EnterShippingMode", CmdOemEnterShippingMode},// +++ ASUS_BSP : add for shipping mode
      {"oem check-nrfuse", CmdOemCheckFuseNoRpmb},// +++ ASUS_BSP : add for check fuse with no rpmb
      {"oem check-fuse", CmdOemCheckFuse},//+++ ASUS_BSP : add for check fuse
      {"oem fuse-info", CmdOemFuseInfo},//+++ ASUS_BSP : add for get fuse info
      {"oem show-barcode", CmdOemDrawBarcode},// +++ ASUS_BSP : add for draw barcode
      {"oem checksetupwizard", CmdOemCheckSetupWizard},// +++ ASUS_BSP : add for Check Setup Wizard
      {"oem asus-csc_lk", CmdOemAsusCscLk},// +++ ASUS_BSP : add for oem ASUS CSC lock device
      {"oem rsa_test_", CmdRsaTest},// +++ ASUS_BSP : add for user unlock
      {"oem crc32_", CmdOemCalculatePtCrc32},// +++ ASUS_BSP : add for get partition hash
      {"oem hash_", CmdOemCalculatePtCrc32},// +++ ASUS_BSP : add for get partition hash
      {"oem gen-random", CmdOemGenRNG},// +++ ASUS_BSP : add for ASUS dongle unlock
      {"oem auth-hash", CmdOemAuthHash},// +++ ASUS_BSP : add for ASUS dongle unlock
      {"oem auth-hash_2", CmdOemAuthHash2},// +++ ASUS_BSP : add for ASUS dongle unlock
      {"oem auth-hash_3", CmdOemAuthHash3},// +++ ASUS_BSP : add for WaterMask unlock
      {"oem get-imeiauth", CmdOemGetIMEIAuth},// +++ ASUS_BSP : add for WaterMask unlock
      {"oem slot_b_enable", CmdOemSlotbEnable},// +++ ASUS_BSP : add for enable flash raw in slot_b
      {"oem get-verify_vbmeta_ret", CmdOemGetVerifyVbmetaRet},// +++ ASUS_BSP : add for verify_vbmeta_ret
      {"oem update-cmdline_", CmdOemUpdateCmdline},// +++ ASUS_BSP : add for update cmdline
      {"oem backup-fac",CmdOemBackupFac},// +++ ASUS_BSP : add for backup factory data
      {"oem restore-fac",CmdOemRestoreFac},// +++ ASUS_BSP : add for restore factory data
      {"oem record-info", CmdOemRecordInfo},// +++ ASUS_BSP : falling & hit & thump record info
      {"oem asus-erase-asdf", CmdOemFEASDF},
      // +++ ASUS_BSP : Need ASUS_FASTBOOT_PERMISSION
      {"oem get-pmic-reg_", CmdOemGetPmicReg},// +++ ASUS_BSP : add for get_pmic_reg value
      {"oem write-pmic-reg_", CmdOemWritePmicReg},// +++ ASUS_BSP : add for write_pmic_reg value
      {"oem reset-boot_count", CmdOemResetBootCount},// +++ ASUS_BSP : add for boot count
      {"oem reset-lock_count", CmdOemResetLockCount},// +++ ASUS_BSP : add for lock count
      {"oem reset-a_retry_count", CmdOemResetSlotARetryCount},// +++ ASUS_BSP : add for unbootable_counter and retry_counter
      {"oem reset-a_unbootable_count", CmdOemResetSlotAUnbootableCount},// +++ ASUS_BSP : add for unbootable_counter and retry_counter
      {"oem reset-b_retry_count", CmdOemResetSlotBRetryCount},// +++ ASUS_BSP : add for unbootable_counter and retry_counter
      {"oem reset-b_unbootable_count", CmdOemResetSlotBUnbootableCount},// +++ ASUS_BSP : add for unbootable_counter and retry_counter
      {"oem force-dtid_", CmdOemForceHwId},// +++ ASUS_BSP : add for force dtid
      {"oem reset-dev_info", CmdOemResetDevInfo},// +++ ASUS_BPS : add for reset dev info
      {"oem reset-auth2", CmdOemResetAuth2},// +++ ASUS_BPS : add for reset dev info
      {"oem reset-auth3", CmdOemResetAuth3},// +++ ASUS_BPS : add for reset WaterMask unlock
      {"oem disable-verity", CmdOemDisableVerity},// +++ ASUS_BSP : add for disable verity
      {"oem enable-verity", CmdOemEnableVerity},// +++ ASUS_BSP : add for enable verity
      {"oem enable-vbmeta", CmdOemEnableVbmeta},// +++ ASUS_BSP : add for enable vbmeta magic
      {"oem read-vbmeta", CmdOemReadVbmeta},// +++ ASUS_BSP : add for read vbmeta magic
      {"oem read-rollback", CmdOemReadRollback},// +++ ASUS_BSP : add for read vbmeta_system rollback value
      {"oem reset-rollback", CmdOemResetRollback},// +++ ASUS_BSP : add for reset vbmeta_system rollback value
      {"oem uart-on", CmdOemUartOn},// +++ add for uart on
      {"oem uart-off", CmdOemUartOff},// +++ add for uart off
      {"oem xts-unlock", CmdOemXtsUnlock},// +++ ASUS_BSP : Add for xts unlock
      {"oem asus-lock", CmdOemLock}, // +++ ASUS_BSP :Lock device
      {"oem check-avb", CmdOemAsusVerifiedState}
```