yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] jemcik:
I did not noticed any issues.

But I sold Xperia 5 II half year ago in favour of Galaxy S21+, so I am out.
[Sony Cross-Device General] KOPRajs:
Have you tried anything DRM related? Like using Netflix in 4K HDR etc.? Or have you even checked the Widevine security level (L1 or L3) using the DRM info app?

Also how did you re-locked the bootloader? Using the fastboot oem lock command?
[Sony Cross-Device General] munjeni:
Download firmware, run newflasher and folow what you see on window carefully and you will not be wrong
[Sony Cross-Device General] munjeni:
Hope you know that downgrading is not possible, if you downgrading you need to unlock bootloader, if you not unlock bootloader but want to downgrade you will get boot loop because of "rollback protection", more info about roll back protection you can search forum. So if you need to stay locked bootloader you need excatly the same rom or newer one to flash, or option two is unlock bootloader, flash rom, relock bootloader to reset rollback index to zero. Hope this help.
[Sony Cross-Device General] javiwz:
Ok, the phone was on sw_version:58.1.A.5.530, Android 11, December Security patch, I flashed the A12 fw 58.2.A.0.899, followed the guide, deleted the Persiste.sin file before the flash, I skipped the "keep userdata" and skipped the "dump trim area", after the flash was successful, it says

Set Slot 'b' active

I didn't even saw the message of "flash successful on slot a", neither an option to choose on which slot to flash, the Reboot command was directly executed as flash complete, and then bootloop happens.. this is what happened on my first flash. Then I tried to changed the Active Slot to A ( The Newflasher flash the fw on Slot A by default?) using the command :

fastboot --set-active=a

, but it failed, FAILED: (Remote: Change Slot is not allowed in Lock State).

What can I do to flash the fw successfully and make it boot? Is there anything wrong I did in the process?

Regards
[Sony Cross-Device General] munjeni:
Do like this:

newflasher set_active:a

after that reboot phone or just disconnect usb cable until device reboot. Connect usb cable while keeping righ butons combination to get again into flash mode. Reflash your rom. Hope it boot next time (if rolback protection allow device sucesfully boot).
[Sony Cross-Device General] javiwz:
With the command .\newflasher set_active:a on windows PowerShell, then I reflashed the fw, it finally boot!! Thanks for the reply, is this weird what happened to me?
[Sony Cross-Device General] munjeni:
Its ok, the most important thing is you have done things sucesfully :)
[Sony Cross-Device General] huie81:
Hi @munjeni, I followed the instructions and other suggestions, but I still get the error as shown. Am I doing anything wrong? Thanks in advance
[Sony Cross-Device General] munjeni:
Righ click on powershell, run as administrtor
[Sony Cross-Device General] pasqui23:
; sudo ./newflasher.x64

[sudo] password di me:

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

newflasher.x64 v52 by Munjeni @ 2017/2020

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

Determining available free space:

Available space to caller = 28456 MB

Total space on current drive = 910696 MB

Free space on drive = 34569 MB

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

I have copied the executable to the root of the result of XperiFIrm but I can not seem to flash it
[Sony Cross-Device General] Hein W:
Hey there,

I'm trying to flash a UK Firmware to EU Firmware for Xperia 1II.

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

newflasher.exe v52 by Munjeni @ 2017/2020

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

Determining available free space by GetDiskFreeSpaceEx:

Available space to caller = 274322 MB

Total space on current drive = 487739 MB

Free space on drive = 274322 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!

n

Device path: \\?\usb#vid_0fce&pid_b00b#6&149cdebc&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}

Class Description: SOMC Flash Device

Device Instance Id: USB\VID_0FCE&PID_B00B\6&149CDEBC&0&1

update.xml not exist in current folder!

Reboot mode at the end of flashing:

typa 'a' for reboot to android, type 'f' for reboot to fastboot, type 's' for reboot to same mode, type 'p' for poweroff, and press ENTER.

Firmware download is done with Xperifirm

Thanks in advance,

Hein
[Sony Cross-Device General] munjeni:
Questions about choice of firmware please ask in appropiate forum, i realy don't know which one is suitable for your device model
[Sony Cross-Device General] munjeni:
Devices newer than the XZ Premium can use newflasher, older device than XZ Premium must use Flashtool or another tool caled xflasher
[Sony Cross-Device General] Hein W:
Device is Xperia 1 markII, Newflasher should be fine?
[Sony Cross-Device General] munjeni:
Yes. But do in mind downgrading fw gives boot loop if device is locked because of rollback protection on device, so probably you will need to unlock bootloader, flash fw, relock bootloader to reset rollback index to zero than it will boot. Or you can flash newer fw without need to unlock bootloader.
[Sony Cross-Device General] Jane11:
Is it possible to use ( somehow) Newflasher to remover FRP form Sony Xperia1 II ?

