text:
Tasker: If variable - not connected to Wifi
I want my display brightness only to rise if not connected to any Wifi network (doesn't mean Wifi has to be turned off) but I can't figure out how exactly the Wifi variables work. The official documentation is very general and technical.
Edit: The problem is that my Wifi is instable which means Android doesn't have Wifi for about 2-3 seconds and then catches it back. So I added a 5 seconds Wait Action so that my display brightness doesn't change every 15 minutes but it happens anyway, only now 5 seconds later.
I think to finally make it work a "If variable" is necessary.

You're going about this the wrong way.
Go to Profiles → (New profile) → State →  Net →  Wifi Connected. Leave SSID blank and tick "Invert". Link this profile to a task which changes brightness.
Edit - Okay, I think I've found the solution. In the task which changes brightness, do this:

Wait for 5 seconds
if %WIFII (matches regex) \bSCAN\b

(Increase brightness)

Explanation: The %WIFII (WiFi info) variable not only gives the name of the WiFi that you are connected to, but also miscellanous information such as Mac and IP address and contains the phrase ">>> CONNECTED <<<". If you are not connected to any particular WiFi, it lists all of the WiFis available along with the phrase ">>> SCAN <<<".
The above task basically

Waits for 5 seconds (adjust accordingly!)
Checks if the %WIFII variable contains the word "SCAN" by means of a regular expression

If it contains "SCAN" it means that the device is NOT connected to a specific WiFi (if was connected, it would have the word "CONNECTED" in it).

Increases brightness accordingly

Note: Might cause problems if there are WiFis with the word "SCAN" in them! You can always change the if condition to something else such as if %WIFII (doesn't match regex) \bCONNECTION\b, or make it more specific for the phrase ">>> SCAN <<<" (I'm still new to regular expressions so I've no idea how to do it).

I already did that. I updated the question.

@Yethat So basically you want the brightness to increase if you are outside, however not when you're inside but disconnected to the unstable WiFi? I think I have a solution, I'll update the answer soon.

@SSS Precisely!

Thank you very much! It works like a charm! And thanks for the good explanation!


text:
ADB without PC is it possible?
Currently I don't have PC but I need to execute some commands via ADB. Is there any way to access ADB from other phone or anyhow without PC?

Install a terminal emulator

@beeshyams I need to execute "sh /data/data/me.piebridge.brevent/brevent.sh" to make brevent to work without root. Thanks for the thread but it won't work to me since neither of my phones support OTG, make an answer if you want.

@esQmo_ It won't work since command requires root or ADB to execute.

@beeshyams I lack root on this device, that's biggest pull-back.

Limited commands for adb and fastboot are possible according to this XDA post, that too on ARM architecture
Requirements :-

Rooted android Tablet / Phone.
OTG cable [ Make sure that your device supports OTG. (If not search your device's thread for OTG )]
A root browser ( eg:- Root Explorer, ES file explorer)
Terminal emulator

As indicated by OP in comments, this solution doesn't help as there is no OTG support nor is device rooted
Without root, to my limited knowledge, it is not possible

source: Stack Exchange

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

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

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

sort: votes


text:
is it required to do unlocking of bootloader before installing and upgraded rom for sm-g550t galaxy on5 and then reroot
i want to know,in order to upgrade from my rooted Samsung ON 5 SM G550T, to Nougate 7.00, will i have to re-root the phone process again. Currently my phone is rooted but i think my boot loader is locked, which will require me to unlock my boot loader; in order to do a upgrade to Nougate,if i understand?
 If the boot loader is locked how do i check? to see if its locked.
On a previous occasion i tried to flash xposed program (rom) and got a binary 1 error is this related to a locked boot loader, or diff issue. If so how do fix a binary 1-2 error message.

That all very much depends. If the ROM you want to upgrade to is an official one (ie. provided by Samsung), you won't need to unlock the bootloader. You might have to root again after the upgrade, though, unless you have some "Root Keeper" taking care for that.

As Samsung hasn't updated your device to android 7.0 so in order to upgrade your android version you have to unlock bootloader then flash a custom recovery.
Then you can flash any 7.0 custom rom.

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


text:
Samsung Galaxy S3 latest update
I want to update my Samsung Galaxy S3 to latest android release. I think the official latest release is 4.4.
But I want to go beyond 4.4, but how ?

Flash a custom ROM this will bring a higher version to your device

You cannot expect official updates for an old device that too from Samsung. If you need to update and flash a custom ROM, you would have to root  your device and flash a custom ROM meant specifically for your device variant

@beeshyams Can you please provide me some links to 'flash a custom ROM'. Is it a piece of hardware or ...?

Custom ROM is your phone software prepared by developers as opposed to Stock ROM, which came shipped with it. I have linked above (click on custom ROM on above comment) and research the possibilities. Not to put you off, you would need to invest a lot of time in reading and understanding and it can't be addressed here in one question. If there is something you don't understand, you can surely ask that here. Best site is XDA. Search for your device ROMs there


text:
Saving image from gmail app
I have downloaded some images from an email using my gmail app . I tried to find it in my gallery and also in my storage but i couldn't find it either in my gallery or in my storage

I've cleaned up the remaining comments here, glad to see it was resolved and the answer posted.  In the future, please use [chat] for extended discussion.

In your Gmail app go to settings, then click on your your target email address (where you want to get image attachments downloaded) , then untick the option which says "Auto download attachment to recent messages via Wi-Fi" try again to get your image.
It seems attachment downloads are restricted to wi-fi (default) but option is not clear at all as it seems to imlply a different thing. So disabling this option implies both data and wi-fi are considered (although the option is a bit misleading) It however fixed the issue.
Edit
Downloaded images are saved in downloads folder of sdcard or here /storage/emulated/0/Download
credits: beeshyams


text:
Samsung phone still bricked via FRP after factory reset
This is a continuation of this question, but here are the facts: I have a rooted Samsung Galaxy J1 Ace SM-J111F running the stock ROM in Android 5.1.1. I used this XDA-Developers guide to root it. It suddenly got bricked via FRP lock so I tried to unroot it using the stock boot binary.
Here is an Imgur album containing screenshots and images of the phone during the unrooting process.
Description of images:

The phone is set on Download/Odin mode.
Odin is ran as administrator and is loaded with boot-stock.tar provided by this XDA-Developers guide.
The settings of Odin.
This shows that the flash has failed.
The custom binary is blocked by FRP and I have to restart the phone to flash again.

I tried downloading from www.samsung-firmware.com and www.sammobile.com but all downloads have failed. It stops midway and asks for a HTTPS certificate and the archive becomes corrupted between 20 to 70 percent.
I therefore decided to wipe the data using the stock Android system recovery. However, after rebooting it, the binary is still blocked via FRP lock. I've wiped the cache as well.
What caused this issue and how do I solve this?

What caused it? You likely modified something in system that tripped the modification check (it only occurs at boot), no way of knowing what for sure with the information you provided, the root method itself does not do this, but if you change the right thing it will cause this. The solution is to use ODIN or Heimdall to flash the factory image back to the device and return it to stock.

I'm pretty sure I haven't changed any critical system setting from the day the phone was rooted. I tried to flash it back to the stock binary using Odin, but FRP blocks it from happening which is why I was forced to factory reset the device as a last measure.

You need to place it in Download mode first... otherwise can you update the question with a legible picture of the phone with the error message displayed.

I did set it in Download mode. Also, good idea, I'll add a photo of the phone with the error messages soon.

FRP doesn't block flashing, may be you are  trying to downgrade it.

@acejavelin I've added images.

Be sure that the stock firmware is correct. It should be 1 or a few gigabyte(s) in size.
I've finally unrooted my phone. I used Updato's firmwares (which is the only one that has SM-J111F stock firmwares), specifically SM-J111F with product code XME and its PDA as J111FXXU0AQD2 (J111FXXU0AQD2_J111FOLB0APL2_J111FXXU0AQC2_HOME.tar.md5).


text:
What are the meaning of each category under WIPE menu in TWRP?
I'm new in using TWRP (version 3.0.0-0 to be specific), there are some menu or operation that confuses me.
Under WIPE menu and inside Advanced Options there are many choices to wipe, which are:

Dalvik / ART Cache,
Cache,
System,
Data,
Internal Storage,
MicroSD,
USB OTG

Can you explain what are each of those means one by one?
and also can you elaborate one by one the effect of wiping each of those 7 categories, for example IF let say I ONLY wipe Data, THEN it will only delete app data not the app itself nor any music, videos, pictures, downloads.
and also what will Factory Reset do? will it wipe all of those 7 categories? or will it only wipe some of them? if only some of them deleted, which of those 7 categories will be deleted under Factory Reset?
Lastly I notice that under Home > Advanced > Partition SD Card > on MicroSD I saw that the value stated there around ~5000MB while my external SD Card (removable MicroSD) is much more than that, which is 16GB, so it occurred to me that word "MicroSD" inside TWRP is not the same as the physical removable disk (SD Card / MicroSD), am I right? If yes, then what is the meaning of MicroSD inside TWRP?
Thank You.

Did you read the TWRP FAQ and especially this portion ?  . Also see the tag wiki of TWRP tag which you used, which covers aspects in your Question. Please do some homework before asking. If things are still not clear edit your question to ask

I am not sure how much more self explanatory this can be...

Dalvik / ART Cache - This is the runtime cache, where executable binaries are stored (after APK files are "optimized"). It is a unique partition of the system
Cache - /cache partition, where temporary data is stored.
These (numbers 1&2) are wiped on any clean or dirty flash of a ROM, or if problems occur in a running system. Wiping these is usually done together and do not effect actual user information or data.
System - the /system partition, basically the operating system.
This is only wiped when changing ROMs and a clean flash is required, it should never be done on a "stock" system in most cases other than already stated.
Data - the /data partition EXCLUDING /data/media (Internal Storage).
This is how to perform a "factory reset", this will wipe all applications and user data, but not user's file (picture, music, documents, etc). When doing this, both cache and Dalvik/Art cache should be wiped as well.
Internal Storage - This is your /data/media folder, or user files.
If you want a TRUE factory reset, you need to wipe this as well... be aware this will wipe all user file such as pictures, music, documents, and ROM images if you downloaded them there.
MicroSD - self explanatory
USB OTG - An external USB OTG storage device (often a USB stick) - self explanatory

I would suggest reading the TWRP FAQ too.
As far as the partitioning of the MicroSD card, that is for very specific applications or uses, typically stuff like Link2SD or App2SD, where a ext2/3/4 partition is required to use symbolic links to artificially increase the space available on internal storage by moving the actual files to a special partition of the microSD card and using symbolic links to those files on the actual internal storage or data partition. By itself it has little use or meaning for most people except in conjunction with special applications. This is a rarely used feature in modern device and I wouldn't be surprised if it is depreciated in future versions of TWRP.
Basically, if you don't know what you are doing in TWRP, don't do it. It does have the potential to damage your device, sometimes irreparably.


text:
Add a google map route to calendar (S7 Edge)
In iOS you can add a google map route to your calendar app, but in android (Galaxy S7 Edge) you can't. EVEN to google calendar! Why is it? Am I missing something? Why does iOS have better integration of GOOGLE maps than android?

calendar to map possible with a different app. Map to calendar not possible. Why ? Google knows best

@beeshyams fair enough, I just wanna make sure I'm not missing something.


text:
Nougat: How to use Full Disk Encryption instead of File Based Encryption?
Nougat comes with File Based Encryption (FBE) and Direct Boot.
I would like to return to Full Disk Encryption (FDE) instead (or in addition to FBE) and make sure the data partition is fully encrypted when the phone is turned off.
For security reasons, I actually want the phone to be a complete brick until I type-in the Full Disk Encryption password.
This should be possible since my Nexus 5x (upgrade from Marshmallow to Nougat) could do this.
I expect this to involve a factory reset and maybe even rooting, and I'm fine with that.
My reason is that File Based Encryption is inherently much less secure since it gives a choice to app developers what to encrypt and what not. Sooner or later people will store sensitive data unencrypted (for "user experience" reasons), because it's now possible.
I am aware of this question, but the author seemed confused whether his device is encrypted or not, and it doesn't answer how to use FDE instead of FBE.
So, how to use Full Disk Encryption instead of File Based Encryption?

You have a couple of options - regarding device status, ROM origin && course of action -  though every1 of them is focused on changing flags in fstab.qcom.
Basically, while flag in fstab.qcom for FBE is
fileencryption=contents_aes-256-xts[:filenames_aes-256-heh]
and defines options for content && metadata encryption, flag for FDE is
forceencrypt
or
encryptable
U don't need to root.
Because u have nasty Nexus 5X (had very bad experience with that device) u can unlock bootloader, boot custom recovery - TWRP will suffice - format (not wipe!) userdata, push modified fstab.qcom with flag encryptable (or forceencrypt), reboot to bootloader, and boot device.
Not quite sure whether re-locking bootloader after changing fstab.qcom will cause a bootloop (did couple of lobotomies on that devices, but haven't tried this particular scenario).
Either way, if u try to re-lock bootloader && that ends in bootloop, u can always flash a TOT file.
There r modified boot images for that device for same purpose, but with additional code - custom sepolicy for root.

Well if full disk encryption is so called forceencrypt it should be enabled by default if he hadn't messed with anything. However on my phone forced encryption is enabled but doesn't require password in order to boot. However I can set pin/patter to be required on boot.

He didn't messed with anything - on N builds, FBE (File based encryption) is introduced and on certain devices, enforced., such as Nexus 5X, as opposed to FDE (Full disk encryption). If no credential is asked in bootstrap, then, your device has default encryption where PW is default_password.

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


text:
Does android auto restore function when I install my app over the usb port in development mode?
Does android auto restore  when I  install my app over the usb port in development mode?

Do you mean installation via android debug bridge (adb)?  you can switches while installing apks to effect different results use

When  I "Run" or "Debug" from my SDK  with  my phone connected by USB,  my application is installed on my phone. I'm trying to get my application data transferred from my old phone to my new phone. I can  see from my google account that I have a backup in the cloud, but I can't get it to restore. When I  use adb shell bmgr com.example.mynewmap example I get  a generic message  "unable to restore data. I'm trying to restore a preferences file and a database file that were backed yup with basckupManaggerHelper.

I meant to type  "adb shell bmgr restore  com.example.mynewmapexample " which is my PACKAGE name.

I have no idea where I will find a token value for my previously stored backup file. I  didn't think it was required when using backupManagerHelper

Didn't find my PACKAGE in token list. Since my backup  is a key/value backup I don't think there is a token value for it.

Ok lets try this bmgr list sets ( the 64-bit hex number on the left is the token we want)

Any luckwith the last option?

No luck. The list command  gave me a backup set for both of the phones but restore would not restore across phones but only to the phone it originated from.


text:
Are there any ways to install a third party keyboard as the system keyboard?
I am wondering if it is possible to install a new keyboard as the system keyboard. I'd like to do this because I want to use an open-source keyboard (Like AnysoftKeyboard) for typing my encryption password at boot. From what I've read, only the system keyboard is available for use when entering the encryption password.
My phone is rooted, I have adb, and I have a terminal emulator on the phone that can su. If it's possible to do, what is the process? (If it's relevant, my phone is a Galaxy S7)

I haven't tried this but you could use Titanium Backup or other apps to first 1. Convert your system keyboard to user keyboard and then 2. Convert your installed keyboard to System keyboard. Reboot.

Way1: famous method now a days.

Unroot
Install Magisk (a systemless root solution) link
Install App Systemizer module for Magisk from magisk app
Make your app system app

This way you can make the user-installed app a system app without actually modifying the /system partition.
Way2:
Change system partition evergreen method
Follow this guide link

link for magisk systemizer module link


text:
What are the technical reasons of updating SuperSU?
After rooting a device , and installing SuperSU ( Chainfire or Coding Code Mobile Technology ) and everything is fine , let's say an update to SuperSU is  available say after a few months
Do I need to update ? What are the downsides , if any , if I don't ?
My understanding is that I don't need to but wanted to be sure with technical reasons / explanation . Googling didn't help.
Edit: This is not related to the problems with Ver 2.80 or 2.81 , this is a generic question
Edit 2: From Generic to specific - after reading changelogs, I don't understand whether I should Ver 2.79 to a later version on Moto X Play , 6.0. Can this be clarified ?

Chainfire does still post up-to-date changelogs on the (now obsolete) XDA thread - I'd say one should look at these changelogs for crucial global/device-specific bugfixes before deciding to update.

@AndyYan : That's what I normally do before updating any app - in this case at times , the reasons given in logs aren't exactly clear if they apply to my device. Updates in general address bug fixes , yes, but I am not sure if that should be the only reason to update

What other reasons do you expect? Just asking. There certainly will be few if any "feature" updates for SuperSU; security is a much bigger concern here.

@AndyYan : you are right in a sense. I am on 2.79, Moto X Play should I upgrade to later version is another way of asking. Change log didn't help in figuring out. If you can answer that I can edit accordingly.

The way I see it, just do a nandroid backup and try it out. The only thing preventing me from upgrading softwares on my devices is they probably won't work (or not as well as before); having something immediate to fall back to is enough to let me try. Since you're already on a CCMT-developed version, I don't see any trust issues either.

It is not necessary to update. But, it is always a good habit to keep your device up to date.
If you do not want to download so frequently, then see the change log of the updates, and decide whether you want to update or not.

You may be right but I am looking for technical reasons - edited question to make it clear


text:
Is there a way to make it so that swiping right opens a notification instead of dismissing it?
Is there a way to make it so that swiping right opens a notification instead of dismissing it? I come from iOS, and I'm very used to swiping to open instead of double clicking.

Changing default OS behaviour normally requires root. Is your device rooted ? If not unlikely there is a way

inoty gives you look and feel but didn't change notification behaviour

Ok thank you both. I can root my device it's no problem, but I'll have to find an app that will alter it though.

I searched but couldn't find any way, looks like the need isn't felt much


text:
Prevent music players from auto play on bluetooth connect
Whenever I connect my android device with a bluetooth device, it automatically starts spotify and starts playing.
As far as I know this also happens to other users/players (according to google)
How can I prevent this (without signing out of spotify)?
Android: 6.0.1
Spotify Version: 6.2.0.1015

@beeshyams yes it is, but the solution should also cover unrooted devices, as this is not only a concern to me.

@beeshyams How would a tasker solution look like? You can add it as an answer here for rooted devices and if someone would come up with a non-root solution, he could edit your answer.

It's not mine. I don't know Tasker so will not post that solution. But here it is

My solution is using Macrodroid which is another automation app. You can test it and let me know if it works- I can't test since I don't use Spotify. Trigger: Bluetooth Event > device connected > any device Action: Kill app > Spotify (requires root ). You can test this in 5 minutes

@beeshyams I like the link you posted! AFAICT it doesnt need root (since you can do adb commands via usb debugging) only need to enable Tasker accessibility service, good research though!

@beeshyams unfortunately I don't have Spotify installed too, perhaps I could have tried it but at the moment I can't replicate the autoplay with my music apps :( thanks though

Let us continue this discussion in chat.

Background
Major part of this guide was extracted here: How to Disable Bluetooth Automatic Playback on any Android Phone
The point of this guide isn't to disable Bluetooth music entirely, otherwise the latter can easily be achieved by:
Disable Bluetooth Music : Settings >> Bluetooth >> Your device(Car) >> Settings  then uncheck audio support.
..and this simply destroys the whole purpose of the guide.
 It is important to know that autoplay is a feature of many Bluetooth devices, despite the fact people do see this "feature" as a problem though, which is the original reason the original author wrote the guide.

Understanding Bluetooth Autoplay on Android

What essentially happens when you connect a Bluetooth device that sends an autoplay command is that this command is seen as a KeyEvent for toggle play/pause in Android.
Applications with a MediaButtonReceiver broadcast receiver can then react to this Media Button event.
Android keeps track of the last application that requests to receive Media Button events.

Any new media application can take over to listen to Media Button key
  events by calling setMediaButtonReceiver in AudioManager, and that
  application will handle Media Button key events until another
  application requests control.

You can actually see which application is currently set to respond to these key events by entering the following ADB command:
adb shell settings get secure media_button_receiver
On the author’s device, this command yielded the following output:
com.google.android.music/com.google.android.music.playback.MediaButtonIntentReceiver

This is the broadcast receiver set up by Google Play Music to respond
  to Media Button key events. So if I plug in my Bluetooth device, my
  phone will automatically start playback in Google Play Music.

Disabling Bluetooth Autoplay with Tasker
Profile (or Trigger)

Goto Profiles Tab and click the "+"
Event >> State >> Net >> BT Connected
Tap back to exit from this window

Task
You will notice as soon as you exit, you will be prompted to link this to a Task

Scroll all the way up the Task list select "New Task + "
You can just keep it anonymous or give it a name
Click "+" to add new Action
Media >> Media Button Events >> Grab
Tap back to exit from this task

AFAIK root is not necessary for this task

Once you’re done, Tasker should now automatically set itself as the Media Button Receiver in Android upon connection to your selected Bluetooth devices. This way, the play/pause action that is sent will not be received by any of your media applications, but instead by Tasker
Unfortunately I couldn’t get Spotify or Soundcloud music application to replicate the issue. However, I retested this feature using a PC with the remote audio service (Bluetooth module on my PC supports that) to test the bluetooth autoplay feature.
Tests done

Enabled Bluetooth audio service (to use PC speakers to listen to remote audio).
Open two different music apps on android and played music and play
Created a “media button grab” in Tasker to handle Media Button key events.
Retested (2) with Tasker running the previously created task.

Results

On test (2) the audio output was transferred to PC speakers indicating that the autoplay feature was still active.
After performing test (4), the audio sound output came from android and was not transferred to PC speakers. Which essentially solves the issue.

Alternatively..
Head to playstore and get Bluetooth connect & Play

You can tell it which app should play for each bluetooth device (or to NOT play on a given BT device)
Acknowledgements

Original author: Mishaal Rahman
Beeshyams

Install a paying app...right... is there an actual solution?

Check your Bixby routines is you have a Samsung.  It might be set to turn on music as soon as Bluetooth is connected.

To prevent Bluetooth playback, create a Tasker profile and associated task. For the task, choose "Music Play." I have mine set to play a 1 second clip of silence such as this. This grabs the playback and does not automatically continue to the prior app playing media.
I tested this on Android 13 (LineageOS 20) with a Pixel 4a.
I tried the solution suggesting to grab playback with Tasker or the media_button_receiver option (both rooted and not), but neither worked.

If you are been annoyed by your smart android phone auto starting the music when you start your car. Here is the solution I found snooping around:
Open up your Google Chrome browser on he phone, click on the right upper corner bottom, click on settings, advance, site settings, media and turn off auto play. Bingo.
Now you can play any media when you want.
JT.


text:
Samsung s6 how do I find SSID
How do I find the SSID on my Samsung S6? I don't know what the Android version/variant is or how to find it. I recently updated the phone and the icons now have rounded iOS style borders
Update
I found the Android version is 7.0 under settings > about device > software info, and now know that the UX is the 'Samsung Experience'.

I don't see any connection between SSID and the behaviour described. However, suggested ways in answer

Oh, I'm describing the UX so someone may be able to tell me where to find my android version, sorry!

Your Android Version : Settings → About Phone → Android Version
SSID Notify can help you with SSID and other details of connection
Phone Info Samsung is a versatile app which gives you a ton of info about your device

According to this post from a reputed site rounded icons are an OS feature in Android 7

No, there's no settings - about phone to determine the android version. +1 for the helpful post on rounded icons. I want to find the SSID via my settings

Samsung may be calling it slightly different like Settings - about device or something else but it has to be there. You can't find SSID from within settings

It's settings - about device - base band version. See this

No I don't see base band version there. I've updated the question with your help

I found this guide which describes how it can be done by using a file manager with root file access:
http://www.theandroidsoul.com/view-wifi-password-android/


text:
Default Android Browser Error Page Source
I'm wanna ask, where locate source file of default Android Web error page (that shows when for example URL address is wrong)?

Example page (click image to enlarge)

I just found NOTICE.HTML.gz in system files.

Quite curious about it as well - thanks for bringing it up. +1

I guess it'll be inside the app (apk) as an asset.. Whenever there's these errors, the HTML asset file might be loaded from the app by the app..

But page style like that showing and in another applications that shows internet content as is.

Other apps could utilize the built-in WebView too, and thus return the same error page as the browser who also happen to use the same WebView.

Hm... In my LineageOS 14.1 I found system WebView application, but I'm not sure that there is any html samples or builder in xml files...


text:
Linux Deploy ext4 and Adoptable Storage
Edit:
I created an issue in the Linux Deploy project.

I have a smartphone with the following settings:

And the following SD:

Ok, it's not a good SD, but that's what I have for today...
I was using SD as an extension to internal storage, and I was able to store applications and files there normally.

I would like to use Kali Linux through Linux Deploy (if there is no other way), but the system can only have a maximum of 4GB per account of the created .img file and the format of the card, which is very little in my opinion.
So I tried to follow this tutorial for an installation with more space for the operating system.
I created a three partitions:

Fat32 to continue using on my smartphone as before (with less space of course);
An additional swap...
And an ext4 for the operating system installation.

I've ejected the ext4 partition to install Kali Linux. And everything worked perfectly!
Well... Almost everything!
Kali Linux was working just the way I wanted it, but when I tried to use my smartphone as before, I realized that I could no longer transfer my applications to the fat32 partition I created for it.

The option to transfer applications to SD is no longer displayed.
I tried to transform part of SD as Adoptable Storage again but do it directly from the smartphone, formatting all the storage, undoing all created partitions.
I then followed this answer (both with adb, and with Root Essentials). Which again undid my partitions. But I re-did it again following the following steps:

Format everything and use 50% for Adoptable Storage (by adb or Root Essentials).
Remove the SD from the smartphone and insert it into the computer to create the other partitions (ext4) with MiniTool because Android Partition Tool (AParted) was not able to do this.

Ok, now I can transfer my applications to SD, and I also have the ext4 partition for installing Kali Linux, but now Linux Deploy can not see this partition mounted or ejected by Android.
Monted:

[12:36:31] >>> status
[12:36:32] Device: MotoG3
[12:36:32] Android: 7.1.2
[12:36:32] Architecture: armv7l
[12:36:32] Kernel: 3.10.49-MPI24.241-2.35-1-g4023d70
[12:36:32] Memory: 38/898 MB
[12:36:32] Swap: 273/511 MB
[12:36:32] SELinux: yes
[12:36:32] Loop devices: yes
[12:36:32] Support binfmt_misc: no
[12:36:32] Supported FS: ext2 ext3 ext4 f2fs fuseblk vfat
[12:36:32] Installed system: unknown
[12:36:32] Status of components:
[12:36:32] :: extra/dbus ... stopped
[12:36:32] :: extra/ssh ... stopped
[12:36:32] :: graphics/vnc ... stopped
[12:36:32] Mounted parts:
[12:36:32]  ...nothing mounted
[12:36:32] Available mount points:
[12:36:33] * /system  0.9/2.2 GB (ext4)
[12:36:33] * /data  4.5/11.8 GB (f2fs)
[12:36:33] * /cache  0.2/0.2 GB (ext4)
[12:36:33] * /fsg  0.0/0.0 GB (ext4)
[12:36:33] * /firmware  0.0/0.0 GB (ext4)
[12:36:33] * /persist  0.0/0.0 GB (ext4)
[12:36:33] * /mnt/runtime/default/emulated  4.5/11.8 GB (sdcardfs)
[12:36:33] * /storage/emulated  4.5/11.8 GB (sdcardfs)
[12:36:33] * /mnt/runtime/read/emulated  4.5/11.8 GB (sdcardfs)
[12:36:33] * /mnt/runtime/write/emulated  4.5/11.8 GB (sdcardfs)
[12:36:33] * /mnt/media_rw/f86f8583-23fb-d201-f063-858323fbd201  13.0/13.7 GB (ext4)
[12:36:33] * /mnt/runtime/default/f86f8583-23fb-d201-f063-858323fbd201  13.0/13.7 GB (sdcardfs)
[12:36:33] * /storage/f86f8583-23fb-d201-f063-858323fbd201  13.0/13.7 GB (sdcardfs)
[12:36:33] * /mnt/runtime/read/f86f8583-23fb-d201-f063-858323fbd201  13.0/13.7 GB (sdcardfs)
[12:36:33] * /mnt/runtime/write/f86f8583-23fb-d201-f063-858323fbd201  13.0/13.7 GB (sdcardfs)
[12:36:33] * /mnt/expand/bd43c04c-2500-40bd-9325-1de5ae577eb6  14.2/14.8 GB (f2fs)
[12:36:33] Available partitions:
[12:36:34]  ...no available partitions
[12:36:34] <<< status

Ejected:
[12:39:49] >>> status
[12:39:49] Device: MotoG3
[12:39:49] Android: 7.1.2
[12:39:49] Architecture: armv7l
[12:39:49] Kernel: 3.10.49-MPI24.241-2.35-1-g4023d70
[12:39:49] Memory: 42/898 MB
[12:39:49] Swap: 216/511 MB
[12:39:49] SELinux: yes
[12:39:49] Loop devices: yes
[12:39:49] Support binfmt_misc: no
[12:39:49] Supported FS: ext2 ext3 ext4 f2fs fuseblk vfat
[12:39:49] Installed system: unknown
[12:39:49] Status of components:
[12:39:49] :: extra/dbus ... stopped
[12:39:49] :: extra/ssh ... stopped
[12:39:49] :: graphics/vnc ... stopped
[12:39:49] Mounted parts:
[12:39:49]  ...nothing mounted
[12:39:49] Available mount points:
[12:39:49] * /system  0.9/2.2 GB (ext4)
[12:39:49] * /data  4.5/11.8 GB (f2fs)
[12:39:50] * /cache  0.2/0.2 GB (ext4)
[12:39:50] * /fsg  0.0/0.0 GB (ext4)
[12:39:50] * /firmware  0.0/0.0 GB (ext4)
[12:39:50] * /persist  0.0/0.0 GB (ext4)
[12:39:50] * /mnt/runtime/default/emulated  4.5/11.8 GB (sdcardfs)
[12:39:50] * /storage/emulated  4.5/11.8 GB (sdcardfs)
[12:39:50] * /mnt/runtime/read/emulated  4.5/11.8 GB (sdcardfs)
[12:39:50] * /mnt/runtime/write/emulated  4.5/11.8 GB (sdcardfs)
[12:39:50] * /mnt/expand/bd43c04c-2500-40bd-9325-1de5ae577eb6  14.2/14.8 GB (f2fs)
[12:39:50] Available partitions:
[12:39:50]  ...no available partitions
[12:39:50] <<< status

Is it possible to do what I'm trying? Use half the SD as Adoptable Storage and
  the rest as ext4 to install Kali Linux? Am I forgetting to set
  something up?

Here how I'get 16gb on Linux deploy hope this help somebody:

Use twrp, advanced, make partition ext4 swap 0 (https://www.xda-developers.com/how-to-install-twrp/)
Use the Linux deploy terminal, configuration, check telnet, port, local host and http
Go to configuration again and select terminal, on terminal, put the command, ls /dev/block
Identify your ext4 partition, in my case /dev/block/mmcblk0p2
In Linux deploy, propierties, select your os and proper settings, in instalation type use partition, instalation rute use the One on the point 4, file system ext4, The other settings at your decide
Install
enjoy


text:
Is there a faster version of Skype for Android?
The latest version of Android is painfully slow - on my Sony Z3 it is nearly impossible to use. The previous version were also annoyingly slow and took up a lot of space.
Is there an alternative version of Skype that is more convenient to use?

I don't know how to address this. Self-answered questions are allowed here, of course, but this seems to be advertising, ala Spam. This is not allowed - see Help for that which is considered spam. This also seems to be phrased as a recommendation for an application, which we also do not allow. See the Help for that which is considered off-topic. I seem to have written myself a justification for a Vote to Close.

@wbogacz I do not work for Microsoft and you can see I'm a long-standing Stackexchange member. Given that Skype is one of the top 10 applications worldwide (and Skype Lite is it's official version for certain markets) I don't think it needs any extra advertisement. Also, this isn't an app recommendation - it's a recommendation for users who already use Skype. Please roll back your close vote.

OK. I'll rollback my VTC. But I'm leaving the comment, since I still consider this a questionable post. Others can decide.

Yes there is! In February 2017 Microsoft introduced a new version of their app called Skype Lite, which is a lot faster. According to the official page the new version is:

Lightweight, battery-friendly and runs smoothly on new and old Android mobile devices.

Since sometime in 2018 it became available to all users worldwide, so you can install it directly from the Play Store.
NB: I do not work for Microsoft and have nothing to do with the development of this app.

Upvoted please remember to add such disclaimer

Worth to note that Skype Lite is not available for all Android devices. Google Play states it's not available for my Nokia 5.3, which is a shame because vanilla Skype runs horribly slow on it. I did not find any proper statement via websearch on which devices are supported and which ones are not. :-(

@AttilaCsipak doesn't work if you directly install the .apk?

That may be OK for someone who wants to invest time into looking up a trustable source, playing around with a custom installation and also installing updates manually later. That's generally not me.


text:
How to customize which camera app is launched when double tapping the power button?
I have a Galaxy S7 Edge with the latest lineage nightly. How to customize which camera app to launch when double pressing the power button? The original one causes issues for me.

Defualt camera app will be opened by double tapping power button. To set the app as default camera

Clear deaults of the stock and desired camera app. This can be done in app info.
Double tap the power button twice
It should pop up a dialog with a list of installed camera apps. Choose your app and click always.


text:
How to backup large contact photos?
Most modern Android devices allow storing large photos of each contact.
I tried exporting all my contacts, then importing them.  All the large photos were lost.
How can you backup the large photos associated with each contact?

Backup and Restore
Following the app recommendations made in this XDA post How to backup local contacts with their high res pictures ?
I set a hi res 1984 × 1800 picture for contact and backed up using Super backup: SMS and contacts , took a backup , deleted the contact and restored
To my eyes, it appeared to be high resolution as originally set
The other app was not tried as it was pointed out in app review that it didn't work beyond 720 resolution
I tried to locate the storage of these high resolution pictures to manually verify the restored file size but couldn't. Method described in Where does android store contact photos ? didn't work

Edit

The reason I wanted to verify pre and post backup - restore process was to check if hi-res photos were backed up , not wanting to believe my eyes judging the resolution of the picture in a small circle on an LCD screen. So I asked this question High resolution contact pictures in Marshmallow - what is their size and where are they stored
As iBug explained in the accepted answer the resolution is capped to 720 by 720 irrespective of the picture size , an improvement implemented from KitKat days

It turns out that my suspicion was well founded !

As an aside, contact thumbnails (  used for notifications, messaging applications ) which are scaled down to 96 by 96 can be scaled up to 256 by 256 by this Xposed module Clarity

Bottom Line: Any contact picture irrespective of original resolution will look no better than a 720 by 720 resolution, whether you use an app , Gmail sync or for that matter in any manner


text:
Sending email fails on one account
In the Gmail app I have several mail accounts. Today this problem started to occur (it worked fine for months before).
In one mail account the sent messages got stuck. They are in the Outbox folder marked as "Queued". Every now and they they change to "Sending" and then back to "Queued". The other accounts (different servers) work fine. The server type is IMAP+SMTP. The outgoing server settings are identical to settings used on a laptop (Thunderbird app) where they work fine. The laptop and phone are in the same WLAN.
Is there some hidden log or anything that would give a hint? There are no error messages reported at all.

All logs in the phone are in a central location, you can see them with adb or an app like https://play.google.com/store/apps/details?id=org.jtb.alogcat

@acejavelin aLogcat does not show anything useful. Should I change its default settings?

Hmm... Seems very sparce to me as well, haven't used in a while. Guess you just have to do it the old fashioned way with adb


text:
Find Android version on S6 - suspect Android 7 because of rounded icons
I recently updated my Samsung S6. As far as I can tell, because I'm now seeing rounded app icons, I'm now using Android 7 with the Samsung Experience UX, based on this post:
www.sammobile.com/2017/03/09/galaxy-s6-edge-running-android-7-0-nougat-pictures/
How can I confirm the Android version without installing a helper app that does this? There's no settings > about phone and I'm not seeing it under settings > about device, or settings > developer options

Found it:
Settings > about device > software info


text:
Does it harm if we remove system bloatware in rooted device?
I've rooted my Android 5.0 device and later I removed the system pre-installed apps, does this cause any harm to my device... Please help me out.

Please provide app name which you want to remove because it will depend on the app.

It depends on what pre-installed apps you have removed. Some could be safely removed with no harm, some might interfere in smooth functioning of your phone, while others would cause serious problem. Here is a list of system apps of a Samsung device, and the author made a detailed analysis on which are safe to remove and which are not. Hope it works as a reference for your device.


text:
What is device administrator supposed to be set to on a smartphone?
I have an LG smartphone, and I'm curious what my device administrator should be set to. I have two options, one is Android, and the other is the anti-virus program that I'm running. Neither one are check at this time and I'm wondering which one if either should be?

Quoting from the Device Administrator tag wiki

What is "Device Administrator"?
An app can register as "device administrator", which usually requires the users confirmation. As device administrator, the app gains elevated privileges: it can e.g. define password policies (forbid "swipe-to-unlock", set a minimum password strength, etc.), but also wipe your device on remote commands

If you don't give the apps the power, they may not work as expected. Apps asking for such powers appear under Device Administrator menu you are seeing

In your case Android Device Manager helps you track your device if it is lost (amongst other things) , so enable device admin permission

Similarly, enable Anti Virus app too, if you want full functionality

It's helpful to read the tag wiki. You choose the right tag wiki but probably didn't go beyond that :)

By granting them permissions, they don't control your device completely. They only use the permissions asked by the app


text:
How do I spoof camera input by using a pre-recorded video instead?
We need to joke a friend and we can't figure out how to do this. It should be applicable to any app that requests a video feed

You'd need to find or make a custom ROM that supports this.

@DanHulme Easier: Write an Xposed module and hook the related APIs.

@iBug I have Xposed Module but have no idea how to achieve this with that. Or I'm just searching for the wrong terms on Google


text:
Phone connected to PC but it only charges
I'm using windows 10. Connected my phone (Samsung Note 3) to my PC but it only charges. I've done USB Debugging and even installed the driver on my PC. I doubt windows 10 doesn't recognized my phone because I connected to my windows 7 PC but the same thing happened.

Do you get any notification when you connect. If yes, pull that down and change options to MTP

Not that I'm aware of, no

I think it is a driver problem. Uninstall them reinstall , reboot and try. That notification comes when the device is recognised by PC. Right now it's only charging because of default USB behaviour. Also go to PC properties and see what it shows for the device connection. If it doesn't show as Samsung certainly it's a driver problem

I know it might sound stupid, but are you sure that your USB cable is of data-type? There are same looking power-only cables, which obviously allow only charging, and don't have data wires at all. Try with different USB cable as a start.

:-) Thought so... You're welcome... Happened to few people I know...

@centier Post the answer yourself and mark this question as solved :)

Not all the USB cables offer data transfer. There are same-looking power-only cables, which obviously allow only charging, and don't have data wires at all.
Try with a different USB cable as a start.

After this try a Mac if you have one


text:
Is extreme battery saving possible on Android?
What is the most extreme battery saver method out there? I don't need anything (location, data, nothing) except phone calls when my screen is off. I know of greenify but even that's not good enough
I basically want to turn my android phone into a Nokia 3310 as soon as the screen turns off?
This is not just a question about app suggestion. I'm wondering if it's even possible on android. Google play services would probably not allow this sort of thing.
PS: I have a OnePlus 3 running Nougat.

Is your device rooted?

Try Macrodroid automation app. Trigger : Screen off; 1. Action : Battery Saver on 2. Launch shortcut of Greenify hibernate now. That way you hibernate plus launch battery saver mode. When if your device is not rooted , there is a workaround using adb for action 1

What version of Android do you have?

Yes, rooted. Running Nougat.
Willing to even install a custom ROM for this.

@beeshyams I tried a similar (same?) thing with tasker. Do you think Macrodroid would differ?

What is that you didn't like with Tasker? Are you looking for something else? Or it didn't run with Tasker ? Or you are not happy that this is the best battery saving option? BTW I don't know Tasker

I am battery saving myself as you can see fro my profile . This is exactly what I have on my device - it disconnects bluetooth, data (needs root), wifi, hibernates using Greenify shortcut , which is the same as using battery saver  plus hibernation

One suggestion, you may utilise Tasker to enforce aggressive battery saving by throttling CPU, turning off  location services (secure settings) when display is off

beeshyams, I wasn't happy with the results.
@xavier_fakerat Thanks for the throttling suggestion.

If you're rooted and using greenify then there's this option of aggressive doze. Once try it and if not greenify then use kernel Adiutor to tweak your processor as per your need.

Good recommendation, this would be more impressive if you give instructions on  using kernel auditor to throttle CPUs

Sure, after entering into kernel Adiutor swipe left and select CPU and now you can see the cores and their respective frequencies.Just scroll down and you'll find CPU governor, now change it to Powersave. I hope there'll be Atleast a small change in the battery life!

And one more thing in case of one plus 3 i guess there are custom kernels available in XDA maybe you should give them a try!

Since OP has Tasker, it is possible to intergrate kernel auditor into tasker as a plugin of some sort (I know Tasker alone has this functionality however)

Never integrated tasker with Adiutor.Maybe you can try it yourself.


text:
How to save a file using GNU Nano?
I use Termux and GNU nano to edit program text but I don't know how to save it from Nano. Normally in Nano I press shift + O but with Android (I use Samsung S8) the ctrl + O instead prints the char O.
How should I save and exit Nano?

Are you using a virtual or a physical keyboard?

@DeathMaskSalesman Virtual

Try pressing O while holding down Volume-.

You can exit by using (ctrl + o) not (shift + o)
Tip. In termux use vim instead.
not because of "text editor wars" but it is painful to send ctrl and shift keys even with modified keyboards similar to hacker's keyboard


text:
High resolution contact pictures in Marshmallow - what is their size and where are they stored
Trying to answer this question How to backup large contact photos?, I wanted to compare the picture size after restore
I do see a database for contacts  , as mentioned in Narayanan's answer here -  location hasn't changed from Gingerbread days !
/data/data/com.Android.providers/contacta/databases/contracts.db
How do I see the picture and it's size ??
I gather one has to SQLlite viewer but Apps from play store didn't help and I am new to SQL stuff. It would be nice if I can get a way of doing this (preferably without using PC but if that's inevitable , it's fine )
Edit:

Android version 6.0, Rooted
When I see /data/data/com.android.providers.contacts/files/photos/ they pertain to WhatsApp photos not contact pictures

What Android version are we talking about? Did you already check at /data/data/com.android.providers.contacts/files, if present?

@DeathMaskSalesman: updated question

That folder can only be opened as root. Are you rooted? Furthermore, WhatsApp cannot alter it, but it may be possible that the above app makes use of the Contacts Provider, which in turn stores WhatsApp's contact thumbnails.

@DeathMaskSalesman of course the device is rooted, otherwise wouldn't be able to see /data/data.  Coming back to the question, maybe WhatsApp does as you suggested but I am trying to locate my contact pics

Assume you're using an AOSP ROM, you just missed the correct answer:
/data/data/com.android.providers.contacts/files/photos

Whatever the original size of the image is, it will be resized to 720*720 and shrinked to less than 64 KiB.
To verify this by yourself, get these commands executed in a root shell. You need BusyBox or Termux for find and xargs Android M introduced ToyBox which has find and xargs built in.
# cd /data/data/com.android.providers.contacts
# ## Add a picture of your choice to a contact
# find -type f | xargs ls -t

See the output. find -type f outputs every single file found under current working directory, and xargs use piped stdin as arguments to ls -t, which lists and sorts all files from the command line by last modification time. You will see that the top 3 files are
./databases/contacts2.db
./databases/contacts2.db-journal
./files/photo/3 (num. varies dpd. on your env.)

The answer is clear as seen above.

No need to specially spacify toybox. It is already symlinked in /system/bin

OK.. Ran those commands on Terminal Emulator and see the output as you said and the interpretation Accepting the answer +1. But my doubt remains

This supports 720 by 720 - which means this hasn't changed from Kitkat

Also while the size part is clarified , where are they stored, which is kind of incidental - if you can address that and add to your answer it would be nice

For high res images, I supposr it's handled by your Contacts frontend app, because it's not what Contacts Storage should do.

I don't have a separate front end app - use stock Moto

Looks like an old issue and the solution is Gmail web??? Also this.

Let us continue this discussion in chat.


text:
How can I get a longer Samsung USB data cable for Galaxy S4?
I have tried several alternate and extension USB cables and none of them provide a data connection. They were all new cables that worked just fine with standard external USB drives. Only the originally provided Samsung OEM white cable provides a data connection.
I have no interest in charging.
It would appear that there is something Samsung-specific in the physical design of this cable that allows the device to sense this and refuse to start a data connection.
Is there any way to obtain a longer cable with this same characteristic. Either an entirely separate cable or an extension cable. Obviously this is for the purpose of connecting my phone via a longer USB cable and being able to transfer files.
Please do not respond with any speculation. I am only interested in answers that propose solutions that specifically handle this Samsung-specific "feature".
I don't consider Amazon(or similar) shop listings that just happen to list the model name in the description as being even slightly trustworthy (based on experience buying a few!). Lots of sellers just spam the listing with every common model name.
My phone's specs are

model = GT-I9505
OS = 5.0.1

Also please note that I am not using a separate charger. The phone is always plugged into the same USB port of a Win10 desktop PC. It seems to charge fine but i honestly don't pay it much attention to exactly how fast it charges.
Thanks!
update
Based on clues provided by @beeshyams.
the S4 cables are modified to provide higher charge to maximize efficient charging. Lack of support for this feature in a cable may cause the S4 to refuse a data connection. note that the S4 still charges with the "inferior" cable it just charges more slowly.

thanks @beeshyams , but those kinds of products listings are basically spam in my experience. Question updated as you suggested.

@beeshyams that's exactly my intent. I've read a mountain of vague info but no one seems to know the actual facts. I want hard evidence from someone who really knows whats going on with this annoying cable. It cannot be that hard for someone to electrically reverse-engineer it (unless there is a tiny chip embedded in it!).

For realz though, I've never heard of any Samsung devices around me being picky about cables. I also have/had several Samsung devices, and although I do flash them with custom ROMs, before flashing I have to transfer data from/to them, and generic cables I bought (I got several LG ones for their high current capabilities) work just fine.

@beeshyams , I don't understand exactly what you are proposing to do. I'm very happy to DIY in general but don't have electronics tools/workbench. I also don't want to waste your time!

For realz i have 2 OEM cables that always work and tried about a dozen that never work on my phone. I have read vague hints from people about different wiring in some cables but they are usually focused on the charging aspect of things, not the data connection. SOMEONE must know for sure ????

can you please join me here

Based on my understanding of the multiple posts on Internet dealing with charging of S4 :

The Charging adapter has it's D+ and D- pins shorted with resistors across them. This is done  to ensure that higher current does not flow , reducing chances of damages to the device (see Fizz's answer on electrical.SE and this XDA post
This is NOT non standard but less frequently implemented (Apple legacy continued with few Android OEM's )
This affects (or should ) charging only
USB cables should not have anything to do with data transfer when connected to a PC . The only reasons I can think why this is happening are :

Non OEM cables purchased may be poor in shielding - XDA post linked above mentions this , though on context of charging ( I am not entirely sure how much it could affect )
They happen to be all Power only no data aka USB condom cables

Both possibilities are debatable
To eliminate the possibility of shielding affecting , suggest you to consider the cables mentioned in my answer here . They are very sturdy and 2M long and give excellent charging performance too ( I am not canvassing for them - totally satisfied customer )

USB cables of Samsung are also modified in some way , and this prevents other USB cables from transferring data - this is more likely but haven't come across any solid evidence to support and will update if I do find something

thanks @beeshyams for the specific detail. I at least have a direction to research further now. I'd be happy to accept your answer if nothing better comes up after leaving it open for several days.

Would be following this -starred it. All the best

Wondering if you could find the cause ?


text:
Can I report phone numbers as NOT spam callers?
I have the opposite situation as this question.  I received a call which Google marked as Suspected Spam Caller, but it was a legitimate call from a company I do business with.  Can I report to Google that this is not spam so others are not confused?  I selected the call in my history, and there is an option to report as spam, but not an option to report as not spam.

You missed seeing this  Report a mistake in spam protection

If a call from someone you know is marked as spam, you can report the mistake.

Open your device's Phone app phone.

Tap Recent calls Recents.

Tap the call mistakenly labeled spam.

Tap Not spam.

Future calls from this number won't be marked as spam.

Hm, I'm thinking others must have done this and Google has corrected the mistake, because although it definitely showed as Suspected Spam when I received the call, now in my recent calls there is an option to Report Spam, but no option for Not Spam.

I'm not finding a "not spam". Was that removed?

You see the Not Spam when it goes to full spam.  When it is in "Suspected Spam" you do not get to mark it as Not Spam.  It has not been promoted to "full spam" yet so you can't unmark it yet.   Question for the Community: When you mark something as Not Spam - Do Not Block - does it affect only your phone or are you voting to mark it as Not Spam to the greater world?

I do not have a "not spam" option either.  I added the phone number to my contacts and it removed the Blocked Potential Spam label and let the call come through

Slight change to newer Android:

Go to the Phone app
Missed or recent calls
Tap the call in question
Tap the "i" for info
Tap the "Report" option
Choose "Not Spam" and "OK"

This seems to get me close, but there does not seem to be a report button on step 5.  There is a block option, but I am scared to click that because it might block the number.

If the report button is not visible, you must enable Caller ID and spam protection. Open settings in the phone app, and enable the setting second from the top. After that you should be able to report numbers in your call history.

Another way to resolve this if the call is "potential spam" but does not show up with in red with an exclamation point and does not have the option to make as not spam, aside from adding the number as a contact, is just to simply call the number yourself!
I just had this issue, and tried adding it as a contact and removing it, but it became potential spam again immediately.
However, I then tapped the phone icon next to the entry in my calls list to dial the number, and after hanging up I noticed that did the trick and now the number in question shows normally!


text:
Downgrade skype on Android to before Microsoft ruined it
I have downloaded a few apk's from APKmirror
removed skype from my Nexus 5x
adb install -r -d com.skype.raider_7.34.0.114-119668850_minAPI15\(armeabi-v7a\)\(nodpi\)_apkmirror.com.apk
5486 KB/s (37425319 bytes in 6.661s)
Failure [INSTALL_FAILED_VERSION_DOWNGRADE]

Is there any way to downgrade without error?  I do not like what Microsoft did to skype at all.

How did you remove it? Uninstall/reinstall should work, with the caveat that you'll lose your app settings.

I dragged the current Skype to the uninstall icon and it no longer shows up in my app list.  I also did a package search in adb and did not find anything with the word "skype" in it.

You should Uninstall the new version before insalling an old version.
But most companies stop supporting old versions after a major change so it can be possible that after some time MicroSoft decides not to support the version then it will force you to install new version

how can a company force a new version?  and if so can I trick the old one into installing by modifying the APK?

@flyingdrifter usually they do it like this. Whenever you will open the app it will only show you to update the app. I have seen this in whatsapp.

You'll need to enable "install from unknown sources" setting before this works. Also you need to uninstall the latest version first and turn off Google Play autoupdate for this app.
As @deepak pointed out, this may work for sometime until a major change on Skype's backend will start crashing your app or it may start misbehaving.


text:
Can I connect android through headphone jack to car stereo's USB?
Basically I want to be able to stream music (Youtube / Spotify) from my smartphone to my car stereo. Android outputs audio from its headphones female jack and my car stereo has a female USB port. Could I use something like this http://www.ebay.ie/itm/USB-2-0-to-3-5mm-Jack-Audio-Aux-Plug-Cord-Headphone-Earphone-Cable-male-To-male-/302373272893?hash=item4666d9fd3d:g:BFYAAOSwxH1UKaBm to connect both?

Most likely not, but it depends on the technical details of the components in question.  Most importantly, Is the adapter simply a passthrough wiring change?  Or is it an active device that actually requires a USB host?

If it's a passthrough wiring change:

Does the car stereo accept analog audio from the USB jack?

It might, by internally disconnecting the USB hardware and connecting some line-input hardware instead.  Or it might not.

If it's an active device:
This is most likely the case because the description on eBay says it goes in a PC's USB jack, which I know is USB-only.
It probably announces itself as a USB soundcard, providing "speaker" and "microphone" capabilities to the PC.  In that case, there are two relevant questions:

Does the adapter have a "straight" pinout, or is it a "crossover"?

A straight pinout would be designed to plug into something that expects a phone on the other end, not into a phone itself.
A crossover would be designed to plug into a phone directly, but with the odd arrangement of a stereo mic/line-in and a mono speaker that is very quiet.  (basically a mirror-image of the phone's specs)

Does the car stereo even accept a USB soundcard?

Again, it might, but it may only accept a flash drive with audio files on it.

Technically, it might be possible to make a device that announces itself as a flash drive with one file on it and delivers a live stream as that file's "contents", in which case it might work with a flash-drive-only type of player.  But somehow that seems unlikely to me.

I guess I'll just buy it and test it out. Thanks.


text:
Can I really tell where the tower is that I'm connected to?
I've been having some difficulty keeping a reliable connection at my house, so I installed the OpenSignal app to see what might be going on.  According to its map, I live in a "hole" between several different towers.
However, the pointer on its home screen doesn't seem to make any sense.  It's supposed to tell me where the tower is that I'm connected to, but it seems to rotate faster than necessary to account for me rotating the phone (unlike a compass needle), and it seems to be fascinated with my home stereo speakers when I bring it close to them.  (like a compass needle pointing to the speakers' magnet)
So is this a legitimate radio problem?  Or is somebody's software getting confused?

I've gotten a lot of feedback about OpenSignal being worthless, but it was only meant to be a diagnostic tool for the problem of getting a more reliable connection.  The reason to know where the towers are, and specifically the one I'm connected to, is to somewhat intelligently play with placement.  (I'm mostly using the data connection for a WiFi hotspot, so an awkward location isn't all that bad.)  If there's a better app or methodology, I'm all ears.

The biggest problem I've seen with OpenSignal's mapping is it's all from user gathered statistics and FCC registered locations, so many things like Network Extenders for example, report as "towers", and it often tells me areas like downtown St Paul or Minneapolis that there are 20, 30, even 40+ towers near me... I have literally driven to a few of these "tower" locations and it's usually just a house or business. Don't trust tower locations in the app.

Locations of tower are from very old data so the app will not help. Moreover, I don't think you can get location of connected towers by any mean.

From app blogs Methodology explains how they collect data

Crowd Sourcing (already pointed in comments)
Monitoring users who installed app continuously

So, the accuracy pretty much depends on how many people use the app with GPS on

Data Analytics

Also see Cell towers/wifi routers not located correctly which is dated but relevant
This app was recently launched in India and I noticed this

Cell towers are very well mapped of a  provider, though, in my area tower density is low ( likely because provider made it open source as a part of publicity )
Cell towers are not well mapped, for another provider,  though the tower density is much higher

Not a very dependable app , IMO

The solution to your issue would be to "fill in" the data. Crowdsourced maps require lots of data points to build a representation of the real world and you sitting in your house is really a single data point (possibly two if you alternate between cells).
Personally I recommend "CellMapper" over OpenSignal but either should work.
Methodology:

Open Recording App
Wait for good GPS lock
Move around the area where your cell (or sector thereof) is located/focused

Most high sites have 3x sectors (think pizza slices) so by recording points in each you triangulate the point in the middle where the site is or should be. More data, more accuracy. Below is an example of poor data (probably wrong) and an example of good data (probably close).

Note: Once the preliminary collection is done you can manually locate the cell (they can often be seen from the street) and then fine tune the sites position.


text:
Low-Level: How to copy appdata from android 4 kitkat to android 6 marshmellow
I have android backups from my old (now dead) kitkat phone.
Trying to restore the appdata of two different apps from a backup I cannot run the app with the old database. I copy the files to /data/data/TLD.SOMETHING.APPDIRECORY, but when I open the app it crashes immediately.
At least one of the apps is the exact same version as before, as it has not been updated for years.
The access rights for the files are correct (user and group and -rw-------).
If I generate appdata on android 6 by renaming the old data and starting the app, the app does not crash and the newly generated files have the same access rights as the ones that I restored.
So the only reason I can think of is the format of the database. I think most likely the db format changed between android 4 and 6 and apps do only use an interface to the OS, which handles the actual db-access for the app.
"The OS" might be an OS-bundles SQLite provider or something else.
Is my assumption correct? What is the difference and how can I convert?
thank you!

I can't really answer the question about the database formats, but if your device uses SELinux or SEAndroid, you need to fix the Security Contexts of the files to match the app they should be read from, otherwise an app can't read the file nor delete it and create it anew.

GiantTree got this thing working. With his comment I found
https://forum.xda-developers.com/showpost.php?s=08f8d78aabe88fb570ec1e59a37e71a8&p=67319237&postcount=3
Which does the trick. So you need to fix user, group, Unix rights and SELinux Security Context. Thanks for this quick reply!


text:
Unable to combine desktop icons into a folder on Android 7.0 Asus Zenpad 3s 10
I have previously put an app icon over another (on this Asus Zenpad 3S 10) and a folder was created with both of them inside. Then I was able to put other icons over that folder and they also went inside of it.
However, I now am unable to combine icons into a folder. If I move an icon I want to combine into a folder over another app icon, the other app moves away. It doesn't matter how many times I move one app icon over another, the one I am hovering another app icon over, always goes quickly right or left. Is there some alternate way to combine app icons that doesn't have a bug?

@beeshyams I am using whatever launcher comes with Asus Zenpad 3S 10. I get the behavior when I am trying to combine two app icons to create a folder. You can also  get that behavior when trying to put another app icon into an already created folder, but it is not as consistently bad as with just two app icons.

@beeshyams I have "six dots"->Preferences->Folder/Icon. But I do not have anything about Show "More apps". Folder/Icon has [Folder style, Open folder animation, Folder theme, Select font, Font size, Icon label color, Icon size]

@beeshyams Thanks, that does group them all.  But I would prefer to make my own groups. I guess because most people probably don't group, this bug can hang around a long time. And it is intermittent - I was able to group some app icons.

@beeshyams I was able to do it. It has stopped letting me do it for some reason. This feature was problematic on other Android tablets/phones I have had. I have never seen it this bad though. I was able to group some icons after my initial post by swirling one icon over the other and eventually it hits some ridiculously small  sweet spot. Or maybe it is that the feature to move aside an icon to allowrearrangement,gets confused when you are swirling, allowing the feature to group to get precedence,

Thanks. Once you figure it out, you can post it to help others too :)

Just got mine today and had the same problem. It took a bit of fidgeting, but I figured it out. Drag one of the desired icons to the static toolbar at the bottom and then drag whatever remaining icons you wish to group into that first icon. You kind of have to release immediately so it stays in that "folder" you created. This worked for me, so I hope it works for you.

Thanks. That does prevent the target icon from moving away as it is locked into the fixed bottom row. I had some trouble (they really need two modes) getting an initial join, as the source icon kept jumping back to its' original location when I released. After I eventually had two joined in that bottom row, I was also having trouble adding a third icon as it would also jump back to its' original location. But if you wait for the folder border to expand to release, then it worked well (add icon to already grouped icons which are in locked bottom row).


text:
Bluetooth connection fakeout
I have a Nexus 6 running Nougat. I've always had it connected to my car speakers via Bluetooth. Last night, I hit play on my music app, and although the car's display screen showed the song info and the progress timer, and I was able to navigate through my playlist (i.e. the car thought it was playing), the sound came from the phone.
I thought it was an issue with the car's connection, but then today I tried to connect my bluetooth earbuds, which have worked fine in the past. The phone's bluetooth settings showed that the earbuds were paired, and the buds gave me the little beep tone to indicate pairing, but again, when I hit play, the sound came blasting out the phone speaker, rather than through the earbuds.
I've tried unpairing and setting up from scratch, and that doesn't seem to make a difference. Any ideas?

You can try Sounds out - it is said to deal with sound routing problems very well

Thanks, I tried it, but am still having the same problem.

Back up data and factory reset - drastic , yes

Not worth it. I'm just waiting for the next generation of Pixels to be released. I can do without my bluetooth music until then.


text:
Calendar does not refresh when deleting contacts
When I delete a contact, its birthday continues to stay on the default Calendar app, in the Birthdays calendar. (FYI, this calendar automatically gathers events from contacts' dates.)
How to update/refresh the Calendar in this case?
I went to the app settings and clicked on Clear Cache, with no result. Should I do a Clear Data too?

I managed to do what I want via a combination of:

removing the Birthday calendar from the web account
removing the Birthday calendar from the calendar app
doing a Clear Cache and Clear Data on the calendar app
forcing a sync of my Google account on the phone


text:
Signal, WhatsApp, etc. without Gapps on Copperhead
There is seemingly no way to install gapps on Copperhead OS anymore, as indicated by the Copperhead OS bugtracker.  Yet, Mike Perry does it by installing Copperhead piecemeal.  What is going on here?  What in Copperhead OS's unified install breaks gapps?  Is it just the android-info.txt file in the image zip?
As an aside, I only wanted to install Google Play Services because it sounded like Signal, WhatsApp, and maybe Wire might not receive messages in the background without gapps pico installed.  Signal warns about this, and asks to burn oodls of battery to fix it, but I do not know if this really matters.  I do know microG cannot be used to fix it currently because the way microG spoofs Google Play Services breaks security throughout the phone.

Is your question really "What is going on here?" or would you like to be more specific? What kind of answer are you hoping for?

What do you mean when you say " I do know microG cannot be used to fix it currently because the way microG spoofs Google Play Services breaks security throughout the phone". What security risks are you talking about?

I elaborated that what I want to understand is why you cannot simply install gapps on copperhead when seemingly all the same pieces work.

Also,  it's noted that microG enabling key spoofing creates a security vulnerability in both the copperhead bugtracker and the mission improbable future work section, presumably if an adversary can get you to install any app then that app can pretend to be any other app and do bad things.  The fix might be to somehow restrict the key spoofing to only microG spoofing only google play services, but I know zero about what that entails.

As an aside, it appears Signal responds to the lack of Google Play Services by burning slightly more battery, while WhatsApp only checks when you wake it, so you kinda only get messages when using WhatsApp.


text:
Short, less than 160 character SMS being split
I'm receiving SMS messages that are being split into multiple messages. These messages are well below the 160 character limit. For example, I checked three at random that were split and they only had 82, 91, and 79 characters.
The messages aren't split after the same number of characters.
I'm see this problem with a sender who has an iPhone 6 on sprint, and I have a Samsung Galaxy S5 on MetroPCS (T-mobile). I've tried different SMS apps on my phone.
What might the problem be?

The splitting happens on the sender's phone, not the receiver's, so this is properly an iPhone question rather than an Android question.

One possibility is that "characters" is not what you think. SMS was originally designed for single-byte languages, so in languages that use non-Latin characters, one "character" in that language counts as 2 or 4 characters in the  SMS message. The problem is particularly noticeable in Chinese. Emoji also count as multiple characters for this purpose.
If your correspondent is writing in Chinese or other non-Latin languages, or makes heavy use of emoji, they won't be able to write 160 characters.

She's writing in English, and there are one or two emojis at the most.
I'll ask in an iPhone forum and see what they say.

Sometimes Emojii are treated as MMS.


text:
Lineage OS 14.1 ROM can't connect to camera
I have recently flashed Lineage OS 14.1 (fortuna3g unofficial build, Android Nougat 7.1.2) onto my Samsung Galaxy Grand Prime Duos (G530H/DS). Everything in working order, except the rear camera. Each time when I try to access camera from other apps(Whatsapp, Banking etc.) OR opening the stock camera app, it gives me "Can't connect to camera" message.
I have tried with 3rd party apps (open camera), some online tutorial fixes (cmfix camera fix for cyanogenmod), restarting camera app, restarting phone, reflashing LOS 14.1 etc.
I went back to stock to verify that camera works fine. There is no hardware issue.
Anybody had similar problem? Were you able to fix it?

This sounds like a bug that you should report to Lineage. There's likely nothing we can do to fix it for you.

wasn't actually hoping anyone would do something to fix it for me... just really hoping someone had the same issue happening to them and would point to something I have not yet tried

Answering my own question.
My particular problem had to do with baseband and device codename, no bugs or problems with the build. For those, like me who were unaware of how this is related.
My baseband version matched the fortunave3g codename. So I should have installed that build of the of the ROM instead of fortuna3g, like I initially had. More information can be found in the device model master thread at xda-dev forums
I was unaware of the relation between the two things. But anticipating issues I had previously downloaded the three available builds (fortuna3g, fortunafz & fortunave3g). So all I needed to to was flash the appropriate build.
Everything is working fine now.
Thanks to all for the attention. Ultimately my problem was lack of awareness.

As this is an unofficial build so most likely this will be a bug in the rom.
Update it to latest build if problem still persists then stick to the xda thread for the rom and wait for the developer to fix it or try fixing it yourself if you have experience in android builing.
Edit: By browsing through xda thread I found this comment. So it seems like there is no camera bug in new builds so you have to just update it to the latest build.
Try clean flash if the problem still persists.

Already have latest build, released on 11th. That comment you point out is in response to my very own post on their forums, in the same thread you linked above.. I am however, still with a camera problem.. Guess i'm out of luck... I was just hoping someone else had the same issue, and maybe a fix... thanks anyway.

Try clean flashing the latest build

This is a common bug in during early stages of android nougat development in custom ROM Lineage 14(cyanogenmod14), which was solved after few updates.
This problem doesn't occur in latest builds.
Possible Solutions:

Try to clear cache of stock camera.
Try to find any Official Nightly Builds(which updates regularly, otherwise contact developer and report the bug).
Try to clean flash(Backup user data, and wipe /system, /data, cache etc. install as new)
Please check whether you can turn on flash light from notification shade.
If you have used adoptable storage(SD card as internal), then check whether camera storage is internal or not.

already found problem.. turns out it has to do with baseband. I just had the wrong build. adding answer right now


text:
Use Android as an AVRCP client, not server
I paired via bluetooth my phone (Moto G5, Android M stock non rooted) to a linux box, and among the services that it advertises I found out that the phone can act as an AVRCP remote (that is, send play/pause requests etc just like a bluetooth headset with buttons would do). In linux (which uses the BlueZ stack) this is automatically handled by creating a virtual keyboard that can generate events such as volume up and whatnot, so the receiving side is working. However, I cannot find a way to actually send these commands from the phone. Using the bluetooth volume slider doesn't seem to do it (it must be a knob of the software mixer on the phone).
Is an app necessary to use this functionality, even though the service is always advertised by the phone? If so, which one?


text:
Audio line-in feature
Does anyone know if any of the latest smartphones provide a audio line-in support? Am aware that this question has been addressed earlier as well but it has been a while since the last query on this and also the smartphones has evolved so much.

in some headphones there are 4 wires and the 4th one is for a mic so just search up on youtube how to add line input and then yeh

For the sake of completion, I will answer my own query. After googling for few days, I conclude that none of the existing Android phones in the market provide line-in support. This is more of a hardware restriction.


text:
Apps abruptly close and/or keyboard minimizes while using Gboard (6.0 & 7.1)
Ever since purchasing this OnePlus3t brand new with 6.0.1 installed, the pre-installed Gboard I've been trying to type on abruptly minimizes, sometimes closing the app with it.
I haven't hooked it up to adb/ddms yet but I was wondering if there are any known issues with Gboard, OxygenOS or perhapse the OnePlus3t hardware in general.
Though this behavior occurs mostly in Messages, the proprietary Messenger (like every time I use it), it does also happen in Chrome and Jota. Interestingly it only occurs "the first time" the keyboard's been used in a while. After that first "crash", it works absolutely fine. Once the phone has been idle/asleep/un-used (di.fm is usually streaming) for a "while", it happens all over again, severely burning my marshmallows (apples are probably healthier and not so sickening sweet, i just don't want to turn into an iFruit).
The recent 4.1.6/7.1.1 patch installed recently didn't resolve the issue either.
This device is for all intents an purposes completely stock. It hasn't been rooted, loaded with a custom launcher, or any other potentially problematic software (I've got a few main stream apps like Jota, di.fm, terminal (installed recently), ...).
I tried turning off some text-prediction features in the Gboard settings to no avail.
1+3t+OxygenOS(4.1.6)+Marshmallow=

Are you sure it is not due to accidental touches to nav bar while holding the phone?

Wondering that myself I've been paying extra close attention, and slowing down my typing significantly. I haven't yet ruled out edge detection, which triggers often when setting the phone down. I think I toggled pocket mode on and off already though.

Try capturing a logcat while replicating it. If it is a system error or so you may able to diagnose it by looking it.

Yeah, I didn't want it to have to come to that after dropping a small fortune, but I don't have many options. It's just going to lead me down a rabbit hole anyway.


text:
How to use google assistant on an emulator?
Is it possible to use Google assistant on an emulator?

Which emulator are you using?

I want to use google assistance but I don't have an android phone, Any emulator will be fine as long as it runs google assistance

@Maysara For only trying google assistant try this guide

@xavier_fakerat I am using Linux so it will not work for me


text:
In-app purchase on google play
Lets say i have an app I've recently downloaded and have made an in-app purchase on this app, if i were to uninstall this app and reinstall later on will my in-app purchase still be available? ( also same situation if i where to reboot my device)

Many apps offer the functionality of "restore in-app purchase". Look for it, make sure it's there before you purchase anything.

Duplicate of this also https://android.stackexchange.com/q/104865/131553

First, a reboot will never "revert" your completed IAP, and never should it (unless serious problems with hardware that causes data loss).
When you uninstall and re-install an app (or simply clears its data), then:

If that app supports cloud backup, your data will be recovered and nothing is lost or reverted
If that app has no backup then:

All consumable purchases are lost, so is your dollars.
All non-consumable purchases are also lost, but they are supposed to be restorable (not "recoverable")

See Consumable and non-consumable purchases.

Consumable purchases are like golds, gems and timed boosts that does not last forever.
Non-consumable purchases are like premium unlocks, special characters and coin doublers that lasts forever after purchase.


text:
installing gapps without custom recovery
i have a SM-J7008 which was recently flashed but has no google apps installed. i read it was possible to in stall them using busybox. i would like a little more detail with the method mentioned here:

If you want to install without modifying /system then it's impossible.
  So the answer is "No, you can't" with neither root access nor recovery
  flashing. But if you simply wany to DIY without using a custom
  recovery, it's OK. Takine OpenGApps as example. Download their ZIP and
  extract it.
Install BusyBox
Use busybox lunzip to extract the .tar.lz files in Core/
Move files other than APKs to /system. You will find things to be merges into etc/ and framework/. Take care of file mode (permissions)

and owner/group.
      Install GoogleServicesFramework.apk as system app. In my experiments it sometimes fail if not installed as system app.
      Install the rest of the APKs as normal.
You can't install GApps without modifying /system. As you see, there
  are quite a few configuration files that will be merged into
  /system/etc during installation, and a few essential framework JARs to
  be installed to '/system/framework. They won't work if installed
  elsewhere.

Are you answering the question you asked yourself? If yes, crop the answer part out and put it in a proper answer; else, make it clear what the whole latter part is for (maybe it belongs in a blockquote?).

i am knew to this.i copied a response which i believe can help me but i need a little more detail on how exactly to go about it

I put it in a blockquote for you. To me the instruction seems quite clear: if you are rooted or has a custom recovery, you could proceed to just flash the GAPPS zip; if not, just don't think about it. As for busybox, it's just how the zip itself handles the installation, it's not what we as end users should care about. Just go get root or custom recovery figured out.

That text looks very familiar to me. I think it's my answer :)

i am rooted but a custom recovery is not available for my model SM-J7008

yes it is yours, can you explain the steps any more clear

Does anyone think it's a good practice to post detailed answer here?

i do not know but anything you can do i can get it installed wil be great

@iBug Didn't know he just copied it here... Added a link pointing to your original. Still, I reckon the text better be kept here for clarity.

Probably you can take the discussion to the chat room, if the instruction gets too long and requires step-by-step guidance...

if that is possible then yeah. my phone is rooted,busybox installed and the Gapps on my sdcard. i just need to know what to extract from where to where

Why not try extracting some of them and figure out the directory tree by yourself? It's very simple.

i have never used busybox before so can you tell me at least how to use it to unzip the tar.lz files


text:
Why do Android create "Shell Folders" automatically? Can I change the shell folders?
Android automatically creates these folders in primary storage:
Alarms
DCIM
Documents
Download
Movie
Music
Notifications
Pictures
Podcasts
Ringtones

They are the default "User Shell Folders" of Android (USF is a concept from Windows). There's hardly any documents or discussions on the internet. Most discussions are about MediaProvider (and Media Scanner).
Is there something like a "registry key" that controls these folders? Can I change the default location and name of them?

Registry key is a windows concept in android these locations are handled as following
/**
 * Standard directory in which to place files that have been downloaded by
 * the user.  Note that this is primarily a convention for the top-level
 * public directory, you are free to download files anywhere in your own
 * private directories.  Also note that though the constant here is
 * named DIRECTORY_DOWNLOADS (plural), the actual file name is non-plural for
 * backwards compatibility reasons.
 */
public static String DIRECTORY_DOWNLOADS = "Download";

This code snippet is extracted from android / platform / frameworks / base / android-<version-tag> / . / core / java / android / os / Environment.java
So as you can see this returns a hard coded static string and I could not find any function to change it in AOSP code. So you can not change this location for all applications unless you modify the source code and build your own custom rom. For your application obviously, you can download it in its private folder also.
But some OEM had provided this capability in their rom. See this.
A work around to do so for Download folder is to download a 3rd party download manager like ES file manager. It will prompt you to choose download location for the file.

Good. Thought there would be something like /system/etc/usf.conf like Unix systems do.


text:
Android Emulator - INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113
When I try to install an apk file through the monkeyrunner Python script, getting the error INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113. How can I resolve this issue?
Detail of the virtual device is listed as follows:

CPU/ARM: x86
API Level: 24
Target: Android 7.0 (Google Play)

You are trying to install an arm apk to a x86 (or x64) architecture which has missing arm libraries (libhoudini.so etc) , thus you are getting the error.

So how can I install those missing libraries? @xavier_fakerat

As mentioned here: INSTALL_FAILED_NO_MATCHING_ABIS when install apk:

INSTALL_FAILED_NO_MATCHING_ABIS is when you are trying to install an
  app that has native libraries and it doesn't have a native library for
  your cpu architecture. For example if you compiled an app for armv7
  and are trying to install it on an emulator that uses the Intel
  architecture instead it will not work

To get around this, you need to get these libraries in /system/lib.
This is possible though the use of libhoudini.so libraries. You can root your emulator and push the libraries through adb into /system/lib.
You can find the libraries here and the instructions are given as well.
Generally you need to do the following:

Download a compressed package from the internet and extract it to / system / lib / arm (or / system / lib64, depending on whether the platform is 32-bit or 64-bit). x86 houdini libraries download link
Second, to the directory /proc/sys/ fs/ binfmt_misc under the name of "register" in the file written in a string of strings to tell the Linux kernel, all use the ARM instruction set executable and dynamic library ELF. The file is opened with the houdini program, and all the ARM64 instruction set executable and dynamic library ELF files are opened with the houdini64 program (on the binfmt_misc detailed explanation, you can refer to Linux how to specify a type of program with a specific program to open (through binfmt_misc )
You can remount adb as root and directly push the arm folder (with houdini libraries) to the /system/lib folder like so:
adb -e push C:\Users\User25\Desktop\houdini\arm /system/lib
(Remember to set the correct path and appropriate permissions)
Another second option that I tried personally is to get an avd image with native arm bridge enabled already (in case you encounter problems with rooting your emulator)
Preferably get the avd of RemixOS player or Genymotion and extract the system.img, userdata.img, ramdisk.img and other files like build.prop etc and place the in the system images folder of your emulator (e.g if the downloaded images are for an x86 avd, copy them to the system-images dir of your emulator and paste them in x86 folder of  the correct api level - something  like \system-images\android-26\google_apis\x86 and create an avd based on that (this is useful for just testing you arm apps on on your x86 avd)
You should get over this error, if everything fails then just use an emulator with arm translation tools.

Note: the linked houdini file is just a tar file, not .tar.gz (despite the name). Use "tar xvf file" to untar.

Thanks, I was getting that error trying to install my Unity mobile game's APK on a v8.1.1 emulator. I went into "Player Settings" -> "Player" -> expanded "Other Settings" and scrolled down and checked the "x86 (Chrome OS)" checkbox under "Configuration." The only images I can download in Android Studio for v8.1.1. are x86 or x86_64. After building the APK with that checked, the install worked fine.

This link is no longer valid http://translate.googleusercontent.com/translate_c?depth=1&nv=1&rurl=translate.google.com&sl=auto&sp=nmt4&tl=en&u=http://m.blog.csdn.net/article/details%3Fid%3D49735601&usg=ALkJrhiTo8CZbJEQYQnO8N14Kyz5r4F2Qg


text:
Galaxy S4: Some apps install. Some result in *app name* can't be installed in the device's install location
For example I can successfully download apps, but then with some apps get this message.
Clearly this is not a storage problem and my software is updated.

are you  telling  about download and install apk's? or from play store?

From the play store


text:
Install stock firmware on my Galaxy S5 SM-900T
I would like the correct info on how  to install stock firmware on my Galaxy S5 SM900T.  And what do I need to know about my phone before I do it. Like all the correct numbers so I do this correctly.
Thanks
KPH

SamMobile

Official website for downloading firmware here.
For method of flashing, precautions and other requirements follow this thread

1) extract/unzip firmware file (should show as .tar)
2) download odin v3.09 or newer and extract
3) open odin
4) Reboot Phone in Download Mode (press and hold Home + Power + Volume Down buttons)
5) Connect phone and wait until you get a blue sign in Odin
6) Add the firmware file to AP / PDA
7) Make sure re-partition is NOT ticked and keep odin default settings
8) Click the start button, sit back and wait few minutes


