yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco X3 Pro] pcjabuy:
I tried the manual install way，and I copied the "systemrw_1.32" folder to /data/local/tmp/, when I type “chmod +x /data/local/tmp/systemrw_1.32/systemrw.sh”, the twrp didn't give me any notice. like this:

And then i tried to edit system partition, It told me this:

So it still doen't work on my device……
[Xiaomi Poco X3 Pro] lebigmac:
You are doing it wrong. Double check again your paths!

And please send me your log files from script folder if you want me to take a closer look at your issue. Thanks.
[Xiaomi Poco X3 Pro] pcjabuy:
I didn't done it wrong，in the first picture I renamed the folder with “systemrw”. and then I find the way to type "_” under TWRP，and I renamed it to “systemrw_1.32” again, it has the same problem.
[Xiaomi Poco X3 Pro] pcjabuy:
and theres no "log" folder under /data/local/tmp/systemrw_1.32/ after I run that, as this picture:
[Xiaomi Poco X3 Pro] lebigmac:
@pcjabuy

Make sure /data partition is decrypted and mounted in your recovery and then try running script manually. Good luck!

adb shell
cd /data/local/tmp/systemrw_1.32
chmod +x ./systemrw.sh
./systemrw.sh size=50
[Xiaomi Poco X3 Pro] Oswald Boelcke:
@lebigmac Sir, I've set the thread's prefix from "Development" to "General" as your thread doesn't qualify for development in this device forum. Please leave it that way and don't change it back without a moderator's approval. Thanks for your cooperation!

Regards

Oswald Boelcke

Senior Moderator
[Xiaomi Poco X3 Pro] lebigmac:
Hi @CesarJGN thanks for this confirmation! I'm happy the script works on your device! Happy debloating!

Did you flash it in recovery without any errors? Which custom recovery are you using?

Hi Oswald.

Sure. If you say so. What does it qualify as then?

The project is still under development and it also pertains to Xiaomi Poco X3 Pro. I am developing the project on this very device as we speak.

By the way did you guys punish the ruthless thief yet who stole my project, deleted all original info from my project and replaced with his own meaningless words and made-up script name and released it as his own? He is a member here in this forum. So it shouldn't be too difficult to punish him for his unethical, criminal cyber piracy behavior. I haven't heard back from the moderators regarding this issue for many months... This plagiarism and cyber piracy issue has been plaguing the project since March 2021. It would be cool if you guys could solve that issue. Thanks!
[Xiaomi Poco X3 Pro] Lord N:
Hello, mind if anyone here could share a Google Drive link of the file, I can't accessed the Yandex Drive, maybe my ISP blocked it or what.

Thank you.
[Xiaomi Poco X3 Pro] lebigmac:
Hi. Try download mirror #2
[Xiaomi Poco X3 Pro] Lord N:
It doesn't work for me, maybe because I'm already on Xiaomi.eu ROM?

Yet I can't delete App on a Root Folder. 😅

I want to delete some. apk that I won't be needed.
[Xiaomi Poco X3 Pro] fly.dvorkin:
It is very sad.

I have: 12.5.3 RU, bootloader unlocked, stock recovery (I don't want TWRP)

I did everything clearly according to the instructions:

Put systemrw_1.32 to /data/local/tmp

gave permission to run the script: chmod + x

made sure there was a super partition with: ls -l /dev/block/by-name/super

ran the script from termux above SU with the recommended parameter: ./systemrw.sh size = 15

the script worked, created a backup of the super: super_original.bin section with a size of 8.5GB, made a patched super_fixed.bin with a size of 5.82GB for some reason.

copied both to the computer.

after I take the device to the fastboot and flash super:

fastboot flash super super_fixed.bin

the result is a bootloop.

an attempt to sew a backed-up original is the same bootloop.
[Xiaomi Poco X3 Pro] lebigmac:
Hi. Please send me log files from /data/local/tmp/systemrw_1.32/log

Thanks!

Hi.

I've never tested script with MIUI 12.5.3

I still using very old MIUI version on my POCO X3 Pro and everything works great over here.

Maybe Xiaomi fixed this loophole and it's not working anymore in newer MIUI versions?

Did you try with older MIUI version? Same result?

Flashing back the stock super image still does not fix the bootloop?! That's crazy!

Try re-enabling both dm-verity and verification using the included avbctl binary.

Maybe vbmeta is causing the bootloop?

Can you check log during bootloop or device go straight into fastboot mode? Or device freeze when MIUI logo show up?

Bootloop is always very sad. Hopefully it can be fixed! Good luck!
[Xiaomi Poco X3 Pro] tagcart:
Hello, I have had success using your script to manually create the super_fixed.bin file, however what is the process of flashing this on a Samsung device that does not have Fastboot? Any way to flash in Odin? I see someone else with a samsung device had success.
[Xiaomi Poco X3 Pro] lebigmac:
Hi @tagcart. It's nice to see some interest in this SystemRW project from the Samsung users (y)

It's very sad that Samsung completely removed the fastboot feature from all their devices :(

That's just crazy! No more Samsung phone for me. I prefer to give my money to Xiaomi.

Xiaomi devices are much more developer friendly.

You can try in Odin maybe it works.

Why not run the script in custom recovery? Then it will flash super partition by default. Good luck!
[Xiaomi Poco X3 Pro] tagcart:
I would love to but unfortunately my device (Galaxy Tab A7 Lite) does not have a TWRP port yet. I have been trying to port it myself over the past couple weeks without success! I can get it to compile from my device tree but after flashing recovery.img with Odin, I just get a black screen.. I will continue working on this and hopefully some others can help.

That said is there a way to export super.bin as an .img file instead? I think I may be able to flash in Odin if I have an .img file. I am a bit of Android noob so sorry if that's a dumb question.
[Xiaomi Poco X3 Pro] lebigmac:
@tagcart just rename .bin to .img and try to only flash super partition in Odin. Good luck!
[Xiaomi Poco X3 Pro] tagcart:
Thanks for the help but unfortunately that didn't work. When I flash from Odin I get "sw_rev_check_fail" on the tablet's display even though it says it flashed successful in Odin. I will continue to try and port TWRP on my own. If anyone sees this that has some TWRP experience, I would be grateful for the help!
[Xiaomi Poco X3 Pro] fire7ly:
Sir IM tried it and it give me same error 255 I'm tried your flashable zip from pbrp..

I will try From termux manually hope that work for me...

now error screen shot here
[Xiaomi Poco X3 Pro] lebigmac:
Hi. Thanks for your feedback. Please send me that recovery log file from this folder as well: /sdcard/PBRP/logs/

According to your screenshot it's complaining about unzip problems.

Did you check if unzip binary is available in your recovery? What's the result?

adb shell
which unzip
[Xiaomi Poco X3 Pro] fire7ly:
when this fail I'm run this in system mode but it success but something cause in product and device not more boot..

here your output

adb shell which unzip
/sbin/unzip

I'm post my result here too..

Your Xda [SCRIPT THREAD]
[Xiaomi Poco X3 Pro] cahir1495:
I chose automatic installation, flashed that flashable zip, everything seemed to go fine etc, and then... I'm stuck on POCO logo screen :/
[Xiaomi Poco X3 Pro] lebigmac:
Hi @cahir1495. Oh no! Bootloop it's always very sad :(

Did you mess with any system apps? That can sometimes cause bootloop.

Are you using Poco X3 Pro? Which MIUI version are you using? Remember this script was designed for stock firmware and not for custom ROM. Custom ROM should be R/W by default!

Did you try restoring your original super image yet? It was backed up by script in /img subfolder of script path.

Additionally you can reactivate dm-verity and verification with the included avbctl binary and that should undo all the changes the script has done to your device.

Good luck!
[Xiaomi Poco X3 Pro] cahir1495:
I'm on Xiaomi.Eu 12.5.4.0

No, I didn't try it yet. I can even flash it all again, but it's annoying that I can't even remove unnecessary bloatware.
[Xiaomi Poco X3 Pro] Revokke:
It worked great on poco x3 pro on miui global, but I can't edit vendor files, specifically vendor/etc/device_features/.
[Xiaomi Poco X3 Pro] lebigmac:
Hi @Revokke thanks for your feedback.

Please feel free to send me your log files from this folder and I'll have a look at your specific issue. Thanks (y)

/data/local/tmp/systemrw_1.32/log/

Which MIUI version number are you using?

What do you mean you can't edit /vendor files? I just tried it on my device and it just works. I can create and delete files in this directory /vendor/etc/device_features

Make sure you remount /vendor partition as rw before copying or deleting files.

If you can only write empty files to /system, /product or /vendor that means you must run script again with larger custom size. Good luck! (y)
[Xiaomi Poco X3 Pro] lucasymax:
hi I admire your hard work and I hope you will have the installation version ready soon. I am very very bad at trying to install with command mode The only thing I have done is copy to /data/local/tmp/systemrw_1.32 and then I do not understand how to start the script and from where (TWRP) or from PC with platform tools with fastboot mode or what commands to use. I read all six pages of this thread to find an installation guide for the mentally retarded but couldn't find it. I will wait for your installer hopefully this ready soon. these are my specs. bit x3 pro miui global 12.5.5 stable 256gb 8gb android 11RKQ1.200826.002 (TWRP 3.5.2 VAYU NEBRASSY-2, magisk 23, safetynet-fix-2.1.2.zip, riru-v29.1.3) and termux installed

greetings and I hope you have a list soon
[Xiaomi Poco X3 Pro] lucasymax:
where you can download
[Xiaomi Poco X3 Pro] lebigmac:
Hey @lucasymax thanks for your interest in this project. Did you try installing the flashable zip in your custom recovery yet? It's inside the BUNDLE.zip

Don't worry. Next version will be released soon and that should solve most of your problems ;)(y)
[Xiaomi Poco X3 Pro] lucasymax:
no i haven't I plan to do it through twrp or with otg, but not which commands to use and I don't know how I can change the size to 30 and how to mount the partition in r / w .

With a text tutorial it would help me a lot

I would not like my device to brick

Cheers
[Xiaomi Poco X3 Pro] xmucio:
Hey,

i am trying to make rw partitions on Oukitel WP5 Pro and unfortunately it is not working (no matter if size=15 or size=100) :(

Do You have any idea how to fix this?

Here are some logs:

edit:

I have just found something suspicious in app manager, maybe this is the reason?
[Xiaomi Poco X3 Pro] lebigmac:
Hi @xmucio. Thanks for your interest in this project and for providing your feedback (y)

You've got no shared_blocks read-only feature but you still cannot mount your partitions as rw! That's just silly.

@lucasymax @xmucio if you're lucky then next version of script (which is coming soon) will fix your problem but I can't 100% guarantee it yet ;)
[Xiaomi Poco X3 Pro] Aitra:
I flashed systemRW 1.32 on Mi 11lite5g and succeeded in breaking the read-only lock of the system partition.
[Xiaomi Poco X3 Pro] Aitra:
It was working fine on Mi 11 lite5g when I flashed systemrw_1.32 in custom recovery. And I also deleted 28 apk files related to the letter Mi in the super partition without any problems.
[Xiaomi Poco X3 Pro] sarbazg180:
I flash your script its succussfully installed and rebooted but still cant use rw

These are log files:
[Xiaomi Poco X3 Pro] Zesam:
Works nicely on xiaomi.eu_multi_POCOX3Pro_V12.5.7.0.RJUMIXM_v12-11. No problem at all.

Thank you so much. (y)
[Xiaomi Poco X3 Pro] lebigmac:
@sarbazg180 what result do you get if you run dmesg command immediately after remount command?

adb shell
su
mount -o remount,rw /
dmesg > /sdcard/dmesg.txt

Hi @Zesam / @Aitra I am happy that my SystemRW / SuperRW script works as expected on your Xiaomi Poco X3 Pro / Mi 11 Lite 5G device :D

You are very welcome.

Enjoy debloating and customizing your fully read/write-able device! :love:(y)
[Xiaomi Poco X3 Pro] sarbazg180:
i dont know what's the problem but i cant upload it here

here google drive link

dmesg.txt

drive.google.com
[Xiaomi Poco X3 Pro] lebigmac:
@xmucio @sarbazg180

I think what you guys are experiencing is this error :

You can replicate this error if you run dmesg immediately after trying to mount your partition as rw in terminal.

I'm not fully sure yet what exactly causes this error but don't worry we will find out soon enough ;)(y)
[Xiaomi Poco X3 Pro] sarbazg180:
I search in result of dmesg with

