yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Sami Devo:
my phone got bootloop ! after flashing it ! keeps restart again and again!!!!

all data lost!...

i flashed it from sharp recovery to slot B then after tried to boot from slot A phone keeps restarting !
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] garylawwd:
Why did you swap slots? No data is lost if you just swap slots in fastboot
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Sami Devo:
I just follow tutorial what is written. That slot b for twrp .. i flashed it by changing slot then got bootloop when i try to boot slot a.. there was also error by orange . System/sh something error when in start..

---------- Post added at 09:00 PM ---------- Previous post was at 08:58 PM ----------

U mean i should have swap slot in fastboot rather than TWRP? What will happen then? Same result. On Android 10
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] RthurPendragon:
No mirrors found for img download
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] shadowstep:
THREAD LOCKED

Requested by OP.

Regards,

shadowstep

Forum Moderator
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] LeddaZ:
OP please PM me once you have files and source ready to post.

XDA:DevDB Information

Bootleggers 4.3 for Redmi Note 8/8T, ROM for the Redmi Note 8

Contributors

LeddaZ

ROM OS Version: 9.x Pie

ROM Kernel: Linux 4.x

Based On: AOSP

Version Information

Status: Stable

Current Stable Version: 4.3

Stable Release Date: 2020-03-22

Created 2020-03-21

Last Updated 2020-03-21
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] qamu74:
What work?

THX the your B.leggers rom's
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] LeddaZ:
Everything works
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] mhuyhua:
hi there

If everything works...then I will try...thanks a lot:good:
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] peter-k:
I thought this is better than the other PIE you are maintaining. Will you keep this updated for a while at least? So far I like PIE better than 10.
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] DailyRoutine:
Can you please upload the rom file other than MEGA? Gdrive, zippy, etc.
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] 「ShidZero」:
Download link doesn't work

Hello, Sir. The download link isn't work for me, I want to flash and try this ROM :(
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] danger2u:
https://androidfilehost.com/?fid=4349826312261790374

---------- Post added at 02:36 AM ---------- Previous post was at 02:35 AM ----------

i put the link for the Android 10 rom

flash Gapps too
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] gunmoule:
Process is kind of painful, but it works. Thanks for this workaround.
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] derrekgamer:
Yep.. Need a loot of patience for the Best results(!)

Thanks for feedback! If you got any issue leave a comment about your problem i will try to help you :highfive:
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] Diocerejo:
Dont work

Hi, i made all de steps and now my audio dont work anything.
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] derrekgamer:
Hello there! The mod it's working well. I tested it many times before share.

Maybe you missed some steps or edited wrong patches ?

Back up your mixer paths to original and you will get again audio working.

*What android version are you using?

* For that phone (MI 8 LİTE) Speaker audio will only be full removed Just in case you delete the MIXER_PATHS.XML, Definitely (!)

(!) Did you set the permissions to 0644 after editing?

By editing these patches you will never lose the audio. It will be more loud. So be sure you have fallowed all my steps and you set the right permissions.

(!) Make sure you are using Android 9 or 10 and at least

MIUI 11+ (!)

This mod is only for stock rom.

If you got the android 10 update you should try the next mod :

https://xdaforums.com/mi-8-Lite/themes/sound-mod-dolby-viper4android-stable-t4073987

Very usefull / stable.
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] ilPLAymo:
hi, i'm having a volume problem during the call but on different phone, i have a mi 9 cepheus where i run the xiaomi.eu rom stable release 12.0.6

do you know if i can follow your guide also on my scenario?

thanks
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] _xenoxis_:
Hello, thanks for this mod, I successfully made it to my redmi note 9 pro, thought it needed some adjustments from your tuto to made this works on my phone.

For ones that are interested, that's is my new mixer_paths_wcd937x.xml (this is weird cause the DAC on my device is the WCD9385, Xiaomi probably used the same file for multiples devices and left it as it), I've already tried to change my mixer_paths.xml file but it seems that my device only use the other one, anyway there are my modifications :

<path name="headphones">
<ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" />
<ctl name="RX_MACRO RX1 MUX" value="AIF1_PB" />
<ctl name="RX_CDC_DMA_RX_0 Channels" value="Two" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT1_1 MIX1 INP0" value="RX1" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX_COMP1 Switch" value="0" />
<ctl name="RX_COMP2 Switch" value="0" />
<ctl name="HPHL_COMP Switch" value="0" />
<ctl name="HPHR_COMP Switch" value="0" />
<ctl name="HPHL_RDAC Switch" value="1" />
<ctl name="HPHR_RDAC Switch" value="1" />
</path>

