Question Installing magisk on gsi? - Samsung Galaxy A32 4G

Is there any way to install magisk on a gsi by flashing a zip file in twrp.
Any help appreciated.

Seconding this question.
I made Magisk work with stock firmware, but I want a custom rom.
Successfully flashed base AOSP on it, and rooted (with the IMEI fix posted in other threads).
But now the Magisk app says its not installed. The phone is still rooted.
I need to fix this in order to access Magisk settings, like hidding Magisk so I can install/run apps that detect it.

sargeta said:
Seconding this question.
I made Magisk work with stock firmware, but I want a custom rom.
Successfully flashed base AOSP on it, and rooted (with the IMEI fix posted in other threads).
But now the Magisk app says its not installed. The phone is still rooted.
I need to fix this in order to access Magisk settings, like hidding Magisk so I can install/run apps that detect it.
Click to expand...
Click to collapse
custom rom? or a custom gsi. if you found custom rom please link me to it. but for gsi's you can just patch the AP file with magisk flash that with other files then flash twrp then flash the gsi of your choice and once you install magisk manager you should have root.

@Captain_cookie_200 I see your signature: "Galaxy A32 4G (SM-A325F) [Rooted with Magisk, Running Custom GSI] "
were you able to install magisk on a gsi on the a32 4g ? if so, how?

dronkit said:
@Captain_cookie_200 I see your signature: "Galaxy A32 4G (SM-A325F) [Rooted with Magisk, Running Custom GSI] "
were you able to install magisk on a gsi on the a32 4g ? if so, how?
Click to expand...
Click to collapse
just root it as you would on one ui?
i copied my firmware's ap file to phone. opened magisk. chose to select and patch a file. selected the ap file i copied. Now once its done patching it'll show a new file located at your downloads folder. something like magisk_patchex-26000-somwthingsomething.tar
copy that back to the pc. Now put BL Cp and CSC in their respective slots. Put the new patched file you copied from phone to pc in ap slot. start flash. once done. flash twrp and stuff again and once you install a gsi again it shld be rooted this time.
people think magisk modifies system. but in reality it only touches boot and other things. its a systemless root solution as it says. Although these days i dropped magisk for KernelSU and thats what I use now. I'll update my signature
Also the method i wrote above will wipe your data. backup important stuff before doing it.
If you dont want data loss you can Use HOME_CSC instead of CSC file in csc slot. And if u were using a gsi previously. do not let it boot into one ui. otherwise it might encrypt and destroy all your data.

Captain_cookie_200 said:
just root it as you would on one ui?
i copied my firmware's ap file to phone. opened magisk. chose to select and patch a file. selected the ap file i copied. Now once its done patching it'll show a new file located at your downloads folder. something like magisk_patchex-26000-somwthingsomething.tar
copy that back to the pc. Now put BL Cp and CSC in their respective slots. Put the new patched file you copied from phone to pc in ap slot. start flash. once done. flash twrp and stuff again and once you install a gsi again it shld be rooted this time.
people think magisk modifies system. but in reality it only touches boot and other things. its a systemless root solution as it says. Although these days i dropped magisk for KernelSU and thats what I use now. I'll update my signature
Also the method i wrote above will wipe your data. backup important stuff before doing it.
If you dont want data loss you can Use HOME_CSC instead of CSC file in csc slot. And if u were using a gsi previously. do not let it boot into one ui. otherwise it might encrypt and destroy all your data.
Click to expand...
Click to collapse
so basically you root the stock, then install the GSI?
yeah, I tried that yesterday and got bootlooped when I tried to boot the GSI for the first time
but today I realize it was data corruption on the memory card i was using
gonna try again. Thanks!

Related

how to update without losing root?

I'm using stock oos and root with magisk
Everytime I get an ota it removes root.
Does anyone have any ideas
It happens because if you choose to update over System Settings it somehow knows that your phone is rooted / has an unlocked BL.
Therefore, Oneplus only offers the full Image. There is a way to inspect this full Image.
The way I'm doing it whenever I'm updating is:
download the newest FW over PC, inspect zip... delete something that says "recovery" on it.
Because that is the one, that will return you to stock recovery, instead of keeping TWRP installed.
After flashing that zip; TWRP should still be available for you, from there you can re-flash the magisk zip and you should all be rooted then.
moeq123 said:
It happens because if you choose to update over System Settings it somehow knows that your phone is rooted / has an unlocked BL.
Therefore, Oneplus only offers the full Image. There is a way to inspect this full Image.
The way I'm doing it whenever I'm updating is:
download the newest FW over PC, inspect zip... delete something that says "recovery" on it.
Because that is the one, that will return you to stock recovery, instead of keeping TWRP installed.
After flashing that zip; TWRP should still be available for you, from there you can re-flash the magisk zip and you should all be rooted then.
Click to expand...
Click to collapse
After that do you only loose root? Is your data, apps, customizations still there? Other than magisk root what else got deleted? Please answer i wanna do it your way.
Also where do you download FW file?
nadiration said:
After that do you only loose root? Is your data, apps, customizations still there? Other than magisk root what else got deleted? Please answer i wanna do it your way.
Also where do you download FW file?
Click to expand...
Click to collapse
Firmwares should be available on manufactures site.
For Oneplus 5T it should be that link: https://downloads.oneplus.com/devices/oneplus-5t/
Honestly, I can't tell what's inside These files; as I don't have one of them at Hand; and I'm not allowed to download and open such files here at work.
If you want I can expect them later after work (4 hours or something) or you download one and post me the Folder tree as a text here.
I know, that if you remove this one recovery file/Folder/entry that it passes the flashing of the recovery Partition.
If I recall correctly (from my Knowledge of devices and roms other than op5t) inside of These downloaded firmwares there should be a file called "Image.zip"
inside that Image.zip there should be Folders or files like "boot", "recovery" "system Images", and "userdata".
Delete recovery and userdata, repack it to "Image.zip" and repack that zip to the previously downloaded zip...
flashing that pack should prevent you from your data being wiped.
I don't know if magisk will work without flashing magisk.zip over.
Before you do all that stuff, back up your data, try it, and please - let us know if that has worked.
[Edit]: TL;DR - In the end, it just wipes your data and installs another recovery because it has been told to do so inside of these Firmware Images.
Download that Firmware, inspect everything, and delete stuff that tells him to do stuff that you don't like.

Anyone successfully rooted SM-A520W?

Hey everyone,
I have been trying to root my new Samsung A5 (A520W - Canadian variant) but nothing seems to be working.
My first method was to flash CF AUTO ROOT with Odin, but this just rebooted the device without any sign of changing anything - no superSU installed and RootChecker returning negative results
I then flashed TWRP, and from there tried installing both SuperSU and Magisk v16.0, both of these options made the phone unusable (verification error on boot) so I flashed back to stock firmware and now I'm out of ideas.
I've tried looking for guides on the SM-A520F (non-Canadian variant) but most of these are out of date with respect to the recent OTA upgrade to nougat and/or mention the CF AUTO ROOT method which I know doesn't work
has anyone here managed to root this device? Am I missing a step, like formatting/wiping data beforehand or something? is it worth downgrading to an earlier android version?
Cheers!
dan.tjones said:
Hey everyone,
I have been trying to root my new Samsung A5 (A520W - Canadian variant) but nothing seems to be working.
My first method was to flash CF AUTO ROOT with Odin, but this just rebooted the device without any sign of changing anything - no superSU installed and RootChecker returning negative results
I then flashed TWRP, and from there tried installing both SuperSU and Magisk v16.0, both of these options made the phone unusable (verification error on boot) so I flashed back to stock firmware and now I'm out of ideas.
I've tried looking for guides on the SM-A520F (non-Canadian variant) but most of these are out of date with respect to the recent OTA upgrade to nougat and/or mention the CF AUTO ROOT method which I know doesn't work
has anyone here managed to root this device? Am I missing a step, like formatting/wiping data beforehand or something? is it worth downgrading to an earlier android version?
Cheers!
Click to expand...
Click to collapse
Format data with the FORMAT DATA button first in TWRP then immediately flash Magisk (preferred) or latest Supersu.
Reboot.
dan.tjones said:
Hey everyone,
I have been trying to root my new Samsung A5 (A520W - Canadian variant) but nothing seems to be working.
My first method was to flash CF AUTO ROOT with Odin, but this just rebooted the device without any sign of changing anything - no superSU installed and RootChecker returning negative results
I then flashed TWRP, and from there tried installing both SuperSU and Magisk v16.0, both of these options made the phone unusable (verification error on boot) so I flashed back to stock firmware and now I'm out of ideas.
I've tried looking for guides on the SM-A520F (non-Canadian variant) but most of these are out of date with respect to the recent OTA upgrade to nougat and/or mention the CF AUTO ROOT method which I know doesn't work
has anyone here managed to root this device? Am I missing a step, like formatting/wiping data beforehand or something? is it worth downgrading to an earlier android version?
Cheers!
Click to expand...
Click to collapse
Just wondering how you flashed TWRP (which version) and how? I'm having the same issue trying to get root on this phone and will probably just flash a custom
jermzii said:
Just wondering how you flashed TWRP (which version) and how? I'm having the same issue trying to get root on this phone and will probably just flash a custom
Click to expand...
Click to collapse
I have done it! Had the same problem and yes i have the Canadian a520w. I had to use Odin and then install superuser
Step one: Is to download Odin on pc mac or linux.
Step two: download superuser on your phone then move the file from your phone to
you computer.
Step three: open Odin and select the superuser zip file and it should say pass.
Step four: install root checker off Google play
This is not a full tutorial on how to install it but all you need to search is how to use Odin.
I got it!!
jermzii said:
I got it!!
Click to expand...
Click to collapse
Glad you got it to work did you use my method?
ashyx said:
Format data with the FORMAT DATA button first in TWRP then immediately flash Magisk (preferred) or latest Supersu.
Reboot.
Click to expand...
Click to collapse
Can you please provide a link to an appropriate TWRP version for SM-A520W?
Many thanks!
---------- Post added at 09:47 PM ---------- Previous post was at 09:45 PM ----------
SlickSneeker said:
I have done it! Had the same problem and yes i have the Canadian a520w. I had to use Odin and then install superuser
Step one: Is to download Odin on pc mac or linux.
Step two: download superuser on your phone then move the file from your phone to
you computer.
Step three: open Odin and select the superuser zip file and it should say pass.
Step four: install root checker off Google play
This is not a full tutorial on how to install it but all you need to search is how to use Odin.
Click to expand...
Click to collapse
Please excuse my being a layman in this matter. I tried tot flash superuser.zip using ODIN but ODIN does not even see zip files (it only recognizes some other formats like .tar, .img etc). Could you please give a little more details on how you flashed superuser.zip using ODIN?
Thanks a lot in advance.
jermzii said:
I got it!!
Click to expand...
Click to collapse
Hi jermzii,
I apologize for my questions - I am not very experienced in all these. I would like to ask you a few questions:
Where did you get an appropriate TWRP version for SM-A520W?
Also, ODIN, does not "see" zip files. How did you flash the supersu.zip using ODIN?
Many thanks for your help in advance.
I just bought a Canadian A520W with with stock Nougat (Telus firmware A520WVLS2BRD2). I tried to root it using CF autoroot and TWRP and I had the exact experience as the OP dan.tjones. There is no TWRP specifically for A520W. After trying several versions I found one which is successfully flashed with ODIN (TWRP 3.2.1.0 for A520F). TWRP appears to install Magisk (latest version 16) successfully but it shows no root or su binary. TWRP also appears to install SuperSU zip (there is a specific version for A520W nougat) successfully, but when I open SuperSU app, it says the SU binary is occupied. Google shows two "fixes" ((1) clean uninstall using an option within SuperSU, then reinstall, and (2) uninstall SuperSU + install an earlier version of SuperSU then updating the binary (hangs). Both fixes do not work. Someone mention wiping DATA in TWRP would fix the problem, but it did not work for me.
The major problem seems to be KNOX keep saying "failed verification". At one point it was so screwed up that it just boot-loop / hang and the only thing that work was download mode. I install TWRP again and it sticks. Then I wiped everything (cache/ Dalvik, data, system, internal storage). I probably could try to flash the stock nougat firmware using ODIN, but it was still downloading (snail speed free download).
Since there is no more OS in the phone, I manage to install a 6.0.1 pre-rooted custom ROM using TWRP (I originally intended to downgrade from 7 to 6.0.1 anyway because of reports of poor battery life), and installation was successfully, giving me root. BTW I originally tried to downgrade from stock nougat to stock marshmellow using ODIN, but it does not work ("failed" message).
The TWRP version that I flashed with ODIN:
TWRP 3.2.1.0 for A520F ("recovery_a5y17lte-080318.img.tar")
https://androidfilehost.com/?fid=890129502657588962
The 6.0.1 custom ROM I installed with TWRP:
AXES ROM v.1 (they did say it is compatible with A520W)
https://forum.xda-developers.com/samsung-a-series-2017/development/rom-t3606231
I did not find any nougat custom ROM suitable for A520W. I am happy that I can find a rooted ROM and it does not matter to me whether it is marshmellow or nougat.
slim_thumb said:
I just bought a Canadian A520W with with stock Nougat (Telus firmware A520WVLS2BRD2). I tried to root it using CF autoroot and TWRP and I had the exact experience as the OP dan.tjones. There is no TWRP specifically for A520W. After trying several versions I found one which is successfully flashed with ODIN (TWRP 3.2.1.0 for A520F). TWRP appears to install Magisk (latest version 16) successfully but it shows no root or su binary. TWRP also appears to install SuperSU zip (there is a specific version for A520W nougat) successfully, but when I open SuperSU app, it says the SU binary is occupied. Google shows two "fixes" ((1) clean uninstall using an option within SuperSU, then reinstall, and (2) uninstall SuperSU + install an earlier version of SuperSU then updating the binary (hangs). Both fixes do not work. Someone mention wiping DATA in TWRP would fix the problem, but it did not work for me.
The major problem seems to be KNOX keep saying "failed verification". At one point it was so screwed up that it just boot-loop / hang and the only thing that work was download mode. I install TWRP again and it sticks. Then I wiped everything (cache/ Dalvik, data, system, internal storage). I probably could try to flash the stock nougat firmware using ODIN, but it was still downloading (snail speed free download).
Since there is no more OS in the phone, I manage to install a 6.0.1 pre-rooted custom ROM using TWRP (I originally intended to downgrade from 7 to 6.0.1 anyway because of reports of poor battery life), and installation was successfully, giving me root. BTW I originally tried to downgrade from stock nougat to stock marshmellow using ODIN, but it does not work ("failed" message).
The TWRP version that I flashed with ODIN:
TWRP 3.2.1.0 for A520F ("recovery_a5y17lte-080318.img.tar")
https://androidfilehost.com/?fid=890129502657588962
Before flashing custom ROM (in zip format), I use TWRP to wipe everything on the phone (cache / Dalvik, data, system, internal storage).
The 6.0.1 custom ROM I installed with TWRP:
AXES ROM v.1 (they did say it is compatible with A520W)
https://forum.xda-developers.com/samsung-a-series-2017/development/rom-t3606231
I did not find any nougat custom ROM suitable for A520W. I am happy that I can find a rooted ROM and it does not matter to me whether it is marshmellow or nougat.
Click to expand...
Click to collapse
You have rooted the device successfully the first time when you flashed magisk.Just root manager app was not installed.
If you have screwed up your device, do a clean flash of OS...then flash twrp and after flashing magisk the binary would be flashed but the app would
not be installed.To do that extract the app from the magisk zip that you flashed.It must be in common folder inside the zip.
Dont flash binaries on top of binaries.
Hope it helps
dan.tjones said:
Hey everyone,
I have been trying to root my new Samsung A5 (A520W - Canadian variant) but nothing seems to be working.
My first method was to flash CF AUTO ROOT with Odin, but this just rebooted the device without any sign of changing anything - no superSU installed and RootChecker returning negative results
I then flashed TWRP, and from there tried installing both SuperSU and Magisk v16.0, both of these options made the phone unusable (verification error on boot) so I flashed back to stock firmware and now I'm out of ideas.
I've tried looking for guides on the SM-A520F (non-Canadian variant) but most of these are out of date with respect to the recent OTA upgrade to nougat and/or mention the CF AUTO ROOT method which I know doesn't work
has anyone here managed to root this device? Am I missing a step, like formatting/wiping data beforehand or something? is it worth downgrading to an earlier android version?
Cheers!
Click to expand...
Click to collapse
hey...im novice at this as well but I did get my a520w rooted with su on oreo with twrp...I flashed the latest su on twrp....twrp was hard to get on but there is somewhere that shows how...good luck
A Very Possible and Precise Solution
dan.tjones said:
Hey everyone,
I have been trying to root my new Samsung A5 (A520W - Canadian variant) but nothing seems to be working.
My first method was to flash CF AUTO ROOT with Odin, but this just rebooted the device without any sign of changing anything - no superSU installed and RootChecker returning negative results
I then flashed TWRP, and from there tried installing both SuperSU and Magisk v16.0, both of these options made the phone unusable (verification error on boot) so I flashed back to stock firmware and now I'm out of ideas.
I've tried looking for guides on the SM-A520F (non-Canadian variant) but most of these are out of date with respect to the recent OTA upgrade to nougat and/or mention the CF AUTO ROOT method which I know doesn't work
has anyone here managed to root this device? Am I missing a step, like formatting/wiping data beforehand or something? is it worth downgrading to an earlier android version?
Cheers!
Click to expand...
Click to collapse
Hey Sir!
Soooooo I've been messing around with this all night and I figured it out somehow after nearly frying my new A5 (2017) lol
I'd recommend that you follow the directions as best you can and as fully to help you not have to redo all your software settings and stuff like I did haha. I think if all this is done in this order you shouldn't have to lose your data. I can't guarantee anything but figured I could share what worked for me. BONUS: I actually don't have an unlocked phone and I'm still locked to my carrier actually! So I don't think all these warnings are necessarily valid. Anyhow, hope it helps. :laugh:
NOTE: I'm not allowed to post website links here for some reason haha so sorry for the inconvenience! All the sites began with the https colon double slash btw! So MAKE SURE to add that to the addresses below (links are in italics)!
FIRST: Completely backup phone using Android Studio as can be found at Tech Republic website /article/how-to-create-a-full-backup-of-your-android-device-without-root/ . Also I'd recommend you do a Smart Switch full backup. Smart Switch will work to some extent and I personally restored from there pretty intact as I didn't have the Android Studio backup option before my phone got wrecked by the Verification error after I attempted to flash SuperSU onto the phone using TWRP.
1. BEFORE ANYTHING ELSE: Enable Developer Mode (by tapping on the Build Number several times), Turn OEM unlock on, enable USB debugging, and make sure all the "factory reset block" is off (or Allow factory reset option is on) and encrypted data features are off, I unlocked any Notes and disabled Secure Folder and Knox and Samsung Pass
2. Turn phone off
3. Boot phone into Custom OS install mode by holding Power+Volume Up+Home
4. I downloaded a TWRP installer file from tx5.androidfilehost.com/dl/TLLV1I5jSqS9Zg68RNh1hA/1538776061/890129502657588962/recovery_a5y17lte-080318.img.tar
5. Download the Odin software to flash TWRP onto your device, I got mine from drive.google.com/file/d/0B-2yp-J_x0LPaGJrSUlUcHE1a2s/view
6. Used Odin 3.1 to flash TWRP onto Recovery using the AP function, also turned Auto Reboot and F.Restart off (unchecked boxes)
7. Downloaded (newest file that's a zip) such as no-verity-opt-encrypt-6.0.zip from build.nethunter.com/android-tools/no-verity-opt-encrypt/ and put it on the SD card in the phone
8. Turned phone off and booted it into Recovery Mode by holding Power+Volume Down+Home
9. Used TWRP recovery to flash the no-verity-opt-encrypt-6.0.zip which sort of disables all the security things on Samsung (such as Health and Pass and Auto Updates) that would block your work, and this actually lets you reboot your phone instead of getting the Verification Integrity Check failed error and having to reset your phone every time.
10. After rebooting my phone, everything was running fine. I then downloaded SuperSU file SR5-SuperSU-v2.82-SR5-20171001224502.zip from download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip?retrieve_file=1
11. Used TWRP in Recovery Mode to flash SuperSU onto phone from SD card and hit Reboot. Slight boot loop was visible and then the phone restarted normally with SuperSU installed and full root access. Thanks be to God.
Again, I can't guarantee this will work BUT it is the first walkthrough that I know of on the web. Hope it helps at all!
Edit:
Originally gave up on this, but recently managed to flash TWRP.
Now in Verification Error on boot, and trying to flash the no-verity to get around that.
Success (almost rooted, but shouldn't be much harder)
Just flashed a custom OS using Odin_3.12.3, twrp-3.2.3-1-a5y17lte.img.tar, lineage-14.1-20181117-nightly-a5y17lte-signed.zip, and open_gapps-arm64-7.1-pico-20181204.zip.
With help from this discussion, the LineageOS wiki "Install LineageOS on a5y17lte", r/LineageOS "Heimdall Failed to send data" (a post by noahajac was very helpful. You'll find it soon after OP), and the Odin install guide.
Some problems I encountered was that heimdall isn't favoured for this, and that if you try to wipe your partition through TWRP and it says it couldn't mount /data, you need to format the partition before wiping it.
Edit: so upon using the phone for a bit, it became evident that the SIM card was not being detected. From what I've read so far, this is because the phone had Android Oreo and the LineageOS was for Nougat. So I will have to restore and then revert to a Nougat version of Android and try again from there...
Not gonna be finished tonight. As long as I can get the restore and cell service working...
Two Questions re: rooting the SM-A520W
1. How can I make a proper Nandroid Backup. Everytime I go into TWRP the /data partition is unavailable. Yes I formated it and flashed no-verity-opt-encrypt-6.0.zip but it still is Zero bytes.
2. After rooting, the Fingerprint scanner becomes non operational and the lock screen password/pin does not work (keeps asking for the same password/pin over and over even though they are correct.)
Thanks for the Help.
ethan_hines said:
1. How can I make a proper Nandroid Backup. Everytime I go into TWRP the /data partition is unavailable. Yes I formated it and flashed no-verity-opt-encrypt-6.0.zip but it still is Zero bytes.
2. After rooting, the Fingerprint scanner becomes non operational and the lock screen password/pin does not work (keeps asking for the same password/pin over and over even though they are correct.)
Thanks for the Help.
Click to expand...
Click to collapse
Which firmware are you running.
ashyx said:
Which firmware are you running.
Click to expand...
Click to collapse
I'm on Stock 8.0
I managed to fix problem 1 by flashing a modded Version of TWRP (3.2.3-TwrpBuilder) I am rooted with Magisk and now have access to the /data partition and can make a proper Nandroid Backup.
Problem 2 Is still there I seem to remember I have to replace Samsung Pass and Samsung Account, but I don't know where they are located I think I am supposed to create a directory in /prv-app I don't remember
I have that phone. I installed a custom recovery and used super SU.
SonicFan66 said:
I have that phone. I installed a custom recovery and used super SU.
Click to expand...
Click to collapse
I didn't want Super SU because it can't be hidden from apps that disable if root is detected esp. Snapchat
@ethan_hines did you figure it out? I am looking to do what you did.

[GUIDE] How to Root OnePlus 7T without TWRP

So today with some testers i managed to make root on OnePlus 7T, I want to specify that 95% of the work was done by @topjohnwu (Magisk creator). For now you should use only Magisk Canary files
I will explain 2 different guides:
First Root Guide:
This guide is for a specific rom version, so you will need to use a specific patched boot.img
- Download the patched_boot.img
- Reboot your device in bootloader-fastboot mode
- Flash the patched_boot.img in the boot partition:
Code:
fastboot flash boot boot.img
replace "boot.img" with the patched_boot.img path
- Reboot the device
- Install Magisk Manager
Second Root Guide:
This guide is more generic than the first one, you should use this one if you are unable to find a specific patched boot.img
- Download a patched_boot.img (you should try with the latest one)
- Reboot your device in bootloader-fastboot mode
- Boot the patched_boot.img:
Code:
fastboot boot boot.img
replace "boot.img" with the patched_boot.img path
- Reboot the device
- Install Magisk Manager
- Click on Install, then direct install and wait the end of the process
- Reboot the device
Third Root Guide:
Guide by @gpz1100
TIPS:
Actually you should use only Magisk canary files Magisk 20.3
You can get the stock boot images from the fastboot rom: https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Actually i'm using magisk manager canary and magisk canary debug to patch the boot.img, I don't recommend updating magisk, if you don't want to see the updates install the normal magisk manager
Magisk 20.3 fully support OnePlus 7T and 7T Pro
HOW TO UPDATE a ROM and KEEP ROOT:
Before all Disable all magisk modules
Be sure to use Canary Magisk Manager and Canary Magisk (debug)
You can update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- In Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.
Download:
Patched/Stock Boot Images: https://www.androidfilehost.com/?w=files&flid=300177
Reccomended ADB and Fastboot binaries:
Adb and Fastboot Installer
Donations:
Credits:
@RohanAJoshi
Flashed and working flawless.
Really thanks for this.
Awesome work bro.
Can you please upload the patched boot.img please? I dont see it in the above folder at all.
nick_22 said:
Can you please upload the patched boot.img please? I dont see it in the above folder at all.
Click to expand...
Click to collapse
Done, i uploaded them using ftp and i forgot to move the files in the right folder
Working, thanks a lot @mauronofrio
I am on 10.0.3 begin so i should flash the magisk patched boot image of this version, is that correct? With what should i flash, sdk tools or any other specific tool? Is there any portable adb toolkit and do i need to copy the not image in the same folder as adb?
Edit : I tried but the device was locked so unlocked it after finding instructions on xda. Never knew it would wipe everything including internal storage also
Need to install everything again and have lost data of last few days. But I got root so that's the only consolation. Also a lesson never to make unnecessary haste. But it's fine. Won't repeat the mistake again.
jesrani said:
I am on 10.0.3 begin so i should flash the magisk patched boot image of this version, is that correct? With what should i flash, sdk tools or any other specific tool? Is there any portable adb toolkit and do i need to copy the not image in the same folder as adb?
Edit : I tried but the device was locked so unlocked it after finding instructions on xda. Never knew it would wipe everything including internal storage also
Need to install everything again and have lost data of last few days. But I got root so that's the only consolation. Also a lesson never to make unnecessary haste. But it's fine. Won't repeat the mistake again.
Click to expand...
Click to collapse
See OP, its clearly mentioned there. You have to flash this via fastboot and not any custom recovery. Firstly setup adb on your PC and then check the commands. Its very easy. Do some googling and still if its difficult for you, come back and ask.
jesrani said:
I am on 10.0.3 begin so i should flash the magisk patched boot image of this version, is that correct? With what should i flash, sdk tools or any other specific tool? Is there any portable adb toolkit and do i need to copy the not image in the same folder as adb?
Edit : I tried but the device was locked so unlocked it after finding instructions on xda. Never knew it would wipe everything including internal storage also
Need to install everything again and have lost data of last few days. But I got root so that's the only consolation. Also a lesson never to make unnecessary haste. But it's fine. Won't repeat the mistake again.
Click to expand...
Click to collapse
Welcome to the android scene, reminds me of the old psx scene
I installed some rogue module, that was not supposed to be installed on OP 7T. Due to this, now I am not able to boot into patched boot. I had to re-flash my stock boot.img to boot into my phone. Can you please help? I want to uninstall that particular module thats all. Tried doing something with your TWRP, but it wont show my system or storage at all.
@mauronofrio, thanks so much for this. I had some queries :
1) Is the internal storage always wiped when bootloader is unlocked or did I do something wrong?
2) I have switched off auto-download of updates and also disabled automatic system updates in Developer settings. Is this correct? How to proceed when an update is available in future?
3) Will TWRP be developed or is it not useful for OP7T?
nick_22 said:
I installed some rogue module, that was not supposed to be installed on OP 7T. Due to this, now I am not able to boot into patched boot. I had to re-flash my stock boot.img to boot into my phone. Can you please help? I want to uninstall that particular module thats all. Tried doing something with your TWRP, but it wont show my system or storage at all.
Click to expand...
Click to collapse
Get your stock boot.img from 1st post.
Reboot to bootloader.
And do this command
fastboot flash boot boot.img
fastboot reboot
Device will boot unrooted.
---------- Post added at 05:58 AM ---------- Previous post was at 05:55 AM ----------
jesrani;80464121 [user=4712355 said:
@mauronofrio[/user], thanks so much for this. I had some queries :
1) Is the internal storage always wiped when bootloader is unlocked or did I do something wrong?
2) I have switched off auto-download of updates and also disabled automatic system updates in Developer settings. Is this correct? How to proceed when an update is available in future?
3) Will TWRP be developed or is it not useful for OP7T?
Click to expand...
Click to collapse
1. Yes, always wipe
2. Just update as usual, let update go, after installation complete, don't reboot device. Go to magisk, install, install on inactive slot. Reboot. You will be rooted (Warning : this is not tested on 7T, this method from 7)
3. TWRP will be developed but some good dev like @mauronofrio need device for this, as of now, no hopes for twrp. We are lucky that we got root.
RohanAJoshi said:
1. Yes, always wipe
2. Just update as usual, let update go, after installation complete, don't reboot device. Go to magisk, install, install on inactive slot. Reboot. You will be rooted (Warning : this is not tested on 7T, this method from 7)
3. TWRP will be developed but some good dev like @mauronofrio need device for this, as of now, no hopes for twrp. We are lucky that we got root.
Click to expand...
Click to collapse
Thanks. Yes, root is good enough right now.
By "update as usual", do you mean through OTA? I think the phone reboots after update is downloaded and then installs the update but not sure. So once it reboots after updating, should I go to Magisk and install root?
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
jesrani said:
Thanks. Yes, root is good enough right now.
By "update as usual", do you mean through OTA? I think the phone reboots after update is downloaded and then installs the update but not sure. So once it reboots after updating, should I go to Magisk and install root?
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
Click to expand...
Click to collapse
In older devices like OP5T it happens like this, not in newer devices. OP7T has seamless updates, its installs while device is turned on in second partition.
nick_22 said:
I installed some rogue module, that was not supposed to be installed on OP 7T. Due to this, now I am not able to boot into patched boot. I had to re-flash my stock boot.img to boot into my phone. Can you please help? I want to uninstall that particular module thats all. Tried doing something with your TWRP, but it wont show my system or storage at all.
Click to expand...
Click to collapse
So, modules are saved in /data , the only way to remove them without root actually is wiping data, if you can't now, you can just flash the stock boot.img because without root the modules can't work. Usually you can remove all magisk stuff using magisk uninstaller.
jesrani said:
@mauronofrio, thanks so much for this. I had some queries :
1) Is the internal storage always wiped when bootloader is unlocked or did I do something wrong?
2) I have switched off auto-download of updates and also disabled automatic system updates in Developer settings. Is this correct? How to proceed when an update is available in future?
3) Will TWRP be developed or is it not useful for OP7T?
Click to expand...
Click to collapse
1) yes
2) for rom updates i will pubblish a guide in the first post in some minutes
3) yes it will be developed but actually is needed a bit of time because twrp is not working for op7t (due to android 10)
mauronofrio said:
So, modules are saved in /data , the only way to remove them without root actually is wiping data, if you can't now, you can just flash the stock boot.img because without root the modules can't work. Usually you can remove all magisk stuff using magisk uninstaller.
1) yes
2) for rom updates i will pubblish a guide in the first post in some minutes
3) yes it will be developed but actually is needed a bit of time because twrp is not working for op7t (due to android 10)
Click to expand...
Click to collapse
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
jesrani said:
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
Click to expand...
Click to collapse
Canary debug, don't update it
Help please. I have returned to Android after 5years with OnePlus 7t and trying to root it. I am trying this method but not being able to successfully root it. Steps I have tried
Went to fastboot mode by restarting the phone but I don't get an option to install the patched image file. And even boatloader is locked. Do I need to unlock the bootloader. And I unlock will I loose my data. Sorry for silly question I have completely forgot about Android.
Thanks, rooted successfully
?
To be honest need video tutorial asap?
mauronofrio said:
So, modules are saved in /data , the only way to remove them without root actually is wiping data, if you can't now, you can just flash the stock boot.img because without root the modules can't work. Usually you can remove all magisk stuff using magisk uninstaller.
1) yes
2) for rom updates i will pubblish a guide in the first post in some minutes
3) yes it will be developed but actually is needed a bit of time because twrp is not working for op7t (due to android 10)
Click to expand...
Click to collapse
Ok. Got it. So, I have already booted back to unrooted mode now. And I cant wipe my data again. Thanks for your response.

January OTA update

Hey guys like the title says this months update is ready. I'm wondering if I can do the restore stock boot img thru magisk even tho I'm using MVK kernel?? Will it send me into boot loop??
** No bootloop everything worked out just fine **
Just a note tho, if you've rooted by patching the boot img you won't have a backup in magisk. You'll have to take the stock boot img from your current build and compress it with this file name stock_boot_0.img in a .gz compression then copy that to the /data folder in root storage. Then go into /sbin folder and go into .magisk folder, tap on config and change the SHA value to 0 and save it.
After that's done you can restore your stock boot thru magisk, take the OTA update, don't reboot yet, install magisk to the inactive slot, once done you can reboot and your good to go and still rooted
Perfect
Grabbed the full factory image. Removed the -w in flash-all. Flashed, patched boot.img. Works great!
Anyone having trouble with root on Jan update getting lost after a rebooot?
Tried 3 times now and same result each time.
Load magisk patched boot image for January via fastboot
Root fully operational
Install a magisk module
Required reboot after installing above module
Phone is no longer rooted
Can anyone confirm or deny if they get the same.
adm1jtg said:
Anyone having trouble with root on Jan update getting lost after a rebooot?
Tried 3 times now and same result each time.
Load magisk patched boot image for January via fastboot
Root fully operational
Install a magisk module
Required reboot after installing above module
Phone is no longer rooted
Can anyone confirm or deny if they get the same.
Click to expand...
Click to collapse
No..root still working here after reboot.
adm1jtg said:
Anyone having trouble with root on Jan update getting lost after a rebooot?
Tried 3 times now and same result each time.
Load magisk patched boot image for January via fastboot
Root fully operational
Install a magisk module
Required reboot after installing above module
Phone is no longer rooted
Can anyone confirm or deny if they get the same.
Click to expand...
Click to collapse
Working just fine here
adm1jtg said:
Anyone having trouble with root on Jan update getting lost after a rebooot?
Tried 3 times now and same result each time.
Load magisk patched boot image for January via fastboot
Root fully operational
Install a magisk module
Required reboot after installing above module
Phone is no longer rooted
Can anyone confirm or deny if they get the same.
Click to expand...
Click to collapse
UPDATE: thanks to the feedback i got it working... Turns out was a bad magisk module, updated and all is well. Thanks
thatsupnow said:
Hey guys like the title says this months update is ready. I'm wondering if I can do the restore stock boot img thru magisk even tho I'm using MVK kernel?? Will it send me into boot loop??
** No bootloop everything worked out just fine **
Just a note tho, if you've rooted by patching the boot img you won't have a backup in magisk. You'll have to take the stock boot img from your current build and compress it with this file name stock_boot_0.img in a .gz compression then copy that to the /data folder in root storage. Then go into /sbin folder and go into .magisk folder, tap on config and change the SHA value to 0 and save it.
After that's done you can restore your stock boot thru magisk, take the OTA update, don't reboot yet, install magisk to the inactive slot, once done you can reboot and your good to go and still rooted
Click to expand...
Click to collapse
I've done all steps up until the OTA part. It keeps giving me "Couldn't update, Installation problem" after numerous tries. Both here and the Magisk guide say DO NOT reboot. Am I screwed if I reboot or just have to repeat the process?
Thanks
Basically I was on November update with magisk and a custom kernel installed I couldn't take otas so how I fixed it was @mbk17 I had to flash the matching boot IMG in fastboot from the update I was on to get installation problem error to go away so I could take an ota.
Download matching factory image from goggles website
Then unzip the file
Then also unzip the image bonito zip
The boot IMG is inside second zip
Flash boot IMG in fastboot issue fixed :victory:
thatsupnow said:
Just a note tho, if you've rooted by patching the boot img you won't have a backup in magisk. You'll have to take the stock boot img from your current build and compress it with this file name stock_boot_0.img in a .gz compression then copy that to the /data folder in root storage. Then go into /sbin folder and go into .magisk folder, tap on config and change the SHA value to 0 and save it.
After that's done you can restore your stock boot thru magisk, take the OTA update, don't reboot yet, install magisk to the inactive slot, once done you can reboot and your good to go and still rooted
Click to expand...
Click to collapse
Actually, there is an easier way. Get the stock boot.img for the current build, put it on your phone, and patch that boot.img through Magisk. It will backup that original boot.img before it patches it. Don't need to do anything with the patched boot.img, but when you restore images, it will take the backup you just created.
---------- Post added at 10:03 PM ---------- Previous post was at 09:59 PM ----------
mbk17 said:
I've done all steps up until the OTA part. It keeps giving me "Couldn't update, Installation problem" after numerous tries. Both here and the Magisk guide say DO NOT reboot. Am I screwed if I reboot or just have to repeat the process?
Thanks
Click to expand...
Click to collapse
I know it's too late but in the future if you get this, you're still rooted until you reboot, so just reinstall magisk through direct install. Now when you reboot, you're still rooted.
That said, if you can't update through the ota, you're going to have to update through ADB, and you'll lose root anyway.
Bramton1 said:
Actually, there is an easier way. Get the stock boot.img for the current build, put it on your phone, and patch that boot.img through Magisk. It will backup that original boot.img before it patches it. Don't need to do anything with the patched boot.img, but when you restore images, it will take the backup you just created.
Tried that and didn't work. Kept saying backup didn't exist, hence why I posted this steps
Click to expand...
Click to collapse

