[ROM] LineageOS 17/18/19 UNOFFICIAL - (Update: 2023-01-21)

Shall F-Droid be included in the ROM(s)?


  • Total voters
    188
Search This thread

decsimon

Senior Member
Aug 12, 2015
63
6
I try several rom for xz1 compact, but lineageos 17.1 (last update of may) is the best stable rom! I'm searching camera apk that have all in one ( slow motion, photosphere, selfie with powerfull flash screen).
 

4qx

Senior Member
Mar 21, 2022
91
37
I flashed the zip file with magisk and the camera apk disappeared from my device! so i deactivated and removed the module from magisk and restart, but now i have it again but it doesn't work anymore! she says: unknown error. Did I make a mess?
Try installing the module again
 

decsimon

Senior Member
Aug 12, 2015
63
6
Why in lineageos 17.1 gcam apk from playstore works (but not video) while gcam port dont work (after install, apk force stop open)
 

hgfelger

Member
Oct 28, 2014
12
2
Yes, I missspelled it: I mean the 18.1 from 15.6.
Sadly, I'm not quickly able to reproduce - in German we say "Vorführeffekt". I keep it trying to reproduce!
Maybe we also catch the "do not signe-in into the LTE-Network while in VoLTE mode" - as I still have the problems with telefonica-germany reseller blau.de after restart or cellswitches while beeing out of reception - like in my employers basement parking lot. This problem was discussed earlier, but did not resolve for me, without temporarily limiting to g3.
Ok, finaly I got the 18.1 Version from 16.5. to restart. I picked the "mobile data"-tile from the quick-Start-Buttons
 

Attachments

  • adb-log-2022-07-03.txt
    2 MB · Views: 9

rxqy

New member
Jul 9, 2022
1
0
Hi, I'm from the official rom. After flashing lineageos, I can only boot into the system with a complete black screen. I'm quite new to lineageos so I want to know if I did anything wrong or missed something.

Here's what I did:
1. Unlocked BL and flash TWRP (tried the above 3.3.1, 3.5.0 links and the latest one, no luck)
2. Wiped my data(tried wiped + format, no luck)
3. Install lineage 17.zip
After rebooting, I can see the reboot animation with the lineago logo, hear the sound and the vibration if I press the power bottom. But I can only see a black screen with no wallpaper or any apps.
4. I also tried to install lineage+opengapps ( arm64, nano, 10.0, 20220215).
After rebooting, I'm at the "Hi there" start screen and can choose different languages, after I choose english and hit start, I would stuck in the "just a sec" screen and my device keeps rebooting, I just see the lineageos logo and the "just a sec" screen

I also downloaded the md5 file and checked it myself, and my download is complete.

Thanks in advance
 

gladykov

Senior Member
Jul 12, 2010
75
14
Hi, I'm from the official rom. After flashing lineageos, I can only boot into the system with a complete black screen. I'm quite new to lineageos so I want to know if I did anything wrong or missed something.

Here's what I did:
1. Unlocked BL and flash TWRP (tried the above 3.3.1, 3.5.0 links and the latest one, no luck)
2. Wiped my data(tried wiped + format, no luck)
3. Install lineage 17.zip
After rebooting, I can see the reboot animation with the lineago logo, hear the sound and the vibration if I press the power bottom. But I can only see a black screen with no wallpaper or any apps.
4. I also tried to install lineage+opengapps ( arm64, nano, 10.0, 20220215).
After rebooting, I'm at the "Hi there" start screen and can choose different languages, after I choose english and hit start, I would stuck in the "just a sec" screen and my device keeps rebooting, I just see the lineageos logo and the "just a sec" screen

I also downloaded the md5 file and checked it myself, and my download is complete.

Thanks in advance
1. What officail ROM version did you had before installing lineage ?
2. In your point 1. you said you had no luck in using TWRP. What do you mean? After flashing you couldn't open TWRP?
3. In your point 2 you had no luck in wiping your phone. What do you mean "no luck" ? How you wied it, if TWRP was not working?
4. How did you install Lineage OS ?

Please be as much specific and detailed as you can - this will help other people understand what went wrong.
 

kai ming

Member
Jul 1, 2019
10
1
Rom lineage 17.1 is working good. But could there be a implementation for miracast/wfd to turn off the device display itself to save energy.

I know its a specific sony stock rom thing that could miracast with the screen off and that there is not a single custom rom that fix that. But my hopes are high that this could be implemented.

Thanks by the way for this lineage os 17.1 build. It is a good rom.
 

Flamefire

Senior Member
Jul 26, 2013
232
584
Sony Xperia XZ1 Compact
July update is out. Not much new except for the usual security updates.

> Rom lineage 17.1 is working good. But could there be a implementation for miracast/wfd to turn off the device display itself to save energy.
> I know its a specific sony stock rom thing that could miracast with the screen off and that there is not a single custom rom that fix that. But my hopes are high that this could be implemented.

If another custom ROM had that so I could use its implementation then I might include it. But otherwise I don't really want to add features but focus on keeping the device usable and secure. That's already enough work ;-)
 

Rataplan626

Senior Member
Feb 7, 2006
387
100
Thanks! So far I've seen no issues with the July update. It's still such a great phone! Fingerprint sensor in the power button and it's just small yet reasonable specs. Thanks so much for keeping it alive!
 

decsimon

Senior Member
Aug 12, 2015
63
6
Thanks! So far I've seen no issues with the July update. It's still such a great phone! Fingerprint sensor in the power button and it's just small yet reasonable specs. Thanks so much for keeping it alive!
Yes, also for me, lineageos 17 is the only best and stable rom in the world in this moment.....
 

kentchristopher

Senior Member
Nov 16, 2007
141
25
Has anyone else faced issues where the phone shows the wrong date/time on startup?

On a fresh boot, the time is 9:58am on Saturday 18 September. It stays like this for approx 15 seconds until it finally updates to the current time (using network sync).

However, if I keep the phone on airplane mode, the time stays wrong until I disable airplane mode.

I'm wondering if this is a bug
  • with the most recent version of the ROM (I'll try with last month's version as well)
  • with the GApps package I'm using (I'm using the mini package which replaces stock clock with google clock)
I'll update this post if and when I have more information.

----
Update 1: Reflashed the September ROM with a smaller GApps package (micro instead of mini) and date/time issue still shows up. So GApps and the Google Clock isn't to blame. I'll try August ROM and see what happens.

Update 2: Flashed the August ROM and the datetime issue still persists.

Update 3: I'm attaching steps on how to reproduce this and I'd be really interested to see if anyone else is able to reproduce this:
  1. Make sure your phone's time is currently normal/correct
  2. Put phone into airplane mode
  3. Reboot phone
  4. Time should now be wrong on startup
  5. Disable airplane mode, time should now be updated once network connectivity is back

