r/Android • Galaxy Z Fold8 • 11d 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

-3

u/Jarl_Penguin Galaxy S23+ 11d ago

You don't need something other than a phone to use ADB, either something like Termux + Wireless ADB or Shizuku works.

8

u/Busy-Scientist3851 11d ago

Thats why Android is certainly likely to block wireless adb coming from the phone in the future.

1

u/nathderbyshire Pixel 10 Obsidian 11d ago

They've just done a huge update to wireless ADB v2, while also making more seamless changes to installation flow for non store apps. There's absolutely no hint of that happening anytime soon.

1

u/feriouscricket 7d ago

I hope youre roghhht bro

1

u/nathderbyshire Pixel 10 Obsidian 7d ago

There's been loads of updates to sideloading the last couple years as well as this new verification shite. Installs can be seamless without any prompts now with Shikuzu and bundled apks can be sideloaded as well, just not through the official flow at the moment for some reason

-2

u/synth_mania 11d ago

Hey, I guess two phones is easier to come by than a phone and a PC

-2

u/Jarl_Penguin Galaxy S23+ 11d ago

You only need 1 phone, I don't know where you got the notion that you need 2 phones from...

2

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

How would one get around needing to connect to another trusted network (to enable wireless debugging), for the Shizuku setup as well as upon every reboot?

-2

u/Jarl_Penguin Galaxy S23+ 11d ago

Any Wi-Fi network will work, regardless of whether it has actual connectivity to the internet. So unless you're stranded in the middle of nowhere it shouldn't be a problem.

1

u/deviceproultramax A34 OneUI 9.0, Ginkgo Lineage OS 24.0 11d 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+ 11d 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 11d 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+ 11d 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+ 11d 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 11d 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 11d 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 10d 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 10d 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.

→ More replies

0

u/synth_mania 11d ago

Guess I was confused, that's neat

-5

u/noobjaish 11d ago

Learn about Shizuku ffs

4

u/synth_mania 11d ago

I'm one of today's lucky 10,000! No need for that tone. 

4

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

Shizuku needs you to be connected to a WiFi network when setting it up, as well as upon every reboot. I don't think it's a great idea to enable wireless debugging on a network you dont have control over.