[ROM] LineageOS 20.0 UNOFFICIAL - 1.2 [2023-05-10] - Sony Xperia XZ Premium ROMs, Kernels, Recoveries,

LineageOS 20.0 for Sony Xperia XZ Premium
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RELEASE
This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for me to fix anything (preferably dmesg and logcat). I can't test NFC very thoroughly, to please report your findings.
FEATURES
Signed with dev keys
Up-to-date kernel
WireGuard kernel support
DOWNLOAD
You can download the latest releases and TWRP here:
ROM:
https://sourceforge.net/projects/yoshino/files/maple/lineage-20.0/
TWRP:
https://sourceforge.net/projects/yoshino/files/maple/twrp/
Suggested Gapps (MindTheGapps) - choose 13.0.0/arm64:
https://androidfilehost.com/?w=files&flid=322935
or
http://downloads.codefi.re/jdcteam/javelinanddart/gapps
Check the ChangeLog below for firmware requirements!
INSTALLATION
Before first install: flash and boot into the TWRP provided in this thread, format data, reboot to recovery and wipe all internal partitions, then flash the ROM, GApps and root (if needed).
Or if you are coming from Lineage 19.x, dirty flash to 20.0 is possible too: flash the new TWRP, ROM, and GApps, su addons (if needed).
Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
When updating from previous builds, simply dirty flash the ROM is enough, decryption in new TWRP works now
Recommended GApps: MindTheGapps provided in this thread. (Important to flash with rom)
KNOWN ISSUES
You tell me...
Contributors
derf elot, modpunk, Rooted_Ansh
Thanks to the yoshino testers (let me know if I forgot to add you)
coin3x, feduss, GiaSen, Gizanagi, hsheemi, kaancaliskan, sohrab1985
Source Code
maple: https://github.com/whatawurst/android_device_sony_maple
maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
kernel: https://github.com/whatawurst/android_kernel_sony_msm8998
Rom Information
ROM OS Version: Android 13
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Current Stable Version: 1.2
Stable Release Date: 2023-05-10
All credits goes to derf elot and all the other developers involved, I only post it.

SECURITY ADVICE
Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!
How to get root?
As mentioned before, there will not be an official su addon from LOS anymore. If you need root, flash an unofficial solution.

REQUIRED FIRMWARE:
CHANGELOG
2023-05-10 | 1.2 | 47.2.A.10.107
Updated to T QPR2 release (LineageOS upstream)
Updated to May 2023 Security updates (both ROM and kernel)
Our kernel now includes updates by CIP and is up-to-date with tag st40 - thanks also to Flamefire for help with some of these (1)
Reduced zram size to 25% (1gb) of out total RAM to have more to use freely
Updated BT stuff for QPR2 (maybe offloading is working again? needs confirmation)
Added the option to reflash the mbn via OpenCS (see Xperia Parts) - thanks also to shank03 & Flamefire (2)
Fully enabled IMS on Congstar Germany via overlay on lilac
Possibly some battery/performance optimizations here and there
Fixed Android Auto support
Added new LineageOS "Charging control hal" for battery charging care (3)
Maybe more I forgot...
(1) The CIP kernel includes fixes for issues and security vulnerabilities from 4.14 kernel (see https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git)
(2) A somehwat lengthy explanation: This option is off by default on fresh installs. When upgrading, this should be enabled because we enforced this for everybody previously. However, this option is only required for certain carrier mbns that enable IMS. Personally, I know that the O2/Telefonica Germany mbn needs this, otherwise you get a crashing modem at every boot (unless you switch to 3g before rebooting and back to LTE after boot). I generally recommend playing with this option, and if you don't need it (e.g. modem doesn't crash on boot), just keep it off - like mentioned before, this is now the default behavior of OpenCS on fresh installs anyway.
(3) This is not finalized or merged upstream in LineageOS yet, but seems like a nice feature to have and test drive already. Some bugs may be possible.
2023-01-08 | 1.1 | 47.2.A.10.107
Updated to T QPR1 release (LineageOS upstream)
New default camera app (LineageOS upstream) - yes, we cannot change video fps currently (thanks Sony!)
Any other updates by LineageOS upstream
Kernel security updates (also thanks to Flamefire)
Dropped keyprovd service - it is useless on unlocked BL anyway
Show 4G instead of LTE icon - saves some space too
Enable IMS by default - this still only works if carrier is supported
Fix some selinux denials (also thanks to Flamefire)
Fixup ViLTE dependencies - this might in theory work again, but it's not enabled yet
2022-10-03 | 1.0 | 47.2.A.10.107
Initial release

Is it the same procedure as always?
first flash latest available Stock ROM(47.2.A.10.107) and boot into it once.
Then flash the twrp,
then flash the rom?

Gordon1979 said:
Is it the same procedure as always?
first flash latest available Stock ROM(47.2.A.10.107) and boot into it once.
Then flash the twrp,
then flash the rom?
Click to expand...
Click to collapse
Yes, That's it.
Flash gapps as well and maybe magisk if you want root.

Try it yesterday, it work fine.
But dirty flash from los19.1 lead boot loop
Nothing bug so far.
But light theme with white text bug seem fix from los 19.1.

THANK YOU for your Great Work

patrriot said:
THANK YOU for your Great Work . IT is perfect.
Click to expand...
Click to collapse

Hi all, and sorry, i forgot translate to english.
dirty flash, bootloop to recovery
clean flash, bootloop to recovery
delete all internal partitions, /firmware, /dsp, etc...
Now my phone a black screen wit the blue led blinking when press power button, o connect to charger, but my computer do no recognice the phone, combo keys do not work.
Only i am the reponse of the hard brick.
Sorry to all.

juanantofb said:
Hola a todos.
flash sucio, ........
Click to expand...
Click to collapse
It seems you don't know the first thing about xda

Can you put the network speed indicator ① in position ②?

juanantofb said:
Hi all, and sorry, i forgot translate to english.
dirty flash, bootloop to recovery
clean flash, bootloop to recovery
delete all internal partitions, /firmware, /dsp, etc...
Now my phone a black screen wit the blue led blinking when press power button, o connect to charger, but my computer do no recognice the phone, combo keys do not work.
Only i am the reponse of the hard brick.
Sorry to all.
Click to expand...
Click to collapse
You should not wipe those partitions. They are not wipeable in the GUI for a reason.
You should be bale to recovery this by going into flash mode and re-flashing stock.

juanantofb said:
Hi all, and sorry, i forgot translate to english.
dirty flash, bootloop to recovery
clean flash, bootloop to recovery
delete all internal partitions, /firmware, /dsp, etc...
Now my phone a black screen wit the blue led blinking when press power button, o connect to charger, but my computer do no recognice the phone, combo keys do not work.
Only i am the reponse of the hard brick.
Sorry to all.
Click to expand...
Click to collapse
Do a TWRP install again in Fastboot mode. Hold down the VOL + key and then connect the data cable to the PC. Led Blue ON .
Install the Universal ADB drivers.

Bbb

Hi all, not posible to enter in fastmode or flashmode, i waiting to discharge battery, if i can not enter in fastmode i think that this Sony is in the finale of your life.

juanantofb said:
Hi all, and sorry, i forgot translate to english.
dirty flash, bootloop to recovery
clean flash, bootloop to recovery
delete all internal partitions, /firmware, /dsp, etc...
Now my phone a black screen wit the blue led blinking when press power button, o connect to charger, but my computer do no recognice the phone, combo keys do not work.
Only i am the reponse of the hard brick.
Sorry to all.
Click to expand...
Click to collapse
I'm sorry that this happened to your device.
As other friends mentioned in other posts you can recover from this by flashing the stock firmware IF you can get it to flash mode.

Hi, do not worry, the battery in this phone is the end of your life, more rom has been flashed.
The problem is that i can not put phone in flash mode, only the last posibility is to wait tha the phone discharge battery and i can enter in flash mode.
Thank.
sohrab1985 said:
I'm sorry that this happened to your device.
As other friends mentioned in other posts you can recover from this by flashing the stock firmware IF you can get it to flash mode.
Click to expand...
Click to collapse

Found a small bug but not effect daily use.
When choose font or icon shapes.
It always default to last option.
The change effect normally through.

Installation complete, with minor difficulties.
My instructions:
1. flash last firmware (47.2.A.10.107) --> green LED
2. reboot once completely, Play Store not required to set up
3. reboot to fastboot --> blue LED
Link driver: https://developer.android.com/studio/run/win-usb
4. flash twrp: fastboot flash recovery twrp-3.6.2_12-0-20221002-maple
5. reboot to twrp
6. format data + restart in recovery
7. format dalvic , system , cache , data , internal storage + restart in recovery [ NOT Vendor Format !!!!! ]
8. flash the ROM,
8.1 Flash theGApps
8.2 Format Dalvic, Cache
9. reboooooooot
Have Fun

Hello,
This is the first rom I installed on my phone ever. I took me all day to figure it out how to unlock bootloader, install TWRP and then ROMS. I tried three roms: crDroid, Nusantara, and this one. I like this one best. It is amazing that one person can make such an OS and a whole sony corporation can not make an update
P.S. It works very well, but on my phone icons do not have bubbles when for example a message arrives. Maybe that is a bug or simply I do not know how to enable them (Notification dot on app icon is enabled).
At first I thought that there is a bug then I could not access files on a phone from a computer, but later I find out that it is a new security feature of newer android OS (I changed it to file transfer always on in Developers options)
Thank you

Related

[ROM] LineageOS 15.1 UNOFFICIAL - BETA8 (2018-10-22)

LineageOS 15.1 for Sony Xperia XZ1 Compact
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
BETA RELEASE
This release is a beta release. It works very well and can be used as a daily driver. Please check the lists about what works or not below and check what needs testing and feedback.
FEATURES
Signed with dev keys
FDroid preinstalled
FDroid Privilege Extension
Bugs included
DOWNLOAD
You can download the latest release here. Check the ChangeLog below for firmware requirements!
INSTALLATION
Put the zip file of the ROM on you sdcard or internal store and boot into recovery. If you use my TWRP recovery, you should use that one to flash the ROM.
Make sure you select Zip signature verification.
This will make sure the zip file has not been altered!
KNOWN ISSUES
IMS support is missing (we are working on it, but it isn't trivial)
HARDWARE
Phone doesn't work well with Mifare NFC tokens
IMS does not fully work for some carriers yet
UNTESTED
XDA:DevDB Information
lineageos_sony_lilac, ROM for the Sony Xperia XZ1 Compact
Contributors
modpunk, derf elot
Source Code: https://github.com/cryptomilk/android_device_sony_lilac
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: TWRP Recovery
Based On: LineageOS
Version Information
Status: Beta
Current Beta Version: 8
Beta Release Date: 2018-10-22
Created 2018-02-05
Last Updated 2018-10-22
UPGRADE FIRMWARE
Grab the Sony Stock firmware using e.g. XPeriFrim. You should always flash the firmware matching the LOS build.
Grab newflasher and put it in the same folder as the firmware files.
Read the newflasher original post on XDA for general instructions!
Remove the follwing from the folder so they won't get flashed:
all *.ta files (keep the one in the boot/ directory)
cache*.sin
fotakernel*.sin
kernel*.sin
system*.sin
userdata*.sin
vendor*.sin
Turn off your phone
Hold the volume down button and attach it via USB to your system till you see LED turning green
Run newflasher from within this directory to flash the remaining files
You can say yes to the first optional step, in case you dont have working drivers installed.
Skip the second optional step (dumping of trim area), it's useless if your bootloader is unlocked already and takes a long time.
Google Apps
You can download and install the Google Apps from opengapps.org. You need ARM64 and 8.x. I suggest to *always* use the pico package. If you need additional apps you find them in the Play Store.
Privacy Guard for GApps
I wouldn't run GApps without Privcy Guard. Here is what you need to do:
Go to: Settings -> Security & location -> Privacy Guard
Open the advanced menu (3 dots) and select: Enable by default and Show built-in apps.
Search for Google Play Services and turn it on by tapping the entry. A long press will give additional options. There are more Google Apps you should turn it on and revoke permissions like the syncing stuff.
FDroid
This ROM comes with FDroid and the Privilege Extension pre-installed.
MicroG
Doesn't provide API level 27 builds yet ... will probably available in future with signature spoofing.
Simple Mobile Tools
This is a collection of really awesome Open Source and AD-free Apps! Don't get confused by the name! Especially the Calendar and Gallery app are really good! If you like his stuff, support him by buying the Simple Thanks app.
You can find them in FDroid and the Play Store.
Known Issues
Some apps don't work (Gardenscapes, Die Zeit, ...)
When an app is installed then it should ask for Permissions on the first startup. However for some apps this doesn't happen. To fix it you need to go to Settings -> Apps & Notifications -> See all apps -> Select the App -> Permissions. Now manually activate the required permission, normally the Storage Permission is missing in that case!
CHANGELOG
2018-10-22
Updated Kernel to version 4.4.161
Use same vibration strength as stock
Updated GPS stack
Recommended firmware: 47.1.A.16.20
2018-09-17
Updated Kernel to version 4.4.156
Improved GPS performance, GPS fix in less than 10 seconds now
Added stock camera app
Recommended firmware: 47.1.A.16.20
2018-08-14
Updated Kernel to version 4.4.147
Some performance improvements (The system should be more responsive)
Improvements to save some battery
Fixed touch pressure issues
Requires firmware version: 47.1.A.12.270
2018-06-12
Updated Kernel to version 4.4.136
Added support for WireGuard VPN
Added support for Sony modem configurations
2018-05-16
Updated to completely new kernel which follows Linux 4.4.x stable (Thanks @derf elot)
Updated display stack to newer version
Fixed USB Tethering which broke with BETA2
More volume steps for media playback
Fixed IRQ balancing (found by derf elot) (This is broken in Stock ...)
2018-04-16
Updated to April build
Fixed 'OK Google'
Fixed wifi startup issues
Fixed GPS issues
2018-03-23
Kernel bugfixes
Native exfat support
Several audio improvements
Updated vibration patterns
Updated brightness levels
Fixed IMS
Fixed MTP
Fixed offmode charging
2018-02-19
Added HWComposer improvements (efficient ColorTransform)
Added Kernel support for exfat formatted sdcards
Added Vulkan compute feature
Added IPv6 ebtables
Switched Snap to Camera API2 with extended features (ubifocus, optizoom, blur, pro mode, etc.)
Fixed headphones audio
Fixed NFC
Fixed tethering support
Fixed audio effects
2018-02-06
The big bang!
Thank you so much for all your hard work in getting this to the forums.
This includes DRM fix presumably?
Thank you so much man. I heard you mention micro g on the other thread. Do you know if I'll work with LineageOS 15.1? I really don't want to use GApps.
Dinowaffles said:
Thank you so much man. I heard you mention micro g on the other thread. Do you know if I'll work with LineageOS 15.1? I really don't want to use GApps.
Click to expand...
Click to collapse
I will provide a ROM with MicroG, but not on the first release. MicroG needs to compile their stuff with API level 27 first ...
I think it would be preferrable to not ship any version of GApps with the ROM. This way, everyone can install what they want.
Thank you! Downloading.
Followed instructions with full wipe, using your latest TWRP, bootloop, boots into recovery.
@modpunk
Thank you for your hard work!
Just a feature request.
https://www.xda-developers.com/wireguard-vpn-project-support-android-roms/
https://forum.xda-developers.com/android/development/wireguard-rom-integration-t3711635
Will updates come via OTA or do I check the thread now and then?
akonet.android said:
Followed instructions with full wipe, using your latest TWRP, bootloop, boots into recovery.
Click to expand...
Click to collapse
You also wiped dalvik and cache?
akonet.android said:
Followed instructions with full wipe, using your latest TWRP, bootloop, boots into recovery.
Click to expand...
Click to collapse
try reinstalling the boot.img manually...
let me know
modpunk said:
You also wiped dalvik and cache?
Click to expand...
Click to collapse
Burakki said:
try reinstalling the boot.img manually...
let me know
Click to expand...
Click to collapse
Yes, full wipe including dalvik and cache. Flashed boot.img from modpunk's ALPHA0 with fastboot and same result... Puzzled, never experienced this.
Flashed stock 12.34 and boots fine, though had to wipe userdata also
akonet.android said:
Yes, full wipe including dalvik and cache. Flashed boot.img from modpunk's ALPHA0 with fastboot and same result... Puzzled, never experienced this.
Flashed stock 12.34 and boots fine, though had to wipe userdata also
Click to expand...
Click to collapse
I'm reuploading the ROM.
akonet.android said:
Yes, full wipe including dalvik and cache. Flashed boot.img from modpunk's ALPHA0 with fastboot and same result... Puzzled, never experienced this.
Flashed stock 12.34 and boots fine, though had to wipe userdata also
Click to expand...
Click to collapse
The upload finally finished. Could you please re-download and try again?
modpunk said:
The upload finally finished. Could you please re-download and try again?
Click to expand...
Click to collapse
Works now. Thank You. Very pleased.
ROM is working. Great!
But I think MTP is not working.
could someone clear up the securitypatch and rom relation?
do i just flash the latest of your twrp and LOS? are they synced so to speak?
Thanks ahead
Flawless installation.
Flashed twrp, rom and magisk.
Its a good feeling when everything just works.
Huge thanks!!
Hi, i have some problems with the GPS + google maps. The navigation is very low. After the phone has found my location, maps doesn't work...

[ROM][P][9.0] Resurrection Remix 7.0.0 for Amami [17.02.2019]

Download
RR-P-v7.0.0-20190124-amami-Unofficial
RR-P-v7.0.0-20190218-amami-Unofficial
XREN Kernel
TWRP 3.2.x-0
Magisk
GAPPS arm/9.0
AddonSU
INSTALLATION
1. Unlock bootloader
2. Install via fastboot boot.img
fastboot flash boot boot.img
3. install twrp recovery 3.2.x-0
fastboot commands fastboot flash recovery TWRP.img
4. Boot to recovery and wipe:
cache / dalvik
data
system
5. Install ROM
6. Install Gapps
7. Install XREN-kernel (optional)
8. Install SuperSU or Magisk
9. Done![/SIZE]
Credits
SpiritCroc: big thanks to him for maintaining the device trees
115ek: thanks to him for local manifest
rcstar6696
SuperLamic
drakonizer
AdrianDC
munjeni: thanks for tips and tricks
nailyk: thanks for tips and tricks
All the other contributors on sony msm8974 platform
LineageOS team
Click to expand...
Click to collapse
Local manifest - how to build...
XDA:DevDB Information
Resurrection Remix 7.0.0 for Amami, ROM for the Sony Xperia Z1 Compact
Contributors
raschad
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x
ROM Firmware Required: TWRP 3.x.x
Based On: LineageOS 16.0
Version Information
Status: Beta
Beta Release Date: 2019-01-24
Created 2019-01-24
Last Updated 2019-02-17
Changelogs
24.01.2019
- initial release
17.02.2019
- Update from source
- Camera focus button to wake up
- Stereo speaker mod
I think it's good practice to mention the people that made your work possible. It's a bit unfair to perform like it's completely your work.
The well-kept repos from AICP (thanks @SpiritCroc and a lot of others before) first enabled us to build other android 'flavours' so quickly and with so less effort.
Open source isn't just taking - it's also giving. And even if it's only some credits.
By the way: It would be just fair to give something back if you fix some problems by submitting it to https://gerrit.aicp-rom.com
Good luck.
115ek said:
I think it's good practice to mention the people that made your work possible. It's a bit unfair to perform like it's completely your work.
The well-kept repos from AICP (thanks @SpiritCroc and a lot of others before) first enabled us to build other android 'flavours' so quickly and with so less effort.
Open source isn't just taking - it's also giving. And even if it's only some credits.
Click to expand...
Click to collapse
You're right! All this is possible thanks to @SpiritCroc and the team AICP
Tested and working fine. Thanks all involved people for their effort to keep phone up to date.
Thanks for building RR7! Is anyone running this as a daily driver? If so, can you confirm that bluetooth is working? Thanx again
Ænimal said:
Thanks for building RR7! Is anyone running this as a daily driver? If so, can you confirm that bluetooth is working? Thanx again
Click to expand...
Click to collapse
Tried since yesterday as daily driver. Bluetooth working, at least with my car. Wifi 2.4 and 5Ghz also working (not tested high channels). Camera works as in most other roms (lineageos camera), and GPS works fine, so, as far as I've tested, all is working (NFC not tested)
One annoying thing is that volume buttons only change multimedia volume, and an icon appears to switch ringer from vibration to sound or no sound. It's not an issue, as this behaviour comes directly from android 9 itself, who changed the way this works. Under RR setting you can make a full panel appear.
And may be due to this, Volume settings are a bit messed, with ring and notifications icons/sliders somehow swapped and a strange behaviour when moving them individually. Seems that there is something wrong there.
Otherwise, nice ROM, very similar to AICP.
Hallo.
Very excelent ROM! Everthing works. Sound setings must set on ROM setings, i set slider for bell, ring, multimediaand phone. Up the slider is button to switch to silent mode.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I flash another kernel- RZ . XRen kernel litlle batery drain in my Z1C. RZ kernel i set in Kernel Adiutor and now very good energi optimization and batery saver!
With RZ kernel fully work double tap to sleep and double tap to wake - wau!
Good work! Now my Z1C have 2019 facelift
Hallo.
AnTuTu:
Mark
Flashed this ROM today; didn't do much in it, just tested a few things. What I tried was working very well. Got extremely fast GPS fixes.
Many thanks to everyone involved for your efforts! :good::good:
There's only one thing I couldn't get to work: I tried to flash rashad's RZ Kernel V 3.0.2 with the result that my phone wouldn't boot anymore, neither into system nor into recovery. I tried several options but none worked. After each failed attempt I had to re-flash twrp through fastboot as it is described here
1.: flashed ROM + kernel + openGapps 9 pico + Magisk V 18 (in that order) >> no boot into system possible, didn't get past some initial background illumination (no bootlogo or whatever, no LED)
2a: flashed ROM + openGapps 9 pico + Magisk, then booted into system >> OK
2b: booted back into recovery, flashed kernel from zip + Magisk (in that order) >> no boot into system, see #1
3a: repeated 2a >> OK
3b: repeated 2b, but without flashing Magisk >> no boot into system, see #1
While flashing the kernel there aren't any error messages etc.
I admit that it's been quite a while that I last flashed a custom kernel, and that's been a completely different device. So I assume that I'm doing something wrong here.
Hallo.
Unlock bootloader, instal TWRP 3.2.1, wipe, instal ROM, Gaps, kernel and Magisk. No problem.
After reflash Xren kernel to RZ kernel must wipe.
Mark
Markusenka said:
Hallo.
Unlock bootloader, instal TWRP 3.2.1, wipe, instal ROM, Gaps, kernel and Magisk. No problem.
Click to expand...
Click to collapse
that's how I did it: bootloader is unlocked since 18 months or so, currently am running LOS 15.1 unofficial; TWRP 3.2.3 is installed to FOTAKernel already.
I always wipe cache, Dalvik/Art, System and Data before I flash a different ROM.
Did the rest as you wrote.
Markusenka said:
After reflash Xren kernel to RZ kernel must wipe.
Click to expand...
Click to collapse
Question is: what should I wipe if I flash a different kernel only onto an existing ROM without destroying vital parts of the ROM?
Hallo.
I am reflash more times from Xren to RZ kernel and RZ to Xren for testing. I am flash new kernel and wipe cache and dalvik. After restart, phone normal boot to system.
I have litlle problem with recovery. It is diferent two bootkoader on xperia Z1C and more then two TWRP.
Markusenka said:
Hallo.
I am reflash more times from Xren to RZ kernel and RZ to Xren for testing. I am flash new kernel and wipe cache and dalvik. After restart, phone normal boot to system.
I have litlle problem with recovery. It is diferent two bootkoader on xperia Z1C and more then two TWRP.
Click to expand...
Click to collapse
Strange! Tried again one hour ago, and again no chance to boot into system. After waiting for 5 minutes I gave up, now I'm back at LineageOS 15.1 with standard kernel and twrp installed in FOTAKernel (at least that's what I think)
Hy!
I set government CPU and GPU to Perfomance and now here is final test. Phone is not hot. Again, thank you for this ROM.
Mark
Hi @raschad,
first of all, thank you for your effort spent in this ROM.
I've tested it for three days on my device and - wow - this is very promising! Slick and responsive UI, overall performance is great. All phone features working like a charm.
Nevertheless, I encountered following issues:
Same as for user @lm089, I cannot boot with RZ kernel installed (thank you for your hint using fastboot to get back into recovery). Thus, I tested the ROM with the kernel it originally ships.
I use my phone as alarm clock. At night it is turned into flight mode. But while in flight mode, scheduled alarms won't wake the phone and play sound. Instead, when manually waking the phone after the scheduled alarm, there is a notification stating a "missed wakeup call". Not very helpful
Without flight mode, alarms are firing fine. Maybe this is some kind of "do not disturb" feature automatically activated within flight mode?
One morning, when manually waking the phone, it showed a quick "shutting down" message and turned off. Battery was >50% the night before, but now the phone was 'dead'. Needed 20 minutes charging prior willing to boot.
This battery drop issue occurred just once.
Two times, after waking the phone, display was completely unresponsive for touch input. Hardware buttons still working, but even putting the phone back in standby and waking again doesn't get the touch input back working -> hard reboot needed.
When configuring the camera app to store images onto external SD card, it stores pictures into /sdcard/Android/data/org.lineageos.snap/files. Pictures won't show up in gallery afterwards, as there is a .nomedia file present.
For now I'm back at Oreo which is very stable for me. But I'm eager for this great ROM. Feels great on a five years old device to have bleeding edge software running that smooth.
Please let me know if you need any further information or other support in order to track these issues down.
Looking forward to test any future releases!
Kind regards,
Simon
Hi again,
I've tested the RZ3.5 kernel with this rom (just installing it under TWRP), and I've to say that it worth the improvements. The overall feeling of performance is similar or better, but the real improvement is in battery duration. Actually I've a quite old battery installed, that gives me about 16h of working time. With RZ I'm getting consistently more than 24h. Tested during some days and it's an improvement of more than 50% in battery life, some days even about 100% improvement. Impressive.
So, the overall impression is quite nice. Phone is very responsive, and battery lasts enough... seems almost a new phone. Thanks all involved
Would you mind posting some of your kernel adjustments? Or do you just go with the kernel's standard settings?
lm089 said:
Would you mind posting some of your kernel adjustments? Or do you just go with the kernel's standard settings?
Click to expand...
Click to collapse
Just standard settings
17.02.2019
- Update from source
- Camera focus button to wake up
- Stereo speaker mod

[ROM][UNOFFICIAL][9.0][DIG-L21HN] Lineage 16 for Nova Smart / Honor 6C / Enjoy 6s

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
What works:
Wifi
Bluetooth
Audio
USB
RIL
Encryption
Fingerprint
Broken
Camera
Notification LED
Reboot
Selinux Enforcing
Source code:
device: https://github.com/yener90/android_device_huawei_diego
device-common: https://github.com/yener90/android_device_huawei_msm8937-common
kernel: https://github.com/yener90/android_kernel_huawei_msm8937
vendor: https://github.com/yener90/proprietary_vendor_huawei
Important
If you are using this ROM first time, wipe data. Wipe data completely. I mean the option where you need to enter "yes". Use this option and then flash the rom.
This ROM only works with the TWRP I added.
If you want to use GAPPS, flash it directly after flashing ROM. Don't let the ROM boot. Otherwise your device will not get certification, so you will not have Google Access.
Instructions (thx @matshias, just changed few lines to get ROM flashing working)
Put your ROM (and GApps) onto your sdcard (sdcard must be exfat or fat32, NTFS not supported)
Install fastboot and adb on your PC, e.g. from here
Enable developer options and in there select to unlock your bootloader by enabling OEM unlock and enable USB debugging
Unlock your bootloader using this tutorial: https://www.dc-unlocker.com/how-to-read-huawei-bootloader-unlock-code This will factory reset your device
Don't setup, cause you will need to format your phone later again. Shutdown tablet. Hold volume up and power button to start to bootloader
Then run
Code:
fastboot flash recovery twrp-3.3.1-0-<your-filename>.img
to flash TWRP
Select with volume buttons "Recovery Mode" and press power button
Select to write to system, otherwise you can't flash ROM
Backup at least system and boot partitions to your sdcard cause you will wipe data in next step. Choose "System Image" for the system partition backup.
Format data using this tutorial
Flash ROM
Optionally flash SuperSU or Magisk in TWRP which should install system less. Keep OEM unlock enabled if you flash or modify anything
Restart
Download
2020-02-09
• added support for all variants of diego
• updated Lineage
ROM
TWRP
Older downloads
2020-01-24
• fixed Speaker Volume Fluctuation
ROM
TWRP
2020-01-22
• added FT5346 touchscreen support
ROM
TWRP
2020-01-18
• initial release
ROM
TWRP
XDA:DevDB Information
Lineage 16 for Nova Smart Honor 6C Enjoy 6s, ROM for the Honor 6, Honor 6 Plus
Contributors
yener90
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
Based On: LineageOS
Version Information
Status: Testing
Created 2020-01-18
Last Updated 2020-01-18
my device is h60-12, should i flash marshmellow stock firmware first before flashing this rom?
Wow thanks for sharing this ROM.
Exzellent Work. Thank you!
I flashed it.
Amazing for the first build.
Let's hope that the rest can be fixed.
I also found another bug, the flashlight is broken.
Magisk 20.3 works fine with pass SafetyNet.
Thanks a lot for the ROM!
I love it!
Taswim said:
my device is h60-12, should i flash marshmellow stock firmware first before flashing this rom?
Click to expand...
Click to collapse
This is for Diego only, your device is not supported.
jamal2367 said:
I flashed it.
Amazing for the first build.
Let's hope that the rest can be fixed.
I also found another bug, the flashlight is broken.
Magisk 20.3 works fine with pass SafetyNet.
Thanks a lot for the ROM!
I love it!
Click to expand...
Click to collapse
I tried long time ago fixing those issues with good help, couldn't manage it.
Thank you @yener90 for update this rom.
The problem is, AFH found no mirrors to download the newest update :/
@jamal2367 use latest version
Update
2020-01-24
• fixed speaker volume fluctuation
ROM
TWRP
yener90 said:
@jamal2367 use latest version
Update
2020-01-24
• fixed speaker volume fluctuation
ROM
TWRP
Click to expand...
Click to collapse
Thank you!
Audio works fine now!
And my Touchscreen is now.
Smoother Scrolling + Ghosting Effect is gone.
Nice Job, wow!
@yener90 This ROM isn't for Honor 6 , please post to the right forum!
Good!
Everything is set! The firmware is quite stable, nothing is buggy, everything works well. I hope that this version of the firmware on the Honor 6C will not be abandoned and you will make a working camera. I wish you success in your development!
i flashed twrp and i got blackscreen when i try to reboot to recovery and system, i have a nova smart DIG-L21 (not HN but it shouldnt matter because its the same thing) 16GB/2GB, no idea whats happening
rebooting to recovery from system with adb reboot recovery results a blackscreen, then rebooting to bootloader and doing fastboot reboot results a reboot to "your phone is unlocked" screen and going to that black screen again, rebooting to erecovery and clicking reboot from there works and reboots to system after the your phone is unlocked screen
edit: so i just saw what was the device getting reconized as when i do "adb reboot recovery" and, well: Qualcomm HS-USB Diagnostics 900E, from there only blackscreen, i can hold power button and vol down to reboot to bootloader, from there:
1. if i do fastboot reboot i will reboot, see that your device is unlocked screen for a second and go in that blackscreen again
2. hold power and vol up to reboot in erecovery and click reboot, after that i pass the device is unlocked screen and go to emui
another edit: fastboot boot twrp_3.3.1.0_blabla.img is stuck on booting...
Update
2020-02-09
• added support for all variants of diego
• updated Lineage
ROM
TWRP
Thank you for the update
Edit:
update works perfectly.
I think i have fixed the reboot issues
I discharged my phone to 0% and skipped two days.
After that I charged it to 100% and since then the reboot function is working now.
Sorry, but I'm a bit confused.
Is this rom suitable for Honor 6 Plus PE-TL10 too?
tnx
No.
I was really thrilled to see that there is a new ROM for the 6C, great to see that.
One question though:
yener90 said:
Broken
Camera
Notification LED
Reboot
Click to expand...
Click to collapse
Does "Broken" mean that the three features don't work at all or do they somehow work with bugs?
I'd really like to update my phone but no working camera at all would be quite a problem.
Fix the camera please
Did someone manage to fix the camera? If so, how? I tried to fix it myself - bootloop
this rom dosen't work on my enjoy6s (DIG-AL00)
this rom work on my enjoy6s (DIG-TL10),but,can you fix the camera?
tototjc said:
this rom dosen't work on my enjoy6s (DIG-AL00)
Click to expand...
Click to collapse
It's work on my DIG-AL00(Enjoy 6S). You shouldn't flash SuperSU after you flashed the system. Just LineageOS + OpenGapps is fine. Wait for a while and you can enjoy it.
I have noticed that the Notification LED will turn on (Yellow colored, never appears on EMUI) some times when I plugging in the charging, but not stable, only flashes for a few times. And my Reboot function is working normally too, but my fingerprint is broken. This is unlike @yener90 's description.
Interesting, right?

[ROM] LineageOS 18.1 UNOFFICIAL [Updated 2022-03-23] [Discontinued]

LineageOS 18.1 for Sony Xperia XZ Premium
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RELEASE
This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for fixing anything (preferably dmesg and logcat).
FEATURES
EAS kernel (thanks to @linckandrea )
Forced Encryption with FDE (Full Disk Encryption)
DOWNLOAD
Please check changelogs and download links at #2
maple (G8141):
twrp-3.5.0-0-20210117-maple
maple_dsds (G8142):
twrp-3.5.0-0-20210117-maple_dsds
INSTALLATION
Clean flash recommended when updating from Android 10 or stock:
1. Flash latest stock firmware (47.2.A.10.107) with newflasher.
2. Flash and boot the new twrp given in this thread.
3. Format data and wipe everything.
4. Flash the ROM, GApps (if needed) and root (if needed).
5. If you have IMS (VoLTE) working on stock, enable IMS in Settings - XperiaParts.
Note: If you are updating from Android 10 and can't boot the new TWRP, please backup your stuffs and format data by using either the old TWRP or fastboot -w. This is required because there are some adjusts in userdata image size to fix FDE encryption.
Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
Google Apps
Both OpenGApps and NikGApps should work. You can download and install the Google Apps from opengapps.org. You need ARM64 and 11.x. Open GApps for Android 11 is still in beta. You can download those releases here.
KNOWN ISSUES
WFD is not working
Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
Contributors
derf elot, modpunk, Rooted_Ansh, linckandrea
Telegram Group
[Tinder][EN/DE/♋] Xperia XZ Premium - Sticker Fightz Biatch
Development group for XZP - Lead by: Everyone Do not spam and cooperate with developers. Google first before asking any help
t.me
Source Code
maple: https://github.com/whatawurst/android_device_sony_maple
maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
kernel: https://github.com/whatawurst/android_kernel_sony_msm8998
Rom Information
ROM OS Version: Android 11
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Stable Release Date: 2022-03-23
Thread Information
Created 2021-01-21
Last Updated 2022-03-23
2022-03-23
Last build of Lineage 18.1 (and probably nobody needs this anymore)
Lineage 19.1 is already available, check this thread.
G8141: https://androidfilehost.com/?fid=14655340768118440781
G8142: https://androidfilehost.com/?fid=14655340768118440782
2021-10-7
irregular update
G8141: https://www.androidfilehost.com/?fid=7161016148664819265
G8142: https://www.androidfilehost.com/?fid=7161016148664819266
2021-6-29
irregular update
G8141: lineage-18.1-20210628-UNOFFICIAL-maple.zip
G8142: lineage-18.1-20210628-UNOFFICIAL-maple_dsds.zip
2021-3-31
March Security Update
Vulkan fix (thanks to @linckandrea )
New IMS implement (Please enable IMS option in Xperia Parts if you have IMS working on stock.)
EAS kernel (thanks to @linckandrea )
Forced Encryption since this release.
Download links:
G8141: lineage-18.1-20210331-UNOFFICIAL-maple.zip
G8142: lineage-18.1-20210331-UNOFFICIAL-maple_dsds.zip
2021-01-20
Initial release. Download links:
G8141:lineage-18.1-20210120-UNOFFICIAL-maple
G8142: lineage-18.1-20210119-UNOFFICIAL-maple_dsds
Reserved.
No1Alien said:
LineageOS 18.1 for Sony Xperia XZ Premium
RELEASE
This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for fixing anything (preferably dmesg and logcat).
FEATURES
Signed with dev keys
Up-to-date kernel
WireGuard kernel support
FDE Encryption support
DOWNLOAD
You can download the latest releases here:
maple (G8141):
twrp-3.5.0-0-20210117-maple
lineage-18.1-20210120-UNOFFICIAL-maple
maple_dsds (G8142):
twrp-3.5.0-0-20210117-maple_dsds
lineage-18.1-20210119-UNOFFICIAL-maple_dsds
INSTALLATION
Clean flash recommended when updating from Android 10 or stock:
1. Flash latest stock firmware (47.2.A.10.107) with newflasher.
2. Flash and boot the new twrp given in this post.
3. Flash the ROM, GApps (if needed) and root (if needed).
Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
Google Apps
Both OpenGApps and NikGApps should work. You can download and install the Google Apps from opengapps.org. You need ARM64 and 11.x. Open GApps for Android 11 is still in beta. You can download those releases here.
KNOWN ISSUES
WFD is not working yet (waiting for new non-BSP blobs)
Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
Contributors
derf elot, modpunk, Rooted_Ansh
Telegram Group
[Tinder][EN/DE/♋] Xperia XZ Premium - Sticker Fightz Biatch
Development group for XZP - Lead by: Everyone Do not spam and cooperate with developers. Google first before asking any help
t.me
Source Code
maple: https://github.com/whatawurst/android_device_sony_maple
maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
kernel: https://github.com/whatawurst/android_kernel_sony_msm8998
Rom Information
ROM OS Version: Android 11
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Stable Release Date: 2021-01-21
Thread Information
Created 2021-01-21
Last Updated 2021-01-21
Click to expand...
Click to collapse
Awesome work mate!
just tried flashing twrp to my phone (single sim) running aosp 11, and it couldnt get past the splash screen.
also tried fastboot booting the image,and it just hangs on the sony logo.
it could be the kernel im using, ill try a complete wipe and reinstall of this rom and twrp tonight.
EDIT: flashing stock rom to start fixed it. everything works as it should now.
Gcam desteği?
The twrp-3.5.0-0-20210117-maple isn't working well on G8141 model with this ROM. I've using twrp 3.2.1 and I can say that it is more stable. I've seen that after the flashing I cannot reach the TWRP after reboot and I need to reinstalling the TWRP again. With others ROM's the issue not exist.
ted5300 said:
The twrp-3.5.0-0-20210117-maple isn't working well on G8141 model with this ROM. I've using twrp 3.2.1 and I can say that it is more stable. I've seen that after the flashing I cannot reach the TWRP after reboot and I need to reinstalling the TWRP again. With others ROM's the issue not exist.
Click to expand...
Click to collapse
On my g8141 all things work. I have flash twrp 3.5 with old 3.4 . Format data,reboot twrp,format data,reboot back to twrp. After this 2 format,i flash the rom+gapps mini.(no reflash stock)All runs good. But i miss the PixelExp
ted5300 said:
The twrp-3.5.0-0-20210117-maple isn't working well on G8141 model with this ROM. I've using twrp 3.2.1 and I can say that it is more stable. I've seen that after the flashing I cannot reach the TWRP after reboot and I need to reinstalling the TWRP again. With others ROM's the issue not exist.
Click to expand...
Click to collapse
i was having the same issue, i fixed it by flashing back to stock firmware before flashing twrp and this rom.
now running twrp 3.5.0 and lineageos 18.1 rooted with magisk 21.4 with no issues.
born2bkilled said:
just tried flashing twrp to my phone (single sim) running aosp 11, and it couldnt get past the splash screen.
also tried fastboot booting the image,and it just hangs on the sony logo.
it could be the kernel im using, ill try a complete wipe and reinstall of this rom and twrp tonight.
EDIT: flashing stock rom to start fixed it. everything works as it should now.
Click to expand...
Click to collapse
ted5300 said:
The twrp-3.5.0-0-20210117-maple isn't working well on G8141 model with this ROM. I've using twrp 3.2.1 and I can say that it is more stable. I've seen that after the flashing I cannot reach the TWRP after reboot and I need to reinstalling the TWRP again. With others ROM's the issue not exist.
Click to expand...
Click to collapse
No1Alien said:
Note: If you are updating from Android 10 and can't boot the new TWRP, please backup your stuffs and format data by using either the old TWRP or fastboot -w. This is required because there are some adjusts in userdata image size to fix FDE encryption.
Click to expand...
Click to collapse
Thank you for your feedback, but the situation is the same with TWRP. I've used fastboot -w. nothing changed. Then I format data from the new TWRP 3.5 and after reboot I can't go to TWRP again. Some other ideas what I can try? Regards
ted5300 said:
Thank you for your feedback, but the situation is the same with TWRP. I've used fastboot -w. nothing changed. Then I format data from the new TWRP 3.5 and after reboot I can't go to TWRP again. Some other ideas what I can try? Regards
Click to expand...
Click to collapse
Start from stock ROM. Use xperifirm to download the latest stock Rom and use newflasher to flash it. Then flash twrp, lineage and magisk.
Thats how I did it.
Thanks for your hard work on this. Flashed this, working great, love having 2 day battery life. With NO gapps. It’s all about privacy
Hopefully you are still working on is
First of all: Many thanks for spending all the effort to create this ROM for the old Sony XZ Premium!!!
So far I was using Bliss ROM but the new Android security issues made me to wake up and look for something fresher ;-)
I do have a G8141 (German) device. Flashing worked quite well and the system was booting up quickly. (ROM+TWRP 3.5+openGApps nano+Magist 21.4)
So far I detected just one issue yet which I would like to report:
WLAN and mobile connection not stable. I required me 4 reboot attempts to get a more stable connection. WLAN was constantly dropping out and only a reboot at the end made the device to reconnect. Same for cellular connection. After around 4 reboots I have a stable connection now.
I will monitor the behaviour and hopefully it will become stable after all Google Apps are installed etc..
I will let you know.
NFec__ said:
First of all: Many thanks for spending all the effort to create this ROM for the old Sony XZ Premium!!!
So far I was using Bliss ROM but the new Android security issues made me to wake up and look for something fresher ;-)
I do have a G8141 (German) device. Flashing worked quite well and the system was booting up quickly. (ROM+TWRP 3.5+openGApps nano+Magist 21.4)
So far I detected just one issue yet which I would like to report:
WLAN and mobile connection not stable. I required me 4 reboot attempts to get a more stable connection. WLAN was constantly dropping out and only a reboot at the end made the device to reconnect. Same for cellular connection. After around 4 reboots I have a stable connection now.
I will monitor the behaviour and hopefully it will become stable after all Google Apps are installed etc..
I will let you know.
Click to expand...
Click to collapse
Finally I am giving up. I am not able to get a stable WLAN or cellular connection. After installing it again and again (format data twice, factory reset etc., starting all over with latest stock FW) am not getting it working properly. After 1-2 hours, WLAN is not able to connect anymore and cellular is detected incl. carrier but dropping off and data connection not possible to establish.
Really strange was the latest/ last Sony FW everything works. With other ROMS I am running into similar problems. Sometimes cellular is not detected, but WLAN works and sometimes both are not working. Last fully working alternative ROM was Bliss from late September 2020. After reading that several of you are successfully using this ROM I start to believe that this is perhaps a problem with my device made for the German market...
Is there an option to hide the "hide keyboard" button at the bottom while typing? I've already used full gesture but it still shows a bar with hide keyboard button at the bottom while typing.
Thanks OP for bringing LOS18 to maple!!
The best Android 11 ROM. Using it for over a week and everything works. Battery life is two days with regular use.
Weird, after installation and enter the SIM pin and connect to the Wi-Fi network, it take me charge directly from the carrier network for data. Sould be better what connection I will choose during the first installation as primary (Wi-Fi or mobile ) and not connecting by default directly to the mobile internet. With others Android 11 ROMs this issue not exits. Some thoughts?
fastboot -w
install twrp-3.5.0-0-20210117-maple
install lineage-18.1-20210120-UNOFFICIAL-maple from twrp
I want to install gapps but after first run i cannot back to twrp - when I try to run in recovery mode I only see black screen.
I try to install oldest twrp - no results.
Any idea what is the problem ?
Margiel said:
fastboot -w
install twrp-3.5.0-0-20210117-maple
install lineage-18.1-20210120-UNOFFICIAL-maple from twrp
I want to install gapps but after first run i cannot back to twrp - when I try to run in recovery mode I only see black screen.
I try to install oldest twrp - no results.
Any idea what is the problem ?
Click to expand...
Click to collapse
That’s what just happened to me. But I didn’t install gapps. Just went black screen, won’t boot up. Also I’ve had it running for about 3-4 weeks with no issues. Now this. Can’t even get into twrp

[ROM] LineageOS 19.1 UNOFFICIAL - 1.3 [vendor & FBE] [2022-04-20]

LineageOS 19.1 for Sony Xperia XZ Premium
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RELEASE
This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for me to fix anything (preferably dmesg and logcat). I can't test NFC very thoroughly, to please report your findings.
FEATURES
Signed with dev keys
Up-to-date kernel
WireGuard kernel support
Real vendor partition
FBE instead of FDE encryption
DOWNLOAD
You can download the latest releases and TWRP here:
https://androidfilehost.com/?w=files&flid=333825
Check the ChangeLog below for firmware requirements!
INSTALLATION
This build uses a real vendor partition in place for the (now) useless oem partition. You will therefore need the modified TWRP with vendor/FBE support linked above.
Before first install: flash and boot into TWRP, format data, reboot to recovery and wipe all internal partitions.
After above step / any subsequent dirty flashes: Boot into recovery, put the ROM, GApps and root (if needed) on sdcard and flash.
Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
When updating from previous builds, simply dirty flash the ROM, together with any GApps and/or other modifications - addon.d will not work due to currently unavailable TWRP decryption.
Recommended GApps: MindTheGapps-12.1.0
KNOWN ISSUES
Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
You tell me...
Contributors
derf elot, modpunk, Rooted_Ansh
Thanks to the yoshino testers (let me know if I forgot to add you)
coin3x, feduss, GiaSen, Gizanagi, hsheemi, kaancaliskan, No1Alien, sohrab1985
Source Code
maple: https://github.com/whatawurst/android_device_sony_maple
maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
kernel: https://github.com/whatawurst/android_kernel_sony_msm8998
Rom Information
ROM OS Version: Android 12.1 / 12L
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2022-04-20
SECURITY ADVICE
Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!
How to get root?
As mentioned before, there will not be an official su addon from LOS anymore. If you need root, flash an unofficial solution.
REQUIRED FIRMWARE: 47.2.A.10.107 (47.2.A.11.239 should also work as there isn't any real changes)
CHANGELOG
2022-04-20 | 1.3| 47.2.A.10.107
Initial release
Thanks for your work. And can the kernel support f2fs filesystem? Does the camera work if i use another gpu driver?
ssdsw said:
Thanks for your work. And can the kernel support f2fs filesystem? Does the camera work if i use another gpu driver?
Click to expand...
Click to collapse
f2fs is enabled in the kernel ( https://github.com/whatawurst/andro...8998-yoshino-maple_dsds_defconfig#L4632-L4636 ), but that doesn't mean you can use it as is. You would have to adjust the fstab's. No that I would recommend it, seeing as f2fs hasn't really received a lot of updates/(security) fixes for 4.4 kernels in recent times.
And no, you cannot update the gpu drivers. The Sony stock camera blobs are quite dependent on a specific tag.
derf elot said:
f2fs is enabled in the kernel ( https://github.com/whatawurst/andro...8998-yoshino-maple_dsds_defconfig#L4632-L4636 ), but that doesn't mean you can use it as is. You would have to adjust the fstab's. No that I would recommend it, seeing as f2fs hasn't really received a lot of updates/(security) fixes for 4.4 kernels in recent times.
And no, you cannot update the gpu drivers. The Sony stock camera blobs are quite dependent on a specific tag.
Click to expand...
Click to collapse
is there any clues/guide on how to edit the fstab?
so we can use f2fs on data & cache
is signature spoofing (for microg) enabled?
and as i already have installed the ArrowOS build of avl.callista which is based on your work: flash Stock ROM and then install your twrp+rom? or is stock rom step not necessary and it's enough to flash twrp+rom?
m00ns0rr0w said:
is signature spoofing (for microg) enabled?
and as i already have installed the ArrowOS build of avl.callista which is based on your work: flash Stock ROM and then install your twrp+rom? or is stock rom step not necessary and it's enough to flash twrp+rom?
Click to expand...
Click to collapse
no, spoofing is not enabled. I have made builds for 19 before with spoofing enabled, so it works. but rebuilding with spoofing enabled takes a while every time, since it includes changes in fw/b and that's a hefty compile.
as for flashing over another rom: it may or may not work. upgrading from los 18 should work by flashing rom together with 12.1 microg, but no idea about migrating from one rom to another.
derf elot said:
no, spoofing is not enabled. I have made builds for 19 before with spoofing enabled, so it works. but rebuilding with spoofing enabled takes a while every time, since it includes changes in fw/b and that's a hefty compile.
as for flashing over another rom: it may or may not work. upgrading from los 18 should work by flashing rom together with 12.1 microg, but no idea about migrating from one rom to another.
Click to expand...
Click to collapse
hi,
thx for your answer. i was just curious, as the arrowos build is based on your work and has signature spoofing enabled. But if, as you write, that's a lot of work then ... no problem. the arrowos version is stable
And, without signature spoofing, the part with "howto best migrate from rom A to rom B" is obsolete Self-building doesn't seem to be an option, as the hardware requirements seem a bit ... ambitious
Thanks for the great ROM.
I did a few tests today and I couldn't find anything broken.
The only issue I have found so far is when I take a picture or video with Open Camera and try to open it for preview inside the app. It does not work.
Thanks for your working on the ROM.
I found that LOS installed on my G8142 seems to have screen always on when charging, both on 18.1 and 19.1 (which is this one). How to turn it off?
Very nice, THANK YOU for great rom, i am testing it rn, so far so good.
To save someone a troubles i encountered:
I am comming from rooted stock .107, please all do flash correct TWRP!!! , i was slopy but have experience in flashing so i just dirtyflashed it on old TWRP, phone hanged prior to accessing twrp, could not hardreset or annything haha and i had to pull my battery so please just in case FLASH CORRECT TWRP
I like it alot, am switching to daily
stipi69 said:
Very nice, THANK YOU for great rom, i am testing it rn, so far so good.
To save someone a troubles i encountered:
I am comming from rooted stock .107, please all do flash correct TWRP!!! , i was slopy but have experience in flashing so i just dirtyflashed it on old TWRP, phone hanged prior to accessing twrp, could not hardreset or annything haha and i had to pull my battery so please just in case FLASH CORRECT TWRP
I like it alot, am switching to daily
Click to expand...
Click to collapse
Great, yes it needs the twrp I uploaded because of vendor partition and change from fde to fbe.
But just for reference, pulling the battery should not be necessary if it gets stuck. it should be enough to press and hold vol up (or down, I forget because I haven't needed it in a while) + power. it'll vibrate once, but keep holding it until it vibrates twice in quick succession. that should power it off. you can then enter fastboot to flash twrp or flash mode to flash stock.
derf elot said:
Great, yes it needs the twrp I uploaded because of vendor partition and change from fde to fbe.
But just for reference, pulling the battery should not be necessary if it gets stuck. it should be enough to press and hold vol up (or down, I forget because I haven't needed it in a while) + power. it'll vibrate once, but keep holding it until it vibrates twice in quick succession. that should power it off. you can then enter fastboot to flash twrp or flash mode to flash stock.
Click to expand...
Click to collapse
I agree, but i have faulty vol+ key so i was having a hard part sadlly.
Can i ask you something i see this problem 1+ years on all Lineage roms and i am not a developer:
SETTINGS / DISPLAY / LIVE DISPLAY / COLOR PROFILE / VIVID
If i choose this profile i get like 8 bit colors after a while of use, but realy like this profile... i adjusted it manualy now its good looking and stable but wondering if it is XZ P specific or all lineage
short message: my SIM card isn't working with this ROM.
long message: today i installed this ROM. I first flashed stock ROM, booted into it once, and then flashed this ROM. But, as with the ArrowOS ROM, my SIM card isn't working.
More Details: after fresh install of this ROM and during boot i enter the SIM PIN (so that works), but after boot it says: "service not available" (Dienst nicht verfügbar). I'm unable to get it working.
Provider: congstar (telekom daughter). The SIM worked with stock ROM, and it works in an older Samsung S5. Just for curiosity i flashed stock ROM again and
Yeah, i know, no warranty, but... someone had such a problem before?
thx
geee... getting crazy here... after the next (test) flash of this ROM the SIM suddenly works, as well as phone calls, SMS, ...
what's the difference to the first flash? after latest stock ROM flash i left the SIM inside, and the stock ROM (or the telekom software) did some settings, rebooted, and then i started the last flash. Is there something magic that is happening here?
if i had more hair all of it would be bright gray...
OK, after almost a week... no SIM card problems anymore. ROM is running stable.
Just some apps that somehow rely on Google Play Services (or microg maybe) don't run: apps that warn regarding severe weather conditions or catastrophes, like 'DWD Warnwetter', 'NINA KatWarn' etc.. Push notifications...
ROM is stable, and i finally managed the signature spoofing + microg stuff. Thx to @Yokurt815 and his little list in the XZ1C thread - going step by step, writing it all down, finally succeeded.
Am i right that the magisk/lygisk stuff has to be done again after flashing an possibly upcoming ROM update?
Big thanks to @derf elot for this rom
A couple of things though . . .
Anyone got this setting to turn on?
All languages set to English AU
Mind the gapps 12.1 installed
Google set to default assistant
Also, trying to search in settings causes a crash.
shoey63 said:
Big thanks to @derf elot for this rom
A couple of things though . . .
Anyone got this setting to turn on?
All languages set to English AU
Mind the gapps 12.1 installed
Google set to default assistant
Also, trying to search in settings causes a crash.
View attachment 5643169
Click to expand...
Click to collapse
Edited: NVM, seems like it won't work neither.
You need to set Ok Google/Hey Google at first boot; otherwise, it won't work.

Categories

Resources