text:
What is this mysterious blue dot?

Click image for larger version
It pops up randomly when I'm using my phone. However, it ALWAYS pops up when I open Google maps. It then seems to emulate a repeated clicking motion, which freezes my phone to the point I have to do a hard restart.
I am using am HTC One m8
(I'm not sure about this but I'm pretty sure I saw a literal mouse cursor come out of the blue dot one day)
I'm naming it the BDOD (Blue Dot Of Death)

That blue dot indicates your location, which is getting initialised when you open map app

It is different, believe me. Anytime it appears in maps I have to do a hard reboot a few minutes later. It also pops up when I'm NOT in maps

Maybe peel app as mentioned here ? http://forums.androidcentral.com/samsung-galaxy-s6/640087-what-heck-floating-app-just-showed-up-today.html

If that didn't help, try using the app mentioned in this solution to find out if it is caused by an app http://android.stackexchange.com/a/154425/131553


text:
Can't send mms with Hangouts
I have a Galaxy Note 4, running Android 6.0.1 and I can't send MMS with Hangouts. I can receive and send MMS with the stock SMS app, but only receive MMS with Hangouts and I can't find whats is going wrong because it worked perfeclty fine before.
Hangouts is my default SMS app.
I deinstalled/reinstalled Hangouts, no changes.
I can sens MMS with other apps, I tried Textra, but now my battery drains really fast.

Do you mean send and receive mms with your GV number, or your cellular number, and if the later, what carrier?

I am using my cellular number, and the phone carrier is SFR.

Check your APN settings as described here by your carrier: http://assistance.sfr.fr/runtime/mobile-et-tablette/offres-mobile/parametrer-apn-sfr.html

I have just checked and I have the same settings. The thing is that I never modified anything and it worked fine several weeks ago.

On many devices, messaging apps (even those with full access to SMS) are unable to send MMS messages unless they are set as the default SMS app.
This same issue affects to me on my Nexus 6P: my default SMS app is the Messenger app, and even though other messaging apps on my phone (Textra and Pulse) have access to SMS & MMS, neither can send MMS without being set as the default SMS app in Settings. Both of those apps prompt me to set them as the default SMS app when attempting to send MMS, I'm surprised that Hangouts does not.
So, to fix the issue: go to Settings -> Apps -> gear icon in the top-left -> SMS app -> Hangouts. Or, alternatively, search through Settings for "Default apps" or "SMS app".
tl;dr: Setting Hangouts as your default SMS app will fix the issue.

Thanks for your answer, I misspoke, Hangouts IS my default SMS app. I was trying to say that I could send MMS with the "Stock" app, but not with Hangouts.

@Maxime So did the issue get resolved, or is this still happening? If it's still happening, mind trying to download an MMS app like Textra or Pulse and seeing if you can send MMS from those?

It seems to be working with Textra, it means my problem comes only from Hangouts. It bothers me alot because I'd like to find a solution without installing another app.

My battery drains REALLY fast since I installed Textra, have you heard similar cases with this app ?

@Maxime Eek sorry!! Either try deleting it or go into Settings -> Battery to see what's eating up juice.

I deleted the app it is much better now, but my problem with Hangouts is still here. Guess  I'll have to send my MMS with the stock app now.

source: Stack Exchange

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

sort: votes


text:
Unlocking password-locked RCA Voyager tablet
After setting up a new RCA Voyager tablet, it will not unlock and keep asking for a password. However, there was never a moment when it's asked to have a password.
How to unlock it and get the current unknown password to be deleted?

Welcome to Android Enthusiasts! Please take a look at our locked-out tag-wiki for first aid.

It's possible to unlock the password by following these steps:

Switch off the tablet
Press the volume up key and power key at the same time
After 15 seconds, the screen will turn on, showing "no command" and the Android logo
Press the power key, and then the screen will show some options
After keeping mind instruction given on the screen, go down and click on format and wipe all data, then it will show the process
Reboot the tablet
Complete the tablet's profile
If there's a problem of entering a wrong email address, enter the email address which was entered the first time in the tablet, and then you will be able to get access to the tablet.

Keep in mind that the whole tablet's data will be deleted when following this process – so first, back up all data after connecting the tablet with any secure PC.

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


text:
Custom recovery, can it brick my phone?
I want to root my phone Samsung Galaxy J1 2016 (SM-J120zn). I tried using kingroot, root genius, SRSRoot, but it didn't work so I decided to try to do rooting manually.
I tried looking for my model of custom recovery from Clockwork, Cyanogen and TWRP, but i can't find anything for my device. The closest is Samsung Galaxy J1 ace (SM-J110H).
If i use the custom recovery from the model SM-J110H, will it brick my phone? Can changing custom recovery brick my phone?
Thanks :)

Rooting and custom recovery are two different things (device can be rooted but have stock recovery).  Next, if your device doesn't have a custom recovery, flashing a recovery meant for another device is inviting trouble. You may be able to recover if you are lucky - you can't be sure

Well first i will answer your question. If you want to use a recovery made for a complete Another model for your phone, yes it will brick your phone. Even though another model is very similar to your phone's model, it's not identical! There will always be some differences internally. For such cases you have to port the recovery. Before going for porting, Go to xda forums I'm sure there you will find a recovery for your model. But if you don't find it there, you need to port one from different model to your own.
For recovery porting is not easy and very risky I'll advise you to take help of someone who is well experienced in this. And proceed on your own risk.
Another part i would like to add is flashing recovery and rooting a phone are completely different concepts. Please read thoroughly on xda forums before proceeding.

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


text:
how to by pass google account on my itel 1556
My phone is bringing me tó write the google account which was previously synced into the phone but this was not mine í just bought it from someone.how can í do?

Í can't go any further from the re

@jackson mnanka FRP on Android 5.0 can be easily bypassed. Was the phone locked with a pin, or a model or a password before you reset it?

I would suggest performing a factory reset.  You should be able to do this by opening settings and navigating to Backup & reset.  Here you should find Factory data reset.
You may want to remove any SD card(s) and reformat ( overwrite ).

Í can't go any further from there

We should attempt a factory reset from the boot loader then.  Power down the phone, then when starting it hold volume down.
This should reveal a menu with a Factory option.

@George Oscar Bluth's This is exactly what has resulted from a factory reset. The phone had the FRP enabled. So you can attempt as many reset as you can, the phone will stick there.

Have you reviewed this post? https://android.stackexchange.com/questions/127739/how-to-bypass-verify-your-account-factory-reset-protection


text:
How to boot in download mode with a Zonda a450
Already googled this, no results, i tried with youtube video tutorial in which you supposedly boot your phone in download mode while holding the volumen down button and the power button, but it doesn't nothing.
I have a Zonda a450 with android 4.4, i want to boot in download to upgrade to android 5.

What are the specifications fot this device?

@esQmo The site is from argentina so it's in spanish http://zondatelecom.com/detalle-ZA450.html the specs are at very end of the web page

Okey. As described in the specs, the device has a Spreadtrum chipset (SC7731). There is no boot mode on SPD devices.
To flash a ROM, you need a file in the .pac format and use a flasher (ResearchDownload).
You MUST install SPD drivers, otherwise the device won't be detected by the computer.
As there is no download mode, just swicth off and plug the device by holding volume down or up.

i found a .pac file for itel it1408 which uses the same chipset, but no idea if this gonna be a good idea, i not sure if they are compatible

Don't flash ROM intended for another device, even though they have similarities!

i couldn't find an apropiate .pac file for my phone =/, any other methods to do this?

Nope. it's the only method. Ask for support on the manufacturer website.


text:
Secure low budget smartphone
My device:
Motorola Moto E. (android 4.4.4), rooted with Xprivacy to control permissions.
The Problem:

No security updates since 2009.
Can't find a way to use Google Play Market without giving it too much permissions.

Leading to...
The Situation:
Since I cannot find a good alternative market, I'm stuck downloading apps from my computer and copying over to phone (tiring, and c'mon it's 2016).
I don't browse the internet, becouse of the non-patched vulnerabilities.
What I want to do:

I want to flash a secure ROM with constant security updates like Nexus devices are getting,
Be able to use Google Play Market without it spying on me;

I don't want another OS, since I'm dependent on few apps like Sleep Cycle, my task manager and Dropbox.
What I tried:
I've been browsing forum.xda-developers for a couple of days, where I did stumble upon custom AOSP ROMs for moto E, but usually it also says things like:
This is started from kernel and device tree by CyanogenMod.
 (Is it the same as AOSP then? Will I get the same updates?)
Regarding CyanogenMod; It's not an option.
As for Google Play Market, it gives an all-or-nothing ultimatum. Either I give it all permissions, or It doesn't work properly.
I find it absolutely incredible that as long as only proxies for money (your sensitive data) is at stake, most people are ok with it.
Also while I deem myself quite savvy, I found myself totally disarmed with the lack of options, this question is my last resort.
If this is not the apropriate forum, please, let me know I will move the question.
All constructive critique welcomed!
Thanks in advance.

CyanogenMod lives on as LineageOS - wait a bit for that to pop up around the forums.

"I want to flash a secure ROM with constant security updates like Nexus devices are getting" - then buy a Nexus/Pixel device (Nexus 5X or newer). You won't find any this kind of custom ROM for your ageing device, unfortunatelly.

@BálintBabics, It's a rather large amount of money for a college student where I'm from.
That paints a rather bleak picture for mobile security, doesn't it?

You can run Chromium for Android on 4.4, but understand that at the end of the day, nothing you can ever do will make that device secure. A secure low budget phone exists in the form of feature phones and Nokia makes a bunch of them.

You can use alternative apps to download from Play Market  https://android.stackexchange.com/a/205238/32571


text:
Sim card factory reset my S7 without asking permission
Used the device for a long while (without sim) amassing a huge number photos and work files very important to me....
finally put an active sim card in. Without any prompts, phone begins downloading an update, then powers down to 'install update' then proceeds to reset and 'erasing data' ....
Boots up into setup as if i just got the phone.
All my apps, photos, data gone.
A) Is it possible to recover my data
B) why on earth did it do thiss
[Samsung Galaxy S7 Edge with Telus (Canada) sim card]

