• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Android 12] [EXPERIMENTAL] [RE-UPLOADED] AOSP Android 12 for A21s

Search This thread

cristiannoo1077722

New member
May 21, 2021
1
0
It seems that the room is still very green even though I did not try it, it would not be said that mistakes is though you appreciate that you give us an experimental Room of Android 12 since until now we have had 2 custom room for the A21S I hopeWith anxiously the Android 12 lineage for the A21S that solve errors that brought the Android 11 of Lineage as they are not supporting double SIM, in the full screen configuration section, some systems apps do not work properly as they areThe SIM administrator etc.

I speak Spanish and I am using translator so if something is wrong, do not blame me xD
 
Hi,
Just wondering if the "Material You" theming system is going to be implemented somewhere in future development of this ROM? I don't want to rush this implementation since kdrag0n's custom theme engine based on "monet" also works. (albeit with some modifications on the Magisk install package)

On a side note, this ROM is very stable compared to the 18.1 builds, haven't ran into any system failures yet unlike the other build, and the performance is quite good. Battery life is very good too, so it's a welcome upgrade. The camera is still stuck on a maximum amount of 12MP though, checked the Camera2 Probe app and the max it can go is 4000x3000 (12MP). I feel like the volume issue is slightly better on this build, albeit it still is somewhat low.

Keep doing the great work and thank you for the ROM!

Edit: I also saw that the Security Update is the November 2019 one. Are the future builds going to implement the latest security updates too?
 

Slxg

New member
Oct 23, 2021
2
0
Hi i have installed this rom already but cant figure out how to root it, its the first samsumg that i use if anyone can help me it will we great
 
grrcorps pls release an overclocked kernel pls, its a all time request
This is an experimental build, if you're using this to play games, please use the A11 build since it's more stable graphics-wise.
Even so, don't push the dev to finish the kernel, we should be thankful enough that these custom ROM builds are here in the first place. It can be hard to ensure everything is working well, especially when the hardware is overclocked. You wouldn't want your device to be hard-bricked because of a component failing from the overclock wouldn't you?

How to update to latest build without losing data , is it possible to simply flash rom only?
If you're upgrading from LOS 18.1, then it's highly suggested you format data, since things will break. If you're upgrading from an older build of LOS 19, then you can just flash the super.img file, without formatting data, but if things break then you will have to do so.
I'd highly suggest using Swift Backup to restore the app data when you restore the phone later.
 
Last edited:
Hey guys,
We've just opened a new Telegram group dedicated to development and helping others with our difficult little A21s. All are welcome, just bring some patience and respect for the good people helping out.
Mod Edit: TG link removed as per XDA Telegram Chat Rules. Let's please try to keep development discussion on XDA. Thank you.

-Regards: Badger50 FSM
 
Last edited by a moderator:

ayman9321

Member
Sep 13, 2021
11
0
AT&T Captivate
LineageOS
This is Android 12 ROM built from Google's AOSP sources released on October 4, 2021. The sources are based on the Lineage OS for A21s, with some modifications for Android 12.

