Related
Universal SafetyNet Fix
This module tries to pass SafetyNet on devices that triggered it.
It works by doing some magic with the system props, which are changed to match with the required by Google to pass it's security test (SafetyNet). However, that is not all...
The real magic here is the Universal Hide part, which is a custom implementation of Magisk Hide. It basically does the same magic as Magisk Hide, but in a shell-y simple way.
It reads the file Magisk Hide uses to store apps that should be hidden and then monitors logcat until a hidden app is opened. Once this happens, it enters it's mount namespace to unmount all Magisk related mount points.
That way you can hide root or bypass SafetyNet for almost to all apps. App's that use custom checks to detect root are one of the few exceptions as we cannot anticipate what they check.
Why did I basically duplicated Magisk Hide? Well, Magisk Hide doesn't work properly for all devices, so this is a fast solution until topjohnwu fix all the issues.
Information
Check this thread if you need more information: https://forum.xda-developers.com/apps/magisk/guide-magisk-troubleshooting-t3641417
Please DO NOT share the module itself or the download link, share the thread only.
Requeriments
Magisk v13.x/14.0
MagiskSU
Links
Download Beta
Download Stable (very outdated)
Download uninstaller
Source code
Installation
Flash the .ZIP from TWRP
Reboot
Donations
If you feel I helped you, you can buy me a coffee here.
Changelog
v1.10.1
Fixed Magisk Hide detection for Magisk v12
v1.10
Module is now universal, not for Xiaomi devices only
Module refactored
Magisk v13 beta support
Added some props
Added SafetyNet fix for Magisk v12
Check if Magisk Hide was properly started and try to fix
Zip signed
v1.9.1
Fixed logging code: ignore output of wait for unmount loop
v1.9
Added new supported devices: Redmi Pro, Mi 4S, Redmi 4X
Changed Redmi Note 3 MTK prop
Changed wait for Magisk SafetyNet check to a function and run in a subshell
v1.8.2
Fixed Redmi Note 3 MTK device name typo
v1.8.1
Fixed forgotten set_prop function calls
v1.8
Added new supported devices: Mi Note Pro, Redmi 1, Redmi 1S
Fixed Mi 5 prop
Removed run enable script
Code improved
v1.7
Added new supported devices: Mi 6
Added "ro.bootimage.build.fingerprint" prop
Removed reinitiate Magisk Hide
Added run Magisk Hide when boot & service steps are completed
Improved log code: waiting to SafetyNet test and Magisk Hide folder unmount, silence some shell output
v1.6
Added new supported devices: Mi Pad, Mi Note, Mi 3/Mi 4, Mi 2/2S, Mi Pad 2, Mi Pad 3
Added code to reinitiate Magisk Hide
v1.5
Added new supported devices: Redmi 4, Redmi 4 Prime, Redmi 4A
v1.4
Added new supported devices: Redmi 3/Prime, Mi 4i
Added code to generate useful logs and enable Magisk Hide if not enabled
Changed to use resetprop directly from script @laggardkernel
Removed build description because is useless
v1.3
Added new supported devices: Redmi 2/4G, Redmi 2 Prime
Added some extra code to support device with different model name
v1.2
Added new supported devices: Mi 4c, Mi 5c, Redmi Note 3 Special Edition, Mi Note 2, Redmi Note 4X
v1.1
Added new suported devices: Mi Max, Mi Max Prime, Redmi 3S/Prime/3X
v1
Initial release
Suported devices: Redmi Note 2, Redmi Note 3 MTK, Redmi Note 3 Qualcomm, Redmi Note 4 MTK, Mi 5, Mi 5s, Mi 5s Plus, Mi MIX
Thank you
@YashdSaraf for their amazing built Busybox binaries.
@Didgeridoohan for the help they brings.
@chhapil for their uninstaller.
@laggardkernel for their little contribution to the module.
@hipio for helping with this thread and moderating the Telegram group.
And all who donated me, thanks you!
Thanks for the module. I hope you add the support of Mi Max!
It's not working for me on redmi note 4 mtk latest (7.4.27) xiaomi.eu unlocked bootloader fresh install with magisk v12. Don't know if there is a difference to the snapdragon version...
Edit: sadly I've been waiting for this since I bought this phone! Still get profile cts mismatch
Edit2: files added
Not working on my mi5 with MIUI 8.2.2 by Multirom. wrong CTS profile error
Waiting for Redmi 3s.
Thanks for your work.
Gesendet von meinem Redmi 3S mit Tapatalk
CTS profile mismatch on my redmi note 3 pro
Deic said:
Fix SafetyNet on Xiaomi devices with MIUI Developer/Beta ROM & Custom ROM like LOS, RR, (etc...) replacing the build description & fingerprint prop to MIUI Stable one.
Click to expand...
Click to collapse
Sorry, but what is SafetyNet, and why do I need/want to fix it?
I'm waiting for Mi4c
Did not work for me. I am running 030517 Nitrogen 7.1.2 on a Redmi Note 3 Pro
Kenzo. RR Official Nightlies 7.1.1 2017/04/14 build
kleytonhunter said:
CTS profile mismatch on my redmi note 3 pro
Click to expand...
Click to collapse
Same here.
Anyone got this to work? Pls post screenshots as proof.
Antyhaker said:
I'm waiting for Mi4c
Click to expand...
Click to collapse
Here https://forum.xda-developers.com/ap...systemless-t3432382/post71955550#post71955550
_ossie_ said:
Same here.
Anyone got this to work? Pls post screenshots as proof.
Click to expand...
Click to collapse
after activating magisk hide on magisk config i passed on safetynet test
Working well on Mi5 with Global beta 7.4.27
Device appears certified as well in play store
:good:
DarthJabba9 said:
Sorry, but what is SafetyNet, and why do I need/want to fix it?
Click to expand...
Click to collapse
All expained here:
https://www.google.pl/amp/s/www.how...d-other-apps-dont-work-on-rooted-devices/amp/
I know you try to run the post-fs-data.sh immediately after installation. But it is still a little weird that, all the changes in system.prop, the properties written by post-fs-data.sh during boot, will be loaded at next boot. How about dropping the system.prop and loading the properties by post-fs-data.sh directly?
https://github.com/DeicPro/xiaomi-safetynet-fix/pull/1
cFendez said:
Thanks for the module. I hope you add the support of Mi Max!
Click to expand...
Click to collapse
chucky8 said:
Waiting for Redmi 3s.
Thanks for your work.
Gesendet von meinem Redmi 3S mit Tapatalk
Click to expand...
Click to collapse
Antyhaker said:
I'm waiting for Mi4c
Click to expand...
Click to collapse
Support added, don't forget to enable Magisk Hide from Magisk Manager settings.
Tell me the result, enjoy!
laggardkernel said:
I know you try to run the post-fs-data.sh immediately after installation. But it is still a little weird that, all the changes in system.prop, the properties written by post-fs-data.sh during boot, will be loaded at next boot. How about dropping the system.prop and loading the properties by post-fs-data.sh directly?
https://github.com/DeicPro/xiaomi-safetynet-fix/pull/1
Click to expand...
Click to collapse
These props are read before of run resetprop from post-fs-data. My first step was as you did it and I had to do as is now.
please push the module to Magisk Repo
chhapil said:
please push the module to Magisk Repo
Click to expand...
Click to collapse
I did it and waiting to topjohnwu will accept it.
Would anybody be so nice to post the values of these properties:
ro.build.description
ro.build.oemfingerprint
Thank you so much 8n advance!
Tell me how to and I will gladly help you mate
Jaizu said:
Tell me how to and I will gladly help you mate
Click to expand...
Click to collapse
Open a shell (adb or local shell), and type these two commands:
Code:
getprop ro.build.description
getprop ro.build.oemfingerprint
Each command will give you the value of the prop. Just copy all 4 lines (the command and the output x2) here. I'm not sure, if the device needs to be rooted, but I think it should work.
The second method is: open /system/build.prop in any editor that can handle read only filey for just reading (nearly all... , and copy the two lines with the properties in question.
Thanx!
Code:
getprop ro.build.description=OnePlus3-user 8.0.0 OPR6.170623.013 121 release-keys
getprop ro.build.oemfingerprint=8.0.0/OPR6.170623.013/09180121:user/release-keys
marcelotorres said:
Code:
getprop ro.build.description=OnePlus3-user 8.0.0 OPR6.170623.013 121 release-keys
getprop ro.build.oemfingerprint=8.0.0/OPR6.170623.013/09180121:user/release-keys
Click to expand...
Click to collapse
Wow! Thanx! Are you sure that OxygenOS 4.1.7 for oneplus3t published on 0825 is though being based on android 7.1.1 is shiped with an oreo build fingerprint? Sorry, if I ask to verify, but this seems so strange to me, that I just want to make sure.
nvertigo67 said:
Wow! Thanx! Are you sure that OxygenOS 4.1.7 for oneplus3t published on 0825 is though being based on android 7.1.1 is shiped with an oreo build fingerprint? Sorry, if I ask to verify, but this seems so strange to me, that I just want to make sure.
Click to expand...
Click to collapse
I'm running Lineage 15 and I have the same build fingerprint.
This means he didn't read the fact that you need OxygenOS.
ast00 said:
I'm running Lineage 15 and I have the same build fingerprint.
This means he didn't read the fact that you need OxygenOS.
Click to expand...
Click to collapse
What more can I do, then putting the most important information in the title? Assuming that people don't want to read every single thread, but only if interested in the topic, which is displayed in the overview... Anyway, thanx for informing me! (version and key date couldn't be by any means 4.1.7)
ro.build.description=OnePlus3-user 7.1.1 NMF26F 108 dev-keys ro.common.soft=OnePlus3 ro.display.series=OnePlus 3T ro.build.oemfingerprint=7.1.1/NMF26F/08081200:user/release-keys
Model ONEPLUS A3003
OxygenOS version 4.1.7
RAM 6GB Internal Storage 128GB
BUILD NUMBER ONEPLUS A3003_28_170818
ro.build.description OnePlus3-user 7.1.1 NMF26F 108 dev-keys
ro.build.oemfingerprint 7.1.1/NMF26F/08081200:user/release-keys
Code:
DWYOR
This module is based on @AdrianDC idea to simply make a patch for Low_RAM property. I made it as a Magisk Module in order to not tampering with system partition.
@AdrianDC thread: Here
This module will change the UI behaviour of Android to Android Go edition.
Features affected by the low-ram property:
Flat recent / multitasking UI, multi-users disabled, high-end graphics disabled, less recent apps cache, multi-windows disabled, minor notification icons changes, less logger buffer sizes (devs), no apps notifications access / zen access / VR listeners / picture in picture (PIP) accesses.
Tested on Redmi 3S (Land) with Nitrogen OS (Android 8.1.0)
XDA:DevDB Information
[Magisk Module] [MOD] Low-RAM Property Patcher for Android, Tool/Utility for all devices (see above for details)
Contributors
andriana936, AdrianDC
Version Information
Status: Stable
Current Stable Version: 1
Stable Release Date: 2018-01-25
Created 2018-01-25
Last Updated 2018-01-25
Firstly thanks, great work.
Just a heads-up flashing on los 14.1 on Galaxy tab 2 10.1 gives laggs as hell
I know only Oreo is supported but why don't give a try
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
Flashed on Redmi 2 (8gb variant) aex 8.1 Rom and it is working. Thank you...
working on Moto E lte 2015 LOS 15.1
Rawwrius01 said:
I know only Oreo is supported but why don't give a try
Click to expand...
Click to collapse
This property (...low_ram) is supported since 4.x afaik.
Dear xda users, could you tell me how to flash it please?
I tryed to flash it via TWRP and it bring me error on my HTC desire 620.
Kryspus said:
Dear xda users, could you tell me how to flash it please?
I tryed to flash it via TWRP and it bring me error on my HTC desire 620.
Click to expand...
Click to collapse
This is a magisk module. Go to that section and press the plus symbol.
Thanks for this! I installed it and I love the different recent apps screen. Technically I probably don't need the low ram config with 2 GB of ram, but I like it so far. Only potential downside for me is loosing the pip feature.
Any chance to support sdk28? Installer say that only works on Oreo ?
Sent from my ALICE using XDA Labs
Ace42 said:
This is a magisk module. Go to that section and press the plus symbol.
Click to expand...
Click to collapse
Can anyone please, tell me where I can find a twrp flashable zip of this file???
SAVITAR B. said:
Can anyone please, tell me where I can find a twrp flashable zip of this file???
Click to expand...
Click to collapse
https://mega.nz/#F!SxNRSQgY!GZMshOvO-i5hZyF11KdyGw
Enviado desde mi Moto G Play mediante Tapatalk
[Deleted post]
Hori873 said:
I just finished enabling it on my Nexus 5X with Pixel Experience ROM (Android 9 Pie) and it doesn't seem to have broken anything.
The recents apps screen is a very welcome change, I hated the one introduced in Android 9.
But overall idk, my Android OS still seems to be eating 1+ GB RAM out of 2 in total...
Click to expand...
Click to collapse
Does this module enable your N5X using Assistant go, for example? Does your N5X run more smooth with this patch? Do you turn your big off to avoid BLOD? Sorry if OT! Thanks!
Bootloop issue
It works on Custom ROM but It doesn't work on MIUI 11 ROM.
Does it work in Android 10? I had tried with the original low RAM mod but it didn't have any effect. Pie and lower worked well.
Does it work with nougat and touchwiz?
amn1987 said:
Does it work in Android 10? I had tried with the original low RAM mod but it didn't have any effect. Pie and lower worked well.
Click to expand...
Click to collapse
Also curious to know, I've been looking for a way to enable the Low Ram flag in Android 10 without success.
razerphynx said:
Also curious to know, I've been looking for a way to enable the Low Ram flag in Android 10 without success.
Click to expand...
Click to collapse
Didn't work for me either. It could be the ROM/developer did not add proper support.
While this module works on Android Pie, this broke the recent apps switcher on LOS 16 for microG for me.
Going to try and disable the module to see if that will fix things.
Update - The module didn't show up in Magisk, so had to use the original disable script by AdrianDC in TWRP and that fixed things.
This module is working perfectly with CRDroid Android 11.
My Device is Redmi 4a (Rolex)
Thankyou so much
Hello everyone there!
Has anyone else here tried the LiveBoot App which lets you have dmesg & logcat bootanimation at the beginning of your bootup? We'll, I purchased the app since it worked on all my previous devices. It would be great if someone can provide a solution here for the app not executing the bootanimation although all permissions (including root) are enabled. When I load the application, I see the toast saying 'LiveBoot was granted Superuser permissions'. But the actual program doesn't execute (including the test run). Other configurations for my phone are as follows:
Xiaomi Mi 11 Ultra (12GB+512GB)- purchased from China
Bootloader Status: Unlocked
Current ROM: Xiaomi.eu ROM (v.12.5.17.0)
Rooted through: Magisk
TWRP installed: Yes
Any help will be appreciated!
Thanks and regards,
Siddhesh
same here on Xiaomi Mi 11 Lite 5G
put this apk into /system/product/overlay of *.img file before you flashed it with fastboot tool
source code:
Added Redmi Note 10 5G / POCO M3 Pro/5G · phhusson/[email protected]
This includes hardware-specific overlays for Treble ROM - Added Redmi Note 10 5G / POCO M3 Pro/5G · phhusson/[email protected]
github.com
nice!!!!
How i can put the apk into gsi??
wetito said:
How i can put the apk into gsi??
Click to expand...
Click to collapse
guess that’ll work on vndklite version only.
wetito said:
How i can put the apk into gsi??
Click to expand...
Click to collapse
Open the img and drag it through software in win.
Is that this fixes the brightness slider?
for me magisk fix module+suggested pphsettings with Arrow gsi VNDKLITE solve problems. also Volte works fine. no lags. for me this is the best gsi. with magisk i have added a couple of tweaks that have ulteriory emproved the sytem performance. i'm happy after one year to be reswitched to android. sure my next device will be a pixel (like 6A)
up864 said:
Open the img and drag it through software in win.
Click to expand...
Click to collapse
i'm on linux, so i suppose i had to search the right app or the command line. no particular permission to set? just pull apk into gsi?
wetito said:
for me magisk fix module+suggested pphsettings with Arrow gsi VNDKLITE solve problems. also Volte works fine. no lags. for me this is the best gsi. with magisk i have added a couple of tweaks that have ulteriory emproved the sytem performance. i'm happy after one year to be reswitched to android. sure my next device will be a pixel (like 6A)
Click to expand...
Click to collapse
Did you try the overlay
Fire1511 said:
Did you try the overlay
Click to expand...
Click to collapse
no, i flashed with overlay included by default
wetito said:
i'm on linux, so i suppose i had to search the right app or the command line. no particular permission to set? just pull apk into gsi?
Click to expand...
Click to collapse
The overlay will be included in all phh gsi since september update. Just use latest gsi to avoid modifying it:
Gsi_projects - Browse /v415-Sep at SourceForge.net
sourceforge.net
wetito said:
for me magisk fix module+suggested pphsettings with Arrow gsi VNDKLITE solve problems. also Volte works fine. no lags. for me this is the best gsi. with magisk i have added a couple of tweaks that have ulteriory emproved the sytem performance. i'm happy after one year to be reswitched to android. sure my next device will be a pixel (like 6A)
Click to expand...
Click to collapse
What modules to improve system performance pls my system is slow and laggy
arrow gsi ndklite version by default is not laggy.
for my experience the most import things to do the best flsh gsi is:
start from the most compatible stock miui (i have choice lastest EEA for me)
flash system direct into slot a WITHOUT ERASE SYSTEM PARTION
i have do this and now my system is fast and smooth
the module is aosp enhancer, but i think it work fine only under a system good optimized by default
After many attempts, I think I have found the best procedure. Or at least the one that satisfies me the most
wetito said:
arrow gsi ndklite version by default is not laggy.
for my experience the most import things to do the best flsh gsi is:
start from the most compatible stock miui (i have choice lastest EEA for me)
flash system direct into slot a WITHOUT ERASE SYSTEM PARTION
i have do this and now my system is fast and smooth
the module is aosp enhancer, but i think it work fine only under a system good optimized by default
After many attempts, I think I have found the best procedure. Or at least the one that satisfies me the most
Click to expand...
Click to collapse
I erased system partition
wetito said:
arrow gsi ndklite version by default is not laggy.
for my experience the most import things to do the best flsh gsi is:
start from the most compatible stock miui (i have choice lastest EEA for me)
flash system direct into slot a WITHOUT ERASE SYSTEM PARTION
i have do this and now my system is fast and smooth
the module is aosp enhancer, but i think it work fine only under a system good optimized by default
After many attempts, I think I have found the best procedure. Or at least the one that satisfies me the most
Click to expand...
Click to collapse
Are u sure u didn't encounter any scrolling lag on apps like discord youtube?
No is perfect
up864 said:
put this apk into /system/product/overlay of *.img file before you flashed it with fastboot tool
source code:
Added Redmi Note 10 5G / POCO M3 Pro/5G · phhusson/[email protected]
This includes hardware-specific overlays for Treble ROM - Added Redmi Note 10 5G / POCO M3 Pro/5G · phhusson/[email protected]
github.com
Click to expand...
Click to collapse
this overlay is already present into latest gsi
wetito said:
this overlay is already present into latest gsi
Click to expand...
Click to collapse
yes, after i wrote this post.