yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] ToraxOutlaw:
--------------------------------------------------------

newflasher.exe v13 by Munjeni @ 2017/2018

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

Determining available free space by GetDiskFreeSpaceEx:

Available space to caller = 44477 MB

Total space on current drive = 113993 MB

Free space on drive = 44477 MB

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

This creates GordonGate.7z archive in the same dir with newflasher.exe!

n

Device path: \\?\usb#vid_0fce&pid_b00b#5&226c9eb3&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed}

Class Description: Sony sa0118

Device Instance Id: USB\VID_0FCE&PID_B00B\5&226C9EB3&0&4

Optional step! Type 'y' and press ENTER if you want dump trim area, or type 'n' and press ENTER to skip.

Do in mind this doesn't dump drm key since sake authentifiction is need for that!

n

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!

End. You can disconnect your device when you close newflasher.exe

Press any key to continue . . .

How do I fix this error???
[Sony Cross-Device General] munjeni:
it might be missing flash driver? Try reinstall gordongate usb driver!
[Sony Cross-Device General] munjeni:
Thats something unrealted to newflasher.
[Sony Cross-Device General] munjeni:
Can't tell you about format of the files after it gets extracted, you can try, I'm hope files inside ftf contain boot delivery xml files and things.
[Sony Cross-Device General] hungvip2001:
hi. newer firmwares take 1 hour or more to flash completely. any suggest please?
[Sony Cross-Device General] goku_0729:
g3326 support

is this flasher tool support flashing xa1 ultra?
[Sony Cross-Device General] munjeni:
I think
[Sony Cross-Device General] munjeni:
Anybody tried this tool on xperia 10? Will it work on 2019 models? If not let me know for update!
[Sony Cross-Device General] Zaben:
It seems to work on Xpera 10 Plus. You got me out of a boot loop, once I found the post about putting the partition****.sin into the partition folder that is.
[Sony Cross-Device General] TIX88:
Hi everyone, how can I flash the firmware without losing anything like an official update?
[Sony Cross-Device General] Pandemic:
Delete userdata.sin before flash
[Sony Cross-Device General] deivec:
Tried to flash XA2 H4113 (dual SIM) - no problem

Firmware CE1_1312-1454_50.2.A.0.352_R1B

Approx 4-5 minutes

Partitionxxx.sin moved to folder partition (created on my own)

sim lock.ta removed (maybe it is not necessary)

Thank You munjeni
[Sony Cross-Device General] noob_coder:
Help needed with new SIN Files

I own XA2 Ultra H4213 and I want to upgrade to Android 9 Pie. For some unknown reason, I find the FTF extracted version of the ROM with strange new FILENAMES I should say. I mean even the FLASHTOOL was giving me constant notifications that :

"No partition delivery included.

Maybe a bundle created with a previous release of Flashtool.

Do you want to continue ?"

And than:

"Those data are not in the FSC script and will be skipped: PARTITION,PERSIST.

Do you want to continue ?"

The filenames like PARTITION.SIN SYSTEM.SIN in the FLASHING process are not the same way in this new Android 9 File. They are something like "system_X-FLASH-ALL-18AE.SIN" . When I ignored such errors and continued with the flashing process, my phone was stuck on booting screen with SONY logo for almost 20 mins and didn't proceed any further. Upon further attempts to make it work, my phone became SOFT BRICKED and wont boot at all except FASTBOOT and FLASHMODE. I somehow managed to get back to OREO.

So my question is. How am I supposed to flash this new Android 9 ROM with different SIN filenames ?

You can check the attaced screenshot for such names.
[Sony Cross-Device General] OliverB95:
I have tried to get newflasher to find my phone for the last many hours without any luck. I simply can't install the Gordon Gate drivers, because Windows tells me that the driver files are not drivers. I have tried everything I know. I have tried installing them several different ways (including safe mode and with driver signing disabled) and I have even tried it on two different Windows 10 computers.

A few months ago I managed to do it when upgrading to Pie (and I've installed lots of adb drivers in the past), but now it just doesn't work. I don't understand it. Does anyone have an idea or another way to install these drivers?

I have tried most of the advice given to other people in this thread with the same errors, without any luck.
[Sony Cross-Device General] dhacke:
I know mayby it's to late but did you try it with the flashmode drivers from sony?

Also Newsflasher works in flashmode, not via adb. So you need drivers for flashmode.

For example i use a xperia xz2 and never used the gordongate drivers from Newsflasher; only the sony USB drivers for my device (there the flashmode driver is included).
[Sony Cross-Device General] MurroFX:
Giving up trying OMNI ROM and tryed to run newflasher v13 to flash 52.0.A.8.50_R13B/R15 Stock and I get this error message:

Never had trouble with newflasher before. EMMA FLASHTOOL does not work either. Don't find the device at ALL.

Any suggestions? ?
[Sony Cross-Device General] dhacke:
Drivers right? At page 83 one other guy has the same problem and it turns out that it was a driver problem.
[Sony Cross-Device General] MurroFX:
Riiight... ? I have ALWAYS had driver problems with the XZ3 since the Day I bought it. Crappy phone. Bought me a S10+ instead. No need to root or flash firmware every month, or every week. ? ?

Thanks for feedback though. ?
[Sony Cross-Device General] laoli0913:
Possible to support Mac?
[Sony Cross-Device General] mad0701:
It could be also a slow USB port.

I've seen the error during flash with a Netbook, if I use the USB on the left. I can recreate the error to 100%. If I change to the USB on the right, the flash process works without any problem.
[Sony Cross-Device General] kojak1989:
How can I lock my bootloader I don't have TA backup XZ1 dual sim
[Sony Cross-Device General] Klaus N.:
In short: No!

More? Here you go: https://xdaforums.com/showpost.php?p=79365171&postcount=873
[Sony Cross-Device General] kojak1989:
So if relocking is no longer possible so backup of TA too ?
[Sony Cross-Device General] Klaus N.:
Your question is not related to this thread ;)

IT IS possible to backup TA with the XZ1 and XZ1 c, but as you wrote, you've unlocked your device (unfortunately) before backing up TA. Means, your DRM keys are lost forever - there's no way back! The only thing you can do now is: Have a look inside this thread and follow the instructions; if you have questions, please ask there :)
[Sony Cross-Device General] kamalaggi:
Will this work with the Xperia 1?
[Sony Cross-Device General] kamalaggi:
Getting this error on Xperia 1

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

newflasher.exe v13 by Munjeni @ 2017/2018

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

Determining available free space by GetDiskFreeSpaceEx:

Available space to caller = 183793 MB

Total space on current drive = 477034 MB

Free space on drive = 183793 MB

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

This creates GordonGate.7z archive in the same dir with newflasher.exe!

n

Device path: \\?\usb#vid_0fce&pid_b00b#5&8b52096&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}

Class Description: SOMC Flash Device

Device Instance Id: USB\VID_0FCE&PID_B00B\5&8B52096&0&1

Optional step! Type 'y' and press ENTER if you want dump trim area, or type 'n' and press ENTER to skip.

Do in mind this doesn't dump drm key since sake authentifiction is need for that!

n

ERROR: TIMEOUT: failed with error code 997 as follows:

Overlapped I/O operation is in progress.

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

nBytes[0x0]:

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

End. You can disconnect your device when you close newflasher.exe

Press any key to continue . . .

Anyone have any ideas on how to fix?
[Sony Cross-Device General] Pandemic:
Not enough space and type 2 times n
[Sony Cross-Device General] è¥¿é›…å›¾å¤œæœªçœ:
that's not space.newflasher doesn't support xperia 1(I4293)：困惑：i have try it,but not work
[Sony Cross-Device General] munjeni:
V14 is out, added Xperia 1 support (curently untested!)

If you flash partitions please give me newflasher log, need to know if I implemented things right!
[Sony Cross-Device General] dcrin3:
Thanks.

As always, spending your time helping us. Thank you.
[Sony Cross-Device General] mulencja:
deleted post, wrong thread
[Sony Cross-Device General] munjeni:
I have removed v14 and v15, its not working right now, investigating some isue!
[Sony Cross-Device General] munjeni:
Done. Updated v15 is out!
[Sony Cross-Device General] munjeni:
V16 is out!
[Sony Cross-Device General] stakyr:
aa
[Sony Cross-Device General] munjeni:
You need an online paid unlock code service, search it on web there i a lot. About your log, thanks providing log! Sadly newflasher is not working corect, and sadly I see log after almost one week, and now I have no free time to fix bug, I had time one week ago. Bug can be seen in LUN0, LUN0 is not flashed because bug in my code didn't succed in determining LUN0 size, just to warn you all LUN0 file is not flashed because of bug in newflasher! When I get time I will try fix, hope after two weeks.
[Sony Cross-Device General] stakyr:
I am already waiting for my paid unlock code.

Phone seems to work fine even if LUN0 is not flashed. Am I wrong or is it something that I do not see?
[Sony Cross-Device General] outrage_uk:
v16 worked perfectly on Windows 10 64bit with Xperia XA2 Ultra.

Thank you for your excellent tool. :) Where to donate?
[Sony Cross-Device General] kojak1989:
Hi, if I delete userdata.sin I get ota updates? If yes so something else too?
[Sony Cross-Device General] munjeni:
link
[Sony Cross-Device General] munjeni:
Yes you will get ota updates.
[Sony Cross-Device General] kojak1989:
System applications will got updates too?
[Sony Cross-Device General] munjeni:
I realy have no idea why you have getting LUN0 size = 3325952, thats totaly non understanable, have analysed raw lun0 data from your log and I have no idea how you getting result 3325952, that's impossible. What is your operative system? I'm tested right now part of newflasher code under ubuntu 64 bit and used raw lun0 data from your log and I have getting this result:

Determining LUN0 size...
UFS raw data[0xA9]:

00000000 40 00 00 00 00 00 03 04 01 00 01 7F 03 01 0F 00 @...............
00000010 02 10 12 18 01 02 03 04 01 98 10 10 02 00 1D 03 ................
00000020 01 40 00 00 20 00 10 00 00 0D 05 00 00 00 00 00 .@.. ...........
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000040 23 02 00 01 00 00 00 01 00 00 0C 00 00 00 00 01 #...............
00000050 DC B0 00 00 00 00 01 02 00 00 00 00 01 DC B0 00 ................
00000060 00 00 00 23 02 01 01 01 01 00 00 04 00 0C 00 00 ...#............
00000070 00 00 00 00 04 00 00 00 00 01 02 00 00 00 00 00 ................
00000080 00 04 00 00 00 00 23 02 02 01 02 01 00 00 04 00 ......#.........
00000090 0C 00 00 00 00 00 00 04 00 00 00 00 01 02 00 00 ................
000000A0 00 00 00 00 04 00 00 00 00 .........

LUN0 size = 124960768

By the right LUN0 detection file partition-image-LUN0_124960768_X-FLASH-ALL-A2CD.sin can't get skipped, I realy have no idea why it failed on your machine. Didn't tested on WIN64 but probbably it might be something related to windows. Waiting somebody else log before I start working on bug.

Anybody else getting wrong LUN0 size?

EDIT:

Compiled for windows right now and getting excatly wrong lun0 size like you:

Determining LUN0 size...
UFS raw data[0xA9]:

00000000 40 00 00 00 00 00 03 04 01 00 01 7F 03 01 0F 00 @...............
00000010 02 10 12 18 01 02 03 04 01 98 10 10 02 00 1D 03 ................
00000020 01 40 00 00 20 00 10 00 00 0D 05 00 00 00 00 00 .@.. ...........
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000040 23 02 00 01 00 00 00 01 00 00 0C 00 00 00 00 01 #...............
00000050 DC B0 00 00 00 00 01 02 00 00 00 00 01 DC B0 00 ................
00000060 00 00 00 23 02 01 01 01 01 00 00 04 00 0C 00 00 ...#............
00000070 00 00 00 00 04 00 00 00 00 01 02 00 00 00 00 00 ................
00000080 00 04 00 00 00 00 23 02 02 01 02 01 00 00 04 00 ......#.........
00000090 0C 00 00 00 00 00 00 04 00 00 00 00 01 02 00 00 ................
000000A0 00 00 00 00 04 00 00 00 00 .........

LUN0 size = 3325952
Press any key to continue . . .

Will try to fix!
[Sony Cross-Device General] munjeni:
Bug identified and fixed! V17 is out! Need log while flashing partitions please for comfirmation!
[Sony Cross-Device General] munjeni:
Its finaly working now, thanks, enjoy!
[Sony Cross-Device General] stakyr:
Thnx for your time and efforts
[Sony Cross-Device General] mad0701:
one question in between :

If I skip user data. sin (or simular with user in the name) during flashing to a new version : What will be the effect?

I was the meaning, that I hold my apks and all my userdata. Isn't it?
[Sony Cross-Device General] munjeni:
On old devices it was a case but on newer there is many combinations with ta files, I can't help, better idea is to try google serach, I'm believing there is a lot!
[Sony Cross-Device General] dcrin3:
Skipping/removing the userdata.sin from the flashing folder keeps your phone as it is, you get the upgrade without a wipe of data/apps/etc.
[Sony Cross-Device General] mad0701:
Thx, that exactly what I was thinking to know.
[Sony Cross-Device General] Phat-T:
Hey, I'm having some problems...

I've installed the latest v17 but when I go to flash it, Newflasher window would close before it finishes flashing the new software and I'm stuck on the old software still.

Any help would be appreciated :D
[Sony Cross-Device General] munjeni:
So you can't give log? Ok, in that case extract runme.rar in the same folder with newflasher, instead of running newflasher run runme.bat and give us log. You're on windows 10?
[Sony Cross-Device General] Phat-T:
Thank you, I tried using runme but it still closes on me and yes, I'm on Windows 10

This is what it says before I press any key and it disappears and does nothing

"C:\WINDOWS\system32>newflasher.exe

'newflasher.exe' is not recognized as an internal or external command,

operable program or batch file.

C:\WINDOWS\system32>pause

Press any key to continue . . ."

The last firmware that worked for me was the .24, everything after that doesn't seem to work

EDIT: I got it to work :)
[Sony Cross-Device General] depeche76:
Hi everones! can i be flash bootloader.zip file?(HASH File)
[Sony Cross-Device General] munjeni:
Hash file, no! Don't experiment with flash bundles, its danger if you flash something wrong!
[Sony Cross-Device General] munjeni:
Looks like your win is a litle messy?
[Sony Cross-Device General] depeche76:
hi!thank you very much without problem worked with xz2 premium firmware. 52.0.A.8.83 ..:)best wishes!
[Sony Cross-Device General] nickholtus:
For some reason i can't get it to work with my xperia XZ3 (bootloader unlocked)

I tried it with 3 different firmwares.

Log is here: https://pastebin.com/7tisLkhi

Any idea?

Ps. Tried with latest newflasher and version 13
[Sony Cross-Device General] munjeni:
Partition images must be inside partition folder!
[Sony Cross-Device General] nickholtus:
They are, will post screenshot soon!

Screenshots of contents: https://imgur.com/a/WPGmzcR
[Sony Cross-Device General] munjeni:
Looking into your log and trying to figure out I have found you using an outdated newflasher version, try with v17! Also try run v17 as admin! I'm believing it will work. If not post your partition-image-LUN0_X-FLASH-ALL-B6B5.sin
[Sony Cross-Device General] kojak1989:
Hi I have unlocked bootloader and I removed userdata.sin before flashing but I still don't get ota.
[Sony Cross-Device General] whoosename:
With an unlocked bootloader you won't get any more ota's. Have a look here: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/#warranty

Read the Last sentence in the third paragraph under Risks:

The secure user data partition may also become inaccessible, and you will not be able to get any more official software upgrades if you unlock the bootloader.
[Sony Cross-Device General] nickholtus:
Same error:

https://pastebin.com/X4pkK6k1

My lun0 file: https://drive.google.com/file/d/19fq9YendTXg7ILG5BUcecR81lBJlWlvW/view?usp=sharing
[Sony Cross-Device General] munjeni:
Seems your win can't hanlde file path like "/"... I didn't remember If I set that with an reason ot not, seems I forgot to set that right :) Can you try v18?
[Sony Cross-Device General] Christopher379:
Broken XA2 Ultra - BootLoop

Hi guys,

I'm trying to reflash my broken Xperia with stock ROM. I've downloaded it with xperifirm but it will not flash. The flash tool tells me to power down device and hold volume down key and plug it in but when I do that I get a big red exclamation mark and messages that says: Your device is corrupt. It can't be trusted and will not boot. Your device will be powered off in 5 seconds. It continues flashing this warning repeatedly until I unplug the device. If I try holding volume up and plugging it it does give the blue light for bootloader mode but it will not flash the ROM. Please, if anyone has any advise on how to un-brick this phone it would be GREATLY appreciated, Thanks!!!!

update: I have the .exe inside the firmware folder. there is also a "boot" folder. When executing from either folder, I get this: No usb device with vid:0x0fce pid:0xb00b !
[Sony Cross-Device General] dhacke:
Deleted
[Sony Cross-Device General] Christopher379:
The latest USB driver for this phone is already installed on this PC. The phone is heavily corrupted and spends almost all of its time frozen or rebooting
[Sony Cross-Device General] dhacke:
Ok that's very weird. I had the same error message (i mean the corruption message) in the past but i could always go into flashmode to rescue it.

Sry atm i don't have a idea:(
[Sony Cross-Device General] Klaus N.:
[MENTION=7292284]Christopher379[/MENTION]

Have you already tried Sony's Flash Tool (Emma)? If not, then give it a try!
[Sony Cross-Device General] munjeni:
What is your device model? Did you done something with your trim area?
[Sony Cross-Device General] Christopher379:
H3223

Trim area?? I don't follow
[Sony Cross-Device General] munjeni:
Trim area on xda caled TA is heart of the sony phones, its first partition on phone, its unique for every device and you can not use anybody else TA, if you touch it, delete it or do something stupid to it phone getting hard bricked, hard brick mean dead, dead have two cases:

1. you do not done TA backup - mean no way to unbrick phone because of missing unique and secured TA

2. you have made backup - mean pretty hard to unbrick (possible only if you found pinout schematic on motherboard for connect an hardware repair tool like riff box... etc. Possible with s1tool but I'm unsure it support your device model, search for s1tool if you need)

If you have not made TA backup and your phone is dead don't waste your time, buy new motherboard or phone.

Part of the text above is in case you done something to your trim area. Try search xda and google some more, maybe you have soft bricked only your phone, in that case you can reapair easy without an hardware tool! Before you start asking something please explain detailly what you have done before your phone dead, it will help somebody to give you help. Did you tried newflasher from our thread?
[Sony Cross-Device General] Christopher379:
Thank you for that. I actually bought the phone bricked, knowing there would be a decent chance I would not get it working. It was a roll of the dice. I'm assuming the previous owner was messing with root procedures and bricked it. I keep getting the error code saying your device is corrupted and I have tried the new flash tool but cannot get it to take, unfortunately.
[Sony Cross-Device General] zackkiara2013:
[MENTION=4120742]munjeni[/MENTION].... bro why got this error...

- Extracting sparse chunk flash_session/system.003

- Uploading sparse chunk flash_session/system.003

download:04253916

ERROR: TIMEOUT: failed with error code 997 as follows:

Overlapped I/O operation is in progress.

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

nBytes[0x0]:

Error uploading chunk 34!

ERROR: TIMEOUT: failed with error code 997 as follows:

Overlapped I/O operation is in progress.

- Error reply: null!

- Error, no set_active:a OKEY reply!

Sent command: Sync

End. You can disconnect your device when you close newflasher.exe

Press any key to continue . . .

i use version 17 flash new fw sony xz2 ...now my phone cant boot coz software conflict
[Sony Cross-Device General] munjeni:
Thats becouse of cabel or driver, probably you have moved your phone and cabel tempprary disconnected...
[Sony Cross-Device General] Christopher379:
Mine?
[Sony Cross-Device General] zackkiara2013:
I'm not move my phone coz before start, phone already in fastboot mode... Nvr mind my phone already fix.. I flash with flashtool...
[Sony Cross-Device General] Christopher379:
Stop hijacking threads. For ****
[Sony Cross-Device General] Pandemic:
Stop spamming and post nonsense !
[Sony Cross-Device General] zackkiara2013:
Whattt????
[Sony Cross-Device General] Christopher379:
Just someone posting on my thread with their issues. Prompting me to login and view something that has nothing to do with my post. That's all. Aren't people Urged to start their own threads?
[Sony Cross-Device General] Klaus N.:
[MENTION=7292284]Christopher379[/MENTION]

First of all, this is not your thread, but [MENTION=4120742]munjeni[/MENTION]'s! It is not forbidden for other members to post, if someone else didn't get an answer to a question asked before his/her post. But apart from that, I don't see any question in your post before [MENTION=5258432]zackkiara2013[/MENTION]'s - at least, there's less information about your device.

About installing drivers for your device, have a look here. It also could help, if you have a look inside the appropriate XA2 Ultra forum first ;)
[Sony Cross-Device General] munjeni:
v18 is out!
[Sony Cross-Device General] munjeni:
Newflasher repo is now moved to the organization and is in preparation for Debian android tools package! :) It will probably get much more contributors and better qualitty. More info
[Sony Cross-Device General] munjeni:
Is v18 ok? Can you comfirm?
[Sony Cross-Device General] Klaus N.:
I have just updated my Xperia XZ1 to the latest 47.2.A.10.107 fw with your v18, and therefore I can confirm, it works flawlessly (at least with the XZ1). My Xperia XZ2 I had already updated before releasing v18, but I'll use v18 with the next fw update; then I will report back also for that device!

Thanks alot for your ongoing support for our Sony devices - very appreciated :svetius:
[Sony Cross-Device General] ecksdeeay:
V18 also worked with Sony XZP dual

... and with the single SIM ?XZP varient.. ?
[Sony Cross-Device General] Xperia S black:
Here works for Xperia zx3. Thanks
[Sony Cross-Device General] karrouma:
Works with xperia 1
[Sony Cross-Device General] dcrin3:
Thanks for your hard work.
[Sony Cross-Device General] mtrantalainen:
Downgrading Pie XZ1c?

I just purchased an XZ1 Compact and the previous owner has already upgraded it to latest official Pie firmware. Is it possible/safe to downgrade the firmware to backup the DRM secrets via root exploit? If I've understood correctly, at least the TA partition should not be touched.
[Sony Cross-Device General] Klaus N.:
Yes, it's possible; all you need to know you'll find here. Read and follow those steps exactly and you will succeed ;)
[Sony Cross-Device General] Evilmonk100:
can i install pie firmware on xperia sp 2014 device?
[Sony Cross-Device General] mirhl:
Yes, but this is

totally

completely absolutely the wrong thread to talk about it.
[Sony Cross-Device General] Evilmonk100:
then where to talk and which thred required to follow ?