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

lebigmac

Senior Member
Jan 31, 2017
939
556
Thanks @lebigmac for total awesomeness.
Confirmed working for :
Device : Oneplus 8T / KB2005
Build : 11.0.10.10.KB05AA
[RECOVERY] [11] [ALPHA] TeamWin Recovery Project (8T / Kebab) (2021-09-04)
Magisk v23

Hi @xen423
Thanks for your feedback. I will add you to the list of successful devices on front page 😉
I'm happy that script works as expected on your OnePlus 8T device.
Enjoy a fully read/write-able system! :love:(y)

Dont mind me asking, what did you use to run the script and how did you go about it? I would like to try to get this Xperia 1 III system set to R/W. Pretty dumb Google did this so we have to resort to things like this.
Hi @Hippie459MN
Thanks for your interest in this project. It's nice to see some Sony users interested in making their next gen devices into fully read/write-able flagships!

If you're running stock Android 11 and your bootloader is unlocked I don't see why it shouldn't work. And with the flashable zip it's basically a 1 click solution ;)

After installing and running script please send me your log files from /data/local/tmp/systemrw_1.32/log/
Thanks!
Good luck 😉 (y)



Hi @DeviLL2014
Thanks for your feedback. I checked your dmesg output and only found this. Search for avc and you should see the errors.
Code:
[  546.428772] (1)[449:logd.auditd]type=1400 audit(1634549767.684:1425): avc: denied { ioctl } for comm="magiskd" path="/dev/IKOgjb/.magisk/pts/ptmx" dev="devpts" ino=2 ioctlcmd=0x5431 scontext=u:r:magisk:s0 tcontext=ubject_r:devpts:s0 tclass=chr_file permissive=1
[  546.428973] (1)[449:logd.auditd]type=1400 audit(1634549767.684:1426): avc: denied { ioctl } for comm="magiskd" path="/dev/IKOgjb/.magisk/pts/ptmx" dev="devpts" ino=2 ioctlcmd=0x5430 scontext=u:r:magisk:s0 tcontext=ubject_r:devpts:s0 tclass=chr_file permissive=1
[  546.429283] (1)[449:logd.auditd]type=1400 audit(1634549767.684:1427): avc: denied { ioctl } for comm="su" path="/dev/pts/28" dev="devpts" ino=31 ioctlcmd=0x5404 scontext=u:r:magisk_client:s0 tcontext=ubject_r:devpts:s0 tclass=chr_file permissive=0
[  546.458663] (0)[0:swapper/0][name:spm&]Power/swap IdleBus26m: No enter --- IdleSyspll: No enter --- IdleDram: No enter ---
[  546.458693] (6)[0:swapper/6][mcdi]mcdi cpu: 687, 608, 514, 239, 270, 203, 72, 52, cluster : 71, pause = 0, multi core = 0, latency = 7, residency = 705, last core = 1087, avail cpu = 00ff, cluster = 0001, enabled = 1, max_s_state = 5, system_idle_hint = 00000000

[  547.067869] (1)[449:logd.auditd]type=1400 audit(1634549768.320:1428): avc: denied { read } for comm="opjohnwu.magisk" name="u:object_r:virtual_ab_prop:s0" dev="tmpfs" ino=9695 scontext=u:r:untrusted_app:s0:c159,c256,c512,c768 tcontext=u:object_r:virtual_ab_prop:s0 tclass=file permissive=0 app=com.topjohnwu.magisk



hi @lebigmac
thanks for your project.
i hope, i do realy realy hope, that new script with auto-size feature will be released soon in systemrw_1.33.
Hi @BC-19
Thanks for your interest in this project. Please send me your log files from this folder
/data/local/tmp/systemrw_1.32/log/ Thanks!

If you want to support this project then please feel free to click the donate button on front page. Thanks! Your support is much appreciated 😉(y)

That new autoresize feature is already implemented but next version is not ready yet. Still working on some new features. Don't worry soon it will be released. Stay tuned ;)

I had a error with previous version about cow error. But with last version, no cow error. The script worked! Thx again ;)
Magic script, everyone who see this, go with closed eyes, it's pur magic, Android 11 with r/w, so easy
Hi @Greenspoof
Thanks for the nice words. Please send me your log files from this folder
/data/local/tmp/systemrw_1.32/log/ Thanks!
I am happy that script finally works as expected on modern OnePlus devices.
Enjoy a fully read/write-able system! :love:(y)



I tried running it manually but it is not executed.
What am I doing wrong here :)?

ASUS_I006D:/data/local/tmp/sysrw_repair_v1.32 # ls -l
total 14
drwxr-xr-x 2 root root 3452 2021-10-16 17:50 img
-rw-r--r-- 1 root root 128 2021-10-16 17:53 log.txt
-rwxr-xr-x 1 root root 2630 2021-07-26 00:32 sysrw_repair.sh
drwxr-xr-x 4 root root 3452 2021-10-16 17:50 tools

ASUS_I006D:/data/local/tmp/sysrw_repair_v1.32 # ./sysrw_repair.sh size=15

/system/bin/sh: ./sysrw_repair.sh: No such file or directory
Hi @HyperCriSiS
You are running it right but you are running the wrong script. The included sysrw_repair script is Linux only! Try the other Android script that's inside the flashable.zip file and then please send me your log files from
/data/local/tmp/systemrw_1.32/log/ Thanks. Good luck (y)



Please update for android 12, thanks
Hi. Does Android 12 have shared_blocks read-only feature?

You can check it like this:
Bash:
adb shell
su
touch /sdcard/my_tune2fs.txt
for x in `ls -l /dev/block/by-name | awk '{print $NF}'`; do tune2fs -l $x>>/sdcard/my_tune2fs.txt; done

Also run these commands:
Bash:
adb shell
su
touch /sdcard/my_dm_tune2fs.txt
for x in `seq 0 5`; do tune2fs -l /dev/block/dm-$x>>/sdcard/my_dm_tune2fs.txt; done

Then please upload these 2 files here : /sdcard/my_tune2fs.txt and /sdcard/my_dm_tune2fs.txt
Thanks (y)
 
Last edited:
  • Like
Reactions: Miustone

JimmyMX

Member
Jun 29, 2012
37
9
36
Tripoli
Google Nexus 5
Huawei Nexus 6P
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
 
  • Love
Reactions: lebigmac

lebigmac

Senior Member
Jan 31, 2017
939
556
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
Hi @JimmyMX. Thanks for your feedback. Please feel free to upload your log files from
/data/local/tmp/systemrw_1.32/log/
I am happy that script works as expected on your Asus ROG III device :D
Enjoy a fully read/write-able system :love:(y)

After installing new OTA from your manufacturer you will have to run script again. Just don't wipe /data in the process!
Good luck! 😉 (y)
 
Last edited:

我是十七

Senior Member
Dec 17, 2020
57
9
E:\platform-tools>adb shell
taimen:/ # su
taimen:/ # cd /data/local/tmp/systemrw_1.32
taimen:/data/local/tmp/systemrw_1.32 # chmod +x ./systemrw.sh
taimen:/data/local/tmp/systemrw_1.32 # ./systemrw.sh
--------------------------------------------------
| SystemRW v1.32 automated script by lebigmac |
| @xda ©2021 Big thank you to @Kolibass @Brepro1 |
|@munjeni @AndyYan @gabrielfrias @YOisuPU @bynarie |
| without your help this would not be possible! |
--------------------------------------------------

systemrw: Initiating procedure...

systemrw: Device is in Android mode. Ignoring
systemrw: Current device: Google
systemrw: Current Android version: 11
systemrw: Current SELinux status: Permissive
systemrw: Unable to locate super partition on device. Ignoring
systemrw: /system is already R/W capable. Ignoring
systemrw: /product is already R/W capable. Ignoring
systemrw: /vendor is already R/W capable. Ignoring
systemrw: Adjusting permissions...
systemrw: Attempting to disable dm-verity and verification...
verification is already disabled on slot with suffix _a.
Successfully disabled verity on slot with suffix _a. Reboot the device for changes to take effect.
systemrw: Partition detected -> system_a @ /dev/block/sda7
systemrw: NO 'shared_blocks feature' detected @ system_a. Ignoring
systemrw: Partition detected -> system_b @ /dev/block/sda8
systemrw: NO 'shared_blocks feature' detected @ system_b. Ignoring
systemrw: Partition detected -> vendor_a @ /dev/block/sde14
systemrw: NO 'shared_blocks feature' detected @ vendor_a. Ignoring
systemrw: Partition detected -> vendor_b @ /dev/block/sde28
systemrw: NO 'shared_blocks feature' detected @ vendor_b. Ignoring
systemrw: There was a problem removing read-only restriction(s) of your device. Abort

taimen:/data/local/tmp/systemrw_1.32 # ./systemrw.sh size=15
--------------------------------------------------
| SystemRW v1.32 automated script by lebigmac |
| @xda ©2021 Big thank you to @Kolibass @Brepro1 |
|@munjeni @AndyYan @gabrielfrias @YOisuPU @bynarie |
| without your help this would not be possible! |
--------------------------------------------------

systemrw: Custom size detected: 15 MB
systemrw: Initiating procedure...

systemrw: Device is in Android mode. Ignoring
systemrw: Current device: Google
systemrw: Current Android version: 11
systemrw: Current SELinux status: Permissive
systemrw: Unable to locate super partition on device. Ignoring
systemrw: /system is already R/W capable. Ignoring
systemrw: /product is already R/W capable. Ignoring
systemrw: /vendor is already R/W capable. Ignoring
systemrw: Adjusting permissions...
systemrw: Attempting to disable dm-verity and verification...
verification is already disabled on slot with suffix _a.
verity is already disabled on slot with suffix _a.
systemrw: Partition detected -> system_a @ /dev/block/sda7
systemrw: NO 'shared_blocks feature' detected @ system_a. Ignoring
systemrw: Partition detected -> system_b @ /dev/block/sda8
systemrw: NO 'shared_blocks feature' detected @ system_b. Ignoring
systemrw: Partition detected -> vendor_a @ /dev/block/sde14
systemrw: NO 'shared_blocks feature' detected @ vendor_a. Ignoring
systemrw: Partition detected -> vendor_b @ /dev/block/sde28
systemrw: NO 'shared_blocks feature' detected @ vendor_b. Ignoring
systemrw: There was a problem removing read-only restriction(s) of your device. Abort

taimen:/data/local/tmp/systemrw_1.32 # ./systemrw.sh in=./img/super_original.bin size=15
--------------------------------------------------
| SystemRW v1.32 automated script by lebigmac |
| @xda ©2021 Big thank you to @Kolibass @Brepro1 |
|@munjeni @AndyYan @gabrielfrias @YOisuPU @bynarie |
| without your help this would not be possible! |
--------------------------------------------------

systemrw: Custom input detected: ./img/super_original.bin
systemrw: Custom size detected: 15 MB
systemrw: Initiating procedure...

systemrw: Device is in Android mode. Ignoring
systemrw: Current device: Google
systemrw: Current Android version: 11
systemrw: Current SELinux status: Permissive
systemrw: Unable to locate super partition on device. Ignoring
systemrw: /system is already R/W capable. Ignoring
systemrw: /product is already R/W capable. Ignoring
systemrw: /vendor is already R/W capable. Ignoring
systemrw: Adjusting permissions...
systemrw: Attempting to disable dm-verity and verification...
verification is already disabled on slot with suffix _a.
verity is already disabled on slot with suffix _a.
systemrw: Partition detected -> system_a @ /dev/block/sda7
systemrw: NO 'shared_blocks feature' detected @ system_a. Ignoring
systemrw: Partition detected -> system_b @ /dev/block/sda8
systemrw: NO 'shared_blocks feature' detected @ system_b. Ignoring
systemrw: Partition detected -> vendor_a @ /dev/block/sde14
systemrw: NO 'shared_blocks feature' detected @ vendor_a. Ignoring
systemrw: Partition detected -> vendor_b @ /dev/block/sde28
systemrw: NO 'shared_blocks feature' detected @ vendor_b. Ignoring
systemrw: There was a problem removing read-only restriction(s) of your device. Abort

/systemrw.sh in=./img/super_original.bin out=./custom/path/super_fixed.bin size=15 <
--------------------------------------------------
| SystemRW v1.32 automated script by lebigmac |
| @xda ©2021 Big thank you to @Kolibass @Brepro1 |
|@munjeni @AndyYan @gabrielfrias @YOisuPU @bynarie |
| without your help this would not be possible! |
--------------------------------------------------

systemrw: Custom input detected: ./img/super_original.bin
systemrw: Custom output detected: ./custom/path/super_fixed.bin
systemrw: Custom size detected: 15 MB
systemrw: Initiating procedure...

systemrw: Device is in Android mode. Ignoring
systemrw: Current device: Google
systemrw: Current Android version: 11
systemrw: Current SELinux status: Permissive
systemrw: Unable to locate super partition on device. Ignoring
systemrw: /system is already R/W capable. Ignoring
systemrw: /product is already R/W capable. Ignoring
systemrw: /vendor is already R/W capable. Ignoring
systemrw: Adjusting permissions...
systemrw: Attempting to disable dm-verity and verification...
verification is already disabled on slot with suffix _a.
verity is already disabled on slot with suffix _a.
systemrw: Partition detected -> system_a @ /dev/block/sda7
systemrw: NO 'shared_blocks feature' detected @ system_a. Ignoring
systemrw: Partition detected -> system_b @ /dev/block/sda8
systemrw: NO 'shared_blocks feature' detected @ system_b. Ignoring
systemrw: Partition detected -> vendor_a @ /dev/block/sde14
systemrw: NO 'shared_blocks feature' detected @ vendor_a. Ignoring
systemrw: Partition detected -> vendor_b @ /dev/block/sde28
systemrw: NO 'shared_blocks feature' detected @ vendor_b. Ignoring
systemrw: There was a problem removing read-only restriction(s) of your device. Abort

/systemrw.sh in=`ls -l /dev/block/by-name/super | awk '{print $NF}'` out=./img/super_fixed.bin size=50 <
ls: /dev/block/by-name/super: No such file or directory
--------------------------------------------------
| SystemRW v1.32 automated script by lebigmac |
| @xda ©2021 Big thank you to @Kolibass @Brepro1 |
|@munjeni @AndyYan @gabrielfrias @YOisuPU @bynarie |
| without your help this would not be possible! |
--------------------------------------------------


Run this WITH super partition:
./systemrw.sh size=15 (in MB)

Run this WITHOUT super partition:
./systemrw.sh

Optional arguments WITH super partition:
./systemrw.sh in=./img/super_original.bin out=./img/super_fixed.img size=15 (in MB)



TWRPerror255
 
Last edited by a moderator:

我是十七

Senior Member
Dec 17, 2020
57
9
Starting TWRP 3.5.2_9-0-2bc3eccd on Thu Jan 22 10:49:22 1970
(pid 562)
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_INCLUDE_CRYPTO := true
I:Find_File: Error opening '/sys/class/backlight'
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 80
I:LANG: en
I:AB_OTA_UPDATER := true
Starting the UI...
setting DRM_FORMAT_RGB565 and GGL_PIXEL_FORMAT_RGB_565
cannot find/open a drm device: No such file or directory
fb0 reports (possibly inaccurate):
vi.bits_per_pixel = 32
vi.red.offset = 0 .length = 8
vi.green.offset = 8 .length = 8
vi.blue.offset = 16 .length = 8
setting GGL_PIXEL_FORMAT_RGBA_8888
double buffered
framebuffer: 0 (1440 x 2880)
Using fbdev graphics.
I:TWFunc::Set_Brightness: Setting brightness control to 80
I:Loading package: splash (/twres/splash.xml)
I:Load XML directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly
I:Checking resolution...
I:Scaling theme width 1.333333x and height 1.500000x, offsets x: 0 y: 0 w: 0 h: 0
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page splash
I:Switching packages (splash)
=> Linking mtab
I:Setting active slot A
=> Processing /etc/twrp.fstab for SAR-detection
I:Reading /etc/twrp.fstab
I:Done processing fstab files
I:SAR-DETECT: SAR System detected
I:Overriding ro.build.version.security_patch with value: "2021-08-05" from system property ro.build.version.security_patch
I:Overriding ro.build.version.release with value: "11" from system property ro.build.version.release
=> Processing /etc/twrp.fstab
I:Reading /etc/twrp.fstab
I:processing '/boot'
I:processing '/system'
I:Created '/system' folder.
I:processing '/system_image'
I:processing '/vendor'
I:processing '/vendor_image'
I:processing '/data'
I:FBE contents 'ice', filenames 'aes-256-heh'
I:processing '/misc'
I:processing '/efs1'
I:processing '/efs2'
I:processing 'auto'
I:Created '/auto0' folder.
I:Done processing fstab files
libc: Unable to set property "ro.crypto.state" to "encrypted": error code: 0xb
libc: Unable to set property "ro.crypto.type" to "file": error code: 0xb
I:File Based Encryption is present
e4crypt_initialize_global_de
Determining wrapped-key support for /data
fbe.data.wrappedkey = false
calling retrieveAndInstallKey
Key exists, using: /data/unencrypted/key
Using Keymaster HAL: 3 from QTI for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: [email protected]::IKeymasterDevice/default
Determining wrapped-key support for /data
fbe.data.wrappedkey = false
Added key 86587668 (ext4:9466d1202eabdc14) to keyring 58535957 in process 562
Added key 487288261 (f2fs:9466d1202eabdc14) to keyring 58535957 in process 562
Added key 377095326 (fscrypt:9466d1202eabdc14) to keyring 58535957 in process 562
contents mode 'ice' filenames 'aes-256-heh'
Wrote system DE key reference to:/data/unencrypted/ref
e4crypt_init_user0
Preparing: /data/misc/vold/user_keys
Preparing: /data/misc/vold/user_keys/ce
Preparing: /data/misc/vold/user_keys/de
Using Keymaster HAL: 3 from QTI for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: [email protected]::IKeymasterDevice/default
Determining wrapped-key support for /data
fbe.data.wrappedkey = false
Determining wrapped-key support for /data
fbe.data.wrappedkey = false
Added key 829249217 (ext4:23c6a4ef200d371d) to keyring 58535957 in process 562
Added key 927723544 (f2fs:23c6a4ef200d371d) to keyring 58535957 in process 562
Added key 576854998 (fscrypt:23c6a4ef200d371d) to keyring 58535957 in process 562
Installed de key for user 0
Skipping non-de-key .
Skipping non-de-key ..
Unable to locate gatekeeper password file '/data/system/gatekeeper.pattern.key'
I:pageManager::LoadFileToBuffer loading filename: '/data/system/users/0.xml' directly
Unable to locate gatekeeper password file '/data/system/gatekeeper.pattern.key'
I:User 0 is not decrypted.
I:Using automatic handling for /data/media emulated storage device.
I:Setting up '/data' as data/media emulated storage.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/906KPPB2072296'
I:Settings storage is '/data/media/0'
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
Attempting to decrypt FBE for user 0...
Unable to locate gatekeeper password file '/data/system/gatekeeper.pattern.key'
e4crypt_unlock_user_key 0 serial=0 token_present=0
Skipping non-key .
Skipping non-key ..
Trying user CE key /data/misc/vold/user_keys/ce/0/current
Using Keymaster HAL: 3 from QTI for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: [email protected]::IKeymasterDevice/default
Successfully retrieved key
Determining wrapped-key support for /data
fbe.data.wrappedkey = false
Determining wrapped-key support for /data
fbe.data.wrappedkey = false
Added key 707084980 (ext4:ee204e3a48701dd0) to keyring 58535957 in process 562
Added key 275958231 (f2fs:ee204e3a48701dd0) to keyring 58535957 in process 562
Added key 357130495 (fscrypt:ee204e3a48701dd0) to keyring 58535957 in process 562
Installed ce key for user 0
User 0 Decrypted Successfully!
User 0 Decrypted Successfully
I:All found users are decrypted.
Data successfully decrypted
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/906KPPB2072296'
Updating partition details...
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:Data backup size is 192MB, free: 111151MB.
I:Unable to mount '/auto0'
I:Actual block device: '', current file system: 'vfat'
...done
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
/data | /dev/block/bootdevice/by-name/userdata | Size: 112215MB Used: 192MB Free: 111151MB Backup Size: 192MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Is_Encrypted Is_Decrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/bootdevice/by-name/userdata
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65538

I:Unmounting main partitions...
Successfully decrypted with default password.
I:Decrypt adopted storage starting
I:pageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly
I:No /data/system/storage.xml for adopted storage
Updating partition details...
I:Data backup size is 192MB, free: 111151MB.
I:Unable to mount '/auto0'
I:Actual block device: '', current file system: 'vfat'
...done
I:Unmounting main partitions...


Partition Logs:
/boot | /dev/block/bootdevice/by-name/boot_a | Size: 40MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img SlotSelect
Primary_Block_Device: /dev/block/bootdevice/by-name/boot
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/system_root | /dev/block/bootdevice/by-name/system_a | Size: 2517MB Used: 1520MB Free: 996MB Backup Size: 1520MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent SlotSelect Mount_Read_Only
Primary_Block_Device: /dev/block/bootdevice/by-name/system
Display_Name: System
Storage_Name: System
Backup_Path: /system_root
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system_root
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/system_image | /dev/block/bootdevice/by-name/system_a | Size: 2956MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img SlotSelect
Primary_Block_Device: /dev/block/bootdevice/by-name/system
Display_Name: System Image
Storage_Name: system_image
Backup_Path: /system_image
Backup_Name: system_image
Backup_Display_Name: System Image
Storage_Path: /system_image
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/vendor | /dev/block/bootdevice/by-name/vendor_a | Size: 461MB Used: 442MB Free: 18MB Backup Size: 442MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent SlotSelect Mount_Read_Only
Primary_Block_Device: /dev/block/bootdevice/by-name/vendor
Display_Name: Vendor
Storage_Name: Vendor
Backup_Path: /vendor
Backup_Name: vendor
Backup_Display_Name: Vendor
Storage_Path: /vendor
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/vendor_image | /dev/block/bootdevice/by-name/vendor_a | Size: 500MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img SlotSelect
Primary_Block_Device: /dev/block/bootdevice/by-name/vendor
Display_Name: Vendor Image
Storage_Name: vendor_image
Backup_Path: /vendor_image
Backup_Name: vendor_image
Backup_Display_Name: Vendor Image
Storage_Path: /vendor_image
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/data | /dev/block/bootdevice/by-name/userdata | Size: 112215MB Used: 192MB Free: 111151MB Backup Size: 192MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Is_Encrypted Is_Decrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/bootdevice/by-name/userdata
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65538

/misc | /dev/block/bootdevice/by-name/misc | Size: 1MB
Flags: IsPresent
Primary_Block_Device: /dev/block/bootdevice/by-name/misc
Display_Name: misc
Storage_Name: misc
Backup_Path: /misc
Backup_Name: misc
Backup_Display_Name: misc
Storage_Path: /misc
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/efs1 | /dev/block/bootdevice/by-name/modemst1 | Size: 2MB
Flags: Can_Be_Backed_Up Has_SubPartition IsPresent
Primary_Block_Device: /dev/block/bootdevice/by-name/modemst1
Display_Name: EFS
Storage_Name: EFS
Backup_Path: /efs1
Backup_Name: efs1
Backup_Display_Name: EFS
Storage_Path: /efs1
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/efs2 | /dev/block/bootdevice/by-name/modemst2 | Size: 2MB
Flags: Can_Be_Backed_Up Is_SubPartition IsPresent
SubPartition_Of: /efs1
Primary_Block_Device: /dev/block/bootdevice/by-name/modemst2
Display_Name: efs2
Storage_Name: efs2
Backup_Path: /efs2
Backup_Name: efs2
Backup_Display_Name: efs2
Storage_Path: /efs2
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/auto0 | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Display_Name: Storage
Storage_Name: Storage
Backup_Path: /auto0
Backup_Name: auto0
Backup_Display_Name: Storage
Storage_Path: /auto0
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65537

I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading zip theme
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/zh_TW.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/zh_CN.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_PT.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/pl.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/ja.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/it.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/el.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:pageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly
I:Checking resolution...
I:Scaling theme width 1.333333x and height 1.500000x, offsets x: 0 y: 0 w: 0 h: 0
I:Loading resources...
I:Failed to load image from indeterminate013, error -1
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Including file: /twres/portrait.xml...
I:pageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page flash_sleep_and_reboot
I:Loading page flashimage_confirm
I:Loading page clear_vars
I:Loading page reboot_system_routine
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Loading page refreshfilesystem
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page multiuser_warning
I:Loading page backup_options
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/0/TWRP/BACKUPS/906KPPB2072296'
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page system_readonly_check
I:Loading page reboot
I:Loading page reboot2
I:Loading page installapp
I:Loading page system_readonly
I:Loading page settings
I:Loading page settings_timezone
I:Loading page settings_screen
I:Loading page settings_vibration
I:Loading page settings_language
I:Loading page copylog
I:Loading page advanced
I:Loading page partsdcardsel
I:Loading page partsdcardcheck
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page repackselect
I:Loading page repackconfirm
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageraction
I:Loading page decrypt
I:Loading page decrypt_pattern
I:Loading page trydecrypt
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page fixcontexts
I:Loading page slideout
I:Loading page select_storage
I:Loading page select_language
I:Loading page decrypt_users
I:Loading page changeTwrpFolder
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
Startup Commands:
ro.boottime.adbd=3107514995
ro.boottime.esed=3255346937
ro.boottime.init=2619
ro.boottime.init.selinux=49
ro.boottime.init.cold_boot_wait=372
ro.boottime.logd=3085385722
ro.boottime.vendor.ese_load=3254730791
ro.boottime.ueventd=2707250997
ro.boottime.boot-1-0=3087546556
ro.boottime.recovery=3087315410
ro.boottime.prepdecrypt=3082629055
ro.boottime.touchdriver=3081553743
ro.boottime.sbinqseecomd=3255098083
ro.boottime.keymaster-3-0=3255825323
ro.boottime.gatekeeper-1-0=3256059333
ro.boottime.servicemanager=3256299125
ro.boottime.set_permissive=3087010618
ro.boottime.hwservicemanager=3255583396
persist.camera.llv.fuse=2
persist.camera.max.previewfps=60
persist.camera.tnr.video=1
persist.camera.tof.direct=1
persist.camera.gcam.fd.ensemble=1
persist.camera.gyro.android=20
persist.camera.gzoom.at=0
persist.camera.perfd.enable=false
persist.camera.sensor.hdr=2
persist.camera.is_type=5
persist.camera.saturationext=1
dalvik.vm.dex2oat-minidebuginfo=true
debug.sf.hw=1
debug.hwui.use_buffer_age=false
debug.atrace.tags.enableflags=0
debug.gralloc.enable_fb_ubwc=1
ro.art.hiddenapi.warning=1
ro.boot.cid=00000001
ro.boot.flash.locked=0
ro.boot.theme=1
ro.boot.phandle=
ro.boot.ddr_info=HYNIX
ro.boot.ddr_size=4096MB
ro.boot.dtbo_idx=12
ro.boot.hardware.mid=2
ro.boot.hardware.display=MP
ro.boot.hardware.variant=GA00153-US
ro.boot.ramdump_enable=0
ro.twrp.sar=true
ro.twrp.boot=1
ro.twrp.version=3.5.2_9-0
ro.wifi.channels=
ro.allow.mock.location=1
ro.build.flavor=lineage_taimen-eng
ro.build.selinux=1
ro.build.version.all_codenames=REL
ro.build.version.min_supported_target_sdk=17
ro.build.ab_update=true
ro.build.characteristics=nosdcard
ro.bionic.ld.warning=1
ro.kernel.android.checkjni=1
ro.treble.enabled=true
ro.lineage.build.version=16.0
ro.lineage.build.version.plat.rev=0
ro.lineage.build.version.plat.sdk=9
ro.lineage.device=taimen
ro.lineage.display.version=16.0-20210406-UNOFFICIAL-taimen
ro.lineage.version=16.0-20210406-UNOFFICIAL-taimen
ro.lineage.releasetype=UNOFFICIAL
ro.product.locale=en-US
ro.modversion=16.0-20210406-UNOFFICIAL-taimen
ro.lineagelegal.url=https://lineageos.org/legal
ro.actionable_compatible_property.enabled=false
fbe.contents=ice
fbe.filenames=aes-256-heh
esim.enable_esim_system_ui_by_default=false
init.svc.adbd=running
init.svc.esed=running
init.svc.logd=running
init.svc.ueventd=running
init.svc.boot-1-0=running
init.svc.recovery=running
init.svc.prepdecrypt=stopped
init.svc.touchdriver=stopped
init.svc.sbinqseecomd=running
init.svc.keymaster-3-0=running
init.svc.gatekeeper-1-0=running
init.svc.servicemanager=running
init.svc.set_permissive=stopped
init.svc.hwservicemanager=running
twrp.all.users.decrypted=true
twrp.user.0.decrypt=1
twrp.decrypt.done=true
twrp.crash_counter=0
twrp.action_complete=0
twrp.mount_to_decrypt=1
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-http=true
media.stagefright.enable-scan=true
media.stagefright.enable-player=true
crypto.ready=1
persist.mm.enable.prefetch=true
DEVICE_PROVISIONED=1
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Hassium.ogg
ro.config.media_vol_steps=25
ro.config.notification_sound=Argon.ogg
ro.boot.baseband=msm
ro.boot.boottime=1BLL:132,1BLE:1040,2BLL:28,2BLE:11493,AVB:39,KL:0,KD:2133,ODT:196,SW:9992
ro.boot.hardware=taimen
ro.boot.hardware.sku=G011C
ro.boot.hardware.color=VB
ro.boot.revision=rev_10
ro.boot.keymaster=1
ro.boot.bootdevice=1da4000.ufshc
ro.boot.bootloader=TMZ30m
ro.boot.avb_version=1.1
ro.boot.verifiedbootstate=orange
ro.build.id=PQ3A.190801.002
ro.build.date=Tue Apr 6 19:59:04 UTC 2021
ro.build.date.utc=1617739144
ro.build.host=93f70f4836da
ro.build.tags=test-keys
ro.build.type=eng
ro.build.user=jenkins
ro.build.display.id=lineage_taimen-eng 9 PQ3A.190801.002 9 test-keys
ro.build.product=taimen
ro.build.version.sdk=28
ro.build.version.base_os=
ro.build.version.release=11
ro.build.version.codename=REL
ro.build.version.incremental=9
ro.build.version.preview_sdk=0
ro.build.version.security_patch=2021-08-05
ro.build.description=taimen-user 9 PQ3A.190801.002 5670241 release-keys
ro.build.system_root_image=true
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.name=taimen
ro.product.brand=google
ro.product.model=Pixel 2 XL
ro.product.device=taimen
ro.product.manufacturer=Google
ro.baseband=msm
ro.bootmode=unknown
ro.hardware=taimen
ro.revision=rev_10
ro.bootimage.build.date=Tue Apr 6 19:59:04 UTC 2021
ro.bootimage.build.date.utc=1617739144
ro.bootimage.build.fingerprint=google/taimen/taimen:9/PQ3A.190801.002/5670241:user/release-keys
ro.bootloader=TMZ30m
ro.debuggable=1
ro.property_service.version=2
sys.usb.controller=a800000.dwc3
persist.sys.sf.color_saturation=1.1
persist.sys.dalvik.vm.lib.2=libart.so
persist.sys.zram_enabled=1
af.fast_track_multiplier=1
ro.sf.lcd_density=560
ro.com.google.clientidbase=android-google
ro.audio.monitorRotation=true
ro.camera.notify_nfc=1
ro.zygote=zygote64_32
ro.opengles.version=196610
ro.telephony.default_network=10
ro.telephony.default_cdma_sub=0
ro.storage_manager.enabled=true
ro.cp_system_other_odex=1
ro.oem_unlock_supported=1
ro.control_privapp_permissions=enforce
media.recorder.show_manufacturer_and_model=true
persist.config.calibration_fac=/persist/sensors/calibration/calibration.xml
keyguard.no_require_sim=true
telephony.lteOnCdmaDevice=1
tombstoned.max_tombstone_count=50
ro.config.vc_call_vol_steps=7
ro.dalvik.vm.native.bridge=0
dalvik.vm.isa.arm.variant=cortex-a73
dalvik.vm.isa.arm.features=default
dalvik.vm.isa.arm64.variant=cortex-a73
dalvik.vm.isa.arm64.features=default
dalvik.vm.dexopt.secondary=true
dalvik.vm.usejit=true
dalvik.vm.heapsize=512m
dalvik.vm.lockprof.threshold=500
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=512k
dalvik.vm.heapstartsize=8m
dalvik.vm.appimageformat=lz4
dalvik.vm.usejitprofiles=true
dalvik.vm.heapgrowthlimit=192m
dalvik.vm.stack-trace-dir=/data/anr
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.image-dex2oat-filter=verify-at-runtime
dalvik.vm.heaptargetutilization=0.75
ro.frp.pst=/dev/block/platform/soc/1da4000.ufshc/by-name/frp
ro.boot.slot_suffix=_a
ro.vndk.lite=true
ro.vndk.version=28
ro.board.platform=msm8998
ro.vendor.build.date=Tue Apr 6 19:59:04 UTC 2021
ro.vendor.build.date.utc=1617739144
ro.vendor.build.fingerprint=google/taimen/taimen:9/PQ3A.190801.002/5670241:user/release-keys
ro.carrier=unknown
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.board=taimen
ro.product.vendor.name=taimen
ro.product.vendor.brand=google
ro.product.vendor.model=Pixel 2 XL
ro.product.vendor.device=taimen
ro.product.vendor.manufacturer=Google
ro.product.first_api_level=26
ro.hardware.bootctrl=msm8998
ro.hardware.keystore=msm8998
ro.hardware.gatekeeper=msm8998
aaudio.mmap_policy=2
aaudio.hw_burst_min_usec=2000
aaudio.mmap_exclusive_policy=2
persist.rcs.supported=1
ro.build.fingerprint=google/taimen/taimen:9/PQ3A.190801.002/5670241:user/release-keys
pm.dexopt.boot=extract
pm.dexopt.ab-ota=speed-profile
pm.dexopt.shared=speed
pm.dexopt.install=speed-profile
pm.dexopt.inactive=verify
pm.dexopt.bg-dexopt=speed-profile
pm.dexopt.first-boot=extract
ro.adb.secure=0
ro.secure=0
sys.usb.configfs=1
ro.crypto.type=file
ro.crypto.state=encrypted
sys.usb.ffs.ready=1
hwservicemanager.ready=true
log.tag.stats_log=I
ro.logd.size=1M
ro.logd.size.stats=64K
persist.sys.modem.diag.qdb=0
persist.sys.modem.diag.mdlog=true
persist.sys.modem.diag.mdlog_br_num=5
persist.debug.wfd.enable=1
ro.persistent_properties.ready=true
ro.boot.hardware.ufs=128GB,SKHYNIX
persist.cne.feature=1
ro.boot.serialno=906KPPB2072296
ro.serialno=906KPPB2072296
service.adb.root=1
net.bt.name=Android
net.tethering.noprovisioning=true
persist.sys.dun.override=0
persist.sys.usb.config=adb
persist.sys.wfd.virtual=0
sys.listeners.registered=true
persist.traced.enable=1
ro.vendor.bluetooth.wipower=false
ro.vendor.bluetooth.emb_wp_mode=false
mm.enable.qcom_parser=13631487
mm.enable.smoothstreaming=true
ro.qc.sdk.audio.fluencetype=fluencepro
ro.qti.sdk.sensors.gestures=false
ro.qti.sensors.wu=false
ro.qti.sensors.amd=false
ro.qti.sensors.cmc=false
ro.qti.sensors.rmd=false
ro.qti.sensors.facing=false
ro.qti.sensors.dev_ori=true
ro.qti.sensors.pedometer=false
ro.qti.sensors.scrn_ortn=false
ro.qti.sensors.step_counter=false
ro.qti.sensors.step_detector=false
ro.radio.log_loc=/data/vendor/modem_dump
ro.radio.log_prefix=modem_log_
ro.vendor.bt.bdaddr_path=/sys/module/bdaddress/parameters/bdaddress
ro.vendor.build.id=PQ3A.190801.002
ro.vendor.build.svn=27
ro.vendor.build.tags=test-keys
ro.vendor.build.type=eng
ro.vendor.build.version.sdk=28
ro.vendor.build.version.release=9
ro.vendor.build.version.incremental=9
ro.vendor.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.vendor.product.cpu.abilist32=armeabi-v7a,armeabi
ro.vendor.product.cpu.abilist64=arm64-v8a
ro.vendor.extension_library=libqti-perfd-client.so
ro.vibrator.hal.tick.duration=4
ro.vibrator.hal.click.duration=10
ro.vibrator.hal.heavyclick.duration=12
mmp.enable.3g2=true
sdm.debug.rotator_downscale=1
fmas.hdph_sgain=0
init.svc.vendor.ese_load=stopped
audio.adm.buffering.ms=3
audio.snd_card.open.retries=50
media.aac_51_output_enabled=true
vendor.qcom.bluetooth.soc=cherokee
vendor.rild.libpath=/vendor/lib64/libril-qc-qmi-1.so
vendor.vidc.enc.dcvs.extra-buff-count=2
vendor.audio.adm.buffering.ms=3
persist.sys.ssr.restart_level=modem,slpi,adsp
persist.sys.ssr.enable_ramdumps=1
persist.data.df.agg.dl_pkt=10
persist.data.df.agg.dl_size=4096
persist.data.df.dl_mode=5
persist.data.df.ul_mode=5
persist.data.df.dev_name=rmnet_usb0
persist.data.df.iwlan_mux=9
persist.data.df.mux_count=8
persist.data.wda.enable=true
persist.data.mode=concurrent
persist.data.iwlan.enable=true
persist.data.netmgrd.qos.enable=true
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
persist.audio.fluence.speaker=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicecomm=true
persist.rmnet.data.enable=true
persist.timed.enable=true
persist.vendor.ims.dropset_feature=0
persist.vendor.usb.usbradio.config=diag
persist.delta_time.enable=true
persist.fuse_sdcard=true
audio_hal.period_multiplier=2
persist.radio.VT_ENABLE=1
persist.radio.custom_ecc=1
persist.radio.videopause.mode=1
persist.radio.data_con_rprt=true
persist.radio.sib16_support=1
persist.radio.is_wps_enabled=true
persist.radio.sap_silent_pin=1
persist.radio.snapshot_timer=0
persist.radio.ROTATION_ENABLE=1
persist.radio.VT_HYBRID_ENABLE=1
persist.radio.always_send_plmn=false
persist.radio.apm_sim_not_pwdn=1
persist.radio.data_ltd_sys_ind=1
persist.radio.snapshot_enabled=0
persist.radio.RATE_ADAPT_ENABLE=1
ro.vendor.build.security_patch=

SELinux contexts loaded from /file_contexts
Full SELinux support is present.
tw_get_context got selinux context: u:eek:bject_r:media_rw_data_file:s0
I:Got default contexts and file mode for storage files.
I:TWFunc::Fixup_Time: Pre-fix date and time: 1970-01-22--10-49-31
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: will attempt to use the ats files now.
I:TWFunc::Fixup_Time: no ats files found, leaving untouched!
I:Copied file /data/recovery/log.gz to /data/recovery/last_log.gz
I:No custom recovery folder found. Using TWRP as default.
I:Attempt to load settings from settings file...
I:InfoManager loading from '/data/media/0/TWRP/.twrps'.
I:No custom recovery folder found. Using TWRP as default.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/906KPPB2072296'
I:Copied file /etc/recovery.fstab to /data/recovery/recovery.fstab
I:Version number saved to '/data/recovery/.version'
I:Unable to mount '/auto0'
I:Actual block device: '', current file system: 'vfat'
I:TWFunc::Set_Brightness: Setting brightness control to 80
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:No custom recovery folder found. Using TWRP as default.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/906KPPB2072296'
I:Starting MTP
I:Cannot find file /sys/class/android_usb/android0/idVendor
I:Cannot find file /sys/class/android_usb/android0/idProduct
I:[MTP] Starting MTP
I:sending message to add 65538 '/data/media/0' 'Internal Storage'
I:Message sent, add storage ID: 65538 '/data/media/0'
MTP Enabled
I:Check_Lifetime_Writes result: '1789'
I:Starting Adb Backup FIFO
I:App not installed
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:[MTP] created new mtpserver object
I:[MTP] mtppipe add storage 65538 '/data/media/0'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'flash_zip'
I:eek:peration_start: 'Flashing'
Installing zip file '/sdcard/systemrw_1.32_flashable.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
Unmounting System...
I:Update binary zip
Verifying package compatibility...
Package doesn't contain compatibility.zip entry
I:Extracting updater binary 'META-INF/com/google/android/update-binary'
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Welcome to systemRW Installer v1.05¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯*************************************************** Installing systemRW v1.32 by lebigmac *************************************************** Extracting /sdcard/systemrw_1.32_flashable.zip to: /data/local/tmp/systemrw_1.32/There was an error extracting the file. Please install unzip and try againUpdater process ended with ERROR: 255
I:Install took 0 second(s).
Error installing zip file '/sdcard/systemrw_1.32_flashable.zip'
Updating partition details...
I:Data backup size is 192MB, free: 111151MB.
I:Unable to mount '/auto0'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:eek:peration_end - status=1
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'advanced'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'filemanagerlist'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'filemanageroptions'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'choosedestinationfolder'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'filemanagerconfirm'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'filemanageraction'
I:eek:peration_start: 'Command'
I:Running command: 'cp "/tmp/recovery.log" "/sdcard"'
 
Last edited by a moderator:

Hippie459MN

Senior Member
Hi @Hippie459MN
Thanks for your interest in this project. It's nice to see some Sony users interested in making their next gen devices into fully read/write-able flagships!

If you're running stock Android 11 and your bootloader is unlocked I don't see why it shouldn't work. And with the flashable zip it's basically a 1 click solution ;)

After installing and running script please send me your log files from /data/local/tmp/systemrw_1.32/log/
Thanks!
Good luck 😉 (y)
Yup, stock android 11 with unlocked bootloader and root via Magisk. Silly question but the Sony Xperia 1 iii doesnt have a custom recovery yet so would I just copy the systemrw_1.32 folder from the flashable zip to the /data/local/tmp directory then run the command (chmod +x /data/local/tmp/systemrw_1.32/systemrw.sh) in something like Terminal Emulator on the phone itself? Thats where I am a little confused on what to use to run the command. Just want to make sure I do it right.
 

Miustone

Senior Member
Jul 23, 2012
3,040
5,809
28
Marburg an der Lahn
sites.google.com
Sony Xperia 5
Yup, stock android 11 with unlocked bootloader and root via Magisk. Silly question but the Sony Xperia 1 iii doesnt have a custom recovery yet so would I just copy the systemrw_1.32 folder from the flashable zip to the /data/local/tmp directory then run the command (chmod +x /data/local/tmp/systemrw_1.32/systemrw.sh) in something like Terminal Emulator on the phone itself? Thats where I am a little confused on what to use to run the command. Just want to make sure I do it right.
That's what i did on My Xperia 5. Without success... But Yours has a super Partition so idk If it works for You.
 

lebigmac

Senior Member
Jan 31, 2017
939
556
@Miustone what results do you get if you run these commands?
Bash:
adb shell
su
touch /sdcard/my_blk_features.txt
for i in /dev/block/by-name/*; do tune2fs -l $i>>/sdcard/my_blk_features.txt; done
 
Last edited:

Miustone

Senior Member
Jul 23, 2012
3,040
5,809
28
Marburg an der Lahn
sites.google.com
Sony Xperia 5
@Miustone what results do you get if you run these commands?
Bash:
adb shell
su
touch /sdcard/my_blk_features.txt
for i in /dev/block/by-name/*; do tune2fs -l `ls -l $i | awk '{print $NF}'`; done > /sdcard/my_features.txt
Code:
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          4de92f9e-9021-555d-a8ac-d0751c3de9fc
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              4096
Block count:              4096
Reserved block count:     40
Free blocks:              2486
Free inodes:              4016
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         4096
Inode blocks per group:   128
Flex block group size:    16
Filesystem created:       Fri Sep 27 08:12:07 2019
Last mount time:          Fri Jan 16 02:32:09 1970
Last write time:          Fri Jan 16 02:32:09 1970
Mount count:              41
Maximum mount count:      29
Last checked:             Fri Sep 27 08:12:07 2019
Check interval:           0 (<none>)
Lifetime writes:          7841 kB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              128
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      2452a328-5e44-5565-a832-baacdb07bba9
Journal backup:           inode blocks
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   <none>
Last mounted on:          /mnt/rca
Filesystem UUID:          01b11277-31f4-4d7b-a1aa-1f9d005ba1b2
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr dir_index filetype needs_recovery extent sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         unsigned_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              4096
Block count:              4096
Reserved block count:     40
Free blocks:              1768
Free inodes:              3902
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         4096
Inode blocks per group:   128
Filesystem created:       Tue Jan 13 19:54:02 1970
Last mount time:          Fri Jan 16 02:32:06 1970
Last write time:          Fri Jan 16 02:32:06 1970
Mount count:              1
Maximum mount count:      37
Last checked:             Tue Jan 13 19:54:02 1970
Check interval:           0 (<none>)
Lifetime writes:          220 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              128
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      15d04944-cd3d-4960-a674-fda2999bc2f9
Journal backup:           inode blocks
tune2fs 1.45.4 (23-Sep-2019)
/dev/block/by-name/bluetooth_a contains a vfat file system
tune2fs 1.45.4 (23-Sep-2019)
/dev/block/by-name/bluetooth_b contains a vfat file system
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   <none>
Last mounted on:          /mnt/idd
Filesystem UUID:          6ee058a3-18dc-4867-b258-5ddd0c36e9a6
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr dir_index filetype needs_recovery extent sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         unsigned_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              8192
Block count:              8192
Reserved block count:     81
Free blocks:              6876
Free inodes:              8156
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   256
Filesystem created:       Tue Jan 13 19:54:02 1970
Last mount time:          Fri Jan 16 02:32:06 1970
Last write time:          Fri Jan 16 02:32:06 1970
Mount count:              1
Maximum mount count:      29
Last checked:             Tue Jan 13 19:54:02 1970
Check interval:           0 (<none>)
Lifetime writes:          14 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              128
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      15fab4c6-ef0d-4b74-a656-e2fd99cf26c0
Journal backup:           inode blocks
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   dsp
Last mounted on:          <not available>
Filesystem UUID:          af32c008-2a39-7e5b-a5dc-201456d93103
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode filetype extent sparse_super large_file uninit_bg
Filesystem flags:         unsigned_directory_hash 
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Remount read-only
Filesystem OS type:       Linux
Inode count:              4096
Block count:              16384
Reserved block count:     0
Free blocks:              7794
Free inodes:              4010
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      7
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         4096
Inode blocks per group:   256
Last mount time:          n/a
Last write time:          Thu Jan  1 01:00:00 1970
Mount count:              0
Maximum mount count:      -1
Last checked:             Thu Jan  1 01:00:00 1970
Check interval:           0 (<none>)
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   tea
Journal backup:           inode blocks
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   dsp
Last mounted on:          <not available>
Filesystem UUID:          af32c008-2a39-7e5b-a5dc-201456d93103
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode filetype extent sparse_super large_file uninit_bg
Filesystem flags:         unsigned_directory_hash 
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Remount read-only
Filesystem OS type:       Linux
Inode count:              4096
Block count:              16384
Reserved block count:     0
Free blocks:              7794
Free inodes:              4010
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      7
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         4096
Inode blocks per group:   256
Last mount time:          n/a
Last write time:          Thu Jan  1 01:00:00 1970
Mount count:              0
Maximum mount count:      -1
Last checked:             Thu Jan  1 01:00:00 1970
Check interval:           0 (<none>)
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   tea
Journal backup:           inode blocks
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   <none>
Last mounted on:          /metadata
Filesystem UUID:          85d93318-9ebe-4c1e-807b-92717c134085
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr dir_index filetype needs_recovery extent sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         unsigned_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              4096
Block count:              4096
Reserved block count:     40
Free blocks:              2913
Free inodes:              4072
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         4096
Inode blocks per group:   128
Filesystem created:       Thu Jan 15 00:08:00 1970
Last mount time:          Fri Jan 16 02:32:06 1970
Last write time:          Fri Jan 16 02:32:06 1970
Mount count:              17
Maximum mount count:      29
Last checked:             Thu Jan 15 00:08:00 1970
Check interval:           0 (<none>)
Lifetime writes:          28 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              128
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      153bbb14-5d13-44aa-b22d-b21df04543ec
Journal backup:           inode blocks
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
/dev/block/by-name/modem_a contains a vfat file system
tune2fs 1.45.4 (23-Sep-2019)
/dev/block/by-name/modem_b contains a vfat file system
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   oem
Last mounted on:          /oem
Filesystem UUID:          57515ea3-83fa-5563-9735-621c94210449
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      ext_attr dir_index filetype extent sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              102400
Block count:              102400
Reserved block count:     0
Free blocks:              95270
Free inodes:              102065
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         25600
Inode blocks per group:   1600
Filesystem created:       Wed Sep 15 10:16:47 2021
Last mount time:          n/a
Last write time:          Wed Sep 15 10:16:47 2021
Mount count:              0
Maximum mount count:      38
Last checked:             Wed Sep 15 10:16:47 2021
Check interval:           0 (<none>)
Lifetime writes:          1 kB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              256
Required extra isize:     32
Desired extra isize:      32
Default directory hash:   half_md4
Directory Hash Seed:      f2f96b9c-be62-55d2-a1b7-dcdea579a0c0
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   <none>
Last mounted on:          /oem_other
Filesystem UUID:          ab8eb6f2-85e9-5799-9ad8-32b7e7a4b849
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr dir_index filetype extent sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              102400
Block count:              102400
Reserved block count:     1024
Free blocks:              95085
Free inodes:              102389
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         25600
Inode blocks per group:   800
Filesystem created:       Wed Sep 15 10:16:47 2021
Last mount time:          n/a
Last write time:          Wed Sep 15 10:16:47 2021
Mount count:              0
Maximum mount count:      38
Last checked:             Wed Sep 15 10:16:47 2021
Check interval:           0 (<none>)
Lifetime writes:          1 kB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              128
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      b9a6c088-0df2-5531-8f77-7d39b26776dd
Journal backup:           inode blocks
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   <none>
Last mounted on:          /mnt/vendor/persist
Filesystem UUID:          28647248-98d8-45da-a087-08c01792cc87
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr dir_index filetype needs_recovery extent sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              8192
Block count:              8192
Reserved block count:     81
Free blocks:              6421
Free inodes:              7754
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   256
Filesystem created:       Thu Feb 25 12:16:16 2021
Last mount time:          Fri Jan 16 02:32:06 1970
Last write time:          Fri Jan 16 02:32:06 1970
Mount count:              1
Maximum mount count:      24
Last checked:             Thu Feb 25 12:16:16 2021
Check interval:           0 (<none>)
Lifetime writes:          4518 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              128
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      3b6a0b21-d825-4000-afbd-2ff172b0d4e1
Journal backup:           inode blocks
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   /
Last mounted on:          /
Filesystem UUID:          f3e365b4-f1d6-54b8-ab22-40687fce6f50
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      ext_attr dir_index filetype extent sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              262144
Block count:              1048136
Reserved block count:     0
Free blocks:              150929
Free inodes:              255142
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Filesystem created:       Wed Sep 15 10:16:47 2021
Last mount time:          n/a
Last write time:          Wed Sep 15 10:16:47 2021
Mount count:              0
Maximum mount count:      31
Last checked:             Wed Sep 15 10:16:47 2021
Check interval:           0 (<none>)
Lifetime writes:          1 kB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              256
Required extra isize:     32
Desired extra isize:      32
Default directory hash:   half_md4
Directory Hash Seed:      75401491-7ee7-579c-866b-20f60c385673
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   system
Last mounted on:          /system
Filesystem UUID:          590ed6e4-782b-5389-a789-83620e9391a0
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      ext_attr dir_index filetype extent sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              262144
Block count:              1048136
Reserved block count:     0
Free blocks:              898817
Free inodes:              261222
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Filesystem created:       Wed Sep 15 10:16:47 2021
Last mount time:          n/a
Last write time:          Wed Sep 15 10:16:47 2021
Mount count:              0
Maximum mount count:      27
Last checked:             Wed Sep 15 10:16:47 2021
Check interval:           0 (<none>)
Lifetime writes:          1 kB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              256
Required extra isize:     32
Desired extra isize:      32
Default directory hash:   half_md4
Directory Hash Seed:      3331a12e-ae3f-5dc7-bc07-17a024f8de47
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   <none>
Last mounted on:          /data
Filesystem UUID:          0a7c45d7-0d50-4edc-9f4c-efab993c0bb8
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr dir_index filetype needs_recovery extent encrypt sparse_super large_file huge_file uninit_bg dir_nlink extra_isize quota
Filesystem flags:         unsigned_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              7020544
Block count:              28074730
Reserved block count:     32768
Free blocks:              25256503
Free inodes:              6987752
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Filesystem created:       Thu Jan 15 00:07:57 1970
Last mount time:          Fri Jan 16 02:32:06 1970
Last write time:          Thu Oct 21 23:54:44 2021
Mount count:              10
Maximum mount count:      22
Last checked:             Thu Jan 15 00:07:57 1970
Check interval:           0 (<none>)
Lifetime writes:          346 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      1065 (group reserved_disk)
First inode:              11
Inode size:              256
Required extra isize:     32
Desired extra isize:      32
Journal inode:            8
First orphan inode:       631383
Default directory hash:   half_md4
Directory Hash Seed:      8d0d4076-60af-477a-afe6-1e55c0a92c34
Journal backup:           inode blocks
User quota inode:         3
Group quota inode:        4
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   vendor
Last mounted on:          /vendor
Filesystem UUID:          093d149d-5e86-5459-90e2-d7df2e357daf
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      ext_attr dir_index filetype extent sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              64512
Block count:              257987
Reserved block count:     0
Free blocks:              67696
Free inodes:              60757
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8064
Inode blocks per group:   504
Filesystem created:       Wed Sep 15 10:16:47 2021
Last mount time:          n/a
Last write time:          Wed Sep 15 10:16:47 2021
Mount count:              0
Maximum mount count:      35
Last checked:             Wed Sep 15 10:16:47 2021
Check interval:           0 (<none>)
Lifetime writes:          1 kB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              256
Required extra isize:     32
Desired extra isize:      32
Default directory hash:   half_md4
Directory Hash Seed:      aa6523a4-78ba-5776-b7b6-0ef2a3e1f48e
tune2fs 1.45.4 (23-Sep-2019)
Filesystem volume name:   vendor
Last mounted on:          /vendor
Filesystem UUID:          093d149d-5e86-5459-90e2-d7df2e357daf
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      ext_attr dir_index filetype extent sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              64512
Block count:              257987
Reserved block count:     0
Free blocks:              67737
Free inodes:              60757
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8064
Inode blocks per group:   504
Filesystem created:       Wed May 26 02:34:10 2021
Last mount time:          n/a
Last write time:          Wed May 26 02:34:10 2021
Mount count:              0
Maximum mount count:      35
Last checked:             Wed May 26 02:34:10 2021
Check interval:           0 (<none>)
Lifetime writes:          1 kB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              256
Required extra isize:     32
Desired extra isize:      32
Default directory hash:   half_md4
Directory Hash Seed:      aa6523a4-78ba-5776-b7b6-0ef2a3e1f48e
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
 

Attachments

  • my_blk_features[1].txt
    25.9 KB · Views: 5
Last edited:
  • Like
Reactions: lebigmac

lebigmac

Senior Member
Jan 31, 2017
939
556
@Miustone
Thanks for the command output above. It looks like your device doesn't have shared_blocks read-only feature.

And now please send me output of the commands below. Thanks (y)
Bash:
adb shell
su
touch /sdcard/my_dm_features.txt
for i in `seq 0 5`; do tune2fs -l /dev/block/dm-$i>>/sdcard/my_dm_features.txt; done
 
Last edited:
  • Like
Reactions: Miustone

Miustone

Senior Member
Jul 23, 2012
3,040
5,809
28
Marburg an der Lahn
sites.google.com
Sony Xperia 5
lol @Miustone I updated the code above. Please try again

And now please send me output of this:
Bash:
adb shell
su
touch /sdcard/my_dm_features.txt
for i in `seq 0 5`; do tune2fs -l /dev/block/dm-$i>>/sdcard/my_dm_features.txt; done
J9210:/ # for i in `seq 0 5`; do tune2fs -l /dev/block/dm-$i>>/sdcard/my_dm_features.txt; done
tune2fs: No such file or directory while trying to open /dev/block/dm-0
Couldn't find valid filesystem superblock.
tune2fs: No such file or directory while trying to open /dev/block/dm-1
Couldn't find valid filesystem superblock.
tune2fs: No such file or directory while trying to open /dev/block/dm-2
Couldn't find valid filesystem superblock.
tune2fs: No such file or directory while trying to open /dev/block/dm-3
Couldn't find valid filesystem superblock.
tune2fs: No such file or directory while trying to open /dev/block/dm-4
Couldn't find valid filesystem superblock.
tune2fs: No such file or directory while trying to open /dev/block/dm-5
Couldn't find valid filesystem superblock.

+

tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)
tune2fs 1.45.4 (23-Sep-2019)

(We are talking over PM now. I've updated My last post)
 
Last edited:
  • Like
Reactions: lebigmac

JimmyMX

Member
Jun 29, 2012
37
9
36
Tripoli
Google Nexus 5
Huawei Nexus 6P
ok
so i installed new OTA
then rebooted everything was fine
then i installed magisk ok
i rebooted , things still ok
then i rebooted to twrp i installed sw script
now im fkd , twrp doesnt recognize data partition and is saying faild to mount data bad argument

tried the twrp file manager nothing is in sd card its like data got encrypted and twrp cant decrypt and not asking for the passcode like it used to

i fell its something wrong with your script man , i still didnt wipe data just yet , but i think thats the only way out right now

please replay ASAP

THANX
 
Last edited:

EveryYest

New member
Oct 22, 2021
1
1
Test in Pixel 2XL , Android 10 sucess! Thanks a lot!!!

130|taimen:/data/local/tmp/systemrw_1.32 # ./systemrw.sh
--------------------------------------------------
| SystemRW v1.32 automated script by lebigmac |
| @xda ©2021 Big thank you to @Kolibass @Brepro1 |
|@munjeni @AndyYan @gabrielfrias @YOisuPU @bynarie |
| without your help this would not be possible! |
--------------------------------------------------

systemrw: Initiating procedure...

systemrw: Device is in Android mode. Ignoring
systemrw: Current device: Google
systemrw: Current Android version: 10
systemrw: Current SELinux status: Permissive
systemrw: Unable to locate super partition on device. Ignoring
systemrw: /system is already R/W capable. Ignoring
systemrw: /product is already R/W capable. Ignoring
systemrw: /vendor is read-only
systemrw: Adjusting permissions...
systemrw: Attempting to disable dm-verity and verification...
verification is already disabled on slot with suffix _b.
verity is already disabled on slot with suffix _b.
systemrw: Partition detected -> system_a @ /dev/block/sda7
systemrw: Dumping system_a to: /data/local/tmp/systemrw_1.32/nosuper/system_a.img
5242880+0 records in
5242880+0 records out
2684354560 bytes (2.5 G) copied, 29.424051 s, 87 M/s
systemrw: Successfully dumped system_a

systemrw: Current size of system_a.img in bytes: 2684354560
systemrw: Current size of system_a.img in MB: 2560
systemrw: Current size of system_a.img in 512-byte sectors: 5242880

systemrw: 'shared_blocks feature' detected @ system_a.img

systemrw: Increasing filesystem size of system_a.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/nosuper/system_a.img to 819200 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/nosuper/system_a.img is now 819200 (4k) blocks long.

systemrw: Removing 'shared_blocks feature' of system_a.img...
e2fsck 1.44.4 (18-Aug-2018)
systemrw: Read-only lock of system_a.img successfully removed

systemrw: Shrinking size of system_a.img back to minimum size...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/nosuper/system_a.img to 132001 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/nosuper/system_a.img is now 132001 (4k) blocks long.

=================================================

systemrw: Partition detected -> system_b @ /dev/block/sda8
systemrw: Dumping system_b to: /data/local/tmp/systemrw_1.32/nosuper/system_b.img
5242880+0 records in
5242880+0 records out
2684354560 bytes (2.5 G) copied, 29.835570 s, 86 M/s
systemrw: Successfully dumped system_b

systemrw: Current size of system_b.img in bytes: 2684354560
systemrw: Current size of system_b.img in MB: 2560
systemrw: Current size of system_b.img in 512-byte sectors: 5242880

systemrw: 'shared_blocks feature' detected @ system_b.img

systemrw: Increasing filesystem size of system_b.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/nosuper/system_b.img to 819200 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/nosuper/system_b.img is now 819200 (4k) blocks long.

systemrw: Removing 'shared_blocks feature' of system_b.img...
e2fsck 1.44.4 (18-Aug-2018)
systemrw: Read-only lock of system_b.img successfully removed

systemrw: Shrinking size of system_b.img back to minimum size...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/nosuper/system_b.img to 614530 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/nosuper/system_b.img is now 614530 (4k) blocks long.

=================================================

systemrw: Partition detected -> vendor_a @ /dev/block/sde14
systemrw: Dumping vendor_a to: /data/local/tmp/systemrw_1.32/nosuper/vendor_a.img
1024000+0 records in
1024000+0 records out
524288000 bytes (500 M) copied, 6.126449 s, 82 M/s
systemrw: Successfully dumped vendor_a

systemrw: Current size of vendor_a.img in bytes: 524288000
systemrw: Current size of vendor_a.img in MB: 500
systemrw: Current size of vendor_a.img in 512-byte sectors: 1024000

systemrw: 'shared_blocks feature' detected @ vendor_a.img

systemrw: Increasing filesystem size of vendor_a.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/nosuper/vendor_a.img to 160000 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/nosuper/vendor_a.img is now 160000 (4k) blocks long.

systemrw: Removing 'shared_blocks feature' of vendor_a.img...
e2fsck 1.44.4 (18-Aug-2018)
systemrw: Read-only lock of vendor_a.img successfully removed

systemrw: Shrinking size of vendor_a.img back to minimum size...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/nosuper/vendor_a.img to 98513 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/nosuper/vendor_a.img is now 98513 (4k) blocks long.

=================================================

systemrw: Partition detected -> vendor_b @ /dev/block/sde28
systemrw: Dumping vendor_b to: /data/local/tmp/systemrw_1.32/nosuper/vendor_b.img
1024000+0 records in
1024000+0 records out
524288000 bytes (500 M) copied, 5.473983 s, 91 M/s
systemrw: Successfully dumped vendor_b

systemrw: Current size of vendor_b.img in bytes: 524288000
systemrw: Current size of vendor_b.img in MB: 500
systemrw: Current size of vendor_b.img in 512-byte sectors: 1024000

systemrw: 'shared_blocks feature' detected @ vendor_b.img

systemrw: Increasing filesystem size of vendor_b.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/nosuper/vendor_b.img to 160000 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/nosuper/vendor_b.img is now 160000 (4k) blocks long.

systemrw: Removing 'shared_blocks feature' of vendor_b.img...
e2fsck 1.44.4 (18-Aug-2018)
systemrw: Read-only lock of vendor_b.img successfully removed

systemrw: Shrinking size of vendor_b.img back to minimum size...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/nosuper/vendor_b.img to 98543 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/nosuper/vendor_b.img is now 98543 (4k) blocks long.

=================================================

systemrw: Congratulations! Your image(s) should now have R/W capability
systemrw: Please reboot into bootloader and flash the file(s) manually
 
Last edited:
  • Love
Reactions: lebigmac

JimmyMX

Member
Jun 29, 2012
37
9
36
Tripoli
Google Nexus 5
Huawei Nexus 6P
ok
so i installed new OTA
then rebooted everything was fine
then i installed magisk ok
i rebooted , things still ok
then i rebooted to twrp i installed sw script
now im fkd , twrp doesnt recognize data partition and is saying faild to mount data bad argument

tried the twrp file manager nothing is in sd card its like data got encrypted and twrp cant decrypt and not asking for the passcode like it used to

i feel its something wrong with your script man , i still didnt wipe data just yet , but i think thats the only way out right now

please reply ASAP

THANX
 

lebigmac

Senior Member
Jan 31, 2017
939
556
ok
so i installed new OTA
then rebooted everything was fine
then i installed magisk ok
i rebooted , things still ok
then i rebooted to twrp i installed sw script
now im fkd , twrp doesnt recognize data partition and is saying faild to mount data bad argument

tried the twrp file manager nothing is in sd card its like data got encrypted and twrp cant decrypt and not asking for the passcode like it used to

i feel its something wrong with your script man , i still didnt wipe data just yet , but i think thats the only way out right now

please reply ASAP

THANX

Are you sure it's not a problem related to your twrp? Can you boot into Android and check if script worked?
 

lebigmac

Senior Member
Jan 31, 2017
939
556
To undo bootloop simply restore original stock super image and re-enable dm-verity and verification with the included avbctl binary (/tools subfolder). Those are the only changes performed by the script.

The script doesn't affect /data partition. It only uses project path in /data partition for dumping files and doing its job.
 
Last edited:

JimmyMX

Member
Jun 29, 2012
37
9
36
Tripoli
Google Nexus 5
Huawei Nexus 6P
To undo bootloop simply restore original stock super image and re-enable dm-verity and verification with the included avbctl binary (/tools subfolder). Those are the only changes performed by the script.

The script doesn't affect /data partition. It only uses /data partition for dumping files.
restore , you mean install firmware or what??
can you explain please im currently locked out of my phone with twrp saying data partition 0mb
should i format data or wipe everything or what should i do
 

Top Liked Posts

  • 1
    -o (as in options) not -0... o_O
    Is this correct now...kindly see the attached...thank you sir.
    1
    To test if everything worked properly you can run each of these commands individually:
    Good luck! (y)
    Bash:
    adb shell
    su
    for a in `ls /dev/block/dm-*`; do mount -o remount,rw $a; done
    var="it's work!"
    echo $var>/test.txt
    echo $var>/product/test.txt
    echo $var>/vendor/test.txt
    echo $var>/system_ext/test.txt
    cat /test.txt && cat /product/test.txt && cat /vendor/test.txt && cat /system_ext/test.txt
    rm -f /test.txt /product/test.txt /vendor/test.txt /system_ext/test.txt
  • 3
    i use poco m3 rom xtrv hellas....your script is rock..i remove permanently bloatware with root explorer...nice job
    Hi @masricky I'm happy you like the script. Please send me your log files from this folder. Thanks (y)
    /data/local/tmp/systemrw_1.32/log/

    Enjoy tinkering with your fully read/write-able device and make lots of backups before modding stuff! :love:(y)

    Yes it's true. I wrote this script but it wouldn't exist as such without
    Thank you to everyone who contributed positively to this project! :D(y)
    Also keep in mind script is not perfect for all devices out there yet. Rest assured I'm always working hard on next version ;)(y)
    2
    @tids2k için çok fazlaki geri bildiriminiz için teşekkür edilir. Evet, bu bootloop bekleniyordu. Sanırım bu, [2470925]@Hippie459MN[/KULLANICI]'nın birkaç gün önce genel Sony Xperia amiral gemisi yemekta aynı inatçı çekirdekli paniksi.
    gerçek betiğin bir sürüm, Almanya'da kötü durumdaki 255, motorola sürücüsündeki can sıkıcı 73 ve bu inatçı hata siniri gibi bu sorunlardan bazılarını çözecektir. Tam Android 12 olur de harika olurdu.




    Merhaba [KULLANICI=11226285]@kafeinsiz[/KULLANICI] geri bildiriminiz için teşekkürler! Senaryomun Xiaomi azda çok memnunum. Tebrikler! Okunabilir/yazılabilir bir ürünlerden çıkarılabilir!:Aşk :()

    mevcut özel boyutlar=25 (MB) mi kullandınız?

    Android 11 çalıştırdığınızdan emin misiniz? Günlüğünüzde söylüyor diyor ki:
    Evet kesinlikle A11. A10 bir hata nedeniyle burada görünüyor.
    2
    Thanks! It works flawlessly (although I had to do it manually, it's easy enough). My device is a Redmi Note 9S (curtana). If I update my device, do I need to remake the fixed super.img or should I flash the one made before the update?
    Hi @LanceLot9980. Congratulations for getting the script to work on your device! Enjoy a fully read/write-able device! :love:(y)
    If you upload your log files from script folder and a screenshot of your system mounted as r/w then I can add you to the list of successful devices on front page ;)(y)

    @LanceLot9980 yes I noticed your question but I was on the road.
    If you update OTA this will most likely restore the shared_blocks read-only feature on your super partition which means you will have to run script again if you want to go full r/w again ;)
    Thanks! It works flawlessly (although I had to do it manually, it's easy enough). My device is a Redmi Note 9S (curtana). If I update my device, do I need to remake the fixed super.img or should I flash the one made before the update?
    The flashable zip gave you error 255? Don't worry I already fixed this issue in next version ;) Hopefully I can release it soon!
    2
    hi and thank's for your work...
    I have an issue with your script, I flash it on twrp on my renoir on A11 LOS and the flash is correct but at the end got these errors messages
    failed to mount system/ext/product/vendor (invalid argument) here are the logs and the ss...

    when I try to copy a .xml on vendor partition got, no more space available and it copy a .xml but empty..
    Hello @rayman95. You're welcome. Thanks for your log files and the screenshot (y)
    Don't worry about this TWRP related error at the very end. This has nothing to do with the script. This only means you must reboot the device. That's all ;)(y)
    Failed to mount '/system_ext' (Invalid argument)
    Failed to mount '/product' (Invalid argument)
    Failed to mount '/vendor' (Invalid argument)

    According to your log it looks like everything worked as expected but I think you must run script again with larger custom size. Which custom size did you use? I can't see it in the log :(
    Hopefully I can release that new version soon. The included auto-resize feature should fix this kind of issue in next version ;)(y)



    it worked great on poco x3 pro, but vendor didn't, when I try to edit an XML located in "vendor/etc/device_features" it doesn't work, even so, thank you very much for the work.
    Hi @Revokke. You're welcome. 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? Official stock MIUI or Xiaomi.eu ROM ?
    What do you mean it doesn't work? 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)
    1
    Flashable Zip, worked PERFECTLY on ASUS ROG Phone 5 [ASUS_I005D] running Android 11 (R) with TWRP!!! :love:

    Code:
    Current device: asus ASUS_I005D
    systemrw: Current Android version: 11

    Here's a screenshot of being able to mount system as RW and modifying it using adb shell su:

    explorer_C9LwL9ooKK.png


    One suggestion - make the script so it resizes partitions to have a bit more than just 15 MB extra space by default? Would help a lot incase I didn't have anything I could delete inside system partition to free up space.

    Would there be any issues if the script resizes more than 15 MB by default? Most recent phones will have atleast 32GB internal storage which is plenty to expand with say 256 MB or 512 MB?

    At first I was very very afraid of bricking my new phone but I took a backup of super img using adb shell su and dd command myself and made sure that even if something does get bricked, I'll be able to restore it manually using "flashboot flash super super_backup.img"

    I've gone through a lot of pages from the start and the end of this thread in the last few days, to make sure I wasn't missing anything too important. After seeing users report no problems for Android 11 (R), I just went for it and I'm glad I finally did!

    Luckily, your perfect script didn't have any problems making the system RW. I am able to mount system as RW and I have successfully deleted apps in /system/priv-app/ which I don't need, and copied a folder over too!

    I thought I'll have to manually disable AVB/dm-verity but I forgot about it, until I saw it in the TWRP log as the image was flashing, to realize that the script does this itself! :D

    Code:
    systemrw: Attempting to disable dm-verity and verification...
    Successfully disabled verification on slot with suffix _a. Reboot the device for changes to take effect.
    Successfully disabled verity on slot with suffix _a. Reboot the device for changes to take effect.

    To change the emoji font file in "/system/fonts/NotoColorEmoji.ttf" which, in android using total commander, I kept getting errors, and after copying using adb shell first, the resulting file was just 668 KB (instead of 17 MB or something), I had to delete some unused preinstalled apps to free up enough space (I have no idea why Yandex browser was in priv-app, it's not even installed anywhere, just sitting in system, taking up 140MB+ of space)

    Changed emojis work perfectly (which is why I wanted to make system rw in the first place... ah the risks I take for the simplest little things that make my phone truly my own 😂)

    I was forgetting I had to chmod 644 on the copied file, because default permission was 600 after copying with adb shell su, and I think no apps were able to read the emoji file at all.

    Would love to see the script as a magisk module, making it even more easy to get on any new devices I might have in the future ^^

    I don't have any other Android 10+ phones as of now, and I won't be updating or changing anything big on my current phone after I set it up perfectly, but either way - I'd love to help you test and improve the script if I ever get the chance!

    Logfile is attached ^^
    Thanks a lot @lebigmac ! 😌
    Also thanks to everyone else who helped test the script! 😄
  • 110
    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

    SystemRW© v1.32 by lebigmac

    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.
    Script only modifies super and vbmeta partitions. /data partition is not affected. It's only used for dumping data and for storing script files.
    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)

    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!
    • Before running this experimental software on your device it is recommended to make a full backup of your device (just in case you are unlucky enough to end up in an irreversible bootloop)
    • 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"
    • To check whether or not your device has the notorious shared_blocks read-only feature you can run these commands in Android:
      Bash:
      adb shell
      su
      touch /sdcard/my_tune2fs_output.txt
      for i in `seq 0 5`; do tune2fs -l /dev/block/dm-$i>>/sdcard/my_tune2fs_output.txt; done
    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

    Uninstallation:
    • To free up space and keep script as well as r/w capability you can simply delete /img subfolder at /data/local/tmp/systemrw_1.32/img
    • To delete script and keep r/w capability you can simply delete whole script folder at /data/local/tmp/systemrw_1.32
    • To undo all changes performed by the script you can simply reflash original stock read-only super image and re-enable dm-verity and verification either through adb/fastboot or with the included avbctl binary (inside /tools/ subfolder - also available in recovery).

    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 get bootloop after successfully flashing super_fixed.bin then you can undo bootloop simply by re-flashing original stock super image and re-enabling dm-verity and verification with the included avbctl binary (inside /tools/ subfolder - also available in recovery). Those are the only changes performed by the script.
    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.
    Big thanks @munjeni for allowing me to use his superunpack V1 tool in the initial version. It helped me to understand how these super images work.
    Thanks @AndyYan your great tutorial also helped me a lot for automating the script especially the lpdump part.
    Thanks @bynarie for making available his otatools package! A part of it was bundled with the initial version which helped me to create this universal 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 the end-user steal and / or abuse my entire SystemRW project or parts thereof (including but not limited to my update-binary, my script, my program logo, my program name or the names of my functions and my variables and more...) only to rename and republish my SystemRW project (or parts thereof) as his / her own without even mentioning original source or original credits!!! (yes this actually happened :( perpetrated by a fellow forum member...)
    • Unauthorized re-uploads of any files contained within this project to 3rd party websites are not permitted without the original author's prior consent!
    • The end-user is allowed to improve the underlying algorithm (as long as no malicious code is added) and post his/her improvements, results and feedback right here in the official SystemRW project thread @ xda-developers.com
    • If the end-user wants to integrate my SystemRW project into 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
    more official download mirrors coming soon!
    current status: experimental


    If you like this project and want to support further development of SystemRW & the creation of more amazing projects like this then please feel free to donate to the developer by clicking the button below. Thanks! Your support is very much appreciated!
    Donate
    12
    If the script works on your device please send me your log files from this folder:
    /data/local/tmp/systemrw_1.32/log/

    And please write your phone model /// Android version /// firmware version

    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!