yashsingh1/xdaforums huggingface dataset:
[Redmi Note 8 Pro Guides, News, & Discussion] avdo06:
Ok, so nobody can help me? I am stuck on the SP Flash with "error: status-brom_cmd_send_da_fail (0xC0060003)". The only difference is when I hold Volume + and at the same time I connect with USB. Then the Flash Tool says I need a valid authentication file even though I flashed "lk" and "preloader" with fastboot.
[Redmi Note 8 Pro Guides, News, & Discussion] antony.ps:
I had problems using SP Flash Tool too. Since I didn't know if it was because of linux, the image I downloaded or the fact that I couldn't turn the phone off, I just restored to Stock via fastboot

Here's a link to a Global 11.0.6 Android 9

https://bigota.d.miui.com/V11.0.6.0...XM_20200108.0000.00_9.0_global_4d6344e94f.tgz
[Redmi Note 8 Pro Guides, News, & Discussion] avdo06:
I understand, but I don't even have fastboot anymore, so there is no other way to flash except with the SP Flash Tool.
[Redmi Note 8 Pro Guides, News, & Discussion] djzero86:
When you power on the device with vol + and power can access to preloader menu?
[Redmi Note 8 Pro Guides, News, & Discussion] antony.ps:
Press and hold VOL UP + DOWN + Power to reboot

Imediately Press and hold VOL UP + Power for preloader menu then select fastboot

You can try to enter fastboot directly after reboot by using VOL DOWN + Power
[Redmi Note 8 Pro Guides, News, & Discussion] donkyshot:
Others replied on your started thread here

You most likely bricked your phone by flashing android 10 rom.

It's clearly stated in this thread
[Redmi Note 8 Pro Guides, News, & Discussion] OakaO:
How does that make sense if all the custom ROMs are Android 10 - surely the OTA EU ROM that was flash contained a preloader that over wrote the custom preloader and lk image..? That is the issue, not that it's Android 10, can I get an amen!?
[Redmi Note 8 Pro Guides, News, & Discussion] avdo06:
I don't know anymore. All I know is that I'm not buying another Mediatek, because there's too much confusion surrounding this procedure. I have never imagined that SP Flash Tool would create so many problems, everything else went smoothly. Maybe I really did overwrite the preloader, even though I flashed it again after flashing the firmware.
[Redmi Note 8 Pro Guides, News, & Discussion] ariber14:
on miui 11 android 9 eu global, i installed preloader and lk.and then twrp.problem is i can't make a backup on twrp.i get createtarerror 255 while copying data.amd there are no advanced option like closin AvB.

how can i fix backup? and i want to flash the chinese twrp but i cannot enter fastboot. is there another way?
[Redmi Note 8 Pro Guides, News, & Discussion] wang1chung:
DD will work through via ADB which is enabled in TWRP

DD if=recovery.img of=/Dev/block/sdc1

Double check the recovery partition number before running this command!

.

---------- Post added at 08:04 PM ---------- Previous post was at 08:02 PM ----------

Your data partition is most likely encrypted, I had the same problem. I was able to backup after I formatted and removed encryption, but that was with LR-TWRP. I've flashed back and forth without losing data, so I know it works.
[Redmi Note 8 Pro Guides, News, & Discussion] ariber14:
so how do i flash rt-twrp via Adb?is there a guide for this?

since i have no fastboot, how to i enter bootloader? i'm confused

if i make a format, will i loose my data or it will just restore to factory settings? i was thinking of doing that and flash fstab encryption enabled.zip but i'm not sure it will work
[Redmi Note 8 Pro Guides, News, & Discussion] antony.ps:
adb shell (to use dd)

abd push /path/to/twrp.img /sdcard/ (to copy twrp.img to phone)
[Redmi Note 8 Pro Guides, News, & Discussion] ariber14:
is there a detailed guide for this? i've never done it bro.

also i have a backup o lr-twrp. would it work if i restored it?
[Redmi Note 8 Pro Guides, News, & Discussion] wang1chung:
Load TWRP

Connect your computer

Verify ADB link by running "adb devices" on computer, should display your device serial and "recovery"

Copy your TWRP.img onto your phone, with TWRP you should be able to access the internal sdcard like you would in Windows. For simplicity, put it in the root of the sdcard.

ADB shell

dd if=/sdcard/twrp.img of=/dev/block/sdc1

Reboot

Where is your backup of LR-twrp, just the .img file?

You can also try to get to fastboot with the following command executed while in TWRP

adb reboot bootloader
[Redmi Note 8 Pro Guides, News, & Discussion] ariber14:
thanks you a lot, man, now i get it.

