[Treble] [Pie] [UNOFFICIAL] LineageOS 16 For Xperia X - Sony Xperia X ROMs, Kernels, Recoveries, & Other D

Lineage OS 16 For Xperia X [Treble]​Based on Sony Open Devices​I am not responsible for bricked devices, dead SD cards,.​Suitable for F5121 and F5122​Reboot after your first boot please!​
Opinional files:
Disable ForceEncrypt:Link
Required files:
[Tested]
V20190323:Link With: SW_binaries_for_Xperia_Android_9.0_2.3.2_v6_loire.zip
[OEM-Files]
Download Link
How to flash
Read README.txt in zip file please.
Optional step If you want to use a GSI
Flash a GSI compatible System image and boot!
Code:
fastboot flash system < Path of GSI-System.img >
Because of Anti-Rollback, If you want to Use GSI, You need to choose the same or newer one as the treble build date.
Update and known BUG:
V20190323:
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 Script
Contributors
Sjll @infixremix
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-03-31
Last Updated 2019-03-31

I've used your Treble Pie for a while and it's awesome. Gotta try this as well. Thanks a lot for all the work!
P/s: Can you make a custom overclocked kernel for your Pie ROMs? I've been using Extreme Kernels (for stock Oreo) and they are amazing. I wonder if Pie can also get a similar kernel.

Yeah bro thanks for this work..can you optimize kernel to make sodp rom usable

LOLisLIFE said:
I've used your Treble Pie for a while and it's awesome. Gotta try this as well. Thanks a lot for all the work!
P/s: Can you make a custom overclocked kernel for your Pie ROMs? I've been using Extreme Kernels (for stock Oreo) and they are amazing. I wonder if Pie can also get a similar kernel.
Click to expand...
Click to collapse
lookmanns14 said:
Yeah bro thanks for this work..can you optimize kernel to make sodp rom usable
Click to expand...
Click to collapse
I will try to build a optimize kernel in free time.

Hi,
Can you please help me with the download from the GSI? Where can I get the right file from?

after install, bluetooth and settings tell me that it stops all the time and sim cant be detected. Also there is some encryption so i can't access data or system anymore with twrp... even magisk can't be installed. great...

After running into a ton of errors, I think I've done something wrong. I have a few questions:
1. Where does Disable ForcedEncryption (DFE) go to in the installation process? If I flash the zip before Lineage (or not flasing at all), the phone encrypts itself right on boot. If I flash DFE zip after Lineage, the camera (and all the sensors) die permanently.
2. Regardless of the phone's encryption status, sometimes the phone just fails to recognize all the sensors (except Wifi, battery and GPS). That means no accelerometer, no screen rotation, no compass or light sensor. Rebooting fixes this on Lineage (for a while), but on RR once it occurs all sensors die permanently. Also GPS reception is terrible, as I haven't got a single fix.
Hope anyone who has been using Treble roms could give me an answer. Thanks in advance.

iH8Ecchi said:
After running into a ton of errors, I think I've done something wrong. I have a few questions:
1. Where does Disable ForcedEncryption (DFE) go to in the installation process? If I flash the zip before Lineage (or not flasing at all), the phone encrypts itself right on boot. If I flash DFE zip after Lineage, the camera (and all the sensors) die permanently.
2. Regardless of the phone's encryption status, sometimes the phone just fails to recognize all the sensors (except Wifi, battery and GPS). That means no accelerometer, no screen rotation, no compass or light sensor. Rebooting fixes this on Lineage (for a while), but on RR once it occurs all sensors die permanently. Also GPS reception is terrible, as I haven't got a single fix.
Hope anyone who has been using Treble roms could give me an answer. Thanks in advance.
Click to expand...
Click to collapse
Trust me....its weird (this is what i do with every pie Rom I DONT GUARANTEE SUCCESS ON TREBLE ROMS BECAUSE I WASNT ABLE TO TEST THEM YET)
Flash OEM image which is advertised here
Flash the Rom without anything
Reboot
Go back to recovery by Holding
Power + vol up
Screen turns black= quickly switch to
Power + vol down
Flash disable force encrypt
Reboot
Done!
(Remember to flash anything else that you want)

Some random said:
Trust me....its weird (this is what i do with every pie Rom I DONT GUARANTEE SUCCESS ON TREBLE ROMS BECAUSE I WASNT ABLE TO TEST THEM YET)
Flash OEM image which is advertised here
Flash the Rom without anything
Reboot
Go back to recovery by Holding
Power + vol up
Screen turns black= quickly switch to
Power + vol down
Flash disable force encrypt
Reboot
Done!
(Remember to flash anything else that you want)
Click to expand...
Click to collapse
I only run into these problems on Treble roms. No problem with sensors or encryption with native ones, such as AOSP or Paranoid.

iH8Ecchi said:
I only run into these problems on Treble roms. No problem with sensors or encryption with native ones, such as AOSP or Paranoid.
Click to expand...
Click to collapse
Hmmmmm
Well like that it worked with all pie ROMs that I used

I've been trying to flash this ROM but couldn't flash the Lineage OS Zip file. It says "Zip treble compatibility error!"
"Invalid zip file format!"
can someone please help me out?

Fardin Rehman said:
I've been trying to flash this ROM but couldn't flash the Lineage OS Zip file. It says "Zip treble compatibility error!"
"Invalid zip file format!"
can someone please help me out?
Click to expand...
Click to collapse
Use Twrp-Q (Ask Simeone for Link)

Some random said:
Use Twrp-Q (Ask Simeone for Link)
Click to expand...
Click to collapse
Yeah I have TWRP-Q just need to flash recovery and then try again. Thank you very much for helping

Can anyone please tell me which Gcam can i use on this ROM?

New version of LOS 16 + Treble
This version of LOS is outdated and does not work on latest Treble.
An updated LOS build (with Expanded volume and latest security patch) can be downloaded on this thread and installed over latest Treble.
Since this phone requires arm64 A-only GSIs to boot, the compatible version should be lineage-16.0-2019xxxx-UNOFFICIAL-treble_arm64_avN.img.xz.
Installation tutorial: Click here. Keep in mind that system.img refers to the LOS build above.
Getting Magisk to work: Click here.

iH8Ecchi said:
This version of LOS is outdated and does not work on latest Treble.
An updated LOS build (with Expanded volume and latest security patch) can be downloaded on this thread and installed over latest Treble.
Since this phone requires arm64 A-only GSIs to boot, the compatible version should be lineage-16.0-2019xxxx-UNOFFICIAL-treble_arm64_avN.img.xz.
Installation tutorial: Click here. Keep in mind that system.img refers to the LOS build above.
Getting Magisk to work: Click here.
Click to expand...
Click to collapse
Thanks man the ROM is great! But is it possible to make the camera work like it did on the original Xperia X stock ROM. I mean the camera is pretty dark on all custom ROMs is there any fix for that?

Fardin Rehman said:
Thanks man the ROM is great! But is it possible to make the camera work like it did on the original Xperia X stock ROM. I mean the camera is pretty dark on all custom ROMs is there any fix for that?
Click to expand...
Click to collapse
You can use Chippa_a's Unofficial LOS16 instead. That one has some heating issues and gaming performance might not be optimal (due to CPU throttling), but camera and battery life is almost identical to stock. In fact, I only use Treble LOS as daily driver because I play games on my phone quite a lot.
If you still insist on using Treble however, you can check out Google Camera ports (scroll down a little bit on Treble page). With HDR+ or Night Mode the picture quality is stellar, but taking pictures might be a bit slow. As far as I know it only runs on Treble and Omni.

iH8Ecchi said:
You can use Chippa_a's Unofficial LOS16 instead. That one has some heating issues and gaming performance might not be optimal (due to CPU throttling), but camera and battery life is almost identical to stock. In fact, I only use Treble LOS as daily driver because I play games on my phone quite a lot.
If you still insist on using Treble however, you can check out Google Camera ports (scroll down a little bit on Treble page). With HDR+ or Night Mode the picture quality is stellar, but taking pictures might be a bit slow. As far as I know it only runs on Treble and Omni.
Click to expand...
Click to collapse
Yeah I am using the gcam port and I get pretty good pictures with it but not very good video quality so I guess I'm gonna give it a try to Chippa_a's Unofficial LOS16.

Related

[ROM][UNOFFICIAL][AOSP][8.1] Pixel Experience 8.1 [NOTE9][Exynos][30.09.2018]

HTML:
Pixel Experience ROM for the Galaxy Note 9​
What is this?
Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation)
Our mission is to offer the maximum possible stability and security, along with essential features for the proper functioning of the device
Based on Android 8.1
Click to expand...
Click to collapse
What's working?
Everything seems to be working as on the official s9 los15 build; with minor exceptions (screen recording can sometimes be a lil buggy, nfc can be a lil hicky etc)
What's not working?
Obviously Samsung's own features such as Samsung Pay, KNOX, Theme Center, Game Launcher, etc. won't be ported to LineageOS Pixel Experience. We may have our own implementation to similar functions, though.
Iris sensor does not work because AOSP upstream does not support that yet.
IMS services (VoLTE, VoWiFi, etc). Samsung has their own proprietary implementation. It is not really possible to easily port that to LineageOS PixelExperience.
Click to expand...
Click to collapse
Disclaimer: This rom is not built by me. That has been done by @malinathani with some help from myself. After that he insisted that I make this thread :highfive:
Instructions:
Make sure TWRP has been installed and functional.
Download the latest build linked below
Reboot to recovery
Wipe data and cache (required if you switch from other ROMs). Even better if you have nothing to loose and wipe system,data,cache,storage etc
Flash the latest build (and gapps). DONT flash gapps. they are already included in the rom.
Reboot and enjoy :victory:
Downloads:
Galaxy Note9 (N960F): MEGA Onedrive
Providing feedback:
You are more than welcome to provide any kind of feedback here.
(limited only to feature requests; it's called "pixel experience" for a reason and it should stay that way)
You can also msg me anytime on telegram @ Rainbow_Alex_Dash
OR YOU CAN JOIN OUR TELEGRAM GROUP!
https://t.me/joinchat/E_rQyU__5M_5wph6FrnpKA
Changelog:
30.09.2018: Initial release
Troubleshooting/FAQ:
Q: Whaaaaaa??? You are developing for the note9 now?
A: Nah, not really. This isn't even built by me. I just helped the guy who did it so much he insisted I create the thread. I'm not promising any future development on my end but hey
Q: The rom isn't booting/camera doesn't work
A: Flash/make sure you have the ARH5 vendor and try again.
Q: The rom is in a bootloop/google apps keep crashing
A: You did read the instructions and NOT flash any gapps riighhttt?? smh, wipe /system,/data and /cache and start over
Q: I have another bug; How can i tell it to you while slightly increasing my changes of it ever getting fixed.
A: You can tell me what's going on either here or on telegram WITH A LOGCAT attached(required);if rom isn't booting at all attach /proc/last_kmsg.
Q: I don't know what/how to logcat. Is it really necessary?
A: Logcat or gtfo
Q: How can i support you?
A: Awwww thanks; On most of my posts on the left side there's a "donate to me" paypal button; You can use that,donations are more than welcome, or if you don't have any $ to spare you can also post here about how awesome i am (this surprisingly helps very much)
XDA:DevDB Information
Pixel Experience 8.1, ROM for the Samsung Galaxy Note 9
Contributors
Rainbow_Dash, malinathani, jesec,Vaughnn,farovitus
Source Code: https://github.com/malinathani
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
Based On: AOSP
Version Information
Status: Stable
Current Stable Version: 30.09.2018
Stable Release Date: 2018-09-30
Created 2018-09-30
Last Updated 2018-10-03
reserved
It seems that no one wants to brush the machine.
But still thank you very much
Does the pen work ?
giorgior.r said:
Does the pen work ?
Click to expand...
Click to collapse
Does work as a stylus, you can check it out and let us know!
Thanks for this. Was waiting for an AOSP Based ROM before rooting. Will root and flash later and report back .
Test it out and let us know what you guys think! Feedback is appreciated
Good day,
1. Is there a link/attachment for an official ARH5/ARH6 vendor image that we can use with this ROM?
2. I wiped /system,/data and /cache flashed the ROM with and without an ARH6 image (https://androidfilehost.com/?fid=1322778262904015418) within TWRP and got bootloop.
What am I missing?
Swarai said:
Good day,
1. Is there a link/attachment for an official ARH5/ARH6 vendor image that we can use with this ROM?
2. I wiped /system,/data and /cache flashed the ROM with and without an ARH6 image (https://androidfilehost.com/?fid=1322778262904015418) within TWRP and got bootloop.
What am I missing?
Click to expand...
Click to collapse
Ummm, you can try flashing vendor from the Light Rom thread or try flashing noverity.zip after flashing the ROM.
There are a bunch of them. In treble forums
Surprised no one bothered to upload them here
All pie gsi roms work with note 9
TheUndertaker21 said:
There are a bunch of them. In treble forums
Surprised no one bothered to upload them here
All pie gsi roms work with note 9
Click to expand...
Click to collapse
I totally agree, but give this a shot once, it's noticeably smooth compared to the gsis out there (I've used many myself) it also has dual speakers working. As for pie gsis they have this animation lag while switching and opening apps. Give it a shot and I hope you'll like it.
malinathani said:
I totally agree, but give this a shot once, it's noticeably smooth compared to the gsis out there (I've used many myself) it also has dual speakers working. As for pie gsis they have this animation lag while switching and opening apps. Give it a shot and I hope you'll like it.
Click to expand...
Click to collapse
Thank you. Great to have specific support just for Note9!
I've tried other GSIs from Treble forums and yes on those roms only mono audio output works and also had brightness issues last time I tried it. I will try this out
---------- Post added 1st October 2018 at 12:31 AM ---------- Previous post was 30th September 2018 at 11:49 PM ----------
I flashed it and I gotta say, this is very good. I'll keep this as my daily driver if I don't run into any issues which I haven't so far
I really like that there's bixby button custom options included. Rom is super smooth. Definitely smoother than other GSIs on the treble forums. Dual speakers are working but volume seems lower than stock (can anyone confirm this?)
Regarding the vendor, I am using ARH6 vendor. Like I said, so far I haven't gotten any issues.
I think you should include in OP that root isn't included. I flashed Magisk zip and it works fine though
Nasty_z said:
Thank you. Great to have specific support just for Note9!
I've tried other GSIs from Treble forums and yes on those roms only mono audio output works and also had brightness issues last time I tried it. I will try this out
---------- Post added 1st October 2018 at 12:31 AM ---------- Previous post was 30th September 2018 at 11:49 PM ----------
I flashed it and I gotta say, this is very good. I'll keep this as my daily driver if I don't run into any issues which I haven't so far
I really like that there's bixby button custom options included. Rom is super smooth. Definitely smoother than other GSIs on the treble forums. Dual speakers are working but volume seems lower than stock (can anyone confirm this?)
Regarding the vendor, I am using ARH6 vendor. Like I said, so far I haven't gotten any issues.
I think you should include in OP that root isn't included. I flashed Magisk zip and it works fine though
Click to expand...
Click to collapse
How well does it handle memory? I heard AOSP roms on GS9 doesn't keep apps in memory as well as stock.
Also for the low volume thing. Have you tried Dolby Atmos? It has always helped me in the past with my phones.
Okay so.. I'm having a weird issue. The rom was working perfectly fine and then it started to register every single tap as a long press. Every time I touch the screen, it registers a long press. If this issue can be fixed, everything else was working great. At first, I thought it was because I installed magisk modules but I just uninstalled magisk completely and the issue is still there. Logcat is attached.
@Fiso I'll try Dolby Atmos and keep an eye on memory as soon as the touchscreen issue goes away.
Logcat: https://mega.nz/#!90YFDArb!Yz_d5eHQPXfjZ2NIp6OLCTgzUBJ04bcwPbyAxZ3V3jE
Nasty_z said:
Okay so.. I'm having a weird issue. The rom was working perfectly fine and then it started to register every single tap as a long press. Every time I touch the screen, it registers a long press. If this issue can be fixed, everything else was working great. At first, I thought it was because I installed magisk modules but I just uninstalled magisk completely and the issue is still there. Logcat is attached.
@Fiso I'll try Dolby Atmos and keep an eye on memory as soon as the touchscreen issue goes away.
Logcat: https://mega.nz/#!90YFDArb!Yz_d5eHQPXfjZ2NIp6OLCTgzUBJ04bcwPbyAxZ3V3jE
Click to expand...
Click to collapse
Hmmmm, that's weird, which module did you install btw? If you still have this issue you can try dirty flashing the ROM or clean installing it again. I tested the ROM myself for almost a week before releasing it. Also which model are you using?
malinathani said:
Hmmmm, that's weird, which module did you install btw? If you still have this issue you can try dirty flashing the ROM or clean installing it again. I tested the ROM myself for almost a week before releasing it. Also which model are you using?
Click to expand...
Click to collapse
The module was xposed installer for the latest SDK. Model is N960F. Dirty flashing did not help. So I did a clean flash and it's fine for now. I'll flash magisk and install modules other than xposed and try
Nasty_z said:
The module was xposed installer for the latest SDK. Model is N960F. Dirty flashing did not help. So I did a clean flash and it's fine for now. I'll flash magisk and install modules other than xposed and try
Click to expand...
Click to collapse
I currently have xposed installed myself, I installed xposed framework module which automatically installs it for the correct SDK version.
Nice rom, but there is no mirrorlink :crying:
malinathani said:
I currently have xposed installed myself, I installed xposed framework module which automatically installs it for the correct SDK version.
Click to expand...
Click to collapse
Yeah it isn't the module. I've done some more tests. The issue only happens if I install or restore multiple applications. Not sure why. Can you tell me what vendor you use?
Also, the keyboard seems sluggish. I don't mean the UI, like the touch responsivenes? If you type really fast, keyboard can't keep up (compared to stock)? Can you confirm this?
Nasty_z said:
Yeah it isn't the module. I've done some more tests. The issue only happens if I install or restore multiple applications. Not sure why. Can you tell me what vendor you use?
Also, the keyboard seems sluggish. I don't mean the UI, like the touch responsivenes? If you type really fast, keyboard can't keep up (compared to stock)? Can you confirm this?
Click to expand...
Click to collapse
I would recommend you to reinstall apps only from playstore and not restore them because that is known to break stuff. I have no lag issues even on keyboard which you are saying. if you still have issues you can try with ARH5 vendor.

Project Treble - GSI Roms after Pie update

So we have official 9.0 update now, which means we have pie vendor installed our devices.
However, it seems non of GSI pie roms work on xz1 even though our vendor and kernel are working properly with pie firmware.
Is there anyone successfully installed 9.0 GSI rom after the official Pie update? Or is there any idea why they don't work?
Riskypedia said:
So we have official 9.0 update now, which means we have pie vendor installed our devices.
However, it seems non of GSI pie roms work on xz1 even though our vendor and kernel are working properly with pie firmware.
Is there anyone successfully installed 9.0 GSI rom after the official Pie update? Or is there any idea why they don't work?
Click to expand...
Click to collapse
everything is working fine on GSI 9.0 pie roms but if u need gcam, flash on aosp boot and vendor(because full camera2api and raw support), on stock blobs gcam doesnt work because there is no raw support on stock.
arslancn said:
everything is working fine on GSI 9.0 pie roms but if u need gcam, flash on aosp boot and vendor(because full camera2api and raw support), on stock blobs gcam doesnt work because there is no raw support on stock.
Click to expand...
Click to collapse
Thanks for your reply Can you suggest some roms that worked? Because whenever I try to boot my phone with this rom(https://forum.xda-developers.com/pr...opment-a-only-roms/ported-p-sgsi-pr2-t3845789), I get bootlooped
Riskypedia said:
Thanks for your reply Can you suggest some roms that worked? Because whenever I try to boot my phone with this rom(https://forum.xda-developers.com/pr...opment-a-only-roms/ported-p-sgsi-pr2-t3845789), I get bootlooped
Click to expand...
Click to collapse
try any updated ''GSI''(not sGSI) arm64 a only rom from here. sGSI roms have alot of bugs
arslancn said:
try any updated ''GSI''(not sGSI) arm64 a only rom from here. sGSI roms have alot of bugs
Click to expand...
Click to collapse
Thanks to your support, I've got finally found a working rom(Pixel Experienced Rom)! Maybe I think the roms I've tried are all sGSI roms that caused bootloops
Now I'm trying to use gcam now, so I've installed pie aosp vendor uploaded in sony open device project(fasboot flash oem ~~~.img). However, it seems it doesn't have problem with booting but gcam still crashes(I think it's cam2api problem). According to your previous comment, it seems I should flash aosp kernel which isn't provided by Sony. So should I manually compile the kernel to make it working?
Sorry for bothering :crying:
Riskypedia said:
Thanks to your support, I've got finally found a working rom(Pixel Experienced Rom)! Maybe I think the roms I've tried are all sGSI roms that caused bootloops
Now I'm trying to use gcam now, so I've installed pie aosp vendor uploaded in sony open device project(fasboot flash oem ~~~.img). However, it seems it doesn't have problem with booting but gcam still crashes(I think it's cam2api problem). According to your previous comment, it seems I should flash aosp kernel which isn't provided by Sony. So should I manually compile the kernel to make it working?
Sorry for bothering :crying:
Click to expand...
Click to collapse
use this guide and build needed AOSP images, flash all of them (boot.img, vendor.img, system.img and SODP OEM image too)
reboot one time, after u see setup, reboot recovery and make full wipe(system, data, cache, dalvik, internal), format data and reboot recovery
flash gsi image and gapps(if gapps not included)
reboot recovery, flash magisk and reboot.
now u have aosp rom with working gcam
arslancn said:
use this guide and build needed AOSP images, flash all of them (boot.img, vendor.img, system.img and SODP OEM image too)
reboot one time, after u see setup, reboot recovery and make full wipe(system, data, cache, dalvik, internal), format data and reboot recovery
flash gsi image and gapps(if gapps not included)
reboot recovery, flash magisk and reboot.
now u have aosp rom with working gcam
Click to expand...
Click to collapse
which version of gcam works?
arslancn said:
use this guide and build needed AOSP images, flash all of them (boot.img, vendor.img, system.img and SODP OEM image too)
reboot one time, after u see setup, reboot recovery and make full wipe(system, data, cache, dalvik, internal), format data and reboot recovery
flash gsi image and gapps(if gapps not included)
reboot recovery, flash magisk and reboot.
now u have aosp rom with working gcam
Click to expand...
Click to collapse
Thank you bro, everything works fine! I think I should pack the built images and upload in case someone needs this XD
Respect to Turkey, from Korea.
Riskypedia said:
Thank you bro, everything works fine! I think I should pack the built images and upload in case someone needs this XD
Respect to Turkey, from Korea.
Click to expand...
Click to collapse
:highfive: u can make a thread about flashing treble with full cameraapi 2 support and share your images with other XZ1 users!
Riskypedia said:
Thank you bro, everything works fine! I think I should pack the built images and upload in case someone needs this XD
Respect to Turkey, from Korea.
Click to expand...
Click to collapse
did you have same bug on XZ1?
the battery level always in 20%.
arslancn said:
:highfive: u can make a thread about flashing treble with full cameraapi 2 support and share your images with other XZ1 users!
Click to expand...
Click to collapse
Sadly, it seems it's impossible to use AOSP based system because of its stability. It's way too unstable to use, but I think I can share the built images to make progress! Again, thanks for your help
gacky1601 said:
did you have same bug on XZ1?
the battery level always in 20%.
Click to expand...
Click to collapse
I've never experienced the bug when I used that. Did that happen to your XZ1? Or is it the problem of the other Xperia devices? The biggest problem was that it's too unstable that I can barely use that. The network oftenly disconnects and randomly reboots itself.
Riskypedia said:
I've never experienced the bug when I used that. Did that happen to your XZ1? Or is it the problem of the other Xperia devices? The biggest problem was that it's too unstable that I can barely use that. The network oftenly disconnects and randomly reboots itself.
Click to expand...
Click to collapse
Yes,my device is G8342. The wifi bug and battery level bug.
my device couldn't connect to any wifi,but sharing hotspot in 2.4ghz/5ghz was fine.
Screen colors look strange.
Randomly reboot,too.
I don't know any solution.
I only knew the methods to the image step by step from Sony's source.
Maybe we should build the kernel by ourselves
The problem you mentioned about disconnecting network, does it happens on wifi or mobile data?
Sorry, just a quick question has as resurrection remix has a treble room out, has anyone tried it?
gacky1601 said:
Yes,my device is G8342. The wifi bug and battery level bug.
my device couldn't connect to any wifi,but sharing hotspot in 2.4ghz/5ghz was fine.
Screen colors look strange.
Randomly reboot,too.
I don't know any solution.
I only knew how to build the image step by step from Sony's source.
Maybe we should build the kernel by ourselves[/QUOTE
Yeah, we should... I'm just a newbie developer, and really sad that we're lack of developers who can help XZ1 users, but I believe one day users make this out together. The dispaly color is because of AOSP's default display color temperature, maybe we can fix this out by touch some configs of kernel
Click to expand...
Click to collapse
lilbrat said:
Sorry, just a quick question has as resurrection remix has a treble room out, has anyone tried it?
Click to expand...
Click to collapse
I think you can just try it with stock boot , vendor and oem.
I will works perfectly.
Don't forget to report if there is any problem or it work properly.
---------- Post added at 04:37 PM ---------- Previous post was at 04:20 PM ----------
[/QUOTE
Yeah, we should... I'm just a newbie developer, and really sad that we're lack of developers who can help XZ1 users, but I believe one day users make this out together. The dispaly color is because of AOSP's default display color temperature, maybe we can fix this out by touch some configs of kernel [/QUOTE]
Yeah. I think there are a few developers work on XZ1.
Have .
The working perfectly rom will be our target, like the thread below.
https://forum.xda-developers.com/xperia-xz1-compact/how-to/xz1c-g8441-lilac-aosp8-1-t3762581
Share your all files so that i can work with gcam to be installed properly to latest pixel experience.

[ROM][AOSP 9.0.0_r37][XZ1 G8341/G8341] [Vanilla][90/120Hz]

Xperia XZ1 G8341 Vanilla AOSP ROM​
This is my first ROM and its fully Vanilla. I Just followed this Build guide without any modifications whatsoever.
The future goal is to build a stable Rom with mostly FOSS Software, stability and useful tools/settings.
Bugs/missing functions i discovered so far:
- Camera Not working always and -> Lens Distortion. Although RAW should be possible.
- Sony Bootlogo has some Artifacts
- No automatic APN setting
- No NFC 25.05 working
- No 90/120Hz mode (or does it?)
- No Display Colour Calibration
- Low Singlethread Geekbench Score (836) and (6060 Multicore) [Governors and schedulers not optimized]
Fingerprint Sensor is working and it takes some time to find Network (not sure if bug or normal).
I hope to find usable answers to those problems + ideas and hope, to receive enough feedback to improve as much as possible.
Just Flash all files (boot, recovery [or any working TWRP], system,vendor, userdata and the OEM Binaries [
SW_binaries_for_Xperia_Android_9.0_2.3.2_v9_yoshino.img] and you should be good to go.
XZ1 Single Sim(25.05.19)
XZ1 Dual Sim
SW_binaries_for_Xperia_Android_9.0_2.3.2_v9_yoshino.img
120Hz Mode
Obviously I am not responsible for bricked devices or anything that this could be related to.
XDA:DevDB Information
RumiRom, ROM for the Sony Xperia XZ1
Contributors
celeron1
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: Stock AOSP Userdebug
Version Information
Status: Testing
Created 2019-05-25
Last Updated 2019-05-30
Don't use V8 binaries, V9 are out
https://developer.sony.com/file/dow...-for-aosp-pie-android-9-0-kernel-4-9-yoshino/
Worse perfomance is expected because of lack of qti perf framework
marios199546 said:
Don't use V8 binaries, V9 are out
https://developer.sony.com/file/dow...-for-aosp-pie-android-9-0-kernel-4-9-yoshino/
Worse perfomance is expected because of lack of qti perf framework
Click to expand...
Click to collapse
Neat!
Im gonna try these. Thanks a lot.
I would marry if you turn 60fps to 90-120-144 omg plz plz
ΒΕΓΑ said:
I would marry if you turn 60fps to 90-120-144 omg plz plz
Click to expand...
Click to collapse
There is little to nothing about this I could find for the xz1 except one oreo based rom. I have to compile the kernel for it and find out if 60+ hz is really working and how to succesfully implement a toggle option for it. Since im new at this it might take some time without help but its something I want to impliment.
The Xz1s Display obviously is really underperforming in non Sony roms without the "Bravia engine" (colour apperence) imo compared to other open roms. I tried the Bravia magisk module but could not see any difference (also did not checked what it should do at system level).
So if someone has more knowledge feel free to share
I compiled a Kernel from here and modified:
arch/arm64/boot/dts/qcom/dsi-panel-somc-poplar-base-sde.dtsi
arch/arm64/boot/dts/qcom/dsi-panel-somc-poplar-sde.dtsi
arch/arm64/boot/dts/qcom/dsi-panel-somc-poplar.dtsi
(changed 60hz to 90/120hz).
How can I check if the Panel really is working under those frequencies and if other steps are needed?
When compiling I got an Error with drivers/staging/wlan-qc/qcacld-3.0 -> so i removed them from drivers/staging/Kconfig (So apparently no Wifi).
These are the Kernels (boot):
90Hz
*Update 29.05. I Fixed Wifi for the 120Hz version. link in first post
Camera seems to work without problems (also Raw) so I guess there is something wrong with the precompiled Sony Kernel.
Also the Sony bootlogo is not present (no artifakts??)
And again. Flash at own risk.
What about the version for two SIM cards?
Model G8342.
Your rom works perfect on my phone, thanks dev.
Btw, doesn't it support Treble? I cannot boot any of the GSI roms on the forum...
Riskypedia said:
Your rom works perfect on my phone, thanks dev.
Btw, doesn't it support Treble? I cannot boot any of the GSI roms on the forum...
Click to expand...
Click to collapse
It should support Treble.
Maybe you also need to flash "Disable DM Verity" and "Magisk" after
Can be used on G8342 ? ?
Sent from my Sony Xperia XZ1 using XDA Labs
celeron1 said:
I compiled a Kernel from here and modified:
arch/arm64/boot/dts/qcom/dsi-panel-somc-poplar-base-sde.dtsi
arch/arm64/boot/dts/qcom/dsi-panel-somc-poplar-sde.dtsi
arch/arm64/boot/dts/qcom/dsi-panel-somc-poplar.dtsi
(changed 60hz to 90/120hz).
How can I check if the Panel really is working under those frequencies and if other steps are needed?
When compiling I got an Error with drivers/staging/wlan-qc/qcacld-3.0 -> so i removed them from drivers/staging/Kconfig (So apparently no Wifi).
These are the Kernels (boot):
90Hz
120Hz
Camera seems to work without problems (also Raw) so I guess there is something wrong with the precompiled Sony Kernel.
Also the Sony bootlogo is not present (no artifakts??)
And again. Flash at own risk.
Click to expand...
Click to collapse
Can i use this kernel with stock sony rom? (Existenz patched btw...)
ΒΕΓΑ said:
Can i use this kernel with stock sony rom? (Existenz patched btw...)
Click to expand...
Click to collapse
The Kernel is for AOSP (Linux kernel 4.9) so normally it shouldnt work with the Stock Firmware but i dont know if it works with the patched Existenz rom.
therma.cpp said:
What about the version for two SIM cards?
Model G8342.
Click to expand...
Click to collapse
Its for the single Sim.
Im not satisfied with the current State but I can build a dual sim version as well. (Building on hdd due to small SSD so it might take a while)
Screen is not responsive (SOV36). Any suggestions?
update: not the rom. tried to flash different rom and same result.
sinkoo1979 said:
Screen is not responsive (SOV36). Any suggestions?
update: not the rom. tried to flash different rom and same result.
Click to expand...
Click to collapse
Does it respond different while charging?
Is the screen properly clean?
Try flashing the last stock rom > same result?
If not try flashing any gsi > result?
Then full cfw flash + sw binary.
And do factory resets before flashing.
Hoping for the best. Not sure how and if the SOV36 model differs from the rest
celeron1 said:
Does it respond different while charging?
Is the screen properly clean?
Try flashing the last stock rom > same result?
If not try flashing any gsi > result?
Then full cfw flash + sw binary.
And do factory resets before flashing.
Hoping for the best. Not sure how and if the SOV36 model differs from the rest
Click to expand...
Click to collapse
no
yes
no
did not work
works with stock
sinkoo1979 said:
no
yes
no
did not work
works with stock
Click to expand...
Click to collapse
Dis you try one of these GSIs and did you flash the SW-Binaries after?
How "non responsive" is it? Laggy/Not at all/Ghost touches etc.?
Since this is off-Topic i will delete this message after you read it. You shuld open a new Thread where the Problem could be discussed.:good:
celeron1 said:
Dis you try one of these GSIs and did you flash the SW-Binaries after?
How "non responsive" is it? Laggy/Not at all/Ghost touches etc.?
Since this is off-Topic i will delete this message after you read it. You shuld open a new Thread where the Problem could be discussed.:good:
Click to expand...
Click to collapse
Nothing at all
sinkoo1979 said:
Nothing at all
Click to expand...
Click to collapse
Try flashing a oreo based stock rom.(or if you only tried oreo then pie), then flash gsi etc
ΒΕΓΑ said:
I would marry if you turn 60fps to 90-120-144 omg plz plz
Click to expand...
Click to collapse
don't you think it would be the least manner to put some pics of your ass when you come around with "marrying-for-asking"? XD :silly::silly:

[ROM] [UNOFFICIAL] LineageOS 18.1- microG Edition

Intro(Skip at your wish xd):
Hello guys, it's kind of frustrating that our 4a 5G don't get much love here(in custom ROM development perspective) as Pixel 5 as it's not really a "main" variant.
For myself, I love Pixel devices for Google releases "proper" device tree and most necessary stuff, but still it require quite some time for me to get things right and a working ROM build, hell, to be honest, I spent like about 30 hrs already as this is my first time to use AOSP tree + vendor blobs from Google site to build ROMs)
Despite the lack of previous experience, the first build that I'm releasing here, is working quite well, I haven't discovered any (device-specific) bug just yet, anyway, let's continue
Click to expand...
Click to collapse
Instructions:
0. Make sure your bootloader is unlocked
1. Download ROM zip from the link below, and grab Magisk patched boot.img inside the folder as well if you want root access
2. Reboot to bootloader
2.5. Flash updated bootloader.img and radio.img from Google site
3. Use `fastboot -w update LineageOS_microG-bramble-(BUILD DATE HERE)-userdebug-signed.zip` to flash
and yes, you can omit the "-w" parameter if you're not flashing for the first time, aka just updating from previous release
4(optional). Hopefully after flashing you'll be booted into LineageOS, reboot to bootloader again,
and flash the Magisk patched boot.img extracted from the 7z file with `fastboot flash boot magisk_patched.img`,
reboot after finished
5. Enjoy!
Click to expand...
Click to collapse
Features:
1. MicroG integrated nicely (Thank OmniROM dev([email protected]) for the repo)
2. Replaced default WebView with Bromite WebView
3. Default DNS was set to UncensoredDNS in framework overlay
4. Removed unnecessary prebuilt APKs
Click to expand...
Click to collapse
Download
Contacts:
Telegram:
Channel for Pixel 4a 5G related stuff
Group for Pixel 4a 5G discussion
Special thanks: @kdrag0n , @akhilnarang for helping me with issues when I couldn't get my build working
XDA:DevDB Information
LineageOS 18.1 - microG Edition, ROM for the Google Pixel 4a 5G
Source
ROM
Kernel
Contributors
dic1911
ROM OS Version: Android 11
ROM Kernel: Linux 4.x
ROM Firmware Required: Current
Based On: LineageOS
Version Information
Status: Testing
Created 2020-11-29
Last Updated 2020-12-16
Current Known Issue
1. Some minor bubble notification glitch, ROM side issue.
2. Video call is unstable, crashes in about ~10 minutes after the call starts (untested in latest update, may be fixed)
3. If mobile data doesn't work after update, try select/set APN manually(select whatever APN first, then select the correct one after)
Reserved
Awesome, thank you!
I've never heard of the MicroG before so just looked that up. I'm loving that philosophy so I'm definitely gonna be checking that out! Thanks! My pixel is arriving tomorrow so after playing around with it first, I'll try out your ROM once there's more responses from others here.
Hey thx for the ROM is a A11 Version planned?
I'll wait for Android 11 version
Dimontiman said:
Hey thx for the ROM is a A11 Version planned?
Click to expand...
Click to collapse
warrencoakley said:
I'll wait for Android 11 version
Click to expand...
Click to collapse
LineageOS 18.0 is Android 11, but XDA didn't update the option menu so I chose Android 10.
View attachment 5144565
Took a while for this thread to pop back up after forum migration..
Thanks for the awesome work
Is anyone using this ROM as their daily driver? I'm still reluctant to risk my warranty
I guess I will roll the dice and give it a go. Anyone know if this will affect my e-sim with Google Fi?
Thank you, dic1911 for being so awesome to bring first rom to Bramble, which is almost brand-new! I appreciate your work and we are really glad for it.
Joegrizz said:
I guess I will roll the dice and give it a go. Anyone know if this will affect my e-sim with Google Fi?
Click to expand...
Click to collapse
It won't affect Google Fi.
Thanks. It looks great and runs good but I’m obviously missing something. I tried installing GApps via ADB side load and no matter which size Nikhil version I attempt to install, I get an error there’s not enough memory. I’ve rebooted after flashing to the rom and also done a factory reset to no avail. What am I missing? I’ve also tried it with and without the patched boot.img.
tgilmore16 said:
Thanks. It looks great and runs good but I’m obviously missing something. I tried installing GApps via ADB side load and no matter which size Nikhil version I attempt to install, I get an error there’s not enough memory. I’ve rebooted after flashing to the rom and also done a factory reset to no avail. What am I missing? I’ve also tried it with and without the patched boot.img.
Click to expand...
Click to collapse
Use systemless WeebGapps via Magisk:
t.me/WeebGAppsChannel
Does this rom use seedvault like mainline lineageos? Or is google backup in here even with microg?
Crashdown1994 said:
Is anyone using this ROM as their daily driver? I'm still reluctant to risk my warranty
Click to expand...
Click to collapse
Warranty? Should not effect that. I wouldn't think it would. Bootloader is unlockable and google even gives the option to flash aosp vanilla(no google) or public (official google rom) with their flashing tool (via chrome browser).
Are Pixel-Exclusive features such as Now Playing, Live Captions, Call Screening, Adaptive Sound, Screen Attention included and working?
Any issues getting safetynet to pass?
GoldElocks said:
Are Pixel-Exclusive features such as Now Playing, Live Captions, Call Screening, Adaptive Sound, Screen Attention included and working?
Any issues getting safetynet to pass?
Click to expand...
Click to collapse
This is Lineage... You install this one to get privacy and free yourself from Gapps. You might be able to get most features running, but then you just can stay with stock - privacy is then gone again...
letrain02 said:
Does this rom use seedvault like mainline lineageos? Or is google backup in here even with microg?
Click to expand...
Click to collapse
SeedVault is builtin system app for all LineageOS builds, no matter it's official or not, if it's not there in someone else's build, either it's removed by the builder or the build is too old.
So yes, SeedVault is in my build, but there's no guarantee that it works with any apps just like Google Backup(which I found pretty much useless in my case)
PS. I'm not really as active as I was on xda since about 2 years ago, please join Telegram for more updated stuff
PPS. I released GCam extracted from stock ROM and modified to make it work on LineageOS(and pretty much any custom ROM with right stuff baked in), and yes, you'll need to flash updated build from my Telegram channel (It's more convenient for me to upload to Telegram as the storage space there is unlimited)
LineageOS 18.1 is up!
Now with December security patch, grab it from the link in OP

Question How to GSI on s23 ultra

Hi, i want to try android 14/pixel exp on s23 ultra as i have it on s22U but it seems to be impossible to install. Neither installs throught fastbootd neither from twrp how can i do it? Thanks
Start from here?
How to Download and Install Android 14 GSI ROM
Google has started the Android 14 development journey, and users can enjoy several valuable features, including the ability to grant permissions to individual
rootmygalaxy.net
Hi, @inthedthank you for your reply, it says that vbmeta partition is not accesible through adb when i try to flash it (failed) any workaround with that?
Hi I am kind of noobish to GSIs but I got the google built android 13 GSI working on my s23 last night, couldn't get pixel experience to boot. CrDroid would boot but I was getting a lot of random trips to the bootscreen during set-up.
Haven't tried android 14 yet, but the procedure was pretty simple for android 13 GSI. I had already unlocked bootloader/rooted my s23 before attempting this, which included flashing vbmeta_disabled
Downloaded official google android 13 GSI
Install TWRP with Odin
Reboot to recovery and wiped data
Reboot then into fastboot inside of TWRP
flashing gsi using fastboot: fastboot flash system system image
restarted went through set-up and downloaded Magisk and Pixelfy magisk mod and I am pretty content
If anyone knows how to get another GSI like Pixel Experience or CrDroid to work reliably I am super interested
Therazorsedge said:
Hi, @inthedthank you for your reply, it says that vbmeta partition is not accesible through adb when i try to flash it (failed) any workaround with that?
Click to expand...
Click to collapse
Haven't tried on s23 series yet.
Cannot Flash vbmeta.img in Android: How to Fix
In this comprehensive tutorial, we will show you various methods to fix the issue of being unable to flash the vbmeta.img file on Android.
www.droidwin.com
Hey, have you solved your problem
Anyone?
Cfly said:
Hi I am kind of noobish to GSIs but I got the google built android 13 GSI working on my s23 last night, couldn't get pixel experience to boot. CrDroid would boot but I was getting a lot of random trips to the bootscreen during set-up.
Haven't tried android 14 yet, but the procedure was pretty simple for android 13 GSI. I had already unlocked bootloader/rooted my s23 before attempting this, which included flashing vbmeta_disabled
Downloaded official google android 13 GSI
Install TWRP with Odin
Reboot to recovery and wiped data
Reboot then into fastboot inside of TWRP
flashing gsi using fastboot: fastboot flash system system image
restarted went through set-up and downloaded Magisk and Pixelfy magisk mod and I am pretty content
If anyone knows how to get another GSI like Pixel Experience or CrDroid to work reliably I am super interested
Click to expand...
Click to collapse
Hi, what version of A13 you tried? try to install the PEX rom and after that install original recovery, it should boot well, let me know
Cfly said:
Hi I am kind of noobish to GSIs but I got the google built android 13 GSI working on my s23 last night, couldn't get pixel experience to boot. CrDroid would boot but I was getting a lot of random trips to the bootscreen during set-up.
Haven't tried android 14 yet, but the procedure was pretty simple for android 13 GSI. I had already unlocked bootloader/rooted my s23 before attempting this, which included flashing vbmeta_disabled
Downloaded official google android 13 GSI
Install TWRP with Odin
Reboot to recovery and wiped data
Reboot then into fastboot inside of TWRP
flashing gsi using fastboot: fastboot flash system system image
restarted went through set-up and downloaded Magisk and Pixelfy magisk mod and I am pretty content
If anyone knows how to get another GSI like Pixel Experience or CrDroid to work reliably I am super interested
Click to expand...
Click to collapse
Wow that is awesome dude!! How is it going? Bugs you have found? Fingerprint?
Cfly said:
Hi I am kind of noobish to GSIs but I got the google built android 13 GSI working on my s23 last night, couldn't get pixel experience to boot. CrDroid would boot but I was getting a lot of random trips to the bootscreen during set-up.
Haven't tried android 14 yet, but the procedure was pretty simple for android 13 GSI. I had already unlocked bootloader/rooted my s23 before attempting this, which included flashing vbmeta_disabled
Downloaded official google android 13 GSI
Install TWRP with Odin
Reboot to recovery and wiped data
Reboot then into fastboot inside of TWRP
flashing gsi using fastboot: fastboot flash system system image
restarted went through set-up and downloaded Magisk and Pixelfy magisk mod and I am pretty content
If anyone knows how to get another GSI like Pixel Experience or CrDroid to work reliably I am super interested
Click to expand...
Click to collapse
How is it? Smooth? Any problem? Battery wise? Everything ))
Keller0088 said:
Wow that is awesome dude!! How is it going? Bugs you have found? Fingerprint?
Click to expand...
Click to collapse
Flammer99 said:
How is it? Smooth? Any problem? Battery wise? Everything ))
Click to expand...
Click to collapse
Hi guys, sorry for the delay. The stock 13 GSI was pretty good albeit not perfect. Smoothness was very nice after force enabling 120hz through adb (battery life is notably worse, as you would expect).
Feels just about as smooth as stock, which is pretty good IMO.
This was the stock google build, so no fingerprint or face unlock. I would imagine custom GSIs would fix some of this.
However I eventually returned to stock since I post videos on social media apps a lot, and the generic camera API on the GSI made it pretty bad to look at.
Fun to try out, just wasn't ready for my needs yet.
I also did try to flash the original recovery for PEX like the user above me mentioned, still no dice. I have been out of the Android scene for a few years prior to this so it is probably something I am doing.
Hope this helps, thanks!
use dsu sideloader
I rly Hope for a fully working GSI ROM on S23 Ultra
Hunter9037 said:
I rly Hope for a fully working GSI ROM on S23 Ultra
Click to expand...
Click to collapse
Fully working GSI ROM? lmao
Forget such thing, especially on newer devices and especially on Samsung.
Hunter9037 said:
I rly Hope for a fully working GSI ROM on S23 Ultra
Click to expand...
Click to collapse
I have tested a few of them. Only bugs are fingerprint scanner, Always on display and VoLTE. It can be used as a daily driver if you can live with these bugs. For me it's fine.
which GSI are you using? And which GCAM is working?
bhammler said:
which GSI are you using? And which GCAM is working?
Click to expand...
Click to collapse
@mohammed510
he's using trebledroid's LOS 20 I assume. I'll try it out as well one of these days, and iirc the amazing dev behind it takes requests for adding support to fp scanners, I'll ask him about it
JakoDel said:
@mohammed510
he's using trebledroid's LOS 20 I assume
Click to expand...
Click to collapse
The "Light" version by Andy Yan is the best one for S23U. There's a camera app already included. As for gcam, the one by "Shamim" works but only ultra wide lens. Better use the one included as it has switching between lenses all working.
Bugs are:
AOD
Fingerprint scanner
VoLTE
I think the first 2 can be fixed with Overlays that are flashed using Magisk. It's possible to have a almost 99% working GSI on S23U
You can make phone calls but it will be over 3G networks (not that bad really) and not through 4G as VoLTE still doesn't work
You can easily pass safety net with universal safetynet fix "MOD version" and Google Wallet also works after passing Safetynet
mohammed510 said:
The "Light" version by Andy Yan is the best one for S23U. There's a camera app already included. As for gcam, the one by "Shamim" works but only ultra wide lens. Better use the one included as it has switching between lenses all working
Click to expand...
Click to collapse
thanks a lot! and may I ask how is the battery life compared to oneUI?
edit: didn't see your new edit, I guess I'll try to follow the guide for making an overlay on github, many thanks.
JakoDel said:
thanks a lot! and may I ask how is the battery life compared to oneUI?
Click to expand...
Click to collapse
Battery life is better and phone runs noticeably cooler. Uses much less RAM also

Categories

Resources