Thank you
[Sony Cross-Device General] munjeni:
Probably not since things is inside trim area units which is normaly not accessible without sake authentification. There is some known trim area units related to google for example unit 0x1046F https://github.com/munjeni/trimarea_tool/blob/master/trimarea_tool.c , newflasher is not abble to read/write sake authentification protected units since there is a range from-to which can be read/write, but you can read/write whole trim area if your phone is rooted trought android itself. But playing with trim area for sure will give you hard brick without a way to repair, extremely dangerous! Do in mind this!
[Sony Cross-Device General] shenhenghtml:
excuse, maybe others had asked this question. ,but i did not find. my docomo xz2c so-05k has unlock bootloader ,and had root . is there anyway to flash the 8314 or 8324 rom on it by newflasher ?

the singure is not pass, but is it possible to change the cmc file ,when newflasher flash sin ?

thank you ,sorry to bother you
[Sony Cross-Device General] munjeni:
No you can not replace cms file! Even if you interupt flashing by replacing cms file you risk a hard brick! If it didn't pass signature you can't use newflasher, but since you have root you can flash an twrp recovery and by that way flash any rom you want trought twrp recovery. For more info look here https://xdaforums.com/f/sony-xperia-xz2-compact-roms-kernels-recoveries.7471/
[Sony Cross-Device General] azwina:
any method to make OTA update working ??
[Sony Cross-Device General] shenhenghtml:
hi

