Themes / Apps / Mods [MIUI 13][MAGISK][ROOT][MODULE] Enable dark mode on third party apps - Redmi Note 10

Hi guys,
famusc created a simple magisk module which adds all third party apps in ForceDarkAppSettings.json, thus enabling (or disabling) dark mode for third party apps in MIUI 13 again.
After installing the module and restart, you'll find all third party apps in dark mode settings.
If you install a new app, it needs a restart to see it in dark mode list.
This module works only if it finds both ForceDarkAppSettings.json and packages.list files.
* The module is provided as it is, with no support. If you make changes, please give credit to famusc*
Tested on MIUI 13 stable redmi note 10 mojito.

Hi I downloaded that module, what to do next?

Pvsi said:
Hi I downloaded that module, what to do next?
Click to expand...
Click to collapse
After installing the module in magisk reboot to system.

hi! is there a way to use this on a VEUX device (Redmi Note 11 Pro 5G / Poco X4 Pro 5G)? the device dont have the ForceDarkAppSettings.json and packages.list files at all.

Related

Screen Recording with Internal System Audio

I was looking for screen recording solutions for recording some PUBG content, ones that captured gameplay sounds (internal audio). Google restricts apps from doing so, often banning developer accounts when devs host an app that captures system audio. People kept mentioning that MIUI's inbuilt screen recorder has an option to record system internal audio, but I could not locate that option.
As it turns out, the in-built app is version 1.4.1. I tried out the most recent v1.4.9, but it simply force closed. The next version, i.e. v1.4.4 works perfectly and also features "System Sound" as an option for Sound source.
You can download the v.1.4.4 release from APKMirror.
For non-MIUI users, LineageOS 16 features its own screen recorder app that also does the same. I haven't tried it yet, but that is an option.
Still looking for a way to reliably record high quality video + internal audio + mic, but at least we have a partial solution.
This doesn't work anymore in v10.2.8.0 because the system Screen Recorder version is v1.4.6 and Android refuses to install older versions.
justin97530 said:
This doesn't work anymore in v10.2.8.0 because the system Screen Recorder version is v1.4.6 and Android refuses to install older versions.
Click to expand...
Click to collapse
Yes it doesn't. The alternative is to root your phone, uninstall the system apk, install the older apk as a system app.
@a.cid How to root Redmi Note 7?
Also, POCO F1 has just got the update that enables recording of system sounds. How can we check if Redmi is also planning that update for Redmi Note 7? is there a way?
a.cid said:
Yes it doesn't. The alternative is to root your phone, uninstall the system apk, install the older apk as a system app.
Click to expand...
Click to collapse
So glad I did it when I had v10.2.6.0
a.cid said:
Yes it doesn't. The alternative is to root your phone, uninstall the system apk, install the older apk as a system app.
Click to expand...
Click to collapse
Can you please guide me on how to do the same?
I have rooted my Redmi Note 7 successfully. But I am not able to install it as a system app.
Can you tell me the steps?
screen recording with system sounds is working on latest developer rom available for redmi note 7 pro. check it here - https://youtu.be/r2JXb6Hvlxw
shaanu said:
screen recording with system sounds is working on latest developer rom available for redmi note 7 pro. check it here -
Click to expand...
Click to collapse
Do u have another link it seems to be removed
Mobizen screen rec. works perfetly for me .... (i'm on miui.eu beta 9.8.1 and rooted by magisk 19.3 )

Hiding custom rom from bank app

Apparently, my bank updated the app with a new feature that doesn't let me access it anymore, it says that the operating system is not supported, i use a custom rom(AEX) in my Redmi 4x, i believe that the rom is the problem, the root is being hidden with MagiskHide and i have no problems with SafetyNet, maybe i can change some parameter in build.prop to make it work? i did something similar to try to run Fortnite in my phone a while ago, any ideas on what parameters may be relevant to that?
It's a brazilian bank(Banco Inter)
Need Solution for this Problem as Well
I have the same problem.
The new app version 8.4.6 is not working while up till version 8.4.5 it was working just fine.
Their support is absolutely clueless on how to help, but as @Levyks said, apparently they are blocking custom roms now.
Is it possible to make the custom rom look as an original rom from manufacturer?
Same problem.
I'm with the same problem...
IMHO has nothing to do with fact whether it's a Custom ROM or a Stock ROM. Any app ( banking apps included ) easily can find out whether present Android OS got tampered or not.
Same problem any help? Can't use my bank app... WhatsApp also can detect I have a custom ROM, any solution?
Incomtus said:
Same problem any help? Can't use my bank app... WhatsApp also can detect I have a custom ROM, any solution?
Click to expand...
Click to collapse
Many apps like banking / payment apps today detect whether Android is got rooted or not: it's an easy for them to do so.
Same problem here in Lineage OS 18.1. My non-rooted device pass safetynet and CTS by default. But many Banking application had started detecting that I am using custom rom and don't open at all. Then I rooted my device with magisk and enabled 'magisk hide' but no success.
Hi! A solution that worked for me: use the renaming function in Magisk (you can find it in the Settings).
I had the same problem on a Redmi 4X, LOS 16, no working banking app even with Magisk hide. After renaming Magisk, I was able to log in and use it as intended. Also I left Magisk hide turned on.
My guess is that these kind of apps are looking specially for Magisk, and if it's detected, they just won't let you use them.

Rooted device: Unable to pass Safetynet, Netflix device failure (501.-109), RTLPlay (Belgium App) Freeze...

Hello everyone.
Sorry for my bad English, i'm Belgian.
So, recently, I installed LineageOS GSI on my old Huawei P20 Lite. I rooted it because i want to test some apps before installing custom rom on my actual phone (Xiaomi Redmi Note 10 Pro)
So, for my banking apps, i need to install magisk and enable Magisk Hide, and it woks.
But after many attemps and extensions installed in Magisk, i'm unable to pass SafetyNet, Netflix show an error (Device failure 501._109) and RTLPlay (Belgian app) freeze.
Can somebody help me please?
I post some screenshots here.
Thank You.
Hi, try some of this:
https://forum.xda-developers.com/t/...ndroid-11-stable-so-far.4222155/post-84654193
First, uninstall the current modules.
Hello, I use gsi without root or magisk, and it passes saftynet, I can download netflix direct from the playstore, but the netflix app presents the same error with me, and browsers based on chromium crash after 2 minutes of use.

[QUESTION] How to fix Crash when Magisk Modules Are Installed????

Hola Amigos,
I have A Mido (2GB RAM) device with Superior OS (Phoniex,Android Q) Installed.I installed Magisk and whenever I flash any modules,
Magisk Crashes(Not Magisk Manager).Here's what I mean:The wallpaper I apply using Magisk get reset to default one.
Many Automatic Modules(Modules that start woring on boot) stop for 5-10 seconds and then work. App that I was using before the
crash also crashes.
It happens pretty frequently.
I installed Magisk like this:
Booted to TWRP
Wiped System,Dalvik,Vendor,Data,Cache
Formatted Data
Flashed Superior OS,Open Gapps Pico A10
Rebooted to System
After setting up Google
Rebooted to TWRP
Flashed Magisk 24.3.zip
Rebooted to System.
Installed Each Module one at a time and Rebooted,Then installed second module.....
Sometimes even of I don't install any module the Magisk Manager crashes.
The Modules that I use:
Google Sans Font System Lessly : https://www.pling.com/p/1457664/
MIUI Wallpaper and Akira Wallpaper(Live) : https://www.pling.com/p/1423749/
JamesDSP : https://zackptg5.com/downloads/jdsp_v4.4.zip
XDA Thread of (JamesDSP) (This is not a module): https://forum.xda-developers.com/android/apps-games/app-reformed-dsp-manager-t3607970
Naruto Sharingan BootAnimation for all devices : https://www.pling.com/p/1595951/
Godspeed Mode V X7 All devices : https://www.pling.com/p/1596710/
I am on stock kernel and TWRP 3.5.1
How can I fix these Crashes??
Also Fingerprint and auto rotate sensor are not working even if I uninstall Magisk,Whereas it works if I use UBPorts
Alpha V 1.1
Thanks for help!!!
I have same problem since I updated magisk to 26.1 and when I downgrade it to 25 or 24 stell same problem I tried to change magisk to kernel su the new root app and when I try to add one module at least It makes my app crash but it work only to give root access to any app I want and it is hidden from any app can detect root like bank apps this is crash log of one app of though apps https://bin.kv2.dev/~645360ede599576ea02c5490
And the screen shot the tree apps that crash when use modules
Mady_H said:
I have same problem since I updated magisk to 26.1 and when I downgrade it to 25 or 24 stell same problem I tried to change magisk to kernel su the new root app and when I try to add one module at least It makes my app crash but it work only to give root access to any app I want and it is hidden from any app can detect root like bank apps this is crash log of one app of though apps https://bin.kv2.dev/~645360ede599576ea02c5490
And the screen shot the tree apps that crash when use modules
Click to expand...
Click to collapse
Turns out James dsp and boot animation modules caused the crashes . Safety Net fix and shamiko did not cause the crash . Maybe you could try uninstalling unnecessary modules , btw which modules do you use ?
LolFlasherNoob said:
Turns out James dsp and boot animation modules caused the crashes . Safety Net fix and shamiko did not cause the crash . Maybe you could try uninstalling unnecessary modules , btw which modules do you use ?
Click to expand...
Click to collapse
Iam using ahamiko and safety net fix and hide my app list and ls posed I tried to add zygisk on kernelsu and when I did that it made my apps crash again and I tried to add module to install metrolla dailer phone to record calls it made my apps crash and ls posed zygisk didn't make any thing
So what is common with zygisk for kernelsu and jsp and boot animation
+
I will try to clean install the rom and root again to see what is going on and try to flash new rom to see if it is common in another rom or not
Mady_H said:
Iam using ahamiko and safety net fix and hide my app list and ls posed I tried to add zygisk on kernelsu and when I did that it made my apps crash again and I tried to add module to install metrolla dailer phone to record calls it made my apps crash and ls posed zygisk didn't make any thing
So what is common with zygisk for kernelsu and jsp and boot animation
+
I will try to clean install the rom and root again to see what is going on and try to flash new rom to see if it is common in another rom or not
Click to expand...
Click to collapse
Consider this guide .
Although it's for redmi note 11 , the rom flashing part is universally applicable to all devices.
[GUIDE] LATEST/UNIVERSAL FLASHING GUIDE FOR TWRP,OTHER RECOVERY AND ALL ROMS [Spes/Spesn] Redmi Note 11
: Combined four How To Guide threads into one. Post #2 - LATEST FLASHING GUIDE FOR TWRP AND OTHER RECOVERY [Spes/Spesn] Redmi Note 11[WINDOWS-Only] Post #3 - LATEST FLASHING GUIDE FOR TWRP AND OTHER RECOVERY [Spes/Spesn] Redmi...
forum.xda-developers.com

Hide Root, Magisk, LSPosed and pass safetynet on any rom on Redmi K20 Pro

--->This is a working method as of May 2023 to have root on any rom version for redmi k20pro.
--->This will help you root and keep root hidden along with using lsposed modules.
--->These steps work on any device and any rom
You can find extra guides for the steps you dont understand by searching on xda forums. Some of these guides are linked to at the bottom of this post
Your bootloader needs to be unlocked to follow this guide. See link at bottom for guides to do the same.
****************************
I am not responsible for any data loss or damage. Follow at your own Risk
****************************​
1. Install twrp or orangefox recovery on your phone.
2. Flash Magisk 25.2 (Version 26 has many issues. This version is better to use)
3. Reboot, install magisk apk(rename magisk.zip file to magisk.apk and install)
4. In magisk modules, install shamiko
5. In magisk modules, install safetynet 2.4.0
6. Add any app you want to hide root from in denylist of magisk. Additionally add Google play Services, Google play store, google services framework and google play protect to denylist(enable show system apps option in menu available on top right of denylist)
(IMP: Do not enable enforce denylist, Shamiko does this function)
7. If you have already logged into google play store and it shows device not certified in about section of play store -remove google account from phone and clear data of play store, play services, google services framework. Reboot amd try again. It will show certified status after about 10 minutes of logging in
8. Some custom roms may have device fingerprints which will get detected as custom rom. If that happens, use hide user debug and lineage props magisk module. Note: This version from github can only be flashed in Androidacy Fox Module Manager due to issue in zip packaging. Download this file which is just a properly repackaged version that can be flashed in any magisk manager.
Next install Reset Sensitive props magisk module. A combination of simply installing these modules will fix custom rom detection on any custom rom.(Example on opening whatsapp or GPay for first time)
Additional step(not necessary): Your rom may have additional build.prop entries that indicate a custom rom. Look for such build properties by opening build.prop in root browser on your device, then change any that have a custom rom name in them using magiskhideprops(Refer instructions to use magiskhideprops in the link)
9. Now, hide the magisk app in magisk app settings(set name to something like setting or app)
10. Freeze magisk manager app using link2sd/swift backup/ airfrozen or any other similar app. You can enable app when you need to install or disable modules or grant superuser access to new apps. You can also use Androidacy Fox MMM manager to find, install and remove magisk modules
_____________________________________________________________________________
Done, you can stop at this stage if you dont need lsposed.
Be warned that youw ill need to re-add any app you uninstall and reinstall in denylist.
If you want to use lsposed, continue with below steps after skipping step 10.
_____________________________________________________________________________​
11. Install lsposed module 1.8.6 zygisk version
12. Install hide my appslist. Follow instructions in this link to learn how to correctly configure and hide magisk manager, lsposed and any other root apps you have.
You will need dataisolation enable magisk module if using android 10 and below for hidemyapplist to fully work.
13. Install Ruru and 'Play Integirty API Checker'.
Run Ruru and watch it pass all tests.(almost no banking app uses the level of detection used by ruru) Use play integrity api checker to check safetynet status - should pass basic integrity and cts profile.
Momo shows some messages like abnormal environement and TEE but that is ok.
Remember that you should enable denylist and Hide my applist for Ruru/Momo similar to how you enable for banking apps to hide.
Your root access is perfectly hidden now.
_____________________________________________________________________________
If you want to hide Developer Options​_____________________________________________________________________________
You have a few options for this.
1. I personally turn usb debugging off in settings and use WADB app to enable wireless adb. I am using this on android 11 as other options dont fully hide or trigger xposed hook detection(which does not cause issues with the banking apps I have tested so far)This is not detected by any apps.
2. If on android 10 or lower, you can use hide user debug magisk module by huskydg which you can get from this telegram channel. I dont know if it can be linked here .
This effectively hides user debug without trigerring any root/xposed detection. Ruru may show 1 entry for usb debugging enabled but that is fine. If it doesnt work, it will show 2-3 detected entries for debugging mode.
I have uploaded the file here but dont know if it will last
3. If above options dont work,use devoptshide app, enable it in lsposed for apps you want to hide user debug from.This method will trigger xposed hook detection in Ruru but none of the banking apps i tested so far have an issue with that. Ruru may show 1 entry for usb debugging enabled but that is fine. If it doesnt work, it will show 2-3 detected entries for debugging mode.
4. I have not personally tested this but this module is an updated version of hide userdebug module by huskydg and it might help hide usb debugging on android 11 and up.You will have to try it yourself for now.I expect it to work.
GitHub - Magisk-Modules-Alt-Repo/ezme-nodebug: Change some props and "remove" LineageOS ones.
Change some props and "remove" LineageOS ones. Contribute to Magisk-Modules-Alt-Repo/ezme-nodebug development by creating an account on GitHub.
github.com
_____________________________________________________________________________
If an app detects root accidentally and refuses to run on your device again even if root is not detected again/ Spoof device ID for apps​_____________________________________________________________________________
1. Now you need to use android faker lsposed module to randomize imei, max adress, android device id,hardware id.
Enable android faker in lsposed only for the app you want to change id for. Dont enable it for android system or android framework(Goal is to change id for a single app).Before doing these steps you need to clear data of play store, play services and google services framework, remove your google account from device settings and reboot. This will reset your gsf id.
This will give xposed hook detection in butbank apps dont seem to look for it.
2. If the above method does not work, use Xprivacylua. Enable for the app you want to change id, only use setting for device identifiers,use tracking, telephony data, analytics, get applications. Xprivacylua is not properly hidden even by Hide My Applist but apps dont look for it.So use this if above options does not work.
_____________________________________________________________________________
If you need to disable Widevine L1 DRM protection to use scrcpy screen mirroring etc
_____________________________________________________________________________​
Install the liboemcryptodisabler module in magisk.Do note that widevine will drop to L3 but uninstallation brings it back to L1.
NOTE: Drm content cannot be mirrored on scrcpy if you are using android 12 or 13. Use roms with android version upto 11 if you need to watch drm protected content through scrcpy.(at your own risk. I do not advise illegal activity.)
Spoiler: liboemcryptodisabler
Magisk Modules Repository By Androidacy - Androidacy
This is the Androidacy Magisk Modules Repository, where you can search, browse, and download your favorite Magisk modules right now.
www.androidacy.com
Enjoy your properly hidden rooted device with all functionalities.
___________________________________________________________________________________________________________________________________
___________________________________________________________________________________________________________________________________
I have added a few useful posts by other members if you dont know how to do any of the above mentioned steps. Any others steps can be learned with guides from XDA -Use search
1. Simple guide to flashing on K20 Pro
His advice on not using orangefox for custom roms other than stock miui/ xiaomi.eu roms may be right, I have not tried it. Orangefox personally works best for me.
2. Guide to flashing custom roms, changing between miui and custom roms
3. Bootloader unlock, twrp, root instructions and rom links
4. Common issues with Redmi K20 Pro | fingerprint unlock | ghost touch | Dim display | sensor issues | bluetooth and calling
Confirmed working in May 2023.
Guide will be eventually updated with Magisk Delta which is better for root hiding
I am amazed how smoothly my update went from old magisk version that started having issues. I followed first part of this tutorial (without lsposed), I downloaded newest versions of everything (magisk 26.1 - had to directly install magisk in magisk too, Shamiko-v0.7.1-166-release, rest same as in tutorial) and it just worked. No more problems with old magisk. Deny list is working flawlessly!, safetynet is passing, Google Play Store says that device is certified. Thank you so much for this tutorial!
czacha994 said:
I am amazed how smoothly my update went from old magisk version that started having issues. I followed first part of this tutorial (without lsposed), I downloaded newest versions of everything (magisk 26.1 - had to directly install magisk in magisk too, Shamiko-v0.7.1-166-release, rest same as in tutorial) and it just worked. No more problems with old magisk. Deny list is working flawlessly!, safetynet is passing, Google Play Store says that device is certified. Thank you so much for this tutorial!
Click to expand...
Click to collapse
As of right now, magisk 25.2 works much better than magisk 26.1. You can continue to use it if you dont face any issues.
I believe I followed all the steps correctly including downgrading to magisk 25.2, the only step that I might not have followed correctly would be using hidemyapplist, but I'm getting CTS profile mismatch in microG safetynet attestation test. I have an LE2115 with lineageos 20 (specifically lineage-20.0-20230514-nightly-lemonade-signed.zip). I do get the "orange state" warning when I turn on my phone, I could make that go away by flashing an older version something (I forgot what but I've done it before) in TWRP but I wanted to avoid that since the only APPARENT effect is the orange state warning and I don't know if it will break later in LOS as they keep updating. I'd appreciate any help you could give me to fix this.
EDIT: just used magiskhidepropsconf and edit fingerprint and set it to htc exodus and now I pass all tests.

Categories

Resources