banner



How To Clear Other Files In Redmi Note 4

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

[BOOT][IMG][PATCHED] Boot Image Partition without OVERWRITE OF RECOVERY for MERLIN (Xiaomi Redmi Note 9 / Xiaomi Redmi 10X 4G)

  • Thread starter VD171
  • Start date
Madmoud
  • #21
What is the version of the MIUI ?
MIUI 12.5.1, I used to flash it on that version but apparently after trying miui 11 with mi flash then updating to miui 12.5.1 it caused a problem
  • #22
MIUI 12.5.1, I used to flash it on that version but apparently after trying miui 11 with mi flash then updating to miui 12.5.1 it caused a problem
Did you unlock bootloader?
Did you flash patched vbmeta?
Madmoud
  • #23
Did you unlock bootloader?
Did you flash patched vbmeta?
I obviously unlocked my bootloader, I flashed patched vbmeta bc using stock vbmeta with disabled verity and verification gives error 0.
The vbmeta is okay, I am just super annoyed by not being able to flash a patched boot image without CMDLINE OVERFLOW
  • #24
I obviously unlocked my bootloader, I flashed patched vbmeta bc using stock vbmeta with disabled verity and verification gives error 0.
The vbmeta is okay, I am just super annoyed by not being able to flash a patched boot image without CMDLINE OVERFLOW
You really need patched vbmeta.
You can flash ANY patched vbmeta, any version will works perfectly.
Madmoud
  • #25
You really need patched vbmeta.
You can flash ANY patched vbmeta, any version will works perfectly.
Okay, I already tried the patched vbmeta for MIUI V12.5.1 but it didn't work so im going to try different ones.
Madmoud
  • #26
You really need patched vbmeta.
You can flash ANY patched vbmeta, any version will works perfectly.

Okay, I already tried the patched vbmeta for MIUI V12.5.1 but it didn't work so im going to try different ones.
Okay, I used the 12.0.1 patched vbmeta and now I can see the redmi logo with NO cmdline overflow, it just cant boot to miui so i will just flash a custom rom and be happy with it
  • #27
Okay, I used the 12.0.1 patched vbmeta and now I can see the redmi logo with NO cmdline overflow, it just cant boot to miui so i will just flash a custom rom and be happy with it
Apparentely you need to flash stock miui again.
And then, you can apply changes again.
Madmoud
  • #28
Apparentely you need to flash stock miui again.
And then, you can apply changes again.
Okay, I think I finally found the bottom of the problem.
I flash 12.0.6 and I still had the same issue when I make a change to the device's partitions such as boot it bootloops, which indicates it's a vbmeta issue, this is probably related to "Rewriting vbmeta struct at offset: 0" when using the disable verification and verity command, even patched vbmeta works like stock for me. I am just gonna back up all my devices IDs and my IMEIs then I'ma format all with sp and start over.
  • #29
Okay, I think I finally found the bottom of the problem.
I flash 12.0.6 and I still had the same issue when I make a change to the device's partitions such as boot it bootloops, which indicates it's a vbmeta issue, this is probably related to "Rewriting vbmeta struct at offset: 0" when using the disable verification and verity command, even patched vbmeta works like stock for me. I am just gonna back up all my devices IDs and my IMEIs then I'ma format all with sp and start over.
Format all does NOT solve any problem.
It just causes more problems.
NEVER TRY TO FLASH USING FORMAT ALL MODE.
Just flash stock miui using firmware upgrade and it's enought.
Firmware upgrade mode clear all user data and keep all sensitive data, like IMEI and MAC.
Madmoud
  • #30
Format all does NOT solve any problem.
It just causes more problems.
NEVER TRY TO FLASH USING FORMAT ALL MODE.
Just flash stock miui using firmware upgrade and it's enought.
Firmware upgrade mode clear all user data and keep all sensitive data, like IMEI and MAC.
I wanted to flash 12.0.1 Indonesia and i followed the method and still couldn't flash the vbmeta correctly.
Until I FINALLY found the problem.
My platform tools weren't working normally...
I kept trying to fix a simple problem...
anyways, if someone says that when writing vbmeta it says vbmeta writing struct at offset: 0
then tell them to use MINIMAL adb and fastboot.
that was the most unexpected issue I had...
  • #31
I wanted to flash 12.0.1 Indonesia and i followed the method and still couldn't flash the vbmeta correctly.
Until I FINALLY found the problem.
My platform tools weren't working normally...
I kept trying to fix a simple problem...
anyways, if someone says that when writing vbmeta it says vbmeta writing struct at offset: 0
then tell them to use MINIMAL adb and fastboot.
that was the most unexpected issue I had...
Yes.
I strongly suggest you to keep on adb and fastboot.
You can find them here:
Madmoud
  • #32
Yes.
I strongly suggest you to keep on adb and fastboot.
You can find them here:
I have a question though, I have been unable to mount product as r/w, I already managed to mount system and vendor as r/w, I just want to change a file in product.
  • #33
I have a question though, I have been unable to mount product as r/w, I already managed to mount system and vendor as r/w, I just want to change a file in product.
Did you already try this?
Madmoud
  • #34
Did you already try this?
Yes, and it's working perfectly fine
Madmoud
  • #35
Did you already try this?
I just want the product partition to be r/w, not the system/vendor bc I want to change the boot animation
  • #36
I just want the product partition to be r/w, not the system/vendor bc I want to change the boot animation
I think you can do the same to other partitions than system too.
Madmoud
  • #37
I think you can do the same to other partitions than system too.
Yeah, i will scramble the internet for some script that sets product partition to r/w

Similar threads

How To Clear Other Files In Redmi Note 4

Source: https://forum.xda-developers.com/t/boot-img-patched-boot-image-partition-without-overwrite-of-recovery-for-merlin-xiaomi-redmi-note-9-xiaomi-redmi-10x-4g.4209263/page-2

Posted by: gonzalesandlever.blogspot.com

0 Response to "How To Clear Other Files In Redmi Note 4"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel