yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A21s Guides, News, & Discussion] Olep84:
Hi,

I have a big problem, and hope anyone can help me.

I tried the above method, but now I stock in a boot loop, I can acces recovery menu (volume +) but not be able to flash stock firmware.

How can I flash stock firmware in recovery, or is there a way to come in to download mode?

data swipe is no problem, please help

View attachment 5301431
[Samsung Galaxy A21s Guides, News, & Discussion] grccorps:
You cannot flash firmware in stock recovery. The only thing it allows you to do is wipe data.

If you want to flash stock firmware, you need to go to download mode and use Odin.

Are you having problems after flashing odin? You need to wipe data once after flashing patched firmware.
[Samsung Galaxy A21s Guides, News, & Discussion] Olep84:
Thanks for information,

I was now able to get into download mode, and flashed stock FW with odin.

and the device is booting :)

I think my mistake was extract by winrar and not 7zip.

I try again ;)
[Samsung Galaxy A21s Guides, News, & Discussion] Olep84:
OK, I stock again by that screen....

flashed back to stock, and do all the named steps again.

what is my mistake? I patched the AP . tar with the special Magisk, copy with ADB back to PC and flash it with Odin.

Do I need something to do with the magisk-patched file before flashing??

I used the BL, CSC, and CP form Stock, and the AP patched magisk
[Samsung Galaxy A21s Guides, News, & Discussion] thatha:
What do you want to do ? If you want to root your phone, just patch the boot.img and flash it via odin in AP slot
[Samsung Galaxy A21s Guides, News, & Discussion] Olep84:
How do I patch boot.img?

Extract, copy to phone and use magisk from this post?

the U5 boot.img linked above, can not be used on my device, Odin response fail when try to flash as AP

Sorry I do not have much experience with Android, I like to use the phone in my car with AA Mirror and therefore I need root to work properly.

Thanks
[Samsung Galaxy A21s Guides, News, & Discussion] thatha:
https://xdaforums.com/t/sharing-how-to-root-a21s-stock-rom-with-magisk.4272095/
[Samsung Galaxy A21s Guides, News, & Discussion] grccorps:
You have followed the correct instructions from official Magisk website. Considering that the volume up to reboot recovery worked, the modification that I made to Magiskinit is working, but something else is causing boot loop. What is your device's model no. and what firmware does it have? I think this might be another problem that needs further examination.
[Samsung Galaxy A21s Guides, News, & Discussion] grccorps:
Could you please upload the boot.img from the AP file that you patched with magisk? This might give a better look into this problem.
[Samsung Galaxy A21s Guides, News, & Discussion] Olep84:
thanks.... that worked, the phone booted with the patched boot.tar :)
[Samsung Galaxy A21s Guides, News, & Discussion] prestigexda:
does anyone know if this will work on a BTU galaxy a21s?, its just a retail one i put a sim in from uk and i really wanna root it and this is my only phone
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
for what specific reason , you want to adb pull ? . i mean i had a trouble like you when im trying to pull my Patched AP file from my phone .

im using windows 10 OS

i fix it by just simply run cmd as adminitrator .
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
i just fix it by going to download mode .. and flash the whole firmware
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Yes it is working without root
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Oh nice you are awesome by the way haha....
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Just don't update your magisk with official ones because it will brick the phone, only update it with my modified Magisk manager.
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
I still don't get why you need adb pull.

Patched AP may be copied to computer by normal file manager, for me over my home Wi-Fi.

I did it several times.

Why you need scrcpy?

During all my rootings I never used it.

For me it is feature for time when phone works in regular way.

Right.

First thing for me would be to reach download mode and flash stock ROM with data wipe to get fid of all crap which is in it.

AFAIK phone will go down when you press Vol_Down + Power buttons during 7 seconds.

Safemode is described here for example:

Enable safe mode ON and OFF in Samsung Galaxy M12 | SafeMode Wiki

As you know, Samsung Galaxy M12 are most popular and powerful in the world today..…

safemodewiki.com

------------- cut begin ------------

How to Turn ON safe mode in Samsung Galaxy M12:​

Here are some steps that you have to follow:

Turn Off your Samsung Galaxy M12 .

Press and Hold Power Button.

Release Power button and hold Volume Down Key.

Hold Volume Down Key.

Release Volume Down key and unlock your Samsung Galaxy M12 .

------------- cut end ----------------

You know what is the worst thing?

If you are in this situation and you don't have Developer options enabled.

That may be difficult to bypass.

