yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
Are you in the same folder of your TABackup img?
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
this is within the folder as the TAbackup image folder yes
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
So your file is not named as mine, or you make some mistake in your command line

Take a screen with you terminal prompt with the command line and the folder
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
I'm not in my other windows install right now (for some reason ADB will not work under my win 10 install at all) but I can grab a screenshot in a little bit, that aside I typed it out and copied and pasted it, neither seemed to be any different so I'm confident that I did get it right the first time, there's a chance that the file name is a bit off, I will get this confirmed shortly, many thanks

---------- Post added at 05:08 PM ---------- Previous post was at 04:22 PM ----------

here's the screenshot of the command line stuff: not sure really where I'm going wrong, I also renamed the file for the TA backup to a carbon copy of the one from the guide and that didn't make any changes to the result either.
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
I can't see the content of your folder
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
ahh right, I'll see if I can get it working then on the image front, not sure why it's not showing for you.
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
here's the CMD window with a second one to show that the device is in recovery as per instructions above

View attachment 4103258
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
You already send me this one. Send me the content of your folder please
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
ohh right, sorry about that. View attachment 4103287
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
Here you are, this is the file that it is coming from, the CMD is coming from this file also
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
Please edit your post and avoid multiple post. That sound weird. It could be useless but you could try it but without the admin privileges
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
Hello, I have tried with and without the admin privileges and unfortunately with or without makes no difference to the response i get from CMD.

---------- Post added at 07:48 PM ---------- Previous post was at 06:51 PM ----------

right, seems I am just an idiot, the file name was set to TAbackup.img.img, apologies for having intruded into your time.
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
Oh, you just forgot to activate the display of the extensions... Glad to hear it's okay now ;)
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
that's correct, was a fresh install and i forgot to turn that on
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
so, now I am faced with a bigger problem, all that went through, bootloader is now locked and what have you but I am left unable to create the FTF file via flashtool, until i can get this made I essentially have a brick, will turn on for 5 seconds, complain about verification and then shut down after the 5 seconds, till i can get an FTF made i have no phone, yay, the flashtool bundler just crashes the moment you clock create, i may be in a bit of a hole here XD
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
Woaw, I didn't understand the whole thing. What's the real problem? Bootloader lock is normal after restoring the TA partition. Did you follow strictly the guide? Saying to flash the Stock ROM you want, with Flashtool, just after the restore of TA partition?
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
right so essentially everything involving the TA partition went fine, phone doesn't boot anymore which was expected as i was running a modified rom, however, i can't flash a stock rom via flashtool as it won't make the FTF file to flash, when i download the files through xperifirm they need to be made into an FTF file from what i've read, following guides for that to the letter the bundler thing within flashtool will just stop responding and eventually the entire flashtool will just close, I have tried this with various different firmwares for my device and even across two separate PCs and the same happens on both
[Sony Xperia XZ Guides, News, & Discussion] X-Edion:
thank
[Sony Xperia XZ Guides, News, & Discussion] breakwaterr:
Hello,

I am having a hard time installing the s1boot drivers because whenever I try to install the fastboot drivers through Flashtool, it gives me an error saying installation failed. I was on nougat originally and flashed back to MM to backup the TA which I did. Any solutions to fix this?
[Sony Xperia XZ Guides, News, & Discussion] _mow_:
This worked for me (assuming you are using Windows 10):

1) Turn of driver verification : Advanced Boot -> Troubleshoot -> Advanced Options -> Startup Settings -> Restart ->Choose "Disable driver signature enforcement"

2) Download the andoid_winusb.inf file from Sony (from the Page where i got your bl unlock code)

3) Install the Android SDK

4) Install Google USB Driver using the Android SDK

5) Go to the folder where Android SDK installed the USB Driver -> replace the android_winusb.inf file with the one you downloaded from Sony

6) Connect your Phone in Fastboot Mode. Go to System Settings /System /Drivers -> Choose your Phone -> Select install Driver manually (or something like that...)-> manually choose the Folder containing the modified Google USB Driver.

