logoalt Hacker News

Android May Soon Restrict On-Device ADB

793 pointsby shscs911today at 6:57 AM374 commentsview on HN

Comments

microtonaltoday at 8:14 AM

I am generally in favor of security improvements, but I do not really see much of a benefit here. This attack vector requires both that the user enabled developer settings and that they have remote adb enabled. So, this does not seem to be a realistic attack vector for 99.9% of the users and most of the other 0.1% probably know what they are doing.

The other proposed change (to restrict access to certain interfaces or IP addresses) seems good, but why not allow developers to restrict access localhost?

It reeks of trying to block Shizuku, Canta, etc. using a way that only makes it look like a side-effect.

show 6 replies
0x_rstoday at 10:30 AM

Limiting ADB is the obvious next step. Even if this one specific feature request does not come to pass, Google has cornered everyone into relying on a developer interface for any normal personal computing tasks, whether running on-device or through USB/wireless. It's quite clear at some point in the future you will either be required to surrender your identity to them and pay a yearly fee or be severely limited to continue using it in any meaningful capacity, because Google does not want you to develop applications on Android outside their controlled channels -- and it's a developer bridge, the battle was already lost when they did not back down from the changes forbidding normal, legitimate ̶s̶i̶d̶e̶l̶o̶a̶d̶i̶n̶g̶ installation.

>Don’t even get me started on OEMs that force an audio warning such as “This call is being recorded,” when it’s in places where it’s not legally required.

This is also Google's fault. Their dialer--that OEMs increasingly pick over their own, despite their always being much better, see old MIUI one for example--just blanket applies the rule almost everywhere. Especially annoying on all MediaTek SoCs that do not support the feature on an hardware level at all through proper, reliable third-party applications. As if you didn't need any more proof you don't own "your" devices. But maybe in a couple years Gemini will be able to listen to the calls and summarize them for you, just need to go through the approved surveillance channel.

show 1 reply
evikstoday at 8:00 AM

> Spamming the thread will only cause Google developers to lock the issue, ignore valuable community feedback, or stop sharing public updates about this change entirely.

So nothing would change (they can also lock away your "valuable community feedback" because what bothers them is the criticism itself), thus feel free to express your approval

show 3 replies
bayindirhtoday at 11:29 AM

When Google first announced sideloading restrictions, somebody told “but we have ADB”, and who disagreed with them was criticized harshly.

Now, I’m waiting for a workaround to enable ADB, so sideloading can be handled now, too.

Android is not more open that iOS for a very long time now. The trend will continue.

Again, this is not a technical problem (the mindset of Google), so technological solutions won’t help.

show 2 replies
satvikpendemtoday at 7:48 AM

Of course this was bound to happen, next you're telling me people will be surprised that the 24 hour limit for side loading will turn into some indefinite time period.

show 2 replies
Superblazertoday at 10:18 AM

This is huge, Android getting locked down to such levels should be sounding alarm bells. They are slowly removing everything that makes Android good.

IvanK_nettoday at 8:25 AM

I am worried that this might happen to websites soon.

If you want your website to be openable on Apple devices, you would have to pay Apple a fee each month. If you want your website to be openable on Android devices, you would have to pay Google a fee ecah month, etc.

show 4 replies
pehejetoday at 8:26 AM

We need Linux on phones. Bank apps not needed as long as I can use browser. But do need some things like wireless cards, popular apps like Sonos and Spotify working.

show 8 replies
a-dubtoday at 8:26 PM

use encryption and keys for all socket connections to adb, listen on 0.0.0.0 and unify the wifi thing with the socket thing, add an app level permission that allows apps to access an ephemeral system key via the binder to enable libadb style usecases?

SwellJoetoday at 10:23 AM

There's only one reason for anyone, or for me, at least, to choose Android, and it's the only reason I've consistently chosen Android from the very first Google Developer Phone: It's more open.

So, they don't want me to even have that one reason to keep choosing Android, I guess.

show 1 reply
qiinetoday at 8:24 PM

We will end up having a gov phone and a personal phone at this rate.

ourcattoday at 8:09 PM

Amazon crippled the ADB functionality on FireTV Sticks a while ago. Making it an absolute pain to build and debug TV apps on. Currently, the only way to test is to install a release build every time.

himata4113today at 5:23 PM

I was thinking a lot about how these restrictions are paved with good intentions, but every time these new security measures are implemented we see criminals adopt new strategies and continue going about their day like nothing ever happened.

