yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  Questions & Answers] Dazed No More:
Windows (if thats what you are using) has never been able to properly judge completion time so thats not really much of an issue, but I have experienced some transfer issues today as well on Windows 10. I was making a backup of internal and when I initiated the transfer it would just say processing and stay at that indefinitely. I would have to unplug the phone to get it to do anything and then once unplugged is when it would change from processing to the transfer dialog coming up before aborting due to the unplugged device. It did this even after a restart of both computer and phone and was the first time I have experienced it with this device. I have never experienced it before with any other device on this PC.
[OnePlus 5T  Questions & Answers] jkyoho:
Just tested on my work PC(win7 x64). Before installing the oneplus built-in driver, Even open up the internal storage window takes so long to finish scanning, and just like OP, transfering small files takes forever.

But after installing the driver, and re-plug the cable,things go normal. TRY THAT!!

I have same issue on my home desktop(win10 64bit), but the driver seams help just a bit not exactly like day&night difference on win7
[OnePlus 5T  Questions & Answers] bigmase521:
Probably should've mentioned this in my OP but I'm running Linux on my laptop, specifically Fedora 27. As mentioned, I haven't had any transfer issues with previous phones or other USB devices. I don't have a Windows installation to further test, but interesting that installing the driver fixed your issues in Windows.
[OnePlus 5T  Questions & Answers] jkyoho:
That built-in driver including osx/linux driver , you might give a try
[OnePlus 5T  Questions & Answers] bigmase521:
It has an OSX driver, but not one for Linux. Just a shell script for getting adb set up, which I appreciate, but already have installed.
[OnePlus 5T  Questions & Answers] ANDROIDRAZRM:
I'm facing the same issue, extremely slow file transfer to my OP5T using Fedora 27. Transferring music crawls at 1.1 MB/s.
[OnePlus 5T  Questions & Answers] Jeroen1000:
Have you checked at which speed the USB works on Fedora for your device? OP5T still has an USB 2.0 port so you should expect to see that.
[OnePlus 5T  Questions & Answers] chinnpao:
I also facing the same problem. OnePlus ROM writing speed really slow. I have test both from Windows and MacOS to my OP5T it slower than than copy files to my iPhone5. I hope OnePlus update on their ROM in the next devices I'm so disappointed while they use 6/8GB of RAM and latest processing.
[OnePlus 5T  Questions & Answers] Squabl:
I’m using Oreo beta in my OP 5t and KDE on top of Ubuntu 16.04. File transfer speeds have never been an issue for neither of my devices. (OP 5t and OP 3)

I created an 1 GiB test file with a command:

fallocate -l 1G test.img

I copied the file to my phone over USB and it took approximately 27 seconds. KDE progress bar was displaying 37 MiB/s, which seems to be pretty accurate as 1024MiB divided by 27 seconds equals ~38MiB/s.

I run the test over my 5Ghz WiFi as well and surprisingly it was faster than USB. I copied the same 1GiB file from my FTP server and it took less than 20 seconds. The speed was ~50MiB/s. A year a go I run the same test with my OP3 and it was slower than usb. The WiFi speed on OP3 was around 30-35MiB/s.

It’s significantly slower to copy many small files than one large one so that may explain the reason some of you are facing slow file transfer speeds.
[OnePlus 5T  Questions & Answers] ANDROIDRAZRM:
I tried the same test as you, with similar results. However, when I try to copy about 1GB of mp3 files (average size of 5MB each), the file transfer drops to less than 500 kB/s.

[IMG="Slow"]https://i.imgur.com/bwZTk2I.png[/IMG]
[OnePlus 5T  Questions & Answers] Jamie_oppo:
For me. If I copy massive files its going to go really fast. If u copy ALOT of tiny folders with like 1/10th the size it will probably take longer. Like last time I wanted to transfer my twrp backup to my pc it was going to take so long I had to cancel it.

This goes with everything. Even with just my pc and moving files on my hdd.

