text:
How to log/record system events or phone vibrations - Problem with Huawei Mate 20 Pro
I have a Huawei Mate 20 Pro. Awesome phone, I love it.
I live in Canada, and have the model LYA-L0C.
My phone is set to vibrate, so anytime I get a text or a FB message or messages from other apps my phone vibrates, and I check and I have a notification from xyz app.
My phone has started to vibrate arbitrarily, for no apparent reason. It will vibrate, I will look and check my phone and there is no notification from any app. It will vibrate again and I will check and there is nothing there. I will check through my apps and there are no new messages or anything in any of my apps. Notifications are turned on for all apps, nothing turned off in the settings of the phone.
I don't know how to track down where this is coming from or what app is causing this.
Is there some kind of app I can install that will monitor and log system events like vibrations and log where it came from? Or does anyone have any other better solution to this problem?
Thanks in advance for the thought and suggestions!!

The vibrator is not really logged that much but you might be able to get enough information to help. First,  The log output format is:
date time PID-TID/package priority/tag: message
Looking like:
12-10date 13:02:50.071time 1901-4229pid-tid/com.google.android.gmspackage Vpriority/AuthZentag: Handling delegate intent message
adb logcat -v long
Linux: adb logcat -v long > ~/Desktop/logcat.txt
Windows:
adb logcat -v long > %userprofile%\desktop\logcat.txt
Vibrate is system thing so to get just system logs then this use this log command:
adb logcat logcat -b system
Linux:
adb logcat logcat -b system > ~/Desktop/logcat.txt
Windows:
adb logcat logcat -b system > %userprofile%\desktop\logcat.txt
If within the logs you happen to see what package is responsible for vibrate and it gives its pid number write it down. Next use this command inserting the pid number where {pid} part. This will show only the output for that package.
adb logcat --pid={pid number}
Looking like:
adb logcat --pid=1000
If you know the package name you can get the pid number from this logcat command:
A
adb logcat pidof -s {package_name}
Looking like:
adb logcat pidof -s android.os.Vibrator
Just riffing but if you want to get fancy and try the previous two commands at once then through an adb shell throw this:
adb shell "logcat --pid=$(pidof -s {package_name})"
{With linux use a single quote instead of double quote.}
adb shell "logcat --pid=$(pidof -s android.os.Vibrator)"
You might be able to get some information from the battery stats with the command:
adb shell dumpsys batterystats --checkin
Look for vib for time and count.
There are apps that record the logs such as Matlog (no affiliation) that can record, highlight, and other options. However, I do not know if you narrow down the logs to get the details you are looking for.


text:
Root checkers tells me my phone is rooted but most root required apps warns me that the system denied to root. Why? Anyone, please explain it to me
Before my phone was said to be rooted by root checkers, I tried many rooting apps, both Android and PC based.
The first significant change which happened occurred when I first installed and used the app called 360Root. 360Root seemed to install an outdated su binary in my system. After that, Root Validator tells me "Root Denied", rather than the usual "Root Unavailable". I tried to update su binary in SuperSU by chainfire, but the installation failed again. After multiple attempts to update the binary,
I thought I should try a PC program called KingoRoot. I used it after downloading and installing it. Kingoroot ran and completed successfully, but checking it in Root Validator still says "Root Denied". I tried again, and it still said sucesss. This time, some, but not all apps that require root like Busybox recognized my device as rooted, so I am able to install BusyBox applets. Kingo Superuser disabled SuperSU, although SuperSU still didn't work that time because su binary is just not updated.
Then I've tried again KingRoot, which succeeded in taking over the root from Kingo. I checked the root status in Root Validator. It now looks like a good news to me, because it tells me "Root is available". However, after opening some root required apps, they still don't recognize my device as rooted.
So finally, I had tried to replace KingUser with SuperSU by downloading terminal emulator first and then the "how-to-replace-kinguser-with-supersu.zip" file. I've followed the instructions perfectly, and it did replace it after updating the su binary and making SuperSU a system app. All the root checkers say that my phone is fully rooted. But, the apps that require root are still saying that I don't have root. Until then, I've noticed that there is a fifth line in Root Validator which says, "SELinux is enforcing". I downloaded a SELinux mode changer which can change SELinux modes from enforcing to permissive and vice versa. Even after changing that and rebooting, the apps still did not work. What could be the possible solution for apps not recognizing that I am rooted? Am I officially rooted? Is this condition have something to do with KitKat's improved security?
TL;DR: Root apps succeeded, and root checkers all say that I am rooted. However, apps that need root are denied root. SuperSU is installed.

Is the permission for su binary correct? I tend to think that if the Root Validator says that your device is rooted yet is not asking for permissions to access su, then it probably is looking for su's presence. Tell me what are the file permissions for su binary?

SuperSU already doesn't warn me about updating su binary 'cause I think it's already updated and I can fully navigate through the options and menus of SuperSU. What I believe is that my android isn't officially rooted 'cause it's just rooted by one click rooting programs & apps. What I seem to accept as customs to rooting especially on a Samsung unit are the usage of Odin program (flash tool) & Odin download mode to install roms and the flashing of certain downloaded zip files at the recovery mode to update the android's system.

Did you flashed a custom recovery? If so, then try to flash a flashable supersu zip. This is best way in rooting I have ever got.

KingRoot makes a terrible mess, and is probably the cause of the problem. Having used several other root apps on the same firmware doesn't help. I'd reflash the firmware and start over.

A small idea. Some brands (lik Coolpad used to) have anti-root mechanism built in their stock ROMs, which may be the cause of your problem. If you can provide your phone brand & model we are able to look further into this issue.

Go to SuperSu/Superuser(Or whatever app you have)
If app that doesnt got root access are listed there try giving it root access always.

For SuperSU Its like:
SuperSU > Apps > (App for which root access is denied) >  (Select GRANT) in Access

I've changed it from prompt to granted now. Then I tried to open one of my root required apps but it still don't recognized my rooted android device. Thanks for the advice as an answer but it didn't solve the problem. Sorry...

I will try to update answer as soon as I will find another solution.

@RukinoJinsen While waiting for other hints, take a look at our logging tag-wiki. Logs might give you a clue what's going on. Also, you could check whether next to the super-user app there's also a su binary available (SuperSU includes the featue to update it, which is another thing you could try). An one more thing to check: SuperSU has a log section. Are there any entries? Does the app section list any app?

This can happen in many cases.

Your device could not get rooted properly at first.
Some sort of settings in your SU/SuperSU/superuser app has been altered,  which shows unexpected root behavior.
Your device has become unroot, due to some activity you performed after rooting.

In all the cases above,  convenient solution will be to perform a complete root procedure again. And do not alter any internal root settings, unless you know what you are doing.
Also, use and update only the SU app that was installed while rooting. I personally prefer SUPERSU BY CHAINFIRE.

Clean the SuperSU app's Data in settings/Applications and try Again. It worked for me.

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/

sort: votes


text:
How do I mount devices so that they are accessible by regular user?
I am using luksmanager to mount my file based luks container. It is mapped to /dev/mapper/luksfile. It works, and it works great except that only root can see the files.
I successfully used this on Kitkat meaning that regular user was able to access mounted folders. However I upgraded to Lollipop recently and old way of mounting the folders does not work anymore. So only root can access the mounted folders. for everyone else the folder icon is just a file type which is broken.
I want to be able  to mount the /dev/mapper/luksfile so that it can be accessed by reguular users on Lollipop. I also used mount  -o bind to distribute some of the folders in the container, those naturally do not work too.
I tried:
mount -t ext4 -o rw /dev/mapper/luksfile /storage/.sdcard/mnt

without success

I am using CM12 5.1

Try disabling the SE Linux Enforcement in the boot image of the device, and I guess after that, you'll be able to do it as you did in KitKat.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/


text:
Is Cyanogen fully compatible with Play services and stock android apps?
I am considering the upgrade of my Android Phone to Cyanogenmod as even with root, I am having several permissions problems, OTA updates removing root, etc.
The only reason I did not yet install it is because I don't know if it is compatible with the Play Store, and apps related. As I have alot of apps downloaded through the play store, and an AppData helium backup, I want to know if the backup will be compatible with the apps in Cyanogen.
My helium backup only has the backup of App Data, rather than the entire application source, as it is more space efficient

Samsung Galaxy S5 mini SM-G800F with stock Android 4.4.2 rooted

I am not sure for the backup (especially for system apps), but as long as you remember to flash GApps (Google Apps), you are good to go and all Google Play services will work like normal.

You can actually test this on your own. All you've to do is to make a [tag:nandroid] backup of your current stock ROM using a custom recovery, then wipe the ROM, flash your desired CM version, flash compatible GApps, restore those app backups, restart and see what happens. If it doesn't work, use the nandroid backup to fall back to stock ROM.

@GiantTree I forgot to mention that the App backup is only for the app data, not for the actual application

@TheBro21 for non-system apps I'm sure it works but system apps like SMS or settings may not work.

@GiantTree I think I will go with testing it by dualboot, or with crossed fingers. You can put instructions on dualboot or nandroid backup in an answer

Luckily, Cyanogenmod is in fact compatible with play services. I am not sure about the stock apps that samsung has, as I didn't even bother trying to install them. The adb backup I made before going to CM restored properly. Google Apps are copyrighted, that's why they are not there initially. You can flash the Open GApps package as I found that to work for me best.

Yes, Cyanogenmod is fully compatible with your previous apps.

Ok, thanks for the informations. But I would like some more detail. And also, will Helium backup of apps work?


text:
Will klte ROMs work on SM-G800F?
I want to install AOKP on my Vodaphone Samsung Galaxy S5 mini SM-G800F, however, the kminilte ROM is not yet developed.
klte seems the closest to kminilte, so will installing it brick my phone, or will it be successful? What features of my hardware will be voided by installing the wrong version if it successes?