Alternatively just use GNU/Linux.
[Sony Xperia XZ Guides, News, & Discussion] bzlmdfk:
Is possible to relock bootloader and still have root and custom rom?
[Sony Xperia XZ Guides, News, & Discussion] black-hanekawa:
unfortuantely this is not possible, this is how i bricked my phone so i'd say do not try this under any circumstance unless you want a paperweight
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
Locked bootloader is equal to STOCK ROM with no root, period.
[Sony Xperia XZ Guides, News, & Discussion] Citadis:
Hey there, just bought a new XZ and I have a few questions before starting to root the device.

My phone is on Marshmallow with FW 39.0.A.3.30. Do I need to downgrade to 39.0.A.1.250 to use the TA backup tool or is my current FW fine? I guess I am fine but I just wanted to confirm.

I also am a bit confused on what to do if new stock firmwares are offered by Sony in the future. What I am sure about so far is that I have to wait for a compatible version of AndroPlus kernel before upgrading and install this kernel after the upgrade/flash (correct me if I am wrong). For the rest, I am a bit lost: can I perform a regular OTA upgrade without breaking/bricking everything or do I have to go through XperiFirm & FlashTool to install the new firmware? If the former, will my phone still be rooted? If the latter, will it be a brand new install that will erase everything, apps and data, or will it do a seamless upgrade? (edit: found out posts #26 and #53 that answer some of the questions)

One last question: do I have to reinstall TWRP every time I upgrade/flash a ROM? I initially thought not but the "Notes about Sony devices" on TWRP's website makes me doubt.
[Sony Xperia XZ Guides, News, & Discussion] bzlmdfk:
If you rotted phone forgot OTA upgrades. You must install updates via recovery or flashtool but only custom roms or pre rooted. I do it backup ta from latest MM updated to N them root. Everything is fine. When you flash new rom TWRP still be on board. Sorry for my English.

Wysłane z mojego F8331 przy użyciu Tapatalka
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
read my [Guide] for answers
[Sony Xperia XZ Guides, News, & Discussion] Citadis:
I could backup my TA and root my phone successfully, thanks guys! :)

Encountered a small issue with Flashtool when flashing Nougat (the same error as described in github.com/Androxyde/Flashtool/issues/47 ) but it fixed itself on second try.
[Sony Xperia XZ Guides, News, & Discussion] amjad_2020:
i am flashing the FW release : 39.0.A.1.213 in first i set for 10 mints then start

thank you so much everything working grate
[Sony Xperia XZ Guides, News, & Discussion] ibrahimwrites:
how did you fix this error? i have the xperia xz f8332 mm 6.0.1 stuck on the Sony logo screen after flashing the kernel. what version should i use for my device please
[Sony Xperia XZ Guides, News, & Discussion] ibrahimwrites:
[MENTION=4825559]nathan30[/MENTION]

Bro thanks so much for your effort and time. really appreciate your work.

was on N7.0 downgraded to MM6.0.1 (didn't back you TA before downgrading but its fine :) )

my problem now is to install kernel, twrp, root and xpose my F8332 dual sim device

after installing kernel (XZ_AndroPlusKernel_v22), my device wont boot pass the Sony logo screen have tried several times just end up getting same result. it only finish booting when Flash the TFT all over again.

what can i do to fix this? waiting for your response before trying anything else

thanks
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
Please don't do multiple post.

You have to flash the kernel under Nougat (i've updated the #1, it wasn't clear enough as I can see) and not under MM
[Sony Xperia XZ Guides, News, & Discussion] munificent:
I am trying to get going on rooting my phone and I am running into immense difficulties getting the 39.0.A.1.250 firmware from any source. Right now, on Xperifirm, there is only ONE firmware that fits that code. I have downloaded it and flashtool as said it has unpacked it and all is well.

But all is not well.

Flashtool gives me an Error: Null

OK, fair enough. I hunted the internet and found another firmware of that code. Downloaded it, but it says 'Flash script not found' or equivalent message before telling me that flash scripts are a prerequisite and thus it quite out and does nothing.

I am running Win 10 here, in case that matters.

I would really like to get this sorted as the stock firmware is breaking a whole bunch of app moves I try to make, crippling my phone, so unlocking and using more powerful tools is the only route open to me.

Is there a resource I'm missing here? I would have thought a MM firmware for the XZ would have been easy to get, but I am drawing a blank. Everyone just has the latest firmware, which (according to this guide) is no good for me.

Many thanks for any and all pointers.
[Sony Xperia XZ Guides, News, & Discussion] ibrahimwrites:
thanks for your response, got it working now.

turned out i had the wrong version for 6.0.1 had to download and flash XZ_AndroPlusKernel_v04 since i was on 6.0.1 already done with the rooting as well.

where can i get the xposed version for mm, a link will be appreciated.

thanks again bro
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
I didn't install it, so I can't get you advices about it. Make some research by yourself :)
[Sony Xperia XZ Guides, News, & Discussion] ibrahimwrites:
Had same problem for a long time, what you should do is firstly uninstall your current flash tool, delete flashtool from drive c: , also .flashtool in you windows user account, and from temp folder too found in appdata.

then download the latest flash tool and install it ( don't forget to install the flashtool-driver in C:\Flashtool\drivers)

next lunch Flashtool and click XperiFirm within the Flashtool because it will create all the files needed for your device to work well automatically

choose the Commercial version (see picture attached)

after download you will be prompted if to add the FSC script, click yes

after the entire process the file created will be located in C:\Users\youraccountname\.flashTool\firmwares repeate the flash process that should do it.
[Sony Xperia XZ Guides, News, & Discussion] M4zinkaiser:
Hi all,

I followed the guide to upgrade my italian xperia xz with old fw6 due a TIM brand to the much better no brand version with fw7.1.1 but I did a mistake... I have unfortunately enabled the 'myxperia' software during the first wizard :( I didn't read that damend name so I didn't get was that until I received the mail on my gmail account :(

what are the concequences now? I can't ever upgrade again? I didn't get the warn:

'BE CAREFUL and, from now on, NEVER EVER enable the MyXperia software. It could hard brick your phone'

please, let me know because after having updated to that stock firmware I lost root and recovery for what I can understand... can I reinstall again in the same way? or I risk for an hard brick?

thank you.
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
MyXperia and upgrade/downgrade are independent - with unlockesd bootloader you use Flashtool and ~grade whatever you like.

If your phone is working now you are obviously not hard bricked.

Disable MyXperia and root as described in my [Guide] or in this thread.
[Sony Xperia XZ Guides, News, & Discussion] M4zinkaiser:
Thank you for this, ok clear and good to heard :) yes I have disabled now and Sony keeps spamming me about to enable it again on the status bar... bah these bloatware;

Following both of your and this guide I don't understand a think... now with the 7.1.1 stock I don't have the androplus kernel and the TWRP recovery... I tried again the command to flash them but I get a write failure from the shell, I have to reunlock again the bootloader?! Of course also the SU are missing...

how can I understand if the TA partition is correctly replaced? there is a command from adb usefull to check that? I took some photos and looks good but I want to be sure.
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
I do not know if the latest Androplus kernel works with 7.1. Try it and educate us. EDIT: The latest should do according to AndroPlus.

To quote my guide: "these commands emit useful info ..."

Modifying a SONY device ONLY works with unlocked bootloader. Follow the links in my guide if you are interested in the background of this.

In the service menu (again: read my guide) there is a menu service tests->security that shows "FIDO_keys provisioned" if you successfully restored (and locked the bootloader BTW) your TA.
[Sony Xperia XZ Guides, News, & Discussion] aliud:
Hi everybody, i have a little problem: i'h follow the guide, but when i reboot my XZ in fastboot mode with blue led on, anything happen. With the phone switched on, when i give the command "fastboot devices" anything happen, but when i give the command "adb devices" it shows my device, but this won't happen when it is turned off. Can somebody help me? Thanks
[Sony Xperia XZ Guides, News, & Discussion] haruhinoshana:
my xperia is under warranty sir.... if i unlock my bootloader then i need to back it to the shop they will check the unlocked bootloader?
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
no need to check: you get an ugly warning ("Device can't be trusted anymore") each time you boot it up
[Sony Xperia XZ Guides, News, & Discussion] koossmatrooz:
Will that do for the F8331 aswell?? Because i got the same exact problem with the Equadorian version (.250) one. Can't install keeps on giving errors. I'm still stuck, with the flashtool, even installed a Windows 7 on another pc to try, no results. I'm at the point of giving up....:silly::eek:
[Sony Xperia XZ Guides, News, & Discussion] munificent:
To follow up from my original post, this is **really** not going well for me. I have followed ibrahimwrite's advice, and got further than the last time, but now I have tried flashing two firmwares:

Movistar EC 39.0.A.1.250 / R4B

Commercial and Journalists (1305-9061) 39.0.A.1.213 / R3B

In both instances, I got a dialogue saying that Android was updating 2 applications before receiving the message:

Unfortunately, android.process.acore has stopped.

The phone then goes into a boot loop. I have used the Power + Vol Up trick to power down the handset but now I am (to use the technical term) in deep *&^%.

Do I need to select any special files when flashing the phone? This seems like it is horrendously complicated. I would appreciate any assistance that can be given as I now have a pretty urgent need to get my phone back!
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
If you want to send it to repair for any reasons you have to restore TA partition and relock bootloader.
[Sony Xperia XZ Guides, News, & Discussion] M4zinkaiser:
Hi again guys, I have spent some times on this procedure and achieving the root using latest xperia xz firmware 7.1.1 (version .199) with AndroPlus v23 and TWRP 3.0.2.4 was a success.. the only part missing or where I don't understand is how to have back also my DRM keys without screwing all the stuff there... beecause if I follow the last part of the guide with:

If it's okay, let's run this command now : adb push TAbackup.img /data/local/tmp/TAbackup.img

Then run this one : adb shell dd if=/data/local/tmp/TAbackup.img of=/dev/block/bootdevice/by-name/TA

Then I corrupt somehow the rom and the device won't boot anymore, with a bad error message about a 'signature failing, your device will not boot' anymore... I had to reflash using flashtool the stock .199 rom to have again the fw7.1.1 with bootloader locked and my FIDO keys there (checked by service test, like previously suggested).

What I'm missing? It's not possible to restore the TA partition with the keys to avoid camera quality lost with unlocked bootloader device? I don't want to had a compromised with some kinds of fixes done by the kernel :(
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
You can't have a root ROM with a stock TA partition. You just can have the DRM fix offer by kernel like Andro Plus
[Sony Xperia XZ Guides, News, & Discussion] M4zinkaiser:
:eek: thank you... totally missed this information
[Sony Xperia XZ Guides, News, & Discussion] Smacksmack206:
phone goes from fastboot (bluelight) to flash mode (greenlight) and i cant use a fastboot command, it keeps saying waiting for device. my flashtool works, and ADB works. i tried checking device manager but im having a hard time, all im trying to do is reflash twrp as i just downgraded from 7.1.1 to 6.0 for xposed

---------- Post added at 06:47 AM ---------- Previous post was at 06:30 AM ----------

never mind i fixed it by going to device manager and finding s1 fastboot and choosing update driver, choose driver location, then hitting pick from list and choosing Sony sa0107 or one of those
[Sony Xperia XZ Guides, News, & Discussion] SantinoInc:
Lol, that was an awesome post! It was funny and insightful!
[Sony Xperia XZ Guides, News, & Discussion] macaulay mcculkin:
Can someone help me out please? Don't know where else to ask.

First of all thank you and DGHE for both of your guides. By following them i managed to back up my TA, flash custom kernel and recovery, got root access, and learned a lot overall so thank you for that. The only thing I still can't do is flash custom rom. I tried three of them and it always ends up with some troubles. It's almost like every rom I tried was just half installed. Let me explain.

RomAur - Looks like everything went well, no mistakes during installation, RomAur v5 in the build number, SuperSU is installed. But the clock supposed to be in the middle of the notification bar and it's still in the corner, no RomControl app, everything lags and stutters (even switching between home screens) and occasional FCs. Impossible to use if you don't want to punish yourself for all of your sins.

eXistenZ - Again everything looks ok, eXistenZ in the build number, all UI adjustments are here, but again everything lags and occasional FCs.

Duality - That one is probably the best (if I can say that). No lags, no FCs, bloatware is gone, Magisk is installed, everything works fine like I'm still on the stock rom. However in the build number is still stock firmware, but that's probably not an issue right? The only minus is battery life. It's not affected at all. Battery drains exactly like on the stock. But that was the whole point!

I followed instructions in rom threads and in this guide step by step except for one thing. Flashtool. I couldn't make that f***ing thing work with settings from the screenshot in OP. It always gave me an error. To make it work I had to check all boxes in the Wipe Sin section only and rename fcs script from 39 to 41 (to flash Nougat). Was that wrong? Anyway that's my only guess because it's the only time I didn't follow instructions. I tried to change TWRP version - same result. Really don't know what I'm doing wrong. Any help would be appreciated.
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
Interesting read on RomAur.

eXistenZ is beautified stock with another kernel. The battery drain should be like that. I am always in "stamina" mode and get days of usage with my usage pattern.

Flashtool: you do not tell us what error messages, what version of Flashtool, what OS you are on...

You need > 5 GBytes of free disk space. You flash SONY images with this tool.

It has no very detailed progress meter and flashing system can take 10+ minutes - be patient.

It needs admin/root rights because it is fiddling with the USB attached partitions of your phone.

Wipe is good if you are changing ROM bases e.g. RomAur to stock. Upgrading SONY Roms I normally do not wipe at all.

I use the latest TWRP: 3.1 directly from TWRP-site

Although prior versions worked fine too. Why do you mention TWRP and Flashtool in one paragraph?

Flashtool will write over your recovery partition (no more TWRP; you have to flash it again per fastboot).

For a clean start over I would do a full wipe in TWRP and then flash the latest SONY ROM with the wipe boxes checked in Flashtool. Then let it settle a day and a few power cycles before modifying that setup.
[Sony Xperia XZ Guides, News, & Discussion] macaulay mcculkin:
I think you misread that part about battery drain. I was talking about Duality Rom. Whole point of it is long battery life, so when it drains exactly like stock, I guess something went wrong.

I'm on Windows 7. I use latest 0.9.23.2 version of Flashtool. The error it gave me was ERROR - null. Error flashing. Aborted. And another one about fcs script but I've found the solution.

And one more strange thing. When i flash ftf I suppose to plug my phone in only when Flashtool had prepared files for flashing. But when I do that it still gives me that error (null). The only way to avoid that (that I know of) is to plug my phone in before preparing files. Then flashing just starts.

I mentioned TWRP and Flashtool in one paragraph because it was hard for me to get Flashtool to work, however it seems like it's doing its job. Problems appear only when I'm trying to flash rom using TWRP. So I don't know which one of them is causing troubles. I use the latest TWRP 3.1.0.

Thank you for advice. I didn't know that it needed some time to settle. I'll try that next.

One more question. Do I need to check anything in the Misc TA boxes in Flashtool when flashing latest Sony Rom?

Thanks again for the reply.
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
Yeah I think that the claims for Duality Rom are gross - nice to read my thinking is not unreasonable.

You do not check anything in the misc TA boxes.

"Error Null" could also come from an old JRE (Java Runtime). Get the latest from the Oracle website.
[Sony Xperia XZ Guides, News, & Discussion] Lucaviola:
Please help me with screenshot of *#*#7378423#*#* then service test then security. I want to know if XZ Dual still have proper TA, what informed by the screenshot. Thank you in advance.
[Sony Xperia XZ Guides, News, & Discussion] josephnero:
Anyone knows why latest flashtool always fails to flash ftf?just got the XZ and now it's bricked
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
your error descriptions and the output you quote don't ring a bell here ...

I copied 39.fsc to 41.fsc to flash the latest ROM.
[Sony Xperia XZ Guides, News, & Discussion] koekoek91:
Can you provide more details about what happened exactly and what the current situation of your phone is?