yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] Ermann123:
I got stuck right in the beginning with v49 on the Sony XZ2 compact

FAILCommand not supported.

newflasher v49 by Munjeni @ 2017/2020

--------------------------------------------------------

Determining available free space:

Available space to caller = 1762302 MB

Total space on current drive = 3631389 MB

Free space on drive = 1946835 MB

found device with vid:0x0fce pid:0xb00b.

Writing command: ../../.flashTool/firmwares/Downloads/H8324_Customized DE_52.1.A.3.49-R3C/

got first reply[0x19]:

00000000 46 41 49 4C 43 6F 6D 6D 61 6E 64 20 6E 6F 74 20 FAILCommand not

00000010 73 75 70 70 6F 72 74 65 64 supported

got fail reply: FAILCommand not supported

Closing device.

newflasher v49 by Munjeni @ 2017/2020

--------------------------------------------------------

Determining available free space:

Available space to caller = 1762302 MB

Total space on current drive = 3631389 MB

Free space on drive = 1946835 MB

found device with vid:0x0fce pid:0xb00b.

Writing command: ../../.flashTool/firmwares/Downloads/H8324_Customized DE_52.1.A.3.49-R3C/

got first reply[0x19]:

00000000 46 41 49 4C 43 6F 6D 6D 61 6E 64 20 6E 6F 74 20 FAILCommand not

00000010 73 75 70 70 6F 72 74 65 64 supported

got fail reply: FAILCommand not supported

Closing device.

What can I do?
[Sony Cross-Device General] munjeni:
Try version 50, double click newflasher.exe !
[Sony Cross-Device General] Cuonglla117:
Hello , i have so 01l sony xz3 with unlocked bootloader , and i have used newflasher to rebrand it to global h8416, the hardwade of two phone is the same except radio band , i got the report signature verify not ok when i flash h8416 firmware , what should i do next please 😀 ?
[Sony Cross-Device General] munjeni:
When I see newflasher log I can tell you
[Sony Cross-Device General] munjeni:
Sorry your log is not complete, I do not see what I need to see, do it this way: right click on active newflasher window, select all, copy paste text here
[Sony Cross-Device General] munjeni:
Hi, your device is SO-01L and you can't flash h8416 firmware! You need to flash SO-01L firmware
[Sony Cross-Device General] munjeni:
Guys is possible that nobody going to provide log from version 50 ?
[Sony Cross-Device General] Cuonglla117:
But i wanna to flash h8416 , i have unlocked bootloader , can u help me , thanks
[Sony Cross-Device General] munjeni:
You can't! Bootloader not allow you flash firmware from another model, every firmware is signed and protected with digital signature and certificate! I wanna flash windows 10 but I can't :)
[Sony Cross-Device General] braveheartleo:
I just finished my flashing spree on my SOV37 (after having found a ROM that fits the bill) before v50 got released, so I can't provide this atm, sorry. I hope others can help.
[Sony Cross-Device General] munjeni:
I can't make release 50 because I must see log from v50 experimental first before I put changes to the git
[Sony Cross-Device General] elukyan:
Hi! I'm used rel.50 for flashing Sony Xperia 1 III with XQ-BC72_Customized RU_61.0.A.11.23.

I've a lot of errors during the process, but flashing completed successfully.

The log attached.

Regards, Eugene
[Sony Cross-Device General] munjeni:
Thank you so much! It going to help sure but sadly log is not complete, the most important part which I need to see is io debug after command sync since sync is not happening imediatelly newflasher need to wait sync to finish but its curenly "guesed" implementation, I will realy need complete log before I make v50, anyway thanks a lot!
[Sony Cross-Device General] Cuonglla117:
Does dump trim area help ?
[Sony Cross-Device General] munjeni:
Doesn't help! Comercial devices is signed with manufacturer/company criptography key, that mean all firmwares is signed too, that mean every device model firmware have diferent signing key, that mean fw is designed per device so you can't use fw from diferent device model because signature will not mach and you ending with "incorect signature" while flashing. Ofcourse you can NOT break/crack signature and nobody can, that mean you can't change signature in firmware (ofcourse you can but it will not work :) ). Hope this help.
[Sony Cross-Device General] elukyan:
Hi! I'd reflashed the device. Full log attached.

Regards, Eugene
[Sony Cross-Device General] munjeni:
Thank you so much!
[Sony Cross-Device General] munjeni:
- version 50 (12.08.2021)

Workin progress on asynchronous usb to make it more like synchronous, added progress bar during send-receive usb packets and more logging. Increased usb timeout to 2 minute. Trying fix sync command at the end of flashing as reported here -> https://github.com/munjeni/newflasher/issues/42

