Flashing TWRP/Custom ROM after SailFish - Sony Xperia X Questions & Answers

Hi,
I have tried Sailfish OS, it shows promise but I cannot use as my daily driver.
I have re-flashed stock ROM successfully using EMMA, flashtool detects my phone but fastboot.exe does not detect it. adb.exe works when phone is loaded. The phone has been given debug permissions for my PC, I have tried reinstalling drivers. Do I need to completely uninstall and reinstall?
If I can't get fastboot working, I can't flash TWRP recovery and install a custom ROM!
Any ideas?

chutch002 said:
Hi,
I have tried Sailfish OS, it shows promise but I cannot use as my daily driver.
I have re-flashed stock ROM successfully using EMMA, flashtool detects my phone but fastboot.exe does not detect it. adb.exe works when phone is loaded. The phone has been given debug permissions for my PC, I have tried reinstalling drivers. Do I need to completely uninstall and reinstall?
If I can't get fastboot working, I can't flash TWRP recovery and install a custom ROM!
Any ideas?
Click to expand...
Click to collapse
Turns out this was a mistake on my part. Every guidance I saw referred to fastboot as being plug cable in + vol down. Using adb I was able to reboot into fastboot proper (power and vol up) and flash TWRP recovery.

Related

[Q] Can't flash recovery, the PC freezes.

FearTheBeard said:
Hey guys.
The phone has unlocked bootloder, adb drivers installed etc.
I downloaded recovery.img files from here
When I run "fastboot flash recovery recovery.img" the Phones as well as PC both are freezing and it is neccessary to reboot pc. anyone knows what might be the issue? all other adb comands are working, like adb reboot, fastboot reboot etc. thanks
Click to expand...
Click to collapse
Try different USB ports. Can be a electrical glitch somewhere.

TWRP on m4 aqua

Hello,
I'm trying to install TWRP on my m4 aqua. I already unlocked the bootloader and rooted it. Now im trying to install TWRP without success. With a command prompt, my devices won't be detected. And with a install.bat file nothing happens on my phone. The normal adb and fastboot drivers were successfully installed but i can't install the flashtool drivers to start the fastboot mode. Also with the Volume - button the phone boots normaly. So im now trying it with this TWRP app from the teamw.in (can't post the link) website with the modell xperia m but im not sure if it works. Can someone help me ?
XThorodinx said:
Hello,
I'm trying to install TWRP on my m4 aqua. I already unlocked the bootloader and rooted it. Now im trying to install TWRP without success. With a command prompt, my devices won't be detected. And with a install.bat file nothing happens on my phone. The normal adb and fastboot drivers were successfully installed but i can't install the flashtool drivers to start the fastboot mode. Also with the Volume - button the phone boots normaly. So im now trying it with this TWRP app from the teamw.in (can't post the link) website with the modell xperia m but im not sure if it works. Can someone help me ?
Click to expand...
Click to collapse
Lollipop or Marshmallow? Why can't you intall the drivers from flashtool? It boots normally probably because of missing the drivers. And to enter fastboot, you need to hold Volume UP and then connect the USB. If your BL is unlocked, then you can easily flash the TWRP through fastboot mode. In Command p. Fastboot flash recovery "recovery name".img usually it's recovery.img . But without the correct drivers, your phone will not be recognized properly.
ekin_strops said:
Lollipop or Marshmallow? Why can't you intall the drivers from flashtool? It boots normally probably because of missing the drivers. And to enter fastboot, you need to hold Volume UP and then connect the USB. If your BL is unlocked, then you can easily flash the TWRP through fastboot mode. In Command p. Fastboot flash recovery "recovery name".img usually it's recovery.img . But without the correct drivers, your phone will not be recognized properly.
Click to expand...
Click to collapse
I'm using Lollipop 5.0 on my phone. When i'm trying to install the drivers i always get that error: installation failed. Ahhh Thanks its Volume UP. But after this the led lights blue and then comes the charge indicator. Is it normal ?
I now installed TWRP with a bat file. But with Volume UP and usb cable I don't come in the Menu. And with Volume UP and Power the phone just vibrate a few times.

Sharp Aquos S2 stucked in Download mode

Hi:
My unlocked bootloader SS2 phone got stucked in Download Mode after successfully installed/flashed AICP ROM
It booted once and when i rebooted to enter recovery got stucked. Tried pushing buttons combos but still stucked in Dmode.
Have no access to fastboot from Windows but can get limited access to fastboot in Debian: can flash several twrp recoveries, can flash
AICP ROM again but can not get fastboot oem commands working.
Can't enter to recovery because phone never turn off.
Tried also to come back to Nougat but can't enter recovery to flash ss2_old_bootloader.
I do not know what to do.
Any help?
Also have this problem... any help?
have u try to connect into computer, use adb, and use this command :
Code:
fastboot reboot
what's the result with that?
No connection.
But i have reinstalled OST Treble ROM and phone now working.
gsausalito said:
Hi:
My unlocked bootloader SS2 phone got stucked in Download Mode after successfully installed/flashed AICP ROM
It booted once and when i rebooted to enter recovery got stucked. Tried pushing buttons combos but still stucked in Dmode.
Have no access to fastboot from Windows but can get limited access to fastboot in Debian: can flash several twrp recoveries, can flash
AICP ROM again but can not get fastboot oem commands working.
Can't enter to recovery because phone never turn off.
Tried also to come back to Nougat but can't enter recovery to flash ss2_old_bootloader.
I do not know what to do.
Any help?
Click to expand...
Click to collapse
I also have problem after flashing to AICP and sometimes phone (after power off) stuck in Download mode.
Just enter:
fastboot --set-active=a reboot
rgr1 said:
I also have problem after flashing to AICP and sometimes phone (after power off) stuck in Download mode.
Just enter:
fastboot --set-active=a reboot
Click to expand...
Click to collapse
I have the same problem. I tried to follow your advice, but fastboot in my PC doesn't recognize the parameter (all I get is fastboot help page).
Regards.
EDIT: reinstalled treble v3.1 via OST and it fixed the download mode issue.
thanks!
hi,
got the same problem, stuck at download mode but phones can`t to pc via usb so I am unable to use fastreboot.
Any other suggestions how to fix it ?
internety1 said:
hi,
got the same problem, stuck at download mode but phones can`t to pc via usb so I am unable to use fastreboot.
Any other suggestions how to fix it ?
Click to expand...
Click to collapse
in my xperience is connect your phone to the PC then open cmd ... make sure in folder of adb and fastboot .exe stored ...
type:
Code:
fastboot continue
longu said:
I have the same problem. I tried to follow your advice, but fastboot in my PC doesn't recognize the parameter (all I get is fastboot help page).
Regards.
EDIT: reinstalled treble v3.1 via OST and it fixed the download mode issue.
Click to expand...
Click to collapse
Maybe use other fastboot.
Sometimes you must enter:
Code:
fastboot --set-active=_a reboot
("_a" instead of "a")
BTW. My Aquos sometimes stuck in download mode after installing AICP.
I fixed this by entering:
Code:
adb shell
bootctl mark-boot-successful
Hello, i have the same exact problem. I tried to use adb program to fix this problem, but my laptop couldn't recognize my device. Any other solutions would be helpful. Thanks for your attention! (I'm a beginner in technology, so please forgive me)

fastboot doesn´t work on windows pc out of the blue

What has happend with fastboot? I have a rooted phone with twrp 3.3.1.0.
I have used fastboot commands to flash boot.img and recovery.img for years.
Suddenly out of the blue i can´t connect with the phone in fastboot mode. I have tried everything, all kind of different windows drivers, emma, flashtool, drivers from sony, latest driver form google. but i cant get my phone to show up as a device in fastboot mode using fastboot commands. Are there something that has changed lately?
I can connect in flash mode and adb commands works normal.
Usb debugging are on, and I have tried to boot pc without driver signature check.
I have read topics for several days googling and I simply cant get it to work in fastboot.
Please help.
https://android.stackexchange.com/questions/129174/windows-10-fastboot-driver
pergoteborg said:
https://android.stackexchange.com/questions/129174/windows-10-fastboot-driver
Click to expand...
Click to collapse
Works like a charme..... Thanks:good:

AC2003: where to start to install a new rom?

Hi! I would like to mod my AC2003 upgraded to oxygenos 12.1 (android 12) version AC2003_11_F.13
Could you please tell me the steps to proceed? I can't find a guide that answers all my questions ... Do I need to unlock the bootloader first? Then the recovery and the rom? I would be oriented towards the pixel experience, can it be a good choice? Does it support 2 sims? How to do with the root for the bank's applications? Many questions, and nowhere to start ... Thanks in advance
Copy all important phone data, it will be wiped!
- Download adb platform tools here
- Download adb drivers here
- Enable developer settings -> Enable OEM unlock.
- Reboot into Fastbot mode: Turn off the phone, hold down vol+ and vol-, then power on the phone.
- Connect the phone to the computer, run "fastboot devices". If not recognized, ensure driver is installed in the device manager, install from downloaded adb drivers.
- Run "fastboot oem unlock", accept in the phone prompt, the phone will be wiped!
- Boot again in fastboot, flash the recovery: "fastboot flash recovery recovery_file".
- Unplug the USB, I found the recovery to not work properly if the usb was already plugged in before booting.
- Boot into recovery mode: Hold Vol+ and turn on the phone.
- Go to Update... Install from ADB, connect the USB.
- In the computer, run "adb sideload rom_file"
- I'd recommend issuing a factory reset after this, just in case.
- NEVER run "fastboot oem lock" with modded system, it'll brick your phone! (Can be fixed, but just don't do it)
- Enjoy
Ex. for Pixel rom:
- Recovery file: PixelExperience_avicii-12.1-20220718-0624-OFFICIAL.img
- ROM file: PixelExperience_avicii-12.1-20220718-0624-OFFICIAL.zip
I wasn't happy with custom roms. Too many bugs. So I also post how to return to factory:
- Download fastboot ROM from here, unzip file.
- Boot the phone into fastboot mode, connect the USB, run "flash-all.bat", it'll take a while, it'll reboot afterwards
- You're now with stock system. You can upgrade to OOS11/12 using the zips from here, also check F.13, copying them to the phone, going to the updater and selecting "Local update".
- Better do OOS10->OOS11->OOS12, just in case! I'd stay with OOS 11.1.11.11, OOS12 is a battery drainer!
- Ensure to make a factory reset when done with updating.
- Now you're stock, you can also relock the bootloader by booting into fastboot and running "fastboot oem lock".
Be aware that you will miss some camera features with any custom rom... Full camera features are only available with the stock rom..
Thats why I moved back to stock rom and debloated all unuseable stuff...
But a custom rom offers many other opportunities that the stock rom doesn't have...
dabyd64 said:
Copy all important phone data, it will be wiped!
- Download adb platform tools here
- Download adb drivers here
- Enable developer settings -> Enable OEM unlock.
- Reboot into Fastbot mode: Turn off the phone, hold down vol+ and vol-, then power on the phone.
- Connect the phone to the computer, run "fastboot devices". If not recognized, ensure driver is installed in the device manager, install from downloaded adb drivers.
- Run "fastboot oem unlock", accept in the phone prompt, the phone will be wiped!
- Boot again in fastboot, flash the recovery: "fastboot flash recovery recovery_file".
- Unplug the USB, I found the recovery to not work properly if the usb was already plugged in before booting.
- Boot into recovery mode: Hold Vol+ and turn on the phone.
- Go to Update... Install from ADB, connect the USB.
- In the computer, run "adb sideload rom_file"
- I'd recommend issuing a factory reset after this, just in case.
- NEVER run "fastboot oem lock" with modded system, it'll brick your phone! (Can be fixed, but just don't do it)
- Enjoy
Ex. for Pixel rom:
- Recovery file: PixelExperience_avicii-12.1-20220718-0624-OFFICIAL.img
- ROM file: PixelExperience_avicii-12.1-20220718-0624-OFFICIAL.zip
I wan't happy with custom roms. Too many bugs. So I also post how to return to factory:
- Download fastboot ROM from here, unzip file.
- Boot the phone into fastboot mode, connect the USB, run "flash-all.bat, it'll take a while, it'll reboot afterwards
- You're now with stock system. You can upgrade to OOS11/12 using the zips from here, also check F.13, copying them to the phone, going to the updater and selecting "Local update".
- Better do OOS10->OOS11->OOS12, just in case! I'd stay with OOS 11.1.11.11, OOS12 is a battery drainer!
- Ensure to make a factory reset when done with updating.
- Now you're stock, you can also relock the bootloader by booting into fastboot and running "fastboot oem lock".
Click to expand...
Click to collapse
Wow! You wrote the bible for the beginner ... I don't know how to thank you for your patience, now I have a great starting point
I've a problem, fastboot can't see my device... I've installed the oneplus drivers, but windows continues to use Microsoft's drivers. I tried to update the drivers from the device manager indicating as drivers those installed in the Oneplus folder, but windows keeps telling me not to find drivers compatible with an x64 system in that folder. I also tried to disable the digital signature check, without success. This is on both windows 11 and windows 10 PCs. I've also enabled debug usb...
There's no problem using Windows drivers.
Isn't the phone recognized as fastboot device?
Attach device manager screenshot.
dabyd64 said:
There's no problem using Windows drivers.
Isn't the phone recognized as fastboot device?
Attach device manager screenshot.
Click to expand...
Click to collapse
It seems you're not in fastboot Mode?
Do you see this screen?
dabyd64 said:
It seems you're not in fastboot Mode?
Do you see this screen?
Click to expand...
Click to collapse
The cable was the problem...Now i've tried with it's original cable and yes, i can see it! Thank you so much...
dabyd64 said:
Copy all important phone data, it will be wiped!
- Download adb platform tools here
- Download adb drivers here
- Enable developer settings -> Enable OEM unlock.
- Reboot into Fastbot mode: Turn off the phone, hold down vol+ and vol-, then power on the phone.
- Connect the phone to the computer, run "fastboot devices". If not recognized, ensure driver is installed in the device manager, install from downloaded adb drivers.
- Run "fastboot oem unlock", accept in the phone prompt, the phone will be wiped!
- Boot again in fastboot, flash the recovery: "fastboot flash recovery recovery_file".
- Unplug the USB, I found the recovery to not work properly if the usb was already plugged in before booting.
- Boot into recovery mode: Hold Vol+ and turn on the phone.
- Go to Update... Install from ADB, connect the USB.
- In the computer, run "adb sideload rom_file"
- I'd recommend issuing a factory reset after this, just in case.
- NEVER run "fastboot oem lock" with modded system, it'll brick your phone! (Can be fixed, but just don't do it)
- Enjoy
Ex. for Pixel rom:
- Recovery file: PixelExperience_avicii-12.1-20220718-0624-OFFICIAL.img
- ROM file: PixelExperience_avicii-12.1-20220718-0624-OFFICIAL.zip
I wasn't happy with custom roms. Too many bugs. So I also post how to return to factory:
- Download fastboot ROM from here, unzip file.
- Boot the phone into fastboot mode, connect the USB, run "flash-all.bat", it'll take a while, it'll reboot afterwards
- You're now with stock system. You can upgrade to OOS11/12 using the zips from here, also check F.13, copying them to the phone, going to the updater and selecting "Local update".
- Better do OOS10->OOS11->OOS12, just in case! I'd stay with OOS 11.1.11.11, OOS12 is a battery drainer!
- Ensure to make a factory reset when done with updating.
- Now you're stock, you can also relock the bootloader by booting into fastboot and running "fastboot oem lock".
Click to expand...
Click to collapse
After flash recovery, when i go to the recovery mode, i see this mex:
"The current image (boot/recovery) have been destroted and can not boot. Please flash the correct image or contact customer service to fix"
Fortunately i have solved with msm....
It's a known thing that you can flash on any custom ROM only if you're on oxygenOS 10 or 11 version. Respectively, if you are on android 12, then you first need to flash with unbrick tool (msmtool) anroid 10 (EU/Global/India) or android 11 (India).
gorro8 said:
It's a known thing that you can flash on any custom ROM only if you're on oxygenOS 10 or 11 version. Respectively, if you are on android 12, then you first need to flash with unbrick tool (msmtool) anroid 10 (EU/Global/India) or android 11 (India).
Click to expand...
Click to collapse
Hi,
I am on OS12 stock currently.
At which stage of the guide posted above I need to use the unbrick tool ?
Many thanks
Hi bro.
If you want to flash any custom ROM, then you need to go to unbrick tools thread, download drivers and MSM tool firmware and step by step flash it.
After that flash custom rom you need also with it instruction in the thread.

Categories

Resources