-
Notifications
You must be signed in to change notification settings - Fork 42
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
"Magisk Alpha" magisk fork patching fails #301
Comments
Thanks for reporting this! I think the problem is just that they're sticking with the 27002 version number, similar to upstream Magisk's CI ( Maybe I can find a way to improve avbroot's detection instead of just relying on version numbers. At the very least, I'll be fixing the error message so that In the meantime, since you're building from source already, I bet that changing this line from |
`specified file not found in archive` is a useless error message when there's no additional context. Issue: #301 Signed-off-by: Andrew Gunnerson <[email protected]>
#268 now fixes both issues. avbroot's support for Magisk's new file structure no longer depends on the version number and the error messages now indicate which file was not found:
|
`specified file not found in archive` is a useless error message when there's no additional context. Issue: #301 Signed-off-by: Andrew Gunnerson <[email protected]>
@chenxiaolong That is absolutely awesome - patched and flashed successfully now! One concern - once I boot and launch Magisk I'm greeted with the dreaded "I need to flash again, recovery can't detect..." type message which is strange because I DID specify themagisk-preinit-device as
Not 100% sure if it's a magisk issue or a avbroot patching issue. :( Update: Full message from Magisk is: Requires Additional Setup: Your device needs reflash Magisk to work properly. Please reinstall Magisk within app; recovery mode cannot get correct device info. |
Awesome! Just to double check: did you also install the updated Magisk APK? If the error happens even when the installed APK matches what the OTA was patched with, can you check a couple things?
Also, could you upload both the |
How DARE you?! Of course I installed the latest APK!!! >:O Ok.... yep... I'm an idiot. I forgot to install the new APK. :( Thank you for your patience with me on this one! I owe you a beer or ten! 👍 |
Hello!
This is a long shot but I use a Magisk fork called "Magisk Alpha" which has worked via avbroot auto-patching (using the APK) until now when it suddenly fails.
I've attached the actual APK to this ticket but I'm not 100% sure where the source is - it used to be open source and I believe the source is still out there somewhere but I'm not sure where.
When attempting to patch with this I get:
I did compile avbroot with your patch for the 27003 version of magisk also just to test but get the same result. It seems like it's looking for a missing partition "specified file not found in archive" but if I install with their previous version of magisk alpha OR the latest official magisk build it patches just fine. Bit odd.
EDIT: I had to rename the APK to a ZIP in order to attach it to the ticket. Please feel free to rename and test if you wish. This isn't my fork though so no worries if it's a case of "We don't support this, go away!" :)
AlphaMagisk-c6f07625-27002.zip
The text was updated successfully, but these errors were encountered: