Magisk in Z2 - Xperia Z2 Q&A, Help & Troubleshooting

Anyone here managed to make Magisk work on our device? If Yes, what ROM, kernel and methods you've used to make it work (Including SafetyNet Verification). Thanks in advance!

I had managed to bring it (Magisk v9) to work by using Advanced Stock Kernel by @Gustavo RD78, then flash stock-based ROM, phh's SuperUser and then Systemless Xposed v86.7. It worked but I am not sure about SafetyNet...

iXaidyiu said:
I had managed to bring it (Magisk v9) to work by using Advanced Stock Kernel by @Gustavo RD78, then flash stock-based ROM, phh's SuperUser and then Systemless Xposed v86.7. It worked but I am not sure about SafetyNet...
Click to expand...
Click to collapse
Thank you for your reply. Yah I have managed to make it work but in Magisk v10.2 Safety Net validation fails (CTS mismatch)
It looks like that Google have updated their CTS. Hmm Let's wait then..
Anyway, I am also using Advanced Stocked Kernel (with systemless support) and I am on eXistenZ 6.0.

RairuLyle said:
Thank you for your reply. Yah I have managed to make it work but in Magisk v10.2 Safety Net validation fails (CTS mismatch)
It looks like that Google have updated their CTS. Hmm Let's wait then..
Anyway, I am also using Advanced Stocked Kernel (with systemless support) and I am on eXistenZ 6.0.
Click to expand...
Click to collapse
Someone earlier have found out that if SafetyNet has to be passed on Xperia devices, UBL or LBL is both okay, but most importantly it need an untouched /system, no root, no Xposed. Just the stock system.
Sent from my Sony D6503 using XDA Labs

RairuLyle said:
Anyone here managed to make Magisk work on our device? If Yes, what ROM, kernel and methods you've used to make it work (Including SafetyNet Verification). Thanks in advance!
Click to expand...
Click to collapse
What is this Magisk used for ?
I searched google and found some systemless mods

MJ999 said:
What is this Magisk used for ?
I searched google and found some systemless mods
Click to expand...
Click to collapse
Search "Magisk General" in XDA forum search box and you will find a post explain3d by topjohnwu.
Sent from my Sony D6503 using XDA Labs

So there's no way to run Magisk if your bootloader is locked?

flappysquirrel said:
So there's no way to run Magisk if your bootloader is locked?
Click to expand...
Click to collapse
Stock kernel doesn't support Magisk, so yes.
Sent from my sirius using XDA Labs

Related

ROOT (Xperia X 34.0.A.2.301 Modified Kernel With Root)

As the title says root is now working in xperia x
For unlocked bootloaders with 34.0.A.2.301 firmware for the moment
For the moment
*For F5121 34.0.A.2.301
*SONY ric and dm-verity OFF
*DRM FIX
*SELinux is Permissive.
*init.d support
*SuperSU 2.78 installed.
*No TWRP/CWM For the moment,,,use flashfire instead
Instructions
Power off,,,,hold volume up and connect the xperia via usb to pc to enter fastboot,a blue light will confirm it
fastboot flash boot filename.img
Flash with ur risk
For xposed to work if u have it installed make wipe data in the app using titanium backup uninstall it and then follow the original thread
http://forum.xda-developers.com/xpe...sed-ur-xperia-x-guide-rooted-devices-t3444315
Downloads
F5121--34.0.A.2.301
http://www.mediafire.com/file/vi6yp3d8zlrbxv2/F5121--34.0.A.2.301.img
And dont forget,,,Give a Thanks,,,it gives power to continue and is free!!!
Reserve
does the DRM-fix also fix mirrorscreen(mirrorlink) and remote play(ps4)?
Hey man works great! Your Xposed link is broken though. Keep up the good work!
As an aside you can flash the Xposed framework zip through flashfire and use XDA Labs and it'll work fine without the Xposed Installer
Sent from my Sony Xperia X using XDA Labs
blk_jack said:
Hey man works great! Your Xposed link is broken though. Keep up the good work!
As an aside you can flash the Xposed framework zip through flashfire and use XDA Labs and it'll work fine without the Xposed Installer
Sent from my Sony Xperia X using XDA Labs
Click to expand...
Click to collapse
Thanks for feedback!
Tried to flash it with the indicated procedure above (after unlocking the bootloader).
I'm stuck in the white screen with the Xperia logo changing colors. Any ideas?
Edit: never mind, my bad. I flashed this in .292, that generated the error. Flashed the entire .301 with flashtool, then flashed this and now it works.
How to Build Kernel For F5122?
Are You Have RootKernel Script?
Can i Build Kernel For F5122? Such as New Kernel.elf
?!?!?!
Sent from my D6502 using Tapatalk
Sajad Askari said:
How to Build Kernel For F5122?
Are You Have RootKernel Script?
Can i Build Kernel For F5122? Such as New Kernel.elf
?!?!?!
Sent from my D6502 using Tapatalk
Click to expand...
Click to collapse
Yes you can, use this tool: http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605
Lefteris Fragiadakis (Frago) said:
For unlocked bootloaders with 34.0.A.2.301 firmware for the moment
Click to expand...
Click to collapse
Any news for the Nougat?
No rush for me, I'm still waiting for Xposed for N. But I was curious.
Oh also, SuperSu keeps on trying to update binaries, tried to flash the latest with flashfire but nothing. No biggie, root access still works as usual .
Thanks a lot!!!
Lefteris Fragiadakis (Frago) said:
As the title says root is now working in xperia x
For unlocked bootloaders with 34.0.A.2.301 firmware for the moment
For the moment
*For F5121 34.0.A.2.301
*SONY ric and dm-verity OFF
*DRM FIX
*SELinux is Permissive.
*init.d support
*SuperSU 2.78 installed.
*No TWRP/CWM For the moment,,,use flashfire instead
Instructions
Power off,,,,hold volume up and connect the xperia via usb to pc to enter fastboot,a blue light will confirm it
fastboot flash boot filename.img
Flash with ur risk
For xposed to work if u have it installed make wipe data in the app using titanium backup uninstall it and then follow the original thread
http://forum.xda-developers.com/xpe...sed-ur-xperia-x-guide-rooted-devices-t3444315
Downloads
F5121--34.0.A.2.301
http://www.mediafire.com/file/vi6yp3d8zlrbxv2/F5121--34.0.A.2.301.img
And dont forget,,,Give a Thanks,,,it gives power to continue and is free!!!
Click to expand...
Click to collapse
It can't work with F5122 right
oliver101282 said:
It can't work with F5122 right
Click to expand...
Click to collapse
No my friend,,
Lefteris Fragiadakis (Frago) said:
No my friend,,
Click to expand...
Click to collapse
Anyway, thanks
Could one of the experts build a modified root kernel for 34.2.A.0.311 (F5121/Sony Xperia X) ?
I am looking for some time after that kernel, but obviously no one has yet done that root kernel for now !?
Regards
silentscreamer said:
Could one of the experts build a modified root kernel for 34.2.A.0.311 (F5121/Sony Xperia X) ?
I am looking for some time after that kernel, but obviously no one has yet done that root kernel for now !?
Regards
Click to expand...
Click to collapse
Its in the poison rom.
Modified kernel of .333 Nougat please ???
I flashed the image but SuperSu is not working. It says (after updating binary) installation was unsuccessful. Any tips?
blackhawk1819 said:
I flashed the image but SuperSu is not working. It says (after updating binary) installation was unsuccessful. Any tips?
Click to expand...
Click to collapse
dear
since su is embedded in the kernel, you should not have UPDATED it from 2.78 to 2.82r5 from playstore, it wont update binaries! but su will still work
if you are on LATEST build / 34.3.A.0.252 / Android 7.1.1 (N) then you may consider flashing the following kernel.
https://forum.xda-developers.com/xperia-x/how-to/root-xperia-x-f5122-android-n-34-2-2-47-t3594502
it doesn't have any Root Guard and hance you after flashing (recovery) TWRP you may flash any of the following from twrp
1. superSU or
2. Magisk or
3. SuperUserr259
regards

Safetynet On MIUI

Hey, I installed magisk on stock miui 8.2.10.0 but it failed to pass the safetynet after that.I tried xiaomi.eu both developer and stable and they also failed safetynet with magisk. Without magisk they worked fine. Is there a way to pass safetynet on miui. On LOS it used to pass easily but not on miui
rxlord said:
Hey, I installed magisk on stock miui 8.2.10.0 but it failed to pass the safetynet after that.I tried xiaomi.eu both developer and stable and they also failed safetynet with magisk. Without magisk they worked fine. Is there a way to pass safetynet on miui. On LOS it used to pass easily but not on miui
Click to expand...
Click to collapse
install the latest magisk and use this module
https://forum.xda-developers.com/apps/magisk/xiaomi-safetynet-fix-t3600431/page98
asusm930 said:
install the latest magisk
Click to expand...
Click to collapse
Using magisk 13.3
rxlord said:
Using magisk 13.3
Click to expand...
Click to collapse
updated my reply
use this module https://forum.xda-developers.com/apps/magisk/xiaomi-safetynet-fix-t3600431/page98
and use the TEST BUILD
Thank you magisk 13.3 with the module provided above works
using this test build :-
https://forum.xda-developers.com/showpost.php?p=73185618&postcount=978
safetynet passes
rxlord said:
Thank you magisk 13.3 with the module provided above works
using this test build :-
https://forum.xda-developers.com/showpost.php?p=73185618&postcount=978
safetynet passes
Click to expand...
Click to collapse
I don't have telegram....
Can you post another link, please?
Thanks
I'm Using Magisk 12.0 it shows device properly rooted but safetynet check failed.
Rom : miui 8 stable 8.2.5
And failed to flash magisk v13.3 it says restore boot image or something like that.
meibourne said:
I don't have telegram....
Can you post another link, please?
Thanks
Click to expand...
Click to collapse
Install telegram
Trust me its worth because it works
Mitu1998 said:
I'm Using Magisk 12.0 it shows device properly rooted but safetynet check failed.
Rom : miui 8 stable 8.2.5
And failed to flash magisk v13.3 it says restore boot image or something like that.
Click to expand...
Click to collapse
Finally solved
rxlord said:
Hey, I installed magisk on stock miui 8.2.10.0 but it failed to pass the safetynet after that.I tried xiaomi.eu both developer and stable and they also failed safetynet with magisk. Without magisk they worked fine. Is there a way to pass safetynet on miui. On LOS it used to pass easily but not on miui
Click to expand...
Click to collapse
Hey man I'm on 8.1.10 Redmond note 4 snapdragon,whenever I flash magisk the icon doesn't appear on phone and I have to install magisk manager apk,its installed and then it fails safety net,it works fine miui 9 but I love the battery backup of miui 8!?
Any help will be appreciated!
Sent from my mido using XDA Labs
saransh arya said:
Hey man I'm on 8.1.10 Redmond note 4 snapdragon,whenever I flash magisk the icon doesn't appear on phone and I have to install magisk manager apk,its installed and then it fails safety net,it works fine miui 9 but I love the battery backup of miui 8!
Any help will be appreciated!
Sent from my mido using XDA Labs
Click to expand...
Click to collapse
go to this thread:- https://forum.xda-developers.com/apps/magisk/xiaomi-safetynet-fix-t3600431
join their telegram group and download the latest universal safetynet fix and install it using magisk

Magisk on stock .154

