Related
What does this command do ?
C:\Users\Pavilion>fastboot oem ats
... INFOvendor/htc/build/../hboot/common/command.c : 2167 cmd_ats
INFO[MSG] ats: <value>
INFOvalue=0 -> disable
INFOvalue=1 -> enable
OKAY
Click to expand...
Click to collapse
fastboot oem ats 1/0
works on S-ON
Thanks
Where'd did you find that command at? I've never heard of it.
Sent from my One X using xda app-developers app
"fastboot oem ?" gives you a list of oem-specific commands
Code:
C:\Users\Pavilion>fastboot oem ?
... INFOcommand list
INFOget_identifier_token
INFOkeytest
INFOheap
INFOboot
INFOreset
INFOpowerdown
INFOrebootRUU
INFOheap_test
INFOklog
INFO[B]ats[/B]
INFOrtask
INFOtask
INFOenableqxdm
INFOgencheckpt
INFOreadpid
INFOwritepid
INFOreadcid
INFOwritecid
INFOreadimei
INFOwriteimei
INFOreadsecureflag
INFOwritesecureflag
INFOlock
OKAY
Vcek do you already got a clue what this command is for? I hear of a guy who changed his CID temporarely. Do you know how he did that? Unfortunately I'm not very experienced in fastboot commands nor in adb. But interestingly, when I set the value for ats to 0 I get a security warning message above the "relocked" sign.
Code:
D:\fastboot>fastboot oem ats
...
(bootloader) vendor/htc/build/../hboot/common/command.c : 2167 cmd_ats
(bootloader) [MSG] ats: <value>
(bootloader) value=0 -> disable
(bootloader) value=1 -> enable
OKAY [ 0.048s]
finished. total time: 0.048s
D:\fastboot>fastboot oem ats 0
...
(bootloader) vendor/htc/build/../hboot/common/command.c : 2167 cmd_ats
(bootloader) Save data from original MSC...
(bootloader) Save data from SIF...
(bootloader) Update partition data to SIF partition
(bootloader) Update partition data from original MSC...
(bootloader) [MSG] Set usb_ats = 0
OKAY [ 0.196s]
finished. total time: 0.196s
And I hope this is helpful in some ways for us.
Code:
[QUOTE="jefffeely, post: 25277646, member: 4222519"][COLOR="DarkRed"]Warning!!!!!!!!!
Some of these commands can and will brick your phone.
Don't run them if you don't know what you are doing.
[/COLOR]
Thought these might be useful to someone:
HBOOT 2.25:
(bootloader) refurbish
(bootloader) get_identifier_token
(bootloader) checkSbl1
(bootloader) checkHWSecurity
(bootloader) checkKeycardID
(bootloader) enter
(bootloader) keytest
(bootloader) heap
(bootloader) boot
(bootloader) reset
(bootloader) powerdown
(bootloader) rebootRUU
(bootloader) heap_test
(bootloader) erase_phone_storage
(bootloader) erase_userdata
(bootloader) ats
(bootloader) rtask
(bootloader) task
(bootloader) enableqxdm
(bootloader) gencheckpt
(bootloader) readmeid
(bootloader) readpid
(bootloader) writepid
(bootloader) readcid
(bootloader) writecid
(bootloader) readimei
(bootloader) writeimei
(bootloader) readsecureflag
(bootloader) writesecureflag
(bootloader) lock
(bootloader) list_partition_emmc
(bootloader) load_emmc
(bootloader) check_emmc
(bootloader) check_emmc_mid
(bootloader) read_mmc
(bootloader) load_modem_emmc
(bootloader) get_wp_info_emmc
(bootloader) send_wp_info_emmc
(bootloader) get_ext_csd_emmc
(bootloader) get_sector_info_emmc
--------------------------------------------------------
ENG HBOOT
(bootloader) command list
(bootloader) mb
(bootloader) mh
(bootloader) mw
(bootloader) ew
(bootloader) eh
(bootloader) eb
(bootloader) mmu
(bootloader) ram_test
(bootloader) jump
(bootloader) test
(bootloader) sdtest
(bootloader) eraseconfig
(bootloader) writeconfig
(bootloader) readconfig
(bootloader) writesku
(bootloader) readsku
(bootloader) rflash
(bootloader) tflash
(bootloader) block_test
(bootloader) partition_test
(bootloader) rbchk
(bootloader) erasesd
(bootloader) btrouter
(bootloader) nfcrouter
(bootloader) nfcreader
(bootloader) nfccard
(bootloader) nfcversion
(bootloader) nfcdl
(bootloader) nfctransaction
(bootloader) tick
(bootloader) heaptable
(bootloader) sysinfo
(bootloader) emapi
(bootloader) emapiTest
(bootloader) emapiCountryID
(bootloader) emapiWlanMac
(bootloader) emapiSetDefCal
(bootloader) emapiReadCal
(bootloader) emapiReadbtaddr
(bootloader) lr
(bootloader) imgcrc
(bootloader) resetautoimage
(bootloader) resetpreferdiag
(bootloader) resetRUUflag
(bootloader) writeserialno
(bootloader) readserialno
(bootloader) battcheck
(bootloader) enter
(bootloader) gotofastboot
(bootloader) gotohboot
(bootloader) writemid
(bootloader) usbtestmode
(bootloader) eraseWifiFlash
(bootloader) erase
(bootloader) readmbserialno
(bootloader) listpartition
(bootloader) erasebcid
(bootloader) writebcid
(bootloader) readbcid
(bootloader) fmrouter
(bootloader) fmtx
(bootloader) resetuP
(bootloader) bdaddress
(bootloader) readbdaddr
(bootloader) resetgift
(bootloader) wMfgTp
(bootloader) rMfgTp
(bootloader) emptypagecheck
(bootloader) saveprt2sd
(bootloader) savemem2sd
(bootloader) savefb2sd
(bootloader) emapiInit
(bootloader) emapiChannel
(bootloader) emapiBand
(bootloader) emapiRate
(bootloader) emapiRateset
(bootloader) emapiCountry
(bootloader) emapiTXpwr1
(bootloader) emapiPkteng_start
(bootloader) emapiPkteng_stop
(bootloader) emapiOut
(bootloader) emapiFqacurcy
(bootloader) emapiCrsuprs
(bootloader) emapiUp
(bootloader) emapiDown
(bootloader) emapiMpc
(bootloader) emapiCounters
(bootloader) emapiVersion
(bootloader) emapiEtheraddr
(bootloader) emapinRate
(bootloader) emapiSetIrqPin
(bootloader) usblog
(bootloader) bkflash2emmc
(bootloader) fl
(bootloader) loaddiag
(bootloader) lnb
(bootloader) init_a1026_fw
(bootloader) checkKeyCard
(bootloader) loopback
(bootloader) spitest
(bootloader) i2ctest
(bootloader) pmic8058_led_test
(bootloader) ats
(bootloader) gpiow
(bootloader) gpior
(bootloader) clock
(bootloader) i2cr
(bootloader) i2cw
(bootloader) i2ctest
(bootloader) ulpi
(bootloader) changeCid
(bootloader) powertest
(bootloader) read_l2_acc_fuse
(bootloader) ltetest
(bootloader) sdio_loopback
(bootloader) sdio_setsize
(bootloader) sdio_readblk
(bootloader) sdio_writeblk
(bootloader) sdio_readblk
(bootloader) sdio_dumpreg
(bootloader) get_mdm9k_serial
(bootloader) clear_mdm9k_serial
(bootloader) update_prkey
(bootloader) emmc_boot
(bootloader) 8x60i2cr
(bootloader) 8x60i2crNoAddr
(bootloader) 8x60i2cwNoAddr
(bootloader) 8x60i2cw
(bootloader) poweron
(bootloader) poweroff
(bootloader) setvol
(bootloader) spi
(bootloader) fat
(bootloader) pmgpiow
(bootloader) pmgpior
(bootloader) 8058vregon
(bootloader) 8058vregoff
(bootloader) 8058vregw
(bootloader) 8058vregr
(bootloader) 8901vregon
(bootloader) 8901vregoff
(bootloader) 8901vregw
(bootloader) 8901vregr
(bootloader) mipi_test
(bootloader) chargeron
(bootloader) chargeroff
(bootloader) adc
(bootloader) readsimlocktype
(bootloader) enablesimlock
(bootloader) addsimlockcode
(bootloader) clearsimlockcode
(bootloader) listsimlockcode
(bootloader) clearunlockrecord
(bootloader) lite_heap_test
(bootloader) vibrate_test
(bootloader) getrtc
(bootloader) setrtc
(bootloader) getrtcalarm
(bootloader) setrtcalarm
(bootloader) pgfs
(bootloader) bumpclk
(bootloader) acpuclk_get
(bootloader) acpuclk_set
(bootloader) rpmclk_set
(bootloader) rpmclk_get
(bootloader) oschalt
(bootloader) tz_req
(bootloader) blow_efuse
(bootloader) blow_qfuse_cfg
(bootloader) dump_tzlog
(bootloader) fdisk_emmc
(bootloader) set_partition_emmc
(bootloader) erase_emmc
(bootloader) test_emmc
(bootloader) sector_erase_emmc
(bootloader) fat_format_emmc
(bootloader) init_emmc
(bootloader) reinit_emmc
(bootloader) write_mmc
(bootloader) set_wp_emmc
(bootloader) write_prot_test
(bootloader) clear_wp_emmc
(bootloader) set_enh_area_emmc
(bootloader) refurbish
(bootloader) get_identifier_token
(bootloader) checkSbl1
(bootloader) checkHWSecurity
(bootloader) checkKeycardID
(bootloader) enter
(bootloader) keytest
(bootloader) heap
(bootloader) boot
(bootloader) reset
(bootloader) powerdown
(bootloader) rebootRUU
(bootloader) heap_test
(bootloader) rtask
(bootloader) task
(bootloader) enableqxdm
(bootloader) gencheckpt
(bootloader) readmeid
(bootloader) readpid
(bootloader) writepid
(bootloader) readcid
(bootloader) writecid
(bootloader) readimei
(bootloader) writeimei
(bootloader) readsecureflag
(bootloader) writesecureflag
(bootloader) lock
(bootloader) list_partition_emmc
(bootloader) load_emmc
(bootloader) check_emmc
(bootloader) check_emmc_mid
(bootloader) read_mmc
(bootloader) load_modem_emmc
(bootloader) get_wp_info_emmc
(bootloader) send_wp_info_emmc
(bootloader) get_ext_csd_emmc
(bootloader) get_sector_info_emmc[/QUOTE]
Thanks for the bump, Nope I dont know what its for yet. Can you link me to the guy who changed his CID temporarily ?
EDIT: my bl is unlocked and i dont get any warnings
Hey.
I'm not exactly an advanced user, much less a pro, but i've done a bit of researching the past 10 hours...
7 months ago, a few weeks after unlocking bootloader and flashing a modified stock rom, phone crashed, stuck forever at htc logo and no OS. Tried to find a fix then, to no avail. And because i hate giving up, i've come to you guys.
fastboot getvar all
Code:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.18.0002
(bootloader) version-baseband: 14.11.36Q4.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: removed, don't really know if it matters if anybody sees this but it's a crazy world out there
(bootloader) imei: same...
(bootloader) meid: 000000000 <---- this was empty and a fastboot oem readmeid displayed the 0s
(bootloader) product: g3u
(bootloader) platform: HBOOT-8225
(bootloader) modelid: 0P6A10000
(bootloader) cidnum: HTC__N34
(bootloader) battery-status: good
(bootloader) battery-voltage: 4200mV
(bootloader) partition-layout: HTC
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e1c32097
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.081s
So, at the moment the phone has an Unlocked bootloader with S-ON still.
Which poses quite a problem since attempting to flash gives me this:
zip:
Code:
C:\Users\Raymond\Desktop>fastboot flash zip 0P6AIMG.ZIP
target reported max download size of 421527552 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 26547541 is not a multiple of the block size 4096
sending sparse 'zip' (411644 KB)...
error: write_sparse_skip_chunk: don't care size 26547541 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 26547541 is not a multiple of the block size 4096
OKAY [ 32.875s]
writing 'zip'...
FAILED (remote: not allowed)
finished. total time: 32.885s
recovery:
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot flash recovery recovery.img
target reported max download size of 421527552 bytes
sending 'recovery' (7304 KB)...
OKAY [ 1.295s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 9.563s
Formatting or attempting to erase any of the partitions i should normally be able with an unlocked bootloader give the same FAILED (remote: not allowed) error.
rebootRUU just gives me this:
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot oem rebootRUU
...
(bootloader) [SD/EMMC]Error status=0x400008
(bootloader) DATA_TIMEOUT
(bootloader) SD: write failed in CMD25.
OKAY [ 8.299s]
finished. total time: 8.299s
And a fastboot oem lock gives me a nice little WEIRD fail:
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot oem lock
...
(bootloader) Lock failed!
FAILED (status read failed (No such file or directory))
finished. total time: 0.459s
Ironically, the following gives ok, but does nothing on the phone, which only freezes and makes fastboot unusable until the battery and cable are removed. If i've understood correctly this was supposed to boot the recovery image without flashing it?
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.293s]
booting...
OKAY [ 0.003s]
finished. total time: 1.301s
The same with some random "fix" i've found around the net (with 77 chrome tabs open at one point):
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot -c "lge.kcal=0|0|0|x" boot recovery.img
downloading 'boot.img'...
OKAY [ 1.253s]
booting...
OKAY [ 0.008s]
finished. total time: 1.282s
Also called HTC in a desperate action about an hour ago, but they're still looking for the frecks they never gave, and want me to pay for it to be serviced. It was a good phone, hence why i want it fixed, but not so good to give another 20€ for them to look at it PLUS who knows how much they will charge me for the mobo. It's just not worth it. Not to mention they're "outsourcing" the technical support to a different company.
Alas, i am being led to believing this might be a fired/not working eMMC? Below is a dump of oem dmesg right after a reboot into hboot and i see some weird errors there as well:
Code:
C:\Users\Raymond\Desktop\Official rom>fastboot oem dmesg
...
(bootloader) [0] register_debug_console: new entry ptr=0x5EA00800
(bootloader) [0] -------------------hboot start
(bootloader) [10875] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [10898] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [10921] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [10945] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [10970] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [10995] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [11020] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [11045] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [61228] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [61251] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [61273] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [61295] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [61320] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [61345] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [61368] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [61393] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [72328] [ERR] Cmd5 polling status timed out, MCI_STATUS: 0x0
(bootloader) [72351] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [87043] [ERR] Cmd8 polling status timed out, MCI_STATUS: 0x0
(bootloader) [87066] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [141865] [ERR] Cmd8 polling status timed out, MCI_STATUS: 0x
(bootloader) 0
(bootloader) [141888] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [196690] [ERR] Cmd8 polling status timed out, MCI_STATUS: 0x
(bootloader) 0
(bootloader) [196713] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [251511] [ERR] Cmd55 polling status timed out, MCI_STATUS: 0
(bootloader) x0
(bootloader) [251536] [ERR] sdcc_command: sdcc_poll_status error, rc: 2
(bootloader) [356235] sdcc_init_memory_device done
(bootloader) [426948] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [426971] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [426993] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [427015] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [427040] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [427065] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [427090] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [427115] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [427141] HWIO_SDC1_MD_REG_ADDR=0xA86000A0
(bootloader) [427163] HWIO_SDC1_NS_REG_ADDR=0xA86000A4
(bootloader) [427185] HWIO_SDC3_MD_REG_ADDR=0xA86000B0
(bootloader) [427208] HWIO_SDC3_NS_REG_ADDR=0xA86000B4
(bootloader) [427231] phys_to_virt(HWIO_SDC1_MD_REG_ADDR)=0xD32000A0
(bootloader) [427256] phys_to_virt(HWIO_SDC1_NS_REG_ADDR)=0xD32000A4
(bootloader) [427281] phys_to_virt(HWIO_SDC3_MD_REG_ADDR)=0xD32000B0
(bootloader) [427306] phys_to_virt(HWIO_SDC3_NS_REG_ADDR)=0xD32000B4
(bootloader) [463558] g3u_init PID: 252
(bootloader) [463670] Update EBR
(bootloader) [479501] g3u_gpio_init: PCBID is 128
(bootloader) [483350] config gpio#9 to 0x4 failed!!
(bootloader) [486048] config gpio#14 to 0x0 failed!!
(bootloader) [488816] config gpio#24 to 0x3 failed!!
(bootloader) [506251] config gpio#57 to 0x4 failed!!
(bootloader) [507276] config gpio#58 to 0x4 failed!!
(bootloader) [508301] config gpio#59 to 0x4 failed!!
(bootloader) [516390] config gpio#72 to 0x4 failed!!
(bootloader) [517416] config gpio#73 to 0x4 failed!!
(bootloader) [518440] config gpio#74 to 0x4 failed!!
(bootloader) [519466] config gpio#75 to 0x4 failed!!
(bootloader) [520495] config gpio#77 to 0x4 failed!!
(bootloader) [521521] config gpio#81 to 0x0 failed!!
(bootloader) [526083] config gpio#106 to 0x4 failed!!
(bootloader) [752380] pm_check_power_on_status
(bootloader) [755938] Device CID is not powerkey debounce CID
(bootloader) [761666] register_emmc_cmd for read_mmc command test under
(bootloader) hboot mode.
(bootloader) [765388] Turn ON P/L Sensor and G-Sensor power!
(bootloader) [946558] g3u_init_display
(bootloader) [948183] g3u_panel_detect:, id0=0, id1=1
(bootloader) [950700] Check panel_id = 0x10940083
(bootloader) [1005345] g3u_init_display: Panel ID=0x10940083, type=NAIAD_
(bootloader) AUO_NT
(bootloader) [1288360] mipi_read_back:0 0x21410022
(bootloader) [1290583] mipi_read_back:0 0x2184001D
(bootloader) [1293100] mipi_read_back:0 0x210A002B
(bootloader) [1299956] [DISP] read_smd_display_id: id1= 0x50220041, id2=
(bootloader) 0x501D0084, id3= 0x502B000A
(bootloader) [1302388] [DISP] id3=0xA, eng ID=0x0
(bootloader) [1306468] PANEL_ID_NAIAD_AUO_NT_C2, panel ID=0x12940083
(bootloader) [1308378] mipi_dsi_cmds_tx_ext
(bootloader) [1440201] mipi_dsi_video_config:panel_id=0x10940083
(bootloader) [1442110] width=480 height=800
(bootloader) [1468678] chipset_bootmode(): reset_reason=0x00000000
(bootloader) [1470240] WirelessType = 5
(bootloader) [1471716] Board_PID : 252
(bootloader) [1574610] g3u_nfc_init
(bootloader) [1576243] [BATT] g3u_off_mode_charging_check
(bootloader) [1797648] usb_init_hw: pull up d+
(bootloader) [1827796] [BATT] charigng_type=1
(bootloader) [1828725] [BATT] mbat_in=28
(bootloader) [1831936] Battery voltage = 4200mv, adc=0xD2.
(bootloader) [1834886] [offmode_charge] batt_vol=4200mV
(bootloader) [2020418] g3u_init_backlight
(bootloader) [2021263] mipi_dsi_cmds_tx_ext
(bootloader) [2058463] Read RTC time fail
(bootloader) [2059481] hboot built year: 2013
(bootloader) [2070788] chipset_bootmode(): reset_reason=0x00000000
(bootloader) [2072611] ARM11 Boot Mode: 22
(bootloader) [2074521] Platform: HBOOT-8225
(bootloader) [2078428] [ERR] Boot/Recovery image does not exist!!!
(bootloader) [2419221] g3u_init_backlight
(bootloader) [2420066] mipi_dsi_cmds_tx_ext
(bootloader) [2447193] usb_Vbus 0
(bootloader) [2667841] usb_init_hw: pull low d+
(bootloader) [2697988] usb_check_vbus: pull up d+
(bootloader) [2699953]
(bootloader) ###[ Fastboot Mode ]###
(bootloader) [2703945] chipset_bootmode(): reset_reason=0x00000000
(bootloader) [2705595]
(bootloader) USB_STS_SUSPEND
(bootloader) [2807086]
(bootloader) USB_STS_RESET
(bootloader) [2809386] USB_SPEED_HIGH
(bootloader) [2970158]
(bootloader) USB_STS_RESET
(bootloader) [2972450] USB_SPEED_HIGH
(bootloader) [3209108] usb_setup:DEVICE_WRITE:SET_CONFIGURATION:1
(bootloader) [3210583] Set usb_ats = 0
(bootloader) [10735551] fastboot_command:[oem dmesg]
(bootloader) [10736905] fb_cmd_oem:dmesg
(bootloader) [10741245] register_debug_console: new entry ptr=0x45400000
OKAY [ 0.609s]
finished. total time: 0.611s
I really don't want to toss this jewel to the trashbin or dismantle it for parts.
Thanks a lot in advance,
Raymond.
P.S.: After looking at the errors a bit more i noticed that it's not setting the config:
C:\Users\Raymond\Desktop\Official rom>fastboot oem readconfig
...
(bootloader) Read config
(bootloader) index:0x0, value:0x0
(bootloader) index:0x1, value:0x0
(bootloader) index:0x2, value:0x0
(bootloader) index:0x3, value:0x0
(bootloader) index:0x4, value:0x0
(bootloader) index:0x5, value:0x0
(bootloader) index:0x6, value:0x0
(bootloader) index:0x7, value:0x0
(bootloader) index:0x8, value:0x0
(bootloader) index:0x9, value:0x0
(bootloader) index:0xA, value:0x0
(bootloader) index:0xB, value:0x0
OKAY [ 0.057s]
finished. total time: 0.059s
Click to expand...
Click to collapse
Don't know if it helps...
Hi all,
I have got my hands on a Moto 360 which seems to not be able to complete its boot. So I figured I would unlock it and flash it to something that is known to work from these forums. I have made a USB cable and was able to put the watch to bootloader. However after executing fastboot oem unlock I see the following output on the console:
Code:
➜ ~ fastboot oem unlock
...
(bootloader) WARNING: This will erase all private information on device
(bootloader) Press power button within 5 seconds to confirm
OKAY [ 0.005s]
finished. total time: 0.005s
It finishes right away, even without me pressing the power button. And the bootloader remains locked even if I press the power button afterwards. Is this a known ununlockable Moto 360 issue?
Here is the output of the getvar all command if it helps:
Code:
➜ ~ fastboot getvar all
(bootloader) max-download-size: 50331648
(bootloader) version: 0.3
(bootloader) version-hardware: 0009
(bootloader) version-bootloader: MINNOW0954
(bootloader) version-baseband: N/A
(bootloader) serialno: P027XQ2X63
(bootloader) apdieid: 12100219F7A73A0A0000D8FF0100
(bootloader) product: minnow
(bootloader) model-id: 0000
(bootloader) secure: no
(bootloader) qe:
(bootloader) unlocked: no
(bootloader) iswarrantyvoid: no
(bootloader) sstdiag: 04000000d2a13787000000000000000
(bootloader) cpu: OMAP3 SE
(bootloader) sbd_dis: 0
(bootloader) variant: minnow
(bootloader) ram-size: 512MB
(bootloader) partition-size:mbr:0000000000020000
(bootloader) partition-type:mbr:emmc
(bootloader) partition-size:mbmloader:0000000000020000
(bootloader) partition-type:mbmloader:emmc
(bootloader) partition-size:mbm:0000000000080000
(bootloader) partition-type:mbm:emmc
(bootloader) partition-size:mbmbackup:0000000000080000
(bootloader) partition-type:mbmbackup:emmc
(bootloader) partition-size:ebr:0000000000080000
(bootloader) partition-type:ebr:emmc
(bootloader) partition-size:cdt.bin:0000000000080000
(bootloader) partition-type:cdt.bin:emmc
(bootloader) partition-size:pds:0000000000400000
(bootloader) partition-type:pds:ext4
(bootloader) partition-size:utag:0000000000180000
(bootloader) partition-type:utag:emmc
(bootloader) partition-size:logo.bin:0000000000100000
(bootloader) partition-type:logo.bin:emmc
(bootloader) partition-size:boot:0000000001000000
(bootloader) partition-type:boot:emmc
(bootloader) partition-size:recovery:0000000001000000
(bootloader) partition-type:recovery:emmc
(bootloader) partition-size:misc:0000000000080000
(bootloader) partition-type:misc:emmc
(bootloader) partition-size:cid:0000000000080000
(bootloader) partition-type:cid:emmc
(bootloader) partition-size:kpanic:0000000000800000
(bootloader) partition-type:kpanic:emmc
(bootloader) partition-size:system:0000000010000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:cache:0000000010000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:customize:0000000008000000
(bootloader) partition-type:customize:ext4
(bootloader) partition-size:userdata:00000000c0e00000
(bootloader) partition-type:userdata:ext4
all: Done
finished. total time: 0.024s
I was not able to unlock this watch. But I was able to sideload an older version of F/W which now at least makes the watch to boot normally:
Code:
adb -s P027XQ2X63 sideload 5781439d7b4593772eeca3e32c168645bc229d37.signed-metallica-ota-2166028.zip
I am trying to restore my Pixel 2 XL to stock but am getting strange responses to successive fastboot commands. Successive identical commands produce different results, so scripts are failing. In particular I'm getting errors indicating that the device doesn't support slots, the active slot can't be determined, or bootloader variables don't exist. The extent of the mods I've made are unlocking the bootloader and installing Magisk via the patched boot.img method. A custom hosts file, running Titanium Backup, and a couple of tasker tasks that change wifi and bluetooth settings are all I'm using root for. I have not flashed a custom recovery. I am using a USB-A to USB-C cable.
fastboot getvar with various variables yields:
C:\Users\doug\Documents\Android\platform-tools>adb --version
Android Debug Bridge version 1.0.40
Version 4797878
Installed as C:\Users\doug\Documents\Android\platform-tools\adb.exe
C:\Users\doug\Documents\Android\platform-tools>adb devices
List of devices attached
710KPAE0400368 device
C:\Users\doug\Documents\Android\platform-tools>adb reboot bootloader
C:\Users\doug\Documents\Android\platform-tools>fastboot --version
fastboot version 28.0.0-4797878
Installed as C:\Users\doug\Documents\Android\platform-tools\fastboot.exe
C:\Users\doug\Documents\Android\platform-tools>fastboot 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:GA00125-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:4368
(bootloader) version-laf:1.0.3
(bootloader) version-baseband:g8998-00202-1803121407
(bootloader) version-bootloader:TMZ12g
(bootloader) version-abl:TMZ12g
(bootloader) version-aes:TMZ12g
(bootloader) version-cmnlib:TMZ12g
(bootloader) version-cmnlib64:TMZ12g
(bootloader) version-devcfg:TMZ12g
(bootloader) version-hyp:TMZ12g
(bootloader) version-keymaster:TMZ12g
(bootloader) version-pmic:TMZ12g
(bootloader) version-rpm:TMZ12g
(bootloader) version-xbl:TMZ12g
(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-typeersist:ext4
(bootloader) partition-sizeersist: 0x2000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xD423FB000
(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-slotmic: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:6
(bootloader) slot-unbootable:b:yes
(bootloader) slot-successful:b:yes
(bootloader) slot-retry-count:a:6
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
(bootloader) slot-count:2
(bootloader) slot-suffixes:a,b,
(bootloader) secure:yes
(bootloader) serialno:710KPAE0400368
(bootloader) product:taimen
(bootloader) max-download-size:0x20000000
(bootloader) kernel:uefi
(bootloader) qem:0
all:
Finished. Total time: 0.138s
C:\Users\doug\Documents\Android\platform-tools>fastboot getvar all
getvar:all FAILED (remote: unknown command)
Finished. Total time: 0.004s
C:\Users\doug\Documents\Android\platform-tools>fastboot 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:GA00125-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:4367
(bootloader) version-laf:1.0.3
(bootloader) version-baseband:g8998-00202-1803121407
(bootloader) version-bootloader:TMZ12g
(bootloader) version-abl:TMZ12g
(bootloader) version-aes:TMZ12g
(bootloader) version-cmnlib:TMZ12g
(bootloader) version-cmnlib64:TMZ12g
(bootloader) version-devcfg:TMZ12g
(bootloader) version-hyp:TMZ12g
(bootloader) version-keymaster:TMZ12g
(bootloader) version-pmic:TMZ12g
(bootloader) version-rpm:TMZ12g
(bootloader) version-xbl:TMZ12g
(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-typeersist:ext4
(bootloader) partition-sizeersist: 0x2000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xD423FB000
(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-slotmic: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:6
(bootloader) slot-unbootable:b:yes
(bootloader) slot-successful:b:yes
(bootloader) slot-retry-count:a:6
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
(bootloader) slot-count:2
(bootloader) slot-suffixes:a,b,
(bootloader) secure:yes
(bootloader) serialno:710KPAE0400368
(bootloader) product:taimen
(bootloader) max-download-size:0x20000000
(bootloader) kernel:uefi
(bootloader) qem:0
all:
Finished. Total time: 0.140s
C:\Users\doug\Documents\Android\platform-tools>fastboot getvar current-slot
getvar:current-slot FAILED (remote: unknown command)
Finished. Total time: 0.016s
C:\Users\doug\Documents\Android\platform-tools>fastboot getvar current-slot
getvar:current-slot FAILED (remote: GetVar Variable Not found)
Finished. Total time: 0.002s
C:\Users\doug\Documents\Android\platform-tools>fastboot getvar current-slot
getvar:current-slot FAILED (remote: unknown command)
Finished. Total time: 0.002s
C:\Users\doug\Documents\Android\platform-tools>fastboot getvar current-slot
current-slot: a
Finished. Total time: 0.002s
C:\Users\doug\Documents\Android\platform-tools>fastboot getvar current-slot
getvar:current-slot FAILED (remote: unknown command)
Finished. Total time: -0.000s
C:\Users\doug\Documents\Android\platform-tools>fastboot getvar current-slot
current-slot: a
Finished. Total time: 0.000s
C:\Users\doug\Documents\Android\platform-tools>
Pointers to next steps appreciated!
Many thanks,
Doug
So, what happens when you download a stock ROM from Google, extract that file to your ADB directory, and run the batch file included within?
Strephon Alkhalikoi said:
So, what happens when you download a stock ROM from Google, extract that file to your ADB directory, and run the batch file included within?
Click to expand...
Click to collapse
That's what I was trying to do -- the flash-all.bat file was failing with inconsistent errors, generally trying to determine the active slot. That's what lead me to the fastboot getvars experiments, and with further reading concluded that maybe I had a flaky cable. A new one arrived this afternoon, and that turned out to be the problem!
I appreciate your interest in my issue and your response!
Doug
dougandthepixel said:
That's what I was trying to do -- the flash-all.bat file was failing with inconsistent errors, generally trying to determine the active slot. That's what lead me to the fastboot getvars experiments, and with further reading concluded that maybe I had a flaky cable. A new one arrived this afternoon, and that turned out to be the problem!
I appreciate your interest in my issue and your response!
Doug
Click to expand...
Click to collapse
how to solve it? Do you change the kind of USB-A to USB-C cable?
opooi said:
how to solve it? Do you change the kind of USB-A to USB-C cable?
Click to expand...
Click to collapse
Yep. You might even try different USB ports as well :good:
Badger50 said:
Yep. You might even try different USB ports as well :good:
Click to expand...
Click to collapse
What kind of USB port do you use?use official pixel 2 xl to fastboot aosp?
but i used my cable to fasboot the factory img , it successed.
i fastbooted aosp ,the condition was as with dougandthepixel。
Bad cable is the root cause. Get a shorter cable
Bad connection. Yup
arjunprabhu said:
Bad cable is the root cause. Get a shorter cable
Click to expand...
Click to collapse
i compile aosp to fastboot,it shows:
[email protected]:~/android-8.1.0_r1$ fastboot flashall -w
Warning: Could not determine slot for secondary images. Ignoring.
target didn't report max-download-size
error: Failed to identify current slot.
Click to expand...
Click to collapse
opooi said:
how to solve it? Do you change the kind of USB-A to USB-C cable?
Click to expand...
Click to collapse
Yes. I was using a generic brand 6' USB-A to USB-C cable. Because I'd read about USB-C to USB-C cables being an issue (and therefore the possibility that cables in general could be an issue) I decided to look for a better cable based on reviews. Of course if you look for opinions for longer than about 10 seconds you get conflicting advice, but ultimately I decided to take a chance on the well-reviewed "USB Type C Cable, Anker Powerline+ USB C to USB 3.0 Cable (3ft)" on Amazon. I also figured shorter would be better from a signal integrity standpoint.
I've now used this cable several times for other adb sessions and all have gone without error. So my 6' cable is relegated to charging duty.
dougandthepixel said:
Yes. I was using a generic brand 6' USB-A to USB-C cable. Because I'd read about USB-C to USB-C cables being an issue (and therefore the possibility that cables in general could be an issue) I decided to look for a better cable based on reviews. Of course if you look for opinions for longer than about 10 seconds you get conflicting advice, but ultimately I decided to take a chance on the well-reviewed "USB Type C Cable, Anker Powerline+ USB C to USB 3.0 Cable (3ft)" on Amazon. I also figured shorter would be better from a signal integrity standpoint.
I've now used this cable several times for other adb sessions and all have gone without error. So my 6' cable is relegated to charging duty.
Click to expand...
Click to collapse
i use my cable to fastboot factory, succeed.
fastboot AOSP,fail.it shows:
[email protected]:~/android-8.1.0_r1$ fastboot flashall -w
Warning: Could not determine slot for secondary images. Ignoring.
target didn't report max-download-size
error: Failed to identify current slot.
Click to expand...
Click to collapse
does it relate to cable?
opooi said:
i use my cable to fastboot factory, succeed.
fastboot AOSP,fail.it shows:
does it relate to cable?
Click to expand...
Click to collapse
I'm sorry but I don't know. I only know that my issue when trying to do the same (flashall) failed with one cable and succeeded with the other. It appeared that every other command was rejected and the inconsistent nature pointed to a flaky problem rather than a software issue. I can only say to try another cable or USB host hardware.
i try a new cable.it shows:
Warning: Device A/B support is outdated. Bootloader update required.
target didn't report max-download-size
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: GetVar Variable Not found)
getvar:version-bootloader FAILED (remote: GetVar Variable Not found)
Click to expand...
Click to collapse
One of the tell tail signs of the cable being an issue seems to be random inconsistency... As mentioned, some things work and others don't. Or something flashed fine then won't work when repeating the same commands. All my a-to-c cables are aftermarket and all work but my stock c_to_c cable failed almost every time.
I was having the same issues and others. I tried everything from updating ADB to USB drives, nothing work.
I decide to give Android SK "tool platform". Everything flash with zero issues! Including DP5 and TWRP temp recovery boot..
Hi,
I accidentally deleted the system partition on the phone using adb. Now I am not able to boot into recovery, or flash recovery, or even flash the fastboot rom, and I am stuck on the fastboot mode.
Can anyone help me flashing system partition, i.e. creating partition table on the phone using fastboot?
Thanks,
Amey
AmeyA said:
Hi,
I accidentally deleted the system partition on the phone using adb. Now I am not able to boot into recovery, or flash recovery, or even flash the fastboot rom, and I am stuck on the fastboot mode.
Can anyone help me flashing system partition, i.e. creating partition table on the phone using fastboot?
Thanks,
Amey
Click to expand...
Click to collapse
Extract the system image from the stock ROM and flash it through fastboot mode.
SubwayChamp said:
Extract the system image from the stock ROM and flash it through fastboot mode.
Click to expand...
Click to collapse
Hi, I cannot do that as I get an error "system partition not found" while flashing the system.img using fastboot.
AmeyA said:
Hi, I cannot do that as I get an error "system partition not found" while flashing the system.img using fastboot.
Click to expand...
Click to collapse
How did you delete system partition? Using "fastboot erase system"?
Are you sure your bootloader is locked?
SubwayChamp said:
How did you delete system partition? Using "fastboot erase system"?
Are you sure your bootloader is locked?
Click to expand...
Click to collapse
I was updating the partition table to increase the system partition size. During which the phone accidentally turned off and the system partition was gone..! I need to somehow correct the partition table using fastboot.
AmeyA said:
I was updating the partition table to increase the system partition size. During which the phone accidentally turned off and the system partition was gone..! I need to somehow correct the partition table using fastboot.
Click to expand...
Click to collapse
I guess you did take notes from the sizes to have how revert it and the tutorial that you followed also has a method in case you want return back like this https://iwf1.com/how-to-re-partitio...-all-options-included-change-size-fs-type-etc
I'm not sure if at least the boot partition keeps alive, in this case if you could use the Gparted file or either OrangeFox/TWRP has in-built a way to repair it.
Flash the custom recovery on the boot partition using
Code:
fastboot flash boot orangefox.img
and then just reboot, like in the boot is now the recovery your device will reboot to recovery theoretically.
SubwayChamp said:
I guess you did take notes from the sizes to have how revert it and the tutorial that you followed also has a method in case you want return back like this https://iwf1.com/how-to-re-partitio...-all-options-included-change-size-fs-type-etc
I'm not sure if at least the boot partition keeps alive, in this case if you could use the Gparted file or either OrangeFox/TWRP has in-built a way to repair it.
Flash the custom recovery on the boot partition using
Code:
fastboot flash boot orangefox.img
and then just reboot, like in the boot is now the recovery your device will reboot to recovery theoretically.
Click to expand...
Click to collapse
Hi, thank you very much for your time. However I am not able to boot into TWRP/Orangefox.
Some of the commands I trie, and the results I got are as follows, that may help you understand the issue:
Code:
adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
Code:
fastboot boot twrp-3.4.0-0-whyred.img
Sending 'boot.img' (42452 KB) OKAY [ 1.065s]
Booting FAILED (remote: 'Failed to load/authenticate boot image: 00000050')
fastboot: error: Command failed
Code:
fastboot getvar all
(bootloader) crc:1
(bootloader) anti:4
(bootloader) token:VQEBIAEQ9Tig3evCCIbvIZd+UDKaiAMGd2h5cmVkAgQi+ltp
(bootloader) hw-revision:10000
(bootloader) unlocked:yes
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4064
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) erase-block-size: 0x200
(bootloader) logical-block-size: 0x200
(bootloader) variant:SDM EMMC
(bootloader) partition-type:vendor:raw
(bootloader) partition-size:vendor: 0x8AC00000
(bootloader) partition-type:cache:f2fs
(bootloader) partition-size:cache: 0x11E00000
(bootloader) partition-type:recovery:raw
(bootloader) partition-size:recovery: 0x4000000
(bootloader) partition-type:boot:raw
(bootloader) partition-size:boot: 0x4000000
(bootloader) partition-type:rawdump:raw
(bootloader) partition-size:rawdump: 0x8000000
(bootloader) partition-type:modem:raw
(bootloader) partition-size:modem: 0xC000000
(bootloader) partition-type:logdump:raw
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:persistbak:raw
(bootloader) partition-size:persistbak: 0x2000000
(bootloader) partition-type:persist:raw
(bootloader) partition-size:persist: 0x2000000
(bootloader) partition-type:splash:raw
(bootloader) partition-size:splash: 0x4000000
(bootloader) partition-type:bk2:raw
(bootloader) partition-size:bk2: 0x2000000
(bootloader) partition-type:mdtp:raw
(bootloader) partition-size:mdtp: 0x2000000
(bootloader) partition-type:bk1:raw
(bootloader) partition-size:bk1: 0x1800000
(bootloader) partition-type:dsp:raw
(bootloader) partition-size:dsp: 0x1000000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2: 0x800000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1: 0x800000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg: 0x800000
(bootloader) partition-type:logfs:raw
(bootloader) partition-size:logfs: 0x800000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo: 0x800000
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc: 0x400000
(bootloader) partition-type:xblbak:raw
(bootloader) partition-size:xblbak: 0x380000
(bootloader) partition-type:xbl:raw
(bootloader) partition-size:xbl: 0x380000
(bootloader) partition-type:sti:raw
(bootloader) partition-size:sti: 0x200000
(bootloader) partition-type:bluetooth:raw
(bootloader) partition-size:bluetooth: 0x100000
(bootloader) partition-type:keymasterbak:raw
(bootloader) partition-size:keymasterbak: 0x100000
(bootloader) partition-type:keymaster:raw
(bootloader) partition-size:keymaster: 0x100000
(bootloader) partition-type:mdtpsecappbak:raw
(bootloader) partition-size:mdtpsecappbak: 0x400000
(bootloader) partition-type:mdtpsecapp:raw
(bootloader) partition-size:mdtpsecapp: 0x400000
(bootloader) partition-type:tzbak:raw
(bootloader) partition-size:tzbak: 0x400000
(bootloader) partition-type:tz:raw
(bootloader) partition-size:tz: 0x400000
(bootloader) partition-type:devcfg:raw
(bootloader) partition-size:devcfg: 0x100000
(bootloader) partition-type:devcfgbak:raw
(bootloader) partition-size:devcfgbak: 0x100000
(bootloader) partition-type:toolsfv:raw
(bootloader) partition-size:toolsfv: 0x100000
(bootloader) partition-type:ddr:raw
(bootloader) partition-size:ddr: 0x100000
(bootloader) partition-type:dip:raw
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:ablbak:raw
(bootloader) partition-size:ablbak: 0x100000
(bootloader) partition-type:abl:raw
(bootloader) partition-size:abl: 0x100000
(bootloader) partition-type:cmnlib64bak:raw
(bootloader) partition-size:cmnlib64bak: 0x100000
(bootloader) partition-type:cmnlib64:raw
(bootloader) partition-size:cmnlib64: 0x100000
(bootloader) partition-type:cmnlibbak:raw
(bootloader) partition-size:cmnlibbak: 0x100000
(bootloader) partition-type:cmnlib:raw
(bootloader) partition-size:cmnlib: 0x100000
(bootloader) partition-type:pmicbak:raw
(bootloader) partition-size:pmicbak: 0x80000
(bootloader) partition-type:pmic:raw
(bootloader) partition-size:pmic: 0x80000
(bootloader) partition-type:hypbak:raw
(bootloader) partition-size:hypbak: 0x80000
(bootloader) partition-type:hyp:raw
(bootloader) partition-size:hyp: 0x80000
(bootloader) partition-type:rpmbak:raw
(bootloader) partition-size:rpmbak: 0x80000
(bootloader) partition-type:rpm:raw
(bootloader) partition-size:rpm: 0x80000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp: 0x80000
(bootloader) partition-type:keystore:raw
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:msadp:raw
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:storsecbak:raw
(bootloader) partition-size:storsecbak: 0x20000
(bootloader) partition-type:storsec:raw
(bootloader) partition-size:storsec: 0x20000
(bootloader) partition-type:vbmetabak:raw
(bootloader) partition-size:vbmetabak: 0x10000
(bootloader) partition-type:vbmeta:raw
(bootloader) partition-size:vbmeta: 0x10000
(bootloader) partition-type:sec:raw
(bootloader) partition-size:sec: 0x5000
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd: 0x8000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits: 0x8000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc: 0x2000
(bootloader) partition-type:dpo:raw
(bootloader) partition-size:dpo: 0x2000
(bootloader) partition-type:switch:raw
(bootloader) partition-size:switch: 0x2000
(bootloader) secure:yes
(bootloader) serialno:44420506
(bootloader) product:whyred
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
Finished. Total time: 0.012s
As you can see, the "system" partirion is not available. Also, the device is not recognized for the "adb devices" command.
AmeyA said:
Hi, thank you very much for your time. However I am not able to boot into TWRP/Orangefox.
Some of the commands I trie, and the results I got are as follows, that may help you understand the issue:
Code:
adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
Code:
fastboot boot twrp-3.4.0-0-whyred.img
Sending 'boot.img' (42452 KB) OKAY [ 1.065s]
Booting FAILED (remote: 'Failed to load/authenticate boot image: 00000050')
fastboot: error: Command failed
Code:
fastboot getvar all
(bootloader) crc:1
(bootloader) anti:4
(bootloader) token:VQEBIAEQ9Tig3evCCIbvIZd+UDKaiAMGd2h5cmVkAgQi+ltp
(bootloader) hw-revision:10000
(bootloader) unlocked:yes
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4064
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) erase-block-size: 0x200
(bootloader) logical-block-size: 0x200
(bootloader) variant:SDM EMMC
(bootloader) partition-type:vendor:raw
(bootloader) partition-size:vendor: 0x8AC00000
(bootloader) partition-type:cache:f2fs
(bootloader) partition-size:cache: 0x11E00000
(bootloader) partition-type:recovery:raw
(bootloader) partition-size:recovery: 0x4000000
(bootloader) partition-type:boot:raw
(bootloader) partition-size:boot: 0x4000000
(bootloader) partition-type:rawdump:raw
(bootloader) partition-size:rawdump: 0x8000000
(bootloader) partition-type:modem:raw
(bootloader) partition-size:modem: 0xC000000
(bootloader) partition-type:logdump:raw
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:persistbak:raw
(bootloader) partition-size:persistbak: 0x2000000
(bootloader) partition-type:persist:raw
(bootloader) partition-size:persist: 0x2000000
(bootloader) partition-type:splash:raw
(bootloader) partition-size:splash: 0x4000000
(bootloader) partition-type:bk2:raw
(bootloader) partition-size:bk2: 0x2000000
(bootloader) partition-type:mdtp:raw
(bootloader) partition-size:mdtp: 0x2000000
(bootloader) partition-type:bk1:raw
(bootloader) partition-size:bk1: 0x1800000
(bootloader) partition-type:dsp:raw
(bootloader) partition-size:dsp: 0x1000000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2: 0x800000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1: 0x800000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg: 0x800000
(bootloader) partition-type:logfs:raw
(bootloader) partition-size:logfs: 0x800000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo: 0x800000
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc: 0x400000
(bootloader) partition-type:xblbak:raw
(bootloader) partition-size:xblbak: 0x380000
(bootloader) partition-type:xbl:raw
(bootloader) partition-size:xbl: 0x380000
(bootloader) partition-type:sti:raw
(bootloader) partition-size:sti: 0x200000
(bootloader) partition-type:bluetooth:raw
(bootloader) partition-size:bluetooth: 0x100000
(bootloader) partition-type:keymasterbak:raw
(bootloader) partition-size:keymasterbak: 0x100000
(bootloader) partition-type:keymaster:raw
(bootloader) partition-size:keymaster: 0x100000
(bootloader) partition-type:mdtpsecappbak:raw
(bootloader) partition-size:mdtpsecappbak: 0x400000
(bootloader) partition-type:mdtpsecapp:raw
(bootloader) partition-size:mdtpsecapp: 0x400000
(bootloader) partition-type:tzbak:raw
(bootloader) partition-size:tzbak: 0x400000
(bootloader) partition-type:tz:raw
(bootloader) partition-size:tz: 0x400000
(bootloader) partition-type:devcfg:raw
(bootloader) partition-size:devcfg: 0x100000
(bootloader) partition-type:devcfgbak:raw
(bootloader) partition-size:devcfgbak: 0x100000
(bootloader) partition-type:toolsfv:raw
(bootloader) partition-size:toolsfv: 0x100000
(bootloader) partition-type:ddr:raw
(bootloader) partition-size:ddr: 0x100000
(bootloader) partition-type:dip:raw
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:ablbak:raw
(bootloader) partition-size:ablbak: 0x100000
(bootloader) partition-type:abl:raw
(bootloader) partition-size:abl: 0x100000
(bootloader) partition-type:cmnlib64bak:raw
(bootloader) partition-size:cmnlib64bak: 0x100000
(bootloader) partition-type:cmnlib64:raw
(bootloader) partition-size:cmnlib64: 0x100000
(bootloader) partition-type:cmnlibbak:raw
(bootloader) partition-size:cmnlibbak: 0x100000
(bootloader) partition-type:cmnlib:raw
(bootloader) partition-size:cmnlib: 0x100000
(bootloader) partition-type:pmicbak:raw
(bootloader) partition-size:pmicbak: 0x80000
(bootloader) partition-type:pmic:raw
(bootloader) partition-size:pmic: 0x80000
(bootloader) partition-type:hypbak:raw
(bootloader) partition-size:hypbak: 0x80000
(bootloader) partition-type:hyp:raw
(bootloader) partition-size:hyp: 0x80000
(bootloader) partition-type:rpmbak:raw
(bootloader) partition-size:rpmbak: 0x80000
(bootloader) partition-type:rpm:raw
(bootloader) partition-size:rpm: 0x80000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp: 0x80000
(bootloader) partition-type:keystore:raw
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:msadp:raw
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:raw
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:storsecbak:raw
(bootloader) partition-size:storsecbak: 0x20000
(bootloader) partition-type:storsec:raw
(bootloader) partition-size:storsec: 0x20000
(bootloader) partition-type:vbmetabak:raw
(bootloader) partition-size:vbmetabak: 0x10000
(bootloader) partition-type:vbmeta:raw
(bootloader) partition-size:vbmeta: 0x10000
(bootloader) partition-type:sec:raw
(bootloader) partition-size:sec: 0x5000
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd: 0x8000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits: 0x8000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc: 0x2000
(bootloader) partition-type:dpo:raw
(bootloader) partition-size:dpo: 0x2000
(bootloader) partition-type:switch:raw
(bootloader) partition-size:switch: 0x2000
(bootloader) secure:yes
(bootloader) serialno:44420506
(bootloader) product:whyred
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
Finished. Total time: 0.012s
As you can see, the "system" partirion is not available. Also, the device is not recognized for the "adb devices" command.
Click to expand...
Click to collapse
No, adb commands won't work as you can't boot to system.
You didn't try what I suggested, I didn't say to try to boot to OrangeFox but to flash it on the boot partition instead of on the recovery partition, I know it's unusual but don't care about, if the flash is successful then don't type any more command but reboot with button power, it has to make its first parade In the boot image where now is OrangeFox.
For the rest I'm not sure if the info from your device was hidden cause i didn't see a return of the device iD
SubwayChamp said:
No, adb commands won't work as you can't boot to system.
You didn't try what I suggested, I didn't say to try to boot to OrangeFox but to flash it on the boot partition instead of on the recovery partition, I know it's unusual but don't care about, if the flash is successful then don't type any more command but reboot with button power, it has to make its first parade In the boot image where now is OrangeFox.
For the rest I'm not sure if the info from your device was hidden cause i didn't see a return of the device iD
Click to expand...
Click to collapse
Hi, I tried
Code:
[email protected] Recoveries % fastboot flash boot Orangefox\ Recovery.img
Sending 'boot' (46732 KB) OKAY [ 1.000s]
Writing 'boot' OKAY [ 0.385s]
Finished. Total time: 1.388s
[email protected] Recoveries % g
this command, however, the phone did not boot into the recovery when I restarted it using the power button.
Also,
Code:
adb devices
dowsn't return any device code.
AmeyA said:
Hi, I tried
Code:
[email protected] Recoveries % fastboot flash boot Orangefox\ Recovery.img
Sending 'boot' (46732 KB) OKAY [ 1.000s]
Writing 'boot' OKAY [ 0.385s]
Finished. Total time: 1.388s
[email protected] Recoveries % g
this command, however, the phone did not boot into the recovery when I restarted it using the power button.
Also,
Code:
adb devices
dowsn't return any device code.
Click to expand...
Click to collapse
It's not clear which command you tried here: "[email protected] Recoveries % fastboot flash boot Orangefox\ Recovery.img"
Firstly extract the OrangeFox recovery image from the zip, then rename it for example to just orange, you will have orange.img then type or copy/paste from here:
Code:
fastboot flash boot orange.img
and finally press the power button till device boots up.
adb commands DON'T work while in fastboot, adb commands only work when device is on, there is a variant to sideload/flash files that work on recovery mode.
SubwayChamp said:
It's not clear which command you tried here: "[email protected] Recoveries % fastboot flash boot Orangefox\ Recovery.img"
Firstly extract the OrangeFox recovery image from the zip, then rename it for example to just orange, you will have orange.img then type or copy/paste from here:
Code:
fastboot flash boot orange.img
and finally press the power button till device boots up.
adb commands DON'T work while in fastboot, adb commands only work when device is on, there is a variant to sideload/flash files that work on recovery mode.
Click to expand...
Click to collapse
Its the same command. Just that the name of the recovery file is "Orangefox Recovery.img"
The command I executed are:
Code:
fastboot flash boot recovery.img
fastboot flash boot boot.img
fastboot flash boot OrangefoxRecovery.img
nothing worked.
AmeyA said:
It's not clear which command you tried here: "[email protected] Recoveries % fastboot flash boot Orangefox\ Recovery.img"
Firstly extract the OrangeFox recovery image from the zip, then rename it for example to just orange, you will have orange.img then type or copy/paste from here:
Its the same command. Just that the name of the recovery file is "Orangefox Recovery.img"
The command I executed are:
nothing worked.
Click to expand...
Click to collapse
Ok then I have to assume that you did for example: "fastboot flash boot OrangeFoxRecovery.img" and then rebooted but nothing. Try next with "fastboot reboot" instead of power button, just a note, name of images can't contain spaces.
Did you remember the site/thread that you were based on to repartition, maybe they provide a method to revert it.
SubwayChamp said:
Ok then I have to assume that you did for example: "fastboot flash boot OrangeFoxRecovery.img" and then rebooted but nothing. Try next with "fastboot reboot" instead of power button, just a note, name of images can't contain spaces.
Did you remember the site/thread that you were based on to repartition, maybe they provide a method to revert it.
Click to expand...
Click to collapse
Yup, I did the same. The recovery image file name doesn't contain any spaces or special characters.
I followed https://forum.hovatek.com/thread-32750.html this article. However, I did not find any info on how to revert the changes.
AmeyA said:
Yup, I did the same. The recovery image file name doesn't contain any spaces or special characters.
I followed https://forum.hovatek.com/thread-32750.html this article. However, I did not find any info on how to revert the changes.
Click to expand...
Click to collapse
I did read what you wrote in the other thread: "fastboot flash boot OrangefoxRecovery.img
This command executes successfully, but after restarting the phone using fastboot boot OrangefoxRecovery.img or using the [power + volume up] button, the devices goes to the fastboot mode."
And just to be clear what I suggested to do is first flash the recovery image in the boot partition, at this point your command is ok
But then you tried "starting the phone using fastboot boot OrangefoxRecovery.img or using the [power + volume up] button"
And I suggested that after to flash the recovery image onto the boot partition you don't execute any command nor try to boot to recovery using vol up+pwr buttons BUT simply press ONLY power button (approximately 10 seconds) till your device try to boot to system, of course it can't boot to system but it is expecting that when it goes to the boot stage then it will find recovery image in the boot partition.
If this action correctly done (not like you were doing) doesn't result then you could consider the next:
I did read in the guide that is needed to temporarily erased the partitions that are between system and userdata and those are boot, recovery and something more then I guess in this process your device reboots inadvertently and get corrupted but you did format them so probably exists a method re-format them through fastboot at least the recovery and/or boot partition to get them working, if you can boot to recovery then probably you could repair the other partitions.
Try this
Hi All, thanks for all the help. The issue is resolved now. You can check the details on this link: https://forum.hovatek.com/thread-36653-post-202140.html#pid202140
Thanks to X3non for the great help..!
My phone is back to life...!! Yey..!