[𝑹𝑢𝑴][πŸπŸ‘]LineageOS 20.0 unofficial[𝑢𝑡𝑬𝑷𝑳𝑼𝑺 πŸ”&6T][Gapps][OTA updates][SafetyNet][TWRP]

Search This thread

dayouyu

Member
Aug 24, 2015
14
4
My bluetooth earphone (supports aptX) was not working in the 0927 build, even in SBC mode (didn't have enough time to extract the logcat at that moment before reverting to 19.1, sorry). I noticed they have some BT-related commits in the android_device_oneplus_sdm845-common repo recently, including an update to proprietary-files.txt to include the aptX blobs, so I downloaded the 0930 build and extracted payload.bin, but couldn't find system_ext/lib64/libaptX(HD)_encoder.so in the extracted image. Are these commits included in the 0930 build? You may also need to manually update the blobs before building.
 

Kitch2400

Senior Member
Feb 10, 2015
325
311
Sony Xperia Z3 Compact
Sony Xperia Z3
My bluetooth earphone (supports aptX) was not working in the 0927 build, even in SBC mode (didn't have enough time to extract the logcat at that moment before reverting to 19.1, sorry). I noticed they have some BT-related commits in the android_device_oneplus_sdm845-common repo recently, including an update to proprietary-files.txt to include the aptX blobs, so I downloaded the 0930 build and extracted payload.bin, but couldn't find system_ext/lib64/libaptX(HD)_encoder.so in the extracted image. Are these commits included in the 0930 build? You may also need to manually update the blobs before building.
aptX was added back 0928, and I see now that I forgot to update the prorietary files...

New build for enchilada + fajita coming soon with aptX added!
 

Kitch2400

Senior Member
Feb 10, 2015
325
311
Sony Xperia Z3 Compact
Sony Xperia Z3
aptX was added back 0928, and I see now that I forgot to update the prorietary files...

New build for enchilada + fajita coming soon with aptX added!
Screenshot_20221001-162050_Settings.png


New build uploaded with aptX for enchilada and fajita
 

T2000T2000

Senior Member
Jun 20, 2012
54
15
Hi Kitch2400,

thank you very much for building the new Lineage version for these "old" devices. Much appreciated!

In your first post I see
> Passes SafetyNet with kdrag0n's safetynet-fix

My question would be: Are you planning to integrate the things that are needed to pass the safetynet into the build already? Because I think that's the in the (official) Lineage versions, right? that would spare people from instelaling Magisk and probably banking apps would hopefully work out of the box too.
 
  • Like
Reactions: Kitch2400

Kitch2400

Senior Member
Feb 10, 2015
325
311
Sony Xperia Z3 Compact
Sony Xperia Z3
Hi Kitch2400,

thank you very much for building the new Lineage version for these "old" devices. Much appreciated!

In your first post I see
> Passes SafetyNet with kdrag0n's safetynet-fix

My question would be: Are you planning to integrate the things that are needed to pass the safetynet into the build already? Because I think that's the in the (official) Lineage versions, right? that would spare people from instelaling Magisk and probably banking apps would hopefully work out of the box too.
Hi!

You're very welcome.

Sure I could, but then I would deviate from LineageOS source (AFAIK Lineage 20 doesn't pass SafetyNet?).
I will create a poll, if there's enough interest I will integrate a SafetyNet fix.

Great suggestion, thanks for your input!
 
  • Like
Reactions: eXd4

Kitch2400

Senior Member
Feb 10, 2015
325
311
Sony Xperia Z3 Compact
Sony Xperia Z3
TBH I prefer vanilla builds without google stuff... Could you please continue to bake vanilla builds, or provide both versions?
Since an OTA update will retain Gapps that installs a addon.d-script, this is perfectly fine (users without Gapps won't have them forcefully installed, and those with Gapps will not have to reinstall them).

I will not provide 2 versions as that means that I would have to build 4 versions total, Gapps and non-Gapps for both enchilada and fajita.

Edit: OTA is fully functional now, will be included in next build!
 
Last edited:
  • Like
Reactions: dayouyu

ctushar97

Senior Member
Nov 12, 2014
76
20
OnePlus 6
Excited to see the progress. Was waiting for a build with most stuff working, will flash and report back as soon as I can.
Edit: Does the latest build include gapps for enchilada?
 
Last edited:
  • Like
Reactions: Kitch2400

ctushar97

Senior Member
Nov 12, 2014
76
20
OnePlus 6
On yesterday's build, everything seems to be working fine alongwith mcd kernel(t1-los20-custom), magisk and mindthegapps. Minor bugs in the UI, which probably need to be fixed upstream in addition to the UI bugs that were already there in LOS19. Storage permission doesn't show up for apps, don't know if that's how A13 is supposed to be. Apps will take storage permission without asking(Eg. Bromite and NekoX have storage access but won't show it in the permissions screen, no option for storage). I was unable to give stock browser storage permissions though.
Also experienced some crashes with play services and UI crashes, though minor, only experienced about 1-2 instances of both throughout the day, I'd say it was during the initial setup as everything seems to be working as intended after that.

Already more stable and smoother than other A13 ROMs that I've tried so far for enchilada.
LiveDisplay, touchscreen gestures work. No DC Dimming or HBM. No issues with BT Audio as well.
Standby drain and SOT seem to be on par with LOS19, though will require further testing as I've had this ROM only for a day.
Also, massive thanks to OP for adding OTA support in the newer builds and building with up-to-date sources with quick builds.
 
Last edited:

Kitch2400

Senior Member
Feb 10, 2015
325
311
Sony Xperia Z3 Compact
Sony Xperia Z3
On yesterday's build, everything seems to be working fine alongwith mcd kernel(t1-los20-custom), magisk and mindthegapps. Minor bugs in the UI, which probably need to be fixed upstream in addition to the UI bugs that were already there in LOS19. Storage permission doesn't show up for apps, don't know if that's how A13 is supposed to be. Apps will take storage permission without asking(Eg. Bromite and NekoX have storage access but won't show it in the permissions screen, no option for storage). I was unable to give stock browser storage permissions though.
Also experienced some crashes with play services and UI crashes, though minor, only experienced about 1-2 instances of both throughout the day, I'd say it was during the initial setup as everything seems to be working as intended after that.

Already more stable and smoother than other A13 ROMs that I've tried so far for enchilada.
LiveDisplay, touchscreen gestures work. No DC Dimming or HBM. No issues with BT Audio as well.
Standby drain and SOT seem to be on par with LOS19, though will require further testing as I've had this ROM only for a day.
Also, massive thanks to OP for adding OTA support in the newer builds and building with up-to-date sources with quick builds.
Great to hear!
The UI needs some work, sure, that is however nothing I'm willing to take on.

I haven't had a single crash of the play services, which Gapps are you using?

Might be related to the mcd kernel, just saying..
 

Top Liked Posts

  • 1
    @Kitch2400 and all the others:

    Update to V14:


    Changelog:​

    BSG public version changelog (8.6.263 from 11/28/2022):
    - Fixed error V13 entering the menu on some devices.
    - Fixed a bug with non stopping processes after hiding the application from the screen.
    - Fixed work on some devices.​

  • 9
    New OTA available for enchilada, fajita version cooking now.
    • Updated gcam
    • Power management improvements
    • Major kernel improvements (built with clang 15.0.3!)
    Currently working on: Kernel 5.19, EROFS, fingerprint reader, incremental/delta updates (~80-90% reduced size, very quick installation)

    Edit: OTA for fajita available for download
    7
    New OTA available for fajita & enchilada, should be available for download within 5 minutes (sourceforge has to do it's thing).

    I've noticed that some battery monitoring tools display crazy values after the update, so I suggest that you re-install (or reset) any battery monitoring tools if you're using them. You should probably also charge to 100% and see how the device behaves over the next 24 hour period before reporting usage, thanks.

    Edit: Updated gcam (big thanks to BSG!), tons of kernel tweaks by me. Kindly note that I'm not a kernel developer but purely an enthusiast, any input is helpful.
    6
    New OTA for enchilada uploaded.
    Google Camera (8.6) is now included in the build, and call recording is enabled for all regions!

    Note: You have to change one setting i gcam in order for it to work properly.
    Google Camera -> Settings -> Configuration of modes -> Hardware level -> Select "Full".

    Enjoy gcam!

    Build for fajita cooking now.

    Edit: OTA for fajita available for download
    6
    New OTA for enchilada uploading, ETA 15m
    Build for fajita cooking now.

    • Security patch 20221105
    • Fixed call recording not working in certain regions
    • Minor kernel tweaks
    • Adjustments to NFC

    Coming features: Greatly decreased boot time, faster recovery, more aggressive battery saving

    Edit: Todays update also includes Android 13.0.0_r13 source update.
    6
    Development update:

    Unlimited Google photos storage working!
    New and improved SafetyNet-fix (thanks kdrag0n)
    Pixel spoofing to all Gapps.
    Still working on getting unmodified gcam from Play store to work, there's an ok port linked in the first post of this thread.

    More to come.
  • 20
    LineageOS 20.0 unofficial build for enchilada & fajita

    Lineage-OS-Feature-Image-Background-Colour.png






    Source: LineageOS 20 (android-13.0.0_r13)

    Buildtype: User

    Kernel: 4.9.227

    SELinux: Enforcing

    Recovery: TWRP 3.7.0, Thanks to @Siddk for your hard work!!!

    Root: Download the most recent Magisk canary .apk
    Either install with "adb install app-release.apk" or download directly on your device and install with the file manager (Files). Download the most recent boot.img for your device, from the corresponding recovery folder.
    Copy boot.img to sdcard, patch boot.img with Magisk. Flash modified boot.img with fastboot flash boot magisk_patched-*****_*****.img


    Included Gapps: MindTheGapps

    Gcam: Included, by BSG. Don't forget to install Google Photos.
    Note: You have to change one setting in gcam in order for it to work properly.
    Google Camera -> Settings -> Configuration of modes -> Hardware level -> Select "Full".

    Passes SafetyNet
    Rooted? Install this safetnet fix (Displax v2.3.1-MOD_2.0)


    All credit goes to the LineageOS team

    Sources:
    Kernel
    ROM
    Pixel goodies

    Looking to expand our LineageOS 20 family! Send me a device (new or old) and I will port LineageOS 20 to it!


    Are you happy with my work? Feel free to donate

    Installation: Standard LineageOS installation method


    1. Disable Screen lock (Settings -> Security -> Screen lock -> none)
    2. Reboot to bootloader
    3. Fastboot.exe boot TWRP-3.7.0_12 (enchilada version download link, fajita version download link)
    4. In TWRP select advanced -> ADB sideload -> Swipe to start sideload
    5. adb.exe sideload flashmeintwrp.zip
    6. In TWRP select advanced -> ADB sideload -> Swipe to start sideload
    7. adb.exe sideload lineage-20.0-LATESTVERSION-UNOFFICIAL-YOURDEVICE
    8. Reboot to system

    1. Disable Screen lock (Settings -> Security -> Screen lock -> none)
    2. Reboot to bootloader
    3. Fastboot.exe boot TWRP-3.7.0_12 (enchilada version download link, fajita version download link)
    4. In TWRP select advanced -> ADB sideload -> Swipe to start sideload
    5. adb.exe sideload copy-partitions-20220613-signed.zip (download here)
    6. Reboot to bootloader
    7. Fastboot.exe boot TWRP-3.7.0_12
    8. In TWRP select advanced -> ADB sideload -> Swipe to start sideload
    9. adb.exe sideload lineage-20.0-LATESTVERSION-UNOFFICIAL-YOURDEVICE
    10. Reboot to system



    Download links:

    Enchilada version
    Fajita version



    Kindly report issues in this thread and post logcat output






    Changelog LineageOS 20
    20221121: OS built with Clang 16, updated gcam, power optimization, NFC & fingerprint tweaks
    20221109: Android 13.0.0_r13 source, Security patch 20221105, fixed call recording not working in certain regions, minor kernel tweaks, NFC tweaks
    20221107: Major updates to the fajita kernel, expect ∼30-60% longer endurance, updated gcam
    20221106: Major updates to the enchilada kernel, expect ∼30-60% longer endurance, updated gcam
    20221103: Google Camera included in build, Dialer/phone app can now record calls in any part of the world.
    20221101: Unlimited Google Photos, new and improved SafetyNet-fix, Pixel spoofing.
    Clear the cache for Google Play services and storage for Google Play Store.​
    Settings -> Apps -> Show system (top right corner) -> search for play​
    Then reboot your device. After this Pixel spoofing is working for all gapps, and device will be certified.​
    20221016: You can now update via adb sideload in LineageOS recovery (no need for TWRP)
    20221012: SafetyNet fixes. Most (all?) banking apps should work now
    20221009: Fixed a major performance issue in the Fajita build
    20221006: Buildtype userdebug -> user


    Upcoming features: Pixel goodies (unlimited storage for photos, Google Camera and more), Linux 5.15 kernel, OTA updates, Nethunter kernel, build for fajita, SafetyNet


    OTA Update instructions
    1. Go to Settings -> System -> Updater
    2. Reboot when prompted (you will loose root as boot.img is updated)
    3. (optional) Flash Magisk-patched boot.img from fastboot to regain root




    Safe to dirty flash over Lineageos 19.1, IF you completely uninstall Magisk before you do so.

    Procedure:


    1. Uninstall Magisk (complete uninstall) from Lineage 19.1, including all modules.
    2. Flash LineageOS 20.0 unofficial from recovery
    3. Reboot to system: adb install Magisk-v25.3.apk OR flash provided Magisk-v25.3.apk.zip from recovery.
    4. Profit


    9
    New OTA available for enchilada, fajita version cooking now.
    • Updated gcam
    • Power management improvements
    • Major kernel improvements (built with clang 15.0.3!)
    Currently working on: Kernel 5.19, EROFS, fingerprint reader, incremental/delta updates (~80-90% reduced size, very quick installation)

    Edit: OTA for fajita available for download
    8
    A minor update:

    I've been successful in automating the build with all my patches + TWRP. Just waiting for permission from Siddk.

    No news regarding the UI crashes, still looking into it.
    8
    android-13.0.0_r8 released.
    October 2022 Security Update merged.

    Cooking now.

    Update: fajita is available for OTA now.
    Update: enchilada is also available for OTA.
    7
    New OTA available for fajita & enchilada, should be available for download within 5 minutes (sourceforge has to do it's thing).

    I've noticed that some battery monitoring tools display crazy values after the update, so I suggest that you re-install (or reset) any battery monitoring tools if you're using them. You should probably also charge to 100% and see how the device behaves over the next 24 hour period before reporting usage, thanks.

    Edit: Updated gcam (big thanks to BSG!), tons of kernel tweaks by me. Kindly note that I'm not a kernel developer but purely an enthusiast, any input is helpful.