HTC 626G cannot retreive OEM identifier token from fastboot - Desire 626 Q&A, Help & Troubleshooting

Hello,
I have been trying in vain for the last two days to unlock the bootloader of my wife's HTC 626G phone following the instructions on HTC's site which, as I understand, is the first prerequisite before one can install a custom ROM on it.
I have scoured the Web for all sorts of recipes, howtos, and hacks (also in this forum) but none of them seems to match my particular environment.
In fact, most instructions assume that their user have a Windows host at their hand which is no option for me, for I can only rely on a Linux host and would like to prefer usage of the ADB tools from a shell.
I am trying this on a Fedora with following Android tools' versions.
Code:
[[email protected]:~/HTC_Desire-626/log]
$ rpm -qf $(which fastboot)
android-tools-20160327git3761365735de-2.fc25.x86_64
I have only discovered ways so far, to boot the phone into one of the following modes: bootloader, recovery, or sideload (no idea, what the last one would be used for), either via adb reboot ...[\i], or by pressing Volume Down plus Power On buttons at phone.
I haven't discovered how to boot into the ominous "download" mode.
So having attached the phone, that has been booted into fastboot mode
(n.b. phone's display shows at the bottom "=> FASTBOOT mode...")
to my Fedora host's USB port, while the ADB Server is running
(started via systemd, though don't know if this is necessary, when only fastboot commands are issued)
Code:
[[email protected]:~/HTC_Desire-626/log]
$ systemctl is-active adb.service
active
[[email protected]:~/HTC_Desire-626/log]
$ systemctl show adb.service -p MainPID
MainPID=3862
the fastboot command that should be issued to retrieve the OEM token, that needs to be submitted to the HTC site in order to receive an unlock token from them, fails.
(n.b. unlike all issued adb commands in device mode, I found out that the fastboot command requires root privileges.
when issuing fastboot as !root user, I get the pesky "waiting for device" hang)
Code:
[[email protected]:~/HTC_Desire-626/log]
$ fastboot --version
fastboot version 3761365735de
[[email protected]:~/HTC_Desire-626/log]
$ fastboot devices
no permissions; see [http://developer.android.com/tools/device.html] fastboot
[[email protected]:~/HTC_Desire-626/log]
$ sudo fastboot devices -l
0123456789AB fastboot usb:3-1.3
[[email protected]:~/HTC_Desire-626/log]
$ fastboot oem get_identifier_token
< waiting for any device >
^C
[[email protected]:~/HTC_Desire-626/log]
$ sudo fastboot oem get_identifier_token
...
FAILED (remote: unknown command)
finished. total time: 0.002s
[[email protected]:~/HTC_Desire-626/log]
$ sudo fastboot flashing get_unlock_ability
...
FAILED (remote: unknown command)
finished. total time: 0.003s
[[email protected]:~/HTC_Desire-626/log]
$ sudo fastboot getvar all
(bootloader) partition-size:userdata: 32000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: c800000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: 5e000000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:expdb: ce0000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:cota: 3200000
(bootloader) partition-type:cota: ext4
(bootloader) partition-size:resv: 80000
(bootloader) partition-type:resv: raw data
(bootloader) partition-size:ebr2: 80000
(bootloader) partition-type:ebr2: raw data
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:misc: 80000
(bootloader) partition-type:misc: raw data
(bootloader) partition-size:sec_ro: 600000
(bootloader) partition-type:sec_ro: ext4
(bootloader) partition-size:recovery: a00000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot: a00000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:uboot: 60000
(bootloader) partition-type:uboot: raw data
(bootloader) partition-size:seccfg: 40000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-size:protect_s: a00000
(bootloader) partition-type:protect_s: ext4
(bootloader) partition-size:protect_f: a00000
(bootloader) partition-type:protect_f: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-size:pro_info: 300000
(bootloader) partition-type:pro_info: raw data
(bootloader) partition-size:ebr1: 80000
(bootloader) partition-type:ebr1: raw data
(bootloader) partition-size:mbr: 80000
(bootloader) partition-type:mbr: raw data
(bootloader) partition-size:preloader: 40000
(bootloader) partition-type:preloader: raw data
(bootloader) kernel: lk
(bootloader) product: HTC_EUROPE
(bootloader) version: 0.5
all: Done!!
finished. total time: 0.004s
Can anyone tell me if my phone is capable at all to disclose the coveted OEM identity token, or suggest a method or hack that would work in my Windows-free setting?

I had a similar issue just today with mine. I am running Ubuntu so it may not be the same issue for you:
I am running a 64 bit fastboot (same as you it appears). I downloaded the fastboot from htcdev site (32 bit) and had to install the 32 bit libraries before it would even run. Even after getting that fastboot to run I was receiving the same error. I ended up getting this working by booting the device to Download mode and using the 32 bit fastboot.
If you get an ambiguous error that the file doesn't exist you need 32 bit libraries: ia32-libs (aka lib32z1) and 32 bit libs for c++ (lib32stdc++6); you should be able to yum those.
TLDR; Try adb reboot bootloader then using volume down to select reboot Download mode. if that doesn't work try the fastboot from htcdev site while the device is in download mode; not bootloader mode.

Cpt_Birdseye said:
Hello,
I have been trying in vain for the last two days to unlock the bootloader of my wife's HTC 626G phone following the instructions on HTC's site which, as I understand, is the first prerequisite before one can install a custom ROM on it.
I have scoured the Web for all sorts of recipes, howtos, and hacks (also in this forum) but none of them seems to match my particular environment.
In fact, most instructions assume that their user have a Windows host at their hand which is no option for me, for I can only rely on a Linux host and would like to prefer usage of the ADB tools from a shell.
I am trying this on a Fedora with following Android tools' versions.
Code:
[[email protected]:~/HTC_Desire-626/log]
$ rpm -qf $(which fastboot)
android-tools-20160327git3761365735de-2.fc25.x86_64
I have only discovered ways so far, to boot the phone into one of the following modes: bootloader, recovery, or sideload (no idea, what the last one would be used for), either via adb reboot ...[\i], or by pressing Volume Down plus Power On buttons at phone.
I haven't discovered how to boot into the ominous "download" mode.
So having attached the phone, that has been booted into fastboot mode
(n.b. phone's display shows at the bottom "=> FASTBOOT mode...")
to my Fedora host's USB port, while the ADB Server is running
(started via systemd, though don't know if this is necessary, when only fastboot commands are issued)
Code:
[[email protected]:~/HTC_Desire-626/log]
$ systemctl is-active adb.service
active
[[email protected]:~/HTC_Desire-626/log]
$ systemctl show adb.service -p MainPID
MainPID=3862
the fastboot command that should be issued to retrieve the OEM token, that needs to be submitted to the HTC site in order to receive an unlock token from them, fails.
(n.b. unlike all issued adb commands in device mode, I found out that the fastboot command requires root privileges.
when issuing fastboot as !root user, I get the pesky "waiting for device" hang)
Code:
[[email protected]:~/HTC_Desire-626/log]
$ fastboot --version
fastboot version 3761365735de
[[email protected]:~/HTC_Desire-626/log]
$ fastboot devices
no permissions; see [http://developer.android.com/tools/device.html] fastboot
[[email protected]:~/HTC_Desire-626/log]
$ sudo fastboot devices -l
0123456789AB fastboot usb:3-1.3
[[email protected]:~/HTC_Desire-626/log]
$ fastboot oem get_identifier_token
< waiting for any device >
^C
[[email protected]:~/HTC_Desire-626/log]
$ sudo fastboot oem get_identifier_token
...
FAILED (remote: unknown command)
finished. total time: 0.002s
[[email protected]:~/HTC_Desire-626/log]
$ sudo fastboot flashing get_unlock_ability
...
FAILED (remote: unknown command)
finished. total time: 0.003s
[[email protected]:~/HTC_Desire-626/log]
$ sudo fastboot getvar all
(bootloader) partition-size:userdata: 32000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: c800000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: 5e000000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:expdb: ce0000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:cota: 3200000
(bootloader) partition-type:cota: ext4
(bootloader) partition-size:resv: 80000
(bootloader) partition-type:resv: raw data
(bootloader) partition-size:ebr2: 80000
(bootloader) partition-type:ebr2: raw data
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:misc: 80000
(bootloader) partition-type:misc: raw data
(bootloader) partition-size:sec_ro: 600000
(bootloader) partition-type:sec_ro: ext4
(bootloader) partition-size:recovery: a00000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot: a00000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:uboot: 60000
(bootloader) partition-type:uboot: raw data
(bootloader) partition-size:seccfg: 40000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-size:protect_s: a00000
(bootloader) partition-type:protect_s: ext4
(bootloader) partition-size:protect_f: a00000
(bootloader) partition-type:protect_f: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-size:pro_info: 300000
(bootloader) partition-type:pro_info: raw data
(bootloader) partition-size:ebr1: 80000
(bootloader) partition-type:ebr1: raw data
(bootloader) partition-size:mbr: 80000
(bootloader) partition-type:mbr: raw data
(bootloader) partition-size:preloader: 40000
(bootloader) partition-type:preloader: raw data
(bootloader) kernel: lk
(bootloader) product: HTC_EUROPE
(bootloader) version: 0.5
all: Done!!
finished. total time: 0.004s
Can anyone tell me if my phone is capable at all to disclose the coveted OEM identity token, or suggest a method or hack that would work in my Windows-free setting?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=77300835&postcount=2

Related

Stuck in fastboot, LG L90 D405N

Hello,
I made a mistake of using a .bat file created by someone to unlock my bootloader. After going through the .bat file, I see that it nulled my boot.img file on the phone, so now I'm stuck in fastboot mode (previously nulled LAF to get access). The irony here is that I do have a backup of the boot.img file on both my PC and on the phone's internal memory, but there's no way (atleast I haven't found one) to actually flash it back so it would work. So my question here would be - do you guys have any ideas how should I proceed? I tried using fastboot flash, but all I get in turn is an error:
"FAILED (remote: unknown command)"
Device is not unlocked (as I was trying to get it unlocked). I have no access to anything else other than fastboot.
getvar all outputs this:
(bootloader) display-panel:
(bootloader) charger-screen-enabled: 0
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:cache: 0x38400000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:userdata: 0xfbd80000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:system: 0x80000000
(bootloader) unlocked: no
(bootloader) secure-boot: no
(bootloader) version-hardware: rev_10
(bootloader) variant: w7n_global_com Samsung 8GB
(bootloader) serialno: LGD405aa16eaa7
(bootloader) kernel: lk
(bootloader) product: W7N_GLOBAL_COM
all:
finished. total time: 0.041s
Any input to this thread is appreciated!

Can't flash, can't unlock, can't unbrick. dead?

Hello. i've got razr i with stock 4.4.2 eu. android version. absolutely stock.
once i've waked up and seen mistake message from GP servises and viber. it was looping window. I've decided to reboot my phone, but it's nothing heppens after M logo.
I can enter fastbooth with pressing Vol - and connecting USB to PC.
So.
this is my log from fastboot
(bootloader) version-bootloader: 0x2025
(bootloader) product: smi
(bootloader) secure: yes
(bootloader) rom-key: motorola-key
(bootloader) model-id: 0268
(bootloader) cid: 7
(bootloader) version: 0.5
(bootloader) uid: 02024F9481610C97587432F726DA
(bootloader) max-download-size: 104857600
(bootloader) emmc-size: 8GB
(bootloader) qe: qe 0/1
(bootloader) unlocked: no
(bootloader) is-warranty-void: no
(bootloader) ifwi: 42.26
(bootloader) cpu: Intel(R) Atom(TM) CPU Z2480 @ 2.00GHz
(bootloader) kernel: droidboot
(bootloader) battery: capacity: 92, voltage: 4223125, temperature: 250
(bootloader) modem-status: secure
all:
finished. total time: 0.358s
I've tryed to unlock bootloader, but it's failed
C:\RAZRi_Root_Windows>fastboot oem unlock YD2NIQNLLXYYM6Y4LNPX
...
(bootloader) BLKDISCARD ioctl /dev/block/mmcblk0 fail
(bootloader) Erase userdata fail
(bootloader) General Unlock failure!
(bootloader) OEM unlock failure!
FAILED (remote failure)
finished. total time: 8.472s
No result if i wright in cmd fastboot erase userdata
Mistake and failed on flashing with RSD on step Erase Used Data
Unbriking doesn't help too.
What am i doing wrong?

LG-D415 stuck in fastboot No operating system installed.

To make long story short was stuck in recovery (due to 14.1 issue) tried the twrp3.2.1-0mako.img solution but somewhere (hard to nail down) hit reboot before I had installed a rom. Now stuck in fastboot. Have tried many different ways to get system but none work. Need help with fastboot and partitions getvar:slot . Here is what I can get from the phone as info:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.im
downloading 'boot.img'...
OKAY [ 0.438s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.444s
C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot getvar all
(bootloader) display-panel:
(bootloader) charger-screen-enabled: 0
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:cache: 0x38400000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:userdata: 0x102180400
(bootloader) partition-type:system: ext4
(bootloader) partition-size:system: 0x80000000
(bootloader) unlocked: yes
(bootloader) secure-boot: yes
(bootloader) version-hardware: rev_10
(bootloader) variant: w7_tmo_us Samsung 8GB
(bootloader) serialno: LGD415e09994e6
(bootloader) kernel: lk
(bootloader) product: W7_TMO_US
all:
finished. total time: 0.050s
all commands except this one and list devices have failed
m0nyman said:
To make long story short was stuck in recovery (due to 14.1 issue) tried the twrp3.2.1-0mako.img solution but somewhere (hard to nail down) hit reboot before I had installed a rom. Now stuck in fastboot. Have tried many different ways to get system but none work. Need help with fastboot and partitions getvar:slot . Here is what I can get from the phone as info:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.im
downloading 'boot.img'...
OKAY [ 0.438s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.444s
C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot getvar all
(bootloader) display-panel:
(bootloader) charger-screen-enabled: 0
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:cache: 0x38400000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:userdata: 0x102180400
(bootloader) partition-type:system: ext4
(bootloader) partition-size:system: 0x80000000
(bootloader) unlocked: yes
(bootloader) secure-boot: yes
(bootloader) version-hardware: rev_10
(bootloader) variant: w7_tmo_us Samsung 8GB
(bootloader) serialno: LGD415e09994e6
(bootloader) kernel: lk
(bootloader) product: W7_TMO_US
all:
finished. total time: 0.050s
all commands except this one and list devices have failed
Click to expand...
Click to collapse
Looks like no solution for this ?
Enviado desde mi SM-G975U1 mediante Tapatalk

[Solved] A7600-F: How to flash TWRP when recovery partition doesn't support flashing

Hey there,
Spoiler: Edits
- I just hit in "fastboot reboot" and the device rebootet. So the fastboot might not be broken.
- used "fastboot flash recovery twrp.img", it returns me "Partition "recovery" not support flash"
- Added a Spoiler with returns of fastboot
- Added the try "fastboot boot twrp.img"
- added the solution
Spoiler: erased because of edits
if I turn my device into the fastboot mode, it seems to stuck while loading. First my steps and the Interface that I can see.
1. Starting the device while holding Vol+ and Power
2. Selecting fastboot
3. See "FASTBOOT mode..."
First Question: Do I get any other interface, when fastboot mode is started? In general there is a different image shown.
My overall aim is to intall twrp (and lineage os). So I installed a driver set for this device and the latest adb-toolset. Starting the fastboot mode, I'll try to turn over some fastboot commands, like "fastboot oem device-status", but there is no response.
If I use "fastboot devices" my device is shown in the list. My (windows 10-)hardware manager doesnt return any devices with driver errors. But, the tab is shown as a device by tp-link.
Could someone help me to get twrp installed?
I've rooted the tablet by kingoroot. (I know about) There are no sensible dates on and I'm ok with unrooting as well as reinstalling all stock-roms before installing lineage. Just wanted to be sure, that the environment is open for all activities to get twrp running.
My question turns into "how to flash twrp, when the recovery doesn't support flashing"?
When I use "fastboot flash recovery twrp.img", it returns me "Partition 'recovery' not support flash"
Thank you for your time and help
Edit:
Spoiler: return of fastboot getvar all
(bootloader) partition-size:userdata: 32000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: 10000000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: 4c800000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:expdb: a00000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:flex: 2800000
(bootloader) partition-type:flex: ext4
(bootloader) partition-size:resv: 80000
(bootloader) partition-type:resv: raw data
(bootloader) partition-size:ebr2: 80000
(bootloader) partition-type:ebr2: raw data
(bootloader) partition-size:logo: 300000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:misc: 80000
(bootloader) partition-type:misc: raw data
(bootloader) partition-size:sec_ro: 600000
(bootloader) partition-type:sec_ro: ext4
(bootloader) partition-size:recovery: 1000000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot: 1000000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:uboot: 60000
(bootloader) partition-type:uboot: raw data
(bootloader) partition-size:seccfg: 20000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-sizerotect_s: a00000
(bootloader) partition-typerotect_s: ext4
(bootloader) partition-sizerotect_f: a00000
(bootloader) partition-typerotect_f: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-sizero_info: 300000
(bootloader) partition-typero_info: raw data
(bootloader) partition-size:ebr1: 80000
(bootloader) partition-type:ebr1: raw data
(bootloader) partition-size:mbr: 80000
(bootloader) partition-type:mbr: raw data
(bootloader) partition-sizereloader: 1400000
(bootloader) partition-typereloader: raw data
(bootloader) kernel: lk
(bootloader) product: LVP9_ROW_WIFIONLY
(bootloader) version: 0.5
all: Done!!
Finished. Total time: 0.109s
If I try to temporarly boot from the twrp-image, this is happening:
"fastboot boot twrp.img" (imagine the image is called twrp)
Sending ... ok:
Booting ........ (nothing happens, neither on the tablet, nor the command line)
Edit:
Found a solution. Following this steps will help: https://forum.xda-developers.com/t/...-lenovo-a7600-f-mt6582.3895322/#post-78799763

Question Root?

Is there anyone who has any boot.img or knows the correct procedure to root this thing?
kouzelnik3 said:
Is there anyone who has any boot.img or knows the correct procedure to root this thing?
Click to expand...
Click to collapse
I would install Magisk by following the official installation instructions. Let me know if you have any questions after reading through them.
ethical_haquer said:
I would install Magisk by following the official installation instructions. Let me know if you have any questions after reading through them.
Click to expand...
Click to collapse
Yeah, that's what I know, but I don't have that boot img or something, yet.
kouzelnik3 said:
Yeah, that's what I know, but I don't have that boot img or something, yet.
Click to expand...
Click to collapse
If you can dd the right partition from the tablet, you can have the boot image:
From adb shell, launch the comand "lsblk". You will get a list of partition currently on the tablet. The boot partition should be indicated one way or another.
From adb shell, "dd if=/dev/[insert-boot-partition-name] of=/storage/emulated/0/boot.img"
Tranfert the saved boot.img to your computer.
w1nst0n sm1th said:
If you can dd the right partition from the tablet, you can have the boot image:
From adb shell, launch the comand "lsblk". You will get a list of partition currently on the tablet. The boot partition should be indicated one way or another.
From adb shell, "dd if=/dev/[insert-boot-partition-name] of=/storage/emulated/0/boot.img"
Tranfert the saved boot.img to your computer.
Click to expand...
Click to collapse
Well, by this command I cannot see any boot.img partition, only few others, which is weird.
Also according to the "dd" command, it didn't work (screenshots) because of Permission denied.
Error message
kouzelnik3 said:
Well, by this command I cannot see any boot.img partition, only few others, which is weird.
Also according to the "dd" command, it didn't work (screenshots) because of Permission denied.
Click to expand...
Click to collapse
There is an error in your command:
It's "lsblk", not "ls -blk"
See here for a linux version:
lsblk
You may need to set developer options on the device before being able to run such a command :
Develloper Options
And here an explanation of the dd command:
dd
If you're not sure about dd (you should be very cautious with that command), post a picture of the result of the lsblk command and I will tell you the exact command for dd.
I long quit the android space, but I'm interrested by this tablet since Android 13 has a hypervisor normally included (able to run a virtual machine).
w1nst0n sm1th said:
There is an error in your command:
It's "lsblk", not "ls -blk"
See here for a linux version:
lsblk
You may need to set developer options on the device before being able to run such a command :
Develloper Options
And here an explanation of the dd command:
dd
If you're not sure about dd (you should be very cautious with that command), post a picture of the result of the lsblk command and I will tell you the exact command for dd.
I long quit the android space, but I'm interrested by this tablet since Android 13 has a hypervisor normally included (able to run a virtual machine).
Click to expand...
Click to collapse
I have set up the Developer options before, but when I use "lsblk" command, it says "/system/bin/sh: lsblk: inaccessible or not found" which is why I used "ls -lbk". Do you know what be an issue here?
I got same results even with my rooted OnePlus 10 Pro.
Well. Apparently, lsblk is not included.
You will have to wait for an update to be available on the telegram channel, unpack the update to extract the boot.img (init_boot.img).
See :
https://forum.xda-developers.com/t/guide-magisk-unlock-root-keep-root-oos-13-a-10.4571171/
w1nst0n sm1th said:
Well. Apparently, lsblk is not included.
You will have to wait for an update to be available on the telegram channel, unpack the update to extract the boot.img (init_boot.img).
See :
https://forum.xda-developers.com/t/guide-magisk-unlock-root-keep-root-oos-13-a-10.4571171/
Click to expand...
Click to collapse
I thought that. By the way, which telegram channel has those files?
w1nst0n sm1th said:
...
I long quit the android space, but I'm interrested by this tablet since Android 13 has a hypervisor normally included (able to run a virtual machine).
Click to expand...
Click to collapse
Too bad it's not the variant with more RAM & storage. I'm also very intrigued but know very little apart from couple YouTube videos.
While we try to gain root. Can we get instructions on how to unlock the bootloader so I don't have to have my storage wiped again when we do get root
I assume it is basic proces as on any other OP device. OEM unlock, fastboot mode and other fastboot flashing unlock, then yes. Someone can try.
Fastboot oem unlock does not work , Fastboot flashing unlock threw an error but said it was successful but did not wipe data. Manually wipped data and got stuck in a boot loop. Windows will not detect it in recovery mode and I can not get it back into bootloader mode.
XxBigBuckxX said:
Fastboot oem unlock does not work , Fastboot flashing unlock threw an error but said it was successful but did not wipe data. Manually wipped data and got stuck in a boot loop. Windows will not detect it in recovery mode and I can not get it back into bootloader mode.
Click to expand...
Click to collapse
Did you turn on OEM Unlock in developer options? And as you are stuck in bootloop without bootloader mode, I think the only option is service center.
kouzelnik3 said:
Did you turn on OEM Unlock in developer options? And as you are stuck in bootloop without bootloader mode, I think the only option is service center.
Click to expand...
Click to collapse
Yes I turned it on before unlocking bootloader, I paniced after it started to bootloop and relocked the bootloader after manually trying to wipe data which could be why I cant get into bootloader. I reached out to support hoping for a remote fix like the oneplus 10T but nothing. I could only get my pc to detect it in edl mode. I'm mailing it in today they didn't have any troubleshooting steps just going to RMA it.
XxBigBuckxX said:
Yes I turned it on before unlocking bootloader, I paniced after it started to bootloop and relocked the bootloader after manually trying to wipe data which could be why I cant get into bootloader. I reached out to support hoping for a remote fix like the oneplus 10T but nothing. I could only get my pc to detect it in edl mode. I'm mailing it in today they didn't have any troubleshooting steps just going to RMA it.
Click to expand...
Click to collapse
Well, trying to relock it was definitely the wrong move. RMA will solve it anyway.
I got my replacement today and it happened again. The only thing I had done was enable oem unlock. The only commands I ran
Code:
PS C:\Users\nate> adb devices
List of devices attached
49YLUKXKQSMBKB6T device
PS C:\Users\nate> adb reboot bootloader
PS C:\Users\nate> fastboot help
usage: fastboot [OPTION...] COMMAND...
flashing:
update ZIP Flash all partitions from an update.zip package.
flashall Flash all partitions from $ANDROID_PRODUCT_OUT.
On A/B devices, flashed slot is set as active.
Secondary images may be flashed to inactive slot.
flash PARTITION [FILENAME] Flash given partition, using the image from
$ANDROID_PRODUCT_OUT if no filename is given.
basics:
devices [-l] List devices in bootloader (-l: with device paths).
getvar NAME Display given bootloader variable.
reboot [bootloader] Reboot device.
locking/unlocking:
flashing lock|unlock Lock/unlock partitions for flashing
flashing lock_critical|unlock_critical
Lock/unlock 'critical' bootloader partitions.
flashing get_unlock_ability
Check whether unlocking is allowed (1) or not(0).
advanced:
erase PARTITION Erase a flash partition.
format[:FS_TYPE[:SIZE]] PARTITION
Format a flash partition.
set_active SLOT Set the active slot.
oem [COMMAND...] Execute OEM-specific command.
gsi wipe|disable Wipe or disable a GSI installation (fastbootd only).
wipe-super [SUPER_EMPTY] Wipe the super partition. This will reset it to
contain an empty set of default dynamic partitions.
create-logical-partition NAME SIZE
Create a logical partition with the given name and
size, in the super partition.
delete-logical-partition NAME
Delete a logical partition with the given name.
resize-logical-partition NAME SIZE
Change the size of the named logical partition.
snapshot-update cancel On devices that support snapshot-based updates, cancel
an in-progress update. This may make the device
unbootable until it is reflashed.
snapshot-update merge On devices that support snapshot-based updates, finish
an in-progress update if it is in the "merging"
phase.
fetch PARTITION OUT_FILE Fetch a partition image from the device.
boot image:
boot KERNEL [RAMDISK [SECOND]]
Download and boot kernel from RAM.
flash:raw PARTITION KERNEL [RAMDISK [SECOND]]
Create boot image and flash it.
--dtb DTB Specify path to DTB for boot image header version 2.
--cmdline CMDLINE Override kernel command line.
--base ADDRESS Set kernel base address (default: 0x10000000).
--kernel-offset Set kernel offset (default: 0x00008000).
--ramdisk-offset Set ramdisk offset (default: 0x01000000).
--tags-offset Set tags offset (default: 0x00000100).
--dtb-offset Set dtb offset (default: 0x01100000).
--page-size BYTES Set flash page size (default: 2048).
--header-version VERSION Set boot image header version.
--os-version MAJOR[.MINOR[.PATCH]]
Set boot image OS version (default: 0.0.0).
--os-patch-level YYYY-MM-DD
Set boot image OS security patch level.
Android Things:
stage IN_FILE Sends given file to stage for the next command.
get_staged OUT_FILE Writes data staged by the last command to a file.
options:
-w Wipe userdata.
-s SERIAL Specify a USB device.
-s tcp|udp:HOST[:PORT] Specify a network device.
-S SIZE[K|M|G] Break into sparse files no larger than SIZE.
--force Force a flash operation that may be unsafe.
--slot SLOT Use SLOT; 'all' for both slots, 'other' for
non-current slot (default: current active slot).
--set-active[=SLOT] Sets the active slot before rebooting.
--skip-secondary Don't flash secondary slots in flashall/update.
--skip-reboot Don't reboot device after flashing.
--disable-verity Sets disable-verity when flashing vbmeta.
--disable-verification Sets disable-verification when flashing vbmeta.
--fs-options=OPTION[,OPTION]
Enable filesystem features. OPTION supports casefold, projid, compress
--unbuffered Don't buffer input or output.
--verbose, -v Verbose output.
--version Display version.
--help, -h Show this message.
PS C:\Users\nate> fastboot flashing get_unlock_ability
(bootloader) unlock_ability is true
OKAY [ 0.003s]
Finished. Total time: 0.004s
PS C:\Users\nate> fastboot reboot fastboot
Rebooting into fastboot OKAY [ 0.001s]
< waiting for any device >
Finished. Total time: 15.144s
PS C:\Users\nate> fastboot getvar all
(bootloader) cpu-abi:arm64-v8a
(bootloader) snapshot-update-status:none
(bootloader) super-partition-name:super
(bootloader) is-logical:preloader_raw_b:no
(bootloader) is-logical:preloader_raw_a:no
(bootloader) is-logical:pi_img_a:no
(bootloader) is-logical:scp_a:no
(bootloader) is-logical:vcp_a:no
(bootloader) is-logical:dpm_b:no
(bootloader) is-logical:misc:no
(bootloader) is-logical:audio_dsp_a:no
(bootloader) is-logical:efuse:no
(bootloader) is-logical:connsys_wifi_a:no
(bootloader) is-logical:ocdt:no
(bootloader) is-logical:spmfw_b:no
(bootloader) is-logical:logo_b:no
(bootloader) is-logical:logo_a:no
(bootloader) is-logical:splash_odm:no
(bootloader) is-logical:sspm_b:no
(bootloader) is-logical:nvcfg:no
(bootloader) is-logical:connsys_bt_b:no
(bootloader) is-logical:vbmeta_b:no
(bootloader) is-logical:audio_dsp_b:no
(bootloader) is-logical:gpueb_b:no
(bootloader) is-logical:boot_para:no
(bootloader) is-logical:dtbo_b:no
(bootloader) is-logical:proinfo:no
(bootloader) is-logical:mvpu_algo_b:no
(bootloader) is-logical:nvdata:no
(bootloader) is-logical:protect2:no
(bootloader) is-logical:connsys_wifi_b:no
(bootloader) is-logical:userdata:no
(bootloader) is-logical:lk_b:no
(bootloader) is-logical:tee_b:no
(bootloader) is-logical:otp:no
(bootloader) is-logical:sdb:no
(bootloader) is-logical:gz_a:no
(bootloader) is-logical:gpueb_a:no
(bootloader) is-logical:dram_para:no
(bootloader) is-logical:cdt_engineering_a:no
(bootloader) is-logical:boot_a:no
(bootloader) is-logical:mcupm_a:no
(bootloader) is-logical:oplus_custom:no
(bootloader) is-logical:sda:no
(bootloader) is-logical:vcp_b:no
(bootloader) is-logical:init_boot_b:no
(bootloader) is-logical:init_boot_a:no
(bootloader) is-logical:flashinfo:no
(bootloader) is-logical:frp:no
(bootloader) is-logical:vendor_boot_b:no
(bootloader) is-logical:dtbo_a:no
(bootloader) is-logical:protect1:no
(bootloader) is-logical:sspm_a:no
(bootloader) is-logical:oplusreserve3:no
(bootloader) is-logical:lk_a:no
(bootloader) is-logical:persist:no
(bootloader) is-logical:oplusreserve6:no
(bootloader) is-logical:boot_b:no
(bootloader) is-logical:scp_b:no
(bootloader) is-logical:expdb:no
(bootloader) is-logical:param:no
(bootloader) is-logical:mvpu_algo_a:no
(bootloader) is-logical:pi_img_b:no
(bootloader) is-logical:oplusreserve1:no
(bootloader) is-logical:vendor_boot_a:no
(bootloader) is-logical:dpm_a:no
(bootloader) is-logical:mcupm_b:no
(bootloader) is-logical:ccu_a:no
(bootloader) is-logical:seccfg:no
(bootloader) is-logical:vbmeta_vendor_b:no
(bootloader) is-logical:apusys_b:no
(bootloader) is-logical:para:no
(bootloader) is-logical:gz_b:no
(bootloader) is-logical:nvram:no
(bootloader) is-logical:cdt_engineering_b:no
(bootloader) is-logical:apusys_a:no
(bootloader) is-logical:vbmeta_system_b:no
(bootloader) is-logical:oplusreserve5:no
(bootloader) is-logical:spmfw_a:no
(bootloader) is-logical:ccu_b:no
(bootloader) is-logical:sdc:no
(bootloader) is-logical:tee_a:no
(bootloader) is-logical:connsys_bt_a:no
(bootloader) is-logical:sec1:no
(bootloader) is-logical:oplusreserve2:no
(bootloader) is-logical:metadata:no
(bootloader) is-logical:vbmeta_system_a:no
(bootloader) is-logical:super:no
(bootloader) is-logical:vbmeta_a:no
(bootloader) is-logical:vbmeta_vendor_a:no
(bootloader) is-logical:system_a:yes
(bootloader) is-logical:system_b:yes
(bootloader) is-logical:system_ext_a:yes
(bootloader) is-logical:system_ext_b:yes
(bootloader) is-logical:vendor_a:yes
(bootloader) is-logical:vendor_b:yes
(bootloader) is-logical:product_a:yes
(bootloader) is-logical:product_b:yes
(bootloader) is-logical:my_product_a:yes
(bootloader) is-logical:my_product_b:yes
(bootloader) is-logical:odm_a:yes
(bootloader) is-logical:odm_b:yes
(bootloader) is-logical:my_engineering_a:yes
(bootloader) is-logical:my_engineering_b:yes
(bootloader) is-logical:vendor_dlkm_a:yes
(bootloader) is-logical:vendor_dlkm_b:yes
(bootloader) is-logical:odm_dlkm_a:yes
(bootloader) is-logical:odm_dlkm_b:yes
(bootloader) is-logical:my_stock_a:yes
(bootloader) is-logical:my_stock_b:yes
(bootloader) is-logical:my_heytap_a:yes
(bootloader) is-logical:my_heytap_b:yes
(bootloader) is-logical:my_carrier_a:yes
(bootloader) is-logical:my_carrier_b:yes
(bootloader) is-logical:my_region_a:yes
(bootloader) is-logical:my_region_b:yes
(bootloader) is-logical:my_company_a:yes
(bootloader) is-logical:my_company_b:yes
(bootloader) is-logical:my_preload_a:yes
(bootloader) is-logical:my_preload_b:yes
(bootloader) is-logical:my_bigball_a:yes
(bootloader) is-logical:my_bigball_b:yes
(bootloader) is-logical:my_manifest_a:yes
(bootloader) is-logical:my_manifest_b:yes
(bootloader) battery-voltage:3
(bootloader) treble-enabled:true
(bootloader) is-userspace:yes
(bootloader) partition-size:preloader_raw_b:0x3FF000
(bootloader) partition-size:preloader_raw_a:0x3FF000
(bootloader) partition-size:pi_img_a:0x100000
(bootloader) partition-size:scp_a:0x600000
(bootloader) partition-size:vcp_a:0x600000
(bootloader) partition-size:dpm_b:0x400000
(bootloader) partition-size:misc:0x80000
(bootloader) partition-size:audio_dsp_a:0xC00000
(bootloader) partition-size:efuse:0x80000
(bootloader) partition-size:connsys_wifi_a:0x800000
(bootloader) partition-size:ocdt:0x800000
(bootloader) partition-size:spmfw_b:0x100000
(bootloader) partition-size:logo_b:0x2000000
(bootloader) partition-size:logo_a:0x2000000
(bootloader) partition-size:splash_odm:0x2580000
(bootloader) partition-size:sspm_b:0x100000
(bootloader) partition-size:nvcfg:0x2000000
(bootloader) partition-size:connsys_bt_b:0x800000
(bootloader) partition-size:vbmeta_b:0x800000
(bootloader) partition-size:audio_dsp_b:0xC00000
(bootloader) partition-size:gpueb_b:0x100000
(bootloader) partition-size:boot_para:0x100000
(bootloader) partition-size:dtbo_b:0x800000
(bootloader) partition-size:proinfo:0x300000
(bootloader) partition-size:mvpu_algo_b:0x4000000
(bootloader) partition-size:nvdata:0x4000000
(bootloader) partition-size:protect2:0x800000
(bootloader) partition-size:connsys_wifi_b:0x800000
(bootloader) partition-size:userdata:0x19DB7F8000
(bootloader) partition-size:lk_b:0x500000
(bootloader) partition-size:tee_b:0x500000
(bootloader) partition-size:otp:0x2B00000
(bootloader) partition-size:gz_a:0x2000000
(bootloader) partition-size:gpueb_a:0x100000
(bootloader) partition-size:dram_para:0x1900000
(bootloader) partition-size:cdt_engineering_a:0xC80000
(bootloader) partition-size:boot_a:0x4000000
(bootloader) partition-size:mcupm_a:0x100000
(bootloader) partition-size:oplus_custom:0x100000
(bootloader) partition-size:vcp_b:0x600000
(bootloader) partition-size:init_boot_b:0x800000
(bootloader) partition-size:init_boot_a:0x800000
(bootloader) partition-size:flashinfo:0x1000000
(bootloader) partition-size:frp:0x100000
(bootloader) partition-size:vendor_boot_b:0x4000000
(bootloader) partition-size:dtbo_a:0x800000
(bootloader) partition-size:protect1:0x800000
(bootloader) partition-size:sspm_a:0x100000
(bootloader) partition-size:oplusreserve3:0x4000000
(bootloader) partition-size:lk_a:0x500000
(bootloader) partition-size:oplusreserve6:0x4000000
(bootloader) partition-size:boot_b:0x4000000
(bootloader) partition-size:scp_b:0x600000
(bootloader) partition-size:expdb:0x8000000
(bootloader) partition-size:param:0x100000
(bootloader) partition-size:mvpu_algo_a:0x4000000
(bootloader) partition-size:pi_img_b:0x100000
(bootloader) partition-size:oplusreserve1:0x800000
(bootloader) partition-size:vendor_boot_a:0x4000000
(bootloader) partition-size:dpm_a:0x400000
(bootloader) partition-size:mcupm_b:0x100000
(bootloader) partition-size:ccu_a:0x400000
(bootloader) partition-size:seccfg:0x800000
(bootloader) partition-size:vbmeta_vendor_b:0x800000
(bootloader) partition-size:apusys_b:0x400000
(bootloader) partition-size:para:0x80000
(bootloader) partition-size:gz_b:0x2000000
(bootloader) partition-size:nvram:0x4000000
(bootloader) partition-size:cdt_engineering_b:0xC80000
(bootloader) partition-size:apusys_a:0x400000
(bootloader) partition-size:vbmeta_system_b:0x800000
(bootloader) partition-size:oplusreserve5:0x2000000
(bootloader) partition-size:spmfw_a:0x100000
(bootloader) partition-size:ccu_b:0x400000
(bootloader) partition-size:tee_a:0x500000
(bootloader) partition-size:connsys_bt_a:0x800000
(bootloader) partition-size:sec1:0x200000
(bootloader) partition-size:metadata:0x2000000
(bootloader) partition-size:vbmeta_system_a:0x800000
(bootloader) partition-size:vbmeta_a:0x800000
(bootloader) partition-size:vbmeta_vendor_a:0x800000
(bootloader) partition-size:system_a:0x2E961000
(bootloader) partition-size:system_b:0x0
(bootloader) partition-size:system_ext_a:0x3D2E6000
(bootloader) partition-size:system_ext_b:0x0
(bootloader) partition-size:vendor_a:0x421DF000
(bootloader) partition-size:vendor_b:0x0
(bootloader) partition-size:product_a:0x1CA000
(bootloader) partition-size:product_b:0x0
(bootloader) partition-size:my_product_a:0x13813000
(bootloader) partition-size:my_product_b:0x0
(bootloader) partition-size:odm_a:0x46C6C000
(bootloader) partition-size:odm_b:0x0
(bootloader) partition-size:my_engineering_a:0x52000
(bootloader) partition-size:my_engineering_b:0x0
(bootloader) partition-size:vendor_dlkm_a:0x3589000
(bootloader) partition-size:vendor_dlkm_b:0x0
(bootloader) partition-size:odm_dlkm_a:0x55000
(bootloader) partition-size:odm_dlkm_b:0x0
(bootloader) partition-size:my_stock_a:0x1EAA9000
(bootloader) partition-size:my_stock_b:0x0
(bootloader) partition-size:my_heytap_a:0x2CAE2000
(bootloader) partition-size:my_heytap_b:0x0
(bootloader) partition-size:my_carrier_a:0x52000
(bootloader) partition-size:my_carrier_b:0x0
(bootloader) partition-size:my_region_a:0x376000
(bootloader) partition-size:my_region_b:0x0
(bootloader) partition-size:my_company_a:0x52000
(bootloader) partition-size:my_company_b:0x0
(bootloader) partition-size:my_preload_a:0x253000
(bootloader) partition-size:my_preload_b:0x0
(bootloader) partition-size:my_bigball_a:0x2BF47000
(bootloader) partition-size:my_bigball_b:0x0
(bootloader) partition-size:my_manifest_a:0x58000
(bootloader) partition-size:my_manifest_b:0x0
(bootloader) version-vndk:31
(bootloader) has-slot:preloader_raw:yes
(bootloader) has-slot:pi_img:yes
(bootloader) has-slot:scp:yes
(bootloader) has-slot:vcp:yes
(bootloader) has-slot:dpm:yes
(bootloader) has-slot:misc:no
(bootloader) has-slot:audio_dsp:yes
(bootloader) has-slot:efuse:no
(bootloader) has-slot:connsys_wifi:yes
(bootloader) has-slot:ocdt:no
(bootloader) has-slot:spmfw:yes
(bootloader) has-slot:logo:yes
(bootloader) has-slot:splash_odm:no
(bootloader) has-slot:sspm:yes
(bootloader) has-slot:nvcfg:no
(bootloader) has-slot:connsys_bt:yes
(bootloader) has-slot:vbmeta:yes
(bootloader) has-slot:gpueb:yes
(bootloader) has-slot:boot_para:no
(bootloader) has-slot:dtbo:yes
(bootloader) has-slot:proinfo:no
(bootloader) has-slot:mvpu_algo:yes
(bootloader) has-slot:nvdata:no
(bootloader) has-slot:protect2:no
(bootloader) has-slot:userdata:no
(bootloader) has-slot:lk:yes
(bootloader) has-slot:tee:yes
(bootloader) has-slot:otp:no
(bootloader) has-slot:sdb:no
(bootloader) has-slot:gz:yes
(bootloader) has-slot:dram_para:no
(bootloader) has-slot:cdt_engineering:yes
(bootloader) has-slot:boot:yes
(bootloader) has-slot:mcupm:yes
(bootloader) has-slot:oplus_custom:no
(bootloader) has-slot:sda:no
(bootloader) has-slot:init_boot:yes
(bootloader) has-slot:flashinfo:no
(bootloader) has-slot:frp:no
(bootloader) has-slot:vendor_boot:yes
(bootloader) has-slot:protect1:no
(bootloader) has-slot:oplusreserve3:no
(bootloader) has-slot:persist:no
(bootloader) has-slot:oplusreserve6:no
(bootloader) has-slot:expdb:no
(bootloader) has-slot:param:no
(bootloader) has-slot:oplusreserve1:no
(bootloader) has-slot:ccu:yes
(bootloader) has-slot:seccfg:no
(bootloader) has-slot:vbmeta_vendor:yes
(bootloader) has-slot:apusys:yes
(bootloader) has-slot:para:no
(bootloader) has-slot:nvram:no
(bootloader) has-slot:vbmeta_system:yes
(bootloader) has-slot:oplusreserve5:no
(bootloader) has-slot:sdc:no
(bootloader) has-slot:sec1:no
(bootloader) has-slot:oplusreserve2:no
(bootloader) has-slot:metadata:no
(bootloader) has-slot:super:no
(bootloader) has-slot:system:yes
(bootloader) has-slot:system_ext:yes
(bootloader) has-slot:vendor:yes
(bootloader) has-slot:product:yes
(bootloader) has-slot:my_product:yes
(bootloader) has-slot:odm:yes
(bootloader) has-slot:my_engineering:yes
(bootloader) has-slot:vendor_dlkm:yes
(bootloader) has-slot:odm_dlkm:yes
(bootloader) has-slot:my_stock:yes
(bootloader) has-slot:my_heytap:yes
(bootloader) has-slot:my_carrier:yes
(bootloader) has-slot:my_region:yes
(bootloader) has-slot:my_company:yes
(bootloader) has-slot:my_preload:yes
(bootloader) has-slot:my_bigball:yes
(bootloader) has-slot:my_manifest:yes
(bootloader) security-patch-level:2023-03-05
(bootloader) vendor-fingerprint:oplus/ossi/ossi:12/SP1A.210812.016/1679153745760:user/release-keys
(bootloader) hw-revision:0
(bootloader) current-slot:a
(bootloader) serialno:49YLUKXKQSMBKB6T
(bootloader) product:ossi
(bootloader) version-os:12
(bootloader) first-api-level:31
(bootloader) slot-count:2
(bootloader) max-download-size:0x10000000
(bootloader) version:0.4
(bootloader) version-baseband:
(bootloader) secure:yes
(bootloader) dynamic-partition:true
(bootloader) system-fingerprint:oplus/ossi/ossi:12/SP1A.210812.016/1679153745760:user/release-keys
(bootloader) version-bootloader:unknown
(bootloader) unlocked:no
all:
Finished. Total time: 1.938s
PS C:\Users\nate> fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.001s
Ater that reboot just right back into the bootloop
Right after that? You basically just rebooted to bootloader, fastboot and then back to the system, but instead of booting, bootloop again? That's even more weird.
kouzelnik3 said:
Right after that? You basically just rebooted to bootloader, fastboot and then back to the system, but instead of booting, bootloop again? That's even more weird.
Click to expand...
Click to collapse
Yeah , I am pretty confused. Service center is not able to help me again yet (Only provide refund which is not what I want) because the previous service request is still open stuck on the device inspection stage. I am just trying to figure out stuff on my own at the moment untill that gets resolved.
I was able to figure a few more things out but not familiar with MTK as I am edl but I went down that path. I was able to get into preloader mode and also downloader mode. I switched over to linux and used mtkclient and it was detecing the device but giving watchdog errors.

Categories

Resources