yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
Thank you:o

Yes, you need to root again after flashing system.

Excluding FOTAkernel will save one step (like [MENTION=3340721]funiewski[/MENTION] said)

If I have X I will do it...

I won't make kernel for devices which I don't own.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] chen-1:
thank you, TWRP is working fine.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] asyyy:
I have flashed TWRP-3.0.2-2-F8132-20160714.img, I am stuck on the recovery boot screen showing "teamwin Recovery Project 3.0.2-0"

is there anything I need to press to get in?

(edit: now i cannot boot back into system having force rebooted my device.....)

(edit 2: okay i scared myself too much, rebooted again holding volume up and power button for full 10 secs, now I am able to boot back in)

also, I would like to know how to update to .238 using "flashtool", is this the official flashtool from sony developer world website?

I downloaded the latest one "Flash_tool_for_Xperia_7", installed it according to the instructions but it would only show a splash screen then nothing on my computer when launched. I am on windows 7 64-bit.

(edit: solved this by directly downloading Emma as suggested on some website.

direct link: http://software.sonymobile.com/emma/)

thanks a lot!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
TWRP 3.0.2-2 only supports encryption with password/pin/pattern on boot for now, so you have to set password/pin/pattern in Settings -> Security -> Screen lock -> Select password/pin/pattern -> Select "Require (password/pin/pattern) to start device".

Unofficial version of Flashtool is this one:

http://xdaforums.com/showthread.php?t=920746

With this Flashtool, you can update without wiping data.

If you don't know how to use it, don't ask here but ask in original flashtool thread.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] asyyy:
oh I swear you said it somewhere and I have gone through the albeit not long post, but I somehow still forgot about that piece of important info, thanks for the patience and reply
[Sony Xperia X Performance ROMs, Kernels, Recoverie] funiewski:
[MENTION=5169444]AndroPlus[/MENTION], there is something strange with recovery flashing, you know that with the new bootloader on xperia you can boot to recovery through pressing power and vol-. When you released the knew recovery today with working touch I flashed it but when I tried to boot to recovery with power and vol- I had twrp but without touch, when I used the other method orange led and vol button + or - I had recovery with touch.. That has been error messages in twrp about mounting. However I flashed clean ftf and than latest twrp, but still no touch with power+vol- and it can not mount data at all= no back up restore. This time when I tried with orange led + vol + or - twrp freezes on log in screen. Now I´m trying with new clean install....
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
Can you test this new version?

This should boot with power and vol- method.

https://drive.google.com/open?id=0B0j3VJ1Xp5N8YWRuQS1BU0NrSEE
[Sony Xperia X Performance ROMs, Kernels, Recoverie] funiewski:
flash fails, it sends 0 KB
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
maybe it's corrupted, please redownload.

MD5:1bd3ed80f445e33a79065ca82bb0690e
[Sony Xperia X Performance ROMs, Kernels, Recoverie] funiewski:
you were right, to early for me, but it freezes at start with both methods, I use your kernel
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
hmm, strange...

Can you check if "Require (password/pin/pattern) to start device" is checked in security settings?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] funiewski:
Twrp stops starting at its first screen, I think my device has correct security settings

I can flash 3.0.2-1 twrp and it starts with power+vol- but it can not mount data, the new one stops on the first teamwin screen
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
In your previous recovery log, I can see TWRP somehow fails to mount system and data.

Something is blocking TWRP from mounting some partition...

Can you check if there is

/dev/block/platform/soc/7464900.sdhci

on your device (with root explorer app or adb shell)?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] funiewski:
ok, i got it to work, i misunderstood the security setting, the pin setting has to be there when twrp starts, data mounting is working too, now i will restore my back up, thanks for your patience

Edit: only error message now is: unable to mount storage
[Sony Xperia X Performance ROMs, Kernels, Recoverie] dxl880517:
just a quick question, does v02 kernel support .238 update?

Thanks for your great work anyway!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] bkk99213:
Sure!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] repelsteel82:
does the kernel work on the f8131
[Sony Xperia X Performance ROMs, Kernels, Recoverie] jdubya45:
Went to go restore from a TWRP backup but it failed and also deleted my system. Anyone know how to restore from soft brick? Sony xperia companion doesn't recognize device at all.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Lupaz:
Download the Sony Mobile Flashtool by Androxyde

(I've got no link but you can search it on Google)

Or Emma

(got no link either but you can search it on Google)
[Sony Xperia X Performance ROMs, Kernels, Recoverie] jdubya45:
Thanks. I cant get the FTF file to compress for me. XperiFirm just dumps the files after decompression. Do you know where I can get a compiled FTF file?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Desperanto86:
use flashtool to create ftf

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

tools-bundles-create
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Lupaz:
Did you updated XperiaFirm? I never had a problem with it...
[Sony Xperia X Performance ROMs, Kernels, Recoverie] jdubya45:
Hey thanks for the reply. It gets stuck right at the end. Do you know how to get XperiFirm to not decompress the "FILE" files that it downloads?

---------- Post added at 01:35 PM ---------- Previous post was at 01:34 PM ----------

Yes. Its downloading just fine but then extracting the 'FILE" files needed for FTF creation.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Desperanto86:
take this F8132_35.0.A.1.238_1302-8276_R3A.ftf
[Sony Xperia X Performance ROMs, Kernels, Recoverie] jdubya45:
You the MAN! Ill try it in a bit.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Lupaz:
Hmm well you can try this:

http://xdaforums.com/showthread.php?t=2648320
[Sony Xperia X Performance ROMs, Kernels, Recoverie] sdugoten:
Wondering if remote play for PS4 still work?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
Does this work for the normal Xperia X Performance (F8131) or does it only work with the Xperia X Performance Dual Sim (F8132)? I can't seem to find a root method for F8131.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] jdubya45:
25/039/2016 21:39:34 - ERROR - root : this bundle is not valid

25/039/2016 21:39:34 - INFO - Ending flash session

25/039/2016 21:39:34 - ERROR - C:\Users\jduby_000\.flashTool\devices\F81XX\loader.sin (The system cannot find the file specified)

25/039/2016 21:39:34 - ERROR - Error flashing. Aborted

any ideas?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Desperanto86:
Version of flashtool? This ftf 100% working, I flashed it myself. Check flashmode drivers
[Sony Xperia X Performance ROMs, Kernels, Recoverie] DonFFX:
Can anyone tell me how to boot into TWRP? I tried this command

fastboot flash recovery TWRP-3.0.2-2-F8132-20160714.img

And the CMD screen says it's successful but the light on the phone is still blue. How to boot into TWRP from here? I thought rebooting the phone and wait for the moment LED is orange before clikcing vol + or - but when I restart the phone didn't flash any light
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Desperanto86:
because u're in fastboot mode.

did u flashed kernel? (fastboot flash boot boot.img)

U need boot & recovery, than u will see orange led for pressing vol buttons
[Sony Xperia X Performance ROMs, Kernels, Recoverie] DonFFX:
I have my own boot image that I want to flash so I want to get into TWRP and flash it from there, I thought TWRP and root is separate from each other so that's why I just want to get into TWRP first
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Desperanto86:
flash it via fastboot

fastboot flash boot boot.img

In boot.img we have commands in RamDisk for booting recovery. By the way! Try to boot system and type in cmd

adb shell reboot recovery
[Sony Xperia X Performance ROMs, Kernels, Recoverie] DonFFX:
Thanks!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] javierdsv:
Love your job AndroPlus, thank you for bringing the DRM functions with the kernel too. It's worth unlocking the bootloader even without a method to backup the keys.

After toying around however, for some reason after installing the Aduitor, the whole performance goes to the ground. Lag while scrolling, non-smooth transitions, etc. Even with CPU/GPU tweaks. Unistalled the Aduitor and installed other kernel managers, it keeps happening. As soon as I unistall them it goes back to being smooth and blazing fast, I don't know if I'm doing something wrong.

Keep up the good work!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Lefteris Fragiadakis (Frago):
my friend androplus,,,someone is xperia x forum said that u made a kernel for xperia x,is this true

X_AndroPlusKernel_Permissive_v01_F5121_34.0.A.1.27 7.zip he only posted this cause he cant post link
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Desperanto86:
I think I can answer for him by quoting first post
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Lefteris Fragiadakis (Frago):
i know but there are rumours and i just asked
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Desperanto86:
http://xdaforums.com/showpost.php?p=67951542&postcount=15
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Lefteris Fragiadakis (Frago):
yes,what is this ?we have to test it
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
X_AndroPlusKernel_Permissive_v01_F5121_34.0.A.1.27 7.zip is just a test build before I get X Performance.

It won't boot.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] repelsteel82:
Can someone confirm that this kernel is working on the f8131
[Sony Xperia X Performance ROMs, Kernels, Recoverie] funiewski:
It works
[Sony Xperia X Performance ROMs, Kernels, Recoverie] repelsteel82:
Thanks
[Sony Xperia X Performance ROMs, Kernels, Recoverie] repelsteel82:
maybe it is a noob thing

but where do i have to type the command line to root is it in commant-pront (ms-dos) but does it to be some where in a folder can find adb folder
[Sony Xperia X Performance ROMs, Kernels, Recoverie] funiewski:
You have to read how to install adb with instructions how to add adb home folder to path in Windows, there are other solutions somewhere on xda, one called mini adb or something like it
[Sony Xperia X Performance ROMs, Kernels, Recoverie] repelsteel82:
Oké thanks
[Sony Xperia X Performance ROMs, Kernels, Recoverie] repelsteel82:
is there a way to remove the bootloader unlock message at boot
[Sony Xperia X Performance ROMs, Kernels, Recoverie] h4waii:
Thanks very much for building this kernel. Curiously, does it include the android-keyboard-gadget patches (https://github.com/pelya/android-keyboard-gadget/blob/master/kernel-3.4.patch) like the builds for the previous Z models?

It would be a really nice addition.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
I can't get this part to work:

adb shell

rootsh +p

./SuperSU_files/install_SuperSU.sh

"adb shell" works.

rootsh +p returns a "this is not a command" command.

I'm using the adb.exe in the flashtool package as after installing everything needed, it's the only adb.exe I could find.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] repelsteel82:
I had the same problem so I installed this zip that found and it works just install with twrp your phone will restart twice and then supersu is installed https://www.dropbox.com/s/gbixvpbrgjjze61/BETA-SuperSU-v2.67-20160121175247.zip?dl=0

So good luck ?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
But I can't get TWRP to work with touch controls. Do I have to find a micro-USB mouse? Or simply plug an USB-mouse into my phone by way of an USB-to-microUSB converter?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] repelsteel82:
No just flash the newest one from his site that's the one that I have and it's working like it should just with touch and no mouse ?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
The newest one, the one without a date, didn't even go past the splash screen for me (I'm on the non-dual sim version of the phone). I'll try again tomorrow.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] repelsteel82:
I'm also on the f8131 and I have no trouble with it

I flashed the twrp-3.0.2-2-f8132-20160714 this one works for me
[Sony Xperia X Performance ROMs, Kernels, Recoverie] dxl880517:
Yet there is still a small icon of mouse there..but it's OK. does not influence the use at all.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
OK, I tried it again.

twrp-3.0.2-2-f8132-20160714: Cannot work the touchscreen. Nothing I do works. The only thing I haven't tried is removing the screen protector unless it's interfering somehow

twrp-3.0.2-2-f8132: Stuck on the Teamwin splash screen

Anyone have any idea why this is happening?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] funiewski:
I think it's about your security settings, you have to set pin on boot, there is written about it some pages back
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
I can't believe I forgot about that. I even saw that post before I started this process. Worked like a charm, thanks. Gonna try flashing that package now.

---------- Post added at 01:22 PM ---------- Previous post was at 01:13 PM ----------

