Cant flash recovery - Sony Xperia M4 Aqua

:crying:I unlocked the bootloader with flash tool
Then put the device into fastboot
and when i try flashing the recovery it says
writing 'recovery'...
FAILED (remote: Command not allowed)
Please help

Related

[Q] remote: not allowed when flashing CWM

I have a phone with HBOOT 1.01 S-off.
Code:
LEGEND PVT SHIP S-OFF
HBOOT-1.01.0000
I'm trying to flash the CWM. In the fastboot via adb:
Code:
fastboot flash image image.img
Get the error:
Code:
sending 'recovery' (3112 KB)
OKAY [ 0.410s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 0.410s
What am I doing wrong? How do I flash the image of CWM recovery?
P.S. Sorry for my bad English...
clever_man said:
I have a phone with HBOOT 1.01 S-off.
Code:
LEGEND PVT SHIP S-OFF
HBOOT-1.01.0000
I'm trying to flash the CWM. In the fastboot via adb:
Code:
fastboot flash image image.img
Get the error:
Code:
sending 'recovery' (3112 KB)
OKAY [ 0.410s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 0.410s
What am I doing wrong? How do I flash the image of CWM recovery?
P.S. Sorry for my bad English...
Click to expand...
Click to collapse
I think it is; fastboot flash recovery image.img
Hitmax117 said:
I think it is; fastboot flash recovery image.img
Click to expand...
Click to collapse
You're right, but I made a mistake when he wrote the post, in fact I am writing
Code:
fastboot flash recovery image.img
Log shows that trying to flash the recovery, but can't.
Ajafri86 said:
hi guys,
i am also have the same problem. When i try to flash cwm recovery.img through OneX tool kit or using the adb, i get the same error
writing 'recovery'... FAILED (remote: not allowed)
I have recently installed the official ics firmware on my sensation. Have been trying to root but stuck with the cwm recovery.
Need suggestions / guidance.
Click to expand...
Click to collapse
Wrong forum.
Sent from my Transformer TF101 using xda app-developers app

[SOLVED] Flash recovery RELOCKED S-OFF LATEST OTA (FAILED (remote: not allowed)

Try this at your own risk. I do not take any responsibility, read on if you accept the risks.
I have discovered a working solution for people that have S-OFF RELOCKED and took the latest/last OTA update but cant flash a recovery via fastboot and cant re-unlock.
When i tried the following in fastboot
fastboot flash recovery recovery.img (place your favorite recovery into platform-tools folder)
< waiting for device >
sending 'recovery' (8758 KB)...
OKAY [ 1.018s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.049s
It errors out by using TWRP and CWM FAILED (remote: not allowed)
INSTRUCTIONS:
download the attached recovery.zip and place it into platform-tools (TWRP recovery)
fastboot oem rebootRUU
---wait for black HTC logo--
fastboot flash zip recovery.zip
--it will show a progress bar on your phone, and finished in the CMD window--
fastboot reboot bootloader
select recovery
profit
Can someone confirm that flashing recovery works with the method above. Also post what version software you are running. Someone with S-ON LOCKED please try this, possible new way to flash ROMS without S-OFF/unlock?
Awesome
I know it's been a while since you posted this, but THANK YOU. Worked a charm on my S-OFF Relocked 3.06. I even modified the zip file, removed the older version of TWRP, inserted a new version (renamed as recovery.img) and now have the most recent TWRP.
Droidel said:
Try this at your own risk. I do not take any responsibility, read on if you accept the risks.
I have discovered a working solution for people that have S-OFF RELOCKED and took the latest/last OTA update but cant flash a recovery via fastboot and cant re-unlock.
When i tried the following in fastboot
fastboot flash recovery recovery.img (place your favorite recovery into platform-tools folder)
< waiting for device >
sending 'recovery' (8758 KB)...
OKAY [ 1.018s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.049s
It errors out by using TWRP and CWM FAILED (remote: not allowed)
INSTRUCTIONS:
download the attached recovery.zip and place it into platform-tools (TWRP recovery)
fastboot oem rebootRUU
---wait for black HTC logo--
fastboot flash zip recovery.zip
--it will show a progress bar on your phone, and finished in the CMD window--
fastboot reboot bootloader
select recovery
profit
Can someone confirm that flashing recovery works with the method above. Also post what version software you are running. Someone with S-ON LOCKED please try this, possible new way to flash ROMS without S-OFF/unlock?
Click to expand...
Click to collapse
not working on my htc droid dna firmware version 4.09.605.5
Droidel said:
Try this at your own risk. I do not take any responsibility, read on if you accept the risks.
I have discovered a working solution for people that have S-OFF RELOCKED and took the latest/last OTA update but cant flash a recovery via fastboot and cant re-unlock.
When i tried the following in fastboot
fastboot flash recovery recovery.img (place your favorite recovery into platform-tools folder)
< waiting for device >
sending 'recovery' (8758 KB)...
OKAY [ 1.018s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.049s
It errors out by using TWRP and CWM FAILED (remote: not allowed)
INSTRUCTIONS:
download the attached recovery.zip and place it into platform-tools (TWRP recovery)
fastboot oem rebootRUU
---wait for black HTC logo--
fastboot flash zip recovery.zip
--it will show a progress bar on your phone, and finished in the CMD window--
fastboot reboot bootloader
select recovery
profit
Can someone confirm that flashing recovery works with the method above. Also post what version software you are running. Someone with S-ON LOCKED please try this, possible new way to flash ROMS without S-OFF/unlock?
Click to expand...
Click to collapse
Thank you thank you thank you so much.
luis181193 said:
Thank you thank you thank you so much.
Click to expand...
Click to collapse
aminebigboss said:
not working on my htc droid dna firmware version 4.09.605.5
Click to expand...
Click to collapse
Mine work!!
htc droid dna firmware version 4.09.605.5

Am I done with my phone?

Long story short, I tried to flash new rom on my Mt2-L02 mate2 and failed and its bootlooping (at Huawei Ascend screen and keep rebooting) now. using the SDcard udload to load new rom don't work either. I cannot go into recovery, or boot into system.
My phone is bootloader unlocked, so I tried to flash (extract from a rom) boot.img, recovery.img and is ok but when flashing system.img, it stucked in writing 'system'... for long time.... so I tried fastboot erase system -w and get FAILED (remote: Command not allowed)... why is it so? my phone is already unlocked. I tried unlock again and flash the system.img, same problem.
So... I'm screwed?
You're not screwed. Impatient maybe. Try on a different computer if you have one. If not, update drivers and try a different port on the existing computer. Are you flashing an MT2-L02 ROM?
kimtyson said:
You're not screwed. Impatient maybe. Try on a different computer if you have one. If not, update drivers and try a different port on the existing computer. Are you flashing an MT2-L02 ROM?
Click to expand...
Click to collapse
Only have 1 pc, yes, I'm flashing MT2-L02 ROM, tried alot of version but discovered only these version rom (b408, b603, b606, b607) able to write the system.img, original out of box android version for my phone is 4.4.2. but still bootlooping after flashing boot.img, recovery.img and system.img. I think only custom recovery can save now, but there is none for this model... or maybe there is no hope for my phone? Maybe my phone got some system modified lock so that I'm not able to erase using flashboot?
C:\adb>fastboot erase cache
erasing 'cache'...
FAILED (remote: Command not allowed)
finished. total time: 0.001s
C:\adb>fastboot erase data
erasing 'data'...
FAILED (remote: Command not allowed)
finished. total time: 0.002s
C:\adb>fastboot erase system
erasing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 0.001s
If I'm able to erase those, I'm might solved the bootlooping problem..
Try using this thread as reference, http://forum.xda-developers.com/asc...to-fix-soft-bricked-phone-using-twrp-t2886630. It's for a different model so just use your stock ROM in place of the L03 ROM. I'm not sure how to help beyond that. There has to be a way to return to stock on the L02.
Maybe this message is late, pls try following
http://pan.baidu.com/s/1dDpc4eP
http://www.huaweirom.com/rom/mate2/2619.html
usb flash instructions:
http://www.huaweirom.com/guide/2621.html
You may need to use google translate since all the info is in Chinese
Basically they are saying you should use B117 if B4xx not working.

Need help with softbrick (Xperia Z C6603)

Hello. Today i tried to flash the phone to the stock ROM twice but it didnt work probably cause unlocked bootloader and custom recovery (TWRP).
So i brick the phone and now i cant access the rom or the recovery. All i can do is access the fastboot mode. I tried to install the new recovery through fastboot but it doesnt work.
I tried the twrp 3.0.2.0 and 3.0.1.0 for yuga.
Code:
C:\Users\Kubo\Downloads\platform-tools>fastboot flash recovery recovery.img
target didn't report max-download-size
sending 'recovery' (10704 KB)...
OKAY [ 0.342s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.347s
Tried various of commands that i found on google and this forum but nothing worked. I unlocked the bootloader before when i was installing various of custom roms. Could somehow stock rom affect the bootloader when i was flashing through flashtool ? I tried to only boot the recovery from the img, the command worked but the recovery did not boot.
Code:
C:\Users\Kubo\Downloads\platform-tools>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.341s]
booting...
OKAY [ 0.033s]
finished. total time: 0.378s
Tried to check the status of bootloader but the command is just showing ... and nothing happend. Tried to get the IMEI through fastboot getvar command but no output is given. Im desperate. Sorry for english not my native language. I'll appreciate all the help.

I have bootloader unlocked falsely I can not install Recovery Twrp

this is a message of the error that I have
my device is a tablet xperia z sgp311
C:\Users\4lph4\Appdata\Local\android\android-sdk\platform-tools>
fastboot devices
CB5A1U3D5J fastboot
fastbot flash recovery twrp-3.0.2-0-pollux_windy.img
Target didn't report max-download-size
sending 'recovery' (10688)
OKAY [ 0,343]
writing 'recovery'
FAILED (remote: Commnand not allowed)
finished, total time : 0.347
I want to use flashtool to do a relock and unlock again but I do not know if that would cause hard brick
novatosuper said:
this is a message of the error that I have
my device is a tablet xperia z sgp311
C:\Users\4lph4\Appdata\Local\android\android-sdk\platform-tools>
fastboot devices
CB5A1U3D5J fastboot
fastbot flash recovery twrp-3.0.2-0-pollux_windy.img
Target didn't report max-download-size
sending 'recovery' (10688)
OKAY [ 0,343]
writing 'recovery'
FAILED (remote: Commnand not allowed)
finished, total time : 0.347
I want to use flashtool to do a relock and unlock again but I do not know if that would cause hard brick
Click to expand...
Click to collapse
I got that problem too with an Experia tablet Z. I used the Xperia Companion's "repair" function (from sonys product support page) to restore my device that was unable to boot.
novatosuper said:
this is a message of the error that I have
my device is a tablet xperia z sgp311
C:\Users\4lph4\Appdata\Local\android\android-sdk\platform-tools>
fastboot devices
CB5A1U3D5J fastboot
fastbot flash recovery twrp-3.0.2-0-pollux_windy.img
Target didn't report max-download-size
sending 'recovery' (10688)
OKAY [ 0,343]
writing 'recovery'
FAILED (remote: Command not allowed)
finished, total time : 0.347
I want to use flashtool to do a relock and unlock again but I do not know if that would cause hard brick
Click to expand...
Click to collapse
tablet z doesn't have separate recovery partititon, so you have to use kernel with built-in recovery (fastboot flash boot twrp-3.0.2-0-pollux_windy.img)
or you can try to install it permanently to FOTA partition.
by typing: dd if=/sdcard/twrp-3.0.2-0-pollux_windy.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
is resolved thank you
is resolved thank you

Categories

Resources