But I get your point. That should be faster than that
[OnePlus 5T  Questions & Answers] bigmase521:
Appreciate all the testing and analysis. Very similar to what I'm experiencing, fast transfer for a large file (ROM or GAPPS), but slower speeds for "normal"-sized files. The 1.1 Mb/s rates and below are pretty much what I see on Fedora 27 transferring to my OP5t, which is baffling since I had no trouble on my OP3 or OPO. Transfers to my USB 3.0 WD hard drive results in a steady 150MB/sec, so I know it's not an issue w/ anything locally. I think I'll open up a bug report w/ OnePlus and see what they say. :confused:
[OnePlus 5T  Questions & Answers] Squabl:
I did some more testing and it seems that I don't have any transfer speed issues. I copied an audio book folder containing many small mp3 files to my phone. The folder was 757,8MiB in size.

Ubuntu + KDE: 757,8MiB / 34 seconds = 22,3MiB/s

Windows 10: 757,8MiB / 37 seconds = 20,5MiB/s

I also tested SanDisk Ultra 32GB CompactFlash card and USB3 card reader and the copying took 18 seconds. (42,1MiB/s) So it was significantly faster but that was to be expected.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] darshan1205:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

CHANGELOG for 3.2.1-0:

minui fixes (cryptomilk)

Better android-8.0 compatibility in ROM trees (Dees_Troy)

Fix missing library in android-8.0 (nkk71)

Fix inconsistent SDCard naming (DevUt)

Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)

CHANGELOG for 3.1.1-0:

Backups will now include adopted storage keys (Dees_Troy)

Fixed an adb restore issue (bigbiff)

Fixed rebooting when no OS is present (Dees_Troy)

Fixed line wrapping in the GUI terminal (_that)

Updated TWRP source code to AOSP 7.1.2 (Dees_Troy)Updated TWRP source code to AOSP 7.1.2

CHANGELOG for 3.1.0-0:

vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition's vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)

adb backup to stream a backup directly to or from your PC, see documentation here (bigbiff)

tweak MTP startup routines (mdmower)

support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)

support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)

better indicate to users that internal storage is not backed up (Dees_Troy)

improve automatic determination of TW_THEME (mdmower)

minimal getcap and setcap support (_that)

try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)

shut off backlight with power key (mdmower)

timeout during FDE decrypt (Dees_Troy and nkk71)

support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)

boot slot support (Dees_Troy)

TWRP app install prompt during reboot (Dees_Troy)

support for AB OTA zips (Dees_Troy)

support new Android 7.x log command (Dees_Troy)

update recovery sources to AOSP 7.1 (Dees_Troy)

numerous bugfixes and improvements by too many people to mention

DOWNLOADS: twrp-3.2.1-0-riva.img

HOW TO FLASH:

Fastboot Method :

fastboot flash recovery twrp-3.2.1-0-riva.img

Boot to OLD TWRP > INSTALL > Select Image > Navigate to twrp-3.2.1-0-riva.img > Select it & Swipe to Flash

CREDITS:

TeamWin

CyanogenMod/Lineage Android

Hyper

XDA:DevDB Information

[RECOVERY][OFFICIAL]TWRP-3.2.1-0 for Xiaomi Redmi 5A[riva][20180110], Kernel for the Android General

Contributors

darshan1205

Source Code: http://github.com/omnirom

Kernel Special Features:

Version Information

Status: Stable

Created 2017-11-29

Last Updated 2018-01-11
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] darshan1205:
Device Source: https://github.com/darshan1205/twrp_device_xiaomi_riva
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] darshan1205:
Flash lazyflasher to disable dm-verity & forced encryption on MIUI
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] hareshsangar:
how can i unlock bootloader of this device... ?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] HalFBlooDPrincE:
Thanks
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] fahmi182:
It works fine?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] darshan1205:
TWRP UPDATED!

* Sync up with latest TWRP 3.2.1-0.

Downloads: https://twrp.me/xiaomi/xiaomiredmi5a.html

Also riva will be supported by me through TeamWin.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] NatsumeNomura:
Thank you,

It works like a charm. :good:

I tried to Flash latest xiaomi.eu rom for my device using this TWRP.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Mohnster:
When will lineage os released for redmi 5A? Miui is sick
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] atdhyctive:
good
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Bhargav97:
We need somebody (a developer) that can maintain device trees for our phone. Then only we can get official support for lineage os. What I don't understand is... Where are the Redmi 5A forums? Given the popularity of the phone - Xiomi claims it has already sold 1 million units of the phone - we must have had personal forums for the phone.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] DenyFauzi:
how to instal fastboot method, i cant understand.

my redmi 5a already unlocked
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] bl4ck3ned:
need help

can you help me how to unlock this phone i have trouble in add account and device in Mi unlock status, please help me
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] sunnyraj84348:
First create a new account and set it name in WORD(not in numeric) then create miui forum with that mi account and make sure that forum username and mi account name is same

Apply for permission give same name after granting permission go to developer option click on unlock status then click on bind account below (it will show some Chinese word [its normal]) wait for 72 hours after that connect to pc and use mi flash tool to unlock it without any issues.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] DenyFauzi:
i just

1. Request Permission (Approved)

2. Binding Account (Use VPN China) after success binding, i wait 5 day (min 72hour)

3. Unlocked
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] flaxx187:
hey

i got a hardbrick on my z5 but i have a backup with twrp

can restore the 'data' (only data) from the backup in my new z5?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] sunnyraj84348:
Link Please

Latest Xiaomi.eu? Link Please
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] w4hyoedi:
thanks for link :good:
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Miho.Nightwalker:
What? Create MiUI forum? I can't find where I apply for permission. When I log in to the forum it only tells me successful login and I then can't find it. And it's all in Chinese. I can't speak or read Chinese :( where do I apply for this permission please?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] sunnyraj84348:
Create new account first then give it a name (not numerical) then go to en.miui.com/forum and log in then set a new username (same as name in mi account) and use Google Chrome it will allow you to translate Chinese into English
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ezrawk:
Bro have u unlocked your 5A? Could you help me by dumping some of your partitions for me? I dont need much, just need the devinfo, aboot, devcfg & other ones that are smaller than 20 MB's. Could u help me? Desperate in unlocking the phone.

Can't unlock officially because of the 86023 hardwareid bug that has been raging since January. I've been approved of unlocking since 2016, have been unlocking other xiaomi phones for friends and relatives but now I can't unlock my own device? Super sad and disappointed :crying:
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Goldenmeadow:
Thanks for TWRP!

Quick question about this lazyflasher - what is the sequence?

I put TWRP with fastboot. Then I boot in TWRP and flash lazyflasher from there or should I use fastboot as well?

What happens if I don't flash it?

Thanks!!!
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Miho.Nightwalker:
I have tried absolutely everything, the Phone keep saying accounts not bound together. :( Don't know what to do
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] zeyaan:
Thanks

Got the phone yesterday night 05 march 2018 IST

Applied for unlock permission 05 march 2018 IST

Unlocked permission granted 06 March 2018 IST

Unlocked and TWRP installed 06 March 2018

Secquence

1. Unlock Bootloader

2. Flast TWRP

3. Reboot to TWRP (DO NOT BOOT TO SYSTEM AFTER FLASHING TWRP)

4. Flash Lazyflasher-no-verity.zip

5. Reboot to system.

Boom!!! you have what you were looking for.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] zeyaan:
Please use this method.

https://xdaforums.com/android/help/ultimate-guide-unlock-root-twrp-guide-t3759470
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] arvind bhaisare:
I want to write the use of TWRP to install Face Lock
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Hello, does anyone here face problems when using Aroma Installer? I faced touch problems where touch is not working when using Aroma Installer. I flashed this zip https://dbp.noobdev.io/files/9.3.0....es/DualBootUtilities-9.3.0.r758.g910a7eb2.zip. When I press next it responded but after that, it doesn't respond at all. I managed to navigate by using the volume buttons.

The zip above is the "Utility" zip for DualBoot patcher. It has Official support for our device.

In the meantime, I'll try to confirm if this only affects my device.

Thank you.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Have you tried flashing via EDL (test point) mode? I successfully unlocked my phone by flashing via EDL mode with MIUI Stable China Fastboot Firmware, register a new account with phone number, don't change anything in the account, add account to Mi Unlock Status and wait for 15 days. Just use your phone number when Mi Unlock Tool asks to login. Almost every ROM these days have the same taste (boring).

FYI: My phone is an imported phone from China through China Mobile. I think I have fake MIUI installed and used the method above. This phone is currently running MIUI Global Stable. Custom ROMs these days are quite boring especially Nougat and Oreo. Back in the Gingerbread, Jelly Bean and KitKat days, ROMs used to be more colourful, extremely customized (stock never existed) and wonderful.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ezrawk:
Bro, this was way back. Now my phones unlocked. Trust me EDL didn't work at that time. Why? Because Xiaomi for a certain time blocked UBL for Indonesian devices (FYI my device was locally made in my country, an official Indonesian Xiaomi device, China devices that were imported 90% were UBL approved). At that time when I posted that, Redmi 5A was just launched in Indonesia and Xiaomi didn't want their users to go straight away UBL and go to AOSP. If you go running around the MIUI forums and check out the 5A forums, you'd probably see my rant posts here and there. :D

Thanks for the reply btw. :)
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Oh well, congratulations on successfully unlocking the bootloader :D. And we have another custom ROM member in this community Yay!!
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ezrawk:
Yeah thanks, bro. I've been in 5A forums for while though (device unlocked in mid of March), before Oreo was first introduced to 5A (when Chalapathi was still working on LOS 15.1), even b4 source codes where out. It's amazing to see how versatile our device is. I'm so grateful that the 4A devs baked several Nougat ROMs for 5A based on stock kernel several months ago. Then Chalapathi introduced us crDroid Oreo which was the start of the Oreo era for 5A. The most awesome, unbelievable and amazing feat was when 33bca introduced us his UNIFIED Treble build for rolex and riva, it opened up more possibilities for riva, and then 4A devs started to flood the 5A threads again with their UNIFIED custom rom. Don't forget we now have UNIFIED Infinity Kernel, the Infinity Team is awesome. Right now the only pure riva dev we have is Chalapathi (cmiiw). Let's hope more will soon pop-up and bring us more magic for 5A. :highfive:
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Yup, it's great to see how much the Redmi 5A community had grown. This is also the first Snapdragon based device that I owned. I had Samsung devices before and the community isn't that active in development (except the Galaxy Y community). I am very happy with the current community and there is so many people working on this device. I hope this community will grow even more in the coming years..
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] budsz:
You should apply to unlock bootloader from this site http://www.miui.com/unlock/index_en.html
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] grandpianisto:
Bootloader not really unlocked? (Unlock status: Unlocked)

Hey guys,

just got my new Redmi 5a this week. I cannot flash TWRP yet because I have an issue with unlocking the phone.

On the device's developers option the Unlock status is unlocked, yet I think the bootloader isn't unlocked yet as y cannot flash due to

writing 'recovery'...
FAILED (remote: Partition flashing is not allowed)
finished. total time: 1.201s

I already tried OEM unlock in fastboot as well

FAILED (remote: Token verification failed, reboot the device)
finished. total time: 0.009s

Would be great if somebody could help, making me able to join the great riva community!

Best regards
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Vony C:
thx sir
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] grandpianisto:
Fastboot oem device-info telling me device isn't unlocked

...
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: true

while MiUnlock status is "unlocked" as I can see in developer options. OEM unlocking also enabled.

Would be great if somebody had an idea how to solve that issue.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Valdem:
I'm almost sure that you have vietnamise device (chinese hardware with global firmware). Please check version of MIUI if it contains more then 4 digits - it is your case. I solve my trouble with this kind of device with EDL mode (through test point) and flashing Chinese Dev room. After this device bootloader was unlocked without any trouble.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] grandpianisto:
Thank you Valdem, that was the case! I was able to Unlock after flashing the Chinese dev rom via EDL. Thank you very much indeed.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] r6680jc:
Hi, does the latest version (TWRP-3.2.3-0) for this device support vendor partition?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] elemefaaoo:
No
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
[MENTION=6620830]darshan1205[/MENTION], Just here to say "Thank you" for making an official TWRP for Riva!

I've just entered Riva's custom ROM space and your TRWP is the base!
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Mchrisandy:
is there any TWRP version that support OREO rom?i'd installed xiaomi.eu 8.11.8 and those ROM is already OREO...but after i installed the TWRP doesn't work anymore.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] dipidabelyah:
##how to download twrp img file?

edit: forget i ask, just found it
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pandusetiawan:
Anyone has this experience?This hapenned every time i try to boot to TWRP. I've tried to re-install twrp,got the same result.

Any clue?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Badodoy:
Use another custom recovery. Fenfren custom recovery works for me.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] xdagood01:
please surpport MIUI （oreo 8.1）。thanks！
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] elemefaaoo:
Error Mount data and storage miui 10 8.1 oreo

---------- Post added at 03:55 AM ---------- Previous post was at 03:53 AM ----------

I've had this issue. Sometimes it's because of the kernel and sometimes it's because of the recovery.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ezrawk:
Are you using latest MIUI Oreo? Are you planning to flash a custom rom? If you are, switch to nougat, or just flash the nougat firmware which you can download from here. Pick the 16-11-2018 one. Warning this may bootloop your current ROM. Nearly all of the custom recoveries here are still based on nougat. (credits to yshalsager)
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
That screen looks like you have a dislay issue/ defect. Just saying. Idk if it is really a display issue.

Hmm TWRP Nougat base seems to work with my Oreo Treble ROM. Nougat base is really stable. If I switch back to Nougat ROM, TWRP Oreo base doesn't work and bootloops when you try to boot into it.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] csbsn:
Same here...

I flashed stock rom based on nougat.

After i updated via OTA. (based on Oreo)

So i tried now to flash twrp via fastboot. But no success... (Same issue as u faced)
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pgreed:
Ok. but the problem is how to install the recovery because nougat TWRP cannot access oreo's encrypted files. We can install via fastboot but a img file is needed.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ezrawk:
Maybe it's a display issue, but I had this problem awhile ago when I tried flashing latest fw (MIUI Oreo) for 5A. I never thought they revised their bootloader, so I just flashed without the slightest worry.. And I rebooted to system, which ended up getting softbricked (stuck at Mi logo splashscreen, not bootanimation). Force rebooted the phone and did a manual recovery boot.. And the same display issue as that screenshot showed up when accessing OrangeRecovery (current custom recovery). I panicked a little, I thought my phone was done for, but I recovered quickly and flashed the previous fw.. And everything went back to normal. I was on NOS Pie at that time.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Hmm weird.. yea maybe it's also a TWRP or fw issue
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] shekhar4u:
Same problem with latest miui 10 rom version 8.1.

A bit solved with fanfern recovery which is just a Port.

Fanfern recovery has mount problems.

For other Oreo pie custom ROM nohgut recovery is fine.

Please release a new recovery which support latest miui10 0reo rom.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] elemefaaoo:
Try this

https://drive.google.com/file/d/1QTC-bfFn8RwJ7ZpxiYpA93uYFiSxU9mf/view

This is the latest build of batik recovery which support latest miui 10 8.1 oreo.

This may fix mount issues.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] vrij:
I'm having trouble with the twrp. It shows up like this.

Erased recovery partition and reflashed TWRP. Same issue persits.

Unable to format recovery partition using fastboot. Please advise how I can repair this.

There is no other issue and phone works normally. Currently on global stable.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] elemefaaoo:
You might be using recovery for oreo.

You might be using another kernel.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] mirzakeehl:
This one works. I'll be using this until TWRP releases the fixed version. :good:

I'm using Xiaomi EU MIUI 10.2 Stable Release. Flashed using TWRP-3.2.3-0-riva. This TWRP version might be the cause.