[SOLVED] How can I get the stock boot image flashable with fasboot? - Sony Xperia XA2 Questions & Answers

I messed up my boot partition on "A" slot where the stock ROM is still installed and now I cannot boot it, but I want to test if some issues persist with stock android.

perennial said:
I messed up my boot partition on "A" slot where the stock ROM is still installed and now I cannot boot it, but I want to test if some issues persist with stock android.
Click to expand...
Click to collapse
I've done it with Flashtool. You can download ftf with xperifirm, then copy kernel sin file somewhere and use sin editor function in Flashtool to dump it into img., (or just flash the firmware, checking every box in the 'exclude' section except for the boot files).

levone1 said:
I've done it with Flashtool. You can download ftf with xperifirm, then copy kernel sin file somewhere and use sin editor function in Flashtool to dump it into img.
Click to expand...
Click to collapse
That doesn't work. Flashtool says "sin version not yet supported".
levone1 said:
(or just flash the firmware, checking every box in the 'exclude' section except for the boot files).
Click to expand...
Click to collapse
That didn't work for me either, the phone did not boot. I had to flash the whole stock firmware.

Try to fix it with Xperia Companion
Sent from my H3113 using Tapatalk

Related

[Q] Flash Stock without Flashtool ?

Hi i have a UK Xplay r800i
I want to Flash the latest Stock rom and Doomlords Kernel.
Is there any way to do this without access to flash tool ?
I have Mac and Linux Machines only, My Linux box is all set up with ADB so is my prefered option
You need to use Windows, sadly. However, you can run a virtual machine on Linux. These instructions were meant for Ubuntu, but you can use them on any Linux distribution.
http://forum.xda-developers.com/showthread.php?t=1308862
I do not have a windows disc so unfortunately no go
You could open the flashtool file for the firmware you want using winrar and extract the system.sin file from it.
Then flash the system.sin using fastboot enter
fastboot flash system system.sin
Then just flash doomskernel in fastboot and your good to go
216Monster said:
You could open the flashtool file for the firmware you want using winrar and extract the system.sin file from it.
Then flash the system.sin using fastboot enter
fastboot flash system system.sin
Then just flash doomskernel in fastboot and your good to go
Click to expand...
Click to collapse
WORKED!
Thankyou
lordjubblydave said:
WORKED!
Thankyou
Click to expand...
Click to collapse
Thats not a good idea, updating that way leaves you with an older baseband, although you have updated the /system/ partition, you now have an old radio for the F/W you are using, this will lead to incompatibilities and bugs, if your radio was from 2.3.3 720p video recording may not work.
Your correct, the camera does not work at all.
Any suggestions ?
You can't even relock bootloader and use ota without flashtool so i'm stumped.
Sent from my R800i using Tapatalk
Sorry to lead you through all that for nothing. Its just a quick way to get a different system on my phone. I dont have to worry about baseband problems, sorry for wastin your time!
I used to flash Radio seperately all the time, back in the Day on my G1.
can the radio not be flashed seperately in the same way as i flashed the kernel and system ?
because apart from the camera not working my phone is working perfectly as it should
lordjubblydave said:
I used to flash Radio seperately all the time, back in the Day on my G1.
can the radio not be flashed seperately in the same way as i flashed the kernel and system ?
because apart from the camera not working my phone is working perfectly as it should
Click to expand...
Click to collapse
I know of no way to flash baseband seperately, that dosent mean it can't be done, in theory any partition can be flashed from fastboot, but you would need to know the partition radio is on and you would need a baseband.sin/.img. the only people here with that kind of know how are binary, blagus and doomlord, maybe you should pm one and ask
Sent from my R800i using Tapatalk
Hmm, weirdly, the camera is working fine now.

play not working after unlocking bootloader.

I unlocked my boot loader the way it shows you on sonyericsson site, now my phone wont work it gets to the sony ericsson then stops. anyone no whats happened?
Adam1986 said:
I unlocked my boot loader the way it shows you on sonyericsson site, now my phone wont work it gets to the sony ericsson then stops. anyone no whats happened?
Click to expand...
Click to collapse
did u flash any rom or kernel??
all i did was root my play using the one click method a wile ago, and was using v6 supercharger, so decided to unlock boot loader how it shows you on sony site, im kind of new to all this, i wanted to try a new rom but i needed to unlock boot loader, now its just stuck at 2nd sony ericsson start up screen.
Adam1986 said:
all i did was root my play using the one click method a wile ago, and was using v6 supercharger, so decided to unlock boot loader how it shows you on sony site, im kind of new to all this, i wanted to try a new rom but i needed to unlock boot loader, now its just stuck at 2nd sony ericsson start up screen.
Click to expand...
Click to collapse
unlock bootloader cant cause like that, maybe something else.. try to flash your firmware back using flashtool..
Does anyone no whats happened? please help ha also was gona try installing doomlords kernel but when i try to unzip the file it says its not a valid archive, is it not a zip file?
Adam1986 said:
Does anyone no whats happened? please help ha also was gona try installing doomlords kernel but when i try to unzip the file it says its not a valid archive, is it not a zip file?
Click to expand...
Click to collapse
as i said.. flash back your stock rom via flashtool.. it should solve your problem..
for doomkernel.. its a .img file that u need to flash it using fastboot
thanks for helping, where can i find the flash tool? what software do i use to unpack doomlords kernel? thanks again for any help.
Adam1986 said:
thanks for helping, where can i find the flash tool? what software do i use to unpack doomlords kernel? thanks again for any help.
Click to expand...
Click to collapse
Flashtool:
http://androxyde.github.com/
what software do i use to unpack doomlords kernel?:
It is usually a .IMG file that you flash using Fastboot.exe (there's many guide in the forums on this, just have a search around)
how do i flash back to stock rom, ive installed flashtool, now do i need to download another rom? also i still cant find anything on how to unpack doomlords kernel :/ sorry for all questions im just a noob ha.
Adam1986 said:
how do i flash back to stock rom, ive installed flashtool, now do i need to download another rom? also i still cant find anything on how to unpack doomlords kernel :/ sorry for all questions im just a noob ha.
Click to expand...
Click to collapse
You don't unpack the kernel. Search the development forum for the correct .ftf file that corresponds to your phone model.
Then, find a guide to using fastboot. That will tell you how to use the kernel.
Sent from my R800x using XDA
Adam1986 said:
how do i flash back to stock rom, ive installed flashtool, now do i need to download another rom? also i still cant find anything on how to unpack doomlords kernel :/ sorry for all questions im just a noob ha.
Click to expand...
Click to collapse
flash this stock rom http://www.mediafire.com/?69i1wwhlvzf18f8
then place it in firmware folder in flashtool.. then flash it(turn off phone, hold the back button n connect to pc via usb.. led turn green.)
flash this kernel (.img file) via fastboot http://forum.xda-developers.com/showthread.php?t=1176502&page=216
put boot.img file in the fastboot folder.
fastboot download - http://www.mediafire.com/?ea6l1lab1tl0ah3
open fastboot folder, press shift+right click.. then click ' open command window here ' then..turn phone off, hold the search button(blue led)
type this in the command window - fastboot flash boot boot.img
turn on phone.. n thats it
p/s : u need to flash doomkernel wifi module in cwm.. gud luck
Thanks

processing loader.sin error! Urgent help needed!

I got into a bootloop recently due to unlocking my bootloader. I was really worried, so I installed CWM using fastboot on my phone.Then the bootloop also stopped,only the sony logo appears for a small time and then the phone goes black out.I can still boot into recovery.
I came to know that flashing using stock ftf will solve my problem, but now on flashing it gives the error that processing loader.sin completed with errors and then the flashing aborts. Please anybody help me!:crying: I have the latest version of flashtool and have downloaded C1905 15.1.A.1.9 global ftf.
You can try using Emma (a Sony restoration tool) to restore the latest firmware.
Alternatively you can boot to recovery, mount sd card(make sure all pc drivers are installed), download a custom rom like cm/aosp or stock rom (not the ftf but zip), load it to the sd card and then install that via recovery.
Will emma work on unlocked bootloader phones(like mine)? Where can I get stock rom in zip format?
cooldudeachyut said:
Will emma work on unlocked bootloader phones(like mine)? Where can I get stock rom in zip format?
Click to expand...
Click to collapse
There is no zip of stock rom. What he says is download a custom rom like cm11 and flash it then flash the ftf file again.
blaspheme000 said:
There is no zip of stock rom. What he says is download a custom rom like cm11 and flash it then flash the ftf file again.
Click to expand...
Click to collapse
Is it necessary to flash the ftf again after flashing cm11?
Until now, Flashtool not provide XM device (loader.sin). #cmiiw
But you can download the file below and put it in C:\Flashtool\Device
For XM Single: http://d-h.st/eBB
For XM Dual: http://d-h.st/hcw
Then try to flash again.
*Sorry for my bad english
siabangichsan said:
Until now, Flashtool not provide XM device (loader.sin). #cmiiw
But you can download the file below and put it in C:\Flashtool\Device
For XM Single: http://d-h.st/eBB
For XM Dual: http://d-h.st/hcw
Then try to flash again.
*Sorry for my bad english
Click to expand...
Click to collapse
I tried it, still the same error. BTW I have flashed CM11 now and I don't think that there is any need for the stock rom now............

[Q] Rooting z1 compact stock lollipop

We all have gotten a sneak peek of Sony's lollipop update onto our beloved z1 compact. Through the many ways available I for instance used an ftf file. But they do not come pre-rooted like the zip file alternatives.
The only way to root ftf I am told is to flash a kernel pre-installed with a recovery then flash SuperSU zip. I have flashed like 3 different boot.imgs only to find no TWRP/Philz/cmw recovery.
Can anyone give me a WORKING kernel that will boot into a recovery? Would really appreciate this.
Found my solution
Edit: I just found a cm11 snapshot boot.img kernel, flashed it. Booted to recovery and flashed a pre-rooted rom zip. Easy as pie.
Thanks all.
Just flash KK firmware 108, root it, install recovery latest version, and afterwards flash any customised prerooted ROM of your choice.
kokkss said:
Just flash KK firmware 108, root it, install recovery latest version, and afterwards flash any customised prerooted ROM of your choice.
Click to expand...
Click to collapse
This is too much work. Work that I have to do. It's the only way to root this ftf. damn it
It's up to you.
I've done it.
I made a pre-rooted ftf using PRF creator and compiling the SUPERSU v2.37 and Z1C locked dual recovery 2.8.12 from Nuts site.
You can use Xperifirm to download the the firmware, then use Flashtool to decrypt the fileset and create the FTF, then you're good to go.
Hello guys.Does this method works??Without unlocking the bootloader? http://techchomps.com/root-14-5-a-0-242-android-5-0-lollipop-on-sony-xperia-z1-compact/
kos25k said:
Hello guys.Does this method works??Without unlocking the bootloader? http://techchomps.com/root-14-5-a-0-242-android-5-0-lollipop-on-sony-xperia-z1-compact/
Click to expand...
Click to collapse
Hello,
No don't work. With LB, you can't flash boot.img.
So i must unlock it right??Can anyone please send me the directions on how to unlock and root?
martin091 said:
I've done it.
I made a pre-rooted ftf using PRF creator and compiling the SUPERSU v2.37 and Z1C locked dual recovery 2.8.12 from Nuts site.
You can use Xperifirm to download the the firmware, then use Flashtool to decrypt the fileset and create the FTF, then you're good to go.
Click to expand...
Click to collapse
Awesome, which version region did you use? Mind sharing?
I am almost running out of options
So after everything done can we restore TA partition and relock the bootloader?
Not sent by me!
bumjrah said:
Awesome, which version region did you use? Mind sharing?
I am almost running out of options
Click to expand...
Click to collapse
I'm from the UK but I used the "Customized US" version. It works all the same, I've put together a UK one now but I'll need to wipe data before I can use it.
I'd share if I didn't have awful internet. The file is massive, unfortunately.
You'll find multiple threads on how to do different parts.
You need to create your pre-rooted firmware, then you'll need to download KK with Xperifirm (probably .108) and flash it with Flashtool.
Root KK using Easy Root Tool and install XZDualRecovery using the desktop client.
Once you're rooted with SuperSU/SuperUser and Recovery you can install the pre-rooted firmware (PRF) as a flashable zip within Recovery itself.
There's also work arounds for Xposed which you can find too, I've used them and it's all working as it should for now.
I also have a locked bootloader, so don't worry about unlocking it. I'll have a look around for the threads I used and post any I find.
---------- Post added at 08:38 AM ---------- Previous post was at 08:24 AM ----------
Working Xposed work-around
http://forum.xda-developers.com/showpost.php?p=60298690&postcount=123?
FR pre-rooted firmware with extras (not sure on your region or if it'll work properly. Worth a try?)
http://forum.xda-developers.com/sony-xperia-z1-compact/general/14-5-0-242customizedfrpre-t3083055
PRF Creator
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
Xperifirm
http://forum.xda-developers.com/cro...xperifirm-xperia-firmware-downloader-t2834142
Flashtool
http://forum.xda-developers.com/showthread.php?t=2335555
I'll leave you to find your own SuperSU or SuperUser zip, same with XZDualRecovery as they're frequently updated so you're better off finding the latest versions.
But how can you flash 108 if you are already on 242 and you have a locked bootloader? You must unlock it first...
Not sent by me!
BlackArtsInc said:
But how can you flash 108 if you are already on 242 and you have a locked bootloader? You must unlock it first...
Not sent by me!
Click to expand...
Click to collapse
What I did is that I downgraded with Flashtool, rooted KK, and then flashed a prerooted rom through the recovery. No need to unlock the bootloader.
c6nsor9d said:
What I did is that I downgraded with Flashtool, rooted KK, and then flashed a prerooted rom through the recovery. No need to unlock the bootloader.
Click to expand...
Click to collapse
How did you downgrade really?
You just flashed the 157 FTF in flashmode? It's doable?
Not sent by me!
BlackArtsInc said:
How did you downgrade really?
You just flashed the 157 FTF in flashmode? It's doable?
Not sent by me!
Click to expand...
Click to collapse
OK, there seems to be some loss in translation somewhere. Hope this will clear up some stuff:
1. Flash KitKat (kernel, system, everything).
2. Root it.
3. Install recovery (here)
4. Since you don't want to make your own pre-rooted firmware, here. Click on 'Google Drive' for the zip, and FTF. You need both.
5. Put the zip in your SD card/internal.
6. Boot into recovery and clear all data (dalvik, system, data, everything).
7. Flash the zip. DO NOT REBOOT.
8. Shutdown and use Flashtool to flash the .ftf you downloaded. Check System and Baseband on the 'exclude' column.
9. Have fun!
@dazzerfong OK,first of all thanks for your answer. What I'm asking is how did you do the first step with locked bootloader.
Flashtool->Flashmode->KitKat 157 FTF->Then root it blah blah?
Are these steps correct or not? Im about to try today cos I really miss root on my phone.
If you are already on Lollipop and your bootloader is locked you can get root this way.
1.Download the correct KitKat (.157) ROM for your country/operator using Xperifim.
Convert it to FTF using Flashtool. (there are tutorials,search)
2.Flash the FTF you created using Flashtool's Flashmode. Include everything.
3.Root your KitKat (.157) using the forum's tutorials and also install [NUT]'s recovery.
4.Boot into recovery and flash your pre rooted ROM in flashable zip format.
(There are also tutorials on how to create this with Xperifim and PRF programs).
5.Enjoy rooted Lollipop with locked bootloader.
Not sent by me!
BlackArtsInc said:
@dazzerfong OK,first of all thanks for your answer. What I'm asking is how did you do the first step with locked bootloader.
Flashtool->Flashmode->KitKat 157 FTF->Then root it blah blah?
Not sent by me!
Click to expand...
Click to collapse
Yep! All done with locked bootloader (or, if you want, unlocked, but you're wasting your time if you're unlocked). So, first you flash the FTF of a KitKat ROM.
Rooting, use Towelroot or something. No idea why, but Towelroot refuses to play with my TWRP (recovery), so I used the old method.
@dazzerfong
One last question cos I just did all the steps but I couldnt reboot into Lollipop after flashing my pre rooted rom zip file.
6. Boot into recovery and clear all data (dalvik, system, data, everything).
7. Flash the zip. DO NOT REBOOT.
8. Shutdown and use Flashtool to flash the .ftf you downloaded.
Check System and Baseband on the 'exclude' column.
Click to expand...
Click to collapse
On step 8 which FTF you mean exactly? I assume you mean the FTF from which you created
your pre rooted zip initially? In my case the Customized GR version?
N.
BlackArtsInc said:
@dazzerfong
One last question cos I just did all the steps but I couldnt reboot into Lollipop after flashing my pre rooted rom zip file.
On step 8 which FTF you mean exactly? I assume you mean the FTF from which you created
your pre rooted zip initially? In my case the Customized GR version?
N.
Click to expand...
Click to collapse
You should have downloaded 2 things so far: the zip, and the FTF. That FTF is Lollipop stock: doesn't matter where it's from. Flash that in Flashtool, but remember to check 'System' and 'Baseband' in the 'Exclude' column.
BlackArtsInc said:
How did you downgrade really?
You just flashed the 157 FTF in flashmode? It's doable?
Not sent by me!
Click to expand...
Click to collapse
Downgrade to .108 (with flashtool) in order to directly root the phone, whereas with .157, you'll have to flash an older kernel with flashtool in order to get root.
Once rooted, just get yourself a flashable prerooted firmware (zip file) and flash it from the recovery (after a wipe factory reset; wipe data; wipe cache; wipe Davilk Cache and Wipe System).

Flashing stock ROM with locked bootloader on XA2 (H3113)

Hi guys,
Is it still possible to flash stock ROM with flashtool on locked bootloader?
I've been trying to flash Pie for several weeks now (it's not yet available in my region), by downloading the files for my phone with XperiFirm (the one launched from flashtool itself) and flashing it in flashmode. But first I get no partition delivery error and then no script found.
How can I resolve this issue?
Thanks for any info!
Try newflasher from here:
https://forum.xda-developers.com/cr...gress-newflasher-xperia-command-line-t3619426
MysticEnforcer said:
Try newflasher from here:
https://forum.xda-developers.com/cr...gress-newflasher-xperia-command-line-t3619426
Click to expand...
Click to collapse
Thanks for the suggestion. I have tried it, without success. There's no partition.zip file (or partition.ta, don't remember exactly).
I have also received an error here.
Have you tried this https://forum.xda-developers.com/showpost.php?p=79315628&postcount=993?
Create partition folder & copy partition...sin into it
MysticEnforcer said:
Have you tried this https://forum.xda-developers.com/showpost.php?p=79315628&postcount=993?
Create partition folder & copy partition...sin into it
Click to expand...
Click to collapse
this did work! thanks a lot! but I think I should have removed userdataXXX.sin file... it wiped my data, but nothing too important, and I wanted to it anyway

Categories

Resources