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

Search This thread

david003

Senior Member
Aug 8, 2020
220
133
Any tricks on how to install microG?
Do you install offline or directly from F-droid?
Do you install the Services Core (com.google.android.gms) as a system app? How?

Their Prerequisites state 'Your System needs to support signature spoofing'.
I used:

microg-unofficial-installer-v1.3.1-beta-by-ale5000-OSS-signed

flashed from recovery to install microg. After it's installed (and magisk), you'll need safetynetfix and lsposed modules:

safetynet-fix-v2.4.0-MOD_1.2
LSPosed-v1.8.6-6712-zygisk-release

And also install the fakestore apk. You can search for these on the first page of this thread, or in a search engine. After you install the fakestore apk it needs to be enabled in lsposed. All of that should get microg working and passing safetynet test.

The vanilla build doesn't support signature spoofing, so that's why you need lsposed and the fakestore apk to do the signature spoofing, instead of having it built into the rom.
 
  • Like
Reactions: Fostel

david003

Senior Member
Aug 8, 2020
220
133
Pulkit also has a vanilla build of lineageos here:

lineage-20.0-20230514-UNOFFICIAL-sweet

But it doesn't seem to be listed anywhere. It's just hidden there.

It doesn't have gapps, but it does have the miui camera as the camera app built-in. It doesn't have microg built-in, but it has signature spoofing included. Only the safetynet-fix was required to get it to pass the safetynet test.

It has the same issue with "always on vpn" and "block connections without vpn" not working as before. You have to leave those off.

The extra lenses/cameras are available in camera2 api, and open camera on this.

There is a "VoWiFi" text indicator in the status bar, but only on the pull-down and lock screen (no icon). It also has swipe to screenshot.
 
  • Like
Reactions: pnin and Fostel

Fostel

Senior Member
Jan 16, 2013
288
72
London
OnePlus One
OnePlus X
Pulkit also has a vanilla build of lineageos here:

lineage-20.0-20230514-UNOFFICIAL-sweet

But it doesn't seem to be listed anywhere. It's just hidden there.

It doesn't have gapps, but it does have the miui camera as the camera app built-in. It doesn't have microg built-in, but it has signature spoofing included. Only the safetynet-fix was required to get it to pass the safetynet test.

It has the same issue with "always on vpn" and "block connections without vpn" not working as before. You have to leave those off.

The extra lenses/cameras are available in camera2 api, and open camera on this.

There is a "VoWiFi" text indicator in the status bar, but only on the pull-down and lock screen (no icon). It also has swipe to screenshot.
What about the 'time issue'?
 

KasunHerath97

Senior Member
Feb 2, 2017
171
91
Kurunegala
Redmi Note 10 Pro
Any tricks on how to install microG?
Do you install offline or directly from F-droid?
Do you install the Services Core (com.google.android.gms) as a system app? How?

Their Prerequisites state 'Your System needs to support signature spoofing'.
You can install microG the following way.

1. Root with Magisk and enable Zygisk.
2. Install LSPosed Magisk Module and FakeGApps and reboot.
3. Enable FakeGApps XPosed module in LSPosed and reboot again.
4. Install microG Installer Revived from Magisk and Reboot.
5. Enjoy.

There are similar methods but all are broadly the same.
 
  • Like
Reactions: pnin

david003

Senior Member
Aug 8, 2020
220
133
Yes, it still has the time issue, too.
I forgot to check Aryan's build when I had it running, if it had the time issue. Is it a problem there, too?

One good thing about Aryan's build is that it doesn't have the vpn issue, with "always on vpn" and "block connections without vpn."

I checked with him about the camera2 api issue, and there's something there that's blocking the extra lenses unless the camera app is on a special list of allowed apps. I don't think they'll change it. There may be a way to modify it, but I haven't tried. They are not blocked on Pulkit's build.

I'm not sure how the device trees come about, where they're originally sourced from, but they are different.
 

david003

Senior Member
Aug 8, 2020
220
133
I had network issues with Pulkit's vanilla build overnight, and if the screen is off for an hour or so. I tried a different kernel (aghisna), but it didn't help.

So I'm back to Aryan's vanilla build. I haven't been able to modify it to allow the extra lenses for open camera, though. I'll see if it fixes the network problems overnight.
 

amyli8789

Senior Member
Dec 18, 2020
80
57
@2spirit I can't flash gapps using the included lineage recovery in Aryan's vanilla build. In Terminal it says "adb: failed to read command: Success" and on the phone itself it says "Timed out waiting for fuse to be ready".
 

Fostel

Senior Member
Jan 16, 2013
288
72
London
OnePlus One
OnePlus X
I had network issues with Pulkit's vanilla build overnight, and if the screen is off for an hour or so. I tried a different kernel (aghisna), but it didn't help.

So I'm back to Aryan's vanilla build. I haven't been able to modify it to allow the extra lenses for open camera, though. I'll see if it fixes the network problems overnight.
Strange. I can access wide, normal, and tele lens with Aperture.

Did you try gCam?
 

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 ;)