Question Can someone explain to me how to root this phone using ArrowOS ROM?

Hi all, I am very confused. I am trying to figure out how to root this phone. I read the instructions for magisk and attempted to patch the boot.img file linked in the ArrowOS post (https://drive.google.com/file/d/1o-4T4hfEtxECIss-DVSSYAM1Kvy2iDN9/view?usp=sharing)
But whenever I flash that patched boot.img I am getting stuck on a bootloop. And then I found someone already patched the boot.img on August (this post) but that boot.img does not pass safetynet.
Can someone explain to me what I am doing wrong and how to properly root this phone? Thanks!
litetaker said:
Hi all, I am very confused. I am trying to figure out how to root this phone. I read the instructions for magisk and attempted to patch the boot.img file linked in the ArrowOS post (https://drive.google.com/file/d/1o-4T4hfEtxECIss-DVSSYAM1Kvy2iDN9/view?usp=sharing)
But whenever I flash that patched boot.img I am getting stuck on a bootloop. And then I found someone already patched the boot.img on August (this post) but that boot.img does not pass safetynet.
Can someone explain to me what I am doing wrong and how to properly root this phone? Thanks!
Click to expand...
Click to collapse
Open developers options enable usb debugging , connect pc type in CMD :
adb reboot bootloader && fastboot boot
( After fastboot boot space and then you drag and drop twrp file )
Phone boots into twrp , copy magisk from pc and paste to phone , press install in twrp and choose magisk. That's it , I make sure to leave inject twrp as disabled. If you want to install twrp first reboot into system make sure magisk works alright then boot into twrp again and install via advanced menu
Can you explain the "copy magisk from pc and paste to phone , press install in twrp and choose magisk" part? It is not very clear?
Is this a different method instead of patching the boot.img? If so, is this permanent or temporary and I need to use recovery every time to re-enable root?
Just flash the magisk apk file using twrp, yes you can flash apk file on twrp. Make sure 'inject twrp' is unchecked! Reboot then wait till magisk app appears on app drawer and run it then follow the steps it will tell.
Ok, that worked. But the SafetyNet checks are not passing though! How can I make it pass?
litetaker said:
Ok, that worked. But the SafetyNet checks are not passing though! How can I make it pass?
Click to expand...
Click to collapse
you really cant do anything about that now, google recently announced that they are implementing a hardware attest method for every phone. That means once you root the device, you wont be able to pass safety net, given that its hardware level now, its near impossible to find a solution now but im pretty sure there are some ways to trick it into giving the safety net a pass status, but im currently not aware of one.
litetaker said:
Ok, that worked. But the SafetyNet checks are not passing though! How can I make it pass?
Click to expand...
Click to collapse
You can enable MagiskHide in the settings
Noe367 said:
You can enable MagiskHide in the settings
Click to expand...
Click to collapse
Wow, I did not double check it after hiding magisk but it works now! Thanks!
litetaker said:
Wow, I did not double check it after hiding magisk but it works now! Thanks!
Click to expand...
Click to collapse
Be sure, to enable MagiskHide to the apps that needs it, otherwise you can also install the module "MagiskHide Props Configs"

Categories

Resources