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

[Feature]: Custom bell sound #3829

Open
hatkidchan opened this issue Feb 9, 2024 · 4 comments
Open

[Feature]: Custom bell sound #3829

hatkidchan opened this issue Feb 9, 2024 · 4 comments

Comments

@hatkidchan
Copy link

Feature description

Cash-register-like bell sound is nice and all, but I kinda wish I could replace it without rebuilding the entire app

Additional information

It is possible to replace bell.ogg with custom one by using apktool, but it requires resigning of every Termux-related app (Termux API and styling)

@AliSananS
Copy link

It is possible to replace bell.ogg with custom one by using apktool

Using android studio is a much better option than cracking the application.
Or just make a pull request with the feature to add new sound.

@hatkidchan
Copy link
Author

Using android studio is a much better option than cracking the application.

When you have space and will to build Termux from scratch. Plus it'll be signed with my key either way, which makes updates painful and also requires complete reinstallation of it since apparently Android doesn't allow app updates when signed by a different key (or at least that's what happened to me).

Or just make a pull request with the feature to add new sound.

Implementation won't appear out of thin air, and I'm not a Java developer. If I knew how to do it, I would've sent a PR already, no?
I wasn't talking about changing the sound for everyone, I was talking about more like.. what you can do with fonts already, which is not just an asset replacement that I can do already.

@AliSananS
Copy link

@hatkidchan Cracking the application won't make the updating process seemless either, as updating the app will overwrite your modifications.

Well, no new version has been released from last 2 years. You won't be updating it very often.

@sylirre
Copy link
Member

sylirre commented Mar 13, 2024

It is possible to replace bell.ogg with custom one by using apktool, but it requires resigning of every Termux-related app (Termux API and styling)

You don't need to crack something or resign.

Until this feature is implemented you can simply fork this repo, change bell sound file and trigger build using GitHub Actions. Resulting apk file would be compatible with GitHub builds made by @termux.

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

3 participants