yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] alecxs:
okay then forget the script. maybe it's because of whitespaces in dir name.

flash only the radio and check your sim is working

fastboot flash bluetooth images\BTFM.bin
fastboot flash modem images\NON-HLOS.bin
fastboot flash dsp images\dspso.bin
fastboot flash dtbo images\dtbo.img

(only if the above 'erase boot' was successfully despites it says it failed)

fastboot flash boot boot.emmc.win

(this is the magisk patched boot.img from TWRP backup)
[General Questions and Answers] Leonniar:
OK so I run the first 4 commands you told me right ?

I didn't back up the image since I had replaced it hoping it could fix my bootloop a while ago so I have to patch that again.

Edit:

Running the first command, it's stuck at sending:

Sending 'bluetooth' (412 KB)

Restarted both computer and phone, stuck at sending again
[General Questions and Answers] alecxs:
use USB 2.0 port (black) and use the cable that came with phone.
[General Questions and Answers] Leonniar:
Yep, that did it! Could that be the reason why the batch file didn't work ?

After reboot I got a prompt to put my pin but before I could the "This device is locked" page poped up and I can't activate my sim, there is no back or home button just wifi or Activate. Wifi still doesn't work
[General Questions and Answers] Leonniar:
After a LOT of reboots I was able to put the pin quick enough and the device boots fine !

Now I have to do the root process all over again right ? I just skip the TWRP part.

Anyway thanks a lot for all the help and time you took for me, absolutely saved me !

Edit:

Wifi still does not work
[General Questions and Answers] alecxs:
I don't know which partition is for wifi, but try the batch file again.
[General Questions and Answers] Leonniar:
I get:

"Antirollback check error"
[General Questions and Answers] alecxs:
comment out check anti_version (8 lines) from batch file with REM
[General Questions and Answers] Leonniar:
Let me try, would it be safe tho ? I am guessing this is a false positive right ?

I get:

"antirollback check pass"
Erasing 'boot' OKAY [ 0.022s]
Finished. Total time: 0.022s
fastboot: error: cannot load 'F:\ROOT\Mi': No such file or directory
"Flash crclist error"
[General Questions and Answers] alecxs:
I don't know maybe the phone updates itself over mobile data. Not sure. If it bricks fastboot you are screwed. there is no way to unbrick then, except for paid service. check your current buildno from about phone section.
[General Questions and Answers] Leonniar:
Woah I don't want that hahaha, do you think it would be best to make a seperate thread here ? I don't have the necessary knowledge to fix this on my own...

Well I can't boot now and it always goes back to fastboot mode. Went into TWRP and reboot to system from there still went into fastboot
[General Questions and Answers] alecxs:
if you're still on the same buildno, flash only the misc partition to see if that fixes wifi.

if ROM has updated, download the ROM again and flash from batch file. it is also safe to upgrade to Android 12. But this time remove mi account beforehand.

before opening new thread, use the search for existing topic. if you think you should open new thread, post in proper section.

https://xdaforums.com/c/xiaomi-mi-10t-10t-pro.11621
[General Questions and Answers] Leonniar:
Ok thanks, I'll have to get it to boot again first because I am stuck in a new bootloop :')

Thanks for all the help !
[General Questions and Answers] alecxs:
saw this too late. so antirollback check pass was successful? then no need to comment out this check.

'F:\ROOT\Mi': No such file or directory means the batch file can't find the image files because the creator of that script forgot to quote variables.

workaround: rename all directories with whitespaces to something else.

F:\ROOT\Mi_ROM_RJDEUXM_12.5.4\

Nevertheless Erasing 'boot' was already Finished. That is the reason why device stuck at fastboot mode now.
[General Questions and Answers] Leonniar:
The antirollback check was successful because we commented out the if statement all together I think, I just phrased my reply weirdly.

I was stuck on the bootloader bootloop because there was no boot.img due to "flash_all_except_storage.bat" failing, the boot was erased and was never replaced. So I flashed the boot.img and the phone booted up properly and wifi was working as well.

I am now in the process of thinking whether I will update to the latest firmware and then root or root the phone with it's current firmware. I would like to update but the latest version has been out for only 1 month and I am not sure if root is supported yet and if latest version of magisk works so I have a bit of research to do!

Thanks for all your help !
[General Questions and Answers] alecxs:
wifi was working without flashing any partition? interesting, then it must be related to some erase command from the batch file. either exaid or sec partition, or both.
[General Questions and Answers] Leonniar:
I am not sure tbh, I flashed

boot.img

so that I can boot and go from there to fix wifi but I was happily surprised by it being fixed already hahah
[General Questions and Answers] Leonniar:
Apparently it was not fixed, only temporarily. I've made a separate thread if you could take a look:

https://xdaforums.com/t/xiaomi-mi-10t-keeps-booting-into-fastboot.4547407/

Thank you
[General Questions and Answers] alecxs:
rename the dir F:\ROOT\Mi_ROM_RJDEUXM_12.5.4 and flash_all_except_storage.bat

if still no wifi flash_all.bat (factory reset)
[General Questions and Answers] Leonniar:
Just finished, keeps showing xiaomi logo and rebooting. No fastboot no recovery no miui logo.

I noticed it removed the custom recovery, trying to boot into recovery works
[General Questions and Answers] alecxs:
flash_all.bat is processed without errors?
[General Questions and Answers] Leonniar:
I did the flash_all_except_storage.bat. When I first run it I think it failed, I got up to get some water and didn't see it but cmd closed and I think it's not supposed to do that, also it did not reboot on it's own. Then I remembered we added a line to the batch file:

setlocal enabledelayedexpansion

so I removed that and watched the whole process no errors whatsoever, after it was done device rebooted ny it's self and got me here

Safemode won't boot either

Tried running flash_all and it failed again, couldn't see where but definitely after flashing metadata
[General Questions and Answers] alecxs:
still on USB 2.0 port? after metadata only cust exaid boot recovery is missing, and sec is erased. so flash these partitions manually. you can have a look into the batch file.

for TWRP don't forget to disable avb/dm-verity

fastboot flash --disable-verity --disable-verification vbmeta images\vbmeta.img
[General Questions and Answers] Leonniar:
Yes still on the same, let me try.

The "disable avb/dm-verity" is for flashing TWRP right ? I mean I don't have to do it now right ?

Edit:

Nope, didn't work. Still restarting. I didn't erase sec because in the batch file it was commented out
[General Questions and Answers] alecxs:
yes, it is required for any modifications (such as recovery) only
[General Questions and Answers] Leonniar:
Didn't work, I tried it once again from start to finish, Also I I didn't erase sec because in the batch file it was commented out.
[General Questions and Answers] alecxs:
you should format data then (again), sorry. see post #7
[General Questions and Answers] James_Watson:
I think you'd better go to an authorized repair center for help.
[General Questions and Answers] alecxs:
lol why? bootloader is unlocked, he's perfectly able to do everything from fastboot :LOL:
[General Questions and Answers] Leonniar:
You mean re-format data to f2fs ? I am guessing not, just do format data through TWRP since default recovery only has wipe option and already tried that and didn't work. I don't mind erasing data, I didn't put in anything anyway hahaha. I will make sure everything works, I'll root properly make sure that works as well and then I can use it again finally
[General Questions and Answers] Leonniar:
Thanks but i'd rather fix it my self, I actually really like messing with things and repairing them. PCs, Consoles, Phones. Anything I can mod I do hahaha. So by fixing it my self I also learn about how this things work and when I have sufficient knowledge I can help other people as well!
[General Questions and Answers] Leonniar:
Flashed TWRP, Formatted data. TWRP console when formatting shows:

You may need to reboot recovery to be able to use /data again
Formatting metadata using mke2fs...
Done.
MTP: If MTP cannot be used, please reboot to your TWRP or ROM to create /data/media
If the /sdcard directory is empty, please manually select /data/media to view the file!
Updating partition details...
Failed to mount '/vendor' (Invalid argument)
Failed to mount '/odm' (Invalid argument)
...done

Also device still keeps restarting
[General Questions and Answers] alecxs:
I recommend to not modify anything until device is fully working. if you flash_all.bat and format cache, userdata, metadata from fastboot, it is completely stock.
[General Questions and Answers] Leonniar:
Yeah that's exactly what I wanted to do! So I should go back completely stock and see if it works
[General Questions and Answers] Leonniar:
I can't re run flash_all batch file. I get "Missmatching image and device error" The rom is for this device so I commented the check out and then I got something like: "if 0 GTR 1 set anticheck="Current device antirollback version is greater than this pakcage"" and it exits again. But the device version is 100% not greater, can't be anyway. The version I am trying to flash is the latest RJDxxEUXM version, any other version has a different version name and the OEM updater could not find any update either (from when the device was working) so no update was automatically installed either
[General Questions and Answers] alecxs:
cannot make any sense of the mount errors vendor + odm except you have upgraded to Android 12 and forgot to mention - in that case you need other TWRP. there are only unofficial builds so far.

TWRP 3.5.0 whyle

https://xdaforums.com/t/recovery-un...or-mi-10t-mi-10t-pro-redmi-k30s-ultra.4187427

TWRP 3.5.2 master

https://xdaforums.com/t/recovery-un...or-mi-10t-mi-10t-pro-redmi-k30s-ultra.4319809

TWRP 3.6.2 skkk

https://xdaforums.com/t/4187427/post-87608077

TWRP 3.7.0 skkk

https://xdaforums.com/t/recovery-twrp-3-7-0-unofficial-mi-10t-pro.4518491
[General Questions and Answers] Leonniar:
This is the one I have flashed. I previously used TWRP 3.5.0 whyle version but that was when I originally rooted my device more than 16 months ago and I was 100% not running android 12 then. Should I go back to that version maybe?

I don't know how the device would have updated to android 12, I didn't flash any other rom and I don't think android can update on it's own. Is there a way to check ? If somehow I ended up with android 12 maybe I should flash the latest MIUI update for this phone that's on android 12 as well ?
[General Questions and Answers] alecxs:
you can check current ROM from TWRP see #28

edit: on this thread there was a patched vbmeta.img at least. don't know why the --disable-verity and/or --disable-verification flags failed, but flashing vbmeta.img.empty probably does the same job.
[General Questions and Answers] Leonniar:
Yep, still "RKQ1.200826.002/V12.5.4.0.RJDEUXM" as expected, the same as first time, the same one I keep/try flashing.

"ro.build.version.release=11", to my understanding that means android 11, so no android 12 either

Edit:

Could it be a problem with flash_all.bat failing so many times ? Because I've tried to run it like 10 times so far and it only run without errors once, and another time when it crashed after metadata.
[General Questions and Answers] Leonniar:
This is my ADB version:

Android Debug Bridge version 1.0.41
Version 31.0.2-7242960

And this is the fastboot version:

fastboot version 31.0.2-7242960

Just in case there is something wrong with that
[General Questions and Answers] alecxs:
to me it sounds like usb jack/cable issue. you can try fastboot from linux pendrive. as last resort you can flash partitions manually from TWRP, but needs care.

just to rule out: make sure you are in fastboot (not fastbootd)

fastboot getvar is-userspace
[General Questions and Answers] Leonniar:
I am using the cable that came with the phone, I am connecting it to the USB 2.0 sockets of the tower so maybe I can try with the motherboard ones ? I also have different cables from xiaomi phones (original cables) just not of this exact device, could that work ?
[General Questions and Answers] Leonniar:
is-userspace: no, I am not in fastbootd
[General Questions and Answers] alecxs:
not sure what's wrong with bat file (except whitespace issue in paths you have eliminated).

either flash each all partitions manually or try linux. couldn't be that hard to flash stock ROM lol

just make sure you do no flash TWRP on stock ROM. it will break boot chain of trust, unless you have disabled avb/dm-verity.
[General Questions and Answers] pl1992aw:
Just a tip: if you had bootloop and automatically entered fastboot, better boot into fastboot mode manually on your own again, either with the power button method or fastboot command method.

Everytime after a flashing process, whether success or failed, and would need to flash something in fastboot, reboot to fastboot mode manually to avoid some unexpected processing remnants when automatically entering fastboot mode.

Reboot PC and unplug USB cable then plug it back.

Change an USB cable might also help.

Also, if the ROM folder name is long, rename it short like "ROM". Sometimes there's issue without this renaming. Put it in as the location like: "F:\ROM\"

This is probably the reason when you flash the fastboot ROM, but it finished in an instant. I see it was told.

I don't have this phone, but it may help in some way.
[General Questions and Answers] Leonniar:
I tried flash_all.bat one more time with the motherboard ports and a known working xiaomi cable and the process failed awhile sending super 6/9. So I left it for a while to eat something and when I came back the screen was completely black and on the top was written: "press any key to shutdown". Now i am looking at when and why this happens and I read about USB 3 (which I am not using) some recommending not using a PC with windows especially windows 10 (which I am running) and some saying to try USB HUBs.

Weird thing tho, after pressing power button to shut down the device went back to the fastboot bootloop so I flashed boot.img again (like I was doing before and it was working) just to see if it boots up again and I am back at the restart loop.

