yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
thank you for notifying,

already working on it
[Sony Xperia X Guides, News, & Discussion] HEKER510:
[MENTION=5613633]YasuHamed[/MENTION]

Very big THANX for your hardwork speed on root Xperia x very thanx You bro ???

---------- Post added at 01:25 PM ---------- Previous post was at 01:24 PM ----------

[/COLOR [MENTION=5613633]YasuHamed[/MENTION]

Very big THANX for your hardwork speed on root Xperia x very thanx You bro
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
you are welcome sir

i have updated the OT and also included the old MM kernel (just in case)
[Sony Xperia X Guides, News, & Discussion] robby.pgn:
34.4.A.2.50

Xposed work?
[Sony Xperia X Guides, News, & Discussion] babelus:
What's the easiest way to upgrade Oreo with root? Can I download an OTA update and reflash a new root kernel?
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
With my device it doesn't, sony has changed some code in kernel and xposed usually bootloops

-To root, you must unlock bootloader

-Before u unlock bootloader, you must save your drm keys

-drmkeys can be saved only on android 6 or below so u must first downgrade

-after saving drmkeys you will have yo unlock your bootloader and OTA dont work once booy is unlocked

-so flashtool is the only way

Make backups of your data
[Sony Xperia X Guides, News, & Discussion] babelus:
I was afraid that was going to be the answer, it is a little bit of a hassle. When upgrading Android N->O I backed up apps using TitaniumBackup, but some apps lost their data after restore. Maybe that won't happen with Oreo->Oreo upgrades.

Another question for you, are the kernels you provide based on US firmware? When I checked yesterday in XperiFirm that was the only one with the April 10 update I was able to find. If so, does the fingerprint reader work with US kernel after rooting? I was building my kernels based off the UK release.
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
Rooting Xperia X/Xp/XZ /XZcompact etc (2016 line of devices from Sony) is NESTED process, one process deepens in to another process.

- you must downgrade to 6 and save drm keys via dirty cow script, then unlockbootloader (or update to android 7 or 8 and then unlockbootloder)

- for device f5121 the kernel used is Germany Generic

- for F5122 MiddleEast Android

the disabling of fingersensor is within Android. you decide first which build you wana use and send me YOUR kernel of that build and I will script it for you.
[Sony Xperia X Guides, News, & Discussion] kyntoxicity:
Enable nightlight filter

13. ENABLE NIGHTLIGHT FILTER-- Install Given "android-res-night.apk"; then connect device to pc (via usb cable) and ran the following command on "Minimal Adb & Fastboot Window"

"adb shell cmd overlay enable --user 0 android.res.night"

nightlight will work after you next reboot (don't reboot now) PREVIEW NIGHTLIGHT

I'm not successful at this, Minimal Adb & Fastboot Window tells no device found
[Sony Xperia X Guides, News, & Discussion] hhjadeja007:
Did you enable usb debugging?
[Sony Xperia X Guides, News, & Discussion] kyntoxicity:
Oh

Oh I didn't, sorry my bad. :D Thank you very much. It works now. :)
[Sony Xperia X Guides, News, & Discussion] Jomoteck:
There is no changelog for this new build ? What's new ?
[Sony Xperia X Guides, News, & Discussion] sangbb:
Here is:

https://drive.google.com/file/d/0B3CjI1x8qbYYcWZOdDdLMTVGdm8/view?usp=sharing

Thank you :)
[Sony Xperia X Guides, News, & Discussion] nemo420:
My Sony Xperia X does not start, nothing happens when you press / hold the buttons, the screen is completely black! Followed all the steps but after the superSU installation it went completely dead. HELP!! ps. got F5121
[Sony Xperia X Guides, News, & Discussion] nk1001:
does rooting Xperia X make CAMERA lose some “advanced camera functionality” ?
[Sony Xperia X Guides, News, & Discussion] M1chiel:
To root, you must first unlock the bootloader. This will affect your camera performance (see my post on the previous page). Fortunately many custom roms have a drm fix.
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
here you go sir

https://mega.nz/#F!2EhRyDbb!uA9wfTQU5Y3TqrW-KypEAg

if you flash kernel

1. f5121_with_su_34.2.A.2.69.img / the device will wakeup ROOTED

if you flash kenrel

2. f5121_clean_34.2.A.2.69

then you MUST flash recovery via fasboot (twrp31.img) and got into recovery and flash SUPERSU from SD CARD or USB FLASHDRIVE via OTG
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
definately it will go blank! because you used F5122's KERNEL over F5121

i have updated F5121 kernel today!

flash that one!

press and hold POWER + VOLUME UP KEYS for 15+ seconds! - the device will jerk/vibrate 3 times! ,, on second jerk RELEASE FINGERS IMMEDIATELY, the device will force shutdown! ,, not connect your device in fastboot mode and flash the f5121 kernel and reboot, the device will be OK!

DONT PANIC
[Sony Xperia X Guides, News, & Discussion] nemo420:
I used f5121 all the time.

But the problem occurred when i installed the superSU, but now it works again.

I still want to have root accses that´s the point with it. ;)
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
in the opening thread i have given the rooted kernel!

plz flash that one! your device will wakeup rooted!
[Sony Xperia X Guides, News, & Discussion] nemo420:
Will it fix the "problem" with the camera? I need the best of my camera because i use it every day. :angel:
[Sony Xperia X Guides, News, & Discussion] southernrock:
anybody try magisk with this flashed and pass safetynet test ?
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
yes, the camera works just fine with me! it has drmfix!
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
as far as i read! magisk for android7.0 is yet to be supported (specially on Xperias)
[Sony Xperia X Guides, News, & Discussion] M1chiel:
I did with OmniRom and Poison Rom. Worked fine in both cases but did not pass the safetynet test (CTS Profile mismatch).
[Sony Xperia X Guides, News, & Discussion] evilicious_evil:
If you followed instructions that say to build your ROM in FlashTool and exclude all TA files, do not do that. Include all TA files in the ROM so that redundant data is erased first. That should fix the camera for you. Note that you should back up first as everything will be erased.

---------- Post added at 01:09 AM ---------- Previous post was at 01:01 AM ----------

Method 2 worked to fix my camera. Takes longer but worthwhile.
[Sony Xperia X Guides, News, & Discussion] southernrock:
I can confirm that with clean boot version, magisk v12 work and can pass safetynet. Thanks !
[Sony Xperia X Guides, News, & Discussion] EnderHDMC:
Does this work on F5321 (Xperia X Compact)
[Sony Xperia X Guides, News, & Discussion] BiaBertK:
MAKING SYSTEM WRITABLE

After ROOTING Nougat we will still face ERROR while removing system apps, because GOOGLE has changed file system properties in Android N to READ ONLY

in order to make /system WRITABLE, install busybox, & terminal,

type these lines and enter one by one in #terminal

su
busybox mount -o rw,remount,rw /system

-----------

Hello everybody

Please help!

Do not get that with the writings.

Have busybox and terminal emulator installed by the playstore.

In the terminal emulator first "su", then "busybox mount -o rw,remount,rw /system" entered. Unfortunately does not work.

What am I doing wrong?
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
for me the Meefik BusyBox with Jack Pelvich terminal combo did the job!

https://play.google.com/store/apps/details?id=ru.meefik.busybox

https://play.google.com/store/apps/details?id=jackpal.androidterm

for some reason the Popular busybox doesn't work!
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
please send me your kernel.sin and i will make for you
[Sony Xperia X Guides, News, & Discussion] EnderHDMC:
The lowest version available is 34.1.A.1.198, is this okay?
[Sony Xperia X Guides, News, & Discussion] JukiCro:
some security patch...nothing special
[Sony Xperia X Guides, News, & Discussion] Flak3:
It's the first time for me to do a sony update vith flashtool, does it delete the data and system, or does it just update, like an OTA update?

And do I have to do the root process again, after updating?
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
1. if you download the FTF file VIA FLASHTOOL (xperifirm*)

2. create bundle automatically as you close the xperifirm** ( say yes to script dialog box if pop-ups)

3. THEN, when you are flashing you ftf via flashtool, it will give SO MANY CHECK BOXES under WIPE TA area for you to select (whether or not) to wipe certain Partitions (be careful! master reset are has three checkboxes and if internal storage is NOT wiped and MASTER Area has wiped then you will get Password error at boot------ master reset and wipe interenal storage goes together)

* xperifirm -->2016 devices---> suzu---- F5121 or F122 ----- see countries for their build, latest is 34.4.A.2.50,

** as you close download window and xperifirm, flashtool AUTOMATICALLY starts creating FTF for u (2.7gb)

Ftf can be found at C:\Users\YASU-March2018\.flashTool\firmwares\

you can delete Temp downloaded files from C:\Users\YASU-March2018\.flashTool\firmwares\Downloads

best of luck
[Sony Xperia X Guides, News, & Discussion] coconutxyz:
seems like in oreo there are a lot of apps running under power saving exception, using sysconfigpatcher will cause a few crash e.g xperia action, home network etc...

in addition, the screen is unresponsive after reboot for around 10 seconds (all the drm fix, magisk and fcs thermal are applied)
[Sony Xperia X Guides, News, & Discussion] Flak3:
Thanks a lot for the answer!

Step 1 & 2 are no problems, I did that already without a problem.

But I don't want to wipe any of my partitions?! Do I have to?

Or is it just as simple as flashing the new software version and everything is as before?:confused: (as other rom updates which will be flashed with TWRP for examples)
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
see the attached fotos of FLASHING settings

1. if you select checkboxes, device will be like NEW, everything you have to set again

2. if you keep everything unchecked, it will just upgrade and all your data settings will be intact* / **

*twrp will give you ENCRYPTION error, you can ignore by pressing back button and try flashing magisk with REDLINE error ... it may work!

** if it magisk doesnt work after flashing magisk in twrp with ERROR, then you must goto twrp again, goto wipe/advance select DATA partition and change file system eo ext4, this step will FORMAT the data partition and twrp can have access to internel storage and magisk can be flashed without ERROR

*** if you wipe data partition, your installed app + google accounts and global settings WILL BE GONE, (pictures, music, videos will be intact)

so this step for twrp having access to your internal storage and wiping data partition, is like partial formatting device, user data will be intact but sensitive operating data (accounts, apps installed will be wiped)

also if you have 64 gb variant , boot your device first after flashing the firmare, power off the device , flash twrp and then boot in to twrp! (if you are flashing with WIPING everythign)

if you have 32 gb variant you can simply directly flash twrp recovery before booting in to system , WHY ?

twrp partitions kernel as if device is 32gb ONLY and you loost 32gb on 64gb Xperia X :(
[Sony Xperia X Guides, News, & Discussion] Flak3:
It's strange... I'm not a beginner with flashing and rooting devices. But yesterday I tried to update as you said. (Download the update via XperiFiri, flashed with Flashtool and then tried all three possibilities:

1. after flashing just started the device, without doing anything else: bootloop

2. after flashing, flashed twrp, drm-fix, fsc-thermal, and SuperSu (I prefer SuperSU on my xperia, and it worked before): bootloop

3. also fixed the data partition (had to wipe it, but no matter, I had an backup) but also didn't work.

In the end I just loaded my old non-update backup and will work without the update.:rolleyes:

The only problem it might be is: after the flashing there was a notice: "reset non secure adb..."
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
hold it at point1

if flashing original stockrom giving you bootloops then this means you are flashing wrong ftf file, how did u obtain that file? what is your device ?

if you get bootloops simply at point 1 then none of else matters!
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
THANK YOU

from bringing that in to my notice! i always blamed debloat script for that nasty crashes! i will update OT

yes on oreo, device boots in few seconds but screen gets unresponsive unless you wake the screen up again by pressing power button twice!
[Sony Xperia X Guides, News, & Discussion] Flak3:
As usual, I downloaded it with XperiFirm and it created the .ftf without a problem.

I have an F5121, so 32GB.

I erased the old one and tried it again from the scratch, but with the same result: bootloop after flashing the update.

I added some pictures and the log file, it this helps.

What might be the problem, because I'm not sure anymore: it might be, that I originally flashed the Vodafone DE 34.4.A.2.32_R4E, and not the Cusomized DE 34.4.A.2.32_R1E, but as I said, I think I did it with the customized.

And since there is no 34.4.A.2.50 update for the vodafone version, I can't test, if flashing a vodafone update would solve the issue.
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
1. try flashing by ticking everything in the WIPE area boxes,

2. if nothing works, try Xgen rom! its based on 34.4.A.2.50
[Sony Xperia X Guides, News, & Discussion] Flak3:
I think I will try. One last question: do you know if I can restore data partition from .32 version to .50 with trwp?

Otherwise I will use the ROM, I like them more than stock, but didn't found a good one yet.

Does xposed work on the ROM?
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
if you had taken DATA PARTITION BACKUP some time ago in SDCARD via TRWP you can always restore form there! however twrp is poor with decryption for SUZU so my guess is that might be what giving you bootloops?

xposed usually don't work with xperia X on either stockroms (from MM to N to O)

-however you may try xposed on OMNIROM7.1.2 (2017/nov version) its on AOSP (http://dl.omnirom.org/suzu/)

-also Omnirom 8.1 is out! but don't flash unless you upgrade your Software binaries because omnirom is on Kernel4.4

kernel4.4 LOIRE - for supporting thirdparty roms on android 8.1

https://developer.sony.com/file/dow...s-for-aosp-oreo-android-8-1-kernel-4-4-loire/ (download unzip, .img file)

to install omnirom8.1 connect your device to fastboot mode and flash the img file

fastboot flash oem SW_BINARIES_FOR_XPERIA_AOSP_N_MR1_5.7_R1_V08_LOIRE.img

if you EVER WANA COME BACK TO/ XGEN and/or OMNI ROM 7.1.2 / YOU MUST MUST downgrade software binaries LOIRE to kernel3.1x

https://developer.sony.com/file/dow...or-aosp-nougat-android-7-1-kernel-3-10-loire/

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

remember , whenever you use flashtool! there is proper OEM included in ftf file! so if you are on kernel4.4 you can always FLASH SONYSTOCKROM full, in order to flash OEM partition to proper software binaries
[Sony Xperia X Guides, News, & Discussion] sgrunt:
Hello,

I'm a noob, be kind :) Maybe I can found an answer here...

I've an Xperia X F5122 phone. This is my first time for all that I've done next:

I've put TWRP 3.1.1, then Omnirom 8.1.0 (weekly).

I've rooted it with this useful topic (thanks!).

So I've Magisk v16.0 and the root works great for many apps.

I've Installed microg to use some apps which need Google services.

Geolocation is working for some apps, but my issue is with Snapchat app.

When I try to connect, it says that Google Services are not installed.

After some searches, I found it is possible that the issue is Safetynet.

I don't understand how to simulate it with Magisk, which bring me back here... to ask help :)

I've enabled "Magisk Hide" in settings but it don't change anything.

So what is the way to enabled safety net ?

Everybody in this forum do an amazing work and I will never thank you enough, but for a beginner it's quite hard to find an info because there is no common way to do a thing and everything is changing so quickly :/

Thanks a lot if you take time to help me!

EDIT: I forgot to say that in Magisk Manager, I've a "SafetyNet API Error" when I click on "Run Safetynet control" button, I've followed "SafetyNet API error" section here: https://www.didgeridoohan.com/magisk/MagiskHide# but it didn't help :(
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
sir, this thread is about STOCKROM MODDED KERNELS where I believe your problem is more of an OMNIROM issue where magisk usually fail to verify safety because its a third party ROM. you may never able to pass safety net on LineAge or OmniRom.

however I don't believe that SafetyNet issue. Safetynet is mostly Require when you are trying AndroidPay, Tez and/or some apps that stores your Credit card info. if device is rooted! these apps simply refuse to install by saying TEZ wont work on ThirdPartyRom ORR your device is ROOTED etc.

now, what i think is that the key is Magisks' modules! what modules are you using?

1. Sysconfig Patcher and

2. Doze

are two popular modules to extend battery life by controlling its discharge and by DOZING Google Play Services in background!

if you have flashed DOZE in magisk BEFORE updating GooglePlayServices! , then usually you get this error

try removing it and trying again.

OmniRom 8.1 is good! but not better than 7.1.2.

nighlight on omnirom8.1 doesnt work and touch is non responsive at times and flash light is TOO bright for small LED , i felt its gonna burnt the bulb!
[Sony Xperia X Guides, News, & Discussion] coconutxyz:
fcs thermal is not working on oreo, as told by the developer
[Sony Xperia X Guides, News, & Discussion] lilbrat:
Ok folks, need a bit of help,,from the op step 6B,,when I click on it and do as stated but what in the world is this "-When tout are connected:".. as when I try to do all the steps all it does is but me into a bootloop with the Sony showing.. Phone is the 5122, unlock BL. I can flash the clean boot image and trwp with no problem and the DRM fix works but the majic or superuser file all come by with a corrupt message. Any ideas. Thanks..
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
Flash magisk 16.0

Dont flash XPOSED
[Sony Xperia X Guides, News, & Discussion] lilbrat:
Hmm, as I haven't even manage to get rooted Xposed would be a waste of time..

As I stated I'm able to flash the image and twrp but I missing a step there, with step 6B in the Oreo section of the OP.. as I keep getting magisk and su currupt errors when trying to flash them.
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
true, it doesn't work well

it supports till Nougat only!
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
the step 6B is about TWRP giving you Encryption error after your first BOOT was into system BEFORE twrp itself. it doesn't state anything about magisk, however if the zip file is coming as corrupted, kindly disable signature verification. also try not to call zip file from internal storage. use SDcard or OTG cable (usb flash drive) to flash mods.
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
post updated for the newest kernel 34.4.A.2.70 with May2018 security patch
[Sony Xperia X Guides, News, & Discussion] Franco_Sposato:
Yess i have test work perfect thx

Inviato dal mio F5121 utilizzando Tapatalk
[Sony Xperia X Guides, News, & Discussion] lilbrat:
Well finally got rooted..download the latest Magisk manager.. and download the the Magisk zip as the one from the site kept giving me file is corrupt errors ..so whick busybox works? Tia
[Sony Xperia X Guides, News, & Discussion] lilbrat:
Things are getting better.. Got Xposed installed..
[Sony Xperia X Guides, News, & Discussion] Franco_Sposato:
Beta 3 error to flash

Inviato dal mio F5121 utilizzando Tapatalk
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
thats good news

not all Xperia X can have xposed installed! usually it bootloops
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
this ones works perfect

https://play.google.com/store/apps/details?id=com.jrummy.busybox.installer

about magisk 16.0, it should work , i am surprised!
[Sony Xperia X Guides, News, & Discussion] Franco_Sposato:
Bootloop beta 3 xposed rom xgen v70

Inviato dal mio F5121 utilizzando Tapatalk
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
usually xposed doesn't work! few users only have claimed that xposed is working ..
[Sony Xperia X Guides, News, & Discussion] lilbrat:
I must be lucky.. And I apologize if I posted the info in the wrong thread..
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
wow yes you are lucky!

, i didn't try! but i don';t wana endup having bootloops :D

but i will try on .2.70 later:D
[Sony Xperia X Guides, News, & Discussion] Zetasjj:
Bootloop after step 6B, im using Germany 34.4.A.2.70 ftf on F5121 :(
[Sony Xperia X Guides, News, & Discussion] lilbrat:
That step needs to be rewrote to say if you get asked for a password do this this step...

Did you get unstuck.. As I went through the same issue.. Make sure your battery is charged.. Easiest way I found was to redo the steps leave out 6B, just. Hot the back key proceed. I just used flash tool and relocked the BL, hooked my phone up to Sony companion and reloaded the firmware and started over.. Skipping. 6B..
[Sony Xperia X Guides, News, & Discussion] Zetasjj:
I did the process 2 times and on both occasions I was asked to enter the password, after doing step 6B the bootloop appears and i cant flash anything. Now im using 34.4.A.2.50 US
[Sony Xperia X Guides, News, & Discussion] lilbrat:
Hmm, first of all we should get you up to date on your firmware.. If you wish.. You can use flash tool and download the latest firmware for your location and reflash you phone.. or as I prefer to do it, I use flashtool to relock my bootloader and then reboot it you'll get a red triangle saying a few things and you phone turn off.. Then fire up Sony companion click on the software repair tab click the small box in the lower left corner and follow the directions on the screen. It will take a bit but it will fix your phone with the latest firmware.
[Sony Xperia X Guides, News, & Discussion] joemhewitt:
Hi, do you still release the kernels with su alongside the clean kernels? Thanks.
[Sony Xperia X Guides, News, & Discussion] Zetasjj:
now its working!, I think I forgot something in the process, anyway thanks for the help:)
[Sony Xperia X Guides, News, & Discussion] YasuHamed:
i am afraid I never kept original kernels since I knew users wont be requiring since when you flash the original rom, the kernel is inside.
[Sony Xperia X Guides, News, & Discussion] thuvx:
sorry sir, I am newbie and I have a question. What are DRM-Fix_System_Mode.zip, F512X_34.4.A.X.X_CLEAN.img and twrp-3.1.1-suzu-2017.08.22.img? If there are files from internet, where can I download them? If not, how can I create them? thanks a lot!
[Sony Xperia X Guides, News, & Discussion] hhjadeja007:
Read the first post carefully and go through each link to know about drm fix and flashtool and other stuff and Download links are included in the first post only.
[Sony Xperia X Guides, News, & Discussion] Franco_Sposato:
Any news about xposed?

Inviato dal mio D6603 utilizzando Tapatalk
[Sony Xperia X Guides, News, & Discussion] Cappucinto:
I dont get it :D Replace it with what?
[Sony Xperia X Guides, News, & Discussion] lilbrat:
Did you use this method to root your device? If so go back to the same folder that has the kernel image, twrp ect.. And you will see the file that you need.. Make a backup of the file on your phone remember the permissions and replace it with the file you took from the folder, change the permissions and reboot...
[Sony Xperia X Guides, News, & Discussion] MichaBit:
For me, the same question arose.

Replace with file from attached link? :confused:

https://mega.nz/#F!3BZAHZiL!O7fBaFQIycYZxaUUw8TVhw