Questions tagged [root-access]

For questions specifically requiring root permissions. If your issue is about rooting your device, use the 'rooting' tag instead; for unrooting, use the 'unrooting' tag.

Filter by
Sorted by
Tagged with
16
votes
2answers
20k views

How to recover a deleted file from /data partition?

I factory reset my rooted Android M phone but now I realize that there was a file in the /data directory which I need. Is it possible to create an image (.img or something similar) of the /data ...
311
votes
3answers
480k views

I've rooted my phone. Now what? What do I gain from rooting?

This is a common question by those who have just rooted their phones. What apps, ROMs, benefits, etc. do I get from rooting? What should I be doing now?
170
votes
9answers
63k views

What is the difference between: Rooting, Jailbreaking, ROM, Mod, etc.?

What is the difference between: Unlocking the bootloader (prerequisite for doing many, though not all, other things below) Rooting Jailbreaking ROM NAND and Nandroid Operating System Mod (e.g. ...
5
votes
1answer
9k 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 ...
5
votes
1answer
6k views

Why "adb root" does nothing?

I have a OnePlus 6T. It is rooted by TWRP and Magisk. I have set ro.debuggable to 1. But when I type adb root it does this: I cannot even use adb pull on system files.
13
votes
1answer
7k views

Why are the rooting apps not working anymore?

A couple years ago, it was easy to root any device: Install KingRoot, KingoRoot, or a similar app, hit the large ROOT button, and let it do the rest. After 5 minutes or so, a green "Root Succeeded!" ...
11
votes
1answer
20k views

How to fix SELinux "avc: denied" errors when launching DNSCrypt as init.d script?

I've installed an unofficial lineage OS 14.1 ROM on my phone and i want to have dnscrypt used on boot by default. There is what i have done: Download arm binaries from: https://github.com/jedisct1/...
12
votes
1answer
5k views

How to manually root a phone?

I want to learn how to root a android phone manually, I mean without any apps like KingRoot, dr.fone etc. I did not found any guides or information about it. (Background Information: I want to root a ...
5
votes
2answers
31k views

How to disable dm-verity on Android with "user" build type ROM?

I have One Plus 6T Android device which has a ROM of build type user. This device is rooted with Magisk and I want to disable dm-verity on this device. I have tried to run adb disable-verity but I got ...
6
votes
1answer
6k views

Is there a way to root an Android phone without unlocking the bootloader?

I've tried almost any method to root my ASUS ZenFone Live, but no one seems to work. Also I only need root, no unlocked bootloader (don't want to wipe data) or custom recovery (not essential ATM).
12
votes
1answer
1k views

Why are superuser permissions needed to acess /data partition?

The default account is normal user, and I used it to install Google Play Store APK (to /data). Then Google Play Store was opened using my current user's permissions, and it is used to download and ...
64
votes
2answers
410k views

How to mount /system rewritable or read-only? (RW/RO)

How can I mount the /system directory rewritable or read-only on my Android phone?
38
votes
9answers
40k views

How can I tell if I have root?

I've been attempting to root my phone (Samsung Intercept M910, but that probably doesn't matter). How can I tell that I have actually, successfully gained root? I've run a few apps which require root,...
4
votes
2answers
5k views

How to create a wifi hotspot from the terminal?

How would you suggest to create a hotspot from a root terminal? I would need to create hidden hotspot hotspot without password I am looking for an equivalent of create_ap for android. Here is the ...
12
votes
1answer
7k views

How can I find out if my device uses FBE or FDE?

Assuming that I have full access (root if neccesary) to a device running vanilla Android 8.1, how can I know if it is using Full Disk Encryption or File Based Encryption?
2
votes
2answers
3k views

How do I override charging current on Huawei Honor 6?

On SonyEriccson Xperia X10i I do this: echo 1000 > /sys/devices/platform/msm_hsusb/gadget/chg_current This allows faster charging from computer's USB port (if I know it can source more than 500mA)...
4
votes
1answer
7k views

How to set up a socks5 with Android cli?

I found articles how to set up a http-proxy. But can't find any info, how to set up a socks5 proxy. My goal is to route all traffic from apps, etc throught this proxy. Is this possible? How then ...
15
votes
1answer
65k views

Root Android virtual device with Android 7.1.1

I'm using the official Android SDK with the Android Emulator to create a virtual Android 7.1.1 (x86). I need to test a number of things, amongst others, some applications require root access to the ...
21
votes
6answers
47k views

Using SMB server without root access

I'm looking for a way for my HTC Hero (Android 2.1) so I can share the contents of my SD card and phone memory over the WiFi network like a regular Windows file share. I'd like one that does not ...
45
votes
1answer
13k views

How exactly does "root" work? Do all applications run as root on my phone after rooting?

I've been reading about rooting the phone, but I have some concept doubts: when you buy an Android phone from a carrier, you don't have "root" access. When you start your phone, does that mean a "user"...
16
votes
4answers
45k views

How can I reduce screen brightness below the minimum without an app?

I have an Optimus Elite, and it has a minimum brightness setting. In certain apps, I can reduce the brightness below the safe minimum, but when I leave the app, the brightness is increased to the ...
9
votes
2answers
50k views

Enter recovery mode from command line

Does anyone know if there's a way to get an Android phone to reboot into recovery mode, from the Android command line? Note: I do NOT have adb access. I do NOT know the magic power-on sequence to ...
4
votes
1answer
708 views

Is there a definite way to know if my phone supports USB-OTG or not?

I have a Samsung Galaxy Win phone, rooted and with adbd insecure installed (using the link here). This is the information shown by the USB OTG Checker app: I have added the android.hardware.usb.host....
6
votes
3answers
11k views

Factory reset left root intact?

I rooted my Dream/G1 last night and finally gave up on modding it (not for good mind you, but for the moment) and opted instead to just restore it to factory settings via Settings > SD card & ...
25
votes
2answers
254k views

What do the terms "BL", "AP", "CP", and "CSC" mean in Odin?

I'm trying to Use Odin to download a OS to my phone (Trying to put Raspbian. Raspbian runs on the raspberry pi which has an ARM processor my android phone also has one so hopefully it'l work.) (does ...
11
votes
2answers
4k views

Systemless Root

Chainfire (the developer of SuperSU), has come up with a new style of rooting devices on Android 6.0 Marshmallow and above. This is "systemless" root, and is all the rage right now. So, just in case ...
2
votes
2answers
3k views

Where in the filesystem are settings saved? Namely ADB backup password

Where in the phone filesystem are settings saved? I've lost my ADB backup password and simply want to delete it. If it affects other settings that won't matter too much. I will be interfacing the ...
7
votes
1answer
4k views

How do you remove pre-installed apps on a rooted phone?

I have a rooted Nexus One and want to remove some of the pre-installed applications, like Amazon MP3, for example. What is the best way to do this?
2
votes
1answer
2k views

Why Changing Permissions For Some Systems Files is Not Allowed?

I have a rooted tablet and while browsing my files, i came along this folder: (./0/android/data) in the internal storage ... lets say (X-plore file browser) has the folder: (./0/android/data/x-plore)....
2
votes
1answer
4k views

How to run an Android init service with superuser SELinux context?

I want to run an Android init service. I have a device which has rooted shell (purchased from manufacture as rooted). This device doesn't have Magisk or other su manager but adb shell is rooted and it ...
2
votes
1answer
583 views

Backup WhatsApp from NANDROID

Hi guys: refering to this: Restore Whatsapp Get the same issue. I just reset all my phone after an OTA bricked. I made an nandroid backup, but, i dunno how to acces - on my phone - the "data/data/...
1
vote
3answers
2k views

This app promises to run "fstrim" without root but I am not sure if it works

I am not sure if this app works. Can someone please help me? My phone is new and in its warranty period so I can't root it yet. I tried this app but I am not sure if it actually did something. Unlike ...
0
votes
0answers
2k views

Stuck in boot-loop when unpack and pack `system.img`?

Background: I have a treble and system-as-root but it is not an A/B Samsung device. I am trying to modify the system.img. Before that, I have rooted it with the steps given here. After following these ...
49
votes
7answers
181k views

Is there a way for me to run Adb shell as root without typing in 'su'?

Is there a way for me to run Adb shell as root without typing in su? I want to be able to have root access without going into the shell.
30
votes
6answers
54k views

How to prevent applications from discovering my phone as being Rooted

I have to install an application that has discovered my device to be rooted. So this is a two part question. How did it discover in the first place that my phone has been rooted How to prevent the ...
11
votes
2answers
114k views

How to add root permission to some app by myself?

Is there any way that I intentionally grant root permission to some app? Not automatically via SuperSU when a specific app asks for root permission, but in a way to pick an app via some tool and grant ...
15
votes
1answer
6k views

How do I protect my phone from malicious apps once it is rooted?

I rooted my phone. Now if I use a Terminal Emulator such as Android Terminal Emulator, I noticed that I can can easily obtain root access without a password: $ id uid=10059(app_59) gid=10059(app_59) ...
8
votes
2answers
27k views

Android ADB connect to device with broken USB and no root

I've read through the thread below and come across 2 solutions for connecting a device with ADB. https://stackoverflow.com/questions/4893953/android-run-install-debug-applications-over-wifi/19940301#...
17
votes
4answers
135k views

Why can't I get root access from shell?

> adb shell sh-4.1$ su Permission denied I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called SD Maid that is able to operate ...
2
votes
1answer
8k views

Root a Moto G running 4.4.4 KitKat

I have a Moto G. I need to root my phone to use some apps. Can anyone given me the steps to root a Moto G running 4.4.4 KitKat (the most safest and easyist way).
1
vote
1answer
1k views

How to create manually create my own ᴏᴛᴀ update file to be used for adb sideload?

In my case, I don’t want to permanently root my own device and if possible, I want to modify the /data partition directly. In order to do so, I want to add a single file to the /system partition or ...
1
vote
1answer
110 views

Is the root file different if a custom rom is installed? [closed]

Do I need a different root file if I have installed a custom rom on Android? Who creates root files for devices?
5
votes
1answer
810 views

How to run a program in an app context with Magisk?

Let's say I'm currently as root in Bash on a terminal, outside any app like Termux. I'm running Magisk. Now I want to synchronously invoke Termux's Bash, such that it behaves the same way as it would ...
2
votes
1answer
11k views

Can I safely do a factory reset without losing root?

Sadly my quesiton isn't that simple. To make sure everyone unerstands I will explain as short but specific as possible: Initial: stock state, not rooted, nothing special I updated my HTC One M8 to ...
2
votes
1answer
1k views

How to load kernel module with Magisk root but without custom kernel?

I am having a really hard time finding anything about this on Google which is not from 2011. I have a Samsung Galaxy S10+. I have rooted it with Magisk without TWRP, i.e. no custom recovery or custom ...
1
vote
1answer
1k views

Wondering if i can debloat some google apps from unrooted lg phone for my father?

My father being older does not want to modify his phone, however he has a LG L70 and no sd card, and doesn't use some unnecessary Google apps, such as play, books, and whatever else. My question is ...
1
vote
1answer
2k views

how to fix ioctl permissions denied error?

I searched in lots of websites/forums but did not find a solution for this problem, and this site is last chance, this is problem: This problem have several other users too. my phone is Galaxy S7 Edge ...
1
vote
1answer
3k views

Stuck in boot after changing dpi - Lenovo a7000

I used Texdroider DPI to change the dpi from 320 to 300 and after the reboot it gets stuck at the lenovo logo. I could just flash it again but i don't have the rom on this pc, and it will take 10h ...
1
vote
1answer
6k views

How to boot system-as-root device always as rooted?

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
3k views

Volume Button To Scroll Up Android

So there is probably one feature I miss sincerely and that is being able to hit the title bar on the iPhone to essentially trigger the "Home key." Is there a way to assign this to one of the volume ...

1
2 3 4 5