Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
adb shell
id
# your selinux context should be u:r:su:s0
Yeah, I figured I would have a UI with the buttons from the screenshot, but when I install the app, give permissions, and let it install the terminal I just see the Ultimate DIY Custom ROM header thing, some paypal donation info, and then at the bottom it says that jackpal isn't installed and then it successfully installs it.Hello @mujaki after installing my Ultimate DIY Custom ROM Maker app on your Android device, simply click the INSTALL button to install my System-RW script into /data/local/tmp on your phone.
Next press the SUPER RW button to launch the System-RW / Super-RW featuring Make-RW / ro2rw by lebigmac script.
Once script finishes without errors you can fastboot flash the super_patched.bin to your super block device on your phone
Or if you prefer installing inside TWRP or OrangeFox custom recovery then simply rename rommaker.apk to rommaker.zip and flash it like any other flashable zip inside your custom recovery!
Good luck!
### flashable zip command line arguments
in=@auto
out=`realpath /dev/block/by-name/super`
size=@auto
-r
-adbroot
-patchboot
### experimental features
threshold=
exclude=" odm product system_dlkm system_ext vendor vendor_dlkm "
backup=1
auto_debloat=
OnePlus 8 5G UW.Hi could you please zip your log subfolder from /data/local/tmp/sysrw_1.42/log and upload here or at megaupload? Thanks.
I'm thinking it could be a fstab issue. What phone are you using?
To undo bootloop simply flash back your original stock read-only super.img
If you only want the System-RW + ADB ROOT then you have to edit the config.ini in /data/local/tmp/sysrw_1.42/options/
and add all sub-partitions of your super.img to it except system
For instance on my Samsung Galaxy S23 Ultra my config.ini looks like this:
My dm-verity is still enabled and it's been a gigantic mission to try and disable it and nothing has worked to disable that despite trying for multiple days. Just tells me that it's a user build. Had to go through MSM just to try and get the bootloader unlocked.Your dm-verity and verification are properly disabled on the current slot? Usually my System-RW log will tell you if avbctl binary succeeded at disabling those. That's important if you want to flash custom super images
You can also disable both using fastboot if you wish
If you can rule out the vbmeta issue then it's most likely fstab issue...
What Android version are you using? In newer Android versions the Android developers have hidden the original fstab file in a new secret location... Great. Top John Wu, was that you? 🤔
adb shell
su
cd /data/local/tmp/sysrw_1.42
bin/lpmake `cat log/lpmake_args.txt`
adb shell
su
cd /data/local/tmp/sysrw_1.42
./sysrw size=0
How do I run it and have it use a folder on my external SD card as its working folder? I had 20GB free in my internal memory card but maybe that wasn't enough.Hi bigern777 thanks for your log files.
It looks like the adb root patch didn't work as expected on your device. You might want to disable it altogether by commenting out lines #355 and #492 in the /data/local/tmp/sysrw_1.42/bin/superw file. Then save file.
I don't understand why you get error 73 in this particular case. It does look like one of the classic error 73's though. Error 73 means 'IO error cannot create' whatever that means LOL.
You could try the sysrw_repair script on my website or your could try the harpreet.s workaround by switching to the other boot slot with fastboot and running script again or you could simply manually call the lpmake command with the parameters from lpmake_args.txt
If you can generate that patched super image manually on your phone then I don't see why my script shouldn't be able to do the job automatically. According to your log the read-only restriction was successfully removed from all your sub-partitions 😍 👍. Now it's all about repacking everything into a brand new patched super image and flashing it to your device. Maybe you don't get error 73 if you shrink all sub-partitions to minimum size? Have you tried that yet? 🤔 Error 73 it's such a mystery...
Good luck!
Bash:adb shell cd /data/local/tmp/sysrw_1.42 bin/lpmake `cat log/lpmake_args.txt`
Ok , so your recommendation of ./sysrw size=0 worked somehow. Or at least it was able to create the super_patched.bin file. (Which is 4.7GB vs the original's 9GB - I hope that's normal!).Hi bigern777 thanks for your log files.
It looks like the adb root patch didn't work as expected on your device. You might want to disable it altogether by commenting out lines #355 and #492 in the /data/local/tmp/sysrw_1.42/bin/superw file. Then save file.
I don't understand why you get error 73 in this particular case. It does look like one of the classic error 73's though. Error 73 means 'IO error cannot create' whatever that means LOL.
You could try the sysrw_repair script on my website or your could try the harpreet.s workaround by switching to the other boot slot with fastboot and running script again or you could simply manually call the lpmake command with the parameters from lpmake_args.txt
If you can generate that patched super image manually on your phone then I don't see why my script shouldn't be able to do the job automatically. According to your log the read-only restriction was successfully removed from all your sub-partitions 😍 👍. Now it's all about repacking everything into a brand new patched super image and flashing it to your device. Maybe you don't get error 73 if you shrink all sub-partitions to minimum size? Have you tried that yet? 🤔 Error 73 it's such a mystery...
Good luck!
Bash:adb shell su cd /data/local/tmp/sysrw_1.42 bin/lpmake `cat log/lpmake_args.txt`
or
Bash:adb shell su cd /data/local/tmp/sysrw_1.42 ./sysrw size=0
adb pull /data/local/tmp/sysrw_1.42/img/super_patched.bin
adb reboot bootloader
fastboot flash super super_patched.bin
Yes that's totally normal. The super_patched.bin is in SPARSE format by default which is much smaller than RAW format.I hope that's normal!