KF HDX 7 Thor - FAILED (remote: flashing not allowed for locked hw) - Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot

KF HDX only boots into fastboot, I'm trying to install TWRP Recovery, then hopefully after an image
fastboot -i 0x1949 flash recovery thor-twrp-3.0.0-0.img
target reported max download size of 536870912 bytes
sending 'recovery' (9294 KB)...
OKAY [ 0.391s]
writing 'recovery'...
FAILED (remote: flashing not allowed for locked hw)
finished. total time: 0.442s
fastboot -i 0x1949 oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
./fastboot -i 0x1949 oem idme
...
FAILED (remote: oem idme not allowed for locked hw)
finished. total time: 0.055s
I get ADB for a few seconds before it goes into fastboot
[email protected]:/ $ cat /sys/block/mmcblk0/device/manfid
0x000015
[email protected]:/ $ cat /sys/block/mmcblk0/device/serial
0x8c0f5453
I'v created the unlock file
fastboot -i 0x1949 flash unlock unlock.signed
target reported max download size of 536870912 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.090s]
writing 'unlock'...
FAILED (remote: Unlock code is NOT correct) **** I've checked this several times
finished. total time: 0.153s
Is it terminal?

Do you follow the steps of this thread correctly?
https://forum.xda-developers.com/kindle-fire-hdx/general/thor-unlocking-bootloader-firmware-t3463982
I had the same issue some time ago, in my case the problem was some strange windows 10 compatibility which block /denied flash the code.
I repeat the process on my old windows Vista desktop ,without errors, dont ask why changed between systems, but works for me.
Check the drivers are installed correctly, aboot and twrp files
Remeber first get the unlock code, second use adb to send TWRP and Aboot files to the Kindle, and finally proceed flash unlock code.

RealSlimShady72 said:
KF HDX only boots into fastboot, I'm trying to install TWRP Recovery, then hopefully after an image
fastboot -i 0x1949 flash recovery thor-twrp-3.0.0-0.img
target reported max download size of 536870912 bytes
sending 'recovery' (9294 KB)...
OKAY [ 0.391s]
writing 'recovery'...
FAILED (remote: flashing not allowed for locked hw)
finished. total time: 0.442s
fastboot -i 0x1949 oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
./fastboot -i 0x1949 oem idme
...
FAILED (remote: oem idme not allowed for locked hw)
finished. total time: 0.055s
I get ADB for a few seconds before it goes into fastboot
[email protected]:/ $ cat /sys/block/mmcblk0/device/manfid
0x000015
[email protected]:/ $ cat /sys/block/mmcblk0/device/serial
0x8c0f5453
I'v created the unlock file
fastboot -i 0x1949 flash unlock unlock.signed
target reported max download size of 536870912 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.090s]
writing 'unlock'...
FAILED (remote: Unlock code is NOT correct) **** I've checked this several times
finished. total time: 0.153s
Is it terminal?
Click to expand...
Click to collapse
How did the device get into this state?
Did you install the vulnerable aboot before attempting to flash TWRP? If not the installation will fail. Nor can a non-vulnerable bootloader be unlocked.
If you can not establish a stable adb (not fastboot) session you will need to force the device into 'bulk mode' and then attempt to install the vulnerable bootloader.

Yousucks2 said:
Do you follow the steps of this thread correctly?
https://forum.xda-developers.com/kindle-fire-hdx/general/thor-unlocking-bootloader-firmware-t3463982
I had the same issue some time ago, in my case the problem was some strange windows 10 compatibility which block /denied flash the code.
I repeat the process on my old windows Vista desktop ,without errors, dont ask why changed between systems, but works for me.
Check the drivers are installed correctly, aboot and twrp files
Remeber first get the unlock code, second use adb to send TWRP and Aboot files to the Kindle, and finally proceed flash unlock code.
Click to expand...
Click to collapse
Davey126 said:
How did the device get into this state?
Did you install the vulnerable aboot before attempting to flash TWRP? If not the installation will fail. Nor can a non-vulnerable bootloader be unlocked.
If you can not establish a stable adb (not fastboot) session you will need to force the device into 'bulk mode' and then attempt to install the vulnerable bootloader.
Click to expand...
Click to collapse
KF was working okay with Nexus 4.4.4 and TWRP I think was 2.7.x, my goal was to install a later Andriod OS. I had an issue with the KF where I only have one USB cable in the house that charges the tablet, the port on the tablet is not the best and if the cable moves slightly I lose the connection. KF was originally unlocked and via fastboot I was flashing TWRP 3.0 to the KF when the cable moved and lost connection, after that I get 'FAILED (remote: flashing not allowed for locked hw)' error when trying to reflash now
adb I get about 20 seconds before the KF continues to fastboot - I don't no how to halt from going to fastboot
From Windows 10 I can use adb but when the KF goes to fastboot I get a triangle on the device file (Windows Device Manager), fastboot does not see the device - I've also installed the KF drivers
OS X I can see the device from both adb and fastboot

Think its terminal now, only going into fastboot.....no more adb

RealSlimShady72 said:
KF was working okay with Nexus 4.4.4 and TWRP I think was 2.7.x, my goal was to install a later Andriod OS. I had an issue with the KF where I only have one USB cable in the house that charges the tablet, the port on the tablet is not the best and if the cable moves slightly I lose the connection. KF was originally unlocked and via fastboot I was flashing TWRP 3.0 to the KF when the cable moved and lost connection, after that I get 'FAILED (remote: flashing not allowed for locked hw)' error when trying to reflash now
adb I get about 20 seconds before the KF continues to fastboot - I don't no how to halt from going to fastboot
From Windows 10 I can use adb but when the KF goes to fastboot I get a triangle on the device file (Windows Device Manager), fastboot does not see the device - I've also installed the KF drivers
OS X I can see the device from both adb and fastboot
Click to expand...
Click to collapse
RealSlimShady72 said:
Think its terminal now, only going into fastboot.....no more adb
Click to expand...
Click to collapse
Too many variables in play (bad port, questionable cable, uncertain damage to bootloader and/or recovery, unreliable operation in current state). You need to address hardware issues before pursuing the sensitive business of attempting to rebuild your device which most likely will involve a trip through 'bulk mode'.

Davey126 said:
Too many variables in play (bad port, questionable cable, uncertain damage to bootloader and/or recovery, unreliable operation in current state). You need to address hardware issues before pursuing the sensitive business of attempting to rebuild your device which most likely will involve a trip through 'bulk mode'.
Click to expand...
Click to collapse
Properly not worth spending much more time now, been a bit of a learning curve though.
Cheeky call to Amazon and asked if they do repairs - NO but have 15% off:cyclops: another Kindle Fire Purchase so I got the $49.99 HD 8- 15%

