Linked Questions

2
votes
1answer
2k views

How to run an executable on boot and keep it running?

I have an executable build from a ndk-build program. I want to run it on a rooted Android device. How much is the possibility that Android will kill my executable? Using adb shell, I am able to ...
2
votes
1answer
3k views

DNSCrypt on Android

I'd like to install DNSCrypt on Android. I have installed it on Windows 8, Linux Mint, and Kali Linux. But I'm very new to Linux, thus dealing with Android as a Linux distro is way out of my league. I'...
2
votes
2answers
961 views

How to Block/Filter Sites on Mobile Data Connection (Preferably using DNS Server)

I researched a way to filter sites using DNS Server on android phone, and that is to changed the phone's DNS Server, it worked for WiFi connection, but not for Data Connection, how would I Block/...
2
votes
1answer
799 views

How Android's permissions mapping with UIDs/GIDs works?

Reading the book: Android Security Internals I'm reading at Chapter 2 - Permission Management paragraph that permissions are assigned to application at install time by the package manager with a ...
1
vote
1answer
723 views

What sepolicy context will allow any other context to access it?

I am on a bootloader locked Sprint Samsung Galaxy S7, eng boot.img flashed to phone with SELinux permissive, which gives root adb shell from where I can change system partitions, debloat, install ...
0
votes
0answers
1k views

how auto execute init.rc service

i have problem when i want to run my service on init.rc and here is my example code on property:sys.boot_completed=1 start myservice service myservice /etc/myscript.sh class main user ...
14
votes
1answer
380 views

Are there any Google devices that support capabilities in their default kernel?

If I systemless root (no modification done to /system partition) a Nexus device, would I be able to able to set capabilities on executables without changing the original kernel binary ? I often want ...
2
votes
1answer
829 views

How to redirect all web requests from hosts connected to hotspot to a local web server?

I literally have the same question as found in this post: How to redirect complete outgoing phone's traffic to a proxy server? I have an Android phone acting as a hotspot server (using KWS). I am ...
1
vote
1answer
471 views

How to use Private DNS on Android Pie for tethering?

Is it possible to use Private DNS on my laptop that is connected to WiFi shared by my Android Pie smartphone with configured Private DNS? I tried visiting https://1.1.1.1/help from my phone and it ...
1
vote
1answer
186 views

How to make SELinux permissive with `systemless-root` on a `system-as-root device`?

I have a Samsung S10 5G device that is actually a system-as-root device. I have rooted it by following the instructions given here. As the system-as-root devices have no ramdisk in boot.img but in ...
1
vote
1answer
149 views

How can I add a system service to Android?

Me and another person are attempting to enable NFC on the Verizon Wear24. The watch itself has a PN548 NFC chip inside of it and was missing the kernel drivers as well as the NFC service. We have ...