My hope everything is right now :)
[Sony Cross-Device General] elukyan:
Tried to reflash Xperia 1 III with final v50.

Please check the log. There are some empty spaces)
[Sony Cross-Device General] munjeni:
Thank you! I will make v51 today, the most important thing nf is working now better
[Sony Cross-Device General] munjeni:
- version 51 (12.08.2021)

Fix empry line printed while receiving usb packets, thanks @elukyan
[Sony Cross-Device General] bbishop:
Hi everyone, first post here. Not sure if this belongs in it's own post but this is the guide I used so I figured this might be the best place.

Long story short I successfully? Flashed my phone from at52 to at51 but now Im unable to recieve texts. Outgoing works fine as does calling and data. Has any one experienced similar issues?

I'm on Verizon and have been having issues with even the tech 2... Their really aidment about having the correct IMEI, the one that's flashed isnt any good. I know others have had success with Verizon but I'm not sure how to go about all this. I've even considered going back to TMobile even though coverage isn't the greatest where Im at. I appreciate anybody with experience or advice on this manner, thank you.
[Sony Cross-Device General] munjeni:
You should not flash firmware from diferent model if you want that everything work.
[Sony Cross-Device General] i7killpii:
Hi,

Just flashed my Xperia 1 III XQ-BC72 with latest v51, now the phone is brick, showing corrupted and can't boot into system. Tried repair from Companion but got error as well.

Would be appreciated if you can look into that, log attached.

PS: Manage to fix that by reflash and setting active slot A, hope that helps anyone with similar issue.
[Sony Cross-Device General] miria-1101:
I have the same question but I've found a way to solved it. Before you use newflasher, you can try this code : fastboot --set-active=a

PS: input that code in fastboot mode (blue light)
[Sony Cross-Device General] chujunhan:
HI

I have the same problem, but fastboot shows

FAILED (remote: Slot Change is not allowed in Lock State)
[Sony Cross-Device General] i7killpii:
Try using newflasher with following command under flash mode:

newflasher set_active:a
[Sony Cross-Device General] chujunhan:
Hi

how should i use that command？

--------------------------------------------------------

newflasher.exe v51 by Munjeni @ 2017/2020

--------------------------------------------------------

Determining available free space by GetDiskFreeSpaceEx:

Available space to caller = 1735111 MB

Total space on current drive = 1907728 MB

Free space on drive = 1735111 MB

Optional step! Type 'y' and press ENTER if you need GordonGate flash driver, or type 'n' to skip.

This creates GordonGate driver installer in the same dir with newflasher.exe!

newflasher set_active:a

i've done this but when the flash is over my Xperia 1 III XQ-BC72 is still brick
[Sony Cross-Device General] i7killpii:
Type in cmd/Powershell like fastboot.

Once done reflash rom again then it should be fine.
[Sony Cross-Device General] chujunhan:
thank you！ it works！
[Sony Cross-Device General] asdf2345:
I get a "No usb device with vid:0x0fce pid:0xb00b !" when I try flashing my device.
[Sony Cross-Device General] munjeni:
If your device is older than XZ you should look for xflasher -> https://xdaforums.com/t/tool-xflasher-xperia-command-line-flasher-for-pre-2017-devices.2986634/
[Sony Cross-Device General] AndyYan:
Hello, trying to revive a friend's XA2 with this tool, the unit is bootloader-locked so I can't do much with it. I suspected corrupted userdata would be the culprit, so I'm attempting a full flash. Right now it flashes mostly everything in, but userdata fails (due to bootloader lock I assume?), and upon restart goes into splash bootloop. Can newflasher do more in this state, or in general, can I wipe userdata somehow?
[Sony Cross-Device General] munjeni:
You no need to unlock bootloader! You just need to switch to diferent slot, to do that read this page staring at post number 1889
[Sony Cross-Device General] Nimda01:
Is it ok to always forcing "set active slot a" command before flashing, or should I do it after first time flash was failed and getting a corrupt screen only?
[Sony Cross-Device General] asdf2345:
It is a XZ, but I was able to use FlashTool instead. xflasher is a bit confusing
[Sony Cross-Device General] munjeni:
Its simple, if your device not boot on slot b you should switch to slot a and reflash, and vicewersa.
[Sony Cross-Device General] SuvnilpeepsYO:
Hey dev, I tried using newflasher on my 1II, trying to flash from HK to US so I can have VOLTE. I followed steps and am getting corrupt bootloop. Xperia Companion Software Repair gives me this error:

UEGetPhoneInfoMissingInfo

XQ-AT52 3535 1321-7192 R7B 58.1.A.5.330

I've tried to change slot to a and reflashing, but that also does not work. Although I think I might have done it wrong. In newflasher window, I am typing "newflasher set_active:a"

Here's my log. I've been reading through this entire thread to see if I can help you not repeat yourself, but I think I'm too stupid to figure out what's going on, lol. Any help is appreciated. Thanks.

EDIT!!!

I followed all steps and changed the active partition to A via CMD already, but it wouldn't be able to find newflasher. Turns out I needed to restart windows with advanced startup & disable driver signatures. Then I repeated all the steps, and now it's flashed with the US firmware & no longer bootlooping. Hope this helps anyone else that isn't able to fix their phone out of the bootloop!
[Sony Cross-Device General] munjeni:
Thats not a needed to disable driver signatures. What you have missed on you phone is reboot after changing slot! Instead you have changed slot and imediatelly started flashing, thats wrong! Reboot is reguired after changing slot!
[Sony Cross-Device General] munjeni:
I realy have no idea why slot need to be chnged at all on recent phones, its seems bug in bootloader.
[Sony Cross-Device General] OR7:
Is it possible to downgrade Sony Xperia 1ii with Android 11 to Android 10 without unlocking bootloader?
[Sony Cross-Device General] munjeni:
Not because of rollback protection
[Sony Cross-Device General] dezzyle:
I tried to use newflasher to flash my Xperia 1 III XQ-BC72 but i bricked it. Looking at prvious post and it suggest me to set the active slot to A. But when I do i get this error: FAILED (remote: Slot Change is not allowed in Lock State). Someone suggested to"Type in cmd/Powershell like fastboot." but I just get this instead ERROR: Error CreateFile! failed with error code 5 as follows: Access is denied? Unless i typed it at the wrong place, but I have no idea what to do now. I am currently trying to use the software repiar through the companion app but it says I require a 80% charge of whatver. So I've been trying to let my phone charge but it the corrupt boot screen keeps appearing every 2 seconds. Can anyone help me out!
[Sony Cross-Device General] AJHutchinson:
If it's still bootlooping hold volume up and power button until it vibrates three times, Any luck buddy?
[Sony Cross-Device General] munjeni:
Man did you read page 95? You can do it with newflasher instead of using fastboot, see this post https://xdaforums.com/t/tool-newflasher-xperia-command-line-flasher.3619426/post-85533357
[Sony Cross-Device General] i7killpii:
Anyone flashed with Xperia 1 III had problems receiving updates? The latest 61.0.A.11.92 has been released but I can't receive that, neither OTA nor through Xperia Companion.
[Sony Cross-Device General] BVLLISTA:
Got the following error while trying to flash Xperia 1 III

ERROR: GetOverLapped_out_Result: failed with error code 1 as follows:

Incorrect function.

- Error write! Need nBytes: 0x18 but done: 0x0

nBytes[0x0]:

- Error writing command getvar:max-download-size!

ERROR: GetOverLapped_out_Result: failed with error code 1 as follows:

Incorrect function.

- Error write! Need nBytes: 0x8 but done: 0x0

nBytes[0x0]:

- Error writing command continue!

Closing device.
[Sony Cross-Device General] Maazellat:
Hi everyone, PLEASE HELP ME, I have Xperia 1 III(XQ-BC72) HK fw, I tried to flash TW fw for my phone, flashing done but my phone doesn't open reboot and reboot again. I tried to repair with Xperia Companion but device no charge enough fot repair. I want to charge it but when I plug it to charge reboot and reboot again. How can I charge it? How can I save my phone? @munjeni

Please there are a lot of user like this https://xdaforums.com/t/please-help...w-to-charge-it-with-infinite-reboots.4314999/
[Sony Cross-Device General] munjeni:
I see you solved it https://xdaforums.com/t/please-help...t-with-infinite-reboots.4314999/post-85648815 , it would be great if you share info to others with the same isue.
[Sony Cross-Device General] munjeni:
Check your cable or usb port!
[Sony Cross-Device General] KnockOut^9:
hi guys, just a couple of info:

-i've downloaded NewFlasher v51: in the .zip Archive there are 7 files: all of them goes into firmware directory, right?

-the firmware directory contains various files .sin .ta .map and 2 .xml (i have to delete these 2 .xml files perhaps before proceeding with flash?)

-if i want to flash an old firmware (on Xperia 5 II) which contains Android 10, (i have now A11) i need necessarily to unlock Bootloader first? Instead, if i want to update my firmware, i don't need to unlock Bootloader, right?

Thank you.
[Sony Cross-Device General] munjeni:
1. if you're on windows you just need newflasher.exe. Yes.

2. do not delete anything

3. ansvered ten times in this thread. Ansvered ten times in this thread.

I see no reason keeping bootloader locked other than waranty care. If you have android 11 and you want to flash android 10 you will need to unlock bootloader and relock to reset rollback index to zero. In case you have android 10 and want android 11 you will no need to unlock bootloader. For the rest of thing don't be lazy to read some pages back.
[Sony Cross-Device General] KnockOut^9:
hi munjeni, and thanks for you reply. I appreciate it:

Sorry for my lack of patience: unfortunately my Xperia 5 II is afflicted by various bugs, and i just want it to work normally.

I have in mind to flash it with Newflasher, with an updated firwmare, hoping to not brick the device (i have only this one at the moment).
[Sony Cross-Device General] munjeni:
If you're in doubpt ask somebody in your device subforum, also read and read there before anything. I'm on xperia 10 and I can't help you in xperia 5 II since I can't test things on my xperia 10.
[Sony Cross-Device General] Cavaleur7:
Hey,

I tried flashing the US firmware for Xperia 1 iii.

So my first mistake was that I unplugged it too early during the initial flash. Now I keep getting "This device is corrupt. It cannot be trusted to boot. Power off in 5 seconds."

I did this as my device was set to "newflasher set_active:b" instead of "newflasher set_active:a".

Any suggestions on where to go from here?

This initial firmware is the HK firmware.

Thanks and cheers
[Sony Cross-Device General] munjeni:
Simply try reflash again, if not help try change slot to A, if not help unlock bootloader, relock bootloader and reflash.
[Sony Cross-Device General] KnockOut^9:
hi munjeni, i have a question. Sorry for my ignorance in this kind of modding-procedures: my Xperia 5 II doesn't receive updates and is afflicted by various bugs. I think this problem is caused by firmware (model XQ-AS52, firmware 58.1.A.3.87)

My device has locked bootloader of course. In your opinion, can an unlocked bootloader help to... fix this problem, help to receive updates? Or it is only a nonsense waste of time?

Sorry if this argument doesn't belong to this thread.
[Sony Cross-Device General] Cavaleur7:
Thanks!

For bootloader unlock, I can't access developer options for OEM unlock as my phone won't boot into Android. Is it possible to unlock without that option selected?
[Sony Cross-Device General] SonyFlasher2021:
Munjeni, in advance, thank you for your great work and never-ending support of Sony flashers.

Today I flashed a used Sony Xperia XZ3 from CID 1316-4789 (Customized NOBA) to CID 1316-6961 (Customized DACHBLX) to enable VoLTE and VoWiFi.

I have read all 96 pages in this thread over the last few days and hopefully understood them, but I still got some errors.

I have filed a log, what sensitive data should I delete before publishing the file here?
[Sony Cross-Device General] munjeni:
If you unlock bootloader you will not receive ota
[Sony Cross-Device General] munjeni:
Hi, imei and device sn should be cleared from log
[Sony Cross-Device General] SonyFlasher2021:
Thx.

Attached is my revised protocol, errors that I recognised are:

Line 63

Lines 930 - 942

Regardless, I got an operational XZ3 but unfortunately have not yet achieved the overall goal. VoWiFi is there, VoLTE is still missing.

Munjeni, what impact will the errors have?

Where can I reasonably ask if anyone has managed to establish VoLTE in the Xperia XZ3 (model H9436)?
[Sony Cross-Device General] SonyFlasher2021:
Missed the attached file ...
[Sony Cross-Device General] SonyFlasher2021:
Got troubles with attaching my log file, any restrictions to type, format or length?
[Sony Cross-Device General] munjeni:
Thats bootloader log you should ignore that, I added that in recent newflasher and will be definitelly removed in next version including hiding sensitive data! Emmc-info is not error too! Important thing is to not get errors during flashing. You shold ask in XZ3 forum, this tread is nothing to do with VoWiFi and VoLTE
[Sony Cross-Device General] SonyFlasher2021:
Fine, are you interested in the whole log? If yes, I need a hint, attaching files didn't work for me, perhaps not allowed for new xda-forum-members. Inserting as code in posting is not really the best way, which way do you recommend?
[Sony Cross-Device General] munjeni:
You should do https://pastebin.com/
[Sony Cross-Device General] SonyFlasher2021:
Okay, fyi my log:

newflasher-H9436-20210928.log

Yes, my VoLTE issue will be asked at XZ3-forum.

Thanks a lot, Munjeni!
[Sony Cross-Device General] munjeni:
I do not see anything wrong in your log so all was went ok. For the rest of things ask in xz3 forum to get proper support for your phone model.
[Sony Cross-Device General] Maazellat:
Hi everyone,

I am using Sony Xperia™ 1 III (XQ-BC72), I flashed RU FW to my phone with NewFlasher. The device get an update which number is 61.0.A.14.3 (old one is 61.0.A.11.92), So I didn't get OTA Update and I tried with PC Copmpanion but no luck. How can I update my device?

Is there any idea?
[Sony Cross-Device General] munjeni:
Download fw trought xperifirm than install
[Sony Cross-Device General] Maazellat:
Ok but will delete all things this?
[Sony Cross-Device General] munjeni:
You mean userdata? Probably yes! If you ask how to keep userdata I can telll you I don't know.
[Sony Cross-Device General] Maazellat:
Ok this is really good 😊
[Sony Cross-Device General] OhayouBaka:
Is there no method to flash firmware on Newflasher with the Xperia 1 III without factory data reset? Deleting the userdata.sin file used to work on previous Xperia devices (such as 5 II and 1), but now on the 1 III it shows up with the "device is corrupt" screen that only gives two options (try again and factory data reset). Trying to switch active boot partition from A to B and vice versa doesn't make a difference either, tried both Fastboot and Newflasher methods for that. If there's really no way to manually flash firmware on this phone without factory data resetting every time, then I'm at a true loss, considering there's no way to recieve OTA updates with unlocked bootloader and all...
[Sony Cross-Device General] munjeni:
I don't know! I have device xperia 10 without mark, SO I can't identify problem until I buy mark 3 phone but I will not buy them soon, instead I'm waiting somebody figure out thing and let me know! Only that way right now I can implement things! Without phone I can't! If you need some info ask somebody with mark 3 device & if you figure out thing go back and let me know, sugestion to all. If you guys waiting me for that it will be not that soon. Some pages back somebody identified an isue in firmware related to problem with OTA updates because of wrong firmware version inside .prop inside vendor partition, it might be probably bug on whole mark 2 and mark 3 line! if somebody need some info about it go back some pages and check it on your own phone for idea
[Sony Cross-Device General] munjeni:
Do in mind "device corupted" is also in relation to rollback protection! If you can't get firmware working on booth a and b slot its definitelly problem with rollback protection. In that case unlock bootloader is needed and relock bootloader to reset rollback index to zero, than firmware need to be installed. I not going to buy new models because of two things: rollback protection, superpartition features, I not like that, so further newflasher updates will depend solely on the information I receive from members because I can't try things on my own without the required phone
[Sony Cross-Device General] OhayouBaka:
Hmm, I wasn't flashing firmware older than the one I was previously on (in fact it was actually newer), and my bootloader was already unlocked. I'll try locking bootloader again, and then unlock and relock to see if I'm able to flash firmware then without requiring factory reset though.
[Sony Cross-Device General] munjeni:
If you figure let us know! Also if somebody figure out how can we check rollback index (where is it stored inside firmware?) before flashing it would be good too!
[Sony Cross-Device General] OR7:
I think it's possible to downgrade Sony Xperia if you change the build-number from the old firmware to the latest build- number.

In this case unlock bootloader is not needed.

But can someone confirm it?
[Sony Cross-Device General] OR7:
I think it's a shame because you can't do anything with Android 11 anymore!
[Sony Cross-Device General] OhayouBaka:
I finally discovered the solution to flashing firmware on the Xperia 1 III while keeping userdata intact.

You have to make sure to delete not just userdata.sin, but also appslog.sin, diag.sin and metadata.sin from the firmware folder as well. Found this by checking the update.xml file in the firmware folder, all required sin files to delete are listed as "<NOERASE>".
[Sony Cross-Device General] munjeni:
Is everything ok after that?
[Sony Cross-Device General] OhayouBaka:
Yep, seems so.
[Sony Cross-Device General] munjeni:
Version 52 is out!

- version 52 (01.10.2021)

Implemented userprompt for keeping userdata, thanks @OhayouBaka for figuring out! Removed bootloader log retrieval

In short explanation all files marked with NOERASE inside update.xml is in relation to factory reset, so skiping files marked with NOERASE preserves userdata while flashing. Thanks OhayouBaka for figuring that out! Now newflasher have yes no promp for keeping userdata or making clean installation with factory reset. Bootloader log is removed since I found nothing usefull there.
[Sony Cross-Device General] tknguyencsu@gmail.com:
Is it possible to have an option for flashing to both slot A and B? Thanks for your attention to this request.
[Sony Cross-Device General] munjeni:
Implemented a year ago https://github.com/munjeni/newflasher/issues/29