[ROM][X722][ZL0] Lineage OS 14.1 - For X722 ELITE - Based on Official Nightly for ZL1 - LeEco Le Pro3 Elite (Model x722) Guides, Developme

Hello world
EUI was so pathetic that I learned about repacking system images and ROM cooking in less that 48h after receiving my X722 ELITE.
Hereby I present you a fully working LOS 14.1 based on the latest available nightly for the X720!
First of all, credits where it's due:
@codeworkx for mantaining the source code
@murat1150
@slothdnk
@MakeX722GreatAswell
@evlo
@mick_novi for starting the amazing thread in the X722 section
Bugs
Same as for the X720
-------------
I must say that after using it for a while I found out that the device started slowing down. After investigating the settings for the kernel are set to the wrong governor.
You can fix this by installing magisk root and then installing kernel auditor and going to the CPU tab and setting the proper min and max frequency and changing the governor to on-demand
Bluetooth for BMW 2017: only audio works. This is the same bug as on the x720.
Front camera works but the quality is poor.
Installation procedure
Unlock bootloader. Best to be on genesy 26S or any 20s ROM
Install TWRP recovery (I used one specificly for the X722 by @CrisBalGreece). If you use a X720 TWRP image then you'll have to extract boot.img from the zip and flash it after flashing the ROM in fastboot, else you will not have network.
Wipe cache, dalvik and system (f reset)
Flash my ZIP (link below from google Drive)
Flash OpenGapps package of your choice for ARM64 Android 7.1
Wipe cache
Reboot and enjoy
Please note first boot shouldn't take longer than 5 minutes !
Disclaimer: Everything you do is at your own risk. I can't be held responsible for bugs or anything that leads to consequences because of my work.
You can use my work for your own ROMS. In fact, I would love to so that we can boost the support for this amazing device (160EUR!).
Download links
Google Drive (click here)
Screenshots
Coming soon, it's 3:30 AM...
Have fun !

Does the fingerprint reader work?

soulaiman said:
EUI was so pathetic that I learned about repacking system images and ROM cooking in less that 48h after receiving my X722 ELITE.
Click to expand...
Click to collapse
You are a god, will try this rom in coming weeks, thank you

theguille14 said:
You are a god, will try this rom in coming weeks, thank you
Click to expand...
Click to collapse
Thank you but I'm not God
BrateloSlava said:
Does the fingerprint reader work?
Click to expand...
Click to collapse
Yes everything works.
I must say that after using it for a while I found out that the device started slowing down. After investigating the settings for the kernel are set to the wrong governor.
You can fix this by installing magisk root and then installing kernel auditor and going to the CPU tab and setting the proper Mon and max frequency and changing the governor to on-demand

@soulaiman Well done! Do you think it would be possible to automate those cooking steps with pre/post build phase scripts (image mounting + filelist to copy)? Instead of cooking manually after every zl1 build, perhaps we could use either zl1 or (even better) a dedicated zl0 Git repo as source.

MakeX722GreatAswell said:
@soulaiman Well done! Do you think it would be possible to automate those cooking steps with pre/post build phase scripts (image mounting + filelist to copy)? Instead of cooking manually after every zl1 build, perhaps we could use either zl1 or (even better) a dedicated zl0 Git repo as source.
Click to expand...
Click to collapse
I'm sure a repo would be the best solution. It is possible to build a script for it but it wouldn't be easy as you have to use different tools and python scripts to unpack and repacked the dat and image.

One big problem! Sim card doesnt work.

MakeX722GreatAswell said:
@soulaiman Well done! Do you think it would be possible to automate those cooking steps with pre/post build phase scripts (image mounting + filelist to copy)? Instead of cooking manually after every zl1 build, perhaps we could use either zl1 or (even better) a dedicated zl0 Git repo as source.
Click to expand...
Click to collapse
Mi4_lte said:
One big problem! Sim card doesnt work.
Click to expand...
Click to collapse
SIM does work. I'm on LTE typing this right now. Do you have the 26s firmware ?

In the recovery, backup, firmware . This ? I have firmware from 26s and try to flash it , but its dont help(. Sorry for my english).

Mi4_lte said:
In the recovery, backup, firmware . This ? I have firmware from 26s and try to flash it , but its dont help(. Sorry for my english).
Click to expand...
Click to collapse
Did your zip work in the EUI custom ROMs ?
Are you in the first SIM slot or second ? I believe only one sim works in LOS 14.1.
EDIT just tested, second slot doesn't work in LOS. Same bug on the x720.

sim detected in first slot, no signal though

frantisheq said:
sim detected in first slot, no signal though
Click to expand...
Click to collapse
The same sim is detectid in the one slot,but no signal. I cant call anyone( no internet( please fix it! All another futers works fine! Only this one bug.

soulaiman said:
Thank you but I'm not God
Yes everything works.
I must say that after using it for a while I found out that the device started slowing down. After investigating the settings for the kernel are set to the wrong governor.
You can fix this by installing magisk root and then installing kernel auditor and going to the CPU tab and setting the proper Mon and max frequency and changing the governor to on-demand
Click to expand...
Click to collapse
Can you expand on this please? What are the exact settings? Thanks.

frantisheq said:
sim detected in first slot, no signal though
Click to expand...
Click to collapse
Same here.
Everything else works great.

Boryo23 said:
Same here.
Everything else works great.
Click to expand...
Click to collapse
Wich modem are you guys on ?
Do you have signal when flashing the Oreo LOS 15 package in the other thread ?
I did have the Genesys 26s ROM before flashing this and the LOS 15 by Murat. Can you try flashing that rom than mine ?
This is very strange... I have perfect signal, everything works.
Wich TWRP do you guys use ? Is it the one by GreekTeam ? Because maybe the partions arent at the same location on the X720 for the modem...

Mi4_lte said:
The same sim is detectid in the one slot,but no signal. I cant call anyone( no internet( please fix it! All another futers works fine! Only this one bug.
Click to expand...
Click to collapse
Do you have this baseband in attachment?
Baseband
sk8223 said:
Can you expand on this please? What are the exact settings? Thanks.
Click to expand...
Click to collapse
See attachment. Make sure you select apply on boot at the top.
CPU cluster 1 in Kernel Auditor: Click
CPU cluster 2 in Kernel Auditor: Click
Also guys please tell me exactly what ROM you are coming from. Wich TWRP you use and wich Firmware you have installed.
Also please test the package by Murat in the other LOS thread wich is LOS 15 and report back (That ROM is buggy but RIL should work)

frantisheq said:
sim detected in first slot, no signal though
Click to expand...
Click to collapse
Was you SIM insterted durning the first boot in the first sim slot by any chance ?
Can you test the LOS 15 ROM by Murat in the other thread and report if RIL works ?
Can you manually find networks ?

yes it was in. i was on latest stock 20, then i tried LOS 15 without SIM, then 14.1 with sim.
i'm not sure flashing other roms will help or caused troubles because i can't see any modem firmware files in zip files for both LOS or Genesys, but i'll try again tomorrow to see logcat and with permissive selinux. maybe something just needs to be chrooted in ramdisk. also i'll take a look at second sim not getting detected, we had similar problems when i ported CM to dual sim Lenovo Vibe Z2 Pro, then we got LTE working on both SIMs even if it was impossible to do on stock ROM

frantisheq said:
yes it was in. i was on latest stock 20, then i tried LOS 15 without SIM, then 14.1 with sim.
i'm not sure flashing other roms will help or caused troubles because i can't see any modem firmware files in zip files for both LOS or Genesys, but i'll try again tomorrow
Click to expand...
Click to collapse
The firmware files for Genesys are in the system.img that you have to unpack.
The firmware files for LOS are inside the system.new.dat that you also have to unpack. They are inside system/etc/firmware
Please try LOS 15 with a sim so that I know for sure that it is my ZIP that has the issue and not incompability between basebands version and LOS 14.1.

I did not notice any problems specificaly with the SIM card, but I had some failures when I flashed this ROM over the previous Genesys 26s installed. Flashing again with data wipe in addition to cache, dalvik and system solved it.
The ROM seems pretty functional for me so far but the performance is not very good. I got a score of 134000 with Antutu, while the results with 20s and 26s were between 150000-152000 points. I tested again with the device rooted and AKT running with a performance profile and the results improved to 144,000.
For the photography enthusiast, I think the default camera is worse than the original and crashes when trying to set 16:9 format but on the other hand the Google Pixel/Nexus Camera port can be instaled allowing HDR+ photos and (stabilized) video .

Related

[ROM][Xperia X][SUZU][N][7.1.2][WEEKLY]OmniROM

DOWNLOAD OmniROM for Xperia X
NOTICE: Install TWRP from second post if you are currently using a sonyxperiadev kernel based recovery
If you don't you might and up with a non-working touchscreen in recovery
OmniROM weeklies for Xperia X have been around since the beginning of march 2017. Untill now, all weekly builds were based on AOSP and using a fork of het sonyxperiadev unified kernel.
All roms for all devices which are based on this fantastic sony opensource project have one thing in common: they lack the user experience of stock based camera. Which seems to be a blocking issue for many users to use OmniROM (or any custom rom based on the AOSP OSS project for that sake) as a daily driver.
Last weeks @humberos, @oshmoun and me worked very hard to implement this in OmniROM, and we are proud to announce that starting this weekly build, stock camera is implemented in OmniROM.
Please report any issues here. Please keep in mind that we can only look into issues we always need LOGCATS and DMESGS. For howto's and tuts for adb and pulling logs with adb, please use XDA search function, or use google.
Known issue for now, is that 4K videorecording is not working. We disabled that in current builds.
Code:
[CENTER]
DISCLAIMER:
No one is responsible for any damage done to your device but YOU. You've been warned.[/CENTER]
sourcecode: OmniROM github
kernel sourcecode: msm8952 kernelsource
Changelogs:
General
Common devicetree
Sony X platform "Loire"
Sony X device specific
kernel
Install this TWRP if you are currently using a sonyxperiadev kernel based recovery
great !! tnx for hard work man .
ok downloaded it and installed in twrp . no problem in flashing .
tested almost everything i could and i can say everything work great . just didnt had simcard on first boot , got fixed by restarting phone .
Installed it. runs fast and smooth. Camera seems to be ok. Only sd card is showing as corrupt?!
Thanks for your hard work.
No issues so far,.Camera is much better than earlier versions of the ROM, thanks! Works with magisk and substratum too.
Oel said:
Installed it. runs fast and smooth. Camera seems to be ok. Only sd card is showing as corrupt?!
Thanks for your hard work.
Click to expand...
Click to collapse
Thanks for reporting. please post logs so SD card can be checked. Were you on a custom before this rom, and did you do a clean install?
can be a result of a changed encryption / security approach, but need to see logs for it.
SD card is working perfectly here
I got problems here , when I want to call someone it show error says cellular network not available. but simcard data is working and it shows LTE on status bar .
Rebooted but didn't help .
xmmn said:
I got problems here , when I want to call someone it show error says cellular network not available. but simcard data is working and it shows LTE on status bar .
Rebooted but didn't help .
Click to expand...
Click to collapse
can you rake a log for that please I have no problems here
f5122 Can not call, but can answer the phone
f5122
mine f5122 , here logcat
https://paste.ee/p/Obttl
erikcas said:
Thanks for reporting. please post logs so SD card can be checked. Were you on a custom before this rom, and did you do a clean install?
can be a result of a changed encryption / security approach, but need to see logs for it.
SD card is working perfectly here
Click to expand...
Click to collapse
Hi
Its ok now. After flashing SuperSu and some restartings the sd card is working perfect.
F5121 here, no props with calling.
FuLiterary said:
f5122
Click to expand...
Click to collapse
your English is probably much better then my Oriental based language reading..
What does it tell in English?
xmmn said:
mine f5122 , here logcat
https://paste.ee/p/Obttl
Click to expand...
Click to collapse
Thanks, will look into it asap
Best xperia x custom rom, no bugs, all running smooth, THX for your work....
Hi
the rom has DRM fix ?
thx
redank said:
Hi
the rom has DRM fix ?
thx
Click to expand...
Click to collapse
if we could fix DRM we would probably be rich... Or sued by Sony....
The rom however contains a certain lib from a waldvogel threat and that lib is referenced in init
Thanks for the ROM, I was looking forward this after the closing of Concept project! Only one question: the bugs are the same between Xperia X and Xperia X Compact? Because X Compact has
1. 4K video recording is disabled
2. Video recording using the default camera app only records up to about 25 seconds
(use open camera or any other camera app to avoid the issue)
3. H+ symbol does not show when connected using HSPA+
while here is said it only has the first bug. Thanks in advance!
previous builds had problem with in call audio volume adjustment, does it work from now on ?
Hi, i found a big issue in the actually weekly, last weekly all working. Ich can't correct restart about the extended restartmenu in Recovery Mode of twrp 3.1. The Recovery starting and the Touch Screen don't work. Only when i Switch off and start with the buttons the Touch Screen in twrp is working, but the Keys Up and down changed from Up to down. Bootloader Mode the Same, isn't working, don't start about extended restart menu. Ich reflash twrp, after that the same. I'm use the single Sim Version of the xperia x!!!! Please fix it
rec0re said:
Hi, i found a big issue in the actually weekly, last weekly all working. Ich can't correct restart about the extended restartmenu in Recovery Mode of twrp 3.1. The Recovery starting and the Touch Screen don't work. Only when i Switch off and start with the buttons the Touch Screen in twrp is working, but the Keys Up and down changed from Up to down. Bootloader Mode the Same, isn't working, don't start about extended restart menu. Ich reflash twrp, after that the same. I'm use the single Sim Version of the xperia x!!!! Please fix it
Click to expand...
Click to collapse
can you test flashing this TWRP?

[ROM][H910|H918|LS997|US996|VS995|H990*] UNOFFICIAL Resurrection Remix v6.2.1

DOWNLOAD
NOTICE:
The 8/8/2019 version is currently the latest!
RR stopped updating the framework for Oreo in December 2018. There's no reason to have weekly builds anymore, though I may still create new builds when security updates come through.
I'll create a thread for Pie once the dust settles, so please be patient. If you are itching for Pie right now please support x86cpu and his LOS16 builds!
Actually important stuff:
Update TWRP, older versions may cause problems.
If you're coming from stock, make a backup of your EFS partition. If that gets wiped, then you may have issues connecting to LTE on some devices.
Verizon users (regardless of phone model): You need to make an outgoing call after booting to be registered correctly on their network. Calling your voicemail is an easy way to do this.
H918 users: Versions up to, but not including, 10p are ARB0. 10p+ is ARB1.
YewMinou: This is an app to make a detailed logcat file. If you run into issues, make a log and attach it to your post.
Please do a clean install and wipe cache and dalvik cache after flashing the ROM (TWRP should give you a button to do so once flashing is complete).
Current Issues:
VoLTE and WIFI Calling do not work.
Second screen functionality (for now...).
Standing on the shoulders of giants
This ROM would not be possible without people that have selflessly donated immense amounts of their free time and effort. I'd like to thank:
x86cpu, Rashed97, emdroidle(ehem), Omar-Avelar(oxavelar): For making current, aosp-based ROMs a reality for the v20.
runningnak3d: For making it possible to even flash those ROMs on many variants.
Phoenix591: For maintaining and updating TWRP for the v20.
Zacharee1: For the work being put in to the second screen development.
I'd also like to thank everyone that works on LineageOS and Resurrection Remix!
Sources:
ResurrectionRemix
kernel_lge_msm8996
msm8996-common
v20-common
h910
h918
h990
ls997
us996
vs995
YewMinou
Since people were basically making threads for this already, I may as well just come out with it.
I only have the US996 model, so all of the builds for the other models are untested. I'll do what I can to make sure those work correctly, but I can't make any promises.
YewMinou is pretty spartan at the moment. When I get some time, I'll add the option to change the save location and make things look a little prettier.
Good job @Blaises I've been running your builds for awhile, and so far they're solid.
Edit: First....
Sent from mTalk
Tested on h990ds but after showing rr logo crash kernel and was not boot.
Thanks for Blaises
Does its work for H990DS?
willy solihin said:
Does its work for H990DS?
Click to expand...
Click to collapse
doesn't work, crash kernel and was not boot.
dilaboni said:
doesn't work, crash kernel and was not boot.
Click to expand...
Click to collapse
I replaced boot.img from lineage h990 in rr zip file and re flashed again and worked. Rom has been boot. But I have not signal like lineage. Other things worked fine.can anyone help me for fix signal on h990ds
I've just uploaded new build for the H990, here's a direct link.
Let me know if that has the same issue.
Blaises said:
I've just uploaded new build for the H990, here's a direct link.
Let me know if that has the same issue.
Click to expand...
Click to collapse
Reed above post and help me for signal
Blaises said:
I've just uploaded new build for the H990, here's a direct link.
Let me know if that has the same issue.
Click to expand...
Click to collapse
I've just got the first build for the H990 (single SIM) to boot. At first boot attempt, there was a kernel crash as the H990DS has been reported to have. What fixed the booting issue was flashing Gamma Kernel. All good now. Thanks so much for building RR! Such a great ROM!
Update: also, cell, data, wifi and bluetooth all work
Blaises said:
I've just uploaded new build for the H990, here's a direct link.
Let me know if that has the same issue.
Click to expand...
Click to collapse
On my way,downloaded and fla****,thanks
---------- Post added at 03:19 AM ---------- Previous post was at 03:12 AM ----------
jl10101 said:
I've just got the first build for the H990 (single SIM) to boot. At first boot attempt, there was a kernel crash as the H990DS has been reported to have. What fixed the booting issue was flashing Gamma Kernel. All good now. Thanks so much for building RR! Such a great ROM!
Update: also, cell, data, wifi and bluetooth all work
Click to expand...
Click to collapse
What have do you version Gamma Kernel?
Any H910 users confirm if NFC service eating battery problem is gone? I've been through hell for Lineage 14 and 15 but couldn't get my head around the terrible battery drain due to greyed out nfc
When the installation is complete i'm rebooting system from my recovery screen and it's rebooting to recovery .why?
dilaboni said:
When the installation is complete i'm rebooting system from my recovery screen and it's rebooting to recovery .why?
Click to expand...
Click to collapse
Happened to me too on vs995. Never happened again after 1st boot so idk.
Have any one fix the LCD screen burn or ghost img
tswb said:
Have any one fix the LCD screen burn or ghost img
Click to expand...
Click to collapse
Did you try this
Thanks h990ds worked with new link.
I have some questions
How i can install lg v30 camera in RR rom ? I installed it via recovery but when phone booted get error .
When i installed boredsign get error that not compatible with your device
uppon2 said:
Did you try this
Click to expand...
Click to collapse
The kernel doesn't support with the kcal
tswb said:
The kernel doesn't support with the kcal
Click to expand...
Click to collapse
You can flash Gamma kernel.
LS997 seems to work, confirmed wifi works at least, but switching the carrier settings to SIM/RIUM causes everything to go haywire. android.phone.com crashes every two seconds or so, and trying to flash the Gamma kernel out of desperation just lead to a bootloop.
Is there a .zip anyone would recommend trying to dirty flash this on top of to preserve carrier settings?

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.

[Treble] [Pie] [UNOFFICIAL] LineageOS 16 For Xperia X

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.

[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:

Categories

Resources