i have a twrp backup of my phone i did 2 weeks ago when i had the chinese twrp..and i'm wondering if made a restore of the recovery,would it be good? some users say that might cause a brick to our delicate mtk phones. or even flash the recovery as image from within twrp,would it work?
[Redmi Note 8 Pro Guides, News, & Discussion] wang1chung:
How did you lose fastboot mode? Flashing the recovery partition shouldn't affect anything else. Try the adb reboot bootloader first, or even through the reboot option doesn't work?

I can flash mine just to prove it works but I don't think that's a gaurantee. You might want to fix your fastboot mode first, although I'm not sure how you mangled it. Did you flash some boot.img you found on the forums? There are too many different versions (flavors) of this phone, gotta be extremely careful. I've flash 20x, no issues though.
[Redmi Note 8 Pro Guides, News, & Discussion] ariber14:
i flashed preloader and lk,so fastboot won't show up.i thought it was gone but with the command adb reboot bootloader it came up. so i will try it and god help me

ok i did connect the phone to pc while in twrp and entered adb sideload.also opened a command promt from adb folder. at <adb devices> phone is recognized fine, but at the command <adb shell> i get error: closed .
[Redmi Note 8 Pro Guides, News, & Discussion] wang1chung:
Fastboot works fine with the modified preloader, there is a new selection menu when you try to get into recovery mode now. You can select recovery and fastboot through that, just confirmed.

I just double checked, I can open an ADB shell no problem with mine. Maybe update your computer software?
[Redmi Note 8 Pro Guides, News, & Discussion] crazyboy87:
i have to fastmenu and recovery. can i only flash with auth. account?
[Redmi Note 8 Pro Guides, News, & Discussion] antony.ps:
I didn't fully understand, but if you say that you have fastboot and recovery (or you have the preloader menu to enter recovery) you don't need authorized account.

Authorized Account is necessary when you don't have access to fastboot.
[Redmi Note 8 Pro Guides, News, & Discussion] s4ck:
dead phone

when i run SP flash tool and connect my dead phone nothing happens, i can only restart it by holding power plus volume up and then i hear connect to pc sound and after that SP flash tool in download mode needs Login as KAILASH BHAI , its like xiaomi account, what am i doing wrong? or somebody has login as this person? my phone si dead, i flashed wrong boot.img and recovery via adb :( any help?
[Redmi Note 8 Pro Guides, News, & Discussion] ariber14:
so i flashed TWRP-3.3.1-1210-REDMI_NOTE8PRO-CN-wzsx150. the phone restarts,shows the preloader menu, i go to recovery, i pres vol min, and then nothing, and after 6-7 sec just continues to normal boot

i dont know how can i flash through adb,and can't enter fastboot
[Redmi Note 8 Pro Guides, News, & Discussion] crazyboy87:
sorry i was mobile and couldnt type :) after flasing twpr via fastboot, my phone has no more fastboot and recovery (only bootloop). is there no method to flash with sptool without auth. account?
[Redmi Note 8 Pro Guides, News, & Discussion] wang1chung:
If you can boot into Android, then enable USB debugging under developer options and enter "adb reboot bootloader" to get into fastboot.
[Redmi Note 8 Pro Guides, News, & Discussion] ariber14:
yes i did that.i found a great twrp version and it works fine. thanks mate
[Redmi Note 8 Pro Guides, News, & Discussion] Tin_Man_0:
Lineage OS 17.1 for Redmi Note 8 Pro?? So I'm trying this thing out cuz well, I've been waiting since day one to see a Lineage OS fro my phone, I was hoping it would be here sooner, but I take it, the MediaTek chipset is probably slowing things down a bit. And it doesn't help that there is a Note 8 and even an Note 8T released before and after the pro with Snapdragon instead. Anyway.... Here's a link that I found, and the domain name seems legit enough, the site isn't crammed to the teeth with belligerent advertising either. So is it legit? It's not the official LineageOS site, but anyone who know that history of Lineage would recognize the domain name right away..... Since I'm already half way installing this, I guess I'll post back with details.

https://www.cyanogenmods.org/redmi-note-8-pro-lineageos-17-1/

---------- Post added at 03:56 AM ---------- Previous post was at 03:41 AM ----------

And now I'm bricked.... *&^$#! Not becasue of the firmware from the firmware but from attempting to flash back to stock! I've been trying to unbrick using the info provided above but 1. The link for the download seems to be flagged and blocked by firefox and going past that gets a forbidden page. 2. I got the sp flash tool and attempted to flash but I'm getting a message saying it needs an Auth file. I tried 3rd party and the exact same message comes up indicating that it's the phone that is reacquiring it. So no love there. I tried looking for eact name match to the rar file of the site that is down but no luck.

Any good sameritans out there that could generage an auth file for me? Or maybe someone has a copy of the preloader files mentioned above?

BTW the firmware on that site seems to be credited to "TheImpulsion" ...sounds familair.....

The Lineage OS 17.1 flashed and I was able to get it to boot, but not much further than that. The Wifi didn't work, the Bluetooth kept crashing and attempting to setup fingerpint security resulted in a black screen. Actually alot of things resulted in a black screen. I got logs if anyone is interested. But I'd say that ROM is early Alpha at best.
[Redmi Note 8 Pro Guides, News, & Discussion] Muad.Dib:
If I understood what you posted correctly and assuming you are hard bricked, I just want to remind you those files preventing brick are PREVENTIVE and not

CURATIVE

meaning they

have to be flashed first on fully working phone

, to actually prevent bricking from happening, they wont help you recover from a bricked device...

As for the download of the files, just got them again from the download tab, no issues, no warning, just went through normally.

Hope this helps.
[Redmi Note 8 Pro Guides, News, & Discussion] Tin_Man_0:
Yeah, in a "you're screwed, you can stop wasting your time" kinda way. I guess I'll try and contact xaiomi or do you know of any "service centers" or whatever. As long as it's a legit service and not a scam. It's hard to tell the diffrence and quite frankly, I'm surprised there aren't more xaiomi auth account holders on these forums. Xaiomi makes a isht ton of phones and from what I read it's only like $200 to get authorization?? Maybe I'm wrong.

...

Also, I think that whole "Preventative" measure in bold red should be mentioned on the top post. I read it several times and while it did say "we can't unbrick your phone" it then said, here is how to "unbrick your phone", I didn't understand the preventative part until several pages later... Also, where are the attachments I'm missing, cuz I was looking for it and the link with the MKV files mentioned. Are they on a different post other than the top?
[Redmi Note 8 Pro Guides, News, & Discussion] eburgos97:
I want to root my RN 8 Pro, anyone know how is the best tutorial for get root permissions???
[Redmi Note 8 Pro Guides, News, & Discussion] anryboxeh:
help me

please help me.. link " You can find the full factory build here. This is a barebones MTK-Android build. We don't recommend using it xD" is broken.. can you give me fresh link.. thanks
[Redmi Note 8 Pro Guides, News, & Discussion] u8ububu:
I'm getting a 0xC0060001 error here with the preloader, whatever version of SP flash tool I use.

Anyone has any idea?

(RN8P China version, flashed preloader on MIUI11 China, got the error, tried to downgrade to MIUI10, now it's stuck in a preloader bootloop; same 0xC0060001 error)

Interestingly enough, my lsusb reports "MediaTek Inc. MT65xx Preloader" on boot and "MediaTek Inc. MT6227 phone" when pressing the Vol+ button. Vol- does nothing (though it used to enter some service menu in chinese when it booted).
[Redmi Note 8 Pro Guides, News, & Discussion] wang1chung:
I'm 99% sure I hard bricked my global rn8pro even though I flashed the preloader and lk/lk2 images. I made sure not to touch boot/preloader/recovery/lk/lk2 partitions but still bricked. I've tried SP Flash in windows and linux, same result, just hangs at:

USB port detected: /dev/ttyACM0

BROM connected

Downloading & Connecting to DA...

connect DA end stage: 2, enable DRAM in 1st DA: 0

Failed to Connect DA: STATUS_BROM_CMD_SEND_DA_FAIL

holding volume up asks for mi account and holding volume down or nothing gives the above. In linux, I did all the udev rules, in windows I did the "disable driver signature verification", same result. I used the auth file and tried both DA files. Both ran with admin/root privileges and with the latest version SP Flash too, v5.19. Any suggestions, aside from service center, lol
[Redmi Note 8 Pro Guides, News, & Discussion] djzero86:
I read in some thread that you need use mi flash pro, if you use standalone sp flash tool give this error, can try? Maybe work:confused:
[Redmi Note 8 Pro Guides, News, & Discussion] antony.ps:
I had the same problem last week when I started flashing. Flashed preloader/lk/lk2, then flashed TWRP and forgot to flash vbmeta disabling AVB. Tried last version of SP Flash tool with exact same error, that I thought it was because I could not turn the off, just reboot.

In my case, I rebooted the device with VOL UP+DOWN+Power, after reboot, quickly changed it to VOL DOWN+Power, and then I could start fastboot
[Redmi Note 8 Pro Guides, News, & Discussion] Rakshithvihaan:
So I have a doubt.....can I flash MIUI 11 based on Android 10 given that I have flashed the leaked preloader and ik images????

And of course not overwriting the preloader and ik images which are present in the stock image???
[Redmi Note 8 Pro Guides, News, & Discussion] JuanM2020:
Plenty of root methods on the forum. This is not one of them.

---------- Post added at 05:58 PM ---------- Previous post was at 05:55 PM ----------

While personally not test and do not plan on testing it the post specifically states it does not work with Android 10. So the thread answers your question. Now if you wanna risk it and test go ahead and tell us the results.
[Redmi Note 8 Pro Guides, News, & Discussion] u8ububu:
I've flashed preloader & lk on Chinese MIUI11 with Android 10, it worked for me. YMMV - AgentFabulous said that it doesn't work if flashed on Android 10.

I've flashed MIUI11 EEA rom fine after that.

LineageOS 17.1 GSI also works; got Magisk&Xposed working ok on it. However, I had to clean the userdata for it to work - loads of Xiaomi crap installed in there that's not touched by the GSI image.

One peculiar thing is that the official TWRP has no screen for me (it's turned off somehow, can't figure what to poke to get it working) and it's missing mkfs.ext4, which is quite important for getting GSI images to work (because of userdata). I should note that I'm working on a Chinese device (or at least that's what Xiaomi support told me after sending them the IMEI).

Seems like the official kernels have a broken cpufreq implementation; none of the cores go idle and the frequency can't be capped.

I've tried to compile atomsand's kernel tree with the config file from the device, but it bricked and I had to flash the EEA kernel back. I think I'm gonna try AgentFabulous's KT next. Wish me luck.
[Redmi Note 8 Pro Guides, News, & Discussion] JuanM2020:
Okay let's not say it worked fine yet.

You would actually have to brick your phone first to see if it actually works. But DO NOT do this as it is very risky and untested. But if you do please share the results.
[Redmi Note 8 Pro Guides, News, & Discussion] u8ububu:
Bricked it 4 times already, and flashed it with SPFT 5 times.

I've had 3 bricks from adamsand's kt tries. I've also bricked it between EEA and Lineage, as I've tried an Arch userspace in between (but didn't get anything out of it, it just went directly into preloader bootloop).

Oh, and for the Lineage GSI rom, beware that it ships with its own kernel+dtbo, which does not have the drivers for wifi, bluetooth, gps, fm radio and some other mediatek stuff I can't decipher yet. To get them working, the kernel+dtbo that came with the vendor image should be used, as the drivers come as kernel modules there ({vendor}/lib/modules/...), which seem to be incompatible with the GSI kernel (at least for the EEA rom vendor image). However, with boot+dtbo+vendor from same official rom, the Lineage GSI should be working pretty well; I've actually used it normally today (took a couple pictures, checked email, listened to some music, checked the gps accuracy, etc.).

I'm most likely gonna be on Lineage for a while, at least untill I figure out how to get Arch going (with android apps in anbox), so if you guys have questions about which stuff is working, I could probably take a quick look.
[Redmi Note 8 Pro Guides, News, & Discussion] ErnstX7:
Fingerprint died

Anyone is facing issues with fingerprint sensor after flashing preloader_begonia.img?

After flashing the preloader file the fingerprint recognition is too slow (almost 2 sec). I flashed the V11.0.6.0.PGGMIXM firmware and the config goes without problems, is after flashing preloader file when the fingerprint breaks. I repeated the procedure at least 4 times and is always the same.

Sorry for my bad english.
[Redmi Note 8 Pro Guides, News, & Discussion] HungNgocPhat:
I am intending to migrate to RN8Pro from my old R5Plus, there are some questions that I want to make sure because it would be the first time I mess with a MTK device...

Is anti-rollback a thing worth worrying about? If not, what should I pay attention to when I downgrade from Android 10 to 9?

Assuming I am on stock Chinese MIUI with Android 9. After flashing the Factory Preloader, could I flash another Android 10 ROM? E.g. MIUI 11 or AOSP.

If I flash a GSI-compatible system image for testing purposes (assuming vendor, boot, etc. are from a compatible ROM), is there any chance that the device become hard bricked? (e.g. in a state that TWRP or fastboot is not usable).

If I reflash a stock ROM via Miflash or TWRP, the preloader will be restored to the stock one. To prevent this in advance, all I need to do is removing preloader*.img, lk*.img from the packages (and remove the flashing commands from the script)?

Thanks in advance.
[Redmi Note 8 Pro Guides, News, & Discussion] Tin_Man_0:
OMG! Where where you like 3 days ago! I'm still trying to get my phone unbricked after attempting Lineage OS. I'm starting to think I'm gonna have to break down and actaually go to a "service center". Has anyone done this? Anyone gottone their phone unbricked? How much was it? how'd you find it? etc etc etc kinda questions.. .
[Redmi Note 8 Pro Guides, News, & Discussion] u8ububu:
It should be pretty obvious that I was talking about unbricking it with the factory preloader.

I did have it bricked on the normal preloader and after 2-3 weeks trying to get Xiaomi to at least tell me where I could unbrick my phone (contacted them in-store, on the hotline, and on email), I've found a russian guy while googling around who logged in for me (for that high amount you'll here about around here). The flash was with the SPFT from MiFlashPro on a QEMU-KVM VM (via libvirtd), for obvious security reasons. Had my entire USB controller passed through for simplicity. I've flashed the preloader and lk with fastboot, but the SPFT from MiFlashPro couldn't flash or do any operation on the factory preloader. This was also true with all SPFT versions and mods I've collected for this phone on that VM; see my very first post.

I did have the latest vanilla SPFT on my linux box, and that actually worked. Now I'm using it every time I get a brick. I have no idea if it works on bare metal Windows, though.

Also, I'm not entirely sure, but I think the original flashing method from Xiaomi might not work anymore after flashing the factory preloader (the Vol- button does not change the way it boots according to lsusb). I do feel you though, I've bricked mine about 3 weeks before the factory preloader leak.

---------- Post added at 12:32 PM ---------- Previous post was at 12:10 PM ----------

I've heard people have been bitten by RN8P anti-rollback (and even OTA updates). I never tried downgrading 10 to 9.

I would say yes, but maybe you should wait until someone does this. I went (Android 10) MIUI11 CN -> Preloader -> (Android 10) MIUI11 EEA -> (Android 10) Lineage 17.1

AFAIK it won't work unless you disable AVB, which means messing with a few extra bits; from my experience, I'd say that as long as you (or your image) don't touch boot, dtbo, or cust, the chances of getting hard bricked are pretty low. You definitely want a second opinion on this.

Yes. Or make yourself a general script for that matter (check for each partition - except preloader, lk and lk2 - if the image exists, and if it does, flash). Xiaomi's flash scripts are mostly pretty-printing for fastboot (there's some anti-rollback checks too).
[Redmi Note 8 Pro Guides, News, & Discussion] u8ububu:
For me it works <1 sec on Lineage. Might be the rom.
[Redmi Note 8 Pro Guides, News, & Discussion] Tin_Man_0:
Be careful! that's how I bricked my phone. I didn't want to mess with boot or recovery so I REMed out (commented out) the three lines in the fastboot flahs batch file that flash those parts and flashed everything else. Rebooted and it never came back up.

---------- Post added at 07:34 AM ---------- Previous post was at 07:14 AM ----------

So, maybe you can put me in touch with that russian guy? Cuz like you, I'm not finding much options. I haven't heard of any pricing either. I just haven't found any avenue yet. I take it you built the VM for said russian to remote into? and not the other way around? From the looks of the Mi Flash and sign-in it recognizes the computer you use to sign in and you can't just use any computer willly nilly without additional licenses. I'm pretty sure I can easily just boot off a live linux with my hdd disconnected and download the linux SPFT from somewhere (if you could shoot me a link I'd appreciate it). And that's all I'd need right?
[Redmi Note 8 Pro Guides, News, & Discussion] u8ububu:
Hmm... from my experience, flashing the system partition is no problem; it just bootloops above the bootloader, so one can still enter fastboot. Recovery is trickier - if recovery doesn't work, system won't boot and I think fastboot is unreachable too (though if I remember correctly, it can still be reached with factory preloader).

It's not enough to comment out those lines. AVB should be disabled too. One gets a bootloop with just TWRP recovery and nothing else touched if AVB is not disabled. See more on the official TWRP page (or thread, for that matter).

MOD EDIT: TEXT REMOVED

Yes, I built that VM for him to use. Whatever that Mi Flash checks, I think it just logs it into their database; doesn't seem to actually do something. The only thing I've noticed is that he used a VPN (to Ukraine, if my memory serves me right), probably so that LoginPro or whatever that authenticator was named hits the russian servers. The point is - the phone was with me (and therefore connected to my computer, not his), so it doesn't make much sense to have it in reverse.

SPFT: https://spflashtool.com/download/, first result on google. I'm using the latest version (1916). Beware it needs access to the raw device, so you'll need to change the udev rules (unless you run it as root, which is a bad idea); you'll want to check your distro's documentation on that.