[Pie] Project Treble for Xperia X

Search This thread

Sjll

Recognized Developer
Jun 4, 2017
527
680
Chongqing
Project Treble For Xperia X​
Based on Sony Open Devices​
Thanks to Pavel's Kernel
I am not responsible for bricked devices, dead SD cards,.​
Suitable for F5121 and F5122
Reboot after your first boot please!

请中文用户遵守XDA规则,使用双语留言

If Your Camera doesn't work, see #141 please

Required files:


Our treble file could support Erfans's Android Q GSI, You need to flash this fix.
If you meet crash, you need to delete vendor/overlay.
If you meet endless bootanimite, Try to force reboot.


[New SODP Kernel version]
V20190812:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v9_loire.zip
V20190811:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v9_loire.zip

[Pavel's Kernel versions]
V20190702:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v9_loire.zip
V20190503:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v8_loire.zip
V20190501:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v8_loire.zip

[Old SODP Kernel versions]
V20190429:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v8_loire.zip
V20190323:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v7_loire.zip
V20190210:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v5_loire.zip

[OEM-File]
DownloadLink

[TWRP-Q]
DownloadLink

How to go Treble?

First: Flash Twrp I built which supports a Vendor Partition
Code:
fastboot flash recovery < Path of recovery.img >
Second:Wipe Data and Cache, then flash Treble-X-sjll-XXX.zip in Twrp .
Notice:If you failed when flashing Treble-X-sjll-XXX.zip in Twrp or can't boot into desktop. Please do follwing command:
Code:
fastboot flash boot < Path of boot.img >
Code:
fastboot flash cache < Path of vendor.img >
Third: flash SW_binaries provided by Sony.
You can download it from Sony official website.
Code:
fastboot flash oem < Path of OEM.img >

Optional step If treble file without system
Fourth: Flash a GSI compatible System image and boot!
Code:
fastboot flash system < Path of GSI-System.img >

Google Camera Guide:
1.Gcam must work with Google play services.
2. Suzu doesn't support raw Format Raw10, we should set raw Format to Raw Sensor .
3.We should set Viewfinder Format to YUV_420_888
4.Please enable: Buffer Fix to Fix viewfinder lags.
5. Suzu only support Init SlowMo at 120 FPS

Recommend Gcam Version:
ARNOVA8G2 Link
Gcam_6.1.021_Advanced_V1.7beta3.190707.0105.apk
Gcam_6.2.030_Advanced_V2.2beta5.190704.1015.apk


Update and known BUG:
20190812:
Update:
1. Thermal back, you will not hot in this summer.
2. CPU quiet back, suzu will be cold as ice.
3. F2FS support for cache(Qnovo) and userdata partitions.

20190811:
Update:
1. Go back to SODP kernel.
2. Performance and stability improve.
3. A lot of Fixes of SODP.

20190716:
Update:
1. New twrp-Q uploaded.

V20190702:
Fixes:
1. Cancel OverClock.
2.New CAF imported in kernel.
3.Forcecryptable canceled. If you upgrade from old version, you need to format userdata and use new TWRP-Q.
Bugs:
Need feedback.

V20190503:
Fixes:
1. New PowerHAL.
Bugs:
Need feedback.

V20190501:
Fixes:
1. Use Pavel's kernel source codes.
2. Quick Charge 3.0 works fine.
Bugs:
Need feedback.

V20190210:
Bugs:
1. Quick Charge is broken, you can use computer USB port charge.
2. Camera doesn't work on first boot, you need to reboot.

Source Codes
Sjll
Kernel
Contributors
Sjll @Cubbins
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x

Paypal
I am very happy to receive your donation.

Version Information
Status: Testing

Created 2019-02-10
Last Updated 2019-08-12
 

Attachments

  • Screenshot_19720905-135925.png
    Screenshot_19720905-135925.png
    119.2 KB · Views: 6,756
  • Screenshot_20081231-160347.jpg
    Screenshot_20081231-160347.jpg
    109.6 KB · Views: 6,740
  • Screenshot_20081231-160644.png
    Screenshot_20081231-160644.png
    85.2 KB · Views: 6,556
  • Screenshot_20190131-172739_Settings.png
    Screenshot_20190131-172739_Settings.png
    151.4 KB · Views: 6,507
  • Screenshot_20190131-172720_Settings.png
    Screenshot_20190131-172720_Settings.png
    156.8 KB · Views: 6,477
  • Screenshot_20081231-160322.png
    Screenshot_20081231-160322.png
    119 KB · Views: 6,765
Last edited:

Thelooks14

Member
Feb 11, 2019
5
0
After install this ROM..I dont have root acces and how to enter the treble twrp because I cant enter it after flashed this ROM:crying:
 

sessions04

Member
Oct 30, 2013
41
22
Austria
So I just installed the ROM.
On my first try, it just did not boot. Stuck at Sony logo. I then flashed the latests stock .ftf, did the installation again and managed it to boot. Seems that I did not have the latest bootloader :confused:
After the initial boot, I wanted to enter recovery again, but could not get into it. I then flashed TWRP 3.2.3.2 and could install the gapps from there. The system also runs with this recovery.

What I already tested:

- camera shows only up to 17,1 Megapixels, but works
- front camera works
- camera button works
- WIFI works
- mobile data wiht LTE work, but I had to type in the APN manually
- phone calls work
- fingerprint works
- bluetooth works, but I cannot pair with my Garmin watch (have the same problem when using lineage OS)

Overall the system looks and feels really great! Added some screenshots too!

Well done, @Sjll ; Thank you very much!
 

Attachments

  • Screenshot_20190211-190918.jpg
    Screenshot_20190211-190918.jpg
    80.3 KB · Views: 1,548
  • Screenshot_20190211-194221.jpg
    Screenshot_20190211-194221.jpg
    99.2 KB · Views: 1,542
  • Screenshot_20190211-202537.png
    Screenshot_20190211-202537.png
    176.7 KB · Views: 1,536

Sjll

Recognized Developer
Jun 4, 2017
527
680
Chongqing
After install this ROM..I dont have root acces and how to enter the treble twrp because I cant enter it after flashed this ROM:crying:

Just using fastboot flash a GSI in system partition.
Please use the twrp I privide for treble.
If you want to go to recovery, just shutdown and hold power and Vol-.
 
Last edited:

Sjll

Recognized Developer
Jun 4, 2017
527
680
Chongqing
So I just installed the ROM.
On my first try, it just did not boot. Stuck at Sony logo. I then flashed the latests stock .ftf, did the installation again and managed it to boot. Seems that I did not have the latest bootloader :confused:
After the initial boot, I wanted to enter recovery again, but could not get into it. I then flashed TWRP 3.2.3.2 and could install the gapps from there. The system also runs with this recovery.

What I already tested:

- camera shows only up to 17,1 Megapixels, but works
- front camera works
- camera button works
- WIFI works
- mobile data wiht LTE work, but I had to type in the APN manually
- phone calls work
- fingerprint works
- bluetooth works, but I cannot pair with my Garmin watch (have the same problem when using lineage OS)

Overall the system looks and feels really great! Added some screenshots too!

Well done, @Sjll ; Thank you very much!

You can flash a GSI to get better experience. Thanks for your feedback!
 

Thelooks14

Member
Feb 11, 2019
5
0
So I just installed the ROM.
On my first try, it just did not boot. Stuck at Sony logo. I then flashed the latests stock .ftf, did the installation again and managed it to boot. Seems that I did not have the latest bootloader :confused:
After the initial boot, I wanted to enter recovery again, but could not get into it. I then flashed TWRP 3.2.3.2 and could install the gapps from there. The system also runs with this recovery.

What I already tested:

- camera shows only up to 17,1 Megapixels, but works
- front camera works
- camera button works
- WIFI works
- mobile data wiht LTE work, but I had to type in the APN manually
- phone calls work
- fingerprint works
- bluetooth works, but I cannot pair with my Garmin watch (have the same problem when using lineage OS)

Overall the system looks and feels really great! Added some screenshots too!

Well done, @Sjll ; Thank you very much!
can you still enter recovery mode now?
 

sessions04

Member
Oct 30, 2013
41
22
Austria
I could only enter recovery with TWRP 3.2.3.2!
So I jused Sjll's recovery vor initial installation and then changed to 3.2.3.2
But I am not sure, if the Treble updates will work with this TWRP...
 
  • Like
Reactions: lookmanns14

sessions04

Member
Oct 30, 2013
41
22
Austria
Today I made a lot of pictures with the front camera and with the back camera. . AF just doesn't get a sharp picture. Front camera is totaly useless for selfies, even with perfect light conditions.
I downloaded Google Camera app, which makes it a little bit better, but still not comparable to the stock Sony Camera App. Oh, and it just shows 13 MPx max res.
Too bad!
Anyone here with better results?
 

Sjll

Recognized Developer
Jun 4, 2017
527
680
Chongqing
Today I made a lot of pictures with the front camera and with the back camera. . AF just doesn't get a sharp picture. Front camera is totaly useless for selfies, even with perfect light conditions.
I downloaded Google Camera app, which makes it a little bit better, but still not comparable to the stock Sony Camera App. Oh, and it just shows 13 MPx max res.
Too bad!
Anyone here with better results?

These are bugs of SODP. only waitting for their fix.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    Project Treble For Xperia X​
    Based on Sony Open Devices​
    Thanks to Pavel's Kernel
    I am not responsible for bricked devices, dead SD cards,.​
    Suitable for F5121 and F5122
    Reboot after your first boot please!

    请中文用户遵守XDA规则,使用双语留言

    If Your Camera doesn't work, see #141 please

    Required files:


    Our treble file could support Erfans's Android Q GSI, You need to flash this fix.
    If you meet crash, you need to delete vendor/overlay.
    If you meet endless bootanimite, Try to force reboot.


    [New SODP Kernel version]
    V20190812:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v9_loire.zip
    V20190811:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v9_loire.zip

    [Pavel's Kernel versions]
    V20190702:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v9_loire.zip
    V20190503:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v8_loire.zip
    V20190501:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v8_loire.zip

    [Old SODP Kernel versions]
    V20190429:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v8_loire.zip
    V20190323:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v7_loire.zip
    V20190210:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v5_loire.zip

    [OEM-File]
    DownloadLink

    [TWRP-Q]
    DownloadLink

    How to go Treble?

    First: Flash Twrp I built which supports a Vendor Partition
    Code:
    fastboot flash recovery < Path of recovery.img >
    Second:Wipe Data and Cache, then flash Treble-X-sjll-XXX.zip in Twrp .
    Notice:If you failed when flashing Treble-X-sjll-XXX.zip in Twrp or can't boot into desktop. Please do follwing command:
    Code:
    fastboot flash boot < Path of boot.img >
    Code:
    fastboot flash cache < Path of vendor.img >
    Third: flash SW_binaries provided by Sony.
    You can download it from Sony official website.
    Code:
    fastboot flash oem < Path of OEM.img >

    Optional step If treble file without system
    Fourth: Flash a GSI compatible System image and boot!
    Code:
    fastboot flash system < Path of GSI-System.img >

    Google Camera Guide:
    1.Gcam must work with Google play services.
    2. Suzu doesn't support raw Format Raw10, we should set raw Format to Raw Sensor .
    3.We should set Viewfinder Format to YUV_420_888
    4.Please enable: Buffer Fix to Fix viewfinder lags.
    5. Suzu only support Init SlowMo at 120 FPS

    Recommend Gcam Version:
    ARNOVA8G2 Link
    Gcam_6.1.021_Advanced_V1.7beta3.190707.0105.apk
    Gcam_6.2.030_Advanced_V2.2beta5.190704.1015.apk


    Update and known BUG:
    20190812:
    Update:
    1. Thermal back, you will not hot in this summer.
    2. CPU quiet back, suzu will be cold as ice.
    3. F2FS support for cache(Qnovo) and userdata partitions.

    20190811:
    Update:
    1. Go back to SODP kernel.
    2. Performance and stability improve.
    3. A lot of Fixes of SODP.

    20190716:
    Update:
    1. New twrp-Q uploaded.

    V20190702:
    Fixes:
    1. Cancel OverClock.
    2.New CAF imported in kernel.
    3.Forcecryptable canceled. If you upgrade from old version, you need to format userdata and use new TWRP-Q.
    Bugs:
    Need feedback.

    V20190503:
    Fixes:
    1. New PowerHAL.
    Bugs:
    Need feedback.

    V20190501:
    Fixes:
    1. Use Pavel's kernel source codes.
    2. Quick Charge 3.0 works fine.
    Bugs:
    Need feedback.

    V20190210:
    Bugs:
    1. Quick Charge is broken, you can use computer USB port charge.
    2. Camera doesn't work on first boot, you need to reboot.

    Source Codes
    Sjll
    Kernel
    Contributors
    Sjll @Cubbins
    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 4.x

    Paypal
    I am very happy to receive your donation.

    Version Information
    Status: Testing

    Created 2019-02-10
    Last Updated 2019-08-12
    4
    Edited:Just flashed ViperOS...boot and works perfectly..for those who have no idea to install this project treble,here is the step(If you dont understand,please watch the video till end for full explanation)

    You need TWRP For Project Treble (Check OP)

    1.Flash Base Rom
    1.a -Flash Xperia X treble (Base Rom)(Before flash this,you need to factory reset)
    1.b-Flash OEM

    2.Flash GSI
    2.a-Find Compatible system.img (Before flash this,you need wipe[dalvik cache,system,data,cache]
    2.b-Flash img

    For Gapps(something tricky here)

    Twrp Password/Encrypted

    I solved encryted problem by flashing Disable forceEncrypt script and format data..but twrp still show 0mb internal storage..then I decide to flash twrp 3.2.3-2 from Chippa_a..and its work..I can mount to internal storage now..but not sure if this twrp work with treble

    Thanks To @Sjll for this awesome work:good:
    3
    Is the new Pie navbar already included in the ROM or do I have to install it manually?
    all pie rom have gesture navbar
    3
    Screenshot:victory:
    3
    How is camera quality compared to stock?
    like other custom rom with oem kernel:eek: