• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

General [LINK] How to make your system read-write R/W

Search This thread

pcjabuy

Member
Jul 10, 2021
11
0
Xiaomi Poco X3 Pro
Ok how about you try to install it manually then? Detailed manual installation instructions can be found both in first comment of project thread as well as in comment section of script file itself. Good luck!
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:

Screenshot_2021-07-31-05-48-31.jpg


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

微信截图_20210731190744.jpg


So it still doen't work on my device……
 

lebigmac

Senior Member
Jan 31, 2017
839
485
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:

View attachment 5374833

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

View attachment 5374831

So it still doen't work on my device……
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.
 

pcjabuy

Member
Jul 10, 2021
11
0
Xiaomi Poco X3 Pro
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.
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.
 

lebigmac

Senior Member
Jan 31, 2017
839
485
@pcjabuy
Make sure /data partition is decrypted and mounted in your recovery and then try running script manually. Good luck!

Bash:
adb shell
cd /data/local/tmp/systemrw_1.32
chmod +x ./systemrw.sh
./systemrw.sh size=50
 

lebigmac

Senior Member
Jan 31, 2017
839
485
Hi, the new version works on Poco X3 Pro with EU rom, thanks.
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?

@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
Hi Oswald.
as your thread doesn't qualify for development in this device forum.
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!
 
Last edited:
  • Like
Reactions: Oswald Boelcke

Lord N

New member
Sep 16, 2018
4
0
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.
 

fly.dvorkin

New member
Jan 25, 2018
3
0
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.
 

Attachments

  • lpdump.txt
    1.6 KB · Views: 3
  • mylog.txt
    6.9 KB · Views: 2
  • Wow
Reactions: lebigmac

lebigmac

Senior Member
Jan 31, 2017
839
485
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.
Hi. Please send me log files from /data/local/tmp/systemrw_1.32/log
Thanks!

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.
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 flashing back stock vbmeta.img (you can download stock firmware from Xiaomi website).
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!
 
Last edited:

tagcart

Member
Jul 9, 2016
12
2
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.
 
Last edited:

lebigmac

Senior Member
Jan 31, 2017
839
485
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!
 

tagcart

Member
Jul 9, 2016
12
2
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!
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.
 

tagcart

Member
Jul 9, 2016
12
2
@tagcart just rename .bin to .img and try to only flash super partition in Odin. Good luck!
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!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Welcome to
    SystemRW by lebigmac

    This script removes the read-only lock of all partitions embedded in the super partition of your stock firmware.
    This allows you to fully debloat your device and customize your MIUI experience to make it run as smooth as silk!
    MIUI 12 is great but it has a little bit too much bloatware.

    Be very careful when debloating your device! One little mistake could cause bootloop!
    Make lots of backups!
    Enjoy a fully read/write-able system!

    Before launching script make sure you've got full read/write access to the /data partition and that /data partition is not encrypted!

    v1-31d_01-jpg.5309953
    v1-31d_03-jpg.5309957
    2
    Hi @mørningstαr thanks for your interest in this project. I am working on Android installer app that should make script installation much easier. Hopefully I can release it soon!
    2
    View attachment 5287597now do i need to flash the super_fixed.bin in script folder's files folder in fastboot? original super is approx. 8gb and fixed one is nearly half of it

    Yes. That file size difference is normal. One file is raw format the other one is sparse format.

    You should be able to flash the patched super image file like this:
    Bash:
    adb pull /data/local/tmp/systemrw_1.32/img/super_fixed.bin
    adb reboot bootloader
    fastboot flash super super_fixed.bin

    Can you please upload your log files from script folder? Thanks for your feedback. It helps with further development.
    2
    After copying script folder into /data/local/tmp/
    open command prompt and type this

    Bash:
    adb shell
    
    su
    cd /data/local/tmp/makesysrw_1.32
    chmod +x ./makesysrw.sh
    ./makesysrw.sh size=50
    1
    PS C:\adb> adb shell "ls -Alg /dev/block/by-name | grep 'super'"
    lrwxrwxrwx 1 root 16 1970-02-02 16:40 super -> /dev/block/sda23

    POCO X3 pro