It worked like a charm. Except the screen's brightness settings were inexplicably meddled with, but only during bootup (when the phone asks you for the pin) but that's just a minor inconvenience. Just... weird. I've got root now! Thanks for the help, guys!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] repelsteel82:
I know but it working like it should
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Lefteris Fragiadakis (Frago):
can someone now that we have root on xperia x port this twrp on our xperia x?i think it will be no hard,now we have a rooted kernel with full root workin,only twrp is missing
[Sony Xperia X Performance ROMs, Kernels, Recoverie] janjan:
I think twrp is allerede working. Otherwise waiting for my X performance.. gonna build twrp, kernel and probably slim Stock ROM with Google launcher etc.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
So the next step would finding a working build of Xposed. Has anyone found one yet? :D
[Sony Xperia X Performance ROMs, Kernels, Recoverie] udelgadochio:
Root

Hi! Can anyone help me with the rooting process? I found a guide but in Japanese an Google translator isn't that accurate. Don't want to brick my new phone :(
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
I have (seemingly) successfully installed Xposed on my X Performance. I simply flashed the latest arm64 buiild of it onto my phone through recovery and then installed the APK. Phone is still working just fine and Xposed says I've got Framework installed.

I shall now install a few modules and play around with them. Unless you hear back from me, assume everything went well.

Important Note: The Sony Xperia X Performance is the first Sony phone that I know of which factory resets itself if you unlock its bootloader, unless mine experienced some weird glitch. Upon rebooting the phone after unlocking the bootloader, my phone had been factory reset. Keep this in mind. You will have your phone wiped by rooting it. There is no way around this.

#1: Set a passcode lock on your phone so that you need to type in a pass code on boot-up. Go to Setrtings -> Lock screen & security -> Screen lock -> Pin. Choose "Require PIN to start device" and then select a PIN code.

#2: Download the following file and put it somewhere you can easily find on your phone or on its SD card (or just remember where it's stored).

#3: Unlock the bootlaoder of your Sony device.

#4: Install Flashtool

#5: Download the files TWRP-3.0.2-3-F8132.img and XP_AndroPlusKernel_v02.zip from this link. Extract the files XP_AndroPlusKernel_v02.zip and place them and TWRP-3.0.2-3-F8132.img in the same folder in the Flashtool folder (after installation) that has the file adb.exe.

#6: Create a command prompt and then navigate to the aforementioned folder with adb.exe

#7: Enter fastboot on your phone by shutting it off and once it's off, holding down Volume Up at the same time as you connect your phone to your computer. Keep holding Volume Up until the LED-light at the top of your phone glows blue and stays blue.

#8: Type in "fastboot flash boot boot.img" (without the quotation marks) into the command prompt and press Enter. There should be a bunch of code executed. If not, something is wrong, like your bootloader isn't unlocked or your phone isn't in fastboot mode.

#9: Type in "fastboot flash recovery TWRP-3.0.2-3-F8132.img" (without the quotation marks) into command prompt and hit Enter.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
released v3 - added KCAL, USB keyboard / mouse function and Adrenoboost.

also merged changes from 35.0.A.1.244 (fixes for CVE-2016-2547)

(changelog)

Added;)
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
Can I dirty flash this over the old package? Also, I assume installing it through TWRP works just as well as through adb.exe?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
Yes, dirty flash and both methods are OK.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
Alright. Thanks for the prompt reply and for your work on this work!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] y2kbugleung:
Thank you for your continous update :good:

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

Is there any way to check if Adrenoboost is enabled or not, and which mode is it in?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
v04 updated with fix for CVE-2016-2059.

you can check by running

cat /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost

0 -> off, 1 -> smooth/battery friendly (default), 2 -> stronger, 3 -> aggressive
[Sony Xperia X Performance ROMs, Kernels, Recoverie] y2kbugleung:
update again LOL

Thanks a lot!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] deboopi2:
I know you loose DRM when you unlock the phone.

I know the kernel handles this and vivid mode will still be there.

But what happens when you relock the phone, DRM keeps missing?

There is no way to backup the TA partition since you need to lunlock in order to be able to backup.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] udelgadochio:
Will this kernel work on build 35.0.A.1.238? Sorry for the ignorance.

Also... which IMEI should I use for the bootloader unlock 1 or 2?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
Yes, DRM key is permanently wiped and relock can't recover it.