Edit as I cannot add an answer as this question is a duplicate.
I actually started dabbling in things regarding porting (slightly modifying ROMs for different devices). And the differences are huge. In the script that initializes the rest of the system, it tests for different models of klte, thus not finding a result and not booting.
Regardless of that, the CPU, screen size, pixel density etc. is different.
If someone has an unsupported device, they can try to find the most similar supported devices to keep change to minimum. You can also look on the CM wiki for unofficial ports.
When comparing devices, I recommend the webpage http://pdadb.net/ as it gives very detailed info about android phones.

@Firelord I aggree, and I flagged my own question

Very bright chances of bricking your phone if you flash a ROM not specifically meant for your phone. Custom ROMs are made by developers to cater explicitly for models specified by them, and being "closest" to your phone model doesn't mean anything in this context. Please read these to get more understanding

Can I install a ROM made for a different device?:
Feasibility of flashing a ROM (meant for original device) on a re-branded device

I don't know if your phone is "tied to a carrier", or is not , but even flashing a ROM meant for a specific device and carrier on same device but different carrier can successfully brick your phone, and that is the reason developers also mention the carrier it will work on where relevant
Second part of your question, What features of my hardware will be voided by installing the wrong version if it successes?, is redundant given the explanation above.


text:
Recover Android system with TWRP Recovery

Note that I am running Mac OS X.

I tried installing an unofficial version of Cyanogenmod I found on XDA Developers that supports kltemini (SM-G800F). However, I messed up somewhere in the installation, and got a message on TWRP recovery saying:
Can't install this package on top of incompatible data. Please try another package or run a factory reset

And when I try pressing Reboot into System, I get:
No OS Installed! Are you sure you wish to reboot?

In the comments, @beeshyams said that I can install from a trusted source SamMobile, where I did get the SM-G800F Czech version, and downloaded it. However, the flashing fails with:
Error flashing zip /external_sd/Android_Stock.zip

Extracting it on a computer makes a .tar.md5 file, and extracting that gives me a bunch of .img files. I read that I should compress these, and flash, but the same error showed.
Another solution could be to download a custom ROM so I can actually boot into ANYTHING, but most ROMs don't support SM-G800F.
What I can also do is go to Download mode, and download stock recovery, so I can re-install the OS over OTA, however there is a risk that I will not be able to use Recovery anymore.
How can I solve this?

UPDATE:
Trying to flash stock recovery with heimdall prints:
ERROR: Failed to send data!
Releasing device interface...

I am on OS X and I am using the CLI Heimdall to flash

I also made a chatroom for active discussion here: http://chat.stackexchange.com/rooms/33331/discussion-on-question

Did you try searching for stock on sammobile..trusted source for Samsung devices http://www.sammobile.com/forum/showthread.php?t=29452

@beeshyams Thanks for the trusted source. Definitely will help. Another issue though is gaining access to the external_sd on the phone, as it is not detectable, and the external_sd does not mount. Will try to on my Ubuntu as it worked there before

There isn't really a risk as long as you can boot into Download mode. Flash the stock recovery and do what you want to do with it. When you need a custom recovery, flash it using the same download mode.

@Firelord Ok, I will try. Another issue is finding the stock recovery somewhere. Looking for it now. What I don't want is taking it to a service shop, as I triggered the KNOX counter

The stock ROM zip that you downloaded may be having it, something like recovery.img.

The .tar.md5 file is for flashing via the program, ODIN, not through TWRP recovery.  You have to run ODIN and connect your phone to your computer in Download mode.  How to use ODIN http://samsungupdate.com/how-to/how-to-install-an-official-samsung-stock-firmware-using-odin

@beeshyams I actually use OS X and heimdall. It is detected, but prints ERROR: Failed to send data!Releasing device interface...

Looking at the installation instructions of the ROM you flashed, I am guessing in the TWRP/ CWM options, under Advanced Wipe , one of the options " Wipe Dalvik Cache, Cache, System and Data " (likely data) was missed out leading to the current situation.
[[ Edit
Thanks to OP for confirming that wiping data was missed out by him while installing CM. A couple of other observations made by OP are listed. These are NOT normally observed behaviour of CWM but may be occurring due to incompatibilities of ROM being " unofficial"

CM didn't start normally when data partition alone was backed up
He had to resort to wiping data to get back to normal functioning. This is also mentioned in the installation instructions of the ROM

Flash CyanogenMod:....Note that the recovery might fail to restore the backup when you want to go back to the stock ROM (emphasis by ROM developer)

]]
That aside, as you brought out, there are two options
Option 1 Re-flash CM ROM and subsequently revert to stock if needed
Option 2 Attempt to flash stock directly
Option 1 would be preferred option since your unable to flash stock ROM and get an error message
Suggested steps for Option 1

Boot to recovery mode of TWRP/CWM
Wipe Dalvik Cache, Cache, and Data (inside Wipe -> Advanced Wipe for TWRP)
Install CM ROM
Install the GApps zip-package
Test that ROM is correctly installed by testing minimum functionality of Google play store connecting, camera and call/ SMS working

Now,assuming it is successful,use the ROM for a couple of days before deciding if you want to continue with it or revert to stock
Reverting to Stock from CM 12

Since you are using OS X and Debian, install Heimdall (am not conversant with it so will skip the details)
Flash recovery. This guide seems to explain the process well but you can suggest a better alternative with your experience http://davideddu.org/blog/posts/how-to-flash-a-recovery-image-using-heimdall/

Additional Information that may come in handy for related issues and also to cover points raised in the comments section of question

Windows users:

Flashing Stock using Odin

Odin has different versions and some of the versions have options changed. Hence, the description in guides may differ with options available on the tool. This guide has a good pictorial description corresponding to newer version of Odin
http://androidmtk.com/flash-samsung-stock-rom-using-odin

Extracting Stock recovery from stock image
http://howto.highonandroid.com/samsung-tutorials/how-to-extract-stock-recovery-from-samsung-firmware/2/
Linux users

Instructions for flashing stock ROM ate covered here How to convert .img to .tar to flash using Samsung odin tool?

Command line instructions for backing up stock recovery from image
Can we backup the stock recovery.img in any way?

I have done that, and I made a chatroom (link in question)

Yes, I will award the bounty in 19 hours, once StackExchange lets me. Thanks :)

Seems that you almost everything. The only problem with my flash was that Data was not wiped. You might want to add that if you back the Data partition up, and attempt to restore it, Cyanogenmod will not start as it is possibly not compatible

That was not from a source. It was my personal experience, that CM did not start up when I tried restoring, and worked when I re-wiped Data


text:
How to uninstall an app which restarts the phone when uninstalling it?
This app named Handwriting Fonts for Samsung, Oppo and HTC phones is acting like a malware. Whenever I try to uninstall it, my phone restarts (or probably reboots) and the app doesn't get uninstalled. When I checked the reviews, there were other people too having the same issue.
I have tried uninstalling it from Google Play also. I have tried forcing stopping it; clearing data and then uninstalling it; using safe mode to uninstall it. No progress.

Enable Developer mode and Android Debug Bridge (adb) on your device and connect to to a PC with adb tools installed. Then use adb logcat to see if there is a log entry that explains why the device is rebooting.

When using ADB, you could also try adb uninstall com.monotype.android.font.glad.handwritten. As ADB has "elevated privileges" (not quite root, but still more than "average"), this might have a chance. Apart from that: Have you installed the app, or did it come pre-installed on your device?

I have installed it from Google Play

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
How to hide developer option from setting except with clear data or factory reset on android 8.1.0?
I'm using clear data but the developer options is still there, the phone is vivo y81

Mostly ROMs have a toggle switch inside Developer Options to disable them. Or may use settings put global development_settings_enabled 0 from adb or terminal emulator.

it only disable the developer settings, not hide it

It does both at least on Pie.

You can clear the settings through an adb shell. That should hide the developer settings to make it like them hidden like before you enabled them:
adb shell pm clear com.android.settings

on coolpad it works, but on vivo it doesn't, is there any other solutions?

vivo android version is 8.1.0

it says not found

Well then how about listing every thing with the command adb shell pm list packages

https://justpaste.it/6ldjw

Alright, I had the package name correct. I do not think they changed the syntax with oreo. I will look into this.

how do i do that?

Use a file manager from the play store such as FX file explorer. Then go into the system (/) and navigate to the system folder lastly navigate to the bin folder (path being /system/bin/ ). Within the bin folder you will see a lot of files look for one file named clear and one file named pm let me know if they are both there in the bin folder.

nevermind, i found the way using this method https://m.youtube.com/watch?v=yGPx7wcleiw

looks like vivo indeed do something about the settings, thanks for the help, appreciated

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
FBE - Why does each user get a separate DE key
I've been reading about how File-Based Encryption and Direct Boot work. There's one thing I don't understand.
According to https://developer.android.com/training/articles/direct-boot

Device encrypted (DE) storage contains data encrypted with a key that is only available after a device has performed a successful verified boot.

If I understand correctly, if an application stores data in DE areas, that data is available after the device boots up even prior to any user authentication (i.e prior to the device being unlocked).
Then, according to https://source.android.com/security/encryption/file-based

Each user in a multi-user environment gets a separate encryption key. Every user gets two keys: a DE and a CE key.

...

An application may be able to interact freely across the DE areas, but one user unlocked does not mean that all the users on the device are unlocked".

Question: If an application has access across the DE areas, what is gained by generating a separate DE key for each user?
Potential answer
Initially I assumed that user in the above quoted sections refers to a physical user as described here

User. Each user is intended to be used by a different physical person.

But user can also refer to an application user as described here

The Android operating system is a multi-user Linux system in which each app is a different user.

So I'm thinking:
When an application stores data in DE storage, the data is encrypted using the application user's DE key.
When an application stores data in CE storage, the data is encrypted using the currently active physical user's CE key.
If the above is correct, A physical user's DE key and an application user's CE key is never used.
I don't know if the above makes any sense so it would be great if someone with the appropriate knowledge would chime in.


text:
How do you decrypt EncryptedSharedPreferences on a rooted emulator
I'm trying to put together a PoC to show that a root user can decrypt any app data that relies on the keystore.
On a rooted emulator, I installed an app that uses EncryptedSharedPreferences.
I can see that the related key in stored in /data/misc/keystore/user_0 (There are USRPKEY and USRCERT files in binary format that belong to the app).
What are the next steps to actually decrypt the EncryptedSharedPreferences xml files?
A series of shell commands to run would be helpful.
Thanks

EncryptedSharedPreferences from androidx.security uses the hardware backed AndroidKeyStore, so key extraction should not be possible, only key usage should be possible with root permissions. So I would assume the most easiest way to decrypt the shared preference is to write some Java code that requests the key from keystore and does the decryption. Then compile the code to class and dex code so that you can execute it on command-line as the user-id the app is installed to.


text:
How to color status bar and navigation bar
I really like that my status bar and navigation bar have the same colour with a running software without rooting, because I don't like black navigation bar, is there any way? If it's impossible without rooting, how about through accessibility service?
My smartphone: Huawei Ascend G7- L11
Please reply
Yours truly

As far as I can remember, there's an app that can change status bar color without root (from Settings->Accessibility permission), but I don't think you can change nav bar's color without rooting.

Tanks for your answer, what is its name

You can use this app to set the color of status bar through Accessibility Service :Color Status Bar
(Note: This app runs in background to enable the color.
And, this app will work only on devices running Android 5 or above..)
But to change the color of navigation bar, you need root access.
If your device is rooted, do the following to change navbar color:

Install Xposed Framework and Xposed Installer app.
Install "GravityBox" module (varies for different Android versions) and reboot.
Open GravityBox app, goto Navigation Bar Tweaks
Under Colors section, Enable Navbar Colors and set your desired color.

Thanks a lot but my android version is 4.4.4 Kitkat, is there any ship like that or ifs there any other way

Oh, is your phone rooted? Only then it's possible


text:
Samsung Galaxy J5 J500F Bricked - How to unbrick?
I have a rooted Samsung Galaxy J500F. Trying to get more storage, I moved all of the system files to the sd card and now the phone won't turn on. The PC will not recognize the phone (no ding, no device manager detect).
Not able to get into recovery mode. Im not able to charge the battery either.
How to recover a phone in this condition? I used two JIG's (one I bought and one I made) it didn't work.
I have downloaded the firmware but I can't flash the phone (or can I?).

If you moved the /system file elsewhere, then your device is bricked (moving /system files to create space doesn't help as that space is not available to user for data)
Having done this without realising the implications, it is unlikely you would be able to flash stock ROM on your own. It's best you take it to service centre where it may be resurrected using ODIN /JTAG tool

Could a sd card flash work?

No, it won't. You have removed the complete system, it is not possible. No offence meant but you did this without realising the fall out (like I did recently on my new phone and bricked it)- it's best to have capable hands that have the right tools to do it. You could buy a JTAG and experiment but it may not be worth the cost or time

Thanks for the help. I will contact a repair shop that has JTAG and see if this fixes the problem. Great help by the way. :)

You are welcome. All the best

JTAG is the last resort, it may be possible to recover otherwise too by ODIN - let them decide

@beeshyams /system is just a partition. One cannot do critical damage by altering it.

@Nikolette What do you see by booting the phone while holding the Volume Down and Home buttons?

@DeathMaskSalesman;  I ignored that option as battery is not charging and for a first timer getting into ODIN and pit files would be too daunting. Also note that recovery option isn't working, so felt download mode also wouldn't

@beeshyams This is what I was tempted to think as well, but I feel that we cannot give a precise answer unless OP elaborates on […] moved all the system files […], because they could've moved far more than just the /system partition's contents.

You would still be able to boot it into download (ODIN) mode,
Just press and hold Vol +  Power key buttons until you see the download mode.
After that connect it to your PC and run Odin and flash your stock-rom.

I'm sorry, but you can't repair your Device. The Folder "/system" gives the ability for your Smartphone. Without it, you can't use it. Just like the System32 on Windows, removing it causes BSOD (Blue screen of Death).
I recommend you to take into a really smart repair shop and the motherboard needs to be probably replaced. If you don't want that, then try to flash the stock rom (yes, it deletes Root too but try SP Flash Tool and ODIN).


text:
What audio file formats does WhatsApp support?
What audio file formats does WhatsApp officially support?
I have not found this information on the WhatsApp website...

I found a workaround on YouTube to solve the 'file not supported' error in WhatsApp. Just rename the mp3 file to have an mp4 extension, and it will work.


text:
Can I use my Android phone as a USB speaker?
I have a Lenovo S850 (non-rooted so far, although I've read some guides and may try it when I find the time). Is there a way to use it as a USB speaker for my PC at work, which doesn't have any speakers. I don't have a wireless network there so that is not an option.
I just want to convert my phone to a speaker with as little work as possible, i. e. plug in USB cable, turn on an app and possibly install something on my PC. Is that possible?
Edit: This could be relevant: http://www.phonearena.com/news/Android-5.0-Lollipop-supports-USB-DAC-audio-devices-we-go-ears-on_id66399
Also there are lots of USB speakers out there. So with my limited knowledge I guess something like this could be done with only the help of an app.

I'm not sure if a USB option is possible but someone please correct me if I'm wrong! This uses the headphone jack so it isn't USB but it is still a wired connection. The following should work but may be a bit flaky. Plug a headset jack adapter to split the microphone and audio input into the headphone jack of your phone. Then wire a standard audio cable into the microphone jack of your phone from the audio output of your computer. Last, download an application that routes the microphone input to the speaker and turn that on. When you now play audio on your computer, it should be sounded from your phone.

Actually that's not a bad idea. There were some negative reviews on that app though. Also I still need the usb cable to charge the phone. Not a big problem, but the ideal situation is only the usb cable :)

OK. I'm not sure if a USB solution is possible but it may be. The negative reviews seem to be down to hardware problems but you could try a different app to do the same thing (of which there are many).

Even though I marked this as answered I feel I need to add that I've managed to do exactly what I wanted with SoundWire and the default internet sharing on my phone as follows:

Install and configure SoundWire on PC and phone.
Share phone's internet connection via USB.
Assuming you already had internet on your PC, you now have 2 network adapters. You need to make sure you are using your old adapter for internet access. As far as I could find to do this you need to change the metric of your default adapter to 1 so that it is the preferred adapter by Windows (Windows 7 in my case).
You can check the server IP by typing ipconfig in the command prompt.
Connect from the SoundWire app on your phone. You get a message that WiFi is disabled, but it still works fine.

Ah yes. This is probably a better solution. Very clever!


text:
How come Android can support 2 apps in split screen but not in background?
I read another question on Ask Different about why apps have to reload when you switch to another app and back, and I think it's the same for Android.
But why does this not happen in split screen?
For instance, when I'm using a ressource-consuming app (pokémon Go for example), of I switch to another app (let's say Whatsapp) and stay a little too long on it, the system will kill other apps (possibly the most consuming first), and when I come back to the game I'll have to face the (long) loading again.
However, I can split the screen while playing, having the game on one half and any other app on the other.

Why is it so different? If the system is capable of running Youtube and Pokémon Go at the same time, why does it kill Pokémon Go if I do a single search on the youtube app when not split?
If the system "locks" Pokémon Go and kills other apps when in split screen, is there no way for me to "lock" it too in normal mode?

On Android, only 1 app can be in the active (or "resumed") state, but when the app is still visible but not currently the active app, it will be in the paused state.
So when you use multi window, the app you've interacted with last will be the active app, while the other app is paused.
If the app is no longer visible, it will enter the stopped state. In the stopped state, the elements on the screen will still be kept in memory, but if other apps require more memory the app might get killed, destroying the data causing the screen to reload when you come back to it.
If you'd like to learn more, there's a guide to understanding the activity lifecycle here. (An Activity is just a single page in the app)

Ps. This is my first answer on stack exchange ever. Let me know if I didn't follow some rule.


text:
Xbox 360 wired controller isn't recognized in Android 6.0 (BQ Aquaris M10)
This weekend I decided to add the keylayout for an Xbox 360 wired to be able to use it on Android, because now it just only blinks when I connect it.
I searched in the site about other people that could have the same problem (because the tutorial in the internet about only plugin the OTG cable in, and that's not how things go normally), but neither of then could illuminate me.
So far:

OTG cable just works fine (I used a pendrive of some years ago, so...)
The Xbox 360 wired controller is just a normal one like this (also, it is about 5V and 400mA, maybe the tablet cannot give that much power support? Personally I doubt this, as the ring-shaped connection LED can blink)
I created the required vendor files (Vendor_045e_Product_0719.kl, Vendor_045e_Product_0291.kl, Vendor_045e_Product_028e.kl and Vendor_046d_Product_c219.kl are the names I finded so far), setted its permissions (644) and restarted the tablet. The content is the same in all of them:

`
# Copyright (C) 2011 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# XBox 360 USB Controller
#

key 304   BUTTON_A
key 305   BUTTON_B
key 307   BUTTON_X
key 308   BUTTON_Y
key 310   BUTTON_L1
key 311   BUTTON_R1
key 314   BUTTON_SELECT
key 315   BUTTON_START
key 316   BUTTON_MODE
key 317   BUTTON_THUMBL
key 318   BUTTON_THUMBR

# Left and right stick.
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
# This confuses applications that rely on the flat value because the joystick actually
# settles in a flat range of +/- 4096 or so.
axis 0x00 X flat 4096
axis 0x01 Y flat 4096
axis 0x03 Z flat 4096
axis 0x04 RZ flat 4096

# Triggers.
axis 0x02 LTRIGGER
axis 0x05 RTRIGGER

# Hat.
axis 0x10 HAT_X
axis 0x11 HAT_Y

`
So I decided to see what the log was saying. I did a logcat and then...
u0_a81@Aquaris_M10:/ # cat /sdcard/my-log-file.txt | grep Microsoft
01-20 16:03:04.340   731  1018 D UsbAlsaManager: deviceRemoved(): Microsoft Corporation Controller
01-20 16:03:07.971   731  1018 D UsbHostManager: Added device UsbDevice[mName=/dev/bus/usb/001/005,mVendorId=1118,mProductId=654,mClass=255,mSubclass=255,mProtocol=255,mManufacturerName=Microsoft Corporation,mProductName=Controller,mVersion=2.0,mSerialNumber=15E8D53,mConfigurations=[
01-20 16:03:07.971   731  1018 D UsbHostManager: UsbInterface[mId=3,mAlternateSetting=0,mName=Xbox Security Method 3, Version 1.00,  2005 Microsoft Corporation. All rights reserved.,mClass=255,mSubclass=253,mProtocol=19,mEndpoints=[]]]
01-20 16:03:07.993   731  1018 D UsbAlsaManager: deviceAdded(): Microsoft Corporationnm:Controller
01-20 16:03:33.424   731  1018 D UsbAlsaManager: deviceRemoved(): Microsoft Corporation Controller
01-20 16:03:36.930   731  1018 D UsbHostManager: Added device UsbDevice[mName=/dev/bus/usb/001/006,mVendorId=1118,mProductId=654,mClass=255,mSubclass=255,mProtocol=255,mManufacturerName=Microsoft Corporation,mProductName=Controller,mVersion=2.0,mSerialNumber=15E8D53,mConfigurations=[
01-20 16:03:36.930   731  1018 D UsbHostManager: UsbInterface[mId=3,mAlternateSetting=0,mName=Xbox Security Method 3, Version 1.00,  2005 Microsoft Corporation. All rights reserved.,mClass=255,mSubclass=253,mProtocol=19,mEndpoints=[]]]
01-20 16:03:36.951   731  1018 D UsbAlsaManager: deviceAdded(): Microsoft Corporationnm:Controller
u0_a81@Aquaris_M10:/ #

There you can see that the vendor and product IDs are different (1118 and 654 respectively), so I tried to make another vendor file (Vendor_1118_Product_654.kl), setted its permissions, and restarted. But keeps the same. It is supossed to let you navigate over it, selecting apps and also, but nothing. I also tried playing Asphalt Nitro (looks like those are some of the games with support for controllers) with no luck.
It's my first time into Android, and so far all good tutorials just say to copy those vendor files, set their permissions, and then restart. But for me it isn't working.
My Android's version is 6.0. I don't know if you need the kernel' and compilation number, but tell me.

did you ever manage to clarify what was going on here?

Not really sure, but for all I searched in the web at that time and a few debugging, looks like it just doesn't have the driver or wathever to recognise the controller (keeps in a type of infinite recognition loop)

Thanks, I've been debugging and making quite a lot of changes on Android 5 and 6, and even though all settings seem to be right, none of my 3 Xbox 360 controllers are recognized either.

I don't remember well, but I think the same happens for Xbox One controllers. About the settings, yes, when I debugged I also saw that the configuration files were right and should detect them, but it just don't

Thanks, so weird... it doesn't make much sense, as there are not obvious errors anywhere. I'm asking around in some forums, I'll let you know if they get back to me (in case it's a similar issue and you're still interested)

I'm no longer interested, but an answer explaining it and referencing where did you get the answer from will be helpfull for others


text:
USB DAC not working with Galaxy S9+ on Android 9
I just got a USB DAC/AMP for my S9+ and I can't get any audio to be sent over USB.
Things I've tried:

Updating from Android 8.0.0 to Android 9
Confirmed the cable is OTG
Used Included OTG adaptor with DAC/AMP's included cable
Confirmed Setup works on friends Galaxy S8

When connecting the DAC/AMP to my S9+ it recognises that the USB device is connected but when I tap to change the USB settings it says that the USB connection is being controlled by the external device but when I tap to switch it to being controlled by the Phone is says "Couldn't Switch" and the DAC/AMP switches off because the connection has been refused.
When connected to my friends S8 it worked straight away no need to change any settings

How to enable USB “Audio Source” option on Android 9+?

I found that turning on Hardware Acceleration in Developer Options fixed the issue.


text:
authorization required
I can't access play store and when I attacked in war in my clash of clan it disconnect.. by the way the error message when I access play store is authentication required... please guys help me... I already reset my tablet.. clear data play store and uninstalled updates and remove and re add my Google account but nothinng work... when I tried to sync my Google account sync error... I provided all the things I did.. any immediate response are highly appreciated.... please guys help me

Just one thing to try: change your Google account password online and then sign back in on your Android device.

i already changed my password

OK. Sorry, I'm not sure what to try then...

thanks for the advised thou... by the way newly created accounts are working

Newly created accounts?

i mean,, i just created a new account and it sync fine, i can access play store and play clash of clans fine

Glad to hear it! Sorry I couldn't help.

ah... even google team doesn't reply at all,, i hope my gmail will sync again.. thanks again ^_^


text:
Edit PDF from Google Drive
I'm trying to use Google Drive to manage my PDF files. I want to edit them in my Android, possibly using Adobe Acrobat, and I need that as soon as the PDF editor saves the file Google Drive sync the new version of it. I'm using Android 6.0.1 and Drive 2.4.181.13.40 (wow)!
I have been doing that using Dropbox, and it just works. But it seems that Google Drive stops monitoring the file as soon as I open it using any other App. Can't I set Acrobat as a "PDF Editor" for Google Drive files?

If that is possible depends on the Google Drive app. In difference to Windows where every app can access all your files this is different on Android. Therefore it may be that Google Drive just sends the data to the PDF reader app and has no file to monitor...

Yeah, I remember when they've changed this permission thing. I do agree with you about this being a Google Drive matter... Even more because I just tried using Dropbox's "Open with..." and it works!

This has nothing to do with permissions. It is just how the developers implemented the call from Google Drive App to the PDF reader.


text:
All I need to know about image and video resolution, size and quality in my smartphone
About Images
My android smartphone captures images of resolution 4160 x 3120 px (horizontally) with its 13 megapixel rear camera. The image size is usually around 5 MB which is obviously hard to upload on Internet and share it via Whatsapp especially if we talk about slow Internet connection. Moreover it consumes a lot of precious storage space in computer, mobile, SD card etc.
Therefore, I resize images of above resolution to 1366 x 1025 px in my computer using some image editing software. The resized image becomes of size around 400 KB which is very much smaller than that of original image. But will it reduce image quality as well?
Additionally I am wondering about one more thing - What If I shoot a picture initially with resolution 1366 x 1025 px? Will it's quality be the same to the computer resized version of bigger resolution image? To make you guys more clear, here it is:
Original (JPEG)         Resized (JPEG)     Quality                                      Size

4160 x 3120 px  =>      1366 x 1025 px      Low/High/Same?                              400 KB

1366 x 1025 px  =>      No Resize           Low/High/Same to above resized version?     ?

About Video

The 10 seconds duration video recorded in SD (720 x 480 px) format is around 3 MB.
The 10 seconds duration video recorded in HD (1280 x 720 px) format is around 18 MB.
The 10 seconds duration video recorded in Full HD (1920 x 1080 px) format is around 25 MB.
The 10 seconds duration video recorded in 4K (3840 x 2160 px) format is around 55 MB.

Same situation arises for uploading and sharing video over internet. Also the storage problem too. So if I compress 4K or Full HD video into HD format then will it reduce video quality? Also how much HD compressed version of 4K and Full HD formats will differ in terms of quality as compared to original HD version without any compression?

A really important factor in determining the file size is the format in which the image is saved (e.g. JPEG, PNG, BMP, RAW etc.). Can you please add the file formats to your table for both the images from your phone and the images after processing with your computer?

I think this is more likely to be well answered on [photography.se] than on here. But in short, the benefit of taking in higher resolution is that you have much more detail before it's resized (I'm not talking about compression, it's a different thing)

@famdekk, I updated my question. Picture file format is JPEG.

@AndrewT., right, i was not aware of that sister site of stack exchange actually. OK, I'll ask this same question at there too. Btw, will original low resolution version of image will have the same detail as resized version of bigger original image?

Personal opinion. Resizing original ones is better unless you need the picture for nothing other than uploading. With the original picture you can do various tweaks and save, but you can't "upscale" a small one.

Ok @iBug, I understand but what do you mean by various tweaks? Did it also include printing? I mean resized version of image will not give true output after printing but high resolution will certainly.


text:
How to protect my Wi-Fi password from being displayed by Android phones when sharing it with QR code?
I would like to know if there is any workaround to protect or hide my TP-LINK Wi-Fi router password from being displayed on phones using Xiaomi (Redmi) phones.
If we go to Wi-Fi in a Redmi phone and tap on previously connected Wi-Fi, then the phone allows us to share the Wi-Fi network by scanning QR code by some other phone or the same phone.
And if I scan this QR code with any other phone, then we can easily see the password. So how can I protect my Wi-Fi password?

Just a note, but the standard QR format for Wi-Fi automatically includes the password in plain-text. So I assume what you really want is more like, disabling this sharing feature for a specific SSID instead (if it's even possible)?

I just want to protect my wifi password so that it can not be detected by any phone (QR code). Is there any option in TP LINK?

The QR code is generated on-the-fly based on the format above by the phone, not the router; the router config doesn't have anything to do with this. The practical solution is to totally avoid sharing Wi-Fi config using QR code. The extended (and research needed) solution is to find if it's possible to disable/protect this feature using password systematically...

Is access control an acceptable solution? (Asking the general public as well as OP) Limiting access through your router to only allowed, trusted devices wouldn't protect your "password" per se, but would prevent unauthorized clients from accessing the internet and your network. (which has the same general effect as limiting your passwords share-ability right?)

What you want is to give your friend the key so he can use it the way you intended. But also not give him the key, in case he tries to use it in any other way. This is simply not possible.

The answer to this question is more general than the specific hardware you referenced in your question, and not Android specific in any way, but since this question seems to arise from time to time I will answer it as best I can so that people can see this isn't "magic" in any way.
The reason this is showing your password is that the QR code for WiFi information stores and transmits the WiFi password in plain text, so that anyone who scans the QR code will have your WiFi password. The QR code isn't something special here: although you can't "read" it per se, any device that knows the standard code used for the QR symbol can read it just like words on a piece of paper. This is just how QR codes for WiFi are done and it doesn't matter if it is a TP-Link, Asus, Linksys, or any other device creating them: the password is in plain text. It also does not matter what device is reading the QR code: whether it's Redmi, Samsung, Apple, Google, Huawei, or whatever, it can read the QR code and display the network name and password in plain text, although some apps might "mask" the password for basic privacy (but they do have the information).
The proper way to handle this security in a home environment is not to give your WiFi password out to your friends, only to your family (or set it up yourself for them, although they may still be able to retrieve the password). And for your friends' or guests' use, have a separate SSID with a simple password that is setup to only access the Internet (commonly called Client Isolation), possibly at a throttled rate. I don't know about TP-Link, but many companies like Asus have an app for your cell phone that can very quickly allow you to enable a guest WiFi network for a certain period of time (say 4, 24, 72 hours) then automatically disables it. This example is useful for friends who are over for dinner, the entire day, or weekend perhaps. Some people, myself included, just enable a guest network with a password all the time, but this network has client isolation (users can only access the Internet) and it is throttled to about 1-2% of my ISP speeds (they have 5Mbps down and 500Kbps upload to use) and I change the password 3-4 times a year and put it on the fridge. None of these are perfect answers to security, but they are usually good enough.
Otherwise, if you are giving people access to your network, you might as well just give them the WiFi password... Once they are connected to WiFi it is largely the same as if they plugged into your network with a cable and can access everything, so having physical access to the network and having the WiFi password are essentially the same thing. Besides, it is fairly easy to change the WiFi password later if needed to restrict access. It also isn't a bad idea to change your WiFi password on a regular basis, once every 30-90 days or so, so that if the password is out there, it cannot be accessed later if things change, like your friend for whatever reason is not your friend any longer.

So in brief, conclusion is there exists no proper technical solution for my this problem. It's very strange and ridiculous that technology has improved so much but we don't have any robust technique for this!

@user3779493 it might be better if you can think an idea on how to improve this technology... 1) the purpose of Wi-Fi QR code is to conveniently share Wi-Fi config for the other devices to connect, and they need the SSID and password. 2) if other devices have connected to that Wi-Fi AP, and if those devices are rooted, then they also can retrieve the Wi-Fi password stored locally on their devices.

@user3779493 Technology is there. You can have a more secure system with every user having his own username and password. But if you choose a simple one password for everyone then when giving it out you have to reveal it. That is the nature of a single password. The guest's phone has to get the password in a readable form, be it QR or a simple text or your mouth telling it to your guest. You can offer the guest that you will fill the password for him on his phone.

@user3779493 Of course more secure solutions exist, but they are not as simple as having a single generic passcode. Enterprise organizations use them all the time, such as WPA2-Enterprise (Radius) or 802.1X where the user does not need a "wifi password" at all, but uses other credentials such as a domain username/password or installs a specific certificate (a file) in the device manually. These are generally not intended for home use though, this is why guest networks (sometimes duration specific) are built into modern home routers. Is the technology there? Yes, but there is no demand for it.

@user3779493 I would also advice caution about entering the credentials for someone in their device, there is absolutely no security in that... Anyone with minimal Google search skills could recover the password. The other thing to remember is that once it's entered into say a mobile device, this information could  also be backed up to the user's cloud account such as Google, and every device they add they account to would immediately have access to your network and password. Again, this lends to having a secure guest network for such purposes where you can limit the time and password use.

@user3779493: It's not ridiculous. The network layer is not access control, ever. If you're using it as such, you have serious problems; any compromise of any of your devices gives access to whatever is treating the network as trusted. This may include "compromises" that aren't even native code execution, e.g. just javascript running in a browser on one of your devices. Always treat the lan no differently than the public internet.

The short answer to this question is you can not stop anybody that has the WiFi password from sharing it. Which is exactly what the phone is doing when it generates the QR code.
If you want to prevent users of your network from sharing access with others then you have to use something other than the default password WPA to secure the network. There are a number of possible solutions

Use MAC address white lists, this means that only known hardware will be allowed to connect even if they have the password (MAC addresses are easily spoofed with laptops, not sure if it's possible without jailbreaking a phone)
Used WPA-TLS, this uses individual certificates for each user, once installed on the phone there is no way to export the private key so no way to share with others (it is possible to extract keys on some jail broken phones that do not have hardware secure elements)
Use a captive portal and require a second password that changes regularly (this could be from a 2fa token only given to authorised users)

This list is not complete but should give you some options to look at.

MAC address whitelist/blacklists are tough now days... MAC address randomization is being built into devices for privacy purposes, my Pixel phone has it. https://source.android.com/devices/tech/connect/wifi-mac-randomization and the other methods are often hardware dependent, not all home networking equipment can do supplicant based authentication, although most can do a guest network with captive portal, I don't see the point of the captive portal if it is a unique SSID anyway, unless you need people to accept T&C to indemnify yourself if they do something malicious.

Mac address randomisation is only used when searching for a SSID, the device's real Mac address is still used for the actual connection. The captive portal allows you to add a secondary layer of authentication which can be easily changed, it has nothing to do with indemnity

Good to know, thanks for the info!

@hardillb At least on my Pixel 3a, it's an option in the settings which MAC to use when actually connected, and random is listed as the default.

You can have a dedicated guest SSID (if your router supports it). This can separate guests from you to some degree, depending on router capabilities.
If you don't want give the guests permanent access, you can change the password time-to-time.
If you want to go further, you can look at WPA2/WPA3 Enterprise. This allows better access control. However, you probably don't want to do this on your home Wi-Fi, because it is too complex to set up and you might need a better (and more expensive) Wi-Fi router for that.
For explanation why QR code does not hide the password see @acejavelin's post.

I have a second router, just a small cheap one, connected by cable to the main router. They have different wifi networks and different passwords.
I give my friends the password of the second router only.
I can change it anytime easily. Or disconnect it.
I find its an easy and effective solution.

This is actually a terrible solution... You are giving everyone on the second router full access to everything on the first router's network, and no one on the first router's network can access anything on the second. Unless you have client isolation on the IP address assigned to the second router...

Who said I was giving everyone access? You? I sure didnt. I can configure it so they dont have access to each others networks. Seems safe enough.

If router 2's internet port is connected to the LAN of R1, all anyone on R2 needs to know is the IP address scheme of the LAN of R1. To R2, your R1 LAN subnet is the Internet, so they can access everything in it as if they were connected directly to it. Simple IP routing says so unless you have made some very specific changes not common in home routers. For example, if my IP on R2 is 10.0.0.10 and your printer on R1 is 192.168.1.50, I can access that directly because R2 will happily route to that device as it knows exactly where it is. Your R1 LAN however knows nothing of 10.0.0.10.

Depending on your router you can configure it so that they are not showing each others networks.

authors: Vladimir F Героям слава


text:
Play store show only insufficient storage only after downloading
I have galaxy y dous .When I download apps from play service it shows insufficient storage only after download completes.After that even when I remove some app I have download app again to install.Is there any way I can prevent it .Or is there any way to get the apk from first download itself.
Can I get the APK on first download so that I can avoid downloading same again and again until it says memory available.

possible duplicate of Google Play: Error downloading app - insufficient space

This question has been asked many, many times for many, many devices. Please do more research to find a solution before posting a question that has been asked hundreds of times before. Thanks!

And for a starter: as @paulmz has pointed out, this question pops up multiple times a day (at least it feels like), so we've setup some first-aid in our insufficient-memory tag-wiki which should help you. Looking for "prevention", a good reading should be What can I do to manage my phone's internal storage?


text:
Ability to disable SIM card (at best periodically)
I don't like the thought of being tracked via my cell phone. Thus I am looking for an easy way to disable my SIM card. I would like a way to automatically turn the SIM on every n minutes to check for calls, etc, and afterwards turn it off again. Is there a way to do this?
Edit: I am aware of the fact, that I would miss calls and mobile data would be disabled, too.
One can disable the PIN of the SIM, so it could be turned on automatically.

I imagine you could use Tasker to activate/disable airplane mode every n minutes.

Which Android version and device are you using? As GiantTree noted, using airplane mode  or turning off the radio periodically would achieve the goal but in any event, if the Android is above 4.2, then root access is required.

If you kept turning it off, you would miss most of your calls, unless they luckily come in the few seconds you have it on, so it wouldn't be practical.
Besides, every time you enable the SIM card, you have to put on your PIN code, so you either disable it (bad idea!) or you keep typing it in every minute to get the SIM card working.
And it also would mean no mobile data, by the way, so no, I don't think such app exists. You can always keep switching airplane mode on and off, but that only solves part of the problem.


text:
Android 5.0.2: Windows 10 does not recognize it in USB storage mode
I bought Prestigio MultiPhone 3504 Muze with Android 5.0.2. When I connect it to my PC with Windows 10 installed, I can't find the device in explorer.
How to connect my phone to PC?

Did you try searching about the issue on web? You can save us the trouble by mentioning the type of solutions you may have attempted so far?

@Firelord yeah, I finally connected  it by choosing as media device option. But I hopped to delete all mobile contacts (sync from Google) using windows exploerer. I suppose to do that I need to connect my phone as usb storage, right?

If you want to manage your contacts you can do that directly using your phone's Contact app or by visiting https://contacts.google.com for managing your synched contacts.

@Lucky I want to delete all contacts synced from Google

You can do that in your phone itself. Just customize the contacts to dissolution only the contacts stored in the phone. And stop syncing your contacts from/to Google.

@Lucky I've already stopped syncing from Google. But it imported about thousand contacts. How to delete them all at once?

For your device to be shown as USB storage you need to set MTP as your usb-computer connection option.
Settings - Storage - Press three dots - USB Computer connection - Select Media device (MTP)
Now when you connect it to your Windows 10 PC you will be able to see the device's storage.

All you need to do with new windows 10 not detecting Android phone is, install below two KBs and restart.
Step1.  install: 'KB3010081' ---> https://support.microsoft.com/en-us/kb/3010081
Restart
Step 2. install: 'KB3099229'---> https://support.microsoft.com/en-us/kb/3099229
Restart
And you are done. Open My computer and you will see MTP logical drive in there.
After one more reboot, you may see your phone model/ make as drive label.
Thanks and enjoy!
Rupesh Diwaker

authors: Мария Арнаудова


text:
Why a system app disappears unless updated?
I happened on lollipop 5.1.1 and to one or two app at a time, for some reason the said app just won't show app in application list(and i can't use it)... ahh i can still see it in system/app or system/priv-app
When i attempt to reinstall the package manager behaves like am updating it and i can now use it(surprisingly my data and settings are all there as if i was just updating).
But again if integrate update into system using link2sd or manually move the app files from data/app to system/app or system/priv-app and fix permissions, the app disappears again...
Please help, i really find it pointless to have an anti-thief app on data/ (everybody knows how to reset an android nowadays)..
I had an issue first with "google play services" on Sony C3 (didn't mind that then and decided i wont be integrating its updates to system) and now "avast anti-thief" on Samsung note 10.1, the devices have the same version of busybox installed and are both on stock android 5.1.1.

So the app disappears and doesn't run? Is the ownership set?

Rebooting after integrating should work.

Ni i have tried ut

Yes @Aoron Gillion the ownership matches other applications in there

Manually moving the app's files isn't a way to make an app into a system app.


text:
changing cyanogenmod dialer behavior: screen goes blank
I updated my Samsung Galaxy S4 with Cyanogenmod 12.  Phone is Sprint SPH-L720 dual band.
When I make or receive a call, when I put the phone to my ear the screen correctly becomes blank.  When I move it away from my face, however, it stays dark.  This thwarts any attempt to hit buttons, such as speaker phone or "press 1" for a menu option.  The screen returns once the call completes.
As I recall, on the stock ROM with the phone, this sort of behavior could be configured with options, but being new to cyanogenmod, I have not found such options.
Regrettably, "cyanogenmod dialer" searches only find things to install new dialers.  So I must rely on your expertise.  Are there options I can change?  Do I just not know the trick to get the screen back?  Any advice?
Thank you

The answer is hitting the power button.  If the phone still does not wake up, a second press wakes it up.


text:
How to customize android operating system of my smartphone?
I'm wondering how can I customize android operating system in my smartphone? I have LG L90 D410 smartphone. It has Android KitKat 4.4.2.
Like we customize Windows 7 (for PC) by slipstreaming it using RT Se7en Lite or nLite software. We decide which software or updates we want to add or remove to/from the installation disc (iso file). Similarly we have nokia theme studio s40 for customizing symbian s40 nokia phones.
In the same way, do we have any Windows based software which can customize/configure Android operating system so that I can decide what apps will be bundled in the KitKat and what built-in apps (unnecessary factory apps) that I no longer need can be removed to save space and avoid cluttering. Is there any GUI based software available in the market which can enable us to tweak the android phone the way I want and put full hold on it?
EDIT
Ok guys; I am willing to root my phone from very beginning but don't know how and where to start on. My phone's warranty has already been expired so no need to worry about it. But you didn't tell me about any software or appropriate article though which I can start the process. I already knew the phone needs to be rooted before any tweaking. But how to and what's next. Any subject oriented stackexchange post will be very helpful too.

Check out this XDA Developers subforum: http://forum.xda-developers.com/lg-l90
That's the general discussion forum for your phone, and you can find lots of fun stuff there including mods, themes, guides to root and do other things, custom ROMs, kernels, and more. If you want to play with or change your operating system or its features in any way, XDA is the place to keep a lookout in. But make sure you read posts thoroughly to make sure that you know what you're doing and so that you don't end up breaking or bricking your phone.
As for your specific request, this thread in the L90 forums will get your phone rooted quick and easy as long as you follow the instructions well. Make sure you get ADB and download all the files prior to starting the process, and also, please don't jump into it without making a backup.
Good luck!

Ok thanks a lot for those links. I will look into them.

No, you can't remove the stock apps from your phone, you'll have to root it first.
But when you do, you'll be able to not only remove apps you don't want or need, but even always use the newest Android version (even if it isn't even officially supported from your device), install new, custom operating systems and much more like restricting permissions from apps you don't want to give them but still use them. I'd recommend it to you, although many manufacturers don't like that and void the warranty if you root your phone.
How exactly to do that is device-specific, you'll have to do some googling. And, if you decide to root, always make a full backup first! This way if you accidentally break anything, you'll be on the save side.

always use the newest Android version - that is, when someone has developed one for your particular device. L90 does seem to have CM13 available for it (link) which is a good sign.

Unless you've rooted your device,you can't absolutely remove built-in apps on your android phones,but you can simply disable them through settings>apps.


text:
unable to copy a certain file
I am unable to copy a certain file. At first I tried using a cloud share app, then USB file transfer, then ADB, then local file browsing apps, finally a terminal emulator. All fail. I can see the file and the app that created it can partially interact with it, but I cannot copy the file, permission denied. Phone is rooted. This is a large file created by TitaniumBackup. It's large because the backed up app has a lot of data, about 4 GB worth. I can copy all the small files that Titanium creates during its backup process, including the apk and properties files. And I can rename the big file, even delete it, just not copy. Even Titanium itself can delete and restore backups but not upload to the cloud using the built-in function to Sync to Google Drive. I am thoroughly confused.
I don't think it matters but this is a rooted Pixel 5 with stock ROM.
-EDIT- responding to alecxs
adb: error: failed to copy '/sdcard/TitaniumBackup/ws.clockthevault-20201202-212154.tar.gz' to 'vaultcopy.gz': remote open failed: Permission denied
ls -lZ
-rw------- 1 media_rw media_rw u:object_r:fuse:s0

Before chmod: -rw------- 1 u0_a256
After chmod: -rwxrwxrwx 1 u0_a256
But pull still fails:
adb pull /data/media/0/TitaniumBackup/ws.clockthevault-20201130-045341.tar.gz vaultcopy.tar.gz
adb: error: failed to stat remote object '/data/media/0/TitaniumBackup/ws.clockthevault-20201130-045341.tar.gz': Permission denied

Where are you trying to copy it to? If it's to a SD card and the card is FAT32  you can't copy a file larger then 4GB.

I attempted multiple targets, including cloud, my PC, as well as just the same folder where the source file is located /storage/emulated/0/TitaniumBackup/

chmod won't work on /sdcard thats expected. but maybe Titanium is writing files to /data/media/0 which is ext4 where any file size is allowed. but you try to create a file bigger than 4 gb on /sdcard which is most likely fuse mounted (even if it's same location). fuse probably doesn't allow files bigger than 4 gb (because fuse is usually used for fat32). but that still doesn't explain why adb pull fails?

@alecxs chmod does indeed change the permissions to the file when accessed within /data/media/0/TitaniumBackup - I can see the change with the ls -lZ
But even then I can't copy the file out, see edit on the post.

https://android.stackexchange.com/q/91900

assuming the issue is caused by file size not respecting fuse-mount 4 gb file size limitation, this workaround should work
either move the file to another ext4 location which has adb permissions
adb shell mv /sdcard/TitaniumBackup/ws.clockthevault-20201130-045341.tar.gz /data/local/tmp
adb pull /data/local/tmp/ws.clockthevault-20201130-045341.tar.gz

or stream the file content over terminal stdout (linux only)
adb shell su -c "cat /data/media/0/TitaniumBackup/ws.clockthevault-20201130-045341.tar.gz 2> /dev/null" > ws.clockthevault-20201130-045341.tar.gz

you are a genius, dude. I was able to copy the file into local/tmp and then adb pull it to my PC. While I was doing that I was questioning in my head how the file was even created in the first place. Creating a file size larger than the file system allows should not be allowed. So while it is in a way a bug within Titanium, as you say, the file system should not allow this to happen and Titanium should be notified of failure to create the file. Otherwise it thinks it succeeded. I will reach out to Titanium, though. Thanks for your help, man. I was going freakin nuts!

the thing is, Titanium doesn't respect rules. it should use only /storage/emulated/0 like other apps (where this could not happen) but it is kinda 'misusing' it's root permissions writing directly to /data/media/0 instead (where it is 'allowed')

very interesting. I messaged Titanium devs, we'll see if I hear back. This might be a unique case they haven't seen before since most apps don't have over 4GB of data.


text:
Force Android screen to remain off until power button is pressed?

I run Android 5.0.1. I'm finding the screen a bit iffy, in that it doesn't remain off until I press the power button, but comes on randomly. There are plenty of apps to make it come on without the power button using other methods, but I want it to remain off until I press the power button.
Somehow, say I turn it off, then go to put the phone down on the table, but it comes on during the process. I would like to avoid that. I haven't been able to find any settings to accomplish this. Anyone have any ideas?
EDIT: I'm now finding that the issue only happens when the device is plugged into its charger. When standalone, the problem does not occur, only when plugged in.

I have HTC One M8 on Verizon

Do you have a custom rom installed? There is a post on XDA, someone with the same issue. There was an app called "ROMDashboard Developer Tool" installed on their phone and apparently that was the issue for this user.

No, no custom ROM. It's all stock. Not rooted or anything.

authors: Георги Узунов


text:
How to remove pattern lock without data loss?
I have intex aqua super mobile with android 5.1 os.
I aslo try google recovery find my device method but that not working.
How to recover pattern lock without data loss?
Device is not rooted.
Developer mode is disabled.

Have you already checked with our locked-out tag-wiki? If not, please do so. The first question linked there has a full list of approaches. If nothing of that helped, we will need more details – eg. is the device rooted, is USB debugging enabled, what have you already tried and where did you get stuck.

@Izzy i already check this. But I unable to resolve that issue. Because in my phone only pattern lock is enabled and other password i.e. Pin password is disabled. Also Google's email recovery find my phone also not working. I also try to recover my password by locking it by find my phone google recovery but there is no option for forgot password menu.

The entire question I've mentioned is about "plain pattern lock", and there are several additional approaches mentioned – but AFAIR they require at least one of root or USB debugging (or both) being available. I assume you haven't unlocked your bootloader? If you have, there would be a chance via booting a custom recovery from an image (or flashing it).

@Izzy hu how to create image of my phone is there DD command is useful n or not? Also when I connect mobile to computer USB data share also disabled. And USB only function as charger. I think After creating image flashing is harmless...? How to create image of android phone in my laptop Ubuntu 16.04 os installed.

Yes, dd would be the tool of your choice for creeating images of your device's partitions. Trouble is, how will you run it? I could recommend you a tool creating the appropriate scripts which you then just would need to run – but with USB debugging disabled, that wouldn't work. I assume you've neither unlocked your bootloader, so booting a custom recovery isn't an option either.


text:
Is there a way to automatically turn off the wireless hotspot once I get back home?
I use the wireless hotspot function daily as part of business, providing a wifi network from my Nexus 7 tablet (Lollipop, oem) to other business-essential devices.
When I get back home (alternatively, within range of my home Wifi network), I'd like to have the hotspot automatically turn off, and the tablet to use the wifi network.
Currently, if I forget to turn off the hotspot, I can inadvertently empty or overuse my mobile data, which is obviously quite costly.
So, is there a way to have the hotspot turn off automatically (but not using a timeout) based on location and/or wifi availability?
I would prefer non-root, non-flash-another-ROM solutions but am open to these as well if they're more elegant.
//edit: An additional problem is that work and home are ~300m apart in a rural environment, so geolocation is flakey and the cell tower doesn't change. Wifi presence is the only good discriminant I see...

You could try using Tasker to do this automation.

On an Android 4 phone, I could configure the hotspot to turn off when unused for N minutes. So it turned off automatically while driving, and I could enable it back very fast. Incredibly convenient. Such a regression they removed this feature. Now, to avoid accidently burning my mobile data, I have to set my laptop to not automatically connect to the hotspot (in addition to switching it on the phone), so it adds a lengthy step and is quite annoying…

I have just enabled "turn on wifi automatically" on the phone, hoping that when I'm back home, it connects to the home wifi, which implies turning off the wifi hotspot. We'll see if it works as expected. By the way, to enable this I was forced to select a "network rating provider"… why do I have to let google control this, instead of letting me select my networks myself…

So, I have tried it, and stupid phone doesn't automatically connect to the home wifi if the hotspot is turned on. So it doesn't serve my use case. These phones annoy me more and more.

Other than MacroDroid which is already covered by 3DDario here, you can consider any of the following apps -- none requires root for the goal.
Tasker (paid; 7 day free trial).

Profile: Any of the following would do:

Location: choose the location
State → Net → WiFi Near → fill the details -- I'm unsure whether it would work if the hotspot is enabled.

Task → (Action) → Net → WiFi Tether → Off
Since the final goal is to connect to Wi-Fi at home, another action can be Net → WiFi → Set → On.

Droid Automation (free/paid) may also work here.

Trigger: Location area (Geofencing - Beta) →  fill the details
Task: Networks → Wi-Fi → Enable

The dry run worked for me.

Condi (free) also worked in my test case.

Action:

Connectivity and Sensors → WiFi Tethering →  Off
Connectivity and Sensors → WiFi  →  On

Condition: Location → select location

Done!

Note that as per my experience, Tasker's Location profile is not 100% sure-fire. Wifi Near should be more reliable to make this work.

Note that Tasker's WiFi Tether action may not work with Android 7/8+, so you might need to use this instead: https://play.google.com/store/apps/details?id=com.matejdro.taskertethercontrol - you might need root too, depending on the phone.

You can use MacroDroid.
With MacroDroid you can create a 'Trigger' (Wifi state change - Connect to Network your network) and add an ' (Hotspot On/Off). If you want you can also ad a 'Constraints' like "Cell Towers in range".
Sometimes wifi trigger doesn't work. You should select "Cell Tower Change" and select your cell tower (near your home).
This solution doesn't require root and should work on Android 4.0+.
You can also use Tasker (but i have never tried it) or Automate.
sorry for my bad english

Would the Wifi state change even if the hotspot is active? It is my understanding that when the hotspot is active, the tablet won't connect to other networks (because we're in AP mode).


text:
How to remove a single client certificate?
Isn't it possible to remove a single client certificate from a device?
On a Galaxy S6 running 5.0.2 I can remove all client certificates using:
System settings
  Lock screen and security
    Other security settings
      Clear credentials

Or I can delete a single trusted CA certificate from:
System settings
  Lock screen and security
    Other security settings
      View security certificates
        User

However there seems to be no option to remove a single client (non-CA) certificate.

Same problem here. Android separates the certificates into two categories: certificates for "VPN and apps" and certificates for "Wi-Fi". While I can remove single "VPN and apps" certificates, I have to use the "Clear credentials" feature (which clears ALL user-installed certificates, both "VPN and apps" and "Wi-Fi") to remove a single "Wi-Fi" certificate. Very annoying. Just, why? PS: I'm using a Samsung Galaxy S9+ with Android 8.0.0.

It is indeed annoying, same on Magic UI 4.

Just forget the wireless SSID the cert is for and it will delete the cert. I've verified this on Galaxy S7 running 8.0.0 and Note 8 running 8.0.0 as well.

The certificate is not for any SSID, the certificate is for TLS connections in general.


text:
Can I find out what exactly is "android system" traffic?
I'm using Android 4.4.4 CyanogenMOD 12. My traffic is dominated by "android-system" - about half of my data usage is caused by "it" and I have no idea why it transfers data. backup (backup & restore) is turned off. I dont use any Google Service besides the play store (and very seldomly youtube).
All the "android system"-traffic is background-trafic.
Is there any chance (tool/app/whatever) to find out what exactly the cause for the "android system" traffic is?
PS:
- I use AFWall+ and in 3G even most of the system apps are blocked.
- I do not have the "Photos" app

Could it be the account synchronisation?

android system is the core-system it's an API that can be accesed by any third party app on the phone that have the right permissions so it's gonna be difficult to find what is using that data exactly  try disabling  background-trafic under settings > more > data usage  then option and check the "Restrict background data" checkbox

It is too much data in order to be account sync I think - and I disabled all syncing i know.
I'll try the restrict background data idea.

It's possible. I used ARM version of tcpdump command. You must copy that command by hand in /system/xbin/. In shell you ran:
tcpdump -i rmnet0 -w /sdcard2/tcpdump.pcap

After some time kill that tcpdump command and copy file tcpdump.pcap to PC. Then use Wireshark to load tcpdump.pcap file to investigate network traffic.

well, this is all traffic caused by the system, isn't it?
It would be quite hard to filter...

yes, it is. but this is some info than nothing


text:
Why is the global mobile data usage higher than the sum over all the applications?
On my Samsung Galaxy Note10+, the mobile data usage shown via the settings is much higher than the sum of the amounts (given below the global one and the graph) over all the applications. Why?
For instance, on 2020-01-01, it shows 10.20 MB, but the individual amounts for the applications are 576 + 386 + 362 + 283 + 65.12 + 53.13 + 44.76 + 34.35 + 24.85 + 21.33 + 16.96 + 13.56 + 10.25 + 9.48 + 9.45 + 8.91 + 5.41 + 3.54 in KB and 878 + 311 + 179 in B, which gives only about 1.9 MB.
EDIT: This seems to be a bug since after sending a big mail (several hundreds of KB) with K-9 Mail, the global data usage increased as expected, but the data usage corresponding to K-9 Mail is still 179 bytes only!

Aside, I stopped using K9 - use FairEmail, which is far superior in every way and actively maintained

Many Samsung S10/Note10 users are affected by this issue as this can be seen in this thread. So, this is a bug, and there's nothing one can do, except waiting.


text:
One Plus 5 does not appears in ADB
I wish to install an another OS on my OnePlus 5 phone. At least try...
So I follow the various guides on the web, valid developer options, click on "unlock OEM" and "USB debugging". OK. I also install adb as well as android udev rules on my linux desktop. The phone itself is on android 9.
Then when I plug in a USB cable (from the manufacturer), I can get some notifications in dmesg only. Not in lsusb.
So far I can see (in dmesg) the phone plugged in usb only when it's on usb tethering.
And I can never see it in the adb devices list. Nor can I see any prompt on the phone asking me to validate my computer RSA fingerprint.
Someone got a suggestion ?

Just bought a brand new cable. Phone is recognized by the computer and install' is done in the minute.


text:
Make calls from another Android phone over Internet
I have 2 Android phones. First phone is in country A. Of course it has an Internet connection over WiFi. Second phone is in another country B, as me.
So, I need to make phone calls while I'm in country B (over Internet) remotely using the phone and its sim-card, which is in counrty A.
What Android software do I need?

You can use some screen mirroring softwares like Airdroid or Mobizen for Samsung and make the calls from country B using your computer. But you need to configure it before hand. You can login from the same account in your mobile and computer so that you can access it even when they're in different networks

But Airdroid, for example, works only over wifi...

You can sync your Facebook or Google account and sign in from it

From another computer?

Yes. Use your same account to login on both your phone and computer. I think it works that way

and what about Mobizen? Can I do the same with it? And can Airdroid send sound?

I'm not sure if Mobizen works for other than Samsung but yeah. It works in your case.

@MohitVellanki Could you please [edit] your answer and integrate the details from the comments?


text:
Moto G6 audio sending through wrong audio channel
My unrooted, basically stock android decided to stop sending audio through any channels except call audio today. I have not installed any new or unstable apps recently. Symptoms include:

the lower speakers (the ones used for playing music, etc.) are completely nonfunctional.
The upper speaker sounds like I'm in a call all the time. When I am actually in a call, it is nearly silent unless I'm on speakerphone, at which point it's as quiet as any other app.

I have attempted general troubleshooting. To wit, this includes:

I closed all current apps and then tested sound. No change.
I rebooted the device. No change.
I booted into 'Safe Mode.' Problem persisted.
Connection over Bluetooth seems to be immune to the issue. I connected a headset and nearly blew out my right eardrum.

Any suggestions on what the heck is going on and/or how to fix it?
Update:
Appears it was a hardware issue, as it spontaneously corrected itself a few days later.

So basically, I waited for a few days and it fixed itself in the middle of the night. I don't know why. Sorry, future humans!
Given that it both spontaneously started and stopped, that it persisted through multiple restarts, and that it was present during safe mode, I suspect that this was either a hardware issue or it was embedded in the registry.
note to editors: this answer is here simply to successfully close the question.


text:
When phone starts to use adoptable storage?
I've recently set 50% of SD card as adoptable, and everything went fine partition is showed in settings, but phone doesn't use it I have installed some apps and they all went in internal partition not adopted one.
When will phone start to use adopted memory, when I run out of internal?
An also can I use adopted storage to save files for example from chrome since it only uses internal memory it's imposible to download on external?

There isn't any rule which says move apps to SD under so and so condition.
Apps don't move on their own into the ext.SD card (which is now a part of internal storage, since you adopted it). You need to migrate them as described in DiAlex'sanswer here. Also note that some apps ( poorly designed ) after being updated may be
restored in device storage You will again need to migrate them)
You can move app data or store anything (media, files)  if the app can access it ( I am not sure about Chrome as I don't use adoptable storage)
For a better understanding of how memory is treated see Mathew's answer here

one more question does I have to use migrate option from internal or adopted partition because I have that option only on 3-dot menu in adopted partition, on internal there isn't 3-dot menu at all..?

I have LG K350nds (K8). Sorry for bother you I presed migrate on adopted partition and now I can move apps between partitions, thank you.

authors: Једноруки Крстивоје


text:
How to move installed apk from phone memory to sdcard on android 6.0.1 without root
Move installed apk from phone memory to sdcard on android 6.0.1 without root and install new apk to sdcard.
My device is Samsung Galaxy J5 (SM-J500H os updated to 6.0.1). Phone's memory is too small to use install big applications and games. I installed asphalt 8 but cache files are too big for phone memory. What can i do?

Add SD card as adoptable sorage, here is how to: http://www.modaco.com/news/android/heres-how-to-configure-adoptable-storage-on-your-s7-s7-edge-r1632/

Basically, unless your OEM did something very nonstandard, you can't.
Marshmallow has no facility to move apps to the SD card as that feature was removed in favor of adopted storage in the core operating system. In adopted or internal storage mode, the SD card is essentially "adopted" or brought into the internal storage as if it is built into the device. This method is not without drawbacks though, your SD card will become encrypted and can only be read by that device (not in another phone or computer) and it will put significantly more wear on the card which is a concern because SD card storage has a finite number of writes before becoming unusable. Adopted storage is also slower than standard internal storage in general.
Even with adopted storage you don't chose what to move, the operating system does that... And some apps cannot reside on the SD card even with adopted storage.

Is there a way to take a phone that comes with this awful OS "feature" (typical Google "all your belongs to us" totalitarian-behavior) and revert it to Android 5.x, so we can have workable SD-Storage (readable in other devices, separate, etc) again?  My wife got a phone with this on it, and it is also 1/2 the speed of my same-Ram/Cpu phone, that runs on Android 5.x, so there is performance to be gained, as well.

@JosephK Depends on the specific device, there is no blanket answer, but in general OEMs do not support downgrading. You do not have to adopt the SD card, when you insert it you can leave it as External Storage, and it can be read in any computer or device like it always could, the drawback is apps cannot be moved to it.

"apps cannot be moved to it..."  Exactly, so the phone runs out of space almost instantly, making it worthless.  But it's so slow with this version of Android, it's not far from worthless right out of the box.  I suppose saying, "Comes with new Android" (keeping up with the Jones's) sells more phones than, "Doesn't hang for a long time when you do something."  The best workaround we found was to disable all the Google-ware that came on it, which helped a lot (those, auto-updated, had it full without any "actually desired software" installed).

You can't move apps at all without root, but you can use apk editor pro to change the storage to prefer external on other device whose storage is free ,it does not require rooting.
And there is no other way without rooting.

The actual .apk itself is never on the SD card, and there is no need to do that either. The data can be moved (at times only partially) to the SD card.
If thats what you intended in asking, then see if your phone supports move to SD in the settings under applications. If not, you can root (at your own risk) and use Apps2SD or similar apps.

authors: Једноруки Крстивоје


text:
Does MTK Android devices get software updates ever? (LG)
I know that mediatek doesn't share their source code (you can buy it), and what I was wondering is does any MTK device gets updates when newer Android version rolls out, and not just new versions, just does they get software updates? I asking about stock ROM-s made by phone manufacturer. Mostly interested about LG devices.

It may help to read this post on how updates make it to devices. Remember if the device manufacturer doesn't do the work - its up to any community around that device to create updated ROMs.: http://android.stackexchange.com/questions/65557/is-there-a-technical-reason-android-update-story-is-so-bad

@Morrison Chang well this is different you can't make ROM without sources which in case of mediatek will never be published, and mostly their politics where devices don't get updates for example from KK to LP instead of that you have to buy new device.

Sure - devices from Xiaomi are good examples.
Redmi Note 2, released in 2015, still gets stable and weekly development builds of up-to-date MIUI8. Whether the Android version beneath the UI was updated is a question, but that also stays true for other MIUI devices regardless of the SoCs they're using, and you're not asking about Android version updates exactly, either.

Hm, thanks, well when I said that I don't mean on updating android versions I meant on not updating from kit - kat to lollipop bu bug fixes and security updates and such things, which are actually android updates but not strictly just that (well I'm interested in any kind of updates that MTK devices get). I didn't explain well. In case of Xiaomi I think there is just MIUI updates.

Xiaomi did give those devices monthly security patches, though mostly in development builds and usually a bit delayed. Anyway, the point is MTK devices do get major and minor updates, but that heavily depends on the manufacturer you're looking at.

Do you know anything about LG an their deliver of updates to mtk devices? I don't know when they started to use their chip, it is in K series, maybe in Lxx series.

L Bello (MT6582) did not get a single update as far as my search returned. Other even lower-end L devices presumably suffered the same fate. As for K/X series, they started very recently so not much can be said. I assume you want to buy one of those in the future? Well my suggestion is... just don't.

Well I allredy boght one K8 actually, about two months ago. Didn't know anything about mediatek and how things work. It's sad because fon could run Nougat, but probably never get it. And making/porting a custom rom is pain in the ass for mtk devices, it's hard for every phone but this is new level of hard. I think that K10 was LP than get MM but I'm not sure.

authors: Једноруки Крстивоје


text:
Problem with usb connection (MTP)
Hi I have very weird problem, when I connect to PC via USB I get two partitions Internal storage (or adopted depending which one is primary) and external storage, when I open external storage there is nothing not even the folders but when open internal storage there is a files from external partition and internal merged there is folder from internal and external memory, also there is folder called 'storage' with sub-folder 'emulated' with sub-folder '0' I don't get it what gone wrong? One more thing when I paste something in internal partition it goes there the same happens with external partition? I tried clearing cache, clearing data and cache for Media storage an External storage, please help!
This marked as duplicate doesn't help me I've have written that I tried that and it didn't help, I've tried everythimg from answers of question but still nothing.

Possible duplicate of http://android.stackexchange.com/questions/134230/sd-card-not-showing-files-when-connected-to-pc/134235

@acejavelin It's not I've allready tried that and I wrote it in question, read the question before marking it as duplicate and in my case on one partition is showed all files form internal and external.

Please update your question with make, model, Android version and if storage is internal or portable (look in Settings - Storage, is the SD card listed under Device Storage or Portable Storage). Note in the other question referenced, there are additional things mentioned besides just clearing Media & External storage.

@acejavelin you don't understand me, all storages are showed in internal partition (when connected to pc via usb) both device + portable or adopted + portable.

And without knowing more, there isn't much anyone can do to help you. Your statements are confusing and conflicting, you cannot have adopted and portable storage. I requested information that is critical to assisting you and to determine if more information is needed, but you are not providing it.

authors: Једноруки Крстивоје


text:
How to prevent apps to become auto install without user interaction?
In my mobile some app automatically install without my any action. Some times thos apps are auto install even I already uninstalled them, but every time I uninstalled thos apps are automatically install in my phone after few hours.
OS. 5.1
software which automatically install :- Reos message and music.

Please give examples and your OS version, device details

@beeshyams question update. Os.5.1 and Reos message is automatically install


text:
It the any map app which is using google maps APIs but work perfectly without GPS?
As I have searched - everybody asking about OFFLINE maps, but I am asking about maps which can use just simple google maps, but does not ask any permissions to GPS.
Currently original goolge maps are without GPS location permission, but they are not working until I turn ON the GPS. Maybe there is any option to force google maps working without asking any location data.
Usually, I know my exact location (when I am walking) or I can determine it very fast - just go to the road cross and you know your position +/- 50 meters. Then I just want to find the shortest way to location I choose.
I don't need any offline map - it won't save battery. But turning the GPS off - does.
Edited:
Turn on the battery saving is not an option - the vibration will be turned off. I don't use sound for calls (I even don't know what is the current ringtone). But you gave the nice idea - just turn ON the GPS, launch maps (without any permission) and after that turn off GPS.

On my android 6 (DTEK50) is does...

If your goal is to save battery life by disabling GPS, then simply disable GPS. In Settings, set location mode to "Battery saving" (WiFi + Bluetooth, but no GPS). This leaves location services on, but disables GPS. Android will still locate your device using WiFi techniques, but not using orbiting satellites, which takes more power.

Further, I can use Google Maps without location services enabled, at least on Android 8.1. Google Maps asks you to enable location services, but you can just say no.

I have android 6. something.  Actually, I don't need any location services - just direct access to the google maps - but now I have found the solution - just turn on the GPS, open maps, turn off the GPS.

@XuMuK The screenshot for the location mode is shown. This does not affect vibration. "Battery Saving" under the Battery setting menu may disable vibration, but this is a separate setting.

Yes, I understand, it SHOULD not affect, but id does. With battery saving mode ON all vibrations are OFF. Maybe it is my phone/android feature.


text:
Grey on black 'suggestion' text?
My Solution: turn off autocomplete and autocorrect completely, and use a different keyboard.
What option will help me turn off this
strange text that doesn't want to go away in the text boxes of some apps like Snapchat? I'm hoping someone will recognize what this is.

Click image for larger version
Moto X using Swiftkey.
The text appears when the keyboard is focused, and nothing seems to interact with it or remove it. It only appears in Snapchat currently.