yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
I hope we can get a successful root to this phone before the end of 2020. :)
[Samsung Galaxy A21s Questions & Answers] djfbawden:
But it did trip knox !

---------- Post added at 09:35 AM ---------- Previous post was at 09:27 AM ----------

Me 2
[Samsung Galaxy A21s Questions & Answers] p4rot:
Any one these methods works?

https://www.thenextdroid.com/root-samsung-galaxy-a21-without-pc-magisk/
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
I started the first two steps when I first got my A21S. You have to download so many games and buls#t related apps that it didn't seem safe to have to register your email address with these different companies just to gain root access. I simply didn't work for me, however someone with more patience may go farther.
[Samsung Galaxy A21s Questions & Answers] p4rot:
Ok I will wait for proper root
[Samsung Galaxy A21s Questions & Answers] Thestyledx:
No news about root or custom recovery?
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
I have not heard anything. Starting to wonder if I got the wrong phone.
[Samsung Galaxy A21s Questions & Answers] theqtest:
feel same
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
I'm usually pretty good about knowing what device is rooted. When my other phone bit the dust I needed a replacement quickly, so many Samsung A models to choose from. I thought this was a good phone for my needs and for the value, but I failed to review if it could be rooted. Actually I saw post about it being rooted but I see it turned out to no be legit.

Root please cone soon
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Has anyone else seen method? Type this into a browser search engine:

How To Root Samsung Galaxy A21s Without TWRP
[Samsung Galaxy A21s Questions & Answers] borksek:
This sounds pretty legit. https://techorfy.com/root-samsung-galaxy-a21s/
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Are you gong to try it?

Try it and et us know! :)
[Samsung Galaxy A21s Questions & Answers] thatha:
This method fail, boot loop
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
:(

Is there a Samsung A series to have a known working root?
[Samsung Galaxy A21s Questions & Answers] borksek:
I don't usually root i just wait for custom roms before I root so I won't try i think
[Samsung Galaxy A21s Questions & Answers] pacurarelvis:
Hi you change your phone? You dont mainten j3?
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
I think I need to look at other phone options if I want root and custom ROM.
[Samsung Galaxy A21s Questions & Answers] borksek:
This device is new. Samsung devices have best possibility for roms. If you wait a bit and use stock rom it will pay off.
[Samsung Galaxy A21s Questions & Answers] borksek:
The phone is 4 years old there's nothing more you can do with it. I stopped maintaining j3 3 years ago.

---------- Post added at 07:28 PM ---------- Previous post was at 07:27 PM ----------

Cheers!
[Samsung Galaxy A21s Questions & Answers] pacurarelvis:
Wath do you think will have root and custom on this phone?
[Samsung Galaxy A21s Questions & Answers] thatha:
Could anyone apply this root method for A21S and confirm if it works ?

https://www.youtube.com/watch?v=oZD2jkkKX_E
[Samsung Galaxy A21s Questions & Answers] Wer99:
I tested this method Thatha, but did not work. Even manually installing SuperSu files on System.img and flashing it, ignoring the Boot.img (without flashing/patch ) I still getting boot loop.

Any update?
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Every method I have seen to root the A21S has proven to be untrue.
[Samsung Galaxy A21s Questions & Answers] Wer99:
Maybe next 6 months or a 1yr... The Magisk boot patch works, but it trips the Knox and we get boot loop.

I think we need a TWRP and a custom Kernel which having Magisk inside on it, to bypass the Knox trip. Some people did it on S10 and it worked.
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
That’s exactly what I was thinking.

We need a way to bypass the KNOX like on other Samsung phones S8, S8+, S9, S9+, S10, S10+, S20 etc.
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Thank you & Congrats on the root!

This device will serve as one of the most difficult of devices to root in my Samsung phone history. I take pause and read and re-read your instructions.

Can I just send my phone to you to do this for a fee?

LOL
[Samsung Galaxy A21s Questions & Answers] Wer99:
Thank you Pamela. Of course you can! :D

Samsung is making harder for people to root their new phones, it needs time and patience to find a method. I found this method searching for another variant of this phone, and it worked! Read carefully and have fun with your root.
[Samsung Galaxy A21s Questions & Answers] thatha:
You are superman, Wer99 ! Thank you very much. I want to root my phone but maybe I wait for a more simple method. I'm not familiar with Linux. Thank you anyay.
[Samsung Galaxy A21s Questions & Answers] thatha:
Could you share your pre-rooted rom so that we can flash it via odin
[Samsung Galaxy A21s Questions & Answers] Wer99:
thenk you Thatha. Nice, verdor.img and odm.img files/partition is merely the same on our phones, so I think it'll work. Download it here (It's 3.5GB .tar file. Just flash.) and enable the OEM Unlock, flash the 2 vbmeta.tar from the "Flash it" folder, maybe you don't need the boot.tar. Wait while the phone reboots 2 times, maybe it will give you an error asking to wipe data, wipe and wait it boots (if didn't, wipe it manually). If it's looping, then flash the boot.tar and the vbmeta.tar and try again.

Tell me if it worked. thenks.
[Samsung Galaxy A21s Questions & Answers] theqtest:
is it for 10 aosp? i want to try make a lineageOS using ur instruction
[Samsung Galaxy A21s Questions & Answers] Wer99:
I'm sorry I not sure what you mean, but If you meant Android 10, yes it is. It's a super.img customized ROM.

You can make but I not sure if it will work. I tested 4 ROMs (CAOS, Descendant X, BlissROMs and a ROM created by nippon.) but only AOSP worked. But if want, you can unpack this super.img and switch the system.img to a LineageOS .img.

Here is a LineageOS created by AndyYan, but according this site, it's unofficial Android 10. Give a try.

Only choose the XXXXX_arm64_bvS.img.xz, because this phone uses the A/B partition system according to Magisk.
[Samsung Galaxy A21s Questions & Answers] theqtest:
It works! Great!
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Awesome!

So that makes 2 people on the thread with a properly rooted A21S!

Its time for me to try. :)
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
So if I download the files mentioned above, and flash them via Odin it will give me a rooted A21S?
[Samsung Galaxy A21s Questions & Answers] Wer99:
Ohh Great! Have fun.

---------- Post added at 08:55 PM ---------- Previous post was at 08:53 PM ----------

Yes it's a pre-rooted ROM. Just unlock the OEM and flash it on the AP, and finally flash the 2 vbmeta.tar to enable the system partition editing (using root explorer) , so you can edit whatever you want.
[Samsung Galaxy A21s Questions & Answers] mokie88888:
A21s root

I am the YouTube "root ing".so many people cant root it that other people tell me from XDA,I think and give a hint:All method of A21s root is the same before model but the impotanot is how and different way to into MAGISK RECOVERY!think about it and my root file only 20~30mb
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Oh no ,look what I did!

Hello Good People,

I was so excited to try this and now I have jacked up my device.

I already had OEM unlocked enabled.

I flashed the AOSP.super.tar file in Odin.

All seemed to be going good tell in failed at the end. I got the bluish-green screen with the white triangle. In red letterings a message appears at the top of the screen "Custom Binary(SUPER) Blocked by OEM Lock"

I could not get out of this screen because every force reboot took me back to the same screen. I was forced to flash the vbmeta_AP.tar and vbmeta_BL .tar file but not the device is in a constant boot loop.:(

Can someone please help? :angel:

T.I.A.
[Samsung Galaxy A21s Questions & Answers] thatha:
What do you mean ? Do you have another way to root ? If so, please share it

---------- Post added at 02:23 AM ---------- Previous post was at 02:22 AM ----------

Have you unlocked bootloader ? Flash your stock rom and unlock bootloader first
[Samsung Galaxy A21s Questions & Answers] eklipz3:
Root worked for me.
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Yes I believe the bootloader was unlocked because the OEM unlock was toggled on in the Developers Menu.

I will flash the stock rom and try the process again.

Will the OEM force me to wait a week to install or should I be good to go?

Thanks
[Samsung Galaxy A21s Questions & Answers] theqtest:
I've flashed LineageOS using tutorial, and it's not that good: bluetooth and wifi modules doesn't works; Gapps unable to install(or i too dumb for it).
[Samsung Galaxy A21s Questions & Answers] Wer99:
Toggle the OEM when unlock, reboot to the bootloader then a 2 option should appear like "Volume up long press : Device unlock mode". Just follow the instructions and unlock.

You probably did not do that.

---------- Post added at 11:38 AM ---------- Previous post was at 11:14 AM ----------

The stock rom with the Magisk it's better then use a ROMs not fully compatible with this phone. So if you have another method/file, then share with us! It will be great if it's easy then my tutorial.

---------- Post added at 12:01 PM ---------- Previous post was at 11:38 AM ----------

Sometime the system blocks you from flashing files even with the OEM unlocked. So look at "KG STATE" on the top of your bootloader, it should be "Checking" if so it's unlocked and you can flash your files, but if it's "prenormal" then the system blocked the bootloader. You need to flash your stock rom, reboot to the bootloader, Lock the OEM, reboot to your system and toggle disable/re-enable the OEM Unlock then reboot to the bootloader and unlock the OEM.
[Samsung Galaxy A21s Questions & Answers] theqtest:
i flashed Pixel Experience using tutorial by Wer99. there only one problem i found: nfc dont works. At settings it's still Phh-Treble. looks not that good as real pixel experience, but not that bad how unable nfc
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
First off I want to give a big thanks for the support, and all the positive and quick responses. I feel really good about being a part of this thread with so many helpful and friendly people.

I will get the stock rom flashed and follow your advise to the letter. I will get this device rooted!

Thanks:cowboy:
[Samsung Galaxy A21s Questions & Answers] Wer99:
I thank you Pamela for your kindly words. :o If needing help in the process just call.
[Samsung Galaxy A21s Questions & Answers] Wer99:
See this post as reference https://xdaforums.com/pixel/how-to/guide-how-to-enable-miracast-pixel-t3888780

He enabled Miracast replacing some libraries in the lib folder. Thinking this way, maybe your phone is missing these files (the NFC .so files), or the files is there, but it is not supporting your phone..
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Hello again Good People,

I'm back again and making some progress, almost there, unlocking the bootlader was the step I missed.

So I am trying to unlock the bootloader and I seem to get stuck at some point after inputing:

fastboot oem unlock

The cursor blinks and blinks.

Do I simply press the volume up button to continue? Do I press and hold?

T.I.A.
[Samsung Galaxy A21s Questions & Answers] thatha:
Follow the instructions here:

https://xdaforums.com/galaxy-a21s/development/how-to-unlock-bootloader-t4131881
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Wow, thank you! :D
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
I got it working!

The A21s is running your custom ROM Wer99!

Huge THANK YOU, I appreciate you, and your effort, and support. As a result we have a root.

Curious as to what this custom ROM is you cooked up for us? Is this really Android 11?

I will use an app called Pocketshare to move apk files etc to the device.

No luck with using Smart Switch to do a data sync with another phone.

THANK YOU!
[Samsung Galaxy A21s Questions & Answers] Wer99:
You are welcome Pamela. I'm sorry for the delay. Yes it's Android 11! Thought this was Android 10.

This ROM is great but have some bugs. I'll try to test another. If all is working (like USB sharing) I share here the .tar file. Thank you for sharing your results!
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Wer99,

Your work is awesome, it got us a root in very few steps. You have created good movement on the forum and in this thread. Others members may try others ROMs with the hope of everyone sharing the results. We all want the same thing - a functioning system for our brand new A21s. This brings some much needed excitement to us looking for root!

Thank you :)
[Samsung Galaxy A21s Questions & Answers] Adrian7372:
still nothing? i tried to patch the ap file but its in boot loop :/
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Did you try flashing the 2nd set of vbmete.tar files?
[Samsung Galaxy A21s Questions & Answers] Wer99:
If you created a super.tar/.img, you might did something wrong like wrong size in bytes, it causes boot loop. Or if your are talking about the 2 vbmeta, you can ignore it if you want, but try to flash the boot.tar.

Let me know if still boot loop.
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Hello Good People,

I am reading every post of this thread. While this is a learning curve for me it is still very interesting.

I am curious as to how one would single out a possible ROM for installing on our A21s.

What would be the underlining qualifications?

Thanks!
[Samsung Galaxy A21s Questions & Answers] Wer99:
Hello Pamela!

According to source.android.com.

"A generic system image (GSI) is a system image (This AOSP) with adjusted configurations for Android devices. It's considered a pure Android implementation with unmodified Android Open Source Project (AOSP) code that any Android device running Android 8.1 or higher can run successfully." thenks to that we can use this ROMs!

You can learn more (https://source.android.com/setup/build/gsi).

---------- Post added at 02:01 AM ---------- Previous post was at 01:59 AM ----------

Found an easy method to install a rooted GSI or any GSI ROMs through fastboot:

First backup your data.

Download the AOSP GSI Image through this site, click at Assets and Download only the arm64-ab-xxxxxxx.img.xz files. (A/B (Seamless) Partition - AMR64.)

(Recommended downloading system-quack-arm64-ab-gapps.img.xz with GAPPS)

Unzip it, rename to system.img and move to your adb location like: "C:\Program Files (x86)\Minimal ADB and Fastboot" . Recommended downloading and installing Minimal ADB and Fastboot.

Make sure you unlocked your OEM, if not follow this tutorial.

Boot to your bootloader and use this code:

fastboot devices (Make sure your device is there as XXXXXXXXX device)

Flash your GSI system.img using this code:

fastboot flash system system.img

Clear your userdata and cache: (But if already flashed the super.tar no need to clear your data.)

fastboot erase userdata

fastboot erase cache

GSI Image List.

https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Hello and Thanks Wer99 for the response with the links. This is a lot of good info to know. I will give it a try.

Curious to know how you backup your data before trying a new ROM?

Are you using something like Titanium Backup to an SD card, and than doing a restore?

I ask because I have installed several apps with the hop of making your ROM my daily driver. So I need a quick way to restore my setup without spending time re-installing apps one at a time.

Thanks
[Samsung Galaxy A21s Questions & Answers] thatha:
We have a recovery here, does anyone try it ?

https://xdaforums.com/galaxy-a21s/how-to/pbrp-samsung-galaxy-a21s-t4192023
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Nice find thatha!

Are you rockin Wer99's rooted ROM?

I'll flash the recovery but first I need to figure out the best way to backup my current setup.

Thanks
[Samsung Galaxy A21s Questions & Answers] Wer99:
Hello Pamela! I do everything manually. Download the Root Explorer, install and find this folder /data/user/0/ (where is all your apps data), hold the folder and select Zip This Folder, and also zip the folder /data/app/ (where is all your apps)

Select Go to Zip when you finished.

Or you can do it using adb, but you need more then 50GB+ available. This backup all your userdata partition.

Open your adb and use these codes:

adb shell

su

dd if=/dev/block/platform/12100000.dwmmc0/by-name/userdata of=/storage/emulated/0/userdata (preferable using sdcard 64 or 128GB as path)

To restore your userdata partition, use this code:

dd=if=/storage/emulated/0/userdata of=/dev/block/platform/12100000.dwmmc0/by-name/userdata

And I think you can open this partition using DiskInternals on your PC.
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Wer99,

Thank you so much, this is really good tip on how to backup apps and app data. I have been doing it the long way all these years but this new method you have described is the way to go!

Much appreciated :)

---------- Post added at 12:31 PM ---------- Previous post was at 12:26 PM ----------

If I flash the PBRP_3.0.0-A21s-UNOFFICIAL.tar recovery file will I lose any data on my phone?

When flashing this file in Odin do I put the file in the AP section?

Thanks
[Samsung Galaxy A21s Questions & Answers] thatha:
Flashing recovery not lose data but after flashing recovery you have to format data and it loses data. Wait for new version because Wer99 has tested and it showed some errors
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Thanks Thatha, good call on waiting to install the recovery.

Much appreciated. :)
[Samsung Galaxy A21s Questions & Answers] Wer99:
thenks you Pamela! I also use the SyncMe Wireless app to sync data to PC automatically.

Set permissions 777 on the data/user/0 and /data/app (Doing so, the app can access/read these folders), and select it to backup, so it will backup all the data at a scheduled time to your PC. Need to configure your PC to be show on the Network. So if you forgot to backup your data this app can save you.
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Thank you again Wer99,

Everyone here has been very supportive and kind . Thanks for sharing your knowledge as it is much appreciated. :)
[Samsung Galaxy A21s Questions & Answers] Wer99:
thenk you so much Pamela! I hope it can help.

---------- Post added at 02:35 AM ---------- Previous post was at 01:50 AM ----------

Post updated!

Now you can install Android 10 without making a super.tar, just flash it using Odin. All tested, everything is working (but USB sharing, only ADB is working.) and it's more stable and faster. See Screenshots and test it out!
[Samsung Galaxy A21s Questions & Answers] eklipz3:
Thanks ? Wer99, installed and working smooth so far. Big ups to you.
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Awesome, Thank you Wer99!

Wer99 for President! :)
[Samsung Galaxy A21s Questions & Answers] thatha:
After installing GSI by this method, how to root it ?
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
thatha,

After the install I think it would already be rooted.

When you finished did you reboot the device:

fastboot reboot
[Samsung Galaxy A21s Questions & Answers] Wer99:
Thank you both! Have fun.

---------- Post added at 02:19 PM ---------- Previous post was at 02:13 PM ----------

Exactly it's pre-rooted. But I recommend the Android 10 GSI, if you want to upgrade to 11 you don't need to wipe your data.
[Samsung Galaxy A21s Questions & Answers] thatha:
I face an issue: MTP not working
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
I think right now only the ADB DEBUGGING is working.
[Samsung Galaxy A21s Questions & Answers] Wer99:
Me too, I'm trying to fix this issue, but no luck. Every GSI I test MTP does not work.
[Samsung Galaxy A21s Questions & Answers] thatha:
Maybe it't not due to GSI, it's kernel issue. Could you make some fix with kernel ?
[Samsung Galaxy A21s Questions & Answers] Wer99:
I'm working on this, and if I found the error I post here. I read some forums some people is having the same problem with some GSI, it seems the problem is, when you connect the USB cable, the USB Preferences Notification does not change from Connected device to This device, instead it keeps charging.
[Samsung Galaxy A21s Questions & Answers] eklipz3:
I haven't checked, but I will check later and report back.
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Hello Good People,

Thank you Wer99 for the ROM which gave our devices root!

I have noticed a message to reformat the SD CARD before it sees the content, this did not happen in the Android 11 ROM.

Thank you All :)
[Samsung Galaxy A21s Questions & Answers] borksek:
Hello, could you make a telegram for this phone so people can communicate and ask for help? Cheers :)
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Hello Good People,

Just checking in to see if there was any word on installing a recovery on our devices?

Thank you!
[Samsung Galaxy A21s Questions & Answers] thatha:
Still not working recovery
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Thanks thatha,

I will wait patiently for a working recovery.

By the way how is your device doing?

---------- Post added at 09:59 AM ---------- Previous post was at 09:59 AM ----------

Thanks thatha,

I will wait patiently for a working recovery.

By the way how is your device doing?
[Samsung Galaxy A21s Questions & Answers] thatha:
Working well with gsi but MTP not works, I can't copy files from laptop to phone
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
I use an android app called "Pocketshare". This turns your phone into a FTP server that you can upload / download from. On your laptop you'll need some kind of program to access ftp as if you going to upload a website or something online.

You'll be happy with it as it works very good for transferring files from your device to laptop, and laptop to device.
[Samsung Galaxy A21s Questions & Answers] thatha:
I can't connect by this app
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Do you have Pocketshare installed on your phone?

Did you setup Pocketshare with a username and password?

Did you give Pocketshare a FTP port access of 8081?

What program on your laptop are you using to access FTP?

What IP address is your phone providing from within Pocketshare?
[Samsung Galaxy A21s Questions & Answers] thatha:
No. I open pocket share and see address: 10.0.0.187:8081. I input this address in chrome of laptop but it can't connect
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Try:

ftp://10.0.0.187:8081

Make sure to add the "ftp://" in front of the ip address.
[Samsung Galaxy A21s Questions & Answers] thatha:
still no luck
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
From within Pocketshare, did you create a username and password to access the FTP site?

Is your phone and laptop connected to same home wifi?

Try to locate a free ftp program for your laptop so that when you connect you can upload and download files.
[Samsung Galaxy A21s Questions & Answers] thatha:
We have recovery already

https://www.mediafire.com/file/pfe5oob2fv0unu9/RECOVERY.tar/file
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Very nice find!

So we just flash this in Odin via the AP section?

Thanks
[Samsung Galaxy A21s Questions & Answers] thatha:
Yes. But after installing recovery I can't boot to system. It always boots to recovery
[Samsung Galaxy A21s Questions & Answers] PamelaGirl:
Ummm... that is not going to work for me.

How are you able to use the phone if it only reboots into recovery?

Rooting has become hard these days with the added Samsung Knox related security. I remember the process was easy, and it was fun! Now its nerve racking. I strongly feel this will be my last Samsung phone.