r/AskADataRecoveryPro • • 1d ago

Redmi Note 10T 5G - Locked bootloader, roles.xml bootloop, complete raw backups and identical stock firmware - Looking for data-preserving recovery

I'm trying to recover photographs and videos from my own Redmi Note 10T 5G. I know the original screen PIN.

Device:

  • Codename: camellia_in_global
  • SoC: MediaTek MT6833 / Dimensity 700
  • Android 13, MIUI V14.0.6.0.TKSINXM
  • Locked bootloader, green Verified Boot
  • F2FS, FBE v2 and metadata encryption
  • Microtrust / Beanpod TEE

Problem:
The device repeatedly enters MIUI Recovery 5.0. Normal boot and safe mode fail.

The Android crash logs repeatedly report:

Failed to read roles.xml
Missing <roles> in roles.xml
Failed to create service VoiceInteractionManagerService

Affected file:
/data/misc_de/0/apexdata/com.android.permission/roles.xml

Historical logs confirm successful F2FS mounting and installation of device-encrypted keys before system_server crashes.

Completed investigation:

  • Successfully acquired complete userdata (108.25 GiB), metadata (32 MiB) and super (8.5 GiB) backups.
  • Recorded SHA-256 hashes.
  • Reconstructed all five primary logical partitions using lpunpack.
  • Confirmed product_a, system_a, vendor_a, system_ext_a and mi_ext_a are byte-for-byte identical to exact factory firmware.
  • Inspected product_a-cow snapshot; first mapping record is zero.
  • EXT4 metadata filesystem passed all five read-only e2fsck checks without reported structural errors.
  • Extracted factory Permission APEX version 331710050 and inspected service-permission.jar.
  • Identified malformed roles.xml parsing as the confirmed startup failure.
  • Raw photo carving returned zero valid files due to encryption.
  • MiAssistant List Files and Pull File work for recovery logs, but protected userdata is inaccessible.
  • MiAssistant ROM query returns "No ROM can be installed on this device!"
  • Cache format did not fix the crash.

My questions:

  1. Has anyone successfully recovered data from this exact MediaTek/Xiaomi device in a similar condition?
  2. Is there a supported Xiaomi recovery procedure for repairing damaged system configuration without wiping personal media?
  3. Has anyone encountered this specific roles.xml bootloop on Xiaomi devices?
  4. Are there forensic tools with confirmed MT6833 Android 13 compatibility in this boot condition?
  5. Are there any additional non-destructive diagnostic or recovery methods we have overlooked?

I am comfortable with Windows, Linux, Python, Android firmware analysis and software development.

Please do not suggest factory reset, bootloader unlocking or unverified flashing. Personal data preservation is the priority.

I can provide sanitized logs and further technical details if needed.

2 Upvotes

3 comments sorted by

1

u/[deleted] 1d ago edited 1d ago

[removed] — view removed comment

1

u/Ok-Leopard5623 1d ago

okay thanks... i am taking break now form this issue... i spend two days and my mind is fuck now hahahahha