Rooting: Replacing Kingroot with Magisk - Galaxy Grand 2 General

Hey guys, I own a galaxy grand 2 and I'd like to know the best method to root it with Magisk.
From research, kingroot seems to have the easiest method (through the root App).
I'm thinking about rooting with kingroot App and later switch to Magisk.
Here are the steps I plan to use:
-Root with kingroot App
-Install official TWRP App and create a custom recovery
-uninstall Kingroot (unroot device)
-Boot into recovery and flash Magisk
-install Magisk manager
Will this method work properly? And will it enable Apps to pass safetynet test?
Any tips will be appreciated, thanks

Rizzy717 said:
Hey guys, I own a galaxy grand 2 and I'd like to know the best method to root it with Magisk.
From research, kingroot seems to have the easiest method (through the root App).
I'm thinking about rooting with kingroot App and later switch to Magisk.
Here are the steps I plan to use:
-Root with kingroot App
-Install official TWRP App and create a custom recovery
-uninstall Kingroot (unroot device)
-Boot into recovery and flash Magisk
-install Magisk manager
Will this method work properly? And will it enable Apps to pass safetynet test?
Any tips will be appreciated, thanks
Click to expand...
Click to collapse
Yes this method work fine for all N base with kernel A$$ 2.1.

ari.subagiyo said:
Yes this method work fine for all N base with kernel A$$ 2.1.
Click to expand...
Click to collapse
Ok thanks, I'll try it and give an update here.

Related

[GUIDE] ROOT+XPOSED+SAFETYNET at the same time on Stock and stock based ROMs

This guide provides all the steps and patches required to root the Stock system and having Xposed installed while maintaining SafetyNet (Android Pay, Pokemon Go, etc) compatibility. There are some problems of this method that Magisk is supposed to fix, however the latest Magisk v10 is not supporting our stock ROM yet.
The prerequisites of this guide is to have the bootloader unlocked and TWRP recovery.
DOWNLOADS
The recipe require the following ingredients to be downloaded to your internal or external storage:
1. TWRP 3.0.3 (This is the last release at this moment). more info in the Official Thread. Thanks to @jcadduono . TWRP 3.0.2 can't succesfully flash SuperSU 2.79
2. Default Stock ROM for your phone (Required only if you have modified your system or boot partition). You can download them from this thread. Thanks to @DrakenFX . You can alsouse any other custom ROM based on stock such as ZADMix or HelsAx7 SubMix (both tested).
3. SuperSU v2.79. more info in its official thread.
4. SUhide 0.55. More info in its official thread. Thanks to Chainfire.
5. SafetyNet-KCAL Kernel patch, thanks to @jcadduono also for this one!
6. Xposed v86.2 So far only this version is compatible with SUhide.
7. Material Design Xposed Manager app by DVDandroid. More info about this release in its official thread.
8. Root Switch 1.3.3.2 app. Thanks to shakalaca. More info in its official thread.
INSTALLATION
1. Do a backup of your system, I recommend Boot+System+Data partitions. The next steps will modify at least your boot and data partitions, and some Xposed modules will modify also your system partition.
2. If you already have TWRP 3.0.3 then just boot to recovery and proceed to step 3. If you are still using TWRP 3.0.2 please upgrade to the latest TWRP 3.0.3 and reboot to recovery again.
3. I recommend to flash the default Boot and System Partitions and reboot directly to recovery. You can also use any other custom ROM based on the stock ROM such as ZADMix or HelsAx7.
4. All this step must be done without leaving TWRP. Flash SuperSU 2.79 adding also the zips for SUhide 0.55, Xposed v86.2 and the SafetyNet Kernel patch in that order. They must be flashed together. Without leaving TWRP, navigate from the main menu to Advanced > Terminal, introduce the command reboot disemmcwp and the system will reboot by itself once or twice while configuring the settings for SuperSU. Do not be alarmed.
5. Install Xposed Manager and Root Switch apps.
6. Now you have your system fully rooted and you can now install Xposed modules. However you will see the test app SafetyNet Helper reporting a validation failure. Do not worry about it anymore! When you want to initiate a SafetyNet sensitive application (Android Pay or Pokemon Go among others), just open Root Switch and disable root, no need to reboot. SafetyNet will pass and all your apps will work. You can see that Xposed continue working even after disabling root since it was started before. Do not forget to enable root again otherwise new apps requiring root won't load.
Magisk v10+ promises auto root hide per app, but sadly our stock ROM is not yet supported and the method psoposed here requires the user to disable root before loading any SafetyNet protected app.
Enjoy
Reserved for future Magisk guide.
Has anyone managed to get this working on A2017G/B09? I've had a few attempts, forcing systemless SuperSU, but it hangs at the "AXON" boot screen
H0lmEd said:
Has anyone managed to get this working on A2017G/B09? I've had a few attempts, forcing systemless SuperSU, but it hangs at the "AXON" boot screen
Click to expand...
Click to collapse
At what point of the guide is it hanging at the Axon boot screen? after step 4? Have you ensured that the SafetyNet patch is the last thing you flashed before boot?
I just did this on my B29 A2017U phone and it worked perfectly, can switch root on and off with the root switcher and Safetynet passes fully with root set to off.
My previous attempts were all thwarted by the bootloader being unlocked, so that patch to the kernel works great. I'll be backing this up with twrp and getting a little more adventurous (really want to try the BeastMode kernel) soon.
Much thanks for making it nice and simple, Oki !
Oki said:
At what point of the guide is it hanging at the Axon boot screen? after step 4? Have you ensured that the SafetyNet patch is the last thing you flashed before boot?
Click to expand...
Click to collapse
I'm on the same configuration (A2017G B09). I did a step by step installation/reboot/installation/reboot. The Problem is with suhide. After installing suhide the boot process will stick in the Axon screen.
tron1 said:
I'm on the same configuration (A2017G B09). I did a step by step installation/reboot/installation/reboot. The Problem is with suhide. After installing suhide the boot process will stick in the Axon screen.
Click to expand...
Click to collapse
You do not have to reboot after SUhide. The files at step 4 have to be flashed together without leaving TWRP otherwise it won't work.
Oki said:
You do not have to reboot after SUhide. The files at step 4 have to be flashed together without leaving TWRP otherwise it won't work.
Click to expand...
Click to collapse
In theory you're right. But how do like a bugfix to be done if you don't know at which point you're failing?!?
tron1 said:
In theory you're right. But how do like a bugfix to be done if you don't know at which point you're failing?!?
Click to expand...
Click to collapse
The last patch fixes some problems created by SuperSU, SUhide and Xposed. This is why all the patches in step 4 have to be flashed together without leaving TWRP and in the specified order, otherwise it wont work on stock ROMs.
That looks way complicated. What's wrong with the easy way of flashing Magisk V10 + Phh Superuser r266? This has worked on all my devices since the November security patch broke suhide. Magisk now takes care of the flag to hide bootloader unlock status so no need for a kernel patch too. Then flash systemless Xposed by topjohnwu if you want that and you can turn it on and off in Magisk Manager if you want to use Android Pay, play Pokemon Go, etc.
Hi,
I have a A2017G running B08, already unlocked and witch SuperSU 2.79. Just the older version of TWRP.
Can I just upgrade the TWRP and proceed with step 4 and so on? Hate to go back to stock...
Tia,
Cheers,
/Cacti
Tikerz said:
That looks way complicated. What's wrong with the easy way of flashing Magisk V10 + Phh Superuser r266? This has worked on all my devices since the November security patch broke suhide. Magisk now takes care of the flag to hide bootloader unlock status so no need for a kernel patch too. Then flash systemless Xposed by topjohnwu if you want that and you can turn it on and off in Magisk Manager if you want to use Android Pay, play Pokemon Go, etc.
Click to expand...
Click to collapse
For some reason Magisk is not compatible with the Axon 7 kernel. Not yet. This is why it is so complicated and requires a guide. Last time I tested this was yesterday using Magisk v10.2 and phh Superuser r2, and they still failed to root the system.
le_cactus said:
Hi,
I have a A2017G running B08, already unlocked and witch SuperSU 2.79. Just the older version of TWRP.
Can I just upgrade the TWRP and proceed with step 4 and so on? Hate to go back to stock...
Tia,
Cheers,
/Cacti
Click to expand...
Click to collapse
Yes you can try to begin with step 4 with SUhide on. It should work. However I recommend you to upgrade to TWRP 3.0.3 and do the whole step 4.
Gr8. Thanks.
Cheers,
/Cacti
Oki said:
The last patch fixes some problems created by SuperSU, SUhide and Xposed. This is why all the patches in step 4 have to be flashed together without leaving TWRP and in the specified order, otherwise it wont work on stock ROMs.
Click to expand...
Click to collapse
Not quite sure I understand you.
I've tried doing this on A2017g, b09;
0) wipe data/system/boot
1) flash stock Boot stack + System stack zips in twrp 3.0.3 unlocked bl
2) rebooted straight to recovery
3) flashing SuperSU wrote to system so I had to start again but forcing systemless (in terminal; echo "SYSTEMLESS">/data/.SuperSU
4) flash supersu, suhide
5) flash xposed
6) flash the safety net/kcal patch
7) reboot
And I still get stuck on "AXON" boot screen
H0lmEd said:
Not quite sure I understand you.
I've tried doing this on A2017g, b09;
0) wipe data/system/boot
1) flash stock Boot stack + System stack zips in twrp 3.0.3 unlocked bl
2) rebooted straight to recovery
3) flashing SuperSU wrote to system so I had to start again but forcing systemless (in terminal; echo "SYSTEMLESS">/data/.SuperSU
4) flash supersu, suhide
5) flash xposed
6) flash the safety net/kcal patch
7) reboot
And I still get stuck on "AXON" boot screen
Click to expand...
Click to collapse
SuperSU 2.79 installs in systemless mode, no need to set systemless.
Regarding your problem, please try this. Instead of rebooting using the button, open the terminal in TWRP and type "reboot disemmcwp". I hope this was your problem.
This doesn't work for me. Steps:
1. complete wipe
2. install b29 boot stack
2. install b29 system
3. install super su 2.79
4. install su hide 0.55
su hide comes back with an error that says it can't find super su and I should make sure I've installed 2.79 or greater.
edit:
I missed the part in step 3 where you say "reboot directly to recovery". I tried that, but it rebooted to system instead and now I lost TWRP entirely.
edit2:
fastboot flashed twrp again and once in recovery I was able to get through step 4
edit3:
Now it's just stuck on the axon logo. Tried force reboot and the same thing.
Are you sure you tested this from scratch? I have the US version of the axon 7.
Oki said:
SuperSU 2.79 installs in systemless mode, no need to set systemless.
Regarding your problem, please try this. Instead of rebooting using the button, open the terminal in TWRP and type "reboot disemmcwp". I hope this was your problem.
Click to expand...
Click to collapse
I have tried it and am stuck on the same stage also even after using "reboot disemmcwp".
I followed all of your steps and am using an A2017G B08.
corpdecker said:
I just did this on my B29 A2017U phone and it worked perfectly, can switch root on and off with the root switcher and Safetynet passes fully with root set to off.
My previous attempts were all thwarted by the bootloader being unlocked, so that patch to the kernel works great. I'll be backing this up with twrp and getting a little more adventurous (really want to try the BeastMode kernel) soon.
Much thanks for making it nice and simple, Oki !
Click to expand...
Click to collapse
Don't install beast mode yet, from my experience all the steps from op worked fine until I flashed beast mode and it broke safetynet.
lexman098 said:
This doesn't work for me. Steps:
1. complete wipe
2. install b29 boot stack
2. install b29 system
3. install super su 2.79
4. install su hide 0.55
su hide comes back with an error that says it can't find super su and I should make sure I've installed 2.79 or greater.
edit:
I missed the part in step 3 where you say "reboot directly to recovery". I tried that, but it rebooted to system instead and now I lost TWRP entirely.
edit2:
fastboot flashed twrp again and once in recovery I was able to get through step 4
edit3:
Now it's just stuck on the axon logo. Tried force reboot and the same thing.
Are you sure you tested this from scratch? I have the US version of the axon 7.
Click to expand...
Click to collapse
Are you using TWRP 3.0.3? SuperSU 2.79 installs fine and in systemless mode when flashed with the latest TWRP. TWRP 3.0.2 can't flash it properly.
Yes this method has been tested, not only with stock Roms, but also with ZADmix.
If you are doing a complete cleanup before flashing the ROM, boot into system at least once after installing the ROM so the data tree structure is setup. You actually don't need a full cleanup.
Kingo64 said:
I have tried it and am stuck on the same stage also even after using "reboot disemmcwp".
I followed all of your steps and am using an A2017G B08.
Click to expand...
Click to collapse
H0lmEd said:
And I still get stuck on "AXON" boot screen
Click to expand...
Click to collapse
Please ensure you have flashed the right stock ROM for your unit. I have modified Ingredient 2 in the OP since it was highly misleading. Ensure you have unlocked bootloader, TWRP 3.0.3 and flash the right ROM for your system: ZTE_A2017GV1.0.0B09_BootStack_by_tron1.zip and ZTE_A2017GV1.0.0B09_StockSystem_by_tron1.zip. And boot to the system at least once before continue to the rest of the procedure.

Full unroot

Hi
I have E2303 with 6.0.1 unbloated from this forum. It's cool rom but my SuperSU cant be updated via recovery or settings. I can't unroot or delete this app by settings(nothing happens). Is there any way to unroot phone (i want to play pokemon go XD) except going back to stock rom? (bootloader is unlocked, TWRP)
You can unroot by flashing stock boot.img, but TWRP will stay there. So you would only lose SuperSU.
If you want Pokemon GO, download xposed installer, and install Xposed, and download exstension to hide root
Andvelop said:
If you want Pokemon GO, download xposed installer, and install Xposed, and download exstension to hide root
Click to expand...
Click to collapse
That is nonsense since pogo introduced safetynet

Help with ashyx's TWRP + magisk

Can anyone help me install ashyx's TWRP with magisk instead of super su? I've seen that it's been done on the TWRP thread.
I've installed TWRP, then flashed magisk but its not working, seems like I need to patch the boot.img but from my basic understanding that negates the point of magisk right?
Thanks in advance.
sp4r3h said:
Can anyone help me install ashyx's TWRP with magisk instead of super su? I've seen that it's been done on the TWRP thread.
I've installed TWRP, then flashed magisk but its not working, seems like I need to patch the boot.img but from my basic understanding that negates the point of magisk right?
Thanks in advance.
Click to expand...
Click to collapse
You have to install the Magisk zip with TWRP then the Magisk manager apk.
@sp4r3h did you manage to get it working?
@ashyx can you give me some more details?
This is what I tried.
1. Restore stock firmware
2. Flash TWRP
3. Choose Read Only
4. Install zip - Magisk
5. Reboot
Then I get the verification failed error. But from my understanding.. if I use your dm-verify patch then I can't pass SafetyNet?
Which kind of negates the point of magisk?
Thanks for your time.
Follow instructions in first post and flash magisk.zip instead of supersu.
Install magisk manager after system reboot.
napx said:
Follow instructions in first post and flash magisk.zip instead of supersu.
Install magisk manager after system reboot.
Click to expand...
Click to collapse
The manager was removed from the appstore. I'll try manually installing an APK.
napx said:
Follow instructions in first post and flash magisk.zip instead of supersu.
Install magisk manager after system reboot.
Click to expand...
Click to collapse
If I try patching the Magisk then I get the verification failed. If I patch the dm-verify then I can't pass SafetyNet.
Any ideas?
Magisk 12 can't pass SafetyNet anymore.
I also tried the beta Magisk 13.0 but I ran into the same error, so I can't even check if it can pass ...
Follow instructions in first post (in TWRP thread) and flash magisk.zip instead of supersu.
Install magisk manager after system reboot.
That works for me.
napx said:
Magisk 12 can't pass SafetyNet anymore.
Click to expand...
Click to collapse
Google Tweaked Some S**ta again
So What you Gotta do is -
1. Goto Magsisk Manager Settings
2. Enable Core Only and Magisk Hide and select the app (Also Disable the other two adblocker and BusyBox)
3. Reboot
Worked for me (Verified Snapchat and Then Undo all got root back)
But I did one my S4mini
I was just surfing and saw the post and Share it with you guys
Magisk
sp4r3h said:
Can anyone help me install ashyx's TWRP with magisk instead of super su? I've seen that it's been done on the TWRP thread.
I've installed TWRP, then flashed magisk but its not working, seems like I need to patch the boot.img but from my basic understanding that negates the point of magisk right?
Thanks in advance.
Click to expand...
Click to collapse
Well, I also like to try magisk because SU does not work proper. Is there a way to uninstall SU
without a wipe in TWRP ??
Hi. This might be interesting for ALL.. After me Tab hangs, I downloaded the latest OFFICIAL ROM from Samsung,
in my case "DBT-T825XXU1AQF3-20170713092645.zip"...
Extract and place AP, BL, CP and CSC. I decided not to use CSC-home.
Now, reboot.
Activate the developer-option and activate USB Debug.
Restart phone in download-mode (you will need 3 hands Menu, vol-down, power keys at the same time..
Again use odin. This time flash TWRP "twrp_3.1.0-1_sm-t825_AQD6.tar" as AP.
In ODIN, you might select the auto-reboot option because after flashing, you will only need to press
menu + vol-up keys.. Easier with two hands
Now proceed as already described in this thread (format data, wipe etc...) for rooting your tab, BUT (!!!!) do not use supersu. Use magisk "Magisk-v14.0.zip".
After flashing magisk, flash "no-verity-no-encrypt_ashyx.zip".
Now reboot and enjoy a rooted tab. This does not modify the knox counter, warranty is not void. I still use the original samsung firmware..
Lets see if a suitable custom ROM will show up soon. Would be nice if Lineage was available, for tab S3 and phone S8..
ashyx said:
raymondbernard
Need some help with magisk I downloaded the magisk v14.0 and it still says that it's not install just magisk manager is installed I'm trying to root a samsung sm-j320w8
---------- Post added at 03:06 PM ---------- Previous post was at 03:04 PM ----------
ashyx said:
You have to install the Magisk zip with TWRP then the Magisk manager apk.
Click to expand...
Click to collapse
Hey it's raymondbernard trying to get help from you about magisk manager app to root a Samsung sm-j320w8
Click to expand...
Click to collapse
Click to expand...
Click to collapse

Root problems

Hi friends i'm Dhinesh. Now i'm currently using the redmi 5 plus/note 5 vince mobile. And now i'm using Pixel experience Pie version. My problem is non-rootable. I tried magisk and supersu zip and flashed. But it doesn't works. I tried many times to root. But forever the Root checker app says "Sorry! Root access is not properly installed on this device. I don't know what i do to root my device. So friends Please help to root my device successfully.
Thank you,
Dhinesh TP
Install magisk manager apk manually after flashing magisk 18.1 zip and booted into system.
It's a known problem in pie.
jes0411 said:
Install magisk manager apk manually after flashing magisk 18.1 zip and booted into system.
It's a known problem in pie.
Click to expand...
Click to collapse
Ok brother. I will try

Help with Pocophone F1 ROOT

I have a pocophone f1 which I attempted to root.
I already unlocked it using my MI account with MI unlocker on windows.
I installed TWRP 3.2, as well as SupersU.zip in TWRP.
I go and check root access using various root checker apps from playstore but i have no root access. One of them says that my supersu $Path does not contain a binary.
I tried uninstalling superSu using the supersSu uninstaller.zip in TWRP and then attempted flashing magisk, but i got the error about patched boot image. I wiped everything and then flashed stock global ROM for miui 11. Still i get the patched boot image when trying to flash magisk.
Any ideas?
Follow this
Silvershot said:
I have a pocophone f1 which I attempted to root.
I already unlocked it using my MI account with MI unlocker on windows.
I installed TWRP 3.2, as well as SupersU.zip in TWRP.
I go and check root access using various root checker apps from playstore but i have no root access. One of them says that my supersu $Path does not contain a binary.
I tried uninstalling superSu using the supersSu uninstaller.zip in TWRP and then attempted flashing magisk, but i got the error about patched boot image. I wiped everything and then flashed stock global ROM for miui 11. Still i get the patched boot image when trying to flash magisk.
Any ideas?
Click to expand...
Click to collapse
Just uninstall SuperSU root and root again with magisk! There is unroot option in the SuperSU app which you have to use or:
https://forum.xda-developers.com/showpost.php?p=63615067
@Silvershot
My POV: Noone needs to install TWRP to root phone's Android.
jwoegerbauer said:
@Silvershot
My POV: Noone needs to install TWRP to root phone's Android.
Click to expand...
Click to collapse
i just followed a tutorial on xda. what simple method do you know to root a poco f1? i need root urgent
abhi_tech said:
Just uninstall SuperSU root and root again with magisk! There is unroot option in the SuperSU app which you have to use or:
https://forum.xda-developers.com/showpost.php?p=63615067
Click to expand...
Click to collapse
thanks for your reply. I already mentioned i used the supersu uninstaller.zip from the link you provided. but magisk still says the boot image is patched...
Silvershot said:
i just followed a tutorial on xda. what simple method do you know to root a poco f1? i need root urgent
Click to expand...
Click to collapse
It's clear that something has gone very wrong. Instead of wasting time with troubleshooting, I recommend that you restore the phone to its original state via re-flashing its Stock ROM and when that's done retry to root its Android the proper way.
FYI: Once TWRP got installed on phone, you can't get rid off of it unless you re-flash phone's Stock ROM.
jwoegerbauer said:
It's clear that something has gone very wrong. Instead of wasting time with troubleshooting, I recommend that you restore the phone to its original state via re-flashing its Stock ROM and when that's done retry to root its Android the proper way.
FYI: Once TWRP got installed on phone, you can't get rid off of it unless you re-flash phone's Stock ROM.
Click to expand...
Click to collapse
i flashed stock rom. i already said it.... still the problem exists
Silvershot said:
i flashed stock rom. i already said it.... still the problem exists
Click to expand...
Click to collapse
If you flash phone's Stock ROM then neither Magisk nor TWRP is existing , you can't run either of them ...
jwoegerbauer said:
If you flash phone's Stock ROM then neither Magisk nor TWRP is existing , you can't run either of them ...
Click to expand...
Click to collapse
yea, i flashed stock rom, then installed TWRP.
i will now flash stock rom again. i wiped everything using TWRP first.
could you tell me what to do once i flash stock rom again?
i attached a screenshot of trying to flash Force Encryption Disabler V4 for Magisk 18. even the disabler doesnt work... please someone help! i am working with stock clean rom. what is going on
0
Silvershot said:
could you tell me what to do once i flash stock rom again?
Click to expand...
Click to collapse
I could but I don't want to: IMO you simply didn't get it - you do anything without questioning the meaning.
Happy fiddling around with Magisk etc.pp.
jwoegerbauer said:
I could but I don't want to: IMO you simply didn't get it - you do anything without questioning the meaning.
Happy fiddling around with Magisk etc.pp.
Click to expand...
Click to collapse
why are you on this forum if you dont want to help? i explicitly said i tried both supersu and magisk. or how can i root without these 2? why do you say i didnt get it? im pretty sure i did the steps correctly
Silvershot said:
why are you on this forum if you dont want to help?
Click to expand...
Click to collapse
ROFL
BTW: Being active in this forum does not force me to give help in every case. Accept it.
Seppppx said:
You don't have to disable encryption to use magisk. Atleast I think from my experience.
This is the step-by-step tutorial.
1. Flash this global stock miui with TWRP. https://c.mi.com/in/miuidownload/detail?device=1700355 (if this is not the official ROM please correct me, there are a lot of fakes there)
2. Flash Magisk with TWRP. Download and flash it from this github repo. DO NOT DOWNLOAD IT FROM ANYWHERE ELSE!
https://github.com/topjohnwu/Magisk/releases
3. Reboot
Click to expand...
Click to collapse
thank you. this worked. i was using older version of magisk. the latest one did the trick.

Categories

Resources