[Android advanced] temporarily uninstall and restore the root function, androidroot
[Preface] Why is there such a demand?
Q: first, why do you want root?
A: Only root users can have control, and many things can be involved, such as deleting and deleting rogue software and using agents and software for automatic install
Write this articleArticleFirst, thank you Simon_fu , His two articles about Root This article is a supplement to his article. Simon_fu See the following two web pages:
AndroidProgramSecurity System
AndroidApplication acquisition RootPermission
generally, Android the maximum permission that can be obtained by the application under" direct "is System , however, if we need to execute
From:
Http://bbs.gfan.com/android-2996211-1-1.html
If you need root users, please download them at the address above.
A. Control the mobile phone to create a temporary folder, write the zergrush script to this folder, and modify the permission of this file to make it executable (this step does not require the root permission );
ADB shell Rm-r/data/local
on my mobile phone and the version is 3.0.7.
I also installed a re manager.
First, open the re manager. At this time, the Re manager Requests the root permission. The superuser will pop up a prompt asking whether the user permits
Before clicking "allow", select "remember" and then allow.
This step is used to obtain the data that should be inserted in the superuser database when the application obtains permanent
Run Linux on Android devices without root
Once, I tried to search for a simple method to run Linux on Android. At that time, I only wanted to use Linux and some basic applications, such as SSH, Git, and awk. There are not many requirements! I don't want to root my Android d
Android Phone Get root permission method
1. Baidu one key root 1 search Baidu a key root, and then download the installation
2. After the installation completes opens the Baidu one key root
3. Connect a mobile phone with a computer with a USB cable
4. Select the sy
These days in a new function, need to use the silent installation, so on the internet to find some of the silent installation of information here to record it. In fact, the principle of implementing a silent installation is to request the root rights of Android phone, by executing the Linux command to install the APK to the phone system, in fact, the code is not a lot, it is listed here, later use can be di
What is the difference between the root permission and the USB adb permission of android apk? androidapkUSB adb permission means that when adb connects to the mobile phone, the permission of the daemon adbd in the mobile phone is root, so that its sub-process also has root permission. Generally, If adb shell sees:Andro
An Android mobile phone can be captured by any application and its solution without the need of root
Some Android applications have screenshot functions. However, the screenshot function requires the root permission. These applications cannot take screenshots of the system without the
Usually we use "runtime.getruntime ()" () EXEC ("command path") when executing a command in an Android application, but when we perform a scratch operation, this command is not available in any way, and the result is printed by the following code. This command must be performed under root permissions.
BufferedReader BRW = new BufferedReader (New InputStreamReader (P.geterrorstream ()));
while (str =
Most Android controls have two attributes: padding and layout_margin. The difference is generally:
Padding:Control contentThe distance from the control edge.
Margin: ControlAway from its parent ControlThe distance from the edge.
Today, an experiment was conducted to dynamically load sub-la s from the root layout. The results show that the two attributes in the sub-layout can be displayed as expected, howev
1, for many users, root is not necessary, it is only when you install in the simulator, such as 360 phone guards-the security of the detection application to determine whether you can go to the phone, or the re file Manager-the easy way to call files between the win system and the Android system; Pancake Android Game Modifier- Modify the gold coins or experience
There are many tutorials on how to obtain the android root permission. To help you better understand the root mystery, Ling Kefeng provides this article for you and hopes to help you.
Android applicationsProgramThe entry must be a Java program. The application initiator is a temporary user created by the system based
First look at the location of the Android 4.x system's certificate store:AOSP the location of the CA certificate file in the Android system is:/system/etc/security/cacerts/a series of digitally named. 0 filesMethod One:Android 4.0 already supports the user to install the root certificate, only need to put the root cert
We know that the Android mobile phone operating system uses the Linux kernel, and the highest system permission in Linux is Root, which is similar to the Administrator privilege in Windows, that is, the highest privilege in the operating system.Because the Root permission is too high, mobile phone manufacturers generally do not allow users to directly use the
To grant the Root permission to the Android app, the Android device must have the Root permission.
How an application obtains Root permissions: grant the highest permissions to the Code Execution directory of the application. In Linux, chmod 777
[Code] java code:
/**
* If th
After configuring the Appium environment in accordance with the online tutorial, the true machine runs the automated process, encountering the following error:Appium error is as follows:[ADB] Checking whether AAPT is present[adb] The android_home environment variable are not set to the ANDROID SDK root directory P Ath. Android_home is required for compatibility with SDK 23+. Checking along PATH for AAPT. [A
interface. The execution of such a service can be either binary or Java code. Like what:C + + type of service:Surfaceflinger,cameramanagerservice, MediaplayerserviceJava type of service:Activitymanagerservice,windowmanagerservice, NetworkmanagerserviceThe implementation mechanism is that the service registers its services with the ServiceManager mentioned above, and other modules get the interface of the service from ServiceManager by name. In the shell, the command "service list" can list all
Android's silent installation seems like an interesting and tempting thing to do, but in common practice it seems difficult to install silently if the phone does not have root privileges, because Android does not provide the intent call that is displayed, typically by installing APK in the following ways:
Intent Intent = new Intent (intent.action_view);
Intent.setdataandtype (uri.fromfile (file), "
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.