yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] lebigmac:
Hi @alexp1289

Just run the included sysrw_repair script on a linux machine while phone is connected to pc.

Here you can find more detailed instructions on how to use the sysrw_repair script.

Good luck!

Hi @Supermatt01 I think I saw some successful Android 12 results pop up here and there. I personally have not tried it in Android 12.

To run it in Android 12 you must edit the systemrw.sh file with text editor.

Simply comment out the sdkCheck() function at line #420

It should look like this:

#sdkCheck

Now save file and run script.

Please report back your results.

Good luck! ;)(y)

Hi @krissrmx thanks for your feedback. Maybe your usb cable is broken?

I don't think I've seen this particular error before.

Can you manually pull the two vendor files from phone to your pc? It looks like only the vendor files failed to get pulled.

My suggestion would be to wait for new upcoming SystemRW / SuperRW version which should be released very very soon (it will be special anniversary edition). I'm praying that it will finally fix that annoying lpmake error 73 but I can't guarantee it just yet.

Or you can try the amazing superrepack tool by @munjeni (link in first post). His tool basically do the same thing as my tool but in a much more professional way. His tool do the job on the fly. Remember I am only beginner programmer but I always try to do my best ;)

Good luck!
[Android Software/Hacking General [Developers Only]] krissrmx:
Changing the cable to USB c to USB c 😅 make the work everything went even more fast that USB A to c Lol Thank you 😁😁😁 LG V60 ATT ANDROID 11 WORKING "edit"

Just product is still R/o
[Android Software/Hacking General [Developers Only]] lebigmac:
What's overlay? You can check like this

adb shell
su
mount | grep -e "overlay" -e "/product"
[Android Software/Hacking General [Developers Only]] krissrmx:
# mount | grep -e "overlay" -e "/product"

/dev/block/sda26 on /mnt/product/OP type ext4 (ro,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered)

/dev/block/sda15 on /mnt/product/els type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda3 on /mnt/product/persist-lg type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda1 on /mnt/product/mpt type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda13 on /mnt/product/srtc type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda16 on /mnt/product/quality type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda17 on /mnt/product/eri type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda18 on /mnt/product/carrier type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/dm-5 on /product type ext4 (ro,seclabel,relatime,discard)

overlay on /product type overlay

(ro,seclabel,relatime,lowerdir=/mnt/product/OP/ATT_POST:/mnt/product/OP/ATT_US:/mnt/product/OP/product_ext:/product,override_creds=off)/dev/Zvu/.magisk/block/data on /product/media/bootanimation.zip type f2fs

(rw,lazytime,seclabel,relatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier)

overlay on /vendor/etc type overlay (ro,seclabel,relatime,lowerdir=/product/vendor_overlay/30/etc:/vendor/etc,override_creds=off)

I this is what it shows (termux, no access to computer rn).
[Android Software/Hacking General [Developers Only]] samy2015:
Ok i came here for the third time to say thank you worked for me again

Poco f3

Xiaomi.eu

MIUI13 v13.0.3.0

Android 12
[Android Software/Hacking General [Developers Only]] Евгений1:
У меня так. Но доступ получил. Что скажет автор по поводу неудачного монтирования?
[Android Software/Hacking General [Developers Only]] lebigmac:
@Евгений1 @samy2015 thanks for your feedback!

Enjoy fully read/write-able device! :love:(y)

@Евгений1 that's TWRP related error and have nothing to do with script... Just reboot device and it will work ;)(y)
[Android Software/Hacking General [Developers Only]] Tomcar:
Working on OnePlus 7t after using repair script.

Had to chmod "Tools" on Arch.

Great work!
[Android Software/Hacking General [Developers Only]] zachariahpope:
I have Verizon V60 and the script makes everything RW except product for me as well.
[Android Software/Hacking General [Developers Only]] zachariahpope:
grep -e "overlay" -e "/product"

/dev/block/sda27 on /mnt/product/OP type ext4 (ro,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered)

/dev/block/sda15 on /mnt/product/els type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda3 on /mnt/product/persist-lg type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda1 on /mnt/product/mpt type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda13 on /mnt/product/srtc type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda16 on /mnt/product/quality type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda17 on /mnt/product/eri type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/sda18 on /mnt/product/carrier type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc)

/dev/block/dm-5 on /product type ext4 (ro,seclabel,relatime,discard)

overlay on /product type overlay (ro,seclabel,relatime,lowerdir=/mnt/product/OP/VZW_US:/mnt/product/OP/product_ext:/product,override_creds=off)

overlay on /vendor/etc type overlay (ro,seclabel,relatime,lowerdir=/product/vendor_overlay/30/etc:/vendor/etc,override_creds=off)

^ Verizon LG V60 Android 11 Latest FW
[Android Software/Hacking General [Developers Only]] zachariahpope:
@krissrmx I'm unsure but think our issue with product RW may be magisk based ... Can I see your magisk log to compare?
[Android Software/Hacking General [Developers Only]] krissrmx:
I hope this works :/
[Android Software/Hacking General [Developers Only]] zachariahpope:
Yeah yours shows the same magisk block on /product ... I dunno maybe the dev can let us know what's going on. @lebigmac
[Android Software/Hacking General [Developers Only]] usm007:
It breaks safetynet.. can be fixed via magisk module. any fix without magisk??

device - excalibar

rom- miui 12.5 official
[Android Software/Hacking General [Developers Only]] sisikiki:
Hello,

works on A12 miui_SWEETEEAGlobal_V13.0.3.0.SKFEUXM_73299ee316_12.0.zip for redmi note 10 pro.

thank you very much
[Android Software/Hacking General [Developers Only]] Kratos574:
Tried it on LG V60 and didnt work, zip flashes correctly but system is still R/O
[Android Software/Hacking General [Developers Only]] lebigmac:
@usm007

Hi there. Got a screenshot of your safetynet?

And what's excalibar?

Thanks!

Hola to Guatemala!

Only /system partition is ro or all subpartitions of super partition? Please show your logs from script folder. Thanks.

Also please run this code and show me result. Thanks!

adb shell
su
for a in /dev/block/dm-*; do vol=`tune2fs -l $a | grep -e 'vol' -e ' on' -e 'feat'`; printf "mounting %s\n\n" "$vol"; mount -o remount,rw $a; done

Hi @zachariahpope @krissrmx

If shared_blocks read-only feature was successfully removed from /product partition then that means the read-only lock was successfully removed by script. If you still can't mount it as rw that means you've got additional protection features that must be disabled. You must do more research... Check dmesg and logcat after remounting. Please report back if you find anything! Good luck! (y)
[Android Software/Hacking General [Developers Only]] Kratos574:
Hi there, here I attach the log file, and looks like only system is being having that issue due thats the only partition which the device has as R/O. Thanks for your fast reply
[Android Software/Hacking General [Developers Only]] zachariahpope:
@lebigmac , upon further research for anyone having trouble with the LG V60 getting /Product RW, I have found that changing the following vendor prop in /vendor/build.prop fixes the issue:

FIND THIS VALUE

ro.vendor.lge.feature.product_overlayfs=true

CHANGE TO

ro.vendor.lge.feature.product_overlayfs=false

After making this change, reboot and /Product has full RW access

proving the script works for full RW access on all partitions

. (*This does have undesired effects such as not loading the proper carrier related overlays needed to make the dialer/phone app work on the Verizon model in my case. I'm unsure what negative side effects this would have in other V60 models*) I'm still looking further into this issue but I believe it's going to be a clash of the overlay file system and magisk root initializing the mounting process.
[Android Software/Hacking General [Developers Only]] G.Man.:
@lebigmac

Thanks very much! It worked wonderfully! :)

Xiaomi Mi 10 T Pro

MIUI 12.5.8 (RJDMIXM)

Android 11

Root:

Magisk 24.1

+Busybox NDK

+Riru 26.1.4

+Riru LSPosed
[Android Software/Hacking General [Developers Only]] alexp1289:
Would it be possible to do this in terminal emulator? If so where would I copy the files to and what not? Would it be the temp folder like in the directions in the first post? I've tried doing that but got no where (says it can't find the script even when cd'ing to that folder once extracted). Could you advise me on doing this in terminal emulator?
[Android Software/Hacking General [Developers Only]] usm007:
Can be fixed by flashing safetynetfix magisk module... but i wanna know if any non root fix available..
[Android Software/Hacking General [Developers Only]] Black_Eyes2:
Well let's give it a try on my phone.

When I bought it its name was xiaomi mi 11i, but that's not its real name: its code is haydn_eea/haydn so it's a redmi k40 pro/pro+

So, xiaomi mi11i / redmi k40 pro/pro+

Android 11, Miui 12

TWRP 6 Magisk 24.1

IT WORKS OMG THANK YOU, I CAN INSTALL MICROG
[Android Software/Hacking General [Developers Only]] Meticulous1:
Could you help me with my Borneo, I must be doing something wrong. I can't get repair.zip to work no matter how I flash it. It says Everytime I run the script, not enough space to create product.....! I chang size to whatever and the final fixed Super is always bigger than the size I put in....help please?
[Android Software/Hacking General [Developers Only]] lexridge:
I just tried this on a Moto G Stylus (2021). It fails with this:

Failed to create super_fixed.img file

Error code: 73

Unable to open block device /dev/block/loop20

Unable to open block device /dev/block/loop19

Unable to open block device /dev/block/loop18

Unable to open block device /dev/block/loop17

Any suggestions?

Edit: I should also mention that the script identifies my OS as Android 10, when in fact it is Android 11. Not sure if this matters.
[Android Software/Hacking General [Developers Only]] xuewu:
谢谢你的脚本，我的手机成功了，system是可读写的。但是我没有在tmp文件夹中找到任何文件

，我的手机型号是：Lenovo L79031-Andruid 11-ZUI 12.5.245

Thank you for your script. My mobile phone succeeded. The system is readable and writable. But I didn't find any files in the tmp folder

My phone model is：Lenovo L79031-Andruid 11-ZUI 12.5.245

Thank you again
[Android Software/Hacking General [Developers Only]] arunv9095p:
I tried this script in my Infinix Smart HD 2021 (X612B). But the script failed to execute. Because your script has 64 bit tools. And it will not work in 32 bit android os. I hope you will fix this.
[Android Software/Hacking General [Developers Only]] Denny@83:
Hi, i tried your script, manual installation on device Oneplus Nord N100,

The script worked, flashed super_fixed.bin but the script doesn't make system rw.. I can't modify files, tryed with hosts, but it says I haven't enough space..
[Android Software/Hacking General [Developers Only]] Jason Hugg:
Would you mind sharing exactly the process of what you did regarding the script and the repair script and any pertinent information like android version, build number, unrooted. rooted with magisk, etc? I'd like to enable r/w on my borneo as well, but I'm aware of the many variables in this model of phone alone, let alone a script that is very much a work in progress and I think you could help make the process much simpler for me and probably others too.
[Android Software/Hacking General [Developers Only]] dokterade:
i tried to run it with ADB. The process always ended with "resize2fs: new size is too large too expressed in 32 bit" even when i try to change with 15, 50, or 100. i have super partition on /dev/block/mmcblk0p38.

my phone is Redmi 9A dandelion, 2GB RAM 32 GB ROM and space available on storage 13 GB. can u help to solve it @lebigmac ?
[Android Software/Hacking General [Developers Only]] papuruth:
Hi I tried you flashable script but it fails on Not enough space on device for partition product_a with size 2899099648.

I changed the config.ini file with size=1024

Here's the logs,
[Android Software/Hacking General [Developers Only]] lebigmac:
Hi. Sure why not. Did you check the manual installation instructions @ front page yet?

Good luck (y)

Hi. Did you try size=0 yet? Then you can always delete useless bloatware to free up some space that way ;)(y)

Don't worry next upcoming version already has working auto-resize() feature that should fix this issue (y)

You're not supposed to flash the repair.zip file. Extract it on your Linux PC and launch the repair script that's inside in terminal as root. Good luck(y)

Hi. Thanks for your feedback. Did you try yet the repair script on a Linux machine while phone is plugged in? Good luck!(y)

What result do you get from this command?

adb shell
su
getprop ro.build.version.sdk

Hi. Sorry this tool is arm64-v8a only at the moment but if you want I can upload the armeabi-v7a tools with next version! (y)

You can check your ABI version like this:

adb shell
su
getprop | grep abi

Hi. Did you try manually remounting your partitions yet? Like this:

Good luck! (y)

Hi. Are you Motorola user? Hopefully next upcoming version will be less error 73 prone and offer better compatibility with various Motorola devices out there ;)(y)

Wish me luck (y)

Hi. Did you try size=0 yet? Then you can always delete useless bloatware to free up some space that way ;)(y)

Don't worry next upcoming version already has working auto-resize() feature that should fix this issue (y)

Hi. That's way too much! On Xiaomi devices you can usually go up to 500 MB. On OnePlus devices I would recommend size=0 (shrink to minimum).

Don't worry next upcoming version already has working auto-resize() feature that should fix this issue ;)(y)
[Android Software/Hacking General [Developers Only]] dokterade:
I've tried size=0 , but same result there. Maybe Armeabi-v7a tools will help us whose use 32bit android
[Android Software/Hacking General [Developers Only]] dokterade:
I'm sorry. I try again with size=0, an surprisingly it success to create the super fixed bin. The ADB told me to reboot to bootloader and flash it manually. Bu t i dont know to flash it manually. Poor me...
[Android Software/Hacking General [Developers Only]] dokterade:
I've tried to flash it via fastboot flash super super_fixed.bin, got failed. Then i try flashing trough TWRP, and failed also. Both ended with "no OS installed".

Then i flash super_original.bin to fix it. Still no OS installed. Then i flash original boot img, still no OS installed.

Last, i flashed full rom with miflash tool, and it save me.

What's wrong with the super_fixed.bin which i created using size=0?
[Android Software/Hacking General [Developers Only]] ufanet:
works on lg v60 (LM-V600TM) crossed over to Europe, but not your file, but edited by a respected https://4pda.to/forum/index.php?showuser=4691430
[Android Software/Hacking General [Developers Only]] lebigmac:
If your friend does not give me any feedback I can not include his improvements in next version...
[Android Software/Hacking General [Developers Only]] ufanet:
systemrw_twrp.zip

drive.google.com

I hope dear codemaster256 will not mind that I posted it here for you

https://xdaforums.com/m/jhayprince.11905675/ I do not think that this file will fit your redmi note 10 pro
[Android Software/Hacking General [Developers Only]] tids2k:
hi @lebigmac im back. could you please clarify "

systemrw: Congratulations! Your image(s) should now have R/W capability

systemrw: Please reboot into bootloader and flash the file(s) manually "

Which file do we need to flash in bootloader, the fixed_super.img ? If so what are the commands ?

Tried on crDroid 8.2 on Pixel 6 Pro on Android 12.

Could run " mount -o remount, rw / " - does not confirm device is read-only, however when copying files for eg. hosts to /etc it failed . any suggestions ?

C:\Users\ADAM>adb push hosts /etc/

adb: error: failed to copy 'hosts' to '/etc/hosts': remote couldn't create file: Permission denied

hosts: 1 file pushed, 0 skipped. 6.3 MB/s (3254933 bytes in 0.491s) fails too.
[Android Software/Hacking General [Developers Only]] jhayprince:
thank you sir...i tried the zip file but still the system x and vendor are not rw...
[Android Software/Hacking General [Developers Only]] lebigmac:
Welcome back @tids2k

You can flash super_fixed.bin like this from your computer:

adb pull /data/local/tmp/systemrw_1.32/img/super_fixed.bin
adb reboot bootloader
fastboot flash super super_fixed.bin

Good luck! (y)
[Android Software/Hacking General [Developers Only]] Noob developer01:
Yes I also have that problem

How to fix ???

Plzz reply🙂
[Android Software/Hacking General [Developers Only]] Noob developer01:
Doesn't work for me .. now he tells me there is no space left ( I have over 60 GB free).. :D
[Android Software/Hacking General [Developers Only]] Denny@83:
Hi Lebigmac

I manually remounted partitions as you suggested, it works, I found I installed nano in system/etc

thanks
[Android Software/Hacking General [Developers Only]] PreferableBird69:
Hello just taking my time here to say a HUGE THANKS to all the people involved in this project! Everything went as smoothly as possible with the flashable zip file(w/adjustment to available size). IDEK what would I do to get into this trouble in googling a risk free solution to just replace a .ttf in system lol.

Device: Poco F3

ROM: Xiaomi.eu 12.5.19 stable(Android 11)

Recovery: Official Poco F3 TWRP

Again I cannot thank you guys enough(esp in the modding community) for your hardwork and dedication to make the modded android experience as best as possible!

(Note: There're some mounting errors displayed in TWRP right at the very end of the process but I think it's just negligible because my device booted just fine with the correct free size space and rw root lol)

Log files: mylog.txt & lpdump.txt
[Android Software/Hacking General [Developers Only]] vano1678:
Hello, I can't translate the super section to read-write. Your script does everything successfully, but in fact nothing changes. Phone Oukitel C21 https://4pda.to/forum/index.php?showtopic=1002767 . android 10 MT6771 processor.
[Android Software/Hacking General [Developers Only]] dna1982:
systemrw: Congratulations! Your image(s) should now have R/W capability

systemrw: Deleting /data/local/tmp/systemrw_1.32/img/super_fixed.bin to free up some space

systemrw: Please reboot to system...

Worked like a charm on Oneplus 9 Pro with OOS 11.2.10.10 (Android 11) and twrp-3.6.0.

Kudos to OP.
[Android Software/Hacking General [Developers Only]] Denny@83:
Hi Lebigmac

I edit my previous post... I were wrong, the script doesn't work properly.

Nano is installed systemlessly through magisk module, and also modifications in hosts file are done systemlessly through adaway....

I attach other screenshots:

system partition is not rw, I can't write any file....

I created a text file in vendor partition, you see in screenshots; but I can't edit file, I can't write nothing, it remains empty. While saving modifications, it says I haven't enough space....

the same things happen in product partition..

Now restarted the phone...bootloop..... try to flash my super backup...
[Android Software/Hacking General [Developers Only]] lebigmac:
@Denny@83 What size parameter did you use? size=0 ? Try run script again with size=50 parameter

Can you do this?

According to your screenshot below your / (/system), /product and /vendor subpartitions are rw! Congratulations! :love:(y)

I think you just need to create more empty space that's all ;) Don't worry brand new upcoming version which is just around the corner has working auto-resize feature already implemented ;)(y)
[Android Software/Hacking General [Developers Only]] samsungics1200:
not working on latest android 12
[Android Software/Hacking General [Developers Only]] vyaskd:
Flashed on my OnePlus 9, working system rw, thnx a lot for ur work. Can u tell me what problems I may face if factory reset my phone?
[Android Software/Hacking General [Developers Only]] Noob developer01:
How to managed script??

Reply plzz🙂
[Android Software/Hacking General [Developers Only]] samy2015:
Is it safe to delete this file ?
[Android Software/Hacking General [Developers Only]] nttuan:
you can delete all * in /data/local/tmp
[Android Software/Hacking General [Developers Only]] Denny@83:
Hi Lebigmac, I did exactly what you said; when I launched the script I used size = 15...

I don't think it' only a problem of space, because when I tried to create a file in /system, it said there wasn't enough space - while in vendor and product i could create an empty file.

However I attach the logs of the script; I'm on slot B but in log I read current slot is 1...

Another question: super original is 10 Gb, while super fixed in 6 Gb.

According to you, the cause of the bootloop I had after creating an empty file under vendor partitions is due to lack of space in super partition or a security feature of the phone ?

I'll wait for the new script before try doing another attempt (there will be the possibility to write images on external sdcard instead of internal storage?)---Thanks for your Job!!!
[Android Software/Hacking General [Developers Only]] JazonX:
Hey @lebigmac

Just wanted to check - Have you received any successful confirmations from Samsung Galaxy Fold 3 / Xiaomi Mi 11 Ultra ?

Cant find both in your device list.
[Android Software/Hacking General [Developers Only]] papuruth:
Hey I did the following

fastboot flash super super_fixed.bin

The process was completed successfully.

But now on booting it goes into bootloader always
[Android Software/Hacking General [Developers Only]] papuruth:
Hey my device is Asus ROG 5

I tried decreasing the size to 150, 100, and 50 all fails only worked on <=15
[Android Software/Hacking General [Developers Only]] Johncaffee:
Hello :)

Impossible to launch the repair script from linux ubuntu. I don't understand.
[Android Software/Hacking General [Developers Only]] lebigmac:
Hi @Johncaffee I think the repair script should be called sysrw_repair.sh

Good news! Brand new version will be released this month or early next month! It will be special anniversary edition ;)

If anyone has any additional feedback or feature requests for the new upcoming version please don't hesitate to let me know. Thanks!(y)

Development of new version took a little bit longer than expected because my SystemRW / SuperRW featuring MakeRW by lebigmac project (or parts thereof) was stolen, hacked, rebranded and reuploaded as their own creation by multiple hacker thieves which caused a lot of unnecessary distraction.

It's almost impossible to protect open source or even closed source software from ruthless cyber pirates nowadays. Anyone good with obfuscation and encryption please contact me now thanks!
[Android Software/Hacking General [Developers Only]] Johncaffee:
Oh greeeat 😁

I don't waste my time so.

Thank you very much for your job.

💪💪💪
[Android Software/Hacking General [Developers Only]] Anatolii-orsk:
Hello. Tried to apply your script in the automatic mode and in the manual mode. Your scenario does everything successfully, but actually nothing changes. REDMI 9A,LOS 17.1. Maybe I do what not so?
[Android Software/Hacking General [Developers Only]] Anatolii-orsk:
Established a script through Recowery. I read in the log that SYSTEM, VENDOR and PRODUCT now in RW, but it not so.....