I've been seeing this specifically with ID / business verification requirements where they just have some innocent (or sometimes complicit) third party grant them access to verasign 'verified' trust signing keys which actually makes them way more trusted than they were ever before often making anti-malware applications way less strict about blocking it which in turn buys them just enough time to compromise the system and disable said anti-malware applications. The problem here is that anti-malware applications try to be seemless and are effectively in a giant race condition to terminate the application, more recently microsoft anti malware service will now block program execution until it validates that it is safe. Although it is not something other companies do as making the device feel sluggish is something they avoid at all costs (looking at you bitdefender).

arendtiotoday at 7:24 PM

Every time I want to connect ADB to a device, it takes me far more time than it should. Having different ports for pairing and connecting is already a pain. I wonder what new hurdles will come up once they restrict adb to wlan0, even though atm I can't see any problems for my use cases (like pushing APKs, reading logs or connecting dev tools).

Not being able to use VPNs might be a problem in corporate setups (e.g. debugging an issue in production environments).

luqtastoday at 7:32 AM

finally my children will be secure and my bank account impenetrable!

show 1 reply
free652today at 12:20 PM

Looking what's this is about - Shizuku

https://github.com/thedjchi/Shizuku/wiki/setup

So it requires

* Enable Developer Options if not already enabled (Generally, this is done by going to Settings > About device and tapping Build number 7 times).

* Enable both USB debugging and Wireless debugging. Tap "Allow" if prompted to allow wireless debugging on the current network.

* Tap Pair device with pairing code.

* Downloadd other apps like ShizuCallRecorder

Or seems to be exactly what this user described.

https://news.ycombinator.com/reply?id=49046291&goto=item%3Fi...

ddxvtoday at 10:34 AM

It's this stuff thats caused me to start degoogling as much as I can. I've started using nongmail emails and removing photos.

I Don't know what else I can do though, next up is switching to grapheneOS but I'm a ways off from that for now.

arend321today at 3:24 PM

Android Wireless debugging is already a major pita to work with. Requires a wifi connection to even work, so I need to carry a mobile wifi router with me, instead of having it bound to my secure WireGuard connection. Next it assigns a random port number every time the wifi connection is interrupted, or when it considers now is a good time to reset the port number. It should be possible to set a stable port and and have it available, perhaps behind a few awkward UI/adb toggles.

coffee33gotoday at 7:40 AM

https://archive.ph/gla4i

In case it is made private.

wafflemakertoday at 7:18 PM

Guess it's time to contact support for the few necessary apps that still don't work on GrapheneOS.

inigyoutoday at 6:56 PM

Call me crazy but that actually makes sense. ADB is clearly meant for one device to control another, otherwise it's just a hack to bypass sandboxes.

show 1 reply
ilakshtoday at 2:26 PM

Dies this affect GrapheneOS or CalyxOS?

I assume Sailfish and Ubuntu Touch are completely unimpacted?

ithadhumortoday at 10:34 AM

Google is going the Apple route. When will we get the year of the Linux Phone?

show 2 replies
gitowiectoday at 9:00 AM

Thank you for telling me about Shizuku! Android world is so vast and full of resources

show 1 reply
kmmbvnr_today at 2:56 PM

I switched to a MacBook b/c I couldn't find a comparable PC laptop

I feel like an iPhone will be next. Good Android phones are already pricey

throw9394999today at 7:55 AM

This assumes user is the only person with physical access to unlocked phone.

All sorts of goverment agencies, airport security, even teachers now have access. And such attacks can be trivially automated, so even low paid worker can do it.

show 1 reply
3formtoday at 7:39 AM

What I find most annoying aspect of all software from 2010s onwards is this stupid discourse and associated results:

- some people want A, or A might even be already in use

- A is problematic for $MODERATE_OR_MILD_REASON

- B is introduced and made default

- a config switch between A and B is never considered

So, so tiring. If I want to bind ADB to localhost, _let me_. It's my device and my problem, ffs.

show 4 replies
mdp2021today at 8:10 AM

Step back to the other issue (referenced in the page*), that Google would pushing on devices something that blocks applications that do not come from play.google.com . Was it not established that Google can only push that update on devices with a google account?

* https://keepandroidopen.org/

hypendevtoday at 9:18 AM

Android had a tradeoff - less vertical integration and more annoyances, a bit worse software quality, for a more open, customisable and utility-like experience. I loved that.

