A critical question about Rom flashing. - Elephone S7 Questions & Answers

I can't use sp flash tools to flash a stock rom because of windows 10. I have tried everything and i can't make it work. Is there a way to flash a stock rom through adb and fastboot ?

Related

Can i flash a 4.4..4 rom after flashing a 5.0 rom?

I'm currently using the 5.0 preview "frank with more cadevers 22" but I want to go back to stock using the android toolkit. But I only find an option for the builds 4.4.4.
Install minimal ADB and Fastboot on your computer and use it with the command prompt if you have windows. Then download the stock image and extract. Run the "flashall" file and wait

FAILED (remote: Command not allowed)

Hello,
I'm pretty new to rooting Sony devices and I can't seem to install custom roms on my Xperia Z2 using fastboot. My bootloader is unlocked (i've checked several times), USB debugging is checked and it believe my drivers are properly installed (fastboot devices cmd recognizes my device) but when i try to run "fastboot flash zip rom.zip" i get this annoying FAILED (remote: Command not allowed) message. I've looked through several threads but I can find any solution that applies to my case.
Any ideas would be welcome.
Thanks
I called Sony. Their official story is they do not support unlocking their own phones.
I asked her why, she said we just dont support unlocking the bootloader on some phones.
Im going to go break this phone and never recommend or buy sony products ever again
What exactly are you trying to flash?
Fastboot doesn't flash .zip files (I think). Whatever you are trying to flash must be extracted from the .zip file, then flashed via fastboot.
If you are trying to flash a custom kernel, you must have the boot.img file extracted from the .zip file in the same folder as the adb_fastboot folder, then hold in Shift then right-click and select, 'Open command window here' then type in cmd, 'fastboot flash boot boot.img'.
Once it says, 'Waiting for device', hold in the volume-up button on the phone and insert the USB cable into the phone.
Hope this helps.
I'm trying to flash android lollipop. I've tried extracting the boot.img flash it and then try to boot on recovery. A few times nothing happened and I couldn't force restore even using adb. Other times I just got stuck on the splash screen or in a loop reboot.
From what I've found online you can flash with flashboot using "flashboot flash zip Rom.zip" it starts transferring the room but it immediately does to the failed remote command not allowed error.
Sent from my D6503 using XDA Free mobile app
Where did you find that this command works for Xperia devices? I don't say that it can't work, but I see it for the first time (reading XDA for several years). All ROMs which I flashed were via flashtool or recovery, never through fastboot.
The best solution is to follow installation instruction of the given ROM.
RoamenCota
As far as I know most brands don't really support development but have you tried this the Sony Boot loader unlocking website?
_mysiak_
As for the cmd I found it online but I think it was an HTC forum. I guess it might not work in Xperia devices. I'm able to flash with flashtool but so far I've only managed to brick the phone.
Sent from my D6503 using XDA Free mobile app
Which ROM exactly are you trying to flash and what steps have you done?
_mysiak_ said:
Which ROM exactly are you trying to flash and what steps have you done?
Click to expand...
Click to collapse
I've tried flashing the [ROM][WIP]AOSP 5.0 Beta v2.0 from krabappel and the [ROM][SIRIUS][LP][5.0.1][SM-4.9] CyanogenMod 12 Unofficial [NIGHTLY BUILDS] from infected_ (sorry i'm not allowed to post links). As for the first one the process seems a bit more complex since there is a v2 plus an OTA to install. I've tried the second one first with flashboot but it didn't really work. With flash tool i've ended up bricking the phone.
CM is usually flashed via recovery (CWM, TWRP,..) - download ZIP, put it on SD card, boot into recovery, flash from there, reboot. Flashtool or fastboot should not be required. I would advise you to continue in ROM specific topics about any special installation steps/instructions.
_mysiak_ said:
CM is usually flashed via recovery (CWM, TWRP,..) - download ZIP, put it on SD card, boot into recovery, flash from there, reboot. Flashtool or fastboot should not be required. I would advise you to continue in ROM specific topics about any special installation steps/instructions.
Click to expand...
Click to collapse
For some reason that rom isn't able to be installed in TWRP recover. There's some install error may due to the fact that's a beta and not completely stable. If it doesn't work i'll just wait for a more stable version.
Just curious, even if it's a zip file, if I extract the complete package to the fastboot/adb folder and run "fastboot flash boot boot.img" there's no reason not to work right?
amrcardoso said:
For some reason that rom isn't able to be installed in TWRP recover. There's some install error may due to the fact that's a beta and not completely stable. If it doesn't work i'll just wait for a more stable version.
Just curious, even if it's a zip file, if I extract the complete package to the fastboot/adb folder and run "fastboot flash boot boot.img" there's no reason not to work right?
Click to expand...
Click to collapse
I don't think that it's worth the effort to flash those ROMs, unless you are really curious. Otherwise you should stick to verified and fully working ROMs.
It depends what you expect from that command. It will work, but it'll flash only kernel. System and other partitions remain untouched. Most probably you'll get bootloop with such combination.
_mysiak_ said:
I don't think that it's worth the effort to flash those ROMs, unless you are really curious. Otherwise you should stick to verified and fully working ROMs.
It depends what you expect from that command. It will work, but it'll flash only kernel. System and other partitions remain untouched. Most probably you'll get bootloop with such combination.
Click to expand...
Click to collapse
I'll probably stick with the zip flashing via recovery. But what step am I missing to flash a rom thorugh fastboot?
That most probably it's not possible to flash ROM via fastboot on Xperia devices. You have to use flashtool for FTF files and recovery for custom ROMs. Fastboot is used to flash kernel only.
_mysiak_ said:
That most probably it's not possible to flash ROM via fastboot on Xperia devices. You have to use flashtool for FTF files and recovery for custom ROMs. Fastboot is used to flash kernel only.
Click to expand...
Click to collapse
I have been able to flash the stock FTF but never a ROM using flashtool. Maybe that's why.
Thanks

[Q][Help] Nexus 4 stuck in bootloop Recovery after flashing twrp to boot

Hi,
I made this post/thread because i couldn't find a solution to my problem through this forum and google.
Here is my trouble:
I was trying to install a twrp recovery and was following the instructions of a tutorial.
-So first i installed flashify and proceeded to a back up of the current kernel and current recovery
-Then downloaded a custom recovery image through TWRP release for my nexus 4
-After this i accidentally flashed the recovery image to boot instead of recovery
Now as you can guess the trouble is that my phone only boots to TWRP recovery instead of usual boot.
I tried to find aswers on this forum and google and yet i didn't find a solution.
I tried this post but without results:
http://forum.xda-developers.com/tmobile-lg-g3/general/fix-recovery-loop-twrp-computer-t2873386
I would be grateful for any help and wish to recover this mistake without using a factory reset if possible.
Thank you, as you can see i am pretty new to this environment.
Can you get into fastboot mode? If yes, try flashing a stock Google rom and perform a factory wipe after installing the stock rom.
audit13 said:
Can you get into fastboot mode? If yes, try flashing a stock Google rom and perform a factory wipe after installing the stock rom.
Click to expand...
Click to collapse
Thank you for your answer, yes i can get into fastboost mode. As i am pretty new can you explain me how i can flash the stock Google rom (i guess it is the factory rom provided ?). Will this operation erase my data on the phone ?
Boot into fastboot and flash boot.img and recovery.img file from stock rom. Make sure you use the stock rom that matches the rom currently installed on your phone.
Ilovkos said:
Thank you for your answer, yes i can get into fastboost mode. As i am pretty new can you explain me how i can flash the stock Google rom (i guess it is the factory rom provided ?). Will this operation erase my data on the phone ?
Click to expand...
Click to collapse
Once in fastboot, extract the downloaded zip you got from Google. There you will find flash-all.bat Execute it as admin and wait. If it doesn't work, then extract the zip within the first zip and you should get loads of .img files. You will manually have to flash them. The commands are a bit different for each partition. They go like this:
Code:
fastboot flash system system.img
fastboot flash recovery recovery. img
fastboot flash cache cache.img
fastboot flash boot boot.img
fastboot flash data userdata.img
Note that if your cmd/terminal isn't open from the directory where the files are you will have to input it's location, for example
Code:
fastboot flash recovery C:\Users\YOURUSER\Desktop\recovery.img
Also note that there must be no spaces neither in the file name or the directories where the file is located, otherwise it probably won't flash.
Also yes, doing this will completely revert you to stock, and you WILL loose all your data. You could try just reflashing recovery.img and then flashing TWRP over it. If you can get to TWRP after this, then connect the USB cable to your PC and transfer all the data you need, after which I recommend flashing to stock. You can root and/or flash custom ROMs after this.
However in your case I think you don't have to completely go back to stock. Just try flashing the proper boot and recovery images over fastboot like I explained above and try booting then.
nerotNS said:
Once in fastboot, extract the downloaded zip you got from Google. There you will find flash-all.bat Execute it as admin and wait. If it doesn't work, then extract the zip within the first zip and you should get loads of .img files. You will manually have to flash them. The commands are a bit different for each partition. They go like this:
Code:
fastboot flash system system.img
fastboot flash recovery recovery. img
fastboot flash cache cache.img
fastboot flash boot boot.img
fastboot flash data userdata.img
Note that if your cmd/terminal isn't open from the directory where the files are you will have to input it's location, for example
Code:
fastboot flash recovery C:\Users\YOURUSER\Desktop\recovery.img
Also note that there must be no spaces neither in the file name or the directories where the file is located, otherwise it probably won't flash.
Also yes, doing this will completely revert you to stock, and you WILL loose all your data. You could try just reflashing recovery.img and then flashing TWRP over it. If you can get to TWRP after this, then connect the USB cable to your PC and transfer all the data you need, after which I recommend flashing to stock. You can root and/or flash custom ROMs after this.
However in your case I think you don't have to completely go back to stock. Just try flashing the proper boot and recovery images over fastboot like I explained above and try booting then.
Click to expand...
Click to collapse
Thanks to both of you I managed to fix this just by flashing the boot.img of the Google factory img. It didn't erase my data except my messages which is nice.

download mode linux mint

lgup, as far as i know is the flash rom tool windows users make a .img flash to a v20 (most lg's)
so for those adventurers using linux what tool do we use to flash .img files to a firmware update?
i am trying to get a TWRP flash twrp-3.5.0_9-0-h918 onto my phone.
flashboot is there but absolutly unresponsive. except for
fastboot devicesShows connected devices on your PC/Laptopfastboot rebootTo reboot your device
commands
those work fine.
all i get is flashboot interface / and / firmware update interface.
pleas advise.

How to simple back to stock rom ?

Is there any simple way to back to stock rom (currently LOS) ?
fastboot and fastboot rom ?
tool all in one > flash factory images ?
I want to back with any surprises
thanks in advance
simply download Full firmware and exract it in fastboot folder on ur C drive, put ur phone into bootloader, from fastboot folder launch flash-all.bat
andriu123 said:
Is there any simple way to back to stock rom (currently LOS) ?
fastboot and fastboot rom ?
tool all in one > flash factory images ?
I want to back with any surprises
thanks in advance
Click to expand...
Click to collapse
MSM mate,, easy and quick

Categories

Resources