• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Pie] Project Treble for Xperia X

Search This thread

Sjll

Recognized Developer
Jun 4, 2017
516
602
Chongqing
The file is on system/vendor/etc btw this is great I can play game again now without LKT module.Can we enable Mp decision,Vdd restriction or core throttle in this thing (kernel)? for better temperature,the only problem temperature raise up quickly when gaming(around 46°C in game)..BATTERY IS BETTER NOW

Thanks for feedback, I force the 6 cores online at the same time and set the min freq for all cores.
I uploaded the another config file. Could you please test Geekbentch ? And feedback to me the results of the two config files.

It's normal to heat fastly when you need full performance. Don't forget SDM650 is a 28nm Soc.:eek:
 

Attachments

  • rqbalance_config.xml
    3.8 KB · Views: 53
Last edited:

iH8Ecchi

Senior Member
Jan 27, 2014
459
102
Planeptune
Thanks for feedback, I force the 6 cores online at the same time and set the min freq for all cores.
I uploaded the another config file. Could you please test Geekbentch ? And feedback to me the results of the two config files.


I've ran Geekbench on each of these builds, and the results are put below. (GSI: lineage-16.0-20190811-UNOFFICIAL-treble_arm64_avN).

These results aren't really accurate though, since I only ran benchmark once on each of these configs.
 

Attachments

  • 1.jpg
    1.jpg
    17.5 KB · Views: 219
  • 2.jpg
    2.jpg
    25.1 KB · Views: 219
  • 3.jpg
    3.jpg
    17.3 KB · Views: 219
  • 4.jpg
    4.jpg
    18 KB · Views: 213

lookmanns14

Senior Member
Jul 17, 2018
155
68
Thanks for feedback, I force the 6 cores online at the same time and set the min freq for all cores.
I uploaded the another config file. Could you please test Geekbentch ? And feedback to me the results of the two config files.

It's normal to heat fastly when you need full performance. Don't forget SDM650 is a 28nm Soc.:eek:
First for old config,Second is new one
V1 config is better performance than V2,V2 is cooler than V1 but a lil bit lagging for gaming
 

Attachments

  • Screenshot_20190813-154645_Geekbench_4.png
    Screenshot_20190813-154645_Geekbench_4.png
    117.4 KB · Views: 169
  • Screenshot_20190813-160127_Geekbench_4.png
    Screenshot_20190813-160127_Geekbench_4.png
    116.5 KB · Views: 169
Last edited:

Sjll

Recognized Developer
Jun 4, 2017
516
602
Chongqing
I've ran Geekbench on each of these builds, and the results are put below. (GSI: lineage-16.0-20190811-UNOFFICIAL-treble_arm64_avN).

These results aren't really accurate though, since I only ran benchmark once on each of these configs.

First for old config,Second is new one
V1 config is better performance than V2,V2 is cooler than V1 but a lil bit lagging for gaming

Choose one, which one do you need? I will merge it to the source code.
 

iH8Ecchi

Senior Member
Jan 27, 2014
459
102
Planeptune
Choose one, which one do you need? I will merge it to the source code.


I did a short gaming test on both configs. Config 1 performed better on paper, but gives me lags ingame due to throttling caused by high base clock. It also seems unstable, as I got two crashes on boot with it. On the other hand, Config 2 with Balanced/Performance profile in LKT performed better than both Config 1 and V20190811.


None of these builds reached the same speed of Pavel's kernel, but as far as SODP go, I'll take Config 2.
 

kloroform

Senior Member
Oct 4, 2014
175
30
Kolkata
Hi I am trying to install ViperOS GSI type A from https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list here

But I am stuck on Sony logo every time I try

I have patched required TWRP-Q, then flashed boot.img and vendor.img from here https://androidfilehost.com/?w=files&flid=297915
Then I have flashed OEM from here https://androidfilehost.com/?w=files&flid=289873 | I have tried to flash all the versions available there

then flashed the GSI image

what is exactly I am doing wrong? Any insight will be appreciated.
 

lookmanns14

Senior Member
Jul 17, 2018
155
68
Hi I am trying to install ViperOS GSI type A from https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list here

