Twoyi customized rom which introduces Riru and Dreamland framework. Import tbis rom, reboot in twoyi and install Dreamland Manager, it's ok to enjoy.
Here are some changes since Magisk can't run in Twoyi:
- Imitate incomplete but simple Magisk environment (manually put modules to /data/adb/ and /sbin, etc.)
- Modify init.rc and manually start rirud since Magisk is not available
- Modify default.prop directly since resetprop is from Magisk
- Hardcode (fake) Magisk info to avoid adding fake
magisk
binary - Riru internal changes since many APIs don't work in Twoyi (
getuid
,getPidContext
,unshare
, etc.) - Riru hide is removed. Detecting virtual environment like Twoyi is very easy, hiding riru becomes meaningless.
This rom only tested with Twoyi 0.5.1, and may have problems with other Twoyi versions.