<!-- 2019.12.17 longcheer chenqiang add for ce mode start-->
<path name="headphones-ce">
<path name="headphones" />
<ctl name="RX_RX0 Digital Volume" value="100" />
<ctl name="RX_RX1 Digital Volume" value="100" />
</path>

<path name="headphones-no-ce">
<path name="headphones" />
<ctl name="RX_RX0 Digital Volume" value="100" />
<ctl name="RX_RX1 Digital Volume" value="100" />
</path>
<!-- 2019.12.17 longcheer chenqiang add for ce mode end-->

I've set the same values to "headphones-ce" and "headphones-no-ce" but I don't know what are ce headphones, if anyone could tell me I'll appreciate for my knowledge, thanks.

This is perfect along with my mod to enhance the DAC quality (I've set my DAC output at 24bits @ 192KHz on my device, it sound perfect), thanks you !
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] derrekgamer:
Hey. As far as I know The headphones volume can be increased only from mixer_paths_static.

I have tryed all the others mixer's but no one work. I used the other mixer's to increase the speaker volume +10db max supported by this phone..

That mod for dac quality it's working on MI 8 lite?
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] _xenoxis_:
On my side, I successfully increased the headphones and line volume with mixer_paths_wcd937x.xml on my device, it really depend on which version of Android you have. In fact, there's a lot of xml configuration files but Android read only one, others are just either some sort of saved xml configuration, or some undeleted files when from older Android versions or rom.

About the Mod for the DAC, it depend on which Android version you're running and the DAC inside your device (it must accept 24bits @ 192KHz), it should works on Android 10+ devices from recents Xiaomi/Redmi, but it's still possible there is some device where the mod doesn't work for some reasons.

Please post question on the DAC mod thread, so I will anwser your questions and it can be useful for everybody interested in doing this mod.
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] derrekgamer:
I was using android 9 10 and 11. In all of these versions I needed to edit the mixer_paths_static.xml file. Any other xml file does not take effect for me.... 😁
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] armin0k:
hi and please help me im on android 11

miui12.5 my phone is poco x3 nfc

and i havent a file mixer patch static

and when i edit mixe patch wcd937

and restart the file back to default ☹️

please help me i need this a lot
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] Rutercito:
Hey I don't have the fold Mixer Paths Statics, I have android 12

I don't have the Mixer Paths Static folder, I only have Mixer Paths AND Soun Trigger Mixer Paths I have Android 12, where would I have to make the modification so that I can increase the volume of the headphones
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] Rutercito:
were you able to solve it? The same thing happens to me with Android 12
[Xiaomi Mi 8 Lite Themes, Apps, and Mods] hyborian:
Editing the mixer xml file doesn't work for me to adjust headphone/earphone gain for example.

Anyway, since I use a custom ROM with a custom kernel, and am rooted, I just used the Smartpack app (free) or FK Manager (not free) to edit the kernel's volume settings. All good, no distortion even at high db.

The file it edits, in my phone at least are :

echo '9 9' > /sys/kernel/sound_control/headphone_gain

This means +9db. You can try +3, +6, etc.

The file that will be edited may be different on your phones.
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] sielhadi:
Ho I've galaxy s20 ultra I've tried a lot of things to get call recorder but nothing of them are good. Do you have any solution
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] theitay:
You don't need to download any app, there is an integrated call recorder that you can configure on "phone" app
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] sielhadi:
No there isn't i check it out perhaps my csc country is set in Spain I've tried to change it to India but it doesn't work my csc still in Spain even after flashing my device
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] taboush98:
i think it comes with indian firmware so i cant have it
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] hugoglezp:
After last update G981BXXU1ATCH with cube acr app from playstore works just fine call recording
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] hugoglezp:
What is your firmware, do you have model G981B 5G or G980F 4G?
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] sielhadi:
I've tried to change my csc without results. I think Samsung doesn't let you change your csc
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] xinevef:
G981BXXU1ATCH with cube

Really its depends to G981BXXU1ATCH lastest firmware??
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] hugoglezp:
Yes
[Magisk] Atrate:
https://gitlab.com/Atrate/magisk-drm-disabler

READ THIS FIRST

Some (quite a few) users have reported various breakages due to this module. It is not really possible to fix them, since it seems that DRM might be integrated to tightly into some ROMs. You have been warned.

Description

A Magisk module designed to disable DRM (Digital Restrictions Management) completely on Android devices using Magisk, for reasons of security or ethics (see: Opposing Digital Rights Mismanagement and Examples of proprietary DRM).

Installation

Install through Magisk Manager

OR

Download the module from the releases

Flash the module through Magisk Manager or TWRP/OrangeFox

Grab the newest release on GitLab or GitHub

THIS IS NOT A MODULE THAT WILL HELP YOU BYPASS DRM PROTECTION

Quite the contrary, it will make you unable to watch any DRM-restricted content.

This is an alpha release

I am not responsible for any damage done to your device by this module, so flash at your of discretion

LOOKING FOR TESTERS!

If you're interested in helping the project by being a tester, please refer to CONTRIBUTING.md

Credits

topjohnwu for magisk

Changelog

License

This project is licensed under the GPL-3.0-or-later.
[Magisk] problemathic:
sad to say but after flashing your module on my device my volumes are not working. even set low its still got sounds or music! Removed module on magisk manager then issue is gone! ?
[Magisk] Atrate:
All device sounds or just music in some apps?
[Magisk] problemathic:
all devices sounds! i set it to mute but still got a sounds! removing the modules fixed it. hopes you get a fix
[Magisk] Atrate:
Wonder what this could be caused by. Let's see if anyone else has a similar issue. What device and ROM do you use?
[Magisk] problemathic:
i have redmi note 5 pro (whyred) china variant. any rom i used same issue.
[Magisk] RLKirk:
Odd request. Anyway you can make a module that actually adds all this stuff to a device that doesn't currently have it?
[Magisk] Atrate:
Unfortunately no, it would have to be device-specific, better to ask a custom ROM maintainer for that device
[Magisk] RLKirk:
It's a joying headunit for a car and sadly has no custom ROMs. I would attempt it myself but have no clue where to start on making a ROM for a device with no source code lol. But thanks for the reply.
[Magisk] Darkcast:
Two things, what the scope of this module what is it supposed to allow you to do?

Also why not a backup or the original files of one have to go back to the original files
[Magisk] Atrate:
It's a simple module that removes DRM components (services and libraries) from your device for reasons of ethics or security. See the OP for links about that.
[Magisk] Maciejbbb:
Works great!
[Magisk] problemathic:
and now on latest update im having no sounds at all! im on redmi note 5 pro codename: whyred
[Magisk] Atrate:
Seems to be a device-specific issue, got a logcat woth any errors?
[Magisk] problemathic:
let me try matlog. ill post it here as soon as i get the logs

edit: latest release fixed the issue. what did you do? got the volume properly working now. high, low and mute! thank you
[Magisk] Atrate:
Great to know it's working for you!

I have released v0.2.0 today, let's hope it didn't break it again.
[Magisk] hovnonium:
Alarms without sound, aslo no IU sounds - no that I miss them, but alarms would be nice to have. Since first release to the latest version v0.2.0.

Xiaomi mi 9t, xiaomi eu 11.0.4.

View attachment 5007359
[Magisk] Atrate:
Can't reproduce and the logcat doesn't seem to show anything useful. Try rebooting, I've heard from someone that their sound was broken on first reboot but fixed itself on second. (Don't ask me why it works ¯\_(ツ)_/¯ )
[Magisk] darfri:
Oneplus 6t havoc 3.4 here without gapps.

This module detached all controls over screen brightness so I dumped ot for now.

The idea ia nice though
[Magisk] Atrate:
Hmm, wonder what causes it. Must be an OP-specific issue, since I have tested the module on a gappless G6 with Havoc 3.4 and didn't experience that issue. Also, have you tried rebooting twice?
[Magisk] darfri:
Yea I rebooted many times. You have well declared the list of modified files in magisk repo and I really do not understand which does it..

Any suggestions to manually try?

I actually would be ok with this approach of just blocking functions in drm as my device is gappsless, hosts-blacllisted etc so many Google functions wont work also like that. If there is no vaccine then isolate :)
[Magisk] andrea0807:
With this module, can I watch Netflix and first HD videos on my beelink GT King TV box? The Gt king is not a certified device.

The DRM certification level of the Gt king is L3

EDIT: unusable module, I tried it on my Xiaomi mi 8 with xiaomi.eu weekly rom.

It is not possible to play any sound. Furthermore, the mobile phone freezes when I try to play a sound both from a video and from the ringtone

Inviato dal mio MI 8 utilizzando Tapatalk
[Magisk] Atrate:
You could try removing mediadrmserver.rc and drmserver.rc from the module files, if that doesn't help you can try removing mediadrmserver and drmserver binaries

If darfi succeeds, I might make a "magisk-drm-remover-lite" for devices that have DRM integrated so tightly into the media stack
[Magisk] darfri:
My modded zip failed. Could you pass me one without rc files?
[Magisk] Atrate:
You can simply install mdd, go into /sbin/.magisk/modules and delete the .rc files inside the module's file.

Can also generate a zip for you if that fails
[Magisk] darfri:
Nope, that still had my screen locked to high brightness and no control over it all. This would be nice on one of those bright summerdays though.

Deleted the files indicated on the screenshot
[Magisk] Atrate:
Try also removing all files from $MODDIR/system/bin/

(That means mediadrmserver and drmserver)
[Magisk] darfri:
That did not free brightness unfortunately. Deleted also rc again (4 files together)

Uninstalled again

Looking forward
[Magisk] Atrate:
I think I know what the culprit might be. $MODDIR/system/lib/libdrmframework_jni.so might be causimg the problem. Without looking into the libs' source code I can't say for sure, but the "drm" in the name might be referring to Direct Rendering Manager(s) instead of the DRM that mdd is supposed to remove (Digital Restrictions/Rights Management)

Please try removing that lib and reporting back

EDIT:

Nevermind, those libraries haven't been included in 0.2
[Magisk] sak0071:
What the Modul ??????
[Magisk] darfri:
Theres some more maybe

0.2 still has brightness lock. Also there might be drm files preserving because their name does not contain the letters drm
[Magisk] Atrate:
Yeah, that is almost certain, that's why it's hard to make a 100% DRM removing module. Widevine files are one of these files without drm in the name
[Magisk] fxsheep:
Messing with DRM removal from the userspace seems to be a dead end, as the dependencies and implemention varies among OEMs.For example on MIUI devices I tested , this module causes camera to ANR or broken completely, also breaks ConnectBot which is a SSH/Terminal app and has nothing actually to do with DRM.

Actually , just purge widevine.* from /firmware will achieve our goal, as they're the only part that runs in trustzone which we don't have control to.

This is quite safe at least on qualcomm Android devices, as they are loaded by the userspace together with kernel drivers(not by firmware/bootloader itself), which means the firmware integrity isn't broken even if they got removed. These blobs aren't much customized by OEMs as they usually DON'T EVEN HAVE THE SOURCE. So there is much less possibility to get wrong than userspace stuffs.(I can't guarantee anything though)
[Magisk] Atrate:
It would be nice if Magisk allowed for the removal of firmware blobs, I wouldn't advise users to do it non-systemlessly
[Magisk] traversone:
Hi Atrate, hi all.

on My Samsung S8 Stock PIE, Netflix does not start at all (error 50x-1006) while Prime Video working fine in 4K-Ultra HD
[Magisk] Atrate:
It is to be expected for streaming service apps that utilize Android's built in DRM libs not to start.
[Magisk] Atrate:
Version 1.0.0 of the module has officially been released!

It includes a LIGHT mode which will most probably fix most people's problems (at least problems connected with the module)

Changelog:

Added module modes — use FULL for a thorough removal, use LIGHT when FULL causes issues

Added another permissions file

Added some more libs

https://gitlab.com/Atrate/magisk-drm-disabler/-/releases
[Magisk] hovnonium:
Light version works fine.
[Magisk] darfri:
Both full and light lock screen brightness to the maximum on my OnePlus 6t Havoc os (any version likely). Still
[Magisk] Atrate:
Try removing /data/adb/modules/magisk-drm-disabler/system/vendor/bin/hw/vendor.oneplus.hardware.drmkey@1.0-service and rebooting
[Magisk] darfri:
Tried removing it both in full and light... Still no luck :(
[Magisk] Atrate:
I truly do wonder how the hell OP managed to integrate backlight with effin DRM so tightly :/
[Magisk] Atrate:
Version 1.1.0 has been released

Changelog

Handle removal of DRM-related files from /data properly
[Magisk] daniel_m:
I appreciate your effort, [MENTION=7317381]Atrate[/MENTION].

The light version of your module works well on an f(x)tec Pro1.

However, the full version makes the phone/Android lag like crazy. Just switching apps takes 2 seconds instead of happening instantly. This is not a bug report or complaint, I just wanted to warn people that your module can have these side effects. It took a while for me to find out, because I expected the module to either work flawlessly or break something completely. The intermittent" effect I observed was unexpected :)
[Magisk] Atrate:
At least I know the light mode comes in handy. It's probably Android complaining about a missing service, spamming the logcat and dedicating way too may resources to trying to restart that service.
[Magisk] Snarblox:
I added your module on my phone ( Moto G Power ) and it won't get past the booting sequence. How can I remove the module in order to get my phone back to before?
[Magisk] Atrate:
https://xdaforums.com/apps/magisk/module-tool-magisk-manager-recovery-mode-t3693165
[Magisk] kusakhan:
phone getting rebooting while from last hour ... how to uninstall.... ?
[Magisk] Atrate:
See literally 1 message above
[Magisk] vikasb32:
Can I play Netflix HD and prime video HD in unlocked bootloader with widevine l3?

My phone is oneplus 6 with stock rom
[Magisk] Atrate:
If anything, the module will make it harder for you to play DRMed video.
[Magisk] Mohammad_pd:
Enjoying your module on Lineage 16

Thank You!
[Magisk] Double__D:
@Atrate Can just go into twrp and delete the module drm remover folder using the file manager? It won't boot properly now.
[Magisk] Atrate:
Yes, that should work
[Magisk] JDToo:
I do not have TWRP recovery and can't get it for my phone. Is there any other way to disable this module or all Magisk modules? The standard recovery doesn't have a terminal emulator, and I can't get ADB to connect in anything but sideload mode from recovery. The phone appears to boot correctly, but the screen is simply blank. I can't connect using ADB because I can't confirm the fingerprint, and I had not set that permanently back before I installed your Magisk module.

So I can't use adb shell to put Magisk in core mode. I can't boot the phone in "safe" mode since I have a blank screen.

Clearing the cache partition from recovery did nothing to fix this problem, and neither did a flash using home_csc.

Anyone have any ideas other than reflash and wipe the phone and start all over?
[Magisk] JDToo:
Since I solved the problem myself, I will share the solution. I booted the phone into "safe mode" by simultaneously pressing the up and down volume keys after powering on the device. The phone vibrated, and I then released the keys and it booted without Magisk running. I then ran Magisk and disabled all of the modules. I rebooted normally, and the problem was solved.

By the way the module causing my problem turned out to be the Miracast module not this DRM Disabler one. Apparently Samsung phones' native SmartView conflicts with the Miracast module.
[Magisk] traversone:
Hi all,

I am trying to use this module in WSA, with Magisk of course.

How can I overcome the lack of volume buttons during the installation?

Thank you
[Magisk] Atrate:
You'll need to:

1. Unzip the module

2. Modify customize.sh (delete everything up to Line 53 and replace "$FUNC" with true or false depending on the mode you want to choose

3. Zip the module again
[Magisk] traversone:
you are very kind to me, will definitely try that
[Magisk] BigScriptus:
Is there anyway to remove this I didn't read it properly and now I can't play Disney. I deleted the module but I still can't watch. Is there any way to readd the DRM files.
[Magisk] Atrate:
The module doesn't remove anything permanently. If you removed the module and rebooted, your phone will be at the same state it was before adding the module. You may need to wipe the Disney+ application's data.
[Magisk] Sait0x00032:
SOS

HELP

IT'S URGENT

I installed (heavy or full idk) this module on my sibling's Google Pixel 3 (rooted with magisk) running Android 12 just to have some fun. Now they can't play Netflix or any other subscription-based educational/online learning apps. They are really pissed at me and want me to fix this. I disabled the module and uninstalled it from the phone but the issue still persists. Is there any way to restore the DRM files replaced by this module?

I have downloaded the original stock firmware from google's website. Is it possible to fix the phone with data preserved by flashing just a component like boot.img etc. even though the drm files appear to be stored in /system/ directory?
[Magisk] Atrate:
After removing the module, all the files should be back to normal but it seems that even a temporary lack of them tripped some DRM protection from Google/Netflix/whatever. You may need to do a clean format.