Read Only File System after Rooting

Search This thread

vulcanY

Member
Jan 19, 2022
6
3
When I rooted my device , Redmi Note 9 MIUI 12.5.2 , It gave me all root privileges except an error of " Read-Only File System " .

I can change some system files, but some files Can't be changed or deleted or edited anyway.

I wanted to change the Boot Animation, so I took a zip file and deleted the boot animation.zip from system/media , but as soon as I delete , somehow it magically gets restored. I am not able to overwrite that file.

I tried to install magisk but it shows read only file system . I did also try mount -o remount commands , but Nothing works.


Please help me in this situation!!
 

Attachments

  • Screenshot_2022-01-19-08-28-02-576_com.topjohnwu.magisk.jpg
    Screenshot_2022-01-19-08-28-02-576_com.topjohnwu.magisk.jpg
    147.8 KB · Views: 17

lebigmac

Senior Member
Jan 31, 2017
1,036
677
You cant mount system as read-write.
Try this:
I said you can NOT mount system as read-write.
Are you sure?
Just post your question in the thread and @lebigmac soon will reply you.
He will love your feedback :)

Hi @VD171 @vulcanY
What do you mean system cannot be mounted as rw on your Redmi Note 9 ? Does it have shared_blocks read-only feature? You can check like this
Bash:
adb shell
su
tune2fs -l /dev/block/dm-0

What about the other partitions? /vendor , /product, /system_ext, /odm? Same problem? I know /odm can sometimes cause trouble...

If you're lucky next version (which is coming very soon) might do the trick but I can't 100% guarantee it yet ;)(y)
 
Last edited:
  • Like
Reactions: VD171

vulcanY

Member
Jan 19, 2022
6
3
Hi @VD171 what do you mean system cannot be mounted as rw on your Redmi Note 9 ? Does it have shared_blocks read-only feature? You can check like this
Bash:
adb shell
su
tune2fs -l /dev/block/dm-0

What about the other partitions? /vendor , /product, /system_ext, /odm? Same problem? I know /odm can sometimes cause trouble...

If you're lucky next version (which is coming very soon) might do the trick but I can't 100% guarantee it yet ;)(y)
This is the Output of that command
 

Attachments

  • Screenshot_2022-01-20-01-16-47-160_com.termux.jpg
    Screenshot_2022-01-20-01-16-47-160_com.termux.jpg
    589 KB · Views: 28
  • Like
Reactions: lebigmac and VD171

lebigmac

Senior Member
Jan 31, 2017
1,036
677
Well it looks like my script successfully removed the shared_blocks read-only feature from your device :D(y)
Unfortunately you still have read-only error for some reason. There must be additional protection features enabled on your device. To find out more info about your specific read-only error you can run dmesg immediately after remounting your partition as rw like this:
Bash:
adb shell
su
mount -o remount,rw /
dmesg > /sdcard/dmesg_output.txt
 
  • Like
Reactions: VD171 and vulcanY

vulcanY

Member
Jan 19, 2022
6
3
Again After remount it shows Read Only Error and here is the dmesg_output.txt
 

Attachments

  • dmesg_output.txt
    2 MB · Views: 10
  • Like
Reactions: VD171

Top Liked Posts