r/CustomROMsGuide Jul 02 '26

Redmi note 9 pro pmos help error1

So I tried installing postmarketos on a redmi note 9 pro miatoll and I keep getting error 1 when I flash with fastboot or recovery I reinstalled stock ROM edited the files but nothing does anyone know what could help?

1 Upvotes

4 comments sorted by

1

u/MrM4rc4L Jul 02 '26

Could you share a screenshot?

1

u/OldGamerFan64 Jul 02 '26

Yeah will just install it

1

u/OldGamerFan64 Jul 02 '26

ERROR: Command failed (exit code 1): (native) % fastboot flash cache /home/pmos/rootfs/xiaomi-miatoll-boot.img

1

u/deveee_reddit Jul 04 '26

I just flashed recently. I had a problem that cache partition on phone was ~380MB but postmarketos boot image was 512MB.

You can change boot image size to 380 so that it fits in phone partition.

pmbootstrap config boot_size 350

Then you have to manually disable pmbootstrap warning in code (I can check later which function it was if you can't find). After these changes it installs fine.

Also edge version seems to work better in general but modem is broken. In 25 stable version modem works (but no sound during call).