yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] NamenIos:
[MENTION=9159800]HMH16[/MENTION] Can you give me the output of Media Info for your video file? It should look like this:

General
Unique ID : 279651273081943777212712953210620508627 (0xD262E046DFC445EAA6A8ABC7F5F279D3)
Complete name : D:\...\xyz.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 1.62 GiB
Duration : 59 min 42 s
Overall bit rate : 3 896 kb/s
Encoded date : UTC 2014-01-13 05:25:35
Writing application : mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 10:28:01
Writing library : libebml v1.3.0 + libmatroska v1.4.0
IsTruncated : Yes

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 59 min 42 s
Bit rate : 3 434 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.155
Stream size : 1.43 GiB (88%)
Writing library : x264 core 140 r2377 1ca7bb9
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color range : Limited
Matrix coefficients : BT.709

I like the K-Lite Codec Pack, Media Info gets installed with it automatically.

If you use Telegram and are up for further investigation send me a PM, then I can tell you more things to do to analyze the problem better.
[Xperia Z Original Android Development] HMH16:
[MENTION=2928758]namenlos[/MENTION] yes I use Telegram my username is [MENTION=5402174]hasanmh[/MENTION]allak could you tell me your username, and how to get the output of Media Info please
[Xperia Z Original Android Development] abuybuy:
Need to verify steps for flashing Xperia Z and flash stock ROM

Hello..

First, I'm so sorry.. I know the title sounds like a noob user who is too lazy to googling and read all existing thread about flashing custom ROM on Xperia Z.

What i need to know is if i have understand enough to flash custom rom on Xperia Z.

The Xperia Z that i will flash is my friend's. His phone still use latest lollipop stock ROM, it's very laggy, and he is cannot afford a new phone right now. That's why i want to help my friend to flash his phone with custom rom.

Lets get to the point. What i need to know is step by step to flash the phone with custom rom and revert it back if something bad happen, because its his only phone, so we need a backup plan.

I am experienced in flashing Xiaomi phone (my phone is Xiaomi Mi5 with LineageOS 14.1), and flashing Xperia looks like needed an extra step.

I already have:

1. The Custom ROM (because i see the 8.1.0 is still in development, so i am using latest LOS 14.1 from official website)

2. OpenGApps (open_gapps-arm-7.1-nano)

3. latest twrp for Xperia Z on twrp site (twrp-3.2.1-0-yuga.img)

4. Xperia Flash Tool from sony website (is this valid for Xperia Z? because i searched the forum and refer to this link: Forum link

flashtool page)

5. Backup-TA (from

6. Minimal ADB Fastboot

7. Unlock Bootloader Code from Sony website

8. Bootloader unlock: YES from *#*#7378423#*#*

My environment is Windows 10, so please let me know if any tools that i am using here still working on this environment or not.

So this is what i know from browsed over the forum. Please verify it, correct me if there's step is wrong or missing.

There are 3 step that i want to ask and verify:

1. Backup DRM

2. Flash Custom ROM

3. Flash Stock ROM

4. Update Firmware using EMMA

1. Backup DRM

a. Enable USB ADB Bridge

a. Root phone (using steps in this thread)

b. Backup DRM using step in this thread

2. Flash Custom ROM

a. enter fastboot using key combination

b. unlock bootloader using command

fastboot.exe -i 0x0fce oem unlock 0xKEY

c. flash twrp using fastboot

fastboot flash recovery twrp-3.2.1-0-yuga.img

d. boot to twrp (using "fastboot reboot" or just using "fastboot boot twrp-3.2.1-0-yuga.img.img")

e. wipe cache and dalvik

f. flash the custom rom

g. reboot after flashing finished

3. Flash Stock ROM

I haven't find any that show how to flash using latest EMMA. but from sony site, it says connect to the phone, choose what you want to flash, and start flashing. Is it automatically download the required ROM?

and after it flash to stock ROM, do i have to root the phone again and run Backup-TA to restore DRM?

4. Update Firmware using EMMA

Do i have need to update my firmware to the latest before doing any flashing related things?

Thank you in advance for your help.
[Xperia Z Original Android Development] sravants:
Flash the stock rom ftf using flashtool-0.9.18.6

http://www.flashtool.net/downloads.php

Search for stock rom ftf files in xda. :good:

All the other steps are correct.

I don't know if it's necessary to root the phone while backing up the drm key :fingers-crossed:
[Xperia Z Original Android Development] pitsgraft:
Im getting "unable to start pixel setup".

C6603, UB, TWRP 3210 yuga, has format everything except external sd, has 2 download file of the Rom 20180613. with or w/o flashing gapps (Micro/pico).

Has try extract the Rom boot.img, nothing I do is solving the issue.

Please help.
[Xperia Z Original Android Development] Flounderist:
If you are getting multiple crashes try a dirt ROM flash on top of the same ROM. Then on restart jump the account settings and add it later on.
[Xperia Z Original Android Development] pitsgraft:
Hi,

Thanks for the response,

I did try dirty flash the same Rom file, with or w/o the gapps...

Same results..

Tried to jump start the account (only back button is active)...touching that causes the pixel setup error message pops up again. Didnt get thru it...remains Black screen with battery and signal on top and back button below...
[Xperia Z Original Android Development] Flounderist:
Try magisk-disable-setup-wizard module :confused:
[Xperia Z Original Android Development] pitsgraft:
Does this runs thru recovery?

cause my device is totally clean from any OS/rom. only TWRP 3210

If it does please point or share link where to get

Update.

Still "pixel setup isnt responding"
[Xperia Z Original Android Development] Flounderist:
I assume you should clean flash ROM+gapps+magisk16+module and then reboot.

I had a lot of crashes during setup but at the end of the day I was able to complete it.
[Xperia Z Original Android Development] pitsgraft:
Okay, I have the Rom, gapps and magisk...module where can I get it... (flashable zip or img).
[Xperia Z Original Android Development] pitsgraft:
Hi,

I found pixel 2 systemless module but keeps giving me error message upon flashing in TWRP.
[Xperia Z Original Android Development] Flounderist:
The mod should be in the magisk modules repo on XDA.

Here is the github link https://github.com/Magisk-Modules-Repo/Magisk-disable-setupwizard
[Xperia Z Original Android Development] pitsgraft:
Honestly i dont know anything with github..

I khow flashing zip,img,bin , adb, cc, syntax...but nothing about github...so sorry
[Xperia Z Original Android Development] Flounderist:
It should be a flashable zip. I am not able to locate it as well. Try getting in touch with its developer.

Did you sorted?
[Xperia Z Original Android Development] Flounderist:
Here it is.
[Xperia Z Original Android Development] pitsgraft:
Nope..i installed LOS 14.1 via flashtool only to realize it didn't have twrp and root....install the twrp via los recovery it worked. But when i flashed supersu...that is when the catastrophic happened to my z..it didn't boot up.. Stuck in booloading... Kept coming to twrp...so i decided to clean installed the 15.1... Only to realize the sd card was not the one with the zip files for any mod or roms...(eject the sd card to swap with the one that has all the mod & rom)... The sd slot comes out with the sd card...

Now im having issues no sd slot and able to enter twrp & bootloader (blue led) but the device is not detected by flashtool or by the PC....

Hoping to habe someone to be able to assist me with undetected device issue....

Sorry for the OOT....
[Xperia Z Original Android Development] Xzborneo87:
Have you unlocked the boatloader.? or still locked.?
[Xperia Z Original Android Development] Flounderist:
How? Why ?

And why SupeSu? It is not maintained since ages.

At least you can use LOS su add-on.

:eek:
[Xperia Z Original Android Development] pitsgraft:
It's already unlocked...
[Xperia Z Original Android Development] pitsgraft:
Double posted... Bad network..
[Xperia Z Original Android Development] pitsgraft:
I did use su for los 14.1... I was about to replace the sd card with the one that has rom and boot files... It just broke...

I'm waiting for the replacement slot to be soldered...

Currently I'm on my superstockvirgin z3+ dual...

As attached picture... Ripped off sd slot
[Xperia Z Original Android Development] Flounderist:
Did you used a grip wrench to remove SD?

Jokes apart SD slot is quite tricky on yuga, as sim tray as well. :rolleyes:
[Xperia Z Original Android Development] pitsgraft:
LOL... ?.. That thought has occurs... It might be gentler than my fingers.✌.. Well it's a 5yo device... Some parts has to get rusted...

I know I'm rusted in Android modding.. since 2011 xperia P lt22 Pandemic moonwalker rom...till up to this month is the 2nd time playing with sony z & z3+2L :cyclops:
[Xperia Z Original Android Development] ISPG:
Hi:

Some comments about last ROM 20180613. As other users, when I installed it, was the first time that I had problems with it.

I performed a clean flash, but the device started wrong. I tried with new clean and dirty flashes, but the problem was the same

(Pixel fail, IU fail, etc.).

Finally, I had to go back to ROM 20180422 (for me, totally stable and with zero problems). In the morning with the phone cold, I

tried again and this time, the ROM was Ok. I have been checking it for a week and I have noticed some differences respect to

previous ROM.

In airplane mode (normally I use this at nigh), the battery continues draining even the drain battery has increased respect other

ROM.

The temperature of CPU is higher respect previous ones. I have checking this parameter since some months ago, with Powerful

Monitor and I have seen this difference.

Finally, some ramdom fails in apks, as Mail, WiFi is slower with the same connection, GPS (for sports activities, takes very long to

connect, even with 10 over 18 satellites) and other applications with the only message: "X apk has stopped, close or start again

(this sentence in spanish :) of course?"

Daedroza, have you planned a new ROM soon? I appreciate a lot your job and dedication, but I think that your previous ROM from

April was better that last one. In any case, thanks again for the maintenance of our phones.

Best regards,
[Xperia Z Original Android Development] Daedroza:
Hi, I've sent you a personal message. I think I've a figured out a solution for your problem.

I've sent you a message to contact me, I will give you a test kernel to flash.

CM13 worked fine, yes, now I remember the problem. I didn't have a yuga for initial kernel rebase....
[Xperia Z Original Android Development] pitsgraft:
I'm back and still unable to start the launcher after the bootscreen... same issue as the first... maybe another assistance please...

currently has been 4days on LOS 14.1 stable ...

OOT update

as for my ripped sd slot I hotwire by soldering the 32gb msd to the pin's cut in the mainboard (once my z4 dual resurrected..i'll take some pictures of Z)

---------- Post added at 04:35 PM ---------- Previous post was at 04:31 PM ----------

cold start solved can't start the pixel launcher issue??
[Xperia Z Original Android Development] Daedroza:
Updating with new builds:

1. Kernel implemented with exFAT support.

2. Reverted back to HZ=100 (which caused 1080p videos to lag? - Please test).

3. Added renderscript impl

Builds are still building, it will take some time to build & upload, maybe another hour or so.

New download links: https://mega.nz/#F!xKJC0KxI!erPe0EVTbkv6vtD4SfubFw
[Xperia Z Original Android Development] S.N.A.P:
hi [MENTION=5906831]Daedroza[/MENTION]

so I just finished installing the latest build of LOS 15.1 and configuring my devices, here's my thoughts so far :

- UI : overall a lot smoother than before, 8,8/10 compare to 14.1

- Recording : 720p and 1080p no problem, very smooth playing those videos

- 60fps videos on Youtube : kinda weird, every time I clear the app or just simply press home and go back to the app, the lag when playing will disappear/appear if it appears/disappears moments before

- CPU temperature : much better now

and finally, thank you so much for the dark mode/theme
[Xperia Z Original Android Development] pitsgraft:
hi,

currently I'm on LOS 14.1 20180715.. My questions are,

- is it okay to flash boot.img from twrp 3.2.2.0 to boot folder than flash the zip? do i need to flash to recovery as well?

- or flash boot & rom from magisk?

thank you.
[Xperia Z Original Android Development] S.N.A.P:
hi there

for me, I just did a full clean flash, you can see in the instructions that the boot.img flashing is optional, you don't have to

here's how I did : reboot to TWRP - wipe - advanced wipe - wipe system,data,cache,dalvik cache - again factory reset - flash the ROM and latest gapps (I used pico) - flash magisk (optional as well) - wait for the phone to cool down a little bit - reboot system

hope it'll help ^^
[Xperia Z Original Android Development] pitsgraft:
I've done as your guidance but still boot loop...

Did a clean install and img flash via flashtool still getting boot loop..

My z seems to be un upgradable to O....:crying:
[Xperia Z Original Android Development] Daedroza:
Probably causes:

1. You're not using latest TWRP Recovery

2. Magisk Root module

3. Bad partitions somewhere? Format everything to Ext4

4. Remove Android folder located under ext_storage using TWRP -> Settings -> File Manager

I don't understand why people are still obsessed with Magisk root module. Stop using it.

Use standard in-built su for LineageOS, it is located under Settings -> Development Options -> Root Access -> Apps and adb
[Xperia Z Original Android Development] pitsgraft:
Hi, just now (b4 i reply this)...

I have reformat my xz total super clean, flash twrp 3.2.1.0 than flash LOS 15.1 v 20180715.. There is no other folder beside obb and twrp during the clean install.

But when i reinstall 14.1 as the os im using currently i have no trouble at all...didn't even install the boot.img...just twrp-los14.1.zip--gapps micro 7.1.1....it started fine and no hassle....
[Xperia Z Original Android Development] pitsgraft:
i know it's out of context, but does this rom kinda auto detecting or auto cache to SD card during installation or boot?

cause as the very beginning i was able to install this rom (but, a that time my Xz is still in good shape) later on i move to RR then LOS 14.1 before then i acknowledge the development of this rom it's prioritized and during that time the sd slot get busted... since then i can't install this rom (crashed just right after bootloading). (currently I hotwired the UHS1-32gb mSD to the board ).:crying
[Xperia Z Original Android Development] Daedroza:
Which variant of OpenGApps are you using?

pico, nano & micro should work fine.

Anything above, Google has its own variant of storage manager which causes SDCards to show corrupt (only FAT32 SDCard works with Google's Storage manager).
[Xperia Z Original Android Development] pitsgraft:
gapps 7.1.1 pico and micro...both has been tested...
[Xperia Z Original Android Development] Daedroza:
why not 8.1 OpenGApps?
[Xperia Z Original Android Development] pitsgraft:
:silly: my bad.... i meant is gapps micro 8.1

ouch...ignore my bank account...:laugh:
[Xperia Z Original Android Development] ダニエラ:
Hidden wifi connection is working?
[Xperia Z Original Android Development] Freepony:
The phone doesn't provide any LED indication from apps during charging. That worked fine on 14.1. Did I miss something?
[Xperia Z Original Android Development] Daedroza:
Nope, this could be because of newer FB Notifier implementation in backlight display to support offline charging to correctly power off (& on) display.

I haven't given it a viable thought though.
[Xperia Z Original Android Development] Simon G:
Why is so Hard to building Los 15.1 for Daily Use and the RROS runs Stable . Who can tell my the deffirent??
[Xperia Z Original Android Development] EliasAlucard:
Because Sony hasn't published AOSP software binaries for Android Oreo, to the Xperia Z. Their last AOSP binaries were Android 5.1.1, so now the XDA community developers have to manually port newer versions of LineageOS (and other custom-ROMs) to the Xperia Z. I believe this requires some reverse engineering of the drivers and stuff like that. But that said, it's great that we can now run Nougat based LineageOS on the Xperia Z. I installed LineageOS 14.1 the other day, it runs great. Nougat is actually a good version of Android, and Android P is actually a downgrade in many ways (sure, Treble is great and all, but many decisions in Android P were not good), and Nougat is still supported by Google with security patches, so that's good. I'm not sure Android is worth using post-Oreo.
[Xperia Z Original Android Development] shiplu42:
any one tell me why video calling lag like messenger IMO etc the device slow for linage . please fix thi issue . install 2 3 apps first time open its good then slow continuously. just need update smoth and fix lag issue.
[Xperia Z Original Android Development] ダニエラ:
connect with hidden wifi is yet working?
[Xperia Z Original Android Development] Perlado:
hello friends I can not get me to connect to the network, any help? Thank you
[Xperia Z Original Android Development] MAHDI.TX:
Hi, for update i just need to flash last version of ROM and flash GApps ?

it's OK? i don't want do clean flash :(
[Xperia Z Original Android Development] Flounderist:
Flash ROM only and wipe dalvik and cache and you are good to go. No need to reflash Gapps.
[Xperia Z Original Android Development] MAHDI.TX:
I backed up my apps + data with titanium backup and now I'm going to flash -_-

how can i customize status bar ??
[Xperia Z Original Android Development] Hossein777:
Install Sony apps

Thanks for this ROM,

How we can install Sony apps like music, album, Sony keyboard and .... To this ROM?
[Xperia Z Original Android Development] Antimon1:
What am I doing wrong?

I tried few times to install this rom on my Xperia Z - C6603, currently on LineageOS 14.1 with twrp 3.0.2.0 and it works nicely with LineageOS. I followed the installation instructions and used gaps arm 8.0 pico. When the device boots up it stucks on welcome screen. It says: Sistem UI not responding, wizard not responding and several things ask for closing. After some time I manage to get the home screen. when I go into recovery mode, I can't get out of it, every time I try to flash anything, or press anything it reboots on itself and it goes back into recovery and I can't boot up the phone. I had to flash twrp 3.0.2.0 to get my back up from LineageOS 14.1. Can someone tell me what am I doing wrong:confused: because I tried few times and every time is like this. thanks for any help:)
[Xperia Z Original Android Development] jeromelec:
No sim card for me ......what have you flash before or after for recognize sim port ?

---------- Post added at 08:04 PM ---------- Previous post was at 07:51 PM ----------

Try to install twrp 3.1.1. and wipe everything system, dalvik/art cache,cache, data and internal storage (full wipe) . But for me this rom doesn't work properly : you might wait the last version which fix the sim card not recognized .

---------- Post added at 08:05 PM ---------- Previous post was at 08:04 PM ----------

With magisk you have a module for this.

---------- Post added at 08:09 PM ---------- Previous post was at 08:05 PM ----------

You must root your rom with magisk 15.1 It works for me

https://xdaforums.com/attachment.php?attachmentid=4372922&d=1514493839

Flash zip with TWRP
[Xperia Z Original Android Development] xsbextreme:
Thx for the fast reaction on the simcard bug. For my device the simcard is recognized correctly with the 27.12.17 build.

2 notes for other people trying to install this rom:

1) with twrp < 3.2.1 my device gets random crashes, twrp itsel starts a reboot cycle after few seconds. to prevent this endless reboot i was forced to usb flashing, because every reflash try from sd card was interrupted by reboot :( -> try 3.2.1, this works at last for my yuga device

2) the power consumption is (as the developer of course already noted) a problem to look in at a later state. my experience between 14.1 (clean without gaps , apps etc) and 15.x (same condition) builds is: 14.1 standby time >3 Days, 15.x standby time <20 hours.

