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
I'm testing this now, but I've been unable to get VoWiFi or VoLTE to work. Any suggestions?
 

david003

Senior Member
Aug 8, 2020
220
133
OK, if I turn off airplane mode, I can get a call to go through, and it says WiFi Call. So it works, sort of. But in airplane mode (connected to wifi) it doesn't work. SMS does seem to work, but not calls.

There's also no status in the status bar for VoWiFi or VoLTE that I can see.
 

mheijerman80

Member
Mar 27, 2023
12
5
Very nice, until now for what I use, everything works, nice and stable.

EDIT:
I just jinxed it, browsers do not start anymore, messaging apps force close, tried rebooting, does not help.
 
Last edited:
  • Like
Reactions: Fostel

TheRealModder

Senior Member
Sep 2, 2018
627
614
is that aperture cam? i mean on the screenshots.

if it is, could you add memeui cam on the next build? needed it so i can maxxed out the camera functionality on this phone.
 

david003

Senior Member
Aug 8, 2020
220
133
I tried both the Vanilla version and the MicroG version. I'm using the MicroG version right now. I got both rooted and passing the MicroG and YASNAC safetynet check, although the Play Integrity API Checker gives a message:

Error getting token from Google
Binding to the service in the Play Store has failed.
This can be due to having an old Play Store version installed on the device.

However, it doesn't seem to be a problem so far. My banking app works.

It is a little different for me, than the instructions on the first page. Perhaps because I'm using Magisk Delta (not sure). But I am using Magisk Delta with Zygisk, Magiskhide, and Enforce SuList turned on.

I couldn't get microg_installer_revived to work with the Vanilla version. I tried it twice, and the phone just hung after trying to boot, and I had to wipe the phone. I used microg_unofficial_installer instead (flashed from TWRP), which worked.


Aside from needing to install MicroG separately on the Vanilla version, the only difference in the setup between Vanilla and MicroG versions was I needed lsposed and FakeGApps installed on the Vanilla version, which wasn't required on the MicroG version.

The MicroG version still required MagiskHide Props Config and setup, though.

Both versions required the Universal SafetyNetFix v2.4.0. There's a 2.4.0 MOD 1.2 version of that, but it didn't work (perhaps because of Magisk Delta), but the original one worked.

MicroG google device registration, Cloud Messaging, and Google SafetyNet are turned on in MicroG settings and working. There's no google account on the phone or Google Play. Apps installed with NeoStore and AuroraStore.

Also, I am able to get VoWiFi calling in Airplane Mode now. I'm not sure why it wasn't working before, though. It does show the call as a WiFi Call when the call is in-progress. There's no status indicator to tell you that VoWiFi is active, though. The best I can see, is that the carrier name shows up if you pull down the quick settings, but I'm not sure it would be disappear if it got disconnected.
 
  • Like
Reactions: Fostel

david003

Senior Member
Aug 8, 2020
220
133
Overnight battery drain, after about 11 hours was 1%, from 45% to 44%. That's pretty good. I have a SIP app that runs with a permanent notification since it doesn't receive push messages, too.
 
  • Like
Reactions: Fostel

Fostel

Senior Member
Jan 16, 2013
288
72
London
OnePlus One
OnePlus X
Overnight battery drain, after about 11 hours was 1%, from 45% to 44%. That's pretty good. I have a SIP app that runs with a permanent notification since it doesn't receive push messages, too.
I had an overnight drain at around 38% (89-51%)
com.android.launcher3 consumed 1578mAh from the battery.
Deep sleep 90%
Awake 10%

Update after a few more days. 👇
 
Last edited:
  • Sad
Reactions: thxjxs

david003

Senior Member
Aug 8, 2020
220
133
I installed the new MicroG version from TWRP without wiping it. I just cleared dalvik and cache after I was done.

I did get some errors, and it lost magisk, but after reflashing magisk from TWRP again, it was ok.

These are the errors I got while installing. I rebooted to recovery and ran it a second time with the same results.

WARNING: Cannot mount /system, skipped
- Mounting /persist
! Unable to extract zip file!
- Unmounting partitions

(Repeated 3x times)

Patching system image
Patching vendor image
Patching product image
patching odm image
patching system_ext image

(Repeated again)

magisk recovery

(Repeated 3x more times)

After reflashing magisk, it seems to be working now. I ran a safetynet check in MicroG again, and it still passed.
 

2spirit

Senior Member
@Fostel , yes, you can flash directly if you have the previous MicroG version.

@david003 , you have too many problems with your device, it's better you make a clean flash and respect the recommended version :

Flash with TWRP official
Flash the last 13 firmware of your region
Check the MD5 of the rom and flash it
Format data and reboot

And if you need magisk, use the official version too...

I have update the first post with correct instructions and links.
 
Last edited:
  • Like
Reactions: david003 and Fostel

david003

Senior Member
Aug 8, 2020
220
133
@david003 , you have too many problems with your device, it's better you make a clean flash and respect the recommended version :

Flash with TWRP official
Flash the last 13 firmware of your region
Check the MD5 of the rom and flash it
Format data and reboot

And if you need magisk, use the official version too...

I have update the first post with correct instructions and links.
(edit)
I followed these instructions. I'll see how it goes from here, thanks.
 
Last edited:

Al765436

Senior Member
Sep 26, 2019
116
18
Really loved this rom,so solid smooth and fluid,brilliant to run,just need face unlock,please add face unlock
 

david003

Senior Member
Aug 8, 2020
220
133
I really appreciate that vanilla LineageOS (and MicroG) is available for this for phone now. I started using LineageOS with my Note 4x, and there's still support for it (LOS 20).
 
  • Like
Reactions: Fostel

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