text:
How to set the OS to main start instead of the recovery?
I have a Moto E 1st Gen and it got into a loop, so I flashed it, installed TWRP and upgraded to Android 5.1, everything went fine (I guess) but when I power on the device, it starts on the recovery (TWRP) not Android, no matter how many times I reboot. On the other hand I do can access android but by entering to fastboot mode and then selecting normal startup, if I do that, Android starts just fine, but, every time I power off the phone and start it again like that, Android optimizes all apps (as if it were the first time Android is running). My question is, how can I set Android to boot when I power on the phone instead of TWRP? thanks in advance

Flash stock firmware using RSD lite. Download the firmware at firmware.center/firmware


text:
How to uninstall app Nimble keyboard
I installed this myself. But, the app doesn't appear in list of all apps. Tried to search, but it's nowhere to be found! How can I get rid of this very annoying app?

Open the app in play store and uninstall

Did OP download the app from Google Play?

Not sure where you downloaded your file. I just installed this keyboard from Google Play and I'm able to find it on the drawer and in the app list.  You probably got it from a third party market which may contains malwares. I can confirm its annoyance due to multiple ads though.

Was also able to delete it.

source: Stack Exchange

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

sort: votes


text:
Broken Phone - Google Authenticator inaccessible - Switch Internal Storage To New Phone
I have a Snapped phone. (Huawei p8 Lite ALE L02) That has very important google authenticator codes on it.
The only way I seem them as being salvageable is to replace the internal storage from this device onto another device of the same model.
How and where Do I do this. Willing to do anything.
No I don't have backup keys, I'm an idiot

Did you 1. Update authenticator app 2. do backup to Google drive? If so , see this answer

Google codes, or third party apps using Google Authentication? If the latter, sorry you're out of luck. Moving the internal storage to another device is not economical, it would cost several times the price of a new phone, unless you work for or know someone who can do micro electronics repair.

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


text:
Two Honor 9: One gets EMUI update, one does not, how to fix?
We have two Honor 9 ordered at the same time. Both not rooted, one has developer mode enabled.
Recently I realized that the phone without developer mode received the EMUI update from 5.1 to 8.0 whereas the other one with dev options did not.
I tried to check for updates, forced downloading all packages, rebooting etc, no luck.
I don't know whether developer mode may affect the updates but AFAIK there is nothing else special on both phones.
Is there something else I could do (except resetting the phone) to receive the EMUI 8.0 update?

I have seen in forums that clearing Google Framework helps but it has undesirable consequences. Despite this warning , In did that on MiA1 and got the update next day. Another option is using a VPN to log from a different location and that seem to help others but not me

@beeshyams thanks for the hint, from reading this article clearing G Framework is indeed a little harsh since I have quite some apps relying on GCM. I hope somebody has alternative approaches here. The VPN solution is interesting but strange as both devices are in the same location, at least when obtaining updates over wifi.

That's the reason I didn't recommend GSF activity, though I tried despite knowing the risk. Maybe things have changed because lots of people claim on MiA1 forums that it worked and no one is complaining ?! There are plenty of free VPN apps do you can try and see if it helps. But I am clueless as to the fundamental reason, developer options shouldn't be a reason

Though ordered at same time, they may belong to different batches and if it is a staged update that could be the reason


text:
Can't do an encryption on Lineage OS?
I can't do an encryption on Lineage OS. When I start the encryption, my phone restarts. My device is Samsung Galaxy S5.

What version of Lineage is it? Possibly it was just built without encryption support.


text:
Sync Telegram contacts with the phone
I have lost my phone (Huawei Mate 9) recently. Unfortunately, I didn't have any backup from my contact. Now I use a Huawei P8 Lite. I see my contact in Telegram app and sync with my phone, but I can't use the telegram's contacts because they are read-only and I can only see them.
I looked up for a solution on the web, but I couldn't find any solution. Is there any way of using Telegram's contact or backup the?


text:
Root Issue : Rebooted when app is running
I am new to this. I have flashed twrp.img in my phone. Then using twrp recovery , I have installed SuperSU.zip file.
I installed root checker and it shows "device has root permissions". But the problem is , When I am using apps like system app uninstaller (I tried many apps requires root permissions) , when I click uninstall button, the device is rebooted automatically.
Then I tried another app to change system font. When I click change font button ,again device is rebooted .
Simply said, No root required apps are working. Please guide me!!!
Model : swipe elite sense (marshmallow 6.0.1)

Is that SU you flashed systemless?. If that is the case it won't allow you to make modifications to system (which you are attempting to do) unless you make it System root . See this for how. Take a complete Nandroid backup before you do this as a precaution. This explains possibly why you cannot uninstall. Double check in XDA forums for your device if you have flashed the correct version of TWRP


text:
How to share folders on your computer with only one specific android device?
I have marked some folders as shared on the computer to be able to access them on my phone wirelessly using ES File Explorer. That works fine.
However, that makes those folders accessible to every user account on the PC which I don't want to happen. I don't know how to allow only my phone to be able to access the shared folders.
Is there a way?

You need need a password protection level, that allows a specific account to access the shared files, and you can let only your device access the share, whilst  other accounts won't have access. You may also need to disable administrative shares, if the predominant users are admins as well

Which OS do you use on your PC?


text:
SD card formatted as internal storage Recovery Data
I have a problem. I formatted uin SD-Card with a smartphone with Android 6 and asked me to format it as internal memory, I accepted, with only one clause, if I moved the SD on another device this did not recognize it.
Now, I have formatted the smartphone and I reinserted the SD-Card, in the same, only asking me to reformat it so I will lose all the data I have.
How can I recover them?
Through Gparted I noticed that the sd-Card is divided into two partitions.
There is no way to enter the partitions or to recognize the sd at the same smartphone?

I do not think I understood the reason. that is, if I had not restored it to the factory settings, I could recover the key and be able to use it to enter the SD card.
Can not recover the key from the SD card instead of the smartphone?
PS. sorry if I wrote here, I can not find the button to reply.

You can consider accepting the answer of acejavelin by ticking the green arrow next to it , if it fully answers your question.

This question appears to be a  duplicate of How to decrypt Adopted Storage?
in many regards, but if I understand it correctly, the following things happened and one step makes it unique:

You adopted the microSD card as internal storage
You removed it from the device (reason isn't relevant)
While the microSD card was removed, you factory reset (formatted) the
phone
You re-inserted the microSD card after the reset was complete, and
the data is unreadable

If this is the correct summation of your situation, then I am sorry, but your data on the microSD card is lost permanently, and cannot be recovered.
When an SD card is "adopted" as internal storage, it is encrypted with a random encryption token (a digital "key" so to speak) so that data can only be read or written to by that device for security and privacy. Any data recovery attempt of the information on the card requires the encryption token from the device, which is generated randomly when the storage card is adopted, if you formatted the device the token was permanently erased like all other transient device data, and the storage cannot be decrypted or recovered by any known means.
Your only real option now is to reformat the card and start clean, and unless you really need the space as internal, use the card as external (portable) storage.
For more clarity in to why this is impossible, and what is necessary for the data to be recovered, you can reference this question.


text:
are you able to still us a google account after frp
if I bypasss the frp can I still use a google account or do I have to use the previously synced one?

Guess I am confused... If you have your Google account credentials, why are you trying to bypass FRP?

Yes. You can use any Google account after the bypass was successful.
Some bypass methods, especially the one with Google account manager, require you put your own account which will allow you to unlock the FRP.


text:
I'd like to play audio through both the speakers and headphones simultaneously
How would I do this?
one audio stream, output from both


text:
How to get Google to appear when swipe left on home screen?
I accidently turned off the setting that allows google to appear when you swipe left instead of cycling through the screens of apps. I unfortunately cannot now find that setting to turn it back on, even though I have done several searches on the settings app, and opened every setting, have not been able to find it again.
I have no idea what I did to make it turn on, it just came up and I wanted to see what it has done.
I have completed several google searches such as this one prior to my request. However I have not been able to find anything.
Where can I go to find this setting?
I have Android 7.1 on a Nokia 6.

Long press on an empty space on your home screen. Then select the
  settings at the bottom right. Then make sure the Show Google App is
  toggled on.

Credits: Swipe left for Google Now not working?

I had completely forget the settings there, thanks for the help, problem solved.

Check if Google search (with OK Google) is available on the home screen, if yes,
Click on the G icon, which will open the personalised updates (cards), in the bottom right corner click on more (...), which will open a new tab
Here, (top of the screen) if you have multiple email addresses, check if the selected email address is correct. (this was the corrective action taken by me to get back the required feature)

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


text:
Is it possible to make Android Emulator appear as an USB device on my computer?
I know that I can't plug USB devices inside android emulator like a pen drive. But is it possible to make my emulator look like a regular phone connected to my computer? I launched the emulator, activated USB debugging and did lsusb on my terminal but nothing new appeared.
I'm asking this because I want to use Android Studio inside a virtual machine but I need it to launch apps on my Android Emulator which is parallel to the VM. If it appeared as an USB device then I could simply redirect it to inside my VM (it has this capability)
I already tried TCP but I don't know how to make it work for emulated devices: How to do ADB over 'wifi' (actually in the same PC) for emulated device

What's your host OS and your virtualization hypervizor? What's OS of your developer VM? (I guess it is some Linux.)

@v6ak I'm running Ubuntu 17.10.1 on both guest and host, and the virtualization is just out of the box android studio

Try the answers mentioned here: https://stackoverflow.com/questions/18825169/android-virtualbox-shared-folders

@AbdelhafidMadoui as I understood, it'll just share folders. I'd have to install the apk by hand every time, isn't it? It'd not be the optimal solution. Isn't there a way to pass to use TCP or pass the USB?


text:
Disabling completions on Google Japanese Input romaji mode
I'd like to use the latin mode of Google Japanese Input to type English, so that I don't have to switch keyboard between languages, but only switch the mode using the あ/A key.
But the latin / romaji mode has the same completion menu as the あ mode, which is completely useless in English and requires an additional Enter keypress to make the app see the entered text.
Is there a way to disable the completion functionality for the latin mode?

A screenshot might help those that don't use the keyboard, to understand exactly what you mean.


text:
Android only TWRP starts which doesn't load
I've an Samsung Galaxy S7 with Android 7. I tried to updated it with Smart Switch. But after that, the phone ends with an "encryption unsuccessfully" error. I wanted to save my data, so I flashed twrp. But TWRP didn't let me in my Internal Storage. I wanted to format "/data", but it hang over, so I restarted the phone. Now it only boots in the TWRP-Recovery, but it doesn't load (only the loading screen appears). I can't boot into download mode or something else.


text:
Galaxy S4 SCH-I545 stuck in Start Up Failed
After using the Official TWRP app to flash TWRP recovery to my Samsung Galaxy S4, I am stuck on a screen that says "Start-Up Failed" and "Secure Fail: Kernel." I think it is because I flashed it to both Recovery and Boot. Do anyone know how to get out of the screen? It does not matter if the phone is completely wiped.


text:
Nissan keeps losing Bluetooth connectivity to my phone
I originally posted a version of this question to mechanics.stackexchange, under the assumption that something was wrong w/ my 2013 Nissan Altima SV.  However, it sounds like it's an issue that only affects Android phones, not iPhones or Windows phones.
My car offers Bluetooth connectivity, and that feature worked great for about a year; for phonecalls, podcasts, and music.
However, for some time now, when I start my car and navigate to AUX to listen to my phone, it occasionally says, "No devices connected". When I navigate through the menus to look at Bluetooth devices, the car still has my phone listed in its devices, it's just unable to connect.
When this happens, I have to delete my phone from the list of devices, and re-add it. Then, it will work fine for another week or two, before the same problem occurs.
I have a Google Pixel (first generation).  Is this a known issue with Android Bluetooth functionality?

It isn't normal. Try disconnecting the battery leads so that the power to the unit is disabled for about 10 minutes. That should  clear the cache of the unit and may help

The car battery leads?  That would imply that it's not an Android issue, but a car issue?

Neither. It is to reset the device in car and purge it clean . Can't say it will solve but may help. Likewise, on your device clear the Bluetooth app cache and data. It's like starting afresh from both ends of Bluetooth


text:
How to zoom in and out using bluetooth mouse?
We zoom in and out using two fingers in an android app such as PDF viewer or map. If I use a bluetooth mouse, how can I do this?
The wheel does not seem to work for this purpose.

Would love to hear if it worked for you, if it did, you can accept the answer by pressing on the check mark below, otherwise let be know if it didn't work. Cheers

In many apps, if you click with the left button once and then click again and hold it down, you should be able to zoom in and out while dragging the mouse up and down.


text:
Pixel 2 Android Phone to Lenovo Windows 10 Bluetooth Won't Pair
My Pixel 2 Android phone WILL NOT pair via Bluetooth with my Lenovo ThinkPad Windows 10 laptop PC.  I have tried everything including uninstalling antivirus/firewall software on both devices.  Neither device detects the other device over Bluetooth.  Both devices detect all other in-range Bluetooth devices.  I have disabled the AirDroid app on my phone.  Of course both devices have Bluetooth enabled via their respective Settings selections.  I am at my wits end and want some help fast.  I am about to conclude that Microsoft Bluetooth doesn't want to talk to Google Bluetooth and vice versa despite the fact that Bluetooth is an open standard accepted throughout the industry.  Are there additional steps that need to be taken in order to make both devices "discoverable"?  I tried to install a Microsoft app on my Android phone in order to establish a Bluetooth link but the app wanted to take over my phone and I decided not to go through with the installation.  Any advice on this matter is welcome.

Are there additional steps that need to be taken in order to make both devices "discoverable"?

Yes. Android phones are discoverable only while the Bluetooth Settings activity is displayed. (There's a message in the activity to tell you this.) You need to scan for devices from your laptop while this activity is open on your phone.


text:
Stream audio from PC to Android 7 over USB without creating a local network
My work computer's DAC is awful, and I lost my USB DAC, so I'd like to use my phone as a DAC if possible, to enjoy average music quality while working.
However, my phone has a very poor internet connection at work, so I'd like to do it over USB (tried connecting over Bluetooth but it couldn't install the necessary drivers).
I looked at possible ways, and they all seem impossible to achieve. Soundwire requires admin rights and I unfortunately don't have them.
My phone is not rooted anymore for some reason but I could root it again if necessary. PC is running Windows 7.
Thanks for your help :)

I would do it this way: Install an streaming client on Android, a streaming server on Windows and then forward the server's TCP port to the Android device via adb forward. Connect the Android streaming client to the forwarded port on localhost and start audio playing.

If "specialized audio transmission channels" like Bluetooth don't work I would try the generic approach over TCP/IP:

Connect your Android device to your Windows computer and enable ADB on the device (I assume adb is available on your Windows system).
Install an streaming client on Android
Install a matching streaming server on Windows
Forward the streaming server's TCP port to the Android device via adb forward. This will allow to establish a TCP connection from Android to your computer tunneled through the ADB USB connection. For doing so no Wifi or cellular connection required or used.
Connect the Android streaming client to the forwarded port on localhost and start audio playing

I looked at streaming servers on Windows. I need one that can broadcast Youtube/Soundcloud audio, as I can't have my music library on my work PC.
I found "Stream What You Hear" but it requires admin rights. Any idea which server could I use?

May be one of the answers from this question can help you.

After trying things out, it turns out that I cannot properly install the adb drivers - probably because I would need admin rights again. My phone doesn't show up when doing adb devices. If no one finds another solution, I will approve your answer anyway.
I guess I will wait until I have money and get an Audioquest Dragonfly DAC/Amp.

Approving your answer. Just want to let you know that I actually found why the sound was so shitty, there was an "audio improvement" setting left on in the audio managing app (that uses DTS). Of course it didn't improve the audio at all, disabled it and now music is listenable again.


text:
"Secure booting Error! Cause : boot certification verify" when trying to enter recovery and download mode on LG L Fino (D290n)
I have LG L Fino (D290N) and I am not able to start Android OS at all. I have tried to enter recovery mode, but unfortunately I am getting an error. Also, I've tried to enter download mode but the same error shows up.

ERROR : boot certification verify
[1060] ------------------------------------------
[1060]
[1060]  Secure booting Error!
[1060]  Cause : boot certification verify
[1060]
[1060] ------------------------------------------

How can I enter download mode in order to flash the device?

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


text:
Making an app integrated into another app
Can we have an application controlled by another application both working in the same apk ?

One APK is one application. It doesn't make sense to talk about two applications in the same APK: they're the same application. But one application doesn't have to be one entry in the launcher, or one activity. App developers can put as many launcher entries in an application as they like, creating the appearance of multiple apps which are actually just different parts of the same package. Because they're in one package, they share the same private data and the same process, so they can control each other and work together however the app developer likes.
One example is Google Maps. Although it doesn't any more, it used to contain a second launcher entry, 'Navigation', which would launch Maps in the driving navigation mode. It was a second entry point into the same app, and both front-ends used the same data (saved places, route preferences, &c.).

Can I use the downloaded apk in another application and launch that application keeping it in the same app.

What downloaded APK? Your question doesn't say anything about downloading. Perhaps you need to edit the question and explain fully what you're trying to achieve.

Let's say I have the fb app apk and I use it in my own application to give it delay to launch .


text:
Use Laptop keyboard for Android device
I am running Ubuntu on my notebook and Lineage OS without PlayServices on my phone.
Now I would like to use my Laptop keyboard as a remote keyboard for my phone, how could I achieve that? I guess, the phone is already ready for external bluetooth keyboards, how can I turn my Ubuntu notebook into a external keyboard?

You are looking for Bluetooth HID (Human Interface Device).
So instructions for Ubuntu can be found here:
https://askubuntu.com/questions/229287/how-do-i-make-ubuntu-appear-as-a-bluetooth-keyboard
Although its is unclear if anyone has made it work on more recent versions of Ubuntu.


text:
Decrypting manually Android 4.4.2 partitions pulled from phone (SM-G313HN)
Way how I got to this point is that my phone somehow had restarted in my pocket and was asking for password which I entered but upon entering password it restarted so I was basically stuck in bootloop. So I went into adb through recovery and pulled all partitions of the phone so they are on my pc right now. The question is how can I decrypt them. I tried looking around how is 4.4.2 encrypted but didnt find any good answer. I only understood that key is stored in footer of it which I did find there but then arises question of how you derive the encryption key from it? I'm so confused. Also how is sdcard encrypted as I looked at files from sd card they seem to be file-based encrypted?

Okay so I got more info about how Samsungs encryption works from this video and was able to decrypt my userdata partition with tool called Sandy. As for SD card I just pulled out eds_p_sd file from /efs partition from my dd dump and put it back into factory reset phone and it worked like a charm. But SD card decryption can also be achieved with the Sandy framework you just need to have eds_p_sd file and right ECryptFS version so the keys work otherwise you will run into problems.


text:
How do I enable multiple user accounts on my ZTE Axon 7?
According to GSMArena the ZTE Axon 7 should be able to support multiple user accounts.
I have currently MiFavor UI 4.2 installed and that shows as the most up to date.
I don't see the icon in the top corner. How do I get it to work?

Go into your phone settings, and see if you have a setting called users. If it doesn't, it would then mean that your phone probably doesn't have it


text:
How can I change default timer ringtone
I have a samsung galaxy note 4 and I am wondering how can I change my defauly ringtone? Thanks

On a note 4, you can call on the menu button by long pressing the recent apps button on the bottom left of your phone.
(source: here, and personal experience)
So just go into the clock app, go to the timer tab, and long press on the recent button. You should now have the menu that you're talking about. If it doesn't come up, it's most probably because Samsung disabled the option.


text:
ADB pulling files from /data/data fails due to symlinks. How to skip symlinks in ADB pull?
I can run
adb pull /data/data/com.xlythe.saolauncher/databases ./

or
adb pull /data/data/com.xlythe.saolauncher/files ./

and it works fine. However, if I try
adb pull /data/data/com.xlythe.saolauncher ./

It fails with the error:

adb: error: failed to copy '/data/data/com.xlythe.saolauncher/lib' to
  './com.xlythe.saolauncher/lib': remote No such file or directory

It happens because the lib folder is actually a symlink to /data/app-lib/com.xlythe.saolauncher
Now, if I wanted only com.xlythe.saolauncher I would just do it by hand copying one folder at time, but I want instead to pull all /data/data at once.
So I need a way to tell ADB to just skip symlinks instead of failing the copy.
Any hints?

Method 1:
If you're okay with getting the output file as a .tar archive, try this command:

adb exec-out tar c data/data > data_backup.tar

Make sure to omit the leading / in your path. (Source)
Method 2:
If you want to copy file-wise, use the following script written by me:
#!/bin/bash
## Run as: ./filename.sh <source_folder> <destination_folder>
## If no <destination_folder> is provided, it's stored in current directory.

location=$1
if [ -z "$2" ]
  then
    destination=.
else
  destination=$2
fi

## Find the full path of all the files in the given directory, and retrieve each file one by one

while read line
do
  ## Create the directory where the file will reside, by removing the filename alone from the fullpath.
  ## Thanks to https://stackoverflow.com/a/9022471/5002496
  mkdir -p $destination"${line%/*}"
  adb pull $line $destination$line
done <<< `adb shell find $location -type f`

## The find binary in Android doesn't seem to show symlinks when '-type f' option is used.
## Source: https://stackoverflow.com/a/16303559/5002496

Save it as adb_pull.sh, run chmod 777 adb_pull.sh and run it like:

./adb_pull.sh /data/data data_backup

All the contents from /data/data from Android device will be stored into data_backup folder.
(Note: DON'T specify the source folder like /data/data/ with an additional / after the folder name)
Tested and working on my Ubuntu 17.04, using an Android 7.1 device.
Note: To access /data partition completely via ADB, you need to run adb root. (more help..)

+1 I had to join this site just to give an upvote to this answer (Method 1) which really helped me. :)

Creating a tar archive may fail because of combining stdout and stderr. Try adb shell 'tar -cf - data 2>/dev/null' | gzip -9 > backup.tar.gz instead.


text:
Samsung Galaxy S7 Edge (SK Telecom unlocked) no calls or SMS using Verizon SIM
I have purchased Samsung Galaxy S7 Edge unlocked from ebay. It's SK Telecom unlocked phone. It accepts SIM card from Verizon and registers on network successfully but I'm unable to make and receive calls. SMS doesn't work as well. What are my options? Should I try rooting the device and install a Nougat ROM provided by Samsung or there may be something wrong with some settings?

What is the exact model number of the phone? Remember that Verizon uses CDMA and LTE in their network, most phones from outside the US do not support Verizon's bands (frequencies) in the CDMA network. Most phones on Verizon still use CDMA for SMS messaging.

As a supplement to the above, Korean variants (Exynos 8890) don't have CDMA capabilities indeed.

Have you tried the very same SIM card in another phone? If it has the same issues there, it might be the SIM or some broken settings at the provider's end.

Thanks guys for your comments. It was indeed unlocked GSM phone. When I used a GSM SIM, it worked. Still using it.


text:
Phone Reboots on Installing/Launching Certain Apps
So i'm having this really baffling issue. I was using CM13 before and now using CM12 and both of them are facing the same issue.
I am using Galaxy Mega i9152.
There are certain applications, that have been causing my phone to reboot upon install or launch. Previously, it was Yahoo Mail (which i have not used since), then it was some other games (names of which i don't remember) and now it is WhatsApp messenger.
I thought the problem was with the CM13 rom, so i did a clean flash ( wiped data, cache, basically everything other than internal/external storage) of CM12 (hoping to get the 'move to SD card' feature as a bonus).
But, it did not resolve the issue. I just tried to install WhatsApp on my new ROM and it restarted as soon as WhatsApp finished Installing.
This has me thinking that the issue is not with Apps, but something to do with a deeper level. I'm not an expert in Kernels or such.
So please, can someone help me out here? Any insight i can get into the issue ?
WhatsApp is really important for managing day-to-day affairs, so please help me out.

Does it happen even without SD card installed? If the SD card had problems and would force a reboot every time it was accessed (happened to me had to change SD card  to fix). Probably the app is trying to access the SD card as a part of permissions given to it and it reboots ?

@beeshyams Odd, no? Failing to access an SD card should result in a warning at best, or a crash at worst.

Did you install the correct Gapps package, OP?

@DeathMaskSalesman: Odd yes, after surrendering hours trying to fix it with every trick recommended in book, discovered this, when quite  by accident didn't insert SD card. It was a rooted Honor 6 , no Gapps, stock ROM and upgrading ROM didn't help. Pretty much like the situation with OP except for the Gapps angle ( which  you pointed out). Changed SD, it worked fine and I am still using that SD on my current device

@beeshyams , can you elaborate exactly why will the App write to SD card on CM13 ? I have not adopted the card as internal storage, i have been keeping it as portable ever since my first bootloop in April 2017, read here. So without adopting the SD card as internal, there is no reason for an app to write to SD card. Do correct me if i am wrong.

@DeathMaskSalesman, yeah i always look at the version of the GApps before installing them. it matches my ROM in exact version numbers. I would switch phones but i will only have enough money after 3 months or so, need to keep going with this phone up till then. Do elaborate if you have any insight with regards to the SD card issue mentioned by beeshyams.

It doesn't need to write , it requires access permissions (let's say WhatsApp) , so I guess it checks and that triggers it. In my case  everytime I clicked storage in settings, it would reboot. This is a possibility and I am not sure if that is the case. If you can verify you can validate

This could solve the problem temporarily. I had the same problem with my own phone and it appears to be a material problems, many recent updates are incompatible with some phones (it is the case for wiko phones).
Bypassig the play store and installing a previous update can work. For whatsapp you will need a previous version than the actual one (2.18.64), but that will be older than the 2.18.0, otherwise whatsapp won't let you start the app.
For example downloading this version and manually install worked for me: https://apkpure.com/whatsapp-business/com.whatsapp.w4b/download/164-APK
EDIT:
Now this version is considered obsolete by whatsapp too. The only way to continue using it for me was to set the date of my phone to a previous date that the date showed on whatsapp saying "This version of whatsapp is obsolete since date".
I hope this problem will be fixed later because it is unsafe to install previous versions, generally updates include bug and security fixes.

Can you please conclude, is this issue from Phone / OS / Application or what?
Sorry I might have lack of understanding, but I'm facing same issue, but I don't understand what is causing this problem to some of end users.


text:
Gmail is consuming so much data in background
As you can see in the attached picture, Gmail has been consuming so much data, is this logical?

(click image for larger variant)

May be possible if you enabled sync so the time and you have lots of mails with attachments too

3.3 Go in background is kind of a lot

You can reduce the number of days of messages to sync via Gmail app settings

avoid building up a large number of messages in Gmail inbox archive them instead.
Or you can use k-9 mail wich is really good!


text:
Changing to PTP MTP from charging mode?
So now, I just plugged my phone which is a Samsung Galaxy J2 Prime (SM-G532G), a notification pops up if I want an MTP or PTP devices, since I am charing I chose Charging on USB mode. Now when I plugged my phone that notification is nowhere in sight so I cannot change back to PTP or MTP.
[EDIT]
Just like to point out one thing. I've been using this same exact cable for software development purporses so yes it is working when I use MTP and for data transfer. I just don't have the option anymore to switch from USB Charging mode to either MTP to PTP.
Any ideas?
Phone:
- Samsung Galaxy J2 Prime (SM-G532G)
- Android 6.0.1
Thanks!

Enable developer options (by tapping build number 7 times ) and from the USB related options change the default. Samsung often changes options and calls it by some other name so you may have to search

@beeshyams is there an option to change the Charging mode to PTP or MTP? Jesus christ where is that notification item!???!!!!?? This is frustrating. I need to change it back to MTP so I can debug. I restarted the phone and everytime I plug the phone to PC it kept on charging.

See if this helps http://thecellguide.com/usb-connection-not-working-on-a-samsung-galaxy-smartphone/

With the device in charging mode and the cable connected, go to Settings › Storage – AFAIR there's an option to enable sharing behiund the triple-dot menu.

There is none unfortunately, what I did is I simply unplug my phone, restart my phone and I turned off and turned on my Dev option and made sure the default USB connection option is set to MTP/PTP and then I restarted my phone again.
It seems to be fixed now but at the cost of such a massive frustration that such a simple option should be listed on settings menu

First go this path:
    About Device --> Software Info --> Click to Build Number up to enable Developet option in mobile.
Then go to Setting and open this path:
    Developer Option --> USB Configuration --> Change mode from Charging to MTP.

You can reach this setting in another way by dialing *#0808#, it will take you straight to the USB Settings. Tap on AP then MTP. You may need to reboot.


text:
How to startd the AVD manager without starting android studio
Use AVD Manager without Starting Android Studio this question is the same as mine, but the answer does nt work for me. There's no executable to launchd AVD manager on my SDK directory (I'm on ubuntu). Could it be that things changed? The only thing I can find is /home/lz/Android/Sdk/tools/bin/avdmanager which is just a command line script, not the GUI that I want to launchd

It is just the android avd command, where the android shell script is in the tools/ directory of your SDK installation.
Or go to the directory and
cd ~/Android/Sdk/tools/bin/
./avdmanager

Documentation can be found (deprecated) but it works for me
https://developer.android.com/studio/tools/help/android.html
I hope it will be useful

but it won't launch the GUI. I need the GUI, not the shell application

@GuerlandoOCs I believe the GUI is part of Android Studio...


text:
How to do ADB over 'wifi' (actually in the same PC) for emulated device
I'm trying to use adb over 'wifi' for my emulated device. I'm emulating a device on my computer and wanted to use Android Studio to send an APK to it but through the network sockets, not through emulated USB. I know in Android Studio everything works out of the box but I need to it in this way
I'm following this tutorial: https://developer.android.com/studio/command-line/adb.html#wireless
I start it with
~/Android/Sdk/emulator$ ./emulator -avd Pixel_XL_API_27

Then I see that USB debugging is on. I then do
./adb tcpip 5555
restarting in TCP mode port: 5555

Note that ./adb tcpip 5555 is arbitrary. I didn't even specify which device should restart and connect at 5555. What if I had 2 emulators running?
I should unplug now for a normal USB device, but then I go to developer options in my emulated phone and disable USB debugging.
I also see that the IP address in the emulated phone system settings is 192.168.232.2
then I end up with:
./adb connect 192.168.232.2
unable to connect to 192.168.232.2:5555: Connection timed out

I also done this:
./adb devices
List of devices attached
emulator-5554   device

./adb connect 192.168.232.2:5554
unable to connect to 192.168.232.2:5554: Connection timed out

UPDATE:
According to Android Tutorial on ADB, my computer keeps a server running on port 5037. The Android device (my emulator in this case) runs a daemon and my adb script in Sdk/platform-tools is a client. If I want to run a client inside my virtual machine I must have a server running on it. But instead I can just forward the 5037 TCP port from the VM to the 5037 TCP port of the host machine. I did it with tcptunnel by doing the following:
./tcptunnel --local-port=5037 --remote-host=192.168.122.1 --remote-port=5037 --stay-alive

then if I run adb on my VM, it's going to connect to the adb daemon on my host machine which is going to talk with the adb server of my emulator. When I run adb devices in the VM without the tcp forward it tries to start a new server. If I kill this server and open th tcpforwarded and do it again, it doesn't try to create a new server. This is a good signal. However, tcptunnel gives me this:
build_tunnel: connect(): Connection refused

Something is blocking the connection
UPDATE 2:
Turns out tcptunnel isn't necessary, because adb has the H option that lets me specify the IP where the server runs. However I don't know if it's possible in Android Studio to specify it. Anyways:
./adb -H 192.168.122.1 devices
List of devices attached
* cannot start server on remote host
error: cannot connect to daemon at tcp:192.168.122.1:5037: Connection refused

Could you tell me if you are dealing with a physical device or with emulator inside your OS?

@AbdelhafidMadoui it's an emulator in the same OS

So what's wrong with the command adb -s emulator-5554 shell for example? Why WiFi?

@AbdelhafidMadoui I need to program inside a VM. However, I cannot start a new emulator inside this VM. Instead I want to start the emulator parallel with the VM and pass the app through TCP

@GuerlandoOCs: OK, so the emlator is launched from the main OS, and you want to access it from the VM? Correct? What VM software are you using?

@AbdelhafidMadoui Im using virt-manager, it uses kvm with SPICE

I forgot that adb daemon binds to localhost, and I was trying to access from 192.168.122.x.
With socat I was able to redirect the ADB client from my VM to the ADB daemon on my host machine which made connection with the ADB server (my emulated phone).
My host machine was reachable at 192.168.122.1 from the virtual machine, but the adb daemon was binding to 127.0.0.1 or localhost. I just did:
#on host machine:
socat tcp-listen:5037,bind=192.168.122.1,reuseaddr,fork tcp:localhost:5037

#on virtual machine:
socat tcp-listen:5037,bind=localhost,reuseaddr,fork tcp:192.168.122.1:5037

Make sure you kill the adb server on the virtual machine doing /path/to/android/sdk/platform-tools/adb kill-server. ADB server always tries to bind on 5037 if there's nothing there, so if socat is already running on both sides and the adb server is running on the host machie, when you launch android studio on the VM, it'll automatically connect to the outside adb server, which will connect to your emulated phone.
You don't need Android Studio on the virtual machine to test. You can just do  /path/to/android/sdk/platform-tools/adb devices on the virtual machine to see if socat will redirect it to the adb daemon on host, which will list the emulated phone.


text:
"Cold boot: snapshot doesn't exist" when running the Android SDK Emulator for the first time
I am just new to Android Studio and I tried to run the emulator from the SDK for the first time. When I click on the Run button, the emulator opens with an error:

Cold boot: snapshot doesn't exist.

How to solve this problem?

Try to uninstall Intel HAXM in SDK tools and then reinstall it. you'll solved your problem.


text:
What is “logo” partition on a Lenovo phone?
What is the logo partition on a Lenovo phone, and what is the format of it?
The header of the 8MB partition:
00000000   88 16 88 58  C2 8A 0A 00  ...X....
00000008   4C 4F 47 4F  00 00 00 00  LOGO....

I guess it is a boot screen picture. What is the format of this image?

1. What is “logo” partition on a Lenovo phone?

The logo partition (based on my experience with MediaTek devices) contains:

The very first boot logo (not the boot animation)
Battery charging sequences (many PNG images).
Second boot logo (boot_logo file).
Battery charging digits and percentage sign (each digit or sign has its own image).
(For devices supporting fast charging) Fast charging sequences (many PNG images)

2. I guess it is a boot screen picture.

Not the boot logo only, it contains many images.

3. What is the format of this image?

Not one image only, all of them are PNG files.

4. Additional details

88 16 88 58 is the partition offset.
C2 8A 0A 00 is the partition size, this is little endian byte order.
4C 4F 47 4F is the partition name.

I can't confirm if this is MediaTek-specific or not.

Mediatek MT65xx/MT67xx Logo Editor
If you wish to change the very first boot logo (not the boot animation) of your device based on MT65xx/MT67xx platforms, try LogoBuilder.
LogoBuilder can unpack and repack your logo.bin file which contains:

Boot logo
Battery charging sequences
Second boot logo (boot_logo file)

LogoBuilder is simple to use:

Unpack your logo.bin file.
Edit what you want.
Re-pack it.

The LogoBuilder can make an update.zip to flash your new logo.bin file with a custom recovery.

Further reading: deflate compression.

Nice! Is there a specification or source code of the such "logobuilder" ? Where is the first byte address and "png" metadata located ? Because I don't see there any recognizable png headers inside...

You don't see them because the file is packed/encrypted, how to unpack it ask the developer.

But "ask the developer" does not answer the question what the format of the partition is :)

You could edit your question or start another thread with the title "How logo.bin is packed / encrypted in MTK phones"

The images in the logo partition are raw 32-bit pixel data, possibly bgra or rgba, compressed with zlib but with no compression header.
Skip the 512-byte header, and this is what you see (yours will be different, this is from a BLU Dash X2 phone).
00000200: 2700 0000 f929 1300 a400 0000 012e 0000  '....)..........
00000210: 3b36 0d00 05bb 0d00 4e07 0e00 4a09 0e00  ;6......N...J...
00000220: d709 0e00 b20b 0e00 060e 0e00 8f0f 0e00  ................
00000230: ac11 0e00 0814 0e00 3c15 0e00 d517 0e00  ........<.......
00000240: 451a 0e00 2b1d 0e00 d82b 0e00 763b 0e00  E...+....+..v;..
00000250: f84a 0e00 a959 0e00 4d67 0e00 3874 0e00  .J...Y..Mg..8t..
00000260: 1382 0e00 4f91 0e00 f6a0 0e00 6bb0 0e00  ....O.......k...
00000270: f90b 0f00 0068 0f00 bcc3 0f00 9b1c 1000  .....h..........
00000280: d573 1000 9cca 1000 6223 1100 647e 1100  .s......b#..d~..
00000290: c8da 1100 f536 1200 ae89 1200 658b 1200  .....6......e...
000002a0: 9cfc 1200 78da ecdd 3daf e458 42c7 e1fe  ....x...=..XB...

The numbers are 32-bit integers, and the first one at offset 0x200 is 0x27, or 39, pictures in the logo partition. 0x1329f9 is the total length of the data; the rest of the partition will probably be padded with zeroes. The next 39 integers are the offsets of each image, for example the first is at offset 0xa4, plus 0x200 to account for the header, and you have 0x2a4. So you can see the first 12 bytes of data in the xxd output above, 0x78 0xda 0xec 0xdd...
The size of the image will be the following offset minus "this" offset: in this case, 0x2d01 - 0xa4 = 0x2d5d, or 11613 decimal.
So now you have what you need to extract the first image: dd if=/tmp/logo.bin of=/tmp/img1.z bs=1 skip=$((0x2a4)) count=11613
To uncompress it, since it has no header, you have to add one: printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - /tmp/img1.z | gzip -dc >/tmp/img1.dat.
You can then display it using ImageMagick: display -size 360x$(($(stat -c %s /tmp/img1.dat)/$((360*4)))) rgba:/tmp/img1.dat
Information is from rigacci.org. Niccolo includes a Python script that extracts all the images for you.

What is a logo partition and what is the format of it?

Those first 16 bytes are part of a structure part_hdr_t:

88 16 88 58 is the .magic field (search "PART_MAGIC" and "0x58881688")
C2 8A 0A 00 is the .dsize field, the partition data size
4C 4F 47 4F is the first four bytes of the .name[32] field

(contrast with M. A.'s answer)


text:
Attachments disappearing from sent mail
I'm having an issue with sending attachments from Gmail on android.
Whenever I send an attachment, it disappears from the message and is not delivered.
Visiting Gmail through web interface confirms the attachment is not there.
This happened to me using both my phone and tablet both running android 7.0

What kind of attachment was it  i.e., what format and what size?

I tried a .docx file and a pdf, both less than 1Mb

Uninstalling and reinstalling may help?

I installed Inbox by Gmail and did a few tests. No problems for now.


text:
What is gf_otp_info file?
Is the file gf_otp_info safe or it is a virus? The file is located in the file system. Should I remove it or is it fine?

Where in the system?

it is in file manager. The file stands separately,  after all folders in the phone.

Martina, maybe you could [edit] your post and include a screenshot?

I can't do a screenshot, but I can see only the name of the file without any extension "gf_otp_info" and the size is 33bytes


text:
Google Pixel C stuck on Booting
We are developing a Kiosk application using Pixel C as the kiosk device.
To achieve the kiosk mode for application, we first root the device, then use "dpm set-device-owner", granting the application device owner permission.
Devices operate 24/7.
All of the devices run same Android 7.1.1 version (build number N4F26T) and supposedly same security patch. Supposedly because Android patches won’t apply to rooted devices, because system is unable to verify checksums or something.
After some time (~ 6 months), devices started to behave strange, i.e., not able to receive/send network requests, automatically disconnect from known Wi-Fi access point. Some devices event stuck in boot loop after rebooting the device using the built-in “reboot” command.
We think that this is some kind of hardware issue, because Pixel Cs weren’t supposed to operate this way besides internetz are full of complaints about Pixel C, or a software bug, which with our operation mode (rooted + device owner) has lead to this state.
Did anyone come across to this kind of issue with the tablet?

Have you tried using the Android Management API instead of rooting the device and using dpm set-device-owner?

@Fred, thanks for the information about the Android Management API, but at the time we didn't have knowledge of it :) Our app was already developed using the device owner thingie.


text:
Find the IMEI number of lost Android phone
It used to be possible to find the IMEI number of a device from Google Dashboard. However, I couldn't find it now. Majority of the answers I find on the internet refers me to this method but it doesn't work.
Is it possible to find the IMEI number of a lost Android phone using Google Dashboard? If yes, then how?

Probably the easiest way is to look at the box the phone came in, or the receipt, as it'll be printed on both. That relies on you having kept either, though.

I have not kept that. :(  Previously I was able to track using google dashboard. Not able this time.

Where did you buy the phone from? You can contact them. IMEI numbers are usually written on the receipts and the seller is supposed to keep a copy or digital records of the receipt.

@SarpSTA bought it on foreign country. so could not do what you have mentioned.

If you cannot get it from your carrier, and you don't have the box or receipt with the IMEI number on it, you are basically out of luck. A few years ago Google made some changes and you cannot see the IMEI of the device connected to your account, unless you purchased it through the Play Store. I would make this an answer but I cannot find the reference link.

Did you contact your carrier and see if they have it?

You might also be able to contact Google support and ask for the IMEI number.

Yes, as of July 2019, you can still get your IMEI number from the dashboard. Just go to the "Find your  device" page and select your device. Then in the upper left corner, the name of your device will appear with an (i) icon next to it. Click on that and it tells you IMEI number.

Still works as of 8/29/2018.

This gave me a diff imei number compared to one on the phone box

Not a way to find it , but to document that it's not possible from Google Dashboard anymore

Is it possible to find the IMEI number of a lost Android phone using Google Dashboard?

Unfortunately NO
Google removed this feature for reasons best known to them. From Google Support, see what
NoGoodDeed says

As catzrule states, Google has was removed IMEI information from the new dashboard view.
Google is considering where and if it might be appropriate to re-surface that info.
  You can leave  Feedback
  about this with Gmail.

This is the latest official source (October last year) I could find, so there is no way out unless you have the box or bill mentioning IMEI.
Other possibilities

If you synced to itunes as claimed here ( I can't confirm)
Another very long shot is if you had installed a paid app that is single device use and is linked to your IMEI number (I have a call recorder app that does this and everytime I change my device , need to mail them with new IMEI number, so end up having a record)
As Bochur mentioned in comments (thanks), asking Telco is another possibility

I wish Google would reintroduce this
Edit Things that didn't help

Chatting with Google help from Play Store options - they were totally clueless and couldn't direct me to somebody who can help
Downloading data from Google Dashboard. Combed but to no avail. Only interesting thing is that you can see your Google ID here

This is just not true. See the other answers.

I have good news, I was able to find my Andriod Device using Google Dashboard by going to the Find My Device page once I logged in.
Just press the i by the name of your device.
Here is a print screen in case I am not clear.
Hope it helps.

Direct link: https://www.google.com/android/find

Yes goto find my phone click on the lost device and click on locate then on the screen of the locate device click on the (!) It will tell you the imei #


text:
How to lower the minimum volume? (Nougat 7.1.2 through LineageOS 14.1)
The minimum volume level available for alarm and ring settings is visually twice as much on the control in the settings as what is available for media and is just way too loud.
I am not looking to add more steps between the available volume levels; just to lower the minimum for alarm and ring.
Phone is rooted and has xposed as well, though I didn't find a relevant module. Strong preference for an open-source solution, as I won't be installing some random app with excessive permissions.


text:
Phone Keeps Going to Sleep
My phone keeps going to sleep within a minute or so despite the fact that it is set to not go to sleep for 10 minutes. Why is it doing this? This is an Asus ZenFone Live V running Android 7.1.1.
To be more clear, the screen goes black and locks shortly thereafter in about a minute. I'm not sure this is technically sleep mode, but it is sure annoying to have to unlock every time something steals your attention for a minute.

Where did it set that it doesn't go to sleep? Is it under settings > display > sleep > 10 min?

Yes, there exactly

Check under settings > lock screen > lock time. Sometimes if the lock time is less then the sleep time, then the screen will go to sleep at that time. Basically, if sleep time is 5 min, but lock the is 2 min, then the phone will go to sleep at 2 min. Let me know if that's true for your phone

It has an auto lock setting that is also set to 10 minutes.

Is this phone connected to a corporate email account or used as a device for business use? If so, it may have a VPN with corporate guildelines to adhere to, which conflict or override personal preferences. Check for a device administrator you recognize as belonging to your company.

Nope. Just my personal.

Any automation tools installed like Tasker or Llama? I know Llama best, so I can speak to profiles it uses, which control environmental attributes as it enters/leaves known areas via wifi, or control towers, etc. Anything like that inadvertently making setting changes?

For some reason my last comment didn't go through, so I forgot about this.  Automation tools were installed after the problem began.


text:
How to cast audio only from Chrome browser?
I want to cast an audio file from a site to my TV & using Google's app to cast audio feature casts the whole screen. Any way to just cast the audio?


text:
Lost Samsung Galaxy S6 help!
My friend has not been able to find her Galaxy S6 which went missing on Saturday night at a dinner party. Many of us rang the phone on that evening whilst at the house but it was on silent. We thought it would just turn up in the morning and didn't think too much of it. Unfortunately, it has not.
Now things are starting to get a little ugly with airs of suspicions and the possibility that someone has taken it or hidden it etc. This has come about as she has tried to locate it using "my account google" etc and that has shown the phone was last "synched" at 11.22am yesterday morning. The last time she rang it was at 9.30am yesterday morning and it was dead. With it saying the phone was synched this has now led her to think it has been switched on I guess...is this the case or does the phone still synch somehow even if switched off, dead??
It's not a great situation at the moment and any help greatly received.
Thanks in advance.

I'm still trying to determine what the sync is. Cuz on my device it shows part synced feb. 25 even though I just synced it now. So I'm not sure exactly what that means, but I think it's safe to say that whatever it means, the phone has to be in for that action to happen. When checking on find my device, did you make sure that her device is selected and not yours?

If the device has been taken or lost and is off, there's not much you can do.
If you think it may have been switched on, there is a section on your Google Account that will allow you to track/lock/call/sign out of your phone. More options can be explored on Google's help page for lost devices.
There's also a setting to Ring the device when you select Locate from the last link, which will ring the device at full volume for five minutes, even if it was set to silent.


text:
What's the point of encryption with 3x3 in OnePlus 5 if it has 409104 combinations meaning it can be cracked under a second with any modern processor?
I am not sure what I am missing, but decryption the sdcard should be as easy as opening it if it it that few possible combinations. So what's the point of it?
To clarify I mean booting into recovery mode, ADBing, and trying to decrypt the partition directly, without artificial timeouts that OSes do.

I think it definitely makes a better question at Information Security SE

@SarpSTA I gave the security point of view in the question,  I am expecting to get something different here than security. (unless that's really there is)

Even if there is such a point, I still think ISSE would be better at answering it. Nothing wrong with asking the question here of course.

Countering your supplemental conditions...

To clarify I mean booting into recovery mode, ADBing, and trying to decrypt the partition directly, without artificial timeouts that OSes do.

Stock recovery doesn't have regular ADB capability (only ADB sideload, and that only flashes signed firmware).
Even with USB Debugging enabled, you can't authorize a random PC to debug over ADB, since the authorization dialog is behind the lockscreen.
Can't read/pull anything from /data even if you have ADB authorization, unless the device is rooted.
Can't flash a custom recovery without unlocking the bootloader, which nowadays requires flipping a switch in Settings - Developer options, again behind the lockscreen. Unlocking also fully wipes all data including the internal storage.
If the bootloader is already unlocked then theoretically none of the security measures would ever matter - but such is a very rare case for regular users, and anyone who do it would (or should) know the risk well already.

my question doesn't still stands? if someone has access to the storage directly, then it can decrypt the data easily, if that someone not, then it doesn't matter if the underlying storage is encrypted or not. Is that correct?

Having "access to the storage directly" is not trivial - with the above constraints, the attacker will have to physically possess the device and obtain the data from a lower level (e.g. blowing the flash chip off and reading directly off it). If your data is worth so much trouble and you're vulnerable to losing the device physically then naturally data safety no longer matters to you - you wouldn't be using a consumer-grade device anyway.

So you didn't deny that the encryption is useless with the above constraints, and direct storage access. I asked the question because I had corruption in my storage that made it undecryptable with the regular OS/Recovery-mode, and I had to go through so much trouble to decrypt it. (and I preferred it being unencrypted even more if it's useless)

You are likely looking at an incorrect assumption that you can exhaust all possible combinations uninterrupted, in a short period of time.
Which is incorrect because after  5 failed attempts, you are barred from entering PIN / password and a pause of 30 seconds is introduced before you try again or you would need to reset your phone to be able to use a new PIN. I am not sure how one plus implements this and may vary a little bit that's the standard expected behaviour called rate limiting. See my answers here and here
Note This answer was before the question was edited and Andy Yan's answer deals with çhanges made to question

you can bypass that by adbing the phone, copy the partition to your PC and do whatever you want with it.

I said cracked under a second with any modern processor, I didn't thought I had to describe the entire process of cracking it.


text:
Connect android emulator to lan
I try, to connect my android emulator (from sdk) to the lan via a network bridge and a tap interface and with the -qemu option. I need it to use multicast addresse in native library code for communication with IoT devices connected to the lan.
But depending the image version an achitecture (x86 or ARM) I have different behaviours.
For ARM image (Android 7.1.1 armeabi-v7a) the bridge work perfectly. Dhcp client work automaticly after boot time. I can ping the lan gateway, google ... and the multicasting work. But the nic add to the emulator is not present via ip link or ifconfig, it is hidden, and default route is not present !! strange thing. The emulator is no pingable from the outside.
For X86 image (Android 7.1.1 google_apis/x86), the bridge work perfectly. Dhcp client work and the guest nic is configured. I can ping the lan gateway, google ..., the multicasting work, and the nic is visible (eth1). But to ping the gateway or other host, I must use ping -I to specify the nic interface, the emulator use slirp network and it is not pingable from the outside.
It is possible to make the emulator pingable from the outside ?
It is possible to use ping in x86 emulator without to use -I option for ping ?
It is possible to see the network nic attach in the ARM emulator ?
thank for your help.

I think  that if you add the IP of the server on you LAN network that will  allow you to access it from the emulator.
So a fight with iptables is required in your case
useful links https://developer.android.com/studio/run/emulator-networking.html
and there is a hole bunch of documentation of how to redirect network traffic to a new IP address using iptables
Good luck i hope my answer was useful!

Thank's, I know the link, The emulator use slirp qemu network. But maybe there is some other things that block the network traffic to the default route. Maybe an android services, iptable rules or a kernel module. On my host the network rules are fully open in the both way.


text:
spy / invisible file occupying 4gb+ space in internal storage
I am running Android 6 Marshmallow on Sony Xperia z3.
I use my memory card second partition to link most of my apps and increase my space. (app2 SD / link2sd app)
some of my folders I link manually using a folder mount program. from internal memory to memory card first or main partition. for purpose of my testing I unmounted or delink all tgese linked folders.
so my internal memory shows as just 1.2 gig free from some 12 gig internal memory. matter of fact currently space occupied shows only has 4.5 gig . using any File Explorer. I am using this file explorer in root mode which means I am able to see all invisible or hidden folders..
in spite of that I am not able to account for the missing 4 + GB or space what is occupying this... there is some process That seems to be creating a totally invisible file which even I cannot see as root..
how to identify this kind of files and go ahead and delete them. if only 1.2 GB is free it means around 10 GB is occupied but in the attached picture only 4.8 GB are occupied. how do you account for the discrepancy ?

Have you tried just going to Settings - Storage and see the results there?


text:
HTC one X storage issues
i just got an HTC one X 32gb (i know its old), but "app storage" is only 6.76 gb and "phone storage" is 25.24gb,
I cant downloade more apps beacaus "app storage" is full but i have 18 gb free under "phone storage"im using this phone for games like tetris and doodle jump so games is all i will have on it,
How do i change download location or merge the partitions so i can doenload more apps without deleting old ones?


text:
Whatsapp messages dissappearing
On Samsung Galaxy A5 Whatsapp most of the chats are dissappearing by itself. My mother is using this phone and its backs-up to Google Drive on a daily basis. I checked and can confirm that the messages are indeed missing not archived.
This has happened a few times and except the last one I was able to recover the messages by reinstalling and then renaming the second to last back-up file in WhatsApp/Databasefolder to msgstore.db.crypt12. However, it seems that Google Drive back-ups have precedence over local back-ups and local back-ups are disregarded upon reinstall.

Is it possible somehow to recover these missing messages and have them displayed together with recent messages (judging by the size of the back-up the messages seem to be included)?
Are there apps or Windows programs capable of selecting a particular
back-up and loading it?
What can be done to prevent this from
happening again?


text:
How do I send all calls from a contact to voicemail in Android 7 (LG phone)?
Searched here and on the internet and either the options have changed or my LG phone does not have the option. Seems like the old way to do it was to press the Overflow button while editing the contact, then select "all calls to voicemail".
Carrier is TMobile.

You should still be able to accomplish this through a different route.
being that you are using an LG on T-Mobile, I'll give you instructions from T-Mobile's website on how it's done on an LG G5.
Go to your phone settings  → calls  → decline and reject calls. Now press on the plus (+) symbol, and add the desired contacts.
Calls from numbers on the reject list, are automatically forwarded to your voicemail.

@acejavelin great point! I edited the answer with a confirmation from T-Mobile's website that this works on an lgg5. I'll have to hear from op if they have a different phone

@acejavelin is that something that they removed from the g5 plus, recently? Cuz according to this post it should work.

Lol... I swear I looked and didn't see it before I commented earlier, but sure enough it's there now. I will delete my earlier comment.

Ugh if a contact has multiple phone numbers you have to select each one! My "Ignore" contact has 15 numbers in it! So lame, so much easier the old way.

@jcollum well that's up to lg. On my Galaxy s5 it's still there. If this answers your question feel free to accept the answer.


text:
HTC One M9 Boot Loop
I have a HTC One M9 Factory unlocked, never rooted, OEM Software, OEM ALL, last night I was using it and it froze.
-I've tried wiping the cache.
-I've tried factory reset.
But it keeps going in the loop. I've tried unlocking the bootloader but all the tutorials i've seen are telling me to enable it in developer options (wich I can't reach).
Any suggestions?


text:
Recovering deleted files android 6.0.1 (internal storage)
They were onenote's files, research notes. Had problems with sync and lost files.
How can I recover the files in the safest way? It happened today. I already stopped using the phone.
(asking for a friend)

I've just added the data-recovery tag to your question. You might be interested in checking its tag-wiki which will give you some useful links on the topic.

I'd try photorec (testdisk package) in Linux. Or the Piraform file recovery program in Windows. Get it connected to a PC sooner rather than later as you don't want the area it was stored to be overwritten.
Was the Onenote not syncing with a Microsoft account?

It wasn't syncing (and it is part of the cause the files were lost, trying to sync...). I'll try windows alternative. Thank you.


text:
Download epubs in Android
So I am not sure why this is but if I upload my own books to the Play Store they do not display download links.
Is there a way maybe using an app to get the books off of the Play Store?
So here is the picture of options I see, and the book is not free and not in my purchase history either.


text:
Can I set up two children on one device both managed by Google Family link?
The Google Family Link FAQ says you are only permitted to have one child per device.
But on this page it says you can add a second profile to your child's device.
Does this mean two children share one device under Family Link? Or that there can be one Family Link account and one other account?
What are the limitations / implications of a second account?

Yes you can! I just did it.
Under Family Link, I set up two Google accounts for my kid. I installed one on the device, and then created a new user on the device and added the second Google account into its setting. It seems to be working fine, allowing access to the one profile whilst the other is locked.
The idea was that I set up one profile just for education purposes, and the other where I can install other apps, games, etc. The plan is to have tighter time restrictions on the gaming or fun profile and allow more access to the education apps so they will move to the second profile and do better activities once their game time is over.
Maybe you can do this with other control apps, but I think this could be a good long-term solution under the Google Family Link system which doesn't seem to provide individual app timers.

Just to confirm, is the second profile also a child account using family link? The docs and my experience indicate this isn't possible; that only the primary account can be a child account with family link.

Another thing,  off topic but your idea for separate time limits on different apps has now, I believe, been integrated into the main family link features.

@thomasrutter I found a way to work around this limitation! See my answer.

FWIW, just the other day I removed restrictions from the son's account because it was just too limiting and inflexible.  I did so by changing the age to 1 day under 13 years, and waiting 2 days.

Many Android devices allow multiple user profiles (not to be confused with Google accounts).  It's a similar function to what computers have, where you can have the admin account and the child one.
From the second link you posted:

The steps below will only work if your child's device allows multiple
  profiles

From your comment on this post it's apparent that you're using an Asus Zenpad 3s. That device doesn't seem to have the multi user functionality. (You can confirm this info by simply going settings and looking for "users"). Therefore, you will not be able to add more accounts.
So to explain the difference between the two links you posted, the first one seems to be talking about adding a second Google account to the same device (from settings  → accounts  → Google,) while the second link is discussing how to get past the limitation of one account per device, by adding a second user, which in turn make it as if you're using a different device, with a lock screen preventing the child from switching between users.

Does this mean two children share one device under Family Link? Or
  that there can be one Family Link account and one other account?

With a device that supports multiple users, you can add either a child, or a regular Google account. If you're adding a regular account, make sure to have a lockscreen preventing your child from switching between users.

What are the limitations / implications of a second account?

Had that been possible, your child would be able to open Google play store, switch to the other account, and download any app they want.
Therefore, they don't allow more accounts unless you add a new user to the device.

I read the same docs, and reached similar conclusions. The device does seem to have multi-user capability (not sure about restricted users, but I do not want ot use restricted users). I am travelling and don't want to break anything, so have not tried adding an additional user to the device, so I dop not know if your answer is correct. I was hoping for an answer from someone who has actually done it and could tell me what had happened for them.

In family link I had to select the device (in my case an android nokia) and that had an option to allow my son to add other accounts.
.
This is restricted to a school controlled account so it's not any type of account.

Yes!
I have successfully setup two user profiles on my Android tablet, each using a different Google account, and both accounts are enrolled in Family Link. However, it wasn't easy.
Some background:

Android devices let you have more than one user profile on the same device (but note that not all android devices support this option).
These user profiles are not the same as different Google accounts! Each user profile can be connected to one or more Google accounts of their choice, which may or may not be different from the accounts on other profiles.
A device always starts with one pre-installed user profile, which is the administrator profile.
If you are on the administrator profile, you can enroll a connected Google account in Family Link, and have a parent supervise the activity of that profile.

Note that Family Link is connected to the Google account, not the user profile. If you connect this account to any other profile on this or another device, Family Link will supervise that profile too. If you remove the account from the profile, the profile will no longer be supervised, but the account will remain enrolled in Family Link.

If you are on a user profile other than the administrator - you cannot enroll a connected Google account in Family Link. To make things worst, if you try to do this, you just get a generic "something went wrong" error message, with no additional clarification.

Here is how I managed to work around this limitation:

For each Google account you want to enroll in Family Link, connect to this account while on the administrator profile of an Android device, and enroll it (by using the "parental controls" option in settings).

You can use multiple devices for this if you want, it's OK to use devices other than the one you eventually want to have the accounts on.
You can also repeat this for multiple accounts on a single device if you need to. After you enroll one account, remove it from the device, and then connect with the next account.

Once all accounts are enrolled in Family Link, you can create additional user profiles on your device, and on each profile connect to one of the accounts.

Note that if the administrator profile is already connected to a Family Link enrolled account, you might not be able to add additional user profiles. You need to explicitly allow this, using the Family Link app on a parent's device.

I hope this helps.


text:
LG V10 Mysterious Shutdown Loop
My phone is stuck in the strangest bootloop I've ever encountered. Last night my phone dropped to 0% battery, so I charged it on up and restarted it. I didn't look at it for a while but when I did it notified me of the phone being updated.
Weird, no updates in the pipeline, when I go to check it says I haven't downloaded a new one in months. Then my phone starts restarting. A couple second freeze, and then it's starting back up. Boots all the way up, then my background apps start up. Minute later, phone's restarting again. The phone keeps this up all night, and into the next morning, varying in the amount of time between boots and crashes
Okay, boot in safe mode, no difference. Clear cache partition, no difference. Factory reset via UI, no difference. Factory reset from boot menu, no difference. Put it in the fridge for 30 minutes, no difference. Wanna hear the weird part?
I decided to discharge the battery all the way, and charge it all the way back up. Might as well, right? Unfortunately at some point my phone decided to start shutting down and staying off, instead of restarting. Shit, well I guess I'll just have to keep starting it up. So I throw on a muted repeating youtube playlist, turned the screen brightness up, and it just keeps going... It plays the videos happily without crashing. When you leave youtube it eventually crashes.
Seems to me like a piece of software in the main OS that starts late in the boot cycle which crashes things and doesn't get factory reset (and youtube stops it from starting?).
So, is there anything I can try beyond flashing the original firmware?

You should just go ahead and try flashing the original firmware. Many G4/V10/Nexus5X units are susceptible to the infamous motherboard solder defect that would throw the device into a bootloop, and from the description yours seem to be one of those. Flashing the original firmware is not a fix, it just serves as the final step to determine whether it's a hardware fault (you've done most previous steps).

I am almost entirely positive this is not a motherboard solder defect. I am pretty convinced this is a software issue, as being able to run youtube for 5+ hours with no issue, only to have it crash upon exit suggests. I am currently trying a scientific approach to uninstalling software that came with the device to see if I can find the exact culprit. Results positive so far.


text:
What does it mean an ugly pop-up with an smiley face on my lock screen?
I've been getting pop-ups in the lock screen of my "Huawei Honor 6X" like this:

The notifications appear at random times. There is nothing else on the pop-up other than the smiley face made of ASCII characters and an OK button. The UI does not even look genuine.
Any idea what does it mean or what could it be creating these messages?
It is running EMUI version 5.0.1, Android version 7.0 and Android's November 6 2017 security patch.
UPDATE: The Notification History app did not register any app producing this pop-up. Her is another screenshot of the pop-up.

Have you checked for an app named Google Opinion Rewards on your device? That's what the notification mentions. Or are you rather asking about the dialog at the bottom? (For terms, see Popups, dialogs, notifications, toasts: what's the difference? :) In the latter case, the app @beeshyams mentioned probably won't help much.

@beeshyams "ugly pop-up with an smiley face" certainly rather applies to the dialog at the bottom of the screen. Didn't know that "notification history" covers those as well, as the name rather suggests "notifications".

Yeah, the Google Opinion Rewards notification is unrelated. The Smiley face appears regardless of what other notifications I have in the lock screen. I'm trying Notification history now. Thanks.

@beeshyams not yet, the smiley face has not appeared in the last two days. I'll keep you updated.

@beeshyams Unfortunately the Notification History app did not register what app launched the smiley face pop-up.

Sorry Typo. Meant try the Toaster app mentioned here https://android.stackexchange.com/a/154425/131553

I've also started getting these and can't help but notice that you are also roaming with Telcel so my best guess is that these are USSD code dialogs from Telcel, basically it looks like they're either running some tests or having fun with it


text:
How to manage settings on an Android device remotely
I need to manage an Android device remotely. It is a tablet running Android 6.0 used by an elderly person, which alters the setting from time to time. (Or maybe the person does, who knows). I live very far away and need to manage this device remotely.
- check if WiFi is on and if not, turn Wifi on (already found an app for that)
- check if the location service is on and if not, turn it on
- restore the default launcher
- restore the Default keyboard
The device uses a slow mobile connection, so remote-desktoop as VNC/Temviewer is a no-go. Despite that, I do not want to manage the device over remote desktop, i only need to check the settings and alter them remotely.

Welcome to Android Enthusiasts! Related: Remote login into the phone from a PC and a bunch of questions tagged remote-control. Have you checked with any of those?

Remote management of a device without UI is the typical task of an Mobile Device Management (MDM) system. Unfortunately most of the are only for enterprise usage. A few are designed for parents who want to control their children's device - which is IMHO a lot closer to what you are searching.

There is an application called Tasker. Which can be bit difficult to work with for you, if you're not familiar with it. but it's worth learning for your use case. You can make profiles which will get triggered when particular conditions are met. For example, you can start the wifi or turn your phone into silent mode when it's within 100mts of your home, or you can change the default launcher according to your needs in the question. Here you can find basic tutorial for Tasker, which can help you learn more about it.
For your particular use case I found some profiles which can help you,
1) Restore Default Launcher
2) Restore Default Keyboard
3) These are other profiles, you can look into.
Since you can not root your tablet, these are the use cases for the profiles you can use/create without root. (These are just for your knowledge, because Tasker can do lots of stuffs even without root. Which can come handy in some other scenario you want to use in future)
Some ADB Commands I found which can help you,
1) Change the default Keyboard using ADB
2) Enable Location services On or off
To connect using ADB remotely, This answer can help you
The answers in the question above is not using adb shell su, so I'm assuming it will work on non rooted phones aswell (You already found answer for other use cases you mentioned in your question, So hopefully this solves your question).

Thank you very much, I will definitely try the tasker app. the I do not want to disable the default launcher and  I can not root the device but there might be other way using the adb - see https://stackoverflow.com/a/46922386/1991697

Ohh yes, you can use adb to perform the same task. But tasker just gives you an added benefit to automate everything. So if you want to create your own profile to change to default launcher as soon as other is selected, you can do it. So just automating the whole process is the added benefit with tasker.

ADB over TCP is an insecure protocol and should not be exposed to the Internet. See https://android.stackexchange.com/questions/25902/how-to-connect-adb-over-3g-4g

Have you tried airdroid https://www.airdroid.com/ but it does not give you full access to the tablet settings to get that you need something like https://www.logmein.com/ i think it will work with a slow internet connection
I hope my answer was helpful


text:
How to show a "large text" SMS preview? (e.g. for confirmation code)
Some online services send you a SMS with a confirmation code (e.g. when requesting a new password). When sliding the notification window (from up to down) in some cases I can see that the actual code is the only information shown (and it's very large), and the complete SMS is shown only if you tap on the notification.
Initially I thought it was simply a result of putting the code as the first token of the SMS body (like "12345 is your code"), but I tried sending an SMS to myself and it seems that is not enough.
Is there some SMS setting that I can use?
My device is Huawei Honor 8 and my OS is Android 7.0 (EMUI 5.0.1)

I am not aware of any setting that can help either on Marshmallow or Oreo (please [edit] your question to mention device and OS details). I use this app that shows the code information on screen till dismissed

Can you give an example of the place where they send you such a code? Any verification code I get are part of the text and I don't see it in larger


text:
How to Restore notepad.db in Huawei P7 without factory reset
kindly advise the following.
I have 2 huawei p7 phones, but only 1 sim card(used by the main phone ), and need transfer all the Notepad files to new phone.

The Main one :
although no problem access to internet, but unable to download any apps from Google Playstore, due to certain part of its mobile data reception ability got affected after the phone suffered too many times of hard hit previously.

Its android Beam NFC function also not working.

The secondary(new) one :
ready to replace the main phone, can download apps no problem.
But there are existing notes and other photo files in it.

.
I have backed up the notepad in the Main phone using the Backup function in huawei p7. The backup file is a zip file.
.
So my dilemma now is :
- How to Restore notepad.db in the new Huawei P7 above, without factory reset ?

I am trying to restore all the Notepad from the Main phone into the Secondary new phone, without affecting the existing notepad files in the new phone.
Is there anyway to copy the backup file Notepad.db to a path in the new huawei p7 in order to let the note files restored automatically ?

I only have these 2 mobile phones for any file transfer. No pc or laptop.
Thanks in advance.

Give it a look 1 & 2.  You might extract something useful.

I'd second "2" and Helium. Or, as "main" cannot download any apps: Do you have a computer you could use with adb? In that case, the easiest approach would be performing an adb backup -apk -f <com.app.notepad>.apk <com.app.notepad> with "main" connected, followed by adb restore <com.app.notepad>.ab with "new" connected. In both cases, replace <com.app.notepad> with the package name of your notepad app. And omit the -apk if it is an app that already ships pre-installed with your device.


text:
why i am not able to transfer images from Redmi 1s to my laptop via bluetooth?
Well, I was trying to transfer images from my REDMI 1S device to my laptop but don't know why my every attempt is unsuccessful whether I am trying to send images in bulk or one at a time?Can anyone help me to sort this out?
There is no issue with pairing up my device..!!
Just images are not sent and the message appears the attempt to the sent image is unsuccessful.

Settings> apps> from 3 dot menu > show system apps > Bluetooth > storage > clear data and cache and try after paying again. On the PC also depending on OS similar action may be required

@beeshyams no bluetooth  is present in system apps so what to do now?

@beeshyams may be system os settings have changed  ,bluetooth is there but not in system settings.

@beeshyams but there is no cache for Bluetooth anywhere its showing 0.00B in app

Can't say then but on your laptop try clearing Bluetooth data. May help IDK

What windows version are you using? Dies it have custom Bluetooth transfer software? Try using default fsquirt, to transfer the files. That was the exact problem I had when I upgraded to Windows 10


text:
Schedule automatic updates - not from Google Play?
I don't use Google Play with my Android-based phone; mostly I use APKPure and its app.
However, I do want to be able to schedule periodic updates of all apps (or of some apps) - instead of me having to manually approve app update downloads and/op individual app update installation. It could be via APKPure or anywhere else that's sort of respectable, I don't mind - but it can't require something like logging into to Google/Facebook/etc.
Is this achievable?
Notes:

In case it matters - I use Xiaomi RedMi 3s, Android 6.0.1, MIUI 9.2.2.
I'd rather not have to root my device in order to do this. If you think I must, please explain why.

You can try APK updater , also available on F-droid ( if you add  Izzy's repo) and
is meant for cases like yours where you are not using Play store.

Update sources
  At the moment four sources are supported:

APKMirror
Google Play
APKPure
Uptodown

You can schedule daily or weekly updates, time of update and update on startup
Edit: It requires root permissions to update all. You can download the updates for apps you want to update by ignore others, followed by clicking the blue circle icon and install them.
You would need to give permissions to install from external sources. In screenshot below , I updated a single app "aSpotcat" which shows "installed" and other apps showing "Install"
Not an ideal solution for auto updates since it requires manual intervention if device is not rooted

I just searched on F-Droid using the app and it doesn't seem to be available... weird. But I did get it from the GitHub repo. Also - APKUpdater's settings say that automatic updates require root privileges.

Finally - this app doesn't even seem to have a "install all updates" button, nor an "install single update" button. Will it actually install them anytime?

For me, after I click the blue button it just has a list of updates, and doesn't seem to install them.


text:
System control take over by whatsapp media playback or a call
For some reason, as I activate media playback in WhatsApp or hold a call there, mobile phone controls are deactivated and the screen is blacked out until the playback, or the call ends.
This is a very unpleasant behaviour, how to deal with it? This happens also with a full charge; first I thought this would be some energy saving trick but it seems not.
It is not even possible to regulate the audio volume during that.

On video playback this does not happen.
I do not touch the proximity sensor on audio playback.

Device: Sony E6653. Androis OS 7.1.1, Kernel 3.10.84, build number 32.3.A.1.54

Are you covering your proximity sensor by any chance?

@ABochur do not think so. Good point! On whatsapp call, proper control of the proximity sensor would indeed make sense to swap the mode as held on ear or not.

@J.Doe does the screen do the same thing when you make a regular call not in WhatsApp?

@ABochur I can't tell as I have got a data only SIM for this device.

I suspect that it has to do with the proximity sensor even if you're not blocking it, something it's broken about it. Because both media and calls in WhatsApp will blacken your screen when close to your ear.

Go to Settings > About phone > Diagnostics > Test > Ear proximity. Does the phone vibration even when your hand/finger is not covering the proximity sensor?

this item is not available; if I search for it, it seems to be there but as I select it, it jumps to "About phone".

There's an app that lets you test your proximity sensor. When the sensor is covered, the app will show a hand over the sensor, when it's uncovered, the hand moves away. https://play.google.com/store/apps/details?id=com.zerosevengames.app.selfcheckProximity

@ABochur ah now that is interesting! indeed sth is wrong with the proximity sensor, you are right! the app shows it locked all the time, and if I bend on the corners very slightly, proximity is shown to go lower.
So given the sensor is fragged , what do I do now?

The problem you are describing, is a result of a faulty proximity sensor.
What's supposed to happen is, when you listen to voice note or make a call, the screen will stay on, but as soon as you put the phone to your ear, the screen turns off. When the sensor is broken, it thinks that the phone is always by your ear.
One way to get around this, is by using an app called macrodroid.
You can set it in a way, that when the proximity sensor is activated while in WhatsApp, the screen will stay on.
Here are the few simple steps to set this up:

Open macrodroid  → add makro  → sensors  → proximity sensor  → near  → ok. Now press on proximity sensor and add each of the options separately.
Press on actions on the top of the screen  → screen  → screen on/off  → screen on (alternative)  → ok
Constraints  → device state  → application running  → running in foreground  → ok  → WhatsApp  → ok.  ↠ application running  → alive in background  → WhatsApp  → ok.
Now press on the check mark on the bottom, and give a name to this action.
From the main page of the app, press in macros, and after pressing on the one you just made, near constraints, press on and and change it to or. You should see the exact settings as I have below:

Now test this out. Go into WhatsApp and make a call. The screen will stay in during the call.
Note:

The screen will stay an as long as WhatsApp is running, and it will disregard the set sleep time. It will also stay on while not in WhatsApp, as long as WhatsApp is running in the background. If that happens, you can go into your recent apps, and swipe WhatsApp away.
I tested this in s galaxy s5. No guarantee that it works across all phones.

Upd - nice app but the maxro does not trigger. -.-

Does it all look like in the screenshot?

Make sure to enable the app from settings > accessibility

@J.Doe try this: macrodroid > macros > press on the macro you made, and press on the plus near triggers > applications > launched > WhatsApp > save

Worth checking by adding (or) alive in background since in both cases the foregoing app may be media player/ call +1// OP can try this and revert +1

If this works , OP would need to swipe Whatsapp from recents when not in use. OP can also check from settings > system logs if earlier macro was called when tested. If it was not called , then it supports what I said ( also to check from 3 dots menu in macro if logging is enabled)

@beeshyams thanks for your input. Edited. Waiting to hear from OP

Ok so: 1. I can be sure now if macro triggers by adding user log entry and a short buzz. 2. Macro does not trigger by proximity sensor activity, maybe because there is no event. 3. It triggers by launch of whatsapp, but it happens before I press playback. 4. Zrigger screen off does not trigger either.

@J.Doe it worked on my s5, so I'm not why it doesn't work by you. So I guess one thing I did help determine, is that your proximity sensor is broken, and there's why it's not working. Hope you have luck from here onwards


text:
How can i cofigure a sabai router using a samsung s tablet
Would like to cofigure router settings IP etc but dont have adevice with a LAN connection with me -only my tablet.
Is there any way to do this easily or do l wait?
Thanks

Its possible, just connect your Samsung device to the router either wirelessely of with cable, then open your browser and  navigate to 192.168.199.1

You can either connect to the router via WLAN connection or directory via cable i.e LAN with your Samsung tablet
Open a web browser e.g Chrome and enter 192.168.199.1 in the address bar. (Login is admin/sabaipass123.)
You can configure desired settings from this page;

Navigate to Settings → Static IP
Edit accordingly

Get more instructions from the Sabai support page


text:
How to stop apps from asking permission about learning contacts?
I've been getting an overlay notification on many apps (Textra, Dropbox, Instagram, others) whenever I try to exit out of it (usually hitting the back button). The notification text is:

Did you know?
We can learn your contacts and give you the choice to quickly contact your friends. We just need your permission first
Never |  Maybe Later | Cool!

[Edit - screenshot: https://prnt.sc/iklfbt ]
I hit "Never" every single time, but apparently the word "never" has lost something in translation since it comes up repeatedly.
I've searched Google and found no reference to this message.
How do I get it to stop?

I have Dropbox installed but never saw this. Wondering if the notification is from some other app. Try installing apps mentioned in comments of this question to verify


text:
please help---Your device is corrupt. It cannot be trusted and will not boot LG g5
Yesterday, my phone gave this error-Your device is corrupt. It cannot be trusted and will not boot LG g5 - and it does not open. Power button, volume up+ power button does not react to anything. what should i do?? how can i work my phone.

Did you install any new software or custom ROMs before this happened?


text:
Manually (Re-)Encrypting a Whatsapp Backup File
Problem
So, after rooting using a custom ROM and rooting my phone somehow WhatsApp wont let me back up my chat history anymore, see below. The problem now is that I want to transfer my chat history from my old phone to a new one.

.
Alternative Plan
From what I've gathered WhatsApp Backup files are crypt12 encrypted msgstore.db files that are located at the root directory /data/data/com.whatsapp
Things I have:

Old Backup from a few months ago
my current unencrypted msgstore.db through root access
crypt12 key file through root access

My plan now is to basically create a new backup by encrypting my current msgstore.db and transfering that to the new phone, hopefully recovering my chats. The only thing I need is a way to reencrypt the file to be the same as a WhatsApp Backup File. Or just modifying my existing, old backup with the new content. Is this possible?

I'm confused. From the problem, it seems like backing up is not working, but from your solution, it looks like you are trying to restore old messages. So which one is it?

WhatsApp's native backup function seems to be broken for some reason and I cant get it to backup locally. However I do have access to the msgstore.db which is what a backup contains. I want to transfer that to my new phone with but I need to wrap it as a backup file first so Whatsapp will accept it and I can restore it like a normal backup on my new phone.

oh, I didn't realize you are trying to transfer to a different phone. I can't give any good ideas on how to reencript, but did you try saving to Google drive?

I had the same problem when I bought my phone last year. But my chats were not very important, so I didn't researched for a solution for too long to know how to solve it...

@ABochur Saving it to google drive works by creating a local backup first, then uploading it to the drive so same problem...

@Syntic Were you able to solve this i.e. re-encrypt the file?


text:
Almost every game crashed on Lineage OS
I've one big problem on my phone. Almost every game crashes on start without any reason. Currently I have only one game which works - Farming simulator 18. Even my game exported from Unity3D isn't working. All apps are working well.
My phone:
Lenovo P70-a
Lineage OS 14.1 (Android 7.1.2)
Log filtered only for *:F (Fault errors):

Does anyone know what to do with this issue?

Your lineage is Unofficial, maybe try and get Official one.

Unfortunately there is no official for Lenovo P70. I know that this issue is because of my ROM. But I hope, that it is somehow repairable.

This should rather be reported to the ROM's forum thread if there is one.

@AndyYan Where can I find one? XDA dev. didn't helped me (neither they didn't answer me)

Just posting it to XDA would be enough - don't expect a reply there, no dev is obliged to fix anything.

@AndyYan that's bad :(