Development [ROM][13.0][UNOFFICIAL] LineageOS 20.0 for Xiaomi MIX 4

Search This thread

hjfisch

Senior Member
Jun 1, 2013
129
34
Camera on 20 is closing very often at start .Need to reboot or closing in APP-Settings
 

Mrdream94

Senior Member
Mar 14, 2016
768
196
Xiaomi Mi MIX 4
I finally got ANX Camera working on A13 and I've pushed an update for Lineage 20. This is the magic moment we find out whether OTA updates are working properly :D

Now that I've got ANX working, any objections to dropping LOS 19 support and concentrating on LOS 20?
If everything is working good as LOS19.1 then i don't see the problem to concentrate on LOS 20 :)

Anyway on LOS19.1 I had ANXcamera very laggy and very slow mostly on launch and if I zoom on videos. I had similar problems on MIUI. I just want to know if I'm the only one or if this is a "normal" thing. Maybe due to the MIUI firmware base? Let me know pls.
 
Last edited:

er453r

Senior Member
Jan 1, 2012
59
10
I finally got ANX Camera working on A13 and I've pushed an update for Lineage 20. This is the magic moment we find out whether OTA updates are working properly :D

Now that I've got ANX working, any objections to dropping LOS 19 support and concentrating on LOS 20?
If I have got a good camera working - that is all I need - lets go for LOS 20 :D
 

er453r

Senior Member
Jan 1, 2012
59
10
@Inkypen and anyone who tried LOS 20 - I have just installed it and missed, that there no gapps included... What gapps package do you recommend for this build?

edit: just tried NIkGapps for T (13) and it won't install for me...
 
Last edited:

hjfisch

Senior Member
Jun 1, 2013
129
34
Search for "[AUTO]LiteGapps_arm64_13.0_v2.7_official.zip"
Working for me with EvolutionX 7.2 . Only working with adb-Sideload .
I've updated from Android 12.1 to 13 with TWRP for 12.1 , but Gapps won't install.
So I format and reset System within Recovery and installed 13 and Gapps with
adb-Sideload and reboot to System afterwards . It is running quite good but sometimes I need to stop the Camera in the app-settings to make the camera work again. Autofocus is also not working correct.Hoping that it will be fixed in the next Update.
B.t.w. Nova Launcher is runnig great with 13.
 
Last edited:
  • Like
Reactions: er453r

hjfisch

Senior Member
Jun 1, 2013
129
34
I go with EvolutionX 7.2 , which is the same as LOS 20 with Pixel Launcher and some extras .
No probs with google wallet and VR-Pay . The gapps I'm using are
"[AUTO]LiteGapps_arm64_13.0_v2.7_official.zip" .
All pass in Safety Net Test.
 
Last edited:

Inkypen

Senior Member
Aug 19, 2018
497
1,508
London
Samsung Galaxy Note 4
Xiaomi Mi 5s
I haven't made a gapps build for LOS 20 because I haven't yet found an A13 gapps package that doesn't replace all the LOS apps with Google ones. Because of this, I forgot to patch the ROM to pass safetynet. October security patch is out, so I've released an updated build that also includes safetynet patches. I installed Nikgapps T core edition and I confirm safetynet passes with no issues. I also found a patch that should fix fingerprint scanner randomly staying on screen (I was only ever able to reproduce this bug once)

@hjfisch EvolutionX has gapps already built in, no need to flash separate gapps package. This might be the root of your camera problems. I have no issues with camera on any of my builds, both AOSP camera and ANX camera in the new builds is working fine.
 
  • Like
Reactions: SanHelios

hjfisch

Senior Member
Jun 1, 2013
129
34
I haven't made a gapps build for LOS 20 because I haven't yet found an A13 gapps package that doesn't replace all the LOS apps with Google ones. Because of this, I forgot to patch the ROM to pass safetynet. October security patch is out, so I've released an updated build that also includes safetynet patches. I installed Nikgapps T core edition and I confirm safetynet passes with no issues. I also found a patch that should fix fingerprint scanner randomly staying on screen (I was only ever able to reproduce this bug once)

@hjfisch EvolutionX has gapps already built in, no need to flash separate gapps package. This might be the root of your camera problems. I have no issues with camera on any of my builds, both AOSP camera and ANX camera in the new builds is working fine.
Hello ,
Do I need to install the gapps now seperatly or are they build in in your new Release ?
 

Inkypen

Senior Member
Aug 19, 2018
497
1,508
London
Samsung Galaxy Note 4
Xiaomi Mi 5s
Hello ,
Do I need to install the gapps now seperatly or are they build in in your new Release ?
I don't know if this is a translation issue or what, I clearly stated I didn't make any gapps builds for LOS 20. If/when I start doing gapps builds for LOS 20, then "gapps" will be in the filename.

If you're talking about EvoX, that is a fork of Pixel Experience so of course gapps are built directly into the ROM.
 
  • Like
Reactions: SanHelios

hjfisch

Senior Member
Jun 1, 2013
129
34
Thank's @ Inkypen for your quick reply .
Now I've one question left to the Community.
Is it somehow possible to add some custom Fonts to LOS without rooting ?
 

WiselyXIV

Member
Aug 30, 2020
11
1
I go with EvolutionX 7.2 , which is the same as LOS 20 with Pixel Launcher and some extras .
No probs with google wallet and VR-Pay . The gapps I'm using are
"[AUTO]LiteGapps_arm64_13.0_v2.7_official.zip" .
All pass in Safety Net Test.
Hello, where did you find the evolutionX rom?
I cannot find the evolutionX for odin anywhere, even on their official website.
 

hjfisch

Senior Member
Jun 1, 2013
129
34
Back to LOS 20 now. Camera and banking apps are working now with the last Version. But Seedvault is crashing at start .
 

xtacb4

Senior Member
Oct 11, 2010
132
30
Hi!

I'm currently in the last LOS19:

- Do I need to upgrate to odin-twrp-3.7.0_12-0.img before upgrading to LOS20? I currently have installed odin-twrp-3.6.2_12-1.img

- What is the smallest gapps package recommended for LOS20? or are already included?

- I'm planning on dirty flashing, aside of making a TWRP backup and taking it out of the phone before doing anything else, are there any other considerations/things to keep in mind/anything I'm missing?

Thanks!
 
I haven't made a gapps build for LOS 20 because I haven't yet found an A13 gapps package that doesn't replace all the LOS apps with Google ones. Because of this, I forgot to patch the ROM to pass safetynet. October security patch is out, so I've released an updated build that also includes safetynet patches. I installed Nikgapps T core edition and I confirm safetynet passes with no issues. I also found a patch that should fix fingerprint scanner randomly staying on screen (I was only ever able to reproduce this bug once)

@hjfisch EvolutionX has gapps already built in, no need to flash separate gapps package. This might be the root of your camera problems. I have no issues with camera on any of my builds, both AOSP camera and ANX camera in the new builds is working fine.
Hi, I found that the core version of NikGapps does not replace any LOS apps. Maybe that is the one you are looking for? I have flashed it with your newest LOS build and it is super clean and working perfectly!
microsoft_edge_screenshot_2022年10月10日 GMT-07_00 09_21_53.png.png
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Found another bug - in Camera app, the video stabilization (Steady video) doesn't work for me. When I hit record, the app freezes and then crashes.
    1
    That is probably the same issue as with slow-mo - it is a known bug with this rom.

    @Inkypen I have noticed something wrong with Media API (my educated guess) in LOS13 releases - this has NOT happened in LOS12. Sometimes (this seem random, but frequent) when I have media app like VLC opened with video - then switch to another app - I can't play any videos in the browser, or open the Camera app (can;t connect to camera). If I then close all the apps in the overview - it starts working again.
    In the latest November build i tried to recreate this. I installed VLC, played a video and switched between camera, YouTube app and YouTube in a browser. It all seems to be working fine, perhaps it was a bug in LOS source as no one has brought this up on any of the other ROMs. I'm uploading the new builds now, should be available a bit later today.
  • 13
    2okPze5.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 12 (S), which is designed to increase performance and reliability over stock Android for your device.

    Code:
    #include <std_disclaimer.h>
    
    /*
    * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    *
    */

    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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

    GPL compliance:
    yG18r6g.png


    Working:
    Almost everything

    Broken:
    You tell me :)

    Downloads:
    https://sourceforge.net/projects/xiaomi-odin/files/13/LineageOS
    https://sourceforge.net/projects/xiaomi-odin/files/12/LineageOS
    https://sourceforge.net/projects/xiaomi-odin/files/11/LineageOS

    Installation:
    Reboot to recovery
    Copy LineageOS zip to internal storage
    Install LineageOS zip package
    Install [optional] a Google Apps package of your choice
    Format data (wiping is not sufficient, formatting requires you to type "yes")
    Reboot

    Important notes:
    GApps can only be flashed on clean installs.
    Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.

    Contributors
    Inkypen
    ROM OS Version: Android 12
    ROM Kernel: Linux 5.4
    Based On: AOSP
    6
    New builds are up:
    • June security patch
    • Kernel upstreamed to 5.4.197 and latest lahaina CAF tag
    • LHDC Bluetooth codec added (untested as I don't have a BT device that supports this)
    • Some ANX tweaks (should start a little bit faster)
    Regarding the conversation about the visible camera hole at maximum brightness, that's a hardware limitation. You must have seen Xiaomi's promotional image of the pixel array above the front facing camera showing the smaller pixels allowing light to pass through to the image sensor. A smaller pixel will not be able to shine as brightly as a larger one hence the slightly darker view on max brightness. MIUI gets around this flaw by displaying a sun symbol over the camera hole at max brightness. On a couple of builds I tried limiting the max brightness by about 15% so this wasn't noticeable but I had a few people in sunny areas complain about the change, so I reverted back. If it bothers you just turn the brightness down a little bit.

    Are there any plans to fix the widevine level from l3 to l1? I know that the China/eu Rom habe l1,so it should not be impossible to fix
    I've had L1 support since before I even released any builds. Download any media codec info app from play store and check for yourself.
    5
    New build is out, fixes seedvault among other things. Check changelog here: https://github.com/Inkypen79/OTA/commit/15f3c51b1ca99eaea2c026a47a6d0a02d3f5f583

    Turns out seedvault is a bug in Lineage, I used the main seedvault repo instead of the Lineage one and it's all working. This was fairly straight forward to fix but for future reference please, please, please provide build version and logs when giving a bug report.

    @subject4 Thanks for your suggestion. Nikgapps is actually what I would personally recommend if someone needed a gapps package, but unfortunately it can only be flashed on top of an installed ROM and is not suitable to integrate into a build from source.
    5
    New test build is up. It has a new version of minimal gapps installed and it also passes safetynet from clean flash without the need of root or any additional patches or modules. OK Google detection is now working with the screen switched off. Biggest change is a much improved ANX camera experience. There are no more crashes when using certain camera modes, the only thing not working is slow motion. I'm considering making ANX the default camera for all future builds (gapps and non gapps) and I would appreciate any feedback about this change.

    Build is here: https://sourceforge.net/projects/xi...220426-UNOFFICIAL-gapps-anx-odin.zip/download
    4
    @Inkypen Thank you so much... you're the best. So, if ANX is (sadly) not included, there might be a chance, it will go "official"-status eventually, right?
    Sorry to say that the chances of Lineage becoming official are exactly zero. The requirements to go official are unbelievably strict and very restrictive. For example, I wouldn't be allowed to patch the source code to make the ROM pass safetynet or I wouldn't be allowed to extract drivers/firmware from a Qualcomm dump if I needed to. I just don't have the time/energy to jump through their hoops. Besides, the only upside to official builds are OTA updates which I've added to my builds :)

    I am currently working on getting stock MIUI Camera to function correctly on AOSP based ROMS as I have discovered that ANX depends on a framework called Frida that is not currently compatible with A13.