[ROOT] [TWRP] [ROM] How to install LineageOS 19.0 (Android 12) on A20S SM-A207F

Search This thread

Wurd4Wurd

Member
Nov 29, 2022
12
4
I can send u patched system.img for flash via TWRP if u can send me version of previous installed stock Samsung rom
PS: I no longer use the phone due to its many problems.

Anyways, I managed to install TWRP on the stock system image. I did this by flashing the TWRP image with the pre-rooted GSI and rebooting into bootloader mode (download). After that, I flashed the stock system image by extracting the AP file and then compressing it to .tar via 7z. After flashing, I booted into recovery and flashed the multidisabler.zip and then wiped Cache, Data, and Dalvik. I rebooted my phone after that. No security check errors, All okay. I tried to reboot into recovery the 2nd time and Twrp is still there. Also, flashing Magisk won't root the device, you will still end up in the same security check fail screen, even if you reflash the stock boot image, It won't go away (prob bcs of twrp). You will need to reflash the stock ROM for it to go disappear.
 

aerglass

Member
Jan 24, 2022
32
1
question: do calls work? because if they do then i am gonna switch to this rom lol

i really like it because it is so fast, fluid, smooth and it is also a lot more stable than my samsung rom.
 

aerglass

Member
Jan 24, 2022
32
1
There's another bug on my phone that I haven't found any solutions yet, on phone calls the phone doesn't have any audio input or output (microphone & handset/speakerphone). But WhatsApp calls work just fine. Does this also happen to your device?
I've tried fixing contents through TWRP but it didn't fix the problem
did you fix it?
 
question: do calls work? because if they do then i am gonna switch to this rom lol

i really like it because it is so fast, fluid, smooth and it is also a lot more stable than my samsung rom.
I have this issue too, I tried everything of my knowledge but didn't work, seems like a Treble issue with Qualcomm sdm439/sdm450, except this, everything seems normal to me.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5

    Requirements

    install ubuntu on your pc
    Download This lineage image, if you want google apps download BVG if you dont want google apps download BVS Make sure to download arm64 not a64 note if you want a pre-rooted lineage OS choose lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img.xz
    Download This GSI make sure to download system-roar-arm64-ab-vndklite-gapps.img.xz or system-roar-arm64-ab-vndklite-vanilla.img.xz These are pre-rooted GSI'S
    And Download This FILE We will need it later
    ==============================================================================================================================

    BEFORE WE PROCEED IM NOT RESPONSIBLE FOR BRICKING YOUR DEVICE
    extract everything in the same folder right click open in terminal
    reboot into download mode voulme up + power
    Ok now we"ll need to install heimdall on your ubuntu machine by opening the termanil and typing sudo apt install heimdall-flash
    type in the terminal heimdall flash --SYSTEM sysnull.img
    system will reboot, go into download mode again
    now write heimdall flash --SYSTEM system-roar-arm64-ab-vndklite-gapps.img --VBMETA avbnull.img
    or if you downloaded the one without GAPPS Write heimdall flash --SYSTEM system-roar-arm64-ab-vndklite-vanilla.img --VBMETA avbnull.img
    Boot into stock recovery and do a factory reset
    install Termux and download this TWRP image and rename it to r.img
    open Termux and type su
    Now Write dd if=/sdcard/Download/r.img of=/dev/block/bootdevice/by-name/recovery
    if you saved the TWRP image to your internal storage type dd if=/storage/emulated/0/Download/r.img of=/dev/block/bootdevice/by-name/recovery
    ok now reboot into TWRP (power + vol up)
    wipe dalvik art, cache, system, data, cache
    and move the LineageOS image from your pc to your INTERNAL STORAGE THERE WILL BE A FILE NAMED TWRP PUT IT THERE SD CARD WILL NOT WORK IF YOU FLASH IT FROM AN SD CARD THERE WILL BE A STORAGE PROBLEM AND YOU WONT BE ABLE TO INSTALL ANY APPS
    Click select storage (click on internal storage)
    Click on install image
    and now just flash LineageOS and make sure to choose system image
    Thanks to @Hex_101 For the rooting tutorial !!
    {This is my first ever xda tutorial so if you have any questions please ask me}
    2
    Okay this version works, but I seem to encounter a problem. Everytime I try to open Storage in Settings, the Settings App crashed, and whenever I try to install an App from Play Store, it says that I don't have enough storage. Does it have something to do with this on the original thread?
    It's a common issue. Try following these steps:
    1. Boot into TWRP
    2. Go to Advanced
    3. Click on Fix Contents and confirm
    4. Reboot
    2
    It's a common issue. Try following these steps:
    1. Boot into TWRP
    2. Go to Advanced
    3. Click on Fix Contents and confirm
    4. Reboot
    I thought I made mistakes throughout the process so I tried re-doing everything from the beginning and it finally works without storage issues. Thank you so much for your help, especially pointing out the correct OS image, such a lifesaver
    1
    Hi, may I know which version of LineageOS did you install?
    I've managed to successfully flashed LineageOS ( lineage-19.1-20221122-UNOFFICIAL-arm64_bgN-secure.img.xz ) but my phone keeps rebooting while setting up.
    you downloaded the wrong version. you can find it at https://sourceforge.net/projects/andyyan-gsi/files/lineage-19.x/History/ and make sure to download lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img.xz use ctrl + f to find it faster. and then flash it again, and it should work perfectly fine.

    also if you want root permissions make sure to install phh superuser, flashing Magisk will brick your device.
    1
    Hello, I've been trying to install LineageOS on my device (SM-A207F), and I've followed every instruction so far, but I'm stuck while trying to flash heimdall sysnull.img

    After I typed in heimdall flash --SYSTEM sysnull.img in the terminal, I've persistently got this error:

    Session begun.

    Downloading device's PIT file...
    ERROR: Failed to receive end PIT file transfer verification!
    ERROR: Failed to download PIT file!
    Ending session...
    ERROR: Failed to send end session packet!
    Releasing device interface...

    I've unlocked the bootloader and enabled USB debugging.
    I'm using Ubuntu 22.04 LTS (on VirtualBox, Windows 11), also very new to custom ROM, I've only successfully installed LineageOS on an S5 (SM-G900H).
    Use Dualboot instead of VirtualBox, you can find tutorials on youtube but you'll need a spare USB drive