[UNOFFICIAL] LineageOS R Mod //LiR

Search This thread


Senior Member
May 16, 2017
Xiaomi Mi A2 Lite


  • photo_2022-01-26_21-57-27.jpg
    34.7 KB · Views: 74
  • Like
Reactions: AltairFR


Senior Member
Sep 3, 2019
i guess issue not in the GSI, but in your phone treble base update. can you test again with aosp v313? 99% it will be not work
hi, in-call audio works perfectly with aospa v313.
lack of in-call audio on the PH-1, remains an open issue for all of phhusson's v400 builds. He posted that he has "spent already 10hrs+ on it"... hopefully, it will get fixed eventually. (This also affects some older Pixel phones, and a few others.)


Senior Member
Sep 3, 2019
hey, one more question - you got vndklite/lite builds or normal?
i don't know whether the problem is caused by google code changes or phhtreble patches; the last time i did any programming it was in LISP and SCHEME.
I have used both normal and vndklite v313 builds, and both variants work equally well.
I have not booted a lite build of either your v314 or v315.
Last edited:


Dec 6, 2012

iam using lir-v315+220223-arm64-bgZ.img.xz build and iam impressed with the ROM.
Everything is working fine so far except i can not get Viber app get activated.

Iam receiving message "Activation Failed"
It is like something blocking it "no phone call" after attempt

No issues on GSI LineageOS bgS 18,19 and my original ROM with viber.

Any ideas how to fix it? i would like to stay on L i R but viber is significant for me because lot of people arround me still using it.


Aug 14, 2015
Dasmariñas City
Manage to install it in my Samsung A12 SM-A125F (6/128), the issue is that the touch not working after screen timeout, but I have a fix for that so it's not a big deal for me. So snappy, other than that, no other issue at the moment.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi, thanks for the rom. I faced 1 issue, maybe it is device specific but, when i try to open user to change name or add a avatar, ui crashes.

    Settings > System > Multiple Users.
    From Users and Profile when i touch admin user, Settings apps crashes.

    And is AppLock option is missing or not included? I couldn't fint it.
  • 20
    L i R

    < Your warranty is now void! >
    We're not responsible for bricked devices, dead SD cards,
    thermonuclear war, or you getting fired because the alarm app failed. Please
    do some research if you have any concerns about features included in this ROM
    before flashing it! YOU are choosing to make these modifications, and if
    you point the finger at us for messing up your device, we will laugh at you

    LiR is a project which based on LineageOS 18.1 with @AndyYan's and @phhusson's Treble GSI patches. Built with some Andy's patches & recommendations, also even without "ALLOW_MISSING_DEPENDENCIES=true" flag. System can run with SELinux enforced state, as original Phh AOSP GSI. Fully compatible with PHH-Treble patches. Has dynamic root which can be activated/deactivated without reboot - 'su' binary and SuperUser app (can works on all devices even with system read-only). Also has dynamic SafetyNet helper (but it compatible not with all devices), users have four ways to pass SafetyNet: a. just enable SafetyNet option (recommended) b. disable SafetyNet and enable "Spoof Pixel 5" then reboot c. enable both options and reboot d. mount system as RW and create empty file /system/phh/secure (legacy method), and in the Recovery do Wipe Data

    latest build:
    treble patches: v316
    SPL: 5 Mar 2022

    see Project page changelog

    vanilla, gapps, go-gapps: all possible architectures

    Some information you should know about knowing what type of gsi it is


    can either be arm, a64 (arm32_binder64) or arm64
    can either be a or b
    can either be v, o, g or f
    can be N, S or Z

    a = a-only

    g = gapps
    o = gapps-go
    v = vanilla (no gapps included)
    f = floss (free & open source apps instead gapps)

    N = no superuser
    S = superuser included
    Z = dynamic superuser included

    -lite = for VNDK Lite vendors (also can help with broken camera even on normal VNDK vendors)

    so in most common example "arm64_avZ" is ARM64 A-only vanilla with dynamic superuser

    > telegram group
    > project page

    excluding fixes, the same as on LineageOS GSI by Andy Yan (in some cases doesn't work: broadcasting on TV, calls via BT; offline charging does not work normally etc)
    NOTE: always test ROM first without Magisk (with clean boot ramdisk). and don't send me bug reports if you have:
    a) Magisk installed
    b) modified/custom vendor or kernel
    c) dirty flashing rom without wiping data
    d) modified props values (another device fingerprint and so on)

    @phhusson, @AndyYan
    projects: TrebleGSI • LineageOS • BlissROMs • crDroid • PixelExperience • ION • neon-OS • Havoc-OS • Evolution-X • LiquidRemix • ExtendedUI • ABC Rom • GrapheneOS • SyberiaOS • ProtonAOSP
    LiR v302 2021.03.18 (beta2)
    download /// changelog