yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
Link is enough.

Generate MD5SUM depends on operating system. For windows there are binaries, for Linux too.

Command for Linux terminal is:

"MD5SUM filename".

Added later.

I wonder how may I patch AP file with new Magisk apk.

I have to install it on phone and that may mean problem like earlier, that I will lose root and will have to start from zero.

Do you have any other ideas?
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
I think no there will be no problem while updating to latest using direct install method, if any thing wrong happened then don't repeat it again, but atleast try to update the magisk using direct method not AP method 😉
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
I am afraid about other thing, too.

If AP was patched by version 22104 this version may be hardcoded into boot.img and as long as I won't patch AP with canary version it will remain 22104 and only application will be upgraded.

That may lead to weird behavior.

Your opinion about that?

Possibly will upgrade Magisk directly tomorrow.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Yes now I am confused too about that x(
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Have you tried bro is it working
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
Good to know.

I didn't try yesterday, day ended up too fast.

I did other thing, though.

Unpacked both boot.img, original and patched, to see what is inside.

Patched has different init and directory overlay.d where files magisk32.xz and magisk64.xz exist.

Tell me please how you did it.

Patching AP with your application?

Direct install?

You said that you had to have original (then not rooted) ROM on your phone.

Did you root it first?

If so - with what version of Magisk?

May be I will try today but I want collect as much information about positive circumstances as possible.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Oh OK!, when I first rooted my device I used to patch the Full AP file and flashed it with Odin and for updating I used direct install method not full AP file patching.
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
I think do something wrong.

When I clicked Install on top right then direct install it installed something, I never knew what it installs using this option, then wanted reboot then I lost root.

Then I uninstalled Magisk apk 22104, installed yours Latest, patched AP with it and flashed by Odin.

There were minutes of fear as I remembered former failure but this time it went smooth.

I have manager and Magisk version as on picture, Zygisk working.

Somehow I don't see option to check Safety Net.

Should I install safety fix to see it?

Not that I have to have it, it was only matter of proud that it works for me.

All my stuff works as before, I even didn't have to rebuild phone from zero, it was not erased during flashing.

Well done, Sahil.

Let's stay in touch and interchange experiences.
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
Some observations during time run.

With Zygisk or without I don't see safety net check button.

With Zygisk I could not put Google services framework onto Deny List.

Without Zygisk LSPosed works, FireFds is red, screams that is not active, but - funny thing - does it's job.

So much for now.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Bro you know I have already cleared you at the beginning that the safety net check has been removed by the developer of Magisk you know! even if you use the safety net fix patches you will never see it in the latest builds so dont try any thing its just normal use some third party apps on google play to check safety net status. if you want that safety net button on the magisk manager then use the magisk v23.0 which is compiled by grccorps...

Thankyou !!
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
My bad for not answering, was busy this whole week. If you still need the info:

So I used grccorps manager, then sahil's Canary build (direct install) and then switched to the official one (direct install also). Phone booted normally on all instances and didn't notice no weird behavior during all these procceses.

I only use one module and it's the SafetyNet fix by kdrag0ns and works well both using sahil's build and the official one. I suppose other modules would work just as well.

To upgrade to latest Canary, all I did was just go from grccorps > sahil > official Canary. I just flashed my way to the latest version.

Before upgrading to the official build, I thought I would have to flash my phone fresh, you know, if it happened to bootloop but none of that happened. So as far as I know, not risky at all.

Would recommend that you don't do it on your main phone if you happen to have any doubts, better to be safe than sorry.
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
Thank you Sahil.

I missed this point being focused on rooting with 23+ version.

No need to use it.

Thank you Knockout Newbie.

As it is my main phone I probably won't try having Sahil's Magisk working, but still it is good to know there is a way.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
A new Canary Build is on its way ;) Coming soon
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
BTW:

What exactly installs direct install in Magisk on top right?

Application?

Why i lose root doing that?
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
see how I made it Possible, I tried my best to capture the whole Scene.
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
When I did direct install, I never lost root. If you are updating Magisk just download it from Magisk github page, then direct install Magisk, not the app, and you should be fine.
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
As you see on my picture I don't have app install option and losing root happened twice with different versions during similar action.

I will watch movie bit later, this is over now anyway, but I don't like such behavior, it shouldn't happen.

I'd prefer to know what is going on and why happened.

