yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
Update 13/06/2020 :

*everything is rebased check post

Update 24/06/2020 :

*big changelog see here : https://pastebin.com/z7zR7T6q

Update 29/06/2020 :

*changelog >>> https://del.dog/celytuconi.txt

Update 23/07/2020 :

*changelog >>> https://del.dog/yuworfimyk.txt
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] Feardarks:
Thanks for your hard work. Using it on havoc os 3.1 Q. Awesome kernel. i wonder something can you add EAS feature to this kernel ?
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
Its kernel 4.9! its have in default EAS features !
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] OneHive7:
Bootloop

Can't boot up after flashing this kernel, Tried both But stuck on bootloop:crying::crying:
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
because you're not in rom SAR
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] OneHive7:
Do i need a SAR twrp for this
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
recovery-TWRP-3.3.0-0426-REDMI6PRO-CN-wzsx150.img with the help of this twrp would i flash this kernel..and how to get update..plzz tell me in detail

---------- Post added at 07:17 AM ---------- Previous post was at 07:15 AM ----------

There are two files caf and custom. Should i flash both the files
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
Today Added kernel caf edition for boot in NO SAR ROM after request from some dev rom sakura.
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
Please tell me how to install i install this kernel my phone goes into bootloop...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
you're rom is no sar? ps : I test every build before upload
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
I'm in havoc 3.1 rom Android 10
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
ok . I have updated kernel and thread for see clearly link SAR and NO SAR :) and dont quiet kernel already tested by me for SAR and sent to tester NO SAR too...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
But how to install the kernel there are two files caf and kernel. Both files r to be flashed? Install without sar twrp?
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] andrey1981:
With latest kernel bootlop in CesiumOS-v2.5-sakura-20200222-0206
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
> if you are in no SAR rom try no SAR link

> if you are in SAR rom ( ex : pe ) try this version SAR

about twrp flash in your current twrp
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
try NO SAR , in telegram its ok for user cesium
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
Didn't understand anything what u say:confused:
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
> sakura custom have some rom 10 in System as Root ( need twrp SAR ) and some custom rom is No system as Root ( NO SAR )

If you really dont understand after search try what kernel version boot in 1st time for you
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] nguyenduytrungts:
Dear

I dont know which is SAR rom, which us No SAR rom. How can i distinguish them. Please interpret . Thank you
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] andrey1981:
dt2w function not working in hx8399c touch panel in this kernel.

Other functuinons working normal.

thanks for great work!

Please fix dt2w for hx8399c touch panel for Redmi 6pro.

in attachment driver from cesium os for Sakura ( in cesium d2w normal work) . maybe needs paste it...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
How to check that thier is an update available

---------- Post added at 12:46 PM ---------- Previous post was at 12:41 PM ----------

And dt2w not working in no sar rom
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
I have recently included stock driver daisy-q-oss , panel goodix and focaltech have support dt2w by xiaomi now ,you can check in sources. If its no work something is no good configured in your rom. I have personnaly focaltech touch panel in my phone.
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
For check if update is available I will maybe soon add ota franco kernel , for now you can check in sources for see if update is in work...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] andrey1981:
this panel dt2w not working
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
mhmm ok another panel, Its particular panel I need good investigation for have this driver ... xiaomi no give that for sakura and daisy ...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] andrey1981:
in this kernel dt2wake normal work with my panel https://xdaforums.com/redmi-6-pro/development/kernel-chunchunmarur3-1-t4060049.

maybe insert driver from this kernel?

your kernel the best
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
Didn't understand where to check for update
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] bhavtosh76:
Thanks for such a grt kernel, running smooth on sakura android 10 custom rom...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] andrey1981:
best kernel

friend, please fix dt2w in hx8399c
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
Ok I have focaltech ( hx8399c ) in my phone , I use kernel sar version and dt2w work in this panel ( driver fts from olive-p-oss ) I add this driver for next update ...

I have removed driver from daisy-q-oss because no very stable driver ...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] andrey1981:
Great Thanks Friend

I be wait
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
Wait 1hours for updated download link...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] andrey1981:
thanks!!!

i install latest kernel no sar. 20200322.zip

Dt2w, not working. hm....

aida64 said hx8399c panel...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
Then if you have enabled in setting rom dt2w now im sure at 100% its wrong config in rom tree for this kernel. This driver give me dt2w in kernel 3.18 for phhusson gsi and in kernel 4.9 its unlock me dt2w too... you can check sources config is ok now
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] andrey1981:
I'm using Cesium OS rom. maybe bug in device three Cesium OS?
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
Personnaly I have no tested this ROM ( im running Lineage mod phh gsi ) . But I guess its possible I will ask sakura dev maintener for that .
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] bhavtosh76:
Thanks a lot for a quick update & kernel is awesome so far...Can you pls a short difference between these cpu governor? Or if you can share a link where I can read more abt them...

1. pixutil

2. smurfutil

3. pixel_smurfutil

4. lightningutil

(Which one above is better for balanced battery saving + performance?)
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
. lightningutil = governor created by lightningkernel kernel tissot , people report its have goot sot/perf

for other governor you can find here https://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] OneHive7:
Bootloop

Bootloop in the latest (No SAR) build of 03/04/20 in sakura
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
Tested all this commit change it's boot here .

1) I need more info ( rom , wipe dalvick before ? )

+ Need log for see what happened (boot no clean can cause this for ex )

your rom is no sar you are sure?
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] OneHive7:
Fixed

Sir, after wiping cache, dalvik before flashing fixed this problem and thank you very much.
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] bhavtosh76:
Pls tell, is it possible to include wakelock blocker feature in next version?
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
ho yes absolutly its will have
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] bhavtosh76:
Great, waiting for updated version with more features...Thanks
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] Astrek:
I am having problems with the kernel. When flashing in the no SAR version my phone frezzes during boot animation.

When i flashed the SAR version it doesnt even go to the boot animation just loops in the mi.com animation.

Currently am in Havoc 3.4. It didnt work for me on the previous Havoc version too.

After flash did all the necessary things like wiping dlavik and also tested it with and without flashing magisk simultenously.
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] MMMMMoris:
problem

my rom version is android10 havoc 3.4. I have tried THE 20200403 which you said is for non sar rom as well as THE 20200404 which is for sar rom,besides i wipe dalvick and cache before flashing,but none of these actions work. My device just got stuck in the bootmitation loop...what is wrong on earth?：困惑：
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] Fahmialfandi:
Support PIXELEXPERIENCE? For PIXELEXPERIENCE i use SAR or no sar ?
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
I dont understand what version you flash in your rom?
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
SAR
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] bhavtosh76:
Pls tell when do you plan to release next update with wakelock blocker...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
I have worked yesterday for clang , I continue work ...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
I'm on derpest android 10 rom which file i hv to flash SAR or NO SAR as I'm rooted with magisk
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
Can u give the link of lineage os which u hv installed in ur phone
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
https://github.com/eremitein/treble-patches/wiki/LOSQ-Project
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
Is this for sakura?
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
yes arm64 A work in sakura
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
How to install this ROM. It is IMG file how to flash this with which twrp we have to flash this file PLZZ help me
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] bhavtosh76:
Hello,

hope next update with wakelock blocker feature is released soon...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] mithu.prince:
PLZZ help me to flash this ROM as this is IMG file.. I don't know how to flash IMG file of LOSQ plz help as it is showing no OS installed when i reboot it automatically goes into fastboot....help
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ndrancs:
https://github.com/eremitein/treble-patches/wiki/LOSQ-Project

Which vendor IMG for this LOSQ?

And please update the kernel with Exfat support.

Thanks dev.
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] bhavtosh76:
Hello Dev,

Your latest "no sar" kernel is not working in any Q rom (Havoc 3.5, Arrow, Corvus, Lineage, Bootleggers) Few bugs that i observed:

1. Cpu frequencies are not stable at all, they are always on highest thus consuming battery

2. Cpu always changes to schedutil on reboot

3. Doze is not working

4. Like Cpu, Gpu, I/O etc there is no sound option in main menu

I HOPE U TEST GOOD ENOUGH BEFORE RELEASING ANY VERSION BECAUSE END USER GOES THRU A LOT OF ISSUES...

Kindly look into these issues and release a new smooth version!!! Thanks
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] yash_patil2k5:
Thanks for this kernel, one of the best kernels for sakura currently also it constantly improving :):):):):):)
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
thread sakura fully reworked !

fully rebased , its no sar release

included today build > changelog > https://pastebin.com/z7zR7T6q

good flash
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] bhavtosh76:
Grt, sounds promising....pls tell, this ver has blusched_util cpu gov? thermal profiles? wakelock blocker?
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
1) blushed_util : absolutly no needed schedutil is optimized already :svetius:

2) Thermal profile : no I no give that thermal in kernel is ok so I no search to modify profile ...

3) wakelock blocker ok I add for next update its no bad for deep sleep ...
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
new update... included wakelock ...

Update 29/06/2020 :

*changelog >>> https://del.dog/celytuconi.txt
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
Update 23/07/2020 :

*changelog >>> https://del.dog/yuworfimyk.txt
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] AT_21:
Super Smooth Kernel

Great Work done sir
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] benjumen:
sir i need the link SAR for rom please provide the link or please provide the telegram link sir

my phone not flashing the NO SAR file so please the file sir
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
As you can see since november 2020 I have stopped update because my phone is dead.

I have switched to redmi note 9s devices.
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] TeckySairam:
which customs roms does it supoort??

can anyone pls list them
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] kpp09418:
has anyone tried this with a12 custom roms?

will this support a12 officially in the future ?
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] Pritam awm:
Please Can you make a Kali nethunter kernel for Redmi 6 pro (sakura)
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
sorry I dont have the device anymore I have moved to pixel 6 (oriole ) since 1 years
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] Pritam awm:
No just compile my kernel with toolchain just download source code 'https://github.com/dek0der/nethunter_kernel_redmi_6_pro_sakura'

and go arch/arm64/configs and there are have a file nethunter_defconfig just compile the nethunter_defconfig with toolchain.
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] ada12:
Sorry Im not a server... if you want kernel compile yourself from computer / server
[Xiaomi Redmi 6 Pro ROMs, Kernels, Recoveries, & Ot] Pritam awm:
Please sir compile my kernel with toolchain just download source code 'https://github.com/dek0der/nethunter_kernel_redmi_6_pro_sakura'

and go arch/arm64/configs and there are have a file nethunter_defconfig just compile the nethunter_defconfig with toolchain.

Please sir I have any pc
[Android Q&A, Help & Troubleshooting] Steven B. Wells:
I need to install Google Play Services on an old tablet. The tablet has Android 4.2.2 OS. I know this is unusual since that is basically an antique today.

I can't sideload or use recovery. I can't use TWRP.

What I can do is read/write the system drive. So I have to do this manually if you will. I have to move the files and apks to the system drive and grant permissions.

No other way to do it.

But it keeps crashing on me. The apps will run and I can even login with my Google account, but when I try to send an email through GMail or install an app through Play Store it crashes. I can receive emails but not send them. And I keep getting the modal dialog that says, "Unfortunately, the process com.google.process.gapps has stopped."

The "solution" I keep seeing is to clear the cache, but that doesn't work and makes no sense here since I just installed it.

Has anyone had any experience installing GApps this way? I've seen very little info on this approach.

Does anyone have an idea about what I'm missing?

Thanks,

Steven
[Android Q&A, Help & Troubleshooting] RealWelder:
My suggestion would be to grab a gapp package and explore it on your PC or with root browser. The PICO gapps package includes everything you need to make the playstore and stuff work... Just the basics. Lol. I'd start there and install/overwrite every app from the package. Reboot. Should be good to go.
[Xiaomi Redmi Note 5 Pro Questions & Answers] Aswery:
Hi guys.. my whyred stucked at Mi Logo with Unlocked Text Signed below.

Sorry, i need to create a new thread because i can't find any solutions from related thread that can help me.

The Problem start when i was using my phone (with 10% free space storage i think) then it got hang (stop respond), then i push and hold the power button to restart my whyred and then my phone stuck at Mi Logo as i told above;

Condition now :

1. Type : Whyred; Global Stable Rom; ARB 4; No Recovery (such as TWRP etc)

2. It can still get into fastboot mode

3. Unlocked Bootloader

4. Unable to get into recovery mode.

5. Unable to get into EDL Mode

6. Status fastboot oem device-info :

(bootloader) Verity mode: true

(bootloader) Device unlocked: true

(bootloader) Device critical unlocked: true

(bootloader) Charger screen enabled: false

I have done some trial, and it always ends with error, such as :

1. Get the phone into fastboot mode and flash the latest Rom (Global & China) using Mi Flash, the result is some kind "error : write protected"

2. Get the phone into fastboot mode and using adb fastboot do :

- flash any recovery (TWRP) using adb (fastboot flash recovery twrp.img), the result is "error : write protected"

- flash boot.img from Latest Firmware partition using adb (fastboot flash boot boot.img), the result is "error : write protected"

3. Get the phone into the EDL Mode using Test Point (with battery been connected), it has been detected as qloader 9008 and Mi Flash can detect it as a COM Port, but when i flashed it with the latest ROM (Global and China), it ends with error too.

4. Get the phone into recovery mode using "fastboot boot twrp.img" and the result is the twrp just appear as a start screen without any button, so i can't operate the twrp.

5. Get the phone into recovery mode using "fastboot boot recovery.img" (recovery.img from Stock Firmware) and the result is the the phone success got into recovery, i did wipe data, the indicator showed the progress but it stuck without success sign, so i restart the phone using power button and the problem still persist.

Please, any suggestion will help much, i just dont know what to do anymore, i don't plan to bring it to service center because it will make an expensive price.

i am so sorry i am unable post any picture because i dont have any other phone.

Please any help guys..
[Xiaomi Redmi Note 5 Pro Questions & Answers] Aswery:
Try flash in EDL Mode with EDL Authentification & Fail

Here is my update..

I have try flash using EDl Mode with EDL Authentification. Here is the Flash Log, please what is that mean :

[01.27.22]:3 COM3 3.1394316s [01.27.21 COM3]:dump:<?xml version="1.0" encoding="UTF-8" ?>

<data>

<log value="ERROR: Only nop and sig tag can be recevied before authentication."/>

</data><?xml version="1.0" encoding="UTF-8" ?>

<data>

<response value="NAK" />

</data>

[01.27.27]:3 COM3 8.1708237s [01.27.26 COM3]:System.Exception: authentication failed The operation completed successfully

at XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()

at XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash() at XiaoMiFlash.code.bl.SerialPortDevice.dlAuth()

at XiaoMiFlash.code.bl.SerialPortDevice.ConfigureDDR(Int32 intSectorSize, Int32 buffer_sectors, String ddrType, Int32 m_iSkipStorageInit)

at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlash()

Any suggest please..
[Xiaomi Redmi Note 5 Pro Questions & Answers] Prathamesh 27:
Tryon orangefox recovery
[Xiaomi Redmi Note 5 Pro Questions & Answers] Icone24:
Did you use the dummy.img to bypass arb protection?

You can try orange fox recovery.

Download it, then flash dummy with command "fastboot flash antirbpass dummy.img" , after that try to boot orange fox recovery with "fastboot boot recovery.img"
[Xiaomi Redmi Note 5 Pro Questions & Answers] Aswery:
Result is the same, flash antirbpass dummy.img done but flash recovery (even orangefox) got error : remote : error flashing partition : write protected.

When try boot with flash boot orangefox, the result is only the logo orangefox screen appear.
[Xiaomi Redmi Note 5 Pro Questions & Answers] Aswery:
Thanks bro..

But it's not work on my device
[Xiaomi Redmi Note 5 Pro Questions & Answers] Aswery:
I don't know why, but I have tried this 2 things :

"Fastboot flash userdata userdata.img"

It finished successfully

But when I tried

"Fastboot flash recovery xxx.img"

It failed because error write partition.

That's why I think that there must be a solution to pass the write protected error..
[Xiaomi Redmi Note 5 Pro Questions & Answers] Prathamesh 27:
fastboot boot xxx.img

Copy recovery img in phone, then flash the recovery from recovery.

Try orangefox, pitchblack, twrp
[Xiaomi Redmi Note 5 Pro Questions & Answers] Aswery:
I have tried 2 trial "Fastboot boot xxx.img" and it gave me 2 results :

1. If xxx img is twrp, it can only show the begining screen (if twrp) without any button.

2. If xxx.img is stock recovery, it can only give wipe data that will stuck at 99.99%.

Both of it has not given access to copy from PC into phone.
[Xiaomi Redmi Note 5 Pro Questions & Answers] Prathamesh 27:
Try clean flashing and locking bootloader in mi flash tool, then unlock bootloader and booting into recovery. I recommend getting latest version of MIUI in your device before booting into recovery. If you want, before this, try pitchblack recovery also. If it works, no need to install MIUI. :)
[Xiaomi Redmi Note 5 Pro Questions & Answers] Aswery:
Thanks man.. Soon I ll try it, and I will let you know the result
[Xiaomi Redmi Note 5 Pro Questions & Answers] Prathamesh 27:
Yeah ;)
[Xiaomi Redmi Note 5 Pro Questions & Answers] gotxges:
HIi guys, have you resolved?

I have the same problem with my phone

Please, can I have help?

thk
[Xiaomi Redmi Note 5 Pro Questions & Answers] Mysteryagr:
Did you try to flash MIUI firmware using mi flash tool?
[Xiaomi Redmi Note 5 Pro Questions & Answers] gotxges:
Yes, I tried all standard procedure...TWRP RECOVERY, FLASH ROM etc...

The finally msg it's same "write protected".

Any IDEA ?

I think it's a "commercial lock" applied by XIAOMI. .... for change a phone.
[Xiaomi Redmi Note 5 Pro Questions & Answers] Prathamesh 27:
If you try to flash using MI flash tool, i.e, use clean all and flash option in mi flash tool. It will succeed. If it doesn't, you may have to use other method.

Here link contains all details.

https://c.mi.com/thread-2248078-1-0.html
[Xiaomi Redmi Note 5 Pro Questions & Answers] niyas90:
Me also faced this issue on my whyred last week. I read through the comments and find me faced exactly the same bricking. 'write protected' message on fastboot flasing, twrp and orangefox booting only to its logo, able to boot into stock recovery but wiping data stuck on 99.99 %. etc..

I also tried the recovery method by using miflas pro , Edl flash (not worked due to the authentication or device storage emmc corrupted) but no luck. Finally i give up on flashing and went to the service center. They tried to flash the software but no luck. They said the internal memory emmc got currupted , so need to replace it. Now i am waiting for the device for one week. I will let you know whether it will working or not.

I would like to know one thing..

Which Rom and Kernel are you using when the phone was bricked. My phone also bricked like the same way as you said in the OP.
[Xiaomi Redmi Note 5 Pro Questions & Answers] ishuya:
https://files.orangefox.tech/OrangeFox-Stable/whyred/

Try Flashing zip recovery from recovery mode.