Statut of Magisk on Treble? - Honor 7X Questions & Answers

Hello everyone!
I'm going to install a Treble ROM (DotOS to be precise) and I was thinking about the actual statut of Magisk on our device,
Someone had success with the latest Magisk Beta (or any beta version) to bypass Safetynet?
Thanks!
Théo

You can try this: https://gist.github.com/Jerry981028/b6a7fdfcf1823325c2f94f83677fa554
But I've never been able to pass SafetyNet, with and without Magisk.

It's a thing with Treble roms, I've tried them with no luck.

Related

Magisk + Viper4android on Open beta 10

So just a quick question I know there's a way to install Viper for Nougat I did this before I installed Magisk. But I just wanted to know if I were to install it would it break android pay?
Absolutely not.
That kind of issue is related to SafetyNet bypass (that you've to check from the main tab of Magisk Manager): if it's shown as Passed, you can use Android Pay without any trouble.
You can install V4A from Magisk repo, but I remember that's not working under OxygenOS (I was testing under Open Beta 7).
Hope to be wrong for Open Beta 10.

Xposed Mi6

I would like to install xposed in my mi6 .
Anyone can provide me with the working xposed link?
Which rom are you on? Nougat miui or oreo? Nougat aosp/los based or oreo?
Also if aosp/los based and oreo, is your rom a project treble enabled or not? (In case you'd like to install it from magisk systemlessly)
Also have you unlocked your bootloader and flashed twrp custom recovery in the first place or not?
Without these information I'm sorry, your best option should be first searching for each of them on google to learn what they are, then see how to install and/or perform these actions.
I have tried to install magisk xposed and failed. I have xiaomi.eu 9.5.3.0 Oreo, magisk 16.0, TWRP 3210... Any advice please?
Petar0 said:
I have tried to install magisk xposed and failed. I have xiaomi.eu 9.5.3.0 Oreo, magisk 16.0, TWRP 3210... Any advice please?
Click to expand...
Click to collapse
There is no working xposed for miui oreo.
https://github.com/rovo89/Xposed/issues/317
rovo89 said:
I wish Xiaomi/MIUI would stop messing with critical Android internals, but they do it again every release for no apparent reason. That's why MIUI issues have low priority for me. I'll look at this in more detail once other issues are solved (which might easily take a few weeks).
Click to expand...
Click to collapse
ccelik97 said:
Which rom are you on? Nougat miui or oreo? Nougat aosp/los based or oreo?
Also if aosp/los based and oreo, is your rom a project treble enabled or not? (In case you'd like to install it from magisk systemlessly)
Also have you unlocked your bootloader and flashed twrp custom recovery in the first place or not?
Without these information I'm sorry, your best option should be first searching for each of them on google to learn what they are, then see how to install and/or perform these actions.
Click to expand...
Click to collapse
I am on miuipro 8.3.29 android 8.0
My device is rooted
Unlocked boot loader
And i guess its not project treble enabled
Ccelik97
I m on miuipro 8.3.29
Android oreo
My device is rooted and unlocked bootlloader.
And its not project reble enabled :/
Will you explain what is projext treble?
Petar0 said:
I have tried to install magisk xposed and failed. I have xiaomi.eu 9.5.3.0 Oreo, magisk 16.0, TWRP 3210... Any advice please?
Click to expand...
Click to collapse
Just look my post above and try that disable resource hook thing.
EDIT: Sorry it'll be below because I've deleted my post accidentally
Waiting
Santo Hasib said:
Ccelik97
I m on miuipro 8.3.29
Android oreo
My device is rooted and unlocked bootlloader.
And its not project reble enabled :/
Will you explain what is projext treble?
Click to expand...
Click to collapse
For miui oreo you have two options to get xposed working.
1) Download xposed installer apk from xposed thread and xposed for sdk26 (it's for oreo 8.0), first check the box of the disable resource hook option in xposed installer, then flash xposed sdk26 zip from the recovery.
2) Same thing can be done with magisk manager (if it's your root method). So get the xposed installer for magisk apk (search for it because it isn't in the original xposed thread), then do the same thing to disable resource hook, then find and install the xposed for sdk26 systemless module within the magisk manager app.
And for both methods just don't try to use any xposed module that modifies system ui etc because of the miui.
Also have the uninstaller zips for both magisk and xposed
And also, make some twrp backups for boot and system in case you screw up something
By the way, project treble is *simply* separation of /vendor (device related stuff etc) from /system. It enables us to make and use GSIs (generic system images). GSIs are made to specific android versions and theoretically can run on any treble enabled device. Our mi 6 have got treble unofficially thanks to the efforts of the mi 6 developers in our forum. Project treble makes it easy to update system so even if you don't use a treble rom you can go and thank @blankaf 's post for example for his work on the porting of treble for our device.
ccelik97 said:
For miui oreo you have two options to get xposed working.
1) Download xposed installer apk from xposed thread and xposed for sdk26 (it's for oreo 8.0), first check the box of the disable resource hook option in xposed installer, then flash xposed sdk26 zip from the recovery.
2) Same thing can be done with magisk manager (if it's your root method). So get the xposed installer for magisk apk (search for it because it isn't in the original xposed thread), then do the same thing to disable resource hook, then find and install the xposed for sdk26 systemless module within the magisk manager app.
And for both methods just don't try to use any xposed module that modifies system ui etc because of the miui.
Also have the uninstaller zips for both magisk and xposed
And also, make some twrp backups for boot and system in case you screw up something
By the way, project treble is *simply* separation of /vendor (device related stuff etc) from /system. It enables us to make and use GSIs (generic system images). GSIs are made to specific android versions and theoretically can run on any treble enabled device. Our mi 6 have got treble unofficially thanks to the efforts of the mi 6 developers in our forum. Project treble makes it easy to update system so even if you don't use a treble rom you can go and thank @blankaf 's post for example for his work on the porting of treble for our device.
Click to expand...
Click to collapse
I tried but in the end
It says
Android has stopped working etc kind of stuff
And i had ti reboot to recovery and uninstall it :/
Pretty bad situation
For Nougat based MIUI, disable resource hook in Xposed Installer before flash latest xposed zip package.
For Oreo based MIUI, only deoxded rom like xiaomi.eu support xposed. I can confirm xiaomi.eu stable 9.5.3.0 support v90 beta2 (not beta3) and no need to disable resource hook. Xiaomi.eu is China based rom has no AOSP style notification shade. My solution is to install MIUI 8 Tweaks module and enable always expanded notifications, it's a bit ugly but does the job.
It would be really appreciate If someone knows how to deoxde official rom.
seqchen said:
For Nougat based MIUI, disable resource hook in Xposed Installer before flash latest xposed zip package.
For Oreo based MIUI, only deoxded rom like xiaomi.eu support xposed. I can confirm xiaomi.eu stable 9.5.3.0 support v90 beta2 (not beta3) and no need to disable resource hook. Xiaomi.eu is China based rom has no AOSP style notification shade. My solution is to install MIUI 8 Tweaks module and enable always expanded notifications, it's a bit ugly but does the job.
It would be really appreciate If someone knows how to deoxde official rom.
Click to expand...
Click to collapse
You can silde the notification with two fingers to expand it.

Question Miui.eu

I am sorry in advance, I am new to it and there is too much information for me. So, I want to get poco f3, but I can find global version of it. So I am thinking of installing miui.eu as far as I understand it works better. So my problem about safetynet - I need my banking apps and so on. As far as I understand, I need to unlock my bootloader, and by doing so, I automatically won't pass safetynet even if I won't install miui.eu (or any other) at all. Is there is a way, to be able to use miui.eu, banking apps and not to tweak with magisk?
xiaomi.eu pass safetynet out of the box...so, no need to root ur phone to use bank apps.
Alin45 said:
xiaomi.eu pass safetynet out of the box...so, no need to root ur phone to use bank apps.
Click to expand...
Click to collapse
So unlocking bootloader does not strip you from safetynet? I am kind of confused. Is xiaomi.eu like other roms like lineage os or its kinda official. Sorry for dumb questions
Is there any other popular roms that can pass safetynet without magisk?
Bnopnia said:
So unlocking bootloader does not strip you from safetynet? I am kind of confused. Is xiaomi.eu like other roms like lineage os or its kinda official. Sorry for dumb questions
Click to expand...
Click to collapse
Xiaomi.eu is a custom ROM based on official MIUI. If u install this ROM, safetynet pass out of the box.
Alin45 said:
Xiaomi.eu is a custom ROM based on official MIUI. If u install this ROM, safetynet pass out of the box.
Click to expand...
Click to collapse
OK, now it's all coming together, thank you very much!
The only issue I have seen is dealing with their forum support. The place is like 4chan with miserable moderators.
Bnopnia said:
I am sorry in advance, I am new to it and there is too much information for me. So, I want to get poco f3, but I can find global version of it. So I am thinking of installing miui.eu as far as I understand it works better. So my problem about safetynet - I need my banking apps and so on. As far as I understand, I need to unlock my bootloader, and by doing so, I automatically won't pass safetynet even if I won't install miui.eu (or any other) at all. Is there is a way, to be able to use miui.eu, banking apps and not to tweak with magisk?
Click to expand...
Click to collapse
Unlocking your bootloader, installing a custom recovery (mainly TWRP) and flashing MIUI.eu rom will not affect PlayStore and SafetyNet Attestation API.
Rooting your device (or more commonly known as installing Magisk) will cause it. There is a workaround called MagiskHide, but if there's nothing really important you needed to root I would say just flashing the MIUI.eu rom is way more than enough.
Bnopnia said:
Is there any other popular roms that can pass safetynet without magisk?
Click to expand...
Click to collapse
Any roms that does not come preinstalled with Magisk should have no issues with SafetyNet API.
And according to XiaoMi.eu website they are collaborating together with the XiaoMi official developers so your warranty is not voided.

SafetyNet Bypass - Basic Integrity Check fails? (ROOT / Custom ROM: iodéOS 2.1 / LineageOS / Android 11) - SM-G960F/DS

Hello,
I've installed iodeOS on my Samsung S9 SM-G960F/DS with Android 11 which is basicly a pre-configured LineageOS.
Additionally i've installed TWRP and Magisk 23.0 and rooted my phone.
Bootloader is unlocked ofc.
In the SafetyNet, i cant even bypass the simple Basic Integrity check, let alone the CTS Profile.
So my Question is, are there routines to try? does someone have a idea how i could get this working?
Or is it simply just not possible on the S9 to bypass SafetyNet?
I've tried "universal-safetynet-bypass-fix.zip" but i cant seem to flash it from TWRP or Magisk.
Thanks in advance!
Turns out it was a Dev User Build that doesnt work with SafetyNet.
Instead, i've installed LineageOS 17.1 with Android 10 and im ok wiht it.
I've passed Basic Integrity that way and with the following instruction the CTS Profile:
Download this Magisk Module (For Android 7.0/7.1 to Android 12 Beta 4 and future versions) – SAFETYNET-FIX-v2.1.0
Open Magisk and go to the Modules tab
Install the Magisk Module that you downloaded
Reboot your phone, and that’s it.

Question Root with Magisk for Poco F5

Hi, I have intention to buy this phone. I see unofficial TWRP is hereby skkk, would Magisk work?
No need for TWRP to root.
To adapt to your device.
[All-in-One] Xiaomi 13 (fuxi): Unlock Bootloader, Root, Flash TWRP, Flash ROM
[All-in-One] Xiaomi 13 (fuxi): Unlock Bootloader, Root, Flash TWRP, Flash ROM Dear Xiaomi 13 user, I'm not responsible if anything happens to your device. If you execute these AiO procedures properly then you shouldn't face any problems...
forum.xda-developers.com
NOSS8 said:
No need for TWRP to root.
To adapt to your device.
[All-in-One] Xiaomi 13 (fuxi): Unlock Bootloader, Root, Flash TWRP, Flash ROM
[All-in-One] Xiaomi 13 (fuxi): Unlock Bootloader, Root, Flash TWRP, Flash ROM Dear Xiaomi 13 user, I'm not responsible if anything happens to your device. If you execute these AiO procedures properly then you shouldn't face any problems...
forum.xda-developers.com
Click to expand...
Click to collapse
Thanks, but my question was the inverse: I want to root, typically I did using TWRP and flashing magisk zip. I was guessing if Magisk supports Poco F5 already.
fubo73 said:
Thanks, but my question was the inverse: I want to root, typically I did using TWRP and flashing magisk zip. I was guessing if Magisk supports Poco F5 already.
Click to expand...
Click to collapse
This method is not recommended due to A/B partitions and current TWRP development for A12/13.
And root for what?
NOSS8 said:
This method is not recommended due to A/B partitions and current TWRP development for A12/13.
And root for what?
Click to expand...
Click to collapse
I use root for two main purposes: ad blocker in hosts (as I also use VPN service, so I don't want to keep VPN busy with ad blocker) and removal of bloatware with magisk debloater.
fubo73 said:
I use root for two main purposes: ad blocker in hosts (as I also use VPN service, so I don't want to keep VPN busy with ad blocker) and removal of bloatware with magisk debloater.
Click to expand...
Click to collapse
Try a Xiaomi Eu rom, don't need all that.
NOSS8 said:
Try a Xiaomi Eu rom, don't need all that.
Click to expand...
Click to collapse
Xiaomi.eu ROM for 12 Turbo / Poco F5 with root is great, because one can install among others ad-block apps such as AdAway and block all ads in apps (Youtube excluded). I rooted xiaomi.eu (via magisk and "boot.img") couple of days ago and it's working great. You're right, when you wouldn't recommend rooting via TWRP and flashing magisk.zip for the reasons you mentioned in post #4 above.
Have any of you tried installing viper4android magisk?
A lot of devices are being unable to install the old viper 4 android. I know there's a 64bit version now that usually works on devices that can't install the other one. It doesn't have all of the features it's missing headphones surround sound and gain increase. Which are the two best features of the whole vipers situation. So I want to purchase a Poco F5 or F5 pro. So I am wondering if viper is working?
You'll probably have to install magisk delta canary latest build because the new magisk v26.1 won't work with viper now either. It will work if you Install viper with magisk delta and then switch to magisk official v26.1.
Normally what you do is you install the busy box module, The James DSP 4.6 module, Selinux permissive module, audio modifications library 4.2 module and the viper for Android module finally. You don't have to use the James DSP but sometimes it corrects problems in the system to get viper to work. I'm not sure how much you guys are aware so I am trying to cover everything.
Pixel 6, 7 pro it won't work on. My tab S8 plus, S22 and S23 ultra it won't work on. Pixel 7 pro with AOSP roms make it work when those are available.
Techguy777 said:
Have any of you tried installing viper4android magisk?
A lot of devices are being unable to install the old viper 4 android. I know there's a 64bit version now that usually works on devices that can't install the other one. It doesn't have all of the features it's missing headphones surround sound and gain increase. Which are the two best features of the whole vipers situation. So I want to purchase a Poco F5 or F5 pro. So I am wondering if viper is working?
You'll probably have to install magisk delta canary latest build because the new magisk v26.1 won't work with viper now either. It will work if you Install viper with magisk delta and then switch to magisk official v26.1.
Normally what you do is you install the busy box module, The James DSP 4.6 module, Selinux permissive module, audio modifications library 4.2 module and the viper for Android module finally. You don't have to use the James DSP but sometimes it corrects problems in the system to get viper to work. I'm not sure how much you guys are aware so I am trying to cover everything.
Pixel 6, 7 pro it won't work on. My tab S8 plus, S22 and S23 ultra it won't work on. Pixel 7 pro with AOSP roms make it work when those are available.
Click to expand...
Click to collapse
Try this: https://github.com/programminghoch10/ViPER4AndroidRepackaged
Worked like a charm for me on my Xiaomi 12X, install it as a magisk module.
carlese said:
Try this: https://github.com/programminghoch10/ViPER4AndroidRepackaged
Worked like a charm for me on my Xiaomi 12X, install it as a magisk module.
Click to expand...
Click to collapse
I don't have the Poco F5. I want to know before buying it if it can use the good viper or repackaged on stock? Anyone know on Poco F5?
can i install custom rom in poco f5?
Techguy777 said:
I don't have the Poco F5. I want to know before buying it if it can use the good viper or repackaged on stock? Anyone know on Poco F5?
Click to expand...
Click to collapse
No, you need to root the phone first, then you can use it also on stock rom

Categories

Resources