I just encountered this same problem (almost a year after this author's post) on 17.1-20220516. While it doesn't seem like a big deal on the surface (time & date sync as soon as it gets a network connection), it has the annoying side-effect of totally throwing off the battery stats, as shown in this screenshot:

Screenshot_20220801-110635_Settings.png


I didn't see any further posts offering solutions but wondering if anyone else might know what's causing this.

On an semi-related note, I encountered this trying to figure out what's causing the battery drain seen in that screenshot: 60% drop in less than a day with at least 8 hours of that time in airplane mode. The numbers/percentages listed just don't add up.
 
  • Like
Reactions: moofesr

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    January updates out. Security updates only, MicroG versios will follow in about a week when I'm back from vacation. Stay safe!
    5
    The 2G setting is gone since 19.1 i believe on derfelot's build as well.
    As for the fingerprint it's been like this on flamefires builds for a while, dunno why, some of his changes broke that functionality because on derf's builds it's working fine.
    I can double-check why the 2G setting is gone but it looks like it was removed upstream. I see if I can patch it back.
    As for the fingerprint: This is not "broken" but working as intended: A lot of people here complained that touching the on/off button immediately unlocks the phone. Hence I decided to follow suit with upstream LOS to disable this if the fingerprint is integrated into the powerbutton and cherry-picked a change used in similar LOS devices: https://github.com/Flamefire/androi...mmit/924352c24a95959941fe5a471741528dc2d87026
    Unfortunately there isn't a user-setting to change this although I was thinking about adding one. I think that the current setting being the default makes sense also from a security perspective as unlocking the phone also enables NFC payments so doing that by accident can be a real problem.

    Anyway: I'm currently very packed with work as I'm backporting security patches to the kernel, incorporating new changes from 19.1 to 17/18.1, updating blobs to hopefully resolve the connection loss issue (has anyone observed those on 19.1?) and just got the MicroG build working on 18.1 so at least that will be there once I'm done
    3
    I wiped all the data and did a clean install, but the system doesn't want to boot.
    You need to format the data partition, not just wipe it. It is usually possible to upgrade to a higher Android version by dirty flashing. but downgrading to a lower version usually requites you to format. The steps I usually follow are
    1. Format data partition
    2. Install the ROM
    3. Boot the system, go through first time setup, setting whatever screen lock (pattern, PIN) you had when you made the backup
    4. Boot to recovery
    5. Restore the backup

    Good luck!
    1
    this v19 react the same way as "LineageOS 19.1 UNOFFICIAL - 1.6" - no DATA for Telekom (flapping) on my device
    You mean you get reception and can do calls&SMS but no mobile internet? Have you checked the APN settings? If you find the correct APN settings (MCC, MNC, APN, ...), best on the website of your provider, let me know and I can include them. But I need that information as "Telekom (flapping)" isn't enough, although "flapping" turns up funny pages on Google, just nothing related to phones ;-)
    1
    Amazing, thank you for keeping us up to date with this firmware @Flamefire.

    Two thing I noticed:
    - 2G is not selectable anymore as preferred network type in Settings (I sometimes need that when I'm in the mountains)
    - Direct unlocking with fingerprint does not work. It first unlocks to lock screen, then I have to touch a second time. Worked directly before updating.

    I upgraded from derf elot's lineage-19.1-20220918-UNOFFICIAL-1.6-lilac.zip

    All the best
    The 2G setting is gone since 19.1 i believe on derfelot's build as well.
    As for the fingerprint it's been like this on flamefires builds for a while, dunno why, some of his changes broke that functionality because on derf's builds it's working fine.
    Im curious does going into Settings > Security > Gear icon on "Screen lock > Touch fingerprint to unlock change anything?
  • 53
    LineageOS 17/18/19 for Sony Xperia XZ1 Compact

    logo.png


    RELEASE

    This is an alternative ROM for the Sony Xperia XZ1 Compact.

    Creating this to honor the great work of modpunk and derf elot from https://forum.xda-developers.com/t/rom-lineageos-18-1-unofficial-2-0-update-2021-01-20.4047763/ which seems to be discontinued. Posting an own thread to keep the latest versions visible, I'm NOT claiming authorship over the ROM.
    I basically just build the ROM using the latest changes from upstream LineageOS/Google and kernel updates (usually incorporated by derf elot ) See my post.

    FEATURES
    • Signed with dev keys
    • EAS kernel
    • Passes SafetyNet out of the box (thanks Rooted_Ansh, Havoc-OS Team and kdrag0n)
    • Seedvault (Video)
    • IMS support (thanks to Rooted_Ansh and also Shujath)
    • 17.1 has stock Sony camera (not possible on 18+)

    DOWNLOAD

    You can download the latest release here.
    HINT: Download both the ZIP and md5sum file so TWRP can check the consistency of the upload/download.
    REQUIRED FIRMWARE: 47.2.A.11.228

    IMPORTANT:
    I only test the 17.1 releases myself. The 18.1/19.1 are build from mostly the same sources and hopefully work. I only test them roughly.
    Backup download

    INSTALLATION

    IMPORTANT:
    Magisk seems to cause issues (bootloops) on update, so remove it first and reinstall if required. Note that Magisk is usually not required unless you want root.
    1. Put the zip file of the ROM on your SD card or internal store and boot into recovery.
    2. When coming from stock ROM, do a full wipe (i.e. factory reset) via "Wipe". Do not wipe system! When flashing the stock ROM you can select to not keep user data which is equivalent to this step.
    3. Go to "Install", select the zip file and add optionally the gapps zip. Then flash it.
    4. After updates you may now wipe cache&dalvik (option after install)
    I suggest to use modpunks TWRP recovery. Again: Don't forget the md5sum file!
    TWRP 3.3.1-0 by modpunk / derf elot
    Or use the latest TWRP for 17.1/18.1 or TWRP for 19.1.
    3.7.0 Seems to work well with latest updates (decryption working) but LineageOS 19.1 (Android 12) requires the ones with "_12" suffix, e.g. 3.6.2_12.

    For ease of use I suggest to flash this recovery (only required once):
    1. Boot in Fastboot mode: Hold "Volume Up" while connecting the USB cable to phone and PC
    2. Flash TWRP by running this on the PC: fastboot flash recovery twrp-3.3.1-0-lilac-android10-1.img
      (adjust the filename if necessary)
    3. From now you can boot TWRP by turning on the phone with "Volume Down" + Power
    I heavily recommend to make a full backup before any installation so you can go back in case of issues. Flashing an older ROM usually helps to recover bootloops etc.

    Upgrades between versions​

    Dirty-flashing (e.g. from 17.1 to 18.1) works well but you have to also flash a GApps version matching the Android version or the device will bootloop.
    For the upgrade to 19.1 you may need to fully remove OpenGapps by wiping /system and install e.g. MindTheGapps.

    SUPPORT

    There is NONE. If you have any issues or question ask in the thread so maybe someone else knows the answer.
    I'm just providing the ROM (Lineage 17.1 variant) I use myself for others to try to and just build the Lineage 18.1 ROM without much testing.
    If you prefer to use a more well-tested Android 11 ROM, I suggest to look at Havoc-OS.
    Contributions to the sources are welcome and likely get integrated into the next release.

    Contributors
    modpunk, derf elot, Rooted_Ansh, Flamefire, linckandrea
    Source Code: https://github.com/Flamefire/android_device_sony_lilac, Original: https://github.com/whatawurst/

    If you want to buy me a coffee/beer, I'll appreciate it but it is not necessary.
    Also please consider donating to the original authors too or to local charities as requested by @modpunk

    Special thanks to landsome for donating a test phone for bug hunting and development.

    ROM OS Version: Android 10/11
    ROM Kernel: Linux 4.4.x
    Based On: LineageOS
    GApps: None included. Recommended is OpenGApps for 17/18 and MindTheGapps for 19.
    22
    CHANGELOG


    2022-01-20

    • January security patches
    • Kernel updates
    2022-12-27
    • December security patches
    • AGPS fix (using Google servers)
    • Kernel updates (e.g. Wireguard v1.0.20220627, improved security against stack attacks)
    2022-11-15
    • November security patches
    • WLAN driver update
    • Huge APN update
    2022-10-13
    • October security patches
    • Kernel update
    • APN for DIGI HU
    • Option to switch temporarily to 2G on boot
    2022-09-29
    • September security patches
    • Kernel update
    • APN update
    2022-08-12
    • August security patches
    • Kernel update (CIP st20)
    2022-07-25/28
    • July security patches
    • Kernel update
    2022-06-30
    • June security patches
    • Kernel update
    • Backport fix for CVE-2021-39686
    • Workaround fixing bootloop with recent OpenGapps (20220503 tested)
    2022-05-16
    • May security patches
    • Fix mic volume issue with wired headsets
    • Known issue: OpenGapps after 15/2 result in bootloop
    2022-05-03
    • April security patches
    • Kernel update (CIP st5-tag)
    • Removed LineageOS updater (unused application here)
    • Added Sony identification packages (Compatibility for some Sony apps from other sources)
    2022-03-20
    • March security patches
    • Updated some carrier configs (mostly Indian&Chinese) for IMS (VoLTE...)
    • Better support for flip covers
    • Allow disabling battery optimizations for the SMS app
    2022-02-20
    • February security patches
    • Kernel 4.4.302 (final LTS kernel)
    • Re-enable VoLTE toggle switch (there were reports of modem crashes when VoLTE is disabled, can't reproduce this, hence added the setting back)
    2022-01-23
    • January security patches
    • Kernel 4.4.299
    • Wireguard v1.0.20211208
    • Enhanced display brightness range
    • Experimental Ultra-Dim mode
    2021-12-19
    • December security patches
    • Kernel 4.4.295
    • QCom driver updates
    • Fix some permission issues
    • Reset phone ID to XZ1C
    2021-11-29
    • November security patches
    • Kernel 4.4.291
    • Fix IMS on 17.1
    • Fix/enhance Wifi-Display
    • Fix some power hints
    • Update APNs
    2021-10-19
    • October security patches
    • Kernel 4.4.288
    2021-09-18
    • September security patches
    • Include some more security patches from AOSP
    • Clang 11 for LOS 17.1 version (same as 18.1, improved optimizations)
    • Misc bugfixes backported from Android 11 to Android 10
    • Kernel 4.4.283
    2021-08-11
    • August security patches
    • Fix bug with switch 3G->4G in XperiaParts not working on slow boot
    • Include some more security patches from AOSP
    • Kernel 4.4.279
    2021-07-20
    • July security patches
    • Kernel 4.4.275
    2021-07-03
    • June security patches
    • Update to Linux Kernel 4.4.272
    • Updated APNs
    20
    I'm happy to announce the June update. Took a lot more work as I backported quite a bit to our kernel to fix CVE-2021-39686 although I'm not sure we were ever really affected by that. Anyway the backport fixes that hole and a few potential others making the device a bit safer!
    15
    @MarkMRL Update 20220516 is out which should also fix the headset issue. Reproduced, found and fixed it as far as I can tell.
    14
    I updated the ROM with the January security patches. I also included the "Ultra Dim" QuickSettings tile to reduce the screen brightness (overall). But that is experimental. I'm thinking about including that in the range of the brightness, i.e. make the lowest brightness levels less. Problem is that there are only 255 values possible so I have to define a switch-over point somehow and distribute those 255 values over effectively 2 distinct ranges. Let's see...

    I also added Google Drive downloads temporarily as a backup if AFH fails again...