Development [ROM] [UNOFFICIAL] [Android 13] [OSS] LineageOS 20.0 Vanilla & MicroG version

Search This thread

cocopipou

Senior Member
Jul 24, 2016
238
85
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
75
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
272
67
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,196
2,199
@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
238
85
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
272
67
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
75
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

  • 3
    1685431243736.png


    :love:
    1
    1st sweet device is out in 2021 and just now is supported by a serious Dev team so I suppose you must change your device if you want install a stable custom rom now...
    1
    The camera problem...
    if you want you can flash leica in lineage.. i tried and worked... i wrote how to do in thread leica camera here ;)
    1
    if you want you can flash leica in lineage.. i tried and worked... i wrote how to do in thread leica camera here ;)
    Could you share the link here please ?
  • 5
    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.
    4
    @2spirit possible to add two-tone QS theme on the next release?
    I think customization is not the priority, especially as we talk about gapless build.
    I would rather see a fully stable platform. The rest is just a user preference.
    3
    New MicroG version is uploaded , see link in 1st post.
    V14 based firmware version , Aghisna Kernel R14 (with KernelSU)
  • 16
    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
    5
    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 ;)
    4
    @2spirit possible to add two-tone QS theme on the next release?
    I think customization is not the priority, especially as we talk about gapless build.
    I would rather see a fully stable platform. The rest is just a user preference.
    4
    Do you use a magisk module for spoofing signature and microg ?

    HOW TO GET SAFETYNET PASSED WITHOUT GOOGLE APPS (GApps):

    This is important to get banking apps working without having Google Apps installed on the phone.
    __________________________________________________________________________________________

    In case you want to enable signature spoofing on any vanilla ROM (without signature spoofing) just follow this:
    __________________________________________________________________________________________

    Xposed framework implementation:


    1. Install Magisk
    2. Turn on Zygisk in Magisk app and reboot
    3. Install LSPosed in Magisk app
    4. Reboot
    5. Open LSPosed manager from notification
    __________________________________________________________________________________________

    Signature Spoofing via FakeGApps:


    1. Install "app-release.apk"
    2. Enable it in LSPosed manager
    3. Enable FakeGapps LSPosed manager
    4. Reboot
    __________________________________________________________________________________________

    Install microG, SafetyNet fix and MagiskHidPropsConf modules in Magisk.



    __________________________________________________________________________________________

    Hide Magisk App and install Zygisk in the Magisk settings.

    - Activate force Zygisk denial list
    - Reboot
    __________________________________________________________________________________________

    Connect your phone to the internet (e.g. WiFi) and via cable to your PC and start terminal.
    Enter the following commands (it could be that you need to confirm "su" via your phone):

    adb shell
    su
    props

    Select the following:
    1 - Edit device fingerprint
    f - Pick a certified fingerprint
    25 - Redmi
    17 - Redmi Note 10 Pro Global (11)
    y(es)
    y(es) (Reboot)

    __________________________________________________________________________________________

    On your phone in the "microG settings" you need to:
    - Activate "Google device registration"
    - Activate "Cloud messaging"
    - Activate "Google SafetyNet"

    That's it.