FAILED (remote: Command not allowed)

bassmanitram

Senior Member
Jan 31, 2011
83
21
0
Serris, France
so far, I am able to flash twrp, and I just flashed RR with gapps and mod, just got into settings wizard, will update/comment if I face any problem other than music has stopped working :/
So I"m having the exact same problems as you. I'm attempting to downgrade to Kitkat - that goes fine, but the *#*#7378423#*#* isn't displaying the service menu! Very frustrating - can you tell me where you get your firmwares from? Thx.
 

Godlydevils

Senior Member
Jan 19, 2015
188
17
0
So I"m having the exact same problems as you. I'm attempting to downgrade to Kitkat - that goes fine, but the *#*#7378423#*#* isn't displaying the service menu! Very frustrating - can you tell me where you get your firmwares from? Thx.
Yes, there's a problem with this device,
As usual I use

flashtool version 0.9.18.6

then I flash

Xperia ZL_10.5.1.A.0.283_C6502.ftf (Kitkat)

to downgrade

C6502_10.7.A.0.222_1270-7911_R1E.ftf (JB)

All Indian versions, You can download the most recent version for your device from flashtool itself, by going to xperiafirmware(Resumable if you get DC, but don't restart PC) located below right side of Help, left side of donate PayPal button same row, it will also ask you if it should compile and all, yes agree to everything it says , Tara, you have most recent version of working firmware for you Mobile,

However in order to downgrade to KitKat, you will have to download that .ftf of KitKat I mentioned of 977 MB.

Also take note, after u flash 10 5 1 a 0 283, and do bootloader unlock using same process of obtaining from sony entering ur imei and all, after it's done, Never flash TA file, NEVER FLASH ANY .ta when you are flashing any ftf to downgrade or upgrade.

I will upload it to mediafire if you need my Indian version, however I do suggest you get your own region based firmware
 
  • Like
Reactions: bassmanitram

Severus_

Member
Dec 30, 2014
32
3
28
Ho Chi Minh
I have same problem with you, after unlocking, fastboot getvar secure say no, it means unlocked successfully, but after rebooting, fastboot getvar secure say yes, it means after rebooting, bootloader locked again.
 
Aug 6, 2015
19
1
0
Medan
Hi, I am trying to install twrp twrp-3.1.1-0-odin.img so I can get RR rom on my C6502
first of all, I'm well aware of steps, and I personally have this rom installed in my xperia m, so it won't be hard for me to understand and it's quite easy as 123 over there

the problem I'm facing is, this xperia ZL c6502 l35h device seems to have something in different I'm not able to flash twrp here

I used repair feature in sony pc companion, done successfully, start device, wait for first boot time, configure, enable unknown source, enable usb debugging, connect cable to pc and allow RSA pc's code

power off and connect with voldown, used flash tool to unlock bootloader (yes the blootloader status unlock is yes in *#*#7378042#*#* code confi thing)

bootloader unlocked successfully, device tried to be in bootloop for three times, then it started, like first boot took somewhere 15 min to start up, and everything is fine, except I cannot increase brightness anymore but nvm

I again enable unknown source, and usb debugging, and allow my pc's RSA key > always allow

poweroff, connect in fastboot, flash kernel > select the just downloaded twrp from official source 3.1.1.0 I think

I flash receive an error says remote: command not allowed

22/002/2017 07:02:33 - INFO - Device connected in fastboot mode
22/002/2017 07:02:39 - INFO - Selected kernel (boot.img or kernel.sin): D:\IDM\General\twrp-3.1.0-0-odin.img
22/002/2017 07:02:39 - INFO - Flashing selected kernel
22/002/2017 07:02:40 - INFO - sending 'boot' (11406 KB)...
22/002/2017 07:02:40 - INFO - OKAY [ 0.361s]
22/002/2017 07:02:40 - INFO - writing 'boot'...
22/002/2017 07:02:40 - INFO - FAILED (remote: Command not allowed)
22/002/2017 07:02:40 - INFO - finished. total time: 0.363s
22/002/2017 07:02:40 - INFO - FASTBOOT Output:
sending 'boot' (11406 KB)...
OKAY [ 0.361s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.363s

tried to used minimal adb and fast boot
here's the log

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target didn't report max-download-size
sending 'recovery' (11474 KB)...
OKAY [ 0.364s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.368s

So, I have my bootloader unlocked, I can confirm that because after booting up post unlock, there's change in system, I cannot increase brightness, and in that code *#*#7378... I see more Bands available before unlock

and device booted after like 3 bootloops automatically, what am I doing wrong, and what should I do? how are people able to get this rom in their device?

btw, I'm dealing with firmware 10.7.A.0.222 India version, all latest as per pc companion repair feature and today it will be offc latest one

and the version of my flashtool is 0.9.18.6

in minimal adb and fastboot, I tried this
fastboot.exe -i 0x0fce getvar version
result is 0.5

fastboot.exe -i 0x0fce oem unlock 0x[my key in caps]
first time it fails and second time it does, and output is successfull

then I proceed to flash twrp

fastboot flash recovery twrp.img
I receive failed command not allowed

then I try
fastboot flash boot boot.img
successful, but phone bricked

I reflash 10.7.A.0.222 and device working again, but how do I flash twrp?
what am I doing wrong?
you can't flash your recovery directly into your phone. Sony doesn't have any stock recovery instead they use in boot recovery arrangement. But, if you want to use your custom recovery use this command "fastboot boot (recovery_name).zip" without the quotes
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone