Questions beginner root user | You got root-rights, but do not know what to do next



Rep: (1964)
Attached Image

This topic is intended to discuss issues that arise among users,
who only got Root access and do not know what to do next.


It does not discuss the questions "how to get root".
Such questions will be deleted without warning!

In addition, we strongly recommend that you familiarize yourself with:
discussion topic of your device
FAQ on your device
Terms and jargon
Android OS FAQ
Glossary

It is possible that the problem you have is directly related to a specific device model,
widely known and its solution has long been found.
Brief rules of conduct in this topic
1. It does not discuss:
1.1. Questions "how to get root". Such questions will be deleted without warning! (All instructions, as a rule, are contained in the branches on the firmware)
1.2. Configuring specific programs that require root rights (refer to the discussion thread of the corresponding program)
1.3. Questions resuscitation devices after: unsuccessful firmware, over-enthusiasm for removing system software, applying incorrect application settings, etc.

вњ” How to ask a question in this topic
When posting in this thread, please follow these rules:
1. Describe your question or problem calmly and in detail. Try to write correctly.
2. Be sure to include your device model and Android OS version.
3. Indicate what actions you took before you received (when resolving) the question (problem). What applications / programs were used.
4. If you want to add an image, please readHow to clean the image under the spoiler.

By following these simple rules, you will quickly get the answer that interests you.

FAQ
What is root?
root (from the English root - root; reads the "root"), or caliper - This is a special account in UNIX-like systems with an identifier (UID, User IDentifier) ​​0, the owner of which has the right to perform all operations without exception.
A bit of theory
Multi-user Linux system capabilities are of fundamental importance: all user actions are possible only after the identification of the user with any of the records. Linux allows users to defined his rights to work with files and directories. It is believed that each file belongs to a particular user and a particular group of users. Each file is also associated rights table indicating which actions (read, write, program execution, opening the catalog and some others) can take the file's owner, a member of the group that owns the file, and an arbitrary user. In addition to records of ordinary users, there is also the root login account with a reserved name root. The super-user can perform any legal action on any file, regardless of who owns it and what is the right table of the file. In addition, the superuser can change the owner information of any file and its rules table. A root also has a much more extensive rights not associated with file operations.

Routing (English Rooting) - the process of obtaining superuser rights on devices running the Android operating system. The main objectives of the routing are the removal of restrictions of the manufacturer or carrier, the manipulation of system applications, and the ability to run applications that require administrative rights. A device that has undergone a rooting process is called rooted.

What is "access rights"?
Permissions - This file or directory attributes that indicate a server who can do what with the relevant file or directory. Typically, access rights govern actions such as read, write to a file (or directory), the performance. On UNIX systems, all users are divided into three groups: "user" (owner of the file directly), "group" (a member of the same group that owns the file owner) and "other" (everyone else). When you connect to a server, it determines which group you belong to. For example, connecting to the FTP server, you enter with your username, respectively, the server assigns you to the "user" group. Other users, connecting by FTP, be attributed to the "group" group, and when a person gets to your site through your browser, then falls into the "other" group.
After defining the group, the user gets the rights to actions with objects. Ie he can read, write or execute the file. To view a directory, it must be executable; to view its contents, it must have a read attribute, and to create a new file or directory in an existing directory, you must have write permission. Thus, in order to run an application or a CGI script, it is necessary to put a read and execute attribute on the directory.
To assign rights to the respective groups, numerical designations are used:
4 = read (read permission) 2 = write (write permission) 1 = execute (execute permission)
The first digit in the designation establishes the rights for the group "user" (ie, actually for you), the second for the group "group" and the third for "other". Simple addition of numbers can achieve the establishment of rights to a set of actions. For example, 3 (2 + 1) allows writing and executing a file (directory); 5 (4 + 1) allows reading and execution; 6 (4 + 2) allows reading and writing; 7 (4 + 2 + 1) establishes the right to read, write and execute. Ie only seven options:
7 = read, write & execute
6 = read & write
5 = read & execute
4 = read
3 = write & execute
2 = write
1 = execute
The most common permissions (rights):

644 (-rw-r - r--) Rights with the letter “G” - all system .apk and .jar files are under this permission (rights)
Example 644 rights in RootExplorer
Attached Image


755 (-rwxr-xr-x) Rights with the letter "P" - all system directories (folders) are under this permission (rights)
Example 755 rights in RootExplorer
Attached Image

More about access rights
How to get root on my device?
With a high probability, the answer to this question is contained in Android - Firmware
If the forum does not publish a proven way to get root-rights to your machine, or such methods for some reason do not work for you, then you can try universal methods at your own risk:

Getting ROOT on device
Getting root in one click

If you have questions on these methods, or something will not work with them, then ask questions in the topics about a specific method.
In this topic, a discussion of how to get rootPROHIBITED!

Tried to get root, everything broke!
Again, go to sectionAndroid - Firmware
How to verify that root rights are obtained?
1. It is possible (but not necessary) to appear in the program list of an application called Superuser or SuperSU
Attached Image
Attached Image

2. When you run programs that require root privileges, the corresponding request will pop up.
Attached Image

3. Programs that previously did not work, citing lack of rights, are now fully functional.
Attached Image

4. In the terminal emulator, when you enter the su command, a prompt appears in the form of a grid: #
Attached Image

5. In the terminal emulator type "/ system / bin / id" [Enter]. If we see in response - "uid = 0 (root) gid = 0 (root) "then rejoice, phone rutovan -depends on the way of gettingroot rights (for example, when using Universal Androot this method of verification is unacceptable)
Read more
Since the initial way to get root on most phones was through a terminal session, launched by the command "adb shell", the most correct way, in my opinion, is this:
a) Make sure that USB debugging is enabled: "Configuring the Application Developing USB Debugging";
b) connect the phone to the BB and execute the "adb shell" [Enter] on the command line;
c) if the system prompt looks like "#", then skip paragraph "d" and go to paragraph "d";
d) if the system prompt looks like "$", then on the command line type "su" [Enter]. After that, the system prompt should change to "#". Not changed - try "/ system / bin / su", "/ system / sbin / su" or "/ system / xbin / su". If you still see - "$", then you most likely do not have root-rights;
e) type in the command line "/ system / bin / id" [Enter]. If we see in response - "uid = 0 (root) gid = 0 (root)", then we are happy - the phone is rooted.

A similar test can be done through a terminal emulation program, which must be run (after setting if it does not exist) in the phone. Running, begin to act with n. "In." The essential difference is that in Step. "G" may be prompted to privilege escalation. Or it may not appear. If there was - answer "Allow". The invitation should be replaced with "#". If the request does not appear, then there are two possibilities: either the program "Superuser" is already installed or not. If you see the response "permission denied" system (permission denied), then the "Superuser" is not installed. Install it. If it is not set (or set, but is not functioning properly) - root phone is offline. A curtain.

If the program "Superuser" has already been established earlier, then there are also two options: terminal emulator allowed to run as root or vice versa is prohibited. If allowed, we should immediately see a welcome symbol "#". If smoking - launching a "Superuser" and remove the ban by removing the record of our terminal. We go back to the terminal and repeat the "su" [Enter], waiting for a request for privilege escalation, resolution increase, see "#". With trembling hands, type in the terminal "id" [Enter]. We analyze it.

In which case it is impossible to get full-featured root rights?
Some phones haveNAND lock , which does not allow anything to be written / deleted in / from the / system partition, even if it is remounted for recording, and this results in the impossibility of either installing the Superuser program in / system or deleting system applications. It turns out the case of incomplete rooting - so-called. Shell root . You can find out if your NAND lock device is available in the discussion section of your model. Android - Devices
How to replace KingRoot / User with SuperSU?
Root rights are obtained, but files are not copied to the / system folder. Why?
You need to mount this folder folder for writing. This operation can be done by various programs.
Here's how to do it by example.Root explorer:
- in the upper right corner (of course, with root-rights acquired) there is a button for switching between read / write modes (r / o - r / w).
This is how it might look
Attached Image

