[Android Software/Hacking General [Developers Only]] tha_mechanic:
@lebigmac @Keven11

Hey I got it working on my Motorola edge plus XT2061-3 unlocked retail version.

Here are my steps!

Install magisk via boot image modification or twrp.

Download a root file manager, I use Root Explorer.

Download @lebigmac systemrw1.31d bundle.zip.

Go to download folder and extract systemrw1.31d bundle.zip. Open newly extracted systemrw1.31d bundle folder. Inside that folder will be systemrw1.31d flash able.zip extract that zip here as well. Open the newly extracted folder and copy all files inside.

Now on your root file manager go to /data/local/temp folder. Paste contents there.

I used Root Explorer to change permission of systemrw1.31d.sh to all r/w and executable. Save permissions.

Be sure there is a folder named img in the same folder as the tools folder. The script will not create one. You have to make a new folder named img

I had to set custom size to 50 because 15 wasn't enough to edit system

Now I could select the .sh file and it ran inside my file explorer with root privilege via magisk.

I also have ran the script via termux as well.

$ su

# cd /data/local/temp

# ./systemrw.sh in=./img/super_original.bin out=./img/super_fixed.bin size=50

The script finished with the error 73.

Check inside the img folder and there should be super_original.bin, system_a, system_b etc.

Now if you have windows like I do........

Find and download oracle virtual box.

Find and Download a Linux distro iso. I chose Linux Mint cinnamon because of the user friendly GUI.(I have zero knowledge of Linux.)

Install oracle. Set to allow usb connections in virtual box installer. Open virtual box and hit new in the menu. It will run you through some storage name and options. I selected to install a linux64 with a variable VDI storage. I set my ram right in the middle and set VDI space as 32. I named my system as Mint.

Now go to settings tab. Go to storage. You will see your VDI and beneath that will have a slot named empty. Select "empty" go up to the right corner and there is a button that looks like a disc drive. Select it.

Select add disk.

Find your Linux distro.iso

Select it.

Now hit start on the oracle screen.

You will get a run "Mint" in my case and other options.

Select run or boot

Now in mint after the machine boots it has a installer inside the os. I selected that and set up mint inside it's installer in the virtual machine.

After it's all set up I used Firefox inside Mint to search and download platform tools from Google developers site for Linux.

Now I went back to this thread on Firefox and download the systemrw1.31dbundle.zip again.

Extract here in the download folder.

Extract platform tools in download folder. Copy platform tools folder

Use your Linux file explorer to navigate to your home folder.

Select it.

Once inside home folder paste platform tools folder.

Go back to downloads folder.

Open the newly extracted systemrw1.31d folder and extract sys_repair.zip

Copy extracted sys_repair folder.

Go back to your home folder, then to your platform tools folder. Paste folder in platform tools folder.

Right click in the platform tools folder select run with root privilege

Right click again open terminal here.

adb devices.

In my case it didn't work but gave me the option to run sudo apt install adb. I used that command and the system installed adb.

Adb devices. This time it started and showed my device.

Pay attention to your phone because you will get a permission screen for adb debugging with this device. Select always on your device.

Now navigate to the sys_repair.sh in sys_repair folder that you placed in platform tools folder that you copied from downloads. Left click and select to run the executable file.

Let it run.

Your phone will probably reboot to bootloader at the end of the script but will do nothing other than reboot to bootloader. Just start the phone again.

Now go to the sys_repair folder that you copied and pasted to platform tools. Inside the folder is a img folder. Open folder and you will find the super_fixed.bin.

I have TWRP on my device so I already flashed that to recovery before all this.

Rename super_fixed.bin to super_fixed.img

Set phone to file sharing in the usb options on your device.

Phone will now mount to Linux as external storage

Transfer super_fixed.img from Linux virtual machine to your device.

After transfer completes reboot to recovery.

Decript with TWRP using your password or whatever.

Select install, select install img file. Find your super_fixed.img file. Select it. TWRP now asks where you want to flash it. Select super only. Swipe to flash.

Start system, go back into root explorer at the top it has a button for mount r/w. Hit that button and now I can mount system, vendor, and product r/w

Thank you sir! Add me to your list