Inconsistent fastboot/bootloader responses - Google Pixel 2 XL Questions & Answers

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..

Related

Unable to unlock Moto 360 (stays locked)

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 cant boot pixel xl

Pie 9.0 with Magisk root then relock bootloader cause this
(bootloader) version:0.5
(bootloader) hw-revisionVT
(bootloader) mid:G-2PW2200
(bootloader) version-main:4.27.1700.10
(bootloader) imei:352677080385593
(bootloader) ramdump-mode:false
(bootloader) boot-mode:FASTBOOT
(bootloader) has-slot:radio:yes
(bootloader) has-slot:bootloader:yes
(bootloader) has-slot:reserve5:no
(bootloader) has-slot:devinfo:no
(bootloader) has-slot:fsg:no
(bootloader) has-slot:mfg:no
(bootloader) has-slot:board_info:no
(bootloader) has-slot:reserve4:no
(bootloader) has-slot:metadata:no
(bootloader) has-slotg2fs:no
(bootloader) has-slotg1fs:no
(bootloader) has-slot:ramdump:no
(bootloader) has-slot:frp:no
(bootloader) has-slot:reserve3:no
(bootloader) has-slot:cdt:no
(bootloader) has-slot:ddr:no
(bootloader) has-slot:modemst2:no
(bootloader) has-slot:modemst1:no
(bootloader) has-slot:fsc:no
(bootloader) has-slot:dip:no
(bootloader) has-slot:dpo:no
(bootloader) has-slot:devinfobak:no
(bootloader) has-slot:sec:no
(bootloader) has-slotersist:no
(bootloader) has-slot:ssd:no
(bootloader) has-slot:misc:no
(bootloader) has-slot:xbl:yes
(bootloader) has-slot:reserve0:no
(bootloader) has-slot:userdata:no
(bootloader) has-slot:system:yes
(bootloader) has-slot:vendor:yes
(bootloader) has-slot:apdp:yes
(bootloader) has-slot:msadp:yes
(bootloader) has-slot:modem:yes
(bootloader) has-slot:devcfg:yes
(bootloader) has-slot:hosd:yes
(bootloader) has-slot:boot:yes
(bootloader) has-slot:aboot:yes
(bootloader) has-slot:cmnlib64:yes
(bootloader) has-slot:cmnlib32:yes
(bootloader) has-slot:hyp:yes
(bootloader) has-slotmic:yes
(bootloader) has-slot:rpm:yes
(bootloader) has-slot:tz:yes
(bootloader) has-slot:keymaster:yes
(bootloader) has-slot:bootlocker:yes
(bootloader) slot-count:2
(bootloader) current-slot:a
(bootloader) slot-retry-count:b:1
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:no
(bootloader) slot-retry-count:a:2
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4155000
(bootloader) variant:ROW
(bootloader) secure:yes
(bootloader) unlocked:no
(bootloader) version-baseband:8996-130181-1808270817
(bootloader) version-bootloader:8996-012001-1811131534
(bootloader) off-mode-charge:1
(bootloader) charger-screen-enabled:1
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x1c8d800000
(bootloader) partition-type:system_b:ext4
(bootloader) partition-size:system_b: 0x80000000
(bootloader) partition-type:system_a:ext4
(bootloader) partition-size:system_a: 0x80000000
(bootloader) partition-type:vendor_b:ext4
(bootloader) partition-size:vendor_b: 0x12c00000
(bootloader) partition-type:vendor_a:ext4
(bootloader) partition-size:vendor_a: 0x12c00000
(bootloader) partition-type:boot_b:raw
(bootloader) partition-size:boot_b: 0x2000000
(bootloader) partition-type:boot_a:raw
(bootloader) partition-size:boot_a: 0x2000000
(bootloader) serialno:HT73A0201862
(bootloader) kernel:lk
(bootloader) product:marlin
how can i flash a raw boot partition with device locked
cosau said:
Pie 9.0 with Magisk root then relock bootloader cause this ...
(bootloader) unlocked:no...
how can i flash a raw boot partition with device locked
Click to expand...
Click to collapse
@cosau
If you rooted your Pixel/Pixel XL (The reason people unlock the bootloader.). Why would you lock the bootloader? Locking the bootloader without returning the phone to Stock can result in a bricked phone. Consider yourself, extremely, lucky if you didn't brick it. Go to this thread Do #3 to Unlock bootloader: [Guide] Pixel XL Android 9.0 (Pie) Unlock/Root/Install Images/Kernels/Recovery + by Homeboy76 Then do #4 'keep data', and #8 to root or
side load the OTA if you do not want to unlock the bootloader or root.
The point is this locked bootloader seem to have no or missing library to support command
Anytime i flash file .img got notice
<bootloader> Command is not supported.
<bootloader> Please unlock device to enable this command.
FAILED <remote:''>
and im stuck in boot_slot a.
fastboot reboot bootloader --slot b > still reboot in boot_slot a
Start or boot in recovery got flashing google logo
try to read oem command or info
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: true
(bootloader) Display panel: true
OKAY [ 0.151s]
All unlock command in oem got notice : <remote: 'oem unlock is not allowed'>
anyway to uncompress img from pc and send directly to partition
Have you tried flashing the factory images? You probably have to go into dev settings and re-enable the unlock bootloader option.
If you re-locked your bootloader with a modified system, cannot boot the device, and cannot unlock your bootloader in fastboot, then you have made a major mistake and it's unlikely that you can fix it.
I've now said this in quite a few posts. DON'T relock your bootloader. Ever. Ever ever.

finding firmware for xa2 h3113 1311-2845 possible?

ive used xperifirm. tried different variants of firmware. the firmware for my phone isnt listed on xperifirm. any help finding it or providing it would be great. heres my getvar info.
C:\Users\mhm\Desktop\platform-tools>fastboot getvar all
< waiting for any device >
(bootloader) unlocked:yes
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4302
(bootloader) version-baseband:1311-2845_50.1.A.10.51
(bootloader) version-bootloader:1310-0301_X_Boot_SDM630_LA1.0_O_121
(bootloader) variant:SDM EMMC
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x500000000
(bootloader) partition-type:system_b:ext4
(bootloader) partition-size:system_b: 0xB5000000
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:yes
(bootloader) current-slot:_b
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:0
(bootloader) slot-unbootable:b:yes
(bootloader) slot-successful:b:no
(bootloader) slot-retry-count:a:3
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:no
(bootloader) slot-count:2
(bootloader) secure:no
(bootloader) product:H3113
(bootloader) serialno:CQ3000CYE2
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
Finished. Total time: 0.234s
Open dialer & type
*#*#7378423#*#*
tap on Service info » Software info,
search for Customization Version.
Afterwards search in xperifirm after this cda.
But it looks like you have to search for 1312-2606 Customized DE

Hard bricked Note 5 Pro without system partition

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..!

Bricket phone

Hi, I've done something real wrong with this phone.
In the past I've rooted the phone and installed lineageOS. Everithing was working fine till 2 days ago I've did a factory reset from the menu, at reboot I had only TWRP.
I've then dowloaded the stock image and installed it from twrp.
After reboot screen was black, and is still black today :-(
If I long press power button and volume up I can see the device from adb.
I can also reboot (using adb, because I can't interact with phone buttons) in fastboot mode using adb.
This is the output of get var all command:
```
➜ platform-tools ./fastboot getvar all
< waiting for any device >
(bootloader) crc:1
(bootloader) anti:1
(bootloader) DP:0x0
(bootloader) token:9ovLp3D0s7vjKK+0oXEzy14Ujpk=
(bootloader) board_version:1.4.0
(bootloader) unlocked:yes
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:3922
(bootloader) version-baseband:`���
(bootloader) version-bootloader:`���
(bootloader) variant:MSM UFS
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x10000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xD247FB000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0x140000000
(bootloader) wcnss:1
(bootloader) serial:f9fcad2c
(bootloader) product:sagit
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
Finished. Total time: 0.002s
➜ platform-tools
```
I've tried a lot of different commands, but I don't know if the phone is bricked or still working, for example I've downloaded the latest lineage os from here: https://download.lineageos.org/sagit, then tried:
`/fastboot flashall lineage-18.1-20210923-nightly-sagit-signed.zip`
But the command is stuck with the blinking cursor. I've also tried different usb ports on this pc, I've tried from windows and from linux without luck.
I've to throw away this phone? there's some hope?
Thank you

Categories

Resources