I got the max size of EROFS from wiki, and the source of wiki is erofs.txt from linux kernel. You can search the EROFS from wiki. My super.img is less than 4G.
Thanks for the hint. I've found it in an Android 10 Opensource Kernel
Code:
Laya_10_EMUI10.0_opensource.tar/Code_Opensource/kernel/fs/erofs/Documentation/filesystems/erofs.txt
The Wiki page you are referring to is probably from
LinuxReviews.org !?
They basically copied the content of this
View attachment erofs.txt file.
Regarding the size. Is it possible that you are mixing up something?
In both descriptions they write about the main features of EROFS:
- Currently 4 KB block size (nobh) and therefore maximum 16 TB address space
- 4KB block size. This limits the total possible capacity of a EROFS filesystem to 16 TB
- 2 inode versions for different requirements:
Code:
v1 v2
[B]Max file size: 4 GB 16 EB (also limited by max. vol size)[/B]
This sounds to me that in v1 the maximum
file size was limited to 4 GB, inside
this erofs partition, like on FAT32. But in both versions they have 4 KB block size and this limits the
maximum
addressable partition size to 16 TB.
From all the Firmware files I investigated the last weeks, all of the unsparsed super.img.raw files were larger
than 5 GB. Which I wouldn't interpret as a rule.
1. wish that someone would sell the unlock code of Huawei (maybe, I haven't paid attention to this news recently)
2.wish that someone could crack the EMUI9 (maybe, but not now), now, EMUI8.0 8.1 8.2 can read unlock code by using some special method.
The only half war serious "ad" I have heard so far is from this
website.
Can't give you source-able details, but I've read that in order to get access to present Huawei Bootloader Unlock codes,
one must have some insider contacts from Huawei and its database.
Update 04.06.2020
Found the
source I was referring to. It links back to XDA with lots of feedback that they really got the codes back in 2018.
Translated it says:
3.In my opinion, the key is not in EROFS but in unlock code. EMUI9+EROFS can be unlocked and flash all kinds of ROMs.....
I don't think this is a matter of opinion. It is a fact, no unlocked Bootloader no flashing. But once it is unlocked,
Magisk should do the trick, even without TWRP.
Cheers NewBit