Hot answers tagged

71

There are a few methods how you can mount your /system directory RW or RO. However, it will require root. Method 1: Connect your phone to the computer. (Make sure USB debugging is enabled on your phone) Open CMD/Terminal on your PC. Windows: CTRL + R, then type cmd. Ubuntu: CTRL + ALT + T. Mac: Navigate to /Applications/Utilities/ and double-click on ...


49

In the realm of the ARM chipsets which is the common factor, the entire Android stack, from the near-identical kernel based on Linux, are in fact, 32bit, cross-compiled from usually either a 32bit/64bit host environment, the host environment is usually one of the distributions of Linux. Recommended distribution, by Google, for building and cross-compiling ...


18

For easier reference: Source: XDA


16

I used this methodology, and it worked fine in 4.x, but failed for me in lollipop. While looking for alternative solution, I found this: https://stackoverflow.com/questions/3391160/paste-text-on-android-emulator it is not exactly as you wanted it, but for myself, most time I want to copy text to clipboard is because I want to paste it into password field. ...


8

Originally, Android was written for 32-bit processors only: and specifically, 32-bit ARM processors. Later, Intel and MIPS invested a lot into making Android support their architectures too: but still only 32-bit processors. They were able to do this without (many) compatibility problems, because most apps aren't shipped as binaries. Written in Java, they ...


8

Some applications require what is known as WebView, a mini browser for functions like approving logins from Facebook and Google+. This is essentially a miniature version of Chrome. It used to be that WebView only updated with the OS. In Lollipop, Google detached it from the Core OS in a way, and added the functionality for it to be updated via Google Play, ...


8

Solution is simple. To remount a mounted system you need to have root privileges. Do an su. You will enter root mode. Then run the below command. It will work, I did it many a times. So here are the steps: adb shell su mount -o rw,remount -t ext4 /system Edit: Found a better solution From host machine(Linux or windows PC), execute the following ...


8

It's called Recents Screen: The Recents screen (also referred to as the Overview screen, recent task list, or recent apps) is a system-level UI that lists recently accessed activities and tasks.


7

WARNING: I have not tested this procedure. You would need to have fstrim in system/bin. This XDA post has a DropBox download link. start up adb and then switch users to root. $ adb shell from your os terminal. $ su to switch to the root user. To copy fstrim to your /system/bin path you first need to mount the system path as Read/Write from adb or some ...


7

I just tried and found that you need to modify a file: sys/class/power_supply/usb/device/charge its default content is '1' which means 'enable charging' you need to set it to '0' to 'disable charging' $ su $ echo 0 > /sys/class/power_supply/usb/device/charge I tested on Nexus 4 and it's working successfully.


7

What is Android doing when it says “optimizing apps/system”? Basically the android system will be creating an optimised version of each application. This process makes each app start as fast as possible with the new Android version. While it says ‘optimising,’ operating system generates ‘odex’ files for your apps from scratch. As a simple explanation, ...


6

The setting you are looking for is, most likely, found in Settings → Development (might be called "Developer options"; I know on some ROMs this option is initially hidden -- but if it's hidden in your case, it would be funny how that CPU overlay was activated). Scroll down a bit there, and you should find the "Monitoring" section -- where you probably ...


6

Root: As you understand, "root" in this context refers to the ability to grant a user the privileges of the root user. It's similar to installing sudo on a linux box (but Android root uses su, so there's that fundamental but small difference). We have a tag-wiki for it which has more information: root. Flashing: In the world of embedded systems, mobile ...


6

There's no direct equivalent in Android. Each app has its own directory in /data/data (for a multi-user system, it's /data/users/n). Apps are encouraged to show a metadata-based view of user data, instead of requiring the user to worry about individual files. Each app stores the files and databases that hold its documents, and its configuration files, in its ...


6

“There is in fact a second battery in every phone.” (Cf. answers 15., 19. and 48. of this discussion.)


6

data/system folder contains system configuration files critical to maintaining device's state. Access to the directory is restricted by the system apps only, so if the device is not rooted the folder content can't be seen. Below is the list of files residing in the directory with a brief description. Note that the list is not completely full and also may ...


6

try removing these files also /data/system/users/0/fpdata/user.db /data/system/users/0/settings_fingerprint.xml Instead of removing files, appending the filenames with some random extension would be better. So, if anything goes wrong we can revert the changes. eg: user.db -> user.db.xyz or xyx_user.db I faced the same error too and this worked for me.


5

Oh dear, the moment I offer a bounty on this question, I bump into the solution myself. Cyanogenmod has a "Dev Tools" app. In "Development Settings" in this app, uncheck "Show running processes" to make this go away.


5

There is absolutely no way to do this without root, and for a good reason. If an app was do do this imagine the havok that would ensue? You will have to root your device, either temporarily or permanently, to do this.


5

All ARM chips are currently 32-bit. Because of this, Android currently executes all code in a 32-bit environment. 64-bit processors set to launch in 2014.


5

Devin, I am not extremely familiar with stock Android, so I apologize if some of what I try to describe does not work exactly as I try to explain it. The SMS messages on your phone is maintained in a single database. That means you can use different messaging apps for SMS and the message "streams" or "history" stays the same regardless of the SMS app you ...


4

Here's an improved version of the script by galets above. As with that script, it does not write to the clipboard, but sends input to the currently focused input field, which is often what you want anyway. This script is improved to escape special characters to prevent confusing the Android shell with them. This should allow any string to be sent unchanged. ...


4

It's not possible to flash Android on a Symbian phone right now. However, you could make Google apps work on a Symbian phone. This guide can give you an idea how to do it. Or if it's just the Android theme / look-and-feel you want, you can take a look at SPB Mobile Shell. Edit #1: It's probably possible to port Android to a Symbian phone. But so far, ...


4

adb shell dumpsys battery set ac 0; dumpsys battery set usb 0;


4

"Night Mode" is actually pretty intuitive as far as the name goes. The OS basically attempts to estimate both sunrise and sunset, based on the current date and your latitude relative to the equator. It then determines that it is "night" if the current time falls either before sunrise or after sunset. You can find the code for this in the base frameworks, ...


4

They use a Real-time clock, the same as just about any other electronic device that keeps time. Newer devices have largely begun to move to supercapacitors to power the RTC, but batteries are also used. The decision depends on a variety of factors, including space and relative cost of the components. If you want some really in-depth details on how an RTC ...


4

Parts of those build.prop tweaks (and several you did not mention) are explained in the attachments to this XDA post. Let's see what of yours is covered – which are mostly the RIL settings (Radio Interface Layer): ro.ril.hep : unknown and undefined … may not even exist ro.ril.hsxpa : 1:HSDPA, 2:HSDPA/HSUPA, 3:? (HSUPA only?) ro.ril.gprsclass : see: GPRS ...


4

You can. Understand that it's running Bionic rather than glibc, and not everything you're used to having on desktop Linux will be available. The simplest way to experience this is to shut the Android framework down with adb shell stop (while running as root). At this point, anything you can do on the device is being done without the VM. You can run ...


4

Based on an answer by Mattia Maestrini on Stack Overflow, It is a new behaviour introduced in Marshmallow 6.0.1. Every app that requests the SYSTEM_ALERT_WINDOW permission and that is installed through the Play Store (version 6.0.5 or higher is required), will have granted the permission automatically. If instead the app is sideloaded, the permission is not ...


Only top voted, non community-wiki answers of a minimum length are eligible