[Completed] 1 year problem "FAILED (remote: Command not allowed)". - XDA Assist

Hello to You all!
Having a hell of a problem here and I cant solve it by myself, tryed like 10 times over the past year and its time to realize I´ve been beaten...
I wonder if its possible to enable usb debugging in Fastboot mode?
I have this Mediapad x2 that i tryed to unlock the bootloader on a year ago and though the bootloader unlocked (shown as "unlocked" in Fastboot mode) the phone never restarted again... It loops at the bootscreen. Vol down gets me to Fastboot though, both vol up/down gets me to auto restore but even if I have the right file on the SD-card the phones autorestore hangs at 90%...
All manual commands like "fastboot flash system system.img" or "fastboot flash recovery TWRP.img" only give´s me "FAILED (remote: Command not allowed)"...
I THINK it must be the USB debugging that doesn´t allow me to write, I´m not that advanced in this area...
Any help appreciated mates, I really liked this phone.
Thank You.

PetroLars said:
Hello to You all!
Having a hell of a problem here and I cant solve it by myself, tryed like 10 times over the past year and its time to realize I´ve been beaten...
I wonder if its possible to enable usb debugging in Fastboot mode?
I have this Mediapad x2 that i tryed to unlock the bootloader on a year ago and though the bootloader unlocked (shown as "unlocked" in Fastboot mode) the phone never restarted again... It loops at the bootscreen. Vol down gets me to Fastboot though, both vol up/down gets me to auto restore but even if I have the right file on the SD-card the phones autorestore hangs at 90%...
All manual commands like "fastboot flash system system.img" or "fastboot flash recovery TWRP.img" only give´s me "FAILED (remote: Command not allowed)"...
I THINK it must be the USB debugging that doesn´t allow me to write, I´m not that advanced in this area...
Any help appreciated mates, I really liked this phone.
Thank You.
Click to expand...
Click to collapse
Hello,
Do you have correct fastboot drivers installed on your system? Please run it with administrative privileges.
Regards
Vatsal,
Forum Moderator.

Vatsal said:
Hello,
Do you have correct fastboot drivers installed on your system? Please run it with administrative privileges.
Regards
Vatsal,
Forum Moderator.
Click to expand...
Click to collapse
Hi there and thank you for your answer.
Yes, i Believe I have the right drivers, tryed many different over time, nothing helped... My current phone (also Huawei) works with the installed drivers.
I dont know how to run them with administrative privileges though, I´ll Google how to open a command prompt that way.
Is there any drivers that I should try instead, Huaweis own I have tryed and also Googles.
Thanks again!

Same thing... 8(
Command prompt with admin privileges didn´t do it eather I´m sorry to confirm...

Related

[Q] Bricked! How to fix/get fastboot or bootloader with ADB

Hi mates,
My TF300t(unlocked) is bricked:crying: Im only able to go into TWRP(2.6.3) but i can't go into the bootloader(for using fastboot and co)
BTW, there is no Rom installed, so if i start the tablet (no matter if i press Power+Vol Down or not) i allays end in TWRP.
My TWRP is also "buggy". It has some problems, like: Unable to mount... / Unable to set emmc bootloader message.... / unable to find partition size for xyz.... So i cant use TWRP to flash/install something and factory resets didnt work.
There are a lot of good guides how to UNBrick the tf300t, but they all need fastboot. Does someone knows how i could Fix fastboot with ADB? ADB is working fine. Maybe i can use ADB to fix TWRP or even better Fastboot.
Sry for my bad english, please help my
Have you tried
adb reboot-bootloader
?
alponte said:
Have you tried
adb reboot-bootloader
?
Click to expand...
Click to collapse
Thanks to you, it worked!!! with adb i could killed TWRP and after i used this:
fastboot erase system
fastboot erase recovery
fastboot erase userdata
fastboot erase boot
fastboot erase misc
fastboot erase cache
After:
fastboot -i 0x0B05 flash system blob
now i back in Asus Stock rom, and i will stay there^^
THX
Access via adb on twrp 2.4.4.0
Hi folks - time to activate an really old post
I do have also problems like manckosy in 2014:
The TF300t I have here has TWRP 2.4.4.0:
- Android booting is not possible
- it's not possible to mount SD-Card
- I don't have the permission to enter the tab via adb
Does anyone of you have an idea how I can get access with adb?
Thx a lot in advance!
f_lux said:
Does anyone of you have an idea how I can get access with adb?
Click to expand...
Click to collapse
Yes, I do! Hopefully you have "Minimal ADB and Fastboot" installed on your PC.
First of all, check whether you are able to reach fastboot protocol by pressing Power and Volume down together. Fastboot protocol should appear. That means now you have ADB access via USB and you will find further help here: https://forum.xda-developers.com/sho....php?t=2179759.
ebonit said:
Yes, I do! Hopefully, you have "Minimal ADB and Fastboot" installed on your PC.
First of all, check whether you are able to reach fastboot protocol by pressing Power and Volume down together. Fastboot protocol should appear. That means now you have ADB access via USB and you will find further help here: https://forum.xda-developers.com/sho....php?t=2179759.
Click to expand...
Click to collapse
I Have a similar problem and the link above goes to a 404 page.
In my case, My Tablet boots directly to the TWRP splash screen, and freezes. I can get status and serial number via ADB, but that's all.
If I try to reboot (via ABD) I get no response.
The device appears on Windows10 devices list, but Fastboot can't see it (I get that "<waiting for device>" message). I guess that my TWRP is damaged somehow, only part of the ADB protocol is getting up.
That happened when I tried to clean up the cache and ended up messing it all up.
The Status on ADB says that the tablet is on recovery mode.
Is there a way of flashing TWRP with ADB only? Or it is bricked forever?
Thanks for any help
mau0968 said:
I Have a similar problem and the link above goes to a 404 page.
Click to expand...
Click to collapse
Sorry for the dead link. Here we go: https://forum.xda-developers.com/showthread.php?p=44244313#post44244313
Please note if you cannot reach fastboot or recovery, your device is bricked for good!
Hello everyone, I urgently need help, brought this tablet to repair, hangs on the download logo, does not start any further, customers do not have a cable to connect to the computer, I have tried all possible ways to download recovery, fastboot, and indeed where Either it does not give out, a permanent download logo, tell me who knows what, maybe I'm doing it wrong

Confused trying to enter bootloader mode on Xperia M2

Hi everyone, I am looking for some help and I will try to be specific. I am trying to root my Xperia M2 (I have unlocked the bootloader).
-USB debugging is ON.
I am trying to boot into my bootloader, flash TWRP, boot into TWRP, install SuperSu.
I am stuck in the step of booting into my bootloader using ADB. I have tried the simple method of running a CMD and using the "adb reboot bootloader" command. CMD responds with "no devices/emulators found".
I tried the "adb reboot bootloader" command while my phone is on fastboot mode and while it's turned on. None seem to work.
What I am expecting is my phone to boot in a screen showing the android logo. Am I wrong?
Other commands I've tried and the response I got:
Adb devices --> List of devices: empty
fastboot devices --> my model and the word "fastboot"
Before you comment "install drivers", please note that I am aware of this, I have searched the web for drivers and I am pretty sure I have the drivers. If you are familiar with the process of installing the drivers please post the way of installing them, because i might have done something wrong..
I believe that what i am doing wrong is having the phone in the wrong state.. I might be executing a command with my phone turned on, while it needs to be off, so if you could clarify the phone's state in every step, that would be great
I apologize if I forgot crucial details, I am a newbie. Thanks in advance, i will make sure to answer every question and provide info needed.
reboot as boot loader
You already have TWRP means 1st go to recovery mod use switch of mobile and on it Press v- button after vibrate and untile come sony big logo you get recovery mod then there is option reboot in to boot loader ... please check
Scrap everything and follow http://forum.xda-developers.com/xperia-m2/general/unlocked-bl-root-sony-xperia-m2-android-t3214498

Cannot lock bootloader

So I'm trying to re-lock my bootloader,
I already looked up how to lock the bootloader and you can do that by booting in to fastboot and locking the bootloader from there. My OP6 was rooted but I removed all root related applications, I even reinstalled android.
I tought it would be as simple as unlocking the bootloader, but whatever I try I can't get my device to show up in the command promt when using the "adb devices" command while in fastboot. I tried reinstalling the ADB, fastboot and OP drivers a couple times but it doesn't help. I tried everything possible but I can't lock the bootloader.
Could somebody please help me with this?
ian_99 said:
So I'm trying to re-lock my bootloader,
I already looked up how to lock the bootloader and you can do that by booting in to bootloader and locking the bootloader from there. My OP6 was rooted but I removed all root related applications, I even wiped android.
I tought it would be as simple as unlocking the bootloader, but whatever I try I can't get my device to show up in the command promt when using the "adb devices" command. I tried reinstalling the ADB, fastboot and OP drivers a couple times but it doesn't help. I tried everything possible but I can't lock the bootloader.
Could somebody please help me with this?
Click to expand...
Click to collapse
You have to be in fastboot mode ( power off phone, hold power and volume up til you see fastboot on screen) on your phone to do want to want, if you cant do it that way,you can try this tool, https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892 , it will return your phone to stock factory fresh. It will be back on 5.1.5 software. Good luck
in fastboot mode just type without quote"fastboot oem lock"
MrSteelX said:
in fastboot mode just type without quote"fastboot oem lock"
Click to expand...
Click to collapse
I can boot into fastboot mode (I said bootloader instead of fastboot, my bad), but the command promt does NOT show any devices, so I can't use this command. All drivers are correctly installed.
Did you enable USB debug?
whizeguy said:
Did you enable USB debug?
Click to expand...
Click to collapse
Yes I did
And I tried updating to android P but now I can't even access fastboot!
[UPDATE:]
I can finally boot into fastboot again, the only way to do this was to first boot into recovery and restart to fastboot from there.
And my device is still not detected by adb in fastboot
u do fastboot devices not adb devices
I just tried doing this in a Windows 7 virtual machine, but it gives the exact same results, I really don't know what is cousing this
Then take tool all in one
Well.... Use msm download tool then.. Since you can go to fastboot, it will reset everything and lock the BL.
whizeguy said:
Well.... Use msm download tool then.. Since you can go to fastboot, it will reset everything and lock the BL.
Click to expand...
Click to collapse
What a coincidence, I am watching a video on how you can fix a bricked OP6, wich does exaclty what you said.
Thanks!
ian_99 said:
I tought it would be as simple as unlocking the bootloader, but whatever I try I can't get my device to show up in the command promt when using the "adb devices" command while in fastboot.
Click to expand...
Click to collapse
You should do "fastboot devices" in fastboot mode!
I see thay you're doing "adb devices" instead which is wrong.
rhai said:
You should do "fastboot devices" in fastboot mode!
I see thay you're doing "adb devices" instead which is wrong.
Click to expand...
Click to collapse
Oh god that actually worked, how could I have forgotten I had to use the "fastboot" command.
I can't thank you enough :victory:
ian_99 said:
Oh god that actually worked, how could I have forgotten I had to use the "fastboot" command.
I can't thank you enough :victory:
Click to expand...
Click to collapse
No worries. Cheers!

Question [Solved] Re-locking bootloader - no fastboot commands working

Hi everyone.
I´ve decided today that I want to re-lock my bootloader on Lenovo P11 tablet and I discovered no fastboot commands work on that.
I installed clean version of ROM from Lenovo Rescue and Smart Assistant (TB_J606L_S120217_210805_ROW) but still nothing works.
Normally i reboot to Fastboot and try "fastboot flashing lock" but i recieve:
< waiting for any device >
FAILED (remote: 'Unrecognized command flashing lock')
fastboot: error: Command failed
When i try others like "fastboot oem lock" i recieve:
FAILED (remote: 'Command not supported in default implementation')
fastboot: error: Command failed
Does anyone has any advice what can I do to relock bootloader?
1. enable developer option
2. enable oem unlock in developer option
3. boot to fastboot mode and run
fastboot flashing lock
Thanks @ong14 for your reply but as you can see above I already tried that...
If you're on chinese firmware, try "fastboot oem unlock-go".
Sadly I get this response for this command:
FAILED (remote: 'Command not supported in default implementation')
fastboot: error: Command failed
Is it possibly because of version of my ADB and Fastboot tools? I downloaded many versions (lastly directly from Android Studio) but it didn´t fix anything. @ong14, could you possibly upload the tools you are using?
Sorry for my last reply, it should be "fastboot oem lock-go".
AFAIK, if you're on global rom, use this "fastboot flashing lock".
And if you're on chinese rom, use this "fastboot oem lock-go"
I'm using an old minimal adb and fastboot.
It is totally OK, I am grateful that you are trying to help me at all.
I will try your old adb and fastboot tools and see what happens.
Sadly I don´t have much hope. I am on global rom and command "fastboot flashing lock" resulted only in:
"
FAILED (remote: 'Unrecognized command flashing lock')
fastboot: error: Command failed
"
I will keep you posted about my progress and what else I tried.
Well, sadly, still nothing. I tried everything I could think of. I even tried different PC, flash rom with QFIL even with stock bootloader. I still get the same response.
Did anyone else run into this problem?
Edit: After further investigation it seems that I shouldn´t be in the fastboot mode but in the bootloader mode. There i should try "fastboot flashing lock".
Sadly, I see my P11 in device manager only as unrecognized Android device and no drivers seem to change that. Tablet also isn´t visible in the "adb devices" or the "fastboot devices"
Does anyone pls have working drivers or should I continue trying fastboot mode?
Edit2: OMG, I finally solved it. Yes, i shouild be trying to lock the bootloader from the bootloader mode from the start. After I booted to bootloader mode, installed Lenovo USB drivers (https://www.mediafire.com/file/1bzfblquyofokgi/LenovoUsbDriver_v1.1.34.zip/file) and it finally worked!
kure94 said:
Well, sadly, still nothing. I tried everything I could think of. I even tried different PC, flash rom with QFIL even with stock bootloader. I still get the same response.
Did anyone else run into this problem?
Edit: After further investigation it seems that I shouldn´t be in the fastboot mode but in the bootloader mode. There i should try "fastboot flashing lock".
Sadly, I see my P11 in device manager only as unrecognized Android device and no drivers seem to change that. Tablet also isn´t visible in the "adb devices" or the "fastboot devices"
Does anyone pls have working drivers or should I continue trying fastboot mode?
Edit2: OMG, I finally solved it. Yes, i shouild be trying to lock the bootloader from the bootloader mode from the start. After I booted to bootloader mode, installed Lenovo USB drivers (https://www.mediafire.com/file/1bzfblquyofokgi/LenovoUsbDriver_v1.1.34.zip/file) and it finally worked!
Click to expand...
Click to collapse
My guy, you are brilliant. I wonder why the change from oem to flashing was done and were you getting sent to that fastbootd menu too? This worked for my 2020 Moto Edge and I don't know how much longer I would have needed without you.
Thanks.
kure94 said:
Well, sadly, still nothing. I tried everything I could think of. I even tried different PC, flash rom with QFIL even with stock bootloader. I still get the same response.
Did anyone else run into this problem?
Edit: After further investigation it seems that I shouldn´t be in the fastboot mode but in the bootloader mode. There i should try "fastboot flashing lock".
Sadly, I see my P11 in device manager only as unrecognized Android device and no drivers seem to change that. Tablet also isn´t visible in the "adb devices" or the "fastboot devices"
Does anyone pls have working drivers or should I continue trying fastboot mode?
Edit2: OMG, I finally solved it. Yes, i shouild be trying to lock the bootloader from the bootloader mode from the start. After I booted to bootloader mode, installed Lenovo USB drivers (https://www.mediafire.com/file/1bzfblquyofokgi/LenovoUsbDriver_v1.1.34.zip/file) and it finally worked!
Click to expand...
Click to collapse
Install RSA from Lenovo also works, and you can run rescue if you want to go back to 100% bone stock
kure94 said:
Well, sadly, still nothing. I tried everything I could think of. I even tried different PC, flash rom with QFIL even with stock bootloader. I still get the same response.
Did anyone else run into this problem?
Edit: After further investigation it seems that I shouldn´t be in the fastboot mode but in the bootloader mode. There i should try "fastboot flashing lock".
Sadly, I see my P11 in device manager only as unrecognized Android device and no drivers seem to change that. Tablet also isn´t visible in the "adb devices" or the "fastboot devices"
Does anyone pls have working drivers or should I continue trying fastboot mode?
Edit2: OMG, I finally solved it. Yes, i shouild be trying to lock the bootloader from the bootloader mode from the start. After I booted to bootloader mode, installed Lenovo USB drivers (https://www.mediafire.com/file/1bzfblquyofokgi/LenovoUsbDriver_v1.1.34.zip/file) and it finally worked!
Click to expand...
Click to collapse
Where and how do you get the drivers for this tablet? For some reason I'm stuck in (what I think) is the exact same screen on my tablet. It says fastboot... in the lower left hand corner and you can hear the disconnect chime come from my laptop every few seconds. I punch in fastboot devices and it's stuck in limbo, no error codes or anything.
BakedinRC said:
Where and how do you get the drivers for this tablet? For some reason I'm stuck in (what I think) is the exact same screen on my tablet. It says fastboot... in the lower left hand corner and you can hear the disconnect chime come from my laptop every few seconds. I punch in fastboot devices and it's stuck in limbo, no error codes or anything.
Click to expand...
Click to collapse
Did you check device manager?
I didn't think I had to, when I plug in the tablet it pops up with the name and everything.
I'll try the Motorola drivers, is that going to solve the fastboot stuck screen?
Where do I go about getting the Motorola drivers?
hey mate. i had problem. now my Xiaoxin Tablet Pro 2021 having widevine L3 even i already lock the BootLoader and Stock Rom. how do i get Widevine L1 ?
kure94 said:
Well, sadly, still nothing. I tried everything I could think of. I even tried different PC, flash rom with QFIL even with stock bootloader. I still get the same response.
Did anyone else run into this problem?
Edit: After further investigation it seems that I shouldn´t be in the fastboot mode but in the bootloader mode. There i should try "fastboot flashing lock".
Sadly, I see my P11 in device manager only as unrecognized Android device and no drivers seem to change that. Tablet also isn´t visible in the "adb devices" or the "fastboot devices"
Does anyone pls have working drivers or should I continue trying fastboot mode?
Edit2: OMG, I finally solved it. Yes, i shouild be trying to lock the bootloader from the bootloader mode from the start. After I booted to bootloader mode, installed Lenovo USB drivers (https://www.mediafire.com/file/1bzfblquyofokgi/LenovoUsbDriver_v1.1.34.zip/file) and it finally worked!
Click to expand...
Click to collapse
what did u do after installing the usb drivers?...can u pls explain in detail?....actually im facing the same problem again and again
me too can't figure it out, very sad

Question Bricked after multiple restarts. Bootloader locked. Stuck in fastboot

Hi everyone,
Tried getting some help via other sites but no luck, decided to come here to the experts.
My Pixel 7 pro had an issue where if you would push harder on the screen it would restart, it's a HW issue from what I understand.
Pushing the screen in multiple locations trying to find out exactly where is the point it triggers the restart lead to multiple restarts which bricked the phone.
Now my phone goes into fastboot and whenever i try to go into recovery mode or rescue mode it just cycles back into the fastboot.
I have tried multiple suggestions via connecting the phone to PC in order to fix it or rewrite the rom but I always get the error that my bootloader is locked (it's true i never unlocked it from Dev mode, not even sure i have USB debugging on).
Sending the phone to warranty is not an option, i bought it while on vacation and i live in a unsupported country.
If anyone has any idea how to fix this I would greatly appreciate it. I'm adding here a photo of the screen.
Also things that i have tried until now:
-Draining the phone completely and charging it back
-Sideload rom via ADB (Errors out with : Setting current slot to 'a' FAILED (remote: 'command (set_active is not allowed when locked')
fastboot: error: Command failed)
-Chrome flash utility/pixel rescue
Multiple people have pointed out that i don't need the bootloader unlocked to flash OEM ROM but the errors im getting about the bootloader being locked says otherwise.
Thanks again to anyone taking their time to read this post!
geo91 said:
Hi everyone,
Tried getting some help via other sites but no luck, decided to come here to the experts.
My Pixel 7 pro had an issue where if you would push harder on the screen it would restart, it's a HW issue from what I understand.
Pushing the screen in multiple locations trying to find out exactly where is the point it triggers the restart lead to multiple restarts which bricked the phone.
Now my phone goes into fastboot and whenever i try to go into recovery mode or rescue mode it just cycles back into the fastboot.
I have tried multiple suggestions via connecting the phone to PC in order to fix it or rewrite the rom but I always get the error that my bootloader is locked (it's true i never unlocked it from Dev mode, not even sure i have USB debugging on).
Sending the phone to warranty is not an option, i bought it while on vacation and i live in a unsupported country.
If anyone has any idea how to fix this I would greatly appreciate it. I'm adding here a photo of the screen.
Also things that i have tried until now:
-Draining the phone completely and charging it back
-Sideload rom via ADB (Errors out with : Setting current slot to 'a' FAILED (remote: 'command (set_active is not allowed when locked')
fastboot: error: Command failed)
-Chrome flash utility/pixel rescue
Multiple people have pointed out that i don't need the bootloader unlocked to flash OEM ROM but the errors im getting about the bootloader being locked says otherwise.
Thanks again to anyone taking their time to read this post!
Click to expand...
Click to collapse
Are you trying to sideload the full OTA? You can do that with a locked bootloader. Maybe you were trying to sideload the factory image instead?
Lughnasadh said:
Are you trying to sideload the full OTA? You can do that with a locked bootloader. Maybe you were trying to sideload the factory image instead?
Click to expand...
Click to collapse
Hi there! Yes i remember downloading a file from the link you provided. Got it under ""cheetah" for Pixel 7 Pro " file 13.0.0 (TQ2A.230405.003.E1, Apr 2023).
Issue is, following the instructions, it says i should go into recovery mode but recovery mode does not open for me it just goes back to fastboot screen (the pic i provided). It also mentions there that i shouldhave USB debugging turned on and i don't think it's on...
geo91 said:
Hi there! Yes i remember downloading a file from the link you provided. Got it under ""cheetah" for Pixel 7 Pro " file 13.0.0 (TQ2A.230405.003.E1, Apr 2023).
Issue is, following the instructions, it says i should go into recovery mode but recovery mode does not open for me it just goes back to fastboot screen (the pic i provided). It also mentions there that i shouldhave USB debugging turned on and i don't think it's on...
Click to expand...
Click to collapse
Did you double check to make sure it was the OTA file and not the Factory Image file?
You don't need USB Debugging enabled to sideload a Full OTA. Recovery mode allows for a couple of commands without having that enabled, including sideloading an OTA.
Do you see the Android robot when you try to get into recovery mode? If so, do you then press Power + Volume Up and then release Volume Up?
Forget USB-Debugging! You don't need that. Neither in fastboot mode nor in recovery. It's only mentioned to boot from system to recovery via ADB. So, it doesn't effect you. In fastboot mode USB-Debugging isn't recognized by your device/USB port.
If you can't boot into recovery the device must be send to a repair station. Are you really sure that recovery isn't accessible?
If volume button selection isn't working to get into recovery mode, I wonder if executing the fastboot reboot recovery command to get into it might work...
*you shouldn't need to have an unlocked bootloader to run that fastboot command, right?
also, OP confused me at the outset; he mentioned "Sideload rom via ADB" but also "fastboot: error: Command failed)" -- I've only sideloaded an OTA years ago without issue so I can't recall, but as the selection/name implies, isn't it supposed to be an ADB command, not a fastboot command (therefore, why is it a fastboot error?)?
simplepinoi177 said:
If volume button selection isn't working to get into recovery mode, I wonder if executing the fastboot reboot recovery command to get into it might work...
*you shouldn't need to have an unlocked bootloader to run that fastboot command, right?
also, OP confused me at the outset; he mentioned "Sideload rom via ADB" but also "fastboot: error: Command failed)" -- I've only sideloaded an OTA years ago without issue so I can't recall, but as the selection/name implies, isn't it supposed to be an ADB command, not a fastboot command (therefore, why is it a fastboot error?)?
Click to expand...
Click to collapse
adb sideload ota_name.zip
that is
Sébastien.
5.1 said:
adb sideload ota_name.zip
that is
Sébastien.
Click to expand...
Click to collapse
right?
so would that output "fastboot: error: Command failed" in any instance?
I doubt it, but for all I know, when running the "adb sideload" command, it also calls a fastboot command when applying it (sort of how "fastboot update" executes a bunch of command protocols like to automatically reboot after applying)...?
5.1 said:
adb sideload ota_name.zip
Click to expand...
Click to collapse
but OP is stuck in fastboot mode.
WoKoschekk said:
but OP is stuck in fastboot mode.
Click to expand...
Click to collapse
simplepinoi177 said:
If volume button selection isn't working to get into recovery mode, I wonder if executing thefastboot reboot recoverycommand to get into it might work...
*you shouldn't need to have an unlocked bootloader to run that fastboot command, right?
Click to expand...
Click to collapse
thoughts?
simplepinoi177 said:
thoughts?
Click to expand...
Click to collapse
the problem seems to be kernel related since he can't access recovery and/or system. A/B devices only use 1 Kernel for both. The recovery is merged into the boot.img and has no own partition with an own kernel.
Full firmware can't get flashed with a locked bootloader.
Full OTAs need the recovery due to payload.bin which depends on update-engine. So, OTAs need a shell environment.
The mentioned error output "set_active is not allowed when locked" shows that OP tried to flash an OTA. A full firmware won't change the slot by executing fastboot update UPDATE.ZIP. In this case fastboot uses the active slot to flash the firmware.
It's not possible to flash anything in fastboot mode + locked bootloader => device must be send to a repair station.
fastboot reboot recovery: If it's possible to execute this command (not all devices support that) it will do the same as hardware keys do. But it's worth a try.
WoKoschekk said:
Full OTAs need the recovery due to payload.bin which depends on update-engine. So, OTAs need a shell environment.
The mentioned error output "set_active is not allowed when locked" shows that OP tried to flash an OTA. A full firmware won't change the slot by executing fastboot update UPDATE.ZIP. In this case fastboot uses the active slot to flash the firmware.
Click to expand...
Click to collapse
Trying to understand better (don't mean to hijack the thread, but also I'm sure this will be helpful info to OP)...but is "set_active" called when sideloading OTA? I wouldn't think it would from an adb command ("apply OTA via adb")...
You mention "flash an ota" vs. sideload that's why; unless i'm getting confused by semantics...
If so, can it be concluded that the OP was mistakenly trying to flash the OTA instead of "sideloading" like he claimed (which is only done in recovery mode, correct? unless, again, semantics) as fastboot commands were executed instead of adb?
WoKoschekk said:
fastboot reboot recovery: If it's possible to execute this command (not all devices support that) it will do the same as hardware keys do. But it's worth a try.
Click to expand...
Click to collapse
@geo91, looks like if you can figure this, this might we worth a try....
simplepinoi177 said:
but is "set_active" called when sideloading OTA? I
Click to expand...
Click to collapse
My question: Do you find such a command in the flash-all.sh script inside a full firmware? It's not clear what update-engine really does. It doesn't follow any shell script.
simplepinoi177 said:
OP)...but is "set_active" called when sideloading OTA?
Click to expand...
Click to collapse
Here are the corresponding lines in the AOSP from the master branch of update-engine:
Java:
if (!result.success) {
LOG(ERROR) << "Unable to set the active slot to slot " << SlotName(slot)
<< ": " << result.errMsg.c_str();
}
return result.success;
source: https://android.googlesource.com/pl...heads/master/aosp/boot_control_android.cc#127
MOD TRANSLATION
"How can it be solved? I'm having the same problem with Google Pixel 7 Pro"
********************************************
كيف يمكن حلها؟ أواجه نفس المشكلة مع Google Pixel 7 Pro
omar qaissy, Greetings, and welcome to XDA. As a friendly reminder, we ask all members to please post in English as stipulated by Forum Rule 4 (quoted below) -- that you just agreed to when you first registered your account. Please consider this when you are creating a post in the future. Feel free to include your original message under the English message if you wish. If you do not know English, I encourage you to use any of the resources in the quote below. Your post has been translated as a one-time courtesy.
Thank you for your cooperation, and have a good one!
simplepinoi177 FSM (Forum Specific Moderator)
XDA Developers Forum Rules said:
4. Use the English language.
We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ , https://www.babelfish.com/ or https://fanyi.baidu.com/#auto/en or use one of your choice.
Click to expand...
Click to collapse

Categories

Resources