some fast blinks into the problem (sorry im not a android dev) target to the direction of never reached sleep states.
[Xperia Z Original Android Development] Daedroza:
Uploaded a new build (20171231_184033). Fixed governor change on boot, now it correctly sets to Interactive instead of Performance.

There should be a noticeable improvement in battery life.

NOTE: We've switched on boot and system dex-preopt, so, "Wipe Dalvik + Cache" is necessary step. Still, if the device doesn't boot,

please do a clean flash.
[Xperia Z Original Android Development] Flounderist:
Hi all and Happy New Year!

I clean flashed latest build and Pico Open Gapps. Rooted with Magisk 15.1. I only had a few troubles moving TWRP from 3.0.2 to 3.2.1.

ROM looks fine so far, I will test it better later on. [MENTION=5906831]Daedroza[/MENTION]: here are the first feedback:

- UI is smoother than latest LOS 14.1. By the way, I tweaked a little the Interactive governor using Kernel Adiutor.

- I cannot find advanced reboot option in developer options, any suggestion?

- I found that 4G network is enabled by default in dev options, it may cause some battery drain.

- File manager is linked directly to download folder, if I want to browse the entire device folders I must pass from

Settings, please could you fix it or it is an Oreo feature?

- Security patch is still the November one.

- Auto brightness makes the screen quite dark, I disabled it.
[Xperia Z Original Android Development] sravants:
I have lags while playing videos from youtube. :( Did you experienced this?
[Xperia Z Original Android Development] Flounderist:
Not a Youtube user, but I checked and videos are played with no lags or stuttering even in full screen mode.
[Xperia Z Original Android Development] Mardon:
Yup HD lags

Gesendet von meinem Xperia Z mit Tapatalk
[Xperia Z Original Android Development] Flounderist:
No lags even in 4K videos. It might be your network. I'm on eFiber 40Mps.

Videos are opened from Chrome, not from Youtube app.

Edit: a few updates after some time spent on device:

- To see the internal memory, allow it from the three dots menu in Download section.

- Disabling MPDecision from Kernel hotplug makes the device snappier and CPU is working on lower loads.

- Disabled all the CPU boost, edited some Interactive tweaks.

- I can access to TWRP only from terminal command "reboot recovery". If I use the button combo (power+volume down) I enter the LOS recovery.