-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
Support Non-Rooting devices #62
Comments
This app requires root to make changes to iptables and ip rule. This restriction is imposed by Linux kernel. If you want to create a Wi-Fi repeater, you can try alternatives like PdaNet+ and NetShare-no-root-tethering. (note: these apps are neither free nor open source) But if you don't feel like paying for those apps or you just want to share your VPN (for WLAN or mobile hotspot), you can alternatively use this app with a proxy server, e.g. Proxy Server (disclaimer: I have not tried this app), and set up your clients to use your Android device as proxy. By the way, here are some other features you should be able to get with this app without root:
|
@Mygod
|
Another remark: |
I updated the original comment.
https://lmgtfy.com/?q=linux+proxy+server
You are wrong. :) It's theoretically possible at least but for now I'm not interested. |
@Mygod |
You do not need root to run iptables binary. You need root to communicate to the kernel to modify iptables. If you can bypass that, it would be considered a security loophole. |
Does it make sense if we will modify the iptables first out side , then execute it in app? FYI: I am investigating about the possibility of solution to route all network traffics. |
You either find a way to talk to kernel directly or talk to netd indirectly. Either way, I'm sure Google will be happy to give you money if you managed to do that (and probably fix it in their next security update). |
Anyone have luck going rootless using Shizuku? Ordered a new Pixel 8 pro, and don't want to root this time, so looking into alternatives for root abilities without rooting to run some of my favorite apps. |
@Mygod I would also like to see Shizuku support. In some cases, ADB can be executed as root, thereby granting Shizuku root privileges, enabling it to modify iptables. |
Already checked, does not give access to use iptables. Just gives the ability to see the filesystem
|
Meaning technically no luck, even if they are willing to look into it further? |
Correct, unless another rootless method is found, this isn't possible for
now.
On the bright side, i switched to using pairvpn. It's made by the people
who created PDAnet.
It's pretty much the same concept of this just 1 extra step.
1. Start your hotspot
2. Connect the client
3. Start/Connect PairVPN
It creates a vpn tunnel from the client to the phone via the hotspot so all
traffic comes from the phone bypassing the tether counter.
Works great and is just as fast and reliable as being just in the hotspot,
and unlike 0danet or other alternatives, doesn't require config or proxys
|
You would need root access for that feature. This thread is for rootless |
I'm using lineageos that allows to run adb in root mode. I'm looking for the shizuku support because I don't want to install magisk. |
I need my phone to be already on VPN and share the vpn connection back to my desktop. Pairvpn doesn't seem to allow me to do it. It rather says, "This device has an active VPN connection. You need to disconnect it first before connecting PairVPN because chained VPN is not supported." |
There are plenty of su managers out there that only need root like supersu. |
Do you need the VPN to access services or resources behind it? If it's just to hide tether, then it's no longer needed. If you need to access local services behind the VPN, then you can try using a proxy or wireguard. There is software like proxifier that can tunnel all or selected apps through a proxy, or wireguard which should be able to be ran alongside the vpn |
I don't want to use su managers. I'd like to enable root access only via adb and shizuku. Don't ask why. |
Well shizuku i don't think it's the right tool for you then. It only gives access to the filesystem, nothing beyond that. Also it looks like the github repo might be dead AppOps or tasker may be able to do something for you though but not sure |
What about Device Owner account/app privileges like OwnDroid (https://github.com/BinTianqi/OwnDroid) and/or Dhizuku, maybe some combination of Shizuku + ADB + OwnDroid/Dhizuku can achieve something further here? |
Hi @Mygod
I understand that this code need to execute some commands with super-user permission and it only works on rooted devices. But I'm curious to make it work on non-rooted device too.
Is there any way to make internet sharing via Wifi Direct on non-rooted devices? Any hint are appreciated.
Cheers
The text was updated successfully, but these errors were encountered: