Please keep in mind these are Developer options, and may be of no use, or have a negative impact on the performance of your device.
Force GPU rendering
The GPU is the Graphics Processing Unit. It's very much like the CPU, but instead of crunching numbers and taking care of tasks for the operating system and hardware, the GPU renders graphical information ...
What I didn't want was to continue having an MI account connected to my device. So I just created a temporary account, enabled the "Install via USB" option and then logged out from the MI account. So, now I hope the option stays enabled :)
In android development there are different logging levels. For example, there is Log.v for verbose, Log.e for level error, Log.w for level warn. All these are visible in logcat during development.
Then there is Log.wtf which is like Log.e except it has level Assert which may actually terminate the program depending on the system. Ideally, this should never ...
None of the other solutions floating around the internet worked for me (Chinese VPN, Disabling MIUI optimization...). I also could not temporarily sign into a Mi account, since I'd uninstalled as many MIUI system apps as I could and thus sign-in wasn't working anymore (and I just didn't want to sign in to begin with).
YMMV - it worked for me when I did it ...
For those who have already inserted their sim card into the Xiaomi phone, the above answers all would work.
But, if you are using Xiaomi Redmi 5 only for development purposes, you will need to do as per below:
You will need to sign up/sign in for a Mi account before you continue.
1) Extract sim card from your non-Redmi phone. (It should be nano sim. ...
You are hitting the wrong area to get developers options. Within setting/about phone/software/build number you need to hit Build number 7 times to enable the developers options. Hitting Android Version multiple times enables a google cookie for the android version.
"Install via USB" wont work if your Xiaomi phone is running MIUI 8 or above. Looks like when you try to Enable this option, your phone trys to connect to some chinese server and fails.
I got a work around and it worked for me. Idea is to connect to Chinese-Shanghai server through VPN. Try the following:
Install PlexVPN from Playstore and login into it. You ...
This screen shows your current android version status and further tapping on it will enable Android Easter egg. The N means you're using Android Nougat (7.1) on your device.
to enable developer options, go to settings->about phone, tap on build number multiple times (about 7 times), on completes it shows a message that you have enabled developer options.
First question: I think it's a bug
Second: The are some workarounds (suggested in Mi forums)
Try the following steps to bypass mi account requirement for USB installation:
Settings > Additional Settings > Privacy: Check the Unknown Sources option.
Settings > Additional Settings > Developer Options > Turn On USB Debugging
Settings > Additional ...
If you're looking to change the default size for a log buffer, to persist between reboots, you can recompile the kernel with updated buffer sizes.
The file containing log buffer definitions is:
The versions I'm looking at use a macro to define log buffers in that file:
DEFINE_LOGGER_DEVICE(variable, name, ...
Source-reddit, which references Android documentation
to DISABLE the h/w composer:
adb shell service call SurfaceFlinger 1008 i32 1
to ENABLE the h/w composer:
adb shell service call SurfaceFlinger 1008 i32 0
These need to be run as root and can be in a script or using the Termux Boot app as described in wiki
For some reason, this works the opposite way ...
The flag to show Developer options is stored on Chrome's shared preferences under the developer key, which can only be accessed with root access.
As shown on the source code:
AboutChromeSettings: tapping the Application Version 7 times calls DeveloperSettings.setDeveloperSettingsEnabled()
DeveloperSettings: writes the boolean value true to ...
Starting with Android 5, the in-kernel logger driver is deprecated which exposed the ring buffers through /dev/log/* character devices. Instead a userspace logging daemon named logd manages buffers “main”, “system”, “radio”, “events”, and “crash”. Optional buffers “security” (e.g. for adb shell/push/pull logging) and on userdebug builds “kernel” (for klogd) ...
If its an Android Wear watch (and it seems so) there is no options on the watch directly. It depends on the phone it is paired with, and all the options are available on your phone.
I have a Moto360 and I also don't have any developer options on my watch. If you plan to develop for Android Wear, you need to install everything on your phone, which will push ...
Go to settings, click Apps, then scroll down and select settings, click storage, you should have a pop-up window, click on clear data, then you finally click ok. It should bring you back to your home screen and Developer Options should go off until you decide to turn it on again.
You can use Dago Browser (Web Inspector). It allows you to inspect webpages and works flawlessly on my MIUI8.
From its description,
Dago Browser is a web browser with web inspector that can be opened by swipe right from a web browser page and choosing Inspect Element. Once open, it highlights the node on the page as it is selected in the hierarchy. [...]
All 3 of these are set to 1.0× by default ; you don't need to turn them off, just cut the values in half and set them all to 0.5 for noticeable snappier performance.
As for what each one does specifically and using my Galaxy S8+ to test them ᎓
Window animation scale controls pop-up window opening and closing animation speed, such as the pop-up you get ...
According to this thread, this feature (Turn On MIUI Optimization)
enables a plethora of MIUI based settings & optimizations as per the
guidelines set by the MIUI developers.
It helps to load the app and the app data in parallel reducing load times and ensuring slicker user experience.
However, this setting can sometimes cause a variety of issues ...
From Android - Handset built in Developer Tools - “Show Cpu Usage” option meaning?
Numbers in the first row shows average CPU usage in time intervals 1 minute/5 minutes/15 minutes. Color bars shows how much time CPU spends in userspace(green), kernel(red), i/o(blue).
Also see the accepted answer for a developer explanation
It is not a big secret that the Xiaomi uses MIUI which is a heavily modified Android OS.
Just searching the net quickly gets you the result that on MIUI you have to tap the field MIUI Version 7 times.
Anyway you could have found out that yourself by just tapping all available fields 7 times...
I found out, the following WiFi Manager App was the reason:
Wi-Fi Privacy Police (Prevent leaking sensitive data on WiFi)
The problem disappears whenever I disable this app. Here is how to disable it:
(System) Settings / Memory / Apps started on boot / Wi-Fi Privacy Police / Start at boot: DISABLED
So you disabled the App's bootup autostart. Now ...
I went with my Android knowledge of tapping 6 times on the build number in the phone settings. This shows a screen with my home screen background and the LineageOS emblem.
Despite what you claimed, you've tapped the wrong place. Tapping "Android version" will show a big N; tapping "LineageOS version" will show you the LOS logo; tapping the actual "Build ...
For rooted devices:
To have your device power off as soon as it stops charging, You can use an app called MacroDroid.
On the main page of the app, press on add macro → battery/power → power connected/disconnected → power disconnected
press on actions (found, on the top) → device actions → reboot/power off → power off → ok.
press on the ✓ on the ...