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

Search This thread

cocopipou

Senior Member
Jul 24, 2016
259
89
Gembloux
Lenovo P2
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
I'm running PixelOS.
In order to try helping You, I made the same test as You with the same result :
  1. APK : the package seems not to be valid ;
  2. ZIP : process finished with Error 1.
You should send a message to the author of this files.
 
  • Like
Reactions: fungolfer

minax007

Senior Member
Jan 1, 2021
126
76
Today, I have build a microG version of the ROM, see link in the first post.

Next step, I want to add SafetyNet Pass directly in my build ( no need to root and magisk module) , anyone know how to do that ?
Hi @2spirit

thanks for sharing your precious work!

I do not know how of any script to integrate SafetyNet Pass that could be used for compiling - but it does not sound complicated to get it integrated.

Just found this explanation on Github ... but I haven't tested it if it works:


To verify if this principle is correct and sufficient you could check the /system/build.prop before and after applying the Magisk SafetyNetFix patch I had referred to on the first page of this thread.
 

Fostel

Senior Member
Jan 16, 2013
288
72
London
OnePlus One
OnePlus X
Today, I have build a microG version of the ROM, see link in the first post.

Next step, I want to add SafetyNet Pass directly in my build ( no need to root and magisk module) , anyone know how to do that ?
First of all. Thank you for your work.
I am not a developer so cannot help much but I wouldn't add too much stuff. Keep it simple and stable. Users can always add what they require. A stable base is paramount in my opinion. I am using vanilla LOS since their start and I never had gapps or cared about SafetyNet passing. I just want a working operating system. The software is just user preference.

Some people say that banking apps do not work. I would advise them not to use banking apps on android anyway.
 

TheHitMan

Senior Member
Sep 20, 2017
1,234
2,247
@2spirit There is a problem with your LineageOS build, it cannot let you install anything in System, because of full Inodes Count (100%). Even though their is plenty of free space, some 1GB left in System but it still refuse to install GApps and throw "no free space left" error.

You can check Inodes Count using:
Code:
mount -o rw /system_root
df -ih /system_root

You can see different below:
Code:
sweetin:/ # df -h
Filesystem       Size Used Avail Use% Mounted on
rootfs           2.5G  72M  2.5G   3% /
/dev/block/dm-0  2.0G 872M  1.1G  43% /system_root
Code:
sweetin:/ # df -ih
Filesystem       Inodes IUsed IFree IUse% Mounted on
rootfs             663K  3.6K  659K    1% /
/dev/block/dm-0    3.9K  3.9K    23  100% /system_root
 
Last edited:

hazoky01

Member
Nov 16, 2022
5
1
Redmi Note 10 Pro
Hello sorry to bother.

First of all, thank you so much for this ROM. I have been using the first image you made (the vanilla one) and I wanted to know if I can update to the one that has microg included or I have to clean flash all over again.

Thank you for your work
 
  • Like
Reactions: Fostel

cocopipou

Senior Member
Jul 24, 2016
259
89
Gembloux
Lenovo P2
To the developer of this rom.

In order to avoid any confusion between the vanilla and microG versions, you would be kind to add "MicroG" to the name of the version MicroG and why not to add Vanilla to the name of the vanilla version.
 
  • Like
Reactions: Fostel

2spirit

Senior Member
@2spirit There is a problem with your LineageOS build, it cannot let you install anything in System, because of full Inodes Count (100%). Even though their is plenty of free space, some 1GB left in System but it still refuse to install GApps and throw "no free space left" error.

You can check Inodes Count using:
Code:
mount -o rw /system_root
df -ih /system_root

You can see different below:
Code:
sweetin:/ # df -h
Filesystem       Size Used Avail Use% Mounted on
rootfs           2.5G  72M  2.5G   3% /
/dev/block/dm-0  2.0G 872M  1.1G  43% /system_root
Code:
sweetin:/ # df -ih
Filesystem       Inodes IUsed IFree IUse% Mounted on
rootfs             663K  3.6K  659K    1% /
/dev/block/dm-0    3.9K  3.9K    23  100% /system_root

OK, it's not a setting I've changed, so I supposed it's a default parameter when building LineageOS.
I need to look about this problem, if anyone have informations....



Hello sorry to bother.

First of all, thank you so much for this ROM. I have been using the first image you made (the vanilla one) and I wanted to know if I can update to the one that has microg included or I have to clean flash all over again.

Thank you for your work

Yes, you can update vanilla -> microg version, just remove old f-droid app and microg before update.


To the developer of this rom.

In order to avoid any confusion between the vanilla and microG versions, you would be kind to add "MicroG" to the name of the version MicroG and why not to add Vanilla to the name of the vanilla version.

Done ;)
 

nnamless

Senior Member
Jan 17, 2018
147
34
Thank You for this Rom. It would be perfect, if You would add the aditional Features from the Fork Lineage Repository (Clear all button for Notifications in Quicksettings, Quick Unlock and Face Unlock).
 

Fostel

Senior Member
Jan 16, 2013
288
72
London
OnePlus One
OnePlus X
@2spirit There is a problem with your LineageOS build, it cannot let you install anything in System, because of full Inodes Count (100%). Even though their is plenty of free space, some 1GB left in System but it still refuse to install GApps and throw "no free space left" error.

You can check Inodes Count using:
Code:
mount -o rw /system_root
df -ih /system_root

You can see different below:
Code:
sweetin:/ # df -h
Filesystem       Size Used Avail Use% Mounted on
rootfs           2.5G  72M  2.5G   3% /
/dev/block/dm-0  2.0G 872M  1.1G  43% /system_root
Code:
sweetin:/ # df -ih
Filesystem       Inodes IUsed IFree IUse% Mounted on
rootfs             663K  3.6K  659K    1% /
/dev/block/dm-0    3.9K  3.9K    23  100% /system_root
Not sure if that matters but your phone seems to be the sweetin variant and the ROM is for sweet.
 

Germanhorn

New member
Jun 1, 2020
3
0
Hi @Stan m

thanks for your response!

Reading your answer I assume that you have knowledge about how we could get LineageOS official.

I would highly appreciate if you would explain what is needed to get it official.

And I would appreciate much more if you would support us on getting it official.

Regarding your last statement I assume that you wanted to point out to the fact that the source code of the signature spoofing patch was not shared by @2spirit , right?

I think that we should continue without signature spoofing as the official LineageOS builds come without.

If I have missed something please advise.

Thanks!
Hi @Pulkit Agarwal dois it have leica cam?
 

minax007

Senior Member
Jan 1, 2021
126
76
Hi @Germanhorn

the version from Pulkit Agarwal has the LEICA camera built in.

But this thread is not the one which is dealing with the builds from Pulkit Agarwal.

This thread from @2spirit is dealing with LineageOS vanilla, which is using the device tree which was developed by Pulkit Agarwal.

Because of this @2spirit has stated credits to Pulkit Agarwal in his first post.

Could you please explain why you are referring to my post and asking for LEICA camera?
 

2spirit

Senior Member
@2spirit There is a problem with your LineageOS build, it cannot let you install anything in System, because of full Inodes Count (100%). Even though their is plenty of free space, some 1GB left in System but it still refuse to install GApps and throw "no free space left" error.

You can check Inodes Count using:
Code:
mount -o rw /system_root
df -ih /system_root

You can see different below:
Code:
sweetin:/ # df -h
Filesystem       Size Used Avail Use% Mounted on
rootfs           2.5G  72M  2.5G   3% /
/dev/block/dm-0  2.0G 872M  1.1G  43% /system_root
Code:
sweetin:/ # df -ih
Filesystem       Inodes IUsed IFree IUse% Mounted on
rootfs             663K  3.6K  659K    1% /
/dev/block/dm-0    3.9K  3.9K    23  100% /system_root
I have found the problem and correct it for the next build.
 

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