Never heard of a forced update that does a factory reset... Or an OTA update that erases user data at all. Very peculiar, updates on an unlocked device come directly from the manufacturer, not carrier.

The device was just in the process of being unlocked; moments prior I had requested the carrier perform an unlock of my phone.   They asked me to insert their sim card from my other device as part of that process.   So when I inserted the card, it took a few moments but once it connected to the network, bam factory reset started with no prompts.  So perhaps the unlock procedure was also a factor in the unexpected FR.

Unlocking the bootloader performs a factory reset, not unlocking the carrier/SIM... very odd

Is it possible the carrier and Samsung have a unique functionality coded such that when the carrier's sim card is inserted into a 'new' device (ie- just unboxed) that it automatically downloads the latest updates and then FR ?  Maybe the carrier wanted a way to expedite new setups (ie- at their kiosks or stores) and so hence this feature.  And they just overlooked the fact that people may actually use the device before inserting a sim.

A.) Unfortunatelly if you didn't made a backup from your pictures, apps, data it's all gone.
B.) I'm a bit confused because your phone won't be download and install any system update without prompt. The auto download part is hardly possible but the auto-install part, is quite difficult to believe.

How about advanced recovery options?  By the way, when it happened, my carrier was also in the process of performing an unlock (I had just requested them to do it, they obliged for a small fee).

So not the SIM card changing coused the FR but the unlocking process.

Well that's the thing, I don't know.  One or the other, or combination of both. When I requested the unlock my carrier said nothing about an impending factory reset.


text:
Plot twist: could a rooted device be actually safer than a non-rooted one?
For almost 10 years, I have been using Linux based operating systems, so I know very well how giving root access to applications may be a security issue.
However, from my searches regarding Android, I have found the following information, relevant to this question:

If you root the device yourself, you generally install SuperSU too, which will ask you whether it should allow root access to applications when requested.
There are malware which can root a device from inside, and will use su without you ever knowing. I remember the first time I rooted a device, and it was an APK which would exploit security vulnerabilities.

So, by taking into consideration the two presented points, in the case that  a malware is successful in rooting my device, and I don't have SuperSU installed, wouldn't my system be more vulnerable, since now any application can request root access without my knowledge?

You misunderstand the logic of su binary.
Android doesn't have an su command like other Linux distros do. The su binaries we use on Android are added to the /system (for pre-6.0 versions) and they are customized to work with the GUI application (such as SuperSU)
So when you run an application that wants to run as root, it sends out a call to su binary. Binary checks the list generated by the GUI app to see if you have a preset choice for the application such as allow, deny or prompt. If you don't have a preset choice for that specific app then it checks your default choice and acts accordingly.
There isn't one universally accepted su binary. Any developer that develops apps like SuperSU or Superuser (GUI apps) crafts their own su binary in a way that it'll work with the GUI app.
So if a malware flashes its own su binary, it will be customized in a way that it won't ask or notify you in any way whether you are rooted before that or not.
You can check my other answers from here, here and here for extra information about root systematics of Android.


text:
How do I lock my bootloader again?
I tried to root my Moto G3; but I was unsuccessful. Now my phones boots with this warning.

I am sick of seeing this on boot screen. How do I disable it? Seems like I need to lock the bootloader again. How do I do that? I'm completely blank.

You don't need to; flash a boot logo file via fastboot to get rid of the warning. Also, try rooting properly again, it's not as hard as you think.

The fastboot command is:  fastboot flash logo logo.bin

First, I want to tell you that relocking the bootloader will NOT get rid of that message... On the Moto G3, once the bootloader has been unlocked that message will always appear, forever. That being said, you can flash a custom boot logo to cover the warning. I will explain how to relock the bootloader and fix the logo though.
To successfully relock the bootloader on a Moto device, you must flash a complete stock firmware image via fastboot that is of the same or newer revision than you have installed, you cannot downgrade to relock. Firmware images are available here and vary by exact model. Once you have that unzipped and in your fastboot directory, perform the following commands:
fastboot oem lock begin
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem lock
fastboot reboot