XQ-BQ72_Customized CN_61.1.A.4.78 have a new file super_X-FLASH-ALL-4BA8.sin, can`t be unpack by unsin.

how to extract file in super_X-FLASH-ALL-4BA8.sin， there will be some new app updated

thanks
[Sony Cross-Device General] munjeni:
If you mean about ota update after flashing rom, I don't have idea. If you mean about ota extraction, here is some info how we done fota update on local linux machine https://xdaforums.com/t/xz1c-xz1-xz...eys-implemented.3795510/page-69#post-80690663 . I think I have published some linux bash script for doing that localy, just search for them
[Sony Cross-Device General] munjeni:
Try this one https://xdaforums.com/t/tool-windows-linux-android-apple-unpack-any-sony-firmware-file.3530077/
[Sony Cross-Device General] shenhenghtml:
report，lack some things in the super_x.sin package, only unpack out the system file . i think it shoud contain system ,product,system_ext ,because there is not big file can contain these file unless the super_x.sin

it is exceptional ,the new format

thank you
[Sony Cross-Device General] munjeni:
Can you upload it... ? or maybe beter idea, open it with an hex editor and give me first 20 lines
[Sony Cross-Device General] munjeni:
You probably need this -> https://xdaforums.com/t/tool-win-li...ake-partitions-rw-in-super-partition.4120963/
[Sony Cross-Device General] shenhenghtml:
yes ,it is the key

thinks
[Sony Cross-Device General] invincible12:
Hello guys and @munjeni , I had been a peer here a long time. Now I got a problem so posting it.

I bought my Xperia 5 ii (XG-AS72) from Singapore. And I tried to flash the AS52 UK version with newflasher. But I ended up now in a bootloop. (Then I tried US,SEA and every other versions. Seems firmware is not the problem.) The thing I suspected is that my active slot is set to b. I hadn't enabled USB debugging so I couldn't switch my active slot with ADB. ( I tried "newflasher set_active:a" but it didn't change the slot neither). I'm also not that much of an expert in android programs. So I think I might have something not tried. Help required please and please break it down a little if any complicated methods to be done. Thanks in advance. I have attached the newflasher log file here for reference.
[Sony Cross-Device General] munjeni:
It must be changed by command:

newflasher set_active:a

probably you failed on path to the newflasher trought command line. Do it this way trought full path to the newflasher, for example:

C:\users\yourusernameonpc\Desktop\folderwhereisyournewflasherexe\newflasher.exe set_active:a
[Sony Cross-Device General] invincible12:
Yeah I tried that too.. even I added the path to the environment variables and tried it. And also tried to open a powershell from the directory to run the command. But it didn't seem like switching the partition. Don't know why.

Then I tried and created a .ftf file from the downloaded xperifirm firmware and used the Sony Mobile flasher tool to flash it. Anyhow I got my phone worked.

Besides, i just had a doubt. I tried using the adb command "fastboot --set-active=a" but it didn't work as my phone was disabled with USB debugging. So does the command "newflasher set_active:a" also works when the USB debugging is enabled or it has nothing to do with it?

(P.S. Still this whole thread and your tool was very helpful though. Thanks a lot)
[Sony Cross-Device General] munjeni:
No need to "allow usb debuging" as newflasher do not use fastboot protocol. It must be done in flash mode
[Sony Cross-Device General] invincible12:
Ok... Thanks for the info. I'll try it next time i use and post a log if anything goes wrong.
[Sony Cross-Device General] shirakoshi:
Hello @munjeni

I have flashed the file for SOG02 downloaded on Xperifirm on my Japanese Xperia 5 ii (SOG02) with newflasher. (At that time there was a log like 0000_b)

And when it reboots, it says

your device is corrupt It can't be trusted and will not bootYour device will be powered off in 5 seconds

and cannot boot.

No adb or fastboot recognition. I tried turning off the power and then connecting it to the cable while holding down volume down to put it in flash mode, but all I get is "your device is corrupt".

Your tool is great but I would like a little explanation, please.
[Sony Cross-Device General] mj673687:
Hi,

i flashed xperia 5iii with newFlasher. after flashing I got msg "your device is corrupt It can't be trusted and will not bootYour device will be powered off in 5 seconds"

reading post on this thread I tried doing set active to b. After setting and rebooting device is not booting up. Even am not able to get to fast boot mode as well.

plz help me with this
[Sony Cross-Device General] munjeni:
This is explained I don't know how many times in this tread! Thats nothing related to newflasher but to ROLLBACK PROTECTION, you just need to flash newer rom than actual one on your phones, or simply unlock bootloader, flash any rom designed for your model than simply relock bootloader to reset rollback index to zero, in that case your device going to boot. If you flashed allready with newflasher, all critical components like bootloader...etc is always flashed to booth slots so your device will definitelly boot to flash mode if you getting "your device is corupt", you just need to put your device to flash mode by right combination on volume buttons + connecting usb slot to PC, just put your device in flash mode and flash right firmware, or unlock bootloader and flash any older or newer rom you want. I realy dislike that rollback protection, thats crazy and not what I want on my phone, including all new features like dynamic partitions. Until all gone back to single mode partitions and without rollback protection I have no plan to buy any new phone.
[Sony Cross-Device General] shirakoshi:
Thank you for your reply. I solved the problem by fixing something like boot _ a.

It was certainly not the problem of newflasher, sorry.
[Sony Cross-Device General] RIKEY0324:
Since My sony xperia XA2 Plus (H4493) occurs booting error (keep showing SONY when i boot)

then i got a problem like below when i want to flashing sony xperia XA2 Plus (H4493) by Newflasher v52

thanks fotr ur help (sorry for my bad English....)
[Sony Cross-Device General] munjeni:
You are first one who getting that error, please try again
[Sony Cross-Device General] RIKEY0324:
I have tried several times and it returns the same message....

Can you know what could be the reason?
[Sony Cross-Device General] munjeni:
Did you touch the trim area partition and corrupt?? I realy don't know, I see that for the first time. Might be usb cable isue? You should try another cable, also USB3.0 and 3.1 is reported sometimes that cause some isues, so I changed asynchorous usb transfer to synchronous usb transfer in newflasher source code, after that there was no isues with usb3.x, at least nobody reported, so if you can you should try usb2.0 port on your pc! Did you tried Sony PC Companion software, what they say?
[Sony Cross-Device General] ruchan:
Hi!

Device path: \\?\usb#vid_0fce&pid_b00b#5&2108ad5d&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}

Class Description: SOMC Flash Device

Device Instance Id: USB\VID_0FCE&PID_B00B\5&2108AD5D&0&2

ERROR: Error CreateFile! failed with error code 5 as follows:

Access is denied.

I am getting this error after repairing thru Xperia Companion.. How do I fix this?
[Sony Cross-Device General] munjeni:
You must close any instance of the xperia companion
[Sony Cross-Device General] sufu.7:
下载后找不到压缩包中的 EXE

文件
[Sony Cross-Device General] husen8899:
hi can you make a guide how to use newflasher on phone, thanks
[Sony Cross-Device General] Pandemic:
No it cant be used on the phone, you need a pc !
[Sony Cross-Device General] munjeni:
It can!
[Sony Cross-Device General] munjeni:
Its simple, just put filrmware on an folder on your external sd card (or to the internal storage, thats your choice!), put newflasher_arm64_pie binary to the same folder, rename newflasher_arm64_pie to newflasher, chmod it to 755. Step two, open terminal emulator, you must have rooted phone otherwise you can't use it on android, so if you have root simple type "su" to become root user, go to the folder using "cd" command for example "cd /media/balblabla/folderwithfirmware", than simple connect usb to usb phone to phone while keeping apropiate volume button combination to enter phone into flash mode. Step 3, simply type "./newflasher" and it will start flashing. its similar to Linux newflasher.
[Sony Cross-Device General] ruchan:
Hi, how do i convert an .ftf file into a newflasher compatible format? i tried to extract a .ftf using 7zip but the contents are somehow different compared to xperifirm downloaded firmwares.
[Sony Cross-Device General] munjeni:
Don't waste your time since it must be signed with Sony signing key, otherwise it will not work! If you go looking for signing key it will be like looking for...
[Sony Cross-Device General] ruchan:
oh.. i see. so .ftf is only thru flashtool?
[Sony Cross-Device General] munjeni:
Yes only flashtool
[Sony Cross-Device General] ruchan:
i just tried to extract the .ftf and flashed the contents via newflasher.. it works
[Sony Cross-Device General] ruchan:
Hi! anyone knows where to download older xperia firmwares?
[Sony Cross-Device General] munjeni:
That way yes since sin files is compatible with newflasher
[Sony Cross-Device General] Droios:
Hi yall,

Is it possible to flash Android 11 firmware XQ-AS52 to a XQ-AS62 (USA)?

Thanks!
[Sony Cross-Device General] munjeni:
Maybe! More chance to get info if you ask in https://xdaforums.com/c/sony-xperia-5-ii.11551/
[Sony Cross-Device General] dragonkiller96:
there is so many posts and there is a new update for newflasher... to flash SEA firmware to my Xperia 5III and keep all of my apps and data, i don't delete anything from the Firmware folder, and just press N for every prompt?
[Sony Cross-Device General] KnockOut^9:
i think you must press Y when the Prompt ask you if you want to keep user-data. But i never try this option.
[Sony Cross-Device General] munjeni:
Type Y when it prompt you to keep userdata
[Sony Cross-Device General] Pandemic:
Yes it works, i can confirm its working, updated my xperia 1 iii to April patch today.

Edit:

Great job @munjeni to add not to wipe the user data option 😎💯
[Sony Cross-Device General] dragonkiller96:
Thank you, i will try today. had enough of having no 4G+ on my xperia. I have the HK firmware and apparently this disables VoLTE, so i am flashing SEA so that it hopefully makes my Connection stronger, Enables VoLTE and grants me 5G as i am paying for 5G with a new Sim.
[Sony Cross-Device General] dragonkiller96:
hey, just letting you know, it came up with "Error: Time Out"

and now when i restart it, it is now in boot loop, showing just the sony logo.

after that it says "firmware corrupt, this device can't be trusted, powering off in 5 seconds"

i will try and flash the firmware again.
[Sony Cross-Device General] dragonkiller96:
Seems after it flashed. same error as it won't send the command to reboot to the phone. it it is successful according to the proccess except for that part.

after it stops, it just gets stuck into the "Device is corrupt, Device can't be trusted, will be powered down in 5 seconds"

i did see a sony logo the first time which i got into the recovery menu... i am doing a factory reset.

factory reset didn't work
[Sony Cross-Device General] Pandemic:
Bad download of the fw or usb cable is not good and clean flash ? Tell us please the steps what you did and hopefully we can help you.
[Sony Cross-Device General] KnockOut^9:
sorry to hear that: i hope you can fix the problem flashing again/or another firmware.
[Sony Cross-Device General] dragonkiller96:
I downloaded the latest newflasher and put it in the file with the latest firmware for SEA for Xperia 5 III. I put my phone into flash mode by pressing up and then sticking in the USB-C to USB-C. Launched Newflasher and press Y (my computer already had the drivers installed so couldn't install them from the file) I then launched newflasher again and press Y Y and Y restarted Newflasher then press YYN and it began flashing. It completed and then got stuck on the Syncing to reboot and then stopped and couldn't connect to the phone any more.

After that point it started the bootloop and then began the Corrupt error.

I can still get into the recovery menu.
[Sony Cross-Device General] Pandemic:
oke and no that goes wrong..

Type A to boot to android if it ask that then..

Type Y to keep userdata

Type 2 times N

Flash

Reboot

Stuck at sony logo.. don't panic !!

Hold vol up + powerbutton till it vibrates

It boots up

Done

That works for me 100% on my xperia 1 iii 😎
[Sony Cross-Device General] dragonkiller96:
That's what I did, and it is stuck at a loop of Device is corrupted
[Sony Cross-Device General] Pandemic:
What i explained also ? Redownload the correct fw or another region or/and another usb cable/usb port and try again, it should work mate, believe me, i was also a flashjunkie but not anymore.
[Sony Cross-Device General] munjeni:
That mesage "Device is corrupted" is explained 30 times on this thread! Let type one more time. You can't downgrade android on newer xperias since newer xperias have rollback protection!!! What is rollback protection? Rollback protection is Google feature to prevent flashing outdated firmwares, Google want you to flash up to date firmware, so when you try to flash outdated firmware it will not boot. To get out of bootloop you have two choices:

1. to flash newer rom than that one on your phone

2. to unlock bootloader. Than flash any rom you want including old one. Than last step, simple relock bootloader to reset rollback index to zero

In this cases your device will boot. Some devices reacts to sync isue and we have no idea what cause that, simply ignore that sync error and focus on choices above. ALso make sure your cable is ok, usb port ok, drivers under device mannager without yellow triangle, make sure Sony pc companion is fully closed... etc. Before you unlock bootloader double check if your device can be relocked again! Also double read xda what you gain and what you lose after the unlock bootloader! Mine one is Xperia 10 without mark, what I got is no way to relock bootloader, and some features is lost like wifi connection to my tv is no more working. So before anything double check everything! Hope this help!
[Sony Cross-Device General] dragonkiller96:
as i said,

1. my Xperia firmware and the Current one on Xperiferm were the same, so i was flashing the same firmware.

2. how do i unlock bootloader on the Xperia 5III when i am stuck on a loop of corrupted device.

3. would checking the "OEM unlock" be the issue?
[Sony Cross-Device General] munjeni:
I have modified my post above, read them. You probably do not have the same firmware in most case, its probably the same number but not the same, and I can't explain why, its allready reported on this thread that flashing the same "almost the same" firmware no want to boot. Try another! See firmware history on newflasher window, it will give you idea which last sucesfull fw was on your device. If that not help you will probably need to unlock bootloader. Or you will need to wait newer fw in case you no want to unlock bootloader.

would checking the "OEM unlock" be the issue?

I don't know, you should try. Please refresh page and read my post above!
[Sony Cross-Device General] munjeni:
Did you tried Sony PC Companion software to repair corupted device?
[Sony Cross-Device General] munjeni:
Newflasher is a helper tool and nothing more, the main tool is "double read before make"!
[Sony Cross-Device General] munjeni:
You said right. He just need to find which fw "region" was on his device when it worked. Also he might try to switch to slot A first, here is posts eplaining how it can be done by newflasher trought command line:

newflasher set_active:a

reboot device than flash.
[Sony Cross-Device General] Droneship:
Does it support flashing with test point
[Sony Cross-Device General] munjeni:
No! For that search for s1tool
[Sony Cross-Device General] Droneship:
It doesn't support Xperia Z2
[Sony Cross-Device General] Pandemic:
You can pm the dev of it, newlasher have nothing todo with that lol.
[Sony Cross-Device General] harry655:
Your flasher plus xperifirm saved my brand new brick.

Thank you very much!!
[Sony Cross-Device General] Droneship:
i didn't ask you.
[Sony Cross-Device General] Pandemic:
Well this is an open forum so everyone can answer your question dude.
[Sony Cross-Device General] Droneship:
I'm mentiong him tho
[Sony Cross-Device General] louisbloomm:
hi,

i have a xperia 1 mark 3 xq-bc72, after recent android 12 update my phone started to bootloop and got the 'your device is corrupt...' message.

i read this whole forum and tried sony companion first but no success. so i tried with newflasher many times with fw for xq-bc72 (i tried all different regions) but no matter what i do its not working for me and phone keeps bootlooping until the corrupt message appears, can anyone help i dont know what im doing wrong.
[Sony Cross-Device General] munjeni:
Probably true, I realy don't know, I have used s1tool on my xperia z1 compact a lot of years ago, have no idea even if s1tool devs done something further for newer phones