If there is rooting method for locked bootloader we can backup key before unlocking, but it's not possible at the moment.

v2 and later supports .238.

You should use IMEI for SIM1.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] udelgadochio:
Hi! getting error in fastboot in bootloader unlock it says FAILED (remote: Command did not succeed), reinstalled fastboot drivers and still not working :(
[Sony Xperia X Performance ROMs, Kernels, Recoverie] y2kbugleung:
Try typing in the command instead of copy-n-paste.

I have had same experience. There may be some special character we may not notice.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] carlito-lt26i:
you need go to developer option , enable OEM unlock, now ,you can try again.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
Android 7.0 Beta is coming for our device!

Anyone can download Beta Program app?

http://www.xperiablog.net/2016/08/1...nougat/?utm_source=dlvr.it&utm_medium=twitter

https://play.google.com/store/apps/details?id=com.sonymobile.xperiabeta.signup
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Desperanto86:
http://www.apkmirror.com/apk/sony-mobile-communications/xperia-beta-program/
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
It's old one... there is no actual update?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Desperanto86:
there is the same version in market now
[Sony Xperia X Performance ROMs, Kernels, Recoverie] sdugoten:
Can anyone test the Remote Play for Playstation 4 on the phone and see if you can open it after root? I am pretty sure the Remote Play app need DRM key, I wonder if there is any workaround for this?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
TWRP updated!

TWRP now boots with encryption without password/pin/pattern on boot!

Also fixed mouse cursor;)

https://drive.google.com/open?id=0B0j3VJ1Xp5N8aWdTa2ZFc0NQLXc

[EDIT]

Uploaded TWRP-3.0.2-7-F8132.img and fixed /system unmounting (with dirty hack, though...)

https://drive.google.com/open?id=0B0j3VJ1Xp5N8SzFfc0E2MnZWLTA
[Sony Xperia X Performance ROMs, Kernels, Recoverie] DennisDD78:
Guys, does anybody researched how fully works all functions with this kernel without DRM keys ? Camera quality is 100% the same as with DRM keys, or no ?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] y2kbugleung:
Thank you for TWRP and 04a kernel update ;)
[Sony Xperia X Performance ROMs, Kernels, Recoverie] moviti:
Kernel v04a and the latest TWRP-7 are working perfect!

Great job and thanks a lot!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] y2kbugleung:
Oh there is v05!

What is CVE-2016-3866? I cannot see the detail of this issue.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
This one:

https://www.codeaurora.org/buffer-overflow-vulnerability-msmcomprioctlshared-cve-2016-3866
[Sony Xperia X Performance ROMs, Kernels, Recoverie] flakac:
+1
[Sony Xperia X Performance ROMs, Kernels, Recoverie] dxl880517:
7.0

It seems it only supports some European version..

Sad:(
[Sony Xperia X Performance ROMs, Kernels, Recoverie] FallenAngelII:
When installing SuperSU (I've tried 3 different packages, including the version that worked with version 4 of the kernel), I get an error message in the middle of installation and it says "Aborting", but the installation still finishes. However, on reboot (which takes forever since I wipe dalvik/cache), SuperSU will state that there is no SuperSU binary installed.

And for some reason, TWRP won't let me restore to either of my backups of version 3 (I get an error when restoring). Gah!

---------- Post added at 11:28 AM ---------- Previous post was at 11:22 AM ----------

I tried rebooting my phone but it's stuck at the Sony logo, presumably because the phone did as my log stated in TWRP, it wiped my phone. Now... the problem is that when I try to reboot into TWRP, it gets stuck at the splashscreen. So now I'm stick with no OS and no way to boot into TWRP. I'm gonna have to reinstall the entire package to root my phone, find a vanilla image and then reflash my phone.

Warning: Do not install version 5. It's seemingly glitched. And it might also disable restoration in TWRP... for some reason.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AndroPlus:
hmm, on my XP there's no problem...

Did you try system mode SuperSU?

http://xdaforums.com/apps/supersu/v2-64-2-66-supersu-mode-t3286120

For TWRP, are you using TWRP-3.0.2-7-F8132.img?