Skip to content
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

Module Installation can't find bash #10

Open
xperia-droid opened this issue Jun 18, 2024 · 3 comments
Open

Module Installation can't find bash #10

xperia-droid opened this issue Jun 18, 2024 · 3 comments

Comments

@xperia-droid
Copy link

I tried to install the FrameworkPatcher v1.1.1 on my Pixel 8 with Evolution X ROM and Magisk 27.0.

The Installation fails on my side because it can't find the bash binary.
Magisk install log

I have executed the find command in termux and found the following binaries:

su
:/ # find / -name bash
/data_mirror/data_ce/null/0/com.termux/files/usr/lib/bash
/data_mirror/data_ce/null/0/com.termux/files/usr/bin/bash
/data_mirror/data_ce/null/0/com.termux/files/usr/share/doc/bash
/data_mirror/data_ce/null/0/com.termux/files/usr/include/bash
/data_mirror/data_ce/null/0/com.sonelli.juicessh/files/bin/arm/pie/bash
/dev/tmp17534/bash
/dev/tmp17073/bash
/data/user/0/com.termux/files/usr/lib/bash
/data/user/0/com.termux/files/usr/bin/bash
/data/user/0/com.termux/files/usr/share/doc/bash
/data/user/0/com.termux/files/usr/include/bash
/data/user/0/com.sonelli.juicessh/files/bin/arm/pie/bash
/data/data/com.termux/files/usr/lib/bash
/data/data/com.termux/files/usr/bin/bash
/data/data/com.termux/files/usr/share/doc/bash
/data/data/com.termux/files/usr/include/bash
/data/data/com.sonelli.juicessh/files/bin/arm/pie/bash
/system_ext/etc/bash
/system_ext/bin/bash

Do you need some information from my side?

@xperia-droid
Copy link
Author

Fixed it by installing this bash module:
https://xdaforums.com/t/module-framework-patcher-go.4674536/post-89558843

It could decompile the file but instant failed after modifying Framework.jar:
magisk_install_log_2024-06-19T02.58.44.log

Error from Log:

******************************
> Setting up FrameworkPatch ...
******************************
unzip: can't open /dev/tmp14234/framework-patched.jar[.zip]
unzip: can't open /dev/tmp14234/framework-patched.jar[.zip]
5 dex files found in framework.jar
FrameworkPatch's compiled classes.dex renamed to classes6.dex and patched to framework.jar
/data/adb/modules_update/FrameworkPatcherGo/customize.sh: line 308: /dev/tmp14234/ugu/zip: cannot execute binary file: Exec format error
Modifying framework.jar failed
timeout: invalid option -- t
BusyBox v1.36.1-osm0sis (2023-09-02 19:01:41 ADT) multi-call binary.

Usage: timeout [-s SIG] [-k KILL_SECS] SECS PROG ARGS

Run PROG. Send SIG to it if it is not gone in SECS seconds.
Default SIG: TERM.If it still exists in KILL_SECS seconds, send KILL.

@xperia-droid
Copy link
Author

@VendorAttestation
Copy link

@changhuapeng make official fix please as the zip dosent work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants