'Command not allowed' error occurs and bootloader locked despite "unlocking" it (Honor X6) - Android Q&A, Help & Troubleshooting

I'm posting on here as no thread for Honor 6X exists.
For context, I'm trying to root my Honor X6 (not 6X). My plan was to unlock its bootloader, flash a patched vbmeta image, fetch the boot partition to patch with Magisk, and flash the boot img to root it (no custom ROM or kernel as none exist to my knowledge).
Considering that the phone is very recent (Sept 2022), I initially thought no methods existed to unlock its bootloader. I booted it into download mode (here's a screenshot):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Running fastboot flashing unlock prompts me to unlock the bootloader, as shown here:
Restarting to the OS causes a bootloop, indicating an unlock bootloader, only fixed by relocking it. However, running any privilidges commands in fastboot returns Command not allowed as if it's still locked, and rebooting into download mode shows the first picture.
With this in mind, I want to ask you all how (or can) I properly unlock my phone's bootloader?

Zolaxity said:
I'm posting on here as no thread for Honor 6X exists.
Click to expand...
Click to collapse
Hello and good morning, @Zolaxity
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Zolaxity said:
I'm posting on here as no thread for Honor 6X exists.
For context, I'm trying to root my Honor X6 (not 6X). My plan was to unlock its bootloader, flash a patched vbmeta image, fetch the boot partition to patch with Magisk, and flash the boot img to root it (no custom ROM or kernel as none exist to my knowledge).
Considering that the phone is very recent (Sept 2022), I initially thought no methods existed to unlock its bootloader. I booted it into download mode (here's a screenshot):
View attachment 5782787
Running fastboot flashing unlock prompts me to unlock the bootloader, as shown here:
View attachment 5782791View attachment 5782797
Restarting to the OS causes a bootloop, indicating an unlock bootloader, only fixed by relocking it. However, running any privilidges commands in fastboot returns Command not allowed as if it's still locked, and rebooting into download mode shows the first picture.
With this in mind, I want to ask you all how (or can) I properly unlock my phone's bootloader?
Click to expand...
Click to collapse
Huawei does not allow unlocking the bootloader without a code.
Step 1. Take apart the phone
Step 2. Use the testpoints with potatonv
Step 3: Put it back together
Step 4: OEM unlock it with your code
Step 5: Unlock it from fastboot
NOTE: YOUR CHIPSET MAY NOT BE SUPPORTED

Got it.
Seems the Honor X6 uses MediaTek - which isn't a supported chipset - so unlocking the bootloader may not be possible.

Zolaxity said:
Got it.
Seems the Honor X6 uses MediaTek - which isn't a supported chipset - so unlocking the bootloader may not be possible.
Click to expand...
Click to collapse
https://github.com/bkerler/mtkclient try this to unlock the bootloader

I've tried without shorting the testpoint, with no phone detection by mtkclient. I'm now searching for any knowledge of the Honor X6's testpoint (although it's unlikely anything will show up).
Can I just attempt as many "points" of the phone until one works with mtkclient as the testpoint, or could this be unsafe? (just in case)

Related

[Q] how to go to recovery mod on z2

Hey guys how can I go to recovery mod on z2.?
And if I flash any custom rom then how can I back to stock rom.?
And need to unlock bootloader to flash custom rom.? How?
There are a few ways to enter recovery mode on the Z2.
1) Install a recovery for locked bootloader;
How to:
1) Root your phone (if you are on 4.4.2 use a rooting tool. If you are on 4.4.4 you will have to downgrade to 4.4.2, root that and then install a pre-rooted ROM through recovery).
2) Install busybox (you can find this in the play store).
3) Run the installer by [NUT] to get recovery for locked bootloader (this an be found in the cross device development section).
2) Install a recovery for unlocked bootloader;
How to:
1) Check if your bootloader can be unlocked by going to you phone keypad and typing *#*#3738423#*#*. This will bring up the service menu, Tap Service Info, Tap Configuration, then look to the rooting status. Under that it will say either Bootloader Unlock Allowed: Yes or Bootloader Unlock Allowed: No. If it says yes you can carry on, if it says no you can only use recovery for locked bootloader.
2) Root your phone and back up you TA partition (tool can be found in the Cross Device Development section).
3) Unlock your bootloader by following the Sony guide (NOTE: This WILL wipe your internal storage, so please make a back up of everything.
4) Install a custom kernel what has recovery embedded into it.
If you flash a custom ROM and wish to revert back to stock the easiest and safest way is to flash the ftf firmware file (these can be found in the Z2 general section) with flashtool (this can be found in the cross device development section). If you are downgrading you will have to wipe data and the cache or else the phone will just bootloop.
How to unlock the bootloader and install a custom non-stock based ROM:
1) Check if your bootloader can be unlocked by going to you phone keypad and typing *#*#3738423#*#*. This will bring up the service menu, Tap Service Info, Tap Configuration, then look to the rooting status. Under that it will say either Bootloader Unlock Allowed: Yes or Bootloader Unlock Allowed: No. If it says yes you can carry on, if it says no you can only use recovery for locked bootloader.
2) Root your phone and back up you TA partition (tool can be found in the Cross Device Development section).
3) Unlock your bootloader by following the Sony guide (NOTE: This WILL wipe your internal storage, so please make a back up of everything.
4) Follow the install process of the ROM.
Hope I helped.
RK.Haldar said:
Hey guys how can I go to recovery mod on z2.?
And if I flash any custom rom then how can I back to stock rom.?
And need to unlock bootloader to flash custom rom.? How?
Click to expand...
Click to collapse
These seem like fairly basic questions. Maybe questions that have already been answered many many times.
Have you seen the xda rules?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FORUM RULES
For a list of Forum Moderators, click HERE
1. Search before posting.
Use one of our search functions before posting or creating a new thread. Whether you have a question or just something new to share, it's very likely that someone has already asked that question or shared that news.
Click to expand...
Click to collapse

Root, How do adb fastboot commands work? need help

Hello, I am student at my university studying Computer Science. I work in tech support at my school. This is the first time I have modified the android os. The community on xda has been really helpful and knowledgeable. I have created an account to see if anyone else has done the same thing I have. Anyway read below for my post.
I am trying to change the recovery on my phone to twrp. Let me start out by saying I rooted my phone before on build number 130 (KIW-L24,Android 5.1,EMUI 3.1,C567B130,United States, Channel-Others). I used the instructions here and it worked http://forum.xda-developers.com/honor-5x/development/root-kiw-l24-usa-kiwi-t3305190.
I then decided to update through the huawei updater to build number 151 (KIW-L24, Android 5.1, EMUI 3.1, C567B151, United States, Channel-Others). It eventually got to a black EMUI menu with installing 0%. So I powered it off even though it warned against it. So my phone was bricked so I followed instructions at http://forum.xda-developers.com/honor-5x/help/bricked-honor-5x-t3328308 and my phone worked again.
Okay so now I want to root my phone so I follow the instructions for rooting. Problem is that I can not replace the EMUI recovery with twrp recovery. I am guessing that it may be because 151 is a security update.
I use these commands on adb with the twrp_kiwi.img in my adb folder(named .android by default)
adb reboot bootloader
fastboot flash recovery twrp_kiwi.img
fastboot reboot
adb reboot recovery
So I wanted to see if I could put the old firmware back so I followed the instructions for bricked device. But the fastboot commands don't seem to do anything with the .img files.
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot reboot
Yea so I am lost as to why fastboot commands arent working as it says finished and any advice would be appreciated.
Also is it possible to format the phone similar to a pc and use adb to flash the firmware back on.
I want to eventually backup my phone and put cyanogenmod on it.
... I am guessing that it may be because 151 is a security update
Click to expand...
Click to collapse
If your bootloader is unlocked, you should be able to flash what you want.
Have you tried reinstalling the Android device drivers on your PC?
JT-on said:
If your bootloader is unlocked, you should be able to flash what you want.
Have you tried reinstalling the Android device drivers on your PC?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Arobase40 said:
Is this really for a private use unless you are trying to ask us to do your university exercises for you ? LOL
And as you felt need to mention "I am student at my university studying Computer Science. I work in tech support at my school.", you should know first University mission is to teach you to search and exercise by yourself, to do things step by step and to guess by yourself what was wrong. ^^
Just one tip and advice : read up your own post carefully and you should find out what you've done wrong...
Click to expand...
Click to collapse
That was just background information unrelated to my post. I am currently trying to see if I can put the old firmware back to see if it fixes the problem.
honor5x_student said:
That was just background information unrelated to my post. I am currently trying to see if I can put the old firmware back to see if it fixes the problem.
Click to expand...
Click to collapse
TWRP works just fine on B151
plug in usb / Shut down the phone
boot to the bootloader (power + vol down)
open command prompt on PC
fastboot flash recovery twrp_kiwi.img
hold volume up + volume down + power till you see TWRP (about 14 seconds)
In TWRP choose reboot / recovery
Say yes to Root
recovery will reload / flash your rom
If you want to return to Stock use this >> https://www.androidfilehost.com/?fid=24459283995315154
instructions are in the zip

