GSM-Forum

GSM-Forum (https://forum.gsmhosting.com/vbb/)
-   FuriousGold (https://forum.gsmhosting.com/vbb/f272/)
-   -   How to relock bootloader on Huawei FIG-L11 and ANE-L21 ? (https://forum.gsmhosting.com/vbb/f272/how-relock-bootloader-huawei-fig-l11-ane-l21-2897530/)

YOO 09-10-2020 19:30

How to relock bootloader on Huawei FIG-L11 and ANE-L21 ?
 
Hi, I have Huawei P Smart (FIG-L11) and P20 Lite (ANE-L21). How I can relock bootloader for these phones? Because they had the annoying message at startup:
"The device had been unlocked and can't be trusted".

Both phones are after successfully downgrading using Resurrector with TP and downgrade firmware. For FIG-L11 I flashed:
FIG-Downgrade-Board-1048-8.0.0.fcff

After I changed Model to FIG-L11, Vendor to hw, Country to eu with FlyCaptain.

After I flashed firmware (low version for repair purposes) in UPGRADE mode with Resurrector. For FIG-L11 I flashed these two files:
Figo-L11_8.0.0.129(C432)_Firmware_Android_8.0.0_EMUI_8. 0.0_05014XUW.cfs
update_FIG-L11_8.0.0.129(C432)_hw_eu.cfs

Then unlocked the phone and I have readed the bootloader code with FlyCaptain and in cmd got the message:
C:\Users\adb>fastboot oem relock 3017477598189510
...
FAILED (remote: stat not match)
finished. total time: -0.000s

With Huawei P20 Lite I have the same problem.
WHY I CAN'T RELOCK BOOTLOADER?? PLEASE HELP ME TO RELOCK BOOTLOADER!!!

csotika 09-12-2020 07:16

Same message at startup, same problem here......

YOO 09-12-2020 07:49

.:hack3r2k:. or other product manager, please help us!!!

.:hack3r2k:. 09-14-2020 11:38

Quote:

Originally Posted by YOO (Post 14213391)
.:hack3r2k:. or other product manager, please help us!!!




Seems the code is wrong. Can you try reading again ? Also post a full detect log. Also can be from incompatible fw . Did you set correct model vendor and country before ?>


Br;)

YOO 09-16-2020 19:02

First I downgraded phone with FIG-Downgrade-Board-1048-8.0.0.fcff firmware and TP, log:
Standard update
Not Reboot NOT cheked
Update Verlist to server on file load NOT checked
Try Rescue Recovery NOT checked
Bypass version check NOT checked
Old slow algo NOT checked
Force OTA NOT checked

Looking for a device in force upgrade mode
Device detected:
COM32: HUAWEI USB COM 1.0 (COM32)
2020.09.16 19:58:29 Starting to write device in FASTBOOT mode...
File to update: C:\Huawei flash\FIG-Downgrade-Board-1048-8.0.0.fcff
Device detected:
COM32: HUAWEI USB COM 1.0 (COM32)

USB Device REMOVAL
Type: @oem207.inf,%huawei06%;HUAWEI USB COM 1.0
VidPid: VID_12D1&PID_3609
Instance id: 6&3ae11b61&0&4


USB Device INSERTION
Type: @oem207.inf,%huawei06%;HUAWEI USB COM 1.0
VidPid: VID_12D1&PID_3609
Instance id: 6&3ae11b61&0&4


Process identifier:5332751


Writing bootloader...
Step 1...
Step 2...

Waiting for device REMOVAL/INSERTION...

USB Device REMOVAL
Type: @oem207.inf,%huawei06%;HUAWEI USB COM 1.0
VidPid: VID_12D1&PID_3609
Instance id: 6&3ae11b61&0&4


USB Device INSERTION
Type: @oem88.inf,%hwfastboot%;Android Sooner Single ADB Interface
VidPid: VID_18D1&PID_D00D
Instance id: XXXXXXXXXXXXXXXX


Waiting for fastboot device...
Device found: XXXXXXXXXXXXXXXX


Looking for a device in fastboot mode
Device found: XXXXXXXXXXXXXXXX

Getting IMEI...
Getting build number...
Getting model ...
Getting battery state...
Getting backdoor info...
Getting lock state info...
Getting lock boot info...

SN:XXXXXXXXXXXXXXXX
IMEI:XXXXXXXXXXXXXXX

IMEI1:000000000000000

MEID:00000000000000
Build number: :FIG-LGRP2-OVS 9.1.0.122
Model: FIG-LX1
Vendor/Country: hw/eu
Battery state: 0
OEM lock state info:
FB LockState: UNLOCKED
USER LockState: LOCKED
OEM get bootinfo:
unlocked


Erasing ver .. .

Writing ptable partition
PTABLE partition update ...OK

Writing xloader partition
XLOADER partition update ...OK

Writing fastboot partition
FASTBOOT partition update ...OK

Writing kernel partition
KERNEL partition update ...OK

Writing ramdisk partition
RAMDISK partition update ...OK

Writing vbmeta partition
VBMETA partition update ...OK

Writing odm partition
ODM partition update ...OK

Writing recovery_ramdisk partition
RECOVERY_RAMDISK partition update ...OK

Writing recovery_vendor partition
RECOVERY_VENDOR partition update ...OK

Writing recovery_vbmeta partition
RECOVERY_VBMETA partition update ...OK

Erasing cust partition
Partition cust erased

Erasing misc partition
Partition misc erased

Erasing cache partition
Partition cache erased
Writing cache partition
CACHE partition update ...OK

Writing fw_lpm3 partition
FW_LPM3 partition update ...OK

Writing fw_hifi partition
FW_HIFI partition update ...OK

Writing teeos partition
TEEOS partition update ...OK

Writing trustfirmware partition
TRUSTFIRMWARE partition update ...OK

Writing sensorhub partition
SENSORHUB partition update ...OK

Writing dts partition
DTS partition update ...OK

Writing modemnvm_update partition
MODEMNVM_UPDATE partition update ...OK

Writing modem_fw partition
MODEM_FW partition update ...OK

Writing system partition
sending sparse file 464714112 bytes
Waiting for answer...
send sparse file OK
sending sparse file 471814356 bytes
Waiting for answer...
send sparse file OK
sending sparse file 389933488 bytes
Waiting for answer...
send sparse file OK
SYSTEM partition update ...OK

Writing vendor partition
sending sparse file 423649224 bytes
Waiting for answer...
send sparse file OK
sending sparse file 146912460 bytes
Waiting for answer...
send sparse file OK
VENDOR partition update ...OK

Erasing product partition
Partition product erased

Writing product partition
PRODUCT partition update ...OK

Erasing version partition
Partition version erased

Writing version partition
VERSION partition update ...OK

Erasing userdata partition
Partition userdata erased

Erasing userdata partition
Partition userdata erased
Writing userdata partition
USERDATA partition update ...OK

Writing splash2 partition
SPLASH2 partition update ...OK

Erasing bootfail_info partition
Partition bootfail_info erased

Erasing dfx partition
Partition dfx erased

Erasing rrecord partition
Partition rrecord erased

Waiting for fastboot device...

USB Device REMOVAL
Type: @oem88.inf,%hwfastboot%;Android Sooner Single ADB Interface
VidPid: VID_18D1&PID_D00D
Instance id: XXXXXXXXXXXXXXXX


USB Device INSERTION
Type: @oem88.inf,%hwfastboot%;Android Sooner Single ADB Interface
VidPid: VID_18D1&PID_D00D
Instance id: XXXXXXXXXXXXXXXX

Device found: XXXXXXXXXXXXXXXX


Waiting for OEM hwdog certify set 0 command ...OK

Waiting for OEM oeminfoerase-all command ...OK

USB Device REMOVAL
Type: @oem88.inf,%hwfastboot%;Android Sooner Single ADB Interface
VidPid: VID_18D1&PID_D00D
Instance id: XXXXXXXXXXXXXXXX

Software written
2020.09.16 20:07:49 Writing device finished OK





Then I readed bootloader code with FlyCaptain, log:
2020-09-16 20:13:57.322 Autodetect started!
2020-09-16 20:13:58.879 Found COM port: COM196
2020-09-16 20:13:58.964 Connecting to server...
2020-09-16 20:14:00.076 Connected!
2020-09-16 20:14:00.079 Read data from server...
2020-09-16 20:14:01.684 Read data from server success!
2020-09-16 20:14:01.690 Open COM port COM196 (Android Adapter PCUI (COM196))...
2020-09-16 20:14:18.476 CP State: ready
2020-09-16 20:14:18.479 Read phone basic info...
2020-09-16 20:14:18.843 Read phone secure info...
2020-09-16 20:14:28.453 Read bootloader code start
2020-09-16 20:14:30.703 Read bootloader code success!
2020-09-16 20:14:30.708 Job finished!
Bootloader code 3535415881811828





After I changed Model to FIG-L31, Vendor to hw, Country to eu with FlyCaptain, log:
MEID: 00000000000000
pESN: 00000000
IMEI: XXXXXXXXXXXXXXX
IMEI 0: 000000000000000
IMEISV: 48
Firmware ver.: System-FAC 8.0.0.037(009F)
SN: XXXXXXXXXXXXXXXX
Custom SN: DU4MBH1893034234
WiFi MAC: EC:8C:9A:9F:16:B3
BlueTooth MAC: EC:8C:9A:9F:1C:90
FASTBOOT:Chipset-dallas8.0.0.001(02TW)_FASTBOOT
BOOT:System-FAC 8.0.0.037(009F)_BOOT
RECOVERY:(unknow)
SYSTEM:System-FAC 8.0.0.037(009F)
MAINVER:System-FAC 8.0.0.037(009F)
DATAVER:FIG-L31-BD 1.0.0.48_DATA_FIG-shizhi_hw_default
APTIME:Fri Jun 15 02:29:50 CST 2018
RAM: 3G
eMMC: 32G

IMEI 1 Sim Lock status:
NET: locked, unlock retry counts: 10
NETSUB: unlocked
SP: unlocked

2020-09-16 20:17:33.338 Autodetect started!
2020-09-16 20:17:34.905 Found COM port: COM196
2020-09-16 20:17:35.957 Repairing start
New Vendor : hw
New Country : eu
New Model : FIG-L31
2020-09-16 20:17:35.967 Connecting to server...
2020-09-16 20:17:36.809 Connected!
2020-09-16 20:17:36.812 Read data from server...
2020-09-16 20:17:38.455 Read data from server success!
2020-09-16 20:17:38.460 Open COM port COM196 (Android Adapter PCUI (COM196))...
2020-09-16 20:17:43.688 CP State: ready
2020-09-16 20:17:43.691 Read phone basic info...
2020-09-16 20:17:44.102 Read phone secure info...
2020-09-16 20:17:53.618 Read from server...
2020-09-16 20:17:53.895 Read from server success!
2020-09-16 20:17:54.139 Writing Vendor and Country...
2020-09-16 20:17:54.140 Read from server...
2020-09-16 20:17:54.355 Read from server success!
2020-09-16 20:17:54.564 Writing Vendor and Country success!
2020-09-16 20:17:54.567 Writing device model...
2020-09-16 20:17:54.570 Read from server...
2020-09-16 20:17:54.729 Read from server success!
2020-09-16 20:17:54.914 Write device model success!
2020-09-16 20:17:55.435 Synchronize NV...
2020-09-16 20:17:55.937 Synchronize NV success!
2020-09-16 20:17:55.940 Factory reset...
2020-09-16 20:17:59.467 Factory reset success!
2020-09-16 20:17:59.561 Finished!




After I flashed firmware (low version for repair purposes) in UPGRADE mode with Resurrector. For FIG-L31 I flashed these two files:
Figo-L31_8.0.0.128(C432)_Firmware_Android_8.0.0_EMUI_8. 0.0_05014XFJ.cfs
update_FIG-L31_8.0.0.128(C432)_hw_eu.cfs
Log:
Standard update
Not Reboot NOT cheked
Update Verlist to server on file load NOT checked
Try Rescue Recovery NOT checked
Bypass version check NOT checked
Old slow algo NOT checked
Force OTA NOT checked

Looking for a device in upgrade mode
COM196: Android Adapter PCUI (COM196)
COM198: DBAdapter Reserved Interface (COM198)

2020.09.16 20:32:15 Starting to write device in UPGRADE mode...
No devices detected in fastboot mode
Old slow algo NOT selected

2020.09.16 20:32:16 start to write update file
File to update: C:\Huawei flash\Figo-L31_8.0.0.128(C432)_Firmware_Android_8.0.0_EMUI_8. 0.0_05014XFJ.cfs

Process identifier:5332778

Validating file...
Detecting port...
Preparing to write...

Extracting partition SHA256RSA...
Writing partition: SHA256RSA...OK

Extracting partition CRC...
Writing partition: CRC...OK

Extracting partition CURVER...
Writing partition: CURVER...OK

Extracting partition VERLIST...
Writing partition: VERLIST...OK

Extracting partition PACKAGE_TYPE...
Writing partition: PACKAGE_TYPE...OK

Extracting partition EFI...
Writing partition: EFI...OK

Extracting partition XLOADER...
Writing partition: XLOADER...OK

Extracting partition FW_LPM3...
Writing partition: FW_LPM3...OK

Extracting partition FASTBOOT...
Writing partition: FASTBOOT...OK

Extracting partition MODEMNVM_UPDATE...
Writing partition: MODEMNVM_UPDATE...OK

Extracting partition TEEOS...
Writing partition: TEEOS...OK

Extracting partition TRUSTFIRMWARE...
Writing partition: TRUSTFIRMWARE...OK

Extracting partition SENSORHUB...
Writing partition: SENSORHUB...OK

Extracting partition FW_HIFI...
Writing partition: FW_HIFI...OK

Extracting partition KERNEL...
Writing partition: KERNEL...OK

Extracting partition RAMDISK...
Writing partition: RAMDISK...OK

Extracting partition RECOVERY_RAMDISK...
Writing partition: RECOVERY_RAMDISK...OK

Extracting partition RECOVERY_VENDOR...
Writing partition: RECOVERY_VENDOR...OK

Extracting partition ERECOVERY_KERNEL...
Writing partition: ERECOVERY_KERNEL...OK

Extracting partition ERECOVERY_RAMDISK...
Writing partition: ERECOVERY_RAMDISK...OK

Extracting partition ERECOVERY_VENDOR...
Writing partition: ERECOVERY_VENDOR...OK

Extracting partition RECOVERY_VBMETA...
Writing partition: RECOVERY_VBMETA...OK

Extracting partition ERECOVERY_VBMETA...
Writing partition: ERECOVERY_VBMETA...OK

Extracting partition DTS...
Writing partition: DTS...OK

Extracting partition MODEM_FW...
Writing partition: MODEM_FW...OK

Extracting partition VBMETA...
Writing partition: VBMETA...OK

Extracting partition ODM...
Writing partition: ODM...OK

Extracting partition CACHE...
Writing partition: CACHE...OK

Extracting partition SYSTEM...
Writing partition: SYSTEM...OK

Extracting partition CUST...
Writing partition: CUST...OK

Extracting partition VENDOR...
Writing partition: VENDOR...OK

Extracting partition VERSION...
Writing partition: VERSION...OK

Extracting partition PRODUCT...
Writing partition: PRODUCT...OK

Extracting partition USERDATA...
Writing partition: USERDATA...OK
Software written

2020.09.16 20:45:37 start to update cust file
File to update: C:\Huawei flash\update_FIG-L31_8.0.0.128(C432)_hw_eu.cfs

Process identifier:5332805

Validating file...
Detecting port...
Preparing to write...

Extracting partition SHA256RSA...
Writing partition: SHA256RSA...OK

Extracting partition CRC...
Writing partition: CRC...OK

Extracting partition CURVER...
Writing partition: CURVER...OK

Extracting partition VERLIST...
Writing partition: VERLIST...OK

Extracting partition PACKAGE_TYPE...
Writing partition: PACKAGE_TYPE...OK

Extracting partition EFI...
Writing partition: EFI...OK

Extracting partition CUST...
Writing partition: CUST...OK

Extracting partition VERSION...
Writing partition: VERSION...OK

Extracting partition USERDATA...
Writing partition: USERDATA...OK
Software written
2020.09.16 20:49:39 Writing device finished OK



Then I have readed the bootloader code with FlyCaptain and in cmd got the message:
C:\Users\adb>fastboot oem relock 3535415881811828
...
FAILED (remote: stat not match)
finished. total time: -0.011s




Then I readed Bootloader unlock code again, but I got the same code:
Bootloader code 3535415881811828

Whats wrong? :(

.:hack3r2k:. 09-16-2020 21:18

Did you change the model to FIG-L31, vendor: hw country : eu before ?!\


Br;)

YOO 09-17-2020 06:28

I changed the model to FIG-L31, vendor: hw, country : eu before I flashed firmware (low version for repair purposes) in UPGRADE mode with Resurrector.
I wrote in my post everything in order as I did.

.:hack3r2k:. 09-17-2020 08:18

Downgrade again, read boot code again, relock it and flash after the retail firmware


Br;)

YOO 09-17-2020 08:25

Relock bootloader I have before or after changing model, vendor and country?

.:hack3r2k:. 09-17-2020 08:27

Quote:

Originally Posted by YOO (Post 14217804)
Relock bootloader I have before or after changing model, vendor and country?


must downgrade, read bootcode again, relock, after change values. And downgrade using the file with NV included


Br;)

