yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
there is mixer_paths_wcd9335.xml file in your Xperia X at /system/etc

replace it with the one given in the above folder
[Sony Xperia X Guides, News, & Discussion] MichaBit:
Now all clarity is eliminated. ;) :good: :highfive:
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
the newest kernel is fixed and updated! please try and let me know!
[Sony Xperia X Guides, News, & Discussion] gmxz:
Where is face unlock in nougat 252

After doing everything i end up with less feature with this procedure

As i rooted 252 but there are many stock feature are gone

But the ones i use is face unlock and voice unlock

Can anybody help me to get them back

---------- Post added at 07:51 AM ---------- Previous post was at 07:24 AM ----------

First i end up having bootloop

But then i remembered how i installed xposed in z3+

Install the suitable version of exposed according to your android version

How it is done

It is installed after you managed to install twrp and

Well just flash the xposed.zip after megisk n bloatware

Zip i mean after every zip you flashed during rooting

Then reboot to system

It will give you 1 bootloop then hold power button and volume up n down to restart manually

An there you go have a add less YouTube experience
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
oh thats good it worked!!! for me it always fail!
[Sony Xperia X Guides, News, & Discussion] alusays:
Firstly I apologize if I'm just being dumb but, can I get a bit of clarifications on the instructions? I just feel so lost and confused :crying:

So I only want to root to nougat for pokemon go spoofing.

I got to the point where I've downgraded all the way down to 6.0 and even backed up my DRM keys even though it said my bootlocker was already unlocked just to be safe.

So at this point, do I just flash the latest nougat? Or do I flash the custom firmware from the mega download link?
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
The only way you can ever achieve ROOT ACCESS in Xperia X by unlocking bootloader!

obtaining root in xperias Generally means opening pendoras box which comes with so many devils in the details problems!

drmkeys gets lost

boot warning starts appearing

updates OTA gets nulified

Fido keys gets wiped too

Many sensitive apps my get hidden by google playstore since Safety net fails. and even if you obtain apk of those apps they might never work by giving you warning that device is ROOTED.

benefits of root

1. battery drain fix

2. lucky patcher patches almost all apps and modes famous user desire settings (like making youtube work in background) (whatsapp to send media above 16mb) and list goes on

3. sound boost POSSIBLE

4. CF Lumin to controll color temperature on 7.1.1 (where in 8.0.0 there is screen overlay can be triggered)

5. removing bloatware

6. with XPOSED (if it works with your X) you can mod system UI according your will

now u decide what do u wana do! ?
[Sony Xperia X Guides, News, & Discussion] korom42:
Hi,

First I want to thank the developer for his work and efforts

I am announcing the release of my ROM Stock Light ROM for Xperia devices you can check it here

It's a actually ROM Patch so you need to flash your firmware ftf before using it

It is very clean and debloated, customizable installation with many Xperia™ XZ2, Pixel 2 ported feautres

Latest stock rootable kernel 34.4.A.2.85 by [MENTION=5613633]YasuHamed[/MENTION] is included so don't forget to thank him for that, you can select your device during installation and decide whether you want to flash the included kernel or not .

If you want to use it please backup everything and report if face any bugs .. I might create a thread in the Xperia X forums here for it once it's confirmed to be working as I only can test on my Xperia XZ currently.
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
Every Great Turning point has a begining

I flashed STOCK .85,

then

1.Flashed Armoa4.1 +magisk+drmfix.Zip (for X) and ended up with BOOTLOOPS....

2. Flashed Aroma , with no magisk or drm fix, again bootloops

3. Flashed Aroma (didnt choose rooted kernel) + no magisk or drm fix then went again in to fastboot mode, flashed given Modded kernel from OT and then went again into twrp and flashed magisk + drmfix........... endedup with BOOTLOOPS

i am out of options now :)
[Sony Xperia X Guides, News, & Discussion] korom42:
Hi thank you for giving this a try, did you try installing without checking the buildprop tweaks? How about factory reset in TWRP before/after flashing the ROM as this should help

Edit 1 : if wiping data won't help it can be the display/audio libs that are embedded into the ROM files .. I will make them optional in next update anyway

Edit 2 :
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
yes i did sir, same results (script)

no I didnt do factory reset
[Sony Xperia X Guides, News, & Discussion] alusays:
Yes I understand all the capabilities that comes with a root but I'm stuck and i want to be sure i fully understand the instructions

I've done most of whats already posted here: https://xdaforums.com/showpost.php?p=72141176&postcount=7

My phone already had an unlocked bootloader. From the start my bootloader was unlocked. I bought my xperia unlocked since there was no carrier for it in the US.

it appears my main issue at the time was that windows 10 wasnt allowing me to install the drivers, but that has been resolved since I did an advance restart and was able to install the fastboot drivers.

Now my issue is with the instructions. I'm unsure what to do.

2. FLASH THE LATEST ROM VIA FLASHTOOL , if DURING FLASHING you get script error then

2B. Paste 34.4.fsc from folder1 to [C:\Users\<username>\.flashTool\devices\F51XX] and try TRY flashing again.

3. boot you device in to OREO , enable USB DEBUGGING and Switchoff you device​

on step two itsays to flash the latest rom. So does that mean run the flashtool in flashmode? and as for the selected rom, in my case is that going to be the last nougat firmware download?

Is this where I need to be at this point? [IMG="is this a rom?"]https://puu.sh/AQWVf/72fce5818d.png[/IMG]
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
I typed aroma4.1 but the actual rom i test was 4.2 downloaded from

https://drive.google.com/open?id=1LdARat0U62gxATfcF6H91TnJgLJVzf9o

it doesnt have drm fix nor magisk

the other one having both i didnt test but i will test and let you know in few hours

update2

tried Aroma4.2 (with rootable kernel) flashed drmfix after magisk--- this time no booloops but stuck at black xperia screensaver

tried aroma4.2 without rootable kernel, flashed kernel given in OT, flash magisk+drmfix from your post--- stuck at screensaver

update3

FLASHED 34.4.A.2.85

flashed twrp

flashed AROMA4.2 - selected rootable kernel - skipped Debloat and Build Prop Script

BOOTED :D

so basically the build prop script for X is not working

1 question, on the device selection menu, how Aroma decided which kernel to flash for X ? single or dual ?
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
POINT 2B wont happend to you since flashtool (latest) have all the keylogger files

.. you are on right path of flashing last Nougat rom .252

https://img.xda-cdn.com/Xn_dnHoAyRahlvrVyO1_rPQpQ9k=/https://puu.sh/AQWVf/72fce5818d.png

its recomended that you perform CLEAN FLASHING by ticking all the check boxes uder WIPE area, this will delete all data in your device! , click flash and flashtool will start preparing FILES and at one point it will ask you to CONNECT DEVICE in FLASHMODE (at this time you will connect device in flashmode and it will ask you to include FSC SCRIPT click OK .... flashing will be done and then

do point 3. (it applies on Nougat too )

then switchoff

connect device in FASBOOT MODE and flash MODIFIED kernel given in OT via flashtool

open adb and flash twrp3.2.1 and remove cable.

now goto twrp (power+ volume down button) pressed continuesly unless you see twrp.

connect USB device to X via otg cable orrr if you have magisk in sdcard, flash magisk

options

flash thermel scirpt 1.3 by serajr

flash debloat scrip 1.8 by serajr

wip cache/delvik cache

reboot

plz note that the last nougat rom was very nice but has horrible battery life!
[Sony Xperia X Guides, News, & Discussion] alusays:
Ok, now i'm stuck again. Whenever I try to flash twrp using adb I get this error

[IMG="error :/"]https://puu.sh/AR3hJ/53744fdc1c.png[/IMG]
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
well dear such happens when bootloader is LOCKED

how sure you are that you bootloader is UNLOCKED?

when you reboot, do u see WARNING "this device cannot be trusted" ??? before SONY LOGO ?

if not..

then your bootloader is LOCKED and TA.img is INTACT :D

immediately flash the android 6.0.1 build ... download it via flashtool>xperifirm >suzu > f512x (your variant) select STOREFRONT build from list of countries (last one).

flash it, boot it, enable usb debugging, download (on pc) universial TA bckupv2 AKA dirtyCow Script, EXTRACT your TA img file (you can run multimple times the Dcow script and it will spew same copy of ta.img file with different filenames... it will be 2mb

now upgrade again to 8.0

unlock bootloader (as sony , they will send you KEY)

once unlocked!

then do this twrp step

;)
[Sony Xperia X Guides, News, & Discussion] alusays:
I was sure it was unlocked, but i'll just start again from marshmallow since that seems to be the safest route

https://puu.sh/AReoR/2de698e26f.png

---------------UPDATE

ok I reflashed back to nougat after downgrading and I did get the message saying the device couldn't be trusted this time around. I'll update once I attempt to twrp etc again

--------------UPDATE 2

So I got twrp installed now and just flashed magisk via twrp, but now I'm waiting for it to reboot. Should it take a long time? I think I may be in a boot loop. Not sure yet.
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
did you flash the modded kernel ? before flashing magisk?

if not then flash the modded kernel,

boot into twrp, flash magisk and DRMFIX.zip

then reboot
[Sony Xperia X Guides, News, & Discussion] alusays:
Everything works now! thank you for all the help!
[Sony Xperia X Guides, News, & Discussion] Gainer5:
Hi. I'm new to the Xperia X and I unlocked it yesterday (34.4.A.2.85; Telekom DE). I installed Magisk and TWRP, those two work. But I have problems installing xposed, is there anyone who got it working on the newest oreo rom?

Thanks in advance :)
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
Xposed on X (specially on Oreo) doesn't work! (atleast it never worked for me! )
[Sony Xperia X Guides, News, & Discussion] hector1414:
Hi, could you please make a video, doing the root from scratch, I have android 8, version 34.4.A.2.85, and I have not managed to root.

