-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readlink -f
from busybox is broken for kernel version < 3.6
#5530
Comments
More than likely this: #5516 It's already fixed for the next Canary and point release. |
Oh wait, that recovery install issue is new.. I recall this used to work fine. |
Same error!, I had to re-flash Magisk v24.1 back to make it work again. |
Duplicate #5439 |
It used to work though, so still should |
I have the same issue |
Same here on Flox with LOS 18.1. Magisk 24.2 resulted in stuck boot. Reinstalled 24.1 via TWRP. All ok. Magisk 24.3 updated from app and worked, but did not survive routine LOS firmware update via TWRP. 24.3 wouldn't re-install from TWRP (couldn't find /system after umount). Had to reinstall 24.1 with TWRP, then update to 24.3 from the app. |
Following, I adb'd into twrp (3.5.2_9.0)
"readlink -f" fails as you describe. Returns empty. FWIW, readlink -f /system || echo bad, echoes bad. |
Magisk's busybox (in its apk/zip) is where the regression lies, TWRP's busybox has no effect on it. |
This is because of android/ndk#1260 |
That issue sounds pretty old, though, and might not directly affect a static busybox? Also interesting how it worked fine in Magisk 24.1. |
@osm0sis I have fixed it. But I need you to make the change to busybox kitchen. Could you help me? |
Nice! Same as here on Magisk repo we don't merge without John, but I can review PRs, etc. |
(off topic: could you review #5618? |
Try artifacts of #5620. |
Running it already as we speak, and taking a look. 👍 |
readlink -f
from busybox is broken
Can also confirm this fixes flashing in flox TWRP. The PR CI build and 24303 both have broken root on flox however, but I can also confirm that's fixed upstream by the latest CI. 👍 @yujincheng08 if you rebase on HEAD I can try it again and make sure all is fully working with addon.d, etc. 🙌 |
Follow-up: Not a complete test, but I was able to try out addon.d by copying the arm busybox from your PR CI build over a HEAD CI installation's /data/adb/magisk/busybox and all worked perfectly. 🎉 |
readlink -f
from busybox is brokenreadlink -f
from busybox is broken for kernel version < 3.6
Fixed here: b1faa5e |
Still no new release.. How can I get this patch? |
Wait patiently or run the latest CI build from GitHub Actions. |
Based on the number of people that have noted this issue/problem/bug and have downgraded, it might make sense to spin-off a 24.3.1 release simply to address this one problem allowing ample time for 24.4 to run its course. |
Magisk/native/src/base/files.rs Lines 81 to 91 in e327565
regression on 25204 |
Device: Nexus 7 (2013) WiFi (flo)
Android version: Android 11 (lineage 18.1 - lineage-18.1-20220228-nightly-flox-signed)
Magisk version name: 7cfce9f
Magisk version code: 24201
I patched the boot.img and got an magisk patched boot file. I booted into TWRP (twrp-3.6.0_9-0-flo) and installed the patched boot image. No errors. After booting the device freeze. I have to re-install org boot.img to make it work again.
I took magisk.apk and renamed it to magisk.zip. I trying to install magisk.zip with TWRP.
ERROR!
Magisk 24.2 Installer
! Cannot mount /system
'- Unmount partition
Prozess Updater endet mit FEHLER: 1
Fehler beim Installieren von ZIP '/sdcard/Download/magisk-v24.2.zip'
Partitions-Informationen werden aktualisiert...
... Fertig
The text was updated successfully, but these errors were encountered: