yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Questions & Answers] Keniath:
i tried putting it into flashmode with holding the volume down button while plugging in and newflasher still says no usb device and doesnt do anything. i have all the drivers
[Sony Xperia XZ Premium Questions & Answers] dhonzik:
I Am assuming you have it turned off when doing this
[Sony Xperia XZ Premium Questions & Answers] Keniath:
phone is turned off yes. im pressing volume down and plugging in. the light in the corner goes green and stays like that.
[Sony Xperia XZ Premium Questions & Answers] munjeni:
Can you tell us what is vid and pid of the usb device in device manager on your pc while your phone is in flash mode? What model is your phone, xz premium right?
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
Go into device manager on Windows and see if the drivers are correctly installed or if there's a yellow warning sign.
[Sony Xperia XZ Premium Questions & Answers] beammer335d:
Just picked up the xzp, couple days ago, running G8142, but living in Ontario, over 5 hours of SOT. great phone,

Thinking about flashing to the G8141 - 142 will only run in 4G mode
[Sony Xperia XZ Premium Questions & Answers] Keniath:
my phone model is xz premium yes!

only thing i could find in device manager is "Sony sa0116 ADB Interface Driver"

this is vid/pid : "usb\vid_0fce&pid_51f1&mi_01"

and yes there is a yellow warning sign

what is the problem there?
[Sony Xperia XZ Premium Questions & Answers] munjeni:
Its not flashmode state! Flashmode have vid 0fce and pid b00b, your vid and pid indicating that your device is in charge mode probably. To get into flashmode folow this:

1. Disconnect usb cable

2. Power off your device

3. Press and hold volume down button

4. While holding volume down connect usb cable, hold volume down button another 2-3 secconds, done
[Sony Xperia XZ Premium Questions & Answers] Keniath:
iv been doing exactly what you described. maybe there is something wrong with the drivers and that warning sign?

iv tried re installing those also
[Sony Xperia XZ Premium Questions & Answers] atif_afzal:
Hello dear yes its drivers problem. You have to install proper drivers. Or you can do delete that yellow sign driver then connect you system with internet and reinsert usb cable in system and put the phone on flash mod. It will automatically install driver for you.

I did the same and no problem for drivers.
[Sony Xperia XZ Premium Questions & Answers] munjeni:
Use gordon gate driver installer from drivers dir of the flashtool, install, reboot pc and try
[Sony Xperia XZ Premium Questions & Answers] madmc320:
I am getting am disk space error. Error code 112 during the system_X-FLASH-ALL-42E5.sin inflation process. The device has nothing on it , why am I getting this error? I am using the latest software.
[Sony Xperia XZ Premium Questions & Answers] Keniath:
still nothing...its getting really frustrating now. might give it a try from another pc if i get the chance
[Sony Xperia XZ Premium Questions & Answers] munjeni:
You have not enought free disk space for system.sin extraction!
[Sony Xperia XZ Premium Questions & Answers] madmc320:
Free space isn't an issue, however, I will move the files to another directory and try again.
[Sony Xperia XZ Premium Questions & Answers] Keniath:
so iv tried even on another computer. tried installing drivers. and even installed drivers that download automatically when you connect phone in flash mode. still nothing. cant seem to recognise phone.

should i wait for flashtool? im desperate
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
There shouldn't be any yellow warning signs in device manager, if there is it wont work.
[Sony Xperia XZ Premium Questions & Answers] Keniath:
i have no idea why im getting a warning sign in the first place.
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
In Device Manager, press Action, add legacy hardware, Install the hardware I manually select from a list, select Android Phone and see if there's anything there you can install.

http://adbdriver.com/documentation/how-to-install-adb-driver-on-windows-8-10-x64.html
[Sony Xperia XZ Premium Questions & Answers] munjeni:
Driver can't be installed automaticaly. You must install driver, I told you how allready (gordongate installer from flashtool drivers dir,folow installation carefully, don't forget to check flashtool driver).
[Sony Xperia XZ Premium Questions & Answers] munjeni:
Also told you about checking device mannager but seems you are one of those who no want to read and folow, I can't help than
[Sony Xperia XZ Premium Questions & Answers] munjeni:
How many free space have in that partition?
[Sony Xperia XZ Premium Questions & Answers] munjeni:
WTF! Adb driver? Did you even know anything about adb? Adb driver can't be used for flashing!!!!! Gordon gate flash driver is need! Don't waste please both your and peoples time if you're unsure!
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
Calm down and stop spamming wtf.

I was thinking about fastboot.
[Sony Xperia XZ Premium Questions & Answers] Keniath:
iv tried everything what you have written so far and appreciate the help.

gordongate installer from flashtool drivers dir doesnt do it for me also.
[Sony Xperia XZ Premium Questions & Answers] munjeni:
If you are unsure you can install sony pc companion software and try repair phone procedure by it, it will install flash driver. If that not help, download latest flashtool, go into drivers folder of the flash tool and install driver installer, select flashmode driver when it prompt you, if that not help nothing can help you
[Sony Xperia XZ Premium Questions & Answers] munjeni:
But did you selected flash driver when you started installer? Adb is not flash driver, fastboot is not flash driver, hope you know that
[Sony Xperia XZ Premium Questions & Answers] munjeni:
There is nothing to think, fastboot is not flash driver, adb is not flash driver, you know that right now and hope next time your post will contain corect one :(
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
Yes, I will not post incorrect info again!
[Sony Xperia XZ Premium Questions & Answers] robdevil:
Driver is installed automatically. He just need PC Companion installed first. PC Companion should be disabled during flashing of course.
[Sony Xperia XZ Premium Questions & Answers] Joous:
thanks for that :)
[Sony Xperia XZ Premium Questions & Answers] madmc320:
Moved the file to a different directory and it worked. Not sure what the issue was but I will let you know if I find out. Thanks again for the assistance.
[Sony Xperia XZ Premium Questions & Answers] YasuHamed:
just be careful

sony device are MONSTER

DEVIL is in the details!
[Sony Xperia XZ Premium Questions & Answers] Sebi673:
[MENTION=8394681]Keniath[/MENTION] Be careful with the low space warning. Things went horribly wrong on my end with XZ.

Tried downgrading to 6 for Ta backup with flashtool, ran out of disk space mid flash and I thought I could do it all over again.... But nothing worked. You know things are FUBAR when even PC Companion fails to flash the phone. I managed to get my money back and return the brick..... So be careful with low disk space.

Now I still don't know what went wrong with the XZ (maybe hardware fault? - It was a resealed deal). I even tried flashing by partition. Maybe you guys have an opinion on what happened. I have no need to flash the XZp but who knows. :D
[Sony Xperia XZ Premium Questions & Answers] The_Newtype:
What needs to happen in order for the XZP to be supported within Flashtool? Is there a time frame that it should be expected to work?

Thanks!
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
I think that there are 2 problems: new flashing protocol (have to be enabled without breaking support for old one) and double partitions (something Google seemed to add to all 7.1.1-since-beginning devices).
[Sony Xperia XZ Premium Questions & Answers] beammer335d:
I know, great phone, was able to flash to G8141, also have enabled the finger print scanner
[Sony Xperia XZ Premium Questions & Answers] VeixES:
you Flashed 8142 with 8141 image? no problems after that?
[Sony Xperia XZ Premium Questions & Answers] beammer335d:
No hiccups, running smooth
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
Hi everyone. I have a sony xperia xz premium i try to root it but i dunno what i did wrong but now i have it dead it ia stuck in the sony logo and dont start up . Any helps for me will be great
[Sony Xperia XZ Premium Questions & Answers] CaKiTarZ:
Has anyone tried flashing a G8141 with a G8142 firmware?
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
[MENTION=8455908]HACKETON[/MENTION]

Use Newflasher to flash stock on Your device.

[MENTION=3246458]CaKiTarZ[/MENTION]

What for? You won't get Dual SIM and other than that Single fw is same as Dual's. It's not Moto X Play/Z Play, where all difference between Single and Dual is firmware (hardware of both is Dual).

Other than that it will work, same as G8141 on G8142 works.
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
[MENTION=750652]chem[/MENTION]ney do you know where i can get the stock for that phone. Thanks for your reply
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
XperiFirm? It should be easiest way. I'm uploading for my Polish forum, all CE1 and Polish carriers' firmwares, but not sure if that's what You need. And even they are identical like what You can get using XperiFirm.
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
Can you please give me a more detailed on what i need to do please. And thanks
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
This to download the firmware: https://xdaforums.com/crossdevice-dev/sony/pc-xperifirm-xperia-firmware-downloader-t2834142

REMOVED

The second works that way that You move it's files to the folder with downloaded firmware, unpack partition.zip file and take all files from /<firmware>/boot, to /<firmware>/, connect Your device in Flashmode*, start the newflasher.exe file.

You have to have drivers installed before. Here is installer with drivers: https://www.androidfilehost.com/?fid=24530981327208692

Flash only Flashmode driver.
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
I try to do it with flash tool but when it ask to connect the phone in flashmode i conected but nothing seems to happen im going to try the way you gave me and let you know thanks alot

---------- Post added at 03:25 AM ---------- Previous post was at 02:32 AM ----------

@ch3mn3y

I dit everything as the instructions says but at the end im geting this error' dindnt got signature okay reply!got reply: failed to verify cms

Then when i disconect my device and try to turn it on to see if it was done now i only feel when it vibrate to turn on but the screen is black
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
Some pic
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
Second
[Sony Xperia XZ Premium Questions & Answers] Obievil:
I'm in the same boat, did you ever figure this out?
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
[MENTION=8455908]HACKETON[/MENTION]

Maybe latest (coz it was) is broken?

REMOVED
[Sony Xperia XZ Premium Questions & Answers] beammer335d:
Yes I have, I've been able to flash my device to G8141 firmware
[Sony Xperia XZ Premium Questions & Answers] Obievil:
Oh My god, What did you do? I've been trying to find a solution that actually works for a while now.
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
[MENTION=4254806]ch3mn3y[/MENTION]

im still getting the same error i dont know whats going on my phone now is like very dead when i try to turn it on it vibrates but the screen is totally off but if i enter in recovery mode TWRP it go normally just into the recovery. is there any other tool to flash it or any other whay? i visit your page but i dont understand too much i think is in another language but it looks great. at this point im very fustrated as having a 800 dollars phone bricked omg. thanks for been there helping me i appreciate it, wait for more reply
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
Did You try locking bootloader through Flashtool and using Xperia Companion?
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
I didnt try locking back the bootloader. Let me try it and post back

---------- Post added at 10:08 PM ---------- Previous post was at 10:06 PM ----------

Is that possible to relock the bootloader?

---------- Post added at 10:09 PM ---------- Previous post was at 10:08 PM ----------
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
Not sure. It works with older devices. It won't restore DRM keys, but relocks the bootlaoder.

Sure You probably have to create .properties file for XZp (not sureif in Fastboot mode it's needed).
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
Is there any option in flashtool that says lock bootloader ot something like that . Because i dont see nothing in flashtool

---------- Post added at 12:57 AM ---------- Previous post was at 12:50 AM ----------

Also flashtool doesnt recognize my pohone when i conect it via flashmode
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
When You click BLU and have unlocked bootloader it should start in "relocking mode".
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
Ok. but how i make flashtool rexognize my phone when i put it in flashmode. Fastboot it recognize it but flashmode doesnt. Help please
[Sony Xperia XZ Premium Questions & Answers] DocLM:
From what I understood XZP use a new flash protocol and actually it is not supported by flashtool. Flashtool use fcs script file to manage a device and actually there isn't a file for this phone (github repo)

If you want to check if the boot loader is unlocked connect the device to a PC with fastboot and fastboot driver installed then boot to fast boot mode and run this command:

fastboot[.exe] oem device-info

You should see info about boot loader status

If your device is unlocked try to use Sony tool for unlocked device to restore it to a safe state.

Otherwise try to use Xperia Compation to restore it to a safe state.

Also remember that maybe the firmware file you downloaded was corrupted, you can try to re-download it and retry to flash with newflasher
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
He doesn't wont to check - we know it's unlocked. Just relock it. That way he could use Xperia Companion, as Newflasher gives some strange error.

Anyone knows if EMMA has support for XZ Premium yet? [MENTION=8455908]HACKETON[/MENTION]

If not Newflasher, FLashtool and Xperia Companion, EMMA is the last resort.
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
Yes where i can download that?
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
https://developer.sonymobile.com/downloads/tool/flash-tool-for-xperia-devices/
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
Is that flashtool or emma?
[Sony Xperia XZ Premium Questions & Answers] beammer335d:
I just followed this post... but instead of downloading the G8142 dual, I downloaded the CE1- G8141

https://xdaforums.com/showpost.php?p=72958788&postcount=16
[Sony Xperia XZ Premium Questions & Answers] YasuHamed:
don't unlock your bootloader

xperia companion will stop recognizing it

also there is no DRM fix kernels available right now!

---------- Post added at 11:40 AM ---------- Previous post was at 11:40 AM ----------

thats great! , please don't unlock your bootloader!
[Sony Xperia XZ Premium Questions & Answers] beammer335d:
I havent, Its still locked
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
[MENTION=5613633]YasuHamed[/MENTION]

I already have it unlock it. I jist want to recover it back cuz now is in a dead state wich it turn on but no screen at all
[Sony Xperia XZ Premium Questions & Answers] DocLM:
It is Sony Flashtool for unlocked devices (actually called Emma) you need to use it to restore your phone.
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
[MENTION=7687750]DocLM[/MENTION]

Ok. Thanks

---------- Post added at 02:41 PM ---------- Previous post was at 02:40 PM ----------

I will let you guys know when i try that. Thanks a lot
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
emma

how this emma works i dont understand it

---------- Post added at 07:17 PM ---------- Previous post was at 06:29 PM ----------

ok guys i like to thanks a lot to [MENTION=4254806]ch3mn3y[/MENTION] thanks bud to be there all time with me during this procces.

ok got my phone working again but the drm keys still gone if anybody knows a way to have them back please post it

step by step what i did:

download xperifirm

then using emma flash the firmware that was the only flashtool it work for me

newflasher gave some extrange error,

im so exited to have my phone back after around 1 week dead, again thanks [MENTION=4254806]ch3mn3y[/MENTION].

ok if anyone knows how to lockback the bootloader please let us know.
[Sony Xperia XZ Premium Questions & Answers] sToRm//:
I'm really sure you just flashed a wrong kernel before. Maybe flashing AndroPlus v04 would have helped, too. But okay, now you are on stock?

There is no DRM fix at the moment. So you have to wait for it (maybe there will be one, maybe not).
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
[MENTION=8363210]sToRm//[/MENTION]

Thanks

---------- Post added at 04:11 AM ---------- Previous post was at 04:02 AM ----------

Is that androplus kernel for xperia xz premium fix the drm keys?
[Sony Xperia XZ Premium Questions & Answers] sToRm//:
No. There is no drm fix actually!
[Sony Xperia XZ Premium Questions & Answers] pawnstar:
Actualy I got the same error on signature, can't use newflasher anymore :( Probably that is related to unlocked bootloader? I unlocked mine and seems my bootloader no more checks for signature and in that case newflasher is no more working, anybody confirm that?
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
They're gone forever and you will never have them back. The "drm fix" only simulates keys so the functions gets restored.

When you unlock bootloader the keys are gone forever.

No.
[Sony Xperia XZ Premium Questions & Answers] pawnstar:
But flasher worked before I unlocked bootloader, now not working anymore, getting the same error like HACKETON :(

---------- Post added at 05:24 PM ---------- Previous post was at 05:03 PM ----------

Nevermind, got it working, problem seems a corrupted firmware? After redownloading G8141_Customized CE1_1308-5321_45.0.A.1.229_R6A all ok
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
Why are you being on such an old fw? Flash 45.0.A.7.90
[Sony Xperia XZ Premium Questions & Answers] pawnstar:
Wanted the same fw as one which was...
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
[MENTION=8004595]FartyParty[/MENTION] the only problem i have without the drm keys is the camera and lowe signal strenght

Is the drmfix will help with that?
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
It will solve the camera issue yes. If someone manages to make a drm fix compatible with XZP.
[Sony Xperia XZ Premium Questions & Answers] munjeni:
You getting that error because you moved context of the boot folder to the one level down folder, see https://xdaforums.com/showpost.php?p=73458755&postcount=346
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
Anything yet to fix the drm keys?:confused:
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
No and if it happens there will be threads about.
[Sony Xperia XZ Premium Questions & Answers] munjeni:
See optional steps https://xdaforums.com/showpost.php?p=72609808&postcount=1 , curently I don't own xzp to test that, but hope I get response about that. If you have questions about flasher related thing ask in my thread
[Sony Xperia XZ Premium Questions & Answers] piotrzet:
Someone try flashing single sim soft on dual sim model (G8142)? Is it working?
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
[MENTION=5613633]YasuHamed[/MENTION] did. Posts #107 and #113.
[Sony Xperia XZ Premium Questions & Answers] lesmil:
Yes, I did yesterday. I was bored :D Everything working without any problem (just don't see 2 SIM option in menu - logicaly). I flashed CE1 firmware.
[Sony Xperia XZ Premium Questions & Answers] piotrzet:
Anyone else?
[Sony Xperia XZ Premium Questions & Answers] HACKETON:
Any way to fix the drm keys yet?
[Sony Xperia XZ Premium Questions & Answers] ch3mn3y:
[MENTION=8455908]HACKETON[/MENTION]

Unfortunately no :(
[Sony Xperia XZ Premium Questions & Answers] sagard23:
Firmware change in Xperia xz premium

I'm using Sony Xperia xz premium in India which is brought from riyadh. I want to change the firmware to India. As volte support I'm not seeing in my mobile. As it is from riyadh I cannot get volte support which is said by Sony India.. Could someone please help me in changing firmware
[Sony Xperia XZ Premium Questions & Answers] Zaisesl:
So you flash the single sim over a dualsim cell phone amd everything was working fine? Do you have any signal or any kind of problem?
[Sony Xperia XZ Premium Questions & Answers] lesmil:
Yes, I flashed single SIM FW on my dual SIM XZP. I flashed all files from *.ftf (except simlock.ta - I deleted that). Everything is working fine, haven't had any issue so far.
[Sony Xperia XZ Premium Questions & Answers] chefboyct:
Sony XZ Premium G8141 Camera issue

Hi all,

It took me a whole day yesterday to flash the STOCK ROM (needing the latest 137 build and Sep security fixes / NO ROOT and just standard unlock bootloader using Newflasher). and now I realised my camera (auto mode and video camera (slow mode) aren't working (showing green and not taking slow motion cam). Now I saw there is an issue with unlocked bootloader (which I knew it sooner)! so now how can I revert back (no backup made) and when I connected to Emma (Sony flashtool) and there are other firmware I can download. The question is... would it fix the camera issue ? I dont want to waste time to flash again and then realise it doesnt work seeing I have spent a few hours restoring everything back to the way I liked it. Thanks
[Sony Xperia XZ Premium Questions & Answers] DocLM:
Its simple, you can't fix the camera. Unlocking the boot loader erase drm keys that disable Sony features. Without a drm backup (actually not possible) you cannot restore to a working state. The only possibilities you have is that someone in the future found a solution with drm fix.

Look at DRM Fix and Camera Fix threads.
[Sony Xperia XZ Premium Questions & Answers] chefboyct:
Thanks for the update and information. I noticed someone or some people are trying to figure out as how to resolve this. I noticed there are some 3rd party camera apps will work but with some missing functionalities. Is there any work around solutions for the mean time to have the camera working at its best ability?
[Sony Xperia XZ Premium Questions & Answers] Zaisesl:
Why did you delete simlock.ta?
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
Snapcamera.
[Sony Xperia XZ Premium Questions & Answers] chefboyct:
Shot FartyParty and I saw you also suggest the following which I installed (Free) https://play.google.com/store/apps/d....footej.camera

In your opinion, which one works the best?
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
Snapcamera is easily superior. It has tons of settings, can take pics in full resolution etc.
[Sony Xperia XZ Premium Questions & Answers] lesmil:
newflasher should ignore simlock.ta anyway, but it is more secure to delete that file :)

---------- Post added at 10:27 PM ---------- Previous post was at 10:23 PM ----------

Well, it be might be a problem with my camera skills, but did you manage to get better pics than with stock camera app? For me Snapcamera samples were a lot worse, but again - might be me :)
[Sony Xperia XZ Premium Questions & Answers] FartyParty:
Stock camera doesn't work with unlocked bootloader so I can't say. For me it works fine and I'm happy.

But then again, I don't buy phones for their camera.