text:
How can I prevent apps from going full screen and hiding the notification bar?
The notification bar takes only a few pixels yet contains so much useful information. Unfortunately, there are some apps (that I otherwise love) that insist on being in full screen, and therefore remove the notification bar from sight.
Is there any way I can force the notification bar to remain while running these apps?
I run rooted Marshmallow with Xposed Framework on a Samsung SM-G900F.
The apps can run on all types of display sizes and aspect ratios, so technically they should be able to do without those pixels on top.

Since you have xposed and rooted I have two options for you: 1. AppSettings (xposed) and Xhalo floating window (xposed)

There is an app for your required feature Status bar in full screen
You can use it with any launcher and it is compatible with Android 2.2+
In the app, you can toggle status bar on/off in fullscreen mode.

Alternatively you can use AppSettings xposed module which also has the feature to disable fulscreen mode:

Or XHalo floating window which creates small floating windows when launching an application instead of full screen.

Tried it again. Still not working. This app: https://play.google.com/store/apps/details?id=com.binarytoys.speedometer


text:
Oneplus 2 Soft-Brick
I bought a Oneplus 2, two years ago and it was running quite well. A couple of months ago, I decided that I didn't like the way that Oxygen OS 3 was running so I decided to root my phone.
I successfully rooted it, added TWRP Recovery and added Resseruction Remix. It was working perfectly for the last few months without any problems. However, when I rebooted it yesterday, out of the blue, it went into a boot loop.
I can see the Oneplus logo and the boot animation that I have, but the animation runs indefinitely. I did some research and I believe this is known as soft-bricking. I tried to clear the Cache and Dalvik from my recovery but that doesn't work either.
How do I get my phone to work properly? I don't have a recent backup and would prefer not to factory reset my phone.

flash the rom again preferably a previous build which was working perfect

yeah i did that and it works well now. It is running Oxygen OS though.

flash the rom again preferably a previous build which was working perfect.
Dirty flash will do the work but if it doesn't then clean flash it.