RealSlimShady72 said:
Properly not worth spending much more time now, been a bit of a learning curve though.
Cheeky call to Amazon and asked if they do repairs - NO but have 15% off:cyclops: another Kindle Fire Purchase so I got the $49.99 HD 8- 15%
Click to expand...
Click to collapse
Nice score

Some real good progress thanks to Draxie ISO :good:. I've now got a recovery TWRP 3.1.1-1
Also now my unlock code worked!!
./fastboot -i 0x1949 flash unlock unlock.signed
target reported max download size of 536870912 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.085s]
writing 'unlock'...
OKAY [ 0.079s]
finished. total time: 0.164s
NO adb though
./adb devices
List of devices attached
D06FA0A0352200A9 unauthorized
EDIT:Tried for a couple of hours now and can't push an image to the KF HDX, there is no OS on the device and even in recovery I've tried to sideload adb but still can't push an image
Also tried to mount data to my Win 10 Pro PC but here now I'm getting a yellow triangle on MTP device.
Is there an system image for KF HDX Thor to installed via fastboot?

We have a fully working KF HDX :cyclops:
Followed the guide here to get MTP device drivers working
https://forum.xda-developers.com/showthread.php?t=2612503&nocache=1
copy over an image and off we go:laugh:

RealSlimShady72 said:
Some real good progress thanks to Draxie ISO :good:. I've now got a recovery TWRP 3.1.1-1
Also now my unlock code worked!!
:
EDIT:Tried for a couple of hours now and can't push an image to the KF HDX, there is no OS on the device and even in recovery I've tried to sideload adb but still can't push an image
Also tried to mount data to my Win 10 Pro PC but here now I'm getting a yellow triangle on MTP device.
Is there an system image for KF HDX Thor to installed via fastboot?
Click to expand...
Click to collapse
RealSlimShady72 said:
We have a fully working KF HDX :cyclops:
Followed the guide here to get MTP device drivers working
https://forum.xda-developers.com/showthread.php?t=2612503&nocache=1
copy over an image and off we go:laugh:
Click to expand...
Click to collapse
Well done - especially notable given the various obstacles that you faced. Demonstrates difficult device recoveries are possible with sufficient time, talent and research (occasionally a dab of luck). Enjoy your rejuvenated HDX!

Davey126 said:
Well done - especially notable given the various obstacles that you faced. Demonstrates difficult device recoveries are possible with sufficient time, talent and research (occasionally a dab of luck). Enjoy your rejuvenated HDX!
Click to expand...
Click to collapse
Lucky for me I had Win 10 and OS X
Windows was good for ADB and mounting the device with MTP but could not get fastboot working with Windows
OSX was good for ADB, fastboot and @draxie 1-click but fastboot was very limited as everything I threw at resulted in a 'FAILED (remote: flashing not allowed for locked hw)'
Be interesting to know which part off 1-click unlocked and pushed over the recovery.
Today I have a Gen 7 HD8 arriving, wonder how long that will take to break

adb sideload
RealSlimShady72 said:
EDIT:Tried for a couple of hours now and can't push an image to the KF HDX, there is no OS on the device and even in recovery I've tried to sideload adb but still can't push an image
Click to expand...
Click to collapse
I know it doesn't really matter anymore,
but I still wonder if it's only me that reads
too much into a hasty comment or were
you actually trying 'adb push' instead of
'adb sideload' to get your ROM over to
TWRP waiting to sideload? The reason
I'm asking is that had used adb sideload
numerous times (I even double-checked
when you were asking) and sideload had
always worked as expected...

draxie said:
I know it doesn't really matter anymore,
but I still wonder if it's only me that reads
too much into a hasty comment or were
you actually trying 'adb push' instead of
'adb sideload' to get your ROM over to
TWRP waiting to sideload? The reason
I'm asking is that had used adb sideload
numerous times (I even double-checked
when you were asking) and sideload had
always worked as expected...
Click to expand...
Click to collapse
Okay you've cleared this one up, I'm not familiar with adb or fastboot.....I tried to take in too much last few days
At no point did I try 'adb sideload' - I didn't even know that was an option but you've cleared that one up for me, I only ever used adb push even when I put the device into adb sideload via TWRP.
So my mistake as I overlooked the sideload option on the CLI

RealSlimShady72 said:
Lucky for me I had Win 10 and OS X
Windows was good for ADB and mounting the device with MTP but could not get fastboot working with Windows
OSX was good for ADB, fastboot and @draxie 1-click but fastboot was very limited as everything I threw at resulted in a 'FAILED (remote: flashing not allowed for locked hw)'
Be interesting to know which part off 1-click unlocked and pushed over the recovery.
Today I have a Gen 7 HD8 arriving, wonder how long that will take to break
Click to expand...
Click to collapse
Thanks for feedback. For others benefit there's a Windows driver package referenced in the another thread (here) that has proven reliable for HDX fastboot access on multiple Windows instances...mine and everyone else who has reported back. Just works despite being targeted for a different device. Call me crazy but I like things that are easy, work and carry no side effects. Kinda radical ...

Good day: I have a similar issue with showing
PS C:\Users\learned\Downloads\KindleFire\unlock> fastboot -i 0x1949 flash unlock unlock.code
target reported max download size of 1073741824 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.078s]
writing 'unlock'...
FAILED (remote: Unlock code is NOT correct)
finished. total time: 0.141s
My ADB and fastboot are working well and the Apollo HDX tablet is working fine.
You mentioned flashing aboot before trwp, etc. prior to unlocking. I thought the posts indicated that neither root nor twrp was required to unlock the boot loader?
I created an unlock code for both Thor and Apollo and, both were created successfully. Thor has root and recovery and Apollo has not been altered at all. Trying to run to flash the respective unlock code to both Thor and Apollo fails showing me "FAILED (remote: Unlock code is NOT correct)"
Why would the unlock code be incorrect?
When I created the unlock code for Apollo moments ago, I received two codes at the powershell prompt.
1664 KB/s (506072 bytes in 0.296s)
0x000015 0xfc155609
0 KB/s (256 bytes in 1.000s)
Press any key to continue . .
I presume the two hex codes I received should be correct? Can I manually push the two unlock codes to the tablet aside from the unlock.bat file? I am not sure what is in the unlock.code file created by the get_code.bat file.

galearned said:
You mentioned flashing aboot before trwp, etc. prior to unlocking. I thought the posts indicated that neither root nor twrp was required to unlock the boot loader?
Click to expand...
Click to collapse
A 'vulnerable' aboot must be flashed prior to installing TWRP and/or unlocking the bootloader. You can only flash aboot if: 1) root is available; or 2) the device is placed in 'bulk mode'. Both approaches have their pros/cons.
Please consult the first post in this lengthy thread for an overview of the process then skip to a post near the end by @ReichMann for a nice compilation of files and associated procedures. Note this is only one of several ways to get the job done.

Update to Unlock Code Incorrect
galearned said:
Good day: I have a similar issue with showing
PS C:\Users\learned\Downloads\KindleFire\unlock> fastboot -i 0x1949 flash unlock unlock.code
target reported max download size of 1073741824 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.078s]
writing 'unlock'...
FAILED (remote: Unlock code is NOT correct)
finished. total time: 0.141s
My ADB and fastboot are working well and the Apollo HDX tablet is working fine.
You mentioned flashing aboot before trwp, etc. prior to unlocking. I thought the posts indicated that neither root nor twrp was required to unlock the boot loader?
I created an unlock code for both Thor and Apollo and, both were created successfully. Thor has root and recovery and Apollo has not been altered at all. Trying to run to flash the respective unlock code to both Thor and Apollo fails showing me "FAILED (remote: Unlock code is NOT correct)"
Why would the unlock code be incorrect?
When I created the unlock code for Apollo moments ago, I received two codes at the powershell prompt.
1664 KB/s (506072 bytes in 0.296s)
0x000015 0xfc155609
0 KB/s (256 bytes in 1.000s)
Press any key to continue . .
I presume the two hex codes I received should be correct? Can I manually push the two unlock codes to the tablet aside from the unlock.bat file? I am not sure what is in the unlock.code file created by the get_code.bat file.
Click to expand...
Click to collapse
Update: After reading various opinions on whether you need aboot to write the unlock code including one post stating clearly that the OP step 1 and 3 were independent of step 2 (aboot and twrp), I finally installed aboot and cubed twrp. Suddenly, after issuing adb reboot (which booted the tablet into fastboot as predicted), I was then able to issue the unlock command (fastboot flash -i 0x1949 unlock unlock.code) with success so it seems the vulnerable aboot is required to unlock. Now I have a final question about the fact that with the special aboot and twrp, the tablet will boot only into fastboot which is fine for flashing a custom ROM.
While I am going to now find a good stable customer ROM to flash, what does it take to keep the stock OS booting and, maintain the unlocked bootloader? If the user wanted to stay on the stock OS either for a short while or long term, what steps are needed? Flash a more traditional TWRP?

galearned said:
Update: After reading various opinions on whether you need aboot to write the unlock code including one post stating clearly that the OP step 1 and 3 were independent of step 2 (aboot and twrp), I finally installed aboot and cubed twrp. Suddenly, after issuing adb reboot (which booted the tablet into fastboot as predicted), I was then able to issue the unlock command (fastboot flash -i 0x1949 unlock unlock.code) with success so it seems the vulnerable aboot is required to unlock. Now I have a final question about the fact that with the special aboot and twrp, the tablet will boot only into fastboot which is fine for flashing a custom ROM.
While I am going to now find a good stable customer ROM to flash, what does it take to keep the stock OS booting and, maintain the unlocked bootloader? If the user wanted to stay on the stock OS either for a short while or long term, what steps are needed? Flash a more traditional TWRP?
Click to expand...
Click to collapse
This may sound a bit snarky; sometimes brevity is better:
- there are opinions and there are facts; sometimes they align, sometimes they don't
- fact: a vulnerable (ie: exploitable) bootloader (aboot) is required to apply the unlocking methods discussed in this forum
- fact: a stock device running a natively obtained version of FireOS > 3.2.3.2 does not have an aboot with an known vulnerability that can be leveraged by the signature forging exploit (hence the reason it must be replaced with an older vulnerable version)
- fact: steps #1 & #3 are independent of step #2 which can be performed first but is a prerequisite for step #3 if the stock aboot is not vulnerable
For all practice purposes you're done with FireOS after unlocking the bootloader. Enjoy the wide selection of custom ROMs for this device. FireOS can be reinstated with some work; has nothing to do with the version of TWRP.

Amazon Fire 5th generation Need bootloader unlocl
Fire OS 5.3.6.4
Need Bootloader unlock
And
Fastboot mode cmd is " the command you input is restricted on locked hw " problem
Please Replay ?

Related

TWRP and fastboot working but what next?

I have been trying to follow the procedure outlined here, and everything seemed to go well. If I power down and power up I go straight into fastboot mode, and using the volume up button I can launch TWRP 3.2.3-1.
My difficulty is running the unlock.bat which gives me "error: device '(null)' not found". I have also tried the "adb devices" command but get nothing returned.
My suspicion is that the adb drives are the problem (although I have also read that adb doesn't work in fastboot mode). I'm unable to boot the device into the Kindle Fire OS (just TWRP and fastboot mode).
The device is a Kindle Fire 7" HDX - any help with my next steps would be much appreciated.
philjd said:
I have been trying to follow the procedure outlined here, and everything seemed to go well. If I power down and power up I go straight into fastboot mode, and using the volume up button I can launch TWRP 3.2.3-1.
My difficulty is running the unlock.bat which gives me "error: device '(null)' not found". I have also tried the "adb devices" command but get nothing returned.
My suspicion is that the adb drives are the problem (although I have also read that adb doesn't work in fastboot mode). I'm unable to boot the device into the Kindle Fire OS (just TWRP and fastboot mode).
The device is a Kindle Fire 7" HDX - any help with my next steps would be much appreciated.
Click to expand...
Click to collapse
Fastboot is not a valid context for adb. As you suspect drivers are the likely culprit. See linked thread to collect the materials you need and gain a better understanding of next steps.
https://forum.xda-developers.com/kindle-fire-hdx/general/how-to-root-unlock-hdx-noobies-t3916167
Davey126 said:
Fastboot is not a valid context for adb. As you suspect drivers are the likely culprit. See linked thread to collect the materials you need and gain a better understanding of next steps.
https://forum.xda-developers.com/kindle-fire-hdx/general/how-to-root-unlock-hdx-noobies-t3916167
Click to expand...
Click to collapse
Thanks Davey. I've read through the tutorial and spotted that I did not root the device before updating the bootloader (using bulk mode). Could this be where I've gone wrong?
Currently I cannot load the Kindle rom (only TWRP and fastboot) and adb commands in TWRP return 'unauthorized'. I've tried installing the nexus rom but get an error 7.
I guess my questions are; how can I get back to the Kindle booting the stock rom? And how can I find the current state of the Kindle (e.g. is the bootloader unlocked, is it rooted etc.). I have borrowed an Mac so will try and use the adb drivers on that and let you know if I get the same behaviour.
philjd said:
Thanks Davey. I've read through the tutorial and spotted that I did not root the device before updating the bootloader (using bulk mode). Could this be where I've gone wrong?
Currently I cannot load the Kindle rom (only TWRP and fastboot) and adb commands in TWRP return 'unauthorized'. I've tried installing the nexus rom but get an error 7.
I guess my questions are; how can I get back to the Kindle booting the stock rom? And how can I find the current state of the Kindle (e.g. is the bootloader unlocked, is it rooted etc.). I have borrowed an Mac so will try and use the adb drivers on that and let you know if I get the same behaviour.
Click to expand...
Click to collapse
While we could spend hours reassembling Humpty Dumpty just to get back to where you were (only to start the journey again) the more expeditious route is to replace/unlock the bootloader via the previously linked instructions or, better yet, 1-click.
https://forum.xda-developers.com/kindle-fire-hdx/general/multi-platform-1-click-bootloader-t3241014
philjd said:
Thanks Davey. I've read through the tutorial and spotted that I did not root the device before updating the bootloader (using bulk mode). Could this be where I've gone wrong?
Currently I cannot load the Kindle rom (only TWRP and fastboot) and adb commands in TWRP return 'unauthorized'. I've tried installing the nexus rom but get an error 7.
I guess my questions are; how can I get back to the Kindle booting the stock rom? And how can I find the current state of the Kindle (e.g. is the bootloader unlocked, is it rooted etc.). I have borrowed an Mac so will try and use the adb drivers on that and let you know if I get the same behaviour.
Click to expand...
Click to collapse
In fastboot ready mode , if you GET this:
C:\adb>fastboot oem idme ?
(bootloader) board_id: 0c0400
(bootloader) serial: XXXXXXXXXXXXXXXX
(bootloader) mac_addr: XXXXXXXXXXXX
(bootloader) bt_mac_addr: XXXXXXXXXXXX
(bootloader) productid: 0
(bootloader) productid2: 0
(bootloader) bootmode: 1
(bootloader) postmode: 0
(bootloader) bootcount: 1070
(bootloader) panelcal: ¦ ·
(bootloader) time_offset: 0
(bootloader) idme done
OKAY [ 0.329s]
Finished. Total time: 0.329s
and NOT this:
C:\adb>fastboot oem idme ?
FAILED (remote: 'oem idme not allowed for locked hw')
Finished. Total time: 0.040s
I would just go ahead and install your favorite custom rom, GApps, and SuperSu or Magisk

Root Ulefone Armor X5?

Hi. Has anyone managed to root Ulefone Armor X5?
The phone is based on MediaTek Helio P23 MT6763, 64-bit Processor.
Baseband: MOLY.LR12A.R2.MP.V91.7.P4
Kernel: 4.4.146#2 wed Sep 25 16:10:16 CST 2019
Build Nr: Armor_X5_MH1_EEA_V01
I have installed the drivers uploaded onto Mega by the Ulefone company here:
https://mega.nz/#F!t64QzRxA!SxZFFl3WrgujTaFshrFuKA!03YnGSYa
I have created the patched boot.img by Magisk Manager 7.5.0.
Enabled the OEM Unlock and USB Debugging thru the Developer options.
Thru ADB, successfully reboots to fastboot by "adb reboot bootloader". The PC recognizes it as typing "adb devices" gives the serial number.
And so far that's all.
Typing "fastboot oem unlock" or "fastboot flashing unlock" gives no result on the phone screen. The ADB says: waiting for device.
I am following most of the steps explained here:
https://forum.xda-developers.com/android/general/root-ulefone-armor-6-tutorial-t3948089
Any advice on what I am doing wrong?
Is it possible to brick it or bootloop by flashing the patched boot.img directly?
Many thanks.
zhekozhekov said:
Hi. Has anyone managed to root Ulefone Armor X5?
The phone is based on MediaTek Helio P23 MT6763, 64-bit Processor.
Baseband: MOLY.LR12A.R2.MP.V91.7.P4
Kernel: 4.4.146#2 wed Sep 25 16:10:16 CST 2019
Build Nr: Armor_X5_MH1_EEA_V01
I have installed the drivers uploaded onto Mega by the Ulefone company here:
https://mega.nz/#F!t64QzRxA!SxZFFl3WrgujTaFshrFuKA!03YnGSYa
I have created the patched boot.img by Magisk Manager 7.5.0.
Enabled the OEM Unlock and USB Debugging thru the Developer options.
Thru ADB, successfully reboots to fastboot by "adb reboot bootloader". The PC recognizes it as typing "adb devices" gives the serial number.
And so far that's all.
Typing "fastboot oem unlock" or "fastboot flashing unlock" gives no result on the phone screen. The ADB says: waiting for device.
I am following most of the steps explained here:
https://forum.xda-developers.com/android/general/root-ulefone-armor-6-tutorial-t3948089
Any advice on what I am doing wrong?
Is it possible to brick it or bootloop by flashing the patched boot.img directly?
Many thanks.
Click to expand...
Click to collapse
If your PC Is not seeing device in fastboot. It may be you need to update your fastboot.exe
In my case there was two possibilities. In Windows 10 I gave myself higher
admin rights clicking right in the folder of my fastboot programm. I tried a little bit, but there is no big thing to get a positive answer writing (before of course I switch on under developer settings usb debugging and gave answer in phone screen) :
fastboot devices
Better and easier is it on Linux, because writing sudo in front of fastboot and ready is it:
sudo fastboot devices
sudo fastboot flashing unlock
or
sudo fastboot flashing unlock_critical
:good:
Hi,
Recently rooted mine Armor X5 (with some pains) so remember mistakes I did and you might be doing.
First, confirm that fastboot sees your device ("fastboot devices") . If you get "waiting for device" then
try different ADB & fastboot installers (e.g. 15 seconds ADB Installer 1.4.3 or ADB installer v1.3
Good luck
waldem88 said:
Hi,
Recently rooted mine Armor X5 (with some pains) so remember mistakes I did and you might be doing.
First, confirm that fastboot sees your device ("fastboot devices") . If you get "waiting for device" then
try different ADB & fastboot installers (e.g. 15 seconds ADB Installer 1.4.3 or ADB installer v1.3
Good luck
Click to expand...
Click to collapse
Thanks for the advice. I am still waiting for someone to give detailed instructions of rooting it.
Did you flash and use TWRP or flashed the patched boot.img straight? Cheers.
waldem88 said:
Hi,
Recently rooted mine Armor X5 (with some pains) so remember mistakes I did and you might be doing.
First, confirm that fastboot sees your device ("fastboot devices") . If you get "waiting for device" then
try different ADB & fastboot installers (e.g. 15 seconds ADB Installer 1.4.3 or ADB installer v1.3
Good luck
Click to expand...
Click to collapse
just got my phone bro. would you be kind in sharing the method you used to root your armor x5.. thanks.
I have the some problem.
In other device, fastboot are work alright.
I try to edit (repack) Zip Rom with replace boot_verified.img with img from magisk, and instal with SP multi port from official site, its error' on boot.img....
Any idea to verify signature boot_verified.img from magisk.???
Sorry for my bad English..
A Solution
Hi, popping in to say I had the same exact problem. After you enter fastboot through the command "adb reboot bootloader", go into device manager and look for Armor X5, right-click update drivers, and then select search for drivers online. It should automatically update with the adb driver.
( I also found the code at the end of the romprovider tutorial titled "How to create a prerooted patched boot.img with magisk" useful, although fair warning it did wipe my device clean )
My input
I'll say this: There is 2, yes, two fastboot 'modes' in this fone, and is provable thus: adb reboot bootloader - shows a black screen with the tiniest of writing, and...
adb reboot recovery - boots us into (origional) recovery, where we can choose to boot into fastboot, however, when booting into this mode, at the top of the screen we see fastbootd - note the 'd' at the end? fastboot commands work, but dont stick, appear to write succesfully.
So when people say they cant use fastboot commands, this is why!
I got as far as:
adb reboot fastboot
fastboot -i 0x0E8D devices
fastboot -i 0x0E8D flashing unlock <-success - bootloader unlocked, and can be relocked.
fastboot -i 0x0E8D flash boot boot.img <- magisk_patched.img (did not show anything to say it worked)
fastboot -i 0x0E8D flash recovery twrp.img <- twrp (tried all available twrp versions, none worked so far, reckon we need a twrp built for this particular fone)
After reflashing the boot, fone bootlooped.
After flashing recovery, fone bootlooped.
So hopefully someone will chip in, because it's not normal that we can apparently flash anything with bootloader unlocked, but now we cant.. I'll point out my fone is an android 10, probably the reason no other twrp's will work, most likely being made on android 9
I have 30 years programming experience, just getting old and cranky...
Seems my thread starter was moved to god knows where, (bang go donations until I see something worth donating to lol), I AM a developer, who buys toys just to hack them!! So may threads in dev section have ZERO useable information, 'scuse the coment :/
Hi, on my side I am stuck in the same way because I found several versions:
- mt6762
- mt6763
i feel all twrp and magisk are for 6763.
Can you confirm which version you have?
Sorry but I'm stuck months too and I really need to root my phone ;-(
Pachacouti said:
I'll say this: There is 2, yes, two fastboot 'modes' in this fone, and is provable thus: adb reboot bootloader - shows a black screen with the tiniest of writing, and...
adb reboot recovery - boots us into (origional) recovery, where we can choose to boot into fastboot, however, when booting into this mode, at the top of the screen we see fastbootd - note the 'd' at the end? fastboot commands work, but dont stick, appear to write succesfully.
So when people say they cant use fastboot commands, this is why!
I got as far as:
adb reboot fastboot
fastboot -i 0x0E8D devices
fastboot -i 0x0E8D flashing unlock <-success - bootloader unlocked, and can be relocked.
fastboot -i 0x0E8D flash boot boot.img <- magisk_patched.img (did not show anything to say it worked)
fastboot -i 0x0E8D flash recovery twrp.img <- twrp (tried all available twrp versions, none worked so far, reckon we need a twrp built for this particular fone)
After reflashing the boot, fone bootlooped.
After flashing recovery, fone bootlooped.
So hopefully someone will chip in, because it's not normal that we can apparently flash anything with bootloader unlocked, but now we cant.. I'll point out my fone is an android 10, probably the reason no other twrp's will work, most likely being made on android 9
I have 30 years programming experience, just getting old and cranky...
Seems my thread starter was moved to god knows where, (bang go donations until I see something worth donating to lol), I AM a developer, who buys toys just to hack them!! So may threads in dev section have ZERO useable information, 'scuse the coment :/
Click to expand...
Click to collapse
error for me too
you are win?
Using win 7 x64,
Phone is on Android 10_Q
Mtk 6765
This is an aarm64, meaning a 64-bit fone, no instructions available so far work, because they are all for android 9, lot's of 'Q' root's, but not for what they call 'A' only boot, which is not the same as A/B partitioning.
All I'm reading now is the same tut's on hundreds of websites giving the same old information... and the fact root is gone. From what I read, My fone is so up to date that I'm where most will be shortly, and with root devs too busy keeping old hat alive... Figure it out: TWRP is actually dead, now. This is why they no longer accept requests here. Twrp cannot be loaded in a dynamic partition setup, (so far) it wont even fastboot boot twrp.img, not happening with ANY twrp. So forget TWRP. Twrp is old hat to my fone.
Magisk, haha, not one version works for true 64bit, (Not implemented yet), and prob never will be, say tata magisk and say tata su, cause we cant write to the deduped ext4 system, root is kinda pointless now, cause if we cant read/write... Overlayfs is the fix I read, in about 5 years...
So its writing custom kernels for the A only tat's the way I read...
Wake up, it's time to experience the cave in to google domination... their AI patc things much quicker than waiting on devs working on what used to work...
Fingers crossed they get round to the new updates instead of concentrating on what works for ONE fone...
Pachacouti said:
Using win 7 x64,
Phone is on Android 10_Q
Mtk 6765
This is an aarm64, meaning a 64-bit fone, no instructions available so far work, because they are all for android 9, lot's of 'Q' root's, but not for what they call 'A' only boot, which is not the same as A/B partitioning.
All I'm reading now is the same tut's on hundreds of websites giving the same old information... and the fact root is gone. From what I read, My fone is so up to date that I'm where most will be shortly, and with root devs too busy keeping old hat alive... Figure it out: TWRP is actually dead, now. This is why they no longer accept requests here. Twrp cannot be loaded in a dynamic partition setup, (so far) it wont even fastboot boot twrp.img, not happening with ANY twrp. So forget TWRP. Twrp is old hat to my fone.
Magisk, haha, not one version works for true 64bit, (Not implemented yet), and prob never will be, say tata magisk and say tata su, cause we cant write to the deduped ext4 system, root is kinda pointless now, cause if we cant read/write... Overlayfs is the fix I read, in about 5 years...
So its writing custom kernels for the A only tat's the way I read...
Wake up, it's time to experience the cave in to google domination... their AI patc things much quicker than waiting on devs working on what used to work...
Fingers crossed they get round to the new updates instead of concentrating on what works for ONE fone...
Click to expand...
Click to collapse
Hello, I have the same phone, any news about rooting etc.. ?
Hi,
I got my Armor X5 P22 Mediatek MT6762, Android 10 phone a couple of days ago to replace an ageing Moto G5S. I have unlocked the bootloader on several previous Android phones, but found doing so on this X5 a bit harder.
Assuming you have enabled 'Developer Options' etc on the phone and installed the Mediatek drivers and 'Minimal ADB and Fastboot' on your PC/laptop, I would suggest that once you are in Fastboot mode and have confirmed that Fastboot recognises your device with the command "Fastboot devices", that you next enter the command
Fastboot /?
This will bring up all the Fastboot commands and options installed on your phone. I then used
Fastboot flashing get_unlock_ability which returned an 8 digit number:-
D:\Minimal ADB and Fastboot>fastboot flashing get_unlock_ability
...
(bootloader) unlock_ability = 16777216
OKAY [ 0.015s]
finished. total time: 0.015s
I have no idea what the 8 digit number means, as I thought it would return '1' or '0' .
However I then did the following:
D:\Minimal ADB and Fastboot>fastboot flashing unlock
...
FAILED (remote: GetVar Variable Not found)
finished. total time: 6.704s
D:\Minimal ADB and Fastboot>fastboot reboot
(bootloader) Start unlock flow
rebooting...
On rebooting the phone, a warning appeared on the Home Screen for 5 seconds stating that the bootloader was unlocked, the phone could not be trusted and my warranty was void. The phone was factory reset.
On re-enabling 'Developer Options' and checking the 'OEM unlocking' option the phone confirms that 'Bootloader is already unlocked'
Don't know whether this helps anyone else struggling to unlock their phone.
The 'fastboot flashing unlock' command might be unnecesary.
regards
bjlabuk said:
Hi,
I got my Armor X5 P22 Mediatek MT6762, Android 10 phone a couple of days ago to replace an ageing Moto G5S. I have unlocked the bootloader on several previous Android phones, but found doing so on this X5 a bit harder.
Assuming you have enabled 'Developer Options' etc on the phone and installed the Mediatek drivers and 'Minimal ADB and Fastboot' on your PC/laptop, I would suggest that once you are in Fastboot mode and have confirmed that Fastboot recognises your device with the command "Fastboot devices", that you next enter the command
Fastboot /?
This will bring up all the Fastboot commands and options installed on your phone. I then used
Fastboot flashing get_unlock_ability which returned an 8 digit number:-
D:\Minimal ADB and Fastboot>fastboot flashing get_unlock_ability
...
(bootloader) unlock_ability = 16777216
OKAY [ 0.015s]
finished. total time: 0.015s
I have no idea what the 8 digit number means, as I thought it would return '1' or '0' .
However I then did the following:
D:\Minimal ADB and Fastboot>fastboot flashing unlock
...
FAILED (remote: GetVar Variable Not found)
finished. total time: 6.704s
D:\Minimal ADB and Fastboot>fastboot reboot
(bootloader) Start unlock flow
rebooting...
On rebooting the phone, a warning appeared on the Home Screen for 5 seconds stating that the bootloader was unlocked, the phone could not be trusted and my warranty was void. The phone was factory reset.
On re-enabling 'Developer Options' and checking the 'OEM unlocking' option the phone confirms that 'Bootloader is already unlocked'
Don't know whether this helps anyone else struggling to unlock their phone.
The 'fastboot flashing unlock' command might be unnecesary.
regards
Click to expand...
Click to collapse
Hello, could you flash twrp on this phone? I have the same one (mt6762, Android 10) and couldnt find a working twrp Port...
Deleted link to unofficial twrp site
maxxvd said:
Hello, could you flash twrp on this phone? I have the same one (mt6762, Android 10) and couldnt find a working twrp Port...
Click to expand...
Click to collapse
You dont have same fone, you have mt6762, I have mt6765
This worked for me (am using a mac so my terminal lingo may be different)
Device: Ulefone X5 2019
Chipset MT6763
Processor: arm64-v8a, A-only system partition
Reset device
Enable developer options, USB debugging, and OEM unlock, then in terminal, do:
adb device
adb reboot bootloader
fastboot flashing unlock_critical
Device is now unlocked and reboots (unlocked warning now appears on reboot screen)
——
Then I installed TWRP & Magisk:
Re-enable developer options, USB debugging, and OEM unlock
To flash the TWRP recovery.img: Copy the TWRP recovery.img into the platform-tools folder, and from that folder, do:
adb reboot bootloader
fastboot flash recovery recovery.img
Then once finished, hold down the power and volume up buttons until it shuts down and restarts (restarts in TWRP recovery)
——
• Download the latest Magisk installer file and put it in the ADB (platform-tools) tools folder (or in your device storage)
• Inside TWRP, go to Advanced > ADB Sideload, then do adb sideload Magisk.zip (replace Magisk.zip with the Magisk zip filename )
Swipe the slider to install Magisk
Tap Reboot System

Need help rooting Alcatel 1c (5003D)

Hi,
I've now spent quite a few frustrating hours trying to root my Alcatel 1c (model 5003D, running Android 8.1 Go) and nothing seems to work. A short overview of some of the rabbit holes I've gone down:
Root tools
Started with the obvious: root tools. In short, none that I ran work. There's a couple I haven't tried because the instructions were mostly in Russian and some googling turned up quite a few mentions of them containing malware, but other than that I've pretty much tried all the major ones.
Flashing images via fastboot
Naturally, the next place I turned was the awesome resource that is this forum. This thread gave me plenty of hope, but I was soon flummoxed by my device's fastboot mode for which a bunch of the normal features are either broken or are simply not implemented. Some examples of things that should work (and indeed work on other Alcatel phones, notably, it seems, ones that are not based on Spreadtrum) but didn't:
Code:
~/D/platform-tools > ./fastboot oem unlock
FAILED (remote: 'unknown cmd.')
fastboot: error: Command failed
Code:
~/D/platform-tools > ./fastboot oem unlock-go
FAILED (remote: 'unknown cmd.')
fastboot: error: Command failed
Code:
~/D/platform-tools > ./fastboot oem unlock-go --wipe
FAILED (remote: 'unknown cmd.')
fastboot: error: Command failed
Code:
~/D/platform-tools > ./fastboot flashing unlock
FAILED (remote: 'Not implemet.')
fastboot: error: Command failed
(note the spelling error in the error message...)
Code:
~/D/platform-tools > ./fastboot flash recovery ../recovery.img
Sending 'recovery' (28266 KB) OKAY [ 1.582s]
Writing 'recovery' FAILED (remote: 'Flashing Lock Flag is locked. Please unlock it first!')
fastboot: error: Command failed
That last one was particularly intriguing, as it suggests there is a Flashing Lock Flag that can be unlocked. I tried all of the fastboot commands that seemed relevant but couldn't find any way of setting that flag or even figuring out if it actually exists. I even rand the boot.img through strings to see if I could find something interesting, but didn't turn up anything.
Just to be clear, before doing all this I set the phone to Developer Mode and checked the "OEM unlocking" feature.
Flashing tools
I tried various tools with which it's possible to flash phones. A lot of them use fastboot under the covers which doesn't work (see above). Some of them don't but didn't work on my phone all the same, for various reasons:
SPD flash tool - After yet more Googling I stumbled upon the SPD flash tool,built specifically to flash Spreadtrum-based devices. I downloaded the latest version, installed all of the necessary USB drivers and tried to flash the phone with the stock ROM. No dice. The tool fails to connect to the device via the USB2Serial thing that it uses to communicate. No idea what's going on or why it won't work, and haven't yet mustered the courage to dive into the source code. Of course, if I do get it to work, then I have to figure out how to actually root the device using this tool. I'm guessing it will involve unpacking the ROM (a PAC file), modifying the recovery.img to a TWRP (or similar), repacking it and flashing the result. I've only managed the unpacking so far, no clue as to the other 2 steps. BTW, the SPD flash tool site als has a "factory" and a "research" tool, besides the "upgrade" tool that I tried. Unless I'm missing something, all three seem to be exactly the same (save for the color scheme).
Alcatel Mobile Upgrade S - Installs just fine and then allows you to choose your phone out of a dropdown... that doesn't include my model.
Sugar MTK/QCT - Installed it and the necessary drivers but it can't find my phone, no matter what I try. Also, I keep reading that it needs login credentials (wut?)
Conclusion: argh!
So, nothing so far. Since it's a Spreadtrum phone it has an engineering mode that can be explored with an APK I found in this thread. Nothing in the settings it reveals appears to be of any help though. I also contacted the makers of the AIO Alcatel toolkit to see if they had any ideas, but after I explained the situation one of them concluded "Hmmm. New one on me". Needless to say I also tried searching this forum for more tips, but googling 'site:forum.xda-developers.com "5003D"' returns no hits.
For now, I'm forced to conclude that there is a lot of really awesome tooling out there created by some very talented people, but none of it works on my phone. As of yet the 5003D appears pretty unrootable. If anyone has any tips to help me along or point me in the right direction, I would be very appreciative.
bump
bump
Then type the command to show the device
fastboot -i 0x1bbb devices
Execute the next command which will show device info including bootloader status (e.g. locked).
fastboot -i 0x1bbb oem device-info
This command is to unlock the bootloader on Alcatel device
fastboot -i 0x1bbb oem unlock
Repeat Step and you should see “Device unlocked: true”
To reboot normally type:
fastboot -i 0x1bbb reboot
Done
This command is to unlock the bootloader on Alcatel device
fastboot -i 0x1bbb oem unlock
Click to expand...
Click to collapse
I've tried that a bunch of times in an bunch of different ways, and unfortunately that doesn't work for this particular phone.
lotus118 said:
I've tried that a bunch of times in an bunch of different ways, and unfortunately that doesn't work for this particular phone.
Click to expand...
Click to collapse
Rooting your phone's Android does NOT require you fiddle around with its boot-loader. Forget trying to make use of Fastboot.
So how would I go about this without using fastboot?
lotus118 said:
So how would I go about this without using fastboot?
Click to expand...
Click to collapse
1. Open Windows command prompt and input the following comand
Code:
adb devices
2. Start the ADB sideload in your phone's recovery
3. Then input the following command in the Windows command prompt
Code:
adb sideload <filename.Zip>
where <filename.zip> must of course be the real full filepathname of ZIP to get flashed

A permission issue?

Hi
I recently upgraded a Honor 5c to Nougat(which works)NRD90M test keys build. I did this through Flashfire to try and preserve root. It failed(what a surprise).
The device is recognised now with 'fastboot devices', by running ADB using root in Linux.
I can get into bootloader screen using fastboot and have unlocked the phone AGAIN to be sure. BUT, cannot flash TWRP which is vital. The error now is:
Sending 'boot.img' (24464 KB) OKAY [ 0.869s]
Booting FAILED (remote: 'Command not allowed') fastboot: error: Command failed
This suggests the phone is locked which is absurd. I think this is a permission problem within Android, it that possible?
It doesn't matter how I'm going to root, if I can't communicate the whole thing is usesless.
The same issue continues with ADB in Win10
Any thoughts hear, because I've trawled Google.
thanks
To clarify things: ADB and Fastboot are 2 completly different things. Fastboot deals with device's bootloader, whereas ADB deals with device's Android OS.
Run this command sequence
Code:
fastboot devices
fastboot getvar all 2>%TEMP%\phoneinfo.txt
fastboot reboot
type "%TEMP%\phoneinfo.txt" | more
which will get you a list of various variables on the phone with model and such useful things.
jwoegerbauer said:
To clarify things: ADB and Fastboot are 2 completly different things. Fastboot deals with device's bootloader, whereas ADB deals with device's Android OS.
Run this command sequence
Code:
fastboot devices
fastboot getvar all 2>%TEMP%\phoneinfo.txt
fastboot reboot
type "%TEMP%\phoneinfo.txt" | more
which will get you a list of various variables on the phone with model and such useful things.
Click to expand...
Click to collapse
Excuse if this format is incorrect
Thanks for that.
ADB and Fastboot are 2 completly different things
Click to expand...
Click to collapse
Sure
fastboot devices
Click to expand...
Click to collapse
MQH4C17330000094 fastboot
fastboot getvar all 2>%TEMP%\phoneinfo.txt
Click to expand...
Click to collapse
Returns to prompt
fastboot reboot
Click to expand...
Click to collapse
Works
type "%TEMP%\phoneinfo.txt" | more
Click to expand...
Click to collapse
getvar:all FAILED (remote: 'Command not allowed')
Finished. Total time: 0.005s
Same thing again
Cliff
cliffhanger54 said:
getvar:all FAILED (remote: 'Command not allowed')
Click to expand...
Click to collapse
That a Fastboot cmd does not work ( e.g. error Command not allowed ) is not unusual because Fastboot is different from version to version and also depends on how OEM/Carrier implemented it.
Again:
Bootloader and Android OS are different things, as this is same on PC where UEFI/BIOS and Windows OS are different things, too. A device's bootloader doesn't depend on any permissions granted within device's OS. A bootloader is a kind of software that runs as soon as you start up your phone. It tells the phone which programs are loading in order to make your phone run smoothly. This software packages all the instructions that are supposed to boot the Android OS, and initializes hardware and serves as security checkpoint.
Don't mix things up.
BTW:
Whether device's bootloader is unlockable / is already unlocked or not is stored in system file named build.prop.
Code:
adb devices
adb shell "getprop ro.oem_unlock_supported"
If returned value is 1, then unlocking bootloader is supported otherwise it's not.
or
Code:
fastboot devices
fastboot oem device-info
If "Device unlocked: true" is shown then bootloader is unlockedd.
jwoegerbauer said:
That a Fastboot cmd does not work ( e.g. error Command not allowed ) is not unusual because Fastboot is different from version to version and also depends on how OEM/Carrier implemented it.
Again:
Bootloader and Android OS are different things, as this is same on PC where UEFI/BIOS and Windows OS are different things, too. A device's bootloader doesn't depend on any permissions granted within device's OS. A bootloader is a kind of software that runs as soon as you start up your phone. It tells the phone which programs are loading in order to make your phone run smoothly. This software packages all the instructions that are supposed to boot the Android OS, and initializes hardware and serves as security checkpoint.
Don't mix things up.
BTW:
Whether device's bootloader is unlockable / is already unlocked or not is stored in system file named build.prop.
Code:
adb devices
adb shell "getprop ro.oem_unlock_supported"
If returned value is 1, then unlocking bootloader is supported otherwise it's not.
or
Code:
fastboot devices
fastboot oem device-info
If "Device unlocked: true" is shown then bootloader is unlockedd.
Click to expand...
Click to collapse
Thanks again for answering. I understand what you say. I've used Linux for 20 years and understand the differences. But where does this leave us/me. I should be able to flash TWRP into the recovery partition surely? Or are we dependent on software versions here as you say? It would be relatively easy in Linux and of course Android is based on it.
cliffhanger54 said:
I should be able to flash TWRP into the recovery partition surely?
Click to expand...
Click to collapse
TWRP completely removes device's default /recovery partition if it exists ( exists only on A-only Android devices), TWRP creates its own in device's /boot partition.
To flash TWRP on A-only ( or on current active boot slot if it's an A/B ) device
Code:
fastboot devices
fastboot flash boot <PATH_ON_PC_TO_YOUR_TWRP_IMAGE_HERE>
jwoegerbauer said:
TWRP completely removes device's default /recovery partition if it exists ( exists only on A-only Android devices), TWRP creates its own in device's /boot partition.
To flash TWRP on A-only ( or on current active boot slot if it's an A/B ) device
Code:
fastboot devices
fastboot flash boot <PATH_ON_PC_TO_YOUR_TWRP_IMAGE_HERE>
Click to expand...
Click to collapse
Thanks I think I've tried this one. I do get a different response though:
'fastboot: error: cannot get boot partition size'
I've seen suggestions that formating the boot partition is required - sounds extreme.
Why not simply re-flash device's Stock ROM to restore it to its original state ?
:good:
Sukrus said:
:good:
Click to expand...
Click to collapse
Yes wouldn't that be great. Have tried that from the beginning when I couldn't flash TWRP.
Put the Update.app on the SDcard, reboot the phone, hold down the buttons(tried them all), Bingo, it always takes me to eRecovery and how useless that is.
I have backups of Marshmallow with TWRP and Flashfire, which is why I took the flash TWRP route.
Wish I'd never upgaded now, although was forced to because of banking.
thanks
@cliffhanger54
I have noticed that current thread basically is a duplicate of this thread you started on XDA some days ago, too.
jwoegerbauer said:
@cliffhanger54
I have noticed that current thread basically is a duplicate of this thread you started on XDA some days ago, too.
Click to expand...
Click to collapse
Yes, couldn't really get anyone to answer, needed more info. Apologies. Will cease other question
Cliff
cliffhanger54 said:
Yes, couldn't really get anyone to answer, needed more info. Apologies. Will cease other question
Cliff
Click to expand...
Click to collapse
Right. After many attempts at other things I became convinced this was a locked bootloader problem despite the phone saying it was unlocked. Anyway have persisted in unlocking the phone several times and am now at a screen saying 'Your device is unlocked' but it also says 'you device is booting now'. But that's as far as it goes. If I turn the phone off it comes back to this screen and holding the power button+-volume also comes back to this screen, i.e I can't turn it off. How do I get back to the bootloader/fastboot mode or is this a genuine brick?
thanks
Cliff
cliffhanger54 said:
Right. After many attempts at other things I became convinced this was a locked bootloader problem despite the phone saying it was unlocked. Anyway have persisted in unlocking the phone several times and am now at a screen saying 'Your device is unlocked' but it also says 'you device is booting now'. But that's as far as it goes. If I turn the phone off it comes back to this screen and holding the power button+-volume also comes back to this screen, i.e I can't turn it off. How do I get back to the bootloader/fastboot mode or is this a genuine brick?
thanks
Cliff
Click to expand...
Click to collapse
Okay finally solved it. Let the battery run down as all I was getting was a bootloop. I was then able to get into fastboot mode with the necessary keys. From here i flashed TWRP but this required numerous attempts with different versions, finally got '3.1.1 venus' to load and the rest was straight forward!
thanks to everyone

TCL 20b Subforum

Hello there,
A newbie here, trying to unlock a TCL 20B (6159K) phone.
Android 11, November 2021 security patch (MTK Easy Su doesn't work with that, reportedly some vulnerability was patched), fastboot accessible but acting weird.
1. Got fastboot from here.
For some reason it doesn't understand the -i option, but connects with the only phone I'm trying to unlock attached anyway.
VID is 0x0e8d, btw.
2. Got adb from don't remember where about a year ago (for my previous Lenovo phone)
3. Unlocked the Developer Options
4. Checked "Allow bootloader unlock" and "Enable USB debugging" options there (not sure how those are named exactly in English, but I 100% guarantee, I've checked the right ones)
5. Sent phone into fastboot with
Code:
adb boot bootloader
6. Checked the unlockability with
Bash:
fastboot flashing get_unlock_ability
(bootloader) unlock_ability = 16777216
OKAY [ 0.005s]
Finished. Total time: 0.006s
7. Tried to unlock the thing, but
Code:
fastboot flashing unlock
FAILED (remote: 'not allowed in locked state')
fastboot: error: Command failed
and
Code:
fastboot flashing unlock_critical
FAILED (remote: 'not allowed in locked state')
fastboot: error: Command failed
8. Searching here, on XDA forums revealed there's no TCL 20B sub-form.
9. While there are tons of topics on not allowed in locked state, none of those helps.
fastboot oem unlock is seemingly an old way to do things (TCL 20B is a rather new device released WAY past 2015)
TCL is an Alcatel device, not a Xiaomi or some ZUK one, to require an account (haven't found anthing on "alcatel account")
trying to load some recovery from PC that might work failed as well (for the same reason)
Code:
[/LIST]
./fastboot boot twrp-3.6.1.img
Sending 'boot.img' (8932 KB) OKAY [ 0.212s]
Booting FAILED (remote: 'not allowed in locked state')
fastboot: error: Command failed
I've read some TCL 10 phones don't even have a fastboot, but TCL 20B clearly does.
Any Ideas how to unlock the bootloader?
P.S. Maybe a new sub forum for 20B? This got placed into the "TCL 20 5G" one, which doesn't seem right.
EDIT:
Ok, have found how to proceed on my own.
Even rooted the thing.
Go here https://github.com/bkerler/mtkclient, grab the ISO, backup, install patched magisk, patch the boot_a, flash patched boot_a and empty vbmeta_a, erase metadata, userdata and md_udc. Reboot, reinstall pathched magisk.
Don't lock the bootloader to avoid red state.
Huge kudos to mtkclient devs
Hello, i been trying to root my tcl 20b (6159a) but i cant figure how, i follow the instructions of mtkclient. Install it in windows, python, mtk repository, all the process, but when i try to replace boot_a.img it doesnt work from the cmd command, but in the python mtk_gui i can replace boot_a.bin and erase vbmeta_a.bin when i do it from there the cellphone keep in bootloop, i can fix the bootloop but cant root it. If u read this, can you plz be more specific with the steps, and made a little tutorial, its not necessary images or video just some more in deep info how you achieve root, thx

Categories

Resources