Note that the number of sparcechunks can vary by model and Android version from 5-11 pieces, but what you flash must match the firmware image you have. If any piece fails, the bootloader will not lock.
Once this is done, you will have a completely stock device and a relocked bootloader, with a nice Bootloader Unlocked warning screen. As I said, once the bootloader has been unlocked, it cannot be restored to it's original condition in any way we know of.
To get rid of the screen (but not the delay or vibration, we can't get rid of that) you can flash a patched logo.bin file in fastboot. This can be done even with a locked bootloader. This can be done by flashing the logo.bin file from this ZIP file with the command:
fastboot flash logo logo.bin
And the warning screen will disappear. The ZIP file can also be flashed in it's entirety via TWRP recovery instead.
All of this may not be relevant, since rooting this device is very simple, since that wasn't your question I will not answer it here, but I will point you to my thread on XDA which may be of assistance if you want to attempt rooting again. Note that the logo.bin file I reference above can be flashed on a stock or modified system to get rid of the warning, your bootloader does not have to be locked to get rid of the warning.

What may be the consequences if I let the bootloader unlocked.

@Ajay The "consequence" is your bootloader is unlocked, meaning an unscrupulous individual who gets physical access to your device may be able to bypass any security you have and access the device by flashing a customer kernel or ROM. Honestly, there is nearly zero chances of that occurring unless you are a high value target (politician, public figure, etc), and even then the chances are infinitesimally low. Essentially locking the bootloader gives some protection from tampering to critical startup processes of the device and the bootloader should never be locked on a device that is not stock.

I am sick of seeing this on boot screen. How do I disable it?

I too was annoyed by the hysterical warning. As other users answered already, while relocking wouldn't get rid of or skip it, the screen image can be easily reflashed back to stock.
I want to expand on this and show how this screen can be given a custom boot screen, way less alarming and fitting your custom rom.
Build github.com/eriktim/moto-bootlogo and either pull the logo partition from ones own device..
adb shell su -c "dd if=/dev/block/platform/msm_sdcc.1/by-name/logo of=/sdcard/logo.bin count=1 bs=634418"
adb pull /sdcard/logo.bin .

..or download and trust an existing logo.bin within the original animation of your devices in the moto boot animation collection.
$ moto-bootlogo -i logo.png logo.bin
Created 'logo-custom.bin'
Parsing header of 'logo-custom.bin'.
..
Found 3 images.

$ adb reboot bootloader

then flash the logo partition
$ fastboot flash logo logo-custom.bin

and gone is the bootloader warning.

fastboot oem lock should do it.

That doesn't work on the G3... I'll answer in a couple minutes

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


text:
I have forgotten my Gmail account password
I have forgotten my Gmail account password but logged in on my  android phone. Also it was managed by my college IT Department which don't exist any more.How can I reset my password?

when you said that your Gmail was managed by your college IT department which doesn't exit any more so there is no question of accessing it, whether you have a password or not. Please make me aware if I've understood something different.

You can recover your Gmail account password by following these steps.

Login to your Gmail account with the last time remembered password.
Click on forgot password link.
You will be asked to enter your recovery email address and phone number.
Then you'll get a confirmation code on your entered email or phone number.
Then you'll be able to reset your new password.

Your Google Account password is the same password you use for other Google products, like Gmail and YouTube. If you forgot your password and would like to reset it, follow instructions from here

While Gmail Sign Up process, Google does ask for contact number and additional email address. If you've provided any of these data then you can easily recover your password using Forgot Password link.


text:
OTG Drivers To non-otg Android Phone.?

My Phone Details :
Android 5.1 Lollipop
Model No - LS-4005
Model- LYF FLAME 6
My phone doesn't support otg drive.
Can I install otg support manually ?
If yes, please tell me how.

The kernel has to support it, so a custom kernel would have to have the necessary modification/modules to allow OTG (meaning that you would have to download the source, modify it, compile it, flash it to device).  Otherwise the manufacturer would have to implement it.

Where I Find Suitable Kernal To My device And How To Modify it.

No idea, you'll have to look online and see if that even exists.  Try XDA Developers.


text:
What is the "Safe Center" in Android 6.0?
On my non-rooted Android 6.0, there is an "Safe Center" in System Settings.

Clicking on it opens "Background app management" which has features for restricting apps:

I've not seen such setting/feature before in previous versions of Android. So, I want to know what the "Safe Center" is and How it works.

This is not a native Android M feature. What's the brand/model of your Android device?

@AndyYan Lenovo A6600 PLUS

I don't own Lenovo device but going by the description in the second screen slot, it is very much like Stamina Mode of Sony or protected apps of Huawei. It is a battery saving feature.You can read about them here and confirm if correct

In addition it seems to prevent selected apps from auto starting on power on, thereby reducing boot time and RAM usage


text:
Restoring system partition in TWRP
I've got an android phone running Android 6.0, with TWRP, Xposed, Busybox & SuperSU installed on it (Not systemlessly though). Before I changed anything on the device, I temporarily booted into TWRP and created a Nandroid backup of all the partitions.
My device has now received an OTA update to Nougat 7.0, so,
Would restoring the system partition in TWRP break anything?
  or would it just restore my device to stock Android (allowing the OTA update) with all my data intact?

If your device had * any* updates like security updates then your TWRP image will not match with what the update check looks for

You need to restore the /system, boot.img, stock recovery also.  Your data should be fine, but as always, you should back up just in case.  The OTA will check for all three of those things and if they are modified at all (like when rooting), the OTA will fail to flash on your device.

Lollipop onwards uses Block based OTA. I am not sure if restoring /system(aside of other things) will pass the integrity check. It may be better to flash stock and then proceed to update.


text:
Security risks in case of activation of developer options
Is there is any security risks if I enabled  developer options in android phone (by clicking 7 times on build number)? Are there any risks when this option is showed in menu but switched off by toggle button?

Explanation:
No, there is no (technical) security problem with developer settings enabled. The reason why they are usually disabled is that they aren't important for regular users and some of the options can be dangerous, if used incorrectly. Not dangerous as in security, but your phone could do weird things because you enabled some option.
Additionally,
Sometimes, clicking this automatically enables developer options. Do not worry. The steps are easy for disabling.
We assume that you have already clicked 7 times.

Click "developer options".
Slide the on-off switch at the top to off.
Now your phone is like it used to be.

Note: step 2 might be slightly different depending on the OS of your phone.

No, clicking 7x just shows the hidden menu.


text:
Video errors across apps
I have an annoying problem. My Huawei honor 4c began some time ago to refuse to play videos on many different apps. I first noticed the problem on YouTube (I get the common "tap to try again" error, but the app immediately freezes). Then I realized I can't play videos on Google Photos or Facebook either. Peculiarly, I noticed I can't even record videos with the camera app.
All errors (that is, in all affected apps) are resolved with a reboot, but at some point (apparently random?) they appear again.
I haven't installed any new app or anything of the sort.
Any ideas?
The Android version is 4.2.2

I was going to say "Try switching players in dev settings" but can't remembe if it is on JB.

Can you clarify a bit - so that i could at least know where to look to see if it's in 4.2.2? Is "dev[ice] settings" a subgroup of "settings"? If so, then I can't see it anywhere

No, Its Development settings (where you can enable ADB and other stuff) it shows on the main settings menu AFTER you've tapped the build number in about phone 7-8 times

Found the Dev Settings, but no option to switch players. Thanks for the suggestion though

No problem. Huuhhhhh, tries factory reset? It can help. Back up yur stuff first, of course.


text:
How to create a wifi hotspot from the terminal?
How would you suggest to create a hotspot from a root terminal?
I would need to create

hidden hotspot
hotspot without password

I am looking for an equivalent of create_ap for android. Here is the full help section to get an insight of what I would need:
Usage: create_ap [options] <wifi-interface> [<interface-with-internet>] [<access-point-name> [<passphrase>]]

Options:
  -h, --help              Show this help
  --version               Print version number
  -c <channel>            Channel number (default: 1)
  -w <WPA version>        Use 1 for WPA, use 2 for WPA2, use 1+2 for both (default: 1+2)
  -n                      Disable Internet sharing (if you use this, don't pass
                          the <interface-with-internet> argument)
  -m <method>             Method for Internet sharing.
                          Use: 'nat' for NAT (default)
                               'bridge' for bridging
                               'none' for no Internet sharing (equivalent to -n)
  --psk                   Use 64 hex digits pre-shared-key instead of passphrase
  --hidden                Make the Access Point hidden (do not broadcast the SSID)
  --mac-filter            Enable MAC address filtering
  --mac-filter-accept     Location of MAC address filter list (defaults to /etc/hostapd/hostapd.accept)
  --redirect-to-localhost If -n is set, redirect every web request to localhost (useful for public information networks)
  --hostapd-debug <level> With level between 1 and 2, passes arguments -d or -dd to hostapd for debugging.
  --isolate-clients       Disable communication between clients
  --ieee80211n            Enable IEEE 802.11n (HT)
  --ieee80211ac           Enable IEEE 802.11ac (VHT)
  --ht_capab <HT>         HT capabilities (default: [HT40+])
  --vht_capab <VHT>       VHT capabilities
  --country <code>        Set two-letter country code for regularity (example: US)
  --freq-band <GHz>       Set frequency band. Valid inputs: 2.4, 5 (default: 2.4)
  --driver                Choose your WiFi adapter driver (default: nl80211)
  --no-virt               Do not create virtual interface
  --no-haveged            Do not run 'haveged' automatically when needed
  --fix-unmanaged         If NetworkManager shows your interface as unmanaged after you
                          close create_ap, then use this option to switch your interface
                          back to managed
  --mac <MAC>             Set MAC address
  --dhcp-dns <IP1[,IP2]>  Set DNS returned by DHCP
  --daemon                Run create_ap in the background
  --stop <id>             Send stop command to an already running create_ap. For an <id>
                          you can put the PID of create_ap or the WiFi interface. You can
                          get them with --list-running
  --list-running          Show the create_ap processes that are already running
  --list-clients <id>     List the clients connected to create_ap instance associated with <id>.
                          For an <id> you can put the PID of create_ap or the WiFi interface.
                          If virtual WiFi interface was created, then use that one.
                          You can get them with --list-running
  --mkconfig <conf_file>  Store configs in conf_file
  --config <conf_file>    Load configs from conf_file

Non-Bridging Options:
  --no-dns                Disable dnsmasq DNS server
  -g <gateway>            IPv4 Gateway for the Access Point (default: 192.168.12.1)
  -d                      DNS server will take into account /etc/hosts

Useful informations:
  * If you're not using the --no-virt option, then you can create an AP with the same
    interface you are getting your Internet connection.
  * You can pass your SSID and password through pipe or through arguments (see examples).
  * On bridge method if the <interface-with-internet> is not a bridge interface, then
    a bridge interface is created automatically.

Examples:
  create_ap wlan0 eth0 MyAccessPoint MyPassPhrase
  echo -e 'MyAccessPoint\nMyPassPhrase' | create_ap wlan0 eth0
  create_ap wlan0 eth0 MyAccessPoint
  echo 'MyAccessPoint' | create_ap wlan0 eth0
  create_ap wlan0 wlan0 MyAccessPoint MyPassPhrase
  create_ap -n wlan0 MyAccessPoint MyPassPhrase
  create_ap -m bridge wlan0 eth0 MyAccessPoint MyPassPhrase
  create_ap -m bridge wlan0 br0 MyAccessPoint MyPassPhrase
  create_ap --driver rtl871xdrv wlan0 eth0 MyAccessPoint MyPassPhrase
  create_ap --daemon wlan0 eth0 MyAccessPoint MyPassPhrase
  create_ap --stop wlan0

This is done with hostapd located in /system/bin/hostapd in principle.
You may generate a hotspot through the interface and get the command with
ps | grep hostapd

My answer to How to use Android device as router without cellular connection? includes a shell script that does exactly what you want using hostapd/wpa_supplicant and dnsmasq, the only extra thing to be done is internet sharing:
# allow IP forwarding
echo 1 >/proc/sys/net/ipv4/ip_forward

# allow forwrding through firewall
iptables -I FORWARD -i $AP_INTERFACE -s ${IP}/24 -j ACCEPT
iptables -I FORWARD -i $WIFI_INTERFACE -d ${SUBNET}.0/24 -j ACCEPT

# source NAT
iptables -t nat -I POSTROUTING -s ${SUBNET}.0/24 ! -o $AP_INTERFACE -j MASQUERADE

When turning off do the inverse.

RELATED:

How to configure and Enable WiFi Hotspot through terminal without ROOT


text:
Application Sandboxing in Android
I came across a line in this page.

"The Android system assigns a unique user ID (UID) to each Android application and runs it as that user in a separate process. This
  approach is different from other operating systems (including the
  traditional Linux configuration), where multiple applications run with
  the same user permissions."

Can anyone please explain what the first line means?

Every single application that is installed on your phone, gets a UID.
It is a number that Android uses to identify the apps so it can check from what app commands are executed and check the permissions of the app to see if that app is allowed to execute the command. Privileges of applications are pretty restricted in Android. They can't see data folders of other apps, they can't modify the system and they can't do anything if user doesn't give them permission.
For example, when  X app gets installed, it gets the UID 10000.
Android creates a data and a cache folder for this app. Whenever an app wants to access these folders, Android checks the UID of the app. If it is not UID 10000, then Android denies permission.
This is a good defense mechanism that restricts the abilities of possibly malicious apps that got installed. All apps have restricted access to almost anything that they themselves didn't bring to the device in the first place.
Even more, the user himself has limited access to the phone. So a user that doesn't know what he/she is doing can't do harm.
This is where all the root concept comes from. root is a special user with UID 0 and its abilities is not restricted by the OS, making it able to modify system and other apps.


text:
Is removing the SIM card necessary?
When solving issues with tech support for various cell carriers, they recommend turning off the Android device, removing the battery, and then removing the SIM card.
Once the battery is out, is there any effect of also removing the SIM card?

Removing the SIM card might help the phone to flush out cached  data.
Other than that, I see no reason why removing a SIM card would change anything. The general purpose of those instructions is to hard reset the phone (without any data in RAM).


text:
New Gboard dual language suggestions, how do I disable it?
Recently the Google keyboard has activated suggestions for both of my selected languages.  This is a real nuisance since the suggestions are a mess IMO.
How can I disable it and go back to switching languages manually?

As you've mentioned, the multilingual suggestions is a new feature in Gboard (ref: Gboard, now available for Android - Official Google Blog.
Steps to enable/disable it:

Open Gboard's Settings
Select Languages
Select a language
On supported languages, below Language settings, tap Multilingual typing to enable/disable it. When enabled, you can check/uncheck other languages individually.

Note: the preference is not symmetric. When you have 2 languages that are supported for multilingual typings, you can disable it on language A while having it enabled on language B with A.

How can I get back to manually switching between languages? Is there a
  setting I've missed, or do I have to roll back to an earlier version?

On the the keyboard options you'll find settings for Languages, Preferences, Theme... and in Text correction you'll find the toggle you're looking for: multilingual typing.

Latest Gboard moved the multilingual typing toggle to Languages > Language. There, each language defines whether it uses multilingual typing or not, and with which languages.

Quick access to Languages menu
In the latest versions of gboard the multilingual settings have moved to the Languages submenu which can be quickly accessed by long tapping the SPACE key, and then picking LANGUAGE SETTINGS in the popup that appears (at the very bottom, below the language list).
Now, tap each language one by one, and uncheck the multilingual typing option.

Access gboard Languages from the Settings
You can also access the Languages menu from settings:
Go to Settings > Languages & Input > Virtual keyboard > gboard > Languages

Go to Gboard keyboard settings/Text correction and Untick Show suggestions

I don't want to disable suggestions, I want to disable the multi-lingual suggestions.


text:
Minimum volume is to loud
I have bought a new Alcatel Pop 4S which I'm quite happy with, but one thing is really annoying. No matter if I'm using build in speaker or headphones, outgoing sounds are really loud for me. I have found that "minimum" loudness is 6% so I wonder if there is some shell command to set up loudness to e.g. 2%. I know that there is app called "Fine Volume Control V2", but I don't want to pay just for this one function if there is some another solution.
Thanks for your help

have you checked to see if Alcatel installed an app already for "volume boost"? On my tablet, there is one called "SRS TrueMedia" that really kicks up the minimum volume.

If they did install an app, check to see if you can disable it.

Unfortunately there is no app called "SRS TrueMedia" or anything similar, but I have found app called "ArkamysAudio". I will try to disable it for a while and test, if it helps.

So, it had no influence on loudness.

If you would have any other idea, I will be happy for your advice. Thanks :)

Check Settings->Volumes

Thanks, but that was one of the first things, which I have tried.

You can try these apps:     LINK 1    https://play.google.com/store/apps/details?id=com.TEST.android.lvh     LINK 2 https://play.google.com/store/apps/details?id=com.cb.volumePlus

Still the same behavior - when I go under the 3% then there is no sound anymore. But thank you a lot, I will probably buy some suitable "resistor" or I will get used to it. Anyway thanks for your advice. :)


text:
I can not connect my tablet with my PC through ftp or http from file manager
I have android kitkat on my asus tablet and when I open the asus file manager and try to make PC transfer the app give me a url to use in the browser like this: http://192.168.0.11:4433 but I get timeout error also when I try other file manager apps that give me ftp access through windows explorer I get same problem !!
I have windows 10 64bit pro updated to latest version
what I should do to fix this problem ?

do you have your tablet  connected to the same network?

@MarkYisri yes same wifi network and my PC connected though wifi too


text:
Should I play while charging
Is it okay to use my tablet while charging it? I just got a new tablet. I havn't done it cause I wasn't sure.

See: Will playing a game in a Android phone while charging damage or cause harm to the battery or the phone?

Generally, using a tablet while charging should not drain battery life. Keep in mind that doing that will cause the device to charge slower.
Also, if you do something cpu intensive (like 3d game) it can become a little hot. Don't worry. I had a tablet that became very, very hot (like a container coming out of a microwave), yet it didn't melt.


text:
I have an unrooted stock Xperia Z Ultra, should the LED turn off when the battery is fully charged?
I got an Xperia Z Ultra unrooted and still running on the stock ROM (Android Lollipop 5.1.1). My question is, when I'm charging it and the battery reaches 100%, is the LED indicator light supposed to turn off to notify that it's fully charged? So I'm kinda asking what behavior I should expect from it.

User guide doesn't say it should be switched off on full. Expected behaviour below

Battery notification light status
Green   The battery is charging and the battery charge level is greater than 90%
Red     The battery is charging and the battery charge level is less than 15%
Orange  The battery is charging and the battery charge level is less than 90%

Edit: If the LED turned off, you wouldn't know whether it is fully charged or charger isn't connected, color coding this way makes sense

What is the convention for other Xperia phones? Is it safe to leave it plugged in without worrying it will overcharge the battery?

For any Android phone, keeping it charged overnight is not advisable, as it tends to keep the battery at high temperatures, adversely affecting battery life. They don't overcharge as modern chargers take care of that

You will find plenty of articles on the net saying it is safe to charge overnight but for best charging range, see this http://android.stackexchange.com/a/156538/131553

Welcome. Glad to help. Didn't understand both of you :)

Derp, I thought the other person who commented was a different person


text:
Almost certainly bricked device, looking for advice
I have a Galaxy S3 (d2att) which had been working fine on CyanogenMod 13 when one day it randomly shut off in my pocket and wouldn't turn on again. It was using a third-party battery, and afterwards, the battery appeared to be slightly inflated. That being said, it still wouldn't turn on even after trying two other batteries.
Other than that, here's a list of other random bits of info I found about the device in its current state:

The batteries are charged. Checked with a voltmeter.
The batteries are being charged through the phone. Voltmeter used again here.
If I take the battery out and then plug a usb into the phone, the notification light turns red for a few seconds before turning off, even if I put the battery in. This only works if the battery is out of the phone. For a period of time, putting the battery in before the light turned off would keep the light on until it was unplugged. Sometimes it would even display the Samsung logo before dying again.
When I plug the phone in without the battery as described above, "qualcomm hs-usb qdloader 9008" shows up as a device in the device manager. Until it dies, that is.
I've also tried using a USB jig.
I also checked for a voltage across pins 4 and 5 of the usb while it was plugged into the phone. It displayed a voltage consistent with what would be expected. After using the JIG, this voltage would go away until the battery was removed. However, the phone did not boot into recovery, nor was it recognized by my computer.

So, my question is: is this phone dead for good? I imagine it is, but if it isn't then that wouldn't be so bad either.

I bricked my Nexus 4 by deleting its OS with no backup ... would not boot up ... SOLUTION - install Ubuntu OS which worked then I was able to reinstall Android and phone was fine ... short of that suggestion have you already tried to do a Factory Reset by holding down Power and Volume Up for many seconds (possibly 30)  ?

9008 mode can be dealt with if you have the right tools. It might or might not be related, but do check out this XDA post.

Suggest you Backup data and flash stock ROM . If that works fine go back to preferred ROM

The main problems are that I can't get it to boot into download mode, nor can I even get a connection to my computer on 9008 mode for more than a few seconds.

Yep 100% sure it's hard bricked as the qloader 9008 shows up.
The whole eMMC is damaged or just the boot partition. But as it was caused by a faulty battery, I guess it is damaged completely and would need to get replaced (eMmC chip).
There is 3 methods that can be used to recover the device:

Repairing via an SD Card (for corrupted boot partition)
Repairing via JTAG (need JTAG interface, soldering in the main board, etc,)
Hardware replacement if the above didn't solve the problem.

After successfully completed the above, yoi should be able to flash a firmware normally.


text:
Backup the system's "Personal Dictionary" on Android 7 and import on different phone?
I'm using the Google Keyboard (Gboard) on my Nexus 6p.  I have a bunch of words in my system's Personal Dictionary (viewed by going to Settings -> Languages & input -> Personal Dictionary), and when I setup a new phone (a replacement Nexus 6p), the dictionary did not transfer.
In the Gboard keyboard settings (Settings -> Languages & input -> Virtual keyboard -> Gboard -> Dictionary), there is an option to "Sync learned words", and after syncing on both the old and new phone, the Personal Dictionary on the new phone is still blank.
I've also tried removing all GBoard updates and data, removing Google accounts, re-installing and re-syncing everything with not improvement.
With the phone currently not rooted, is there a way to backup this data and import it on my new phone?
Update (12/30):

I spent a few hours on the phone with Google Support yesterday, trying some of the stuff above plus some other things, and the end conclusion was that there is indeed a bug with the syncing, so they are going to escalate the issue for developers to look at.
Some online (on the Nexus forums) reported the dictionary copying over when doing a restore from a different device when initially setting up the phone. I actually did this, but did get some generic failure message during my restore, so maybe that's why my dictionary is missing. I'm going to try a factory reset and restore again to see if it helps.
As I mentioned below, the 3rd party utility didn't work for me, at least on two separate tries. The exported .DAT file was essentially 0 bytes.
I also checked my Google Dashboard, and under Android for my original device, there is an entry for "Android Dictionary" under "Applications with backups". This gives me hope that the data is in the cloud, though I'm going to refrain from formatting my old phone as long as I can (Google eventually wants it back since it is an RMA).

It is quite odd that it isn't syncing across devices. I know that recommending an application may not always be the best solution but I did just try Personal Dictionary Backup on my Xperia XZ running 7.0 and it was able to backup and restore my personal dictionary.
Do keep in mind that it backs up to a .dat file on your internal storage. The folders name that it backs up to is "UserDictionaries". This means that you would have to digitally transfer the .dat file in that folder to your new device in a folder with the same name as well as installing the app on your new device.

For some reason, my dat files are coming back empty. I just have one personal dictionary under English (US). I'm on 7.1.1, but I don't think permissions differ between that and 7.0 as you have. ¯_(ツ)_/¯

@DolanAntenucci If that doesn't work for you, do you happen to have root access? If yes, I tested it with Titanium Backup and confirmed it works when backing up the User Dictionary app under system apps. I only restored the data then rebooted and the dictionary was restored. Also, you dropped this `\


text:
Install custom Android version on a foreign phone
I'm sorry if this has already been answered or is obvious, I'm not experienced with Android. I recently got a new Android phone from ZTE, but it turns out that it was made for the local market (China) and as such most apps are in Chinese, and Google Play Store and Services are not installed (I tried manually installing from the .apk several times and the app either did not install or did not launch). I'm wondering, can I just wipe the phone and just install another Android version on it, one that would let me install GP Store?
If it matters, my phone is the ZTE Axon 7.

Installing Play Store and other Google Apps requires functionality not give to ordinary use apps thus these apps need to be installed in the system partition.
However, the system partition is inaccessible to unmodified phones without root (admin) permissions. Also installing Play Store requires to perform some modifications to the system which cannot be done when Android is running (regardless of Android version). Thus these tasks are done by a special mode known as the recovery mode. The default recovery mode shipped with the phones are designed to prevent modifications to the system and thus the Android Modding community has created custom versions like (CWM, TWRP, Philz, etc).

First you need to configure you computer to connect to you phone via ADB (Android Debug Bridge).
Download ADB and Fastboot drivers (Windows | Mac) and install it on your computer. This will also install the drivers.
Then you need to install a custom recovery:

Download TWRP recovery for your device here.
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging.
From your computer, open a command prompt in the folder you specified when installing the drivers and type: adb devices. You should see an entry like: <Sl. No.>    device.Note that you might see a prompt on your phone asking for permission, if so, accept it.
Type: adb reboot bootloader. Your phone will switch on and will be in the fastboot mode.
Your device needs to be unlocked before it can flash custom images. To unlock your device type: fastboot oem unlock.
Rename the file you downloaded in Step 1 to twrp.img and copy it to the folder you specified when installing the drivers and then type fastboot flash recovery twrp.img followed by fastboot reboot.

Now to install Play Store:

Download Google Apps from here after selecting ARM64, 6.0.1 and pico (I assume you are on the stock ROM).
Store it on your phone in an easily accessible location and type: adb reboot recovery on your computer.
Let the recovery start and when presented with the options press Install.
Navigate to the location where you save the file in Step 2, select it, and swipe across the slider to confirm.
After it is done press Wipe Dalvik cache followed by Reboot System.

That's all you need for Play Store.

Is this TWRP known working with the Chinese variant of the phone? Just asking.

Well, the hardware is the same so it should work.

I tried this, but at the fastboot oem unlock stage, the cmd prompt says it's an unknown command. What am I doing wrong?

I'll get back to you in a couple of days.

Is everything working upto that? Are you on Win or Linux?

EDIT: Just skip that step, I've fixed the answer


text:
How does safe mode work?
I know what safe mode does: it disables all user installed apps while it's activated.
However, I wish to know more about its internal mechanism and how and when in the boot process it is implemented.

Slightly related info can be found in my answer and the comments therewith. http://android.stackexchange.com/a/131224/96277


text:
No Microphone on CM12.1
My microphone stops working, when I upgraded to / installed CM12.1 on my phone.
It is still working, when my phone still doesn't have CyanogenMod installed.
However, some apps, such as Cortana and calls (the stock calling app), can still detect / hear my voice; but not on Google's Voice Search, Sound Recorder, and such Microphone Apps on the Play Store.
Maybe, a library (lib*.so), permission not allowed (android.permission. ...), or somethin', is missing on my device, that is preventing the microphone to work.

Phone:   Samsung Galaxy Core Prime
Model:   SM-G360HU
Recovery:   TWRP
ROM:   CM12.1
     - Link for the ROM can be found above ...
Android Version:   5.1 Lollipop

Please HELP!

UPDATE
I've seen an app (I installed it), and it requires root access. After looking at the log of the root access of that app, it showing a library / lib named libaudio_recorder_sf.so.
Does this lib have to do with the microphone, or any recorder (e.g. Sound Recorder app) ?

Go post a bug report in the thread you linked.

I can't.  I don't have enough privileges to do such things ...

Just post more in other subforums such as General and Q&A. XDA is a very useful place, you'll find yourself coming back to it more later, so do take some time to do some quality posts and earn the privilege.

Hi, guys!  It's been a long time, and this question still got no answers, so I decided to edit the question with an update.  Hope you will find more answers than before.  :)

This bug is fixed on CM13.  The microphone is now working, when I upgraded to CM13.


text:
ANdroid phone downloading app(s) when connecting to internet
I have a android phone. It was working fine. But then it started downloading file which name's something like "com.xxx.xxx.xxx" the exact name I dont remember so I use letter x. After the file gets downloaded, gaming apps start downloading and start running.
I reinstall android, but the problem still persists. Any help will be highly appreciated. Android version is 5.1

please specify phone model and name.

@RahulGopi I reinstalled android. The only thing I did was to update WhatsApp. And nothing I did after reinstalling Android

@RahulGopi model is this http://www.qmobile.com.pk/product/i1/

Please check data usage of each apps and analyze.  Provide data and wifi to those apps which you think that are secure and useful.

@RahulGopi there are only four apps and are all from google necessary for andriod to function. as I said I have nt installed any application

If possible, try to get the full filename to make it easier to analyze. You can try by taking a screenshot when it happens (on some device, it's by pressing and holding power+vol down buttons). Your device might have a malware (some devices are proven to have malware pre-installed)


text:
Difference between Lineage OS and Cyanogenmod : how does it affect current users?
Cyanogen said it plans to cease developing its open-source version of Android and will shutter its services by the end of the month. The company's blog mentions,

As part of the ongoing consolidation of Cyanogen, all services and Cyanogen-supported nightly builds will be discontinued no later than [December 31].

Do users get new update as OTA while using CyanogenMod, or do they have to completely erase and flash a new ROM? (That requires flashing new firmware, ROM, recovery etc.)
What will happen, if users are continue using CyanogenMod after December 31, 2016?
What about bugs, security, stability?

Here are some answer, but as I'm not Cyanogen representative, they only engage me.

Users will not receive OTA updates as soon as they stop maintaining their software stack. You keep on using your last Cyanogen ROM and hence receiving no more security updates, or you can change the ROM you install. For changing, you could use an entirely new one and try to wait some guys start a fork of the project (this will, for sure, occur: perhaps you'll be one of them). With a fork it is possible they will choose to support upgrade from the last Cyanogen.
Nothing, you just will not receive updates and you will risk more and more because of missing security updates.
As you will not be able to update, your phone will keep the same software stack as it is. Bugs, security and stability will stay as it is in your last Cyanogen. For bugs & stability, you don't care but for security it is a pain (as security will go down as time goes on).

@RahulGopi Experimental builds are no longer available for download officially (it was intentionally short-lived), hence I committed a rollback.


text:
How to wirelessly share tablet screen with someone far away?
I bought an Android tablet for my grandma (Amazon Fire 8 HD -  but I got Google Play Store working) and if she has any questions I want her to be able to share her screen with me (I live far away).
I want to see her tablet screen on my Android phone or my PC.
As an additional feature I would like to be able to talk to her to say what she should do.
Basically what I want is exactly what Skype can do on a PC (talking and screen sharing) unfortunately the Skype Android app can't do that(?).
I found a few apps like "ScreenShare" and others but they didn't seem to work when our devices are in different WiFi Networks. Does anyone know an app or a way that can do the trick?

Using computer
I think the best mobile screen share is to show the screen on your computer and then share your computer screen with your friend.

user the vysor to share your Android device screen on your computer with Chrome easily and quickly.
then use TeamViewer to share screen with friends quickly

both of them are free for personal use and I had used them to help my parent to solve the issue on their mobile phones.
Control Mobile Directly
The another suggested app: TeamViewer QuickSupport app

install TeamViewer on your computer
install TeamViewer QS on your grandma's tablet, get the "Your ID"=> ID
Use the ID in step2 to send a request to connect your grandma's tablet.
Your grandma need to accept the request
Then you will see the screen on your computer

You can request screen capture, remote control, and see the app list on this interface.
Maybe the remote controlling needs root permission on the tablet. If it need, please try to install Super Su.

I read the vysor instructions, it says I have to connect the device to a computer...my grandma only has a tablet...no computer, so it won't work this way :(

OK, I think the best solution is using the TeamViewer Quick Support App (https://www.teamviewer.com/en/use-cases/mobile-device-support/). You need to install a host TeamViewer Software on your computer and use the "Your ID" of Quick Support App on your grandma's table to connect it. This app is designed for the IT support for mobile users.

Thank you, unfortunately I just got back home so now it's gonna take longer to try this out because I'm gonna have my grandma do all the steps on the tablet :D - I will accept ur answer if it worked in a few weeks I think!

That's ok Cheer

The accepted answer was correct for 2016, in 2020 there are much easier solutions.
Firstly, Skype added this feature by now and otherwise there is also Facebook Messenger and probably others.
A solution I found however is even more simple and requires a one time installation of one app called Screen Meet on your grandmothers device for example and accessing the stream through a link just like you twitch does.


text:
sd card is empty when using su
I have strange issue.
I've just installed Supersu.
With regular user (not su ) the sdcard shows all contents as usual,
But on doing  su , I see (with "ls") that /sdcard is empty (though it is not) !, on going back to regular user, I see files again....
Any idea what's wrong ?
Thanks,

Try toggling mount space separation in Su app settings

magnificent, thank you so much. I will write is as a solution

yes please, the credit is yours :)

It is likely due to mount namespace separation being unchecked in SuperSU app settings
For an explanation of what it does and how it could possibly affect storage not being read see Mathew's answer here, also the link referred to therein
Aside, sometimes TiBu also asks you to do the same if SD is not recognised

This is a very non-obvious UX bug, thanks for sharing the fix!

@develCuy:Anytime. Glad it helped


text:
Internal storage used space readings differ
Context
I have a Motorola XT1068 phone with Android 6.0. It has 8GB of internal storage, of which 2.5GB are for the OS and 5.5GB for data. At one point, when connecting it to my computer, I noticed that the used/free space for the internal memory has different values depending on where you're looking.
The readings

Android settings > Storage & USB: 4.79/5.51GB used
Android settings > Storage & USB > Internal storage: ~3.3GB used when you add all up
file explorer front page: 4.84/5.51GB used
file explorer > browse to / > select all > Properties: 7.92GB used (this must also include the OS)
PC > My Computer reading: 179MB/5.50GB free, so ~5.32GB used.

If the cache keeps growing, it will eventually reach a point where the PC reading says no space is left, yet the phone says there still is.
I am honestly at a loss on what reading is the correct one, but also on why they differ so much, especially why the PC shows much less free space than the phone makes it seem.
I also have a memory card in the phone, however the free/used space data remains constant across Settings/file explorer/PC.


text:
Impossible to use the data partition of the user in huawei
Today i have turned on my Huawei g play mini and a screen appeared saying that it's impossible to use the data partition of the user and three options:backup,reboot and wipe.I have tried everything but nothing.I have tried to install the update.app file from recovery but nothing.I have also tried to install the os through fastboot but during the flash It fails saying:permission denied.I can't unlock the bootloader cause i can't take the code needed from the phone cause i can't use the dialer...I can use adb.I don't know what ti do...Can you help me?

To me it sounds like corrupted partition.

Yes,of course.My question is how to fix the problem:):)

Well I think that is impossible

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


text:
Delete files automatically if certain actions are not taken
Is it possible to delete/wipe files on device offline, if on certain time, certain action is not performed?
For example, if my phone is stolen, I would like to have a chance to delete certain sensitive data from device. But regularly, I can "check-in" to prevent the deletion.

Why not Android Device Manager?

Because it requires internet connection.

Question asking specifically for app recommendation is off-topic. Instead, explain the problem in general; answers which recommend apps are allowed.

You can try using a Automation App like Tasker, every day at midnight it sets a variable to true and if you perform the "action" it sets it back to false and if its midnight and the variable is still true, than delete the data or do whatever you like

It would be better if you could provide the Tasker steps though. Not everyone is an expert on using Tasker...

Sorry but I didn't use Tasker for Months so I cant remember all the things from this app, but you need a variable from the last tab, and a time event from the first tab, there you have to add an if statement to delete the data and else set the variable to true and also you need the "action" which sets the variable to false. And dont forget to set the Variable to false at the beginning


text:
How can I check my battery health (do I need a new battery)?
Is there a way to see if my android phone needs to have it's battery replaced?

You can go into Google Play store and download a Battery Manager, most of them show some information, for example how fast battery is draining, also the temperature and other stuff, also it can tell you the battery state/quality


text:
Phone keeps prompting for pattern confirmation
About two weeks ago, my Motorola Droid Turbo on Android 5.1 Lollipop started popping up the confirm pattern screen for no apparent reason.

It happens like every 10-15 minutes whether I'm using the phone or not. My attention span isn't long enough to time it properly.
I took it in to the Verizon store and the guy played with some settings but that didn't help. I watched a process monitor to see if I could see anything spike CPU usage when it happened but didn't see anything. I've tried uninstalling apps but I hadn't installed anything new when this started. I've tried to confirm the pattern multiple times, and when I do it just goes back to the security options screen. I've tried changing the pattern to no avail, as well as setting it to PIN and then back. (I can't set it to no security due to a work app, unfortunately.)
Any ideas what could be causing this?

This looks like a confirmation screen when setting up Smart Lock, though I'm not sure if (and why) it is automatically setting a smart lock. I forgot if I have faced this screen on other occasions though...

@andrew T.  I don't think this phone has smart lock...

If you've root permissions, try these steps via ABD:
MUST HAVE A BACKUP BEFORE PROCEEDING

removing your gesture.key file located at "/data/system/gesture.key
dumping the database of settings app. The location of file is - "/data/data/com.android.providers.settings/database/settings.db"

I don't have root... :(

Try removing your pattern lock and using any custom locker (popular - GO Locker) .. make sure you set your lock to None in settins of Android and custom one will work awesome along with animations and themes too. . Hope it might help

I can't, email app for work enforces pattern, pin or password for security. I'd uninstall that to see if it's causing the problem but it's a pain to reinstall...

Backup import data to cloud or something and try resetting your phone.. thats the last door left i guess (except re-flashing your phone with stock ROM)..

Then the best way for you is rooting your device and following my previous answer.. else take all your backup to cloud or something and hard reset your phone.. hope it helps


text:
Hey, if I use "Mobile Tethering" and share a network with my computer, will the network admin be able to see my activity on my computer?
if I use "Mobile Tethering" and share a network with my computer, will the network admin be able to see my activity on my computer?? If the Admin can see my activity, is there any other ways to "hide" my activity on my computer??

Pretty off topic as this isn't really an Android related question, but the answer is maybe... depends on what they monitoring and how they are doing it. If this is a corporate computer on a domain, there isn't much you can do to "hide" your activity, they can install or monitor anything in any way they chose. From a network admin standpoint, I tell people there is NOTHING you can do on a corporate PC that I cannot detect or monitor, and that is largely true. There are certainly ways, but teaching someone how to violate a corporate security policy isn't for this site/group.

Yes, Its possible to do so. Here, I am adding a link that can guide you to the process. I am sure that will help you out in the pursuit of getting your query answered without any bias.
https://www.quora.com/How-can-I-check-what-people-are-surfing-using-my-WiFi


text:
Will restoring a backup unroot my rooted device again?
I have made a full backup of my formerly unrooted android device using Android Debug Bridge, later rooted it and now would like to restore the backup while maintaining root access.
Will this work by restoring the backup with adb restore or will my phone possibly be unrooted (just like with a factory reset)?
Edit: My Samsung Galaxy Nexus GT-i9250 is currently running on Android 4.3, the backup was made with the same version using the command adb backup -apk -shared -all -f.
Update: I restored the update and my device is still rooted (checked with Root Checker from Super User), though a few apps and some data were not restored.

As long as you don't restore the system partition (I don't know whether this is backed up by ADB), your root access should be preserved.
You could just make a backup of the state of your device now and restore it, when needed.

adb backup backs up files, not partitions :) Still, the idea of another backup I support – just in case :)

If you used systemless root(Android 6.0+), I'm not sure if that will remove your root access. If you used system root(Android 5.1 and below), this will not remove root.
Regarding,

adb backup -all

If this is the command you ran, this backs up only the /data partition, not any other partitions. For a full backup of /system /boot /recovery /data, etc. you would have to perform a nandroid backup from recovery.

Thank you!
I ran the command adb backup -apk -shared -all -f and have Android 4.3. This means a restore would be safe?

If you had ran the backup with the -nosystem modifier, I would say yes, there is a high chance of you being safe. Since you didn't specify, adb backup automatically backs up the system. This would unroot your device. You could install root after restoring from the backup though as root does not require your data to be wiped.

@MitchB why would that unroot the device? I don't think it would remove files, just restore what was backed up. Still, restoring a system backup across different Android versions is strongly discouraged.

@Izzy I have tried to find some documentation of the adb command but it is sparse. I am going off of what I found on this wiki and I believe that if it were to restore the /system partition then that would remove root if the root is /system based, which is likely given that @xoxox is running 4.3. Also, I don't think they said whether their backup and live versions are different.

ADB backups are file based, not partition based. So to my knowledge, a restore would just write back the files from the backup, overwriting existing files, but not deleting anything. I never tried restoring a full backup, though, so I cannot tell for sure.

@Izzy Hmm, you bring up a good point. I also have not ever restored a backup. Perhaps if we knew the root package they used, we would be able to determine which root it is (though that may be out of the scope of this question). I'm hesitant to say that their root status will be unaffected though. Worst case scenario, re-root is required and I do not know of any root packages that require a full factory reset.

I'd go with GiantTree here: If it really would backup everything (which it does not), and on restore does a wipe and unpack, another backup done right before that should be fine to restore root. Really sure we can only be if we try it, e.g. with a "redundant device": Wipe it, root it, do adb backup, install some additional app, then restore the backup and see.


text:
Blurred lockscreen, can't find it
I had Resurrection Remix 6.0.1 on my Nexus 6p. I can't remember how it happened, but at some point my lock screen background became transparent-ish/blurred, so what I saw was whatever was open on my phone right before I locked it, but a little blurred. I really like that. But later I flashed RR 7.1.1, and now I have no idea where that is. Any help?

I think blurred lock screen is only available in cm13, and not in cm 14.1

@RahulGopi So They took it out in Nougat? I'm using Resurrection Remix, not CyanogenMod.


text:
Nexus 5X data recovery with bad recovery partition
I have a Nexus 5X, fully updated to 7.1.1, that I used today to take pictures at a site for my research.  The Photos app is set to backup when on WiFi.
Of course, however, the phone decided to randomly crash on the way home (let me tell you, navigating in a foreign country without GPS all of a sudden... not the most fun thing in the world) and subsequently will only go to the fastboot screen.
When I choose Recovery Mode, nothing happens (but the volume up/down keys no longer have any affect).  In effect, the device is frozen, still showing the fastboot screen, but not actually in fastboot mood since  on booting to the fastboot screen, my device is visible using the fastboot devices on my computer (I develop apps so the developer options have already been enabled).  However, after choosing Recovery Mode, the device is no longer visible under either fastboot devices or under adb devices.
Clearly, there is a problem with the recovery partition.
Is there any way I can dump the hard drive so I can later recover data (I have all the passwords / screen lock codes, if that's necessary to access the data)?  Or can I replace the recovery mode partition with a fresh copy?  Most guides seem to indicate that this would delete all of my user data.
Is there anything that can be done to salvage the data?  While any other day losing a single day's worth of pictures wouldn't be a huge loss, there is no way I can go back to take the pictures again for months, and then requires me having to explain to people of all levels of bureaucracy why I need to be given access again =/

I don't believe flashing a new recovery will wipe your data partition. I would refer to user7610s answer as this seems like a similar issue except that you would like to access the /sdcard to recover your pictures. Best of luck! Edit: This is assuming you already have an unlocked bootloader as you seem to know what fastboot mode is.

Sure, you can flash a recovery image at the bootloader using fastboot and not lose anything.

Get the factory recovery image from the factory image .zip files from here.  Inside of the factory image zip file(s), there will be a file called recovery.img, which is the stock recovery image.  You'll need that.  Make sure you get the correct factory image that your device is currently running.
Boot the phone to the bootloader, connect phone to your computer.
Erase the current recovery by using fastboot:  fastboot erase recovery
Flash the recovery.img file using fastboot:  fastboot flash recovery recovery.img

Now you've flashed a fresh recovery image to your device.  You can do this without losing any data, and if you use a custom recovery like TWRP, these instructions apply as well.  I do this all the time when I reload the stock software on my Nexus 6.
For adb in recovery not recognizing your device, you have installed the drivers (Windows) which are in the Android SDK located at C:\wherever your sdk is located\extras\google\usb_driver\?  Device Manager may show a triangle with a ? mark on the device when connected in recovery mode, this should help with that.

Will doing 3 and 4 require erasing user data or does using factory image files prevent the need to unlock the bootloader?  (I'm on a slow connection so it will be a while before I can test with the factory image files)

No, it does not require erasing userdata.  You would only lose data if you flash ALL of the factory images, since this is just flashing the recovery.img file, the only thing erased is recovery (and then it is reflashed in Step 4).

Is your bootloader unlocked?

no, it's not. [Min15char]


text:
No App working after system update to version 5.1
I have Lenovo A2010-a  I  updated to latest system version 5.1.  after updating all  App  have stopped working , Message " unfortunately 'name of  App'  has stopped" appears repeatedly. Even system default App  like  Google  Play Service is  not  working  and  above  message pops-up.  I reset app preferences  , force stopped App, rebooted but nothing is solving problem


text:
I can't re add google account after factory reset , edited host & after clear cache and data. Pls help
i changed my simcard last month and since then i have noticed that i can't log in to my google account, gmail and also instagram. Play store always stopped as well.

I tried some of the solutions provided on youtube like editing host (my host is already 127.0.0.1 local host), i dont know whether i should change it or just remain it like that coz some said delete everything and type host (127.0.0.1 local host) and some need to add the # (but i don't have the other line).
I've already clear cache & data, force stop Play store, Google play services, Google Framework, Google account manager &  remove google acc (my account already unable 2 steps verification) then tried to re add again but failed.
I've already factory reset my phone as well and try to re add google account but still failed. Now im using application which I downloaded thru apkmirror.com.(play store didnt work). I really appreciate anyone experts could help.

Thanks in advance.

Did you have SIM locking on before you switched the SIM card?

im not sure about that how do i check it?

I'm not sure if you'd be able to. It's a safety system that locks down the phone when the SIM is changed, I.e phone is stolen. It would cause problems very similar to this.

I had the same problem but I tried doing the same on a high speed WiFi and it worked out for me.. meanwhile if this doesn't fix you can take important backups and try:

flashing your phone with its stock ROM
switching to a WiFi network or try the same with another SIM card
make it localhost rather than local host in the host file (as described by you)

ok i will try it tq


text:
No Gallery app on Lenovo K6 Power
I bought a Lenovo K6 Power mobile, but it's not showing the gallery in the menu and storage.
I have done all the basic steps, but I don't see the Gallery app.
What can I do to fix this issue?

I'm also a user of same device. You need to install your own gallery app or you can use Google photos

Recent models of Lenovo K-series are running on PURE UI, which is similar to/the same as stock Android experience, thus Lenovo did not preinstall their own Lenovo Gallery app. Some models have Google Photos preinstalled as their stock gallery app instead. Otherwise, users have to install any compatible 3rd-party Gallery app on their own.
References from Lenovo Forums:

Lenovo Vibe K5 Note: No in-built/(in the phone) gallery app in Lenovo Vibe K5 Note
Lenovo Vibe K5 Note: Gallery app not present in vibe k5 note
Lenovo K6 Power: Lenovo K6 Power Gallery App is Not Showing
Lenovo K6 Note: K6 note has no gallery
Lenovo K8 Note: Lenovo Gallery App Missing
Lenovo K8 Note: Not able to see gallery

Flash your device with its stock ROM (firmware) and any problems that might have caused the damage can be fixed.. if not, they might not have provided any gallery for your ROM/device

Sir i can't understand you. Please tell what i do.


text:
Phone is trying to store incoming SMS messages on SIM card
My Nexus 5X has stopped being able to receive SMS messages. Every time I'm supposed to get a text, I instead see a notification: "SIM card storage is full -- No more space for SMS messages on SIM card. You may need to delete some messages."
I have never configured the phone to use SIM card storage (don't even know of such an option). When I click the notification, I see an empty list titled "SIM card messages" in Messenger.
I'm currently traveling abroad and roaming (Sprint subscriber on Chunghwa). Sprint was having an outage with international roaming for several hours; it just came back on and the problem started soon thereafter.
Running latest version of Android N.

Did you ever find an answer? Mine is doing the same thing right now

I never found an answer, but the problem resolved itself a few days later (possibly after I left Taiwan). One possible explanation is that Sprint or Chunghwa was spamming the phone with voicemail notification SMSs, which are not supposed to be displayed to the user. Or they could have been delivering messages using the wrong SMS class.

I too experienced similar problem and I get it solved by deleting a single SMS from the sim card. New SMS where saved to phone after doing that


text:
How to read the data of a SD card configured as "Internal Storage"
I have made a factory reset in my moto g2(Android 6.0) after removing the SD card which was configured as Internal storage. After the reset, my phone is unable to detect the SD card and asks to format it for either use it as an Portable or Internal storage.
The SD card is failed to be detected by any card reader/other devices.
How to access the data's in the SD card?

As acejavelin wrote, the answer is "you cannot". For details, please see our adoptable-storage tag-wiki.

You don't... if the SD card was encrypted adopted storage, and you removed it and factory reset the phone then you have lost all possibility of accessing any information on the SD card. You are better off just to reformat the card and start over.
The encryption "key" was stored on the device, but when you factory reset it the encryption key was deleted, it was a random key and cannot be regenerated. You have lost all possibility of accessing this card.
If the card was portable storage, then put it in a PC and try to read it, if it still won't read the card is probably bad or corrupted and should be formatted or replaced.


text:
ultra stamina mode in Sony Xperia Z3+
Can not turn off ultra stamina mode in my z3+
no application could be started
can not access the phone from the computer
help please

Ultra STAMINA mode extends battery lifetime significantly. You can use this mode when you know you won't be able to charge your device for a long time. Only a few basic functions, such as Phone and Messaging, are available
To deactivate Ultra STAMINA mode

Drag down the status bar to open the Notification panel.
Tap Deactivate Ultra STAMINA mode


text:
How to use Windows headset as Android call headset
I have a Windows PC with USB headset. I want to connect it to Android phone, so I can make calls using my computer's headset. Can I do so with usb, bluetooth, minijack or lan?

Yes, this is definitely possible - but not without special connective devices. You can actually use a variety off available connectors to extend comopatibility to the device, such as USB to 3.0 headphone adapter, and if your device will support the connection type, you could also use the MICROusb to USB 2\3.0 adapters.
Do a search online for one of the above mentioned devices, and learn more about them and your phones compatibility. You may also purchase of from almost any online electronic supply chains, as well as finding information regarding where to purchase one of the adapters locally.

Saying it's possible may provide some encouragement, but it isn't actually a solution.  Can you edit the answer to elaborate on how to accomplish that?  If the question is too ambiguous to answer specifically, that's a sign that it's too broad, and those questions are very hard to answer well.  With a little more rep, you will be able to post helpful hints and suggestions of directions to pursue as a comment.  Thanks.

Couple you provide me with a little guidance on how to best do this? I understand what you mean, but I am not quite sure how I could edit the current answer to contain any more specific steps on accomplishing what the questions asks. (For example, I have provided all the ways by which this could be accomplished, along with information regarding how to find the best route.)  I appreciate the feedback, I am just unsure about how exactly to utilize it.

Answers are better is they're "actionable", or at least specific enough that the reader can see what you're describing and how to adapt it to their case.  So a better answer would be to give a specific example, even if it isn't a precise fit.  (cont'd)

In addition to the general guidance, illustrate an example case.  Maybe a diagram and pictures of the components used for that case (whatever's needed to be clear and unambiguous).  Then the reader can find the specific adapters for their hardware.  On an ambiguous question, though, you can easily put in a lot of work only to find out that it doesn't address what the question's author was thinking about.  It's better to get clarification from the author first.


text:
How to judge a better app
I installed a verity of android apps in my android device. And almost all apps require verity of permissions. Apart from these, these days we’re doing online transactions on android smartphones and using banking apps also.
In such scenario, please guide me that which android apps is vulnerable or malware or Trojan.
Also please guide me that how I can be assured with security of my android device.
My android device is 4.4.2 and its rooted.

It's pretty had to give a list of malicious android app.
In general: always download appss from play store, Google check all these apps with an antivirus.
Furthermore some app can be open-source (generally it's in the description) but if you want a list you can get F-Droid. Nearly all apps exist in opensource version: OSMand (GPS), FaceSlim (Facebook), OpenTasks (ToDoList), QKSMS (sms app), Red Moon (blue screen filter), Syncthing (file synchronisation) etc...
As you have a rooted device, there are some apps that allow you to uncheck app permission (as Android 6) a little google search will give you results (you may certainly need BusyBox)
Also there is the excellent Xposed framework that propose (if I remember) some modules to get rid of some permission.
Be aware that sometimes disabling permission may block the app, just give back the permission to restore.
I'm sory I can't provide you more link cause I've got too low reputation.

My device is rooted. I am using paid Kaspersky Internet Security for Android, Malwarebytes Anti-Malware App and Xposed Xprivacy. Do I need to do anything more for device security and privacy?

@GNS - You have good security installed already. You may need an App locker on top of that. Personally I don't use any of that because I know what to click and what not to ;)

As Homer pointed out, putting a list of confirmed malicious android apps together is impossible, within reason. You can, however,

Disable App Permissions (In your case, you will need to download an AppOps Launcher from the play store. The are fine, they're shortcuts.)
Use AntiVirus. I don't personally, But it can help.
Ensure Google Play Services stays up-to-date, to get bug fixes and shizzle.
Ensure your root manager is updated and working at 100%.
Make Sure SELinux is 'enforcing'. (Type 'getenforce' into an emulator. It will either say '1' or 'enforcing'. I says neither of them, type 'su', grant root, then 'setenforce 1')

I do agree with all. As I mentioned earlier, I am using paid Kaspersky Internet Security for Android, Malwarebytes Anti-Malware App and Xposed Xprivacy for managing permissions.
Most of you prefer to download and update apps from Play Store. I do the same.
Even after downloading and updating an app from Play Store, there are some apps (e.g. Clean Master) which is known as a Malware by some expert users. Like this app, I would like to judge suspicious apps.


text:
Moving apps from android phone to nobis tablet
Is it possible to transfer the apps from my phone the HUAWEI Raven H892L to my NOBIS NB09 tablet if I hook them both to my laptop even though I don't have internet ? I really need the help on my nobis tablet I have two internal storages one is empty and the other is maxed out full but nothing is downloaded onto it no apps except for the ones that came on it So what does anyone say about all this.

Possible by copying APKs from Huawei to Nobus.
Download one of the many apk extractors on the Google play and extract the APK of the apps you want to transfer.
Connect the Huawei device into the computer through MTP Mass Storage and copy the extracted APK to the computer then to the Nobus.

Awesome I will give it a try


text:
Automatically forward specific WhatsApp group messages as SMS
I learn in a school, where a large portion of the students don't use smartphones (because of addictions, pornography, and so on).
My classmates and I have a WhatsApp group, and sometimes we send important messages, which the smartphone-less students don't know about.
Is it possible to have a code that you write at the start of an important message (something like "important message" or emojis that nobody uses like ), and the message will be copied and sent to the smartphone-less guys?

Short answer: No.

Nothing is really impossible per say unless not allowed; restriction may be the veil that may prevent such a process and or action.


text:
How do I disable weird lockscreen camera shortcut in Emotion UI 4?
Device: Huawei Mate 8 EU (NXT-L29), EMUI 4.
When my phone is locked and I press volume down or up quickly, camera app opens, takes a photo and displays on the screen a time I don't know the meaning of (like 1.0s or 0.3s). I have searched through all settings but I still can't find this feature. When I listen to music this is VERY annoying: lowering or increasing the volume with the keys causes a photo to be taken. It happens both when the screen is off and on in the lockscreen, but never when the phone is unlocked.
Also before rooting my phone I did a factory reset (which now I can't do), and it didn't change anything, of course.

You must have missed something in Settings or you may have installed any app which is causing this. I recommend  going through Camera settings again.

Oops, found it!

Found it! In Huawei Camera, in the settings, there is a feature called "Ultra Snapshot", which by default is turned on, and it does what I have described in the question.


text:
Backup Pebble App
I have owned and loved a pebble time smartwatch for about a year now. Because of Pebble's recent demise, I'm considering buying an extra pebble time in order to replace my current one when it eventually kicks the bucket. However, there is no guarantee that the Android app and pebble app store will still be available when my current watch kicks the bucket, or even when I need to replace or factory reset my phone.
Is there a way to make an offline backup of the watch's current state and the app, such that it would be possible to install the Pebble app on a new Android phone from the current copy, which includes all the apps I've installed for the watch?
My goal is to preserve the app and watch configuration indefinitely for as long as possible, which I think I can do if I can successfully preserve my current copy of the app. Is that possible? Will there be any problems if I update to a newer version of Android? (My current phone is running Android Marshmallow 6.0.1). And overall, will this achieve my goal of using a pebble watch for several more years?

To stay more future-proof, may I rather recommend you switching over to Gadgetbridge? Doesn't cover the full spectrum of the "official app" and probably won't, because it doesn't use the Pebble cloud; but the latter will be gone for good soon anyway. // I've never used the official app, but started with GB straight away almost a year ago (Time Steel here). Works stable, active development, active support. Covers other devices as well. // As for your question: Try adb backup -f pebble.ab -apk com.getpebble.android.basalt :)


text:
How To Quickly Turn Off Audio On Nexus 6P (Android 7.1.1)?
My phone is locked (pin required) and the volume is on.  I receive a text message and the appropriate sound beings to play.
How can I very quickly acknowledge the text message, and get the phone to shut up, but still play the audio when I receive the next text?

Hitting volume up/volume down while the screen is locked do nothing for me.
Hitting the power button only turns the screen on and off
If I turn the screen on I can see the text, but if I touch it, I need to enter my pin.  Only after I successfully enter my pin will the audio stop.
If I turn the screen on and then hit volume down, the audio will reduce in volume.  But I need to hit it many times before it gets silent.  Beyond that, the audio hasn't stopped playing, so I now need to wait for the tone to complete and then remember to turn the audio back up on the phone, or I will miss a future audio alert.

I have to imagine there is a better way.  My previous phone would simply treat the message as acknowledged with a pressing of the power button.  The best I can come up with is to replace my audio alert with a very short sound - but then I risk not hearing it/missing it.
So I want a long sound to play when I receive a text, but I want to be able to immediately acknowledge it, leaving the volume of the phone at it's current level.
I've looked in the Settings area of the phone, but haven't had any luck.

Search for a notification sound on web which is short but loud enough to hear. I don't think there are options for you.

Setting short notification sound should be the fastest way. You can also consider flashing a custom ROM based on stock android 7.1.1 which enables you to mute ringing by pressing volume button. And a lot more.
Video review of AICP ROM

Setting up root and custom recovery on Nexus 6P
AICP ROM 7.1.1 for Nexus 6P (officially maintained with daily builds)


text:
TWRP recovery not launching
I have OnePlus 3 (A3003). I installed a custom ROM. Since then, I can't get to recovery mode. If I try booting into it, my phone gets stuck on the OnePlus logo.
I tried flashing it with fastboot,
C:\...\Android\android-sdk\platform-tools> fastboot flash recovery recovery.img
target reported max download size of 442499072 bytes
sending 'recovery' (18964 KB)...
OKAY [  0.580s]
writing 'recovery'...
OKAY [  0.144s]
finished. total time: 0.726s

And also I tried flashing it with the TWRP app, it gave me an error telling me that I have already installed it.
What is the problem?

Try to get/boot into recovery using TWRP app or any other advanced reboot apps.

How are we supposed to help when we have no logs from TWRP?

You can reboot to TWRP using adb commands from your desktop.
Connect your android device, navigate your cmd to C:\Users\juanhh\AppData\Local\Android\android-sdk\platform-tools and type
adb devices

It will show list of connected devices. If not, then you probably need to install universal adb driver.
To reboot into TWRP recovery, type
adb reboot recovery

it make the same problem, stuck on oneplus logo, then black screen and i need to turn it off

I got it. FirstAid from XDA may help you. You can read full discussion about this. You have probably also still locked bootloader. Try fastboot -i 0x2A70 oem unlock-go

reading the .bat archive it will just do the same that i tried, but i will give it try, I already had unloked my phone, i have had the twrp marshmallow and lollipop recoveries intalled in my phone some time ago

well... now my phone is stuck at fastboot

Well, than you can try pathed TWRP from XDA discussion. I believe you will find a fix there.

sorry for the grave digging.
this is caused by incompatible firmware. firmware are binary blobs akin in function to an old BIOS or a newer UEFI firmware in PC parlance. just as in PCs, it does much more than simply booting the OS kernel.
aftermarket roms and OSes (including TWRP) may not bundle firmware blobs but often do require a specific version. in your case: TWRP bundles a kernel, and the complete "OS" (kernel + TWRP) depends on specific firmware version(s) to work. the ROM you flashed does include the blobs it requires, so during the flashing process your firmware was overwritten (without this, the ROM would not have booted). but now your old TWRP is not compatible with the newer firmware and thus fails to boot. it will fail even if you do a fastboot boot my-twrp.img.
there are so called "firmware collections", which are zips you can flash with different firmware versions, extracted from OTAs and published by users. if you flash an older firmware, your currently flashed TWRP will work again (and your currently flashed OS will cease to work).
but of course, you can't flash the firmware zip because you don't have a working recovery... :)
so your options are:

find a TWRP binary that works with the firmware included in your OS and flash it (you can fastboot boot it to test it before hand).
find an older firmware zip, extract the relevant partition images, and fastboot flash them (warning: very risky unless you know what you are doing).
fastboot flash a complete stock OS with the right firmware version for your chosen OS and TWRP.

EDIT:
the firmware initializes the hardware (CPUs, RAM, flash, etc) and eventually chooses to run android or recovery. it runs well before the choice is made. thus, it is not possible to have 2 firmwares, one for android and one for recovery, the way you have 2 linux kernels.
this means that, in a sane world, the firmware would just be a bootloader and it would not expose interfaces for the OS that would make the OS dependent on a specific firmware version. any other blobs required should be part of the OS (and duplicated for the 2 OSes, each with its required version).
unfortunately in android the firmware got so fat that now the idea of having 2 independent OSes in a device, the concept of a linux-based recovery, is no longer workable. in fact, it has been eliminated in A/B devices altogether, with the recovery being an alternate userland that shares its kernel with android. the only real recovery method that works now is fastboot, and it is severely limited.


text:
Is it possible to listen audio via telephone hole?
When speaking phone I can listen audio both via small ear hole and via loud speaker. But when I am playing audio like in web page I hear it only loud. Is it possible to pass sound via ear hole in second case too?
If not then why (design explanation required)?


text:
Split second blue screen flashes
I get flashes of the blue screen when opening or watching videos or when  i open apps. It's only a split second but doesn't seem right and have never had this happen before. I think happens when I play Spotify also. Somethings up and just wondered if anyone has had this happen . I have the samsung tab e.

Try resetting application cache, it will take a few minutes but, this can most likely not being fixed even with factory reset, as it seems to an production issue.

I received a Galaxy Tab A as a present, had blue flashing when google browser home page opened. Returned for new one, same issue. Tried full factory reset and data wipe, opening in safe mode, all to no effect. Samsung on-line chat support could not help. Recommend it be sent to Samsung service depot.


text:
Keep asking for apps on every action on Marshmallow
In Lollipop, I was being asked for the app to be used for every action. For example, when I open a link, I was asked for the browser. When I have to select an image, I was asked about the app that would browse for images. This behavior is very convenient for me.
Now after upgrading to marshmallow, I get asked only once, and then that becomes the default. Meaning that if I do a mistake, I'm done. Now for the browser, I see the option for that in settings -> Default Apps. But for selecting images, I don't see that option. I selected ES file explorer for that and I'm stuck with that.
How can I change the default image selector app, or even better, how can I be always asked every time I do an action that requires anything that has multiple apps that can do it, just like it was on lollipop?
EDIT:
There's no option to use app only once. Check out the screenshot.

Clear defaults for ES app/any app from app info and always use JUST ONCE while choosing an app.

@MANI thanks for the info about the reset. That is helpful. But there's no choice to use the app only once on my marshmallow, for some reason (check the screenshot). It was there on lollipop though...

@beeshyams Actually I already installes "better open with", but it doesn't show in the list of choosing stuff for the problem above. I'm trying choose to add an image in Google Keep.

Try local storage app. It works well for me on Marshmallow

@beeshyams It doesn't install... it gives me error 505...

I don't know why. Try rebooting and installing. I can't help with that :(

@beeshyams Yeah, I know. It's incompatible with my device :( Thanks anyway.

I think it works same as JUST ONCE. It is missing ALWAYS option.

You can give this app a shot http://android.stackexchange.com/a/136725/131553