Thank you both.
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
To answer your question "what does it install"? Well, it patches your AP so you don't have to go through Odin again. Clicking the app "Install" button should update your app but since its Canary, it won't. Just download the new version from Github again and you should be good.

Don't be discouraged though, any questions you have, just ask me.
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
That would suggest that I have AP somewhere on phone's storage.

Any specific location is required?

I didn't have AP on phone when I clicked direct install.

Looks like youe solved what error I made.

Surely asking is road to knowledge, thank you.
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
You don't need to have your AP on your storage. As far as I know, it patches your current AP via terminal.

You could try though and post your experience here. No need for an specific location.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
is it the Magisk V23 Release ? , is there a link for the canary update?

I am new in this, any help would be appreciate.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Hello there, bro should I stop the compilation work then, because you said that to upgrade to latest canary build you just need to download it from official github correct?? This means that we no more require the compile work isn't it.
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
I think the latest Magisk Canary release has the fix you did in 23015 or maybe the newest Magisk works by patching AP with your Magisk before upgrading to the official one.

I really have no saying in whether you want to continue compiling, it probably could help someone who already tried the official release and won't work, so it's really your decision.
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
If you haven't rooted yet, just read the tutorial and do the steps mentioned here and in the Magisk installation guide for Samsung.

If you have root but want to have the latest Magisk version (at your own risk):

Download sahil's compiled Canary version and patch your AP with it via direct install. Reboot if necessary.

Go to the Magisk github, download latest Canary build, remove sahil's manager and patch your AP with it via direct install. Reboot if necessary.

Check if root is still there using Root Checker. If you need SafetyNet working, use kdrag0ns module, enable Zygisk and download YASNAC from Play Store and run a check.

If you lost root (which you shouldn't), just flash your patched AP through Odin and troubleshoot.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
I saw the source code again and I didn't found any fixes there so may be it's not yet fixed
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
See this at page 3 as it is clearly mentioned

Post in thread '[ROOT] Modified Magisk for Galaxy A21S (R)' https://xdaforums.com/t/root-modified-magisk-for-galaxy-a21s-r.4271537/post-85593311
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
That's why you patch the AP with grccoprs apk then yours. When I updated to 23016 CANARY nothing weird happened.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
From official github magisk you updated to canary ?? If yes then it's weird....
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
I we compile all our posts together - that will be piece of manual, wow!!!

More or less - total mess.

Hell only knows what will work next time, what won't.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Okay... so what would be benefit if i updated the magisk ?

is it worth it to just update ? or should i stick with sahil's compiled Canary (v0c1f6881) ?

And also i have rooted my Samsung Galaxy M127F/DS U3 , 11 , M127FXXS3AUL3 , using sahil magisk canary and it was the best rooted method in my M12 experience .
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
i am now successfully rooted Samsung M127F/DS U3, 11 , M127FXXS3AUL3

i could make a guide about how to root samsung galaxy M127F using sahil canary , should i make the post ?
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
If you update to the latest Magisk you get to have the new fixes pushed in that update, also modules, etc. Matter of preference.

The difference is not that big or noticeable, but if a module of yours requires to use the latest version, you may as well try it and update.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
I rather just to stay , there is no need to update just yet.

Is there any change of me brick my device ?

I tend to miss and messed things around.
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
I wouldn't be able to tell you. I updated to 23016 and not bootloops or bricking whatsoever. Just be cautious.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
The latest (aka) update = 92546e8a (23016) (23)

Sahil canary = 0c1f6881 (23016)

You said "updated to 23016" . But in the screen above they are both at 23016 , the only difference is (23) at the latest version. Could you be more spesific at your words ?

Thanks,
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
A few weeks ago, sahil compiled 23015 and days later, Magisk released 23016. Then, sahil updated his to the latest version. Differences between both is the fix sahil added since 23015. You would have to wait until sahil updates his for you to switch.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
So... um latest news , On My Samsung M127F that i rooted by sahil magisk canary i stumble a problem . when i want to add security / pin / password etc. and i reboot / restart and start android (system) then i enter the correct pin / password etc it just says "try again 1440 minutes" which is 24 Hours , what can i do to fix this problem . is this AP corruption ? i recently change the device finger print using magisk module that can find in this Link , i dont think thats the problem cause last time i dont change the fingerprint and i face the same problem again .

What can i do to fix this problem . Should disable any security on my phone ?, just leave it blank ?

Best Regards,

Thanks.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Strange error 😕, has any some one faced this issue too ?? Other than steker
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
Try disabling the module and troubleshoot from there.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Does any one uses TWRP recovery for M12.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
How ? just remove the finger print ? or entirely disable the magisk module ?
[Samsung Galaxy A21s Guides, News, & Discussion] Knockout Newbie:
Go to the Modules tab and click the Remove button, reboot and check again.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
But his problem is he can't unlock the phone then how he will access magisk manage bro.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
My twrp wont work , thats why i dont use TWRP recovery but if you need the TWRP i have the files Below :

just extract and flash using TWRP app or just extract and archive to tar / md5 to flash it using odin on download mode
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Oh ok
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
its the same issue again , wont work
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
I didn't know that TWRP for M12 exists.

From where do you have it?

You can tell that you checked it and it worked?

That would be something.

BTW:

There is a way to get away from troublesome situation about which people frequently forget.

Boot smartphone into safe mode.

That disables users applications then Magisk modules too.

This method helped me to fix bootloop.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Twrp for M12 did exist , and there is a community working on it . they have a couple release and modification , yeah the TWRP worked, Extermal SD Card Detected and even TMP work. but on my experience the internal storage is encrpted (0MB) , i dont know why, i dont know how and I don't even have a security/lock screen for that matter.

You could find M12 TWRP Community in link below :

Release and Resources : Mod edit: TG links removed.

TWRP M12 & A12 community :

And also i may ask , how do you get to safe mode in a bootloop . I mean the only thing that get me out from bootloop is to detach the battery from M12 and its a lot work to do. How ??
[Samsung Galaxy A21s Guides, News, & Discussion] Badger50:
Greetings, and Happy New Year. While I realize you were trying to be helpful, TG links are only permitted in the OP of a development thread as per XDA's

Telegram Chat Rules. Which of course this does not qualify for. Please also note the last bullet point of XDA Rule #5 regarding social media links:

Thank you for your cooperation.

Regards: Badger50 FSM
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
@Steker Unik

You will find corresponding keystrokes on net.

Press them while starting phone.

I discovered this feature casually, trying different presses and all of the sudden one of combination worked.

It was not on M12 but A41 then I won't tell you what keypress work for M12.

Later I found on net and xda that it is one of methods for rescue.

Talking about TWRP.

Flashing it by Odin - onto what field you put recovery tar?

I mean there are BL, AP, CSC and something else.

Where should it be placed to be flashed?

Only this one file?
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
Ok. Thank you for the reply , im going to apply those on the next bootloop.

So talking about TWRP

You should put the recovery tar into AP field , yes just one file and that going to replace the stock recovery with your recovery tar file .

But i rather use TWRP App or going to fastboot and flash the recovery.img , cause in most cases the TWRP recovery got replace by stock recovery on reboot / restart . but if you flash using TWRP app or on fastboot the TWRP recovery become permanent or alteast it will until you flash the stock recovery .
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
That is interesting.

I wonder what other surprises are hidden around the corner yet.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
just dm me
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
How to fix theseee....
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
TWRP recovery Guides :

1. Unlock bootloader!

2. Download vbmeta_disabled.tar TWRP for your device.

3. Reboot to download mode and flash vbmeta_disabled.tar in AP slot, Device will reboot to recovery mode prompting you to wipe data so wipe data and reboot to download mode again.

4. Uncheck auto reboot in Odin and flash TWRP in AP slot.

5. Hold volume down and power until the screen goes black then immediately switch to holding volume up and power to reboot into TWRP.

6. Disable encryption:

- Go to Advanced > Terminal, type: multidisabler.

If vendor complain about free space left on device, will attempt to resize vendor. and it ask to - Run multidisabler again!.

- Type: multidisabler again. will see - Finished. when done.

7. Go to wipe, format data and type "yes" to confirm.

8. Reboot

vbmeta_disable.tar to fix TWRP recovery got replaced by stock recovery, make TWRP recovery permanent .

you could use this to fix it , or just use twrp app or fastboot . i mean thats just another work to do..
[Samsung Galaxy A21s Guides, News, & Discussion] F308:
That is what I may call manual!

I checked, official TWRP has not model M12 on the list.

At the moment I cannot allow me to be without phone for some hours, you know that after wipe it takes a while to have data back.

Will have to choose free moment.

At least I am ready for action now.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
i still does not get it , my phone stuck in a bootloop and i search on net or any other website for that matter. nothing seems to tell me what is the keypress to go safe mode on M12.

i can force restart it , but cannot force shutdown

adb doesnt recognise there is a phone

no port detected on odin , FRP hijacker etc

well it seems to me let the battery died or just remove the battery and put it back on again.
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
But why you are getting boot loop explain in a clear way for better understanding to all members bro
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
BTW bro is your phone in a working condition if yes can you do me a favor.

Can you please tell me whether the adb pull is working in your device or not because after I root my phone there is a strange thing happening. I can not use scrcpy to project my phone screen on my PC so please let me know.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
I just lose root in direct install method in a dumb way.. and i wanted to root again so since i can root using sahil modified canary magisk , i can use V23 right ? right ? Clearly Not , it bricked my phone . beginners mistake . and now its stuck in a loop , it cant get into android (system) , recovery / download / fastboot and adb can't listed my device.

now i got to wait for the battery to die. its around 4% .
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
yes , adb pull working just fine .
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
Really how did you Check it, i mean what did you performed to confirm that adb pull is working please explain?? And if your abd pull is working I think you have not reseted your phone after root that why the adb pull is working for you ....

This means that I can now confirm that after you root your phone with magisk you should not reset your device as it is getting bricked from internally some where. You will not notice any thing that something has bricked but you will notice that the Knox counter will again comes to 1 and adb pull will not work any more.... sorry for my bad English as I am not a native English speaker so please try to understand my words thank-you.....

Can any one recreate the situation for final clear confirmation. If you have already rooted your device please reset it normally and then try to use adb pull. Then say what's exactly happening... waiting for your corporation...
[Samsung Galaxy A21s Guides, News, & Discussion] sahil_bhandari:
I think you have hard bricked your phone permanently and will not repair any more even after the battery dies too...
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
no its not permanent , i brick my phone 4 times. and it still a funcional

it just need to be shutdown or turn off to go into download mode.
[Samsung Galaxy A21s Guides, News, & Discussion] Steker Unik:
did your adb pull worked before you root your phone ?
[Samsung Galaxy S21 Ultra] a1q2w3a1:
Every ten minutes this alert pops up on my phone. Take a look at the image below‼ ️Someone can help me how to undo this❓❓ I was once told it was related to the app "Usim service" help pleasee 🙏🙏​
[Samsung Galaxy S21 Ultra] orb3000:
No duplicated thread are permitted

Please help us to keep the forums neat

Thanks
[Samsung Galaxy S21 Ultra] a1q2w3a1:
HELP..
[Touch Diamond, MDA Compact IV Themes and Apps] TomekJ:
Hi all,

There are some nice apps that locks screen when there is an incoming call. As I noticed, original WM dialer (or PDAviet's dialer) didn't unlock locked screen on incoming call (it only unlock bottom soft keys), but Diamond dialer do it (when you use built-in screen lock). Meaby there is a simplest way, with no need to instal app, to tweak some registry keys to disable unlock when phone is ringing? Personally I would use Windows Today screen lock and be sure that f.e. only "Send text" softkey is enabled as original WM dialer do it...
[OnePlus 6 Questions & Answers] Andy3153:
Hello, is it possible to take a full NANDroid backup without first unlocking the bootloader? The reason I want to do it this way is because in order to unlock the bootloader, you first must wipe the device storage, and I'd like to take a backup of all installed programs and their data as well, so that if I want to go back to the original ROM I can do it totally seamlessly. I was trying to do it by first booting into TWRP using fastboot and then take a backup onto a flash drive with an OTG adapter, but without unlocking the bootloader which kinda makes the whole backup a bit useless since it wipes all apps, I get an error in fastboot which says that 'boot is not allowed in Lock State'.

Any other way of doing this?
[OnePlus 6 Questions & Answers] Azhar_Fahry:
I'm not so sure, because from what I've known, taking a Nandroid backup only posible in a unlocked bootloader state.

OnePlus Community

Introducing our new OnePlus Community experience, with a completely revamped structure, built from the ground-up.

forums.oneplus.com

Or try this method :

How to fully backup and restore your Android device without root

One of Android’s little-known tricks is its built-in backup and restore process that allows users to save their private data...

9to5google.com