yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Wait a few minutes at that screen, thats all you have to do ;)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
This is not working.

The device shows the G of Google with the loading banks.

This moves for some time, then reboots.

At some point came the query to SIM pin, but then again the device shows the G of Google with the loading banks.

This moves for some time, then reboots.

.....................

What am I supposed to do now?

I turned off the device, it got very hot.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Backup your files on your sd card, formate the sd card, copy everyrhing back, and reflash the rom
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] noahhhh:
You may try this kernel，less phone fever and smoother experience.https://github.com/cryptomilk/android_kernel_sony_msm8998/commits/lineage-17.1
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] sunday01:
The same experience cannot be installed. The device is always loading the G Logo.

I can flash blissrom and havos, but this Pixel Experience cannot flash, I don't know which step is wrong.

My phone is G1842 Hong Kong version.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
And did you do what i said?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] sunday01:
"Back up the files to the SD card, format the SD card, copy all the contents back, and then refresh the ROM again."

I don't know much about this sentence.

This SD card is a bit puzzling. Is it an external SD card or internal storage?

If it is an external SD card, then I am not using an external SD card.

If it is internal storage, do you back up all internally stored files to an external SD card?

Then format the internal storage? Can you be more specific?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] minuitsun:
Brush 107 firmware

Brush twrp

Enter recovery brush volte file

Power on

Shut down and enter recovery again

Format data restart

Format data again and restart

Clean up internal storage

Brush PE and Magic
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] sunday01:
This is my operation, please help me see which step is wrong

1. Download 47.2.A.10.107 firmware, delete all .ta files in the first-level directory,

2. Use newflasher to flash into the latest firmware and enter the system.

3. Enter bootloader mode and flash into TWRP.

4. Go to TWRP> Wipe> Format Data> Power off.

5. Go to TWRP> Wipe> Format DATA> Power off again.

6. Go to TWRP> Wipe> Internal Storage clean

7. flash Pixel Experience

8. Then always load the G logo and cannot enter the system

Oh. There is also how to brush the volte file. I saw Volte is openable in blissrom before. But it is not available (The volte icon has been opened at the advanced level, but it is not displayed.). Because the original firmware is not supported.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] minuitsun:
Your operation is right

Try to back up your SD card and format it

Then copy the backup file back to SD card

Operate your steps

Here is the volte package

Brush firmware

Brush volte and restart

Prompt to restart after power on

After opening volte

Shut down

Brush PE

Friendly tips:

This package only supports

Unicom

telecom

CMCC
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
This works!!!! :) THX

Please add to post 2

That it may take some time until the SIM is recognized.

It took me about 5 minutes.

My Sony is now set up and everything works.

I also found out that the 47.2.A.10.107 firmware can be installed via Xperia Flash Tool Setup (Emma). It's faster and easier.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] thaihoang1231:
i have an error

i have an error when use newflasher to flash Stock firmware. Please help me fix this :crying:

Optional step! Type 'y' and dress ENTER if you need to flash bootloader, bluetooth, dsp, modem, rdimage to booth a,b slots, do on your own risk!

y

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-dowload-size!

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

Press any key to continue...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] sunday01:
N, just skip it
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] thaihoang1231:
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-dowload-size!

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

Press any key to continue...

if i press anykey it close newflasher
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] thaihoang1231:
i have a error

in twrp mode after step wipe data, so i plug cable to copy rom to phone (still in twrp and wait for flash rom), it take a long time translate and then it can't complete

"the device has either stopped responding or has been disconnected"

p/s sorry for bad english
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
Download and install Emma:

https://developer.sony.com/develop/open-devices/get-started/flash-tool/download-flash-tool/

Then download all files again with XperiFirm ~ Xperia Firmware Downloader.

Then follow all steps via post 2.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] thaihoang1231:
tks for help, i fix this error and get a new error

after step format data, the internal storage is empty, i not have SD card so i copy rom to phone by cable (still wait in twrp for flash rom) but it "the device has either stopped responding or has been disconnected". So what should i do
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
I use a SD-Card.

Please test with SD-Card.

Format SD-Card with TWRP

after format. Copy the Rom to the SD-Card.

Than flash the ROM.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] meng_Ming:
There are no pictures to view in the camera

Support 90hz in the future??

Support OTA??
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
In the Cam: General setting ---> Automatic photo preview

When is the next update?

Because it takes a very long time until the SIM can be activated (pin).

Since I restart my Sony once a week, it's already annoying.

Also, the original Sony photo app does not work.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Dude, the hardware itself is only 60Hz. Not going to happen

---------- Post added at 06:44 AM ---------- Previous post was at 06:37 AM ----------

I managed to get this rom working for the very first time. What a wild ride. SIM works fine for me when it first booted up. But yea, I thought the Sony camera app is included but oh well, time to look for Pixel camera :)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] meng_Ming:
Use Google photo albums instead?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
Yeah, I'm using that. It works for me.

I have another problem right now:

When I launch apps, the screen stays gray.

The app is started but only screen grey.

Wippe ART, without success.

What else can I do?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Turns out I have that as well. I think it happens to all apps that has in app browser like Facebook and outlook. I can still "highlight" texts, but the screen is generally blank. Any idea?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Aha! Found a fix. Go to Google Play Store and uninstall Android System Webview. Don't update it and the blank in app screen should be working again.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
I reset my phone.

I have now removed the app from the update. THX

Now I have the problem,

I can't find the always-on display setting.

Somebody help me, this is using up a lot of power.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
It's a 4K LCD panel. I dont think this feature exists in this case.

Battery wise, try disabling Digital Wellbeing. I don't use it so it helps saving battery life. I did a test on my own and it gave me 5 hours screen on-time continuous use. Not great, but decent for a 3-year-old phone.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
But I always have a display on function.

The Sony always shows the time + date + battery status for 24 hours and that on a black background with double tap to wake me up.

I can't deactivate Digital Wellbeing.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Go to settings > digital wellbeing > the three dots at the top right hand corner > manage your data > turn all options off

I'm pretty sure that's not always on display function. Probably just clock screensaver? I've used it before on my 'battery buldge, torn apart" Xperia XZ

---------- Post added at 07:42 PM ---------- Previous post was at 07:38 PM ----------

And you may also want to turn it off from Usage Access too. Search it in settings
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
Not work.

Can not find. (German Settings)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
I actually turned off mine before I updated it from the Play Store. From the triple dot, "turn off usage access". That was what I did anyway. If yours is different, you still should be able to turn off. Give it a try

---------- Post added at 08:34 PM ---------- Previous post was at 08:32 PM ----------

For the Usage Access, literally type in "Usage Access" in the Settings search bar
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
I have found Usage Access, but there is no display function.

See the picture (it's from the Samsung, but it's the same with the Sony)

http://www.droid-life.com/wp-content/uploads/2016/08/galaxy-note-7-always-on.jpg
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Every phone is different. You cant expect all phone to have the same features and do the same thing. There will always be compromises. The reason why most Samsung, OnePlus and Pixel phones have them is because they're using OLED/AMOLED. Having always-on display on OLED screens makes more sense as it doesnt use the whole screen than on LCDs. If that display feature can be done to all phones the developers would've included by now. That said, you can download Always On AMOLED from Google Play Store to enable it, sort of.

---------- Post added at 05:03 PM ---------- Previous post was at 04:43 PM ----------

And shout out to those developers and maintainers. Thanks for doing this, really appreciate what you're doing to support the XZ Premium! Had been using this ROM for a few days now. Mostly positive stuff, but I think there're some minor issues to take note of:

1. The latest Android System Webview isnt compatible with the build. WIll show blank screen when using in-app browsers like Facebook and Outlook.

2. Swiping along the pill to switch apps may be a little sluggish at times.

3. Not sure if the battery percentage is accurate. My phone was at 15% and suddenly turns off and couldn't turn it back on because there's no battery power.

4. Overall system performance is pretty good, but may encounter slight hiccups.

5. Although rare, the whole system may crash and reboot itself. Not sure whether it's because I turned on battery saver at 30%.

6. Music stops playing halfway when headphone jack is plugged in. Bluetooth works fine.

Will keep you guys up to date if I could find anything else.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
trouble in flashing rom..

hi, i'm beginner in installing custom rom... i tried several times to install PE on my xperia but all failed. It always ended in a bootloop and dark scene in the end. I've checked anything i'm pretty sure i follow everything in the manual.

I've unlocked my phone, successfully installed twrp, format data and wipe everything(including internal storage) and finally installed the zip file from my usb OTG. Can't really understand what's the missing step, can anyone help?

ps: i've installed PE on my xiaomi phone, run perfectly.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Did you flash the latest software binary from Sony's website?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
i tried before but failed, so i didn't flash that later. i don't know what is binary for, can anyone explain?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
You need it to run android 10. Go to this website:

https://developer.sony.com/develop/open-devices/downloads/software-binaries/

The PE website gave the wrong flash command. There isn't oem_a or oem_b. Just oem will do:

fastboot flash oem <file name>

And I presume you have updated your stock rom to the latest version?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
yes, updated to the latest version using EMMA

---------- Post added at 03:52 PM ---------- Previous post was at 03:30 PM ----------

which binary should i choose?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
https://developer.sony.com/file/dow...es-for-aosp-android-10-0-kernel-4-14-yoshino/
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
flash the binary before/after wipe data?

---------- Post added at 05:02 PM ---------- Previous post was at 04:35 PM ----------

still endless bootloop after flashing binary...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
my steps:

1. Download 47.2.A.10.107 firmware

2. Use Emma to flash into the latest firmware and enter the system.

3. Enter bootloader mode and flash into TWRP.

4. Flash the latest binary

5. Go to TWRP> Wipe> Format Data> Power off.

6. Go to TWRP> Wipe> Format DATA> Power off again.

7. Go to TWRP> Wipe> Internal Storage clean

8. flash Pixel Experience with sim card inserted

But result in bootloop
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
Format SD-Card with TWRP

after format. Copy the Rom to the SD-Card.

Than flash the ROM.

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

[MENTION=10969099]alanlim97[/MENTION]

I found the problem.

Smart lock screen .

I did a factory reset, and that's when the setup came up: Smart lock screen

I deactivated it and now everything is perfect again.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
I don’t use an external sd card, I used usb otg in step 8
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
Please do this:

Format external-SD-Card with TWRP

after format. Copy the Rom to the external-SD-Card.

Than flash the ROM from external-SD-Card.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Not sure what you're talking about. Did you mean the lockscreen was skipped? Mind a screenshot of it?

---------- Post added at 06:03 PM ---------- Previous post was at 06:00 PM ----------

I reckon do it from sd card. Just follow the exact instruction and you'll get there.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
must use External SD card to flash rom? (coz i used usb for another phone)

how to format external-SD card?

---------- Post added at 10:17 AM ---------- Previous post was at 10:16 AM ----------

can i use Emma without delete .ta file?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
I formatted mine from my PC. I heard you can do it from twrp, not sure.

Wait, why do you want to delete files? There's no need to delete anything

---------- Post added at 06:20 PM ---------- Previous post was at 06:18 PM ----------

Once more, I use Flashtool instead of Emma. So not sure why would you need to delete stuff again
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
I didn’t delete anything, I saw sb in previous comment said they deleted .ta
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
I think you should try redoing it from the beginning again instead of trying to fix stuff in between. When I first doing this flashing thing last year on my retired Xperia XZ, I had bootloops and issues too. But I managed to get it to work after I redid the whole process and followed the exact steps. Even redownloading the files again as they may have been corrupted.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
Actually tried redoing everything several times

Is my steps correct?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
For my process, I used CMD, Flashtool and Xperifirm:

1. Unlock bootloader using Flashtool after installing ADB and Fastboot drivers

2. Flash LATEST firmware (Flashtool and Xperifirm)

3. Use CMD to flash latest software binaries from Sony website (fastboot flash oem <LATEST software binaries filename>)

For every applied step up until this point, turn on your phone, usb debugging and oem bootlocking just to make sure everything works in stock.

4. Flash twrp using CMD (fastboot flash recovery <LATEST twrp filename>).

5. Copy PE zip file into your sd card. Insert it into your phone. (Optional: Insert your SIM)

6. Boot into TWRP > Wipe > Format Data > Reboot into TWRP > Wipe > Format Data > Reboot into TWRP > Wipe just the internal storage

7. Reboot into TWRP and install PE from your SD card and reboot your phone.

DONE. Hope it works for you
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Gordon1979:
How should I take a screenshot?

I don't want to put the Sony into factory reset for the next time.

When setting up the Sonys comes, set up Google services.

You have the possibility to activate the intelligent lock screen.

This does not come back during the setup of the device.

I have also not found the setting.

Why this is not in the settings, you should ask the creators of the ROM.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
Basically I did the same things as you besides not using SD card( coz I don’t have one)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Well you can try contact them and they might give you the same answer anyway. But to my understanding, always-on display works only with OLED screens. Period.

---------- Post added at 09:24 PM ---------- Previous post was at 09:22 PM ----------

Hmmm. Try internal storage then? Wiping internal storage wont delete everything anyway
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
You mean adb sideload? I tried but doesn’t work
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Copy and paste PE zip file from your pc into your phone internal storage and install from there. Have you tried it yet?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
Yes... but I can never find the file in twrp
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Walk us through every single step you did from when you unlock the bootloader, everything from the start to what version of software and drivers
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
Okay, starting after unlocking bootloader

1. I installed the xz premium Usb driver from Sony official website in my device manager(win10)

2.installed the adb and fastboot driver(adb-setup-1.4.3) for android

3. Installed minimal_adb_fastboot v1.4.3

4. Installed Emma(Sony’s official flash tool)

5. Downloaded the latest version of twrp recovery for my xz premium

6. Flash the latest firmware 107 (G8142) for my device(recommended by Emma)

7. Flash twrp recovery using adb command

8. (Format data, reboot)*2

9. Wipe internal storage

10. Flash the latest binary

11. Flash the PE plus custom rom using usb otg (with no error message)(basically it’s usb c to usb a)

12.reboot system

Thank for your kind help!!!

---------- Post added at 03:53 PM ---------- Previous post was at 03:44 PM ----------

Really can’t figure out which steps went wrong, I repeated the whole process for several times. Luckily, i can flash stock rom using Emma otherwise it’ll become brick due to the endless bootloop.

Ps:

1. I’m 100% sure I have unlocked the device

2. I have my SIM card inserted

3. I’m doing the same thing on my redmi 5 plus, which success in my first try.

---------- Post added at 04:00 PM ---------- Previous post was at 03:53 PM ----------

Binary version: https://developer.sony.com/file/dow...es-for-aosp-android-10-0-kernel-4-14-yoshino/

---------- Post added at 04:00 PM ---------- Previous post was at 04:00 PM ----------

Binary version: https://developer.sony.com/file/dow...es-for-aosp-android-10-0-kernel-4-14-yoshino/
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
All good man. After all, there aren't much tutorials for XZ Premium so having more information the better.

But dude, you did everything right. It should've worked...

Have you tried out Flashtool instead of Emma?

---------- Post added at 12:24 AM ---------- Previous post was at 12:18 AM ----------

A dumb question: When you boot your phone you are greet with the lock icon yea? That means your phone's unlocked
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
Yea, I see that unlock icon everytime I boot into recovery
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
tried flashtool but fail , just discovered i can't install any custom rom on this phone...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Is yours carrier locked? That might be a factor too
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
This phone does not come with carriers, it’s HK version
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
When you apply wipe data in TWRP, do you see any red errors? If you see them, you have to reboot and wipe it again until no errors.

And are you using the latest TWRP 3.4?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
No any red errors

Yes, the latest version
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
You also made sure you've downloaded the right PE plus zip file for G8142 (dual sim) yea? And its the full package, not incremental package?

Otherwise I don't see any issues at all. Yours should've worked too.... Sorry man, I'm afraid it's beyond my help. I don't have any issues for my first try after all. Might want to contact the developers.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
Yea, it’s full packages not incremental one, but how to contact the developers? Thanks for your help!!! I really appreciate it
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Not sure if they're available in this forum... Perhaps try it from the official website
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
Just tried Xperifirm& newflasher to flash a different firmware(from different regions), it also results in bootloop.

so it's definitely not a problem of Emma/firmware/recovery(which is twrp). So the only crux here might be usb-otg, anyone here flash the PE custom rom by not using an external SD-card?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
Update: can’t install from sd card as well
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
didn't work
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
What recovery are you using?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Read previous conversation

---------- Post added at 03:09 PM ---------- Previous post was at 03:09 PM ----------

Damn. Have you tried contacting the developers?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] xperialover345:
twrp 3.4.0

---------- Post added at 02:36 PM ---------- Previous post was at 02:32 PM ----------

not yet... dunno where to find
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
Probably lucky i did....

You are advising him on steps for flashing sodp pixel experience...

This is stock based.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] alanlim97:
Dude, some of us did the same exact process and we managed to get it to worked. Just not sure why specifically his didnt. I did everything I could to guide him, so over to you :)