Now, the tradeoff is - less vertical integration, double the integration layer trash (Google & OEM) and a much more locked down experience. But the quality of it hasn't improved, it just got worse.

Doesn't make sense anymore. They can now do 99% of the same things, but iOS has a better quality OS, better apps and better vertical integration.

Not even vertical integration, actually just any kind. FFS it's 2026 and the recommended android way to send a photo to your mac/PC is "upload to google photos and hope it decides to sync".

show 1 reply
ZiiStoday at 4:49 PM

Locked down hardware vendor's proprietary ROMs maybe, true open source Android not so much. Unfortunately one of these matters more then the other.

999900000999today at 1:54 PM

I just installed CachyOS on one of my laptops. I like Open Suse a bit more, but my vpn and a few other applications work better on Arch.

Android is turning into the iOS/OSX/Win11 model. It’s not your device, you’re just renting it.

You need permission to install applications, or do anything else outside of consuming subscription services.

Where are the Linux phones ?

show 1 reply
falsemyrmidontoday at 4:15 PM

So glad we're becoming as locked down as iOS

hn_submittoday at 11:40 AM

LEA, Customs and intelligence agencies regularly use GDB to hack and extract information from an Android phone. So in that sense it may be a valid concern and reason to restrict this.

However, I'm pretty sure these entities will already have negotiated exemptions from the restrictions so in that sense they don't add much security.

show 1 reply
QwenGlazer9000today at 3:16 PM

I'm sick of having my shit be locked down because of "security".

Do these people even know tech illiterate people? They couldn't enable ADB even with instructions.

ChocolateGodtoday at 1:17 PM

IIRC Google never originally intended for Wireless ADB to be used by the very same device, as it skirts the intended app permission model even if it takes many steps to opt in.

arjietoday at 4:33 PM

Looks like some developer just suggested an idea. Doesn’t seem concrete.

magic_hamstertoday at 8:16 AM

This is about control, not security. As in, Google's control over your device, your experience, your features and choices. This and Google just isn't interested in supporting an open OS anymore. Maybe they think it makes them liable.

Either way the writing is on the wall, and has been for a while.

dankobgdtoday at 10:35 AM

Can they ruin it faster i am sick of it already. Need to root the phone to get basic functionality, i need like 6-7 magisk modules to do basic things. I can't access file system on device i paid 250$. I have to use adb to change basic things, i rather use symbian.

show 2 replies
husky8today at 2:31 PM

Would rooted phones still be game? I am fearful as this ruins all of my home built AI apps

nicman23today at 11:59 AM

i am not running stock ROMs and neither should you

Razengantoday at 9:22 AM

Does anyone have any doubt left that we're headed for a future where you need a government ID to use any computing device, and only allowed to do government-approved tasks and view government-approved content?

Not a rhetorical tinfoil question: Does anyone still believe there's some hope for personal freedoms?

show 1 reply
OsrsNeedsf2Ptoday at 8:51 AM

I'm so done with Android and iOS. I already carry around 2 phones because neither will give me exactly what I want, maybe it's time for a 3rd running Linux..?

show 1 reply
luentoday at 2:24 PM

Increasing constraints will turn people into marionettes.

show 1 reply
6d6b73today at 1:08 PM

If they stop sideloading and adb why should I even stay with Android?

show 2 replies
cat_plus_plustoday at 6:14 PM

Do you want your smart TV to become a persistent access point to your home network? If not, you should prefer to have an explicit unbypassable confirmation before another device is allowed to install arbitrary apps on it and pregrant them arbitrary permissions.

NSPG911today at 8:31 AM

goodbye shizuku i guess, and maybe termux

show 1 reply
wafflemakertoday at 2:34 PM

All this is happening in a country where it's legal and OK to make unsubscribing from a paid service nearly impossible.

I mean it's OK for the crowd here, because amongst us are people who created the technical backends to let these rackets going.

minrawstoday at 12:29 PM

And I might soon restrict use of Android and iOS in my life. Because of this nonsense, how will I get around the app issue is something I am still trying to figure out but I won't pay money to companies that make my products(I own them after I bought them) worse bit by bit anymore.

smoldertoday at 8:11 AM

RIP phones

ktosobcytoday at 2:23 PM

I'm sorry but F* Google.

They started with "we love open" and when became virtual monopoly they extort the position :/

🔗 View 22 more comments