yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] JohnLM:
Hello! I'm plagued with similar issue as CapAdamT. I want to recover files from the encrypted data partition.

I've installed TWRP on my Galaxy A5 successfully and using adb pull I was able to clone the entire mmcblk0 but the data partition is encrypted.

Via adb shell I'm trying to mount it but I'm getting errors:

# twrp decrypt 74123
Attempting to decrypt data partition via command line.
Failed to decrypt data.

That's the correct swipe pattern. Is twrp decrypt supported for this device, and if it is, is the password made just from swipe pattern?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] ashyx:
Nope, as mentioned by the poster above. FORMAT data.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] str412:
Hello, and first of all thanks for the guide.

I just have a few questions please:

1) My A520F is currently on Stock Nougat, and I want to keep it this way for now. Is this version of TWRP compatible? Since it says it's been compiled with Oreo source.

2) Is Odin necessary in order to flash TWRP? Or can I do it from Samsung's stock recovery? (I only have a Mac, and running Odin through a VM isn't the nicest thing, especially because the device isn't exposed to the VM through USB for some reason). On other devices, I used to unlock bootloader with `fastboot` (I don't mind using ADB, and yes I checked oem unlock in dev settings). Can I do it with this stock Samsung as well, or does Odin make something else, specific for Samsung devices?

3) Finally, is there any way I can dump my full stock firmware, I have a build I don't find anywhere, so I'd like to keep it if I need to go back. (Although if I flash TWRP then root I know my knox fuse will be blown)

Thanks in advance!
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] JohnLM:
I did flash TWRP with Heimdall on Linux. I used command-line but these days it's supposed to have GUI too (I didn't try). I think it's a good bet there's a build of Heimdall for Mac too.

No, I don't believe you can.

Cloning entire mmcblk0 is possible from TWRP (it supports ADB protocol!!!), one of the partitions in it should have it.

But do notice: the Knox will be blown already when you flash TWRP (i.e., even before rooting proper -- I know, I tried).
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] str412:
Thanks a lot JohnLM!

Finally, I used a relative's PC. Heimdall works well, I've used it in the past, but I couldn't afford to take any chances on this one.

Also, if anyone else is wondering, although this topic mentions 8.0 Oreo, it worked flawlessly on my 7.0 SM-A520F.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] corsicanu:
TWRP 3.3.0-* is out - all links are in first post.

More details about the release here.

Regards.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] kepler442b_:
why do we need pie twrp when there are no official pie rom?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] SGT Presticle:
Because patience is key

Edit : As of this morning, I don't believe any amount of patience will benefit anyone anymore... I don't understand why people take things for granted. We have a developer that has offered to keep supporting our devices, and people still had to find a way to go and screw that up for everyone else, thanks guys we all really appreciate it
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] :
Hello guys I have a problem I've never experienced before

I flashed latest version of TWRP on my A520F

Installation process is ok, but when I try to install a zip of a pie ROM, it gives error "Zip file is corrupt" and I don't know how to fix it. I've tried to re-download the zip multiple times and I even changed rom, but the error was still there

Now i don't have any os into the phone and I don't want to reinstall stock firmware and wait seven days

Someone can help me?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] ashyx:
Are you sure you don't need to extract the zip first? Is there a system image inside?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] SnowFuhrer:
Which rom?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] :
This is the rom I'd like to install

https://xdaforums.com/samsung-a-series-2017/development/rom-resurrection-remix-v7-0-0-t3893699

This other I downloaded it for testing if twrp showed the same error

https://xdaforums.com/samsung-a-ser...fficial-pixel-experience-9-0-android-t3885229
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] :
The rom's thread didn't say anything about that. I've never done anything like that for other roms in other phones
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] ashyx:
I just checked and the zip seems fine visually. Are you using an up to date TWRP?

Also have you tried to extract the zip to check it's integrity?

If this fails then it is indeed corrupt.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] :
Yes latest version

Also tried previous official twrp versions and no matter what version I used it gave always the same error

Also with the other rom I linked previously, same error

But with magisk zip and others (rmm removal and no Verity opt encrypt) everything works fine

I'll try downloading the rom zip One more time

EDIT: I checked the md5 checksum and it was different. So I redownloaded the zip and this time it worked with no problems. I don't know what kind of problem did my pc have when I downloaded the file but now everything is fine. Thanks for your help
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Quidagis:
a7y17lte TWRP not for Snapdragon 425?

[MENTION=4658360]corsicanu[/MENTION]

So, just to make sure and don't waste time trying.

Your version of TWRP won't install on my SM-T385M? AIDA64 shows CPU SoCModel is Qualcomm Snapdragon 425 (MSM8917).

Thanks.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] SnowFuhrer:
No it wont work.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Simon1511:
SM-T385M? Isnt this a tablet?

This version of TWRP is for A5/7 2017.

You can find all versions of TWRP at twrp.me
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] MattJaO3D:
Format data , sounds like encryption
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] BavoV:
I use the LOS 16 beta Custom rom. I have SD formatted as internal memory. I use Magisk. Now I would like to encrypt the phone. Is it decryptble in TWRP? Or does this TWRP samsung A5 version not support encryption.

If it does not support encryption, then that means I can encrypt if I want to but when I need to resart from TWRP and install the custom rom again, I loose all data as it can not be decrypted with twrp, right?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] ashyx:
If you're using the SD as internal storage then you're already encrypted by default.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] BavoV:
I have an encrypted A520F with Magisk 19.2

What is the way to update magisk to 19.3? Before that was easy in magisk master but now I only have two options download zip or select tar or img.

Can I safely sideload the magisk zip in twrp? Twrp for A520F does not support encrypted device I pressume.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] ashyx:
Just let Magisk manager do the update via zip or are you saying no direct install available?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] BavoV:
no direct install available. Before encrypting I could do a direct install. Now only download zip or select img or tar.

Is it save to sideload the zip with twrp or will it break things as the encrypted device does not have access to the magisk files?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] ashyx:
Most devices are encrypted nowadays and was under the impression this doesn't cause an issue with direct install as the device already has root.

As for via TWRP it should work as Magisk handles encrypted devices. Whether it will work on an encrypted Samsung device is another matter.

It either will or it won't, but shouldn't break anything either way.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] eVoLutionz88:
404 not found
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] mcvisster:
One question. Im on oreo and want to flash los16. When installing twrp do i need to flash "no-verity-no-encrypt_6.0" or no?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Simon1511:
You only need "no-verity-no-encrypt" when you are on Stock ROM. If you want to install LineageOS (or any other ROM than Stock ROM) you wont need it.

You also dont need the "RMM-state-bypass"-zip, its also for Stock ROM.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] BavoV:
For those that dont know yet. Major update released for all kind of problems related to encryption. (but not major in numbering)

Thank's for the great work. To me this is a major feature. Now there is no reason no more as to leave your data unencrypted. #security
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] SnowFuhrer:
Yeh it's nice to have that fixed. I have never used encryption, partially because of twrp issues, but also I use an sd card and I move it around. ;) #idgaf
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] petalz:
Touchscreen issue

Hello,

I try to upgrade a Samsung A5 2017 with lineageOS 14 and TWRP 3.1.1 to lineage0S 16.

TWRP 3.1.1 refuses to sideload the lineageOS 16 image because it says that the image is for 'a7y17lte' device, and my device is '.' .

The upgrading instructions says that if TWRP refuses to manage the upgrade, I should install a newer version.

But, whatever the TWRP versions available on the official site (as of today, 3.2.3, 3.3.0, 3.3.1-0 and 3.3.1-1) that I install using heimall under linux, I have the same issue: once the phone boot to TWRP, the splash screen appears, showing the right TWRP version number, and then TWRP asks for the key to decrypt the data partition, but the touchscreen is non-responsive, making TWRP unusable.

When I reinstall the TWRP 3.1.1 version that I have backed up, every thing is good, but I'm back to my origin: can't upgrade LineageOS.

Is that a known issue and how can it be fixed ?

thanks
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] SnowFuhrer:
Flash the a5y17lte twrp NOT the a7y17lte. That's why your screen is unresponsive.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] petalz:
How can one have functional eyes and not see !?

Thanks, i feel so dumb now :)
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] SnowFuhrer:
Dont feel too bad. I've flashed wrong twrp accidentally a few times too.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] BavoV:
Is this version suitable for android 10? Does it reco gnize encryption in android 10 as it does in android pie?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Seagold:
Yes bro. Go ahead. I'm on Android 10.

Just flashed the latest image today.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Fire1511:
Please android 10 Pixel Esperienze for A5 2017

Pixel Experience android 1p A5 2017 please!!
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] larsb24:
Wrong thread!

wrong thread!
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] matkali:
vendor support add please!
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Simon1511:
Theres already a script that will add a vendor partition to your device. It also patches TWRP to support the vendor partition.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] gabrielea179:
Hi xda community, I'm new and would like to know if your guide is still valid at the moment. (A52017 with 8.0.0 version of Android and February 2020 security patch) thanks in advance. Sorry for my english but I'm italian ?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Fire1511:
Anch'io sono Italiano
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] gabrielea179:
Ciao, sapresti aiutarmi?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Fire1511:
Si, il metodo di xda è ancora valido
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] gabrielea179:
Quindi devo scaricare l'ultima versione della twrp per il mio A5 2017 insieme all'ultima versione di Odin e il procedimento rimane lo stesso giusto?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Fire1511:
Si, ricordati di fare lo sblocco OEM altrimenti Odin non ti farà flashare
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] gabrielea179:
Sisi grazie mille
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] LucasBergia:
any way to use twrp if you have broken display ? without using otg because I dont have the adaptor just a bluetooth keyboard

---------- Post added at 04:43 AM ---------- Previous post was at 04:33 AM ----------

what can you use the vendor partition for? because I never addet it and even formatted this on twrp
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Simon1511:
I think there is no chance with a broken display.

The vendor partition can be used for Treble ROMs as soon as we have one
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Fire1511:
I have tried the Treble's script but not working
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Simon1511:
Which device do you have?

It has only been tested on A520F and A720F, other variations may have different partition sizes.

And what do you mean by "not working"?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Fire1511:
I have A520F, gsi not working
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Simon1511:
[DELETED]
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] SelfAwareDroid:
I'm on LineageOS on Samsung A5 2017. I wrongfully flashed the latest TWRP for A7 2017 instead of A5. Now it is stuck on TWRP recovery, what should I do?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Simon1511:
Hold down Power and Volume Down button for about 5-7 secs until the phone restarts and directly press Power, Vol down and Home Button again to boot into download mode and flash the correct TWRP version.

If that doesnt work, wait until the battery is empty and boot to download mode.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] matkali:
can't flash lineageos 16 using twrp v3.4.0 (last current version of twrp)!

it says -->> Error 7 twrp and failed to update system image

but can be install Korea's rom for A7 2017
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] larsb24:
Did you wipe system partition?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] matkali:
Yes I do it
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Shumafuk:
It is maybe dumb question... But what is point of encrypting system (in my case LineageOS) if anyone can access to files through TWRP? There is no password, nothing. Just boot to recovery and all my files are easy accessible.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] schlombie:
If you haven't set a passcode, there's nothing to ask from twrp.

You've got an encryption without a passcode. Set it at the security passcode setting and you will ask for in twrp.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] florianh78:
Thanks! The TWRP install guide listed on the first page of this thread worked perfectly for me with a Galaxy A5 (2017) on the latest official update level of a German Telekom branded stock ROM.

Just reporting this because after reading so many howtos, it was never clear which one would actually still by working as of today.

Kind regards

Florian
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] dunhill_:
Hi Florian,

Can you show me the version of your latest official update level of a German Telekom branded stock ROM. Which Android version and bootloader number are you using now.

Thanks.

---------- Post added at 05:05 AM ---------- Previous post was at 05:04 AM ----------

Hi,

Has any body installed this version of TWRP successfully on the newest stock firmware A520FXXUGCTI9 from Samsung.

I understand that A520FXXUGCTI9 is Android 8, but I am afraid of TWRP 3.3.1 can not be flashed under UG bootloader.

Thanks in advanced.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] eSpice:
since the file name says twrp-3.5.0_9-0-a5y17lte.img (9 for android 9) and I'm on lineageOS 17.1 (android 10) should I flash it or wait for android 10 version?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] FredMontteiro:
Hi @dunhill_

My device is in the stock firmware A520FXXSGCTJ2, and i can not install twrp.

In developer options, there is NOT EVEN an option to enable OEM.

Could you tell me some way to install twrp?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] thexile:
@corsicanu, my Galaxy A7 (2017) bootloops after updating to TWRP 3.6.0. Only reverting back to TWRP 3.5.2 eliminates the bootloop.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] corsicanu:
Thanks for reporting, will check it out soon.

Regards
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Md Husain:
Is it fixed?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] corsicanu:
Yes
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] BavoV:
To fix the theme/langue/date in twrp for encrypted devices there is a solution with android kitchen. Can this solution be integrated in the stable official version? Or is there more to it then just adjust the location of these parameters outside of the encryped device?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] thaynos:
Hey, I was able to install TWRP without any issues, but the problem is that it shows everything as 0 MB. When I ADB pushed the DM Verity file, it showed up in the file explorer in TWRP, but when I tried to flash it said "unable to mount/data." I tried everything and even reflashed the official firmware. In official recovery, it says "unable to mount/misc partition." What is the issue here? I have already done the OEM unlock switch. I'm not able to boot into bootloader/fast boot as doing it from official recovery just boots into the system.
[Huawei Y6 Questions & Answers] simpatiseur:
Hello guys please help me I have huawei y6 pro and I want root and unlock bootloader please help me. Thank
[General Questions and Answers] GLE3:
Hi, Hoping there are some out there that have experience with file transfer from an Android phone. I am somewhat new to the arena and it looks like there is apps out there but I'm wondering if there is an all in one for my needs... I would like to be able to:

Transfer larger files from my phone to my NAS (Diskstation) and my PS4. At home wireless might not be the fastest but probably the most practical. I have tried BubbleUpnp but it looks like all I can do is stream from the phone to a device, not transfer the files. If I have that wrong please let me know. Also I've had times when in Hotel rooms the wireless is not strong enough to transfer files, and would like to be able to transfer from phone to PS4 over USB if possible. If that amounts to a couple different apps that's ok, just was trying to make this as simple as possible. Thanks in advance for any help!

Edit: I have a Motorola Droid Turbo 2
[General Questions and Answers] GLE3:
Ok, that didn't go well.. How about just this. I have an SD card formatted to FAT32. I plug my phone via cable into my ps4, select transfer files in the automatic menu that pops y on the phone and my ps4 doesn't recognize it. Is there a way to get my phone to recognize the storage while in the phone and through USB? Must I take it out of the phone and put into a USB reader? Thanks for any help..
[General Questions and Answers] metallas:
You do have a few options:

1. get an OTG (on the go) micro usb to full usb (female) adapter, attach a usb stick to your phone using the adapter, copy the files to the stick and pack to the ps4

2. ES File Explorer is an app that supports file transfer over http (amongs other things) and through it's help section it shows you how to do it if you do not know how. however that requires that the ps4's internal drive is shared over your network.

Hope that helps
[General Questions and Answers] Droidriven:
Maybe this will simplify some things for you.

https://xdaforums.com/showpost.php?p=77134367&postcount=26829
[General Questions and Answers] GLE3:
Thanks, the otg is a good idea, need to find one with a keychain. Never been able to keep track of a USB stick for very long. Anyone happen to know why some phones are recognized and some aren't through a USB cable?
[General Questions and Answers] metallas:
Here's the thing.

It depends on the phone itself. Some phones, when connected to pc/other devices are recognised as mass storage devices (like any other usb stick).

Most phones though, especially after android 4.4 are recognised as mtp (media transfer protocol) devices, meaning that it depends on the target device (pc/ps4/etc) on how its is going to be handled or managed.
[Honor 8 Questions & Answers] Maenala:
Hi guys... I swear I do not abuse my chargers, but meanwhile I've had Honor 8 a year now I have broken now 3 chargers with Usb-C. Two of them have stopped charging exept by having it in the right spot and not moving it at all. One of them had the part which goes in the phone leave. I am annoyed, bc these are expensive atleast where I live. Do you have any advice? And yes I have tried cleaning up the usb port multiple times and no the cables aren't broken.
[Honor 8 Questions & Answers] SuperSwordSmasher:
Bruh, How Is That Possable, I Never Had Broke Mime Yet I Had It For 7-8 Months Now. I Use The One That Came With The Honor 8

Maybe You Need Like Surge Protecter I Think Cause Theres No Way That Power Brick Breaks On It's Own. Or Maybe You Squashed Where The Usb Is Connected To The Brick And Might Of Bended The USB Port.. Idk

I Think Surge Might Be A Problem You Should Check To The Internet About Power Surges
[Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot] rogelio297:
I want to install the rom deodex for the samsung galaxy (SM-A300M) but I have a problem that when installing it a dialog is created (com.android.phone stopped) and it does not let me do anything, when I do the restoration through the TWRP everything goes back to normal.

I'm installing the Deodex from this post: https://xdaforums.com/samsung-a-ser...-galaxy-a3-t3174124/post62237396#post62237396

I am using Deoxde for A3h standard version
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] montafede:
Private mode with rom oreo no work some fix or advice pls
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] Demolisher{pak}:
Your phone is rooted...??
[Android Q&A, Help & Troubleshooting] SaySayonara:
Recently I've been experiencing problems trying to listen to online radios through mpv in Termux and Terminal Emulator. It used to work before.

It runs the command, plays for less then a second because I can hear something, then it stops and gives me the segmentation fault.

My phone is an Xperia Z C6603, rooted with stock rom, debloated to the bone by myself, locked bootloader -> no recovery.

I've tried hard reset and reflashed the phone twice with Sony software repair, but i still get the error.

I've read here and on other websites that an fsck must be performed, but:

- i don't have a recovery so I cannot unmount the partitions

- I don't know which partition to fsck: I get a TON of lines when I type su -c mount

Could someone please help me?

EDIT: I've managed to install TeamWin dualxzrecovery. Now what? :)
[Samsung Galaxy S7 Edge Questions and Answers] ssam00:
i'm install custom rom

alexega_project_N950FXXU3BRA2

but can not power on show custom binary blocked. i'm download stock rom from sammobile but can not fash. show system rev. check fail device 1 binary 0. but can fash recovery official. but in recovery dm-verity error help me plzzzzz:(:(:(:(:(:(:(:(
[Samsung Galaxy S7 Edge Questions and Answers] DrFredPhD:
It means it thinks you are downgrading, flash a newer stock rom
[Xiaomi Redmi Note 5 Pro Questions & Answers] sherlockmeisida:
i am on 9.5.17 and i have installed twrp + magisk but i want to rollback stock recovery. I don't have recovery image what can i do now?
[Xiaomi Redmi Note 5 Pro Questions & Answers] Sprtn117:
Reflash stock rom 9.5.17 via twrp, miui will overwrite twrp to stock recovery.