150

Universal SystemRW/SuperRW feat. MakeRW/ro2rw (read-only-2-read/write super part...

 1 year ago
source link: https://forum.xda-developers.com/t/universal-systemrw-superrw-feat-makerw-ro2rw-read-only-2-read-write-super-partition-converter-resizer-by-lebigmac.4247311/page-113#post-87942919
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Universal SystemRW/SuperRW feat. MakeRW/ro2rw (read-only-2-read/write super partition converter/resizer) by lebigmac

lebigmac

Senior Member
Jan 31, 2017 1,261
Why the new v1.33 works so good on my brand new next-gen Redmi Note 12 5G ? Also works fine on my Poco X3 in latest stock MIUI...

Okay I will try to fix it. Can you please send me your logs from log sub-folder?
I can only improve the program with more feedback by users with different phones. Thanks for your feedback

Reactions: Aitra

Aitra

Senior Member
May 17, 2021
Why the new v1.33 works so good on my brand new next-gen Redmi Note 12 5G ? Also works fine on my Poco X3 in latest stock MIUI...

Okay I will try to fix it. Can you please send me your logs from log sub-folder?
I can only improve the program with more feedback by users with different phones. Thanks for your feedback

Attachments

  • log.zip
    1.7 KB · Views: 9

Reactions: lebigmac

Aitra

Senior Member
May 17, 2021
Why the new v1.33 works so good on my brand new next-gen Redmi Note 12 5G ? Also works fine on my Poco X3 in latest stock MIUI...

Okay I will try to fix it. Can you please send me your logs from log sub-folder?
I can only improve the program with more feedback by users with different phones. Thanks for your feedback

My Mi 11 lite 5g has not removed the encryption in twrp.

Last edited: Today at 2:18 AM

LeeGarChat

Senior Member
Jun 24, 2014 Xiaomi Poco F3
Why the new v1.33 works so good on my brand new next-gen Redmi Note 12 5G ? Also works fine on my Poco X3 in latest stock MIUI...

Okay I will try to fix it. Can you please send me your logs from log sub-folder?
I can only improve the program with more feedback by users with different phones. Thanks for your feedback

Because:
1. For example, EROFS is compressed, and after unpacking, some ROMs will not fit in SUPER.
2. Some EROFS.img cannot extract files correctly.
3. Some ROMs take up too much space in super even on EXT4. since shader_blocks combines files without voids, unlike unshared_blocks, therefore the ROM becomes larger and cannot fit in SUPER.
4. Some devices with encrypted data cannot boot after disabling verity and verification.
5. All devices are different and you should not make loud statements about universality, only based on tests on your device.
However, can you still call me a low-grade developer? I give, and gave you advice, and I behave adequately

FOR MODERATORS: I do not provoke or engage in bullying in this message, this is adequate criticism and advice

Anatolii-orsk

Member
Mar 8, 2022
Where can I download the latest version?

lebigmac

Senior Member
Jan 31, 2017 1,261
Hi @LeeGarChat have you ever wondered what is the real MakeRW / ro2rw ? I'm afraid you don't really know what it actually is. Well let me show you

To all those users having trouble with the latest v1.33 of my original SystemRW/SuperRW script I would suggest trying to do the RW magic manually using the one and only original MakeRW / ro2rw by lebigmac

If you can do the process manually then we can do it automatically!
Last edited: Today at 1:26 PM
After manual installation on mi11 lite 5g created these files in data/local/tmp/sysrw_1.33/img, but still cannot disable read-only lock in system.

I don't see a super_fixed.bin listed in the image you posted

Reactions: Aitra

Hi @LeeGarChat have you ever wondered what is the real MakeRW / ro2rw ? I'm afraid you don't really know what it actually is. Well let me show you

To all those users having trouble with the latest v1.33 of my original SystemRW/SuperRW script I would suggest trying to do the RW magic manually using the one and only original MakeRW / ro2rw by lebigmac

If you can do the process manually then we can do it automatically!

If you want to, share the logs I sent you where I flashed it on my Pixel 7 🤷‍♂️

Reactions: lebigmac

lilysirius

New member
Dec 31, 2022
Pixel 7
sysrw: Fatal make_ext4fs error

Attachments

  • log.zip
    2.3 KB · Views: 3

Reactions: lebigmac

lebigmac

Senior Member
Jan 31, 2017 1,261
Thanks for the log it looks interesting. I will analyze it and compare with that other Pixel 7 log that I received

Why are all those cow sub-partitions even in your super.img if the cow group is empty? Don't make no sense...
And why the script detects that the cow sub-partitions have a size larger than 0 if they're all in that empty cow group? Can you please check on your phone if those files really are empty? Thanks

You must know I am very new to these dual slot devices so I will have to do some more experiments to fix this. Don't worry this is nothing that can't be fixed
Last edited: 46 minutes ago

Reactions: Aitra

LeeGarChat

Senior Member
Jun 24, 2014 Xiaomi Poco F3
Thanks for the log it looks interesting. I will analyze it and compare with that other Pixel 7 log that I received

Why are all those cow sub-partitions even in your super.img if the cow group is empty? Don't make no sense...
And why the script detects that the cow sub-partitions have a size larger than 0 if they're all in that empty cow group? Can you please check on your phone if those files really are empty? Thanks

You must know I am very new to these dual slot devices so I will have to do some more experiments to fix this. Don't worry this is nothing that can't be fixed

-cow partitions do not need to be extracted and repacked, they are not needed to rebuild Super with RW

lebigmac

Senior Member
Jan 31, 2017 1,261
Thanks I know that too ever since that OnePlus user discovered it and posted about it in this very thread a couple of months back.

But that doesn't answer my questions why it's in there in the first place. There must be a reason for that.

LeeGarChat

Senior Member
Jun 24, 2014 Xiaomi Poco F3
Thanks I know that too ever since that OnePlus user discovered it and posted about it in this very thread a couple of months back.

But that doesn't answer my questions why it's in there in the first place. There must be a reason for that.

You have encrypted your sh script in vain. there is no need for this. It would be easier for the community to help you develop if everyone can open the file and see what's wrong. In addition, compiling a binary file from a sh script increases the file size and complicates development, because in case of loss of the source code, as I sometimes do, because I edit the file both on the phone and on the computer, it happens on these uroystvah different versions. With open source, I can always be sure that I have a fresh version on the file exchanger. I had experience with sh script encryption to deal with the HentaiOS development team. And it's terribly inconvenient. So I quickly gave it up

lebigmac

Senior Member
Jan 31, 2017 1,261
haha leegarchat the encryption part is just a proof of concept for myself as I've never done such a thing before
And plagiarism will always lead to more encryption and obfuscation. That's cause and causality
If this is the only way for open source programmers to protect their hard work online then so be it.
Sometimes I wish I could encrypt the program name itself
But I agree it's a total nightmare to debug so I will probably go back to open source very soon. I will simply take my original and unique MakeRW / ro2rw binary with full EROFS support (full F2FS support coming in 1st quartal 2023 !) and plug it into my old v1.32 script and voila
Do you now finally understand what this whole MakeRW / ro2rw thing was all about since the very beginning back in 2021 ? You didn't let me finish...
My unique and original MakeRW / ro2rw procedure was always predestined to become its own independent external program and that day has finally arrived.
Now if only the moderator could please unlock that thread I could update it as I forgot to include the launcher shortcut lol.
Last edited: 7 minutes ago

Aitra

Senior Member
May 17, 2021
I don't see a super_fixed.bin listed in the image you posted

Can you tell me which command can create super_fixsd.bin file? How to concatenate subfiles into super.img superimage?

My Pixel 7 on the newest android 13 beta.

Attachments

  • ld.config.txt
    182.6 KB · Views: 0

Reactions: lebigmac


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK