fastboot'd not fastboot btw but so far its working on 13/15 yall are st8 G im sooo greartful
quick and painless im thinking i may want to give more than what is here now tho can i do this one more time on general purpose???
fastboot'd not fastboot btw but so far its working on 13/15 yall are st8 G im sooo greartful
Ok I figured it out. Turns out I just needed to flash with bigger partition size. Works fine on redmi note 11 android 11.Ok I'm now confused. Everything done exactly even was able to mount but can't copy file to system_ext.
Device: Redmi Note 11
[Note: I didn't run the script. The super_fixed.bin was from previous session. I just replaced super.img with super_fixed.bin of the same rom & flashed. Seems to be still able to mount but no idea why I can't copy. I can still delete stuff though]
PS C:\Users\Ryan> adb devices
List of devices attached
ac9353f device
PS C:\Users\Ryan> adb shell
spes:/ $ su
spes:/ # su mount -o remount, rw /
su: invalid option -- o
MagiskSU
Usage: su [options] [-] [user [argument...]]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login pretend the shell to be a login shell
-m, -p,
--preserve-environment preserve the entire environment
-s, --shell SHELL use SHELL instead of the default /system/bin/sh
-v, --version display version number and exit
-V display version code and exit
-mm, -M,
--mount-master force run in the global mount namespace
2|spes:/ # su mount -o remount, rw /system_ext
su: invalid option -- o
MagiskSU
Usage: su [options] [-] [user [argument...]]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login pretend the shell to be a login shell
-m, -p,
--preserve-environment preserve the entire environment
-s, --shell SHELL use SHELL instead of the default /system/bin/sh
-v, --version display version number and exit
-V display version code and exit
-mm, -M,
--mount-master force run in the global mount namespace
2|spes:/ # mount -o remount,rw /system
mount: '/system' not in /proc/mounts
1|spes:/ # mount -o remount,rw /system_ext
spes:/ # mount -o remount,rw /product
spes:/ # mount -o remount,rw /vendor
spes:/ # mount | grep dm-
/dev/block/dm-3 on / type ext4 (ro,seclabel,relatime,discard)
/dev/block/dm-0 on /system_ext type ext4 (rw,seclabel,relatime,discard)
/dev/block/dm-2 on /vendor type ext4 (rw,seclabel,relatime,discard)
/dev/block/dm-1 on /product type ext4 (rw,seclabel,relatime,discard)
/dev/block/dm-4 on /data type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
/dev/block/dm-4 on /data/user/0 type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
/dev/block/dm-4 on /data_mirror/data_ce/null type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
/dev/block/dm-4 on /data_mirror/data_ce/null/0 type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
/dev/block/dm-4 on /data_mirror/data_de/null type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
/dev/block/dm-4 on /data_mirror/cur_profiles type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
spes:/ #
Congratulations! It looks like it worked for youOk I'm now confused. Everything done exactly even was able to mount but can't copy file to system_ext.
Device: Redmi Note 11
[Note: I didn't run the script. The super_fixed.bin was from previous session. I just replaced super.img with super_fixed.bin of the same rom & flashed. Seems to be still able to mount but no idea why I can't copy. I can still delete stuff though]
PS C:\Users\Ryan> adb devices
List of devices attached
ac9353f device
PS C:\Users\Ryan> adb shell
spes:/ $ su
spes:/ # su mount -o remount, rw /
su: invalid option -- o
MagiskSU
Usage: su [options] [-] [user [argument...]]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login pretend the shell to be a login shell
-m, -p,
--preserve-environment preserve the entire environment
-s, --shell SHELL use SHELL instead of the default /system/bin/sh
-v, --version display version number and exit
-V display version code and exit
-mm, -M,
--mount-master force run in the global mount namespace
2|spes:/ # su mount -o remount, rw /system_ext
su: invalid option -- o
MagiskSU
Usage: su [options] [-] [user [argument...]]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login pretend the shell to be a login shell
-m, -p,
--preserve-environment preserve the entire environment
-s, --shell SHELL use SHELL instead of the default /system/bin/sh
-v, --version display version number and exit
-V display version code and exit
-mm, -M,
--mount-master force run in the global mount namespace
2|spes:/ # mount -o remount,rw /system
mount: '/system' not in /proc/mounts
1|spes:/ # mount -o remount,rw /system_ext
spes:/ # mount -o remount,rw /product
spes:/ # mount -o remount,rw /vendor
spes:/ # mount | grep dm-
/dev/block/dm-3 on / type ext4 (ro,seclabel,relatime,discard)
/dev/block/dm-0 on /system_ext type ext4 (rw,seclabel,relatime,discard)
/dev/block/dm-2 on /vendor type ext4 (rw,seclabel,relatime,discard)
/dev/block/dm-1 on /product type ext4 (rw,seclabel,relatime,discard)
/dev/block/dm-4 on /data type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
/dev/block/dm-4 on /data/user/0 type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
/dev/block/dm-4 on /data_mirror/data_ce/null type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
/dev/block/dm-4 on /data_mirror/data_ce/null/0 type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
/dev/block/dm-4 on /data_mirror/data_de/null type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
/dev/block/dm-4 on /data_mirror/cur_profiles type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)
spes:/ #
mount -o remount,rw /system
should be changed to this mount -o remount,rw /
/system
in Android 9 and earlier is now /
in Android 10+Sure you can run script multiple times
quick and painless im thinking i may want to give more than what is here now tho can i do this one more time on general purpose???
Hello. Open systemrw.sh script file with text editor and replace line # 238 with this one:Hi, I have a problom, my device is xperia 5 ii, android 12.
I use this 'sysrw_repair.sh' on linux, and it can works R/W on system_ext, product and vendor.
Then, sony 'thermal-engine.conf' is in /oem folder, but /oem folder has oem_a and oem_b, so I can't edit this text.
Someone can solve this problom?
/oem folder position is on picture.
View attachment 5615453
makeRW $fName
Don't worry next version of script which will be released in the next 2 weeks already has fully working auto-resize feature![]()
Hi @Prince.Paul.K thanks for your interest in this SystemRW / SuperRW feat. MakeRW by lebigmac project and for your kind wordsHope it will support sdkversion=31. As of now script is failing sdkCheck().
Else will it work if I modify to add version 31 in the script?
Hatsoff for the contribution..!!![]()
Hello @llcrs2015 Did you run script in Android as root? Then you should have the super_fixed.bin file in /img subfolder of script path.Help. I do not have TWRP on Mi 11 pro, how to flash the received FIX without TWRP via fastboot?
Hi @Prince.Paul.K thanks for your interest in this SystemRW / SuperRW feat. MakeRW by lebigmac project and for your kind words
I hope THIS will answer your question regarding the sdkCheck() function
Good luck!![]()
What commands to prescribe when flashing via fastboot in ADB?
You need fastbootd by typing fastboot reboot fastboot
For Samsung users without TWRP rename the super_fixed.bin to >>> super. Img then use 7zip to compress it to TarHi @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?
Thank you!!!!!!You need fastbootd by typing fastboot reboot fastboot
Then type fastboot flash super super_fixed.bin
redmi k40 gaming, global (india) rom miui 13, twrp - after successful conversion of super to rw and its automatic flashing, the device goes into bootloop.
Day 3 works perfectly y'all are massively appreciated boot logos r essential you should've seen my bosses face when I showed him Android peeing on apple... Pricelessfastboot'd not fastboot btw but so far its working on 13/15 yall are st8 G im sooo greartful
Thanks for your attention. I did tried this... and indeed i was able to flash it with odin. But it did nothing as lebigmac said it doesn't work for samsung yet!For Samsung users without TWRP rename the super_fixed.bin to >>> super. Img then use 7zip to compress it to Tar
Then flash through odin
What Samsung device are you having S22 has f2fs file system not yet supportedThanks for your attention. I did tried this... and indeed i was able to flash it with odin. But it did nothing as lebigmac said it doesn't work for samsung yet!
My device is Samsung S22+ (SM-G906B)What Samsung device are you having S22 has f2fs file system not yet supported
Hi. Current version v1.32 does not work properly with some modern Samsung / Realme devices.Will this work on any device that has super? I have an s22 ultra international version and i need my system to be R/O to delete files. Thanks.
I did not have to rename.Did you need to rename the super fixed to super_origin for Oneplus ?
adb shell "ls -l /dev/block/by-name/super"
adb shell
su
for a in /dev/block/dm-*; do tune2fs -l $a | grep -e "feat" -e "vol"; done
adb shell
su
for a in /dev/block/dm-*; do mount -o remount,rw $a; done
chmod +x /data/local/tmp/systemrw_*VERSION*/systemrw.sh
in=`realpath /dev/block/by-name/super` size=15
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=`realpath /dev/block/by-name/super` out=./img/super_fixed.bin size=50
/data/local/tmp/systemrw_1.32/img
/data/local/tmp/systemrw_1.32
/data/local/tmp/systemrw_1.32/log/
This is awesome! Unfortunately, it doesn't support Android 12 yet : ( .
sdkCheck(){
sdkVersion=`getprop ro.build.version.sdk`
if [ $sdkVersion -lt 29 ]; then
printf "$app: Please install Android 10 or newer and try again\n\n" && exit 1
else
android=$(($sdkVersion - 19))
fi
printf "$app: Current Android version: %s\n" $android
}