Android 10 comes earlier than expected, but there's no twrp to flash Magisk to gain root access. I tried to use SAR method to patch boot image, and it actually worked:
Requirements:
- A PC with ADB environment setup. * If you are using macOS, try to use a Virtual machine instead.
- XperiFirm to download Android 10 firmware.
- Magisk Manager App.
- unsin.exe program to extract sin file. Download here.
Instructions:
1. download the latest Android 10 firmware from XperiFirm, the current one is 52.1.A.0.532
2. open the downloaded folder and find boot_X-FLASH-ALL-B6B5.sin file. it may vary on XZ2C, but it surely will start with `boot_X-FLASH-ALL` .
3. drag the boot_X-FLASH-ALL-B6B5.sin file over unsin.exe to extract boot image, then you will get boot_X-FLASH-ALL-B6B5.img in the same directory.
4. Copy boot_X-FLASH-ALL-B6B5.img into your phone.
5. Install Magisk manager app, and make sure your phone is connected to the internet
6. Press Install → Install → Select and Patch a File, and select boot_X-FLASH-ALL-B6B5.img
7. Copy the patched image from your device to your PC, then flash it with fastboot command:
Code:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot reboot
after reboot the devices, your XZ2 is should be rooted, but it probably not pass SafetyNet Check, you can use MagiskHide Props Config Module to fix it.
I can't find the way to leave the boot image and patched boot image down below as the attachments, but even if I did, I still suggest to do it manually, just in case I am an idiot and it might broke your phone.
stupid question, but do I have to unlock my bootloader first?
Ressax said:
stupid question, but do I have to unlock my bootloader first?
Click to expand...
Click to collapse
In official way, google it and you will passed to the sony site.
Okay, but am I losing my warranty?
Ressax said:
Okay, but am I losing my warranty?
Click to expand...
Click to collapse
Read the info on the sony site
can you share the unsin.exe?
found it
https://forum.xda-developers.com/crossdevice-dev/sony/tool-unsin-sin-v3-unpacker-t3128106
Ressax said:
Okay, but am I losing my warranty?
Click to expand...
Click to collapse
Yes.
And your DRM keys, video enhancement, Netflix with 480p and no HDR, some bank apps and a lot of other things.
Hingbong said:
can you share the unsin.exe?
found it
https://forum.xda-developers.com/crossdevice-dev/sony/tool-unsin-sin-v3-unpacker-t3128106
Click to expand...
Click to collapse
Thank you bro, I was edit this post in a rush, forget to add the unsin unpacker
Luhccas-X10 said:
Yes.
And your DRM keys, video enhancement, Netflix with 480p and no HDR, some bank apps and a lot of other things.
Click to expand...
Click to collapse
is it still true after Pie update?
hary232 said:
is it still true after Pie update?
Click to expand...
Click to collapse
This is independent of any android version.
Unlocking the bootloader means erasing all important cert keys, image enhancements (both on screen and on camera) and revoking the security verification of some applications.
Thanks for posting this! Figured I'm chime in with my experience:
1. I'd recommend wiping userdata when upgrading to Android 10 - I don't know if this is strictly necessary, but I do know that I haven't experienced the unresponsive fingerprint sensor issue others have mentioned, or any other issues.
2. If you want to use Xposed modules like GravityBox, don't install EdXposed! The versions in the Magisk stable repository are not compatible with Android 10 and will bootloop, and even the beta version 0.4.6.0 from https://github.com/ElderDrivers/EdXposed/releases doesn't work with any module I tried.
3. Fortunately, https://taichi.cool/ works perfectly with GravityBox! Install it along with its Magisk module, and then install GravityBox Q beta 6 from https://forum.xda-developers.com/xposed/modules/app-gravitybox-v10-0-0-beta-1-android-10-t3974497.
works on my xz2c
@everyone who is interested in getting EdXposed working with Android 10
You need to add the following Magisk modules:
1. Riru - Core 19.6 from here
2. EdXposed-SandHook-0.4.6.1 from here (not the YAHFA version!)
Further you need to install the most current Xposed Manager app from here (the default Xposed Installer app won't work, so deinstall it!).
After a soft reboot, it should work :good:
Most probably it'll break Safety Net (have a look inside Magisk Manager). As a workaround, you have to open Xposed Manager and black-list the following:
- Google PlayStore
- Google Play Services
- Google-Services-Framework
Reboot system
Done!
> Apply your modules (maybe not every module will work. I have successfully tested AFWall+ and XprivacyLUA)
@serajr
Thanks a lot for your kind help to get this working :highfive:
Klaus N. said:
@everyone who is interested in getting EdXposed working with Android 10
You need to add the following Magisk modules:
1. Riru - Core 19.6 from here
2. EdXposed-SandHook-0.4.6.1 from here (not the YAHFA version!)
Further you need to install the most current Xposed Manager app from here (the default Xposed Installer app won't work, so deinstall it!).
After a soft reboot, it should work :good:
Most probably it'll break Safety Net (have a look inside Magisk Manager). As a workaround, you have to open Xposed Manager and black-list the following:
- Google PlayStore
- Google Play Services
- Google-Services-Framework
Reboot system
Done!
> Apply your modules (maybe not every module will work. I have successfully tested AFWall+ and XprivacyLUA)
@serajr
Thanks a lot for your kind help to get this working :highfive:
Click to expand...
Click to collapse
Hello, thanks for this little tutorial !
However, on another thread, ppl aren't singing the same tune ! Look at this answer that I get. @Ænimal explained me that YAHFA version should be better, especially if I want to use XPrivacyLUA.
I guess I should follow your instruction, but I downgraded my XZ2C to Android 9 from 10. I don't know if it will work as you.
I tried with this version of EdXposed : magisk-EdXposed-SandHook-v0.4.6.0_beta.4471.-release.zip and after installed Riru succesfully, I installed SandHook v0.4.6.0 and I get a bootloop issue on my phone.
So I guess I have to try SandHook v0.4.6.1 and if it doesn't work I should try YAHFA v0.4.6.1.
stilflip said:
Hello, thanks for this little tutorial !
However, on another thread, ppl aren't singing the same tune ! Look at this answer that I get. @Ænimal explained me that YAHFA version should be better, especially if I want to use XPrivacyLUA.
I guess I should follow your instruction, but I downgraded my XZ2C to Android 9 from 10. I don't know if it will work as you.
I tried with this version of EdXposed : magisk-EdXposed-SandHook-v0.4.6.0_beta.4471.-release.zip and after installed Riru succesfully, I installed SandHook v0.4.6.0 and I get a bootloop issue on my phone.
So I guess I have to try SandHook v0.4.6.1 and if it doesn't work I should try YAHFA v0.4.6.1.
Click to expand...
Click to collapse
I've always used to install YAHFA builds till android 9, with no issues. So, while you're on android 9, YAHFA is the answer!
SandHook builds, on android 10, FOR NOW, seem to cause less error than YAHFA (at least in the logs - verbose/modules), that's why I'm using it.
But, as soon as EdXposed's dev releases an android 10 YAHFA fixed version, I flash it!
Klaus N. said:
@everyone who is interested in getting EdXposed working with Android 10
You need to add the following Magisk modules:
1. Riru - Core 19.6 from here
2. EdXposed-SandHook-0.4.6.1 from here (not the YAHFA version!)
Further you need to install the most current Xposed Manager app from here (the default Xposed Installer app won't work, so deinstall it!).
After a soft reboot, it should work :good:
Most probably it'll break Safety Net (have a look inside Magisk Manager). As a workaround, you have to open Xposed Manager and black-list the following:
- Google PlayStore
- Google Play Services
- Google-Services-Framework
Reboot system
Done!
> Apply your modules (maybe not every module will work. I have successfully tested AFWall+ and XprivacyLUA)
@serajr
Thanks a lot for your kind help to get this working :highfive:
Click to expand...
Click to collapse
Hell yeah ! This method worked for me !
I have a XZ2C (H8324) on Android 9 (build 52.0.1.8.131), and I follow step by step your tutorial, and everything worked like a charm !
I installed XPrivacyLua, it seems working. I'll post here if I have any issue to report !
Thanks !
Backup TA
Thank you for your post
Sorry for going offtopic, but can someone give info on how to safely backup TA? I spent two days but couldn't find any info on how to do it on (at the moment, latest) stock Android 10 (52.1.A.0.532) on H8324 (XZ2c).
The way I understand for this root procedure to work, I need to unlock bootloader, and that means losing DRM keys. Is there any info on how to restore bootloader and DRM keys after I finish rooting my device?
I tried to:
1) Downgrade to stock Android 8.
2) Use backupTA_v2 or FlashTool to backup TA.
But that doesn't work.
maricn said:
Thank you for your post
Sorry for going offtopic, but can someone give info on how to safely backup TA? I spent two days but couldn't find any info on how to do it on (at the moment, latest) stock Android 10 (52.1.A.0.532) on H8324 (XZ2c).
The way I understand for this root procedure to work, I need to unlock bootloader, and that means losing DRM keys. Is there any info on how to restore bootloader and DRM keys after I finish rooting my device?
I tried to:
1) Downgrade to stock Android 8.
2) Use backupTA_v2 or FlashTool to backup TA.
But that doesn't work.
Click to expand...
Click to collapse
Hello there,
If you unlock your bootloader on Android 8, DRM keys will be lost on Android 8 so you'll lost camera definitely.
However, on Android 10 and 9, you won't lost DRM keys. Take care, you'll loose camera preview on Android 9 with this version of build and lower : 52.0.A.3.84.
So better to upgrade at least to Android 9, and the lower firmware where camera isn't bugged at all when you unlock bootloader is Android 9 (52.0.A.8.131).
Conclusion : for rooting your device, you need to unlock your bootloader. If you're running on Android 10 (build 52.1.A.0.532) then, everything will be ok, I did it myself and everything worked fine.
If you need more help on how to downgrade your firmware, just let me. Personally, I didn't like Android 10 so I came back to Android 9 (52.0.A.8.131)
So, if unlocking bootloader on android 10 we won't lose the DRM keys or any other functionality?
DUMIY said:
So, if unlocking bootloader on android 10 we won't lose the DRM keys or any other functionality?
Click to expand...
Click to collapse
You will lost he drm keys always when unlock the bootloader on an xperia device.
Related
Hey all,
Just purchased a LG U2 and now trying to make it work in the way i want it.
All informations here seem very old, so I wanted to open an update thread, with all what is possible on th lgu2, while
I found only very outdated informations...:crying:
So far:
First I setup the watch with AW2.0, after that flashed twrp 3.1.1.0 and supersu wear 2.82
I managed to get busybox installed and wanted further add Xposed.
There my problem starts, flashing xposed didn't work out.
So right after that, I switchd to Magisk root, to try work with the modules supplied.
(Steps -> use script UnSU, after that flash boot.img again, than flash MAgisk through twrp)
But after that the same with the modules. I try to install busybox, magisk tell me its no magisk module (i've downloaded the module and pushed it on the sd through adb, while the download button isn't reachable in magisk dialogue menu)
in twrp the module tells me there is no magisk installed.
so how can we go on from here? is there a way to make it all work?
did somebody try to change dpi and download the module directly through magisk? does it work?
also if somebody could help with an updated list of sideload able full android apps?
would need an email that can handle at least two accounts directly on the watch (please not advice outlook, its working from the phone i know)
thanks to all in advance
sebj84 said:
Hey all,
Just purchased a LG U2 and now trying to make it work in the way i want it.
All informations here seem very old, so I wanted to open an update thread, with all what is possible on th lgu2, while
I found only very outdated informations...:crying:
So far:
First I setup the watch with AW2.0, after that flashed twrp 3.1.1.0 and supersu wear 2.82
I managed to get busybox installed and wanted further add Xposed.
There my problem starts, flashing xposed didn't work out.
So right after that, I switchd to Magisk root, to try work with the modules supplied.
(Steps -> use script UnSU, after that flash boot.img again, than flash MAgisk through twrp)
But after that the same with the modules. I try to install busybox, magisk tell me its no magisk module (i've downloaded the module and pushed it on the sd through adb, while the download button isn't reachable in magisk dialogue menu)
in twrp the module tells me there is no magisk installed.
so how can we go on from here? is there a way to make it all work?
did somebody try to change dpi and download the module directly through magisk? does it work?
also if somebody could help with an updated list of sideload able full android apps?
would need an email that can handle at least two accounts directly on the watch (please not advice outlook, its working from the phone i know)
thanks to all in advance
Click to expand...
Click to collapse
Ok i did a fresh flash.
i see my fault was to install busybox the first time after installing supersu.
did it this time without and mgisk works so far fine. granting access for total commander no problem.
but now another thing. i installed now busybox from the repos in magisk, he say installation successful, but the module isn't there after reboot?
anyone got the same?
sebj84 said:
Ok i did a fresh flash.
i see my fault was to install busybox the first time after installing supersu.
did it this time without and mgisk works so far fine. granting access for total commander no problem.
but now another thing. i installed now busybox from the repos in magisk, he say installation successful, but the module isn't there after reboot?
anyone got the same?
Click to expand...
Click to collapse
another try. i switched back to supersu wear 2.82, installed stericsons busybox. works.
installed xposed sdk25 via twrp, says success, but after reboot xposed installer says no active framework.
i used a systemless framework... will search for the link again.
anybody got it done this way?
I got my phone (SM-G950F a.k.a Samsung Galaxy S8) rooted about a year ago or so...and since, i update MM whenever needed but this time when i tried to update it, it says this:
Unsupported Magisk Version
This versio of Magisk Manager does not support Magisk version lower than v18.0
You can either manually upgrade Magisk, or downgrade the app to an older version.
I cannot go into the app cause that message will pop up and after i press ok it closes by itself!
Any ideea on how to fix this? If i have to re-root the phone please do explain..even then i didn't knew for sure how i did it, but i did it..
Thanks in advance!
Ahh... Me too. I'm sure this somewhere in the extensive Magisk coverage here. Is it too lazy to ask for a pointer to how to
--- downgrade the manager? That's probably easy if I know where to get the apk. Which version should I go for?
--- install the new magisk over the existing version, preferably without wiping the phone?
Sure, I'll search. But it is quite a while since I did anything with magisk, or anything that involved flashing, and I feel a bit lost.
Thad E Ginathom said:
Sure, I'll search. ... ... ...
Click to expand...
Click to collapse
OK, so there's a wiki and stuff. Whilst being babied would be nice, people have better things to do, and I guess I'll just start in reading that wiki and... stuff.
SOLUTION
Deathnes said:
I got my phone (SM-G950F a.k.a Samsung Galaxy S8) rooted about a year ago or so...and since, i update MM whenever needed but this time when i tried to update it, it says this:
Unsupported Magisk Version
This versio of Magisk Manager does not support Magisk version lower than v18.0
You can either manually upgrade Magisk, or downgrade the app to an older version.
I cannot go into the app cause that message will pop up and after i press ok it closes by itself!
Any ideea on how to fix this? If i have to re-root the phone please do explain..even then i didn't knew for sure how i did it, but i did it..
Thanks in advance!
Click to expand...
Click to collapse
Delete the Magisk Manager app as you would do with any other, download the proper version in .apk (check the official thread) and install it.
In the thread, under Sources, you have the link to the GitHub repo. Scrolling down you will find the README.MD file and the link to the Downloads page where all past releases are available.
From https://www.xda-developers.com/how-to-install-magisk/ you can read:
The Magisk framework is now installed on your device. To manage it, you’ll need the aptly named Magisk Manager. This is what will allow you to install modules. Download the latest Magisk Manager APK here and make sure you have “Unknown sources” enabled in the Settings. Install the app and open it up.
The Manager app allows you to adjust root settings and also install modules, which are installable mods. The app doubles as a repository for a bunch of great modules that can easily extend the functionality of your device. Using the Manager app is an important part of getting the most out of this root method.
Click to expand...
Click to collapse
That is, the app Magisk Manager is independent from the Magisk framework you have installed. Deleting the app does not affect Magisk.
vomae said:
... ... ... the Downloads page where all past releases are available.
Click to expand...
Click to collapse
I'd reached there, although not done it yet. As you say, my phone is still working, Magisk is still working, it is just the manager app that needs dealing with. None the less, I appreciate your time and effort. You paint a clear picture for others who come this way.
Thanks.
Open the updated app & ignore the error, then checkout the option showing update magisk(not manager), go for it, dont select any preservations & click on direct install(which is recommended by app itself).
Flashing of the update will begin, then after reboot your problem is solved.
Magisk Manager has many improvements and features over the last year...
"Can't load Android system" and "Factory data reset" tried and does not work
Hi all,
I bought a Pixel 3a, unlocked the bootloader, upgraded it to Android 10, and then tried to root it with Magisk. I must somehow have missed a step because now the phone only boots to:
Android Recovery
google/sargo/sargo
9/PQ3B.190801.002/5674421
user/release-keys
Use volume up/down and power.
Can't load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device.
Try again
Factory data reset
If I "Try again" I end up in the same place after a long time with the Google logo and a reboot. If I "Factory data reset" I also end up in the same place.
My desktop has adb and fastboot, and was able to access the phone until the failed attempt at rooting. Now it does not detect the phone despite the system "bleeping" as if it has found a new device:
>adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
>adb devices
List of devices attached
Is there a way out of this mess?
FD
You're still on P by what recovery says. 0801 image. PQ3B is P. You want QP1A. Please try downloading the recent Q image and follow the official instructions from Google in the link and try again.
https://developers.google.com/android/images
Uzephi said:
You're still on P by what recovery says. 0801 image. PQ3B is P. You want QP1A. Please try downloading the recent Q image and follow the official instructions from Google in the link and try again.
https://developers.google.com/android/images
Click to expand...
Click to collapse
Thank you very much! Using the flash-all script I have managed to get my phone back. I have flashed the original Android 9 the phone came with.
Now, one further question, are there some good (as in unlikely to brick my phone again) instructions on how to root my Pixel 3a? I believe that Android 9 is preferred when using Magisk to Android 10, and I do not mind staying with Android 9, but I would like some instructions on how to root it without bricking it again.
Again, thanks for your prompt reply.
Yours,
FD
Frederick Davies said:
Thank you very much! Using the flash-all script I have managed to get my phone back. I have flashed the original Android 9 the phone came with.
Now, one further question, are there some good (as in unlikely to brick my phone again) instructions on how to root my Pixel 3a? I believe that Android 9 is preferred when using Magisk to Android 10, and I do not mind staying with Android 9, but I would like some instructions on how to root it without bricking it again.
Again, thanks for your prompt reply.
Yours,
FD
Click to expand...
Click to collapse
I followed this guide. it's for a pixel 3 but it's exactly the same for a 3a. There is no TWRP for 10 so doing it this way is the only way for now.
https://android.gadgethacks.com/how-to/root-your-pixel-3-android-10-0200295/
Just use magisk to patch Android 10 boot IMG and Flash it and your rooted on Android 10
Frederick Davies said:
Now, one further question, are there some good (as in unlikely to brick my phone again) instructions on how to root my Pixel 3a? I believe that Android 9 is preferred when using Magisk to Android 10, and I do not mind staying with Android 9, but I would like some instructions on how to root it without bricking it again.
Again, thanks for your prompt reply.
Yours,
FD
Click to expand...
Click to collapse
I have created a (IMHO) very thorough quide on how to root your Pixel 3a. It walks you through rooting with both Android Pie and Android 10 with very clear and precise steps. If you have any questions about it, feel free to post in that thread or reach out to me via a direct message.
There is no limitation on using Magisk or rooting under Android 10. The only thing you cannot do with Android 10 is use TWRP, but that isn't a deal breaker. TWRP is good for making backups of your OS, but as you have found you can still recover from just about any situation using the Google factory images, so while a backup might be beneficial at times, it isn't a necessity. Personally I would definitely recommend using Android 10 because Pie isn't being updated by Google anymore, so you are going to be behind on security updates, etc if you stick with Pie.
Watch this video and you shouldn't have any problems
sic0048 said:
I have created a (IMHO) very thorough quide on how to root your Pixel 3a. It walks you through rooting with both Android Pie and Android 10 with very clear and precise steps. If you have any questions about it, feel free to post in that thread or reach out to me via a direct message.
Click to expand...
Click to collapse
Very detailed indeed, but I still have a question: in your instructions you seem to boot into TWRP to install Magisk, but you do NOT install TWRP itself, just boot it for the installation of Magisk. Is that correct? Why?
sic0048 said:
There is no limitation on using Magisk or rooting under Android 10. The only thing you cannot do with Android 10 is use TWRP, but that isn't a deal breaker. TWRP is good for making backups of your OS, but as you have found you can still recover from just about any situation using the Google factory images, so while a backup might be beneficial at times, it isn't a necessity. Personally I would definitely recommend using Android 10 because Pie isn't being updated by Google anymore, so you are going to be behind on security updates, etc if you stick with Pie.
Click to expand...
Click to collapse
I am going through all this rigmarole to be able to install XPrivacyLua through the Xposed Framework, but the instructions for Xposed (https://www.xda-developers.com/xposed-framework-hub/) seem to indicate you need TWRP as a requisite, hence I think am stuck with Android P (9.0).
On the other hand, I get conflicting information as to whether Xposed for Magisk does (https://www.xda-developers.com/xposed-framework-hub/) or does not (https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268) pass SafetyNet. Most confusing...
FD
Frederick Davies said:
Very detailed indeed, but I still have a question: in your instructions you seem to boot into TWRP to install Magisk, but you do NOT install TWRP itself, just boot it for the installation of Magisk. Is that correct? Why?
FD
Click to expand...
Click to collapse
There is no need to install or boot into TWRP (btw. there is even no working TWRP for Android 10 yet) to install Magisk. It's sufficents to install Magisk Manager on your phone and patch the boot.img extracted from the factory image. Just follow the instructions which have been quoted here in the thread already.
AndDiSa said:
There is no need to install or boot into TWRP (btw. there is even no working TWRP for Android 10 yet) to install Magisk. It's sufficents to install Magisk Manager on your phone and patch the boot.img extracted from the factory image. Just follow the instructions which have been quoted here in the thread already.
Click to expand...
Click to collapse
Dear AndDisa,
As I said, I am rooting my Pixel 3a because I want to install XPrivacyLua, which requires the Xposed Framework; and to install Xposed with Magisk, it lists TWRP as a pre-requisite (see "Method 2: Magisk" in https://www.xda-developers.com/xposed-framework-hub/). Since it seems there is some kind of reluctance to use/install TWRP in this thread, I am asking why that is so. I understand it is possible to install Magisk without TWRP, I am just asking "why?"
Again, thank you all for your help.
FD
TWRP doesn't work on Android 10 at this point so you can't flash it.
Frederick Davies said:
Dear AndDisa,
As I said, I am rooting my Pixel 3a because I want to install XPrivacyLua, which requires the Xposed Framework; and to install Xposed with Magisk, it lists TWRP as a pre-requisite (see "Method 2: Magisk" in https://www.xda-developers.com/xposed-framework-hub/). Since it seems there is some kind of reluctance to use/install TWRP in this thread, I am asking why that is so. I understand it is possible to install Magisk without TWRP, I am just asking "why?"
Again, thank you all for your help.
FD
Click to expand...
Click to collapse
If you read closely in the guide sic linked, he does state the TWRP method is only for P because you can't use TWRP on 10. It is the way partitions are handled in 10 where you really can't read your internal storage and it would have to require a code rework. Until that's done, no TWRP.
Edit: quote from twrp developer about it. https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html
https://github.com/ElderDrivers/EdXposed/pull/354
https://github.com/ElderDrivers/EdXposedManager/releases
You can flash xposed without TWRP. Just install edxposed by downloading and installing through magisk and install the edxposed manager. You don't need TWRP
Frederick Davies said:
Very detailed indeed, but I still have a question: in your instructions you seem to boot into TWRP to install Magisk, but you do NOT install TWRP itself, just boot it for the installation of Magisk. Is that correct? Why?
FD
Click to expand...
Click to collapse
As other have noted, TWRP does not work with Android 10. However, I also wanted to answer your question because it is valid.....
With Android Pie (9), you cannot permanently install TWRP unless you first flash a custom kernel that supports LZMA compression. Using the stock kernel, you can load TWRP using ADB and use it just like normal, but when you reboot the phone TWRP will not be loaded anymore. My instructions are about rooting the phone and not about installing TWRP permanently on the phone and therefore I provided the simplest method to accomplish that goal.
Most custom kernels have been updated with LZMA support, but you should really read the TWRP thread for more information on how to permanently install TWRP on Android Pie
Dear All,
Thank you for all your help and explanations concerning my questions.
I have now rooted my Pixel 3a running Android 9 following the instructions supplied (no TWRP installation), and It seems that Magisk is installed and happy (at least it thinks it is and FX has root access), but I am afraid that EdXposed and XPrivacyLua are not working as expected.
After Magisk, I installed the "Riru - Core" and "Riru - EdXposed (YAHFA)" modules. I then installed the "EdXposed Framework (YAHFA)" (giving the EdXposed Installer superuser privileges; EdExposed reports it is installed and active), and the XprivacyLua module inside it. But now Magisk complains that the SafetyNet checks are failing (this coincides with installing XPrivacyLua, but it is the only module I have in EdXposed), and XPrivacyLua is not actually blocking anything at all (that is, even when I supposedly block access to some functions, the apps just go ahead and use them).
Why do I get the impression Google does not want people to root their phones?
Yours,
FD
Frederick Davies said:
Dear All,
Thank you for all your help and explanations concerning my questions.
I have now rooted my Pixel 3a running Android 9 following the instructions supplied (no TWRP installation), and It seems that Magisk is installed and happy (at least it thinks it is and FX has root access), but I am afraid that EdXposed and XPrivacyLua are not working as expected.
After Magisk, I installed the "Riru - Core" and "Riru - EdXposed (YAHFA)" modules. I then installed the "EdXposed Framework (YAHFA)" (giving the EdXposed Installer superuser privileges; EdExposed reports it is installed and active), and the XprivacyLua module inside it. But now Magisk complains that the SafetyNet checks are failing (this coincides with installing XPrivacyLua, but it is the only module I have in EdXposed), and XPrivacyLua is not actually blocking anything at all (that is, even when I supposedly block access to some functions, the apps just go ahead and use them).
Why do I get the impression Google does not want people to root their phones?
Yours,
FD
Click to expand...
Click to collapse
It is most certainly the things you have installed that are breaking the SafetyNet check. I don't know anything about XprivacyLua, but I would assume there is a support thread here on XDA for it. I would read that support thread and see if there is a solution to the Safetynet issue.
Dear All,
OK, I have now rooted my Pixel 3a: I am running Android 9, and I flashed Magisk (Magisk Manager version 7.4.0; Magisk version 20.1) without installing TWRP as per the instructions. Then I installed the Riru - Core (version 10) and Riru - Ed Exposed (version 0.2.8_beta) modules, which allowed me to install EdXposedInstaller (version 2.2.5). I am currently running Xposed Framework (version 90.0-0.2.8) with XPrivacyLua (version 1.25).
The result is that XPrivacyLua is working with a few caveats: the SafetyNet Check fails both the ctsProfile and basicIntegrity checks (this is triggered by XPrivacyLua, not (Ed)Xposed), and when I limit access of WhatsApp to the Contacts list, there are constant errors whenever WhatsApp tries to read it (though it seems to work as expected). Also, the Contacts list keeps disappearing from the Contacts app itself, despite WhatsApp actually seeing those contacts in there (go figure).
Other apps that require root (like FX) are working as expected.
In the end, I have decided that since I am not interested in using my mobile for Google Pay, I will have to live with it as it is now, but I have a couple of points for others that may want to follow in my footsteps (this is not necessarily related to the method of rooting; those who helped me here are certainly not at fault for the following):
1. XPrivacyLua is in no way as capable and easy to use as XPrivacy was (XPrivacy is the main reason why I am rooting my phone). If I could install Android 4 on my Pixel 3a, I would do so and go back to XPrivacy (my venerable Nexus 5's second battery is shot, so I had to get new hardware). There is nothing in Android 9 that I actually need that was not there in Android 4.
2. We really need a Nexus Toot Toolkit for Pixel phones. The multitude of versions and steps required in rooting them successfully is too much for those like me who will root their phone for one or two apps and then leave it as it is. I know that these forums are really for tinkerers who want to extract the maximum from their hardware, and hence my point of view is not representative here, but I just want a mobile that will not spy on me, the rest is irrelevant to me.
I guess I will have to open a thread in the XPrivacyLua forums to see if I can sort out my problems, but I would like to thank you all for your help in getting me here and answering my questions (no matter how pointless they may have seemed).
Yours,
FD
Frederick Davies said:
Dear All,
OK, I have now rooted my Pixel 3a: I am running Android 9, and I flashed Magisk (Magisk Manager version 7.4.0; Magisk version 20.1) without installing TWRP as per the instructions. Then I installed the Riru - Core (version 10) and Riru - Ed Exposed (version 0.2.8_beta) modules, which allowed me to install EdXposedInstaller (version 2.2.5). I am currently running Xposed Framework (version 90.0-0.2.8) with XPrivacyLua (version 1.25).
The result is that XPrivacyLua is working with a few caveats: the SafetyNet Check fails both the ctsProfile and basicIntegrity checks (this is triggered by XPrivacyLua, not (Ed)Xposed), and when I limit access of WhatsApp to the Contacts list, there are constant errors whenever WhatsApp tries to read it (though it seems to work as expected). Also, the Contacts list keeps disappearing from the Contacts app itself, despite WhatsApp actually seeing those contacts in there (go figure).
Other apps that require root (like FX) are working as expected.
In the end, I have decided that since I am not interested in using my mobile for Google Pay, I will have to live with it as it is now, but I have a couple of points for others that may want to follow in my footsteps (this is not necessarily related to the method of rooting; those who helped me here are certainly not at fault for the following):
1. XPrivacyLua is in no way as capable and easy to use as XPrivacy was (XPrivacy is the main reason why I am rooting my phone). If I could install Android 4 on my Pixel 3a, I would do so and go back to XPrivacy (my venerable Nexus 5's second battery is shot, so I had to get new hardware). There is nothing in Android 9 that I actually need that was not there in Android 4.
2. We really need a Nexus Toot Toolkit for Pixel phones. The multitude of versions and steps required in rooting them successfully is too much for those like me who will root their phone for one or two apps and then leave it as it is. I know that these forums are really for tinkerers who want to extract the maximum from their hardware, and hence my point of view is not representative here, but I just want a mobile that will not spy on me, the rest is irrelevant to me.
I guess I will have to open a thread in the XPrivacyLua forums to see if I can sort out my problems, but I would like to thank you all for your help in getting me here and answering my questions (no matter how pointless they may have seemed).
Yours,
FD
Click to expand...
Click to collapse
Cool story bro
My phone is rooted with Magisk after installing TWRP recovery and it's working fine except banking apps which do not run due to rooted phone
I don't use functions of rooted phone so much, only in extracting whatsapp keys to backup my whatsapp chats etc
1) Can I uninstall/unroot Magisk anytime and reinstall/root again smoothly whenever the need arises?
2) Does installing/uninstalling root wipe data?
3) I saw following para in https://magiskmanager.com/uninstall-magisk
Your phone will be rebooted automatically. Don’t worry it is normal
That’s it! You have successfully uninstalled Magisk from your phone.
This process will completely delete all the files from your phone, and you don’t need to worry about anything.
Click to expand...
Click to collapse
What's meaning of "This process will completely delete all the files from your phone" here?
Thanks & regards,
Maria.
AFAIK any tampering of a phone's Stock ROM can get detectected by banking / payment apps - if they want to. IMO the very only method to remove all traces of modifcations applied to phone's Stock ROM is to re-flash phone's Stock what in turn causes the loss of all user data stored on phone.
1) Can I uninstall/unroot Magisk anytime and reinstall/root again smoothly whenever the need arises?
Yes.
2) Does installing/uninstalling root wipe data?
No. As long as you're not locking/unlocking your bootloader, you should be fine. Always a good idea to back up your data and system bacakup since you have TWRP anyway.
3) I saw following para in https://magiskmanager.com/uninstall-magisk
I believe this is reffering to all the MAgisk data only.
Andrologic said:
1) Can I uninstall/unroot Magisk anytime and reinstall/root again smoothly whenever the need arises?
Yes.
2) Does installing/uninstalling root wipe data?
No. As long as you're not locking/unlocking your bootloader, you should be fine. Always a good idea to back up your data and system bacakup since you have TWRP anyway.
3) I saw following para in https://magiskmanager.com/uninstall-magisk
I believe this is reffering to all the MAgisk data only.
Click to expand...
Click to collapse
Thank you very much for your reply
Maria2014 said:
I am having the same problem. I want to ask if you tried uninstall magisk ? What happened ?
Click to expand...
Click to collapse
My dear, I install and uninstall Magisk all the time. Legitimately speaking, never once did it wipe my data ever. Unless you unlock or relock your bootloader, you will be completely fine.
Shabeeh Manappurath said:
My dear, I install and uninstall Magisk all the time. Legitimately speaking, never once did it wipe my data ever. Unless you unlock or relock your bootloader, you will be completely fine.
Click to expand...
Click to collapse
Hi,
Could you advice pls.
After updating magisk it stopped working..
Shuld I uninstall it and then reinstall?
Will my modouls be earased? I am very worried taking this step..
Thanks in advance
tuvia_g123 said:
Hi,
Could you advice pls.
After updating magisk it stopped working..
Shuld I uninstall it and then reinstall?
Will my modouls be earased? I am very worried taking this step..
Thanks in advance
Click to expand...
Click to collapse
My advise is, Incase you feel your modules will be erased, just take a screenshot of ur magisk Modules. Screenshot which you can use to later download the exact same modules. Or u can keep magisk module downloaded before hand. Now if magisk is not working, magisk Modules will not show for you.
If magisk is not working, you don't need to uninstall it. Just go to recovery and reflash the magisk.zip or magisk.apk. both will work, bcos that is how it is. Magisk.apk can be directly flashed from recovery menu. Once you reinstall magisk from recovery and it should start working. If after reboot, it is still not working, then just install magisk.apk while you are in android. (Not in recovery, but normal mode) and then open it and see what it says.
If I can help, I will surely. Let me know how it goes. Usually no data is erased. Don't worry. Magisk Modules or magisk, don't effect the system. U can also download magisk uninstaller.zip if you want to completely uninstall magisk.
Shabeeh Manappurath said:
My advise is, Incase you feel your modules will be erased, just take a screenshot of ur magisk Modules. Screenshot which you can use to later download the exact same modules. Or u can keep magisk module downloaded before hand. Now if magisk is not working, magisk Modules will not show for you.
If magisk is not working, you don't need to uninstall it. Just go to recovery and reflash the magisk.zip or magisk.apk. both will work, bcos that is how it is. Magisk.apk can be directly flashed from recovery menu. Once you reinstall magisk from recovery and it should start working. If after reboot, it is still not working, then just install magisk.apk while you are in android. (Not in recovery, but normal mode) and then open it and see what it says.
If I can help, I will surely. Let me know how it goes. Usually no data is erased. Don't worry. Magisk Modules or magisk, don't effect the system. U can also download magisk uninstaller.zip if you want to completely uninstall magisk.
Click to expand...
Click to collapse
Thank you very much for your detailed and clear answer.
In the next few days I will find time and try.
Of course I will update you.
tuvia_g123 said:
Thank you very much for your detailed and clear answer.
In the next few days I will find time and try.
Of course I will update you.
Click to expand...
Click to collapse
Alright Dear, take your time, and let me know, I hope everything works out for you. And Your Welcome
Shabeeh Manappurath said:
Alright Dear, take your time, and let me know, I hope everything works out for you. And Your Welcome
Click to expand...
Click to collapse
Hello dear friend,
Looks like I deleted the original zip file.
Can you pls. attach a link that wont be malware of a magisk zip?
Thanks a lot
tuvia_g123 said:
Hello dear friend,
Looks like I deleted the original zip file.
Can you pls. attach a link that wont be malware of a magisk zip?
Thanks a lot
Click to expand...
Click to collapse
The best, and only official place to download magisk from is GitHub. At least I think. And well there is one another website I download it from, it's not malware, but I will provide you with the GitHub link itself.
For Magisk v23.0 (One with MagiskHide)(This release also has online module repo, where you can download extra supported modules for your device from online repo of magisk)
https://github.com/topjohnwu/Magisk/releases/download/v23.0/Magisk-v23.0.apk
For Magisk v25.2 (It does not have MagiskHide, but this is much more better, and there are more effective ways to hide root using Zygisk (new feature in Magisk v24 onwards I believe) (This one does not have Online Repo for Magisk modules, it was also removed in a previous version of Magisk, and you can use Fox's Magisk Modules manager if you want to access and download magisk Modules for any of the future releases for Magisk) If you want the link for Magisk v25.2 then here it is:
https://github.com/topjohnwu/Magisk/releases/download/v25.2/Magisk-v25.2.apk
Just if u face any difficulty in flashing the apk file in recovery, just rename it to magisk v23/v25.2 (whichever u choose, I kinda recommend using the latest version) and rename it into . Zip. And if u plan on going with v25.2 and want to access the latest online repo and some of their own Magisk modules, then here is the link for the latest version of Fox's Magisk Modules manager:
Release 0.6.1 - Maintenance Update · Fox2Code/FoxMagiskModuleManager
Add Androidacy test-mode fix to non test-mode Update Brazilian translations by @DanGLES3
github.com
I am currently using the latest Magisk v25.2 on my phone, and currently running on the latest version of Fox's Magisk Modules manager as well. And also, using the method for hiding root that I mentioned before, I am completely successful in covering my root, and my safety net is passed. Completely Passed. Play store or any other app I don't want it detecting root, does not detect root. So we all good if you want to flash the latest update of Magisk.
Shabeeh Manappurath said:
The best, and only official place to download magisk from is GitHub. At least I think. And well there is one another website I download it from, it's not malware, but I will provide you with the GitHub link itself.
For Magisk v23.0 (One with MagiskHide)(This release also has online module repo, where you can download extra supported modules for your device from online repo of magisk)
https://github.com/topjohnwu/Magisk/releases/download/v23.0/Magisk-v23.0.apk
For Magisk v25.2 (It does not have MagiskHide, but this is much more better, and there are more effective ways to hide root using Zygisk (new feature in Magisk v24 onwards I believe) (This one does not have Online Repo for Magisk modules, it was also removed in a previous version of Magisk, and you can use Fox's Magisk Modules manager if you want to access and download magisk Modules for any of the future releases for Magisk) If you want the link for Magisk v25.2 then here it is:
https://github.com/topjohnwu/Magisk/releases/download/v25.2/Magisk-v25.2.apk
Just if u face any difficulty in flashing the apk file in recovery, just rename it to magisk v23/v25.2 (whichever u choose, I kinda recommend using the latest version) and rename it into . Zip. And if u plan on going with v25.2 and want to access the latest online repo and some of their own Magisk modules, then here is the link for the latest version of Fox's Magisk Modules manager:
Release 0.6.1 - Maintenance Update · Fox2Code/FoxMagiskModuleManager
Add Androidacy test-mode fix to non test-mode Update Brazilian translations by @DanGLES3
github.com
I am currently using the latest Magisk v25.2 on my phone, and currently running on the latest version of Fox's Magisk Modules manager as well. And also, using the method for hiding root that I mentioned before, I am completely successful in covering my root, and my safety net is passed. Completely Passed. Play store or any other app I don't want it detecting root, does not detect root. So we all good if you want to flash the latest update of Magisk.
Click to expand...
Click to collapse
Hi,
I prefer v 23 because it has the hide option builtin.
However after flashing it(i think succesfuli) i do not find any new app in my fhone..
tuvia_g123 said:
Hi,
I prefer v 23 because it has the hide option builtin.
However after flashing it(i think succesfuli) i do not find any new app in my fhone..
Click to expand...
Click to collapse
Alright your preference is your own, but maybe hear me out, v23 will soon become outdated, as in some magisk Modules will stop working for it. And the magisk hide, according to the founder of Magisk @topjohnwu, he said that magisk hide is become really ineffective in blocking root, or stopping apps from detecting root. If you want a more powerful version of Magisk hide, update to v25.2 and I will show you how to activate it step by step. It's not built-in, rather it is a new module. So yeah.
Alright and about your question; if you don't find the app in your phone, in your apps drawer, just open file explorer, go to the location where u have kept the magisk.zip file or magisk.apk file. If u have the apk file then just install it once more, from android while in normal mode. If you have the zip file, then just rename to .APK and install it same like above. Then open magisk to continue (mostly after proper install, magisk will reboot your phone once more). Any steps you are stuck in, pls sent me a screenshot, so that I can help.
Shabeeh Manappurath said:
Alright your preference is your own, but maybe hear me out, v23 will soon become outdated, as in some magisk Modules will stop working for it. And the magisk hide, according to the founder of Magisk @topjohnwu, he said that magisk hide is become really ineffective in blocking root, or stopping apps from detecting root. If you want a more powerful version of Magisk hide, update to v25.2 and I will show you how to activate it step by step. It's not built-in, rather it is a new module. So yeah.
Alright and about your question; if you don't find the app in your phone, in your apps drawer, just open file explorer, go to the location where u have kept the magisk.zip file or magisk.apk file. If u have the apk file then just install it once more, from android while in normal mode. If you have the zip file, then just rename to .APK and install it same like above. Then open magisk to continue (mostly after proper install, magisk will reboot your phone once more). Any steps you are stuck in, pls sent me a screenshot, so that I can help.
Click to expand...
Click to collapse
Hi,i took your advice and flashed v. 25.2, however i think that the installation failed..
tuvia_g123 said:
Hi,i took your advice and flashed v. 25.2, however i think that the installation failed..
Click to expand...
Click to collapse
Hey, I see, okay use magisk uninstaller to completely remove v23 first, and then flash v25.2 afterwards.
From what I researched, it seems u can easily uninstall magisk by renaming magisk v25.2.apk (the file we downloaded) rename it into uninstall.zip
And then reboot to recovery, flash it from recovery to completely uninstall magisk v23. (Make a copy of the file before renaming into uninstall.zip.) that way we can flash v25.2.apk /v25.2.zip directly.
Hope everything works for you.
Shabeeh Manappurath said:
Hey, I see, okay use magisk uninstaller to completely remove v23 first, and then flash v25.2 afterwards.
Just to be sure,v. 23 that I want to uninstall not to rename?
From what I researched, it seems u can easily uninstall magisk by renaming magisk v25.2.apk (the file we downloaded) rename it into uninstall.zip
And then reboot to recovery, flash it from recovery to completely uninstall magisk v23. (Make a copy of the file before renaming into Uninstall.zip.) that waysure that I understood.. we can flash v25.2.apk /v25.2.zip directly.
not sure that i understands.
Click to expand...
Click to collapse
Shabeeh Manappurath said:
Not
Hope everything workNs for you.
Hey, I see, okay use magisk uninstaller to completely remove v23 first, and then flash v25.2 afterwards.
N
From what I researched, it seems u can easily uninstall magisk by renaming magisk v25.2.apk (the file we downloaded) rename it into uninstall.zip
And then reboot to recovery, flash it from recovery to completely uninstall magisk v23. (Make a copy of the file before renaming into uninstall.zip.) that way we can flash v25.2.apk /v25.2.zip directly.
Hope everything works for you.
Click to expand...
Click to collapse
Not sure that I understood.
Not to rename Version 23 that I want to uninstall?
Rename v25 that we want to keep?
https://drive.google.com/uc?export=download&id=1XvA2wCzCfSgQGJRgzJ-yklOYn99DDjBQ
Just Flash that, in order to uninstall Magisk from your device. And then, install the latest Magisk v25.2
Shabeeh Manappurath said:
https://drive.google.com/uc?export=download&id=1XvA2wCzCfSgQGJRgzJ-yklOYn99DDjBQ
Just Flash that, in order to uninstall Magisk from your device. And then, install the latest Magisk v25.2
Click to expand...
Click to collapse
Hi dear,
First of all thank you again.
After flashing this when i am entering again to recovery I don't get the screen of twarp as before.
However installation of v. 25.2 (in recovery)failed again..
Atached screen shots.
What version of Magisk and what root hide (module name and version please) people have it fully working for Feb 2022 firmware update (840.2201.226), especially for Google Pay? Thanks
(I'd it all working on the previous firmware release just fine. Then right after applying the above mentioned Feb update, when I tried to execute Magisk (possibly 23.1) to patch the inactive slot, it just wouldn't execute let alone patch; nor would Termux "su" command would execute. So there was no way to patch Magisk over that update. Problem was made worse, when I executed LSPosed, which proceeded to update and auto rebooted the phone! Jumped from the frying pan into the fire.)
nexusnerdgeek said:
What version of Magisk and what root hide (module name and version please) people have it fully working for Feb 2022 firmware update (840.2201.226), especially for Google Pay? Thanks
(I'd it all working on the previous firmware release just fine. Then right after applying the above mentioned Feb update, when I tried to execute Magisk (possibly 23.1) to patch the inactive slot, it just wouldn't execute let alone patch; nor would Termux "su" command would execute. So there was no way to patch Magisk over that update. Problem was made worse, when I executed LSPosed, which proceeded to update and auto rebooted the phone! Jumped from the frying pan into the fire.)
Click to expand...
Click to collapse
Using Latest Magisk and Zygisk-Shamiko.
MagiskHide is no longer available - and Denylist is not effective.
For the patch - First Patch the Boot Image, then Install Magisk again over TWRP as well.
Thanks, I got Magisk 24.2 installed & working fine now.
(Things are super difficult as it is, so I've skipped trying to install/activate TWRP.)
However, Universal SafetyNet Fix v2.2.1 (https://github.com/kdrag0n/safetynet-fix/releases), though installs fine, gets disabled due to "Module suspended because Zygisk is not enabled".
I've confirmed that Zygisk (Beta) is activated in Magisk's settings. What am I missing?
Q: How to "unsuspend" Universal SafetyNet Fix module?
Thanks
(It's so difficult to keep up with all this work that I'm leaning towards relocking the boot-loader. I really don't use any app or feature to benefit from unlocked boot loader or root. I did it only to be ready for injecting mbn, which isn't needed or possible anyway. It was a bad decision then & remains so now. Though I don't know if while relocking the bootloader the phone will get bricked. Decision.. decision... With all the difficulty of keeping up with root, it sounds like a risk worth taking.)
Actually removing the Magisk APK and reinstalling it seemed to have helped. Termux works reliably for su. Gpay is good as well. Magisk log shows no funky messages.
In the end, I had to use this to overcome root detection on two banking apps: https://github.com/vvb2060/magisk_files/blob/alpha/app-release.apk
nexusnerdgeek said:
In the end, I had to use this to overcome root detection on two banking apps: https://github.com/vvb2060/magisk_files/blob/alpha/app-release.apk
Click to expand...
Click to collapse
What's that ?
Leads to a empty GitHub Page ...
Actually official Magisk 24.3 works well for all of the banking apps I need root hide for. So, there's no need for that unofficial alpha build anymore for me; in fact, I got rid of it. Please disregard that link.