How to remove applications embedded in the firmware?
To remove software wired into the phone, you can use the following programs:

Root manager- it has a System Apps section, in which, in turn, there are three items: App Remover - the actual removal of applications, Data Remover - removal of data associated with programs, and App Backup / Restore - backup and recovery of applications. According to reviews, the backup works quite crookedly, so it is recommended to use third-party software such asTitanium backup
NB: to completely remove the program, you need to delete the program.apk and program.odex files

В® SystemApp Remover- also a program designed to remove system applications. According to reviews in the program branch, almost no one works, so here it is presented more like an example.

Also the program itselfTitanium backupcan be used to remove programs. When you tap on the line with the name of the application to be deleted, a window will appear prompting you to create / restore a backup copy, delete the copy, delete the data and the application itself. All system applications are highlighted in red.

Keep in mind that Google services (programs whose names include google), regular contacts, messages, launcher in any case it is not recommended to delete and move to the card in order to avoid loss of nerve cells and the appearance of gray hair when turning the animal!

Remember! Before you remove something, MANDATORY!MANDATORY! MANDATORY! make a backup!
How to hide root for certain applications?
You have received a root, and such an important application for you does not work / gives errors / crashes / swears on root-rights? There is an exit!
Xposedand moduleRootcloak
В®suhide
Attention! This is only a solution, and not the fact that it will work with your application. Details of the use or an easier way to solve the root problem is to be found in the topic. specific applications.
How to remove root rights so that no traces are left?
It is enough to flash any OFFICIAL firmware.
How to flash your device look inAndroid - Firmware
What applications from the firmware can be safely removed?
The most complete information is collected here:Android stock program. We remember that it is not recommended to touch the stock launcher, dialer, messages.
Often (but not always) a list of applications that can be deleted is in the firmware thread of a specific deviceAndroid - Firmware
Those who want to get rid of additional Google applications can try this manual:The leak of Internet traffic in Android (Post # 9762760).
Removed system applications, but no space was added in the system partition! Why?
on Linux systems, there is such a thing as mount points (similar to partitions in Windows). The main points are: root (root, not to be confused with the root user) or /, / data, / system, / sdcard. The system software is all in / system, respectively, it is at this mount point that the space is freed up. Roughly speaking, it is foolish to delete files on section D: and wait for space on section C to be added:
In order to free up space on the system partition, you need to transfer the necessary installed applications from / data / app to / system / app (and, of course, assign them the same rights as the neighboring files -rw-r - r-- ) - in this case, the applications will become systemic and will not be lost when the phone is reset to the factory settings, and the free space on the system partition will increase. For example, you can transfer the launcher in this way if you installed a different one from the one that came with the firmware. Note that in addition to application files with the * .apk extension, you also need to transfer * .odex files with the same name, if such are present.
A detailed description of the sections of the Android memory available language.
Is it possible to update the routine device "over the air" or with the help of official software like Kies?
Doing this is strongly discouraged. Opening root privileges involves interfering with system files, and the OTA update of official firmware can lead to unpredictable consequences. The most innocuous is the loss of root privileges, but more fatal variants are possible - up to scaling. In particularly advanced cases, you can bring your phone back to life only through JTAG.
This item does not apply to OTA-updates of custom firmware (for example, CyanogenMod), in which there are own utilities for updating by air.You can find out if an OTA update is supported by a specific custom firmware in the discussion thread.

A set of tools for a novice root user. Useful and necessary applications.
Discussion of the work of specific programs in this topic is not supposed !!!
Any questions about a specific program should be asked in the topic about the program.


В®UMS Enabler (Universal)- Application for connecting Mass Storage Mode to install a memory card as a USB drive (verified by the Curator)
В®suhide- The suhide utility allows you to hide the presence of "ROOT" on your Android device.
SuperSU- Advanced access control for superuser rights to applications on the device that need root.
Root explorer- File manager for Root users. Most of the instructions are written based on the use of this file manager.
Titanium backup- Backup of applications and user data (sms / mms / contacts). It is often found in all sorts of instructions.
LuckyPatcher-Patcher to most programs and games.
Xposed-Program to change the settings of applications and firmware without the need for their decompilation, compilation and signature.
Link2SD-Allows you to transfer installed applications to a memory card in the absence of such an option in the firmware.
Foldermount-Mounting directories c internal memory to external. Serves to transfer the game cache (usually) to an SD card.
Android Terminal EmulatorTerminal emulator There is nothing to add.
DroidWall- The program allows unlimited access of applications to the Internet via WiFi and restricts access via GPRS / EDGE / 3G
NextApp SDFix- Troubleshooting the write to an external SD card in Android 4.4+
AdAway- Ad blocker with support for white and black lists.
SU File Manager & Terminal- File manager and terminal for Root users
SetCPU- A program to control the frequency of the processor(all responsibility for use lies with you!)
Autostarts- Shows which programs run automatically after loading, as well as other system events occurring in the background
Cachemate- Clearing data cache from applications
Root manager- Toolkit for Root user
Shootme- Taking screenshots by shaking (incatalogthere are analogues)
Wi-Fi Tether- Device as an access point (incatalogthere are analogues)
Adfree android- Removes ads in the browser and other applications.
AROMA Filemanager- File manager with access to system files from custom Recovery.
Nandroid manager- The program allows you to view, explore and edit your Nandroid backups.


This is not a complete list of programs that work with root-rights. All these programs (and not only them) are inThe catalog of programs for Android OS.If you have not found any program in this list or Catalog, then the questions "Prompt a program that ..." are set in the subject:SEARCH software for Android OS.
Attention!If you know a useful program that is not listed, refer toCurator.


For the creation and initial development of this topic, special thanks to the distinguishedW.Master

IMPORTANT!
If a forum member gave you good advice that helped you solve your problem,
do not put a message with the text"Thank! You are super!!!"
In our forumthanksIt is accepted to express by raising the reputation of a particular participant by clicking on the button
Picture.
If you do not have 15 posts, ask the moderator to raise the reputation of the person who helped you through the button Picture.


K
Theme needsCurator. Those who wish, please readRequirements for candidates to the curators of the forum. If the desire is not lost, the application can be left in the topic -I want to be curator .


Post has been editedKEEPERekb - 25.03.19, 19:32
Reason for editing: edit



Rep: (1964)
mrandim,
transfer is possible, you need a root, the system partition is mounted on the recording and Root Explorer program. apk just moved to the / system / app



Rep: (0)
and moves from the Data / app? just move here a paste v system / app?

I'm sorry if the topic, just do not want mistakes.



Rep: (1964)
it's like that.



Rep: (0)
o4kareg @ 01/16/2011, 16:26*
mrandim, Use of health: drinks:

Thank!
And what happens with non-SIS applications to System / app after resetting to factory default?



Rep: (64)
Click through the van was right, but they are not complete. decided to add a top z4rut ... after all rights are gone ... all through z4rut / returned ... and by the way, no one says that it is necessary to vayfay uni.andrut ... and I'm out of this week plied forums



Rep: (1964)
alfred0 @ 18.01.2011, 15:01*
It is not written anywhere that you need to vayfay uni.andrut

HTC Tattoo on it I did not need. Set, button pressed, and voila!

Posted 18-01-2011, 15:24:

mrandim @ 16.01.2011, 18:03*
And what happens with non-SIS applications to System / app after resetting to factory default?

they go to a country where there is no return. Only they / data / app sit, if that :)

Post has been editedo4kareg - 18.01.11, 15:24



Rep: (1)
Hello.
I have a problem with getting root on the HTC Desire, even at the very first stage.
I have Windows 7 Ultimate 64 bit, not installed drivers for Android 1.0 (HBOOT). He writes: "Windows system detects the driver for this device, but when you try to install these drivers, an error occurred."
I am trying to find on the Internet, some cornfields. Someone you know, what is it?



Rep: (1964)
in 64bit.



Rep: (1)
about 4kareg
And what I propose to do?



Rep: (3848)
WhatTheF. 24-01-2011 @ 11:30*
And what I propose to do?

1. Wait for normal drivers for this system
2. Use the other system (LiveCD mode or virtual systems).



Rep: (9)
Tell me, is it possible to make a wipe on your PDA with rutovannoy official firmware? After wipe Ruth left?



Rep: (1964)
pirog007,
can. will remain as Ruth affected system partition, which is when you reset to factory settings does not suffer. Deleted manually recover system applications.



Rep: (62)
Android 2.2, the factory firmware. Full Root received.

Have questions.

1. What will happen if the folder manually clean davlik-cashe all files when running animal route-explorer?
2.Smozhet whether live animal without a heap of .apk files in the folder / data / app? They are there at all necessary? Or is it "tails" set?
3. Why in /system/build.prop file size initially absent VM HEAP? In 2.2 anywhere else all written?
4. Where can I find a description of all settings \ /system/build.prop file variables? Or 2.2 in a different file all registers?



Rep: (1964)
Genrix1983 @ 02.02.2011, 10:20*
1. What will happen if the folder manually clean davlik-cashe all files when running animal route-explorer?

fly away all the settings of all your programs
Genrix1983 @ 02.02.2011, 10:20*
2.Smozhet whether live animal without a heap of .apk files in the folder / data / app? They are there at all necessary? Or is it "tails" set?

this is what you have installed itself - a convenience store or a card. Delete - You shall have these programs
Genrix1983 @ 02.02.2011, 10:20*
3. Why in /system/build.prop file size initially absent VM HEAP? In 2.2 anywhere else all written? 4. Where to find the description of all the settings \ /system/build.prop file variables? Or 2.2 in a different file all registers?

Google it, or on the development section.



Rep: (4)
Question connoisseurs. Tell me who the thread please, can we remove these three files in cache: cache / downloadfile.apk; cache / downloadfile-1.apk; cache / downloadfile-3.apk These files take up a lot of space. Heard somewhere that the android market app caches them. Maybe you can carry them?



Rep: (1964)
This application files are downloaded from the convenience store here, and then installed. you can delete them.



Rep: (249)
Charly2011 @ 02.02.2011, 16:38*
Tell me who the thread please, can we remove these three files in cache: cache / downloadfile.apk; cache / downloadfile-1.apk; cache / downloadfile-3.apk These files take up a lot of space.

o4kareg @ 02-02-2011, 16:51*
This application files are downloaded from the convenience store here, and then installed. you can delete them.

And why am I not there anything?



Rep: (1964)
It can automatically clean the cache, or not under the root look.



Rep: (249)
o4kareg @ 02-02-2011, 17:44*
It can automatically clean the cache, or not under the root look.

I have a cache cleaning applications using App2SD.
I looked in the folder devayse cash using the ES-conductor, it is empty, Ruth time through Visionary.
I might do something wrong.

Actually, my goal pace-Ruta is to release the phone as much as possible.
That's about it I like Newby router, and I want to know everything. What and where and how to move / delete, etc.

Post has been editedCulibin - 02.02.11, 18:14



Rep: (1964)
removing the stock software, you will not add disk space on the device. The fact that there are actually two mount points (similar to logical partitions in Windows), and the point / system is highlighted separately. you can kill the unnecessary system software and then transferred from the / data / app in / system / app some prog, and they survive with a wipe. Thus it is possible to clear slightly space the second mount point / (root, or root).

Post has been editedo4kareg - 02.02.11, 18:40


Full version    

Help     rules

Time is now: 01/02/20, 14:52