I will try renaming and moving the folder as well as restarting my computer and fastboot mode and if that doesn't work I guess I will have to try Linux, as flashing everything individually would take really long and it's a lot easier to mess up.
[General Questions and Answers] alecxs:
I recommend Xubuntu 20.04 LTS amd64 on pendrive (with persistent partition to survive reboots). No need to install linux. just boot from BIOS F11 or F12.

all it needs is change keyboard layout, setup internet and install fastboot from terminal ctrl + alt + T

sudo apt install android-tools-adb android-tools-fastboot

(no drivers required)

open terminal in apollo_global_images directory, then you are ready to run flash_all.sh

sudo fastboot devices
sudo sh flash_all.sh

(if fastboot devices works without sudo, you don't need sudo)
[General Questions and Answers] Leonniar:
Ok perfect, I will try this one. I will get everything ready and follow up.

I tried moving the directory and shortening it's name but that didn't work. I changed the script to not automatically exit when it fails but pause and exit after pressing a button and run it a couple of times. Each time restarting PC and rebooting into fastboot. It fails on random parts each time I could not find any consistency to the fails, I can't make sense of it at all
[General Questions and Answers] Leonniar:
I followed some advice from a person on this thread: https://xdaforums.com/t/xiaomi-mi-10t-keeps-booting-into-fastboot.4547407/#post-88081359 I flashed as is, with the MiFlashTool and I got this:

https://prnt.sc/Bk2eaj9w5Lq7

so presumably it failed but my device rebooted and is now on system set up

Edit:

3 reboots later and phone still boots fine to system
[General Questions and Answers] pl1992aw:
Good, so it's fixed.

The problem is most likely due to the long folder name.

The MiFlashTool error just means it did not lock the bootloader, but everything else were successfully flashed.
[General Questions and Answers] Badger50:
Thread closed. Please continue this discussion here if need be.

-Regards: Badger50
[Xiaomi 12 (Global)] TCBombLMG:
Im looking for a cheap high performance Xiaomi phone with a long update path (aka in Xiaomis eyes). Im looking for one with long battery life, a in-display fingerprint scanner, amazing performance for gaming and just navigating everyday tasks, preferably one with fast charging, OLED screen or better, 120Hz, and one with easy rooting like how Xiaomis have. I have my eyes on the MI 12 (people say it overheats), MI 12X and the MI 11. I want a phone that will last me a long time. Any recommendations? doesn't have to be a Xiaomi but if it has a easy rooting process like Xiaomi I might consider it.
[Xiaomi 12 (Global)] ribljaarctica:
I am using xiaomi 12 now for the past 3 days. My experiece has been absolutely perfect. Ive never had trouble with overheating, not even when i played some games and while charging. Phone becomes warm but it is waaaaaay much less than my iPhone used to have. I didnt do much research but for me on miui 13 and android 13 the experience with xiaomi 12 have beed perfect. Battery is literally undestructable and it charges in 20 - 30 minutes. Maybe the overheating was fixed in the updates i dont know. But for me and my experience with the device now, it is way better than my iphone was. Good luck!
[Xiaomi 12 (Global)] beastbrain:
first of all, the battery life of this phone with 5G is on is a joke, with wifi I get double SOT,

in my opinion don't buy mi12, this SoC is very bad and don't listen to other guy, all of them(mi12) overheat unless you live in North Pole

mi11 is better choice if you don't mind the size, 12x nice too maybe less future proof

mi11 has more roms too,

only plus for mi12 is the compact size,

to conclude, if you want a phone for many years don't buy mi12 for sure
[Xiaomi 12 (Global)] NOSS8:
It's your opinion and I respect it.

Wifi consumes more battery by downloading and streaming than data and comparing a phone that is two years old with a recent phone makes no sense.
[Xiaomi 12 (Global)] beastbrain:
well he asked for mi11, it's a nice phone imo, we should tell the truth about this phone though, battery life is not good and it is getting hot, also not big community so far and no roms, me personally I wouldn't buy again, coming from mi9, this was a big disappointment but everything is subjective, I hope this helps
[Xiaomi 12 (Global)] NOSS8:
That is to say that a cheap phone with high performance with an important autonomy and which lasts a long time, it does not exist.
[Xiaomi 12 (Global)] TCBombLMG:
Yea Ik Ik but I'm just looking for a relatively cheap one that has good performance and can last me a few years.
[Xiaomi 12 (Global)] NOSS8:
At what maximum price?
[Xiaomi 12 (Global)] TCBombLMG:
300 on eBay.

Not looking for top of the line or anything just something that lasts a while I don't like Samsungs or iPhones and I had a Poco f3 a few months ago.
[Xiaomi 12 (Global)] NOSS8:
Check here:

https://www.kimovil.com/

and if you want custom roms avoid Media Teck socs.
[General Questions and Answers] mobilos:
Hello!

Is there a good reason to wait for the Google Pixel Fold instead of the Samsung Fold Z4?

From:

1) what you know for these phones,