Myself I could not do it, phone landed in service when I tried to flash ROM to phone without developer options nor USB debug enabled.

My stupidity, I pressed Enter without thinking, because I was that experienced that I didn't have to think.

Hope something of the above will help.

For the beginning - slow down, go for a walk.

It has it's purpose.

You will have more oxygen in your brain, you will get rid from initial panic and stress, you will think better.

This was the very first advice I've learnt during my life in IT.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Updated. i fix the phone ~blah blah blah~ , run and install magisk on my phone got 92546e8a installed .

and just want to update to V23 Official , turns on you can install V23 and run BUT DONT INSTALLED 23.0 .

if you cant understand what im telling you , look at the picture i install V23 as the magisk Manager but doesnt Installed . Installed is still 92546e8a
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
I think to have it in sync it you have to patch AP with corresponding version of Magisk.

With direct install I lost root twice, don't know why, and I don't plan to try more direct installs.

This is only my opinion and kind of feelings which I trust.

I've learnt to trust my feelings however sometimes I act against them, but I know it will not be too wise move.

Sometimes I am lucky, sometimes not then I blame myself.

I would uninstall Magisk apk and install new, rather without reboot, but don't blame me if it will go to hell.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
yes , i knew the risk but if i may ask . so on canary the magisk module IS NOT ONLINE so if i install V23 Magisk Manager then i can browse Module online , is it have any impact whatsoever ? is the module still function like it should ?
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
Well.

In general search results which come up are filtered by version working with particular application.

You use different - you will get different packages then there is none warranty they will work when you revert to previous version of apk.

I would install V23 and use it for search, download what I want then revert apk and try install from local storage.

Such action should not be too risky but one never knows final result unless it comes.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Bro Now I can confirm that I should continue The latest magisk canary build compilation. What you people say ?????????
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Hello bro this is off topic but can i ask you 1 thing if you don't mind.

what about Lineage OS; if we are successful to compile the Lineage OS Custom rom, will you use it.

see lineage os has more advantages over stock rom, so i want your opinion.....
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
I will not tell you a word.

So far I didn't use custom OS-es.

They always had something missing or not working and I don't have time to follow related threads nor test all changes.

I decided to ignore this possibility.

Factory ROM`s give enough headaches during rooting then tuning rooted phone.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Yes , sorry about that . You should CONTINUE the latest magisk canary build. Because i can only root my phone with it , i highely appreciate it since it is the only way to root with magisk for me.

BTW

Me using the magisk V23 is just to get magisk module online .

I really apreciate what you did @sahil_bhandari .
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Thank you for the guide.

If i may ask , when exactly to do this steps ?. After force restart on loop ? Or in the samsung warning logo and stuff.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
They site says : " it is highly recommend to use adb pull when pulling files from your phone , Do not use TMP as its known that TMP can corrupt large files "

TMP means drag and drop files / copying files .

Fufu.. its MTP Media Transfer Protocol
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
I use adb pull to pull files instead of TMP
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
1.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Is safety net is responsible for the problem above ?
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
When you start the phone.

After some tries I was able to shutdown mine despite permanent bootloop.

Then after some tries I succeeded to start it in safe mode.

I think you talk about MTP, Media Transfer Protocol.

Briefly:

I didn't dig how they differ, but generally phone may be connected to computer in two ways, using MTP or as storage.

It may be configured somewhere.

When you connect it as storage you may use any file manager to copy files.

(One which can handle big files).

Even drag and drop possibly will behave differently in both cases however in invisible way.

You may try both ways and compare copied files to know if they differ.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Ha ? Mine wont shut even after many tries. How ? Is it samsung Galaxy M12 ? Other model in similar ?
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
This problem I had on Galaxy A41.

Q:

Holding Vol-Down together with Power for 10+ seconds doesn't work?

Maybe not first time but for me finally it worked.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Here I have Compiled A Latest Version of Magisk Manager; But it is not Tested Yet if it works fine Report Me.

Thank you :p
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Its just force restart the device not shutdown it.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Thank you.

Tested it , work fine

But if i may ask ?

what are the new updated ? Or its just a new latest version ?

And also why is it always prompt and pop up "need additional setup"
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
That requires Additional setup prompt is coming again and again or you have not rebooted the device please let me know thank you.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
If that pop comes repeatedly then just ignore it and proceed ahead because our version of app is different then that of official one
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
I am Recompiling it so please wait !
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Here is the New apk just no need to update full magisk manager by direct install or Patch a file instead just install the app and you are good to go, if any problem please report me ASAP ...............

Thank you :)

And to check what's new you can refer the Official Magisk GitHub Page

GitHub - topjohnwu/Magisk: The Magic Mask for Android

The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.

github.com
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Does it need to direct install , or this version just the manager after root with v0c1f6881
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Just install the app only and you are good to go if you have already updated to latest one...
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
No idea.

And no way to reproduce this error.

Myself I have problem with banking apk, some features don't work.

I've spent hours trying to figure out how to work around but didn't succeed.

Returned to stock ROM and it worked.

On rooted it didn't.

It is not typical apk then nobody can help me.

Luckily I can live without that.

I have to.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
What has happened I may help you !!
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
I am afraid you cannot.

It is local feature, available only in my country as far as I know.

Paying with bank's APK using NFC.

Maybe you have heard about Blik.

This is name of feature.

During configuration apk says "for security reasons this feature is disabled".

I played with hiding apk and used xprivacylua, partially it even succeeded, I went through initial setup, but finally got "service unavailable".

It is not only this apk what may be involved/guilty.

I disabled or uninstalled really many applications coming with Samsung, system apk's included.

Maybe one of them is needed during paying.

Not worth to devote days for that, enough with hours.

Maybe one day all of the sudden I casually will find path to solution.

It would not be first time, such things happened to me.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Ok Great!!
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Is is working as expected or not !!!
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Did you try to Encforce Deny list on magisk ?

just Put your app into Deny List on magisk manager.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
The 5587bb does not work being magisk manager. its work as direct install ,

pop up "Need additional setup" still.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Do the direct install and you are good to go... attach a screenshot of that popup too
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
I did.

There is more question marks.

It worked on stock ROM, without root, but when I copied my stuff to phone it triggered security again. maybe because in the meantime I checked feature on other, rooted phone.

Still it should let me in on safe phone.

Bank knows from what device I log in.

That needs to be figured out yet but everytime it takes some hours.

When yesterday I rooted phone second time with 0c1f6881 it required additional setup too.

Cancel was not working, apk exited in such case.

I didn't want do direct install for not to lose root again, I agreed for additional setup.

Phone was thinking 3 seconds, rebooted and everything was ok.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
So in short words your problem is that your app does not allow root to be used on the app right ?

i have a couple Method to fix it , Tell me if any of the method works :

Method 1

1. Go to Setting>Deny list> select the app you want to hide from the root

Method 2

1. Go to Setting>Deny list> select the app you want to hide from the root + Hide the magisk APP into whatever name

Method 3

1. Go to Setting>Deny list> select the app you want to hide from the root + Hide the magisk APP into whatever name + Add zygisk safetynet fix module ( you can get it from file below or sreach zygisk kdrag0n github)

Mostly it will work on Method 2 , Works for me.
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
1. I did it. Not worked.

2. Is it possible to hide Magisk in our modified Magisk apk?

Need to check again.

I could miss something.

3. OK. Will try given SFN fix.

I wonder why this crap didn't work without root on stock ROM.

That is interesting question.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
yes , it can .

or just update to 92546e8a-Canary version of magisk and then hide the magisk
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
But this version was not modified by Sahil, right?

Won't it cause bootloop?

Well.

I have my whole life for trying.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
yes it not a modified by sahil , its a official update for magisk canary on my m12 . i make it as magisk manager . and i direct install it . dont cause any problem no bootloop .

but if you want just update (92546e8a) it and make it magisk manager and hide the magisk app

if you want safer area try using 558710bb the new magisk by sahil
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
That I will do.

I have 0c1f6881 (= modified) and in it Magisk hide possibility is greyed out.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
This is Magisk Manager Canary Build b2cd24ed, as the app is not tested yet can you people try and tell me is it working as expected or not, please attach the screenshot of the problems if occurs, Thankyou :)

the list of changes are mentioned here: https://github.com/topjohnwu/Magisk/commits/master
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
I don't expect to make any tests with phone soon. Have other things on todo list and this task is lower on it.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Well , tried on M127F Work fine to me :) , Root successfully, No malfunction . Good Work ! Keep it up :)
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Thank for the response, I really appreciate :)
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Here the is new magisk manager canary build version 76ddfeb9 there are huge changes in the manager so check those changes on official Magisk manager GitHub page. as always the app is not tested yet you people try and tell me, the app is working correctly or not, if any error occurs please attach the screen shot of it and let me know. Thank you :)
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Here is the latest version of Magisk Manager f443cbaa, as usual the app is not tested yet please test and report me if any error occurs please attach the screen shot of it...

There are lots of changes in this version, to check what's new please visit the official Magisk manager github page.

please do me a favor, try Riru and Lsposed, please tell me weather they are working or not...

Thankyou :)
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Bro!!,

The line "LOGD("Kernel cmdline info:\n");" has been removed on latest version of Magisk canary build now i am facing problems while compiling the latest magisk canary builds. what is the solution on this ?? please help me .... Thankyou
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Hello There, this is the latest version of Magisk Manager Version 256d7156, and this is not usual, This version of magisk manager is tested by me. Works Fine for me, as expected, please attach a screen shot of you problem if exist, and for the list of changes on the latest build please go to Official Magisk Manager GitHub Page.

Thank you :).
[Samsung Galaxy A21s Guides, News, & Discussion] Malaahim:
Absolutely new to this forum and never rooted a phone by myself. Can someone kindly help me root my A21s (SM-A217/DS). Thank you.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
sure i can help you out what kind of help you need ??
[Samsung Galaxy A21s Guides, News, & Discussion] Malaahim:
I need to root this device. And have to start from scratch since I've never rooted one myself I'd need a dummies guide lol
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Global message !!

The new Magisk Manager v24 has been Released, no new major changes that's why i am not uploading new magisk manager Right Now... but soon i will upload.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
OK !, are you familiar with KNOX, if yes then its a security mechanism of samsung, where upon root the device it will trip the knox binary to 0x1, this means that some of the apps of samsung that support knox features like samsung health, samsung pay, and secure folder will no longer will used....
[Samsung Galaxy A21s Guides, News, & Discussion] Malaahim:
@sahil_bhandari a huge thanks to you. I have successfully rooted my A21s today through his guidance. Would definitely recommend everyone who is looking to root this model to follow his guide
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
@Steker Unik @F308 @Malaahim @Knockout Newbie @panda822 @platonicbomb @wonkeyeyes @Subliminize @kcchan48 @johnny_nb @Israelleite @heats @David112+ @ankush1492 @Jukmisael @geocamus @Wowoslaw @cater2 @MaBo2020 @Devilrock09 @Elkingb @thatha @Jaan_e_ahsan45 @Olep84 @Bluebloomer

Hello everybody there, this is the latest magisk manager canary build v24.1 f880b575, as feature of zygisk (Beta) has been finally introduced and other changes are to be added.. as the compiled app is tested by me and woks fine for me. you people can upgrade your magisk manager to v24.1 easily, to see whats new please refer magisk manager github page.

Thankyou :)
[Samsung Galaxy A21s Guides, News, & Discussion] qonstellations:
successfully rooted my A21s with this method. thanks a lot!
[Samsung Galaxy A21s Guides, News, & Discussion] derrekgamer:
will this work on build: A217FXXS7CUL2

please answer

will this work on build: A217FXXS7CUL2

please answer
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
I think yes, try it, if it worked for u then tell every one over here !!
[Samsung Galaxy A21s Guides, News, & Discussion] derrekgamer:
yep, succesfully rooted, latest android security patch. Fallowed the tutorial and it worked!. Thank you :) is there any v4a avabile?
[Samsung Galaxy A21s Guides, News, & Discussion] derrekgamer:
Succesfully rooted using this tutorial.

baseband : A217FXXS7CUL1

version : A217FXXS7CUL2

Installed also Viper4Aandroid, with latest android patch A217FXXS7CUL2, it works like a charm, also stock eq works with it.

Volume increased using mixer gains, also works. 0 problem. thank you
[Samsung Galaxy A21s Guides, News, & Discussion] aiman27.john:
does this worked in december security update?, if it is can i have a file
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Which file u are telling about ??
[Samsung Galaxy A21s Guides, News, & Discussion] aiman27.john:
flash file
[Samsung Galaxy A21s Guides, News, & Discussion] aiman27.john:
nvm I ROOTED MY U7 THANKSSSS
[Samsung Galaxy A21s Guides, News, & Discussion] Chr0matic:
Can we still only use the apks from this thread or is the official one from github fine by now?
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
No not to use official one because it still bricks the devices.
[Samsung Galaxy A21s Guides, News, & Discussion] AndyBGD14:
I m using version 24.3 from github(original) and no problem i even have a custom rom installed so i don t think is a problem using it
[Samsung Galaxy A21s Guides, News, & Discussion] Israelleite:
which rom are you using ?
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Any one try using Magisk 24.3 official unmodified on a stock rom and tell me if it is getting bricked or running normally.