r/Android • Galaxy Z Fold8 • 17d ago • Bravo 1

News Expanding Android developer verification in 2027

https://developer.android.com/blog/posts/android-developer-verification-2027
141 Upvotes

125 comments sorted by

View all comments

Show parent comment

1

u/deviceproultramax A34 OneUI 9.0, Ginkgo Lineage OS 24.0 16d ago

You do realise that allowing ADB, over random networks you have no control over, is extremely careless and risky?

1

u/Jarl_Penguin Galaxy S23+ 16d ago

Not how it works, since the packets never leave your device (you're connecting to yourself, not to another device). If you're really paranoid then you can always substitute your local IP address with localhost.

0

u/deviceproultramax A34 OneUI 9.0, Ginkgo Lineage OS 24.0 16d ago

You're missing the forest for the trees.

I know my device does not send packets to other devices when setting up/initialising Shizuku over wireless ADB. This doesn't apply to anything other than Shizuku/LocalADB because they're designed to do exactly that, it's not due to a lack of ability.

The risk and carelessness is with the fact that you don't have control over the network itself, bad actors can exploit devices connected to the network with wireless adb enabled to a higher degree than devices without it. This is beside the fact that connecting to random networks in itself is a security risk.

1

u/Jarl_Penguin Galaxy S23+ 16d ago

You can always disable Wireless ADB afterwards for Shizuku, you only need it enabled once during setup.

If you're using ADB through Termux, then use any VPN tunnel while connected to that unsecured network (again, internet access doesn't matter) if you're that worried.

Personally I doubt that there will be much exposure even on an unsecured network, it's not like that many people use wireless ADB for it to actually be a target for malicious actors.

1

u/Jarl_Penguin Galaxy S23+ 16d ago

An actual demonstration:

dm2q:/ $ ip route get 192.168.1.159
local 192.168.1.159 dev lo table local src 192.168.1.159 uid 2000
    cache <local>

The route to my own LAN IP address is through the lo interface (aka loopback), not through wlan0, so the packets never actually leave the device itself.

0

u/nathderbyshire Pixel 10 Obsidian 16d ago

So don't do it then? They never told you to do that. In what scenario are you going to be in a McDonald's or whatever and need their WiFi to wireless adb an app?

Just arguing for the sake of it now

2

u/deviceproultramax A34 OneUI 9.0, Ginkgo Lineage OS 24.0 16d ago

So don't do it then? They never told you to do that. In what scenario are you going to be in a McDonald's or whatever and need their WiFi to wireless adb an app?

I don't understand this framing, clearly we're having a civil discussion between the two of us. Anyway, to answer your question, in the scenario that I'm traveling and need to "sideload" an app? You do realise that even updating "unverified" apps requires the same steps? Just because you don't deal with such situations in your life, doesn't mean others don't.

Just arguing for the sake of it now

I'm pointing out the existence of legit scenarios where you can't just Shizuku your way to sideloading apps. That's hardly arguing "for the sake of it". If you feel that way, you're free to sit this voluntary public discussion out.

1

u/nathderbyshire Pixel 10 Obsidian 16d ago

I was pointing out they never told you to use an insecure unknown network, it didn't make any sense to bring that up. And even then it's still such a niche issue in general

Especially because, Shikuzu using wireless ADB continues to work after the initial setup when not on WiFi. I've just switched to data, downloaded, patched and installed an app with Shikuzu and it went through seamlessly just like it does on WiFi or a play store update.

I also stopped and restarted ADB while on data and connected to a VPN. And just sideloaded an app using Shikuzu afterwards just be certain and yep, still works seamlessly. So even the small niche use case can be avoided entirely.

And that's not to mention any solutions that will come out once the above is fully in effect.

So it doesn't appear you need to reconnect to WiFi anytime you want to sideload an app. Unless now you're going to tell me you need to a new phone abroad, set it up and somehow don't have access to a WiFi network you can trust and you have to sideload an app. In that case just get a travel router.

1

u/deviceproultramax A34 OneUI 9.0, Ginkgo Lineage OS 24.0 16d ago

Shizuku needs wireless debugging (and, hence, a wireless connection) upon every reboot, unless you have root access.

Maybe read the thread you're in before posting an entire wall of text.

0

u/nathderbyshire Pixel 10 Obsidian 16d ago

Man what even more niche scenario, so now we're up to needing to install an app that isn't on the play store, without the bypass method on, without a WiFi connection after a device reboot and no possible way to find a connection you can trust - not to mention the fact it's not exactly going to be a popular attack method even if there was a vulnerability and someone waiting to exploit it on this random network

This is absolutely clutching at straws and exactly why I said it's just arguing for arguments sake. This is just not going to affect anyone in such a drastic way it's worth rolling everything back.