I am trying to install magisk instead of supersu on my stock .154.
I flashed magisk v. 16 in twrp but I ended in a bootloop.
Am I missing something??
Supersu are working fine, but i would like to try magisk.
Thanks in advance:good:
torben5247 said:
I am trying to install magisk instead of supersu on my stock .154.
I flashed magisk v. 16 in twrp but I ended in a bootloop.
Am I missing something??
Supersu are working fine, but i would like to try magisk.
Thanks in advance:good:
Click to expand...
Click to collapse
Are there really no one that could give me some help installing magisk instead of supersu?
torben5247 said:
I am trying to install magisk instead of supersu on my stock .154.
I flashed magisk v. 16 in twrp but I ended in a bootloop.
Am I missing something??
Supersu are working fine, but i would like to try magisk.
Thanks in advance:good:
Click to expand...
Click to collapse
You need to patch the kernel using rootkernel or use a custom kernel.
Deleted
QWERTYsystems said:
You need to patch the kernel using rootkernel or use a custom kernel.
Click to expand...
Click to collapse
Finally got it working.
I had to flash boot.img moded using rootkernel.
The boot.img i had was moded using ta poc tool and that was causing the boot loop.
So magisk is working now!
Thanks for the reply.:good:
torben5247 said:
Finally got it working.
I had to flash boot.img moded using rootkernel.
The boot.img i had was moded using ta poc tool and that was causing the boot loop.
So magisk is working now!
Thanks for the reply.:good:
Click to expand...
Click to collapse
Hi i'm glad that you solve it @torben5247
But, can you provide me working link for those boot image or kernel? Because I need to use it too but still didnt find any clue how it works.
I'm really want to use banking apps with root permission so Magisk is my savior
Defforest said:
Hi i'm glad that you solve it @torben5247
But, can you provide me working link for those boot image or kernel? Because I need to use it too but still didnt find any clue how it works.
I'm really want to use banking apps with root permission so Magisk is my savior
Click to expand...
Click to collapse
Root kernel is a tool. The link is to the root kernel thread. All instructions are available in the thread.
Link:
https://forum.xda-developers.com/xp...oot-automatic-repack-stock-kernel-dm-t3301605
any help for step install magisk in Z5 Compact 7.1 N E5823 ?

unable to play hotstar premium on unlocked poco

Hello,
I have subscribed to hotstar premium but can't play any premium movies.
This error pops up.
Any solution? I'm unlocked but not rooted.
Error : this content playback is not supported on your device [EP]
Same thing happening with me.?
Need to root using magisk and flash liboemcrypto disabler module...hotstar premium will work
ajosi_19 said:
Need to root using magisk and flash liboemcrypto disabler module...hotstar premium will work
Click to expand...
Click to collapse
Still not working.
Change device name in build.prop?
-Hide it from Magisk
-Check if Safetynet passes
Darklouis said:
-Hide it from Magisk
-Check if Safetynet passes
Click to expand...
Click to collapse
Done... safetynet passes but hotstar still doesn't work
Flash liboemcrypto disabler module via Magisk, uninstall hotstar, reboot, reinstall hotstar and it should work.
Daruwalla said:
Flash liboemcrypto disabler module via Magisk, uninstall hotstar, reboot, reinstall hotstar and it should work.
Click to expand...
Click to collapse
Can you share more details like version, the rom you are using, etc. I tried it on pixel experience and it did not work. If it worked for anyone else can you tell what steps to take?
Finally got it to work everyone use this zip or one of higher version. Thumbs up if helpful
chandanbs said:
Hello,
I have subscribed to hotstar premium but can't play any premium movies.
This error pops up.
Any solution? I'm unlocked but not rooted.
Error : this content playback is not supported on your device [EP]
Click to expand...
Click to collapse
flashing custom kernel worked for me.. using franco kernel
raj7749 said:
flashing custom kernel worked for me.. using franco kernel
Click to expand...
Click to collapse
So you are unlocked and rooted.. Right?
Not using any magisk modules for this purpose?
chandanbs said:
So you are unlocked and rooted.. Right?
Not using any magisk modules for this purpose?
Click to expand...
Click to collapse
yup not using magisk module..
just unlocked and rooted plus franco kernel.. thats it
How did you sort it out? I tried the method above didn't work for me. If you could help me I's be grateful :'(

[FIX][10][MAGISK] NFC tap and pay module

Update: NFC payments has been fixed in Los 17.1 (and probably in all other ROMs) so this module is no longer required.
As far as I know out of all the Android 10 roms only NOS and now (based on NOS) the two PE roms support NFC tap and pay using Google Pay.
I've created a Magisk module that adds the NFC files from these working roms which should make tap and pay work on other roms (I'm using it on Los 17.1).
The nice thing about Magisk modules is that they don't touch the system partition, they survive dirty flashing, and can easily be removed either with Magisk Manager or by deleting the relevant folder under /data/adb/modules
I've attached the module (flash it in TWRP; don't try to install it using Magisk Manager).
Note: requires Magisk 20.2 or later.
Thanks to @xyyx, @PlayFriik, and @Gaurav24
BillGoss said:
As far as I know out of all the Android 10 roms only NOS and now (based on NOS) the two PE roms support NFC tap and pay using Google Pay.
I've created a Magisk module that adds the NFC files from these working roms which should make tap and pay work on other roms (I'm using it on Los 17.1).
The nice thing about Magisk modules is that they don't touch the system partition, they survive dirty flashing, and can easily be removed either with Magisk Manager or by deleting the relevant folder under /data/adb/modules
I've attached the module (flash it in TWRP; don't try to install it using Magisk Manager).
Note: requires Magisk 20.2 or later.
Thanks to @xyyx, @PlayFriik, and @Gaurav24
Click to expand...
Click to collapse
Havoc OS added it in the latest build (20202602) too I think in the future all ROMs will include the fix from NOS sources.
Thanks to NOS devs and to you guys! :good:
BillGoss said:
As far as I know out of all the Android 10 roms only NOS and now (based on NOS) the two PE roms support NFC tap and pay using Google Pay.
I've created a Magisk module that adds the NFC files from these working roms which should make tap and pay work on other roms (I'm using it on Los 17.1).
The nice thing about Magisk modules is that they don't touch the system partition, they survive dirty flashing, and can easily be removed either with Magisk Manager or by deleting the relevant folder under /data/adb/modules
I've attached the module (flash it in TWRP; don't try to install it using Magisk Manager).
Note: requires Magisk 20.2 or later.
Thanks to @xyyx, @PlayFriik, and @Gaurav24
Click to expand...
Click to collapse
Great! But... Where is the module?
mvalda01 said:
Great! But... Where is the module?
Click to expand...
Click to collapse
Lol!
I accidentally created a duplicate thread and the attachment was in the other thread.
I've now added to the OP.
Sent from my OnePlus 3T using XDA Labs
BillGoss said:
As far as I know out of all the Android 10 roms only NOS and now (based on NOS) the two PE roms support NFC tap and pay using Google Pay.
I've created a Magisk module that adds the NFC files from these working roms which should make tap and pay work on other roms (I'm using it on Los 17.1).
The nice thing about Magisk modules is that they don't touch the system partition, they survive dirty flashing, and can easily be removed either with Magisk Manager or by deleting the relevant folder under /data/adb/modules
I've attached the module (flash it in TWRP; don't try to install it using Magisk Manager).
Note: requires Magisk 20.2 or later.
Thanks to @xyyx, @PlayFriik, and @Gaurav24[/QUOTE
Hai bill,
I have problem with NFC. Now iam using Havoc OS 10 v3.3 QQ2A.200305.003.
So i just flash this patch via twrp for problem solving?
I use redwolf recovery, is it possible to flash this module? And do I have to install the magisk before or can I install this module without the magisk?
Click to expand...
Click to collapse
uutucherenz said:
BillGoss said:
As far as I know out of all the Android 10 roms only NOS and now (based on NOS) the two PE roms support NFC tap and pay using Google Pay.
I've created a Magisk module that adds the NFC files from these working roms which should make tap and pay work on other roms (I'm using it on Los 17.1).
The nice thing about Magisk modules is that they don't touch the system partition, they survive dirty flashing, and can easily be removed either with Magisk Manager or by deleting the relevant folder under /data/adb/modules
I've attached the module (flash it in TWRP; don't try to install it using Magisk Manager).
Note: requires Magisk 20.2 or later.
Thanks to @xyyx, @PlayFriik, and @Gaurav24[/QUOTE
Hai bill,
I have problem with NFC. Now iam using Havoc OS 10 v3.3 QQ2A.200305.003.
So i just flash this patch via twrp for problem solving?
I use redwolf recovery, is it possible to flash this module? And do I have to install the magisk before or can I install this module without the magisk?
Click to expand...
Click to collapse
Yes, you have to have Magisk installed and then flash this module.
Fyi, ROMs that are based on Los should no longer need this module because NFC is now fixed in Los.
Sent from my OnePlus 3T using XDA Labs
Click to expand...
Click to collapse
BillGoss said:
uutucherenz said:
Yes, you have to have Magisk installed and then flash this module.
Fyi, ROMs that are based on Los should no longer need this module because NFC is now fixed in Los.
Click to expand...
Click to collapse
Can you recommend a forum to discuss lineage on oneplus3 / 3T? And the link to download ROM Lineage OS?
Click to expand...
Click to collapse
uutucherenz said:
Can you recommend a forum to discuss lineage on oneplus3 / 3T? And the link to download ROM Lineage OS?
Click to expand...
Click to collapse
Check out the threads in https://forum.xda-developers.com/oneplus-3/oneplus-3--3t-cross-device-development and make sure you read the first post (OP - original post) in the thread your interested in.
Sent from my OnePlus 3T using XDA Labs
BillGoss said:
uutucherenz said:
Yes, you have to have Magisk installed and then flash this module.
Fyi, ROMs that are based on Los should no longer need this module because NFC is now fixed in Los.
Click to expand...
Click to collapse
Hai bill,
What are the steps to install this NFC patch fix? I tried to install it directly via redwolf recovery but failed, "error: 1" ...
Click to expand...
Click to collapse
uutucherenz said:
BillGoss said:
Hai bill,
What are the steps to install this NFC patch fix? I tried to install it directly via redwolf recovery but failed, "error: 1" ...
Click to expand...
Click to collapse
I've always flashed it using the TWRP mentioned in the OP of the Los 17.1 thread (aka SAR TWRP) https://forum.xda-developers.com/on...ageos-17-0-oneplus-3-3t-t3990061/post80652281
Sent from my OnePlus 3T using XDA Labs
Click to expand...
Click to collapse
BillGoss said:
uutucherenz said:
Yes, you have to have Magisk installed and then flash this module.
Fyi, ROMs that are based on Los should no longer need this module because NFC is now fixed in Los.
Sent from my OnePlus 3T using XDA Labs
Click to expand...
Click to collapse
FWIW, definitely don't flash this on top of an LOS ROM; caused a bootloop for me that I couldn't get out of, had to clean wipe and start over. My own darn fault for not reading everything through the first time or making a backup first, just a warning for others :silly:
Click to expand...
Click to collapse
Joshmccullough said:
BillGoss said:
FWIW, definitely don't flash this on top of an LOS ROM; caused a bootloop for me that I couldn't get out of, had to clean wipe and start over. My own darn fault for not reading everything through the first time or making a backup first, just a warning for others :silly:
Click to expand...
Click to collapse
I've updated the OP to say that the module is no longer needed.
Sent from my OnePlus 3T using XDA Labs
Click to expand...
Click to collapse

Categories

Resources