Sony Mobile Flasher No flash script found. Flash script is mandatory - Sony Xperia 10 Questions & Answers

What should i do with this error : No flash script found. Flash script is mandatory. I tried many firmwares. I want to flash stock for bootloader lock. (It does lock it right?) I'm not getting safetynet check after i came back from lineageOS with emma flashtool which didnt lock bootloader. Thanks for any help

I know you posted this a while ago, but here is a flash script file that worked for me.
Google Drive
Put the file in C:\Users\[USERNAME]\.flashTool\devices\I31XX. This should allow a flash at least with FlashTool.
As far as I know, flashing with FlashTool, NewFlasher or even Emma doesn't lock the bootloader. You have to use a seperate command with ADB to lock it.
Let me know if it works.

i tried for dual version its working Thanks

Related

[Q] Telstra Branded Z1 problems :/

Firstly I rooted the phone by downgrading it unlocking bootloader etc. then upgraded to a newer firmware. I then went back to root it again, and tried to then install iHackers v 4.1
It seemed to have installed, but no matter what kernel i use for it, something has been wrong, either the IMEI get cleared from the phone, or it wont boot at all and wont even let me enter any of the recoveries apart from twrp. my flashtool throws this error every time i try to flash certain ftfs
Code:
05/021/2014 03:21:37 - INFO - Preparing files for flashing
05/021/2014 03:21:38 - ERROR - 1
05/021/2014 03:21:38 - INFO - Cannot open bundle. Flash operation canceled
I just want to be able to run the newest clean android rom (aosp style), or closest thing to (with sony apps) which iHackers seemed to be able to provide, or cyanogenmod.
Could someone please tell me how to go about doing what is required, from beginning (as the phone was bought) to end (rooted cyanogen or something of the sort), because im just getting more and more annoyed haha, this phone is nothing like my old htc wildfire and htc velocity :/
If you have unlocked the bootloader then
1) download the update.zip of the rom you want to flash
2) extract boot.img and flash it
3) Enter recovery and flash the update.zip
4) follow any other rom specific install instructions you will find on the OP
EDIT
error 1 on flashtool means you need to upgrade flashtool
gregbradley said:
If you have unlocked the bootloader then
1) download the update.zip of the rom you want to flash
2) extract boot.img and flash it
3) Enter recovery and flash the update.zip
4) follow any other rom specific install instructions you will find on the OP
EDIT
error 1 on flashtool means you need to upgrade flashtool
Click to expand...
Click to collapse
I've tried those things, but ill do it all again.
I've tried the newest version of flashtool, older versions, and im finally trying 0.9.15.0 because that is what another post said had to be used for the bootbundle. Ehm who knows. I guess i'll just keep trying till its all working good. Telstra finally updated to .757 yesterday, and im downloading it right now to test if thats going to be any better than what it has been so far.
Tradie said:
I've tried those things, but ill do it all again.
I've tried the newest version of flashtool, older versions, and im finally trying 0.9.15.0 because that is what another post said had to be used for the bootbundle. Ehm who knows. I guess i'll just keep trying till its all working good. Telstra finally updated to .757 yesterday, and im downloading it right now to test if thats going to be any better than what it has been so far.
Click to expand...
Click to collapse
use the latest version 0.9.16.0
Why are you flashing a FTF? I never said to do that, flash the boot.img extracted from the update.zip using fastboot
So I finally ended up with rooted .757 and tried to install ihackers by fastboot flashing the boot.img then booting to recovery (Philz) and installing the aroma version. it failed miserably by going into a boot loop at the boot logo.
I'm currently working my way back to rooted .757 because i forgot to make a backup -_- stupid I know but I was tired and keen to try iHackers.
What could I be doing wrong?
Darkfleet said:
What could I be doing wrong?
Click to expand...
Click to collapse
We don't know, probably wrong sequence or you skipped a step or even rebooted when you shouldn't. Just repeat all the steps and follow the instructions, if you do that there will be no problem at all.

Explanationon how to use Flashtool

Before 7.1.1 came out there was a full explanation on how to use flashtool to flash an ftf file and what files you needed to flash afterwards to gain root and custom recovery.
There was an update on how to do it for OS 7.0.
This thread seems to be gone.
Can somebody show me this thread again?
I'm trying to update to 7.1.1 and with a workaround this should be possible with flashtool but nothing works for me.
When I want to reflash the latest 7.0 flashtool very quickly says it's done, leaving my phone softbricked.
I know I can use sony's flashtool to install 7.1.1 but how to proceed then to gain root, twrp and another kernel, is there some explanation on how to do this or is there something else than flashtool (androxydes or sony's) to flash the firmware?
same problem, someone please tell us..:crying:
deboopi2 said:
Before 7.1.1 came out there was a full explanation on how to use flashtool to flash an ftf file and what files you needed to flash afterwards to gain root and custom recovery.
There was an update on how to do it for OS 7.0.
This thread seems to be gone.
Can somebody show me this thread again?
I'm trying to update to 7.1.1 and with a workaround this should be possible with flashtool but nothing works for me.
When I want to reflash the latest 7.0 flashtool very quickly says it's done, leaving my phone softbricked.
I know I can use sony's flashtool to install 7.1.1 but how to proceed then to gain root, twrp and another kernel, is there some explanation on how to do this or is there something else than flashtool (androxydes or sony's) to flash the firmware?
Click to expand...
Click to collapse
If you want to flash 7.1.1 firmwares using Flshtool by Androxyde, since there's still no fsc file for 7.1.1 (41.2.A.X.XXX), so you will encounter a warning message "WARN - No loader found or set manually. Skipping loader."
To solve this problem, first open your Flashtool and wait for it to sync device database.
Second, go to C:\Users\YOURUSERNAME\.flashTool\devices\F81XX rename the file "39.fsc" to "41.fsc"
Then Flashtool can flash 7.1.1 firmwares successfully.
NOTICE: Once you closed Flashtool, you need to do things above again.
I just found that Androxyde has uploaded the FSC script 21 hours ago.
So you don't need extra actions now. Just use Flashtool as usual and it may work.

Stuck in bootloop after trying to flash TWRP

SOLVED - See second post
-----------------------------------------
Hi there, I'm big trouble.
I have a F8131 with unlocked bootloader. The system was on the latest Oreo.
I tried to flash the latest TWRP using flashtool. After it finished, I get a bootloop, which goes through the unlocked warning to the Sony screen again and again.
What should I do now? Thanks to you all for helping in any way possible!
EDIT: I reflashed TWRP from command line using flashboot and now I can get to TWRP, but now it tells me there is no OS installed (WTF?), so if reboot I go back to the bootloop. Should I try to flash a rom from TWRP, is there something I am missing?
Luckily I was able to solve the issue. I will leave this here in case someone is stuck in the same situation.
1) Use Flashtool in flashmode to flash the FTF firmware you get from XperiFirm into the phone. If you get an error related to drivers, use the Flashtool drivers tool (located in a subfolder in the Flashtool installation folder) to install a set of working drivers (also applies to flashboot drivers).
2) After flashing, disconnect the phone and reconnect it in flashboot mode. Flash TWRP through fastboot commands in a cmd terminal. Flash a boot.img if you have one.
3) This should work, and you should be able to continue to boot your phone or get into TWRP to flash custom packages (Safety, DRM fixes, Magisk, etc) or ROMs.
leandrox said:
Luckily I was able to solve the issue. I will leave this here in case someone is stuck in the same situation.
1) Use Flashtool in flashmode to flash the FTF firmware you get from XperiFirm into the phone. If you get an error related to drivers, use the Flashtool drivers tool (located in a subfolder in the Flashtool installation folder) to install a set of working drivers (also applies to flashboot drivers).
2) After flashing, disconnect the phone and reconnect it in flashboot mode. Flash TWRP through fastboot commands in a cmd terminal. Flash a boot.img if you have one.
3) This should work, and you should be able to continue to boot your phone or get into TWRP to flash custom packages (Safety, DRM fixes, Magisk, etc) or ROMs.
Click to expand...
Click to collapse
um, i need assistance with this
can you help me with it?
velva said:
um, i need assistance with this
can you help me with it?
Click to expand...
Click to collapse
Sure. Where are you at right now?
leandrox said:
Sure. Where are you at right now?
Click to expand...
Click to collapse
About drm fix, is it the same file all phone could use? Or is it special, like TA images? I walk around xda, and somehow i am still not understand.
hasbyduryea said:
About drm fix, is it the same file all phone could use? Or is it special, like TA images? I walk around xda, and somehow i am still not understand.
Click to expand...
Click to collapse
I used the one available at posts with tutorials for installing Kernel + TWRP + Roms for my device. I am not sure whether the drmfix is the same for all Sony Xperia devices.
Nevertheless, I don't think it worked for me, as my keys don't look like they have been recovered when I check them. I haven't noticed any problems so far, though, so maybe it's not a big deal.

[Q] How to go back to stock? - black rear camera problem and bootloop

Hi,
I experienced black rear camera bug on Official LOS16 (I have to admit that i had made backup and tested carbon and LOS17) Now i installed 17 to test if is it ROM problem but i think it is unfortunatelly hardware problem. I saw other threads and searched internet and decided to install stock branded marshmallow, lock bootloader (Yes, I had backup TA before UB) and send it to official Sony service because I should still have warranty.
But...
I don't know how to install stock ROM. I downloaded branded software from XperiFirm and stopped there. How to flash it and not brick device? Newflasher is for newer models. Flashtool needs .ftf file. I searched how to convert XperiFirm package to .ftf on other model but there is step where you have to decrypt some files (I couldn't find them in downloaded software package).
I thought about second option - format and wipe in twrp all internal partitions and use Xperia Companion Software Repair. Actually I don't know does it work properly with UB devices...
I decided to go to the unofficial Sony devices service if it'd be problem with sending it to official Sony service.
What do you suggest? Is it easy and cheap enough repair for unofficial service not to damage device? I have no tools in home neither any preferences or experiences to do that by myself. Should I skip installing stock and go straight to the unofficial service?
If you suggest relocking device please help me and write step by step, noob friendly instruction how to flash XperiFirm package by flashtool or post made that way tutorial.
If you can help me, thank you!
If you use Xperifirm within Flashtools, it should download and automatically repackage it to an FTF file.
Or https://forum.xda-developers.com/z3-compact/general/ref-roms-guides-tutorials-faqs-t3035066
temporary2010 said:
If you use Xperifirm within Flashtools, it should download and automatically repackage it to an FTF file.
Or https://forum.xda-developers.com/z3-compact/general/ref-roms-guides-tutorials-faqs-t3035066
Click to expand...
Click to collapse
Thank you so much! I think it'll help me solve the problem :good:
After long brake I decided to flash stock, after I got problems with lineage.
Flashtool downloaded and prepared necessary files and flashed successfully firmware. (as you said it should :good: )
Next when I reboot, got bootloop.
Tried Xperia companion, it said that my phone is unlocked and it won't proceed
So tired flash twrp from NeoArians lineageos17 thread using fastboot flash recovery
Nothing and reboot to stock with bootloop
Tried to boot in twrp using command fastboot boot
Black screen and force shutdown
Tried to flash another firmware branded for my country
Again bootloop
Maybe there is another ftf which I should flash, not that one from xperifirm?
Hmh I'm run out of ideas, please help me.
Summary What I have:
-Xperia Z3 Compact with not working camera and flashed stock firmware.
-Bootloop
-ta partition backup
-working flashtool, xperifirm and Xperia companion
-Adb and fastboot
If you know what I did wrong, please tell me. I'd be very grateful if someone help me
BigBrother84 said:
After long brake I decided to flash stock, after I got problems with lineage.
Flashtool downloaded and prepared necessary files and flashed successfully firmware. (as you said it should :good: )
Next when I reboot, got bootloop.
Tried Xperia companion, it said that my phone is unlocked and it won't proceed
So tired flash twrp from NeoArians lineageos17 thread using fastboot flash recovery
Nothing and reboot to stock with bootloop
Tried to boot in twrp using command fastboot boot
Black screen and force shutdown
Tried to flash another firmware branded for my country
Again bootloop
Maybe there is another ftf which I should flash, not that one from xperifirm?
Hmh I'm run out of ideas, please help me.
Summary What I have:
-Xperia Z3 Compact with not working camera and flashed stock firmware.
-Bootloop
-ta partition backup
-working flashtool, xperifirm and Xperia companion
-Adb and fastboot
If you know what I did wrong, please tell me. I'd be very grateful if someone help me
Click to expand...
Click to collapse
For every bootloop of sony device use Emma (flashtool from sony). It's cure for everything.
EDIT: it will of course delete everything from a device.
Yes! It helped for bootloop! Tank you, checked camera and now I know 100% it is hardware problem!
Thank you :highfive:

Custom Roms do not work on my phone. Can I repair my phone using TWRP?

I rooted my phone 2 weeks ago. While backing up and restoring Dem keys, I broke something I don't kno. Now every custom rom I install boots and gets stuck at Phone is starting and then reboots. Tried LOS 16, 17.1 and Pixel experience rom. But result is the same. Sony firmware boots perfectly, Twrp works, but custom roms don't.
Is it possible to wipe everything , all partitions and repair them using TWRP? I kno that option exists in Twrp and I have drm keys backed up. But woud that solve the problem I face with custom roms?
GOrMHATRe said:
But result is the same. Sony firmware boots perfectly, Twrp works, but custom roms don't.
Click to expand...
Click to collapse
Are you missing a step in the instructions, like flashing the boot.img for the roms you're trying to install?
GOrMHATRe said:
Is it possible to wipe everything , all partitions and repair them using TWRP? I kno that option exists in Twrp and I have drm keys backed up. But woud that solve the problem I face with custom roms?
Click to expand...
Click to collapse
To start over use the Flashtool, Newflasher, or even PC Companion. There is even Sony EMMA when something really messes up.
SXUsr said:
Are you missing a step in the instructions, like flashing the boot.img for the roms you're trying to install?
To start over use the Flashtool, Newflasher, or even PC Companion. There is even Sony EMMA when something really messes up.
Click to expand...
Click to collapse
Boot.img is part of rom zip file. With all 3 roms I tried, there was no instruction to flash boot separately. It's always flash recovery and then flash rom using recovery.
I have already use flashtool and newflasher. That's how I rooted my phone. Both of them are successful in flashing stock sony firmware. But the custom roms are in zip file. Don't kno of its possible to flash those using flashtool.
GOrMHATRe said:
Boot.img is part of rom zip file. With all 3 roms I tried, there was no instruction to flash boot separately. It's always flash recovery and then flash rom using recovery.
Click to expand...
Click to collapse
Steps :
Remove your screen lock (set it to swipe up or none) and remove all your fingerprints registered.
Download the zip above and extract the boot, system and vendor images
Make sure you have Android 10 TWRP as mentioned above with link
Go to recovery > wipe and wipe system, cache and data nothing else.
Then go to install and flash boot.img as boot image, system.img as system image and vendor.img as vendor image.
Click to expand...
Click to collapse
- [ROM] Pixel Experience 10.0 Plus
Always extract the boot.img and flash it with fastboot. If there is no instructions then still do it.
SXUsr said:
- [ROM] Pixel Experience 10.0 Plus
Always extract the boot.img and flash it with fastboot. If there is no instructions then still do it.
Click to expand...
Click to collapse
Latest file of PE rom is in zip format. Boot.img is in zip . But vendor and system are not img files.
GOrMHATRe said:
Latest file of PE rom is in zip format. Boot.img is in zip . But vendor and system are not img files.
Click to expand...
Click to collapse
Then extract the boot.img and flash it using fastboot, along with TWRP, then flash the rom. That should work flashing any custom rom.
SXUsr said:
Then extract the boot.img and flash it using fastboot, along with TWRP, then flash the rom. That should work flashing any custom rom.
Click to expand...
Click to collapse
I tried this but the result was same. Rom boots upto the lock screen. Then when I swipe it shows: phone is starting and goes into bootloop. I even tried an older version of PE Rom whic contain s only img files but again same result.
You kno initially, after I unlocked the bootloader I just installed stock rom and installed LOS on top of it as per guide. It worked well. I coud go into menu and see apps.
But I panicked that I had forgotten to restore drm keys. Instead of first checking camera, I went back and restored the Ta partition and repeated the steps after it upto installation of rom and since then I have faced problems . Restoring ta partition and flashing stock rom after it is where I have made a mistake and broken something. Can this be fixed with twrp. I kno there are options in twrp to format & repair partitions. Coud that help to repair what ever that was broken?
GOrMHATRe said:
Coud that help to repair what ever that was broken?
Click to expand...
Click to collapse
No more than the Flashtool, Newflasher or PC Companion, so I wouldn't even consider using TWRP. Check your service menu for the status of your DRM keys, flashing them is a one time process so if they have been successfully restored there is no need to flash them again.
Use Sonys Flashtool to repair, and start over. If you're still having issues, then user error is at play here. What command in fastboot did you use to flash the kernel?
SXUsr said:
No more than the Flashtool, Newflasher or PC Companion, so I wouldn't even consider using TWRP. Check your service menu for the status of your DRM keys, flashing them is a one time process so if they have been successfully restored there is no need to flash them again.
Use Sonys Flashtool to repair, and start over. If you're still having issues, then user error is at play here. What command in fastboot did you use to flash the kernel?
Click to expand...
Click to collapse
Which kernel are you speaking about? I had backed up Ta image using renoroot exploit and restored it using:
adb pull /data/local//tmp/TA-unlocked.img
adb push TA-locked.img /data/local/tmp
Then in window with temp root prompt:
cd /data/local/tmp
de if=TA-locked.img of=/dev/block/bootdevice/by-name/TA
sync
sync
Reboot phone
But actually, when I checked my phone just now and that tmp directory seems empty. So, does that mean TA didn't get restored properly? Is that why I am facing problems? Stock roms seem to be working fine.
As for sony's own flashtool, I have it installed. But thought it doesn't offer any different functionality than newflasher or old flashtool? Woud sony flashtool help me go back to square 1 and make my phone as it was before rooting so that I can do everything again properly?
GOrMHATRe said:
Which kernel are you speaking about?
Click to expand...
Click to collapse
The kernel of the rom. Check your service menu for drm status.
SXUsr said:
The kernel of the rom. Check your service menu for drm status.
Click to expand...
Click to collapse
The keys are there. The rooting status is shown not done because I have used that hide root unlock patch after going back to stock rom.
GOrMHATRe said:
The keys are there. The rooting status is shown not done because I have used that hide root unlock patch after going back to stock rom.
Click to expand...
Click to collapse
So, now forget your drm keys for a minute, and do the following.
1. Use Sonys flashtool to reset your phone. Make sure you've backed up what you need to.
2. Using fastboot, flash both the kernel of whatever rom you wish to use, and TWRP.
3. Following the instructions of the rom you want to flash, install the rom using twrp. You may want to read them first to ensure you're using the required stock firmware that you will be flashing over.
Have you tried NOT restoring TA partition? It isn't needed with custom ROMs (as far as I know).
SXUsr said:
So, now forget your drm keys for a minute, and do the following.
1. Use Sonys flashtool to reset your phone. Make sure you've backed up what you need to.
2. Using fastboot, flash both the kernel of whatever rom you wish to use, and TWRP.
3. Following the instructions of the rom you want to flash, install the rom using twrp. You may want to read them first to ensure you're using the required stock firmware that you will be flashing over.
Click to expand...
Click to collapse
I will try this but after some time. I have experimented on my phone a lot in recently. Need it to be stable for work for some time now. My secondary phone is not setup to work with gmail etc. Thanks for all the advice you have provided though.
On another note, now that Android 11 is out, do you think we will get a rom based on it for Xz1 compact? I even had a thought of skipping 10 and going for 11 based rom.
thefelineofaveb said:
Have you tried NOT restoring TA partition? It isn't needed with custom ROMs (as far as I know).
Click to expand...
Click to collapse
I have not touched drm keys after I backed up and restored them for the 1st time.

Categories

Resources