Skip to main content
Léo Lam's user avatar
Léo Lam's user avatar
Léo Lam's user avatar
Léo Lam
  • Member for 10 years, 11 months
  • Last seen more than a month ago
awarded
comment
Why are Zygote and Whatsapp asking for root?
On another note, if you allowed them to get root, you should consider your device to be compromised and wipe it completely.
revised
Activate USB tethering from the command line
added 56 characters in body
Loading…
awarded
awarded
comment
Change mobile network DNS on Lollipop and up
hmm, that's really weird. Are you running 6.0.1 stock or CM13? I'm currently using CM13, and it worked without netId when I last tried it (in January). Looking at the source code for 6.0.0, the second argument (the one just after setnetdns) is passed to stringToNetId, but I'm not familiar enough with the Android source code and C++ to tell what it does precisely.
awarded
awarded
awarded
awarded
awarded
comment
Change mobile network DNS on Lollipop and up
Ah, that's too bad. I guess they changed the code some time after Lollipop so you don't need to know the netId anymore, only the devname. Not completely sure, but I think dnsdomain is the search domain. For example if you have it set to "lan" and you type "my-home-pc", the system will try to resolve "my-home-pc.lan".
answered
Loading…
revised
Activate USB tethering from the command line
add command for 5.1 (thanks for Firelord) and 6.0
Loading…
awarded
comment
What is actually happening when you hard brick a phone?
@vishalbiswas Yeah, and how are you going to restore it with dd if the bootloader isn't working?
comment
Toggling USB mass storage on (or off) via adb commands
You could try the service CLI tool which can call system service methods.
awarded
comment
USB Debugging in Brick phone
You shouldn't need USB debugging for fastboot, as Android isn't even involved in the fastboot mode.
comment
How to close all background apps at once in Android 5.0 (lollipop)?
Yeah, it's still a work in progress in my opinion. Did you have issues with it? It seems to work mostly fine on my device, although a lot of modules are still incompatible.