[Android Software/Hacking General [Developers Only]] lebigmac:
Hi @samsungics1200.

Thanks for your additional feedback. I had absolutely no idea that running script again with larger size parameter would actually fix this /vendor still R/O issue. Go figure.

Please send me your log files from this folder /data/local/tmp/systemrw_1.32/log/ (y) Thanks.

Congratulations! I am happy you found a solution to your problem and that script now works great on your Xiaomi Poco m3 global android 10.

Enjoy a R/W capable system!

Hi @XS37. I'm sorry but your device don't have shared_blocks read-only feature so script don't have anything to do. Your device must have a different read-only protection mechanism. Good luck trying to figure it out! Please let us know if you find a solution to your device's read-only problem. Thanks!

Hi @slaveci. It's sad that you lost your message.

Please send me your log files from this folder /data/local/tmp/systemrw_1.32/log/ (y) Thanks.

What you mean first boot RW then RO? Please show screenshots like this! Thanks!

Hi again @Facebooook. Thanks for your log files. Your log looks perfect.

I can't believe script actually works on your OnePlus device 😲

Wait a second /system AKA / is R/W and /system/reserve is R/O ? That's just silly.

Please show root file manager screenshot! Thanks.

Hi @FredMontteiro. Thanks for your interest in this projecft. I'm afraid this script will not work properly in Android 9 :(

Did you check if your device has shared_blocks feature or is your read-only lock caused by another different protection feature? Good luck mounting your device as R/W! Please let us know if you find a solution to your device specific problem. Thanks!

Try this code to check shared_blocks feature:

adb shell
su
tune2fs -l /dev/block/dm-0 | grep "features"

Hi @Pachacouti. Thanks for your interest in this project.

Please send me your log files from this folder /data/local/tmp/systemrw_1.32/log/ Thanks (y)

It works or it not works on your device? Please show some screenshots too!

My script should work in custom recovery regardless of whether Magisk is installed or not as you get a root shell by default in custom recovery and that's usually all you need to remove shared_blocks read-only lock in Android 10/11

Hi @BeeJ1109. Thanks for your interest in this project. Please keep the discussion on topic. Thanks.

Did you run script yet? What was the result? Does it work on your device? Please send me your log files from this folder /data/local/tmp/systemrw_1.32/log/ Thanks (y)

Please see my reply to @Pachacouti above.

Hi @LostFade. You're very welcome! I am happy my script works on your Redmi Note 9s curtana.

Please send me your log files from this folder /data/local/tmp/systemrw_1.32/log/ (y) Thanks.

Thanks for your feedback!

Why do you format /data twice?

You only need to decrypt and mount /data partition for script to work in custom recovery ;)

If you run script from within Android operating system then /data partition will be automatically decrypted and mounted by Android operating system.

Hi @mclaude74. Thanks for your interest in this project.

Please send me your log files from this folder /data/local/tmp/systemrw_1.32/log/ (y) Thanks.

Script works? Can you remount partitions as R/W now?

Did you try different camera app yet? I don't think this error is caused by script.

You run script on a fresh stock firmware right?

If Xiaomi.eu is custom ROM why it cannot mount as R/W by default? Custom firmware should be able to do that by default!

Hi @NinjaPerv. Thanks for your interest in this project. That's a good suggestion!

Does the script work on your device? Please send me your log files from this folder /data/local/tmp/systemrw_1.32/log/ (y) Thanks.

Hi again @The_Tablet. Did you check yet using df -ha command if you've got enough free space to dump the partitions in /data partition?

Did you try running the script from custom recovery yet?

Hi @xda general.

Thanks for your feedback and your nice screenshots. I'm happy you got the script to work on your Redmi Note 9 merlin and/or Redmi 9 Prime lancelot device.

Please send me your log files from this folder /data/local/tmp/systemrw_1.32/log/ (y) Thanks.

Formatting /data partition after running script is not necessary or recommended.

Usually if you are unable to properly decrypt/mount /data partition in custom recovery, then you might have to format /data partition once BEFORE running script for script to function properly. It goes without saying that you should backup /data if you decide to do this.

Flashing ROM again afterwards is NOT necessary. You only need to flash super_fixed.bin if you're running script manually...

Yes remounting your partitions as R/W after running script is a good idea.

Yes you can flash magisk before or after running my script and it should work. You might have to reboot to recovery once in between the two procedures.

I've never tried to flash encryption disabler but it sounds like a good idea! Thanks. I'll give it a try one day.

You're welcome. Why would it relock all the partitions again?

It's not like shared_blocks read-only feature will be restored ;)

Hi @jc-b. I'm happy that script is working on your Xiaomi Redmi Note 9T 5G (cannong) device.

Please send me your log files from this folder /data/local/tmp/systemrw_1.32/log/

of your Redmi Note 9T 5G device. Thanks (y).

I'm sad that you didn't get it to work yet on your Redmi Note 9 (Merlin) device.

You didn't send me screenshot yet:

Are you running custom ROM or stock MIUI? Please keep in mind this script was designed for stock MIUI.

I checked again your Redmi Note 9 merlin log and your device don't have shared_blocks read-only feature. According to your log it looks like script already did its job. If you still get read-only error when remounting partition as R/W that means your firmware must have a different read-only protection mechanism that's stopping you from going fully R/W. Try again with stock MIUI. Good luck!

Hi @ARIES4RR script works on your Samsung device? That would be wonderful news!

Please send me your log files from this folder /data/local/tmp/systemrw_1.32/log/ (y) Thanks.