![](https://lemmy.world/pictrs/image/5c0a6096-7b60-4e70-8dea-4bdf73115903.png)
![](https://lemmy.dbzer0.com/pictrs/image/a18b0c69-23c9-4b2a-b8e0-3aca0172390d.png)
Was your old phone rooted? You might have patched the odex files instead of the apk as others have pointed out. And it might be that modifying the actual installed apk file changes the signatures that the app checks for, while it assumes the odex files are correct and that it just works. I’ve seen some apps check for modifications from Lucky Patcher (even with odex patches), but not nearly all apps go to that kind of length, and it seems that this app doesn’t check. Disclaimer, I never delved deep into the actual working of this stuff, this is based on what I’ve noticed when I tried patching apps on a rooted vs non-rooted device. I think you might be outta luck unless you root your phone. Godspeed either way.
You could define a function that takes a parameter, which touches a file with the parameters value, chmods it and then opens it with nano?
create_exec() { touch "$1" chmod +x "$1" nano "$1" }
Then you could type
create_exec file.sh
and it would do the rest for you.