yashsingh1/xdaforums huggingface dataset:
[Redmi Note 10S] shw2021:
Hi

I have a Xiaomi Redmi Note 10S that randomly rebooted during normal use and then got stuck in a boot loop, it loads the 'powered by android' screen then reboots on a loop to this screen. There was no notification of update or suchlike, however I am aware there has been a recent update sent out, however I don't know if it had been sent to this phone and automatically rebooted itself.

I would be eternally grateful for any advice or guidance in trying to recover photos and data, or at least being able to boot the phone to enable this in the usual manner. I have very limited knowledge of this and have read several posts here and elsewhere over last 24hrs, but would appreciate some clarification of some points below in 'questions'. Phone is 3 months old, Xiaomi can't help. they wipe it on receipt, can't find local phone shop to help.

The phone is stock as new from the factory.

Situation:

-Boot loops as above

-Can access MIUI recovery 5.0 by pressing volume and power buttons, only options are 'reboot' (just loops again), 'wipe' (not an option as need to retrieve photos) and 'connect mi assistant' (can connect by ADB sideloader in this mode)

- Can access fastboot by pressing volume and power button and fastboot devices sees it connected

Main objective:

Retrieve photos and whatsapp messages

Attempted solutions:

-reboot through recovery menu on MIUI recovery 5.0, loops still

- tried to connect to Xiaomi PC suite, phone not seen as connected (is seen through command line ADB/fastboot devices, i think perhaps the phone isn't supported by PC suite)

- I tried a suggested solution of fastboot continue when in fast boot mode, but i get the error FAILED (remote: not support on security), what does this mean?

Questions:

- As I understand it as the bootloader is locked and it is a stock ROM I cannot retrieve the data through ADB/fastboot, is this correct?

- I considered wiping the cache partition in the hope this may fix the bootloop (there is no option to do this in MIUI recovery just a full wipe) so was going to do it through fastboot but I read it deletes the hole partition I.E. not just the data within, is this the case?

Open to suggestions but from what I gather from limited research is my only options would be appear to be :

A: flash a system.img (I do not know how I obtain this or how to load it, nor do I know what version of MIUI / Android the phone was on before this fault)

B: sideload a .zip file having edited the .bat file to remove the overwrite of the user data and remove the wipe command. Will this leave the photos/app data intact? (again i do not know how i identify the right official ROM to download and whether it is recovery or fastboot)

C: load a boot.img, again same challenges as above

Thank you for any advice or help you can offer
[Redmi Note 10S] mvikrant97:
If you have Whatsapp backup stored on google account that can be used it to restore again. Regarding your photos, were they stored on Google account?
[Redmi Note 10S] shw2021:
Thank you, no remote backups unfortunately
[Redmi Note 10S] mvikrant97:
Flashing phone without user data data partition may also help.
[Redmi Note 10S] Deleted member 1890170:
@shw2021

Take note that in the moment you unlock phone's bootloader - what is required to sucessfully run most of the FASTBOOT commands and/or flash a Custom ROM - all user-data automatically get wiped.

Take note that ADB won't work on a bootlooping device because a stable USB-connection isn't given.
[Redmi Note 10S] blackhawk:
Try to get it to boot in safe mode.

Sometimes when boot looping they will go into safe mode automatically after a few cycles... depending on the degree of damage.

If you get into safe mode, don't reboot, grab the data then.

Try clearing system cache.

If you reflash all bets are off... in the future always redundantly backup critical data to at least 2 hdds that are physically and electronically isolated from each other and the PC.

Edit, OP got me with the quickness...🤣
[Redmi Note 10S] shw2021:
Thank you for quick reply, I don't know how i get it to boot in safe mode, it has been left overnight and continues looping until it beeps and turns off, I can get it to the 'fastboot' screen or the MIUI recovery screen. How can i grab the data? From what I read, as it is locked pulling data from sdcard won't work? Grateful for pointers though. How do I clear system cache please, there is no option for this in MIUI recovery menu? Indeed I am kicking myself, never had a phone do this before, I will definitely take on board the double back up point you made.

Thank you for quick reply, I wasn't intending to unlock the bootloader, again this is only what I have read, that if loading a stock ROM or .img then the bootloader does not need to be unlocked. Is it the case that I cannot boot a boot.img or flash a system.img?

I seem to get a stable ADB connection by booting phone into MIUI recovery menu and selecting 'connect miassistant', i then get ADB sideloader and phone shows on devices
[Redmi Note 10S] mvikrant97:
This tutorial covers how to flash the Redmi notes 10S and here are the flash file links.

I would recommend you not to flash the userdata and cache partition to prevent data loss.
[Redmi Note 10S] Deleted member 1890170:
Then try to sideload phone's Stock ROM via ADB Sideload method as offered in recovery menu - but this may overwrite already existing user-data, because the /data partition, where user-data are stored, is part of Stock ROM.
[Redmi Note 10S] blackhawk:
Keep trying to boot it up, it may take. Try at at dozen times... play with it.
[Redmi Note 10S] HeiloWorid:
You can recover data from formated or lost partition via data recovery software .
[Redmi Note 10S] mvikrant97:
Without rooting the device it is not possible to recover that data and the partition once overwritten while flashing will wipe all data.
[Redmi Note 10S] HeiloWorid:
I recovered data successful (pictures) on my friend's phone who was with wipe data and factory reset.
[Redmi Note 10S] shw2021:
Do you have specifics please? Program used, method employed? thank you
[Redmi Note 10S] shw2021:
From what I gather from @mvikrant97 and elsewhere, editing the flashall.bat file possibly offers the opportunity to not overwrite the user data.

However MIUI recovery menu doesn't have the option to initiate the load of an ADB sideloaded file, if i sideload the stock ROM will the phone load it upon reboot, or do you need to have an option within the recovery menu on the phone to make it load it? thank you
[Redmi Note 10S] shw2021:
No luck with this unfortunately, thank you for the suggestion though was definitely worth a shot
[Redmi Note 10S] mvikrant97:
Which software did you used?
[Redmi Note 10S] HeiloWorid:
I use software from Hiren’s BootCD PE

Hard Disk Tools/Data Recovery:Lazesoft Data Recovery ,Puran Data Recovery ,Puran File Recovery ,Recuva .I've tryed with all of them and they have different percent success more than 90% recovered of all pictures.
[Redmi Note 10S] shw2021:
How do you get the phone to show as a drive please, even if mounted and visible in my PC these programs do not

recognise it as a drive?
[Redmi Note 10S] HeiloWorid:
You must wipe data (factory reset) to repair boot loop.After that your phone will exit from boot loop and start work .From developer options activate USB debugging to see phone as a drive.Then use recovery software to recover your deleted data.You don't have many choises .
[Redmi Note 10S] shw2021:
Thank you, how did you mount as mass storage. As I'm sure you know newer Android phones no longer mount as drive (MSC), only by MTP /PTP, they therefore mount as a device and the recovery software doesn't recognise this. This is with USB debugging on.
[Redmi Note 10S] stuntdouble:
Unfortunately without root access on the phone prior to the bootlooping, if it isn't coming on on it's own, unless you know or can guess the cause you're out of luck.

If you were modifying/installed some new app at some point before restarting the device when it was last booting normally you could download the apk and try re-installing it via adb over usb, but you would probably get permission errors, depending on where it was stored.

If the data is incredibly important you might be best to put the device aside and wait until it can be accessed by some future tech/software, as recovery is technically possible until the data is actually overwritten. Hard resetting and attempting recovery afterwards probably won't work as the data will most likely be encrypted if you used any sort of security on it.

Unfortunately it's too easy for a device to be stolen/damaged/lost to a fire so it's always recommended to backup important data regularly in a totally separate location.
[Redmi Note 10S] HeiloWorid:
I will test on my 10s ,but your main problem is boot loop ,fix it and then think about recover.

Edit: I'm sorry I've tryed on my 10s with no luck I will try again when I have more time hope you find solution or

QUOTE="stuntdouble, post: 85935111, member: 1676752"]

If the data is incredibly important you might be best to put the device aside ...

[/QUOTE]
[Redmi Note 10S] J6idot:
if your bootloader is locked, then i have absolutely no idea if it's even possible to grab the data. You can try flashing one of the MIUI updates via miui recovery, or you could use mtkclient to dump the userdata and md_udc partition. If you can, you can try decrypting the data partition (i don't know if this is possible tho)
[Redmi Note 10S] WoKoschekk:
No, you won't! Maybe it's possible on your desktop harddrive which is not encrypted. But Android devices always have an encrypted data partition and so it's impossible to recover any files from it once the partition is formatted.
[Redmi Note 10S] blackhawk:
Forced encryption became mandatory with Android 11, before that it was optional.

If encrypted and lose the encryption key or access to it, game over.
[Redmi Note 10S] WoKoschekk:
No, that's not true. The common ways to encrypt devices running Android 11 or below are

1.) full-disk encryption (FDE) or

2.) file-based encryption (FBE)

FDE was introduced in Android 4.4 and since Android 5 the 'forceencryption' flag (which clearly indicates FDE) was used in the fstab on all new devices.

Beginning with Android 10 it is mandatory to use FBE instead of FDE. FBE is indicated by the fstab flag 'fileencryption'.

source: https://source.android.com/security/encryption
[Redmi Note 10S] blackhawk:
You have no choice with Android 11 as it encrypts on/before the first boot up.

Pretty sure 10 is the same as Pie and below, optional.

Pie variant with no forced encryption and no secure lock... it's wide open. Which also means it's much harder for me to be inadvertently locked out. Security is purely physical... with a known intolerant temper.
[Redmi Note 10S] WoKoschekk:
No, it's not optional! For Android 5 it was 'strongly recommended' to encrypt /data and devices running A5 should support that feature (source: https://source.android.com/compatibility/5.0/android-5.0-cdd.pdf)

Devices running Android 6 must support encryption of /data on first boot aka forceencryption (source: https://source.android.com/compatibility/6.0/android-6.0-cdd.pdf).

See point 9.9 in each PDF file.
[Redmi Note 10S] blackhawk:
Support isn't the same as forced.

The fact that there's an option means it's not encrypted by default. In order to advanced security like fingerprint unlock you must enable encryption.

Lol, we do you think I never tested the fingerprint scanners on both of my N10+'s... I don't want them encrypted.
[Redmi Note 10S] WoKoschekk:
The first lines of both PDFs are:

9.9 in both PDFs:

I don't see anything about 'optional'. It clearly states that your device MUST met the following conditions. One of them is that your device MUST support full-disk encryption on first boot. It's not called 'should' or 'it's recommended'. IT'S MANDATORY!!
[Redmi Note 10S] WoKoschekk:
It's up to you to link another official source which defines that force encryption is mandatory only on devices shipped with Android 11+. Until then, the term "must" is a clear indication that there is no other alternative.
[Redmi Note 10S] blackhawk:
I'm holding the proof in my hand.

This N975U/Pie is not encrypted🤣 I could encrypt it if I desire.

Yes, well... you need to get your word definitions and meaning in context correct. You're documentation says exactly what I stated.
[Redmi Note 10S] codei5503:
Try to unlock Bootloader instantly available in xda thread, if u successfully unlocking Bootloader then flash twrp
[Redmi Note 10S] WoKoschekk:
And here is your fstab taken from the latest Pie build available for the N975U. Seems to be encrypted like all other devices running Android 6+. You should have a look in your /vendor/etc/fstab.qcom (read-only for all users, no root needed). ;-) Or run getprop ro.crypto.state in any terminal app with non-root privileges.
[Redmi Note 10S] WoKoschekk:
I'm just wondering how you do that?? I tested it by myself and wasn't able to recover one single file... Moto G6+, encrypted, I filled the internal storage up to 95% with all known media formats. Then wiped /data in recovery and booted up again. After setup wizard was finished I immediately started recovering some files using your tools:

- Lazesoft

- Puran Data Recovery

- Puran File Recovery

- Recuva

NONE of them recognized my phone while Win Explorer did!! My device has also been shown up correctly in the system's device manager.

As I wrote before: It's not possible to recover any files after /data has been wiped.
[Redmi Note 10S] blackhawk:
You are correct. My apologies.

It's seems quit convoluted and depends on the manufacturer.

Demystifying Android Physical Acquisition

Numerous vendors advertise many types of solutions for extracting evidence from Android devices. The companies claim to support tens of thousands of models, creating the impression that most (if not all) Android devices can be successfully acquired using one method or another. On the other side o

blog.elcomsoft.com

Think I'll go backup my data... again🤣
[Redmi Note 10S] designlab:
I have the same problem, but don't care about data but need to get out from bootloop, no recovery or fastboot just bootloops till batery us dead and again any ideas?
[Redmi Note 10S] WoKoschekk:
Try press and hold Vol- during the bootloop to get it into fastboot mode.
[Redmi Note 10S] mvikrant97:
I recommend you EaseUS data recovery software.

You will need rooted phone to do that.

Please mind that you have not written any data to the phone because it will overwrite any existing data on the partitions making it less likely to recover any data from the phone.
[Redmi Note 10S] WoKoschekk:
Partition /data is only accessible when your display is unlocked. With a locked screen it remains encrypted.
[Redmi Note 10S] designlab:
It does not work tried multiple times, I cold fix it via fastboot but doesn't boot on it either recovery I usually work with Mac but even tried on pc with multiple tools bot the problem is that doesn't boot so computer does not recognize the device, I know it can be fix sine some one fixed form me once for the same issue... any other ideas (can't reach this guy anymore)
[Redmi Note 10S] jrdef:
Do you know how I could use this possibility in samsung device?
[Redmi Note 10S] WoKoschekk:
ADB sideload? A stock recovery only accepts OEM signed flash files like OTA updates.
[Redmi Note 10S] jrdef:
my problem is this one

https://xdaforums.com/t/s20-fe-bootloop-after-security-update.4568331/#post-88383211
[Redmi Note 10S] WoKoschekk:
And not related to this thread. I send you a pm.
[Redmi Note 10S] Surpalsingh:
Same thing happened with me unfortunately, I had to factory reset.
[Redmi Note 10S] blackhawk:
I use the SD card, then two .5tb OTG flashsticks, then eventually 2 hdds to store cam photos. So at the very least there's 2 copies on the phone itself then 2 more on flashsticks, both stored in different locations.

I'm very conservative with what I install and avoid sampling apps. I only load apps I use. No firmware upgrades or updates. The result is a very stable Android. Current OS load on this N10+ will be 3yo in June.

Prior to that I had two back to back boot loops in 3 days... that was fun🤣 After that I streamlined my reloading and data organization/backup, a lot. Screwing with the firmware is the most sure fired way to crash an Android followed by installing trashware or buggy apps. Malware is seldom an issue on Android 9 or higher unless you do stupid things.
[Redmi Note 10S] Surpalsingh:
I have started backing up all photos and files on mega/drive.
[Redmi Note 10S] blackhawk:
Always use at least 2 hdds for backup. Store each in separate locations in case of fire, near lightning strikes, etc. An earth grounded metal box or safe is best. Keep all magnets away from the hdds! Store in a cool, dry place and make sure the hdd is warmed up to at least 72F before spinning it up. Protect from vibration and jolts while spinning...

Time staggering the backups to the hdds adds more layers of protection from total data loss.

Never connect a backup to a suspected infected device. Hand copy/paste folder/files, then verify.

Make sure they are readable.

Never clone backup drives or compress data as it can damage media files!!! It can remove needed null marks...
[Redmi Note 10S] Surpalsingh:
My phone and one spare phone are the only technological devices I possess. I have to rely on online back up options instead.
[Redmi Note 10S] Manmeet_2008:
Hi, i have a solution, you can try to reboot to miui recovery and then connect to mi assistant. Through pc, you can flash the recovery.zip of firmware file by using command adb sideload "recovery.zip". Remember to flash the previous update file so that this problem dont occur again. If you can ellaborate about the miui version of your device. I can help you out more.
[Redmi Note 10S] Mark8:9:
Good morning, I have a Xiaomi Redmi 9a that starts continuously after installing the recovery. I can't get into fastboot anymore. What can I do to solve the problem? Thank you.
[Redmi Note 10S] mvikrant97:
Flash the device in BROM mode using SP flash tool.
[Redmi Note 10S] Mark8:9:
Good morning, I have a Xiaomi Redmi 9a that starts continuously after installing the recovery. I can't get into fastboot anymore. What can I do to solve the problem? Thank you.

I can't flash because it keeps restarting.....
[General Topics] HorNet505:
is it possible to ve all app.installations by saving and restoring the Registry Key SOFTWARE?

It's just nerving to re-install everything after updating to new ROM
[Philips, Sony, TCL Android TV] italoc79:
I have a brand new android 10 TV philips oled, it's possibile to change AUDIO OUTPUT (like home theater or soundbar) via ADB shell ?

if i try with this command:

adb shell settings put global hdmi_system_audio_control_enabled 1

my home theater power on but no audio, i think the with another command i can redirect the audio via HDMI ARC

can you help me?
[Android Head-Units] Michalski124:
Hello guys, i bought HU as in attachments, I'm very happy with that radio, it is from Ali and it is called 3C version with YD7388 and 4754 radio ic. It is way faster than topway T3, but i have no Polish language - that's bad because that radio is in my dad's car and he don't understand English. Is there any firmware with Polish language or something like more locale 2 but without root? Or maybe root for that device.

Other thing is that i can't change default launcher, car launcher works but when I press home button default launcher opens. Thank you!
[OnePlus 9 Pro] Zeus0fyork:
Is it possible to use the tmobile modem on the NA unlocked variant running android 12?

thanks
[OnePlus 9 Pro] miravision:
Always take a TWRP backup before experimenting by flashing different modems which at its worst will not work but the backup can restore your working modem
[OnePlus 9 Pro] Zeus0fyork:
Oh trust me, been here for a minute already have things backed up. Normally I buy the TMO variants for the modem but I finally said f*** it and bought an unlocked model...only to have my 8T smoke my 9 Pro in a speed test fml
[OnePlus 9 Pro] Zeus0fyork:
also, they got TWRP running on A12? I've just been using fastboot
[OnePlus 9 Pro] craznazn:
My 8T smoked my 9Pro (and iPhone 13 Pro, and Pixel 6 Pro) in all my tests.

8T is Tmo -> EU -> AOSP, with EU firmware

9Pro was tried with Tmo and NA modem.

iPhone 13 is just that

Pixel 6 Pro is TMo variant but I don't think there's any actual difference other than SIM lock

I've said this and I'll say it again. The 2021 generation of modems/chipset/etc is just trash. Runs hot, throttles, and the modems aren't optimized. Sure, on paper you can now CA n41+n71 but does it actually do that?

If you have an 8T, stick with the 8T IMO.

But to answer your question, I don't see why not. Previous tests with the 9Pro for both LE2125 and LE2127, I can run the tmo modem in both versions, but the LE2127 required the tmo modem.
[OnePlus 9 Pro] TheKnux:
T-mobile a12 user here. Alls good here. One day I was able to pull 250mbps down.
[OnePlus 9 Pro] Zeus0fyork:
which modem are you using? Tmobiles or stock A12?
[OnePlus 9 Pro] Zeus0fyork:
Don't know whats wrong, but when I flashed the 7.7 Tmobile modem boot "boots" and my computer detects it, but it doesn't have any display. Flashed A12 unlocked modem and it works. Guess not or I have to wait until Tmobile 12 comes out for that one
[OnePlus 9 Pro] FizzyAps:
there is a easy fix where you dont have to flash mdm anymore lol

me and another dev made a guide on how to retain mdm
[OnePlus 9 Pro] FizzyAps:
nice to see it working
[OnePlus 9 Pro] FizzyAps:
wrong!! LE2127 mdm issue was fixed by me and Libra420T
[OnePlus 9 Pro] Zeus0fyork:
? I have an unlocked OnePlus 9 pro but I'm on t mobile so I want to use the tmo modem... You're saying I don't need to flash the modem?
[OnePlus 9 Pro] FizzyAps:
if you have the unlock model then no it already has tmo bands

flashing tmo mdm will do nothing on the global model
[OnePlus 9 Pro] Zeus0fyork:
T-Mobile modem should add carrier aggregation.... Unlocked models don't have that
[OnePlus 9 Pro] craznazn:
Nah, you should be good...

OnePlus 9 Pro (US) (LE2125) | 4G/5G Bands & Combos

4G & 5G Bands, Carrier Aggregation and Dual Connectivity Combinations for OnePlus 9 Pro (US) (LE2125)

cacombos.com

66-2_n71-n41

n71_n41

12-4-2-2

what more are you expecting?
[OnePlus 9 Pro] FizzyAps:
tmo is a carbon copy of the NA model lol

flashing tmo mdm will not do anything i promise you
[OnePlus 9 Pro] FizzyAps:
Na model

View attachment 5455019
[OnePlus 9 Pro] Libra420T:
naw bro you should be fine 😊 👍
[OnePlus 9 Pro] Libra420T:
LE2127 is the one that op decided to say f*ck it "who needs modem anyways?" 😂😂
[OnePlus 9 Pro] TheKnux:
Tmobile.
[OnePlus 9 Pro] :
It's too bad that for the 9 non pro a modem flash doesn't resolve no data on Android 12.
[OnePlus 9 Pro] Zeus0fyork:
I'd just like to point out I went back to A11 from A12. I was using stock modem and only getting max of 20-30 mbs download. Flashed a TMO modem and now i'm getting 100+...but I guess its just placebo. Do it or don't, its your phone (y)
[General Questions and Answers] Dgcato:
Cant get to fastboot. Lg wont release an unlock bin and none of the one click root works. I want to recover all the deleted info on it but need root for full recovery. Any info would help. Please and thank you
[Galaxy Tab S Q&A, Help & Troubleshooting] paparazzo79:
I just got T800 with Lolipop but I really don't like it.

It's a bit laggy and slow specially on youtube videos,720P okay 1080p very sloe buffering,freezing etc.

I wanna try custom ROM.

Which one would you recommend me to install?

I have LineageOS on my other tablets so some other ROM would be interesting to try out.

If not I can install LineageOS even on this one,if everything works flawlessly.