2) your own experience with z4

3) your wider experience of Google vs Samsung

Thanks!
[General Questions and Answers] xXx yYy:
AFAIK there’s no solid information about any release date as yet, as Google hasn’t even confirmed that a foldable device will be launched. There was even some speculation that the Pixel foldable project had been cancelled.
[OnePlus Nord N20 5G] TweakybirdsTheWord:
Sooooo a while back I really screwed up my OnePlus N20 5G (CPH2459). Currently, it will turn on, but after one try at the OnePlus logo it reboots to recovery. I can get it to go into fastboot mode but ADB doesn't detect it.

It was rooted using Magisk.

My first question is, does anyone have the full firmware for CPH2459?

And...

What can I do to get ADB to recognize the phone so I can flash the firmware?
[OnePlus Nord N20 5G] TweakybirdsTheWord:
Ok yes I'm using the red cable

I was using the driver's from the website.

I was trying to use rom2box.

I tried.

ADB won't recognize it because of the problem if not booting past the logo and going straight into recovery. Fastboot didn't recognize in that mode either.

Everything leads back to my issue of needing firmware for the CPH2459 model.

I figure if I just flash stock it'll be fine, right? But I can't find full stock...
[OnePlus Nord N20 5G] TweakybirdsTheWord:
I know adb and fastboot are different. But I'm in fastboot mode right now and I can't get the phone to show up. Also when I hold only the power button, it vibrates, shows the OnePlus logo restarts on its own, vibrates again, shows the OnePlus logo again, then loads ColorOS Recovery
[Android Apps and Games] allvideodownloader:
Are you looking for the latest and pro GB version APK with all the helpful Whatsapp Tools? Look no further than the GB Version APK Pro Tool 2023. This app is packed full of useful Whatsapp tools that will help you to save and download all your Whatsapp statuses quickly and easily. Plus, you can easily share these statues with your friends and family.

The StatusSaver app offers a rich set of tools that allow you to send bulk messages, create WhatsApp statuses, and download any video from any social media. It's easy to use and provides excellent quality and performance. With the StatusSaver app, you will be able to quickly and easily download any WhatsApp stories.

Moreover, you can get other useful and helpful tools such as Insta reels downloader, FB video downloaders, phone cleaners, internet trackers, photo filters, and more! In short, you will have all the useful tools in one place. So, don’t need to download any other app. It will save your mobile space.

The GB version StatusSaver app is an excellent choice for anyone who wants to keep their smartphone virus free and make it more powerful. It is a combo of all the tools that you think your mobile should have.

Download here
[Redmi Note 10 Pro] HmanPsionic:
I'm new to this forum and i registered here for the sole purpose of finding help. My phone is bootlooping and I have tried a few stuffs searching for fix via google but none of them worked and gives me error. Listed below are stuffs i tried.

1. Wipe data using Recovery Mode (Volume Up and Power Button)

2. Safe Mode using Recovery Mode (Volume Up and Power Button)

3. MiFlash using (https://xiaomifirmwareupdater.com/archive/miui/sweet/) but got error: FAILED (remote: Erase is not allowed in Lock State)

4. MiFlash_Unlock but cannot proceed as i don't have MI account and i don't remember logging in on the phone.

Any kind of help is appreciated.
[Redmi Note 10 Pro] alecxs:
you need prog_ufs_firehose_sm7150_ddr.elf for Poco X3 / Mi 11 Lite / Redmi Note 10 Pro

https://xdaforums.com/t/no-auth-col...ehose-files-for-qualcomm-based-phones.4368989

https://xdaforums.com/t/help-stuck-in-edl-mode.4501121
[OnePlus 10 Pro] nasnat:
Hi,

I'm trying to flash eu/in rom into my Chinese device.

I managed to unlock bootloader.

But I could only get into USB debug mode and recognize the device with ADB (used macbook, but also on PC) when the USB configuration was "file tranfder" and not "charging".

I'm now trying to use fastboot enhance, but it won't recognize the device in bootloader mode, even though it's connected....

I'm frustrating, can anyone help?
[OnePlus 10 Pro] ze7zez:
You didn't write if and what drivers you installed for your oneplus and the latest adb/fastboot from google.