I would really appreciate it, do a video tutorial. Thank you.
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
I will try to Make Video Tutorial on this subject. However even if I try to sum it up in a simple manner , Rooting Xperias (in general) and then rooting specific device (such as X) has so many details to remember that I might have to first type whole draft! and then execute!

however, meanwhile i can sum up in simple YES /NO manner by giving you guiding simple options !

1. your BOOTLOADER is LOCKED ?

YES- then before rooting you must save your DRM KEYS (not necessary but HIGHLY RECOMMENDED) ( downgrade to android MM 6.0 and use DIRTY COW SCRIPT

NO- this means drm keys either lost or you already had backup taken.

2. do you want to flash MODDED kernel OVER ORIGINAL STOCKROM {OREO} 34.4.A.2.85 ?

YES- then (a) flash modded kernel given in Opening thread under OREO KERNELS section (b) FLASH TWRP, BOOT in to twrp and from Twrp.. (c) FLASH MAGISK (d) flash Nightlight.zip (activator) (e) flash FCS Thermal.zip to keep device cool down (optional) (f) Flash Debloat Script v1.8 by Serajr (Optional) (but I use it) - (g) wipe Cache / Delvik cache and Reboot

NO - if you don't wana use Original Stockrom (rooted), then XGEN1-0-9 is the NEXT BEST modded Stockrom build on 34.4.A.2.85. SImply (A) flash TWRP, boot into TWRP, and from twrp (b) FLASH XGEN1-0-9.zip , (c) when you are asked choice between SuperSU or Magisk, CHOOSE MAGISK ( I use magisk but you can go with SuperSU also)

PREFACE for YOU

1. you must be aware of SONY XPERIAS in General

2. FLASHTOOL software (flashtool.net)

3. method of downloading STOCKROM via XPERFIRIM (inbuilt in flashtool) (list of given stock rom w.r.t to countries & original android 6.0 is also given)

4. Making Auto FTF FILE

5. if not then there is post in xda Xperia X form about Collected firmwares, you may download android 6.0 from there (if you boot is locked and you wana EXTRACT drmkeys (TA.img) file

6. Xperia Companion to be Installed (latest)

7. flasthool comes with drivers.exe , once you install flshtool goto c\flasthool\drivers and install this file, select (common drivers for flashmode/fastboot mode and all Z series devices (there is no X in the series) (z5 Z5p drivers works for X and XZ) ///////// if you are on windows 10 then these drivers can only be installed once you disable Digital Signature Verification in W10. , however on Windows7 (recomended) , you will not face such errors, only PROMPTS which you can ALLOW installation of UNSIGNED drivers....

8. minimal ADB and Fastboot (GOOGLE) MUST be installed. and you have knowledge of using Adb and Fastboot commands and correct MODE for device to be connected (flashmod and/or Fastboot mode)

ref

https://xdaforums.com/showpost.php?p=72141176&postcount=7 BASICS

https://xdaforums.com/showpost.php?p=70504721

https://xdaforums.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648
[Sony Xperia X Guides, News, & Discussion] trompilh:
Hi,

I can't manage to root my device.

I made the same mistake as the first answer sent to this post : I didn't downgrade to 6.0.1 before unloccking the bootloader. BL is unlocked then. I flashed the lastest CLEAN rom, then tried to flash the kernel, but then my phone bootlooped. I tried several times, but always the same problem occured.

Now, i try to flash the CLEAN 6.0.1 , but can't manage to do it, i get errors from flashtool. I tried to rename the fsc files, but without success. What can I do now so my device gets rooted ?
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
(ASSUMING YOU ARE STILL ONE OREO...)

1. if you couldn't save TA.img, its okay, it is HIGHLY recommended but not mandetory

2. if you don't flash (a)drmfix.zip and (b) Magisk VIA TWRP. and boot device simply by flashing the kernel. (even if the kernel is the correct one) you will end-up having bootloops ~ ~~~~~~ flash kernel, flash twrp, boot in to twrp, flash drmfix.zip and magisk16.0.zip and then boot!

there is no point in downgrading to 6.01 however since the problem lead to flashing error then this could be

1. FLASHTOOL DRIVER ISSUE ( GOTO C:\DRIVERS and install the file (select all devices)

2. paste log here so that i can see what flashtool saying when the flashing fails

3. fsc script error is FIXED! in 2017 August, the files were updated! so make sure you have the LATEST version x64 FLASHTOOL O-N-L-Y
[Sony Xperia X Guides, News, & Discussion] trompilh:
Ok thank you very much ! I will try again, as you said, I didn't flash drmfix and magisk, so this is the point obviously. I will try again then !

And I don't have the latest version of flashtool, as for unknown reason, it doesn't work properly on my linux. I tried to fix the problem but that was too many problems to solve at once, then I decided to work with my old version...
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
Old version flashtool cannot flash OREO ( atleast in theory) but you can try!

and yes plz keep me posted!
[Sony Xperia X Guides, News, & Discussion] bhisma_gangga:
Back to Stock rom

If i want go back to stock, is it just simply flash the stock rom? After rooting from 8.0
[Sony Xperia X Guides, News, & Discussion] trompilh:
I flashed Oreo with my old version of flashtool and it worked well :)
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
rooting is exclusive to that build only! if you flash again (any stockrom , current or old) rooting is void

thats why all sort of kernels are given in the OT of various popular builds through out update life of X
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
well thats great! please state stockrom build number and flashtool version number for knowledge base!
[Sony Xperia X Guides, News, & Discussion] tonyparker10:
Xperia X UPDATE" ON -18-JULY-2018 -- 34.4.A.2.97

does anyone try this stock firmware?

they fix the battery drain problems?

thankss
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
yes i am on this stockrom and battery is reasonable!
[Sony Xperia X Guides, News, & Discussion] iljawasbezet:
Anyone else experiencing a bootloop after flashing 34.4.A.2.97 with this kernel ?

What ive done:

- install stock 34.4.A.2.97 (tryed differen regions, UK Central europe) via flashtool

- boot once and fill in google play account

- flash twrp

- flash 34.4.A.2.97 kernel from this thread.

and then i get a bootloop.

I also tryed older firmwares like 34.4.A.2.19 and 34.4.A.2.70. And tryed flashing the kernel before twrp with flashtool and with fastboot

My Sony X is single sim and bootloader unlocked.

Which region do I need to use?

Edit: Got it working with the 107 US version. First boot is indeed bootloop
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
[LATEST] 34.4.A.2.107 -22-AUG-2018 , KERNELS ARE UPDATED FOR BOTH F5121 / F5122

i am told traditional FCS script doesnt work on oreo so this time i am not going to flash that one!

will try device without it!

log

- securities are OFF

- drmfix line added in ramdisk ( must flash DRM-Fix_System_Mode.zip via twrp)

------

and flash magisk and other mods if you want from twrp ,

I always flash Night_Light.zip to enable nightlight feature! and DEBLOAT script by [MENTION=3989065]serajr[/MENTION]

please note these are NOT custom Kernels but Modified Stock kernels!

Always REBOOT after Flashing your device, then switchoff and flash kernel + Twrp
[Sony Xperia X Guides, News, & Discussion] siggi77:
Increase volume

Hi,...

Sorry but i had forgot to make a backup about the original "mixer_paths_wcd9335.xml".

So, had anyone the original of F5121???

And can send to me, or post it???

Thx Siggi
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
i have f5122....
[Sony Xperia X Guides, News, & Discussion] babelus:
With the monthly security updates I finally nailed down the update process so that my data is left intact:

1. Backup using TitaniumBackup and TWRP just in case.

2. Download new firmware in XperiFirm.

3. After firmware is extracted, remove USERDATA.sin and all files ending in *.ta from the firmware. Located in C:\Users\xxx\.flashTool\firmwares\Downloads\F5121_Customized UK_1302-3903_34.4.A.2.107_R4E This step might be unnecessary.

4. Flash new firmware using Flashtool. UNCHECK everything in the two wipe sections. In the exclude Sin section CHECK FOTAKERNEL. CHECK everything in exclude Misc TA section.

5. Flash modified kernel using Fastboot.

6. Boot to TWRP and install Magisk.

7. Boot to system and run debloat.

This should work as long as we get Oreo 8.0
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
from the already prepared FTF file! just flash system.sin and kernel.sin , DONT TOUCH the WIPE Section in FLASTHOOL.

the device boot just fine! i always do that!
[Sony Xperia X Guides, News, & Discussion] siggi77:
Root

Hi

Its possible that the kernel has a bug?

Because i want to flash my f2151 with the kernel after that i was in a bootloop!?

I did the same procedur every update with the list...

Whats happend???

Siggi
[Sony Xperia X Guides, News, & Discussion] siggi77:
Hi

In try again to flash the KERNEL_F5121_34.4.A.2.118_CLEAN.img. But it doesn´t work.

It´s always a bootloop....

Siggi
[Sony Xperia X Guides, News, & Discussion] siggi77:
Hi

I try a another way...

I want to flash the kernel with twrp, but it´s the same problem.

I think the kernel for F5121 has a bug, because i had every time a bootloop.

I need a solution please...

Siggi
[Sony Xperia X Guides, News, & Discussion] Shailie:
I started to have image retention with my Xperia X screen, so I think I'll send it to repair it.

So: how can I unroot and relock the bootloader?

Thank you.
[Sony Xperia X Guides, News, & Discussion] 1f5:
Is there any way i can use long press volume keys to play next/previous song in Oreo? Sony somehow thought it would be a good idea to disable that and it annoys me to the point that i am thinking about buying a different phone. Please help!

I even tried several button remap apps that use the accessibility service, Automate and Tasker, but they don't seem to work when the screen i off and can't prevent the screen from switching on when volume keys are pressed.
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
try using BUTTON MAPPER,

https://play.google.com/store/apps/details?id=flar2.homebutton

or	Frinky Music Controller

https://play.google.com/store/apps/details?id=frinky.volumeKeys.music.controller&hl=en

what are you looking for is not part of sony stockrom, and I have mainly found in AOSP roms. but for SONY, its ALWAYS BEST to use Modded stockrom due to premium features!
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
how it happend? I live in HOT weather country and i never had any screen burns so far! yes the processor gets hot and screen gets DIM all the times to protect processor! ...

you can ONLY lock the bootloader when

1. YOU HAVE ORIGINAL TA.IMG FILE (which you should have saved via using universalTAbackupV2.0 - AKA - DirtyCow Script- before unlocking the bootloader)

2. while you are on original ROM (MM) - or atleast on SONY STOCKROM.

3. locking BL while on Custom rom will BRICK your device for good!

~~ why you wana relock? I wont recommend you, but its your device :) ~
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
your DEVICE + BUILD NUMBER (firmware) MUST BE ACCURATE

if you simply flash the kernal and reboot! it will goto bootloops!

you must flash twrp, and flash DRMFIX.zip and Magisk!

then try
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
flash drmfirx.zip + magisk via twrp, and Reboot
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
please paste LOG,

or atleast decribe step by step what exactly you did
[Sony Xperia X Guides, News, & Discussion] Shailie:
I don't know how it happened, I've read that's a common issue with Xperia X display, it started this summer when the phone was really hot, and it continues even now when I use the phone while charging or stress the processor too much.

I want to block it only because I don't think it would be accepted in warranty if the bootloader is unlocked, but I don't know if it's worth it or not get the screen replaced for the image retention...

What do you think?
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
many manufacturers don't cover screen replacements but yes if Boot is unlocked it will give them an escape goat to reject your free replacement
[Sony Xperia X Guides, News, & Discussion] florianzeul:
Root

How can I find minimal adb and fastboot drivers.
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
minimal adb

https://xdaforums.com/showthread.php?t=2317790

xperia X drivers

https://developer.sony.com/file/download/xperia-x-driver/

........mainpage https://developer.sony.com/develop/drivers/

xperia Companion

https://support.sonymobile.com/global-en/xperia-companion/

FLASHTOOL

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

1. install and then goto c:\flashtool\drivers and install the setup file,

2. check boxes - common fastboot drivers, - common flashmode drivers - z/z1/z2/z3/z4/z5 motherboards drivers (all) (at the bottom of thelist) and PROCEED

MAKE SURE WINDOWS' DIGITAL SIGNATURE VERIFICATION IS TURNED OFF (google it)
[Sony Xperia X Guides, News, & Discussion] florianzeul:
Thank you very much
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
please do let me know! how it went!