Mygod / VPNHotspot

Share your VPN connection over hotspot or repeater! (root required)
Apache License 2.0
3.41k stars 361 forks source link

"system/bin/ip rule add iif" bug #515

Closed Biftor closed 8 months ago

Biftor commented 8 months ago

Hi, I have been using your amazing working, since long time ago recently i have just updated the app and i am getting issues system/bin/ip rule add iif swlan0 unreachable priority 17980 exited with... it's good to mention version 2.16.6 is working, i've just downgraded to it. Have restarted phone, uninstall re install and also i dont have other vpn hotspot apps nothing worked, just downgraded to 2.16.6. My phone is Android 9, samsung If you need further informations, such as logcat ask me, i have attached error screen shot.

IMAGE 2023-10-17 03:20:37

Regards, Armin

Mygod commented 8 months ago

Export debug information for starters. I am really surprised that downgrading solved the issue since there were no routing related changes since v2.16.6. https://github.com/Mygod/VPNHotspot/compare/v2.16.6...v2.16.9

Biftor commented 8 months ago

Yes i have tested again, 2.16.6 is working but higher version not working

it seems it has permission problems. @Mygod logs from latest GP version vpnhotspot-3980746801774074243.log

Mygod commented 8 months ago

How about 2.16.7/8?

Biftor commented 8 months ago

How about 2.16.7/8?

they are not working any versions after 2.16.6, are not working and have same issues

Mygod commented 8 months ago

Okay then this is most likely caused by the fix for #504. Will give you an apk to test later.

Mygod commented 8 months ago

Can you try this apk and see what you get? https://github.com/Mygod/librootkotlinx/releases/download/v1.1.0/app-release.apk

Biftor commented 8 months ago

Here you are LaunchException failed to launch root daemon my phone is rooted and permission granted to the app

@Mygod

IMAGE 2023-10-19 04:14:52

Mygod commented 8 months ago

Hmm that's the entire thing? It doesn't scroll?

Mygod commented 8 months ago

I guess not. Stupid me.

Biftor commented 8 months ago

@Mygod Yes it's not scrollable

Mygod commented 8 months ago

Try this? https://github.com/Mygod/librootkotlinx/releases/download/v1.1.0/app-release2.apk

Biftor commented 8 months ago

@Mygod IMAGE 2023-10-19 05:00:24

2nd

IMAGE 2023-10-19 05:00:41

Biftor commented 8 months ago

If it is only my bug, feel free to skip it, i can use 2.16.6 it is working for me. i know how annoying bug fixing specially such bug fixing is :-))

Mygod commented 8 months ago

I am really stupid. Try this: https://github.com/Mygod/librootkotlinx/releases/download/v1.1.0/app-release3.apk

Biftor commented 8 months ago

@Mygod

IMAGE 2023-10-19 06:18:31

Mygod commented 8 months ago

Good so this should fix your issue then. Look forward to next release (v2.16.10 presumably).

Mygod commented 8 months ago

https://github.com/Mygod/VPNHotspot/releases/tag/v2.16.10 should fix it for you hopefully.

Biftor commented 8 months ago

Thank you for your attentions, it fixed 👍