YOO 09-17-2020 11:54

I tried, but unsuccessfully. I got the same bootloader unlock code and the same error, when tried to relock bootloader :(

.:hack3r2k:. 09-17-2020 11:55

Quote:

Originally Posted by YOO (Post 14218009)
I tried, but unsuccessfully. I got the same bootloader unlock code and the same error, when tried to relock bootloader :(




Sure you downgraded using FIG-Full-Repair-NV-included-Board-1048-8.0.0.fcff ?


Br;)

YOO 09-17-2020 12:08

I had to use for downgrade FIG-Full-Repair-NV-included-Board-1048-8.0.0.fcff instead of FIG-Downgrade-Board-1048-8.0.0.fcff?

.:hack3r2k:. 09-17-2020 14:25

Quote:

Originally Posted by YOO (Post 14218027)
I had to use for downgrade FIG-Full-Repair-NV-included-Board-1048-8.0.0.fcff instead of FIG-Downgrade-Board-1048-8.0.0.fcff?




I told you to do that on previous replies. So yes use that one


Br;)

YOO 09-17-2020 15:48

Now I flashed FIG-Full-Repair-NV-included-Board-1048-8.0.0.fcff

After I try to read bootloader unlock code, but I got an error:
2020-09-17 16:25:20.575 Read bootloader code start
2020-09-17 16:25:21.586 Read bootloader code fail!
2020-09-17 16:25:21.591 ERROR!
Device must be repaired before this operation!

Then I repaired model to FIG-L31, vendor: hw, country : eu, and then I already read the bootloader unlock code. It is already different than it was:
Bootloader code 4628758773944709

But when I try to relock bootloader with this code, I got the same error:
C:\Users\adb>fastboot oem relock 4628758773944709
...
FAILED (remote: stat not match)
finished. total time: -0.011s


All times are GMT +1. The time now is 13:29.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -

Page generated in 0.19301 seconds with 7 queries

SEO by vBSEO