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

Use Shizuku to override new Android security patch #76

Closed
neobenedict opened this issue Dec 2, 2023 · 9 comments
Closed

Use Shizuku to override new Android security patch #76

neobenedict opened this issue Dec 2, 2023 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@neobenedict
Copy link
Contributor

Fix error "To protect your privacy, choose another folder." and related errors by using Shizuku

https://twitter.com/MishaalRahman/status/1719416906174681554

@neobenedict neobenedict added the enhancement New feature or request label Dec 2, 2023
@neobenedict neobenedict self-assigned this Dec 2, 2023
@neobenedict
Copy link
Contributor Author

Well, strangely, I can't even reproduce the actual issue on an up-to-date pixel 5 running android 14, which makes it hard to fix it. :/

@Perseo2499
Copy link

Hi, I've bee facing the same issue on my device with the latest update to A14. I'm a root user, so there is a solution that worked for me using a Lsposed module.

https://github.com/DanGLES3/NoStorageRestrict

Download the module, activate it on Lsposed app and reboot the device. The storage permission block will vanish :)

@neobenedict
Copy link
Contributor Author

topjohnwu/libsu#127 (comment) + https://www.xda-developers.com/implementing-shizuku/ AIDL

lol @ getting this to work with xamarin...

@neobenedict
Copy link
Contributor Author

neobenedict commented Feb 18, 2024

02-18 01:46:49.351  6274  6274 I TranslateFGO: Starting NGFS service with context=android.app.ContextImpl@bf907b3
02-18 01:46:49.821  6181  6181 I TranslateFGO: Bound NGFS.
02-18 01:46:49.822  6274  6294 I TranslateFGO: pid=6274, uid=2000
02-18 01:46:49.822  6274  6294 I TranslateFGO: Listing files.
02-18 01:46:49.822  6274  6294 I TranslateFGO: file: 969b46577f365fadeb79ef14cf5d6370
02-18 01:46:49.822  6274  6294 I TranslateFGO: file: 54cc790bf952ea710ed7e8be08049531
02-18 01:46:49.822  6274  6294 I TranslateFGO: file: bfaa
02-18 01:46:49.822  6274  6294 I TranslateFGO: file: d713

Good news, we're getting somewhere. I'm probably the first person on the planet to use shizuku with xamarin lol.

Only caveat is this breaks android 7 support currently, might need to make 2 vers of the apps.

@Perseo2499
Copy link

Very excited to hear this. Can't wait to see the results!!!

@neobenedict
Copy link
Contributor Author

OK, here is a beta release: http://apk.rayshift.io/translatefgo/io.rayshift.translatefgo-22007_3.apk

Could you test it and let me know your feedback, if it works or not, if you get any errors please screenshot them and post here.

@Perseo2499
Copy link

Perseo2499 commented Feb 19, 2024

Worked for me.

I disable the modules that had it working and cleaned the data from the app.

As you can see, I had again the storage permission issue. I used the Shizuku method and it worked fine. It didn't ask me for the folder of the game, It went to the installation menu directly.

And as you can see in the picture of the game, the translations work :)
Screenshot_20240219-090603_Files
Screenshot_20240219-090629_Translate Fate_GO
Screenshot_20240219-090634_Translate Fate_GO
Screenshot_20240219-090749_Translate Fate_GO
Screenshot_20240219-090756_Translate Fate_GO
Screenshot_20240219-091111_Fate_GO

@Perseo2499
Copy link

Perseo2499 commented Feb 19, 2024

I forgot to mention it. I was running Shizuku with root, so I stopped it and enabled by wireless debugging. It also worked :)

@neobenedict
Copy link
Contributor Author

Fixed with version 2.2.0.

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

No branches or pull requests

2 participants