grep -w fully

And the result looks like what u say😉
[Xiaomi Poco X3 Pro] R00TMe:
Hello !

Well I've tried the same method that gsser used for his Poco X3 Pro but the results is that after the flash of the super_fixed.bin my phone is just bootlooping and flashing back the super_original.bin didn't help (well I just flashed the ROM again with Magisk and OrangeFox and since the data partition isn't destroyed my phone work again but I still want to know how to allow RW). The super_fixed.bin is 8Gb large and the other 6Gb so I don't think there is a problem with that. Also in the shell command used to start your script you use --size=50 but gsser used --size=20 but I don't know what it mean so I haven't added it but I want to know if this is why this wasn't working and why 50 or 20 ? And I've tried to flash the automatic script with the stable OrangeFox release but it just crash and go back to the OrangeFox logo and start again normally. I can send you logs if you want, I just want to know if I'm doing it right.
[Xiaomi Poco X3 Pro] lebigmac:
Hi @R00TMe thanks for your interest in this project. What device you got? What firmware?

With bootloops most of the time we're in the dark as to what's causing it unless you manage to check the real-time log during bootloop (not sure how to do that).

I'm happy that you managed to get back out of the bootloop without any data loss. Since script only modifies super and vbmeta partitions (avbctl) it should be enough to only flash those to get back out of bootloop.

The size difference between super_original (raw format) and super_fixed (sparse format) is normal.

Don't worry next upcoming version (which will be released very soon)

already has a working auto-resize feature implemented ;)(y)

Please feel free to send me your log files and I'll look into it ;)(y)
[Xiaomi Poco X3 Pro] R00TMe:
I got the same phone as him, Poco X3 Pro and the firmware I had is the official one 12.5.4.0 RJUEUXM (EEE).

I have also sent what was on the CMD used to launch the script with the shell.

I think that the bootloop was because the system partition was like corrupt because I was only having the splashscreen and then a black screen right after without the normal "MIUI" logo and when I was back onto OrangeFox recovery it says in the logs than the system partition, vendor and the last one that I forgot had problem to be mounted.

I pray that this will be useful for you, it's crazy that we aren't able to edit those partitions now even as root.
[Xiaomi Poco X3 Pro] lebigmac:
@R00TMe I'm not sure why it doesn't work on your device. Your log looks great.

I just tested it on my POCO X3 Pro running stock MIUI 12.5.7 and it works perfectly fine over here (see screenshot below)
[Xiaomi Poco X3 Pro] R00TMe:
Weird... Maybe it's because I got the EEA ROM and not the Global one but I want to keep the one that was the default one when I received the phone. Also mine is 12.5.4 and not 12.5.7 but it's still weird that it doesn't work in the previous release.
[Xiaomi Poco X3 Pro] nokio85:
Hello everyone, first of all I would like to thank you for the tutorial.

I don't know if this is big but I managed to fully unlock RW on Xiaomi.eu ROM MIUI 13 (yes Android 12) on my POCO F3, secondly if anyone has some questions or has some ideas to share feel free to ask.
[Xiaomi Poco X3 Pro] lebigmac:
Hi @nokio85 thanks for your feedback. You're welcome.

I'm happy you got my script to work on your Poco F3 device running Android 12. Did you adapt the checkSDK() function to get it to work in Android 12?
[Xiaomi Poco X3 Pro] nokio85:
I did not adopt that, actually I used a different recovery an unofficial build of TWRP, one I can post it here if is allowed.

With that and your script (systemrw_1.32_flashable.zip) it worked I couldn't believed it to be honest since allot of people are having trouble getting RW access on android 11 still.

P.S. When u install the TWRP it will be probably in chinese language first time u launch so here I found a video wich makes it very easy to change it.
[Xiaomi Poco X3 Pro] kaatil:
How Should I Revert Back Changes Created By MakeRW.zip? Please Help!
[Xiaomi Poco X3 Pro] lebigmac:
Hi which MakeRW are you talking about? A couple of ruthless cyber thieves (who are also members in this very forum) have stolen my unique MakeRW program name from me and have released it as their own creation :cautious:

Are you talking about the one and only original MakeRW by lebigmac which is an integral part of the one and only original SystemRW / SuperRW featuring MakeRW by lebigmac ? :unsure:
[Xiaomi Poco X3 Pro] kaatil:
Yes Of course brother Downloaded From This Link
[Xiaomi Poco X3 Pro] kaatil:
I typed wrong... it's systemRW but as i know about makeRW so i mistakenly typed MakeRW..but i flashed the file which says systemRW version 1.32 zip file
[Xiaomi Poco X3 Pro] lebigmac:
Thanks for the screenshot.

Congratulations! According to your screenshot It looks like you downloaded the proper version. :D(y)

It is always recommended to download the one and only original SystemRW/SuperRW feat. MakeRW by lebigmac from the official download link.

Good news! Brand new version is coming this month!;)(y)

What exactly is the problem on your device? Did the SystemRW trick work on your device?

Hopefully this quote from the official SystemRW / SuperRW feat. MakeRW project homepage will answer your question.
[Xiaomi Poco X3 Pro] kaatil:
I was lucky brother bcoz it takes about 8 minutes maximum to flash the file..i haven't make any changes to the config or any file just flashed as it is...let me clear this thing that i have poco f3(alioth) Indian version which has super partition and with A/B slots too...and by default system comes in R/O i think..but see this screenshot ..it means that i have R/W capability..i have flashed stock mi from mi flash tool..and then many roms .. currently i am on cr droid..but just clear me brother..thank you is this ok or RW still working in my phone ?
[Xiaomi Poco X3 Pro] kaatil:
You mean this super partition right ?

Just want to ask some simple question other things, i will do it myself so much thankfull if you help me ..i just want to know is there any other methods then fastboot to flash this .img image..or the only way is fastboot..and how in fastboot and recovery just tell me brother..i have a telegram account how can i contact you..i know you may be busy but i really need that help from you..thank you brother
[Xiaomi Poco X3 Pro] lebigmac:
To check if your device have RW capability you can try run this code:

adb shell
su
for a in /dev/block/dm-*; do tunes=`tune2fs -l $a | grep -e "feat" -e "vol"`; vol=`echo "$tunes" | grep "volume name" | awk '{print $NF}'`; [ -z $vol ] && vol="data"; result=`mount -o remount,rw $a 2>&1`; [[ "$result" == *"read-only" ]] && echo "Error! $vol is read-only!" || echo "successfully remounted $vol as rw"; done
[Xiaomi Poco X3 Pro] degr_ramos:
Does your twrp supports decryption in A12? If not how did you flash the systemrw zip? Thank you
[Xiaomi Poco X3 Pro] degr_ramos:
Is it possible to flash this via sdcard or adb sideload? My device's twrp doesn't support internal storage decryption and only shows 0mb in internal storage in A12. I'm using MIUI 13 A12
[Xiaomi Poco X3 Pro] lebigmac:
Hi. New upcoming version should do the trick for you. I wanted to release it this month but so much stuff to do in real life. I might have to postpone release until April.

What results do you get if you type this command in recovery?

df -h /data

And what result do you get if you type the same command in Android operating system? Thanks.
[Xiaomi Poco X3 Pro] degr_ramos:
These are the results that I got. I hope this helps and maybe you have an alternative method for me to be able to flash this.
[Xiaomi Poco X3 Pro] muhammadbahaa2001:
Does this require rooted phone? and what would happened if I tried it ony my Android 6.0 phone?
[Xiaomi Poco X3 Pro] pl1992aw:
Read the instruction in the Project thread. Requirement was written.
[Xiaomi Poco X3 Pro] alecxs:
you already got answer here #40

read about what this is for, Dynamic Partitions were introduced with Android 10

https://twitter.com/i/web/status/1170404631865778177
[Xiaomi Poco X3 Pro] emmanuelo7:
Does it Works on Poco F3? Thanks
[Xiaomi Poco X3 Pro] lebigmac:
Hi @emmanuelo7 . Thanks for your interest in my original SystemRW / SuperRW feat. MakeRW by lebigmac project (y)

Please try it and if it not works then together we will make it work on your device with the help of your useful feedback! Thanks!

Good luck (y)

If you have any questions just ask me!
[Xiaomi Poco X3 Pro] devasure:
It didn't work on my redmi 9i sports.Throws error 225
[Xiaomi Poco X3 Pro] akrox:
Hi @lebigmac ,

Your script is badass!

Follow attached logs for Samsung S22+ (SM-G906B).

I've only question, how can i flash the output (super_fixed.bin)? I've tried with Odin... but couldn't flash. (yes, i've put the super_fixed.bin inside a tar like: super.tar)

Can you anyone give any advice?
[Xiaomi Poco X3 Pro] lebigmac:
@akrox thanks for your feedback and your kind words. WAIT! Don't flash this super_fixed.bin just yet! ;)(y)

I am working on a fix for the Samsung and Realme users as we speak :D(y) Hopefully I can release it soon! Wish me luck! (y) I've heard that some Chinese dude already found the solution long time ago :LOL:

Wait a second are you saying that

Samsung removed fastboot from all Samsung Galaxy devices? 😲

That sucks! 😠(n) That's not very developer friendly at all! Xiaomi is much more developer friendly in that regard but their bootloader unlock process could be more straight-forward. Just please give us that good oldschool unlock code that we can then simply enter into fastboot to unlock our devices. Thanks :D(y)
[Xiaomi Poco X3 Pro] akrox:
Thank you for your feedback! Well, i'll keep trying other solutions then!

Yup, Samsung removed fastboot... don't know when or why but thats what we have 😠 :LOL: :LOL:
[Xiaomi Poco X3 Pro] Renate:
I've read through the whole thread and if I haven't misread you're still using /data in recovery?

I don't like the bit about decrypting /data so that you can mount it easily in recovery.

There is always a problem in recovery doing "heavy lifting" where you need a bunch of free storage, most of tied up in /data.

I like using a USB flash drive on an OTG adapter. Of course you lose the ability to USB ADB. (You could WiFi ADB.)

I have a custom recovery for Onyx devices that waits for an update.zip on a flash drive and installs it.
[Xiaomi Poco X3 Pro] Usama-CW:
Hello, i wanted to try this i know how to revert back when something goes wrong.. but i am confused a bit

1) if i make my system read write will it keep my device encrypted and does it effect my safetynet? i am passing Safety Net with magisk

2) when i update my rom (Los 19.1) will my system stay read write?
[Xiaomi Poco X3 Pro] lebigmac:
Hi @Usama-CW.

1) My SystemRW/SuperRW feat. MakeRW script doesn't affect encryption at all. You just have to make sure that /data partition is properly decrypted and mounted before launching my script (y)

Sorry I don't use this useless safetynet feature and to be honest I'm tired of hearing about it. I do all my money transactions in browser app. The good thing about browser app it's not intrusive at all and will not sniff my rooting or selinux status or other personal data (which are none of its business) without my permission unlike some other intrusive apps... If you've got such an intrusive app on your phone then the best thing to do is to uninstall it and look for a non-intrusive alternative.

2) No if you change ROM's you will have to make your device RW again because stock ROM's are read-only by default.

Good luck! (y)