yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] Klaus N.:
[OT]As the Xperia SP does not get official updates anymore, you should consider LineageOS 16 or AOSP Pie. But keep in mind that for the Xperia SP running Pie SEPolicies is set to Permissive atm; enforcing is a work in progress. And: It's neccessary to have an unlocked bootloader, and you've to update your SP to the latest available official firmware (C5303_12.1.A.1.207) before proceeding.[/OT]
[Sony Cross-Device General] airlessproject:
Can anyone confirm the latest 52.0.A.8.157 being successfully flashed on an XZ3 (H9436), currently on 131?

Also should 'persist.sin' be excluded and is there anything else (apart from userdata) that should be excluded?

Thanks in advance
[Sony Cross-Device General] rinigus:
Worked nicely to recover from bootloop on XZ1, version v18 on Linux. Thank you!
[Sony Cross-Device General] munjeni:
v19 is out!

Changelog:

implemented prompt for flashing persist partition

print skipped .sin files
[Sony Cross-Device General] munjeni:
V19 reuploaded since bug in prompt, fixed now and ready.
[Sony Cross-Device General] squall_x2x:
Hi Mate,

I'm flashing XZP unlokced bootloader, but got this error, any solution?

Thanks!

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

[IMG="https://i225.photobucket.com/albums/dd114/chieu_x2x/Capture.jpg"]https://i225.photobucket.com/albums/dd114/chieu_x2x/Capture.jpg[/IMG]
[Sony Cross-Device General] ecksdeeay:
Haven't tried V19 but the previous worked for me. Just in case there's nothing your doing wrong.?

XZP UL BL
[Sony Cross-Device General] SamBamBim:
error

Im on os 7, I get this error in the middle of flashing, what to do?
[Sony Cross-Device General] munjeni:
This is related to usb driver, you need to install gordon gate driver! If one from newflasher not working than install one from flshtool

Can you translate error window?
[Sony Cross-Device General] SamBamBim:
Nevermind, finally I managed root my XZ with ta backup after 24 hours :crying: It would have been much easier with step by step explanation and links to all downloads like FW, right versions of maisk, twrp for the correct FW. If I did all this over again after a week I couldnt remeber.

Thanks to [MENTION=4418980]j4nn[/MENTION], I was worried about the camera after flashing 47.2.a.10.62 but its working now.

Just one small thing, I noticed in my screenshots of security that ny "args" number are diffrent from the original on, the original ones were 0 all the way, the new ones are not. should I be worried? Have I done misstakes?
[Sony Cross-Device General] Tarch1:
Is it possible to use newflasher in linux?
[Sony Cross-Device General] munjeni:
Yes sure. Even you can use newflasher on android device to flash another device.
[Sony Cross-Device General] munjeni:
Sorry not understand what you mean
[Sony Cross-Device General] Tarch1:
I meant to say if it was possible to use a virtual machine to run newflasher...
[Sony Cross-Device General] munjeni:
Yes its possible, just disconnect usb device from host and attach to virtual machine and it going to work.
[Sony Cross-Device General] Tarch1:
It will be done!
[Sony Cross-Device General] ecksdeeay:
Xperia Command Line Flasher has stopped

work

One problem caused the program to stop working properly.

The program stings and you will be notified

there is some solution to the problem.
[Sony Cross-Device General] munjeni:
Its known bug in trim area dumper, reported here, cause segmentation fault so do not use! I need to fix it but now I don't have xperia for test so I can't promise when it will be done
[Sony Cross-Device General] adm_:
error on linux mint 18.02

bash-5.0# /home/admz/Downloads/xperia_xz1/newflasher.x64
--------------------------------------------------------
newflasher.x64 v19 by Munjeni @ 2017/2019
--------------------------------------------------------

Determining available free space:

Available space to caller = 22225 MB
Total space on current drive = 444237 MB
Free space on drive = 44859 MB
found device with vid:0x0fce pid:0xb00b.

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
- (ep_out size=24)ERROR: n = -1, errno = 110 (Connection timed out)
- Error writing command getvar:max-download-size!

End. You can disconnect your device when you close newflasher.x64
[Sony Cross-Device General] munjeni:
Its because your device is not entered into flash mode. I saw your report on git

https://github.com/newflasher/newflasher/issues/25

https://github.com/newflasher/newflasher/issues/26
[Sony Cross-Device General] thatguy222:
Just flashed US firmware onto a SEA Xperia 5. OP is a hero.
[Sony Cross-Device General] Ruttix:
[MENTION=4120742]munjeni[/MENTION]

Hey,

I've been trying to get my phone detected, I get an error: "'No usb device with vid:0x0fce pid:0xb00b!'

I do have drivers from flashtool installed, both Flashmode and Fastboot and my own device's driver.

I couldn't install the gordon gate drivers straight up, windows didn't recognize them for some reason, but I understood the flashtool drivers are enough.

My Xperia XZ1C shows up as a Sony ADB Interface in device manager while it is connected in fastboot mode to my windows PC.

Any ideas would be really appreciated.

Thanks!
[Sony Cross-Device General] munjeni:
Its something wrong with your usb drivers for sure, try install Sony PC Companion software it will install right usb drivers for you!
[Sony Cross-Device General] zippy01:
Hello, it is a long time since I have flashed a phone.

Can someone remind me please as I cannot make it out from the OP

The partition.zip gets extracted to a folder named partition

Does the boot.zip also get extracted to folder named boot?

Thanks in advance
[Sony Cross-Device General] zippy01:
Thank you, completed flash seems to be quicker these days.

What does

mean?
[Sony Cross-Device General] JimKatsanos:
Im having trouble while trying to install your drivers. I really need newflasher to work, as i want to downgrade my device to backup drm. when i try to install by adding legacy software driver, it says that the driver is not compatible with my device and to check if this is for x64 computers. I managed to install the stock drivers for my device(XZ1) but then I can type fastboot commands but not use your tool (No usb device with vid:0x0fce pid:0xb00b) . Almost clean win10 install, i only flashed my redmi 4x before. What do I need to do? Any help? It is indeed a driver problem but i have no idea how to fix that . (Of course, flashtool and Emma dont work either) I also tried an older version, newflasherv_13 but that did not work either

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

EDIT: okay found out im a noob and i was entering fastboot mode by pressing vol+ instead of entering flash mode by pressing vol-. wrote that as it may help some users here(?)

---------------
[Sony Cross-Device General] voilsb:
Hi, I think I'm having a driver issue but I'm not certain. I used newflasher to upgrade my device (XZ2 Compact) to PIE last August, and to apply the September security update. I decided I wanted to apply the latest firmware while I'm on winter holiday, but now my computer and adb recognizes my device, but if I issue "adb reboot fastboot" I get a green LED for a moment then it automatically reboots to system. If I power off the phone and vol-dn and plug in USB, I get a solid green LED, but fastboot devices reports no device. I attempt newflasher just in case, and I get the no device 0xb00b error. While watching my device manager, windows does nothing when I plug in or when I unplug the device.

tl;dr: ADB works fine, fastboot doesn't detect my device. Same computer and phone that worked previously for Aug and Sept updates.
[Sony Cross-Device General] SubwayChamp:
In case you didn´t solve it yet, I had the same problem too, then I tried this https://xdaforums.com/showpost.php?p=38895138&postcount=143 but still didn´t solve it and uninstalled all the Sony drivers and all the Sony related programs from pc and reinstall them again doing it with the drivers signature disabled as it is in the guide. I hope it helps.
[Sony Cross-Device General] DennisDD78:
Does it support latest Xperia devices such as Xperia 1, 5 for flashing android 10 based firmwares ?
[Sony Cross-Device General] S1gma:
Yes. At least I flashed successfully two Xperia 5.
[Sony Cross-Device General] p@to:
Hi.

In Xperia XZ1 Compact SO-02K Docomo Its possible to flash G8441 firmware?
[Sony Cross-Device General] elpvn:
How to flash my Xperia 5, I turn-off my X5 and hold volume (-) button then connect orginal USB-C frome PC to X5, but it not enter to bootloader or flash mode :((

Btw, I have a dual sim X5 of Vietnam market, and want to updgrade to new firmware version from Taiwan market (dual sim too), is it possible?

Thanks for help,
[Sony Cross-Device General] S1gma:
Both times I was flashing J9210 (5 Dual), both times changing customization during process. As long as you flash FV for the same version (in my example - J9210), it's safe and possible.

Check if you have all drivers installed (flashtool propose to install one). Normally best way is to turn off your phone completely, than put one end of the cable into your computer, press and hold volume key and finally put other cable end into smartphone.

If it's not working, you should try another cable o USB port. Last time I was using USB2.0 ports with USB-A - USB-C cable from old Xperia.
[Sony Cross-Device General] elpvn:
Thanks for help and support me, solved.
[Sony Cross-Device General] S1gma:
It shouldn't be the case if you didn't unlock bootloader. Check *#*#7378423#*#*, find there state of "security" and check if phone is still correctly provisioned. If yes, consider factory reset or reflashing. Maybe someone else will get better idea, but this is what came to my mind :)
[Sony Cross-Device General] elpvn:
I flash

I flash my XZ2P dual sim (H8166) from Android 8 to Android 10 latest firmware via Newflasher, forgot delete all .TA files and now all sensor (include ambient light sensor) are not working (ready tested in services test), anyone can help? :(( ((

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

Btw, when flash with Newflasher, can I choice Y or N in below step?

Y or N? :|

Thanks!
[Sony Cross-Device General] mumal:
iDEM ???
[Sony Cross-Device General] MeltdownSpectre:
I had the same issue when flashing from 55.1.A.3.49 (Customized UK) to 55.1.A.3.107 (Customized EU). FW was pulled by Sony.

.107 was then released for Customized UK, and it works just fine on the J9110.
[Sony Cross-Device General] david3006:
Hi, I have a problem withy Xperia xz3. It flashed but when I start it up it says Android setup not working and then it does not find WiFi and crashes again and starts new and repeats.

Is there a way to fix this?
[Sony Cross-Device General] shoey63:
Download again and flash without deleting TA files or anything else.
[Sony Cross-Device General] david3006:
Ok I will try.
[Sony Cross-Device General] mt12345:
I get

No usb device with vid:0x0fce pid:0xb00b

Drivers installed.

Flashtool says 'device connected in flash mode'.

EDIT:

SOLVED: Installed GordonGate driver via Device Manager
[Sony Cross-Device General] HEZAiKU:
NEVERMIND, problem solved.
[Sony Cross-Device General] zackkiara2013:
Hai.. There is possible to use newflasher on chromebook?
[Sony Cross-Device General] Samir96:
Hello sir munjeni,

I can't thank you enough for the absolute masterpiece of yours, NEWFLASHER!

i would confirm that i can flash Docomo model XZ1 Compact flawlessly with your tool. Been headache for a week trying every flashtool version and a lot of .ftf build. But finally i came across your invention, and and omg i works at first try!

Thanks again sir, i will donate when i can
[Sony Cross-Device General] irgendwer2:
From the LOS maintainer of the XA2:

Would an option for flashing all partitions to both slots be possible?
[Sony Cross-Device General] kuuiu:
How come there are 2 more options in the latest version, is it always n?
[Sony Cross-Device General] arslanon.e:
Docomo? How did you manage to unlock the bootloader on that device?
[Sony Cross-Device General] p@to:
+1
[Sony Cross-Device General] edwin_ecoral:
Is any way to fix it?

I have this problem flashing, only data is giving error and xperia companion is not repair the phone too, is dead?
[Sony Cross-Device General] Samir96:
I didn't unlock sir.

Stock Oreo Locked BL flashed right to latest so-02k Pie firmware
[Sony Cross-Device General] arslanon.e:
That's..... that was never possible before.
[Sony Cross-Device General] Samir96:
That's.....weird

i never knew it isn't possible. I could confirm my device is BL: No and used no additional files *see attachment

can i find flash log anywhere cuz i really like to help to understand how lucky i was :p
[Sony Cross-Device General] arslanon.e:
Oh. You flashed global or any non Japanese stock ROM on your Docomo version. Yes that's possible.

I mistakenly thought you installed a custom ROM. That is not possible on a BL unlock not allowed Sony phone.
[Sony Cross-Device General] Samir96:
i flashed Japan docomo SO-02k rom sir . I did test Global XZ1c G8441 model rom but no success.
[Sony Cross-Device General] arslanon.e:
Cool. I've not done this in a long time. May be something has changed. Used to flash Global/German etc stock ROMs on my Docomo Z3 and Z3c.
[Sony Cross-Device General] Samir96:
Do you know how to make global rom flashable on docomo set? I really want that 4G toggle in quicksettings :p
[Sony Cross-Device General] arslanon.e:
I used to do it using Flashtool. There was a really good tutorial on xperiablog.net. There are posts in XDA for Sony phones touching this topic; you just need to search a thread with 'docomo' ;)

Back then, few things to be mindful of were a) NFC won't work if you flash global on Docomo, and b) make sure the phone's ROM size (16GB, 32GB etc) is same for the Japanese and Global version, if they are not, there were workarounds as well.

Read as much as you can is what I'm trying to say, before you do stuff.

Good luck.
[Sony Cross-Device General] justoar:
I love this tool
[Sony Cross-Device General] kevin3688:
Device is put now in flash mode.

Repartitioning...
Found partition_delivery.xml in partition folder.
Determining LUN0 size...
- Error, no DATA reply!

Set slot 'a' active.

Device is put now out of flash mode.

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

Xepria 10 ii ( XQ-AU52 DUAL SIM)

What to do to fix this? thx.

attahched shows the partition folder
[Sony Cross-Device General] VeixES:
Try flashing without the "partition" folder or its contents.
[Sony Cross-Device General] donnoz:
does this tool support Xperia J (st26i) i'm getting error No usb device with vid:0x0fce pid:0xb00b.

when i checked the SOMC driver i have the device details is vid:0x0fce pid:0xADDE.
[Sony Cross-Device General] Meloferz:
Hi, I have the Xperia 10 II taiwanese version and I would like to flash the European version of the firmware, did you be able to flash firmware with Newflasher?
[Sony Cross-Device General] kevin3688:
Yes, I flashed mine to SEA version with Newflasher successfully .
[Sony Cross-Device General] 7alvoo:
does newflasher v.20 handle the keymaster in (xz1 c)?

Is it possible to flash another customized rom or downgrade (pie > oreo) without losing fido / attest / android key?
[Sony Cross-Device General] cd993:
Just checking, regarding the "booth" options, is that needed on my Xperia 1 ii? I opted not to flash that, does that mean it only flashed the firmware on slot A and should I have flashed it on both A&B via this booth option?

It seems to have booted up alright so far, but just to check....
[Sony Cross-Device General] munjeni:
FAILFailed to verify cms mean that you trying to flash an rom which is not designed for your phone model. Every device e.g. BG123BLABLABLA and you want to flash rom ORRRR12333 will not pass signature verification since BG123BLABLABLA reject signature from ORRRR12333 because ORRRR12333 is signed with totaly diferent key than BG123BLABLABLA . You must find compatible rom for you device! Hope this help.
[Sony Cross-Device General] munjeni:
Search for XFLASHER on xda! Newflasher is for newer devices, xflasher is for oldest devices.

Yes.
[Sony Cross-Device General] munjeni:
Do in mind to reflash right rom for your device model, and flash everything mean do not skip partitions and ta files, flash everything.
[Sony Cross-Device General] CheeChaChong:
Ohh I see, I thought I can still flash differrent regions on the same phone just like the old days. But I see some people flashing their XZ1 Docomo to XZ1 Generic despite of different Model number but same phone model. But on my XZPremium Docomo to XZPremium Generic build I’m getting FAILfail to verify cms. I thought this will apply due to the fact that they share almost same internals.

I will try to find another firmwares. :fingers-crossed:

Thank you :highfive: :cool:
[Sony Cross-Device General] alphonsezero:
Hello.

Are you planning to support the Xperia 1 II XQ-AT52?
[Sony Cross-Device General] alphonsezero:
I got this error.

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

ファンクションが間違っています。

- 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

---------- Post added at 01:53 PM ---------- Previous post was at 01:11 PM ----------

I installed flashtool's driver.
[Sony Cross-Device General] munjeni:
You must give me full log! Without full log I can't help.
[Sony Cross-Device General] munjeni:
I can't see reason why not newflasher work on Xperia 1 II. I'm believing you didn't done that in flash mode. Without your full log I can't confirm, but anybody confirm neflasher working on Xperia 1 II XQ-AT52 ?
[Sony Cross-Device General] AJHutchinson:
I can confirm it didn't work for me the other day, Phone wouldn't boot up after flashing said something about being unverified or something i can't quite remember and then kept turning it's self off, I didn't save any logs though sorry ended up having to sort it out via flashtool ?
[Sony Cross-Device General] munjeni:
Thanks! So flashing is working? But your phone didn't booted since you probably skipped flashing the rest of firmware, userdata, all ta files, partition... etc.
[Sony Cross-Device General] munjeni:
To everybody, before reporting problem, bug or whatsever please include whole log, I can't quess without log. Still waiting somebody confirm xperia 1 II, and do it without skipping any single file. If you care about your userdata do a backup first than don't skip flashing any single file. Simlock.ta is auto skiped, no need to delete if you care about it, flash the rest of ta files, so in general flash all, that is only the right way testing newflasher and reporting.
[Sony Cross-Device General] AJHutchinson:
I didn't skip anything from the downloaded firmware other than the simlock.ta, I also tried with skipping the recommended steps and without skipping them buddy ??

Edit: mines 51 not 52
[Sony Cross-Device General] munjeni:
Are you flashed right firmware model?

Edit:

I got confirmation that newflasher is working without any problem on XQ-AT52, also I see no reason why it not be working, there is no changes in s1 protocol. no changes in sin format... etc, it must work! I would be glad if [MENTION=10916257]moonceros[/MENTION] write here in detal his experiences
[Sony Cross-Device General] munjeni:
New version is out!

- version v21 (29.06.2020)

implemented battery level status check before flashing, flashing bootloader,bluetooth,dsp,modem,rdimage to booth a,b slots is mandatory now and is flashed by default right now, more info, try fix previously reported isue on sync and powerdown command reported 2-3 years ago so I have disabled it and now enabled for test, implemented Macos support (curently need to be tested! If you have plan to test please flash only cache.sin DO NOT flash the rest because of safety for your device!)

Please test v21 and let me know! Please post log if you test. Macos version users, REMEMBER to flash only cache.sin do not flash the rest because Macos support in v21 is just for test only, I will need full log for further Macos implementation! Waiting your reaply thanks!
[Sony Cross-Device General] Winrahr:
Tried to flash XQ-AT52_Customized HK_1321-8212_58.0.A.3.39_R6A on my XQ-AT52 with v20. Flashed successfully but device now bootloops. Do I need to flash persist?

EDIT: Flashed 58.0.A.3.31 and it booted fine. Weird.

EDIT 2: Tried again with 3.39 and it worked. The time it didn't work active slot was b, before flashing, and was set to b again after. This time the active was set to 'a' afterwards, which worked. Not suer if it had anything to do with it.
[Sony Cross-Device General] munjeni:
I have made some changes in v21 so try v21, and please post full log! See this https://xdaforums.com/showpost.php?p=82939637&postcount=1162
[Sony Cross-Device General] Winrahr:
I tried to run v21 first but it hung after skipping dumping the trim area. Unfortunately I didn't get a log for it.

Here is the log of the run that failed. I redownloaded the firmware and ran it again (double clicked the exe this time instead of running it through powershell) and it worked fine :confused:
[Sony Cross-Device General] munjeni:
Thanks but I need somehow log from v21, anybody give me log?
[Sony Cross-Device General] VeixES:
If nobody gives it soon, then i will produce it after July update(skipping .39) has dropped for XQ-AT52.
[Sony Cross-Device General] munjeni:
Version 22 is out. Comfirmed working on Xperia 1 (J9110), it will work too on the rest of newer models.
[Sony Cross-Device General] munjeni:
No logs, seems its working?
[Sony Cross-Device General] munjeni:
New version is out, found get hash bug, fixed it (finaly :)), fixed download wait time, added timer start and timer end so we will see how device take a long to respond after command "flash", my hope its full working now! :)

Edit:

Error in previous log is related to bug get_reaply which was the same like one for get hash. its hope solved :) You can see unbricked device if everything right :)