UNOFFICIAL LANCELOT TWRP Released

UNOFFICIAL TWRP Released but no one dare to test it,
Anyone can told me, can I go ahead to flash twrp ????
Source Link : https://unofficialtwrp.com/xiaomi-redmi-9-root-twrp-3-4-1/
https://unofficialtwrp.com/xiaomi-redmi-9-root-twrp-3-4-1/
Update :
Sample twrp Pictures of Lancelot
<img src="https://i.ibb.co/nbLQbgT/IMG-20200905-211641-263.jpg" alt="IMG-20200905-211641-263" border="0">
It is very risky to test it.....I already brick my device twise....I have no dear to flash it.no need to flash it now...I can root my phone without it...once any custom ROM relase then I definitely try it.
There is no TWRP recovery. This link is fake. This is a tutorial how to to apply TWRP recovery. But no one can build a TWRP recovery now for redmi 9 because the source code is not released yet. I think you understand
Someone already installed twrp here is the pics
<img src="https://i.ibb.co/nbLQbgT/IMG-20200905-211641-263.jpg" alt="IMG-20200905-211641-263" border="0">
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Proof of TWRP installed in Redmi 9 Lancelot
Telegram @redmi_9indonesia
I flashed this recovery and YES it works but you need to be EXTREMELY careful coz it is VERY buggy! Booted into it a few times and after my device became unresponsive and then BRICKED with no access to the bootloader! I ended up formatting it with SP Flash Tool and in the process re-locked the bootloader. Now Xiaomi wants me to wait for another 336 hours to unlock
nielsync said:
I flashed this recovery and YES it works but you need to be EXTREMELY careful coz it is VERY buggy! Booted into it a few times and after my device became unresponsive and then BRICKED with no access to the bootloader! I ended up formatting it with SP Flash Tool and in the process re-locked the bootloader. Now Xiaomi wants me to wait for another 336 hours to unlock
Click to expand...
Click to collapse
We do not need to install TWRP recovery because of there is no custom ROM and the source code is not release yet so please please do not do this dumb thing. I brick my phone to time and learn that the device is not for play because it is a MediaTek processed mobile phone
Chances of getting into a boot loop are 99% if you flash this unofficial TWRP. I was lucky I knew how to restore my device without taking it to a service center!
nielsync said:
Chances of getting into a boot loop are 99% if you flash this unofficial TWRP. I was lucky I knew how to restore my device without taking it to a service center!
Click to expand...
Click to collapse
Yes I know you follow my instruction and that's why you do not need to go to to customer centre..,...
Yeah I happened to see your instructions AFTER I restored. The 'magic' is the secure boot DA loader file that supports the Redmi 9 MTK chip and which is contained in Mi Flash Pro. I actually used the standalone SP Flash Tool to restore the phone having managed to obtain the mentioned loader file from Program Files after installing Mi Flash Pro. I have always had a number of Tecno and Infinix devices that are usually MTKs so I knew the risk and how to get out of it beforehand!!!
Check attachment who has issue,
https://ibb.co/hVVxF0x
mark332 said:
Check attachment who has issue,
https://ibb.co/hVVxF0x
Click to expand...
Click to collapse
Yes you did it...is it safe to use....
mark332 said:
Check attachment who has issue,
https://ibb.co/hVVxF0x
Click to expand...
Click to collapse
That's very misleading. Showing a screenshot doesn't mean the recovery is functional because its not! It does not even respond to touch input and remains like that until you press the power key to turn off the screen.
nielsync said:
That's very misleading. Showing a screenshot doesn't mean the recovery is functional because its not! It does not even respond to touch input and remains like that until you press the power key to turn off the screen.
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=83503955&postcount=1
Read this....

Rooting Infinix Hot 10 Help?

Hello, I've recently acquired this Infinix Hot 10 device, now I want to root it. I searched on Google and found some links that suggest I can (on getdroidtips) and some that suggest I can't (on newsvivs). I would share the links but I can't post links due to having a new account.
I want to know the opinions of the forum members here on these sites and whether anyone has this device and has successfully rooted it before. I also want to know if this will erase all my data. If you have any trusted rooting guides for this device please share them.
Thank you.
If you as 1st step could successfully unlock phone's bootloader, then as 2nd step you could install a Custom Recovery like TWRP suitable to the phone, then finally as 3rd step it should be possible to root phone's XOS 6.0 ( based on Android 10 ) by means of TWRP.
jwoegerbauer said:
If you as 1st step could successfully unlock phone's bootloader, then as 2nd step you could install a Custom Recovery like TWRP suitable to the phone, then finally as 3rd step it should be possible to root phone's XOS 6.0 ( based on Android 10 ) by means of TWRP.
Click to expand...
Click to collapse
I can unlock the bootloader. But how do I install TWRP afterwards? Do I need a special build for the phone or is the process generic from there? If it's generic could you send me a guide?
fyalis said:
I can unlock the bootloader. But how do I install TWRP afterwards? Do I need a special build for the phone or is the process generic from there? If it's generic could you send me a guide?
Click to expand...
Click to collapse
It doesn't have a custom recovery. When I try to go to recovery manually (Vol UP + Power) it gives a black screen instantly on boot, then continues boot looping when I take my fingers off the buttons.
ADB and Fastbook fail to connect to the device in its various stages of bootlooping so I can't switch to fastboot mode.
SPFlash can't flash it, keeps giving errors. Either when it reboots during a flash attempt or it gives an authentication key error. Apparently I need an auth key to flash this device? Even though I'm using the original ROM.
fyalis said:
I can unlock the bootloader. But how do I install TWRP afterwards? Do I need a special build for the phone or is the process generic from there? If it's generic could you send me a guide?
Click to expand...
Click to collapse
As above mentioned TWRP must match phone's specs ( Android OS, etc.pp ). In case there isn't a pre-build one for your phone you can try to ask TWRP-developers to build it for you by means of TWRP Builder app.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After using Cusrom, does gyro Infinix Hot 10 still delay?
I want to know how I can root my infinix hot 10
Root Infinix hot 10 (X682B)
1-: PC required,
2-: enable developer option and oem unlock,
3-: turn usb debugging on,
4-: on pc install adb and fastboot,
5-: connect phone with pc,
6-: flash below rooted files using adb and fastboot,
adb reboot bootloader
fastboot flashing unlock
fastboot flash boot boot.img
fastboot flash vbmeta vbmeta.img
fastboot reboot
you Phone data will be erased,
Now install magisk manager and enjoy root.
Root file:
Snowbzy said:
I want to know how I can root my infinix hot 10
Click to expand...
Click to collapse

Help Rooting Vodafone Smart x9

Hi there! I need some help, I am trying to root my device and need a boot.img, but I cannot find a Rom for the x9 anywhere online.
This is my first time doing this, I got this phone just to mess around with rooting. But maybe I bought a bad phone for it.
If there are no Flash Roms online, what are the next steps? Can I use a Rom for the e9 which released alongside this phone? Sounds like it wouldnt work.. but IDK.
Looking for help from the experts ^^
Any help is appreciated.
Finally found one! Took over 2 hours to download a 2gb file O,O but it's finally done.
Now I am having problems getting into bootloader mode.
In developer mode with both OEM unlocking and USB debugging enabled.
Used the correct cmd prompt (adb reboot bootloader) but the phone just restarts.
I've tried restarting while holding the volume buttons.
VOL Down = Factory Test Mode, nothing works as expected there.
VOL UP = A boot menu letting me select from ~10 options, one of them is Boot to Bootloader. Selecting that simply boots normal, nothing special.
I have followed three guides:
How TO Root Vodafone Smart X9 Magisk without TWRP Recovery
If your Smart X9 is rooted using Magisk without TWRP Recovery. You can control a lot of features such as you can remove unwanted software.
www.getdroidpro.com
Vodafone Smart E9 Unlock Bootloader with Fastboot Method
How to unlock bootloader on your Vodafone with Fastboot Method. You can install custom ROM, custom recovery, kernel, flash all data
www.mobilewithdrivers.com
All seem logical enough, many similarities between them. I just cannot get into fastboot mode.
I've seen LOADS of threads with this same problem on this forum. And none of them have any solutions. So I think this is the end of the road. If nobody has figured it out .. then I am just out of luck I guess?
HalpNeeded said:
Forget, your phone have only 3 buttons
Click to expand...
Click to collapse
Hi @joke19 !
I havnt seen any of the guides mentioning needing a certain amount of buttons :O
How does that factor in - does that mean it cannot be rooted for some reason?
Still having this problem, and I have followed a lot of guides to the letter. I cant see what I am doing wrong. Here's where I am:
Phone is visible on device manager and the drivers are up-to-date.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PC is fully up to date on Windows 10.
I've got the lastest up-to-date version of platform-tools.
I'm using USB2.0 with the correct wires.
The phone is in developer mode with USB Debugging and OEM unlocking enabled.
I'm using the correct command lines. adb devices & adb reboot bootloader work as expected.
But none of these will work: fastboot devices, fastboot flashing unlock, fastboot oem unlock.
I just get < waiting for any device >
Can anyone help figure this out? I must be doing sooomething wrong. Everything online says its a driver issue, but then again, all the guides on how to fix that driver issue have been followed and completed. The first bullet with the image should also sort of verify that.
Praying some wizard out there has the knowledge I need to get this working! ^^
HalpNeeded said:
Still having this problem, and I have followed a lot of guides to the letter. I cant see what I am doing wrong. Here's where I am:
Phone is visible on device manager and the drivers are up-to-date.
View attachment 5671635
PC is fully up to date on Windows 10.
I've got the lastest up-to-date version of platform-tools.
I'm using USB2.0 with the correct wires.
The phone is in developer mode with USB Debugging and OEM unlocking enabled.
I'm using the correct command lines. adb devices & adb reboot bootloader work as expected.
But none of these will work: fastboot devices, fastboot flashing unlock, fastboot oem unlock.
I just get < waiting for any device >
Can anyone help figure this out? I must be doing sooomething wrong. Everything online says its a driver issue, but then again, all the guides on how to fix that driver issue have been followed and completed. The first bullet with the image should also sort of verify that.
Praying some wizard out there has the knowledge I need to get this working! ^^
Click to expand...
Click to collapse
did you manage to get this working?

Categories

Resources