Mounting partitions in TWRP as RW for dynamic partitioned cellphones
Last update : 13/2/2023 (no longer updated)
Intro
This is the (slightly) more detailed version of the 23/8/2021 blogpost where I talked about mounting partitions in TWRP as RW for dynamic partitioned phones like the X3P.
Here's hoping Android upgrades won't fuck stuff up even worse...
Guide
- Boot to TWRP, if you haven't booted already.
- In TWRP, enter Mount & tick (mount) the partitions you want to mount as RW. At this moment, the partitions will be mounted as RO, but it's fine - it'll change on the next step.
- Browse to Advanced > Terminal, & enter "mount -o rw,remount (a partition to modify)"
Here's some examples for the partitions :
- System : mount -o rw,remount /system_root
- System_ext : mount -o rw,remount /system_ext
- Vendor : mount -o rw,remount /vendor
- Product : mount -o rw,remount /product
- Tune up those partitions to your heart's desire (this includes installing NanoDroid modules as system modules as well).
List of cellphones that are tested with this method
Success (TWRP mounts partitions as RO, but can be mounted as RW with this guide)
- Poco X3P (Nebrassy's TWRP (unofficial 3.5.2 & official 3.6.0-11))
No testing needed (due to lack of dynamic partition & TWRP mounts partitions as RW in A11 & beyond; make sure mount system partition read-only setting is unchecked if available)
- Poco F1 (confirmed with official TWRP 3.5.2-9.0, Reignz3's TWRP 3.6.0-A9 & 3.6.2-A12; though 3.6.2-A12 requires the command for /system_ext)
- Mi A2 (confirmed with Nebrassy's unofficial TWRP 3.5.1)
- LG V30 (unofficial TWRP 3.3.1.2)
- Oneplus 3T (confirmed with official TWRP 3.6.2-9.0 on A11 ROMs)
No testing needed (dynamic partitions)
- Poco X3N (with brigudav's TWRP) (28/11/2022 update)
brigudav's TWRP (at least since 3.6.2-12.0 27/8/2022 build) actually mounts partitions as rw by default. In addition, it also provides a script to mount partitions as rw.
Fail (TWRP unable to mount partition)
Untested for now
Index - Cellphone
Main Page