topjohnwu / Magisk

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

Xperia Issues #1537

Closed djsakflhklasf closed 5 years ago

djsakflhklasf commented 5 years ago

console-ramoops-0.zip 更新19.1及之后的版本无限重启 附带刷19203后从/sys/fs/tore中提取的log

lalcd commented 5 years ago

@topjohnwu hi, is there anything we can do to help you to identify the cause?

MartinX3 commented 5 years ago

Here is a pstore from a guy which get bootloops installing 18.1 on SODP based OmniROM (I don't know what is different on his device, while I can use 18.1, but he did fullwipes and reinstall ROM). console-ramoops-0.log

And here is my part

Until 18.1 / 19.0 the installation of the magisk on a clean stock rom was fine. Since then it results into a bootloop.

The XZ2, XZ2C, XZ2P and XZ3 having this problem, seems that the Xperia 1 (Our direct hardware successor) has the same problem. So I assume a sony stock firmware compatibility problem.

Luckily I was able to extract the /sys/fs/pstore in TWRP. I attached it:

Default stock setting in fstab for userdata -> crashing at Sony Logo encryptable=ice console-ramoops-0.log

Modified stock setting in fstab for userdata -> crashing at Powered by Android logo encryptable=footer console-ramoops-0.log dmesg-ramoops-0.log

Btw. Installing directly 19.1/19.2/19.3 on a SODP based custom rom results into a "corrupted device error". Even TWRP won't work anymore and "fastboot boot twrp.img" gives weird mismatch errors from the bootloader until I flash a clean boot.img again.

lalcd commented 5 years ago

Also after v19. 0 , Magisk cannot patch Sony's .sin format boot Image with an error message "no boot image found"

lucaszhaoting commented 5 years ago

I have a xperia 10 too, also with magisk 18 can get root, after update cant. but i cant install modules, yes i can install, but after reboot dont appear i installed modules.

MartinX3 commented 5 years ago

@LucasZhaoting is that a "bootloop" problem you report in this "bootloop" issue ticket?

lucaszhaoting commented 5 years ago

Just telling, if i update magisk, it will get bootloop, only work with magisk 18, but cant install modules too

Myself5 commented 5 years ago

Highly doubt it

That means I do not think it is...

lalcd commented 5 years ago

Highly doubt it

That means I do not think it is...

Thanks for correcting 🤐

lalcd commented 5 years ago

PSA: The bootloop issue still exists in the latest Canary build(https://github.com/topjohnwu/magisk_files/commit/8057ed100c9a1bca84ebf37fa5fa640842a14ce6).

lalcd commented 5 years ago

PSA: Bootloop issue has been fixed in the latest Canary build. https://github.com/topjohnwu/magisk_files/commit/f8a96a5cb278689cde6327d663a285a9d2ac88cd Thank you, Wu!

MartinX3 commented 5 years ago

@8lexliu What about module usage? I heard this version forced the core mode on stock xperia?

lalcd commented 5 years ago

@MartinX3 No issue, at least on Xperia 1 magisk works fine.