yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 Questions & Answers] Padlite:
Sorry for double-posting, but I wanted to notify you I GOT IT!

Over here, user [MENTION=4936669]richardyusan[/MENTION] helped me out with an extra step.

What I did:

Installed Magisk V16.7

Installed DM-VERITY AND FORCED ENCRYPTION DISABLER.

Performed fastboot format userdata

Rebooted

And I got my phone booting with Magisk Installed!

Even though I couldn't install any module, (every install claimed I needed Magisk v15+). I read some threads and with a Magisk Direct re-install (from its app) I got Magisk downgraded to v16 and everything worked perfectly!

Here are some screenshots!
[Xiaomi Mi 8 Questions & Answers] japancakes:
Is Google Assistant ("OK Google") working for you now as well?
[Xiaomi Mi 8 Questions & Answers] Jeik:
I just flashed magisk v16.0 over the Miui 8.7.26 build and it booted without issues.
[Xiaomi Mi 8 Questions & Answers] Padlite:
I just checked and no. If I go to Google Settings -> Voice, Voice Match is disabled because "This feature is currently unavailable for this language". Even though it's set to English UK. Maybe there is some Magisk Module to enable it?
[Xiaomi Mi 8 Questions & Answers] taphius:
Thanks, followed these steps and it got magisk going on the recent global release. Only difference was i had to use fastboot erase userdata.
[Xiaomi Mi 8 Questions & Answers] Eclipse1991:
Hey guys im a toal newbie to this whole flash theme but Ive purchased a mi8 and i would like to use GooglePay and so on, could someone give me a step by step tutorial , how to install all this stuff on my device ?
[Xiaomi Mi 8 Questions & Answers] -fluffy-:
well i didt not flash dm-verity an mine pass saftynet
[Xiaomi Mi 8 Questions & Answers] edi1907:
Thank you so much, I was near to break phone :)

I have a question. When I want to make a ota update I have to do same steps again? Because these steps delete all data
[Xiaomi Mi 8 Questions & Answers] raphaelmo:
How did you Installed DM-VERITY AND FORCED ENCRYPTION DISABLER?

Because after flash the patched boot, I remain in the fastboot and do not know what to do from here, since I can´t reboot the phone to use adb sideload...
[Xiaomi Mi 8 Questions & Answers] ShafiX94:
Ok i follow ur tips and its work out but now when my device booting its said unlocked but when i go to developer option its said locked...so how to solved this?
[Xiaomi Mi 8 Questions & Answers] edi1907:
Can anybody explain please that how will we make update? We have to make unroot and after root again?
[Xiaomi Mi 8 Questions & Answers] Padlite:
I used this thread: https://c.mi.com/thread-511282-1-0.html

Be careful, do **not** let MIUI auto-updater apply the update by itself.

You'll need to install lazy flasher before rebooting your system again.
[Xiaomi Mi 8 Questions & Answers] Padlite:
Read this article: https://c.mi.com/thread-511282-1-0.html

Be careful, do **not** let MIUI auto-updater apply the update by itself.

You'll need to install lazy flasher before rebooting your system again.
[Xiaomi Mi 8 Questions & Answers] elvis61:
Hi,

How did you install magisk. With flashed twrp or booted twrp. And have you now twrp+magisk+globalrom running on your mi8 ?

If i boot twrp my userdata isnt encyripted. Do I need to install dm-verity...?

Thanks
[Xiaomi Mi 8 Questions & Answers] Ricky90:
Thanks, after hours of trying ,i finally can install Magisk again after updating to MIUI 10.
[Xiaomi Mi 8 Questions & Answers] jeejeejango:
I tried this method and it didn't work when I upgrade from 9.5.13.0 to 9.6.4.0. I tried various combos, but each time I need to reflash and wipe again. How did you install the update? Did you install DM-VERITY AND FORCED ENCRYPTION DISABLER again or just OTA > Magisk > LazyFlasher?

Thanks.
[Xiaomi Mi 8 Questions & Answers] womanizerzz:
how can you install on miui 10 ? thanks
[Xiaomi Mi 8 Questions & Answers] Ricky90:
i flashed MIUI 10 CN version using fastboot,and then boot into TWRP, flash magisk and DM Verity using adb sideload ,because my TWRP always restart by it self and can't boot into system,so i have to use the asb sideload command,and then- fastboot format userdata.
[Xiaomi Mi 8 Questions & Answers] galakty:
I have the same question. How do You update in future?

Update > Magisk > DM again or not? > Lazy flasher > Reboot?
[Xiaomi Mi 8 Questions & Answers] darkchronicle:
That's mean need to format data only works?
[Xiaomi Mi 8 Questions & Answers] j0nl1:
Is Netflix and gpay working with magisk?
[Xiaomi Mi 8 Questions & Answers] Malle355:
Anyone got success with Magisk v17.1? Thanks guys.
[Xiaomi Mi 8 Questions & Answers] Arixxblackxda:
Waiting for the latest developments, because I use 10 global stable and try all the v

Waiting for the latest developments, because I use 10 global stable and try all the versions of magisk that I recommend until the latest version of the 17.2 magisk I use remains bootloop. Sad. Waiting for the angel to share ways.
[Xiaomi Mi 8 Questions & Answers] jeejeejango:
Are you saying that magisk 17.2 cause bootloop? I am using 17.1 and dm-verity and force encyption disabler and it's working fine.
[Xiaomi Mi 8 Questions & Answers] Arixxblackxda:
Bootloop

Is this real? Do you use which version of the Mi 8 roms? I use version 10.0.20 global stable. I tried Magisk from veri 16.4, 16.7, 17.1 17.2 and the boot still remains bootloop. Can you help with part download link info? I am very grateful for your help
[Xiaomi Mi 8 Questions & Answers] ArmedandDangerous:
If you only need root and don't mind not having TWRP, there is a different way. Install Magisk Manager, go to options, create custom boot.img, flash that in fastboot, you are now rooted, but no TWRP :) TWRP buggy for Mi 8 now.
[Xiaomi Mi 8 Questions & Answers] Arixxblackxda:
I did not find a way to create custom img, I am very grateful if this can go through the boot process
[Xiaomi Mi 8 Questions & Answers] ArmedandDangerous:
Install Magisk Manager, Settings, "Patched Boot Output Format". Select .img, transfer that file to your ADB folder on PC and flash it in fastboot :)
[Xiaomi Mi 8 Questions & Answers] jok126:
Xiaomi

Damm Xiaomi
[Xiaomi Mi 8 Questions & Answers] Agimax:
This method only works if you haven't encrypted your DATA partition (SYSTEM encryption is still present and active). The newer TWRP build 0918 DOES decrypt the new PIE 9.0 Data partition properly for the ROMS, however -you still need to flash EAZYFLASHER (or a variety of other ZIPs) to remove DM Verity/Forced/Optional Encryption and format your DATA partition to remove it (the option with the part where you have to type 'YES' to authorize format in TWRP), then you can flash a patched boot image, or just flash the Magisk Zip that does it for you without problems. I even removed DATA encryption, then used the system to re-encrypt the DATA partition on it's own and it fails just before it finishes and corrupts the DATA. I have tried many ways to get ROOT

and keep

DATA encryption without success. Without encrypting DATA, your phone can be viewed from anyone. Again we are talking DATA partition, not the SYSTEM partition which makes your phone say it's encrypted in the about settings. If you try to keep DATA encryption and use Magisk Root, your phone will endlessly reboot into TWRP or factory Recovery.
[Xiaomi Mi 8 Questions & Answers] ArmedandDangerous:
Regarding DATA encryption, I'm surprised the default ROM doesn't come with it encrypted already like my previous phones (HTC 10 had data encryption on by default, and you had to decrypt it with a code before ROM could even boot). Is there a way to enforce DATA encryption?
[Xiaomi Mi 8 Questions & Answers] Agimax:
DATA encryption is done on the first boot of the ROM. If you flashed a zip to remove DM Verity/Enc and formatted your DATA (Where you have to type YES) in TWRP -therefore removing Encryption, you would have to re-flash the STOCK ROM, and choose to factory reset. It will re-encrypt the DATA. Easy way to tell if you are encrypted, boot into TWRP (fastboot boot twrpfile.img) and see if it asks for a DATA decryption password. If not - NO DATA Encryption.

So Far i haven't seen a method to keep SYSTEM & DATA partition encrypted while having any type of root on Stock China or Global ROM.
[Xiaomi Mi 8 Questions & Answers] ArmedandDangerous:
TWRP does ask me for a password every boot, and no matter what I did, it will always boot loop into TWRP and never the ROM. Only when I flash the stock boot or patched boot will the ROM actually run. Now I have root without wiping data, but no TWRP. My method a few posts above achieves this. I don't want to wipe data, so this is the only way for me to achieve root while having DATA encrypted but not TWRP.
[Xiaomi Mi 8 Questions & Answers] Agimax:
Are you on 9.0 PIE? (currently running Global 8.11.8 weekly beta) Flashing the Stock of course would boot with encryption, however i just tried all varieties again with patched_boot.img -and always bootloops to recovery keeping encryption. The method of encryption used on 8.1 is different than 9.0 method.
[Xiaomi Mi 8 Questions & Answers] ArmedandDangerous:
I'm on global stock, it's still 8.1 The only way I could achieve root without wiping is to completely ignore TWRP and only use patched_boot.img I gotta do it for every update. When the OTA downloads the update, I extract the boot.img from the zip and make a new patched_boot. Flash stock boot so OTA installs properly, install OTA, then flash the new patched_boot.img, all without TWRP.
[Xiaomi Mi 8 Questions & Answers] Agimax:
Ok, that is why, 8.1 is a different encryption base, didn't know you stayed with 8.1. 9.0 uses a whole different encryption method.
[Xiaomi Mi 8 Questions & Answers] ArmedandDangerous:
I've got an unrelated question for you since you're on 9.0 (I'm assuming MIUI beta?). A random guy on the MIUI forums said that HDR decoding was fixed in the 9.0 ROM, could you confirm that? Either on Yotube HDR or free samples from https://4kmedia.org/ Everything about the Mi 8 is HDR capable, but it won't even play local files HDR. Everything is just washed out.
[Xiaomi Mi 8 Questions & Answers] brknneks:
TR100 Hell.....

I'm also stuck in the boot loop after trying to install Magisk via Magisk manager. I have an Xrons TR100 and for the life of me can't figure out how to boot this unit into recovery mode. This unit does not have physical buttons. I spoke with a rep via FaceBook PM's and he said that I'd have to do a key wire to ground in order to boot into recovery. He also mentioned that if I had my SWC connected I could just press any button along with the reset..... (NOPE!) didn't work. I've gotten as far as it'll say Start Upgrade for a sec and then back to boot loop. I just want to get my head unit back up and running. Any ideas I would greatly appreciate it. Also do I have to do this method via SD slot or can I use a USB stick?
[Xiaomi Mi 8 Questions & Answers] sm1232:
Yes ,this works,but have you succeeded flash stock boot without problem

I follow this methode and It works,I use this rom miui_MI8Global_V10.0.3.0.OEAMIFH_7db63650f1_8.1.zip.

But when I flash stock boot.img back ,my phone stuck in fastbootmode.

How do you succeeded without problem ?
[Xiaomi Mi 8 Questions & Answers] ArmedandDangerous:
Every ROM needs a new boot.img When the OTA is downloaded, open a file manager and go to Downloadedrom folder or something like that. Extract the new boot.img of 10.0.3.0 and flash that. I saved mine in case you needed it. This is the unmodified boot.img for 10.0.3.0 Global.

https://drive.google.com/file/d/1Z4eCORk86o0GBV7ws0q-TuoW6RQAy1Ay/view?usp=sharing
[Xiaomi Mi 8 Questions & Answers] sm1232:
I have it and is the unmodified copy of 1.0.0.3.0 that I flashed,but it give me problem.
[Xiaomi Mi 8 Questions & Answers] ArmedandDangerous:
You already flashed your ROM to 10.0.3.0?
[Xiaomi Mi 8 Questions & Answers] sm1232:
Yes , I have flashed a full rom of 10.0.3.0.

miui_MI8Global_V10.0.3.0.OEAMIFH_7db63650f1_8.1.zip
[Xiaomi Mi 8 Questions & Answers] ArmedandDangerous:
Weird. I just made a new patched_boot.img with the 10.0.3.0 boot and it works for me.
[Xiaomi Mi 8 Questions & Answers] sm1232:
stock boot give problem,not patched boot.img by Magisk

patched_boot.img works perfectly ,problem is after flash patched_boot.img,then flash stock unmodified boot.img cause problem,phone stuck in fastboot mode every reboot.
[Xiaomi Mi 8 Questions & Answers] MaxMedia:
I follow this step but the device always boots on MI-Recovery.

Miui global stable 10.0.3.

Magisk manager 6.0.1 (151)
[Xiaomi Mi 8 Questions & Answers] szilvasi.szilard:
I am magisk 16.7 and gpay works

I am just not confident to update to v18… :/

---------- Post added at 01:02 AM ---------- Previous post was at 12:29 AM ----------

Have you updated to v18?

Does it work?
[Xiaomi Mi 8 Questions & Answers] skejpa:
Guys, for those who are still not sure how to do it properly, i followed this tutorial while installing xiaomi.eu developer rom with Magisk 17.1 and it worked flawlesly.

www . the custom droid . com / how-to-root-xiaomi-mi-8-and-install-twrp-recovery / (remove the spaces)

I am still not completely sure about updating the rom. When i update rom i think i should follow this guide again but do i need to format data ?
[Xiaomi Mi 8 Questions & Answers] wboyu:
for those of you who is using a China phone trying to install a global ROM, you may find this useful. thanks to both authors who helped me to magisk successfully!

https://xdaforums.com/mi-8/help/chinese-mi8-to-global-instructions-t3839665
[Xiaomi Mi 8 Questions & Answers] gorski:
Hi maybe someone knows what to do if installation of Magisk ends with bootloop?

i have a global rom 10.2.2 on probably china phone (came already unlocked) my goal is to not remove any data/cinfiguration from the phone but i want to get google pay working for payments.

thanks!
[Xiaomi Mi 8 Questions & Answers] ggkameleon:
Hi ! I have a question for mi 8 global version with global rom. For root it now just flash magisk v18.1 work with Encryption data ?

If I unlock it and flash twrp just flash magisk work now ?

Thank you.
[Xiaomi Mi 8 Questions & Answers] ShortyPG:
Hi I tried to night... Flash TWRP last official build decryption working, flash magisk 18.1 I have bootloop to twrp recovery... Global beta Rom...
[Xiaomi Mi 8 Questions & Answers] ggkameleon:
Hi ! Thanks do you have just wipe or format data before ?
[Xiaomi Mi 8 Questions & Answers] ShortyPG:
Yes before... But wen I finished due setup... I reboot to recovery for install magisk... The phone boot on original recovery...:(
[Xiaomi Mi 8 Questions & Answers] Eclipse1991:
Hey guys im at 9.3.21 xiaomi.eu and I would like to flash the newest magisk and magisk manager, can I just flash Magisk 18.x in twrp and then install the manager.apk on the system ? My device isnt encrypted.

Gesendet von meinem MI 8 mit Tapatalk
[Xiaomi Mi 8 Questions & Answers] saifssj6:
i am on china rom,Mi MAX 3 latest china build miui 10 pie, unlocked bootlaoder, installed niel8 twrp, but cant get to install magisk, can someone please help me?
[Asus ZenFone Max Pro M1  Questions & Answers] Mnr Nfs:
Anyone please help :)
[Asus ZenFone Max Pro M1  Questions & Answers] rian_tama:
Enjoy this thread

https://xdaforums.com/asus-zenfone-max-pro-m1/themes/mod-arcore-using-apk-apps-t3811192
[Asus ZenFone Max Pro M1  Questions & Answers] Mnr Nfs:
Well I tried already from that thread before create this thread.. Failed !! .. Another way please..
[Android Q&A, Help & Troubleshooting] purplesnitch:
The original WhatsApp (the one not on Parallel Space) kept asking me update, but when I tried to update it from the Play Store, it wouldn't let me update for some reason.

So I downloaded and installed the latest version from the WhatsApp website. Now the Parallel Space WhatsApp keeps saying "Failed to open WhatsApp. Please try again later," and I can't open it at all.

Anyone know how to solve this problem? Normally I would just uninstall it but since I haven't been able to back up my chat history on WhatsApp I'm afraid it'll all be gone.
[Samsung Galaxy S8 Guides, News, & Discussion] nascar48:
So I'm just using a galaxy s8 after having had a HTC 10 for a while. I can't get over how terrible the sound is with headphones! It's quieter, lacks the depth the HTC 10 has, and has no bass. Like seriously songs that on the HTC 10 have deep hard drums like they should sound weak on the galaxy s8. And it is so quiet on the galaxy even at max volume I'm not satisfied with the sound volume. I'd say the max on the galaxy is about 2 to 3 clicks down on the HTC 10.

Is this common? Like to me the audio difference with just the same basic apple earpods on both is so huge I can't even imagine what it would be like with quality headphones. It's like the difference between surround sound and tiny built in TV speakers bad.

HTC can't even hardly sell any phones these days... Haha all they have to do is open a booth with their phone and a Samsung phone playing music over headphones and every single person who hears it will be wanting a HTC. .
[Samsung Galaxy S8 Guides, News, & Discussion] user900:
i second that. is there something that can be done about this though?
[Samsung Galaxy S8 Guides, News, & Discussion] TheMadScientist:
I will third this.

The only thing that makes any audio out of this device bareable is viper4android.

If you can root. It is a must you can boost the gains and such to a point of ear splitting noise :good::good::good:
[Samsung Galaxy S8 Guides, News, & Discussion] dziubdziok:
Try download app AMP player there you can boost and set all
[Samsung Galaxy S8 Guides, News, & Discussion] pupochek:
FWIW, on a rooted rom that uses stock audio (with Dolby Atmos ported from S9, but NOT turned on), combined with viper4android and Neutron player (a combination I used on HTC 10 for a while), I don't hear any difference with the same headphones ...
[Samsung Galaxy S8 Guides, News, & Discussion] Fullmetal Jun:
Go to Sound Quality in settings & Adapt Sound while your headphones are connected with wire. Complete the audio test or just click all frequencies of the test. The loudness should be increased.

Boost bass with the equalizer. It sounds pretty decent tbh.

If you're using Bluetooth headphones & you are on Oreo, go to Developer Options in Settings. Then scroll down to Bluetooth Audio Codec & choose aac. Try other codecs if your headset supports them.

If you're using wired headphones & rooted, Viper4Android tweaks make a day & night difference to the music quality.

But the S8 sounds pretty decent once you adjusted all the sound options it has
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
Yes, if you are rooted. I've managed to, with a little effort, tune the sound to the quality level of my audiophile dac/amp with.

V4a is a big help but in my setup it's not the main event, and in fact now all I use it for is to run my DDC and to push up sub bass frequencies. I use the following:

1) sauron. This is the #1 most important and necessary mod to install. For most people's headphone setups, this mod alone is enough. I can't stress enough how much of a game changer this is. The ainur guys are operating on a whole other level with audio mods. It has to be installed and heard to truly understand.

2) JamesDSP. This is kind of a successor to v4a. It's worth noting that the main reason I have this is that it has a higher quality convolver algorithm than v4a does, as v4a has to support older devices that couldn't keep up. Also it's bass boost does much better for tight "punchy" bass.

3) Viper 2.6

The new rewritten v4a is the way to go nowadays. Just install it from xda labs and use the in app driver install. It even works with magisk! I take special care to not use the same fx in v4a as I do jdsp. I pretty much just use DDC and viper bass

4) Dirac

This is my newest addition and it's really brought everything together in a cohesive way that has blown me away. I had some problem areas in the upper end of the spectrum due to my specific IEMs when driving them off my current Bluetooth cable and Dirac fixed all of them. I will have more to say about this one later.

All of these mods utilize the audiomodlib/unity stack, so they all work fine together. They each have a specific purpose and I don't go overboard with dramatic alterations or stacking fx in the same part of the spectrum.
[Samsung Galaxy S8 Guides, News, & Discussion] pupochek:
Yep, forgot to mention that I use(d) Sauron both on HTC10 and S8.

JamesDSP never worked properly for me on HTC, haven't tried it on S8.
[Samsung Galaxy S8 Guides, News, & Discussion] agentfusion:
I have found that going into the "Sound Quality and Effects" section and turning off all the extra crap like tube amp and UHQ Upscaler definitely helps with the volume, then going into the "Adapt Sound" sub menu in a very quiet room and letting it tailor the audio to the frequencies you can actually hear really makes a massive difference. I can actually get my s8 loud enough that I've used my headphones as (albeit quiet) speakers. This phone can get plenty loud. And if you listen to music stored on the actual phone (or SD) rather than streaming, PowerAmp's EQ and volume/tone settings can crank it up WAY louder. Samsung has had a history of using really decent DACs in their phones (I still have my original international Galaxy S with a Wolfson DAC that I use as a media player at the gym) so even with volume boosting apps the sound quality is usually great and not all distorted like most other phones get when boosted.
[Samsung Galaxy S8 Guides, News, & Discussion] CoreyOS:
I beg to differ... I'm using Viper4Android and the bass tones can go so low I can hear 28hz and below really clearly (High ends are sharp too) overally more than loud enough. (Using Apple earpods) If you're using big driver over head earphones then what do you expect. You're never gonna be able to use the most out of them unless you get a powered DAC.
[Samsung Galaxy S8 Guides, News, & Discussion] Albayeah:
Hello there, i don't know if is the right place to ask but i searched a lot and i have no solutions:

I can't get sound through headphones, i recently installed a new jack port, they connect and i can play/pause videos/songs with the mic button but sound is never coming out. (Headphones work ok with other devices)

So i don't know if i can only use Samsung branded headphones or is it something more to do with software or motherboard issue.. I see a lot of people having problems with headphones sound but any fix solved for me.
[Galaxy S 5 Q&A, Help & Troubleshooting] Barabba11:
Hi mates, thank you for helping!

Really a complicated story mine, had on this phone already issues with baseband (when I bought it had LL 5.01) when I upgraded it to RR 7.1.2, then I figured out I needed to upload the latest stock 6.0.1 G900PVPS3CQD1 to have it working, I also PITted the phone before, it worked for 5-6 monts, then the signal went off.

I've tried different solutions:

1) in TWRP typed in its terminal the commands I've found here:

dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1

dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2

It said "not enough space" but it looks in the end it copied around 3MB. Rebbited but no changes

2) Again thr TWRP:

dd if=/dev/block/platform/msm_sdcc.1/by-name/efs of=efs.bak

dd if=/dev/block/bootdevice/by-name/modemst1 of=modemst1.bak bs=4096

dd if=/dev/block/bootdevice/by-name/modemst2 of=modemst2.bak bs=4096

find /efs -exec ls -l {} \; > efs-permissions

nothing changed

3) updated to lineage 15.1, it says "no sim card" (the sim works fine in another 900V) with rooted ADB shell tried the "dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1" but no such file. Then I decided to flash stock LL 5.01 BOK but like in stock 6.01 says "invalid sim card".

4) I run in adb:

adb shell

mount

and can't see /stl4 /efs so this is why I assume that efs is corrupted.

Somebody says to flash (under Odin PDA) EFS-Fix-regalstreak.tar.md5, but I won't risk to flash other phones data on my phone, including its IMEI.

Someone else says I have to backup EFS (I suppose this is possibile because when I executed adb commands it never said me that the files don't exist) and reflash it to fix the corruption. How this is possible to do? Thank you!

PS: I attached the backupof EFS made by TWRP, seems all good (not corrupted), why sim doesn't work?