NOT WORKING:
Samsung Proprietary Apps (Samsung Health, etc.)
VoLTE & VoWifi (Due to Samsung's twisted & wicked IMS service)
Auto Brightness (The phone doesn't have the sensors for it anyway)
ExFAT-formatted SD Card & OTG (there are legal problems associated with it.)

Working but buggy or not tested:
Audio volume is smaller than usual (WIP)
RIL starting up late on very rare occasions. If telephony doesn't work after reboot, please allow up to a minute.
Cell broadcast (emergency messages) is working in South Korea, but not tested in other countries

Working, but needs installation of additional apps:
NFC, Screen Sharing, Wi-FI Direct works, but needs installation of additional apps to work
Browser app is not installed by default. Installing Chrome from Google Pay is recommended
The search bar on the home launcher is useless until "Google" app or "Google Go" app is installed.
GPS & Location services don't work when GApps are not installed.
This ROM is not compatible with TWRP due to File-based encryption.
The ROM is NOT ROOTED by default. In order to root it, install Magisk from official source.

WORKING:
Everything else not mentioned above

p.s. ADVANTAGES WHEN COMPARED TO GSI Android 12:
Based on official release, whereas GSI is based on Beta 5
Working MTP
Working NFC
Working Cell Broadcast
Fixed Fingerprint removal bug
Camera works up to 48MP (GSI camera is fixed @ 12MP)
Double-tap-to-wake is working
Model number correctly matches with the actual device (shows SM-A217N instead of AOSP on ARM64)
Updated kernel graphics driver to the latest from ARM

1. BEFORE INSTALLING, make sure that you have UNLOCKED the bootloader of your device. This is a great guide that show how to do it. Also, the phone must be on the Stock ANDROID 11. If you are on binary U6/U7, please use the recovery tar for U6/U7.

2. Download the Lineage Recovery, ROM, Google Apps, ADB, and Odin. Unzip ADB and Odin to somewhere appropriate. Save the ROM images to the folder where you unzip ADB/Fastboot

- ROM:
- ROM: super.img. boot.img, dtbo.img, recovery(U5), recovery(U6), recovery(U7)
- ADB and Fastboot
- Odin
- Kernel Source

3. Enable USB Debugging on the device. Go to settings->About phone->Software information, and tap the build number several times until you see the notification that the devloper settings have been enabled. After enabling developer settings, go to settings->developer settings and check USB debugging.

4. Open Command Prompt, and type "cd <the path where you saved ADB to>".

5. On the phone, start holding down the Volume Up and Down keys. KEEP THE KEYS PRESSED UNTIL THE PHONE REBOOTS AFTER YOU TYPE THE COMMAND IN THE NEXT STEP.

6. While holding the keys down. type in the command "adb reboot recovery" on the command line.

7. After the phone reboots into download mode, press volume up to continue. Make sure that you see the "OEM LOCK: OFF" before continuing.

8. Open Odin. After opening Odin, click on AP, and select the Lineage Recovery Tar file that you downloaded in the step 2. After that, click on Start.

9. After a few seconds, if everything goes well, Odin should show "PASS" and the device should reboot into Lineage Recovery. After the device enters recovery, tap on Advanced->Enter fastboot. In some cases, touchscreen may be unresponsive or slow. If that happens, use Volume Keys to navigate and Power key to select. KEEP THE DEVICE CONNECTED TO THE COMPUTER.

10. After choosing Enter fastboot, type the following lines in the Command Prompt and press enter:
10-1. "fastboot flash boot boot.img" ---> this takes around 5~10 seconds.
10-2. "fastboot flash dtbo dtbo.img" ---> this takes around 5~10 seconds.
10-3. "fastboot flash super super.img" ---> this takes several minutes.

11. After the steps above are complete, choose Enter recovery. After the phone enters recovery, choose Apply update->Apply from ADB

12. After choosing Apply from ADB, type "adb sideload <the path where you saved Google apps to>" on the Command Prompt and press enter.

13. After about 1-2 minutes, installation should be complete. Again, ADB might show "Failed to read command" errors. As long as the phone says that it was success, this is no problem. After installing, click on the "back" icon on the top of the phone.

14. Choose Factory reset->Format data/factory reset, and reboot the device.

15. If everything went well, the phone should reboot into Android 12 AOSP. Set up the device and Enjoy!

Changelogs:
2021-10-19: Initial Release (AOSP 12.0.0_r2)
2021-10-21: Updated to AOSP 12.0.0_r3
2021-11-03: Updated to AOSP 12.0.0_r13 & added U7 support
2021-11-22: Fixed graphics issue, fixed battery issue (when battery level sometimes dropped by more than 2-3% on reboot), and fixed force crash when choosing Battery Manager in Settings
2021-11-25: Updated to AOSP 12.0.0_r15, changed battery mechanism to make it more accurate
2021-11-27: Kernel GPU driver update (R33P0 -> R34P0), LTE is now enabled by default

SCREENSHOTS:
View attachment 5436707View attachment 5436709View attachment 5436711View attachment 5436713View attachment 5436731
the last update 27-11-2021 changelog is not working the phone is restarting everytime can anyone help me to solve this problem, thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi i try to flash this rom many times and everytime i stuck on warning screen and phone doesn't boot... can you give me a little help? Thanks
    Warning Screen.jpeg
  • 3
    WARNING + DISCLAIMER:
    By installing this custom ROM, you are VOIDING your warranty. Also, installation of this ROM WILL TRIP KNOX PERMANENTLY, and render apps such as Samsung Health, Private Folder, (+ any apps that depend on KNOX) useless until you get the phone's motherboard replaced at the Samsung C/S center.
    Although this software is released in the hope that it will be useful, there is NO GUARANTEE that installing this will not cause any harm to your device. I TAKE NO RESPONSIBILITY FOR ANY BRICKED DEVICES, DAMAGED HARDWARE, OR ANY OTHER PROBLEMS CAUSED BY THIS ROM. You are using this ROM at YOUR OWN RISK. I strongly recommend that you DO NOT continue to the steps below UNLESS YOU FULLY UNDERSTAND WHAT YOU ARE DOING.
    While this ROM has been tested with South Korean variant of Galaxy A21s (SM-A217N, CSC changed from LUC->SKC), please keep in mind that it hasn't been tested on any other variant (such as A217F, A217M.)
    I would like to express special thanks to all the developers who contributed to the LineageOS port for Galaxy Tab S6 Lite + all the other developers who contributed to sepolicy & hardware parts for Samsung SLSI (Exynos) devices. Porting LineageOS to A21s would have been much harder without them.

    This is Android 12 ROM built from Google's AOSP sources released on October 4, 2021. The sources are based on the Lineage OS for A21s, with some modifications for Android 12.

    NOT WORKING:
    Samsung Proprietary Apps (Samsung Health, etc.)
    VoLTE & VoWifi (Due to Samsung's twisted & wicked IMS service)
    Auto Brightness (The phone doesn't have the sensors for it anyway)
    ExFAT-formatted SD Card & OTG (there are legal problems associated with it.)

    Working but buggy or not tested:
    Audio volume is smaller than usual (WIP)
    RIL starting up late on very rare occasions. If telephony doesn't work after reboot, please allow up to a minute.
    Cell broadcast (emergency messages) is working in South Korea, but not tested in other countries

    Working, but needs installation of additional apps:
    NFC, Screen Sharing, Wi-FI Direct works, but needs installation of additional apps to work
    Browser app is not installed by default. Installing Firefox or Chrome from Google Play is recommended
    GPS & Location services don't work when GApps are not installed.
    This ROM is not compatible with TWRP due to File-based encryption.
    The ROM is NOT ROOTED by default. In order to root it, install Magisk from official source.

    WORKING:
    Everything else not mentioned above

    p.s. ADVANTAGES WHEN COMPARED TO GSI Android 12:
    Based on official release, whereas GSI is based on Beta 5
    Working MTP
    Working NFC
    Working Cell Broadcast
    Fixed Fingerprint removal bug
    Camera works up to 48MP (GSI camera is fixed @ 12MP)
    Double-tap-to-wake is working
    Model number correctly matches with the actual device (shows SM-A217N instead of AOSP on ARM64)
    Updated kernel graphics driver to the latest from ARM

    1. BEFORE INSTALLING, make sure that you have UNLOCKED the bootloader of your device. This is a great guide that show how to do it. Also, the phone must be on the Stock ANDROID 11. If you are on binary U6/U7, please use the recovery tar for U6/U7.

    2. Download the Lineage Recovery, ROM, Google Apps, ADB, and Odin. Unzip ADB and Odin to somewhere appropriate. Save the ROM images to the folder where you unzip ADB/Fastboot

    - ROM: super.img. boot.img, dtbo.img, recovery(U5), recovery(U6), recovery(U7)
    - ADB and Fastboot
    - Odin
    - Kernel Source
    - Google Apps(Flame)

    WARNING: A BUG WHICH CAN POTENTIALLY LEAD TO BOOT LOOP ON U7 WAS FOUND. IF YOU ARE ON U7, PLEASE DO NOT FLASH THIS ROM UNTIL THIS IS FIXED.

    3. Enable USB Debugging on the device. Go to settings->About phone->Software information, and tap the build number several times until you see the notification that the devloper settings have been enabled. After enabling developer settings, go to settings->developer settings and check USB debugging.

    4. Open Command Prompt, and type "cd <the path where you saved ADB to>".

    5. On the phone, start holding down the Volume Up and Down keys. KEEP THE KEYS PRESSED UNTIL THE PHONE REBOOTS AFTER YOU TYPE THE COMMAND IN THE NEXT STEP.

    6. While holding the keys down. type in the command "adb reboot recovery" on the command line.

    7. After the phone reboots into download mode, press volume up to continue. Make sure that you see the "OEM LOCK: OFF" before continuing.

    8. Open Odin. After opening Odin, click on AP, and select the Lineage Recovery Tar file that you downloaded in the step 2. After that, click on Start.

    9. After a few seconds, if everything goes well, Odin should show "PASS" and the device should reboot into Lineage Recovery. After the device enters recovery, tap on Advanced->Enter fastboot. In some cases, touchscreen may be unresponsive or slow. If that happens, use Volume Keys to navigate and Power key to select. KEEP THE DEVICE CONNECTED TO THE COMPUTER.

    10. After choosing Enter fastboot, type the following lines in the Command Prompt and press enter:
    10-1. "fastboot flash boot boot.img" ---> this takes around 5~10 seconds.
    10-2. "fastboot flash dtbo dtbo.img" ---> this takes around 5~10 seconds.
    10-3. "fastboot flash super super.img" ---> this takes several minutes.

    11. After the steps above are complete, choose Enter recovery. After the phone enters recovery, choose Apply update->Apply from ADB

    12. After choosing Apply from ADB, type "adb sideload <the path where you saved Google apps to>" on the Command Prompt and press enter.

    13. After about 1-2 minutes, installation should be complete. Again, ADB might show "Failed to read command" errors. As long as the phone says that it was success, this is no problem. After installing, click on the "back" icon on the top of the phone.

    14. Choose Factory reset->Format data/factory reset, and reboot the device.

    15. If everything went well, the phone should reboot into Android 12 AOSP. Set up the device and Enjoy!

    Changelogs:
    2021-10-19: Initial Release (AOSP 12.0.0_r2)
    2021-10-21: Updated to AOSP 12.0.0_r3
    2021-11-03: Updated to AOSP 12.0.0_r13 & added U7 support
    2021-11-22: Fixed graphics issue, fixed battery issue (when battery level sometimes dropped by more than 2-3% on reboot), and fixed force crash when choosing Battery Manager in Settings
    2021-11-25: Updated to AOSP 12.0.0_r15, changed battery mechanism to make it more accurate
    2021-11-27: Kernel GPU driver update (R33P0 -> R34P0), LTE is now enabled by default
    2021-12-10: Updated to AOSP 12.0.0_r16, removed the annoying search box widget on the home screen
    2022-01-01: EGL graphics driver update to improve performance, minor bug fixes related to some apps.

    SCREENSHOTS:
    Screenshot_20211019-212712.png
    Screenshot_20211019-212725.png
    Screenshot_20211019-212738.png
    Screenshot_20211019-212819.png
    Screenshot_20211019-221549.png
    Screenshot_20220102-070616.png
    2
    Thread locked and download links removed due to lack of kernel sources. @grccorps please read your PM to get the thread reopened.

    Cheers,
    garylawwd - Forum Moderator
    1
    This is great!

    Do you working on this ROM for A21s, or you working on LineageOS 18 A11, paralel with this ROM?
    Yes. I am also working on Lineage 18. Actually, the source code for this ROM is based on the source code for the Lineage 18. (of course, along with some modifications)
    1
    i got this when type and enter "fastboot flash boot boot.img"


    C:\Users\nussa\Downloads\platform-tools>fastboot flash boot boot.img
    < waiting for any device >

    nothing showing in phone log
    1
    I'm really sorry, but it is not possible to adb sideload images.
    I am a bit sad because gaming time screen is flickering... Grrcorps pls check in your phone