Development [ROM] [UNOFFICIAL] [Android 13] [OSS] LineageOS 20.0 MicroG version / SafetyNet Pass / ih8sn

Search This thread

Fostel

Senior Member
Jan 16, 2013
288
72
London
OnePlus One
OnePlus X
Hi @2spirit

I am using your ROM since several days as my daily driver and I am very satisfied with it.

Everything works perfectly fine. There is not a single bug I was confronted with.

Thanks again for your precious work and for sharing it!

Battery lifetime is excellent. I am not a heavy user but I am actually playing around with it quite often - and the battery lasts appr. 4 days.
I assume your device is equipped with bq2597x-charger.
I've just got a second device with an ln8000 charging board :eek:


You can try with the latest KewL kernel ( ln8000 ), you will find link in @Laptapper post : link
So it won't work with the default kernel you provided?
 

fungolfer

Senior Member
May 30, 2019
87
18
ok, installed the ROM today. GApps seem to not work well, Play Store sais it is offline, but it isn't. Also I try to find the advanced restart menu. It used to be at settings - system - gestures . on/off menu. But I don't find it. Is there something I'm missing? Maybe need to install another app? Will now try BiTGApps. I read it should work with LOS 20. Everything else seems to work as expected, well done :)
 

minax007

Senior Member
Jan 1, 2021
126
76
ok, installed the ROM today. GApps seem to not work well, Play Store sais it is offline, but it isn't. Also I try to find the advanced restart menu. It used to be at settings - system - gestures . on/off menu. But I don't find it. Is there something I'm missing? Maybe need to install another app? Will now try BiTGApps. I read it should work with LOS 20. Everything else seems to work as expected, well done :)

You can enable the advanced reboot options by:

Settings -> System -> Buttons -> Power menu -> Advanced restart
 
  • Like
Reactions: fungolfer

fungolfer

Senior Member
May 30, 2019
87
18
Thanks, that helped alot. I just don't get the minimum google apps to work. BiTGApps went into a boot loop after install. Should have safed contacts etc. outside google it seems...
 
  • Like
Reactions: minax007

minax007

Senior Member
Jan 1, 2021
126
76
Thanks, that helped alot. I just don't get the minimum google apps to work. BiTGApps went into a boot loop after install. Should have safed contacts etc. outside google it seems...
You are welcome!

I can't help you with GApps as I am using microG instead.

MicroG is an open source alternative to GApps which is proprietary.

On the first page of this thread you can find a description on how to install microG and get all apps working (also banking apps with SafetyNetFix).
 

fungolfer

Senior Member
May 30, 2019
87
18
Thanks spirit, meanwhile I tried MindTheGapps-13.0.0-arm64-20221025_100653.zip and it worked perfect for me. When I tried the newer Version the install failed. Go figure :) Thanks for your help. Really excited now :)
 

minax007

Senior Member
Jan 1, 2021
126
76
Obviously you haven't tested the latest Leica Camera Mods ... :) or you have used it superficially and hastily
Hi @lubo777

Thanks for your response ... and sorry if my statement sounded too general to you.

I have only tested one LEICA camera (not a mod) that came with crDroid. This one I had tested for a couple of days.

I agree to your statement that I haven't tested the latest (even any) LEICA camera mods.

Probably there are some, e. g. your mods, which are better.

I have tried to install your camera builds in LineageOS vanilla - but none of them worked.

I would appreciate if you could rework those, so that they also work with LineageOS vanilla.
 

minax007

Senior Member
Jan 1, 2021
126
76
But, I suppose Leica is Gapps dependent ?

@fungolfer, cool ;) now you have a functionally Gapps version could you try to install Leica module for testing please ?
Hi @2spirit

Before I had switched to your excellent LineageOS vanilla build I was using crDroid, which is a vanilla build (without GApps) and came with included LEICA camera.

Because of this I can confirm that LEICA camera does not depend on GApps.

There are some MIUI blobs required to include the MIUI or LEICA camera in a ROM.

The builds from @lubo777 only work with LineageOS from Pulkit, which comes along with LEICA/MIUI camera and those blobs.

On Github you can find some code on how to include those cameras in your ROM:


In case you build a vanilla LineageOS version with MIUI or LEICA camera me and many other users would appreciate if you would share it.
 
  • Like
Reactions: lubo777

minax007

Senior Member
Jan 1, 2021
126
76
Yes, Leica Camera is not GApps dependant, it just needs the MIUI firmware to be flashed and some extra MIUI files in order to work.

For all of the Lineage OS Vanilla users who would like to test different GCam Mods I recommend to install this simple 700K library with which any GCam is working perfectly on a vanilla ROM: gcam-missing-files-app-debug.apk.
Hi @lubo777

could you please explain what the purpose of this file is?

I do not know of any vanilla ROM which requires this one as all GCam versions I have tested (BGC, SGCAM, LMC, ...) work out of the box.
 

fungolfer

Senior Member
May 30, 2019
87
18
But, I suppose Leica is Gapps dependent ?

@fungolfer, cool ;) now you have a functionally Gapps version could you try to install Leica module for testing please ?
Hi spirit, I tried to install the following Leica Cam: https://drive.google.com/file/d/13u4TiYqPSAYueBUitRauaa_kgFE7oCYj/view

but it didn't install. It says the package is invalid.
The zip-file also didn't install using recovery. https://drive.google.com/file/d/19qEGNjcigX_Ku85XYtXjVQJd4Br8RPCu/view
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Official LineageOS is out now ( thanks to Aryan, Danielm and others) so this ROM is obsolete, just waiting the build by MicroG team ;)
    The MicroG build is there now.

    2
    The MicroG build has been working for me. With magisk and the safetynet fix, it passes safetynet.

    lineage-20.0-20230906-microG-sweet
    fw_sweet_miui_SWEETGlobal_V14.0.4.0.TKFMIXM_8f4f7797e0_13.0
    Magisk.v26.3
    safetynet-fix-v2.4.0-MOD_1.3-microG

    I'm not using AccA now, since the battery charge control is built-in to LineageOS.

    After charging fully to 100%, I got about 6 days of light/normal use from 100% to 25% battery. That seems pretty good to me. And the battery stats look legit, without odd stuff taking up 200% + battery.

    I often hear complaints that the battery is slow to charge, but I wonder if it's because of the indication on the screen. It usually says "Charging slowly" and gives a long estimate to charge completion. But in reality, it seems inaccurate.

    I have a usb tester, and I can see it's charging at around 9V 2.5A ~ 22 watts. Not as fast as it could charge, but still pretty good and definitely not slow charging. See screenshot/pictures attached.
    2
    Hi there !

    Any update for this ROM, I build for myself an MicroG version who pass SafetyNet out of the box ( just active needed options in MicroG settings )

    The sources is coming from Official LineageOS and MicroG repository.

    You need to use this recovery to flash.

    You can find here if you want test it :

    Downloads :

    recovery
    20230920 MicroG LineageOS 20.0 - MD5

    Instructions :

    - flash recovery in fastboot mode : fastboot flash recovery recovery.img
    - reboot to recevery mode -> format data -> apply update -> and use adb sideload to flash the rom -> reboot and test
    1
    Official LineageOS is out now ( thanks to Aryan, Danielm and others) so this ROM is obsolete, just waiting the build by MicroG team ;)
  • 20
    lineage_logo.png


    Hello,

    I have build for myself a vanilla version of LineageOS 20.0 because I don't find any simple and pure version of LineageOS and I want to share my build here.

    This work is based from different sources so many thanks for all this devs ! ;)

    Credits :

    LineageOS Team, PulKit077, Aryan, RootGhz720, MicroG team, Vantoman and many others ...

    Sources :

    - LineageOS 20.0 source
    - VantomKernel
    - xiaomi-sm6150 device / common / vendor trees
    - MicroG
    _____

    Instructions for a clean flash :


    - Use official TWRP 3.7.0_12 from Nebrassy
    - Flash last firmware V13 or V14
    - Download the ROM and check MD5
    - Flash it
    - Format Data and reboot

    _____

    Update instructions


    - Download the ROM and check MD5
    - Flash it
    - Wipe cache and reboot

    _____

    After an update, you can launch this command to optimize the battery backup and kernel parameters. (Needs terminal and root)

    Bash:
    su -c "cmd package bg-dexopt-job"
    su -c "cmd package compile -a -f --compile-layouts"

    Wait the answer "Success" and reboot ;)

    You can optionally run this command to reset battery stats :
    Bash:
    su -c dumpsys batterystats --reset-all
    _____

    NOT COMPATIBLE WITH LAST 256GB VERSION !!!

    _____

    Downloads :


    Vanilla V13 firmware based version :
    20230321 - MD5 (February security patch)
    20230330 - MD5 (March security patch)


    Vanilla V14 firmware based version :
    20230421 - MD5 (April security patch / Aghisna kernel R13 / KernelSU)
    20230509 - MD5 (May security patch / Aghisna kernel R14 / KernelSU)
    20230512 - MD5 (May security patch / Vantom Kernel 4.14.314 )

    _____

    MicroG V13 firmware based version :
    20230329 - MD5 (March security patch)
    20230407 - MD5 (March security patch)

    MicroG V14 firmware based version :
    20230421 - MD5 (April security patch / Aghisna kernel R13 / KernelSU)
    20230509 - MD5 (May security patch / Aghisna kernel R14 / KernelSU)
    20230511 - MD5 (May security patch / Vantom Kernel 4.14.314 )

    _____

    SafetyNet Pass​


    If you want to pass SafetyNet check, you need install Magisk and module SafetyNet-fix

    Optionally, you can add a certified fingerprint to your device with the module MagiskHidePropsConf

    Check this very well explained post from @minax007


    _____

    Gcam​


    Only default camera from LineageOS is included (aperture), so don't ask to add another one (Leica, Miui, etc...) and install yourself.

    You can find good setup for Gcam in the @Laptapper post

    You can directly use my config for Gcam LMC R16 and this zip with config XML and library.

    _____


    Android Security Bulletins

    _____


    Screenshots


    Screenshot_20230320-144221_Trebuchet.png

    Screenshot_20230320-144330_Settings.png
    Screenshot_20230320-143954_Settings.png

    Screenshot_20230320-144843_Trebuchet.png
    6
    Can we have support group (e.g. on Telegram) for these ROM development for better communication?
    Maybe I am too old for that but I prefer XDA more. I did not find Telegram groups to be better communication. Thousands of not relevant posts daily. A huge part of them are 'off topic' or non-English spoken.
    Just my two cents.
    5
    I send a email today to LineageOS Team ;)

    Now the March patch is included and no needs to update before April patch so perhaps I will try to compile any microg version ;)