Git Product home page Git Product logo

Comments (25)

krlvm avatar krlvm commented on May 18, 2024 1

I see the cause of the crash is still the lack of the permission, but you said that the app is no longer crashes previously.

I will write a bug-report to Samsung, in the meantime you can configure PowerTunnel using proxy mode: enable "proxy mode" in PowerTunnel settings, and set the system proxy in WiFi settings if you're on WiFi, or on APN if you're using mobile connection, the default local proxy address is 127.0.0.1:8085.

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024 1

Alright so got the october patch a few days ago but the issue wasn't fixed

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

I have updated my Samsung phone yesterday to the September patch and all is fine.
Could you share adb logcat?
Thanks in advance.

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

OK so I had no idea what adb logcat was (I'm not a developer) and after pondering on the internet to learn about it, the command not working on my Windows 7 so upgrading to Windows 10, I finally was able to get the logcat and have attached the logcat.txt file which I hope is what you asked for.
Guess I learned something new today haha. Thanks for the help!
logcat.txt

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

The error throws because the latest security update requested a new permission to start VPN - android.permission.INTERACT_ACROSS_USERS (why?):
Neither user 10229 nor current process has android.permission.INTERACT_ACROSS_USERS

I will push the fix within a 30 minutes!

Thank you!

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

After some searching, I figured out that it is a rare bug of a small amount of vendors, it should be fixed with the next software upgrade.

Do you have Samsung Secured Folder enabled?

I removed some stuff that could trigger the bug, this APK should work:
Version: v1.7.1-test-10-09-20
Commit: 2b0d5bca6b167b701ded38bcee552e16fd6bdf99
Download: PowerTunnel-v1.7.1-test.zip
Changelog since the latest release:

  • Optimized performance (commit)
  • Disabled package filtration (commit is not in the main branch)

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

I don't have secure folder enabled, does having it enabled help?

The new APK doesn't crash now but I can't load any webpages while it's running.

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

I don't have secure folder enabled, does having it enabled help?

No, it could be the cause of the problem (now we know it does not)

Check your PowerTunnel settings if the webpages can't load, and if you can't load even the government resources, please, upload a new logcat.

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

I was thinking if I should just grant the permission to the app using adb shell pm grant ru.krlvm.powertunnel.android android.permission.INTERACT_ACROSS_USERS I feel like this should fix the crash issue.

Edit: That doesn't work. Can you tell me a command to get logcat of only powertunnel? Whenever I use adb logcat it gives all the logs for my phone.

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

This permission is available only for system apps, so it can't be granted without root.
The crash output is belongs to AndroidRuntime, so there is no way to filter the log I think.
Do you see the VPN key icon in the notification bar?

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

Do you see the VPN key icon in the notification bar?

I see the vpn key next to the wifi symbol but there used to be a notification before as well from where I could disconnect from the notification bar, I don't see that now.

The settings are default which I used to use before and the webpages would load but now they don't with the same settings.

The crash output is belongs to AndroidRuntime, so there is no way to filter the log I think.

What command should I use then because adb logcat keeps running infinitely.

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

You can use adb logcat > output.txt and then run PowerTunnel, after you've done, click Ctrl+C, the output will be saved in output.txt.

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

Here you go. Ran powertunnel at 18:34
output.txt

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

Cool no worries. Let me know when it's fixed.
Thanks for the help!
Cheers

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

I contacted the Samsung support, they admit the problem with the August patch and should release the fix with an upcoming September/October patch.

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

Oh great. Thanks!

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

PSA: Samsung told the issue is related to Dual Messenger feature, disabling it can resolve the issue before you've received the September patch.

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

Unable to disable dual messenger but uninstalled the apps using dual messenger. Powertunnel still crashes.

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

I see Samsung released an update for your device, can you check it?

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

Yeah there was a small update few days ago but it didn't fix the problem.

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

Do other VPN apps crash when you are trying to connect?

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

I've got proton vpn which doesn't crash

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

Folks say this works with attached APK (v1.8.2-bootfix13-sam):
adb shell pm grant ru.krlvm.powertunnel.android android.permission.INTERACT_ACROSS_USERS

PowerTunnel-v1.8.2-bootfix13-sam.zip

from powertunnel-android.

aryan-shetty avatar aryan-shetty commented on May 18, 2024

Yup works now, thanks!

from powertunnel-android.

krlvm avatar krlvm commented on May 18, 2024

Yup works now, thanks!

Thanks for the help!

from powertunnel-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.