But I am stuck on Sony logo every time I try

I have patched required TWRP-Q, then flashed boot.img and vendor.img from here https://androidfilehost.com/?w=files&flid=297915
Then I have flashed OEM from here https://androidfilehost.com/?w=files&flid=289873 | I have tried to flash all the versions available there

then flashed the GSI image

what is exactly I am doing wrong? Any insight will be appreciated.
Use my flash method at page 15,don't flash outdated gsi
 
  • Like
Reactions: kloroform

Sjll

Recognized Developer
Jun 4, 2017
516
602
Chongqing
I did a short gaming test on both configs. Config 1 performed better on paper, but gives me lags ingame due to throttling caused by high base clock. It also seems unstable, as I got two crashes on boot with it. On the other hand, Config 2 with Balanced/Performance profile in LKT performed better than both Config 1 and V20190811.


None of these builds reached the same speed of Pavel's kernel, but as far as SODP go, I'll take Config 2.

All right. Thank you!
 

lookmanns14

Senior Member
Jul 17, 2018
155
68
I read your method on page 15, I am going to try that tomorrow morning but just to be clear do I have to flash stock.118 oreo from a ftf file or a TWRP backup can also work? Because I have a .118 backup on my SD card.
Just restore your backup from Twrp.Make sure you download Treble file(vendor+boot) with the right version of Oem.For first time,after wipe you need to flash OEM then follow the step,I just update flash step (can you read again) no need to change file system just flash vendor.img from micro sd
 
Last edited:
  • Like
Reactions: kloroform

kloroform

Senior Member
Oct 4, 2014
175
30
Kolkata
Just restore your backup from Twrp.Make sure you download Treble file(vendor+boot) with the right version of Oem.For first time,after wipe you need to flash OEM then follow the step,I just update flash step (can you read again) no need to change file system just flash vendor.img from micro sd

Hey thanks bro, your procedure works like a charm, finally it worked for me. I followed the steps and I am on latest HavocOS bulid. :highfive:
 

Sjll

Recognized Developer
Jun 4, 2017
516
602
Chongqing
Wow that great! which one,pixel or generic build ? There so many of Gsi build :confused:
Before I flashed Q, I was running Descendant_4.0.1_arm64_aonly.
I entered fastboot to flash generic build system.img.
Then , erase userdata via fastboot.
After that, I entered TWRP and flashed FixZygote_v2.zip via adb sideload.
I format userdata in twrp and run factory reset.
Then reboot to system.
-----------EDIT-----------------
If you meet endless bootanimate, you need to force reboot.
 
Last edited:

lookmanns14

Senior Member
Jul 17, 2018
155
68
Before I flashed Q, I was running Descendant_4.0.1_arm64_aonly.
I entered fastboot to flash generic build system.img.
Then , erase userdata via fastboot.
After that, I entered TWRP and flashed FixZygote_v2.zip via adb sideload.
I format userdata in twrp and run factory reset.
Then reboot to system.
-----------EDIT-----------------
If you meet endless bootanimate, you need to force reboot.
Finally! but baseband is unknown,data connection and all google services not working,these screenshot is from generic build it come without navbar,I've tried pixel Q too and navbar is there but no gesture features,it boot but many thing crash
 

Attachments

  • Screenshot_20190815-175733.jpg
    Screenshot_20190815-175733.jpg
    81.3 KB · Views: 236
  • Screenshot_20190815-175721.png
    Screenshot_20190815-175721.png
    98.9 KB · Views: 236
  • Screenshot_20190815-175714.png
    Screenshot_20190815-175714.png
    89.5 KB · Views: 236
Last edited:
  • Like
Reactions: iH8Ecchi

Sjll

Recognized Developer
Jun 4, 2017
516
602
Chongqing
Finally! but baseband is unknown,data connection and all google services not working,these screenshot is from generic build it come without navbar,I've tried pixel Q too and navbar is there but no gesture features,it boot but many thing crash
You need to delete vendor/overlay, Then upgrade Google play services manually.
About baseband , you need to feedback to erfans.
 

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: