topjohnwu / Magisk

The Magic Mask for Android
GNU General Public License v3.0
49.12k stars 12.62k forks source link

Revert "init: support 2SI devices with skip_initramfs" #8475

Closed vvb2060 closed 2 days ago

vvb2060 commented 1 month ago

This reverts commit b38fd1ca5f15ed22858c7737879c38d360e78eac.

aviraxp commented 1 week ago

I think this is ready for merge.

vvb2060 commented 1 week ago

We need to detect /dev/root at runtime and then write it to config in boot.img, which is the only effective way to detect legacy SAR.

topjohnwu commented 2 days ago

We'll find another way to detect the scenario, let's revert the behavior back to what it was