[Android Software/Hacking General [Developers Only]] lebigmac:
Welcome to the one and only, the original, universal,

System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter)

by lebigmac

Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW, F2FS-2-RW, EROFS-2-EXT4-CONVERTER, F2FS-2-EXT4-CONVERTER, Super Resizer/Flasher, SYSTEM-RW / PRODUCT-RW / VENDOR-RW / ODM-RW, root enhancer, real root, FULL ROOT, RW MULTI TOOL and many more aliases!

(NOTE: Full F2FS-RW support coming in 1. quartal 2023 ! Get your Samsungs ready!)

​

The prophecy has finally been fulfilled.

Making Android ten years younger!

Inspiring a whole generation of talented developers and empowering the open source community.

The Pandora's Box has been fully unlocked at last!

The genie has been unleashed from within the bottle!

Sesame! Open up now!

Let the Olympic Android System Modding Games (OASMG) begin!

The power is now in YOUR hands! And don't forget:

With great power comes great responsibility!

Creation date:

February 2021

Updated:

January 2023

Requirements:

rooted STOCK Android 10 or newer

at least 10+ GB free space on phone for dumping data

Description:

A script for all Android power users that wish to make their read-only Android 10+ system read/write-able again to remove bloatware and make more thorough customizations to their device.​

​

Script only modifies super and vbmeta partitions. /data partition is not affected. It's only used for dumping data and for storing script files.​

​

In a nutshell this is what the script is doing:​

Spoiler content hidden.

NOTE:

The script can be run both inside custom recovery and inside Android operating system.

If you run script in Android mode you will need to fastboot flash the patched image(s) manually!

To check whether or not the script worked correctly you can run this code:

adb shell
su
mount -o remount,rw /
mount -o remount,rw /odm
mount -o remount,rw /product
mount -o remount,rw /system_ext
mount -o remount,rw /vendor
mount | grep dm- | head -5

Manual installation:

Spoiler content hidden.

​

Automatic installation:

Spoiler content hidden.

Flashable zip custom usage:

Spoiler content hidden.

Script usage:

Simply execute the program from the terminal shell with or without custom arguments​

​

Optional script arguments:

Spoiler content hidden.

Usage examples:

adb shell
su
cd /data/local/tmp/sysrw_1.33
chmod +x ./sysrw

# Run program with default settings [RECOMMENDED]
./sysrw

# Specify existing super image as input [OPTIONAL]
./sysrw in=./img/super_original.img

# Specify patched super image output file path [OPTIONAL]
./sysrw out=./img/super_patched_new.img

# Specify the extra free space (in megabytes) to be added to each sub-partition of super.img [OPTIONAL]
./sysrw size=15

# Specify whether or not the patched super image should be output in raw file format [OPTIONAL]
./sysrw -r

# EXPERT EXAMPLE (Warning! This command could potentially corrupt your system. Only use at your own risk in recovery mode!)
./sysrw in=img/super_original.bin out=`realpath /dev/block/by-name/super` -r

Uninstallation:

Spoiler content hidden.

Troubleshooting:

Spoiler content hidden.

About:

Spoiler content hidden.

Credits:

Huge thanks to @Brepro1 for allowing me to use his awesome tutorial and make it into a script. Without your tutorial guiding me I couldn't have created this script.​

Huge thanks to @Kolibass for allowing me to use his partition tools for Android. Without your tools this script would not work on the Android platform!​

Big thanks @munjeni for allowing me to use his amazing superunpack V1 tool in the initial version. It helped me to understand how these super images work.​

Thanks @AndyYan your great tutorial also helped me a lot for automating the script especially the lpdump part.​

Thanks @bynarie for making available his otatools package! A part of it was bundled with the initial version which helped me to create this universal version. It's still part of the troubleshooting repair script to fix error 73.​

Thanks @HemanthJabalpuri for assisting me in optimizing the underlying algorithm!​

Disclaimer:

Spoiler content hidden.

Enjoy debloating and customizing your fully read/write-able next-gen Android device! :love:(y)

Please post your feedback, suggestions and your Olympic Android System Mods (OASMG) @ the official SystemRW / SuperRW feat. MakeRW / ro2rw by lebigmac links below. Thanks :D(y)

https://xdaforums.com/t/universal-s...tition-converter-resizer-by-lebigmac.4247311/

https://xdaforums.com/t/closed-the-...n-converter-erofs-rw-ext4-rw-f2fs-rw.4536821/

Confirmed working on these devices:

Spoiler content hidden.

Download

current status: experimental

If you like this project and want to support further development of it & the creation of more amazing projects like this then please feel free to donate to the original developer lebigmac by clicking the button below. Thanks! Your support is very much appreciated!

Donate​