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

silent27

New member
Jul 30, 2021
4
1
yes, the super section has sections: system, vendor, system_ext, product, odm after flashing the script, everyone got permission, except for odm

the fingerprint fell off from here, since odm read-only, stock firmware realme 7pro
 
  • Like
Reactions: lebigmac

lebigmac

Senior Member
Jan 31, 2017
876
507
@silent27 Okay in next version of script I will make r/w all contents of super image and try to implement auto-resize feature.

In the meantime you can try replacing line #238 in script with this new line (not tested):
makeRW $fName;
Good luck!

The only issue i got on using this flashable fix was i cant mount vendor partition but system and product partition can be modified and are mountable im using poco m3 with super partition
@samsungics1200 why you can't mount /vendor as r/w ?

Same. I just finished de-bloating all the system apps but I'm stuck with "Title 3 months free trial" (yeah, that's the actual name of the app), linkedin, and some random "call of duty" that is already old. I'm crossing my finger this script might be modifiable to fix /oem, if not then I know that for the Xperia 1II the Russian firmware does not have the "/oem" partition and so if I scrap everything I've done, and flash that, I won't have to deal with it. I prefer not to use the Russian one though because I lose some functionality with my carrier in the US.

When I try mount -o remount,rw /oem I get '/dev/block/bootdevice/by-name/oem_a' is read-only
@DeathShot9 does this mean script actually works on modern Sony devices? That's great news! Where exactly is /oem partition located? Is it inside super image?

@lebigmac

Hey remember I messaged you a while back and posted on this thread that I did get it to work successfully. I also added a step by step on how I got it to work a few pages back. I believe @Keven11 got it to work as well

Hi @tha_mechanic yes I remember I was just revisiting some older interesting or unanswered comments ;)

I did indeed get it working. I just installed Linux Mint on my old laptop. My issue wasn't so much that I don't know how to use Linux. I was having a hard time navigating the windows file system using the Linux UI. Once I had a full Linux environment as opposed to a VM it wasn't a problem.
Hi @Keven11 congratulations on getting it to work on your device.
Honestly I didn't even change that much in the new version. Cleaned up the code a little bit and tried to fix that damn cow error. Apparently that did the trick :D

If you got the old version to work you don't need to run the new version again unless u feel adventurous and want to resize your partitions (or you want to unlock individual partitions...)
 
Last edited:

Suryashis

Senior Member
I can confirm that the flashable.zip worked for me flawlessly in 1st attempt. I am running Poco F3/ Mi 11x with Xiaomi.eu version 12.5.4.0 on android 11. Now my root is fully writable.
And fingerprint unlock is fully functioning...

But I just noticed that approx 9gb of my internal memory is consumed. Probably some backup being done as u mentioned in original thread.
Is there any way by which it can be regained?
 
Last edited:
  • Love
Reactions: lebigmac

X - root

Member
Mar 14, 2019
6
2
Tangerang
im finish to flash systemrw.sh from termux, then flash super_fixed.bin from fastboot. n then reboot.

but when i opened Root Exploler, then i push button Mount R/W it doesnt change.
and when im check remount to rw section from temux, its read only too.

how possible is that?
sorry if my bad english. @lebigmac

My Device : Redmi Note 9 [Merlin]
Miui Version : 12.0.6.0 [Global]
Android OS : 10
Have Magisk : Yes. 23.0

fyi: im tried flash flashable from twrp. but it said ERROR:255 even i reflashed new twrp it doesnt change too. stuck at ERROR: 255. So i chose termux way
 

Attachments

  • lpdump.txt
    1.1 KB · Views: 3
  • mylog.txt
    4.4 KB · Views: 5
  • Screenshot_2021-07-30-20-56-33-123_com.termux.jpg
    Screenshot_2021-07-30-20-56-33-123_com.termux.jpg
    361.5 KB · Views: 38
  • IMG_20210730_222113.jpg
    IMG_20210730_222113.jpg
    27.8 KB · Views: 35
Last edited:
  • Like
Reactions: lebigmac

lebigmac

Senior Member
Jan 31, 2017
876
507
I can confirm that the flashable.zip worked for me flawlessly in 1st attempt. I am running Poco F3/ Mi 11x with Xiaomi.eu version 12.5.4.0 on android 11. Now my root is fully writable.
And fingerprint unlock is fully functioning...

But I just noticed that approx 9gb of my internal memory is consumed. Probably some backup being done as u mentioned in original thread.
Is there any way by which it can be regained?

Hi @Suryashis. Thanks for your message. That's great news. Congratulations for getting it to work!
You can delete whole script folder from /data/local/tmp/
Or if you plan on running script again in the near future you can delete only img subfolder inside script folder. That's where all the data is dumped to.
Img subfolder should be recreated next time you launch script.

There was an update to the moto g 5g.
I tried v1.32 and got bootloop.
v1.31d worked fine.
Hi @PEACH-PIT thanks for your input.
The only thing that changed was the script version? Everything else is the same? Or did you update phone firmware since using v1.31d ? Thanks.
I remember you used to have error 73 on your motorola device. Did you get same error 73 in new version 1.32 ?
If I understand you right then overall the script went well , gave you error 73 as usual, then you used sysrw_repair_v1.32 to create super_fixed.bin and manually flashed it to your super partition but then it gave you bootloop? Is that it?

im finish to flash systemrw.sh from termux, then flash super_fixed.bin from fastboot. n then reboot.

but when i opened Root Exploler, then i push button Mount R/W it doesnt change.
and when im check remount to rw section from temux, its read only too.

how possible is that?
sorry if my bad english. @lebigmac

My Device : Redmi Note 9 [Merlin]
Miui Version : 12.0.6.0 [Global]
Android OS : 10
Have Magisk : Yes. 23.0

fyi: im tried flash flashable from twrp. but it said ERROR:255 even i reflashed new twrp it doesnt change too. stuck at ERROR: 255. So i chose termux way

Hi @X - root thanks for your log files.
Could you please send me this file from your custom recovery? /tmp/recovery.log
That way I can check what exactly is causing error 255 in recovery. I thought I had already fixed this error but apparently I only fixed error signal 6.

I checked your log file and you don't have shared_blocks feature so my script cannot do much other than maybe resizing your partitions... Did you check if your partitions were resized correctly? Do you have 30 MB of free space on each partition /, /product and /vendor ?

systemrw: / is read-only
systemrw: /product is read-only
systemrw: /vendor is read-only
systemrw: NO 'shared_blocks feature' detected @ system.img
systemrw: NO 'shared_blocks feature' detected @ product.img
systemrw: NO 'shared_blocks feature' detected @ vendor.img

Something else is preventing your device from mounting your partitions as r/w and I don't know what it is. You must figure this out if you want to be able to mount your partitions as r/w.
Usually it's shared_blocks feature that is the culprit of read-only lock but your device don't have this feature.
Hopefully you can figure it out. Good luck!

I'm happy that despite this, your device didn't experience bootloop! That's great. You did flash the super_fixed.bin manually right?
 
Last edited:

X - root

Member
Mar 14, 2019
6
2
Tangerang
Hi @PEACH-PIT thanks for your input.
The only thing that changed was the script version? Everything else is the same? Or did you update phone firmware since using v1.31d ? Thanks.
I remember you used to have error 73 on your motorola device. Did you get same error 73 in new version 1.32 ?
If I understand you right then overall the script went well , gave you error 73 as usual, then you used sysrw_repair_v1.32 to create super_fixed.bin and manually flashed it to your super partition but then it gave you bootloop? Is that it?



Hi @X - root thanks for your log files.
Could you please send me this file from your custom recovery? /tmp/recovery.log
That way I can check what exactly is causing error 255 in recovery. I thought I had already fixed this error but apparently I only fixed error signal 6.

I checked your log file and you don't have shared_blocks feature so my script cannot do much other than maybe resizing your partitions...



Something else is preventing your device from mounting your partitions as r/w and I don't know what it is. You must figure this out if you want to be able to mount your partitions as r/w.
Usually it's shared_blocks feature that is the culprit of read-only lock but your device don't have this feature.
Hopefully you can figure it out. Good luck!

I'm happy that despite this, your device didn't experience bootloop! So that's great. You did flash the super_fixed.bin manually right?

Did you check if your partitions were resized correctly? Do you have 30 MB of free space on each partition /, /product and /vendor ?
sorry, you mean i cant mout system r/o to r/w from your file ?

im flashed new rom [NusantaraProject] 23mnt ago, so im lost log from custom recovery you want.

now i will try to use your file to this rom.
Android 11.
Partition System R/O
 
  • Like
Reactions: lebigmac

lebigmac

Senior Member
Jan 31, 2017
876
507
sorry, you mean i cant mout system r/o to r/w from your file ?
I don't know what kind of 'read-only features' your manufacturer has added to your firmware.

You could try this command and at the same time call dmesg to find out more info about what exactly is forcing your partition to stay locked in read-only mode.

1-jpg.5235933


Did you try different mount command yet? For example busybox mount or toybox mount?
Bash:
adb shell
su
cd /data/local/tmp/systemrw_1.32
./tools/toybox mount -o rw,remount /
dmesg > ./log_new.txt
 
Last edited:

X - root

Member
Mar 14, 2019
6
2
Tangerang
I don't know what kind of 'read-only features' your manufacturer has added to your firmware.

You could try this command and at the same time call dmesg to find out more info about what exactly is forcing your partition to stay locked in read-only mode.

1-jpg.5235933


Did you try different mount command yet? For example busybox mount or toybox mount?
Bash:
adb shell
su
cd /data/local/tmp/systemrw_1.32
./tools/toybox mount -o rw,remount /
dmesg > ./log_new.txt
for toybox comand :
it display [block/dm-2' is read-only]

for the ask :
yes, i flashed super_fixed.bin manualy.

the Question is :
is it possible to move service.jar (smali patcher) to system/framework with other way?
i mean, this manufactur system lock by read-only so i cant write or replace any file to system manually.
 
  • Sad
Reactions: lebigmac

PEACH-PIT

Senior Member
Jan 22, 2018
104
25
Hi @PEACH-PIT thanks for your input.
The only thing that changed was the script version? Everything else is the same? Or did you update phone firmware since using v1.31d ? Thanks.
I remember you used to have error 73 on your motorola device. Did you get same error 73 in new version 1.32 ?
If I understand you right then overall the script went well , gave you error 73 as usual, then you used sysrw_repair_v1.32 to create super_fixed.bin and manually flashed it to your super partition but then it gave you bootloop? Is that it?

That's right.
I updated moto g 5g to the latest FW.
Then I ran v1.32 on linux.
The systemrw stopped with error 73.
sysrw_repair seemed to have finished successfully.
However, a boot loop occurred.
I flashed the FW again and tried 1.31d in the same way.
The sysrw_repair finished normally and no boot loop occurred.
 
  • Wow
Reactions: lebigmac

lebigmac

Senior Member
Jan 31, 2017
876
507
yes, the super section has sections: system, vendor, system_ext, product, odm after flashing the script, everyone got permission, except for odm

the fingerprint fell off from here, since odm read-only, stock firmware realme 7pro
with mounting all partitions helped, thanks

sorry the fingerprint didn't work

Hi @silent27
I tried to remove 'shared_blocks feature' from /odm partition on my Xiaomi device and the script can successfully remove it but then after booting into system, the /odm partition is still read-only and it still shows 'shared_blocks feature'.
What the hell!?
 

lebigmac

Senior Member
Jan 31, 2017
876
507
does it work on xiomi Redmi mi 10x 4g
Hello. I don't know but the probability is pretty high that it will just work straight out of the box. Give it a try and let us know your results! Good luck!

Tested 1.32 on stock zenfone 8. Still getting error 73, most likely to the pesky cow files
Hi. I don't think error 73 and cow files are related.
I believe error 73 is caused by stubborn selinux settings. Try to completely disable it.
Could you please send me your log files so I can double check?
Log files can be found in /data/local/tmp/systemrw_1.32/log/
Thanks!
Did you try yet the included troubleshooting repair script (Linux only)? That usually fixes error 73.
Another possible way to fix error 73 is the @harpreet.s slot switching method described in first post troubleshooting section. Good luck!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    is there any tutorial on how to use sysrw_repair_v1.32 ? :

    1- Sorry for spamming the thread.
    2- Thank you Keven11 and lebigmac
    3- Finally I got it, first flashed the stock rom (android 11) and started it just to create the /data/media/ folder. Right after that I turned off the device, flashed the twrp and magisk, and placed the systemrw_1.32 in the /data/local/tmp/ folder. I started the script from the twrp terminal "sh /data/local/tmp/systemrw_1.32/systemrw.sh size=15. After getting the error "73" screen, I started sysrw_repair_v1.32 in vmware emulating linux mint... And everything went really well! :)

    View attachment 5425517
    It is definitely a journey. Well worth the work, and time invested in then end. Also, it helps many people understand their devices just that much more. I am glad that you were successful.

    Also, everytime a person manages to get this to work for themselves, and explains how they did. That alone helps many others. So thank you for putting in the work, and sharing your experience.
    2
    1- Sorry for spamming the thread.
    2- Thank you Keven11 and lebigmac
    3- Finally I got it, first flashed the stock rom (android 11) and started it just to create the /data/media/ folder. Right after that I turned off the device, flashed the twrp and magisk, and placed the systemrw_1.32 in the /data/local/tmp/ folder. I started the script from the twrp terminal "sh /data/local/tmp/systemrw_1.32/systemrw.sh size=15. After getting the error "73" screen, I started sysrw_repair_v1.32 in vmware emulating linux mint... And everything went really well! :)

    c74256c2706c6e8f74e5858e4aa85f57.gif
    2
    Thanks. But you can tell in more detail. Where to get the super_original.bin and super_fix files. Please write detailed instructions.
    this script have 2 mode one is from recovery flash as zip second have run it in android environment.
    if you run this in recovery then it patch and flash super automatically.
    second if you run it in android environment with as mention location of /data/local/tmp/here_your_script_folder/here_script.sh then it create a "img" folder inside of script folder then pull super from your device make a backup and rename that to super_orignal.bin then extract that super and patch r/w capability then make that again super and rename it as super_fix.img so simply you get two bin files inside "img" folder
    if you wanna r/w your device flash super_fix.img from bootloader.
    if you wanna go back to original state "flash super_orignal.bin" from bootloader.
    directory tree will like this :-
    data/ ├─ local/ │ ├─ tmp/ │ │ ├─ systemrw_1.32/ │ │ │ ├─img/ │ │ │ │ ├─super_orignal.bin │ │ │ │ ├─super_fix.bin │ │ │ ├─ tools/ │ │ │ ├─ config.ini │ │ │ ├─ systemrw.sh
    thanks this for @The_Tablet
    That's it!
    1
    Hola, [USER = 11816235] @Ricardo Cruz [/ USER]. Envíeme sus archivos de registro desde esta carpeta. Gracias.
    /data/local/tmp/systemrw_1.32/log / [/ ICODE] Simplemente conecte el teléfono a la computadora usando un cable usb-c a usb-a. [URL='https://forum.xda-developers.com/t/script-android-10-universal-mount-system-read-write-r-w.4247311/page-23#post-84901531'][B]Aquí[/B][/URL] puede encontrar las instrucciones oficiales del script de reparación de resolución de problemas (solo Linux). [/QUOTE] Hello, sorry for the delay, I imagine that these are the files that you ask me [/QUOTE]
    1
    Ok

    it's like this :
    I have Asus ROG III
    stock android 11
    twrp latest
    rooted with latest magisk
    I have Xposed working and some modules installed on Xposed
    I too have some modules installed on magisk
    I have plenty of free storage
    I have RW system

    the question is: I want to install a full update package from Asus , after wards I should probably lose RW system
    how should I approach this with 💯 success and without having to wipe data?

    thank you
  • 101
    If you can't get this script to work on your device check out the brand new sophisticated superrepack tool by @munjeni


    logo_large.jpg

    *NEW* SystemRW v1.32 *NEW*
    automated bash script by lebigmac for Android 10 and above

    Creation date: February 2021
    Updated: August 2021

    Requirements:
    • rooted STOCK Android 10 or newer (custom ROM should already be R/W!)
    • at least 10+ GB free space on phone for dumping data
    Description:
    A script for all Android power users that wish to make their read-only Android 10+ system read/write-able again to remove bloatware and make more thorough customizations to their device.

    In a nutshell this is what the script is doing:
    • dumps your existing super OR your system / product / vendor partitions depending on whether or not you've got super partition
    • extracts embedded read-only partitions (system, vendor, product...) from super if applicable
    • makes these partitions read/write-able
    • joins everything back together to new super.img OR NOT depending on whether or not you've got super partition
    • flashes read/write-able images back to device using the super fast Kolibass technique (only in recovery mode)
    User data is not affected.

    NOTE:
    • Extract BUNDLE.zip (the included sysrw_repair.zip is only for fixing error 73!)
    • Before launching script make sure you've got full read/write access to the /data partition by first decrypting and then mounting /data partition as R/W!
    • The script can be run both inside custom recovery and inside Android operating system.
      If you run script in Android mode you will need to fastboot flash the patched image(s) manually!
    • To check whether or not you've got a super partition on your device you can run this command:
      adb shell "ls -l /dev/block/by-name/super"
    Manual installation:
    • Extract flashable.zip and copy systemrw_*VERSION* folder into /data/local/tmp/
    • run this command to make the script executable:
    chmod +x /data/local/tmp/systemrw_*VERSION*/systemrw.sh
    Automatic installation:
    Installation of the script has never been this easy!
    Download the flashable.zip below, do NOT enable zip signature verification and simply install it in your custom recovery (works in TWRP, OrangeFox and PBRP!)
    The installer binary will auto-detect whether or not your device has a super partition and launch the script accordingly with the proper command line arguments.

    Flashable zip custom usage:
    You can set these custom installation arguments in the included config.ini file.
    Simply extract the flashable.zip and modify the included config.ini file and then save the file. Then compress the systemrw_*VERSION* and META-INF folders again as a new .zip and install it in recovery.
    First line of config.ini contains the script arguments for those WITHOUT super partition.
    By default this line is completely empty (no space).
    Second line of config.ini contains the script arguments for those WITH super partition.
    For example if you already dumped your super_original.bin and want to skip that process next time you install the .zip then put this in line #2 of config.ini :
    in=`ls -l /dev/block/by-name/super | awk '{print $NF}'` size=15
    Remember if you decide to use custom arguments in config.ini then the first character should always be an empty space. If no arguments are used such as by default in line #1 (no super) then the line should be completely empty, no space, nothing.

    Script usage:
    If you've got no super partition then simply call the script with no arguments from the shell (see examples below).
    If you've got a super partition I would recommend using the optional size=15 parameter as well to give some extra free space (in MB) to each partition.
    Optional script arguments:
    Replace x with your custom value
    • in=x *THIS IS IGNORED IF YOU'VE GOT NO SUPER PARTITION*
      With this flag you can specify an existing super image as input and skip the entire dumping of the super image process. Here you can use the super_original.bin which you dumped earlier with systemrw or the official unsparsed super.img from your downloaded firmware. (unsparse with simg2img). It's also possible to use your super partition block device as input.
      If omitted, systemrw will dump super image from phone to ./img/super_original.bin
      (path is relative to the script)
    • out=x *THIS IS IGNORED IF YOU'VE GOT NO SUPER PARTITION*
      With this argument you can specify the output path of the new patched super file.
      If omitted, default output value is ./img/super_fixed.bin
    • size=x *ONLY RECOMMENDED IF YOU'VE GOT SUPER PARTITION*
      With this parameter you can specify the extra free space (in megabytes) that will be added to each partition. There is a limit as to how much extra free space you can add per partition. Check your lpdump.txt to find out the exact maximum extra size.
      If omitted, default extra size is 0 (shrink to minimum)

    Examples:
    Bash:
    adb shell
    su
    cd /data/local/tmp/systemrw_1.32
    chmod +x ./systemrw.sh
    
    # Run this command *IF YOU'VE GOT NO SUPER PARTITION*
    ./systemrw.sh
    
    # Run this command if you're first time user *AND YOU'VE GOT SUPER PARTITION*
    # Specify the extra free space in megabytes for each partition:
    ./systemrw.sh size=15
    
    # Plug an existing super image into the script like this *ONLY IF YOU'VE GOT SUPER PARTITION*
    ./systemrw.sh in=./img/super_original.bin size=15
    
    # Specify both the input file as well as the output destination *ONLY IF YOU'VE GOT SUPER PARTITION*
    ./systemrw.sh in=./img/super_original.bin out=./custom/path/super_fixed.bin size=15
    
    # EXPERT EXAMPLE:
    ./systemrw.sh in=`ls -l /dev/block/by-name/super | awk '{print $NF}'` out=./img/super_fixed.bin size=50

    Troubleshooting:
    If you get error 255 in custom recovery when trying to install flashable zip then try to install it manually. If you encounter this error please send me this file /tmp/recovery.log
    Make sure the script folder was correctly extracted to:
    /data/local/tmp/systemrw_*VERSION*
    If you can't run the script try making the file executable like this: chmod +x ./systemrw.sh
    If you still can't get it to work run which sh in your shell and replace the shebang in the first line of the script with the output of that command. Don't remove the first two #! symbols though. Then save the file and try again.
    Make sure you have full read write access to the /data/local/tmp directory and that the containing files are not encrypted in custom recovery!
    If you experience bootloop after successfully flashing super_fixed.bin then your device probably has additional protection features that prevent it from booting modified super images. Try to undo bootloop simply by flashing original stock super image. You might have to flash stock vbmeta as well. Good luck!

    About:
    I did not come up with all this by myself. After searching for a solution for countless days without success, going even as far as learning hex editing - I accidentally came across a couple of very interesting threads burried deep inside the new forum interface where this method has been described by various enthousiasts (links can be found in the credits section below). Therefore I take absolutely no credit for the underlying core mechanisms of the script. I'm only the amateur who put it all together into a compact script so that everybody can enjoy an Android system that's read/write-able again. Just like it used to be in Android 9 or earlier. Before this annoying 'shared_blocks feature' was implemented.

    Credits:
    Huge thanks to @Kolibass for allowing me to use his partition tools for Android. Without your tools this script would not work on the Android platform! This genius also showed me how to flash a 5GB file to my partition in just under 30 seconds! Much faster than fastboot! I still can't believe it!
    Big thanks to @Brepro1 for allowing me to basically copy his awesome tutorial and make it into a script. Without your tutorial guiding me I couldn't have created this script.
    Thanks @AndyYan your great tutorial also helped me a lot for automating the script especially the lpdump part.
    Also big thanks @munjeni for allowing me to use his superunpack V1 tool in the previous version. It helped me to understand how these super images work.
    Thanks @bynarie for making available his otatools package! A part of it was bundled with the previous version which helped me to create this version. It's still part of the troubleshooting repair script to fix error 73.
    More thanks @gabrielfrias for his helpful comment
    Thanks @YOisuPU and of course @topjohnwu for discovering the 'shared_blocks feature'
    Thanks @HemanthJabalpuri for assisting me in optimizing the underlying algorithm!

    Disclaimer:
    #Disclaimer v2.0​
    This open source software is provided as is without any kind of warranty or support whatsoever.
    By using and viewing this software you agree to the following terms:
    • Under no circumstances shall the author be held responsible for any damages that may ensue from the (inappropriate) use of this software.
    • All responsibility, liability and risk lies with the end-user. You hereby agree not to abuse this software for illegal purposes.
    • Under no circumstances shall the comments & title section of the script (lines #1 - #65) as well as the included update-binary be modified or removed by the end-user without the original author's explicit consent.
    • Under no circumstances shall any files included in this project be re-uploaded to 3rd party websites without the original author's explicit consent. That means NO RE-UPLOADS of my files please! Thank you!
    • Under no circumstances shall the end-user disrespect, abuse or steal my project for his own disturbed purposes! The end-user also agrees not to steal my program logo or program name or the names of my functions and variables (and more) only to re-publish them as his/her own without even mentioning the original source.
    • The end-user is encouraged to improve the underlying algorithm (as long as no malicious code is added) and post his/her modifications, results and feedback right here in the official SystemRW project thread @ xda-developers.com
    • If the end-user wants to re-publish my work in his/her own project then he/she shall first ask me (the original author) for permission.
      If you want to make a video tutorial about my script please contact me first!
      Thank you! I can give you high resolution project logo and more!

    Please make sure to post your feedback and suggestions in the official thread right here.
    Enjoy customizing your fully read/write-able Android device! And feel free to share your Android system mods with other users in this thread! Thanks!


    v1-31d_01-jpg.5309953
    v1-31d_02-jpg.5309955
    v1-31d_03-jpg.5309957


    1-jpg.5235933


    Confirmed working on these devices :

    Download v1.32 mirror #1
    Download v1.32 mirror #2
    current status:
    experimental
    If you like this project and want to support further development of this project & the creation of more amazing projects like this then please feel free to donate to the developer by clicking the link below. Thanks! Your support is very much appreciated!

    Donate
    9
    If the script works on your device please send me your log files from this folder:
    /data/local/tmp/systemrw_1.32/log/

    Then I can add you to the list of successful devices and it will be helpful for further development. Thank you!
    6
    New version 1.20 is ready! DOWNLOAD HERE
    Good news for those that don't have TWRP or couldn't get it to work in their TWRP. Now the script can also be run directly inside Android. Keep in mind that you will have to flash the patched images manually in this case using fastboot flash.

    The zip can still be flashed in TWRP (make sure zip signature verification isn't checked). This time I bundled my device's stock sh binary (which I used to develop the script) with the archive. Hopefully this will prevent avoidable sh-related syntax errors for some folks. The flashable zip installer update-binary automatically launches the script with the proper arguments using this bundled sh program (it's inside the tools subfolder).

    To those that were having difficulties running the previous version due to empty partitions or multiple partition groups inside their super : this has finally been fixed :D

    Please give this new version a try and let me know if it works for you or not and I will add it to the first post. Thanks for your feedback!
    5
    I try to redo the procedure, i want to change the size. but i get error, can't remove lock.

    Good news. New hotfix available HERE
    I got rid of that buggy get minimum size function and reworked the size querying algorithm a little bit. Should be more stable now.

    Next step will be to make the script compatible with those devices that have empty partitions embedded inside their super partition...
    Also ronnie was complaining about syntax error but I have yet to find the syntax error... If anyone finds it please let me know so I can fix it. Thank you!
    4
    Great news! Flashable zip is almost ready! I'll upload it later today. Any volunteers want to beta test the new flashable zip to help me iron out any bugs? Please send me a message. Thanks!

    Installing the script has never been this easy. Simply swipe with finger inside TWRP and it's automatically installed to correct location on your phone.
    Then it checks a config file for any custom script execution arguments and launches the script with these arguments depending on whether or not your phone has a super partition.

    Let me tell you it was not easy to create this flashable zip installer but I had lots of fun learning about this whole flashable zip concept the past few days.